1 2005-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3 * messages.C: do not forget to include <cerrno>.
5 2005-10-12 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
7 * dociterator.h (StableDocIterator): add access to pos().
8 * undo.C (samePar): new method to check if two
9 iterators are in the same paragraph
10 * undo.C (recordUndo): check for samePar instead of cell identity
11 (which includes pos() and is too strict) (fixes bug 2097)
13 2005-10-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15 * text.C (setCursorFromCoordinates): return a bool telling whether
18 * text3.C (cursorPrevious): update if needed after
19 setCursorFromCoordinates (when dEPM triggered).
21 * text2.C (cursorDown, cursorUp): make sure to reset the anchor
22 (otherwise the anchor may be completely wrong and make dEPM assert).
24 2005-10-12 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
26 * buffer.C: version upgrade to 245.
27 * bufferparams.C: remove \quotes_times (bug 2090).
28 * text3.C (doDispatch): LFUN_QUOTE_INSERT has to output double
29 quotation marks as default.
31 2005-10-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
33 * CutAndPaste.C (nrOfParagraphs): remove (unused)
34 * CutAndPaste.C (cutSelection): Remove debug message
35 * CutAndPaste.C (cutSelection): Use the real cursor in mathed, record
36 undo information and only copy if this is a real cut
37 * CutAndPaste.C (pasteSelection): remove superflous cur.resetAnchor()
39 * CutAndPaste.C (pasteSelection): remove now superflous mathed warning
41 * CutAndPaste.C (eraseSelection): prevent cursor corruption
42 * CutAndPaste.C (grabAndEraseSelection, selDel): remove now
43 superflous cur.selection() setting
44 * CutAndPaste.[Ch] (grabSelection): take a const cursor
45 * cursor.C (selectionAsString): implement mathed case ((bug 2059)
47 2005-10-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
49 * text3.C (mathDispatch, dispatch): Dont' record undo steps that don't
52 2005-10-11 Martin Vermeer <martin.vermeer@hut.fi>
54 * BufferView_pimpl.C: comment layout change
56 2005-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
60 * lyxfunc.C: reimplement LFUN_INSERT_CITATION, which is needed
61 by bibliography managers (bug 2071).
63 2005-10-07 Martin Vermeer <martin.vermeer@hut.fi>
65 * BufferView_pimpl.C (update): choose arguments to update call so
66 that single-par update works most times
67 * text3.C (dispatch): carefully tune updating separately for
68 whole-screen and current-paragraph
69 * rowpainter.C (paintText): 1) replace painting by caching for
70 the two extra paragraphs, because we can;
71 2) suppress greying out of areas below/above drawn area in case of
73 * lyxfunc.C (dispatch): remove superfluous update
74 * LyXAction.[Ch]: introduce SingleParUpdate
76 2005-10-05 Angus Leeming <leeming@lyx.org>
78 * BufferView_pimpl.C (loadLyXFile): ensure that a pointer is
79 always initialised before use.
81 * text.C (setHeightOfRow): squash warning about comparison
82 of signed and unsigned types.
84 2005-10-03 Martin Vermeer <martin.vermeer@hut.fi>
86 * text.C (cursorX): two fixes involving RtL text drawing
88 2005-10-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
90 * cursor.C (erase): fix 'clever' UI hack. It was activated for all
91 items, not only large ones (part of bug 2057)
93 2005-10-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
95 * text3.C (dispatch): when invoking LFUN_MATH_MACRO with no type
96 argument, use "newcommand".
98 2005-09-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
100 * cursor.C (setSelection): do not open collapsable insets;
101 the insets do by themselves now (autoopen).
103 2005-09-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
105 * buffer.C: format is up to 244.
107 2005-09-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
109 * text.C (redoParagraph): fix calcultation of inset width wrt
110 leftMargin (bug 1957).
112 * text3.C (dispatch): leave inset to the right when hitting ESC
115 2005-09-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
120 * messages.C: include <boost/current_function.hpp>
122 2005-09-12 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
124 * lyxfunc.C (sendDispatchMessage): do not update menubar/toolbar
125 when command is internal. (bug 1941)
127 2005-09-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
129 * text2.C (cursorRight): do not honor boundary when at the end of
130 a paragraph. (bug 2010 again)
132 2005-09-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
134 * cursor.C (paste): do nothing if `data' is empty. (bug 2033)
136 2005-09-19 Martin Vermeer <martin.vermeer@hut.fi>
138 * rowpainter.C (paintText): fix RtL space width display bug (2029)
140 2005-09-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
142 * text2.C (setCursor): remove the unused 'boundary' parameter for
143 the CursorSlice version; adapt the LCursor version.
146 * paragraph_pimpl.C (markErased):
147 * cursor.C (bruteFind2, bruteFond3): fix warnings.
149 2005-09-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
151 * rowpainter.C (paintFirst): use a 'labeladdon' for TOP_* labels,
152 as is already done for "chapter".
154 2005-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
156 * lyxfunc.C (dispatch): LFUN_TEXTCLASS_APPLY: actually set the
157 textclass; do not record undo if nothing is changed.
159 2005-09-16 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
161 * text3.C (dispatch): recordUndo in LFUN_PASTESELECTION (#2011).
163 2005-09-14 Michael Gerz <michael.gerz@teststep.org>
165 * lyxfunc.C: update display after LFUN_ALL_INSETS_TOGGLE
167 2005-09-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
169 * BufferView_pimpl.C (setBuffer): when one wants to set the layout
170 combox, it is necessary to search for the topmost paragraph in the
171 cursor stack (bug 1926)
173 2005-09-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
175 * text2.C (cursorEnd, cursorRight): do not set boundary to true at
176 end of paragraph. (bug 2010)
178 2005-09-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
180 * text.C (leftMargin): check for inInset == 0
182 2005-09-10 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
184 * text.C (leftMargin): test for insetbase's new neverIndent()
185 bool instead of listing each and every inset that does not
186 wish par indendation.
188 2005-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
190 * buffer_funcs.C (setCounter): put the code to compute enum label
191 here (where it belongs).
193 * counters.C (enumLabel): move code to buffer_funcs.C.
195 2005-09-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
197 * outputparams.[Ch]: store local_font instead of local_language
198 * paragraph.C (simpleTeXOnePar): adapt to the change above
200 2005-09-08 Martin Vermeer <martin.vermeer@hut.fi>
203 * counters.[Ch]: clean up special code for Hebrew.
205 2005-09-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
207 * lyxfunc.C (lookupChange): fix code when cursor depth is greater
210 2005-09-08 Angus Leeming <leeming@lyx.org>
213 * lyxrc.C: correct grammar describing invocation of the
216 2005-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
218 * text.C (read): remove unused variable.
219 (readParToken): remove static Change variable (never good in
220 recursive settings...); add it as a parameter instead.
222 * paragraph_pimpl.C (acceptChange): make debug info conditional.
224 * metricsinfo.C (PainterInfo): add new member erased_.
226 * rowpainter.C (RowPainter): add erased_ member, initialized from
228 (paintInset): pass erased_ to Inset::draw.
230 * lyxfunc.C (lookupChange): new function. Tells whether change
231 tracking is disabled at a given postion.
232 (getStatus): disable some actions when in deleted text with change
235 2005-08-03 John Levon <levon@movementarian.org>
237 * tabular.C (appendColumn, setMultiColumn): adapt to change to
240 * paragraph_pimpl.C (markErased): add bool argument and handle it.
241 Also make sure to mark insets recursively.
242 (rejectChange, erase): be recursive
244 * paragraph.C (markErased): add bool argument.
245 2005-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
247 * lyxfind.C (findNextChange): tiny cleanup.
249 * BufferView_pimpl.C (trackChanges): avoid crash when stopping
250 change tracking with the cursor in an inset; make sure the first
251 change is not skipped.
253 2005-09-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
255 * CutAndPaste.[Ch]: new methods dirtyTabularStack and
256 tabularStackDirty to work around bug 1919 (tabular needs
257 to know whether its own cell paste buffer or the one of
259 * CutAndPaste.C: mark tabular_stack_ clean after copy.
261 2005-08-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
263 * text2.C (cursorEnd): check for empty text (fixes bug 1998)
265 2005-08-19 Lars Gullik Bjønnes <larsbj@gullik.net>
267 * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
268 use old deleteion algorithm when changetracking is on.
270 2005-08-18 Martin Vermeer <martin.vermeer@hut.fi>
272 * messages.C (get): add debug output.
274 2005-08-02 Martin Vermeer <martin.vermeer@hut.fi>
276 * text.C (cursorX): fix bug 1965: cursor movement at
277 line end broken in RtL.
278 (drawSelection): fix bug 1970: drawing of single-line
279 selection broken for RtL.
281 2005-07-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
285 * dociterator.h (clear, push_back, pop_back): change from
288 * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
289 and changed to just return the value of the item depth; take a
290 ParIterator as argument; take the itemdepth at outer nesting level
291 in account if necessary; cleanup and comment the code.
292 (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
293 and changed to just return true if reset is needed; take a
294 ParIterator as argument; cleanup and comment the code.
295 (setCounter): adapt to above changes.
297 2005-07-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
299 * text3.C (dispatch): make debug message optional
301 2005-08-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
303 * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
306 2005-08-02 Martin Vermeer <martin.vermeer@hut.fi>
308 * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
310 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
312 * text.C (insertChar):
313 * text2.C (deleteEmptyParagraphMechanism): take care whether
314 a blank has been deleted (in change tracking mode) (bug 1254).
316 2005-07-20 John Levon <levon@movementarian.org>
318 * text2.C (insertStringAsLines): remove old dubious code,
321 2005-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
323 * MenuBackend.C (expandToc): use Floating::listName() as title of
326 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
328 * toc.[Ch]: Do not use translatable strings (bug 1870).
330 2005-07-20 John Levon <levon@movementarian.org>
332 * tabular.C: fix 1748 - setting multicolumn adds
333 left line to the first cell
335 2005-07-19 Lars Gullik Bjønnes <larsbj@lyx.org>
338 * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
341 2005-07-18 Lars Gullik Bjønnes <larsbj@lyx.org>
343 * messages.C: supress some lyxerr messages
345 2005-07-18 Juergen Vigna <jug@lyx.org>
347 * text.C (drawSelection): honor boundary when asking for cursorX.
349 2005-07-17 José Matos <jamatos@fc.up.pt>
351 * tabular.C (recalculateMulticolumns): fix handling of one column
354 2005-07-17 Juergen Vigna <jug@lyx.org>
356 * text.C (Delete, backspace): fixed so that paragraph with the
357 same layout can be merged by Delete/Backspace.
359 2005-07-17 Michael Schmitt <michael.schmitt@teststep.org>
361 * text.C (readParToken): fix spelling.
363 2005-07-17 Martin Vermeer <martin.vermeer@hut.fi>
365 * text2.C: fix counter update for DEPM problem reported by
368 2005-07-17 Juergen Vigna <jug@lyx.org>
370 * BufferView_pimpl.C (setBuffer): save/restore the
371 cursor/selection when switching buffers
374 * buffer.C (saveCursor): add saveDocumentIterators to save the
375 cursor when switching buffer.
377 2005-07-17 Michael Schmitt <michqel.schmitt@teststep.org>
380 * buffer.C: clarify message
382 2005-07-17 Lars Gullik Bjønnes <larsbj@lyx.org>
384 * dociterator.C (DocIterator): fix initialization order
386 2005-07-17 Juergen Vigna <jug@lyx.org>
388 * text2.C (cursorHome):
389 * text.C (drawSelection, cursorX):
390 * dociterator.C (textRow): add boundary to getRow() call
392 * paragraph.C (getRow): implementation of below
394 * paragraph.h: add parameter boundary for getRow() function
396 2005-07-17 José Matos <jamatos@fc.up.pt>
400 * tex-strings.[Ch]: new file format, remove support for a4.sty,
401 a4wide.sty and a4widemargins.
403 2005-07-17 Juergen Vigna <jug@lyx.org>
405 * text2.C (cursorLeft): fix one of error
407 2005-07-17 Juergen Vigna <jug@lyx.org>
409 * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
411 more fixes for boundary handling
413 * text3.C (dispatch): don't reset cursor if boundary has changed
416 2005-07-16 Juergen Vigna <jug@lyx.org>
418 * text2.C (getColumnNearX): hopefully got it right now,
419 check if we are on column 0 for special case.
421 2005-07-16 Juergen Vigna <jug@lyx.org>
423 * text2.C (getColumnNearX): handle special case Newline Inset
425 * text.C (singleWidth): Just remove bogus check
427 2005-07-16 Michael Schmitt <michael.schmitt@teststep.org>
429 * funcrequest.C (split): avoid reading uninitialized char c
431 2005-07-16 José Matos <jamatos@fc.up.pt>
437 * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
438 single papersize variable.
440 2005-07-16 Juergen Vigna <jug@lyx.org>
442 * text3.C (dispatch): honor boundary when checking if a cursor
443 movement has been done
445 * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown)
446 (setCursor, setCursorIntern): fix cursor movement with boundary
448 2005-07-16 Juergen Vigna <jug@lyx.org>
450 * text.C (currentState): output the actual Boundary
452 2005-07-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
454 * factory.C (createInset): fix bad logic for tabular creation
456 2005-07-16 Lars Gullik Bjønnes <larsbj@lyx.org>
458 * lyx_main.C (init): change some reLyX reference to tex2lyx
460 2005-07-16 Juergen Vigna <jug@lyx.org>
462 * dociterator.C (DocIterator): initialize boundary
464 2005-07-16 Juergen Vigna <jug@lyx.org>
466 * text2.C (getColumnNearX): Consider rows without trailing blank.
468 2005-07-16 André Pönitz <poenitz@gmx.net>
470 * lyxfont.h: Change order of declarations to give the compiler
471 a better chance to inline things
473 * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
474 questions on unsaved docs for better scritability
476 2005-07-16 André Pönitz <poenitz@gmx.net>
478 * paragraph.h (getChar): remove asserts as the same kind of security
479 can be achieved by using a suitable standard library implementation
480 and the function was in the critical path (25.9% in profiler)
482 2005-07-16 Juergen Vigna <jug@lyx.org>
484 * cursor.C (bruteFind2):
485 * bufferview_funcs.C (coordOffset):
486 * text.C (cursorX,cursorY): Handle cursor position after last char
487 in row before a inset which uses a whole row.
489 2005-07-15 José Matos <jamatos@lyx.org>
491 * output_plaintext.[Ch] (writeFileAscii): control reference title
493 (asciiParagraph): noparbreak was already deal and was incorrectly
496 2005-07-15 Juergen Vigna <jug@lyx.org>
498 * lyxfunc.C (dispatch): save and restore the cursor after a
501 2005-07-15 Lars Gullik Bjønnes <lgb@tandberg.net>
503 * text.C (backspace): bug 806 for empty keepempty paragraphs we
504 change the layout to default before letting DEPM do its thing.
506 * paragraph_funcs.C (breakParagraph): dont reset the layout on
509 * text.C (setCursorFromCoordinates): add a debug statement
511 * text2.C (getColumnNearX): bug 1825 make sure that we don't
512 return a pos that is not on the row
514 * output_latex.C (TeXDeeper): get rid of potential dereferencing
515 of past the end iterator
517 2005-07-14 André Pönitz <poenitz@gmx.net>
519 * undo.C (recordUndoFullBuffer): implement undo for
522 2005-07-14 André Pönitz <poenitz@gmx.net>
524 * cursor.C (setSelection): open insets when selection is set there
525 to avoid crashs with cold coord cache
527 2005-07-14 André Pönitz <poenitz@gmx.net>
529 * trans_mgr.C (insert): move cursor to the right after inserting
532 2005-07-14 Lars Gullik Bjønnes <larsbj@lyx.org>
534 * BufferView_pimpl.C (update): dampen some of the debug blabbering
535 * factory.C (readInset): ditto
536 * text.C, text2.C: ditto
538 2005-06-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
540 * buffer.C: format incremented to 242. There is no file format per
541 se, but the "frenchb" language has been removed from lib/language
542 and has to be translated to "french" by lyx2lyx.
544 2005-07-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
546 * cursor_slice.h, dociterator.h: add some documentation
547 * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
549 2005-07-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
551 * text.C (leftMargin): do not add identation to display() style
552 insets, because they are always centered (bug 1293).
554 2005-07-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
556 * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
557 formatted_time methods in support/lyxtime.
559 2005-07-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
561 * toc.[Ch]: new method getGuiName, which is used by the frontends
562 to set the toc combo (fixes bug 1870). Make TOC string translatable.
564 2005-07-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
566 * dociterator.[Ch]: implement operator==(StableDocIterator const &,
567 StableDocIterator const &)
568 * undo.C (recordUndo): use the above instead of cell.size() comparison
569 (fixes bug 1808; instructed by Andr�.
571 2005-06-29 Martin Vermeer <martin.vermeer@hut.fi>
574 * dociterator.h: Fix the assert when copying rows/cols in math
576 2005-06-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
578 * BufferView_pimpl.C:
580 * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
582 * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
583 (findInset): new functions, refactored from goto Inset that return
584 the position of a certain inset without setting the buffer's cursor
586 (gotoInset): rewrite to call findInset and then set the cursor
589 2005-06-16 Angus Leeming <leeming@lyx.org>
591 * lyxrc.C (output, read): wrap all input and output of paths with
592 calls to os::internal_path and os::external_path, respectively.
593 (output): wrap bind_file inside quotes.
595 * format.C (view): enable the viewer to use the '$$s' placeholder.
597 2005-06-16 Georg Baum <Georg.Baum@post.rwth-aachen.de>
599 * LColor.[Ch] (getFromLaTeXName): new
601 2005-06-16 Martin Vermeer <martin.vermeer@hut.fi>
603 * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
605 2005-06-14 Angus Leeming <leeming@lyx.org>
607 * lyx_main.C (init): ensure that the LyX binary dir is the first
608 element in the PATH on non-POSIX builds.
610 2005-06-11 Georg Baum <Georg.Baum@post.rwth-aachen.de>
612 * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
614 2005-06-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
616 * rowpainter.C (paintInset, paintHebrewComposeChar)
617 (paintArabicComposeChar, paintChars): add a LyXFont argument.
618 (paintChars): use getFontSpan to reduce calls to getFont to a
619 minimum; use Paragraph::lookupChange instead of isXXXText.
620 (paintForeignMark): rename LyXFont argument.
621 (paintFromPos): pass a LyXFont object to the various paintXXX
624 * FontIterator.C (FontIterator, operator++): use
625 Paragraph::getFontSpan
627 * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
628 version that returns the font span as a pair.
630 2005-06-09 Angus Leeming <leeming@lyx.org>
632 * converter.C (convert): Don't forget "outfile = real_outfile" as
633 the final step in a conversion where the input and output file names
634 are the same. Otherwise, future conversion steps won't work...
636 2005-06-09 Angus Leeming <leeming@lyx.org>
638 * lyxsocket.C: remove stub code as it isn't needed by
639 MinGW/MinSYS anyway. Let's see if the MSVC people scream...
641 2005-06-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
643 * lyx_main.C (parse_execute): Fix last fix: is_gui = false
644 effectively disabled -x
646 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
648 * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
649 when it actually makes sense.
651 2005-06-06 Martin Vermeer <martin.vermeer@hut.fi>
653 * BufferView_pimpl.C: revert to showCursor in connection with
654 Lars's front-end stack
656 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
658 * text.C (redoParagraph): move cursor right after a bibitem
661 * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
663 2005-06-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
665 * buffer_funcs.C (bufferErrors): fix computation of the end of an
668 2005-05-31 Martin Vermeer <martin.vermeer@hut.fi>
670 * BufferView.[Ch] (update):
671 * BufferView_pimpl.[Ch] (update, metrics):
672 * dimension.h (operator==):
673 * lyxfunc.C (dispatch):
674 * metricsinfo.h (ViewMetricsInfo):
675 * rowpainter.C (paintText):
677 * text.C (redoParagraph):
678 * text3.C (dispatch): Make LyX only repaint current paragraph in
679 case of character insert --> speedup. Also fix cursor draw
682 2005-05-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
684 * bufferview_funcs.C (gotoInset): fix the wrap-around code to
685 avoid a crash (bug 1891)
687 2005-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
691 * text2.C (getStringToIndex): constify cur argument.
693 * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
694 argument has been given
695 (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
696 try to invoke LFUN_INSET_APPLY).
698 * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
699 if no inset was created by doInsertInset
700 (doInsertInset): return true if an inset has been inserted.
702 2005-05-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
704 * vspace.C (asGUIName): new method. A version of the space
705 suitable for showing on screen.
707 2005-05-20 Michael Schmitt <michael.schmitt@teststep.org>
710 * lyxrc.C: rename "ASCII" to "Plain Text"
712 2005-05-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
714 * buffer_funcs.C (expandLabel): take a Buffer as argument;
715 translate the labelstring.
716 (setCounter): translate labelstring as needed.
718 * output_docbook.C (makeCommand): fix expandLabel invokation
720 2005-05-14 Michael Schmitt <michael.schmitt@teststep.org>
722 * BufferView.C: fix dialog title
724 2005-05-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
726 * lyx_main.C (priv_exec): fix logic error with help from Angus
727 * lyx_main.C (parse_execute): set is_gui = false and remove now
728 obsolete comment about a segfault
730 2005-05-18 Angus Leeming <leeming@lyx.org>
732 * buffer.C (readFile): Quote all file names passed to lyx2lyx.
734 2005-05-12 Martin Vermeer <martin.vermeer@hut.fi>
736 * tabular.[hC]: added setCellInset to fix tabular paste.
738 2005-05-11 Lars Gullik Bjønnes <larsbj@gullik.net>
740 * buffer.C (save): check if destination is writable before trying
743 2005-05-11 Martin Vermeer <martin.vermeer@hut.fi>
745 * BufferView_pimpl.C (update): fix processEvents -caused update
748 2005-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
750 * buffer_funcs.C (setCounter): fix test for numbering of
753 * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
754 depth correctly; use optional argument when it exists
756 * lyxtextclass.C: remove unused MaxCounterTags enum
757 (Read): compute min_toclevel_ and max_toclevel_ after reading class.
758 (max_toclevel, min_toclevel): new methods.
760 * MenuBackend.C (expandToc2): fix case where depth is smaller than
761 the smallest depth in toc.
763 * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
764 layouts that should not appear in a table of contents.
766 2005-05-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
768 * cursor.h (undispatched, noUpdate): add comments from Andr�
769 2005-05-07 Michael Schmitt <michael.schmitt@teststep.org>
773 * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
775 2005-05-07 André Pönitz <poenitz@gmx.net>
777 * cursor.[Ch] (leaveInset): new function
779 2005-05-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
781 * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
783 2005-05-04 Angus Leeming <leeming@lyx.org>
785 * lyxfunc.C (getStatus): disable the spell checker dialog if
786 none of USE_[AIP]SPELL are defined.
788 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
790 * tabular.C (setWidthOfCell): remove obsolete comment
792 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
794 * paragraph.C (bibitem):
795 * buffer_funcs.C (setCounter):
796 * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
798 2005-05-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
800 * text3.C (getStatus): immediately return after setOnOff
802 * rowpainter.C: fix drawing of appendix start
804 2005-05-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
806 * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
807 SwitchBetweenClasses and remove the unused return value.
808 Handle character styles, too
810 2005-05-03 Martin Vermeer <martin.vermeer@hut.fi>
812 * factory.C (createInset): handle undefined character styles
814 2005-05-02 Angus Leeming <leeming@lyx.org>
816 * buffer.C: protect the #include of utime.h with a preprocessor
819 2005-05-02 Angus Leeming <leeming@lyx.org>
821 * lyx_cb.C: artificially define fork() on Windows as a no-op failing
822 function so that auto-saving works, albeit in a blocking manner.
824 * Makefile.am: make compilation of the client sub directory, of
825 aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
826 on conditionals set at configure time.
828 * SpellBase.[Ch]: no longer an abstract base class. Instead,
829 it can be compiled in its own right but has no-op functionality.
831 * aspell.C, pspell.C: remove preprocessor guards. The files should
832 be compiled only if the necessary functionality exists.
834 * lyxserver.C, lyxsocket.C: disable on Windows.
836 2005-05-01 Martin Vermeer <martin.vermeer@hut.fi>
838 * text.C (leftMargin): Fix the parindent use bug (1764)
841 2005-04-28 Michael Schmitt <michael.schmitt@teststep.org>
843 * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
846 2005-04-25 Angus Leeming <leeming@lyx.org>
854 include <config.h> in .C files, not .h ones.
856 protect headers inside preprocessor guards.
858 2005-04-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
860 * FuncStatus.h (StatusCodes): document
862 2005-04-21 André Pönitz <poenitz@gmx.net>
864 * FuncStatus.h (enabled, onoff): document
866 2005-04-19 Angus Leeming <leeming@lyx.org>
868 * BufferView_pimpl.C (cursorToggle): no longer test whether
869 any child processes have been reaped before calling
870 handleCompletedProcesses().
872 2005-04-19 Martin Vermeer <martin.vermeer@hut.fi>
874 * text3.C (dispatch): fix, finally fix, the language problem in
875 new lyxtexts, without disabling on-the-fly font changes (Helge's
878 2005-04-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
880 * text3.C (dispatch): set cursor on double/triple click events
883 2005-04-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
885 * lyxfunc.C (actOnUpdatedPrefs): avoid warning
886 (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
888 * rowpainter.C (paintFirst): simplify the code a little bit. In
889 particular, remove the test for secnumdepth.
890 * text.C (setHeightOfRow): only allocate space for chapter number
891 when updateCounters provided an actual label, instead of looking
892 at secnumdepth directly.
894 * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
896 * buffer_funcs.C (setCounter): only number LABEL_COUNTER
897 paragraphs when secnumdepth is large enough or, for environments,
898 when they are not the first in a sequence.
900 2005-04-17 Angus Leeming <leeming@lyx.org>
902 * buffer.C (makeLaTeXFile): replace code to manipulate a path
903 containing space and '~' characters with a call to latex_path().
905 2005-04-17 Angus Leeming <leeming@lyx.org>
907 * converter.C (convert): protect all args of convertDefault.sh
910 2005-04-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
912 * text3.C (dispatch): change the layout to "Caption" after inserting
915 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
917 * text3.C (dispatch): fix language problem in newly created
918 textinsets (and main text) in non-english docs
920 2005-04-13 Georg Baum <Georg.Baum@post.rwth-aachen.de>
922 * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
923 * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
924 * text3.C (getStatus): disable LFUN_INSET_MODIFY
926 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
931 * rowpainter.C (getFont): Fix metrics bug introduced by inset
934 2005-04-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
936 * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
937 output of \item arguments without trailing text.
939 2005-04-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
941 * FontIterator.C (operator*): avoid a copy of the font.
943 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
945 * rowpainter.C (getFont): fix language bug from previous fix
947 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
949 * rowpainter.C (RowPainter, getFont): fix font inside inset
952 2005-04-06 Martin Vermeer <martin.vermeer@hut.fi>
954 * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
955 preventing inserted font, deco, delim insets jumping to start of
958 2005-03-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
960 * lyxfunc.C (dispatch): translate message before sending it to the
963 2005-03-29 Angus Leeming <leeming@lyx.org>
965 * lyx_main.C (priv_exec): call os::internal_path on each file passed
966 to LyX on the command line.
968 2005-03-25 Stephan Witt <stephan.witt@beusen.de>
970 * vc-backend.C: use QuoteName to protect file names wherever
973 2005-03-27 Martin Vermeer <martin.vermeer@hut.fi>
976 * BranchList.h: fix bugs 1844,1845: document settings don't
979 2005-03-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
981 * lyxrc.C (setDefaults, read, output, getDescription): add support
982 for tex_allows_spaces.
984 * exporter.C (Export): allows files in directory containing spaces
985 if tex_allows_spaces is true.
987 * buffer.C (makeLaTeXFile): if the document path contains spaces,
988 output it in double quotes.
990 2005-03-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
992 * rowpainter.C: use default text height for drawing change tracker
995 2005-03-21 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
997 * lyx_main.C: fix binding of tabulator key (especially S-Tab).
999 2005-03-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1001 * lyx_main.C (queryUserLyXDir): fix logic when LyX support
1002 directory is missing.
1004 2005-03-11 Martin Vermeer <martin.vermeer@hut.fi>
1006 * text2.C: fixed the fix, extended to other case.
1008 2005-03-08 Martin Vermeer <martin.vermeer@hut.fi>
1010 * text2.C: fix for cursor up/down stuck in math [bug 1792]
1012 2005-03-07 Alfredo Braunstein <abraunst@lyx.org>
1014 * text2.C (cursorUp): get rid of a crash
1015 * text.C (x2pos): add an assert
1017 2005-03-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1019 * lyxfunc.C (getStatus): fix warning when assertions are disabled
1023 * dociterator.C: include <boost/current_function.hpp>, which is
1024 needed when assertions are disabled.
1026 2005-03-05 Johnathan Burchill <jkerrb@users.sourceforge.net>
1028 * text2.C: fix for stuck cursor when traversing two
1029 consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
1031 2005-02-25 Andreas Vox <avox@arcor.de>
1033 * output_docbook.C (makeParagraph): suppress trailing newline
1034 after a run of paragraphs
1036 2005-02-28 Johnathan Burchill <jkerrb@users.sourceforge.net>
1038 * paragraph.C: fix for confused change tracker when pasting
1039 text that begins with a lineseparator. [bug 1827]
1040 (setChange(0, Change::INSERTED);)
1042 * paragraph_funcs.C: fix for lost changes on triple-paste
1043 in change tracking mode [bug 1827] (par.setChange()).
1045 2005-02-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1047 * text2.C (updateCounters, setCounter, expandLabel): move to
1050 * buffer_funcs.C (updateCounters): turn into a free standing
1051 function and add a buffer parameter. Remove dead code for tracking
1053 (setCounter): change into a free-standing function which gets a
1054 dociterator as argument. Use this iterator to fix captions in a
1055 simple way. When no float is found above the caption, use the
1056 labelstring of the caption layout as default.
1058 * text.C (breakParagraph, backspace):
1059 * text2.C (init, setLayout, changeDepth):
1060 * text3.C (dispatch):
1061 * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
1064 * dociterator.C (forwardPar): make it much faster by calling
1065 forwardPos() only when really necessary.
1067 * output_docbook.C (makeCommand): adapt to expandLabel move.
1069 * cursor.C: remove unused variable
1071 2005-02-24 Johnathan Burchill <jkerrb@users.sourceforge.net>
1073 * paragraph_funcs.C: fix crash when pasting insets in change
1074 tracking mode [bug 1277] (honour change type in moveItem).
1076 2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1078 * LaTeX.C (scanLogFile): recognize pdfTeX warnings
1080 2005-02-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1082 * BufferView.C (setCursor): change to use a DocIterator.
1083 (gotoLabel): use BufferView::setCursor (other part of bug 781).
1084 (putSelectionAt): adapt to BufferView::setCursor change.
1086 * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
1087 moved here from LyXText and rewritten to use proper cursor
1088 methods. Fixes bug 1787, 616 and 835.
1090 * BufferView_pimpl.C (restorePosition): set the cursor correctly
1091 when inside an inset (part of bug 781).
1092 (dispatch): adapt to change of BufferView::setCursor.
1093 (getStatus, dispatch): handle LFUN_GOTOERROR,
1094 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1096 * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
1097 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1098 * text3.C (gotoNextInset, gotoInset): removed.
1100 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1102 * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
1104 2005-02-15 Angus Leeming <leeming@lyx.org>
1106 * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
1107 can be used meaningfully in a comparison.
1109 2005-02-13 André Pönitz <poenitz@gmx.net>
1111 * bufferview_funcs.C (coordOffset): improve cursor drawing
1113 2005-02-13 André Pönitz <poenitz@gmx.net>
1115 * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
1116 * Cursor.C (dispatch): use fixIfBroken
1117 * lyxfunc.C (getStatus): use fixIfBroken
1119 2005-02-15 Angus Leeming <leeming@lyx.org>
1121 * lyx_main.C (error_handler):
1123 * lyxrc.C (setDefaults):
1125 #include "environment.h".
1127 * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
1129 2005-02-15 Angus Leeming <leeming@lyx.org>
1131 * lyxserver.C (startPipe): squash MSVC warning "local variable
1132 'fd' used without having been initialized".
1134 2005-02-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1136 * BufferView_pimpl.C: revert accidental commit.
1138 2005-02-14 André Pönitz <poenitz@gmx.net>
1140 * dociterator.[Ch]: new member forwardPosNoDescent(),
1141 which doesn't enter nested insets.
1142 * text2.C (setFont): use forwardPosNoDescent() instead
1143 of ForwardPos() (fixes crash on font change).
1145 2005-02-13 Angus Leeming <leeming@lyx.org>
1147 * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
1148 only if lyxrc.path_prefix is not empty.
1150 2005-02-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1152 * bufferparams.C (readGraphicsDriver): prevent crash
1154 2005-02-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1156 * text2.C (setCounter): check for inInset() == 0
1158 2005-02-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1160 * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
1161 but use update() to get correct screen display; use convert
1162 instead of istringstream.
1163 (getStatus): handle LFUN_GOTO_PARAGRAPH
1165 * lyxfunc.C (dispatch, getStatus): do not handle
1166 LFUN_GOTO_PARAGRAPH here.
1168 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1170 * text3.C (dispatch): size() -> depth()
1172 * text2.C: remove some debug output
1174 * paragraph.C: ws changes only
1176 * lyxfunc.C (getStatus): size() -> depth()
1178 * dociterator.h (clear, push_back, pop_back, internalData,
1179 operator[], resize, empty): new functions
1180 Make StableDocIterator and operator== be friends. Don't inherit
1181 from std::vector use a privat class variable slices_ instead.
1184 * dociterator.C: update because of not inheriting from std::vector
1185 anymore. Call explictly to slices_ instead. Use depth() instead of
1186 size() and top() instead of back()
1188 * cursor.C: chagne size() -> depth and back() -> top(). Also
1189 remove some direct operator[](i) calls in favour of foo[i]
1190 (getFont): remove some dead code
1192 * bufferview_funcs.C (coordOffset): size() -> depth()
1194 * buffer.C: ws changes only
1196 * CutAndPaste.C (eraseSelection): back() -> top()
1198 * BufferView_pimpl.C (selectionRequested): back() -> top()
1200 * BufferView.C (setCursor): size() -> depth()
1202 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1204 * text3.C (cursorPrevious): return true if depm changed something
1206 (dispatch): rename sl to oldTopSlice, remove moving use the new
1207 NoUpdate func attrib instead. Make sure that needsUpdate is set
1208 for function that have NoUpdate, but where depm might have changed
1211 * text2.C (cursorLeft): make us return true if depm changed
1213 (cursorRight): ditto
1214 (cursorUpParagraph): ditto
1215 (curosrDownParagraph): ditto
1216 (cursorUp, cursorDown): ditto, make sure to read comments in code
1217 (deleteEmptyParagraphMechanism): remove an assert, also return
1218 true if just a single char was deleted.
1220 * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
1221 cursor that we modify, to avoid modifying an active cursor before
1222 we call setCursor. This allows depm to run. Also return true if
1223 depm deleted something.
1225 * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
1226 cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
1227 cursorDownParagraph, cursorPrevious and cursorNext, return true if
1228 something was changed in the buffer because of them (ie. depm run)
1230 * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
1231 debug messages. Make update by default be false. Make sure that
1232 the result of update is retained throught several calls down to
1235 * LyXAction.h: add a new func_attrib: NoUpdate
1237 * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
1238 LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
1239 LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
1241 (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
1243 2005-02-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1245 * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
1246 bv_->owner(), bv_->buffer() by direct references to the private
1248 (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
1249 (getStatus): isSavedPosition() is in BufferView::Pimpl.
1250 (fitCursor): center() is in BufferView::Pimpl.
1251 (getStatus, trackChanges, dispatch): no need for a temporary buf
1253 (fitCursor, workAreaDispatch): use workarea().workheight()
1255 2005-02-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1257 * CutAndPaste.C (pasteSelectionHelper): fix a crash
1259 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1261 * buffer.C: format up to 241.
1262 * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
1263 break if pasting into ERT
1264 * lyxfunc.C (getStatus): suppress mathpanel and
1265 LFUN_DIALOG_SHOW_NEW_INSET in ERT
1267 2005-02-01 Angus Leeming <leeming@lyx.org>
1269 * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1271 2005-02-01 Angus Leeming <leeming@lyx.org>
1273 * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1274 calling fs::is_directory().
1276 2005-01-31 Angus Leeming <leeming@lyx.org>
1278 * lyx_main.C (priv_exec): specify explicitly the relative location
1279 of the top level build directory when run in-place.
1281 2005-01-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1283 * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1284 LyXText containing the cursor, not the top-level one.
1286 * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1288 (insertStringAsLines): rename par to pit; use temporary variable
1289 par to hold a Paragraph; do not store par.layout() in a variable,
1290 since the pointer may die when breaking paragraphs; pass pars to
1291 breakParagraph() instead of Buffer::paragraphs().
1293 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1295 * lyxlex_pimpl.h: #include <fstream>.
1297 * BufferView.[Ch] (getLyXText): add a const version.
1299 * BufferView_pimpl.C: add debug aids.
1304 * paragraph_funcs.h: add commentary explaining what the class does.
1307 * coordcache.[Ch]: add lots of commentary.
1308 (startUpdating, doneUpdating): debug aids.
1309 (arrays, insets, parPos, getParPos): accessors to private data.
1311 * cursor_slice.[Ch] (text): add a const version.
1312 * dociterator.[Ch] (text, innerText): add const versions.
1314 * lyxtext.h (breakParagraph): change the keep_layout arg to a
1317 * paragraph.C (getRow, pos2ros): add asserts.
1319 * paragraph.h: add commentary. Lots of.
1321 * paragraph.[Ch] (metrucs, draw): removed.
1324 * rowpainter.[Ch]: const-correct changes.
1326 * text.C: various obvious clean-ups. Removal of ancient cruft.
1329 2005-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
1331 * vc-backend.C (find_file): rewrite to use boost.filesystem
1334 * main.C (main): set default name check for boost.filesystem to
1337 * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1340 (actOnUpdatedPrefs): ditto
1342 * lyx_main.C (init): rewrite to use boost.filesystem
1343 (queryUserLyXDir): ditto
1345 * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1346 (getContentsOfAsciiFile): ditto
1348 * lastfiles.C (readFile): rewrite to use boost.filesystem
1350 * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1352 * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1353 (loadLyXFile): ditto
1355 * buffer.C (Buffer): adjust for destroydir
1356 (getLogName): rewrite to use boost.filesystem
1357 (setFileName): ditto
1358 (save): use fs::copy_file (from fs_extras)
1360 * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1362 * LaTeX.C (run): rewrite to use boost.filesystem
1363 (scanAuxFiles): ditto
1364 (handleFoundFile): ditto
1366 2005-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1368 * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1370 * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1372 2005-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1374 * lyxlayout.[Ch]: change some vars from float to double
1376 * buffer.C (readFile): make a local var const
1378 * Several files: use convert<> instead of atoi,strToXXX and friends
1380 2005-01-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1382 * LaTeXFeatures.[Ch]: Add a static list packages_ that
1383 holds the contents of packages.lst. New functions getAvailable
1384 and isAvailable to parse and check that list, resp.
1388 * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1390 * bufferparams.[Ch]: new param output_changes.
1392 * Buffer.C: increase file format to 240.
1393 Use output_changes and isVailable.
1397 * paragraph_pimpl.C: Use output_changes and isVailable.
1399 2005-01-23 Angus Leeming <leeming@lyx.org>
1401 * output_latex.C: #include "insetbibitem.h", rather than
1402 forward declare function bibitemWidest.
1404 2005-01-21 Andreas Vox <vox@isp.uni-luebeck.de>
1406 * lyx_main.C (init): make it compile on the Mac.
1408 2005-01-20 Angus Leeming <leeming@lyx.org>
1410 * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1411 (setLyXMisc): (char string literal) != (char string literal) is
1412 performing a comparison on the addresses. Convert one operand
1413 explicitly to string to guarantee expected behaviour.
1416 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1419 * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1421 * output_plaintext.C: remove unneeded #include gzstream.h.
1423 2005-01-20 Angus Leeming <leeming@lyx.org>
1425 * SpellBase.h: rename some of the elements of the Result enum.
1432 * pspell.C (check): ditto
1434 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1436 * buffer.C: add #include <fstream>.
1438 * lyx_main.C (init): Compile fix.
1440 * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1442 2005-01-20 Angus Leeming <leeming@lyx.org>
1444 * mover.h: change commentary to reflect the changed meaning of
1445 the $$s placeholder.
1447 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1449 * output_linuxdoc.C (linuxdocParagraphs): silence warning
1451 * lyxfind.C (MatchString::operator()): remove bogus semicolon
1453 2005-01-20 Angus Leeming <leeming@lyx.org>
1455 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1456 printing diagnostic data by not dereferecing an iterator past the
1459 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1461 * buffer.C (readHeader): use "&&" rather than "and".
1463 * lyxserver.h (inPipeName, outPipeName): make these const.
1465 2005-01-19 Angus Leeming <leeming@lyx.org>
1467 * lyx_main.C (error_handler, init): protect SIGHUP with
1468 #ifdef SIGHUP guards.
1470 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1472 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1474 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1476 * text.C (setHeightOfRow): add a margin at the top and bottom of
1477 the document (bug 1761)
1479 2005-01-17 Angus Leeming <leeming@lyx.org>
1481 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1482 with "python ". Workaround for a brain-dead Windows.
1484 2005-01-16 Angus Leeming <leeming@lyx.org>
1486 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1487 for MacOSX and Windows to use prependEnvPath.
1488 Strip out the hard-coded block to add elements to the PATH for
1489 MacOSX and replace it with a call to prependEnvPath using the
1490 contents of LyXRC::path_prefix.
1491 (queryUserLyXDir): strip out the code to run reconfigure, instead
1492 returning a boolean indicating the necessity to do so.
1493 (reconfigureUserLyXDir): contains the code to reconfigure the
1494 user support directory. Is now called after the various LyXRC data
1495 files have been read.
1497 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1499 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1501 * converter.[Ch] (convert): take a new parameter try_default. Use
1502 a default converter (imagemagick) if try_default is true.
1504 2005-01-13 Angus Leeming <leeming@lyx.org>
1506 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1507 os::cygwin_path_fix.
1508 (write): output LyXRC::cygwin_path_fix as necessary.
1510 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
1513 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1515 2005-01-12 Angus Leeming <leeming@lyx.org>
1517 * lyx_main.C (init): set the PATH variable to include the
1518 directory containing the LyX binary when running on Mac or Windows.
1520 2005-01-12 Angus Leeming <leeming@lyx.org>
1522 * lyx_main.C (init): remove cruft that purports to set the locale
1523 dir. It doesn't and is not needed anyway.
1525 2005-01-10 Angus Leeming <leeming@lyx.org>
1527 * Makefile.am: remove the lyx_main.C special casing.
1529 * BufferView_pimpl.C:
1535 * messages.C: use support/package.h to provide the paths to the
1536 various directories used by LyX.
1538 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1540 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1541 layout if pasting into an empty paragraph)
1543 2005-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
1545 * tex-accent.C: add <string>
1547 2005-01-06 José Matos <jamatos@lyx.org>
1549 * ParagraphParameters.C (write): put every parameter in its own line.
1550 * paragraph.C (write): reduce number of consecutive empty lines exported.
1551 * buffer.C (LYX_FORMAT): increase file format to 239.
1553 2005-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1555 * everywhere: change support/tostr.h -> support/convert.h
1557 * tabular.C: make all write_attributes templates, tostr -> convert
1559 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1560 (emptyTag): and -> &&, and fix type for ret from getChar
1561 (getFirstWord): fix type for ret from getChar
1562 (onlyText): and -> &&
1563 (simpleDocBookOnePar): and not -> && !, fix type for ret from
1566 * toc.C (goTo, action):
1567 * text3.C (dispatch):
1568 * text.C (currentState):
1569 * tex-accent.C (DoAccent):
1572 * lyxfunc.C (menuNew):
1573 * lyxfinc.C (replace):
1574 * counters.C (laberItem):
1575 * bufferview_funcs.C (font2string):
1576 * bufferparams.C (writeFile):
1577 * buffer.C (readFile):
1579 * MenuBackend.C: tostr -> convert
1581 * LaTeX.C (runMessage): fix format
1582 (scanAuxFiles): tostr -> convert
1584 * BufferView_pimpl.C (savePosition): fix format
1585 (restorePosition): ditto
1588 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1590 * Spacing.[Ch]: New method getValueAsString().
1594 * ParagraphParameters.C:
1597 * text3.C: store/read spacing value as string.
1599 * rowpainter.C: change float value (spacing_val) to double.
1601 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1602 broken custom document spacing).
1604 2005-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
1606 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1607 namespace, also more use of temp references and const
1609 * cursor.[Ch] (getStatus): move to lyxfunc.C
1611 * bufferparams.C: reformat slightly
1613 * bufferview_funcs.C (font2string): constify arg
1619 * buffer_funcs.C: (many funcs): constify arg on function
1620 definitions, also make more local vars const, also add ASSERTS on
1623 * buffer.C (LYX_FORMAT): put const in correct place
1624 (many funcs): constify arg on function definitions, also make
1625 more local vars const
1627 * aspell_local.h: remove "struct" from typdef setup
1629 * aspell.C (check): make word_ok const
1630 (nextMiss): simplify slightly
1633 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1635 * lyxrc.[Ch]: store all float values as strings.
1636 use int (not float) for lyxrc.dpi.
1638 2005-01-04 Angus Leeming <leeming@lyx.org>
1640 * lyx_cb.C (Reconfigure):
1641 * lyx_main.C (queryUserLyXDir):
1642 to run the <system_lyxdir>/configure correctly on Windows, prefix
1643 the path to the script with "sh " when generating the string that
1644 is passed to system().
1646 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1648 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1650 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1652 * lyxlength.C (asLatexString): get rid of setprecision
1654 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1656 * text2.C (setLayout): remove unused variable endpit.
1657 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1659 * paragraph.C (onlyText): remove unused variable style.
1661 * cursor.C (bruteFind): remove unused variables beg and end.
1663 * Makefile.am (dist_noinset_DATA): not needed anymore
1665 * cheaders/*: remove.
1667 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1669 * text3.C: fix LFUN_MATH_MODE.
1671 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1673 * buffer_funcs.C (countWords): new function. Counts words between
1676 * BufferView_pimpl.C (getStatus, dispatch): handle
1679 * LyXAction.C (init):
1680 * lfuns.h: add LFUN_WORDS_COUNT.
1682 2004-12-19 Angus Leeming <leeming@lyx.org>
1684 * buffer.C (save): s/slashify_path/internal_path/.
1686 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1688 * lyxfind.C (findChange): do not search for end of pars, because
1689 the change tracker cannot handle this (fixes bug 1719).
1691 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
1693 * paragraph.[Ch] (autoBreakRows): remove
1695 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1697 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1698 avoid using the paragraph one
1700 * text2.C (LyXText, insertStringAsLines): adjust
1702 2004-12-16 Angus Leeming <leeming@lyx.org>
1706 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1708 2004-12-14 Angus Leeming <leeming@lyx.org>
1710 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1712 * bufferlist.C (emergencyWrite):
1713 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1716 2004-12-14 Angus Leeming <leeming@lyx.org>
1718 * main.C: (main): no longer pass pointers to os::init.
1720 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1722 * undo.C (textUndoOrRedo): simplify logic, fix a crash
1723 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1725 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1728 * text3.C: remove selection_possible global flag
1730 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1732 * text2.C (getSelectionSpan): remove
1733 (changeDepth, changeDepthAllowed): adjust
1735 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
1737 * Makefile.am (BOOST_LIBS): use boost variables
1739 2004-12-03 José Matos <jamatos@lyx.org>
1741 * buffer.C: format up to 238.
1743 2004-12-03 José Matos <jamatos@lyx.org>
1745 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1747 2004-12-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1749 * cursor.C (goUpDown): remove call to idxUpDown2
1751 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1753 * tabular.[Ch]: use size_t-like types for cell, row and column
1756 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1758 * lyxfunc.C (getStatus): do not lose previous information when
1759 calling BufferView::getStatus; do not set a default "Command
1760 disabled" message at the beginning, but just before returning.
1762 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1764 * cursor.h (getStatus): add better comment from src/cursor.C
1766 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1768 * text3.C (getStatus): return false when the lfun is not handled
1770 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1772 * broken_headers.h: remove
1774 * Makefile.am (lyx_SOURCES): remove broken_headers.h
1776 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1778 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1779 offset_ref accessors
1781 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1782 top_y_, merge fitcursor with update
1783 (updateScrollbar, scrollDocView, fitCursor, center, update): new
1785 (metrics): introduce
1786 (workAreaDispatch): adapt to new coord scheme
1787 (redoCurrentBuffer): remove
1789 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1791 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1794 * coordcache.[Ch]: add paragraph cache and helpers
1796 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1799 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1800 (targetX, setTargetX): introduce
1802 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1803 baseline -> ascent, as the rest of lyx
1805 * lyxtext.h: remove redoParagraphs, updateParPositions,
1806 fullRebreak, redoParagraphInternal. move dist to anon namespace in
1807 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1808 have ascent/descent (ascent is ascent of first par)
1810 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1813 * paragraph.[Ch]: unify dimension handling with the rest of lyx
1815 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1817 * pariterator.C: fix infinite loop introduced in par->pit renaming
1819 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1820 in insets and LyXText, draw two off-screen paragraphs using
1821 NullPainter, and adapt to new coord scheme
1825 * text3.C: adapt lfun handlers to the new coord scheme, which
1826 means: there's only guaranteed coord information for onscreen pars
1827 plus one above and one below. This implies that one can do search
1828 from y coordinates in the range [-1,workHeight]
1830 2004-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1832 * rename a lot of InsetOld to InsetBase
1834 2004-11-25 Angus Leeming <leeming@lyx.org>
1836 * BufferView_pimpl.C:
1838 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1840 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1842 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1843 call BufferView::getStatus if LCursor::getStatus did nothing
1844 (setStatusMessage, getStatusMessage): removed.
1846 * FuncStatus.C (message): new methods. Used to provide an error
1847 message indicating why a command is disabled.
1848 (clear, |=, FuncStatus): update for message.
1850 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1852 * lyxfunc.C (dispatch): always call sendDispatchMessage
1854 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1857 * BufferView_pimpl.C:
1862 * cursor_slice.[Ch]:
1865 * paragraph_funcs.C:
1871 * undo.C: par->pit renaming
1873 2004-11-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1875 * tabular.C (cellstruct): use initialization, store a shared_ptr
1876 to insettext instead of the insettext directly, adjust to fit.
1877 (operator=): new function
1878 (swap): new function
1879 (rowstruct): use initialization
1880 (columnstruct): use initialization
1881 (ltType): use initialization
1884 * lyxlength.h (swap): new function
1886 * LColor.[Ch] (operator=): use the common semantics
1888 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1890 * lyxfind.C (findNextChange): update the bufferview after setting
1893 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1895 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1896 number of InsetOptArgs has already been inserted.
1898 * output_latex.C (latexOptArgInsets): new method. This outputs all
1899 the optarg insets, up to the limit defined in the layout file.
1900 (optArgInset): removed
1901 (TeXOnePar): call latexOptArgInsets; correctly update texrow
1903 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1905 * paragraph.C (isLetter): remove special spellchecker-related
1906 code; return true also for digits
1907 (isWord, isKomma): remove
1909 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1910 * lyxfind.C (MatchString()): use isLetter instead of isWord
1912 2004-11-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1914 * pariterator.h (operatir=): comment out un-implemented member
1917 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1920 2004-11-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1922 * lyxfont.h: include LColor.h to satisfy concept checks.
1924 2004-11-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1926 * pariterator.h: add typdefs for value_type, difference_type,
1927 pointer and reference to satisfy concept checks. Also add default
1928 constructor for same reason.
1930 * pariterator.C (operator++): add post-increment operator to
1931 satisfy concept checks.
1933 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1936 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1938 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1939 checks. Also rename base_type to BaseType to follow naming
1942 * FloatList.h: include Floating.h to satisfy concept checks.
1944 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1946 * lyxfunc.C (getStatus): when the origin of the request is menu or
1947 toolbar, and the LyXView does not have focus, do as if there was
1948 no buffer (bug 1720)
1950 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1951 FuncRequest to individual entries of LFUN_SEQUENCE
1953 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1955 * output_latex.C (TeXOnePar): override runparams.moving_arg
1956 according to the needprotect value of the current paragraph (bug
1959 * paragraph.C (simpleTeXOnePar): no need to override
1960 runparams.moving_args here
1962 2004-11-14 John Spray <spray_john@users.sourceforge.net>
1964 * vspace.C: fix off-by-one-error, related to fix #1682
1966 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1968 * lengthcommon.C: a more general fix for bug 1682
1970 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
1972 * text.C (backspace): fix crash
1974 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1976 * format.[Ch] (getFormatFromFile): new method
1977 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1979 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1981 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1983 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1985 * lyxfunc.C (dispatch): remove the verbose argument
1986 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1989 * kbmap.C (defkey): set the origin of func to KEYBOARD
1991 * MenuBackend.C (MenuItem):
1992 * ToolbarBackend.C (add): set the origin of func to UI
1994 * funcrequest.[Ch]: add origin member, which indicates which part
1995 of LyX requests an action
1997 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1999 * converter.C (move): don't lie in the error message
2000 * converter.h (isReachable, move): document
2002 2004-11-07 Lars Gullik Bjønnes <larsbj@gullik.net>
2004 * buffer.C: remove unused using lyx::support::atoi
2005 * paragraph_funcs.C: ditto
2007 2004-11-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2009 * bufferlist.C (exists): use bind and equal_to instead of
2012 * lyxtextclasslist.C (NumberOfClass): ditto
2014 * cursor.C (insert): use for_each instead of explicit for loop
2016 * bufferlist.C (getFileNames): use std::transform and
2017 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
2019 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
2022 * buffer.C (changeLanguage): use for_each instead of explicit for
2024 (hasParWithID): implement using getParFromID
2026 * LaTeXFeatures.C: ws change only
2028 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
2031 * BufferView_pimpl.C (trackChanges): use for_each instead of
2034 2004-11-04 André Pönitz <poenitz@gmx.net>
2037 * undo.C (textUndoOrRedo): fix crash when creating undo information.
2039 * dociterator.C (asDocIterator): use hard assert again.
2041 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2043 * lyxlength.C (asLatexString): rewrite so that it does not use
2046 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2048 * text3.C (specialChar, dispatch): make sure cursor moves to the
2049 right after inserting an inset
2051 2004-11-02 José Matos <jamatos@lyx.org>
2053 * output_docbook.C (docbook):
2054 * paragraph.C (getID):
2055 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
2056 garantee that the output is always legal.
2058 * tabular.C (docbook):
2059 * outputprams.[Ch]: remove mixed contents.
2061 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2063 * text2.C (setCounter): prevent endless loop
2065 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2067 * exporter.C (copyFile): use the mover instead of support::copy()
2068 * exporter.C (Export): pass format and latex name to copyFile()
2069 * exporter.h (addExternalFile): document
2070 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
2072 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2074 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
2076 2004-10-30 José Matos <jamatos@lyx.org>
2078 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
2079 text and no inset or font change. This allows to use CDATA
2080 sections just for the whole paragraph.
2082 2004-10-30 José Matos <jamatos@lyx.org>
2084 * paragraph.C (getFirstWord): remove unused variable.
2086 2004-10-30 José Matos <jamatos@lyx.org>
2088 * paragraph.C (getFirstWord): the content should always be escaped
2090 (simpleDocBookOnePar):
2091 * output_docbook.C (makeEnvironment): replace reference to CDATA
2094 2004-10-30 José Matos <jamatos@lyx.org>
2096 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
2098 2004-10-30 José Matos <jamatos@lyx.org>
2100 * output_docbook.C (makeParagraphs):
2101 * paragraph.[Ch] (emptyTag): for docbook and company, if the
2102 standard paragraph has only a given type of content drop the wrapper.
2104 2004-10-29 José Matos <jamatos@lyx.org>
2106 * output_docbook.C (makeEnvironment):
2108 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
2110 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
2112 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
2113 (cleanID): sanitize any id.
2115 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2117 * buffer.C, lyxlex_pimpl.C:
2118 * lyxlex_pimpl.C (setFile):
2119 s/getExtFromContents/getFormatFromContents/
2121 2004-10-28 José Matos <jamatos@lyx.org>
2123 * output_docbook.C (makeEnvironment): move id to broadest possible
2126 * sgml.C (openTag): apply substitution of <> for all attributes.
2128 2004-10-28 José Matos <jamatos@lyx.org>
2130 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2131 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2132 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
2134 * sgml.[Ch]: new version for open and closeTag for paragraph and
2135 for strings. Now they handle the ids of paragraphs.
2137 2004-10-26 Angus Leeming <leeming@lyx.org>
2139 * Makefile.am: add mover.[Ch].
2141 * converter.C (convert, move): use the new Movers to move external
2142 files to the temp directory.
2144 * lyx_main.C (init): ensure that the global system_movers data
2147 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
2150 * mover.[Ch]: new files, defining a Mover as a utility to move an
2151 external file between directories and, if necessary, manipulate this
2152 file using a helper script.
2154 2004-10-25 José Matos <jamatos@lyx.org>
2156 * output_docbook.C (makeCommand): merge two if's that tested the
2159 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2161 * sgml.C (escapeString): fix warning in a better way
2163 2004-10-25 José Matos <jamatos@lyx.org>
2165 * sgml.C (escapeString): import the require boosts header file for
2166 tie, and avoid a signed unsigned comparison.
2168 2004-10-25 José Matos <jamatos@lyx.org>
2170 * sgml.h: add #include <string>
2172 2004-10-25 José Matos <jamatos@lyx.org>
2174 * sgml.[Ch] (escapeString): new function to escape all the string.
2176 2004-10-24 José Matos <jamatos@lyx.org>
2178 * paragraph.[Ch] (getFirstWord): new function to get the first
2179 word. Useful for description.
2180 (simpleDocBookOnePar): remove depth argument, add another that
2181 says where to start the paragraph.
2183 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2184 use the new functions to fix cleanly the support for descriptions.
2186 2004-10-24 José Matos <jamatos@lyx.org>
2188 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2189 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2190 * output_linuxdoc.C (linuxdocParagraphs):
2191 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
2192 add buffer as argument.
2194 2004-10-24 José Matos <jamatos@lyx.org>
2196 * output_docbook.C (makeEnvironment, searchEnvironment): place
2197 CDATA inside paragraphs and fix scope for listitems.
2199 2004-10-24 José Matos <jamatos@lyx.org>
2201 * output_docbook.C: remove using statement for stack.
2203 2004-10-23 José Matos <jamatos@lyx.org>
2205 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
2206 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
2207 docbook. The new scheme is recursive and makes use of iterators, the
2208 same as latex export works.
2209 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
2210 directly with the paragraph contents. This code was moved up to
2211 output_docbook.C (docbookParagraphs).
2212 * sgml.C (openTag, closeTag): removed unneeded newlines.
2213 (closeEnvTags) removed.
2215 2004-10-23 André Pönitz <poenitz@gmx.net>
2217 * undo.C (textUndoOrRedo):
2218 * dociterator.C (asDocIterator): work around crash
2220 * cursor.C (getStatus): replace ASSERT by more verbose error message
2221 and manual correction of the problem. Should increase stability
2222 while providing more sensible information.
2224 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2226 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
2228 * bufferlist.C (previous, next): new methods
2231 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
2233 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
2235 * buffer.C (makeDocBookFile): add dsssl stylesheet control
2236 entities to preamble.
2238 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2240 * messages.C (Pimpl): strip off translation context information
2242 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2244 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
2245 the cursor is correct (bug 1694)
2247 2004-10-13 José Matos <jamatos@lyx.org>
2249 * output_docbook.C (docbookParagraphs): fix closing tags in the
2250 end of the document.
2252 2004-10-09 José Matos <jamatos@lyx.org>
2254 * buffer.C: format up to 237.
2255 * bufferparams.C (write): use tostr to convert booleans to strings.
2257 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
2259 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
2261 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2263 * LaTeX.C: implement use of babel language in xindy.
2265 2004-10-05 José Matos <jamatos@lyx.org>
2267 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2268 Add new translators to help reading and writing the lyx file.
2270 2004-10-05 José Matos <jamatos@lyx.org>
2272 * ParagraphParameters.C (read):
2273 * text.C (readParToken): replace nexToken by more appropriate lex
2276 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
2278 * LaTeX.C (runMakeIndex):
2279 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2280 (usually 'makeindex') configurable.
2282 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2283 with a variable rather than with a number.
2285 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2287 * output_latex.C (TeXOnePar): make sure font setting is the first
2288 thing that gets output (and the last at the end). Should fix bug
2291 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2293 * pch.h: use proper signal include
2295 * LaTeX.h: Use preferred calling of Boost.Signal
2298 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2300 * pch.h: dont include <boost/function/function0.hpp>
2302 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2304 * paragraph_pimpl.h: remove usage of ShareContainer
2306 * paragraph_pimpl.C: remove initialization of ShareContainer.
2308 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2312 * BufferView.C (putSelectionAt): change the semantics when
2313 backwards == true: now, this just swaps cursor and anchor wrt the
2316 * BufferView.h (putSelectionAt): add some documentation
2318 * lyxfind.C (findBackwards): rewrite using while(). In particular,
2319 make sure backwardChar is done at least once (to avoid getting
2321 (findNextChange): use putSelectionAt in the forward direction
2322 (operator()): use Paragraph::isWord
2324 2004-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2326 * Spacing.C (set): c_str fix
2328 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2330 * lyx_cb.C (Reconfigure): quote the name of configure script in
2331 case it contains spaces
2333 2004-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2337 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2338 (BOOST_LIBS): use top_buildir when looking for the file
2340 2004-08-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2342 * pch.h: do not use include boost/format.hpp, multiple symbols
2343 will result (gcc bug)
2346 2004-08-23 José Matos <jamatos@lyx.org>
2348 * bufferparams.C (readToken): fix reading of the author field.
2350 2004-08-20 José Matos <jamatos@lyx.org>
2352 * lyxrc.C: remove support/translator.h inclusion since it is not used.
2354 2004-08-20 José Matos <jamatos@lyx.org>
2356 * lyxlex.[Ch] (findToken): remove function.
2358 * ParagraphParameters.C (findToken):
2359 * bufferparams.C (findToken): replace call for previous function
2360 with local copy. This local function has one more argument, the
2361 read string argument.
2363 2004-08-16 José Matos <jamatos@lyx.org>
2365 * ParagraphParameters.C (write):
2366 * Spacing.C (writeFile):
2367 * bufferparams.C (writeLaTeX):
2368 * lyx_cb.C (Reconfigure):
2369 * paragraph.C (write):
2370 * tabular.C (write): remove unnecessary space at end of line.
2373 2004-08-16 José Matos <jamatos@lyx.org>
2375 * text.C (readParagraph): remove debug message.
2377 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2379 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2382 * output_plaintext.C (asciiParagraph): set depth correctly
2384 * outputparams.h: add member depth
2386 * paragraph_funcs.C (ownerPar): remove.
2388 * text2.C (setCounter): remove first_pit; comment out some
2389 non-working code that uses ownerPar
2391 * BufferView.C (getParentLanguage): remove. Not used anymore, and
2394 2004-08-16 José Matos <jamatos@lyx.org>
2396 * text.C (readParToken, readParagraph, read): report all unknown tokens.
2397 For the same level of importance use the same chanel to report problems.
2398 (read): add code to deal with \begin_body and \end_body.
2401 2004-08-15 José Matos <jamatos@lyx.org>
2403 * lyxlex.C (getString): fix comment, buffer::readBody is now
2404 buffer:readDocument.
2406 * tex-strings.C (string_papersize): Default -> default,
2407 Custom -> custom, for consistency with other options.
2409 2004-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2413 * Makefile.am: support pch
2415 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2417 * text.C (readParToken): remove the static LyXFont variable and
2418 pass it as a parameter instead. This fixes a nasty bug where an
2419 inset will be inserted with a bad font in some situations
2420 (readParagraph): adapt
2422 * text2.C (setCounter): reduce number of calls to pars_[pit]
2424 * text.C (singleWidth): add an assert, fix a test
2426 * rowpainter.C (paintText): reduce number of calls to singleWidth
2428 * paragraph.C (isHfill):
2429 (isNewline): ws only
2431 2004-08-14 André Pönitz <poenitz@gmx.net>
2436 * lyxtext.h (several functions): use a Paragraph & argument
2439 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2441 * metricsinfo.h: add a new field ltr_pos to PainterInfo
2443 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2445 * text.C (singleWidth): remove useless test
2447 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2449 * tabular.h: remove bogus comments
2451 * tabular.C (getDescentOfRow):
2452 (isPartOfMultiColumn): add assertions
2454 * lyxlength.C (inPixels): remove #warning
2456 2004-08-14 André Pönitz <poenitz@gmx.net>
2458 * paragraph.h: inline getChar()
2460 * BufferView.h: remove unused declarations
2462 2004-08-14 José Matos <jamatos@lyx.org>
2464 * Buffer.[Ch] (readDocument): new name for old readBody.
2465 * Buffer.C: new file format, new keywords: \begin_document,
2466 \begin_header, \begin_body, \end_body.
2468 * bufferparams.C (readToken): replace all calls to lex.nextToken
2469 by lex.next(). Do the same to eatLine except where really needed.
2471 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2472 line when writing to the lyx file.
2474 * output_plaintext.C (asciiParagraph): fix Bibliography style
2477 * text.C (read): fix end of file handling.
2479 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2481 * MenuBackend.C (Menu::operator[]): new method to access
2482 individual menu items
2483 (Menu::hasFunc): new method. search for an item that corresponds
2485 (MenuBackend::specialMenu): new method
2486 (MenuBackend::expand): if a special menu has been set, skip
2487 entries whose func() appears in this menu
2489 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2491 * text3.C: use Debug::DEBUG a bit more
2493 * text.C (leftMargin): try to simplify a tiny bit change var x to
2494 l_margin. Dont output the wide margins always.
2495 (rightMargin): no margin in inner texts
2497 * rowpainter.h (nestMargin): new func
2498 (changebarMargin): new func
2499 (rightMargin): new func
2501 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2505 * factory.C (createInset): modify setDrawFrame
2507 * cursor.C: use Debug::DEBUG a bit more
2509 2004-08-14 André Pönitz <poenitz@gmx.net>
2512 * Makefile.am: new files to accomodate an 'external' (x,y)-position
2513 cache for all insets in (at least partially) visible (top-level)
2516 * BufferView_pimpl.C: reset external coord cache before every update.
2517 This means the coord cache only contains valid entries.
2519 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2522 * BufferView_pimpl.C (getInsetByCode): move function out of class
2523 and change in to a template in anon namespace. Also fix to do what
2526 2004-08-13 Lars Gullik Bjønnes <larsbj@lyx.org>
2529 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2531 (breakParagraph): rename par to par_offset and use a local
2532 reference. Add code to keep the language over a rebreak.
2533 (breakParagraphConservative): rename par to par_offset, use a
2535 (mergeParagraph): ditto
2537 (isFirstInSequence): ditto
2538 (outerFont): rename pit to par_offset
2540 * paragraph.C: ws change
2541 * paragraph.h: ditto
2545 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2547 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2550 * paragraph.C (simpleTeXOnePar): when we have a \item with
2551 optional argument, enclose the argument with curly brackets (in
2552 case it contains a closing square bracket)
2556 * text3.C (checkInsetHit): constify
2558 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2560 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2561 documents (bug 1629)
2563 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2565 Fix toggling of collapsable insets with the mouse (bug 1558)
2567 * lyxfunc.C (dispatch): adapt to LCursor changes
2569 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2570 make sure that dispatch is not invoked twice
2572 * cursor.C (needsUpdate): new method
2573 (dispatch): return void
2574 (result): new method, to access the DispatchResult of the cursor.
2576 2004-08-13 José Matos <jamatos@lyx.org>
2578 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2580 2004-08-13 André Pönitz <poenitz@gmx.net>
2582 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2584 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2587 2004-08-12 André Pönitz <poenitz@gmx.net>
2589 * text3.C: take out the 'cursor right' form insertInset and only
2590 do it in those places when it is really needed. Fixes crash on
2593 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2595 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2597 * BufferView_pimpl.C (setBuffer): initialize the current font of
2598 the underlying LyXText
2600 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2602 * kbsequence.C (print): use UI native formatting for menu
2605 * text.C (insertChar): call Paragraph::insertChar with a font
2608 * paragraph.C (insertInset, insertChar): the version that takes a
2609 LyXFont argument is now a wrapper around the other one (the
2610 opposite used to be true).
2612 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2613 argument. Font setting is done in Paragraph now.
2615 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2617 * outputparams.h: add new members intitle and lang.
2619 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2620 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2622 2004-08-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2624 * text3.C (dispatch): remove special handling of button 4 and 5,
2625 it is now taken care of in the frontend code.
2627 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2629 * Spacing.h: add <string> (STLPort compile fix)
2631 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2633 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2635 2004-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2637 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2640 * converter.C (showMessage): inherit from unary_function, make
2643 * buffer.C (writeFile): initialize retval
2645 * InsetList.h: rename private variable list to list_
2646 * InsetList.[Ch]: adjust accordingly.
2648 2004-07-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2650 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2651 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2652 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2653 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2654 * ParagraphParameters.C, LaTeXFeatures.C: replace
2655 "support/std_sstream.h" with <sstream>
2657 2004-07-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2659 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2660 * lyxsocket.C (LyXServerSocket): ditto
2661 (serverCallback): ditto
2663 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2665 * LaTeXFeatures.C: check release date when loading jurabib.
2667 2004-07-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2669 * lyxserver.C (startPipe): call register_socket_callback
2670 (endPipe): call unregister_socket_callback
2672 2004-07-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2674 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2675 (LyXServerSocket): register the callback
2676 (LyXServerSocket): unregister the callback
2677 (fd): delete function
2678 (serverCallback): improve error checking and setup the callbacks.
2679 (dataCallback): change arg to fd.
2680 (writeln): new func (copied fro the client socket) used for server
2682 (LyXDataSocket): simplify
2683 (~LyXDataSocket): close ann unregiser callback
2684 (server): delete function
2685 (fd): delete function
2686 (readln): small changes, improve some std::string usage
2687 (writeln): constify a bit
2689 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2691 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2694 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2696 * BufferView_pimpl.C (setBuffer): set the layout combox value only
2697 after it has been populated
2699 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2701 * text2.C (insertInset): move cursor when inserting inset.
2703 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2705 * kbmap.C (findbindings): a couple of new methods. returns a
2706 container of kb_sequence objects. The real work is done by the
2707 private recursive version
2708 (printbindings): uses findbindings to print out a bracketed list
2709 of bindings (renamed from findbinding).
2711 * MenuBackend.C (binding): use kb_keymap::findbindings
2713 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2715 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2717 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2719 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2721 * paragraph.C (isWord): return true on insets that report
2724 * text.C (getWord): use Paragraph::isWord to decide what is in a
2725 word and what is not; fix bug 1609.
2727 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2729 * tex-strings.C: add "none" to string_paperpackages[], fixes
2730 off-by-one-error in the paperpackage selection.
2733 * tex-strings.[Ch]: char const * string[n]
2734 -> char const * const string[]
2736 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2738 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2739 command, return early.
2741 2004-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
2743 * debug.h: add DEBUG to enum and fix size of ANY.
2745 * debug.C: add support for Debug::DEBUG
2746 (showTags): cast errorTags.level to unsigned int
2748 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2749 (redoCurrentBuffer): ditto
2750 (updateScrollbar): ditto
2751 * cursor.C (dispatch): ditto
2752 * text2.C (setLayout): ditto
2754 (updateCounters): ditto
2756 (deleteEmptyParagraphMechanism): ditto
2758 2004-06-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2760 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2761 annotations to cleanup the Makefile slightly.
2763 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2765 * lyxrc.C: do not set user_email to a default value but use empty
2766 instead. The entry used to be translated, which does not work
2767 since at the point where lyxrc is constructed there is no
2768 translation service available
2770 * messages.C (getLocaleDir): remove and use directly
2771 lyx_localedir() instead
2773 2004-06-02 Angus Leeming <leeming@lyx.org>
2775 Fix crash caused by dereferencing null pointer 'exportdata' in
2776 OutputParams by creating a new ExportData variable on the heap,
2777 storing it in a boost::shared_ptr.
2778 The crash was triggered when generating an Instant Preview
2779 of an external inset.
2781 * Makefile.am: add outputparams.C
2783 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2784 (c-tor): allocate memory to it.
2786 * exporter.C (c-tor): associated changes.
2788 2004-06-01 Angus Leeming <leeming@lyx.org>
2790 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2791 contains data before calling isInset(0). (Bug 1513.)
2793 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2795 * exporter.C (checkOverwrite): new method
2796 * exporter.C (copyFile): new method
2797 * exporter.C (Export): copy referenced files to the document dir
2798 * exporter.[Ch]: new class ExportedFile
2799 * exporter.[Ch]: new class ExportData. Contains currently the
2800 names of referenced external files
2801 * outputparams.h: add exportdata member.
2803 2004-05-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2805 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2808 2004-05-19 Angus Leeming <leeming@lyx.org>
2813 * lyxfunc.C: small changes due to the introduction of namespace
2814 lyx::frontend and the moving of namespace biblio to lyx::biblio.
2816 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
2818 * text3.C (dispatch): supress update when only moving the cursor
2819 * cursor.C (selHandle): remove commented code
2821 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2823 * paragraph.C (startTeXParParams): correct column count
2824 * CutAndPaste.C (pasteSelection): remove const_cast
2825 * output_docbook.C (docbookParagraphs): remove const_cast
2826 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2827 const_cast and return ParagraphList::const_iterator
2828 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2829 * output_plaintext.C (writeFileAscii): remove const_cast
2830 * paragraph.[Ch] (simpleTeXOnePar): make const
2831 * paragraph_funcs.C (outerPar): use const iterators
2832 * paragraph_pimpl.C (validate): use const iterators
2833 * text.C (setHeightOfRow): use const iterators
2835 2004-05-17 Angus Leeming <leeming@lyx.org>
2838 * LyXAction.C (init): new LFUN_INSET_REFRESH.
2840 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2841 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2842 if the citation engine has changed.
2844 2004-05-14 José Matos <jamatos@lyx.org>
2846 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2847 if the textclass does not provide it. Have it different for sgml and
2849 support the language of document.
2850 * output_docbook.C (docbookParagraphs):
2851 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2852 first anchor as the id of the paragraph, remove special case code.
2853 * sgml.C (escapeChar): escape only < & >.
2855 2004-05-14 Angus Leeming <leeming@lyx.org>
2857 * bufferparams.h: move biblio::CiteEngine enum here to minimize
2858 dependencies on src/frontends/controllers/biblio.h. Define a
2859 CiteEngine_enum wrapper class to enable the enum to be forward
2862 2004-05-12 Angus Leeming <leeming@lyx.org>
2864 * buffer.C: up LYX_FORMAT to 234.
2865 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2866 use_numerical_citations with a single biblio::CiteEngine cite_engine
2868 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2870 2004-05-13 José Matos <jamatos@lyx.org>
2873 * converter.C (Converter, readFlags): add xml member.
2874 * outputparams.h: add XML flavor.
2875 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2877 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2879 * lyxfunc.C (dispatch):
2880 (getStatus): fix handling of LFUN_SEQUENCE
2882 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2884 * debug.C (showLevel): do not forget the end-of-line marker
2886 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2888 * kbmap.C (read): do not stop parsing a bind file when an error
2891 2004-04-29 Angus Leeming <leeming@lyx.org>
2896 * text2.C: wrap a bunch of #warning statements
2897 inside #ifdef WITH_WARNINGS blocks.
2899 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2901 * buffer.C: increment format to 233.
2903 2004-04-28 Angus Leeming <leeming@lyx.org>
2905 * BufferView_pimpl.C:
2908 s/updateToolbar()/updateToolbars()/
2909 s/Toolbar.h/Toolbars.h/
2911 2004-04-28 Angus Leeming <leeming@lyx.org>
2913 * BufferView.[Ch] (c-tor):
2914 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2915 No longer passes these data to the WorkArea generator.
2917 2004-04-28 Angus Leeming <leeming@lyx.org>
2919 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2921 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2923 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2925 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2927 * output_latex.C (TeXEnvironment): make sure that there is a line
2928 break before \end{foo} for the last paragraph of a document
2929 (TeXOnePar): if the paragraph is at the end of the document (or
2930 inset) and the language has to be reset, then make sure that the
2931 line break is _before_ the language command, not after (fixes bug
2932 1225); also make sure that the language reset command is the first
2933 thing after the paragraph (to ensure proper nesting of
2934 environments and thus fix bug 1404)
2936 2004-04-21 John Levon <levon@movementarian.org>
2939 * ToolbarBackend.C: make "name" be a programmatic name
2940 and a gui_name field.
2942 * lyxfunc.C: display the minibuffer on M-x
2944 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2946 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
2949 2004-04-19 Angus Leeming <leeming@lyx.org>
2951 * BufferView_pimpl.C (setBuffer): changed preview interface.
2953 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2956 2004-04-19 John Levon <levon@movementarian.org>
2958 * BufferView_pimpl.C:
2959 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2961 2004-04-05 Angus Leeming <leeming@lyx.org>
2963 * text.C (redoParagraphs): add call to updateCounters(), thereby
2964 fixing the missing "Figure #:" label from the caption of a
2967 2004-04-13 Angus Leeming <leeming@lyx.org>
2969 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2970 cursor is clicked out of an inset.
2972 2004-04-13 Angus Leeming <leeming@lyx.org>
2974 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2975 than an InsetOld one.
2977 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2979 * format.[Ch]: add editor to Format
2980 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2981 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2983 2004-04-08 André Pönitz <poenitz@gmx.net>
2985 * metricsinfo.h: remove PainterInfo::width member
2987 2004-04-08 Angus Leeming <leeming@lyx.org>
2989 * lyx_sty.C (boldsymbol_def): modify so that it outputs
2990 "\providecommand" rather than "\newcommand", thereby preventing
2991 clashes with packages that define "\boldsymbol" themselves.
2994 2004-04-08 Angus Leeming <leeming@lyx.org>
2996 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2997 thereby squashing an unnecessary warning.
2999 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3001 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
3004 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
3006 * BufferView.C (setCursor): call redoParagraph (some insets could
3008 (putSelectionAt): remove the 'double update' trick
3010 * BufferView_pimpl.C (fitCursor): call refreshPar
3011 (workAreaDispatch): remove an uneeded update call
3012 (dispatch): remove some manual update calls
3014 * cursor.[Ch]: remove cached_y_, updatePos
3015 (selHandle): set noUpdate when appropriate
3017 * lyxfunc.C (dispatch): track if we need an update
3019 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
3021 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
3022 (paintSelection): cheap optimization, do not call cursorX when not
3024 (paintPars): change signature
3027 (paintTextInset): adjust
3031 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3033 * lengthcommon.C: compilation fix: remove explicit array size from
3034 unit_name[] and friends
3036 2004-04-05 Angus Leeming <leeming@lyx.org>
3038 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
3040 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
3041 present only for the preferences dialog.
3042 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
3044 2004-04-05 Angus Leeming <leeming@lyx.org>
3046 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
3047 to enable the frontends to export changes to lyxrc correctly.
3049 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
3051 2004-04-07 André Pönitz <poenitz@gmx.net>
3053 * cursor.[Ch] (selClear, adjust): remove math
3055 * cursor_slice.C: more agressive assert
3058 * BufferView_pimpl.C: rework mouse event dispatch
3065 2004-04-05 André Pönitz <poenitz@gmx.net>
3067 * cursor.[Ch] (valign, halign...): remove unneeded functions
3069 2004-04-05 Angus Leeming <leeming@lyx.org>
3071 * lyxlength.[Ch] (unit_name et al.): const-correct.
3073 2004-04-05 Angus Leeming <leeming@lyx.org>
3075 * BufferView_pimpl.C:
3084 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
3086 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3088 * text3.C (getStatus): add LFUN_BEGINNINGBUF
3090 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3092 * lyxfind.C: add a couple of inTexted() tests + other small fixes
3093 * BufferView_pimpl.[Ch] (getStatus)
3094 * BufferView.[Ch] (getStatus): add
3095 * lyxfunc.C (getStatus): move lfuns handled in
3096 BufferView::dispatch to te function above
3097 * Cursor.C (setSelection): set selection() = true
3099 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3101 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
3103 2004-03-31 Angus Leeming <leeming@lyx.org>
3105 * lyxfunc.C (dispatch): Fall through to the generic
3106 Dialogs::show("preamble").
3108 2004-03-31 Angus Leeming <leeming@lyx.org>
3110 * lyxfunc.C (dispatch): Fall through to the generic
3111 Dialogs::show("spellchecker").
3113 2004-03-31 Angus Leeming <leeming@lyx.org>
3115 * lyxfunc.C (getStatus, dispatch): changed invocation of the
3118 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
3123 * insetiterator.[Ch]:
3128 * undo.[Ch]: s/DocumentIterator/DocIterator/g
3130 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
3132 * BufferView.C (setCursor, putSelectionAt): call edit to open the
3133 insets where we are putting the cursor.
3135 2004-03-31 Angus Leeming <leeming@lyx.org>
3138 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
3140 * lyxrc.[Ch] (read, write): overloaded member functions taking
3141 a std::[io]stream arguments.
3143 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
3145 2004-03-31 Angus Leeming <leeming@lyx.org>
3147 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
3148 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
3150 * lyxtextclass.C (load): if the text class couldn't be loaded, then
3151 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
3153 2004-03-31 Angus Leeming <leeming@lyx.org>
3155 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
3156 the LFUN_ALL_INSETS_TOGGLE code.
3158 2004-03-30 Angus Leeming <leeming@lyx.org>
3160 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
3161 has died. Fall through to the generic Dialogs::show("document").
3163 2004-03-30 Angus Leeming <leeming@lyx.org>
3166 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
3167 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
3169 * lyxfunc.C (getStatus, dispatch): define the actions for these
3170 lfuns. Little more than a cut and pste job from ControlDocument.C
3172 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
3174 2004-03-30 Angus Leeming <leeming@lyx.org>
3177 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
3178 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
3180 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
3181 open/closed state of ollapsable insets. Usage:
3183 all-inset-toggle <state> <name>, where
3184 <state> == "open" || "closed" || "toggle" and
3185 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
3187 * lyxtext.h, text2.C (toggleInset): removed.
3189 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
3190 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
3191 now passes LFUN_INSET_TOGGLE to the found inset.
3193 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
3194 is now invoked as "all-insets-toggle toggle branch".
3196 2004-03-30 Angus Leeming <leeming@lyx.org>
3200 * pariterator.[Ch]: added/corrected header blurb.
3202 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
3204 * dociterator.[Ch]: add an inset_ member
3205 (backwardPos): implemented
3206 (backwardPos, forwardPos): use inset_ when the stack is empty.
3207 (doc_iterator_begin, doc_iterator_end): implemented
3208 * pariterator.[Ch]: adjust, add begin, end
3209 * insetiterator.[Ch]: adjust, add begin, end
3213 * BufferView_pimpl.C:
3214 * CutAndPaste.C: adjust
3216 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3218 * buffer.C: increment file format to 232.
3219 * LaTeXFeatures.C: add bibtopic package.
3220 * bufferparams.[Ch]: param \use_bibtopic.
3222 * lyxrc.[Ch]: add lyxrc bibtex_command
3223 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
3225 * buffer.C: increment file format to 231.
3227 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
3229 * dociterator.C: implement forwardPar
3230 * iterators.[Ch]: remove, replaced by
3231 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
3233 * BufferView_pimpl.C:
3236 * bufferview_funcs.C:
3242 * Makefile.am: adjust
3244 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
3246 * CutAndPaste.C (pasteSelection): fix 2 crashes
3247 (eraseSelection): fix a crash
3248 * paragraph_funcs.C: remove a warning
3250 2004-03-28 Angus Leeming <leeming@lyx.org>
3253 * LyXAction.C (init): new LFUN_PRINT.
3255 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
3257 2004-03-27 Angus Leeming <leeming@lyx.org>
3260 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
3262 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
3264 2004-03-27 Angus Leeming <leeming@lyx.org>
3266 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
3267 insetlist always contains non-null pointers to insets.
3269 2004-03-26 Angus Leeming <leeming@lyx.org>
3271 * src/BufferView_pimpl.C:
3272 * src/CutAndPaste.C:
3275 * src/output_plaintext.C:
3276 * src/outputparams.h:
3277 * src/paragraph_funcs.C:
3281 * src/frontends/controllers/ControlErrorList.C:
3282 * src/frontends/gtk/FileDialogPrivate.C:
3283 * src/frontends/gtk/GPainter.C:
3284 * src/frontends/gtk/GToolbar.C:
3285 * src/frontends/qt2/QRef.C:
3286 * src/mathed/math_scriptinset.C: squash compiler warnings.
3288 2004-03-26 Angus Leeming <leeming@lyx.org>
3290 * ispell.C (LaunchIspell::start):
3291 * lyx_cb.C (AutoSaveBuffer::start):
3292 invoke run(DontWait) rather than runNonBlocking().
3294 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
3296 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3298 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3300 * kbsequence.C (print): adjust
3302 * kbmap.C (printKeySym): rename and change signature
3303 (printKey): use LyXKeySym::print()
3305 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
3307 * undo.C: add using std::advance to compile for stlport
3309 2004-03-24 Angus Leeming <leeming@lyx.org>
3311 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3312 it leads to a crash when no buffer is present.
3314 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3315 Martin Vermeer <martin.vermeer@hut.fi>
3317 * lyxfunc.C (dispatch):
3318 * bufferparams.C (readToken): use the new LColor::setColor
3320 * LColor.[Ch] (setColor): new version that takes two strings as
3321 argument and creates a new color entry if necessary
3323 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3325 * buffer.C (makeLaTeXFile): if the main latex file that is
3326 processed is usually a subdocument of some master, then pretend
3327 for a while that it is actually the master
3329 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3331 * buffer.C (getLabelList):
3332 (getBibkeyList): use getMasterBuffer()
3333 (getMasterBuffer): new method. Returns the main document in the
3334 case where one is using included documents.
3336 2004-03-25 André Pönitz <poenitz@gmx.net>
3340 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3342 * ParagraphList_fwd.h: change ParagraphList to a std::vector
3344 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3345 text*.C over here. Rename namespace CutAndPaste to lyx::cap
3347 * ParameterStruct.h: merge with ParagraphParameters
3349 * lyxtext.h: remove LyXText::parOffset() and getPar()
3351 * text3.C: Remove all 'manual' update calls. We do now one per user
3352 interaction which is completely sufficient.
3356 * BufferView_pimpl.C:
3357 * FontIterator.[Ch]:
3359 * ParagraphParameters.[Ch]:
3364 * cursor_slice.[Ch]:
3371 * output_docbook.[Ch]:
3372 * output_latex.[Ch]:
3373 * output_linuxdoc.[Ch]:
3374 * output_plaintext.[Ch]:
3376 * paragraph_funcs.[Ch]:
3377 * paragraph_pimpl.[Ch]:
3385 * frontends/controllers/ControlDocument.C:
3386 * frontends/controllers/ControlErrorList.C:
3387 * frontends/controllers/ControlSpellchecker.C:
3390 * insets/insetbase.h:
3391 * insets/insetbibitem.C:
3392 * insets/insetbox.C:
3393 * insets/insetbranch.C:
3394 * insets/insetcaption.C:
3395 * insets/insetcharstyle.C:
3396 * insets/insetcharstyle.h:
3397 * insets/insetcollapsable.C:
3398 * insets/insetcollapsable.h:
3399 * insets/insetert.C:
3400 * insets/insetfloat.C:
3401 * insets/insetfoot.C:
3402 * insets/insetmarginal.C:
3403 * insets/insetnote.C:
3404 * insets/insetoptarg.C:
3405 * insets/insettabular.C:
3406 * insets/insettext.C:
3407 * insets/insettext.h:
3408 * insets/insetwrap.C:
3409 * mathed/math_mboxinset.C:
3410 * mathed/math_nestinset.C:
3411 * mathed/math_scriptinset.C:
3412 * mathed/math_scriptinset.h:
3415 2004-03-24 Angus Leeming <leeming@lyx.org>
3417 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3418 deal with any child processes that have finished but are waiting to
3419 communicate this fact to the rest of LyX.
3421 2004-03-24 Angus Leeming <leeming@lyx.org>
3423 64-bit compile fixes.
3425 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3426 (c-tor): pass lyx::pos_types rather than ints.
3428 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3431 * text.C (Delete): compile fix.
3432 (getPar): ensure that function declaration is the same as that in
3435 2004-03-23 Angus Leeming <leeming@lyx.org>
3437 * ispell.C (LaunchIspell):
3438 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3439 a boost::shred_ptr rather than a std::auto_ptr.
3441 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3443 * lyxfunc.C (getStatus): handle read-only buffers correctly;
3444 handle LFUN_FILE_INSERT_*
3446 * lyxrc.C (setDefaults, getDescription, output, read):
3447 * lyxrc.h: remove ps_command
3449 2004-03-22 Angus Leeming <leeming@lyx.org>
3451 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3452 Ensure that error_handler is processed once only and that all data
3453 is saved before attempting to output any warning messages.
3455 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3457 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
3459 * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3461 2004-03-19 André Pönitz <poenitz@gmx.net>
3463 * cursor.[Ch] (reset): take main text inset as argument
3465 * BufferView: adjust
3466 * BufferView_pimpl.C: adjust
3468 * paragraph.[Ch]: fix completely broken operator=()
3470 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3472 * LColor.C (getFromLyXName): make sure that the color name is used
3475 2004-03-17 Angus Leeming <leeming@lyx.org>
3478 * LyXAction.C (init): remove LFUN_FORKS_KILL.
3480 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3481 dialog and to kill a forked process.
3483 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3485 * text2.C (setCursorFromCoordinates): fix font problem
3487 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3489 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3490 bogus "rebuild cursor" code
3492 2004-03-11 André Pönitz <poenitz@gmx.net>
3494 * buffer.[Ch]: use InsetText instead of LyXText as container for
3497 * dociterator.[Ch]: drop the BufferView * member which is not needed
3498 anymore after the change to buffer.C
3500 * paragraph_funcs.C:
3504 * BufferView_pimpl.[Ch]:
3506 * cursor_slice.[Ch]: adjust
3508 * text3.C: fix bug in mathDispatch
3510 2004-03-08 André Pönitz <poenitz@gmx.net>
3512 * undo.[Ch]: use 'StableDocumentIterator' as base for
3515 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3518 * bufferparams.[Ch]: add jurabib support and param.
3520 * LaTeX.C: add FIXME/comment.
3522 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3524 * buffer.C: increment file format to 230.
3526 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
3528 * cursor.C (dispatch): avoid infinite loops
3530 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3532 * rowpainter.C (paintSelection): fix x coordinates
3534 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3536 * text.C (rowBreakPoint): fix breaking before displayed insets
3538 2004-03-01 André Pönitz <poenitz@gmx.net>
3540 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3542 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3546 * BufferView_pimpl.C:
3554 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3560 * BufferView_pimpl.C: rename textwidth -> maxwidth,
3561 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3563 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3565 * Bidi.[Ch] (computeTables): const correctness
3566 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3567 fill_hfill, fill_label_hfill and x from Row
3568 * lyxtext.h: prepareToPrint returns a RowMetrics
3569 * rowPainter.C: adjust
3570 * text.C (prepareToPrint): use width, not textWidth. adjust
3571 (redoParagraphInternal, cursorX): adjust
3572 * text2.C (getColumnNearX): adjust
3573 (init): put a default value to the top LyXText::width
3575 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3577 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3579 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3581 * lyxtext.h: add FontIterator class
3583 * text.C (FontIterator, operator*, operator->, operator++): add
3584 (rowBreakPoint, setRowWidth): adjust (fixing a
3587 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3589 * BufferView_pimpl.C (workAreaDispatch): allow also
3590 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3592 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
3594 * text.C (rowBreakPoint): fix a bug showing with very large insets
3596 2004-02-25 André Pönitz <poenitz@gmx.net>
3599 * cursor.[Ch]: move some mathed specific code to mathed
3601 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3603 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3604 use_tempdir in preferences
3605 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3607 * lyx_main.C: ensure that tempdir is valid
3608 * lyxlex.h: correct typo
3609 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3610 * paragraph.[Ch] (isMultiLingual): make const
3611 * cursor.[Ch] (openable): make const
3613 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3615 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3617 2004-02-20 André Pönitz <poenitz@gmx.net>
3619 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3621 * cursor.[Ch]: prepare for localized getStatus()
3627 * text3.C: streamlines the LyXText cursor movement handlers a bit.
3629 2004-02-20 André Pönitz <poenitz@gmx.net>
3631 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3633 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3635 * text2.C (setCursorFromCoordinates): switch to absolute coords
3637 (cursorDown): adjust
3638 * text3.C (dispatch): adjust
3640 2004-02-16 André Pönitz <poenitz@gmx.net>
3642 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3645 * cursor_slice.[Ch]: remove unneeded acessor function
3647 * lyxtext.h: rename rtl() to isRTL()
3655 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3657 * rowpainter.C (paintSelection): coord fix
3659 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3661 * Spacing.C: compile fix
3663 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3665 * cursor.C (dispatch): restore current_ before returning
3667 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3669 * text2.C (cursorUp, cursorDown): fix coords
3672 2004-02-12 André Pönitz <poenitz@gmx.net>
3677 * text3.C: add LCursor & parameter to most cursor movement functions
3678 remove usage of LyXText::cursorRow() and cursorPar()
3680 * cursor.[Ch]: add textRow() needed members
3683 * BufferView_pimpl.C:
3686 * BufferView_pimpl.C: adjust
3688 2004-02-11 André Pönitz <poenitz@gmx.net>
3692 * BufferView_pimpl.C: shift undo/redo handling
3694 * cursor.[Ch]: fix mathed crash
3697 * lyxtext.h: move selectionAsText to LCursor
3705 * rowpainter.C: fix excessive drawing
3707 2004-02-06 André Pönitz <poenitz@gmx.net>
3710 * BufferView_pimpl.[Ch]:
3711 * text3.C: move some text specific LFUN handling
3713 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
3715 * text3.C (checkInsetHit): adjust coords
3716 * text2.C (getColumnNearX): adjust coords
3717 (edit): adjust coords
3718 * text.C (getRowNearY): add two asserts
3720 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
3723 * format.C: add using std::distance to compile on gcc 2.95/stlport
3725 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
3727 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3729 2004-02-04 André Pönitz <poenitz@gmx.net>
3731 * BufferView.[Ch] (insertInset):
3732 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3737 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3739 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3740 on the default clause of the switch
3741 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3742 wasn't catched by LCursor::dispatch
3744 2004-02-03 André Pönitz <poenitz@gmx.net>
3747 * cursor.[Ch]: some additional asserts
3749 * undo.[Ch]: remove LyXText dependency in interface
3753 * lyxtext.h (firstPar, lastPar): remove dead functions
3758 * paragraph.[Ch]: adjust
3760 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3762 * lyxfind.C (find): fix argument order in call to ::find
3764 2004-02-02 André Pönitz <poenitz@gmx.net>
3766 * cursor.[Ch]: remove direct access to anchor
3768 * text.C: remove findText() hack
3770 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3772 * iterators.[Ch] (lockPath): remove in favour of...
3773 * BufferView.[Ch] (setCursor): this addition
3774 * BufferView.C (putSelectionAt): adjust
3775 * undo.C (performUndoOrRedo): adjust
3776 * lyxfunc.C (dispatch): adjust
3778 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3780 * iterators.C (lockPath): add a missing slice
3781 * undo.C (performUndoOrRedo): remove redundant positioning code
3783 2004-02-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3785 * vc-backend.C (scanMaster): ";" -> ';'
3787 2004-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
3789 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3790 std::binary_function
3792 * lyxtextclass.C (compare_name): rename to...
3793 (LayoutNamesEqual): ...this
3795 * lyxlex_pimpl.C (compare_tags): inherit from
3796 std::binary_function, put back into anon namespace
3798 * lyxfind.C (MatchString): inherig from std::binary_function
3799 (findChange): use empty() istead of !size()
3801 * format.C (FormatNamesEqual): new functor
3808 * converter.C (compare_Converter): rename to...
3809 (ConverterEqual): ...this, and fixup a bit.
3810 (getConverter): use it, and make function const
3811 (getNumber): use it, and make function const
3815 * bufferlist.C: add using boost::bind
3817 * MenuBackend.C (MenuNamesEqual): new functor
3818 (hasMenu): use it, and make function const
3819 (hasSubmenu): use nested bind to get rid of compare_memfun.
3821 2004-01-30 André Pönitz <poenitz@gmx.net>
3823 * BufferView_pimpl.C:
3826 * cursor_slice.[Ch]:
3829 * paragraph_funcs.C:
3830 * paragraph_funcs.h:
3834 * text3.C: move some of the edit(x,y) handling to the insets
3835 some coordinate changes.
3837 2004-01-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3839 * text.C: add using statements for std::advance and std::distance
3841 * paragraph.C: add using statement for std::distance
3843 * lyxfind.C: add using statement for std::advance
3845 * cursor.C (region): remove std:: from swap
3846 (openable): use nucleus in stead of operator->
3848 * BufferView.C: add using statements for std::distance and std::swap
3850 2004-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3852 * iterators.C: Remove the pimple, move the needed structures to
3853 the header file. Create accessor for the positions stack.
3854 (asPosIterator): remove function
3856 * PosIterator.C (PosIterator): move constructors to top of file
3857 (PosIterator): reimplement the constructor taking a ParIterator in
3859 (setFrom): new function
3860 (operator!=): inline it
3862 2004-01-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3864 * lyxfind.C (replaceAll): use std::advance
3866 * iterators.h: inherit from std::iterator.
3868 * PosIterator.C (advance, distance): remove
3869 * PosIterator.h: interit from std::iterator.
3871 2004-01-26 André Pönitz <poenitz@gmx.net>
3874 * BufferView_pimpl.[Ch]:
3878 * bufferview_funcs.C:
3888 * output_linuxdoc.C:
3889 * output_plaintext.C:
3891 * paragraph_funcs.[Ch]:
3892 * paragraph_pimpl.[Ch]:
3898 * text3.C: more IU: dumps most of the rest of the mathcursor
3899 implementation into cursor.[Ch]; "globalize" a bit of it.
3901 2004-01-25 Angus Leeming <leeming@lyx.org>
3903 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3905 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3907 * LaTeXFeatures.h: add nice_ and nice() const
3908 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3910 2004-01-20 André Pönitz <poenitz@gmx.net>
3913 * BufferView_pimpl.C:
3915 * bufferview_funcs.C:
3917 * cursor_slice.[Ch]:
3928 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3929 LCursor and mathcursor parts to LCursor and InsetBase.
3931 2004-01-15 André Pönitz <poenitz@gmx.net>
3933 * cursor_slice.[Ch]: add a few covienience functions
3935 * funcrequest.[Ch]: remove BufferView * member
3937 * BufferView_pimpl.C:
3944 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
3946 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
3948 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
3949 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3951 2004-01-13 André Pönitz <poenitz@gmx.net>
3954 * lyxtext.h: hide cursor and selection anchor behind accessor function
3957 * BufferView_pimpl.[Ch]:
3959 * bufferview_funcs.C:
3969 * cursor_slice.[Ch]: some integer type changes for inset unification
3971 * lyxcursor.[hC]: remove, it's CursorSlice now.
3974 * BufferView_pimpl.[Ch]:
3975 * bufferview_funcs.C:
3981 * textcursor.[Ch]: adjust
3983 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
3985 * text2.C (undoSpan): add and use
3986 * text.C (breakParagraph): use undoSpan (fix bug 578)
3989 2004-01-08 Angus Leeming <leeming@lyx.org>
3991 * BufferView_pimpl.C (MenuInsertLyXFile):
3992 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3993 * lyxfunc.C (menuNew, open, doImport):
3994 FileFilterList change to the FileDialog open and save functions.
3996 2004-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
3998 * ShareContainer.h: make isEqual and isUnique adaptable
4000 * CutAndPaste.C: make resetOwnerAndChanges adaptable
4002 2004-01-07 Angus Leeming <leeming@lyx.org>
4005 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
4007 * BufferView_pimpl.C (dispatch): act on these LFUNs.
4009 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
4010 functions replacing find, replace and replaceAll.
4012 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
4013 LFUN_WORDFIND(FORWARD|BACKWARD).
4015 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
4017 * text.C (breakParagraph): remove an outdated #warning
4019 2004-01-07 André Pönitz <poenitz@gmx.net>
4021 * lyxfind.C: somewhat clearer logic
4023 * text.C: prevent crash in cursorX on unitialized row cache
4025 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
4027 * lyxcursor.[Ch] (operator>): add
4028 * textcursor.C (selStart, selEnd): use std::min and std::max
4030 2004-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4032 * Chktex.C: include boost/format.hpp
4034 2004-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
4036 * InsetList.C: replace functor MathcIt with adaptable functor
4038 (insetIterator): modify accordingly
4040 * BranchList.h: move the BranchNamesEqual functor here from...
4041 * BranchList.C: ... to here
4043 * BranchList.C: new BranchListEqual fuctor, use it. Remove
4045 (add): replace a finding loop with std::find_if.
4047 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
4049 * output_docbook.C: moving LatexParam functionality into
4052 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4054 * buffer.C: increment format to 229.
4056 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
4059 * lyx_sty.[Ch]: remove minipageindent_def
4065 * text3.C: remove LFUN_INSET_MINIPAGE
4067 2003-12-28 Angus Leeming <leeming@lyx.org>
4069 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
4071 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
4073 * text2.C (setParagraph): fix off-by-one crash
4075 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
4077 * output_docbook.C: header stuff for AGU
4079 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
4081 * text2.C (redoCursor): remove
4084 * BufferView_pimpl.C: remove calls to redoCursor and
4085 setCursor(cursor.par(), cursor.pos()) all around
4087 2003-12-15 Angus Leeming <leeming@lyx.org>
4089 * buffer.C: up the format to 228.
4091 2003-12-15 André Pönitz <poenitz@gmx.net>
4093 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
4098 * BufferView_pimpl.C:
4107 2003-12-15 Angus Leeming <leeming@lyx.org>
4109 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
4110 than getFromGUIName to manipulate the color.
4112 2003-12-14 Angus Leeming <leeming@lyx.org>
4114 * BranchList.[Ch]: minimize the API.
4115 (Branch::getBranch, getColor): now return a 'const &'.
4116 (Branch::setSelected) now returns a bool set to true if the
4117 selection status changes.
4118 (BranchList::clear, size, getColor, setColor, setSelected,
4119 allBranches, allSelected, separator): removed.
4120 (BranchList::find): new functions, returning the Branch with
4122 (BranchList::add, remove): return a bool indicating that
4123 the operation was successful.
4125 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
4126 new InsetBranch::isBranchSlected member function.
4128 * LColor.[Ch]: mimimize the API.
4129 (fill): renamed as addColor and made private.
4130 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
4131 versions of these functions taking a string arg have been removed.
4133 * bufferparams.C (readToken):
4134 * lyxfunc.C (dispatch):
4135 * lyxrc.C (read): changes due to the altered BranchList and
4138 * factory.C (createInset, readInset): changes due to altered
4141 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4144 * lyxfunc.C: remove insetminipage. "minipage-insert"
4145 now produces a frameless minipage box inset.
4147 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4149 * textcursor.[Ch] (selStart,selEnd): add new methods
4150 remove selection::start, end, use LyXCursor::operator<
4151 * lyxcursor.[Ch] (operator<): add
4152 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
4153 * BufferView.[Ch] (unsetXSel): add
4154 * text2.C (clearSelection): use unsetXSel,adjust
4157 * rowpainter.C: adjust
4158 * bufferview_funcs.C (put_selection_at): adjust
4160 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4162 * BufferView_pimpl.C: small coord. correction
4164 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4166 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
4167 dragging over the splash screen.
4169 2003-12-11 Angus Leeming <leeming@lyx.org>
4171 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
4172 as it is now handled in LyXText::dispatch.
4174 * text3.C (doInsertInset): remove a level of nesting.
4176 2003-12-11 Angus Leeming <leeming@lyx.org>
4178 * factory.C (createInset): changes due to the changed interface to
4179 InsetCommandMailer::string2params.
4181 2003-12-10 Angus Leeming <leeming@lyx.org>
4183 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
4184 'dialog-show-new-inset <inset name>'
4186 2003-12-10 Angus Leeming <leeming@lyx.org>
4188 * buffer.C: up the format to 227.
4190 * factory.C: the box inset is now identified simply by 'Box'.
4192 2003-12-10 Angus Leeming <leeming@lyx.org>
4194 * buffer.C: up the format to 226.
4196 * factory.C: the note inset is now identified simply by 'Note'.
4198 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
4200 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
4201 when a pit is enough. Standarize a couple of loops.
4203 2003-12-05 Angus Leeming <leeming@lyx.org>
4205 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
4206 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
4207 data to the re-worked "log" dialog.
4209 2003-12-03 André Pönitz <poenitz@gmx.net>
4215 * paragraph_funcs.C:
4217 * text2.C: use Inset::getText instead of Inset::getParagraph
4219 2003-12-03 André Pönitz <poenitz@gmx.net>
4223 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
4224 InsetText::read() as LyXText::read()
4226 2003-12-02 Angus Leeming <leeming@lyx.org>
4228 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
4229 type. Add a comment in the implementation that the function uses
4230 the stream's bad() function rather than fail() as the std::streams
4233 2003-12-02 André Pönitz <poenitz@gmx.net>
4235 * lyxlex.[Ch]: make interface more similar to std::stream
4237 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
4239 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
4241 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
4243 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
4245 * vspace.[Ch]: remove VSpace::NONE
4247 2003-12-01 André Pönitz <poenitz@gmx.net>
4250 * lyxtext.h: move ParagraphList member to LyXText
4251 rename LyXText::ownerParagraphs to LyXText::paragraph
4254 * bufferview_funcs.C:
4264 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
4266 * undo.C: fix cursor positioning
4268 2003-12-01 John Levon <levon@movementarian.org>
4270 * BufferView_pimpl.C: fix a crash on exit with
4273 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
4275 * BranchList.C: fix setSelected() method.
4277 2003-11-28 André Pönitz <poenitz@gmx.net>
4279 * ParagraphParameters.[Ch]:
4280 * ParameterStruct.h: remove space above/below from Paragraph to
4283 * BufferView_pimpl.C:
4289 * paragraph_funcs.C:
4295 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
4297 * factory.C: Syntax change for CharStyles
4299 2003-11-28 André Pönitz <poenitz@gmx.net>
4304 * buffer.[Ch]: move LyXText member
4306 2003-11-28 André Pönitz <poenitz@gmx.net>
4308 * BufferView.[Ch]: make LyXText * text a private member
4310 * BufferView_pimpl.C:
4321 * output_plaintext.C: cleanup
4323 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
4326 * lyxtextclass.[Ch]: parametrize SGML document header
4328 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
4331 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4334 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
4336 * text2.C (setFont): rework using PosIterator (no more recursive)
4337 (setCharFont): no more needed
4338 (setLayout): no more selection cursors fiddling (done by redoCursor)
4339 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4340 destroy remaining ones)
4342 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
4344 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4346 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4349 * text3.C: adjust + re-allow multi par depth changes
4350 * textcursor.C: simplify a bit
4352 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
4358 * src/output_docbook.C:
4359 * src/output_latex.C:
4364 * src/text2.C: Introducing a number of tags parametrizing various
4365 XML formats that we may want to support
4367 2003-11-25 André Pönitz <poenitz@gmx.net>
4369 * InsetList.[Ch] (begein, end): inline as suggested by profiler
4371 * lyxtext.h (leftMargin/rightMargin): simplify interface
4378 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4380 * lyxfunc.C (dispatch): propogate the bibtex databases from the
4381 master file to any child files. Fixes bug 546.
4383 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4385 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4387 2003-11-24 André Pönitz <poenitz@gmx.net>
4389 * rowpainter.C: simplification
4391 * text2.C (updateCounters): remove call to redoParagraph on
4392 changed labels as this is far too expensive.
4394 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4396 * converter.C (convert): fix a crash: this function gets
4397 called with buffer == 0 from importer code.
4399 2003-11-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4401 * text3.C (cursorPrevious): make sure that we do not compare
4402 iterators form different containers.
4405 * rowpainter.C (paintSelection): make sure that we do not compare
4406 iterators from different containers.
4408 * text3.C (dispatch): [PRIOR] make sure that we do not compare
4409 iterators from different ParagraphList containers.
4412 * text2.C (LyXText): change order of initialization slightly
4413 (operator=): new function. copy all variables except cache_par_
4414 (moveUp): make sure that we do not compare iterators from
4415 different ParagraphList constainers.
4418 * text.C (firstPar): new function
4419 (lastPar): new function
4420 (endPar): new function
4422 * lyxtext.h: move things around and group public functions, public
4423 variables, private functions, private variables
4425 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
4427 * factory.C: change call to InsetERT constructor to avoid
4428 additional invocation of method status
4429 * text2.C (toggleInset): remove redundant update() call
4430 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4431 instead of a Bufferview pointer
4433 2003-11-21 André Pönitz <poenitz@gmx.net>
4435 * rowpainter.C: simplification
4437 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4439 * text3.C (dispatch): make possible to extend a word/row selection
4442 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4444 * lyxtext.h: x0_,y0_ -> xo_,yo_
4445 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4446 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4447 * rowpainter.C (paintRows): paint full paragraphs
4449 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4451 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4454 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4456 * lyxtext.h: add x0_, y0_
4457 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4458 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4460 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
4462 * text2.C (setCursorIntern): move the x_target update here *
4463 * text3.C: change some bv() to true/false in calls to
4464 cursorUp/Down/Right/Left
4465 * cursor.C: use helper function.
4467 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4469 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4470 * paragraph_funcs.[Ch]: correct comment
4471 * rowpainter.C: do not paint selections away from bv->cursor()
4472 Fix a long standing selection painting bug.
4473 * text3.C: generalize mouse-selection code to LyXTexts other that
4475 * textcursor.C: do not use y coords if we can use par offsets
4477 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4479 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4480 cursor position after e.g. inset insert)
4482 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
4484 * lyxfind.C (replace): adjust to locking removal + some
4487 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
4489 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4492 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
4495 * output_docbook.C: XML sanitation: new layout
4496 parameters InnerTag and CommandDepth
4498 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
4500 * BufferView_pimpl.C:
4502 * text3.C: Fix the insertion and modification of button-style
4505 2003-11-13 André Pönitz <poenitz@gmx.net>
4507 * InsetList.[Ch]: remove deleteLyXText
4509 * paragraph.[Ch]: cache beginOfBody position
4514 * text3.C: remove superfluous update() calls
4518 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
4520 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4521 * BufferView.C (fitLockedInsetCursor): remove
4522 * cursor.[Ch] (getDim): add
4523 * text.C (getRowNearY): add faster version
4524 * text3.C: remove some update calls
4526 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
4538 * text3.C: The Character Style /XML short element patch.
4540 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
4543 * factory.C: Small step to solving 'unable to insert some insets'
4546 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
4548 * cursor.[Ch] (updatePos): new function for updating the y
4549 position of the tip inset
4550 * bufferview_funcs.C (put_selection_at):
4551 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4553 2003-11-11 André Pönitz <poenitz@gmx.net>
4555 * text.C: remove big comment on invalid Paragraph pointers as it is
4558 2003-11-11 André Pönitz <poenitz@gmx.net>
4560 * text_funcs.[Ch]: merge with ...
4568 * Makefile.am: remove text_funcs.[Ch]
4570 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
4572 * cursor.C (getPos): return absolute cached y coord
4574 * BufferView_pimpl.C (fitCursor): new simplistic code
4575 (workAreaDispatch): add a fitCursor call
4577 2003-11-10 André Pönitz <poenitz@gmx.net>
4580 * BufferView_pimpl.[Ch]: merge update() and updateInset()
4582 2003-11-10 André Pönitz <poenitz@gmx.net>
4584 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4585 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4586 indicate that the cursor needs to leave an inset
4588 * lyxtext.h: remove inset locking
4590 * cursor.[Ch]: re-implement functionality provided by inset locking
4593 * BufferView_pimpl.[Ch]:
4595 * bufferview_funcs.[Ch]:
4607 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
4609 * PosIterator.[Ch]: replace the stack with a vector, add inset
4611 * iterators.[C]: adjust
4613 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4615 * lyxfind.C (replaceAll): mark the buffer dirty if something was
4617 * paragraph_funcs.C (readParToken): put the correct id in the
4618 error item, not the id of the top paragraph
4620 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4622 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4623 * bufferview_funcs.C (put_selection_at): use the above
4625 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4627 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4629 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4631 * output_linuxdoc.h:
4632 * output_plaintext.h:
4634 * output_docbook.h: add #include statements
4636 2003-11-05 José Matos <jamatos@lyx.org>
4638 * output_docbook.[Ch]:
4639 * output_latex.[Ch]:
4640 * output_linuxdoc.[Ch]:
4641 * output_plaintext.[Ch]: New files for output formats.
4642 * output.[Ch]: New file for helper functions.
4645 * paragraph_funcs.[Ch]: output functions moved to new files.
4647 * outputparams.h: rename of latexrunparams.h
4655 * paragraph_funcs.[Ch]:
4656 * paragraph_pimpl.[Ch]:
4657 * tabular.[Ch]: rename ascii to plaintext
4658 and LatexRunParams to OutputParams.
4660 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4662 * iterators.[Ch] (text): require bv argument
4663 * undo.C (recordUndo):
4664 * lyxfunc.C (dispatch):
4665 * bufferview_funcs.C (put_selection_at): adjust
4667 2003-11-05 Jo� Luis M. Assirati <assirati@fma.if.usp.br>
4669 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4671 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4673 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4676 2003-11-04 André Pönitz <poenitz@gmx.net>
4678 * cursor.[Ch]: restructure
4681 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4683 * iterators.[Ch] (asCursor): remove
4685 * lfuns.h: remove LFUN_INSET_EDIT
4691 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4693 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4695 * lyxfind.[Ch]: complete overhaul
4696 * BufferView_pimpl.C:
4698 * paragraph.[Ch] (insert): add
4700 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4704 * text.C: remove dead spellcheck code
4706 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4708 * dispatchresult.h: add a val setter
4710 * cursor.C (dispatch): use a tempvar for data_[i]
4712 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4714 * PosIterator.[Ch]: compile fix
4716 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4718 * text.C (cursorPar): deactivate the cursor cache
4720 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4722 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4724 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4726 * text3.C (dispatch): adjust for new DisptchResult semantics.
4728 * lyxfunc.C (dispatch): handle update when return from
4729 Cursor::dispatch, adjust for new DispatchResult semantics.
4731 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4732 DispatchResult(true) mean to not update. Add class functions for
4733 setting dispatched and update, as well as reading.
4735 * cursor.C (dispatch): don't handle update here
4737 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4739 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4740 * trans_mgr.C: adjust
4742 * paragraph_funcs.C (readParToken): exception safety
4744 * lyxvc.h: store the vcs pointer in a scoped_ptr
4747 * lyxsocket.C (serverCallback): exception safety
4749 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4751 * ispell.C (clone): make it return a auto_ptr
4753 * factory.C (createInset): exception safety
4754 (readInset): exception safety
4756 * bufferlist.C (newBuffer): exception safety
4758 * Thesaurus.C (Thesaurus): use initialization for aik_
4760 * MenuBackend.C (expandToc): exception safety.
4762 2003-11-03 André Pönitz <poenitz@gmx.net>
4766 * bufferview_funcs.C: remove getInsetFromId()
4769 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4775 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4777 * PosIterator.C (distance, advance): new
4778 * bufferview_funcs.[Ch] (put_selection_at): new
4779 * iterators.[Ch] (lockPath): new
4781 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
4783 * iterators.[Ch] (asPosIterator): added
4784 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4785 * PosIterator.[Ch]: added
4787 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4791 * cursor.C (dispatch):
4792 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4794 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4795 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4796 contructor, add a class function dispatched. Remove operator>=
4798 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4800 * debug.C: only use the default constructor for debugstream
4803 * main.C (main): include debug.h and setup the lyxerr streambuf
4806 2003-10-31 José Matos <jamatos@lyx.org>
4808 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4810 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4811 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4812 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4813 * paragraph_pimpl.C (simpleTeXSpecialC):
4814 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4815 add LatexRunParams argument.
4817 * exporter.C (Export): change call accordingly.
4819 * latexrunparams.h: add new member to take care of the other backends.
4820 2003-10-30 José Matos <jamatos@lyx.org>
4822 * buffer.C (makeLinuxDocFile, makeDocBookFile):
4823 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4824 factorise code for paragraph output.
4826 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4829 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4831 * text3.C (dispatch):
4832 * lyxfunc.C (dispatch):
4833 * cursor.C (dispatch):
4834 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4836 * dispatchresult.h: make the dispatch_result_t ctor explicit
4838 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
4841 * buffer.C: small refactoring of docbook stuff
4843 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4845 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4848 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4850 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4851 operator dispatch_result_t, and operators for == != and >=
4853 * cursor.C (dispatch): adjust for operator dispatch_result_t
4854 removal. comment out call to update
4856 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4858 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4866 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4869 * dispatchresult.h: new file, DispatchResult broken out of
4872 * Makefile.am (lyx_SOURCES): add dispatchresult.h
4874 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4876 * text.C (rowBreakPoint): put a hack inside #if 0
4878 2003-10-28 André Pönitz <poenitz@gmx.net>
4882 * paragraph_funcs.C:
4885 * text2.C: general cleanup (lots of small stuff)
4887 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4889 * text2.C (cursorEnd): simple fix to the "end key goes to one
4890 before the end on last row" bug
4892 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4894 * text.C (backspace): fix the "zombie characters"
4896 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4898 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4900 2003-10-27 André Pönitz <poenitz@gmx.net>
4902 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4904 * factory.C: handle new InsetPagebreak, InsetLine
4906 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4907 and move handling into new InsetPagebreak, InsetLine
4909 * BufferView_pimpl.C:
4911 * ParagraphParameters.C:
4912 * ParameterStruct.h:
4917 * paragraph_funcs.C:
4918 * paragraph_pimpl.C:
4924 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4927 * lyxrow_funcs.[Ch]:
4933 * text3.C: remove lastPos uses in favour of Row::endpos
4935 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4937 * undo.C (performUndoOrRedo): fix two crashes by setting a
4938 cursor by hand and reordering some calls. Use bv->lockInset instead
4939 of inset->edit because the latter loses cursor information
4941 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
4943 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4945 (rowBreakPoint): fix width. change point to point + 1.
4946 Add a missing check.
4948 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
4951 * lyxfunc.C: fix (at least partly) the problems
4952 with the Nav menu and headers inside branch insets
4955 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
4957 * paragraph.C (getChar): add strong asserts
4959 * lyxrow_funcs.C (lastPos): remove hideous hack
4961 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4962 (fill): adjust to that (avoid an infinite loop)
4964 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
4966 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4968 2003-10-23 André Pönitz <poenitz@gmx.net>
4970 * RowList_fwd.h: change list<> to vector<> to gain speed
4971 after suggestion from Alfredo
4973 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
4975 * lyxtext.h: move the bidi stuff from here...
4978 * Bidi.[Ch]: ... to here
4980 2003-10-23 André Pönitz <poenitz@gmx.net>
4983 * text.C (isLastRow, isFirstRow): new functions
4985 * paragraph.h: new width cache member
4987 * rowpainter.C: replace RowList::iterator with Row & where possible
4989 * lyxfunc.C: replace several view()->text with a single call
4991 * toc.C: fix 'unused' warning
4993 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4995 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4996 when woring with stream::pos_type
4997 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4999 2003-10-22 André Pönitz <poenitz@gmx.net>
5002 * text.C: use Row & instead of RowList::iterator
5004 * lyxrow.h: rename end() to endpos()
5010 2003-10-22 Angus Leeming <leeming@lyx.org>
5012 * buffer.[Ch] (fully_loaded): new member function, returning true
5013 only when the file has been loaded fully.
5014 Used to prevent the premature generation of previews and by the
5015 citation inset to prevent computation of the natbib-style label.
5017 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
5018 templates are all set up.
5020 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
5022 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
5024 * text.C: fixed an "oops" in the "is a bit silly"
5027 2003-10-21 André Pönitz <poenitz@gmx.net>
5029 * FuncStatus.[Ch]: small stuff, whitespace
5031 * lyxfont.[Ch]: operator<<() for debug reasons
5035 * lyxtext.h: whitespace, spelling
5037 * paragraph.C: naming of variables
5040 * text2.C: small stuff
5043 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
5045 * text.C: (1) finish off the inset display() work;
5046 (2) fix the "is a bit silly" bug (accessing char
5049 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
5051 * text.C: re-introduce display() for insets, fixing the
5052 various bugs (stretch of line above, math inset
5055 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5057 * text.C (rightMargin): remove spurious semicolon
5059 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
5062 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
5064 * text3.C: fix one crash due to wrong cursor def
5066 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5068 * vc-backend.C (scanMaster): make the regex static
5070 * LaTeX.C (scanAuxFile): make the regexs static
5072 * text3.C (doInsertInset, dispatch, dispatch):
5073 * text2.C (cursorUp, cursorDown):
5074 * text.C (selectNextWordToSpellcheck):
5075 * BufferView_pimpl.C (dispatch):
5076 * lyxfunc.C (dispatch): localDispatch -> dispatch
5078 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5080 * lyxsocket.C: include <cerrno>
5082 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5084 * lyxfunc.C (dispatch): remove textcache stuff
5086 * bufferlist.C (release): remove textcache stuff
5089 * TextCache.C: delete file
5090 * TextCache.h: delete file
5092 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
5094 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
5095 delete of the bv_->text.
5096 (resizeCurrentBuffer): remove texcache stuff
5097 (workAreaResize): ditto
5099 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5101 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
5104 2003-10-16 André Pönitz <poenitz@gmx.net>
5111 * text3.C: speed up by storing y positions per paragraph plus per-row
5112 offset instead of having a 'full' y position in the row.
5114 2003-10-15 André Pönitz <poenitz@gmx.net>
5118 * undo.[Ch]: make undo aware of inner insets
5120 2003-10-14 Angus Leeming <leeming@lyx.org>
5122 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
5123 static member functions LyX::ref() and LyX::cref.
5124 (lastfiles): new accessor functions for the new lastfiles_ member var.
5125 (addLyXView, views_): add a new LyXView to the list of views_.
5126 (updateInset): loop over all LyXViews to call their own updateInset
5127 member function, returning a pointer to the Buffer owning the inset.
5129 * BufferView_pimpl.C (loadLyXFile):
5130 * MenuBackend.C (expandLastfiles):
5131 * bufferlist.C (MenuWrite, QuitLyX):
5132 lastfiles is no longer a global variable.
5133 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
5135 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
5136 static function. Access through LyX::cref().emergencyCleanup().
5138 2003-10-14 André Pönitz <poenitz@gmx.net>
5140 * iterators.[Ch]: new direct access to innermost LyXText and Inset
5142 * undo.[Ch]: restoring part of 'undo in insets'
5145 * undo_funcs.[Ch]: merge with undo.[Ch]
5147 * tabular.C: small cleansing stuff
5149 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
5151 * paragraph_funcs.C (readParToken): report unknown insets as error
5152 boxes. Use the outer paragraph as location (also for unknown
5155 * factory.C (readInset): do not abort on reading an unknown inset.
5156 Eat it and return 0.
5158 2003-10-13 Angus Leeming <leeming@lyx.org>
5160 * lyx_main.C (LyX): remove call to setDisplayTranslator().
5162 * lyxrc.C: displayTranslator is now a function,
5163 declared in GraphicsTypes.h.
5165 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5167 * format.C: new placeholder $$a to pass the socket address.
5169 * bufferlist.[Ch]: new function getBufferFromTmp.
5171 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
5172 files in the temporary dir.
5174 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5176 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
5178 * Makefile.am: add lyxsocket.[Ch].
5180 * lyx_main.C (error_handler): handle SIGPIPE.
5182 2003-10-13 André Pönitz <poenitz@gmx.net>
5184 * BufferView_pimpl.C:
5189 * undo_funcs.[Ch]: use paroffset_type instead of
5190 ParagraphList::iterators to prevent multiple conversion
5191 (and get a more robust interface)
5193 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5195 * lyxfunc.C (dispatch): RESULT -> dispatch_result
5197 * text3.C (dispatch): ditto
5199 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5201 * LaTeX.C (handleFoundFile): move the static to smaller scope,
5202 move the onlyfile, use onlyfile instead of foundfile in a couple
5205 * DepTable.C (update): flush the error stream a bit more
5207 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5209 * lyxserver.C (callback): adjust
5211 * lyxfunc.C (getStatus): add a missing brace in commented code
5212 (ensureBufferClean): reindent
5213 (dispatch): delete version taking a string
5215 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5217 * LaTeX.C (deplog): move found file handlig from here...
5218 (handleFoundFile): .. to new function here.
5219 (deplog): make sure to discover several files mentioned on the
5222 2003-10-10 André Pönitz <poenitz@gmx.net>
5229 * text3.C: fix some of the tabular crashes
5231 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5233 * MenuBackend.C (binding): put debug message into Debug::KBMAP
5235 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
5237 2003-10-09 André Pönitz <poenitz@gmx.net>
5239 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
5242 * BufferView_pimpl.C:
5243 * bufferview_funcs.C:
5254 * undo_funcs.C: adjust
5256 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5258 * text2.C (incrementItemDepth): new function, use a backtracking
5259 algorithm to discover the correct item depth.
5260 (resetEnumCounterIfNeeded): new function, use a backtracking
5261 algorithm to discover if counter reset is needed.
5262 (setCounter): use them. Simplify a bit. Add different labels for
5263 different item depths for itemize.
5265 * paragraph.C (Paragraph): remove initialization of enumdepth
5268 * paragraph.h: get rid of enumdepth, and use itemdepth both for
5269 enumerate and itemize. Change the type of itemdepth to signed char.
5271 2003-10-08 André Pönitz <poenitz@gmx.net>
5273 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5278 * tabular.[Ch]: fix crash after 'row-insert'
5280 2003-10-08 Angus Leeming <leeming@lyx.org>
5282 Fix doxygen warnings.
5284 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5285 Remove CutAndPaste:: prefix from header file declaration.
5287 * LColor.h (fill): remove LColor:: prefix from declaration.
5289 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5290 use lyx::depth_type rather than Paragraph::depth_type so that
5291 header file and .C file match.
5293 * converter.h (intToFormat): remove Converters:: prefix from declaration.
5295 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5296 * aspell.C: \file aspell_local.C -> \file aspell.C
5297 * gettext.C: \file gettext.C -> \file src/gettext.C
5298 * gettext.h: \file gettext.h -> \file src/gettext.h
5299 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5300 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5301 * text.C: \file text.C -> \file src/text.C
5303 * toc.C: move comment so that doxygen is not confused.
5305 2003-10-07 Angus Leeming <leeming@lyx.org>
5307 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5309 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5312 * aspell_local.h: add forgotten std::string's.
5314 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
5321 * text3.C: The Box patch. Fancybox support, minipage, parbox
5323 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
5329 * ParagraphParameters.h:
5339 * lyxtextclasslist.h:
5342 * paragraph_pimpl.C:
5343 * textcursor.h: add <string> and other small fixes to make Lars'
5344 std::string patch compile with STLport.
5346 2003-10-06 Angus Leeming <leeming@lyx.org>
5348 * LColor.h: Add missing #include <string>.
5350 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5352 * All most all file in all subdirs: Make <string> be the prefered
5353 way of getting to std::string, add using declarations.
5355 2003-10-06 André Pönitz <poenitz@gmx.net>
5357 * metricsinfo.C: initialize LyXFont before changing attribute.
5358 (fixes the 'math in \emph is upright' bug)
5360 2003-10-06 André Pönitz <poenitz@gmx.net>
5362 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5364 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
5367 * paragraph_pimpl.C: Small fixes to build using STLport
5369 2003-10-02 André Pönitz <poenitz@gmx.net>
5372 * text3.C: move handling of LFUN_DEPTH *; fix #1360
5374 2003-10-01 André Pönitz <poenitz@gmx.net>
5376 * factory.C: assert early
5378 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5380 * lyx_main.C: remove the global debug object
5382 * debug.h: adjust for new debugstream
5384 * debug.C: adjust for new debugstream and keep the global debug
5387 2003-09-22 Angus Leeming <leeming@lyx.org>
5389 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5390 of g++ which otherwise complain that the scoped_ptr destructor can't delete
5391 an incomplete class LyXFont.
5393 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
5395 * factory.C: bug fix in branches
5397 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5399 * lyxfunc.C (processKeySym): adjust
5401 (dispatch): change arg name from ev to func, adjust
5402 (sendDispatchMessage): ditto
5404 * lyx_main.C (defaultKeyBindings): adjust keybindings
5405 (deadKeyBindings): ditto
5407 * kbsequence.C (addkey): return a FuncRequest
5409 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5411 * kbmap.C (bind): take a FuncRequest as arg, adjust
5414 (defkey): change to take a FuncRequest as arg, adjust
5415 (findbinding): take a FuncRequest as arg, adjust.
5417 * funcrequest.h (operator=): added
5419 * funcrequest.C (FuncRequest): default kb_action changed from
5420 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5422 * buffer.C (dispatch): simplify
5423 (dispatch): adjust to take a FuncRequest as arg, adjust
5425 * boost.C (assertion_failed): change assertion message slightly
5427 * ToolbarBackend.C (read): simplify
5429 * MenuBackend.C (binding): adjust call to findbinding, add a
5430 message if no binding is found.
5432 (expandToc): correct by adding a empty FuncRequest
5434 * LyXAction.C: include <boost/assert.hpp>
5435 (isPseudoAction): delete function
5436 (LookupFunc): change name to...
5437 (lookupFunc): this. change return type to FuncRequest.
5438 (getActionName): take kb_action as arg, simplify
5439 (funcHasFlag): add an assert, simplify.
5441 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5443 * toc.C (action): return a FuncRequest, simplify
5445 * lyxfunc.C (processKeySym): adjust
5446 (getStatus): delete version that takes an int.
5448 (dispatch): delete version that takes action as int
5450 (sendDispatchMessage): simplify and adjust
5452 * funcrequest.C (getArg): take unsigned int as arg
5454 * ToolbarBackend.C (read): adjust
5455 (add): delete version that takes func as a string.
5456 (getIton): take a FuncRequest as arg
5458 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5461 * MenuBackend.C (MenuItem): add a new construct that only takes a
5462 Kind, simplify the constructor use for submenus.
5464 (expandLastfiles): adjust
5465 (expandDocuments): adjust
5466 (expandFormats): adjust
5467 (expandFloatListInsert): adjust
5468 (expandFloatInsert): adjust
5469 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5471 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5472 Remove class variables lyx_pseudo_map and lyx_arg_map
5474 * LyXAction.C (searchActionArg): delete function
5475 (getPseudoAction): delete function
5476 (retrieveActionArg): delete function
5477 (LookupFunc): make it return kb_action, simplify.
5478 (getActionName): simplify
5480 * factory.C (createInset): fix new bug
5482 2003-09-19 Angus Leeming <leeming@lyx.org>
5484 * CutAndPaste.C (pasteSelection): remove fudge used to set the
5485 masterFilename_ parameter in the include inset.
5487 * factory.C (createInset): changes due to the changes to InsetInclude.
5489 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5491 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5493 2003-09-18 Angus Leeming <leeming@lyx.org>
5496 * BufferView.C: pass the buffer when calling Inset::getLabelList,
5497 Inset::fillWithBibKeys.
5498 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5500 2003-09-18 Angus Leeming <leeming@lyx.org>
5502 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5504 (ctor): pass and store a 'Buffer const &'
5505 (buffer): new member function.
5507 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5508 '*this' to the LaTeXFeatures ctor.
5510 2003-09-18 Angus Leeming <leeming@lyx.org>
5516 * text.C: rename EnumLColor as LColor_color.
5518 2003-09-18 Angus Leeming <leeming@lyx.org>
5520 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5521 remove #include "insets/insetbase.h" from cursor.h.
5523 2003-09-18 Angus Leeming <leeming@lyx.org>
5525 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5526 InsetOld_code to remove #include "inset.h".
5528 * iterators.C: add #include "insets/inset.h"
5530 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
5532 * BufferView.C: remove more locking stuff that apparently doesn't
5533 do anything sensible.
5535 2003-09-16 André Pönitz <poenitz@gmx.net>
5538 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5541 2003-09-16 Angus Leeming <leeming@lyx.org>
5543 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5545 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5548 * paragraph.h: remove #include "lyxfont.h". Forward declare
5551 2003-09-16 Angus Leeming <leeming@lyx.org>
5553 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5554 of support/textutils.h.
5555 (isWord): move the contents of support/textutils.h's IsWordChar here.
5561 * text2.C: add #include "paragraph.h".
5564 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5566 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5572 * LaTeX.C: use namespace alias for lyx::support::os
5574 2003-09-16 Angus Leeming <leeming@lyx.org>
5577 * bufferview_funcs.C:
5580 * paragraph_pimpl.C:
5582 * text.C: add #include "LColor.h".
5584 2003-09-16 Angus Leeming <leeming@lyx.org>
5586 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5587 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5589 Store the FontBits::color variable as an int rather than as an
5590 LColor::colorso that we can move LColor.h out of the lyxfont.h header
5593 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5594 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5595 string calls together.
5597 * lyxrc.C: add #include "LColor.h".
5599 2003-09-15 Angus Leeming <leeming@lyx.org>
5601 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5604 2003-09-15 Angus Leeming <leeming@lyx.org>
5606 * LColor.h: add an EnumLColor wrapper for LColor::color.
5608 * lyxfont.[Ch] (color, setColor, realColor):
5609 * lyxtext.h, text.C (backgroundColor):
5610 pass EnumLColor args to/from the functions, rather than LColor::color
5614 * lyxtext.h: forward declare EnumLColor.
5616 * lyx_main.C: add #include "LColor.h".
5618 2003-09-15 Angus Leeming <leeming@lyx.org>
5620 * .cvsignore: add lyx-gtk.
5622 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5627 * ParagraphParameters.C
5631 * bufferview_funcs.C
5641 * vc-backend.C: remove usage of STRCONV
5643 2003-09-15 Angus Leeming <leeming@lyx.org>
5645 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5646 explicitly define the color passed to the painter.
5648 2003-09-15 Angus Leeming <leeming@lyx.org>
5650 * bufferparams.C (BufferParams): reorder member initializers to avoid
5653 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
5655 * CutAndPaste.C (pasteSelection): remove an outdated #warning
5656 * text.C (updateRowPositions): remove an unusual nop
5658 2003-09-12 André Pönitz <poenitz@gmx.net>
5660 * BufferView_pimpl.C:
5669 * Counters.[Ch]: finish the 'automatic counters' job
5671 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5673 * aspell.C: include <boost/assert.cpp> (compile fix)
5675 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
5677 * boost.C (assertion_failed): use lyx::support::abort instead of
5680 2003-09-10 Angus Leeming <leeming@lyx.org>
5682 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5683 with their _fwd progeny.
5685 2003-09-09 Angus Leeming <leeming@lyx.org>
5687 134 files throughtout the source tree: replace 'using namespace abc;'
5688 directives with the appropriate 'using abc::xyz;' declarations.
5690 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5692 * boost.C (emergencyCleanup): moved here from LAssert.c
5693 (assertion_failed): new function, called by BOOST_ASSERT
5695 * several files: change Assert to BOOST_ASSERT
5697 2003-09-09 Angus Leeming <leeming@lyx.org>
5699 * buffer.[Ch]: Add an Impl class and move Buffer's member
5700 variables into it. As a result move several header files out of
5703 Add header files to lots of .C files all over the tree as a result.
5705 2003-09-09 Angus Leeming <leeming@lyx.org>
5707 * buffer.[Ch]: make Buffer's member variables private. Add
5710 Lots of changes all over the tree as a result.
5712 2003-09-08 Angus Leeming <leeming@lyx.org>
5714 * graph.C: #include <config.h>.
5716 2003-09-08 Angus Leeming <leeming@lyx.org>
5720 * BufferView_pimpl.C:
5749 * toc.C: remove redundant using directives.
5751 2003-09-07 Angus Leeming <leeming@lyx.org>
5753 * LaTeXFeatures.h: remove #include "support/types.h".
5754 * ToolbarBackend.h: remove #include <algorithm>.
5755 * changes.h: remove #include <ctime>.
5756 * debug.h: remove #include <iosfwd>.
5757 * graph.h: remove #include "support/std_string.h".
5758 * lyx_main.h: remove #include <csignal>.
5759 * lyxlex_pimpl.h: remove #include <fstream>.
5760 * sgml.h: remove #include <algorithm>, <utility>.
5761 * toc.h: remove #include "support/std_ostream.h".
5762 Add #include <iosfwd>.
5764 2003-09-07 Angus Leeming <leeming@lyx.org>
5766 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5768 * converter.h: forward declare LatexRunParams.
5769 * encoding.h: remove #include "lyxrc.h".
5770 * lyxtext.h: remove #include "LColor.h".
5771 * lyxtextclass.h: remove #include "support/types.h".
5772 * trans.h: remove #include "tex-accent.h".
5773 * trans_mgr.h: remove #include "tex-accent.h".
5774 * insets/inset.h: remove #include "support/types.h", <vector>.
5775 * insets/insetcollapsable.h: remove #include "LColor.h".
5776 * insets/insetinclude.h: remove #include "dimension.h".
5777 * insets/insetlatexaccent.h: remove #include "dimension.h".
5778 * insets/insetoptarg.h:: remove #include "insettext.h".
5779 * insets/insettext.h: remove #include "dimension.h",
5780 <boost/shared_ptr.hpp>
5782 * insets/renderers.h: add #include "dimension.h".
5783 * insets/updatableinset.h: add #include "support/types.h".
5785 * many .C files: Associated changes.
5787 2003-09-06 Angus Leeming <leeming@lyx.org>
5789 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5790 one, inside testInvariant.
5792 * PrinterParams.C: new file.
5793 * PrinterParams.[Ch]: move the function bodies out of line.
5795 2003-09-06 Angus Leeming <leeming@lyx.org>
5797 * ParagraphParameters.h: forward declare ParameterStruct rather than
5798 including its header file.
5799 (depth): moved out-of-line.
5801 2003-09-06 Angus Leeming <leeming@lyx.org>
5803 * BufferView_pimpl.h:
5806 * lyxfunc.h: forward declare LyXKeySym rather than
5807 #include "frontends/LyXKeySym.h".
5809 * BufferView_pimpl.C:
5812 * lyxfunc.C: associated changes.
5814 2003-09-06 Angus Leeming <leeming@lyx.org>
5816 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5817 As a result, can remove the #include "insets/inset.h" from BufferView.h
5819 2003-09-06 Angus Leeming <leeming@lyx.org>
5821 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5822 As a result, can remove the #include "insets/inset.h" from BufferView.h
5824 2003-09-06 Angus Leeming <leeming@lyx.org>
5830 * bufferview_funcs.C:
5831 * BufferView_pimpl.C:
5836 * ParagraphParameters.C:
5841 * frontends/controllers/ControlDocument.C:
5842 * insets/insetcaption.C: rearrange the #includes into some sort of
5845 * buffer.h: remove #includes ErrorList.h, undo.h
5847 2003-09-06 Angus Leeming <leeming@lyx.org>
5849 * support/types.h: add a 'depth_type' typedef, used to store the
5850 nesting depth of a paragraph.
5853 * ParameterStruct.h: use this lyx::depth_type typedef rather than
5854 defining explicitly.
5857 * paragraph_funcs.h:
5858 * ParagraphParameters.h:
5859 * sgml.h: use lyx::depth_type rather than Paragraph or
5860 ParameterStruct's depth_type.
5863 * paragraph_funcs.h: no need to #include paragraph.h anymore.
5866 * BufferView_pimpl.C:
5868 * ParagraphParameters.C:
5871 * bufferview_funcs.C:
5878 * frontends/LyXView.C:
5879 * frontends/controllers/ControlDocument.C:
5880 * frontends/controllers/ControlErrorList.C:
5881 * insets/insetbibitem.C:
5882 * insets/insetbranch.C:
5883 * insets/insetcaption.C:
5884 * insets/insetcollapsable.C:
5885 * insets/insetenv.C:
5886 * insets/insetert.C:
5887 * insets/insetfloat.C:
5888 * insets/insetfoot.C:
5889 * insets/insetfootlike.C:
5890 * insets/insetnewline.C:
5891 * insets/insetquotes.C:
5892 * insets/insettabular.C:
5893 * insets/insettext.C:
5894 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5896 * frontends/controllers/ControlChanges.C: #include "changes.h".
5898 2003-09-06 Angus Leeming <leeming@lyx.org>
5900 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5901 than #including paragraph.h.
5904 * RowList.h: deleted. Superfluous.
5914 * insets/insettext.h: use ParagraphList_fwd.h rather than
5917 * paragraph.h: don't forward declare ParagraphList.
5920 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5921 rather than ParagraphList.h. paragraph.h is still needed for the
5922 Paragraph::depth_type parameters.
5924 * textcursor.h: enable it to compile stand-alone in light of the
5927 * bufferview_funcs.C:
5939 * frontends/controllers/ControlParagraph.C:
5940 * frontends/controllers/ControlTabular.C:
5941 * insets/insetmarginal.C:
5942 * insets/insetminipage.C:
5943 * insets/insetnote.C:
5944 * insets/insetoptarg.C: add header files needed to compile again.
5946 2003-09-06 Angus Leeming <leeming@lyx.org>
5948 * RowList_fwd.h: new file, forward-declaring Row rather than
5949 #including lyxrow.h.
5954 * insets/insettext.h: use it instead of RowList.h
5956 * bufferview_funcs.C:
5963 * text3.C: #include "RowList.h".
5965 2003-09-05 Angus Leeming <leeming@lyx.org>
5967 * factory.C (createInset):
5968 * vspace.C (c-tor): replace sscanf call with an istringstream.
5969 * ispell.C: re-add missing HP/UX headers.
5970 * lyxserver.C: re-add missing os2 headers.
5972 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
5981 * text3.C: re-add missing system headers, needed for 2.95.2.
5983 2003-09-05 Angus Leeming <leeming@lyx.org>
5985 Changes most place everywhere due to the removal of using directives
5986 from support/std_sstream.h.
5988 2003-09-05 Angus Leeming <leeming@lyx.org>
5990 Replace LString.h with support/std_string.h,
5991 Lsstream.h with support/std_sstream.h,
5992 support/LIstream.h with support/std_istream.h,
5993 support/LOstream.h with support/std_ostream.h.
5995 Changes resulting throughout the tree.
5997 2003-09-05 Angus Leeming <leeming@lyx.org>
5999 * sgml.h: ensure that the header file can be compiled stand-alone.
6000 * *.C: strip out redundant #includes. (320 in total.)
6002 2003-09-04 Angus Leeming <leeming@lyx.org>
6004 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
6005 here (from getPackages).
6007 * debug.[Ch]: add a new EXTERNAL tag.
6009 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6011 * text2.C (cursorEnd): simplify
6013 (getColumnNearX): adjust
6015 * text.C (computeBidiTables): adjust
6018 * rowpainter.C (paintChars): adjust
6019 (paintSelection): adjust
6020 (paintChangeBar): adjust
6023 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
6025 (numberOfSeparators): adjust
6027 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
6033 * text3.C: Restricts the mouse click functionality
6034 of insets like bibtex, include, toc and floatlist to the visible
6035 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
6036 up the dialogs. Cursor has to be in front of the inset (i.e.
6037 start of row) for this to function.
6039 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6041 * bufferview_funcs.C (currentState): output row information
6043 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6045 * bufferview_funcs.C (currentState): output paragraph position
6047 2003-09-04 Angus Leeming <leeming@lyx.org>
6049 * FloatList.h: move out #include "Floating.h".
6050 * LaTeX.h: move out #include "DepTable.h".
6051 * LyXAction.h: move out #include "funcrequest.h".
6052 * buffer.h: move out #include "author.h", "iterators.h".
6053 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
6054 * lyx_main.h: move out #include "errorlist.h".
6055 * lyxfunc.h: move out #include "FuncStatus.h".
6056 * lyxtext: move out #include "lyxcursor.h".
6057 * paragraph_pimpl.h: move out #include "counters.h".
6059 2003-09-03 Angus Leeming <leeming@lyx.org>
6061 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
6062 preamble_snippets list, enabling us to add snippets to the preamble
6063 only if the snippet was not there already.
6065 2003-09-04 Angus Leeming <leeming@lyx.org>
6067 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
6069 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6071 * lyxfunc.C (dispatch): if fitCursor did something be sure to
6074 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
6076 * BranchList.C: point fix, earlier forgotten
6078 2003-09-02 Angus Leeming <leeming@lyx.org>
6080 * box.C (contains): renamed from 'contained' after a fantastic
6083 2003-09-02 John Levon <levon@movementarian.org>
6089 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
6091 2003-09-02 John Levon <levon@movementarian.org>
6093 * text2.C: simplification of cursorEnd(), including partial
6096 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6098 * buffer.C (readFile): add a space
6100 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
6102 * BufferView_pimpl.C (update): remove bogus fitCursor() call
6104 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6106 * buffer.C (readFile): new function, take a filename and a
6107 ParagraphList::iterator
6109 (readFile): adjust, make it private. don't use setStream, make
6110 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
6111 always contain the filename.
6113 * BufferView.C (insertLyXFile): simplify and make it work for
6116 2003-08-30 John Levon <levon@movementarian.org>
6118 * Makefile.am: fix dist (from Kayvan)
6120 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6122 * most files: change to use const Buffer refs
6124 2003-08-27 André Pönitz <poenitz@gmx.net>
6126 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
6127 on top of ownerPar().
6129 2003-08-27 John Levon <levon@movementarian.org>
6131 * funcrequest.C: properly initialise POD members
6133 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
6135 * lyxtext.h (top_y): move top_y from here
6140 * BufferView_pimpl.[Ch]: to here
6141 * frontends/screen.C:
6142 * insets/insettabular.C:
6143 * insets/insettext.C: adjust
6144 * rowpainter.[Ch] (paintRows): remove LyXText & argument
6146 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
6149 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
6151 2003-08-26 André Pönitz <poenitz@gmx.net>
6153 * paragraph_func.[Ch] (outerPar): new function
6156 * paragraph_funcs.C:
6157 * paragraph_funcs.h:
6158 * paragraph_pimpl.C:
6159 * text2.C: remove Inset::par_owner
6161 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
6166 * text2.C: eliminates the needFullRow/display() stuff
6167 altogether, putting the logic in metrics/draw in the insets.
6169 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
6171 * text2.C (redoParagraphInternal, redoParagraphs):
6172 * text.C (redoParagraph): add a call to updateRowPositions at the
6173 end of each 'metrics-like' call. Remove all others.
6174 (getRow): remove the 'y-computing' version.
6175 (getRowNearY): do not compute nor return the real y. Solve the
6176 'y < 0' problem and simplify.
6178 2003-08-22 Angus Leeming <leeming@lyx.org>
6180 * *.[Ch]: clean-up of licence and author blurbs.
6181 Also move config.h out of a few .h files and into a few .C files.
6183 2003-08-22 André Pönitz <poenitz@gmx.net>
6185 * lyxrow.[Ch]: add x_ and *fill_ members
6190 * text2.C: adjust/remove prepareToPrint() calls
6192 2003-08-22 André Pönitz <poenitz@gmx.net>
6194 * lyxrow.[Ch]: add end_ member
6196 * lyxrow_funcs.C: use LyXRow::end_
6198 * lyxtext.h (singleWidth): add LyXFont parameter
6201 * text2.C: adjust LyXText::singleWidth() calls
6203 * text.C (redoParagraph): simplify row breaking logic
6206 2003-08-19 André Pönitz <poenitz@gmx.net>
6208 * funcrequest.C: initialize button_ member
6211 * rowpainter.[Ch]: interface consolidation
6213 2003-08-18 André Pönitz <poenitz@gmx.net>
6216 * BufferView_pimpl.C:
6218 * paragraph_funcs.C:
6220 * text3.C: remove LyXScreen::draw() and fitCursor calls
6222 * BranchList.h: remove spurious semicolons
6224 * MenuBackend.C: fix branchlist related crash
6226 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
6234 * bufferparams.[Ch]:
6238 * text3.C: implements the 'branch inset'
6239 idea. This allows the output of various versions of a document
6240 from a single source version, selectively outputing or suppressing
6241 output of parts of the text.
6242 This implementation contains a 'branch list editor' in a separate
6243 tab of the document settings dialog. Branches are user definable
6244 and have a "display colour" to distinguish them on-screen.
6246 ColorHandler was somewhat cleaned up.
6247 (1) make possible a dynamically growing LColor list by allowing
6248 the graphic context cache to grow along (vector);
6249 (2) eliminate an IMHO unnecessary step in colour allocation.
6251 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
6253 * BufferView_pimpl.C: compile fix
6255 2003-08-15 André Pönitz <poenitz@gmx.net>
6257 * rowpainter.C: remove extra metrics calls
6259 * lyxtext.h: merge the two constructors into a single one,
6260 pass reference to owner's par list
6262 * BufferView_pimpl.C:
6266 2003-08-15 André Pönitz <poenitz@gmx.net>
6268 * lyxrow_funcs.[Ch]:
6271 * paragraph_funcs.C:
6276 * text_funcs.C: split LyXText::rowlist_ into individual
6277 Paragraph::rows_ chunks
6280 * BufferView_pimpl.[Ch]:
6283 * text3.C: remove toggleSelection()
6285 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
6287 * bufferlist.C: beautify two alerts (shorter text of buttons)
6288 * buffer.C: Remove redundant ' ' from message
6290 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6291 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6292 rename VALIGN_CENTER to VALIGN_MIDDLE
6294 2003-08-11 André Pönitz <poenitz@gmx.net>
6296 * lyxtext.h (getPar):
6297 * text.C: new function
6299 2003-08-11 André Pönitz <poenitz@gmx.net>
6302 * tracer.[Ch]: remove unneeded files
6304 * InsetList.[Ch]: remove resizeInsetsLyXText()
6309 * text3.C: merge insertParagraphs() and appendParagraph()
6310 remove breakAgain(), update()
6312 * BufferView_pimpl.[Ch]:
6313 * bufferview_funcs.[Ch]:
6317 * tabular.C: adjust after text & InsetList changes.
6319 2003-08-08 André Pönitz <poenitz@gmx.net>
6321 * text.C (insertChar, backspace): replace rowlist fiddling
6322 with rebreak of full par
6325 * text.C (breakAgainOneRow, redoHeightOfParagraph,
6326 checkParagraph, updateInset): removed
6328 2003-08-07 André Pönitz <poenitz@gmx.net>
6331 * text3.C: merge some LFUN handlers, remove dead code
6333 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6335 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6337 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
6339 * text2.C (DEPM): fix part of bug 1255 and 1256
6341 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6343 * BufferView_pimpl.C (workAreaDispatch): change to use
6344 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6345 that are no mouse related.
6347 2003-08-05 André Pönitz <poenitz@gmx.net>
6350 * BufferView_pimpl.[Ch]:
6351 * bufferview_funcs.C:
6353 * text3.C: rip out "deep update"
6355 * textcursor.[Ch] (last_sel_cursor): remove unused member
6357 2003-08-04 André Pönitz <poenitz@gmx.net>
6360 * BufferView_pimpl.[Ch]:
6361 * ParagraphParameters.C:
6362 * bufferview_funcs.C:
6368 * text3.C: replace "complicated" BufferView::update(...) calls with
6371 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6373 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
6375 * Makefile.am (lyx_SOURCES): add paper.h
6377 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6379 * Makefile.am: move things around so that both lyx-qt and
6380 lyx-xforms can be built (according to --with-frontend). Then lyx
6381 is a symbolic link to lyx-[firstfrontend]
6383 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
6385 * Always use std::endl with lyxerr
6387 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
6389 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6391 2003-08-01 André Pönitz <poenitz@gmx.net>
6394 * BufferView_pimpl.[Ch]:
6396 * text3.C: merge BufferView::repaint() and BufferView::update()
6398 2003-08-01 José Matos <jamatos@lyx.org>
6400 * buffer.[Ch]: file_format is no longer a buffer data element.
6402 2003-08-01 André Pönitz <poenitz@gmx.net>
6407 * text2.C: make redoParagraph more independent of current cursor
6409 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6411 * text2.C: remove unneeded members
6413 2003-07-30 André Pönitz <poenitz@gmx.net>
6415 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6417 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6418 create a single function...
6420 * paragraph_funcs.C (moveItem): ... here.
6423 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6425 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6427 * LColor.[Ch]: Add comment and greyedout logical colors.
6429 2003-07-30 André Pönitz <poenitz@gmx.net>
6431 * tabular.C: don't use Assert too heavily. This crashes where it
6434 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
6436 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6437 is disabled (bug 1232)
6439 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6441 * factory.C: limited 'arg' scope
6443 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6445 * factory.C: fixed Note submenu issues
6447 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6449 * factory.C: submenu for Note/Comment/Greyedout
6451 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
6454 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6456 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
6459 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6460 greyedout. Patch provided by Jürgen Spitzmüller.
6462 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6464 * kbmap.C (read): fix error message when reading bind files
6466 2003-07-29 Angus Leeming <leeming@lyx.org>
6468 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6469 certainly does not do what it purports to do. I am doing it, and
6470 us, a favour by killing it.
6472 2003-07-28 José Matos <jamatos@lyx.org>
6474 * buffer.C (readBody, do_writeFile):
6475 * paragraph.C(readParagraph): \end_document replaces \the_end.
6477 2003-07-29 André Pönitz <poenitz@gmx.net>
6480 * BufferView_pimpl.[Ch]:
6484 * textcursor.[Ch]: remove toggleToggle & Co
6486 2003-07-28 José Matos <jamatos@fep.up.pt>
6488 * buffer.C (readParagraph):
6489 * params_func (readParToken, readParagraph):
6490 * paragraph.C (write): \layout -> \begin_layout.
6492 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6494 * lyxlex_pimpl.C (setFile): clean up slightly.
6496 * bufferparams.h: add compressed var
6498 * buffer_funcs.C (readFile): adjust for LyXLex change
6499 (newFile): ditto + simplify
6501 * buffer.C (writeFile): handle writing of compressed files
6503 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6504 Check if the file is compressed and set a bufferparm if so.
6506 * Makefile.am (lyx_LDADD): remove explicit -lz
6508 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6510 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6511 makeDocBookFile): put the real LyX version in the first line of
6515 * version.C.in: remove lyx_docversion
6517 * tabular.C (write_attribute): add a template-based version to
6518 write enums properly
6520 2003-07-28 André Pönitz <poenitz@gmx.net>
6525 * text3.C: use doubles again for x-coordinates. They are needed.
6527 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6529 * messages.C (getLocaleDir): use lyx_localedir()
6531 * lyxlex_pimpl.C (setFile): compress stuff
6533 * buffer.C (writeFile): add some compression stuff
6534 (do_writeFile): new func, dont call expliti close... will this
6537 * Makefile.am (lyx_LDADD): add -lz
6539 2003-07-28 José Matos <jamatos@fep.up.pt>
6541 * buffer.C: increment file format.
6542 * paragraph_funcs (readParagraph, readParToken):
6543 * paragraph.C (readParagraph): add \end_layout.
6545 2003-07-27 Angus Leeming <leeming@lyx.org>
6547 * Makefile.am: remove special casing for configure-time setting of
6548 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6550 * lyx_main.C (init): remove all Jean-Marc's magic setting of
6551 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6553 2003-07-26 André Pönitz <poenitz@gmx.net>
6555 * paragraph_func.[Ch]:
6556 * paragraph.C (realizeFont): inline it whereever it is used
6561 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6564 2003-07-26 André Pönitz <poenitz@gmx.net>
6568 * text2.C: get rid of LyXText::need_break_row
6570 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6572 * toc.[Ch]: put namespace toc inside namespace lyx
6574 * MenuBackend.C (expandToc2): adjust for lyx::toc
6577 * lyxfunc.C (dispatch): adjust for lyx::find
6579 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6580 lyx::find instead. Reorganize a bit.
6581 (LyXReplace): rename to replace
6582 (LyXFind): rename to find
6584 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6587 2003-07-26 André Pönitz <poenitz@gmx.net>
6589 * text.C (setHeightOfRow): restrict scope of temporary variable
6591 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
6592 code (never has been used?)
6594 2003-07-27 Asger Alstrup <alstrup@local>
6596 * text.C (fill): Optimise algorithm to exploit that we can reuse
6597 the LyXFont for many characters.
6598 (setHeightOfRow): Same thing.
6599 (rowBreakPoint): Same thing.
6601 2003-07-26 Asger Alstrup <alstrup@local>
6603 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6605 * text.C (singleWidth): Spurious font copying in hot-spot
6606 singleWidth avoided. Reorder tests for arabic for efficiency.
6608 * text.C (fill): handle empty paragraphs better.
6610 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6613 * encoding.h: add includes
6615 * lyxrc.C: remove reading of bind files
6617 * lyx_main.C (init): setup bindings and menus only if we have a
6620 * kbmap.C (read): new method. Do the actual reading of bind
6623 * converter.C (dvipdfm_options):
6626 (output): adapt PAPER_* enums.
6628 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6630 * bufferparams.h: remove paper-related enums from there
6632 * paper.h: New file. A trivial header file to hold paper-related
6633 enums. It should later expand to contain many paper-related
6636 * lyxrc.C: declare extern displayTranslator
6638 2003-07-27 José Matos <jamatos@fep.up.pt>
6640 * tabular.[Ch] (linuxdoc): add support for tables and figures
6643 2003-07-27 José Matos <jamatos@fep.up.pt>
6645 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6646 consistency in both functions.
6647 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6649 2003-07-26 Asger Alstrup <alstrup@local>
6651 * rowpainter.C (paintRows): Change algorithm to work directly on
6652 the insets rather than asking every character in the document
6653 whether its an inset.
6655 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
6657 * buffer.C (openFileWrite): factorize some code
6659 2003-07-26 Angus Leeming <leeming@lyx.org>
6662 * lyx_main.[Ch]: replace occurances of system_tempdir with
6665 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6667 * rename Inset to InsetOld
6669 2003-07-25 Asger Alstrup <alstrup@diku.dk>
6671 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6672 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6673 which I think is a bit clearer. EDIT is gone, since it was
6674 premature optimisation, and broken for mathed anyway.
6675 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6676 with cursor positioning in insets as well (math insets still do not
6677 work, but that's a different story anyway.) It mysteriously
6678 crashes sometimes with undo in the first paragraph, but I'm fairly
6679 confident that this is a compiler bug.
6681 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6683 * paragraph.C (Paragraph): adjust for new clone return type
6685 (copyIntoMinibuffer): ditto
6687 2003-07-25 Asger Alstrup <alstrup@lyx.org>
6689 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6690 by not having a special case, and always doing a full rebreak of
6691 the document after undo.
6693 2003-07-23 Angus Leeming <leeming@lyx.org>
6695 * factory.C (createInset): InsetExternal::setParams now takes a
6698 2003-07-23 Angus Leeming <leeming@lyx.org>
6700 * factory.C (createInset): changed interface to the external and
6701 graphics mailers' string2params functions.
6703 2003-07-23 Angus Leeming <leeming@lyx.org>
6705 * factory.C (createInset): pass a
6706 Buffer const * parameter to InsetExternalMailer's string2params.
6708 2003-07-22 John Levon <levon@movementarian.org>
6710 * Thesaurus.h: include the right aiksaurus header
6712 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6714 * MenuBackend.C (expand): check menu shortcuts unconditionally
6716 2003-07-21 Angus Leeming <leeming@lyx.org>
6718 * factory.C (createInset): pass a
6719 buffer_path parameter to InsetGraphicsMailer's string2params.
6721 2003-07-21 Angus Leeming <leeming@lyx.org>
6723 * BufferView_pimpl.C (buffer):
6726 * lyxfunc.C (dispatch):
6727 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6728 rather than the grfx shortcut.
6730 2003-07-21 André Pönitz <poenitz@gmx.net>
6732 * rowpainter.C: remove unused variables
6735 * tabular_funcs.h: move to tabular.C
6736 * Makefile.am: adjust
6738 * tabular.[Ch]: basic optical cleaning
6740 * author.h: pass references, not values
6742 2003-07-18 André Pönitz <poenitz@gmx.net>
6750 * text3.C: two-phase drawing for InsetText and InsetTabular
6751 some float -> int changes.
6753 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6755 * lyx_main.C: fix the fix
6757 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6759 * lyx_main.C: fix a crash in batch mode if no files specified
6762 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
6764 * format.[Ch] (papersize): moved to BufferParams
6765 * converter.[Ch] (dvips_options): moved to BufferParams
6766 (dvipdfm_options): moved to anon namespace
6767 * bufferparams.[Ch]: added above functions.
6769 2003-07-17 André Pönitz <poenitz@gmx.net>
6773 * text2.C: don't call inset->update() anymore
6775 * metricsinfo.[Ch]: add convenience constructor
6777 2003-07-16 André Pönitz <poenitz@gmx.net>
6782 * text2.C: replace the LyXCursor::irow_ member with
6783 on-demand computation of the value
6785 2003-07-16 John Levon <levon@movementarian.org>
6787 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6789 2003-07-15 André Pönitz <poenitz@gmx.net>
6792 * text2.C: remove no more needed refresh_row
6794 2003-07-15 André Pönitz <poenitz@gmx.net>
6799 * text3.C: refresh_status tristate -> need_update bool
6801 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
6803 * lyxtext.h (init): remove reinit argument (act as if always true)
6804 * text2.C: adjust to that
6806 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6808 * bufferview_funcs.[Ch]: introduce function replaceSelection()
6809 * text3.C: use it to delete selections in some cases
6810 (bugs 441, 673, 702, 954).
6812 2003-07-14 André Pönitz <poenitz@gmx.net>
6814 * rowpainter.[Ch]: reduce interface
6816 2003-07-14 André Pönitz <poenitz@gmx.net>
6818 * BufferView_pimpl.C:
6819 * text2.C: adjust after removing unused BufferView * argument
6821 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
6823 * text2.C (init): fix a crash fired on resize
6825 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
6827 * buffer.[Ch]: added new closing signal
6828 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6829 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6830 BufferView::Pimpl via the closing the signal
6832 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
6834 * buffer.[Ch]: take out all bv-related from buffer
6836 * BufferView_pimpl.[Ch]: connect to new signals
6837 * CutAndPaste.C: removed useless asserts
6838 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6841 * lyxfunc.C: moved view-related funciontality from vc here
6842 * paragraph.C: removed outdated comments
6845 2003-07-10 André Pönitz <poenitz@gmx.net>
6847 * BufferView_pimpl.C:
6851 * text2.C: remove InsetText::InnerCache, clean up consequences
6853 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
6855 * ispell.C: fix two typos in error messages
6857 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
6859 * Extend Note inset to other forms of annotation like Comment
6860 and Greyedout. Right button click gives dialog.
6862 Files modified or added (+):
6866 * ControlNote.[Ch] +
6868 * Makefile.am in frontends/xforms, frontends/xforms/forms,
6869 frontends/controllers
6873 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6875 * aspell.C: add missing namespace lyx::support
6877 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
6879 * BufferView.[Ch] (newFile): Add
6880 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6881 * LaTeX.[Ch] (message): added this signal and use it
6882 * buffer.[Ch] (busy, message): added these signals and use them
6883 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6887 * importer.C: use buffer signals instead of direct bv calling
6888 * lyx_cb.[Ch] (ShowMessage): removed
6891 * paragraph_funcs.C:
6892 * text2.C: use buffer signals
6894 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6896 * introduce namespace lyx::graphics
6898 2003-07-02 André Pönitz <poenitz@gmx.net>
6900 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6902 2003-07-01 André Pönitz <poenitz@gmx.net>
6909 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6910 text*.C to text_func.C
6912 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6914 * introduce namespace lyx::support
6916 2003-06-30 André Pönitz <poenitz@gmx.net>
6921 * text.C: re-enable --with-included-string
6923 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6925 * textcursor.C: add <config.h>
6927 * text.C (getWord): remove const from word_location arg
6929 * lyxvc.C (getLogFile): fix const type order
6931 * lyxtext.h: remove const from word_location arg, add arg name
6933 * lyxlayout.h: currect type on labeltype.
6935 * importer.C: correct \file
6937 * converter.C (intToFormat): use std:: on ret val, ws changes
6939 * bufferlist.h: correct \file
6941 * buffer.C (makeLinuxDocFile): fix const type order
6942 (makeDocBookFile): ditto
6943 (fillWithBibKeys): use std:: on stdlib args.
6945 * CutAndPaste.C: fix authors.
6946 (availableSelections): use std:: on return vector
6948 2003-06-27 André Pönitz <poenitz@gmx.net>
6950 * BufferView_pimpl.C:
6951 * bufferview_funcs.C:
6959 * text3.C: remove LyXCursor::row_ member
6962 * text.C: rename fullRebreak() to partialRebreak() and implement
6963 a fullRebreak() that really bereks fully
6965 * textcursor.h: new struct for cursor-related data
6967 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
6969 * lyx_main.C (LyX): get full path of document loaded on the
6972 2003-06-26 André Pönitz <poenitz@gmx.net>
6974 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6975 remove unused/broken operator>,<,>=.
6977 * text.C: remove only use of broken operator<= in an Assert().
6979 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
6981 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6982 moved errorlist_.clear to showErrorList
6984 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
6986 * converter.C (scanLog, runLaTeX):
6987 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
6988 move the bv->showErrorList call to the callers
6989 * lyxfunc.C: i.e. here...
6991 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6992 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6993 namespace, the second to...
6994 * buffer_funcs (BufferFormat, parseErrors): added
6995 * errorlist.C (ErrorList(TeXErrors const &)): removed
6997 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6999 * ToolbarBackend.C (getIcon): complain when icon cannot be found
7001 2003-06-24 "Garst R. Reese" <reese@isn.net>
7005 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7007 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
7009 * version.C.in: change docversion to 1.4
7011 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
7013 * buffer.C: fix a bug just introduced
7015 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
7017 * buffer.[Ch]: added the parseError signal and use it, removed
7019 * BufferView.[Ch] (addError): moved to ...
7020 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
7021 to the Buffer::parseError signal to catch (guess what) parse errors
7022 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
7024 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
7026 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
7027 ability to create a buffer and to return an existing one from
7028 the list. Moved these functions to...
7029 * buffer_funcs.[Ch]: added
7030 * BufferView.[Ch] (loadLyXFile): added
7031 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
7032 job removed from bufferlist::loadLyXFile.
7033 * buffer.C (setReadOnly): make it work without view
7034 (i.e added an if (users))
7036 2003-06-19 Angus Leeming <leeming@lyx.org>
7039 * LyXAction.C (init):
7040 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
7041 with LFUN_DIALOG_SHOW <name> <data>.
7043 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7045 * CutAndPaste.C (availableSelections): small compilation fix for
7046 ancient (gcc 2.9x) compilers
7048 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
7050 * text3.C (cursorNext): add tmp var
7052 * text2.C (updateCounters): for function calling out of for clause
7053 (replaceSelectionWithString): ditto
7054 (insertStringAsParagraphs): ditto
7055 (getColumnNearX): add tmp var
7056 (setCursorFromCoordinates): add tmp var
7057 (cursorDownParagraph): add tmp var
7058 (deleteEmptyParagraphMechanism): add tmp var
7060 * text.C (insertChar): add tmp var
7062 * rowpainter.C (paintDepthBar): add tmp var
7064 * CutAndPaste.C (availableSelections): potentially check all
7065 paragraphs in a cut to fill the shown strings.
7067 2003-06-18 André Pönitz <poenitz@gmx.net>
7069 * kbmap.[Ch]: use vector<> instead of list<>
7071 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
7073 * text3.C (dispatch): handle arg to LFUN_PASTE, call
7074 pasteSelection with index
7076 * text2.C (pasteSelection): modify, call pasteSelection with index
7078 * paragraph.C (asString): reimplement version with no interval to
7079 call the one with interval.
7081 * lyxtext.h: add index arg to pasteSelection
7083 * MenuBackend.C (MenuItem): handle PasteRecent
7084 (Menu::read::Menutags): add md_pasterecent
7086 (expandPasteRecent): new function
7089 * MenuBackend.h: add PasteRecent to MenuItem::Kind
7091 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
7093 (availableSelections): new function
7095 2003-06-17 Angus Leeming <leeming@lyx.org>
7097 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
7099 2003-06-17 Angus Leeming <leeming@lyx.org>
7102 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
7104 * lyxfunc.C (dispatch): invoke it.
7106 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7108 * iterators.C (operator++, ParPosition): reintroduce some
7109 const_cast for the benefit of older compilers.
7111 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7113 * text3.C (dispatch): do not modify clipboard when doing
7114 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
7115 LFUN_DELETE_SKIP on a selection selection
7117 2003-06-16 André Pönitz <poenitz@gmx.net>
7123 * tabular.[Ch]: IU of clone() and getLabelList();
7125 2003-06-13 André Pönitz <poenitz@gmx.net>
7127 * tabular.h: compactification
7129 2003-06-12 André Pönitz <poenitz@gmx.net>
7133 * tabular_funcs.h: some renaming plus whitespace
7135 2003-06-12 André Pönitz <poenitz@gmx.net>
7138 * BufferView_pimpl.C:
7144 * toc.C: Return a Paragraph & for ParIterator::operator*()
7146 2003-06-11 John Levon <levon@movementarian.org>
7150 * ToolbarBackend.C: add "Toolbars" section and
7153 2003-06-10 Angus Leeming <leeming@lyx.org>
7156 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
7158 * lyxfunc.C (dispatch): invoke it.
7160 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7162 * main.C: protect <ios> with HAVE_IOS
7163 (main): protect sync_with_stdio with HAVE_IOS
7165 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
7167 * text2.C (cutSelection): adjust
7168 (pasteSelection): adjust
7170 * messages.C: handle get of empty string
7172 * main.C (main): use sync_with_stdio(false)
7174 * lyxfunc.C (dispatch): adjust
7176 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
7177 (WriteAs): remove unneeded BufferView arg.
7179 * bufferparams.h: use correct types on papersize, papersize2 and
7182 * bufferparams.C (readToken): adjust for type
7183 (writeLaTeX): add missing cases to switch.
7185 * bufferlist.C (quitWriteBuffer): adjust
7188 * buffer.C (asciiParagraph): remove some commented code.
7190 * CutAndPaste.C: remove current_view extern variable.
7191 (cutSelection): add BufferParams arg.
7192 (eraseSelection): add BufferParams arg.
7193 (pasteSelection): add Buffer const & arg
7195 2003-06-07 John Levon <levon@movementarian.org>
7198 * paragraph_funcs.C:
7199 * paragraph_pimpl.C:
7203 * paragraph.C: allow InsetERT to freely space lines,
7204 and some consolidation of code
7206 2003-06-06 José Matos <jamatos@fep.up.pt>
7208 * buffer.C (makeDocBookFile): fix bug #821
7210 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
7212 * BufferView_pimpl.C (dispatch): use Dialogs::visible
7214 2003-06-04 Angus Leeming <leeming@lyx.org>
7216 * buffer.C: bump format to 224.
7218 2003-06-05 André Pönitz <poenitz@gmx.net>
7220 * text2.C (redoParagraphs): remove two const_cast<>
7222 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
7224 * ParagraphList.h: remove last remnants of NO_STD_LIST
7226 2003-06-03 Angus Leeming <leeming@lyx.org>
7228 * factory.C (createInset): small change to the way InsetExternal's params
7231 2003-06-04 André Pönitz <poenitz@gmx.net>
7233 * buffer.h: use Undo directly instead of shared_ptr<Undo>
7235 * paragraph_pimpl.h:
7236 * paragraph.[Ch]: some Inset -> UpdatableInset changes
7238 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
7240 * undo_funcs.C: make some simple cases of undo work again
7242 2003-06-03 John Levon <levon@movementarian.org>
7244 * ispell.C: HPUX doesn't have sys/select.h
7247 2003-06-03 John Levon <levon@movementarian.org>
7249 * CutAndPaste.C: update tabular and include inset
7254 * paragraph.C: remove owningBuffer(), don't pass Buffer
7257 * factory.C: insetGraphicsParams changed
7259 2003-06-02 John Levon <levon@movementarian.org>
7265 * text3.C: remove insetparent
7267 2003-06-02 John Levon <levon@movementarian.org>
7270 * buffer.C: fix inset_iterator.end(), move out of line
7273 2003-06-01 John Levon <levon@movementarian.org>
7275 * text3.C: use a proper cut/paste when doing inset
7276 insert (from Jürgen Spitzmüller)
7278 2003-06-01 John Levon <levon@movementarian.org>
7280 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7282 2003-05-30 André Pönitz <poenitz@gmx.net>
7284 * rowpainter.C: unify second drawing phase
7286 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7288 * trans_mgr.C: remove one case of current_view
7290 * text2.C (cursorBottom): delete NO_STD_LIST stuff
7292 * paragraph_funcs.h: remove paragraph.h include
7294 * paragraph.h: delete NO_STD_LIST stuff
7296 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7298 * buffer.h: remove paragraph.h include
7300 * ParagraphList.C: delete file
7302 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7304 * toc.C (getTocList): adjust
7306 * paragraph_pimpl.C (validate): adjust
7308 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7310 * paragraph.C (Paragraph): adjust
7311 (getPositionOfInset): use const_iterator, adjust
7312 (bibitem): use const_iterator, adjust
7313 (setInsetOwner): adjust
7315 * iterators.C (operator++): adjust
7317 * InsetList.[Ch]: Replace selfmade iterator with standard
7318 vector::iterator also introduce const_iterator. Remove getPos,
7319 getInset and setInset from InsetTable. Adjust accordingly.
7321 * BufferView.C (lockInset): adjust
7322 (ChangeInsets): adjust
7324 * tabular.[Ch]: delete commented same_id functions
7326 2003-05-28 John Levon <levon@movementarian.org>
7328 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7330 2003-05-28 André Pönitz <poenitz@gmx.net>
7332 * metricsinfo.[Ch]: remove 'fullredraw' member
7334 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
7336 * lyxtextclass.C (operator): remove caching.
7338 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7342 * text2.C (cursorBottom): adjust
7343 (setCounter): use ParagraphList::find, adjust
7345 * text.C (workWidth): use ParagraphList::find, adjust
7347 * lyxcursor.C (LyXCursor): adjust
7349 * buffer.C (inset_iterator): adjust
7351 * ParagraphList.h: make iterator(value_type) private, make
7352 ParagraphList a friend of iterator.
7354 * ParagraphList.C (find): new function
7356 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7358 2003-05-27 André Pönitz <poenitz@gmx.net>
7360 * dimension.[Ch]: a -> asc, d -> des, w -> wid
7362 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7364 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7366 2003-05-26 John Levon <levon@movementarian.org>
7368 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7370 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
7372 * remove same_id from function signatures, adjust.
7374 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7376 * undo_funcs.C (createUndo): use the id functions directly, adjust.
7378 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7380 * paragraph.C (Paragraph): get rid of same_ids parameter
7382 * ParagraphList.C (insert): adjust
7385 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7387 * paragraph_funcs.C (breakParagraph): adjust
7388 (breakParagraphConservative): adjust
7390 * buffer.C (readParagraph): adjust
7392 * ParagraphList.C (insert): take a reference instead of a pointer
7395 * paragraph.[Ch] (id): new function
7397 * bufferlist.C (newFile): adjust
7399 * ParagraphList.C (ParagraphList): adjust
7401 (push_back): take a reference instead of a pointer.
7403 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7405 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7408 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7409 set else use old code.
7411 * ParagraphList.C: remove all NO_NEXT code and only compile this
7412 code of NO_STD_LIST is set.
7414 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7416 * BufferView_pimpl.C:
7426 * graphics/GraphicsConverter.C:
7427 * graphics/PreviewLoader.C: header adjustment
7429 2003-05-23 Angus Leeming <leeming@lyx.org>
7431 * LaTeXFeatures.[Ch] (useBabel): new method.
7432 * bufferparams.C (writeLaTeX): use it.
7434 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7436 * ParagraphList.h (set): remove unused function.
7438 2003-05-23 André Pönitz <poenitz@gmx.net>
7441 * BufferView_pimpl.C:
7445 * undo_funcs.C: setUndo reworked
7447 * iterators.[Ch]: add access to topmost ParagraphList
7449 * lyxtext.[Ch] (workWidth): add a const
7451 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7453 * texrow.[Ch] (increasePos): remove function
7454 * exporter.C (export): removed unused var and outdated comment
7456 2003-05-23 Angus Leeming <leeming@lyx.org>
7458 * latexrunparams.h: rename fragile as moving_arg.
7459 * paragraph.C (simpleTeXOnePar): ditto.
7460 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7462 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7464 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7466 (textUndoOrRedo): comment out a currently unused var.
7468 * paragraph.h (NO_NEXT): enable NO_NEXT
7470 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7472 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7474 * exporter.C (Export): adjust for removeAutoInsets removal.
7476 * buffer.C (runChktex): adjust for removeAutoInsets removal.
7478 * LyXAction.C (init): remove LFUN_REMOVEERRORS
7480 * BufferView.[Ch] (removeAutoInsets): delete function
7482 2003-05-22 Angus Leeming <leeming@lyx.org>
7484 * latexrunparams.h: add a free_spacing variable.
7486 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7487 to pass moving_arg, as the data is stored in runparams.fragile.
7489 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7490 to Inset::latexOptional or to simpleTeXOnePar.
7492 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7493 free_spacing arg to Inset::latexOptional.
7495 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7498 2003-05-22 Angus Leeming <leeming@lyx.org>
7500 * latexrunparams.h: add fragile and use_babel variables.
7502 * bufferparams.[Ch] (writeLaTeX): return use_babel.
7503 * buffer.C (makeLaTeXFile): store this returned value in
7504 runparams.use_babel, thus passing it to the inset::latex methods.
7506 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7507 simpleTeXSpecialChars as it is now stored in runparams.fragile.
7509 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7510 longer has a fragile arg, as it is stored in runparams.fragile.
7512 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7513 moving_arg parameter as the data is stored in runparams.fragile.
7515 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7516 a fragile parameter as the data is stored in runparams.fragile.
7518 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7520 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7522 2003-05-22 Angus Leeming <leeming@lyx.org>
7524 * latexrunparams.h: add a 'bool nice' which defaults to false.
7526 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7527 now encapsulated within runparams.
7529 * bufferlist.C (updateIncludedTeXfiles):
7530 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7532 2003-05-22 Angus Leeming <leeming@lyx.org>
7534 * latexrunparams.h: new file containing struct LatexRunParams.
7535 * Makefile.am: add new file.
7537 * LaTeX.[Ch] (c-tor, run):
7538 * buffer.[Ch] (makeLaTeXFile):
7539 * bufferlist.[Ch] (updateIncludedTeXfiles):
7540 * converter.C (convert, scanLog):
7541 * converter.[Ch] (runLaTeX):
7542 * exporter.C (Export):
7543 * paragraph.[Ch] (simpleTeXOnePar):
7544 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7545 * paragraph_funcs.[Ch] (latexParagraphs):
7546 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7547 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7548 pass around a LatexRunParams parameter.
7550 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7552 * paragraph.[Ch]: remove unused constructor
7554 * ParagraphList.C (erase): new function, taking two iterators
7556 2003-05-22 André Pönitz <poenitz@gmx.net>
7558 * undo_funcs.C: remove duplicated code
7560 * iterator.[Ch]: operator=
7562 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7564 * tabular.C (SetMultiColumn): ws changes
7566 * rowpainter.C (paintFirst): get rid of a ->previous
7568 * lyx_cb.C (getPossibleLabel): parlist simplification
7570 * BufferView.C (ChangeInsets): simplify slightly.
7572 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
7574 * LyXAction.C: new lfun space-insert, kill protected-space-insert
7575 * lfuns.h: new LFUN_SPACE
7576 * lyxfunc.C: protected space has a new lfun
7577 * paragraph_funcs.C: read new space insets
7579 * factory.C: handle new space insets
7581 2003-05-22 André Pönitz <poenitz@gmx.net>
7584 * BufferView_pimpl.C:
7587 * undo_funcs.C: return a ParIterator from getParFromID.
7589 * iterators.[Ch]: add two const's
7591 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7593 * toc.C (getTocList): adjust
7595 * iterators.[Ch]: rework for parlist
7597 * buffer.C (par_iterator_begin): adjust
7598 (par_iterator_end): adjust
7600 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7602 * BufferView.C (removeAutoInsets): adjust
7603 (ChangeInsets): adjust
7605 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
7607 * text.C (top_y): fix bug 1110
7609 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
7611 * errorlist.[Ch]: added
7614 * BufferView_pimpl.C:
7615 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7618 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7620 * Makefile.am: ensure that lyx is relinked upon changes to the
7621 various "convenience" libs.
7623 2003-05-20 Angus Leeming <leeming@lyx.org>
7625 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7626 files are compiled in alphabetical order again.
7628 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7630 2003-05-19 Angus Leeming <leeming@lyx.org>
7632 * gettext.[Ch]: remove "char const * _(char const *)".
7634 2003-05-19 André Pönitz <poenitz@gmx.net>
7636 * dimension.[Ch]: promote from mathed/dimension.[Ch]
7645 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7647 2003-05-19 André Pönitz <poenitz@gmx.net>
7651 * lyxtextclass.[Ch]:
7653 * paragraph_funcs.[Ch]:
7655 * text3.C: more insetenv work
7657 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
7659 * ParagraphParameters.C (params2string): small bug fixed
7661 2003-05-16 André Pönitz <poenitz@gmx.net>
7664 * bufferview_funcs.C: patch from Kornel Benko to prevent
7665 crash when _(...) is called twice in a statement
7667 2003-05-16 André Pönitz <poenitz@gmx.net>
7674 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7676 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
7678 * lyx_main.C (init): remove spurious static_cast
7680 2003-05-14 André Pönitz <poenitz@gmx.net>
7682 * BufferView.C: fix format string
7684 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
7686 * BufferView.[Ch] (insertErrors): removed
7687 * BufferView.[Ch] (showErrorList): added
7688 * buffer.C (runChkTeX):
7689 * converter.C (scanLog): call showErrorList instead of inserterrors
7691 2003-05-13 André Pönitz <poenitz@gmx.net>
7693 * BufferView_pimpl.C:
7695 * bufferview_func.C:
7702 * tabular_funcs.h: tostr() from its own header
7704 * ParagraphParameters.C:
7709 * text3.C: STRCONV()
7711 2003-05-12 André Pönitz <poenitz@gmx.net>
7714 * BufferView_pimpl.C:
7718 * ParagraphParameters.C:
7722 * bufferview_funcs.C:
7735 * paragraph_funcs.C:
7739 * text3.C: boost::format -> bformat all over the place
7742 2003-05-09 André Pönitz <poenitz@gmx.net>
7744 * LColor.[Ch]: Pimpl the #include <map> away
7746 2003-05-09 John Levon <levon@movementarian.org>
7748 * bufferlist.C: never remove emergency saves
7750 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7752 * Makefile.am: better lib building
7754 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
7756 * texrow.[Ch]: remove dependency on Paragraph and just store a id
7758 * paragraph_pimpl.C (simpleTeXBlanks): adjust
7759 (simpleTeXSpecialChars): adjust
7760 (simpleTeXSpecialChars): adjust
7761 * paragraph.C (simpleTeXOnePar): adjust
7762 * buffer.C (makeLaTeXFile): adjust
7764 * Makefile.am (BOOST_LIBS): allow boost as system lib.
7766 * text2.C (changeDepth): parlist cleanup
7767 (getColumnNearX): ditto
7769 * rowpainter.C (getLabelFont): parlist cleanup
7771 * bufferlist.C (newFile): parlist cleanup
7773 * CutAndPaste.C (eraseSelection): parlist cleanup
7775 * BufferView_pimpl.C (trackChanges): parlist cleanup
7778 * BufferView.C (lockInset): parlist cleanup.
7779 (ChangeInsets): ditto
7781 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7783 * CutAndPaste.h: Update file header.
7785 * CutAndPaste.C: Update file header.
7786 Store the parts cut out of the Document in a limited_stack.
7787 (copySelection): adjust
7788 (pasteSelection): new function, takes the index in the limited stack.
7789 (nrOfParagraphs): adjust
7790 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7791 simplify error inset insertion.
7792 (checkPastePossible): adjust
7794 2003-05-06 John Levon <levon@movementarian.org>
7796 * text2.C: don't cast wrap inset to float
7798 2003-05-05 André Pönitz <poenitz@gmx.net>
7801 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7803 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7804 few naked Paragraph *.
7806 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
7808 * bufferparams.C: Output warning if a document with missing
7809 TeX document class is loaded
7810 * exporter.C: Disable TeX exports if the document class is missing
7813 * lyxtextclasslist.C: Handle new textclass.lst format; new method
7814 isTeXClassAvailable()
7816 2003-05-03 John Levon <levon@movementarian.org>
7819 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7820 explicit cursor show/hide
7822 * BufferView_pimpl.h:
7823 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7824 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7826 * lyxfunc.C: hide cursor before dispatching.
7831 * text3.C: remove explicit cursor hides
7833 2003-05-02 André Pönitz <poenitz@gmx.net>
7835 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7838 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7841 * text2.C: tiny whitespace
7843 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7845 * undo_funcs.C: almost only ws changes.
7847 * ParagraphList.C (splice): just return if pl is empty.
7849 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7851 * ParagraphList.C (splice): new function.
7853 * CutAndPaste.C (pasteSelection): use it
7855 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7857 * CutAndPaste.C (pasteSelection): remove the last next and
7858 previous from this file.
7860 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7862 * CutAndPaste.C (pasteSelection): more clean up, user proper
7863 ParagraphList functions for pasteing.
7865 * ParagraphList.C (insert): new function, three arg insert
7867 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7869 * ParagraphList.C (insert): new function, three arg insert
7871 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7874 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7876 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7878 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7880 * CutAndPaste.C (pasteSelection): remove some unneeded code.
7882 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7884 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7885 (copySelection): clean up a bit.
7886 (pasteSelection): use make_pair
7888 * ParagraphList.C (ParagraphList): implement copy constructor
7889 (operator=): implement, base on copy constructor.
7892 * paragraph.C (erase): return a bool
7894 * paragraph_pimpl.C (erasePos): remove function, move contents...
7895 (erase): ... here. Return a bool.
7896 (erase): call erase instead of erasePos.
7898 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
7900 * ParagraphList.h: define PitPosPair
7901 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7902 ParagraphList, fix a bug on pasting multiple pars
7903 * text2.C: change interface to C&P
7905 2003-04-30 André Pönitz <poenitz@gmx.net>
7907 * undo_func.C: revert part of yesterday's patch 2
7909 2003-04-30 John Levon <levon@movementarian.org>
7911 * LColor.C: s/tabular/table/
7913 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7915 * text3.C (dispatch): do not convert iterator -> pointer
7916 * undo_funcs.C (setCursorParUndo): ditto
7917 * text_funcs.C (transposeChars): ditto
7919 * text2.C (setLayout): ws changes only
7921 * text.C (breakParagraph): do not convert iterator -> pointer
7923 (acceptChange): ditto
7924 (rejectChange): ditto
7929 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7932 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
7934 * text3.C (gotoInset): YABG (yet another bad getChar)
7936 2003-04-29 André Pönitz <poenitz@gmx.net>
7938 * paragraph.h: make operator= private unimplemented as long as
7941 * ParagraphList.C: whitespace
7944 * paragraph_pimpl.[Ch]:
7945 * paragraph_funcs.C:
7947 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
7950 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7952 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
7954 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7955 * paragraph.[Ch] (erase):
7956 * paragraph_pimpl.[Ch] (erase): change return type and value
7957 * text2.C (cutSelection): some rework
7959 2003-04-28 John Levon <levon@movementarian.org>
7961 * bufferlist.C: changes for unsaved changes dialog
7963 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7965 * bufferlist.C (newFile): set language (messages_) for new
7968 * buffer.C (readFile): ws changes only.
7970 2003-04-28 André Pönitz <poenitz@gmx.net>
7975 * BufferView_pimpl.C:
7976 * BufferView.C: getParFromID related ParagraphList::iterator changes
7978 2003-04-28 André Pönitz <poenitz@gmx.net>
7980 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7983 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7985 * messages.C: remove one more localedir class variable.
7987 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7989 * messages.C (getLocaleDir): singleton generation function
7991 (Messages): add a default constructor.
7993 * main.C (main): do not setup localedir here, do not call
7996 * gettext.C (_): use it.
7997 (gettext_init): delete funciton
7999 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8001 * gettext.C (getLyXMessages): new singleton generating function.
8003 * buffer.C (updateDocLang): adjust
8005 * Makefile.am (messages.o): add target
8006 (main.o): remove target
8008 2003-04-27 John Levon <levon@movementarian.org>
8013 * lyxvc.C: specify cancel button in Alert::prompt
8015 2003-04-26 John Levon <levon@movementarian.org>
8020 * LyXAction.C: add LFUN_INSET_SETTINGS
8022 * lyxfunc.C: don't enable tabular-feature when there's
8023 just any locking inset
8025 2003-04-26 John Levon <levon@movementarian.org>
8027 * bufferlist.C: re-add Cancel to buffer close question
8029 * lyxfunc.C: fix import UI a bit
8031 2003-04-25 John Levon <levon@movementarian.org>
8033 * gettext.C: remove the broken asserts for now
8035 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
8037 * messages.C: make case where setlocale cannot comply work better.
8039 * buffer.C (updateDocLang): new function
8040 (changeLanguage): use it
8043 * text2.C (setCounter): use B_ a bit.
8045 * lyxlayout.C (Read): be sure to trim the label strings.
8047 * messages.C (Messages): fix typo in comment
8049 * buffer.C (readFile): set message_ after file is loaded.
8050 (makeDocBookFile): remove double return
8051 (changeLanguage): reset message_ upon language change.
8052 (B_): new func, use this to get translated buffer strings.
8054 * main.C: add myself and Jean Marc as authors.
8056 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
8058 * messages.[hC]: pimplify Messages, and three different pimpls to be
8059 used in different circumstances.
8061 * gettext.[Ch]: change for use with new message code.
8063 2003-04-24 André Pönitz <poenitz@gmx.net>
8065 * factory.C: support for eqref
8067 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
8069 * messages.[Ch]: add missing char
8071 * Makefile.am (lyx_SOURCES): add messages.[Ch]
8073 * messages.[Ch]: New files
8075 2003-04-18 John Levon <levon@movementarian.org>
8079 * BufferView_pimpl.C:
8083 * text2.C: remove layout-copy/paste (bug 778)
8085 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
8087 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
8089 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
8091 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
8092 if they succeed. Act accordingly.
8094 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8096 * text2.C (setCharFont): adjust
8097 (setCounter): adjust
8098 (insertStringAsLines): adjust
8100 * text.C (leftMargin): adjust
8101 (setHeightOfRow): adjust
8103 * rowpainter.C (paintFirst): adjust
8106 * paragraph_funcs.C (depthHook): ParagraphList::iterators
8108 (isFirstInSequence): ditto
8109 (getEndLabel): ditto
8112 * paragraph.C (getParLanguage): comment out some hard stuff.
8114 * buffer.C (insertStringAsLines): take a ParagraphList as arg
8116 (simpleDocBookOnePar): ditto
8117 (makeDocBookFile): use ParagraphList::iterator
8119 * CutAndPaste.C (pasteSelection): adjust
8121 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8123 * text2.C (getFont): adjust
8124 (getLayoutFont): adjust
8125 (getLabelFont): adjust
8127 * paragraph_funcs.C (TeXOnePar): adjust
8129 * buffer.C (simpleLinuxDocOnePar): adjust
8130 (simpleDocBookOnePar): adjust
8132 * CutAndPaste.C (pasteSelection): adjust
8134 * BufferView.C (getEncoding): adjust
8136 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
8138 2003-04-16 John Levon <levon@movementarian.org>
8140 * lyxfind.C: use parlist stuff for search/changes
8142 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8144 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
8146 * text2.C (deleteEmptyParagraphMechanism): adjust
8148 * text2.[Ch] (ownerParagraph): delete func (both of them
8150 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8152 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
8154 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8156 * ParagraphList.C: prepare for NO_NEXT
8158 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8160 * text2.C (getFont): adjust
8161 (getLayoutFont): adjust
8162 (getLabelFont): adjust
8164 * paragraph.C (getFont): adjust
8165 (getLabelFont): adjust
8166 (getLayoutFont): adjust
8168 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
8170 2003-04-15 John Levon <levon@movementarian.org>
8174 * lyx_main.C: handle Include in .ui files
8176 2003-04-15 John Levon <levon@movementarian.org>
8178 * MenuBackend.C: make the doc files length shorter
8181 * ToolbarBackend.C: handle toolbar placement flags,
8184 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8186 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
8189 * paragraph_funcs.C (TeXOnePar): adjust
8191 * paragraph.C (getLabelFont): add outerfont arg, adjust
8192 (getLayoutFont): ditto
8193 (simpleTeXOnePar): adjust
8195 * paragraph_pimpl.C (realizeFont): delete func
8197 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
8199 * text2.C (beforeFullRowInset): added a bad getchar check, removed
8200 row argument, constify cur argument.
8202 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8204 * text2.C (getFont): adjust
8205 (getLayoutFont): adjust
8206 (getLabelFont): adjust
8208 * paragraph_funcs.C (TeXOnePar): adjust
8209 (outerFont): new func...
8210 (realizeFont): ...moved out from here, changed this to facilitate
8213 * paragraph.C (getFont): take outerfont as arg, adjust
8214 (simpleTeXOnePar): add outerfont arg, adjust
8216 * buffer.C (simpleLinuxDocOnePar): adjust
8217 (simpleDocBookOnePar): adjust
8219 * CutAndPaste.C (pasteSelection): adjust
8221 * BufferView.C (getEncoding): adjust
8223 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8225 * text2.C (setCharFont): adjust
8226 (setCounter): adjust
8228 * text.C (leftMargin): adjust
8229 (setHeightOfRow): adjust
8231 * rowpainter.C (paintFirst): adjust
8234 * paragraph_pimpl.C (realizeFont): adjust
8236 * paragraph.C (isFirstInSequence): move from here...
8237 * paragraph_funcs.C (isFirstInSequence): ...to here
8239 * paragraph.C (outerHook): move from here...
8240 * paragraph_funcs.C (outerHook): ...to here
8242 * paragraph.C (depthHook): move from here...
8243 * paragraph_funcs.C (depthHook): ...to here
8245 * paragraph.C (getEndLabel): move from here...
8246 * paragraph_funcs.C (getEndLabel): ...to here
8248 * text2.C (realizeFont): move from here...
8249 * paragraph_funcs.C (realizeFont): ...to here
8251 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8253 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
8255 2003-04-14 Angus Leeming <leeming@lyx.org>
8257 * LColor.[Ch]: scrap LColor mathcursor.
8259 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8261 * lyxlex.[Ch] (text): delete function
8262 * trans.C (Load): adjust
8263 * paragraph_funcs.C (readParToken): adjust
8265 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8267 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8268 vector<char> instead of a char[].
8270 * lyxlex_pimpl.C (getString): adjust
8272 (lex): use getString
8276 * lyxlex.C (text): use pimpl_->getString()
8280 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8282 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8283 (makeFontEntriesLayoutSpecific): temp var for par.size()
8284 (setLayout): temp var for ownerParagraphs().end()
8285 (fullRebreak): temp var for rows().end()
8286 (selectionAsString): temp var for boost::next(startpit), realize
8287 that the while really is a regular for loop.
8288 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8289 setCursor in one place.
8290 (setParagraph): temp vr for ownerParagraphs().end()
8291 (updateCounters): make the while loop a for loop
8292 (cutSelection): temp var for ownerParagraphs().end()
8293 (updateInset): make the do {} while() a regular for loop
8294 (getCursorX): use temp vars
8295 (setCurrentFont): use temp vars
8296 (getColumnNearX): use temp vars
8298 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8300 * text.C (transformChar): use temp var for getChar
8301 (computeBidiTables): use temp var for row->par()
8302 (fill): move temp vars for row->par() and pit->layout() earlier in
8304 (labelFill): use temp var for row->par()
8305 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8306 asc and desc, realize that pit never changes and that firstpit is
8307 just a duplicate and not needed. Exchange rit->par() with pit in a
8309 (breakAgain): use a temp var for boost::next(rit)
8310 (breakAgainOneRow): ditto
8311 (breakParagraph): use a temp var for rows().begin()
8312 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8313 (cursorRightOneWord): use temp var for cursor.par() and
8314 cursor.pos(), remove usage of tmpcursor.
8315 (cursorLeftOneWord): use temp var for cursor.par() and
8316 cursor.pos() only set cur at end of function.
8318 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8320 * text.C, text2.C: exchange all usage of Paragraph::next with
8321 boost::next(ParagraphList::iterator)
8323 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8325 * text2.C (cursorTop): simplify implementation
8326 (cursorBottom): ditto
8327 (setParagraph): use ParagraphList::iterator
8328 (setCurrentFont): adjust
8329 (getColumnNearX): adjust
8330 (cursorRight): adjust
8331 (cursorLeft): remove usage of Paragraph::previous
8332 (cursorUpParagraph): ditto
8333 (deleteEmptyParagraphMechanism): slight cleanup
8335 * text.C (isBoundary): take a Paragraph const & instead of a
8337 (addressBreakPoint): ditto
8338 (leftMargin): remove usage of Paragraph::previous.
8339 (setHeightOfRow): ditto
8340 (cursorLeftOneWord): ditto
8341 (selectNextWordToSpellcheck): ditto
8344 (breakParagraph): remove one usage of Paragraph::next
8345 (redoParagraph): ditto
8346 (acceptChange): ditto
8347 (insertChar): adjust
8348 (rowBreakPoint): adjust
8350 * bufferview_funcs.C (toggleAndShow): adjust
8352 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
8354 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8355 methods to access it.
8357 * text.C: Added updateRowPositions to compute all row positions.
8358 Make top_y and getRowNearY() to use the cached y position
8360 2003-04-11 John Levon <levon@movementarian.org>
8362 * text.C (rowBreakPoint): reintroduce the labelEnd
8363 checks, code copied from the row fill stuff. Deep voodoo.
8365 * text.C (fill): add a comment and debugging for the
8368 2003-04-11 John Levon <levon@movementarian.org>
8370 * text.C: make sure fullrow insets get wrapped to the next line,
8371 even when they're in a manual label
8373 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
8375 * text2.C (insertParagraph): make it take ParagraphList::iterator
8377 (setLayout): make it return ParagraphList::iterator
8378 (redoParagraphs): ditto
8380 (checkParagraph): ditto
8382 * text.C (getRow): make getrow take ParagraphList::iterator as arg
8384 * text2.C: adjust several funcs.
8385 (realizeFont): take a ParagraphList::iterator as arg.
8386 (getLayoutFont): ditto
8387 (getLabelFont): ditto
8388 (setCharFont): ditto
8390 * text.C: adjust several funcs.
8392 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8394 * text.C (selectNextWordToSpellcheck): don't accidentally
8397 2003-04-10 John Levon <levon@movementarian.org>
8399 * ToolbarBackend.C (getIcon): special handling for
8402 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8404 * text2.C (cursorRight): a getChar assert fixed
8406 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8408 * text2.C (getFont): change to take a ParagraphList::iterator
8409 instead of Paragraph*
8410 Adjust several functions.
8412 * text.C (transformChar): change to take a ParagraphList::iterator
8413 instead of Paragraph*
8414 (singleWidth): ditto
8415 Adjust several functions.
8417 * rowpainter.C: adjust several functions
8418 * rowpainter.h:store a ParagraphList::iterator and not a
8422 2003-04-09 John Levon <levon@movementarian.org>
8427 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8428 and the "help" bits as well
8430 2003-04-09 John Levon <levon@movementarian.org>
8433 * ToolbarBackend.C: allow multiple toolbars
8435 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8437 * undo_funcs.C (setCursorParUndo): adjust
8439 * text_funcs.C (transposeChars): adjust
8441 * text3.C (gotoNextInset): adjust
8444 * text2.C (setLayout): adjust
8445 (changeDepth): adjust
8447 (redoParagraphs): adjust
8448 (selectionAsString): adjust
8449 (setParagraph): adjust
8450 (insertInset): adjust
8451 (cutSelection): adjust
8452 (copySelection): adjust
8453 (pasteSelection): adjust
8454 (insertStringAsLines): adjust
8455 (updateInset): adjust
8456 (setCursor): change to take a ParagraphList::iterator parameter
8457 (setCursorIntern): change to take a ParagraphList::iterator parameter
8458 (setCurrentFont): adjust
8459 (cursorLeft): adjust
8460 (cursorRight): adjust
8461 (deleteEmptyParagraphMechanism): adjust
8463 * text.C (breakParagraph): adjust
8464 (insertChar): adjust
8465 (acceptChange): adjust
8466 (rejectChange): adjust
8467 (selectNextWordToSpellcheck): adjust
8468 (changeCase): adjust
8472 * lyxfind.C (SearchForward): adjust
8473 (SearchBackward): adjust
8474 (nextChange): adjust
8476 * lyxcursor.C (par): adjust
8478 * lyxcursor.h: store a ParagraphList::iterator instead of a
8481 * lyx_cb.C (getPossibleLabel): adjust
8483 * bufferview_funcs.C (toggleAndShow): adjust
8485 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8488 * BufferView.C (removeAutoInsets): adjust
8489 (lockedInsetStoreUndo): adjust
8491 2003-04-09 John Levon <levon@movementarian.org>
8493 * ToolbarBackend.C: try icon without argument
8494 if with argument fails
8496 2003-04-08 John Levon <levon@movementarian.org>
8499 * ToolbarBackend.C: add getIcon(), handle tooltip,
8500 and change from "Icon" to "Item".
8502 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8504 * BufferView.C (lockInset): another bad getchar crunched
8506 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8508 * text2.C (changeDepth): do not setUndo on test_only (make undo work
8511 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
8513 * lyxfind.C (searchForward, searchBackwards): bug 782
8515 2003-04-07 John Levon <levon@movementarian.org>
8517 * paragraph.C: remove dead comment
8519 * text.C: remove troublesome depth-fiddling code
8520 in leftMargin() and rightMargin() (bug 1017)
8522 * text.C: fix breaking of rows in nested lists
8525 * text2.C (updateCounters): fix up depth values
8528 2003-04-07 John Levon <levon@movementarian.org>
8530 * BufferView_pimpl.C: clear message when doc finishes resizing,
8531 and after a mouse event
8533 * lyxfunc.C: clear message after exiting inset
8535 2003-04-07 John Levon <levon@movementarian.org>
8537 * bufferview_funcs.C: show math status not outside
8538 status in the statusbar
8540 2003-04-07 John Levon <levon@movementarian.org>
8542 * lyxfunc.C: note status changed after a depth change
8544 2003-04-04 Angus Leeming <leeming@lyx.org>
8546 * LaTeX.h: move AuxInfo operator==, != out of line.
8547 Remove LaTeX virtual destructor; nothing derives from it.
8548 Move operator()() out of public area and rename it startscript().
8549 Change protected for private.
8551 2003-04-04 Angus Leeming <leeming@lyx.org>
8554 * text2.C: remove unneeded #includes.
8556 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8558 * text2.C (dEPM): fix the heigth of the next row
8560 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8562 * text.C: squashed an invalid getChar requester + some ws changes
8564 2003-04-03 John Levon <levon@movementarian.org>
8566 * bufferview_funcs.h:
8567 * bufferview_funcs.C:
8570 * text2.C: make getStatus work for the env depth lfuns
8572 2003-04-03 John Levon <levon@movementarian.org>
8574 * bufferview_funcs.h:
8575 * bufferview_funcs.C:
8578 * text2.C: parlistize decDepth(), by merging it with incDepth()
8580 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8582 * lyxrow.h: store a ParagraphList::iterator instead of a
8583 Paragraph* and adjust other class functions to suit.
8585 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8588 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8590 * text2.C (setCursor): do not anchor to cursor row for the time being
8592 2003-04-02 John Levon <levon@movementarian.org>
8599 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8601 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8603 * paragraph.h: make ParagraphList and ParagraphList::iterator
8604 friends of Paragraph.
8606 * buffer.C (makeLinuxDocFile): move towards ParagraphList
8608 * ParagraphList.C: Use the private next_ and previous_ from
8611 2003-04-01 John Levon <levon@movementarian.org>
8615 * Makefile.am: rename, remove defaults gunk
8618 * MenuBackend.C: remove defaults gunk
8621 * Languages.C: remove defaults gunk
8624 * lyx_main.C: error out if files couldn't be found.
8626 2003-04-02 John Levon <levon@movementarian.org>
8628 * text2.C: make incDepth() use parlist
8630 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8632 * undo_funcs.C (firstUndoParagraph): adjust
8634 * text3.C (gotoInset): adjust
8635 (dispatch): adjust, and rewrite loop.
8637 * text2.C (init): adjust, and rewrite loop.
8638 (redoParagraphs): adjust
8639 (updateInset): adjust, and rewrite loop.
8640 (deleteEmptyParagraphMechanism): adjust
8642 * tabular.C (LyXTabular): adjust
8643 (SetMultiColumn): adjust
8646 * lyxtext.[Ch] (ownerParagraph): delete function
8647 (ownerParagraphs): new function returns a ParagraphList.
8649 * BufferView.C (removeAutoInsets): adjust
8650 (insertErrors): adjust
8651 (setCursorFromRow): adjust
8653 2003-04-01 Angus Leeming <leeming@lyx.org>
8655 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8658 2003-04-02 John Levon <levon@movementarian.org>
8664 * text_funcs.C: make transposeChars a free function
8666 * lyxrow_funcs.C: remove wrong comment
8668 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8671 * rowpainter.C: adjust
8676 * lyxrow_funcs. [Ch]: new files
8678 * lyxrow.[Ch]: remove next and previous pointers
8679 (next,previous): remove accessor functions
8680 (isParEnd): move to lyxrow_funcs
8681 (lastPos): move to lyxrow_funcs
8682 (nextRowIsAllInset): move to lyxrow_funcs
8683 (lastPrintablePos): move to lyxrow_funcs
8684 (numberOfSeparators): move to lyxrow_funcs
8685 (numberOfHfills): move to lyxrow_funcs
8686 (numberOfLabelHfills): move to lyxrow_funcs
8687 (hfillExpansion): move to lyxrow_funcs
8691 * bufferview_funcs.C (toggleAndShow): adjust
8693 * RowList.h: Remove class RowList from file leave just a
8696 * RowList.C: delete file
8698 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8701 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8703 * text3.C (cursorPrevious): adjust
8704 (cursorNext): adjust
8707 * text2.C (redoHeightOfParagraph): adjust
8708 (redoDrawingOfParagraph): adjust
8711 * text.C (breakParagraph): adjust
8712 (insertChar): adjust
8715 * rowpainter.C (RowPainter): adjust
8716 (leftMargin): simplify and adjust
8717 (most rowpainter functions): adjust.
8719 * rowpainter.h: store the row as RowList::iterator not as Row*
8721 * lyxcursor.C (row): taka RowList::iterator as arg
8724 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8727 2003-04-01 Angus Leeming <leeming@lyx.org>
8729 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8730 stuff like bool Bool.
8732 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8734 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8737 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8739 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8742 * lyxtext.h (rows): drop one version and leve a const variant that
8743 returns a RowList::iterator.
8745 2003-03-31 Angus Leeming <leeming@lyx.org>
8747 * text.C (fill): ensure that the signature is the same as that in the
8750 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
8752 * text2.C (redoParagraphs): adjust
8753 (updateCounters): adjust
8754 (checkParagraph): adjust
8755 (getColumnNearX): adjust and reformat a bit.
8757 * text.C (top_y): adjust
8759 (leftMargin): adjust
8760 (prepareToPrint): adjust
8762 (getRowNearY): adjust
8764 * lyxtext.h: make rowlist_ mutable.
8766 * RowList.h: add const_iterator
8767 * RowList.C: adjust for RowList::const_iterator.
8769 * text2.C (getCursorX): make it take a RowList::iterator as arg,
8772 2003-03-31 John Levon <levon@movementarian.org>
8775 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8777 * lyx_main.C: set default fonts from using lyx_gui funcs
8779 * exporter.C: pdf_mode moved from lyxrc
8782 * lyxfunc.C: changes from above
8784 2003-03-31 John Levon <levon@movementarian.org>
8786 * lyx_main.C: fix to the last fix
8788 2003-03-31 John Levon <levon@movementarian.org>
8790 * bufferlist.C: "Load original" -> "Load Original"
8796 * format.C: more Alert cleanups
8798 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8800 * text2.C (removeParagraph): make it take a RowList::iterator as
8802 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8803 (postRowPaint): make it take a RowList::iterator as arg, adjust.
8805 * text.C (anchor_row): make it take a RowList::iterator as arg,
8807 (computeBidiTables): make it take a const reference to Row instead
8808 of Row pointer, adjust.
8809 (leftMargin): make it take a RowList::iterator as arg, adjust.
8810 (rowBreakPoint): adjust
8811 (breakAgainOneRow): make it take a RowList::iterator as arg,
8813 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8815 * bufferview_funcs.C (toggleAndShow): adjust
8817 2003-03-30 John Levon <levon@movementarian.org>
8821 * boost-inst.C: moved to support
8823 * several files: changes as a result
8825 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8827 * text2.C (LyXText): adjust.
8829 (removeRow): make it take a RowList::iterator as arg, adjust.
8830 (fullRebreak): adjust
8831 (deleteEmptyParagraphMechanism): adjust
8832 (clearPaint): adjust
8835 * text.C (top_y): adjust
8836 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8837 (breakAgain): make it take a RowList::iterator as arg, adjust.
8838 (breakParagraph): adjust
8839 (insertChar): adjust
8842 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8843 need_break_row, and refresh_row.
8845 * text3.C (dispatch): adjust
8847 * text2.C (checkParagraph): adjust
8849 (setCursorFromCoordinates): adjust
8851 * text.C (top_y): adjust
8853 (getRow): make it return a RowList::iterator, adjust
8854 (getRowNearY): make it return a RowList::iterator, adjust
8856 * text2.C (init): adjust
8857 (insertRow): remove function
8858 (insertParagraph): adjust
8859 (redoParagraphs): adjust
8860 (fullRebreak): adjust
8861 (updateCounters): adjust
8863 * text.C (top_y): rewrite to use RowList iterators.
8865 (setHeightOfRow): rewrite to sue RowList iterators.
8866 (appendParagraph): adjust
8867 (breakAgain): adjust
8868 (breakAgainOneRow): adjust
8869 (breakParagraph): adjust
8871 (getRowNearY): adjust, and remove commented code.
8873 * lyxtext.h (firstRow): delete function
8874 (lastRow): delete function
8875 (rows): new function (const and non-const versions.)
8876 (insertRow): delete function
8878 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8880 2003-03-29 John Levon <levon@movementarian.org>
8882 * BufferView_pimpl.C: always update scrollbar top
8883 because pasting text when we're anchored could mean we
8884 miss an update altogether
8886 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8888 * text2.C (init): use rowlist_.end() and not 0.
8889 (insertRow): change to take a RowList::iterator as arg, adjust
8891 (insertParagraph): change to take a RowList::iterator as arg,
8893 (redoParagraphs): remove some debug msgs.
8895 * text.C (appendParagraph): change to take a RowList::iterator
8896 arg, adjust for this.
8897 (breakAgain): add an assert
8898 (breakAgainOneRow): ditto
8900 2003-03-29 John Levon <levon@movementarian.org>
8902 * text2.C: do not clear selection after inc/decDepth
8905 2003-03-29 John Levon <levon@movementarian.org>
8908 * buffer.C: fix broken strerrors according to Lars
8910 2003-03-29 John Levon <levon@movementarian.org>
8912 * converters.C: more Alert cleanups
8914 2003-03-29 John Levon <levon@movementarian.org>
8916 * bufferview_funcs.C: remove pointless Alert
8918 * buffer.C: fix confusing error message when
8919 a template is chmoded 000
8921 2003-03-29 John Levon <levon@movementarian.org>
8925 * BufferView_pimpl.C: Alert fixes
8929 * tabular-old.C: remove unused table compat reading
8931 2003-03-29 John Levon <levon@movementarian.org>
8936 * lyx_cb.C: more Alert cleanups
8938 * lyxfunc.C: don't allow chktex if not latex document
8940 2003-03-29 John Levon <levon@movementarian.org>
8944 * buffer.C: warnings pushed down from support/,
8947 2003-03-29 John Levon <levon@movementarian.org>
8949 * lyxfunc.C: safety check for C-r (revert)
8951 2003-03-29 John Levon <levon@movementarian.org>
8954 * bufferlist.C: several UI fixes using Alert::prompt.
8955 Fix the pointless looping quit code. Fix stupid revert
8960 * lyx_cb.C: use Alert::prompt
8962 * lyx_main.C: remove a silly question
8964 * lyxfunc.C: remove a couple of silly questions,
8967 2003-03-28 John Levon <levon@movementarian.org>
8969 * text2.C: fix bug 974 (End on empty par)
8971 2003-03-28 John Levon <levon@movementarian.org>
8973 * BufferView_pimpl.C:
8975 * lfuns.h: remove do-nothing math greek lfuns
8977 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8979 * lyxgluelength.h (isValidGlueLength): add default arg on
8980 parameter 2. Remove default arg from friend in class.
8982 * lyxlength.h (isValidLength): add default arg on parameter 2.
8983 Remove default arg from friend in class.
8985 * text2.C (LyXText): adjust, initialize refresh_row.
8989 (insertParagraph): adjst
8990 (redoParagraphs): adjust
8991 (fullRebreak): adjust
8992 (updateCounters): adjust
8993 (deleteEmptyParagraphMechanism): first attempt at fixing a
8996 * text.C (top_y): adjust
8997 (setHeightOfRow): adjust
8999 (getRowNearY): adjust
9001 * lyxtext.h: include RowList.h
9002 (~LyXText): not needed anymore, deleted.
9003 (firstRow): modify for RowList
9004 (lastRow): new function
9005 Delete firstrow and lastrow class variables, add a Rowlist
9006 rowlist_ class variable.
9008 * lyxrow.C (lastPos): use empty() and not !size() to check if a
9011 * RowList.C (insert): fix case where it == begin().
9013 2003-03-26 Angus Leeming <leeming@lyx.org>
9015 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
9016 the thesaurus dialog.
9018 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
9020 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
9022 * RowList.[Ch]: new files
9024 * ParagraphList.C (erase): handle the case where it == begin
9027 2003-03-25 John Levon <levon@movementarian.org>
9031 * aspell.C: add new aspell support
9034 * lyxrc.C: Make use_pspell be use_spell_lib. Always
9037 2003-03-25 Angus Leeming <leeming@lyx.org>
9040 * LyXAction.C (init): new LFUN_INSET_INSERT.
9042 * BufferView_pimpl.C (dispatch): split out part of the
9043 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
9045 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
9048 2003-03-25 Angus Leeming <leeming@lyx.org>
9050 * lyxfunc.C (dispatch): changes to the Dialogs interface.
9052 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
9055 * text3.C: remove useless row->height(0)
9057 2003-03-25 John Levon <levon@movementarian.org>
9061 * text3.C: rename the refreshing stuff to better names
9063 2003-03-24 John Levon <levon@movementarian.org>
9065 * BufferView_pimpl.h:
9066 * BufferView_pimpl.C: update layout choice on a mouse
9069 2003-03-23 John Levon <levon@movementarian.org>
9071 * Makefile.am: fix commandtags.h reference
9073 2003-03-22 John Levon <levon@movementarian.org>
9075 * BufferView_pimpl.C:
9080 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
9082 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
9085 * text.C: take the rtl methods out of line
9087 2003-03-21 André Pönitz <poenitz@gmx.net>
9089 * metricsinfo.[Ch]: new files containing structures to be passed around
9090 during the two-phase-drawing...
9092 2003-03-21 André Pönitz <poenitz@gmx.net>
9094 * lyxtextclass.C: read 'environment' tag.
9096 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
9098 * text2.C (removeRow): fix bug 964
9100 2003-03-20 John Levon <levon@movementarian.org>
9104 * text2.C: paint cleanups. Inset::update() dropped font
9107 2003-03-19 John Levon <levon@movementarian.org>
9109 * lyxfunc.C: only fitcursor/markDirty if available()
9111 2003-03-19 John Levon <levon@movementarian.org>
9113 * commandtags.h: rename to ...
9115 * lfuns.h: ... this, and renumber / cleanup
9117 2003-03-19 John Levon <levon@movementarian.org>
9119 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
9120 fit the cursor after an lfun
9124 * BufferView_pimpl.h:
9125 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
9127 * LyXAction.C: layout-character should have ReadOnly
9129 * ParagraphParameters.C:
9131 * bufferview_funcs.C:
9138 * undo_funcs.C: changes from above
9140 2003-03-18 John Levon <levon@movementarian.org>
9142 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
9143 remove it from update()
9145 * lyxfunc.C: update layout choice after an lfun
9147 * text3.C: remove extra updateLayoutChoice()s
9149 2003-03-18 John Levon <levon@movementarian.org>
9151 * text.C: top_y change means full repaint, fix
9152 a drawing bug with cursor movement
9154 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
9158 * text2.C: anchor row on setCursor
9160 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
9162 * lyxtext.h: remove almost all mutable keywords
9165 * text3.C: remove const keywords accordingly
9167 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
9169 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
9171 (TeXEnvironment): ditto
9174 2003-03-17 John Levon <levon@movementarian.org>
9176 * text.C (rowBreakPoint): remove attempt to fix displayed
9177 math insets inside a manual label
9179 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
9181 * lyxtext.h: remove BufferView* as first arg from almost all class
9183 * other files: adjust.
9185 2003-03-17 John Levon <levon@movementarian.org>
9189 * text2.C: more paint cleanups
9191 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
9194 * rowpainter.C: remove "smart" background painting code
9196 2003-03-16 John Levon <levon@movementarian.org>
9201 * text3.C: add helper functions for setting refresh_row/y
9203 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
9205 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
9206 newline inset which *can* get inserted in the pass_thru layouts.
9207 This is primarily for literate documents.
9209 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
9211 * buffer.C: increment LYX_FORMAT to 223
9213 2003-03-14 André Pönitz <poenitz@gmx.net>
9215 * textclass.h: prepare for environment handling, ws changes
9216 * lyxlayout.C: read latexheader and latexfooter tags
9218 2003-03-14 John Levon <levon@movementarian.org>
9220 * text2.C: rewrite ::status() a bit
9222 2003-03-13 John Levon <levon@movementarian.org>
9224 * lyxtext.h: add some docs
9226 2003-03-13 John Levon <levon@movementarian.org>
9231 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
9233 2003-03-13 John Levon <levon@movementarian.org>
9235 * text3.C: fix appendix redrawing
9237 2003-03-13 John Levon <levon@movementarian.org>
9239 * text.C (setHeightOfRow):
9241 * rowpainter.C: make appendix mark have the text
9242 "Appendix" so the user knows what it is
9245 * LColor.C: s/appendixline/appendix/ from above
9247 2003-03-13 John Levon <levon@movementarian.org>
9249 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
9251 * text.C: fix a getChar(pos) bug properly
9253 2003-03-13 Angus Leeming <leeming@lyx.org>
9256 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
9257 Probably only temporary. Let's see how things pan out.
9259 * BufferView.C (unlockInset):
9260 * BufferView_pimpl.C (fitCursor):
9261 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
9263 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
9264 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
9266 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
9267 new functions that convert ParagraphParameters to and from a string.
9269 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9270 BufferView::Pimpl's dispatch.
9271 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9273 2003-03-13 André Pönitz <poenitz@gmx.net>
9277 * factory.C: make it aware of InsetEnv
9279 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
9281 * text2.C (setCursor): never ask for one past last
9282 (setCursor): add some debugging messages.
9284 * text.C (singleWidth): never ask for one past last
9285 (singleWidth): ditto
9287 (rightMargin): ditto
9288 (rowBreakPoint): ditto
9289 (setHeightOfRow): ditto
9290 (prepareToPrint): ditto
9292 * rowpainter.C (paintBackground): never ask for one past last
9293 (paintText): never ask for one past last
9295 * paragraph_pimpl.C (getChar): make the assert stricter, never
9296 allow the one past last pos to be taken
9298 * paragraph.C (getChar): ws changes only
9300 * lyxrow.C (nextRowIsAllInset): never ask for one past last
9301 (numberOfSeparators): ditto
9302 (numberOfHfills): ditto
9304 2003-03-12 John Levon <levon@movementarian.org>
9310 * paragraph_funcs.C: fix per-buffer authorlists
9312 2003-03-12 John Levon <levon@movementarian.org>
9314 * text.C: fix newline in right address
9316 2003-03-12 Angus Leeming <leeming@lyx.org>
9318 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9319 duplicate those in LyXFunc::dispatch.
9323 * ToolbarDefaults.C:
9324 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9325 Add LFUN_FONTFREE_UPDATE.
9327 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9328 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9330 * bufferview_func.[Ch]: several new functions to facilliate
9331 transfer of data to and from the character dialog.
9333 2003-03-12 John Levon <levon@movementarian.org>
9338 * paragraph_funcs.C:
9339 * paragraph_pimpl.C:
9343 * text3.C: remove META_NEWLINE in favour of an inset
9346 * rowpainter.C: remove paintNewline (done by inset)
9348 2003-03-12 John Levon <levon@movementarian.org>
9350 * paragraph_pimpl.C: complain about bad getChar()s
9351 for a while at least
9353 2003-03-12 John Levon <levon@movementarian.org>
9356 * buffer.C: move paragraph read into a separate function,
9357 a little renaming to reflect that.
9360 * bufferparams.C: remove the author_ids map, not necessary now
9363 * factory.C: moved Buffer::readInset to here
9365 * paragraph_funcs.h:
9366 * paragraph_funcs.C: readParagraph free function moved from
9369 * tabular.C: name change
9371 2003-03-12 John Levon <levon@movementarian.org>
9374 * ParagraphParameters.C: move par params input to
9377 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9378 behave like a normal read from the stream wrt reading
9379 a line vs. a \\token
9381 2003-03-12 John Levon <levon@movementarian.org>
9384 * ParagraphParameters.h:
9385 * ParagraphParameters.C: move output code to a
9388 2003-03-12 John Levon <levon@movementarian.org>
9390 * BufferView.C (insertLyXFile):
9393 * tabular.C: use a parlist iterator for creating the
9396 2003-03-12 John Levon <levon@movementarian.org>
9398 * buffer.C: make current_change static local not
9401 2003-03-12 John Levon <levon@movementarian.org>
9403 * buffer.C: fix insertStringAsLines for change tracking
9405 2003-03-12 John Levon <levon@movementarian.org>
9412 * bufferparams.C: move author list into params. Rename some
9413 functions. Move the header reading into a separate token
9414 loop. Move the header token reading into BufferParams.
9416 2003-03-12 John Levon <levon@movementarian.org>
9418 * changes.C: put debug inside lyxerr.debugging() checks
9420 2003-03-11 André Pönitz <poenitz@gmx.net>
9422 * factory.C: make it aware of InsetHFill
9424 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9426 * buffer.C (latexParagraphs): move function from here...
9427 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9430 2003-03-10 Angus Leeming <leeming@lyx.org>
9432 * LyXAction.C (init): fix bug in poplating array with multiple entries
9433 with the same LFUN (spotted by JMarc).
9435 2003-03-10 John Levon <levon@movementarian.org>
9438 * text2.C: move getColumnNearX() near its
9441 2003-03-10 John Levon <levon@movementarian.org>
9443 * text.C: fix break before a minipage
9445 2003-03-10 John Levon <levon@movementarian.org>
9447 * text.C: fix the last commit
9449 2003-03-09 John Levon <levon@movementarian.org>
9453 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9454 bug 365 (don't break before insets unless needed). Don't
9455 return a value > last under any circumstances.
9457 2003-03-09 Angus Leeming <leeming@lyx.org>
9459 * BufferView_pimpl.C (trackChanges, dispatch): call
9460 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9462 2003-03-09 Angus Leeming <leeming@lyx.org>
9464 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9465 than Dialogs::showAboutlyx().
9467 2003-03-09 Angus Leeming <leeming@lyx.org>
9469 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9470 than Dialogs::showTabularCreate().
9472 2003-03-09 John Levon <levon@movementarian.org>
9476 * text2.C: 3rd arg to nextBreakPoint was always the same.
9479 2003-03-08 John Levon <levon@movementarian.org>
9486 * text2.C: Remove the "main" bit from the "main body"
9489 2003-03-08 John Levon <levon@movementarian.org>
9491 * text.C (leftMargin): The left margin of an empty
9492 manual label paragraph should not include the label width
9495 * text.C (prepareToPrint): don't attempt to measure hfills
9496 for empty manual label paragraphs - the answer should be 0
9498 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9500 * CutAndPaste.C: remove commented code and reindent.
9502 2003-03-08 John Levon <levon@movementarian.org>
9505 * lyxfunc.C: move reloadBuffer()
9508 * BufferView.C: to here
9510 * lyxvc.C: add comment
9513 * vc-backend.C: call bv->reload() to avoid
9514 getStatus() check on MENURELOAD
9516 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
9518 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9519 to an old format .dep file.
9521 2003-03-07 Angus Leeming <leeming@lyx.org>
9523 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9524 when the LFUN_MOUSE_RELEASE should have been handled by
9525 inset->localDispatch.
9527 2003-03-07 Angus Leeming <leeming@lyx.org>
9529 * BufferView_pimpl.C (dispatch):
9530 * LyXAction.C (init):
9531 * ToolbarDefaults.C (init):
9533 * lyxfunc.C (getStatus):
9534 remove LFUN_INSET_GRAPHICS.
9536 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9538 2003-03-07 Angus Leeming <leeming@lyx.org>
9541 * LyXAction.C (init):
9542 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9544 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9547 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9549 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9550 localDispatch method LFUN_INSET_DIALOG_UPDATE.
9552 2003-03-07 Angus Leeming <leeming@lyx.org>
9554 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9557 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9559 * ParagraphList.C (front): new function
9562 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
9564 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9565 and top_row_offset_. removed var first_y.
9567 * text2.C (LyXText, removeRow):
9569 * BufferView_pimpl.C:
9570 use these methods instead of using first_y
9572 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9574 * text2.C (pasteSelection): adjust for checkPastePossible
9576 * CutAndPaste.C: remove Paragraph * buf and replace with
9577 ParagraphList paragraphs.
9578 (DeleteBuffer): delete
9579 (cutSelection): change the tc type to textclass_type
9580 (copySelection): change the tc type to textclass_type
9581 (copySelection): adjust for ParagraphList
9582 (pasteSelection): change the tc type to textclass_type
9583 (pasteSelection): adjust for Paragraphlist
9584 (nrOfParagraphs): simplify for ParagraphList
9585 (checkPastePossible): simplify for ParagraphList
9586 (checkPastePossible): remove unused arg
9588 * ParagraphList.C (insert): handle the case where there are no
9591 * CutAndPaste.h: make CutAndPaste a namespace.
9593 * text3.C (dispatch): adjust
9595 * text.C (breakParagraph): add a ParagraphList as arg
9597 * paragraph_funcs.C (breakParagraph): change to take a
9598 BufferParams and a ParagraphList as args.
9599 (breakParagraphConservative): ditto
9600 (mergeParagraph): ditto
9601 (TeXDeeper): add a ParagraphList arg
9602 (TeXEnvironment): ditto
9605 * buffer.C (readLyXformat2): adjust
9606 (insertStringAsLines): adjust
9607 (latexParagraphs): adjust
9609 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9610 (cutSelection): adjust
9611 (pasteSelection): adjust
9613 * BufferView_pimpl.C (insertInset): adjust
9615 2003-03-05 Angus Leeming <leeming@lyx.org>
9618 * LyXAction.C (init):
9619 * BufferView_pimpl.C (dispatch):
9620 * lyxfunc.C (getStatus):
9621 remove LFUN_CHILD_INSERT.
9623 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9625 2003-03-05 Angus Leeming <leeming@lyx.org>
9628 * LyXAction.C (init):
9629 * src/factory.C (createInset):
9630 * lyxfunc.C (getStatus):
9631 * text3.C (dispatch):
9632 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9634 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9636 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9638 * ParagraphList.C (insert): handle insert right before end()
9639 (erase): fix cases where it can be first or last paragraph.
9641 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9643 * paragraph_funcs.C (TeXEnvironment): remove all usage of
9644 Paragraph::next and Paragraph::previous
9647 * text.C (breakParagraph): adjust
9649 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9650 BufferParams& as arg.
9651 (breakParagraph): use ParagraphList::insert
9652 (breakParagraphConservative): take a Buffer* instead of a
9653 BufferParams& as arg.
9654 (breakParagraphConservative): use ParagraphList::insert.
9656 * buffer.C (insertStringAsLines): un-const it
9657 (insertStringAsLines): adjust
9659 * ParagraphList.C (insert): new function
9661 * CutAndPaste.C (pasteSelection): adjust
9663 * text.C (backspace): adjust
9665 * tabular.C (SetMultiColumn): adjust
9667 * CutAndPaste.C (cutSelection): adjust
9668 (pasteSelection): adjust
9670 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9671 Buffer const * as arg
9673 * ParagraphList.C (erase): new function
9674 * paragraph_funcs.C (mergeParagraph): use it
9675 (mergeParagraph): make it take a Buffer* instead of a
9676 BufferParams* as arg
9678 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9680 (breakParagraphConservative): ditto
9682 * paragraph.h: remove the breakParagraph friend
9684 * paragraph.C (eraseIntern): new function
9685 (setChange): new function
9687 * paragraph_funcs.C (mergeParagraph): make it take a
9688 ParagraphList::iterator instead of a Paragraph *, adjust
9691 * paragraph.h: move an #endif so that the change tracking stuff
9692 also works in the NO_NEXT case.
9694 2003-03-04 Angus Leeming <leeming@lyx.org>
9697 * LyXAction.C: new LFUN_INSET_MODIFY.
9699 * BufferView_pimpl.C (dispatch): if an inset is found to be open
9700 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9702 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9704 * several files: ws changes only
9706 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9707 (TeXEnvironment): ditto
9710 * buffer.C (makeLaTeXFile): adjust
9711 (latexParagraphs): make it take ParagraphList::iterator as args
9713 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
9715 * buffer.C (latexParagraphs): adjust
9717 * paragraph.C (TeXOnePar): move function...
9718 (optArgInset): move function...
9719 (TeXEnvironment): move function...
9720 * paragraph_pimpl.C (TeXDeeper): move function...
9721 * paragraph_funcs.C: ...here
9723 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9725 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9727 * buffer.C (readInset): remove compability code for old Figure and
9730 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9732 * buffer.C: ws changes
9735 * BufferView_pimpl.C: ditto
9738 * bufferlist.h: ditto
9742 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
9744 * converter.[Ch]: split into itself +
9747 * Makefile.am: += graph.[Ch] + format.[Ch]
9754 * lyxrc.C: added #include "format.h"
9756 2003-02-27 Angus Leeming <leeming@lyx.org>
9758 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9761 * factory.C (createInset): add "label" to the factory.
9763 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9764 string and do no more.
9766 2003-02-27 Angus Leeming <leeming@lyx.org>
9769 * LyXAction.C (init):
9770 * factory.C (createInset):
9771 * BufferView_pimpl.C (dispatch):
9772 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9774 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9776 * lyxfunc.C (dispatch):
9777 * text3.C (dispatch): pass name to params2string.
9779 2003-02-26 Angus Leeming <leeming@lyx.org>
9781 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9783 Rearrange the ~includes. Strip out the unnecessary ones.
9785 * factory.C (createInset): reformat.
9786 create new insets for the various LFUN_XYZ_APPLY lfuns.
9788 2003-02-26 John Levon <levon@movementarian.org>
9791 * lyxrow.C: add isParStart,isParEnd helpers
9793 * paragraph.h: make isInserted/DeletedText take refs
9795 * paragraph_funcs.h:
9796 * paragraph_funcs.C: remove #if 0'd code
9801 * text.C: use lyxrow helpers above.
9802 Move draw and paint routines to RowPainter.
9803 Make several methods use refs not pointers.
9804 Make backgroundColor() const.
9805 Add markChangeInDraw(), isInInset().
9806 Merge changeRegionCase into changeCase.
9807 Make workWidth() shouldn't-happen code into an Assert.
9810 * rowpainter.C: new class for painting a row.
9813 * vspace.C: make inPixels take a ref
9815 2003-02-26 Angus Leeming <leeming@lyx.org>
9817 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9820 2003-02-25 John Levon <levon@movementarian.org>
9822 * ispell.C: give the forked command a more accurate name
9824 2003-02-22 John Levon <levon@movementarian.org>
9827 * toc.C: make TocItem store an id not a Paragraph *
9830 2003-02-21 Angus Leeming <leeming@lyx.org>
9832 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9833 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9834 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9835 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9836 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9837 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9839 * BufferView_pimpl.C (dispatch):
9840 * LyXAction.C (init):
9841 * factory.C (createInset):
9842 * lyxfunc.C (getStatus, dispatch):
9843 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9845 2003-02-21 Angus Leeming <leeming@lyx.org>
9847 * BufferView_pimpl.C (MenuInsertLyXFile):
9848 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9849 * lyxfunc.C (menuNew, open, doImport):
9850 no longer pass a LyXView & to fileDlg.
9852 2003-02-21 Angus Leeming <leeming@lyx.org>
9854 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9855 * LyXAction.C: change, BIBKEY to BIBITEM.
9856 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9857 Change InsetBibKey to InsetBibitem.
9858 Change BIBKEY_CODE to BIBITEM_CODE.
9859 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9860 * factory.C: replace insetbib.h with insetbibitem.h.
9861 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9862 * paragraph.C: replace insetbib.h with insetbibitem.h.
9863 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9864 Change bibkey() to bibitem().
9865 * text.C: remove insetbib.h.
9866 * text2.C: replace insetbib.h with insetbibitem.h.
9867 change bibkey() to bibitem().
9868 * text3.C: remove insetbib.h.
9869 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9871 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9873 * lyxrc.C (output): enclose user email in quotes (in case there are
9876 2003-02-18 John Levon <levon@movementarian.org>
9878 * buffer.h: add std::
9880 2003-02-17 John Levon <levon@movementarian.org>
9886 * pspell.C: reworking. Especially in ispell, a large
9887 number of clean ups and bug fixes.
9889 * lyxfunc.C: fix revert to behave sensibly
9891 2003-02-17 André Pönitz <poenitz@gmx.net>
9894 * commandtags.h: new LFUN_INSERT_BIBKEY
9904 * paragraph_func.C: remove special bibkey handling
9906 2003-02-17 John Levon <levon@movementarian.org>
9908 * text.C (Delete): fix case where delete at the end of
9909 the very first paragraph would not merge the pars
9911 2003-02-17 John Levon <levon@movementarian.org>
9913 * lyxrow.C: fix lastPrintablePos()
9915 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9917 * bufferparams.C (writeLaTeX): add a std:here
9919 * buffer.C: and remove a using directive there
9921 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9923 * buffer.C (makeLaTeXFile): move the code that generates the
9926 * bufferparams.C (writeLaTeX): ... in this new method
9928 * LaTeXFeatures.C (getEncodingSet): make const
9929 (getLanguages): make const
9931 * MenuBackend.C (binding): returns the binding associated to this
9933 (add): sets the status of each item by calling getStatus. Adds
9935 (read): add support for OptSubMenu
9936 (expand): remove extra separator at the end of expanded menu
9938 2003-02-15 John Levon <levon@movementarian.org>
9941 * BufferView_pimpl.C:
9943 * bufferlist.C: remove pointless BufferStorage bloat. Remove
9944 inset code that had no actual effect. Remove unneeded status
9947 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9949 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9952 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
9954 * text.C (drawLengthMarker): also draw an arrow marker for
9955 symbolic lengths (medskip...)
9957 2003-02-14 John Levon <levon@movementarian.org>
9960 * tabular.C: better method names
9962 2003-02-14 John Levon <levon@movementarian.org>
9964 * BufferView_pimpl.C:
9969 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9970 it's a more accurate name. Remove some pointless uses.
9972 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9974 * text2.C (LyXText): change order of initilizers to shut off
9977 2003-02-14 John Levon <levon@movementarian.org>
9979 * buffer.C: use ParIterator for getParFromID()
9983 * paragraph_pimpl.h:
9984 * paragraph_pimpl.C: remove unused getParFromID()
9986 2003-02-14 John Levon <levon@movementarian.org>
9988 * buffer.C: remove some very old #if 0'd parse code
9990 2003-02-13 John Levon <levon@movementarian.org>
9994 * text2.C: move hfillExpansion(), numberOfSeparators(),
9995 rowLast(), rowLastPrintable(), numberofHfills(),
9996 numberOfLabelHfills() ...
9999 * lyxrow.C: ... to member functions here.
10004 * text.C: remove LyXText::beginningOfMainBody(), and call
10005 p->beginningOfMainBody() directly. Move the check for
10006 LABEL_MANUAL into the latter.
10013 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
10019 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
10020 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
10022 2003-02-13 John Levon <levon@movementarian.org>
10024 * CutAndPaste.C: remove debug
10026 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10028 * paragraph.C (asString): remove two unused variables
10030 * lyxtextclass.C (readTitleType):
10032 (LyXTextClass): handle new members titletype_ and titlename_
10034 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
10036 2003-02-09 John Levon <levon@movementarian.org>
10039 * buffer.C: replace hand-coded list with a map for the dep clean
10041 2003-02-08 John Levon <levon@movementarian.org>
10043 * LaTeX.C: consolidate code into showRunMessage() helper
10045 2003-02-08 John Levon <levon@movementarian.org>
10050 * BufferView.C: change setSelectionOverString() to setSelectionRange()
10051 and pass the size in explicitly
10053 * BufferView_pimpl.h:
10054 * BufferView_pimpl.C:
10056 * BufferView.C: add getCurrentChange()
10058 * BufferView_pimpl.h:
10059 * BufferView_pimpl.C: handle change lfuns
10061 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
10062 for changes. Mark pasted paragraphs as new.
10064 * support/lyxtime.h:
10065 * support/lyxtime.C:
10066 * DepTable.C: abstract time_t as lyx::time_type
10069 * LColor.C: add colours for new text, deleted text, changebars
10071 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
10072 package use "usenames" option.
10076 * LyXAction.C: add change lfuns
10080 * author.C: author handling
10083 * buffer.C: add a per-buffer author list, with first entry as
10084 current author. Handle new .lyx tokens for change tracking. Output
10085 author list to .lyx file. Output dvipost stuff to .tex preamble.
10086 Bump lyx format to 222.
10089 * bufferlist.C: add setCurrentAuthor() to reset current author details
10093 * bufferparams.C: add param for tracking
10095 * bufferview_funcs.C: output change info in minibuffer
10099 * changes.C: add change-tracking structure
10102 * debug.C: add CHANGES debug flag
10105 * lyxfind.C: add code for finding the next change piece
10108 * lyxrc.C: add user_name and user_email
10111 * lyxrow.C: add a metric for the top of the text line
10114 * text.C: implement accept/rejectChange()
10117 * text.C: paint changebars. Paint new/deleted text in the chosen
10118 colours. Strike through deleted text.
10122 * paragraph_pimpl.h:
10123 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
10124 in the current change to the insert functions. Rework erase to
10125 mark text as deleted, adding an eraseIntern() and a range-based
10126 erase(). Implement per-paragraph change lookup and
10129 * paragraph_funcs.C: Fixup paste for change tracking.
10131 * tabular.C: mark added row/columns as new.
10133 * text.C: fix rowLast() to never return -1. Don't allow
10134 spellchecking of deleted text. Track transpose changes. Don't
10135 allow paragraph break or merge where appropriate.
10137 * text2.C: leave cursor at end of selection after a cut.
10139 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10141 * text.C (getLengthMarkerHeight):
10142 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
10143 visible on screen too.
10145 2003-02-07 John Levon <levon@movementarian.org>
10147 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
10149 2003-02-05 Angus Leeming <leeming@lyx.org>
10151 * lyxserver.C (read_ready): revert my patch of 11 September last year
10152 as it sends PC cpu through the roof. Presumably this means that
10153 the lyxserver will no longer run on an Alpha...
10155 2003-01-30 Angus Leeming <leeming@lyx.org>
10157 * factory.C (createInset): create an InsetCommandParam of type "index"
10158 and use it to 'do the right thing'.
10160 * text2.C (getStringToIndex): ensure that cursor position is always
10161 reset to the reset_cursor position.
10163 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10165 * lyxfunc.C (getStatus): "buffer-export custom" should never be
10168 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
10172 * lyxfunc.C: Output messages with identical spelling, punctuation,
10175 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
10177 * MenuBackend.C (expandFormats): List only viewable export formats
10180 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
10183 * lyxfunc.C (getStatus): Make sure that formats other than
10184 "fax" can also be disabled
10186 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10188 * text3.C (dispatch): put the lfuns that insert insets in 3
10189 groups, and call doInsertInset with appropriate arguments.
10190 (doInsertInset): new function, that creates an inset and inserts
10191 it according to some boolean parameters.
10193 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
10195 * buffer.C (readFile): remember to pass on 'par' when calling
10196 readFile recursively.
10198 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10200 * MenuBackend.C (expandFormats): add "..." to import formats.
10202 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
10204 * paragraph.C (asString): Remove XForms RTL hacks.
10206 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
10207 * buffer.C: fix typo
10209 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
10211 * Makefile.am (LIBS): delete var
10212 (lyx_LDADD): add @LIBS@ here instead.
10214 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
10216 * Clarify the meaning of "wheel mouse jump"
10218 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10220 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
10223 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10225 * importer.C (Loaders): do not preallocate 3 elements in the
10226 vector, since one ends up with 6 elements otherwise
10228 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10230 * DepTable.C (write): write the file name as last element of the
10231 .dep file (because it may contain spaces)
10232 (read): read info in the right order
10234 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10236 * paragraph_pimpl.C (simpleTeXBlanks):
10237 (simpleTeXSpecialChars):
10238 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
10240 * tabular.C (latex): add some missing case statements. Reindent.
10242 * MenuBackend.C (expandToc): remove unused variable.
10244 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
10253 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
10256 2003-01-05 John Levon <levon@movementarian.org>
10259 * BufferView.C: add getEncoding()
10262 * kbsequence.C: do not store last keypress
10265 * lyxfunc.C: store last keypress here instead. Pass encoding
10268 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10270 * lyx_main.C (init): remove annoying error message when following
10271 symbolic links (bug #780)
10273 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10275 * text.C (insertChar):
10276 * lyxrc.C (getDescription): remove extra spaces
10278 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10280 * lyxrc.C (getDescription): remove extra spaces
10282 2002-12-20 John Levon <levon@movementarian.org>
10284 * text3.C: hack fix for page up/down across tall rows
10286 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10288 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10291 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10293 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10294 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10295 thesaurus is not compiled in
10297 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
10299 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
10301 2002-12-16 Angus Leeming <leeming@lyx.org>
10304 * lyx_main.C (init): remove override_x_deadkeys stuff.
10306 2002-12-12 John Levon <levon@movementarian.org>
10308 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10309 insert. Only remove shift modifier under strict
10312 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
10314 * MenuBackend.C (expandToc): fix crash.
10316 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
10318 * MenuBackend.C (expandToc): gettext on float names.
10320 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
10322 * lyxlength.[Ch]: set default unit to UNIT_NONE,
10323 implement bool empty() [bug 490]
10325 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
10327 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10329 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
10331 * several files: ws changes
10333 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
10335 * text2.C (setCounter): clean up a bit, use boost.format.
10336 (updateCounters): initialize par upon declaration.
10338 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10339 if the layout exists. We do not just store the layout any more.
10340 (SwitchLayoutsBetweenClasses): use boost.format
10342 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10344 * converter.C (convert): if from and to files are the same, use a
10345 temporary files as intermediary
10347 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10350 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10352 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
10354 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10356 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
10358 * tabular.C (asciiPrintCell): use string(size, char) instead of
10361 * sgml.C (openTag): fix order of arguments to string constructor
10364 * lyxfunc.C (dispatch): use boost.format
10366 * lots of files: change "c" -> 'c'
10368 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
10370 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10372 2002-11-25 Angus Leeming <leeming@lyx.org>
10374 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10376 * lyx_main.C (init): compile fix.
10378 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
10380 * lyx_cb.C (start): boost.formatify
10381 do not include <iostream>
10383 * lengthcommon.C: ws only
10385 * boost-inst.C,BoostFormat.h: add more explict instantations
10387 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
10389 * lots of files: handle USE_BOOST_FORMAT
10391 2002-11-21 John Levon <levon@movementarian.org>
10393 * pspell.C: fix compile
10395 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10397 * lyxfunc.C (dispatch): use boost::format
10401 * lyxfont.C (stateText): use boost::format
10403 * lyx_main.C (LyX): use boost::format
10405 (queryUserLyXDir): ditto
10406 (readRcFile): ditto
10408 (typedef boost::function): use the recommened syntax.
10410 * importer.C (Import): use boost::format
10412 * debug.C (showLevel): use boost::format
10414 * converter.C (view): use boost::format
10419 * bufferview_funcs.C (currentState): use boost::format
10421 * bufferlist.C (emergencyWrite): use boost::format
10423 * buffer.C (readLyXformat2): use boost::format
10424 (parseSingleLyXformat2Token): ditto
10426 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10428 * LaTeX.C (run): use boost::format
10430 * Chktex.C (scanLogFile): use boost::format
10432 * BufferView_pimpl.C (savePosition): use boost::format
10433 (restorePosition): ditto
10434 (MenuInsertLyXFile): ditto
10436 * BoostFormat.h: help file for explicit instation.
10438 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
10440 * tabular.C (latex): Support for block alignment in fixed width
10443 2002-11-17 John Levon <levon@movementarian.org>
10445 * BufferView_pimpl.C:
10447 * lyxfunc.C: split filedialog into open/save
10449 2002-11-08 Juergen Vigna <jug@sad.it>
10451 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10452 by my last patch (hopefully).
10454 2002-11-08 John Levon <levon@movementarian.org>
10463 * toc.C: ParConstIterator, and use it (from Lars)
10465 2002-11-07 Ben Stanley <bds02@uow.edu.au>
10467 * lyxtextclass.[Ch]: revise and add doxygen comments
10469 2002-11-07 John Levon <levon@movementarian.org>
10471 * text.C: fix progress value for spellchecker
10473 * toc.C: fix navigate menu for insetwrap inside minipage
10475 * paragraph_funcs.C: added FIXME for suspect code
10477 2002-11-07 John Levon <levon@movementarian.org>
10479 * BufferView_pimpl.C: fix redrawing of insets
10482 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10484 * text2.C (updateCounters): fix bug 668
10486 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
10488 * text3.C (dispatch): Do not make the buffer dirty when moving the
10491 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10493 * vc-backend.C: STRCONV
10494 (scanMaster): ditto
10496 * text2.C (setCounter): STRCONV
10498 * paragraph.C (asString): STRCONV
10500 * lyxlength.C (asString): STRCONV
10501 (asLatexString): ditto
10503 * lyxgluelength.C (asString): STRCONV
10504 (asLatexString): ditto
10506 * lyxfunc.C (dispatch): STRCONV
10509 * lyxfont.C (stateText): STRCONV
10511 * importer.C (Import): STRCONV
10513 * counters.C (labelItem): STRCONV
10514 (numberLabel): ditto
10515 (numberLabel): remove unused ostringstream o
10520 * bufferview_funcs.C (currentState): STRCONV
10522 * buffer.C (readFile): STRCONV
10523 (asciiParagraph): ditto
10524 (makeLaTeXFile): ditto
10526 * Spacing.C (writeEnvirBegin): STRCONV
10528 * LaTeXFeatures.C (getLanguages): STRCONV
10529 (getPackages): ditto
10531 (getBabelOptions): ditto
10532 (getTClassPreamble): ditto
10533 (getLyXSGMLEntities): ditto
10534 (getIncludedFiles): ditto
10538 (scanAuxFile): ditto
10541 * LString.h: add the STRCONV macros
10543 * BufferView_pimpl.C (savePosition): STRCONV
10544 (restorePosition): ditto
10545 (MenuInsertLyXFile): ditto
10547 * vc-backend.C (scanMaster): change from submatch[...] to
10550 * funcrequest.C: include config.h
10552 * factory.C: include config.h
10554 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10556 * box.C: include config.h
10558 * LaTeX.C (scanAuxFile): change from submatch[...] to
10562 2002-10-25 Angus Leeming <leeming@lyx.org>
10564 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10566 * ispell.[Ch] (setError): new method.
10567 * ispell.C (c-tor): move out child process into new class LaunchIspell.
10568 Use setError() insetead of goto END.
10570 * lyx_cb.C (AutoSave): move out child process into new class
10573 2002-10-30 John Levon <levon@movementarian.org>
10575 * text3.C: make start appendix undoable
10577 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
10579 * lyxlength.C (inPixels): Fix returned value.
10581 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10584 2002-10-24 Angus Leeming <leeming@lyx.org>
10586 * lyxgluelength.h: no need to forward declare BufferParams
10587 or BufferView, so don't.
10589 2002-10-21 John Levon <levon@movementarian.org>
10591 * BufferView.C: menuUndo ->undo, redo
10593 * BufferView.h: document, remove dead, make some methods private
10595 * paragraph_funcs.h:
10596 * paragraph_funcs.C:
10597 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10602 * sgml.C: move sgml open/close tag into sgml.C
10604 * bufferview_funcs.h: unused prototype
10607 * lyxfunc.C: remove unused
10610 * text.C: remove unused
10612 2002-10-21 John Levon <levon@movementarian.org>
10616 * BufferView_pimpl.h:
10617 * BufferView_pimpl.C: fix mouse wheel handling based on
10618 patch from Darren Freeman
10620 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
10622 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10624 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
10626 * lyxlength.C (inPixels): Fix hanfling of negative length.
10627 Fix LyXLength::MU case.
10629 2002-10-16 John Levon <levon@movementarian.org>
10631 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10633 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10635 * converter.C (view): add support for $$i (file name) and $$p
10636 (file path) for the viewer command. If $$i is not specified, then
10637 it is appended to the command (for compatibility with old syntax)
10639 2002-10-14 Juergen Vigna <jug@sad.it>
10641 * undo_funcs.C (textHandleUndo): alter the order in which the
10642 new undopar is added to the LyXText, as we have to set first
10643 the right prev/next and then add it as otherwise the rebuild of
10644 LyXText is not correct. Also reset the cursor to the right paragraph,
10645 with this IMO we could remove the hack in "redoParagraphs()".
10647 2002-10-09 Angus Leeming <leeming@lyx.org>
10649 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10650 to turn off an optimisation if a new inset is to be inserted.
10652 2002-10-11 André Pönitz <poenitz@gmx.net>
10654 * lyxtext.h: make some functions public to allow access
10655 from inset/lyxtext for handling LFUN_PRIOR/NEXT
10657 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10659 * text3.C (dispatch): when changing layout, avoid an infinite loop
10662 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10664 * lyxrc.C (read): treat a viewer or converter command of "none" as
10667 * MenuBackend.C (expandFormats): for an update, also allow the
10668 formats that are not viewable
10670 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10671 script if it is newer than the lyxrc.defaults in user directory
10673 2002-10-07 André Pönitz <poenitz@gmx.net>
10675 * text.C: Vitaly Lipatov's small i18n fix
10677 2002-09-25 Angus Leeming <leeming@lyx.org>
10679 * ispell.h: doxygen fix.
10681 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
10683 * buffer.h (readFile): Add a new argument to the method, to allow
10684 reading of old-format templates.
10686 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
10688 * toc.C (getTocList): Get TOC from InsetWrap.
10690 2002-09-16 John Levon <levon@movementarian.org>
10692 * lyxfunc.C: check tabular for cut/copy too
10694 2002-09-12 John Levon <levon@movementarian.org>
10696 * LyXAction.C: tidy
10699 * factory.C: add header
10701 * paragraph_funcs.h:
10702 * paragraph_funcs.C: cleanup
10704 2002-09-11 John Levon <levon@movementarian.org>
10706 * PrinterParams.h: odd/even default to true
10708 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
10710 * PrinterParams.h: update printer parameters for new xforms dialog
10712 2002-09-11 Angus Leeming <leeming@lyx.org>
10714 * lyxserver.C (read_ready): re-write to make it more transparent
10715 and to make it work in coherent fashion under Tru64 Unix.
10717 2002-09-11 André Pönitz <poenitz@gmx.net>
10721 * text3.C: implement LFUN_WORDSEL
10723 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10725 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10726 make floatlist_ a boost::shared_ptr<FloatList>
10728 * lyxtextclass.C: include FloatList.h
10729 (LyXTextClass): initialize floatlist_
10730 (TextClassTags): add TC_NOFLOAT
10731 (Read): match "nofloat" to TC_NOFLOAT and use it.
10732 (readFloat): modify call to floatlist_
10736 * FloatList.[Ch] (FloatList): remove commented out float
10738 (erase): new function
10740 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10742 * MenuBackend.C (expandToc): fix crash when there is no document
10745 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
10747 * many files: Add insetwrap.
10749 2002-09-09 John Levon <levon@movementarian.org>
10751 * text2.C: remove confusing and awkward depth wraparound
10753 2002-09-09 John Levon <levon@movementarian.org>
10755 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10758 * buffer.C: remove getIncludeonlyList()
10761 * lyxfunc.C: remove headers
10763 2002-09-09 Juergen Vigna <jug@sad.it>
10765 * text.C (getColumnNearX): fix form Michael this is most
10766 probably a cut&paste bug.
10768 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
10770 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10772 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10773 references, ws changes.
10775 * text2.C (init): update counters after init
10776 (insertParagraph): no need to set counter on idividual paragraphs.
10777 (setCounter): access the counters object in the textclass object
10778 on in the buffer object.
10779 (updateCounters): ditto
10781 * lyxtextclass.C: include counters.h, add variable ctrs_ as
10782 shared_ptr<Counters> to avoid loading counters.h in all
10784 (LyXTextClass): initialize ctrs_
10785 (TextClassTags): add TC_COUNTER, and ...
10786 (Read): use it here.
10787 (CounterTags): new tags
10788 (readCounter): new function
10789 (counters): new funtion
10790 (defaultLayoutName): return a const reference
10792 * counters.C (Counters): remove contructor
10793 (newCounter): remove a couple of unneeded statements.
10794 (newCounter): simplify a bit.
10795 (numberLabel): some small formatting changes.
10797 * buffer.[Ch]: remove all traces of counters, move the Counters
10798 object to the LyXTextClass.
10800 2002-09-06 Alain Castera <castera@in2p3.fr>
10802 * tabular.C: uses \tabularnewline; uses >{...} construct from array
10803 package to set the horizontal alignment on fixed width columns.
10806 * lyx_sty.h: added tabularnewline macro def.
10808 * LaTeXFeatures.C: added NeedTabularnewline macro feature
10810 2002-09-06 John Levon <levon@movementarian.org>
10812 * LyXAction.C: tooltips for sub/superscript
10814 * MenuBackend.C: a bit more verbose
10816 * lyxfunc.C: tiny clean
10818 * undo_funcs.C: document undo_frozen
10820 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
10822 * counters.C (Counters): add missing algorithm counter.
10824 * text2.C (setCounter): lookup the counter with layouts latexname
10825 instead of by section number.
10826 (setCounter): use a hackish way to lookup the correct enum
10828 a float name->type change
10829 reset enum couners with counter name directly instead of depth value.
10831 * counters.C (Counters): remove the push_backs, change to use the
10832 float type not the float name.
10833 (labelItem): remove unused string, float name->type change
10835 * counters.h: don't include vector, loose the enums and sects vectors
10837 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10839 * lyxtextclass.C (TextClassTags): add TC_FLOAT
10840 (Read): add float->TC_FLOAT to textclassTags
10841 (Read): and handle it in the switch
10842 (readFloat): new function
10844 * FloatList.C (FloatList): comment out the hardcoded float
10847 * lyxlayout.h: ws change.
10849 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
10851 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10853 2002-09-03 Angus Leeming <leeming@lyx.org>
10855 * BufferView_pimpl.h: qualified name is not allowed in member
10856 declaration: WorkArea & Pimpl::workarea() const;
10858 * factory.C: added using std::endl directive.
10860 * text3.C: added using std::find and std::vector directives.
10862 2002-08-29 André Pönitz <poenitz@gmx.net>
10865 * text2.C: remove unused member number_of_rows
10868 * BufferView2.C: remove file, move contents to...
10869 * BufferView.C: ... here
10871 * BufferView_pimpl.C:
10872 * factory.C: move more inset creation to factory
10874 * vspace.C: avoid direct usage of LyXText, ws changes
10877 don't provide direct access to WorkArea, use two simple
10878 acessors haveSelction() and workHeight() instead
10881 2002-08-29 John Levon <levon@movementarian.org>
10883 * BufferView_pimpl.C (dispatch): do not continue when
10886 2002-08-28 André Pönitz <poenitz@gmx.net>
10888 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10891 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10893 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
10895 * buffer.C: increment LYX_FORMAT to 221
10897 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10898 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10900 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10902 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10904 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10906 * factory.C (createInset): use LyXTextClass::floats
10908 * MenuBackend.C (expandFloatListInsert):
10909 (expandFloatInsert):
10912 * text2.C (setCounter):
10914 * LaTeXFeatures.C (useFloat):
10915 (getFloatDefinitions):
10917 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10919 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10920 floatlist_, with accessor floats().
10922 * FloatList.h: remove global FloatList
10924 2002-08-26 André Pönitz <poenitz@gmx.net>
10926 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10930 * BufferView_pimpl.C:
10931 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10933 2002-08-25 John Levon <levon@movementarian.org>
10935 * LyXAction.C: fix margin note description
10937 2002-08-24 John Levon <levon@movementarian.org>
10941 * bufferview_funcs.C:
10943 * undo_funcs.C: cleanups
10945 * lyxfunc.C: disable CUT/COPY when no selection
10947 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
10949 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
10950 in "enum UNIT"; e.g. PTW for Percent of TextWidth
10952 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10953 Add backward compatibility to "mono", "gray" and "no".
10955 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
10957 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10958 (and file_format >= 200).
10960 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10962 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10964 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10966 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10968 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
10970 * BufferView_pimpl.C:
10977 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10978 inset and code to make it work with the paragraph code. The inset
10979 can be anywhere in the paragraph, but will only do the expected
10980 thing in LaTeX if the layout file contains the parameter line
10982 (or more generally, a nonzero value) for that layout.
10984 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
10986 * paragraph.h: remove the declaration of undefined counters class
10989 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
10991 * text2.C (setCounter): fixed enumeration mis-count as reported by
10992 Dr. Richard Hawkins.
10994 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10996 * paragraph_funcs.h: remove some unneeded includes
10998 * text.C (backspace): pasteParagraph now in global scipe
11000 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
11001 (pasteSelection): ditto
11003 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
11004 * paragraph_funcs.C (pasteParagraph): ... here
11006 2002-08-20 André Pönitz <poenitz@gmx.net>
11008 * commandtags.h: new LFUNs for swapping/copying table row/colums
11011 * lyxfunc.C: support for new lfuns
11013 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
11016 * buffer.[Ch]: remove NO_COMPABILITY stuff
11018 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
11020 * boost.C (throw_exception): new file, with helper function for
11021 boost compiled without exceptions.
11026 * ParameterStruct.h:
11027 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
11029 * bufferlist.C (emergencyWriteAll): use boost bind
11031 * BufferView_pimpl.C (moveCursorUpdate): remove inline
11033 * text.C: include paragraph_funcs.h
11034 (breakParagraph): breakParagraph is now in global scope
11036 * paragraph_funcs.[Ch]: new files
11038 * paragraph.C (breakParagraph,breakParagraphConservative): move to
11041 * buffer.C: include paragraph_funcs.h
11042 (insertStringAsLines): breakParagraph is now in global scope
11044 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
11047 * CutAndPaste.C: include paragraph_funcs.h
11048 (cutSelection): breakParagraphConservative is now in global scope
11049 (pasteSelection): ditto
11051 * buffer.h: declare oprator== and operator!= for
11052 Buffer::inset_iterator
11054 * bufferlist.C (emergencyWrite): don't use fmt(...)
11056 * text3.C: add using std::endl
11058 * BufferView.C (moveCursorUpdate): remove default arg
11060 2002-08-20 André Pönitz <poenitz@gmx.net>
11062 * buffer.[Ch]: move inline functions to .C
11065 * BufferView_pimpl.C:
11067 * buffer.[Ch]: use improved inset_iterator
11070 * paragraph.[Ch]: write one paragraph at a time
11072 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
11074 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
11075 style if style is not specified.
11077 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11079 * text2.C (setCounter): when searching for right label for a
11080 caption, make sure to recurse to parent insets (so that a caption
11081 in a minipage in a figure float works) (bug #568)
11083 2002-08-20 André Pönitz <poenitz@gmx.net>
11085 * text3.C: new file for LyXText::dispatch() and helpers
11087 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
11089 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
11091 2002-08-19 André Pönitz <poenitz@gmx.net>
11094 * text.C: new LyXText::dispatch()
11096 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
11098 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
11100 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
11102 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
11105 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11107 * Makefile.am: use $(variables) instead of @substitutions@
11109 2002-08-15 André Pönitz <poenitz@gmx.net>
11112 * BufferView_pimpl.C: streamlining mathed <-> outer world
11116 * LyXAction.C: remove unused LFUN_MATH
11118 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
11120 * paragraph.[Ch]: add some NO_NEXT ifdefs.
11122 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
11124 * paragraph.C (Paragraph): reformat a bit
11125 (cutIntoMinibuffer): use builtin InsetList function instad of
11129 * buffer.C: include boost/bind.hpp, add using std::for_each
11130 (writeFileAscii): use ParagraphList iterators
11131 (validate): use for_each for validate traversal of paragraphs
11132 (getBibkeyList): use ParagraphList iterators
11133 (resizeInsets): use for_each to resizeInsetsLyXText for all
11135 (getParFromID): use ParagraphList iterators
11137 * BufferView2.C (lockInset): use paragraph list and iterators
11139 2002-08-14 John Levon <levon@movementarian.org>
11141 * lyxserver.C: remove spurious xforms include
11143 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11145 * lyxfunc.C (getStatus): disable math-extern outside of math mode
11147 2002-08-13 André Pönitz <poenitz@gmx.net>
11150 * lyxfunc.C: further cleaning
11152 2002-08-13 André Pönitz <poenitz@gmx.net>
11154 * funcrequest.h: new constructor
11156 * funcrequest.C: move stuff here from .h
11159 * BufferView_pimpl.C:
11162 * lyxfunc.C: subsequent changes
11164 * lyxfunc.h: new view() member function
11166 * lyxfunc.C: subsequent changes
11168 2002-08-13 Angus Leeming <leeming@lyx.org>
11171 * BufferView_pimpl.C:
11179 changes due to the changed LyXView interface that now returns references
11180 to member variables not pointers.
11182 2002-08-13 Angus Leeming <leeming@lyx.org>
11184 * WordLangTuple (word, lang_code): return references to strings,
11189 * lyxtext.h: forward-declare WordLangTuple.
11194 * text.C: #include "WordLangTuple.h".
11197 * text.C: (selectNextWordToSpellcheck): constify return type.
11199 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
11205 * paragraph_pimpl.h:
11208 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
11209 suggested by Angus.
11210 Made updateCounter always count from start of buffer, and removed
11211 second argument (par).
11212 Reverted floats number display to '#'. Perhaps I'll try again when the
11213 code base is sanitized a bit.
11215 2002-08-12 Angus Leeming <leeming@lyx.org>
11217 * buffer.[Ch] (getLabelList): constify.
11219 2002-08-07 André Pönitz <poenitz@gmx.net>
11221 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
11223 * funcrequest.h: extension to keep mouse (x,y) position
11225 2002-08-12 Juergen Vigna <jug@sad.it>
11227 * BufferView2.C (insertErrors): forbid undo when inserting error
11230 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
11232 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
11234 * ParagraphList.[Ch]: new files
11236 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
11238 * BufferView2.C (lockInset): ParagraphList changes
11241 * bufferlist.C: ditto
11245 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11247 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
11248 unused class variable counter_,
11250 * paragraph.[Ch] (getFirstCounter): delete unused function
11252 * counters.C: include LAssert.h
11253 (reset): add a new function with no arg, change other version to
11254 not have def. arg and to not allow empty arg.
11256 * text2.C (setCounter): remove empty arg from call to Counters::reset
11258 2002-08-11 John Levon <levon@movementarian.org>
11260 * Makefile.am: add WordLangTuple.h
11262 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11264 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
11265 lyxfunc.C lyxlex_pimpl.C: ws changes only.
11267 * insets/insettext.C: InsetList changes
11269 * graphics/GraphicsSupport.C (operator()): InsetList changes
11271 * toc.C (getTocList): InsetList changes
11273 * paragraph_pimpl.[Ch]: InsetList changes
11275 * paragraph.[Ch]: InsetList changes
11277 * buffer.C (inset_iterator): InsetList changes
11278 (setParagraph): ditto
11279 * buffer.h (inset_iterator): ditto
11280 * iterators.C (operator++): ditto
11281 * iterators.h: ditto
11283 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11285 * InsetList.[Ch]: new files, most InsetList handling moved out of
11288 * BufferView2.C (removeAutoInsets): InsetList changes
11290 (ChangeInsets): ditto
11292 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
11294 * paragraph_pimpl.h (empty): new function
11296 * paragraph.[Ch] (empty): new function
11298 * other files: use the new Paragraph::empty function
11300 2002-08-09 John Levon <levon@movementarian.org>
11302 * lyxtext.h: remove unused refresh_height
11304 2002-08-09 John Levon <levon@movementarian.org>
11311 * paragraph.C: move sgml char escaping out of paragraph
11314 * paragraph.C: remove id setter
11318 * paragraph_pimpl.C: remove dead tex_code_break_column
11320 * bufferview_funcs.C: small cleanup
11322 * lyxfunc.C: remove dead proto
11324 * lyxtext.h: make some stuff private. Remove some dead stuff.
11326 * lyxgluelength.C: make as[LyX]String() readable
11328 2002-08-08 John Levon <levon@movementarian.org>
11333 * ToolbarDefaults.C:
11336 * toc.C: lyxaction cleanup
11338 2002-08-08 John Levon <levon@movementarian.org>
11340 * BufferView2.C: small cleanup
11343 * lyxfind.C: move unnecessary header into the .C
11345 2002-08-08 John Levon <levon@movementarian.org>
11347 * funcrequest.h: just tedious nonsense
11350 * lyx_main.C: cleanups
11353 * vspace.C: remove dead header lyx_main.h
11355 2002-08-07 Angus Leeming <leeming@lyx.org>
11358 * paragraph_pimpl.h:
11359 Forward declare class Counters in paragraph.h by moving the ctrs member
11360 variable into Paragraph::Pimpl.
11361 (counters): new method, returning a reference to pimpl_->ctrs.
11363 * text2.C: ensuing changes.
11365 2002-08-07 John Levon <levon@movementarian.org>
11367 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11369 * BufferView_pimpl.C: announce X selection on double/triple
11372 * lyx_main.C: use correct bool in batch dispatch
11374 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11376 2002-08-07 André Pönitz <poenitz@gmx.net>
11378 * funcrequest.h: new class to wrap a kb_action and its argument
11381 * BufferView_pimpl[Ch]:
11385 * lyxrc.C: subsequent changes
11388 2002-08-07 John Levon <levon@movementarian.org>
11390 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11391 document options change.
11393 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11398 * makefile.am: move counters functionality over from
11399 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11401 2002-08-06 John Levon <levon@movementarian.org>
11403 * WordLangTuple.h: new file for word + language code tuple
11414 * BufferView2.C: use WordLangTuple
11417 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11419 2002-08-06 John Levon <levon@movementarian.org>
11421 * lyx_main.C: fix cmdline batch handling
11423 2002-08-06 André Pönitz <poenitz@gmx.net>
11425 * lyxrc.C: set default for show_banner to true
11427 2002-08-06 John Levon <levon@movementarian.org>
11429 * pspell.C: fix a crash, and allow new aspell to work
11431 2002-08-06 John Levon <levon@movementarian.org>
11434 * kbmap.C: small cleanup
11437 * vspace.C: add const
11439 2002-08-05 John Levon <levon@movementarian.org>
11441 * LyXAction.C: back to tabular-insert
11443 2002-08-04 John Levon <levon@movementarian.org>
11446 * BufferView.C: cosmetic change
11448 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11458 * BufferView2.C: purge all "Lyx" not "LyX" strings
11461 * lyxcursor.C: attempt to add some documentation
11466 * ToolbarDefaults.C:
11467 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11468 merge with LFUN_TABULAR_INSERT
11475 * pspell.C: split up i/pspell implementations into separate
11476 files, many cleanups
11478 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11480 * text2.C: some cleanup
11482 * lyxfunc.C: don't check for isp_command == "none" any more, it
11483 didn't make any sense
11485 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11490 * makefile.am: move counters functionality over
11491 from text2.C/paragraph.[Ch] to counters.[Ch], and
11493 2002-08-02 John Levon <levon@movementarian.org>
11495 * buffer.C: s/lyxconvert/lyx2lyx/
11497 2002-08-02 Angus Leeming <leeming@lyx.org>
11499 * lyxlex.C: revert John's change as it breaks reading of the user
11502 2002-08-02 Angus Leeming <leeming@lyx.org>
11504 * importer.C (Import):
11505 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11506 changes due to LyXView::view() now returning a boost::shared_ptr.
11508 2002-08-02 John Levon <levon@movementarian.org>
11510 * lyxlex.C: small cleanup
11512 2002-08-02 John Levon <levon@movementarian.org>
11514 * text2.C (status): small cleanup, no logic change
11516 2002-08-01 John Levon <levon@movementarian.org>
11519 * buffer.C (writeFile): don't output alerts, caller
11523 * lyx_cb.C: from above
11525 * lyxfunc.C: allow to open non-existent files
11527 2002-07-31 John Levon <levon@movementarian.org>
11529 * lyxserver.C: don't let incidental errors get
11532 2002-07-30 John Levon <levon@movementarian.org>
11534 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11536 2002-07-30 John Levon <levon@movementarian.org>
11539 * lyxserver.C: remove I/O callback too
11541 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11543 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11546 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
11548 * many files: strip,frontStrip -> trim,ltrim,rtrim
11550 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
11552 * PrinterParams.h: remove extern containsOnly, and include
11553 support/lstrings.h instead.
11555 * LaTeX.C (scanAuxFile): modify because of strip changes
11557 * buffer.C (makeLaTeXFile): ditto
11558 * bufferparams.C (writeFile): ditt
11559 * lyxfont.C (stateText): ditto
11560 * lyxserver.C (read_ready): ditto
11561 * vc-backend.C (scanMaster): ditto
11563 * BufferView_pimpl.h: ws changes
11565 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11567 2002-07-26 André Pönitz <poenitz@gmx.net>
11569 * kb_sequence.C: remove unnedred usings
11571 2002-07-26 Juergen Vigna <jug@sad.it>
11573 * lyxfind.C (LyXReplace): we have to check better if the returned
11574 text is not of theLockingInset()->getLockingInset().
11576 2002-07-25 Juergen Vigna <jug@sad.it>
11578 * lyxfind.C (LyXReplace): don't replace if we don't get the
11581 * undo_funcs.C (createUndo): remove debugging code.
11583 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
11585 * buffer.C (parseSingleLyXformat2Token): Use default placement
11586 when reading old floats.
11588 * FloatList.C (FloatList): Change the default placement of figure
11589 and tables to "tbp".
11591 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
11593 * MenuBackend.C: using std::max
11595 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11597 * MenuBackend.C (expandToc):
11598 (expandToc2): code moved from xforms menu frontend. It is now
11599 generic and TOCs are transparent to menu frontends.
11601 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11603 * toc.C (getTocList): protect against buf=0
11605 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11606 Menu as first parameter. Now, this calls itself recursively to
11607 expand a whole tree (this will be useful for TOC handling)
11608 (expandFloatInsert): remove 'wide' version of floats
11610 * MenuBackend.h (submenuname): returns the name of the submenu.
11611 (submenu): returns the submenu itself, provided it has been
11612 created by MenuBackend::expand
11614 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11616 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11617 insets which have noFontChange == true. (bug #172)
11619 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11621 * BufferView_pimpl.C: add connection objects and use them...
11624 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11626 * MenuBackend.C (expandLastfiles):
11629 (expandFloatListInsert):
11630 (expandFloatInsert):
11631 (expand): split expand in parts
11633 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11635 * lyx_gui.C: use lyx_gui::exit()
11637 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11639 * LyXAction.C: show the failing pseudo action
11641 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
11643 * buffer.C (readFile): Run the lyxconvert script in order to read
11646 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11650 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11652 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11656 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11658 2002-07-22 Herbert Voss <voss@lyx.org>
11661 * lyxlength.[Ch]: add support for the vertical lengths
11663 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
11665 * toc.[Ch]: std:: fixes
11667 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11669 * lyxrc.C: do not include lyx_main.h
11671 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11677 * BufferView2.C: include "lyxlex.h"
11680 * bufferparams.h: do not #include "lyxlex.h"
11682 * lyxtextclasslist.C (Add): remove method
11683 (classlist): renamed to classlist_
11685 * paragraph_pimpl.C:
11689 * bufferview_funcs.C:
11694 * toc.C (getTocList): use BufferParams::getLyXTextClass
11696 * toc.C (getTocList): use InsetFloat::addToToc
11698 * toc.[Ch]: new files, containing helper functions to handle table
11701 * lyxfunc.C (dispatch): no need to remove spaces around command
11703 (getStatus): handle LFUN_SEQUENCE by returning the status of the
11704 first command of the sequence; it is not very clever, but I do not
11705 have a better idea, actually
11707 * LyXAction.C (LookupFunc): make sure to remove space at the
11708 beginning and end of the command
11710 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11712 * MenuBackend.C (getMenubar): new method: return the menubar of
11714 (read): treat differently reading of menu and menubar (in
11715 particular, the menubar has no name now)
11716 (Menu::menubar): remove
11718 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11721 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11723 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11724 a bibitem inset in a RTL paragraph.
11726 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
11728 * paragraph_pimpl.C: constify
11730 * BufferView_pimpl.C:
11732 * lyxfunc.C: fix dispatch in a nicer way
11734 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11736 * lyxfunc.C (dispatch):
11737 * BufferView_pimpl.C:
11738 * BufferView_pimpl.h:
11740 * BufferView.h: rename Dispatch() to dispatch()
11742 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11744 * lyxlayout.C (Read): honor DependsOn tag
11746 * lyxlayout.[Ch] (depends_on): new method
11748 * version.C.in: update lyx_docversion
11750 * LaTeXFeatures.C (getMacros): only define \LyX when needed
11752 * paragraph.C (validate): remove from here...
11753 * paragraph_pimpl.C (validate): ... and move here
11754 (isTextAt): make it const
11756 * buffer.C (getLists): ws cleanup
11758 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11760 * language.C (read): Use iso8859-1 encoding in latex_lang
11761 (this prevents LyX from crashing when using iso10646-1 encoding).
11763 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11765 * text2.C (toggleInset): if cursor is inside an inset, close the
11766 inset and leave cursor _after_ it
11768 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11770 * lyxfunc.C: move minibuffer completion handling out of here
11772 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11774 * BufferView_pimpl.C:
11775 * LaTeX.C: fix dispatch calls
11777 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
11779 * text.C (drawChars): Fix Arabic text rendering.
11781 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
11785 * lyxfunc.C: remove message-push/pop
11789 * lyxfunc.C: rationalise some code by removing verboseDispatch
11790 in favour of a bool argument to dispatch()
11792 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11794 * lyx_main.C (init): make sure to read symlinks as absolute paths
11796 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11799 * lyxfunc.C: no need for commandshortcut to be a member
11801 2002-07-15 André Pönitz <poenitz@gmx.net>
11803 * converter.C: add support for $$s (scripts from lib/scripts dir)
11804 * lyx_main.C: white space
11806 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11810 * lyxrc.C: remove second exit confirmation
11812 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11817 * BufferView_pimpl.h:
11818 * BufferView_pimpl.C:
11819 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11821 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11823 * MenuBackend.C (expand): add numeric shortcuts to document menu
11825 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11827 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11829 * lyxfont.C (setLyXFamily):
11836 * buffer.C (asciiParagraph): use ascii_lowercase
11838 2002-07-15 Mike Fabian <mfabian@suse.de>
11840 * lyxlex_pimpl.C (search_kw):
11841 * lyxlex.C (getLongString):
11842 * converter.h (operator<):
11843 * converter.C (operator<):
11844 * buffer.C (parseSingleLyXformat2Token):
11846 * ToolbarDefaults.C (read):
11847 * MenuBackend.C (checkShortcuts):
11849 * LColor.C (getFromGUIName):
11850 (getFromLyXName): use the compare_ascii_no_case instead of
11851 compare_no_case, because in turkish, 'i' is not the lowercase
11852 version of 'I', and thus turkish locale breaks parsing of tags.
11854 2002-07-16 Angus Leeming <leeming@lyx.org>
11856 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11857 now takes a Buffer const & argument.
11859 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
11861 * BufferView.C (resize): check there's a buffer to resize
11863 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
11865 * lyxfunc.C: remove dead code
11868 * lyxserver.C: use lyx_guii::set_read_callback
11870 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
11872 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11873 an inset in a RTL paragraph.
11875 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11877 * lyxfunc.C: repaint after a font size update
11879 2002-07-15 André Pönitz <poenitz@gmx.net>
11881 * lyxlength.C: inBP should be able to return negative values
11883 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11885 * lyxfunc.C: use lyx_gui::update_fonts()
11887 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11889 * lyxfunc.C: use lyx_gui::update_color()
11891 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11897 * lyxrc.C: remove file->new asks for name option, and let
11898 buffer-new take an argument
11900 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11902 * BufferView_pimpl.C: remove unneeded extra repaint()
11904 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
11906 * LyXAction.C: allow command-sequence with NoBuffer
11908 * lyxfunc.C: don't insist on trailing ';' for command-sequence
11910 2002-07-10 Angus Leeming <leeming@lyx.org>
11912 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11914 2002-07-09 Angus Leeming <leeming@lyx.org>
11916 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11918 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11920 * lengthcommon.h: whitespace
11922 * lyxfunc.C: update scrollbar after goto paragraph
11924 * lyxtext.h: factor out page break drawing, and fix it so
11925 page break/added space paints as selected nicely
11927 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11929 * BufferView_pimpl.C: add FIXMEs, clean up a little
11931 2002-07-09 André Pönitz <poenitz@gmx.net>
11933 * lyxfont.[Ch]: support for wasy symbols
11935 2002-07-08 André Pönitz <poenitz@gmx.net>
11937 * BufferView_pimpl.C: apply John's patch for #93.
11939 2002-07-05 Angus Leeming <leeming@lyx.org>
11941 * BufferView_pimpl.C (buffer): generate previews if desired.
11943 * LColor.h: add "preview" to the color enum.
11945 * LColor.C (LColor): add a corresponding entry to the items array.
11947 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
11950 2002-07-05 Angus Leeming <leeming@lyx.org>
11952 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11953 The body of the code is now in the method that is passed an ostream &
11954 rather than a file name.
11955 Pass an additional only_preamble parameter, useful for the forthcoming
11958 2002-07-03 André Pönitz <poenitz@gmx.net>
11960 * lyxfunc.C: simplify getStatus() a bit for math stuff
11962 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11964 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11966 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11968 * text.C (changeRegionCase): do not change case of all the
11969 document when region ends at paragraph end (bug #461)
11971 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11973 * paragraph.C (startTeXParParams):
11974 (endTeXParParams): add \protect when necessary
11976 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11978 * BufferView_pimpl.C (workAreaExpose): remove warning
11980 2002-06-27 Angus Leeming <leeming@lyx.org>
11982 * Makefile.am: add lyxlayout_ptr_fwd.h.
11984 2002-06-26 André Pönitz <poenitz@gmx.net>
11986 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
11988 2002-06-25 Angus Leeming <leeming@lyx.org>
11990 * lyxfunc.C (dispatch): Comment out the call to
11991 grfx::GCache::changeDisplay. The method no longer exists now that the
11992 pixmap generation part of the graphics loader has been moved into
11995 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11997 * text2.C: layout as layout
11999 * text.C: layout as layout
12001 * tabular.C (OldFormatRead): layout as layout
12003 * paragraph_pimpl.C (TeXDeeper): layout as layout
12004 (realizeFont): layout as layout
12006 * paragraph.C (writeFile): layout as layout
12007 (validate): layout as layout
12008 (getFont): layout as layout
12009 (getLabelFont): layout as layout
12010 (getLayoutFont): layout as layout
12011 (breakParagraph): layout as layout
12012 (stripLeadingSpaces): layout as layout
12013 (getEndLabel): layout as layout
12014 (getMaxDepthAfter): layout as layout
12015 (applyLayout): layout as layout
12016 (TeXOnePar): layout as layout
12017 (simpleTeXOnePar): layout as layout
12018 (TeXEnvironment): layout as layout
12019 (layout): layout as layout
12020 (layout): layout as layout
12022 * lyxtextclass.C (compare_name): new functor to work with
12023 shared_ptr, layout as layout
12024 (Read): layout as layout
12025 (hasLayout): layout as layout
12026 (operator): layout as layout
12027 (delete_layout): layout as layout
12028 (defaultLayout): layout as layout
12030 * lyxlayout_ptr_fwd.h: new file
12032 * lyxlayout.C (Read): layout as layout
12034 * lyx_cb.C (MenuInsertLabel): layout as layout
12036 * bufferlist.C (newFile): layout as layout
12038 * buffer.C (readLyXformat2): layout as layout
12039 (parseSingleLyXformat2Token): layout as layout
12040 (insertStringAsLines): layout as layout
12041 (asciiParagraph): layout as layout
12042 (latexParagraphs): layout as layout
12043 (makeLinuxDocFile): layout as layout
12044 (simpleLinuxDocOnePar): layout as layout
12045 (makeDocBookFile): layout as layout
12046 (simpleDocBookOnePar): layout as layout
12047 (getLists): layout as layout
12049 * LaTeXFeatures.C (getTClassPreamble): layout as layout
12051 * CutAndPaste.C (cutSelection): layout as layout
12052 (pasteSelection): layout as layout
12053 (SwitchLayoutsBetweenClasses): layout as layout
12055 * BufferView_pimpl.C (Dispatch): layout as layout
12056 (smartQuote): layout as layout
12058 * BufferView2.C (unlockInset): layout as layout
12060 2002-06-24 André Pönitz <poenitz@gmx.net>
12062 * lyxfunc.C: fix #487
12064 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12068 * lyxfunc.C: remove display_shortcuts, show_banner
12070 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12072 * Buffer_pimpl.C: oops, update on resize
12074 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12081 * BufferView.C: use repaint()
12083 * BufferView_pimpl.h:
12084 * BufferView_pimpl.C: s/updateScreen()/repaint()/
12085 as it's a clearer description. Remove superfluous
12088 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12090 * text.C: fix bug 488. Not ideal, but getting
12091 getWord() to work properly for the insets that
12092 matter is more difficult ...
12094 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12096 * BufferView_pimpl.C:
12099 * lyxfunc.C: remove the six million index lyxfuncs to just
12100 one, and DTRT (bug 458)
12102 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12106 * BufferView_pimpl.h:
12107 * BufferView_pimpl.C: clean up resize() stuff,
12108 and unnecessary updateScreen()s
12110 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12114 * BufferView_pimpl.h:
12115 * BufferView_pimpl.C:
12118 * minibuffer.C: remove focus management of workarea,
12119 not needed. Use screen's greyOut()
12121 2002-06-17 Herbert Voss <voss@lyx.org>
12123 * converter.C: (convert) do not post a message, when converting
12124 fails, let the calling function decide what to do in this case
12126 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
12128 * lyxfunc.C: tidy up a little
12130 2002-06-16 <alstrup@diku.dk>
12132 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
12133 Got rid of FORMS_H_LOCATION include. Now we are
12136 2002-06-15 LyX Development team <lyx@rilke>
12138 * buffer.[Ch] (sgmlOpenTag):
12139 (sgmlCloseTag): Added support for avoiding pernicious mixed
12140 content. Return number of lines written.
12142 (makeLinuxDocFile):
12143 (makeDocBookFile): Fixed calls to sgml*Tag.
12144 Simple white space clean.
12146 (simpleDocBookOnePar): Simple white space clean.
12148 * tabular.[Ch] (docBook): Renamed to docbook and got another
12149 argument to related with the pernicious mixed content.
12151 (docbookRow): Fixed calls for docbook inset method.
12153 2002-06-15 Lyx Development team <larsbj@birdstep.com>
12155 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
12156 so it's X11 independent.
12160 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
12162 2002-06-15 Lyx Development team <lyx@electronia>
12164 * intl.h: Renamed getTrans to getTransManager.
12166 2002-06-14 Angus Leeming <leeming@lyx.org>
12168 * Makefile.am: nuke forgotten stl_string_fwd.h.
12170 2002-06-12 Angus Leeming <leeming@lyx.org>
12172 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
12174 2002-06-13 Angus Leeming <leeming@lyx.org>
12177 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
12179 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
12181 * kbmap.C (getiso): add support for cyrillic and greek
12183 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12187 * BufferView_pimpl.h:
12188 * BufferView_pimpl.C: move bogus scrolling logic
12191 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12194 * BufferView_pimpl.C: view->resize() change
12196 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12198 * BufferView_pimpl.C: topCursorVisible
12201 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12205 * lyx_gui.C: move to frontends/
12209 * lyx_main.C: changes from above
12211 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12218 * lyx_main.C: minor tidy
12220 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12222 * BufferView_pimpl.h:
12223 * BufferView_pimpl.C:
12225 * BufferView.C: make painter() const,
12228 * BufferView2.C: use screen() accessor
12231 * lyx_main.C: some minor cleanup
12233 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12235 * BufferView_pimpl.h:
12236 * BufferView_pimpl.C: remove enter/leaveView,
12239 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12244 * BufferView_pimpl.h:
12245 * BufferView_pimpl.C: only construct screen once,
12248 * lyxrc.C: remove pointless comment
12250 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
12253 * BufferView.C: remove active() and belowMouse()
12255 * BufferView_pimpl.h:
12256 * BufferView_pimpl.C: use workarea() not workarea_,
12257 and make it use a scoped_ptr instead
12259 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
12261 * lyx_gui.C: add debug message on BadWindow
12263 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12265 * sp_spell.C: fdopen is not part of the C++ standard.
12267 * paragraph.C (InsetIterator): use >= instead of ==
12269 2002-06-07 Angus Leeming <leeming@lyx.org>
12271 Fixes needed to compile with Compaq cxx 6.5.
12272 * BufferView_pimpl.C:
12279 * lyxtextclasslist.C:
12284 all c-library variables have been moved into namespace std. Wrap
12285 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12290 Add a using std::abs declaration.
12292 * kbmap.h (modifier_pair):
12293 * paragraph.h (InsetTable, InsetList):
12294 * lyxfont.h (FontBits):
12295 type definition made public.
12297 * bufferlist.C (emergencyWriteAll): the compiler complains that
12298 there is more than one possible lyx::class_fun template to choose from.
12299 I re-named the void specialisation as lyx::void_class_fun.
12301 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12303 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12304 the compiler is is unable to find tostr in write_attribute.
12306 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12308 * buffer.C (sgmlError): hide #warning
12310 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12312 * xtl/*: get rid of xtl, which is not in use anyway
12314 * LyXAction.C (init):
12315 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12316 were unimplemented xtl experimentation
12318 2002-06-04 André Pönitz <poenitz@gmx.net>
12320 * lyxfunc.C: disable array operation on simple formulae
12322 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
12324 * converter.C: constify a bit
12326 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
12328 * lyx_gui.C: check xforms version correctly
12330 2002-04-30 Herbert Voss <voss@lyx.org>
12332 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12335 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
12337 * lyxvc.C: fix bug 416 (make sure buffer is saved before
12338 attempt to register it with a VCS)
12340 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12342 * lyx_main.C (init): honor variables LYX_DIR_13x and
12345 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12349 * lyx_main.C: fix a crash on bad command line,
12350 and give a useful exit status on error
12352 * lyxfunc.C (doImport): allow -i lyx to work
12354 2002-03-30 André Pönitz <poenitz@gmx.net>
12356 * lyxfunc.C: mathed font changes
12358 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12373 * trans_mgr.h: srcdocs, and some minor cleanups
12375 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12377 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12378 call getFont all the time)
12380 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12382 * switch from SigC signals to boost::signals
12384 2002-05-29 André Pönitz <poenitz@gmx.net>
12386 * paragraph_pimpl.C (getChar): don't call size() too often...
12388 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12390 * paragraph_pimpl.C (insertChar): do not try to update tables when
12391 appending (pos == size())
12393 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12394 in order to reduce drastically the number of comparisons needed to
12395 parse a large document
12397 2002-05-29 André Pönitz <poenitz@gmx.net>
12403 * textclasslist.[Ch]:
12404 * sp_ispell.h: whitespace change
12406 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12408 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12409 lyxaction directly now.
12411 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
12415 * lyxvc.C: remove unused headers
12417 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12424 * undo_funcs.C: some cleanups. Use shared_ptr
12425 and a template for the undo stacks.
12427 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12429 * BufferView_pimpl.h:
12430 * BufferView_pimpl.C:
12437 * text2.C: use key_state/mouse_state
12439 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12441 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12444 * chset.C: change include order
12445 (loadFile): use boost regex and get rid of LRegex and LSubstring
12447 * Makefile.am (BOOST_LIBS): new variable
12448 (lyx_LDADD): use it
12450 * LaTeX.C: change include order.
12451 (scanAuxFile): use boost regex and get rid of LRegex and
12455 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12460 * FontInfo.C: moved to frontends/xforms/
12463 * FontLoader.C: moved into frontends for GUIIzation
12468 * lyxfunc.C: changes from above
12470 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12472 * LColor.C: remove spurious X include
12474 * BufferView_pimpl.C:
12479 * text2.C: move font metrics to frontends/
12481 2002-05-24 Juergen Vigna <jug@sad.it>
12483 * undo_funcs.C (textHandleUndo): fix the cursor selection after
12484 setting the undo_cursor.
12486 * ParagraphParameters.h: include local includes first.
12488 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12490 * BufferView_pimpl.C:
12491 * BufferView_pimpl.h:
12495 * screen.C: move WorkArea into frontends/
12501 * BufferView2.C: move LyXScreen into frontends/
12505 * lyx_gui.C: move lyxlookup into frontends/xforms/
12507 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12510 * BufferView_pimpl.C:
12520 * bufferview_funcs.C:
12533 * vc-backend.C: move LyX/XFormsView into frontends/
12535 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12547 * text2.C: move Painter to frontends/
12549 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
12551 * buffer.C: comment out some some code that depend upon lyx_format
12554 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12555 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12557 * buffer.h (NO_COMPABILITY): turn off compability
12559 * ColorHandler.C: include scoped_array.hpp
12561 * font.C: Use more specific smart_ptr header.
12564 * ShareContainer.h: ditto
12565 * lyx_main.h: ditto
12567 * FontInfo.h: ditto
12568 * BufferView_pimpl.h: ditto
12569 * ColorHandler.h: ditto
12571 * kbmap.C (defkey): change call to shared_ptr::reset
12573 2002-05-21 Juergen Vigna <jug@sad.it>
12575 * buffer.C (insertErtContents): fix to insert ert asis if it is
12576 non empty. Skip it completely if it contains only whitespaces.
12578 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
12580 * BufferView_pimpl.C:
12581 * BufferView2.C: clear selection on paste (bug 393)
12583 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12585 * DepTable.C: include ctime
12587 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
12589 * buffer.C (latexParagraphs): Add new argument (moving_arg).
12591 2002-05-14 Juergen Vigna <jug@sad.it>
12593 * text.C (breakParagraph): fixed function to honor the keepempty
12594 layout in the right maner and also to permit the right breaking
12595 algorithm on empty or non empyt keepempty paragraphs.
12597 * paragraph.C (breakParagraph): we have to check also if the par
12598 is really empty (!size()) for isempty otherwise we do the wrong
12601 2002-05-10 Juergen Vigna <jug@sad.it>
12603 * buffer.[Ch] : The following are only changes to the ert
12604 compatibility read reading old LaTeX layout and font stuff and
12605 convert it to ERTInsets.
12607 * buffer.h: added isErtInset().
12609 * buffer.C (struct ErtComp): add a fromlayout bool to check
12610 if we're inside a LaTeX layout.
12611 (isErtInset): new helper function.
12612 (insertErtContents): look for other ert insets before this one
12613 and insert the contents there, so that we don't have subsequent
12614 ERT insets with nothing between them. This way we create only one
12615 inset with multiple paragraphs. Also check if we don't insert only
12616 spaces ' ' as they are ignored anyway afterwards in the .tex file
12617 so if we have only spaces we will ignore this latex part in the
12619 (parseSingleLyXformat2Token \\layout): better compatibility when
12620 reading layout-latex stuff.
12621 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12623 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12624 stuff after reading the inset only get the information back from
12627 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
12629 * buffer.C (makeLaTeXFile): Put language options after loading babel.
12631 * LaTeXFeatures.C (getBabelOptions): New method.
12633 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12635 * BufferView_pimpl.C (Dispatch): work around missing argument for
12638 2002-05-08 Juergen Vigna <jug@sad.it>
12640 * text.C (leftMargin): handle paragraph leftindent.
12642 * paragraph.C (writeFile): write the new \\leftindent tag.
12643 (validate): handle leftindent code.
12644 (TeXEnvironment): handle paragraphleftindent code again.
12646 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12648 * buffer.C (parseSingleLyXformat2Token): added compatibility code
12649 for paragrap_extra indent code and new token \\leftindent.
12650 (latexParagraphs): handle the leftindent as environment.
12652 * ParameterStruct.h: added leftindent support.
12654 * ParagraphParameters.C (leftIndent): added support functions for
12655 the paragraph left indent.
12657 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12660 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
12662 * paragraph.C (isRightToLeftPar): Return false for a paragraph
12665 * text.C (computeBidiTables): No bidi in insetERT.
12667 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12670 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12672 * version.C.in: pre 5
12674 2002-05-02 José Matos <jamatos@fep.up.pt>
12675 * buffer.C (makeDocBookFile): white space changes, add newline to
12677 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12679 * tabular.C (docBook): fix typo.
12681 2002-05-03 Juergen Vigna <jug@sad.it>
12683 * screen.C (drawFromTo): recalculate the rowpointer if we had a
12684 change in LyXText as we can not be sure it was not freed.
12685 (drawOneRow): remove unused code.
12687 * text.C (drawInset): redo the calculation of the need_break_row as
12688 it could have a row which was already freed.
12689 (draw): look at the return value of drawInset and return false if
12690 it also returned false.
12691 (paintRowText): look at the return value of draw and return false if
12692 it also returned false.
12694 * lyxtext.h: added bool return type to drawInset() and draw() so that
12695 if we have a change in the row so that the rowbreak has to be redone
12696 we abort drawing as it will be called again.
12698 2002-05-02 Juergen Vigna <jug@sad.it>
12700 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12701 a change in the maintext also if we're inside an inset.
12702 (Dispatch): set the cursor again after a break line and after the
12703 screen has been updated as it could be we're in a different row.
12705 * text2.C (fixCursorAfterDelete): check to make sure we don't request
12706 to set the cursor behind the pargraph with > size().
12707 (setCursor): check also for the same paragraph when checking where
12708 to put the cursor if we have a NFR inset.
12710 * buffer.C (parseSingleLyXformat2Token): move the compatibility
12711 parts of layout read further up as it still was in the wrong
12714 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12716 * screen.C (drawFromTo): change sine fullRebreak always return
12719 * buffer.C (parseSingleLyXformat2Token): reindent some
12721 * BufferView_pimpl.C (update): change since fullRebreak always
12723 (Dispatch): git rid of the last hardcoded "Standard"s.
12725 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
12727 * text2.[Ch] (fullRebreak): make it return void now that we always
12730 2002-04-30 Juergen Vigna <jug@sad.it>
12732 * buffer.C (parseSingleLyXformat2Token): reset the font before the
12733 ert compatibility check for "latex" layout.
12735 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
12737 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12738 minipages: use col% instead of p%, and also use the current font.
12739 (makeLaTeXFile): Fix use babel condition.
12740 (parseSingleLyXformat2Token): Correct font when reading old floats.
12742 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
12744 * BufferView_pimpl.C (Dispatch): Check that float type exists when
12745 inserting list of floats.
12747 2002-04-25 Herbert Voss <voss@lyx.org>
12749 * MenuBackend.C (expand): don't add the graphics extensions to the
12752 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12754 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12755 non-existing layout, do not complain if it was the default layout
12756 of the original class (bug #342)
12758 2002-04-24 Juergen Vigna <jug@sad.it>
12760 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12761 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12763 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
12765 * buffer.C (getBibkeyList): If using \bibliography, return the
12766 option field with the reference itself. Enables us to provide natbib
12767 support when using \bibliography.
12769 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
12771 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12773 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12774 natbib is provided by the LaTeX class.
12776 2002-04-23 Juergen Vigna <jug@sad.it>
12778 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12781 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12783 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12785 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12787 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12788 ensuremath around textordmasculine, textordfeminine and
12791 2002-04-19 Juergen Vigna <jug@sad.it>
12793 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12794 reinitializing the buffer otherwise row-dimensions may be wrong.
12795 (update): reset also the selection cursors if they do exits otherwise
12796 their x/y positions may be wrong.
12798 * text2.C (cursorDown): don't enter the inset if we came from a row
12799 above and are one row over the inset.
12801 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12802 really leaving an inset.
12804 2002-04-18 Juergen Vigna <jug@sad.it>
12806 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12807 of the selected paragraph does not have the selected layout also if
12810 * text2.C (setLayout): fixed bug which did not change last selected
12813 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12814 changed the read and substituted \\end_float with \\end_inset!
12816 * BufferView_pimpl.C (cursorPrevious):
12817 (cursorNext): fixed to make it work with rows heigher than the work
12818 area without moving the cursor only the draw of the row.
12819 (workAreaMotionNotify): fix jumping over high rows.
12821 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12823 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12826 2002-04-16 Juergen Vigna <jug@sad.it>
12828 * text2.C (setCursor): set also the irow().
12829 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12831 (cursorDown): support for locking an inset if the x_fix value goes
12832 inside it. That way I can transverse insets too with cursor up/down.
12834 * lyxrow.h: added irow helper function same as other (i) functions.
12836 * BufferView_pimpl.C (cursorPrevious):
12837 (cursorNext): fixed for insets!
12839 2002-04-15 Juergen Vigna <jug@sad.it>
12841 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12842 position otherwise it is wrong in some cases.
12844 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12845 inside the inset before the call.
12847 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
12849 * buffer.[Ch] (getBibkeyList): make it const.
12851 2002-04-12 Juergen Vigna <jug@sad.it>
12853 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12855 * text2.C (getCursorX): new helper function
12856 (setCursor): compute also ix_
12857 (setCursorFromCoordinates): set also ix.
12859 * lyxcursor.h: added ix_ and helper functions.
12861 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12863 * buffer.C (insertStringAsLines): dont break paragraph if the this
12864 paragraph is inside an inset which does not permit it!
12866 * text.C (breakParagraph): honor keepempty flag and break the paragraph
12867 also with no chars on this paragraph.
12868 (paintRowText): only paint stuff if it's inside the workarea!
12870 * paragraph.C (breakParagraph): honor keepempty flag and break the
12871 paragraph always below not above.
12873 * BufferView2.C (unlockInset): update the paragraph layout on inset
12874 unlock as we changed paragraph in such a case.
12876 * lyxfind.C (LyXFind): clear the former selection if not found!
12878 * text2.C (insertInset): freeze Undo after setUndo so that it is not
12879 again called in insertChar().
12881 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12882 an inset which uses the whole row!
12883 (rightMargin): ditto.
12884 (insertChar): force a rebreak if we inserted an inset!
12886 2002-03-28 Herbert Voss <voss@lyx.org>
12888 * lyxlength.[Ch]: add inBP() to get the right PS-point
12889 units (BigPoint). With inPixels we have rounding errors
12891 2002-04-11 Juergen Vigna <jug@sad.it>
12893 * text2.C (setCursorFromCoordinates): set iy to the right value.
12894 (setCursor): add check if row->previous exists!
12896 * buffer.C (parseSingleLyXformat2Token): reset font after read of
12897 an old float_type as this was the case in the old code!
12899 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12901 * BufferView2.C (showLockedInsetCursor): use iy
12902 (fitLockedInsetCursor): ditto
12904 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12905 locked insets as there we have the right value now.
12907 * lyxcursor.C: added iy_ variable and iy functions to set to the
12908 baseline of cursor-y of the locked inset.
12910 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12911 (setCursor): fixed for insets which need a full row.
12913 * text.C (rowLastPrintable): don't ignore the last space when before
12914 an inset which needs a full row.
12915 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12916 as last character of a row when before a inset which needs a full row.
12918 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12920 * version.C.in: update date
12922 * text2.C (fullRebreak): try to always return true and see what
12925 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12927 * MenuBackend.C (expand): use Floating::listName
12929 * FloatList.C (FloatList): add listName argument to the built-in
12932 * Floating.[Ch]: add listName member, which is the 'List of XXX'
12933 text associated with the float.
12935 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12937 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12939 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12941 * ShareContainer.h: add a couple of missing typenames.
12943 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
12945 * lyxrc.C (getDescription): use _() correctly rather than N_().
12947 2002-03-28 Herbert Voss <voss@lyx.org>
12949 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
12950 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12952 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12954 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12955 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12957 2002-03-29 Juergen Vigna <jug@sad.it>
12959 * lyxfunc.C (dispatch): add a missing fitCursor call.
12961 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12962 it was scrolled by a cursor move, so return the bool status.
12964 * BufferView.C (fitCursor): return the bool flag also to the outside
12965 world as this is needed.
12967 * screen.C (toggleToggle): don't subtract the offset if it's positive.
12969 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12970 call the edit() as it is not needed (and wrong) IMO.
12971 (workAreaButtonPress): set the screen_first variable before evt.
12972 unlock the inset as this may change screen_first and then we have
12973 a wrong y position for the click!
12975 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12977 * MenuBackend.C (expand): another translation that I missed
12979 2002-03-28 Juergen Vigna <jug@sad.it>
12981 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12983 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12985 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12987 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12989 * MenuBackend.C (expand): fix export/view/update when there is no
12992 2002-03-27 Herbert Voss <voss@lyx.org>
12994 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12997 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12999 * bufferview_funcs.C (currentState): only show paragraph number
13000 for is DEVEL_VERSION is set.
13002 * lyxfunc.C (dispatch): put warning in INFO channel
13004 * MenuBackend.C (expand): translate the name of floats
13006 * FloatList.C (FloatList): mark the float names for translation
13008 * converter.C (convert): use LibScriptSearch
13010 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13012 * MenuBackend.C (defaults): fix default menu (we might as well get
13015 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13017 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
13020 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13022 * lyxvc.C: reorder includes.
13024 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
13026 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
13029 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
13031 * CutAndPaste.C: change layouts earlier on paste
13032 to avoid crashing when calling getFont()
13034 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
13036 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
13039 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
13041 * WorkArea.C: remove 'Pending' debug message.
13043 * most files: ws cleanup
13045 * buffer.[Ch]: ws changes
13047 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
13049 2002-03-21 Juergen Vigna <jug@sad.it>
13051 * tabular.C (SetMultiColumn): collapse also the contents of the
13052 cells and set the last border right. Added a Buffer const * param.
13054 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
13056 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
13059 2002-03-19 Juergen Vigna <jug@sad.it>
13061 * text2.C (clearSelection): reset also xsel_cache.
13063 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
13064 where it needs to be called (John tells us to do so too :)
13065 (selectionLost): reset sel_cache.
13067 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
13069 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13071 * text2.C (setCursorIntern): put debuging code in INSETS channel
13073 2002-03-19 André Pönitz <poenitz@gmx.net>
13075 * lyxfunc.C: tiny whitespace change
13077 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13079 * ToolbarDefaults.C (init):
13080 * LyXAction.C (init):
13082 * BufferView_pimpl.C (Dispatch):
13083 * lyxfunc.C (dispatch): remove LFUN_DEPTH
13085 2002-03-19 Allan Rae <rae@lyx.org>
13087 * exporter.C (Export): removeAutoInsets before doing anything else.
13088 While I've just introduced a dependency on BufferView this really is
13089 the best place to clean the buffer otherwise you need to cleanup in
13090 a dozen places before calling export or cleanup in a dozen functions
13093 * converter.C (runLaTeX):
13094 (scanLog): Better handling of removeAutoInsets and screen updates.
13096 * lyxfunc.C (dispatch): small whitespace changes
13098 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13100 * WorkArea.C (C_WorkAreaEvent): return a value.
13101 (event_cb): return 1 if we handled the event, 0 otherwise.
13103 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
13105 2002-03-18 Juergen Vigna <jug@sad.it>
13107 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
13108 (GetAdditionalWidth): ditto.
13109 (RightLine): ditto.
13112 * BufferView2.C (copy): use getLyXText() so that we do it inside an
13113 inset if we're there actually (probably not used right now but this
13114 is the direction to go for unifying code).
13115 (paste): disable code to clear the selection.
13117 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
13118 inside an InsetText and move the check further up as it is in the
13121 * text2.C (pasteSelection): set a selection over the pasted text.
13123 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
13125 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
13126 and libgraphics to build on Cygwin.
13128 2002-03-15 Juergen Vigna <jug@sad.it>
13130 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
13131 inserting an Inset into the paragraph. I know this is not the best
13132 fix but we already use current_view in CutAndPaste so we will remove
13133 all of it's using at the same time.
13135 * buffer.C (sgmlError): deactivated function till it is rewritten in
13136 the right mode, now it can create problems.
13138 * paragraph.C (isLineSeparator): check if getInset returns != 0,
13139 before accessing it.
13141 2002-03-14 Juergen Vigna <jug@sad.it>
13143 * undo_funcs.C (textHandleUndo): do the right thing when updating
13144 the inset after the undo/redo.
13146 * text2.C (setCursor): just some testcode for #44 not ready yet.
13148 * undo_funcs.C (textHandleUndo): set the next() and previous()
13149 pointers of the paragraph to 0 before deleting otherwise we have
13150 problems with the Paragraph::[destructor].
13152 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
13153 on a paragraph insertion.
13155 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13157 * buffer.C (asciiParagraph): use += operator for char append to
13160 * paragraph.C (getFontSettings): compare >= not just >
13161 (highestFontInRange): ditto
13164 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13166 * paragraph.C: change several algorithm to be more appripriate for
13167 the problem domain. This is lookip in FontList and in the InsetList.
13169 2002-03-13 André Pönitz <poenitz@gmx.net>
13172 * LyXAction.C: remove unused LFUN_MATH_MACROARG
13174 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
13179 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
13181 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13183 * Painter.C (display): anon helper function, adjust code for this
13185 (pixmap): remove function.
13187 * Painter.h: remove private display variable.
13189 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
13191 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
13193 * WorkArea.[Ch]: remove figinset_canvas cruft.
13195 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13197 * lyxtextclass.C (operator): add one item cache optimization.
13199 * bufferlist.h: doxy changes
13201 * bufferlist.C: ws changes
13203 * DepTable.[Ch] (ext_exist): place const in the right spot.
13205 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
13207 (workAreaExpose): call resizeInsets when the with BufferView changes.
13208 (Dispatch): adjust for protectedBlank removal
13209 (specialChar): call updateInset if the insert went ok.
13211 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
13212 specialChar instead.
13214 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
13216 * BufferView.h: doxy change
13218 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
13220 * lyxtextclass.C (operator[]): remove non-const version
13221 (defaultLayout): remove non-const version
13223 2002-03-12 Juergen Vigna <jug@sad.it>
13225 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
13226 did resize the LyXText too.
13228 * buffer.C (readLyXformat2): set layout information on newly allocated
13231 * tabular.C (OldFormatRead): set layout information on the paragraph.
13233 2002-03-12 Jos�Ab�io Oliveira Matos <jamatos@novalis.fc.up.pt>
13235 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
13237 2002-03-11 Juergen Vigna <jug@sad.it>
13239 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
13241 (resizeCurrentBuffer): force also the insets to resize themselfes.
13242 (moveCursorUpdate): fixed up for InsetText.
13244 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
13247 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
13248 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
13249 value of Dialogs::tooltipsEnabled().
13250 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
13252 2002-03-08 Juergen Vigna <jug@sad.it>
13254 * BufferView_pimpl.C (updateInset): update inset inside inset also
13255 if it isn't inside theLockingInset().
13257 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13259 * buffer.C (asciiParagraph): redo some of the word and line length
13261 (getLists): look for Caption instead of caption.
13263 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13265 * buffer.C (Buffer): initialize niceFile to true
13267 (makeLinuxDocFile):
13268 (makeDocBookFile): make sure niceFile is true on exit
13270 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13272 * buffer.C (makeLaTeXFile): escape ~ in \input@path
13274 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
13276 * LyXSendto.C: remove.
13277 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13278 * lyx_gui.C: remove now-redundant comment.
13279 * ColorHandler.h: remove forward declaration of class WorkArea.
13280 * lyxfunc.C: remove #include "WorkArea.h".
13282 2002-03-07 Juergen Vigna <jug@sad.it>
13284 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13285 got moved away with the DEPM and also set the inset_owner always
13286 right which before could have been omitted.
13288 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13290 * buffer.C (parseSingleLyXformat2Token): use default layout is the
13291 wanted layout is not found.
13293 2002-03-07 Juergen Vigna <jug@sad.it>
13295 * CutAndPaste.C (cutSelection): another layout settings forgotten.
13297 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13299 * paragraph.C (breakParagraph): use default layout not layout of
13301 (Paragraph): clear ParagraphParameters.
13303 2002-03-06 Juergen Vigna <jug@sad.it>
13305 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13306 otherwise it would not be a valid lenght. Fixed a special case in
13307 the minipage compatibility read where we end the document with a
13310 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13311 was set as it could be 0 for InsetTexts first entry.
13313 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13315 * paragraph.C (writeFile): if layout is empty write out
13316 defaultLayoutName().
13318 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13319 file without named layout we set layout to defaultLayoutName().
13321 2002-03-06 Juergen Vigna <jug@sad.it>
13323 * CutAndPaste.C (copySelection): set layout for new paragraph.
13325 * text.C (prepareToPrint): leave ERT inset left aligned
13326 (leftMargin): don't indent paragraphs inside ERT insets
13328 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13330 * paragraph.C (breakParagraph): dont call clear do the work manually
13332 * paragraph.[Ch] (clear): remove function
13334 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13336 * paragraph.C (Paragraph): dont call clear, the work has already
13339 * lyxtextclass.C (operator): assert if n is empty
13341 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13342 work manually instead.
13344 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13346 * BufferView_pimpl.C: protect selectionLost against text == 0
13348 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13350 * text.C (breakParagraph): fix a setting layout to '0' problem.
13352 2002-03-05 Jos�Ab�io Oliveira Matos <jamatos@novalis.fc.up.pt>
13354 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13355 final location of file, for the included files, and graphics.
13357 2002-03-05 Juergen Vigna <jug@sad.it>
13359 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13361 2002-03-04 Juergen Vigna <jug@sad.it>
13363 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13365 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13366 last column of multicolumn cells.
13367 (SetWidthOfMulticolCell): recalculate NMC and real columns.
13369 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
13371 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13372 file if it doesn't go to a temporary file.
13374 * buffer.C (sgmlOpenTag):
13375 (sgmlCloseTag): remove extra newline insertion.
13377 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13379 * text.C (getRowNearY): comment out debug msg
13381 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13383 * text2.C: first -> first_y
13385 * text.C (getRowNearY): add some attemts at a possible
13386 optimization, not working.
13388 * tabular.[Ch]: add BufferParams to several function so that newly
13389 created paragraph can be initialized to he default layotu for the
13392 * tabular-old.C (ReadOld): add buf->params to call of Init
13394 * screen.C: rename text->first to text->first_y
13396 * paragraph.C (breakParagraph): always set layout in the broken
13399 * lyxtextclass.C (Read): remove lowercase
13402 (delete_layout): ditto
13404 * lyxtext.h: rename first -> first_y
13406 * lyxlayout.C (Read): remove lowercase
13409 (obsoleted_by): ditto
13411 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13413 * buffer.C (insertErtContents): add params are to InsetERT
13414 (parseSingleLyXformat2Token): add code to check if a paragraphs
13415 layout really exist.
13416 (parseSingleLyXformat2Token): add params to several inset
13418 (asciiParagraph): remove lowercase, do the layout comparisons with
13421 * BufferView_pimpl.C (cursorNext): first -> first_y
13422 (resizeCurrentBuffer): first -> first_y
13423 (updateScrollbar): first -> first_y
13424 (scrollCB): first -> first_y
13425 (workAreaMotionNotify): first -> first_y
13426 (workAreaButtonPress): first -> first_y
13427 (checkInsetHit): first -> first_y
13428 (cursorPrevious): first -> first_y
13429 (cursorNext): first -> first_y
13430 (Dispatch): add buffer_->params to severl inset contructors
13432 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13434 * lyxlayout.C (Read): remove some debug info that I forgot.
13436 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13437 clean up the code slightly.
13438 (makeLinuxDocFile): ditto
13439 (makeDocBookFile): ditto
13441 * text2.C: layout as string
13443 * text.C: layout as string
13445 * paragraph_pimpl.C: layout as string
13447 * paragraph.[Ch]: layout as string
13449 * lyxtextclasslist.[Ch]: layout as string
13451 * lyxtextclass.[Ch]: layout as string
13453 * lyxtext.h: layout as string
13455 * lyxlayout.[Ch]: layout as string
13457 * lyx_cb.C: layout as string
13459 * bufferview_funcs.C: layout as string
13461 * bufferparams.C: layout as string
13463 * buffer.C: layout as string
13465 * LyXView.[Ch]: layout as string
13467 * LaTeXFeatures.[Ch]: layout as string
13469 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13471 * BufferView_pimpl.C: change current_layout to string, remove
13476 (workAreaButtonRelease): layout as string
13478 * BufferView2.C (unlockInset): adjust
13480 * vspace.C (asLatexCommand): use an explict temp variable.
13482 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13484 * Makefile.am: use FRONTEND_*
13486 2002-03-01 Juergen Vigna <jug@sad.it>
13488 * tabular.C (SetWidthOfMulticolCell): changed to something better
13489 I hope but still work in progress.
13490 (recalculateMulticolumnsOfColumn): renamed function from
13491 recalculateMulticolCells as it is more appropriate now.
13492 (SetWidthOfCell): calculate multicols better.
13494 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13496 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13498 * lyxfunc.C (processKeySym): print sequence also if it is
13499 `deleted' (complete)
13501 * kbsequence.C (print): print sequence even if it is deleted
13502 (complete would be a better word, actually).
13504 * lyxfunc.C (dispatch): print complete options after a prefix key
13506 * vspace.C (asLatexCommand): rewrite in a slightly different form.
13508 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
13510 * text2.C (setCharFont): eliminate setCharFont code duplication.
13512 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13514 * BufferView_pimpl.C (Dispatch): remove bogus handling of
13515 LFUN_TABULAR_FEATURE (bug #177)
13517 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
13519 * Makefile.am: remove figure.h
13521 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
13523 * Bufferview_pimpl.C:
13535 * text2.C: remove #include "lyx_gui_misc.h".
13537 * LaTeX.C: added #include <cstdio>
13539 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13541 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13542 that the paragraph following this one can have.
13544 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13546 * vspace.C (asLatexCommand): fix bogus gcc warning
13548 * Makefile.am (lyx_SOURCES): remove vms_defines.h
13550 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
13552 * text2.C (setLayout): get rid of redundant code
13554 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
13556 * text2.C (incDepth): make sure depth cannot be increased beyond
13559 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
13561 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13562 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13564 * PainterBase.h (image):
13565 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13566 a LyXImage const *.
13568 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13572 * BufferView_pimpl.C:
13573 * BufferView_pimpl.h:
13593 * sp_spell.C: remove fig inset, and the crap house of
13594 cards that follows it
13596 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13601 * os2_errortable.h:
13602 * nt_defines.h: move .h into support/
13604 * vms_defines.h: remove
13606 * WorkArea.C: add space in debug output
13610 * buffer.C: add WITH_WARNINGS
13614 * bufferlist.C: s/retrive/retrieve/, add docs
13623 * chset.C: add docs
13625 * lyxgui.C: add ID to X error handler
13627 * lyxtestclass.c: fix typo
13629 2002-02-26 Juergen Vigna <jug@sad.it>
13631 * tabular_funcs.C (write_attribute): changed so that some default
13632 attributes are not written at all.
13633 (getTokenValue): set default values before trying to read the
13634 value so we have the return value always set as default if we don't
13635 find the token we search for.
13637 * tabular.C (Write): write bools as bools not as strings!
13639 2002-02-22 Juergen Vigna <jug@sad.it>
13641 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13642 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13644 * text.C (leftMargin): don't add an indent for paragraphs inside
13645 tabular cells (fix #208).
13647 2002-02-21 José Matos <jamatos@fep.up.pt>
13649 * tabular.C (docBook): fixed support for long tables.
13651 2002-02-20 Juergen Vigna <jug@sad.it>
13653 * text2.C (getFont): get the drawing font of the Inset if this
13654 paragraph is inside an inset (only important for InsetERT for now).
13656 * buffer.C (insertErtContents): use new lanugage params in ERT
13659 * CutAndPaste.C: commenting out seemingly uneeded code.
13661 2002-02-19 Allan Rae <rae@lyx.org>
13663 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13664 Iterators might be simple to use but they also get invalidated.
13665 (removeAutoInsets): renamed saved cursor tracking variables and added
13666 some comments to clarify what everything does.
13668 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
13675 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13676 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13679 * vc-backend.h: remove #include "support/syscall.h"
13683 * converter.C: rearrange #includes in Lars' approved fashion.
13685 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13686 forward declare class Timeout in the header file.
13688 * XFormsView.C: changes due to the above.
13690 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13691 similar to LyXView.
13693 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13694 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13696 2002-02-18 José Matos <jamatos@fep.up.pt>
13698 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13701 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
13703 * a lot of small ws changes
13704 * add a lot of using std::XXX
13705 * use std construcs some places where approp.
13706 * use some exisint stuff from lyxfunctional where approp.
13707 * Make file changes to use partial linking (lets test this now...)
13709 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13713 remove #include "support/syscontr.h" as it's redundant. Always has been.
13721 change Systemcalls::System to Systemcalls::Wait and
13722 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13723 No change of functionality, just reflects the stripped down Systemcalls
13726 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13728 * debug.[Ch]: add a GRAPHICS type to the enum.
13730 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13732 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13734 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13737 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13739 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13740 match the changes below.
13742 * text2.C (toggleInset): if there is not editable inset at cursor
13743 position, try to see if cursor is _inside_ a collapsable inset
13746 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13748 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13749 document menu has a nice checkbox
13751 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13753 * lyxlength.C (asLatexString): change PW to output as percent of
13756 * lengthcommon.C: change '%' to 't%'
13758 * lyxfunc.C (dispatch): a few comments from Martin
13760 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
13764 * BufferView_pimpl.h:
13765 * BufferView_pimpl.C: clear our selection when X tells us we've lost
13768 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13770 * vspace.C (inPixels): fix compiler warning
13772 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13774 * lyxfunc.C (getStatus): fix status message for disabled commands.
13776 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
13778 * BufferView_pimpl.C: fix crash on close buffer
13779 during selection (#227)
13781 2002-01-27 Herbert Voss <voss@lyx.org>
13783 * buffer.C: link old Figure to new graphic inset
13785 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
13787 * FontLoader.C (getFontinfo): Change the latex font names in order
13788 to match the names of type1inst.
13790 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
13792 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13794 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13795 (extchanged): ditto
13797 (remove_files_with_extension): ditto
13798 (remove_file): ditto
13801 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13802 document is smaller than the work area height. Do not initialize
13803 static variables to 0.
13805 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13807 * lyx_gui.C (init): give the toolbar tooltips a normal font.
13809 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13810 LFUN_LAYOUT_PARAGRAPHS.
13812 * tabular.C (GetCellFromInset): new method. Finds an inset in a
13813 tabular. It is possible to provide a possible cell, which will
13814 typically be the actcell from the corresponding insettabular
13816 * lyxfunc.C (getStatus): small cleanup; disable
13817 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13820 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13822 * tabular.C (Validate): remove broken optimization (fixes bug #201)
13824 * paragraph.C (startTeXParParams):
13825 (endTeXParParams): new methods. The LaTeX code to
13826 start/end paragraph formatting
13827 (simpleTeXOnePar): call startTeXParParams also when paragraph is
13828 empty (fixes bug #200)
13830 * vspace.C (inPixels): adapt to the change below
13831 (inPixels): [later] more cleanups (remove unused variables)
13833 * lyxlength.C (inPixels): change to use a width and a height as
13836 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13838 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13839 Replaced with \paperwidth
13841 * DepTable.C (insert): add std:: qualifier
13843 2002-01-18 Allan Rae <rae@lyx.org>
13845 * text2.C (removeRow): add comment. Should other refresh_?? vars be
13848 * text.C (drawInset): Turned out I didn't know enough about how
13849 rebreaking worked. This fixes most of the redraw problems. I see
13850 an occasional cursor trail when a line is broken now and the cursor
13851 placement can seem out by a few pixels also after a rebreak.
13853 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13855 * buffer.C (parseSingleLyXformat2Token): update because minipage
13856 width is now a LyXLength
13858 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13860 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13863 2002-01-17 Juergen Vigna <jug@sad.it>
13865 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13867 * BufferView2.C (lockInset): call edit() so that theLockingInset()
13868 is set correctly and the inset is updated correctly.
13870 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13872 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13873 the beginning of the loop.
13875 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
13877 * lyxrc.C: improve help for use_scalable_fonts
13879 2002-01-17 Allan Rae <rae@lyx.org>
13881 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13883 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13885 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13886 make sure to set their inset_owner to the right value (bug #171)
13888 2001-12-12 Ben Stanley <bds02@uow.edu.au>
13891 * DepTable.C: Implement mtime checking to reduce time spent doing
13894 2002-01-16 Juergen Vigna <jug@sad.it>
13896 * tabular.C (GetAdditionalHeight): one of error fixed.
13898 * lyxrc.C (output): small fix in writing use_pspell.
13900 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
13902 * sp_base.h: #include LString.h
13904 2002-01-16 Allan Rae <rae@lyx.org>
13906 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
13907 Can someone check this please?
13909 * text.C (drawInset): It was possible that p.row would be removed by
13910 breakAgainOneRow upsetting a few other settings. There may be another
13911 small tweak possible by setting need_break_row = 0 when p.row has been
13912 removed but I don't know enough about the logic here.
13914 2002-01-15 Allan Rae <rae@lyx.org>
13916 * text.C (insertChar): removed conditional truism.
13918 * BufferView2.C (removeAutoInsets): More tweaks.
13919 cur_par_prev could be a stray pointer. Check for trailing empty line
13920 in case last line was cur_par and only had an error inset on it.
13922 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13924 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13927 * vc-backend.C (most methods):
13928 * exporter.C (Export):
13929 * converter.C (convert):
13931 * LyXSendto.C (SendtoApplyCB):
13932 * lyxfunc.C (dispatch):
13936 * lyx_cb.C (AutoSave):
13938 * BufferView_pimpl.C (MenuInsertLyXFile):
13939 * buffer.C (runChktex): use Buffer::filePath().
13941 * buffer.h: rename filename to filename_; rename filepath to
13942 filepath_ and make it private
13943 (filePath): new method
13945 * buffer.C (writeFile): use fileName()
13948 * lyx_main.C (init): fix starting of LyX when the binary is a
13949 link from so,ewhere else.
13951 * minibuffer.C: include <cctype> for isprint
13953 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13955 * buffer.C (parseSingleLyXformat2Token): changes associated with the
13956 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13957 name clash with InsetCollapsable's width function.
13959 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13961 * lastfiles.C: include <iterator>
13963 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13965 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13968 * buffer.C (makeLaTeXFile): ditto.
13969 Also make loop operation more transparent.
13971 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13973 * ToolbarDefaults.C: remove trailing comma closing namespace.
13975 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13977 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13980 * trans.C (Load): comment out unused variable, allowed.
13982 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
13984 * minibuffer.[Ch] (append_char): new method to recieve input from the
13985 drop-down completion browser. If a key was pressed, then recieve this
13986 char and append it to the existing string.
13987 (peek_event): modify the positioning data passed to the completion
13988 browser so that it can be placed above the minibuffer rather than below.
13989 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13991 * LyXAction.C (init): alloe error-next for readonly documents.
13993 * BufferView2.C (ChangeRefsIfUnique): use standard version of
13996 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13998 * bufferlist.C (readFile): create the buffer _after_ checking that
14001 * lyxfunc.C (verboseDispatch): fix handling of arguments
14003 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
14005 * lyxrc.C: use string::erase() instead of initializing to "".
14008 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14010 * BufferView_pimpl.h:
14011 * BufferView_pimpl.C:
14014 * text2.C: tell X when we have made a selection for copying
14016 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14018 * BufferView_pimpl.C (MenuInsertLyXFile):
14019 * lyxfunc.C (menuNew):
14021 (doImport): add shortcuts to directory buttons
14023 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
14026 * lyxfunc.C (setStatusMessage):
14027 (getStatusMessage): new methods
14028 (getStatus):use setStatusMessage instead of setErrorMessage
14029 (dispatch): when function is disabled, set error message here
14030 [instead of in getStatus previously]
14032 * BufferView_pimpl.C (workAreaButtonRelease): update
14033 toolbar/menubar here too.
14035 2002-01-13 Allan Rae <rae@lyx.org>
14037 * BufferView2.C (removeAutoInsets): finished off earlier fix.
14038 Now seems indestructible. Remaining task is to audit all other
14039 code affected by deleteEmptyParagraphMechanism. One small quirk
14040 left is that an empty document with an error in the preamble can
14041 be made to report an error but no error box appears. I don't know
14043 (removeAutoInsets): Improved comments.
14045 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
14048 * Thesaurus.C: update for Aiksaurus 0.14
14050 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
14052 * text2.C (firstParagraph): removed member function, all uses
14053 replaces with ownerParagraph
14054 (redoParagraphs): here
14055 (updateInset): here
14056 (toggleAppendix): here
14057 * BufferView2.C (insertErrors): here
14058 (setCursorFromRow): here
14060 2002-01-13 Allan Rae <rae@lyx.org>
14062 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
14063 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
14064 There is still a way to segfault this although you may have to do this
14065 multiple times: Have an InsetERT with an unknown command in it.
14066 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
14067 <down-arrow>, <Enter> again, View->DVI, BANG!
14069 * text2.C (setCursor):
14070 (deleteEmptyParagraphMechanism):
14071 * lyxtext.h (setCursor):
14072 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
14073 Making use of the return value may help fix other bugs.
14075 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14077 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
14079 * LyXView.C (updateMenubar): call MenuBar::update here
14080 (updateToolbar): but not here
14081 (showState): do not update toolbar/menubar
14083 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
14084 should need to care about that.
14086 * lyxfunc.C (verboseDispatch): simplify a bit
14087 (getStatus): have a version which takes a pseudoaction, and
14088 another which requires a (kb_action,string).
14090 * LyXAction.C (retrieveActionArg): make it work also when action
14091 is not a pseudo-action.
14092 (getActionName): simplify a bit
14095 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14097 * lyxfunc.C (verboseDispatch): new families of methods with
14098 several ways to specify a command and a bool to indicate whether
14099 the command name and shortcut should be displayed in minibuffer
14100 (eventually, we could extend that to a finer bitmask like
14101 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
14102 (dispatch): the pristine dispatch command which just, well,
14103 dispatchs! Note it still sets its result to minibuffer; I'm not
14106 * lyxfunc.h: remove setHintMessage
14108 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
14110 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14112 * BufferView_pimpl.C (specialChar): delete new inset if we have
14113 not been able to insert it.
14115 * kbmap.C: revert to using int instead of kb_action, since all we
14116 are dealing with is pseudo-actions.
14118 * LyXAction.C (searchActionArg): change to return int instead of
14119 kb_action, since the result is a pseudoaction.
14121 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
14123 * buffer.C (insertErtContents): Fix (partially) the font bug.
14125 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
14127 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
14128 as the other one is broken on my machine!
14130 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
14133 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
14135 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
14137 * lyxrc.[Ch]: change names and descriptions of popup font variables to
14138 reflect their actual use. Provide compatibility code for older lyxrc
14141 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
14143 change names of popup font variables in line with the changes to lyxrc.C
14145 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14147 * buffer.C (asciiParagraph): avoid outputing a word twice after
14150 * lyxrc.C (getDescription): document that document_path and
14151 template_path can be empty.
14153 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14155 * LaTeXFeatures.C (getMacros):
14156 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
14158 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
14160 * LaTeXFeatures.C (useFloat): require "float" here instead of in
14162 (getPackages): rename feature "floats" to "float". Use an array to
14163 iterate over 'simple' features (i.e. just a \usepackage). Add
14164 handling of "amsmath" (renamed from "amsstyle").
14166 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
14168 * LaTeXFeatures.C (require): Prevent duplicate entries in the
14171 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
14173 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
14174 FuncStaus::FuncStatus & FuncStaus::some_method().
14176 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
14178 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
14179 of the func_satus stuff. Edited and massaged in various ways by
14182 * lyxfunc.C (getStatus): use FuncStatus
14184 2002-01-08 Juergen Vigna <jug@sad.it>
14186 * text.C (nextBreakPoint): use function Inset::isChar().
14188 * paragraph.C (TeXOnePar): use function
14189 Inset::forceDefaultParagraphs.
14191 * buffer.C (latexParagraphs): use function
14192 Inset::forceDefaultParagraphs.
14194 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14196 * lyx_gui.C (init): set the style of the menu popups to
14197 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
14199 2002-01-07 Juergen Vigna <jug@sad.it>
14201 * text.C (setHeightOfRow): small fix
14202 (prepareToPrint): don't look at alignment if we don't have the place
14205 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14207 * box.C: New file. Move the Box methods and functions out of box.h,
14208 following Lars' suggestion.
14210 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14212 * box.h: #include "support/LOstream.h", needed for inlined function.
14215 * lyxtextclasslist.C: added some using std declarations.
14217 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
14219 * box.h: make signed dimensions to allow insets wider than
14220 the screen (bug #162)
14222 * BufferView_pimpl.C: add some insetHit debug
14224 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
14226 * vc-backend.C: add FIXME
14228 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14230 * lyxfunc.C (getStatus): enable code for showing math font status
14233 2002-01-07 Juergen Vigna <jug@sad.it>
14235 * text.C (nextBreakPoint): removed debug output not needed anymore.
14237 2002-01-06 Juergen Vigna <jug@sad.it>
14239 * text.C (nextBreakPoint): fixed up this function we had this bug
14240 since ever but now hopefully we break row better.
14241 (insertChar): we have to check if an inset is the next char as it
14242 could now happen that a large inset is causing a break.
14244 2002-01-05 Juergen Vigna <jug@sad.it>
14246 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
14247 if it doesn't like to be drawed.
14249 2002-01-04 Juergen Vigna <jug@sad.it>
14251 * BufferView2.C (lockInset): forgot to set a cursor.
14253 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
14255 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
14257 * FormMathsPanel.C:
14260 * form_maths_panel.C:
14261 * form_maths_panel.h:
14262 * form_maths_panel.fd: implemented sub- and super- buttons in math
14265 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
14266 (or ^ space) to be used as in TeX (req'd by Andr�.
14268 * lyxfunc.C: Allow ^ and _ again to be used both as
14269 super/subscript (mathed) and as themselves (in text).
14271 2002-01-03 Allan Rae <rae@lyx.org>
14273 * LyXView.C (updateWindowTitle): Setup a short icon title of either
14274 "LyX" or the filename of the current buffer if it has one. This is a
14275 modified form of John Levon's patch.
14277 * XFormsView.C (setWindowTitle): also set icon title.
14279 * LyXView.h (setWindowTitle): signature changed.
14280 * XFormsView.h (setWindowTitle): ditto.
14282 2002-01-02 Juergen Vigna <jug@sad.it>
14284 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14286 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
14288 * screen.C (topCursorVisible): introduce a temp var for
14289 text->cursor.row(), handle the case where this row is null. (kindo
14292 * text2.C (setCursor): add a couple of asserts.
14294 * paragraph.h (inset_iterator): add -> operator
14296 * paragraph.[Ch] (autoDeleteInsets): remove member function
14298 * BufferView2.C (removeAutoInsets): rewrite to handle the old
14299 cursor pos correctly and handle inset deletion by itself.
14300 (insertErrors): move iterator declaration out of for expression
14302 * lyxtextclass.C: add <algorithm>
14304 * Makefile.am: added the new files to sources, removed layout.C
14306 * layout.C: removed file
14308 * layout.h: remove LYX_DUMMY_LAYOUT
14310 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14314 * lyxtextclass.[Ch]:
14315 * lyxtextclasslist.[Ch]: new files
14317 * include order changes to a lot of files, also changes because of
14320 2001-12-27 Juergen Vigna <jug@sad.it>
14322 * buffer.C (asciiParagraph): more fixes.
14324 * tabular.C (ascii): make ascii export support export of only the
14325 data separated by a column-delimiter.
14326 (ascii): better support for ascii export.
14328 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14330 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14332 * tabular_funcs.C: use a "using std::getline" instead of the
14333 previous fix from Angus (necessary for cxx + lyxstring)
14335 2001-12-24 Juergen Vigna <jug@sad.it>
14337 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14339 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14340 problems. First check a minipage also if we have some ert-contents
14341 (not only on par->size(), second set the right depth of the paragraph
14342 on the relink to the root-paragraph-list!
14344 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14345 which then did not anymore update the main paragraphs on undo/redo!
14347 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14349 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14350 code. Support all font-changing funcs (even those which are not in
14351 menu currently). Support for reporting font settings in
14352 mathed (disabled until Andre provides a function on mathed's side).
14354 * func_status.h (toggle): small helper function to set toggle
14357 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
14359 * tabular_funcs.C: getline -> std::getline
14361 2001-12-21 Juergen Vigna <jug@sad.it>
14363 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14364 accessed and could be 0 (I couldn't generate this but it seems
14367 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
14369 * tabular_funcs.C: add LIstream.h, move write_attribute to..
14370 * tabular_funcs.h: here and include iosfwd
14372 2001-12-20 Juergen Vigna <jug@sad.it>
14374 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14375 inside inset but undo_par was.
14377 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14379 * Thesaurus.C: always include <config.h> in sources.
14383 * box.h: do not include <config.h> in header files
14385 * text.C (paintLastRow): remove unused variable
14387 * text.C (transformChar):
14389 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14391 * Painter.C (text):
14392 * font.C (width): rewrite to use uppercase() instead of
14395 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14397 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
14399 * lyxfind.C: clean up of find failure position change
14401 2001-12-20 Juergen Vigna <jug@sad.it>
14403 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14405 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14406 (TeXRow): added to LaTeX a single tabular row.
14407 (TeXLongtableHeaderFooter): added to output LT-h/f data.
14408 (Latex): simplified and finally good LT-h/f support.
14409 (various_functions): just small adaptions for LT-h/f support.
14411 * tabular_funcs.[hC]: added and moved here all not classfunctions
14414 2001-12-19 Juergen Vigna <jug@sad.it>
14416 * tabular.[Ch]: better support for longtabular options (not finished
14419 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14421 * text.C (paintLastRow): use the label font instead of the font of
14422 the last character to compute the size of *_BOX. This makes more
14423 sense and avoids a crash with empty paragraphs.
14424 Use Painter::rectangle to draw EMPTY_BOX.
14426 2001-12-19 Juergen Vigna <jug@sad.it>
14428 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14429 the paragraphs if the replaced paragraph is not the first one!
14430 Tried to delete not used paragraphs but does not work yet so for
14431 now it's inside #ifdef's and by default off!
14433 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14435 * MenuBackend.C: include "lyx_main.h" instead of declaring
14436 lastfiles (actually was declared as LastFiles* instead of a
14439 2001-12-17 Juergen Vigna <jug@sad.it>
14441 * tabular.C (AppendColumn): applied John's fix
14443 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
14447 * BufferView_pimpl.h:
14448 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14451 * box.h: new start of class for above
14453 * lyxfunc.C: ignore space-only minibuffer dispatches.
14454 Show the command name when it doesn't exist
14456 * minibuffer.C: don't add empty lines to the history
14458 * minibuffer.C: add a space on dropdown completion
14460 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
14462 * text.C: fix line above/below drawing in insets
14464 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14466 * lyxlength.C (LyXLength): Initialize private variables.
14468 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
14470 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14471 when inserting error insets.
14473 2001-12-13 Juergen Vigna <jug@sad.it>
14475 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14476 actually sometimes the before-paragraph.
14477 (setUndo): don't clear the redostack if we're not actually undoing!
14479 2001-12-06 Juergen Vigna <jug@sad.it>
14481 * undo_funcs.C (textHandleUndo): well after John's hint I got here
14482 and fixed redoing of main paragraph, so we can use it now ;)
14484 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14486 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14488 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14491 2001-12-13 André Pönitz <poenitz@gmx.net>
14494 * undo_func.C: minor cleanup
14496 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14498 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14499 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14500 font in urw-fonts package which is marked as -urw-fontspecific and
14501 does not work (incidentally, changing the encoding in the
14502 fonts.dir of this package to -adobe-fontspecific fixes the
14505 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14506 is a crash when undoing first paragraph (Juergen, please take a
14507 look). THis does not mean the undo fix is wrong, just that it
14510 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14511 the (Paragraph*) version when needed instead of duplicating the
14514 * text.C (workWidth): use Inset::parOwner to find out where the
14515 inset has been inserted. This is a huge performance gain for large
14516 documents with lots of insets. If Inset::parOwner is not set, fall
14517 back on the brute force method
14519 * paragraph_pimpl.C (insertInset):
14520 * paragraph.C (Paragraph):
14521 (cutIntoMinibuffer): set parOwner of insets when
14522 inserting/removing them
14524 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14526 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
14532 * mathed/formulabase.C:
14533 * mathed/math_cursor.[Ch]:
14534 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14537 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14539 * lyxlength.[Ch] (operator!=): new function
14541 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14543 * text.C (workWidth): use Inset::parOwner to find out where the
14544 inset has been inserted. This is a huge performance gain for large
14545 documents with lots of insets. If Inset::parOwner is not set, fall
14546 back on the brute force method
14548 * paragraph_pimpl.C (insertInset):
14549 * paragraph.C (Paragraph):
14550 (cutIntoMinibuffer): set parOwner of insets when
14551 inserting/removing them
14553 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14555 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14557 * tabular-old.C (getTokenValue):
14558 * tabular.C (getTokenValue):
14559 (write_attribute): new versions for LyXLength
14560 (everywhere): adjust the use of widths
14562 * tabular.h: change the type of widths from string to LyXLength
14564 2001-12-11 Ben Stanley <bds02@uow.edu.au>
14566 * paragraph.C: fixed missing line number count when exporting
14567 Environments to LaTeX file
14569 * buffer.C: added informational message for checking line numbers.
14571 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14573 * text2.C (deleteEmptyParagraphMechanism): if there is only one
14574 paragraph, do the 'double space' part, but not the 'empty
14577 * text.C (workWidth): small optimization
14578 (getLengthMarkerHeight): use minimal size for negative lengths.
14580 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
14582 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14584 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14586 2001-12-11 André Pönitz <poenitz@gmx.net>
14589 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14591 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14593 * text2.C: keep selection on a setFont()
14595 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14597 * lyx_cb.C: another bv->text misuse, from insert label
14599 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14602 * kbsequence.C: re-instate nmodifier mask
14604 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
14606 * lyx_main.h: make lyxGUI private.
14608 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14610 * lyxfind.C: place the cursor correctly on failed search
14612 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14614 * text.C (getLengthMarkerHeight): for small heights, the arrows
14615 are not always on top/bottom of the text
14616 (drawLengthMarker): smaller arrows; take the left margin in
14617 account; draw also vfills.
14619 (paintLastRow): remove special code for vfill and standard spaces,
14620 since everything is handled in drawLengthMarker now.
14622 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14624 * buffer.C (insertErtContents): try to handle font and language
14625 interaction a bit better.g
14627 * ColorHandler.C (updateColor): change the hash to cover the whole
14628 LColor enum, ws cleanup
14629 (getGCLinepars): ditto
14630 (getGCLinepars): only lookup in the linecache once.
14632 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
14634 * iterators.C (operator++): Make the iterator more robust
14636 * BufferView2.C (removeAutoInsets): Use paragraph iterators
14638 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14640 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14643 * text.C: better added space drawing
14645 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14648 * BufferView2.C: fix layout combo update on inset unlock
14650 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14652 * Makefile.am: don't compile unused files
14654 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14658 * LyXAction.C: remove old LFUN_LAYOUTNO
14660 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14662 * paragraph_pimpl.h:
14663 * paragraph_pimpl.C: isTextAt() doesn't need font param
14665 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14668 * lyxlex.C: little cleanup
14670 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14672 * BufferView_pimpl.C: fix insertAscii for insets
14674 2001-12-05 Juergen Vigna <jug@sad.it>
14676 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14677 set the right font on the "multi" paragraph paste!
14679 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14685 * lyxlength.C: remove out-commented code.
14687 * BufferView_pimpl:
14701 * vc-backend.C: change "while(" to "while ("
14703 * lyxlength.[Ch]: add zero function to check if length is zero or
14705 * lyxgluelength.C: use it
14707 2001-12-05 Allan Rae <rae@lyx.org>
14709 * lyxlength.C: Attempted a fix for the abs(int) header selection.
14710 Works for 2.95.3, from what I understand of Garst's reports this should
14711 work for other g++ versions. We're screwed if the abs(int) definition
14712 changed between bugfix releases of gcc.
14714 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14716 * text.C: fix chapter label offset !
14718 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14721 * text.C: fix hfill at end of line, clean up
14723 2001-12-04 Juergen Vigna <jug@sad.it>
14725 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14726 that we force an update of the inset and it's owners if neccessary.
14728 2001-12-03 Juergen Vigna <jug@sad.it>
14730 * text.C (rowLast): simplified code
14732 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14734 * lyxfunc.C: fix show options on timeout
14736 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14738 * screen.C (topCursorVisible): scroll half a page when the cursor
14739 reached top of bottom of screen
14741 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
14743 * minibuffer.C: deactivate on loss of focus
14745 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14747 * vspace.[Ch] (operator!=): add operator.
14749 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
14751 * BufferView_pimpl.C: refuse to open an inset when
14752 there's a selection.
14754 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
14756 * BufferView_pimpl.C: allow to click on RHS of full row insets
14758 2001-11-30 Juergen Vigna <jug@sad.it>
14760 * tabular.C (LyXTabular): add a same_id to set the same id's in the
14761 insets for undo reasons.
14763 2001-11-28 André Pönitz <poenitz@gmx.net>
14765 * vspace.[Ch]: cosmetical changes
14767 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14777 * kbsequence.C: part re-write of old kb code
14780 * WorkArea.C: remove Lgb_bug_find_hack
14782 2001-11-30 José Matos <jamatos@fep.up.pt>
14784 * buffer.C (makeDocBookFile): add a comment to point a hack.
14785 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14786 Fixed a double write of labels.
14788 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14791 * LaTeX.h Fixed bug in LaTeX class where it would not
14792 re-run latex if no depfiles were changed, but the .dvi was removed.
14794 2001-11-28 André Pönitz <poenitz@gmx.net>
14796 * all the files from the change on 2001/11/26:
14797 use lyx::layout_type instead of LyXTextClass::size_type
14798 use lyx::textclass_type instead of LyXTextClassList::size_type
14800 2001-11-29 Juergen Vigna <jug@sad.it>
14802 * text.C: added support for paragraph::isFreeSpacing()
14804 * buffer.C: same as above
14806 * paragraph.h: inserted isFreeSpacing() function to enable
14807 FreeSpacing inside InsetERT.
14809 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14810 of the paragraph's in the cut/copy buffer to 0!
14812 * text2.C (removeRow): remove the assert as it can!
14814 * lyxtext.h: added helper function firstRow returning firstrow and
14815 made firstrow private again.
14817 * BufferView2.C (lockInset): don't relock if we're already locked!
14819 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14820 the only paragraph.
14821 (removeRow): added Assert::(firstrow)
14823 * debug.C: forgot to add INSETTEXT here.
14825 2001-11-28 Juergen Vigna <jug@sad.it>
14827 * sp_spell.C (initialize): changed error text to more general
14828 spellchecker command use (not only ispell!)
14830 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14832 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14834 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14836 * vspace.C: initialise lyxgluelength on failure
14838 2001-11-28 Allan Rae <rae@lyx.org>
14840 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14841 declaration & definition that looks like a function declaration.
14843 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14845 * BufferView2.C (copy):
14846 (copyEnvironment): do not clear the selection when doing a copy.
14848 * text.C (paintFirstRow): compilation fix
14850 2001-11-27 Ben Stanley <bds02@uow.edu.au>
14852 * tabular.C (Latex): correct line count when writing latex.
14854 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
14856 * paragraph_pimpl.h:
14857 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14860 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14864 * LColor.C: change vfillline->added_space
14866 * text.C: add markers and text for added space
14868 * vspace.C: fix comment
14870 2001-11-28 André Pönitz <poenitz@gmx.net>
14872 * paragraph.C: whitespace changes
14873 * all the other files from the change on 2001/11/26:
14874 change *::pos_type into lyx::pos_type
14876 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
14878 * buffer.C (parseSingleLyXformat2Token): Set the language to the
14879 language of the document when inserting error insets.
14881 2001-11-26 André Pönitz <poenitz@gmx.net>
14883 * BufferView_pimpl.[Ch]:
14891 * paragraph_pimpl.[Ch]:
14894 * text2.C: reduce header dependencies, introduce type for positions
14896 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14898 * <various>: change to use Alert.h
14900 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
14902 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14903 when encountering an unknown token.
14904 (readLyXformat2): Show an error message if there were unknown tokens.
14906 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
14909 * BufferView_pimpl.C:
14913 * text2.C: use par->isInset()
14915 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14917 * paragraph_pimpl.h:
14918 * paragraph_pimpl.C: cleanup
14920 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14922 * text2.C (removeRow):
14923 * text.C (setHeightOfRow): remove useless (and costly) call to
14926 2001-11-20 Allan Rae <rae@lyx.org>
14928 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14929 Now need Inset*::checkInsertChar() to return true for appropriate
14930 cases so that the characters in the minibuffer will actually be
14933 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14935 * text.C: change the order of the includes.
14936 (workWidth): initialize it at once.
14937 (workWidth): make maxw unsigned
14938 (setHeightOfRow): remove unused variable (inset)
14939 (selectSelectedWord): remove unused variable (inset)
14940 (paintRowText): fix drawing of hfill characters, and clean up a bit.
14942 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14944 * lyxserver.C (emergencyCleanup): do not try to close pipes if
14945 server is not running.
14947 (closeConnection): add debug info when server is disabled.
14949 * ColorHandler.C (getGCForeground): send debug message to GUI
14952 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14954 * kbmap.C (bind): modify because return conventions of
14955 kb_sequence::parse have changed.
14957 * kbsequence.C (parse): only ignore spaces and not any stupid
14958 control character. This avoids tests like s[i] <= ' ', which are
14959 guaranteed to fail with 8bit characters and signed chars.
14960 Change return code to string::npos when there have been no error
14961 (0 was a bad idea when error is at first character)
14963 2001-11-14 José Matos <jamatos@fep.up.pt>
14966 * buffer.C (simpleDocBookOnePar): removed unused argument.
14968 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14970 * text.C (selectNextWordToSpellcheck): do not test explicitely for
14971 insets which are part of a word. Paragraph::isLetter takes care of
14972 that now. Use Paragraph::isInset to identify insets.
14973 (selectSelectedWord): do not test for hyphenation break.
14975 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14976 that protected spaces are considered as spaces.
14978 * paragraph.C (isLetter): cleanup the code for ispell extras; use
14981 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
14984 * lyxserver.C: fix it. and small cleanup.
14986 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
14988 * BufferView_pimpl.C: use inline helpers
14991 * LaTeXFeatures.C: fix typos
14994 * Spacing.C: move spacing_string into class
14996 * ToolbarDefaults.C: move stuff into namespace anon
14998 * layout.h: update enum
15000 * lyxfunc.C: use better debug
15002 * minibuffer.h: fix typo
15006 * WorkArea.C: add and use Debug::WORKAREA
15010 * text2.C: code re-organisation, inline helpers
15012 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
15014 * Layout.C: replaced a few cases of std::vector.size() == 0 with
15015 std::vector.empty().
15017 2001-11-09 Allan Rae <rae@lyx.org>
15019 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
15020 '\n's after tables. Tabular and ERT inset work now makes this no
15023 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
15026 * minibuffer.C: fix crash, improve drop-down completion
15028 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
15031 * lyxserver.C: invalidate fd's when doing endPipe()
15033 2001-11-08 José Matos <jamatos@fep.up.pt>
15035 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
15036 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
15039 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
15041 2001-11-07 José Matos <jamatos@fep.up.pt>
15044 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
15047 * buffer.C (sgmlOpenTag):
15048 * buffer.C (sgmlCloseTag): removed debug info.
15050 * buffer.h (sgmlOpenTag):
15051 * buffer.h (sgmlCloseTag): made public.
15053 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15055 * buffer.C (saveParamsAsDefaults):
15056 * lyx_cb.C (MenuLayoutSave): remove
15058 * LyXAction.C (init):
15060 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
15062 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15064 * buffer.C (setPaperStuff): removed from here...
15066 * bufferparams.C (setPaperStuff): ... and moved there.
15068 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
15072 * XFormsView.C: add support for drop-down completion
15074 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
15076 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
15079 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15081 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
15084 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
15086 * lyx_main.C: change ref to known bugs
15088 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
15090 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
15091 to work around older babel problems.
15093 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
15095 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
15097 2001-10-24 Juergen Vigna <jug@sad.it>
15099 * tabular-old.C (ReadOld): below variable changes reflected.
15101 * tabular.[Ch]: added ltType struct for longtable header/footer
15102 defines and changed all instances where they are used. Added
15103 future support for double top/bottom rows.
15105 2001-10-24 José Matos <jamatos@fep.up.pt>
15107 * buffer.h (docbookHandleCaption):
15108 * buffer.C (docbookHandleCaption): removed unused function.
15109 (makeDocBookFile): moved docbook supported version to v4.1.
15111 2001-10-24 José Matos <jamatos@fep.up.pt>
15114 * tabular.C (docbookRow): new function to export docbook code of a row.
15115 (DocBook): now honors the longtable flags.
15117 2001-10-23 José Matos <jamatos@fep.up.pt>
15120 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
15121 of the lyx defined sgml entities used in a docbook/linuxdoc document.
15123 * buffer.C (makeLinuxDocFile):
15124 (makeDocBookFile): reworked the preamble, more clean, and with
15125 support for lyx defined entities. Changed the document declaration
15126 to be more XML friendly.
15128 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
15129 if we need to output XML that should be done with a filter.
15131 2001-10-22 Juergen Vigna <jug@sad.it>
15133 * sp_pspell.h (class PSpell): add alive function needed in the
15134 controller to see if the spellchecker could be started.
15136 2001-10-22 Juergen Vigna <jug@sad.it>
15138 * buffer.C (insertStringAsLines): modify the font for inserting
15139 chars in certain conditions by calling checkInsertChar(font).
15141 2001-10-19 Juergen Vigna <jug@sad.it>
15143 * text.C (workWidth): use getRow instead of wrong algorithm.
15144 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
15146 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
15151 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
15153 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15155 * text.C (workWidth): do not search for the exact row when
15156 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
15157 optimization for big documents.
15159 2001-10-18 Juergen Vigna <jug@sad.it>
15161 * text.C (workWidth): new function with added Inset * parameter.
15163 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15165 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
15167 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
15168 change return type of getColumnNearX.
15171 * text.C (changeRegionCase): use uppercase/lowercase instead of
15174 (rightMargin): simplify code by factoring out the uses of
15179 (appendParagraph): use Paragraph::size_type
15181 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15183 * vspace.C (asLatexString): add a missing break
15185 2001-10-15 Herbert Voss <voss@perce.de>
15187 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
15189 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15191 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
15194 2001-10-10 André Pönitz <poenitz@gmx.net>
15196 * lyxfunc.C: removed greek_kb_flag.
15198 2001-10-10 Herbert Voss <voss@perce.de>
15200 * lyx_main.C: delete global string help_lyxdir.
15202 2001-10-09 Herbert Voss <voss@perce.de>
15204 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
15206 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
15208 * lyx_main.C: added global string help_lyxdir.
15210 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
15212 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
15214 * lyxrc.C (set_font_norm_type): support iso8859-4
15216 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
15218 * LaTeX.C (deplog): add another regex for MikTeX
15220 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
15222 * lyxrc.C (set_font_norm_type): support iso8859-3
15224 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15226 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
15228 * LaTeXFeatures.C: remove special case of french and index
15230 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
15231 before \begin{document}). This solves several incompatibilities.
15233 2001-10-03 Garst Reese <reese@isn.net>
15235 * lyx_cb.C: change CheckTex error msg.
15237 2001-10-03 José Matos <jamatos@fep.up.pt>
15239 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
15241 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15243 * .cvsignore: update
15245 * lyx_main.C (commandLineVersionInfo): use new style version info.
15247 * buffer.C (writeFile):
15249 (makeLinuxDocFile):
15250 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
15252 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
15254 * version.h: update to use stuff in version.C
15256 * version.C.in: new file. Contains version information determined
15257 at compile time. This is a merging of version.h and
15260 2001-10-03 Juergen Vigna <jug@sad.it>
15262 * BufferView_pimpl.C (update): don't change "dirty" status in
15265 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
15267 * WorkArea.C (c-tor): re-position version string slightly.
15269 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
15271 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15272 revert to previous code.
15274 WorkArea.[Ch]: (show, destroySplash): methods removed.
15276 WorkArea.C: rework code so that it's an amalgam of the codes before and
15277 after the splash screen was moved to WorkArea.
15279 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15282 * vspace.C (inPixels):
15285 * buffer.C (insertStringAsLines):
15286 (asciiParagraph): fix types to be large enough
15288 * lyxlex_pimpl.h: change member status from short to int
15290 * layout.h: fix type of endlabeltype
15293 * kbsequence.C (parse): change return type to string::size_type
15295 * LaTeX.C (updateBibtexDependencies): comment out unneeded
15298 * Bullet.C (bulletSize):
15299 (bulletEntry): do not use short ints as parameters
15301 * BufferView2.C (insertLyXFile): change a char to an int.
15303 * WorkArea.C (WorkArea): remove unneeded floats in computation
15305 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
15307 * buffer.C (asciiParagraph): Treat '\\' as other chars.
15309 * paragraph.C (asString): Do not ignore newline/hfill chars when
15310 copying to the clipboard.
15312 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
15314 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15315 after a multi-line inset.
15317 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
15319 * paragraph.C (validate): Set NeedLyXFootnoteCode
15321 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
15323 * lyxfont.C (LyXSizeNames): changed increase-error to increase
15324 and decrease-error to decrease.
15326 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15328 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15329 it more readable (should be equivalent)
15331 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
15333 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15335 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15337 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15338 of a cursor (row, etc.) after a character has been deleted
15339 (deleteEmptyParagraphMechanism): call the method above on _all_
15340 cursors held by the LyXText when a double space has been
15343 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
15345 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15347 (resizeCurrentBuff): remove code to destroy the old splash dialog.
15349 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15350 background. Use greyOut() and the new show() methods to toggle between
15351 the foreground and background. Add code to remove the splash after
15352 its initial showing.
15354 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15355 (create_forms): no longer call Dialogs::showSplash.
15357 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15359 * .cvsignore: add version_info.h
15361 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15363 * version_info.h.in: new file
15365 * Makefile.am: add version_info.h.in
15367 * lyx_main.C (commandLineVersionInfo): use version_info defined in
15368 version_info.h instead of VERSION_INFO
15370 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
15372 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15373 The ERT inset now returns string().
15375 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
15377 * lyxtext.h, text.C (selectNextWord): renamed as
15378 selectNextWordToSpellcheck.
15380 * text.C (selectNextWordToSpellcheck): Modified to not select
15381 words inside an ERT inset.
15383 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15385 * lyx_cb.C (MenuLayoutSave): change a bit the question
15387 * sp_base.h: include <sys/types.h>
15389 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
15391 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15393 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
15395 * several files: fix typos in user-visible strings
15397 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15399 * text2.C (pasteSelection): do not set the selection, since it
15400 will be cleared later. Actually, the intent was to fix the way the
15401 selection was set, but I figured rmoving the code was just as good.
15403 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
15405 * FontLoader.C (available): Check if font is available without
15408 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
15410 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15412 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
15414 * lyxrc.[Ch]: added display_graphics variable and associated code.
15416 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15418 * bufferparams.C (hasClassDefaults): new method. Returns true if
15419 the buffer parameters correspond to known class defaults
15421 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
15423 * XFormsView.C (show): set minimum size to the main window.
15425 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15427 * text2.C (copySelection):
15429 * lyxfind.C (LyXReplace):
15430 * BufferView_pimpl.C (Dispatch): pass the correct flag to
15431 LyXText::selectionAsString.
15433 * paragraph.C (asString): add "label" argument to the second form
15435 * text2.C (selectionAsString): add "label" argument and pass it to
15436 Paragraph::asString.
15438 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15440 * lyx_main.C (commandLineHelp): remove version information
15442 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
15444 * lyx_main.C: add -version commandline option
15446 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15448 * paragraph.h: make the optional constructor arg required instead.
15449 some modifications to other files because of this.
15451 * minibuffer.C (C_MiniBuffer_peek_event): make it static
15453 * lyxserver.C (C_LyXComm_callback): make it static
15455 * lyx_main.C (error_handler): make it static
15457 * lyx_gui.C (LyX_XErrHandler): make it static
15459 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15461 * WorkArea.C: make the extern "C" methods static.
15463 * Makefile.am (lyx_LDADD): simplify
15465 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15467 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15468 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15470 * LyXAction.C (init):
15471 * lyxfunc.C (dispatch): associated code removal.
15473 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15475 * lyxfont.h (isSymbolFont): shut off warning
15477 * text.C (setHeightOfRow):
15478 (getVisibleRow): fix crash with empty paragraphs which have a
15481 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
15483 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15486 2001-09-04 José Matos <jamatos@fep.up.pt>
15489 * tabular.C (docbook): rename docBook method to docbook.
15491 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15493 * Makefile.am: add dependencies to main.o.
15495 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
15497 * FontLoader.C (available): Return false if !lyxrc.use_gui
15499 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
15501 * FontInfo.C (query):
15502 * converter.C (view):
15503 * importer.C (Import):
15504 * exporter.C (Export): Can not -> cannot.
15506 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
15508 * BufferView_pimpl.C: allow to create index inset even if
15511 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15513 * buffer.C (getLists): replace boost::tie code with an explicit pair
15514 as boost::tie can break some compilers.
15516 * iterators.h: Added a std:: declaration to the return type of
15519 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
15521 * lyxrc.C: add help for view_dvi_paper_option, default to safe
15524 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
15526 * iterators.[Ch]: New files. Provide paragraph iterators.
15528 * buffer.C (changeLanguage): Use paragraph iterators.
15529 (isMultiLingual): ditto
15531 * BufferView2.C (ChangeInsets): Use paragraph iterators.
15533 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
15535 * FontLoader.C: Support for cmr font.
15537 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
15539 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15540 (available): New method.
15542 * FontInfo.C (getFontname): Use scalable fonts even when
15543 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15546 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15548 * converter.C (Formats::view): reverted! Incorrect fix.
15550 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15552 * converter.C (Formats::view): only output the -paper option
15553 if the dvi viewer is xdvi, thereby fixing bug #233429.
15555 2001-08-23 Herbert Voss <voss@perce>
15557 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15559 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
15561 * Spacing.h (Spacing): Set space to Default on in the default
15564 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
15566 * vc-backend.h (RCS::versionString): add RCS to version
15567 (CVS::versionString): add CVS to version
15569 * vc-backend.C (scanMaster): do not add CVS to version.
15570 (scanMaster): do not add RCS to version
15572 * lyxvc.C (versionString): new method
15574 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15576 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15578 * Spacing.C (set): initialize fval
15580 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
15582 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15585 2001-08-16 Juergen Vigna <jug@sad.it>
15587 * lyxfunc.C (dispatch): implemented the new FINISHED states.
15589 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15591 * BufferView_pimpl.C:
15594 * text2.C: setParagraph takes linespacing now
15596 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
15598 * LyxAction.C: add internal LFUN_CITATION_INSERT
15600 * LyXView.C: actually apply fix
15602 * bufferlist.C: fix open non-existent file
15604 * lyxfind.C: fix indentation
15606 * lyxfunc.C: remove unneeded assert, fix typo
15608 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15610 * MenuBackend.C: use "Floatname List"
15612 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
15614 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15615 when converting LaTeX layout to insetERT.
15616 Generate a non-collapsed float when reading old float
15618 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15620 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15623 2001-08-13 Juergen Vigna <jug@sad.it>
15625 * text.C (fill): return 0 instead of 20 as this seems to be the more
15628 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15630 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15633 2001-08-13 Juergen Vigna <jug@sad.it>
15635 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15637 (SearchBackward): comment out the unlocking of the inset_owner this
15638 should not be needed!
15640 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
15642 * Many files: Remove inherit_language, and add latex_language
15644 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15645 collapsible insets.
15647 2001-08-10 Juergen Vigna <jug@sad.it>
15649 * text.C (prepareToPrint): fixed hfill-width in draw!
15651 * BufferView2.C (selectLastWord): save the selection cursor as this
15652 now is cleared in the function LyXText::clearSelection!
15654 2001-08-08 Juergen Vigna <jug@sad.it>
15656 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15657 BACKSPACE type functions.
15659 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15660 is only cutted from the document but not put in the cut-buffer, where
15661 still the old stuff should be.
15663 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15665 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15667 * tabular.C (SetWidthOfCell): fixed special case where the width
15669 (LeftLine): handle '|' in align_special.
15671 (LeftAlreadyDrawed): ditto
15672 (SetWidthOfCell): ditto
15674 2001-08-07 Juergen Vigna <jug@sad.it>
15676 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15678 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15680 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15681 * lyxlex.[hC]: ditto
15683 2001-08-06 Juergen Vigna <jug@sad.it>
15685 * text.C (getVisibleRow): fix up row clearing a bit.
15687 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15689 * minibuffer.C: make sure the X server sees the changes in the input.
15691 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15693 * paragraph.C (getFont): split into...
15694 (getLabelFont): this
15695 (getLayoutFont): and this
15696 * paragraph_pimpl.C (realizeFont): calling this
15698 * text2.C (getFont): split into...
15699 (getLayoutFont): this
15700 (getLabelFont): and this
15701 (realizeFont): all three calling this
15703 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15706 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15708 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15710 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
15712 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15713 layouts from the Quote inset insertion.
15715 2001-08-03 Juergen Vigna <jug@sad.it>
15717 * BufferView_pimpl.C (update): do the fitCursor only at the end!
15719 * screen.C (drawFromTo): don't call fitcursor here and do the loop
15720 only if status not is already CHANGED_IN_DRAW (second level).
15722 * text.C (draw): don't set the need_break_row when inside an
15725 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
15727 * buffer.C (parseSingleLyXformat2Token): handle more latex
15730 * bufferview_funcs.[hC]: change function names to
15731 begin with small char, adjust other files.
15733 2001-08-02 André Pönitz <poenitz@gmx.net>
15736 BufferView_pimpl.C: remove broken special code for math-greek
15738 2001-08-02 Juergen Vigna <jug@sad.it>
15740 * BufferView_pimpl.C (update): redone this function so that we
15741 update the text again if there was a CHANGE_IN_DRAW.
15743 * screen.C (cursorToggle): removed LyXText parameter and recoded.
15744 (drawFromTo): added a new internal bool which is used by draw() and
15746 (general): some cursor drawing problems fixed.
15748 2001-08-01 Juergen Vigna <jug@sad.it>
15750 * lyxfind.C (LyXFind): fixed
15751 (SearchForward): ditto
15752 (SearchBackward): ditto
15754 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15755 spurius drawing of the cursor in the main area.
15757 * text2.C (status): small fix which could lead to a segfault!
15758 (clearSelection): remove unneeded BufferView param.
15760 2001-08-01 André Pönitz <poenitz@gmx.net>
15762 * lyxfunc.C: small change due to changed mathed interface
15764 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15766 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15768 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
15770 * lyxfunc.c: fail gracefully if file doesn't exist
15775 * BufferView_pimpl.C: IsDirWriteable() proto changed
15777 * LyXView.C: fix updateWindowTitle() to store the last title
15779 2001-07-31 Juergen Vigna <jug@sad.it>
15781 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15782 the font (wrong since using of Paragraph::highestFontInRange).
15784 * paragraph.C (highestFontInRange): added a default_size parameter.
15786 * text.C (getVisibleRow): minor clear row changes (still not perfect).
15787 (setHeightOfRow): reformat
15789 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15791 * converter.[hC] + affected files: move to (inital-char)lowercase
15794 * ParagraphParameters.C (ParagraphParameters): remove commented code
15796 * PainterBase.[Ch]: remove commented code
15798 * LaTeXFeatures.h: add "bool floats" for float.sty
15800 * LaTeXFeatures.C (LaTeXFeatures): init floats
15801 (require): handle float
15802 (getPackages): do it with floats
15804 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15806 * BufferView_pimpl.C (Dispatch): improve handling of
15807 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15809 * commandtags.h: #include lyxfont.h here temporarily to avoid
15812 * bufferlist.h: include LString.h here.
15814 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15816 * text2.C (getStringToIndex): new method.
15818 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
15820 * *: Reduced header file dependencies all over.
15822 2001-07-30 Baruch Even <baruch@lyx.org>
15824 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15826 2001-07-29 Baruch Even <baruch@lyx.org>
15828 * buffer.C (readInset): Changed GRAPHICS to Graphics.
15830 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15832 * ParameterStruct.h (endif): add a default constructor to make
15833 sure that all variables is initialized.
15835 * ParagraphParameters.C (ParagraphParameters): adjust
15837 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15839 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15840 index; also, check that there is something to index, and that it
15841 does not span over several paragraphs.
15842 (doubleClick): use WHOLE_WORD_STRICT for double click.
15844 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15846 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15849 2001-07-26 Baruch Even <baruch@lyx.org>
15851 * buffer.C (readInset): Changed to call up InsetGraphics when reading
15852 an InsetFig figure, backwards compatible reading of old figure code.
15854 2001-07-27 Juergen Vigna <jug@sad.it>
15856 * text2.C: font.realize function adaption.
15858 * text.C (draw): add a warnings lyxerr text if needed.
15860 * layout.C: font.realize function adaption.
15862 * language.C: add inherit_language and implement it's handlings
15864 * bufferview_funcs.C (StyleReset): remove language parameter from
15865 font creation (should be language_inherit now).
15867 * bufferparams.C (writeFile): handle ignore_language.
15869 * paragraph.C (getFontSettings): the language has to be resolved
15870 otherwise we have problems in LyXFont!
15872 * lyxfont.C (lyxWriteChanges): added document_language parameter
15873 (update): removed unneeded language parameter
15875 * paragraph.C (validate): fixed wrong output of color-package when
15876 using interface colors for certain fonts in certain environments,
15877 which should not seen as that on the final output.
15879 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
15881 * BufferView_pimpl.C:
15886 * LyXAction.C: add thesaurus support
15889 * lyxfind.C: add "once" parameter, for thesaurus, to not
15890 move to the next match
15892 2001-07-26 Juergen Vigna <jug@sad.it>
15894 * lyxfont.C (realize): honor ignore_language too!
15897 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15899 * text.C (draw): one place more for ignore_language to not draw
15902 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
15904 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15906 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15908 * buffer.C (parseSingleLyXformat2Token): a more general fix for
15909 the minipage conversion problem.
15911 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15913 * buffer.C (parseSingleLyXformat2Token): check minipage if we
15916 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15918 * BufferView.h: don't forward declare WorkArea
15920 * BufferView.C: don't include WorkArea.h
15922 2001-07-25 André Pönitz <poenitz@gmx.net>
15926 * lyxfunc.C: new LFUN 'math-space'
15928 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15930 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15932 * text2.C (toggleInset): call open/close
15934 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15936 * lyxfunc.C (dispatch): add debug for the disabled case
15938 * font.C (buttonText): make similar to rectText
15940 * buffer.C (readInset): comment out parsing of insetlist and
15943 * PainterBase.C (rectText): small correction
15945 * BufferView_pimpl.C: comment out insettheorem and insetlist
15946 * LyXAction.C: ditto
15947 * commandtags.h: ditto
15949 2001-07-24 Juergen Vigna <jug@sad.it>
15951 * text.C (draw): honor the ignore_language.
15953 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15955 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15957 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15960 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15962 * lyxtext.h: remove unused (and unimplemented) methods
15964 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15966 * text.C (getVisibleRow): honor background color
15969 * Painter.h: remove default color argument for fillRectangle
15971 * text.C (backgroundColor): new method
15973 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15975 * text.C (getVisibleRow): adjust
15977 * font.[Ch] (rectText): new method, metrics
15978 (buttonText): new method, metrics
15980 * PainterBase.[hC]: make rectText and buttonText always draw and take
15983 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15985 * ToolbarDefaults.C (read):
15986 * MenuBackend.C (read): allow escaping in all strings
15988 * BufferView_pimpl.C (insertAndEditInset): new method.
15989 (Dispatch): use insertAndEditInset whenever appropriate.
15991 * BufferView_pimpl.C (insertNote): removed
15993 * BufferView_pimpl.C (smartQuote): new method, moved from
15994 BufferView; if an insetquote cannot be inserted, insert a '"'
15997 * BufferView2.C: remove insertCorrectQuote();
15999 * lyxfunc.C (getStatus): Add support for all remaingin
16000 inset-insert lfuns.
16002 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
16004 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
16005 command (necessary to pass " as parameter of self-insert.
16007 * text.C (selectWordWhenUnderCursor):
16008 (selectWord): add word_location parameter
16009 (selectWordWhenUnderCursor): same + remove special code for word
16011 (selectNextWord): use kind() to guess type of insetspecialchar,
16014 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
16015 (insertErtContents): create ert insets as collapsed.
16016 (readInset): better compatibility code for Info inset.
16018 2001-07-20 Juergen Vigna <jug@sad.it>
16020 * lyxfunc.C (dispatch): use always LyXFind now!
16022 * text2.C (init): add a reinit flag so that the LyXText can be
16023 reinited instead of deleted and reallocated (used in InsetText).
16025 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
16031 2001-07-18 Juergen Vigna <jug@sad.it>
16033 * text.C (selectNextWord): handle insets inside inset by calling
16034 always the bv->text functions so that we can go up the_locking_inset!
16036 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
16037 in strange locations when inside an inset!
16039 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
16040 handling to include insets.
16042 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
16044 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16046 * LyXAction.C (init):
16048 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
16049 LIGATURE_BREAK, since the name is so stupid.
16051 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
16053 * buffer.C (readInset): enable reading of new InsetNotes as well as old
16056 * FontLoader.C: remove FORMS_H_LOCATION cruft.
16058 * sp_form.[Ch]: remove.
16060 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
16062 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
16065 * src/buffer.C (readInset): ditto.
16067 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16069 * BufferView_pimpl.C (specialChar): new method. Obsoletes
16070 menuSeparator(), endOfSentenceDot(), ldots() and
16071 hyphenationPoint(), which are therefore removed.
16072 (Dispatch): handle LFUN_HYPHENATION_BREAK.
16074 * LyXAction.C (init):
16075 * commandtags.h: add LFUN_HYPHENATION_BREAK.
16077 * paragraph.C (getWord): removed.
16079 * BufferView_pimpl.C (Dispatch): use last word or selection for
16080 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
16082 * lyx_main.C (queryUserLyXDir): do not ask before creating
16083 user_dir, except if it has been named explicitely.
16085 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
16087 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
16088 a document of zero size.
16090 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
16092 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
16093 approriately in the c-tor and in require().
16094 (getPackages): output the appropriate LaTeX for natbib support.
16096 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
16097 variables "use_natbib" and "use_numerical_citations" when reading the
16099 (readInset): read the various natbib cite commands.
16100 (validate): white-space change.
16102 * bufferparams.[Ch]: new variables "bool use_natbib" and
16103 "bool use_numerical_citations".
16104 (writeFile): output them in the LyX file.
16106 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16108 * lyxfunc.C (getStatus): add support for all the inset insertion
16111 * text2.C (insertInset):
16112 * paragraph.C (insetAllowed):
16113 * BufferView_pimpl.C (insertInset): update to take in account the
16114 renaming of insertInsetAllowed
16116 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
16118 * text2.C (getInset): new method. returns inset at cursor position.
16120 * BufferView_pimpl.C (Dispatch): changes because of this.
16122 * LyXAction.C (init): rename open-stuff to inset-toggle.
16124 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
16126 * text2.C (toggleInset): renamed from openStuff; use
16129 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
16131 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
16133 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
16135 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
16137 * buffer.C (readLyXformat2): Add filename to the error dialog
16139 2001-07-18 Juergen Vigna <jug@sad.it>
16141 * tabular.C (GetCellNumber): put an assert here instead of the check!
16143 2001-07-17 Juergen Vigna <jug@sad.it>
16145 * BufferView_pimpl.C (toggleSelection): adapted too.
16147 * text.C (selectNextWord): adapted for use with insets.
16148 (selectSelectedWord): ditto
16150 2001-07-17 Juergen Vigna <jug@sad.it>
16152 * sp_spell.C (PSpell): fix initialitation order.
16154 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16156 * paragraph.C: spacing
16158 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
16160 * sp_spell.C: repair language selection for pspell
16162 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
16164 * lyxfunc.h: change more methods to begin with lower char.
16166 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
16168 * buffer.C (parseSingleLyXformat2Token): Generate error insets
16169 for unknown layouts.
16171 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
16173 * buffer.C (readLyXformat2): Generate an error dialog if there are
16176 2001-07-16 Juergen Vigna <jug@sad.it>
16178 * sp_spell.C: always compile ISpell part.
16180 * lyxrc.C: added use_pspell entry and it's handling.
16182 2001-07-13 Juergen Vigna <jug@sad.it>
16184 * sp_spell.C: removed double includes.
16186 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
16188 Consistent use of Lsstream.h:
16189 * Lsstream.h: added using std::stringstream for consistencies sake.
16191 * buffer.C: removed using std::stringstream
16193 * lyxfont.C (stateText):
16194 * paragraph.C (asString):
16195 * text.C (selectNextWord, selectSelectedWord):
16196 * text2.C (setCounter):
16197 * vspace.C (asString, asLatexString):
16198 std::ostringstream -> ostringstream.
16200 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
16202 * LyXAction.C: add LFUN_HELP_ABOUTLYX
16203 * commandtags.h: add LFUN_HELP_ABOUTLYX
16204 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
16206 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
16208 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
16210 * lyx_gui_misc.C: remove spellchecker
16211 * lyxfunc.C: showSpellchecker
16213 * sp_ispell.h: added
16214 * sp_pspell.h: added
16215 * sp_spell.C: added
16216 * sp_form.[Ch]: removed
16217 * spellchecker.[Ch]: removed
16219 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
16221 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
16223 (simpleTeXSpecialChars): Simply print the input character without
16224 any special translation if pass_thru is set.
16226 * layout.h: Added bool pass_thru to layout class for being able to
16227 implement pass through of a paragraph for Literate Programming.
16229 * layout.C: add LT_PASS_THRU to LayoutTags enum.
16230 * layout.C (LyXLayout): set pass_thru to flase in constructor.
16231 * layout.C (Read): add "passthru" to list of layout tags and add
16232 code to set the pass_thru boolean when it is read.
16234 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
16236 * trans_decl.h: remove allowed from KmodInfo
16238 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
16239 remove allowed code
16242 * paragraph_pimpl.C (erase): use boost::prior
16244 * Painter.C (text): use data() instead of c_str() when length is
16246 * WorkArea.C (putClipboard): ditto
16247 * font.h (width): ditto
16249 * BufferView2.C: use it-> instead of (*it). for iterators
16251 * paragraph_pimpl.C: ditto
16252 * paragraph.C: ditto
16253 * minibuffer.C: ditto
16254 * language.C: ditto
16256 * encoding.C: ditto
16257 * counters.C: ditto
16258 * converter.C: ditto
16260 * Variables.C: ditto
16261 * TextCache.C: ditto
16262 * MenuBackend.C: ditto
16263 * LyXAction.C: ditto
16265 * FloatList.C: ditto
16266 * DepTable.C: ditto
16267 * ColorHandler.C (LyXColorHandler): ditto
16269 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16271 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16273 * text2.C (openStuff): reintroduce this method (which had been
16274 nuked in NEW_INSETS frenzy).
16276 * lyxfunc.C (Dispatch): when an action has not been handled, use
16277 its name in the error message, not its number.
16279 * paragraph.C (inInset): change method name to begin with lowercase.
16282 * text2.C: updates because of this.
16284 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16286 * ToolbarDefaults.C (add): add spaces in error message
16288 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
16290 * buffer.C (readLyXformat2): initialize the ert comp. variables.
16291 (readLyXformat2): rename return_par to first_par, use lyxlex's
16292 pushToken and remove the manual push handling.
16293 (parseSingleLyXformat2Token): add another ert comp. variable:
16294 in_tabular, rename return_par to first_par. handle newlines better
16296 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16298 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16300 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
16302 * text2.C (getParFromID): removed
16304 * buffer.C (getParFromID): new method moved form lyxtext.
16305 * BufferView2.C (insertErrors): adjust
16306 (setCursorFromRow): adjust
16307 * BufferView_pimpl.C (restorePosition): adjust
16308 * lyxfunc.C (Dispatch): adjust
16309 * undo_funcs.C (textUndo): adjust
16311 (textHandleUndo): adjust
16312 (textHandleUndo): adjust
16314 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
16316 * buffer.C: up' the LYX_FORMAT
16318 * lyxfont.h: turn NO_LATEX on as default
16320 * buffer.C (insertErtContents): new methods of tex style compability.
16321 (parseSingleLyXformat2Token): use it several places.
16322 * tabular.C (OldFormatRead): and here
16324 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
16326 * text2.C: remove some commented code.
16329 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16330 * trans.C: changes because of the above.
16332 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
16334 * text2.C (setCounter): Fix counters bug with bibliography layout.
16336 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16338 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16339 own member functions
16340 (simpleTeXSpecialChars): ditto
16342 2001-07-06 Juergen Vigna <jug@sad.it>
16344 * a lot of files: changed the access to LyXText::status and the
16345 call of undo-functions.
16347 * undo.[Ch]: added a inset_id to the undo informations.
16349 * undo_funcs.[Ch]: added and moved here all undo functions.
16351 * lyxtext.h: give the status enum a weight, made status_ a private
16352 variable and made accessor functions for it, removed the whole bunch
16353 of undo-functions as they are now in their own file, make some
16354 functions publically available. Added function ownerParagraph with
16357 * paragraph.[Ch]: added "bool same_ids" to the constructor,
16358 made InInset() a const function, added getParFromID() function.
16360 * buffer.[Ch]: added const version for inset_iterator functions,
16361 added getInsetFromID() function.
16363 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16364 changed undo functions for new version.
16366 2001-07-05 Juergen Vigna <jug@sad.it>
16368 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16369 unknow mechanism does not call the proper constructor but only this
16370 one also if I request the other!?
16372 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16374 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16376 * text2.C (LyXText): use initialization lists.
16378 * lyxtext.h (Selection): initialize set_ and mark_
16379 (init): remove method
16381 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
16383 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16385 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16387 * screen.[Ch]: change method names to begin with lowercase
16389 * BufferView_pimpl.C (updateScrollbar): simplify further and
16390 hopefully make it a bit faster.
16392 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16394 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16395 calling directly xforms functions.
16397 * Painter.C (Painter):
16398 * lyx_cb.C (MenuWrite):
16399 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16402 * lyx_gui.C: remove bogus guiruntime extern declaration.
16404 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16406 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16408 (redoDrawingOfParagraph): ditto
16409 (redoParagraphs): ditto
16410 (cutSelection): don't create a object for CutAndPaste use the
16411 static method directly
16412 (pasteSelection): ditto
16414 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16417 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16419 * modifications to some other files because of this.
16421 * Makefile.am (lyx_SOURCES): add XFormsView
16423 * XFormsView.[Ch]: new files
16425 * LyXView.[Ch]: make LyXView a base class for the gui handling for
16426 the main window. Move the gui dependent stuff to XFormsView
16428 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16430 * tabular.C (GetCellInset): update cur_cell also in the row/col
16431 version of this function.
16433 * lyxfunc.C: no need to include figure_form.h here.
16439 * lyxvc.C: no need to include forms.h here.
16441 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16443 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16445 * lyxfunc.C (Dispatch):
16447 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16448 constructor argument.
16450 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16452 * paragraph.C (Paragraph): dont't clear, and just set layout.
16453 (makeSameLayout): use params's copy contructor.
16455 * ParagraphParameters.[Ch] (makeSame): delete method
16457 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
16459 * Variables.[Ch]: fix indentation, rename set to isSet
16461 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16463 * lyxfunc.C (Dispatch): fix typo
16465 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16467 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16470 * bufferlist.C: include assert.h for emergencyWrite().
16472 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16474 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16475 give up at last (bug #425202) !
16477 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
16483 * spellchecker.C: strip spellchecker options and bring up
16484 preferences tab instead
16486 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16488 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16489 the istringstream constructor
16491 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16493 * paragraph.C (getLayout): fix return value
16495 * paragraph.h: do not declare getLayout as inline.
16497 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16499 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16501 * lyxcursor.h (operator<): new func
16502 (operator>): new func
16503 (operator>=): new func
16504 (operator<=): new func
16506 * text.C (changeCase): use selection.start and selection.end
16507 (changeRegionCase): require from to be <= to. Require par to be a
16510 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16512 2001-06-27 Juergen Vigna <jug@sad.it>
16514 * text.C (cursorLeftOneWord): changed to return the cursor and added
16515 overlay with BufferView * parameter which calls this one.
16517 (selectWord): use new getWord function.
16518 (changeCase): renamed from changeWordCase as and extended to work
16519 also on selections.
16521 * lyxtext.h: added enum word_location
16523 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16524 changeCase as this operates now also on selections.
16526 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
16528 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16530 * many files: send debug output to Debug::INFO instead of
16533 * converter.C (View):
16535 (Move): send debug output to Debug::FILES instead of console.
16537 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
16539 * lyxfunc.C (getStatus): use func_status
16541 * func_status.h: new header, describing the results of
16542 LyXFunc::getStatus;
16544 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16547 2001-06-25 The LyX Project <jug@sad.it>
16549 * buffer.C (sgmlOpenTag):
16551 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
16553 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16555 * text2.C: remove some dead code
16557 * tabular.C (GetCellInset): store the last cell checked (gotten)
16559 * tabular.h: add the helper for the speedup
16561 * lyxtext.h: remove some dead code
16563 2001-06-26 The LyX Project <Asger>
16565 * paragraph.C: Change export to LaTeX of alignment to
16566 \begin{center} and family for better roundtrip work with reLyX.
16568 * Tune the math drawing a bit.
16570 2001-06-25 The LyX Project <Asger>
16572 * LColor.C (LColor): New color for math background. New color
16575 2001-06-25 The LyX Project <jug@sad.it>
16577 * lyxfunc.C (MenuNew): remove extra check for .lyx file
16579 * lyxfunc.C (Open):
16580 * bufferlist.C (newFile): do not restrict to files ending with
16583 * BufferView_pimpl.C (MenuInsertLyXFile):
16585 2001-06-24 The LyX Project <jug@sad.it>
16587 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16590 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16592 * lyxtext.h: rename most methods to begin with a small char.
16593 Lots of changes because of this.
16595 * paragraph.C (Paragraph): do not call fitToSize
16596 (erase): call Pimpl::erase
16597 (insertChar): call Pimpl::insertChar
16598 (insertInset): call Pipl::insertInset
16599 (breakParagraph): do not call fitToSize
16600 (breakParagraphConservative): do not call fitToSize
16601 (fitToSize): remove method
16603 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16605 2001-06-24 The LyX Project <Asger>
16607 * Fix Qt compilation^2
16609 2001-06-24 The LyX Project <jug@sad.it>
16611 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16612 depthHook(getDepth()-1).
16615 * ParagraphParameters.h:
16616 * ParameterStruct.h: change type of depth to unsigned int ==
16617 depth_type. Many adaptations to other files before of that.
16619 2001-06-24 The LyX Project <Asger>
16621 * Fix Qt compilation.
16623 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16625 * paragraph.h: renamed several methods to begin with small letter.
16626 several changes to many parts of the code because of this.
16628 2001-06-23 The LyX Project <jug@sad.it>
16630 * text2.C (InsertStringAsLines): renamed from InsertStringA;
16631 rewritten to discard all double spaces when KeepEmpty is off
16632 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16633 to only handle newlines but not fiddle with spaces and friends.
16635 * lyxfunc.C (MenuNew): when doing 'new from template', use
16636 template_path as default directory
16638 2001-06-23 The LyX Project <Asger>
16640 * Clean-up of header file includes all over
16641 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16643 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16645 * paragraph.h: renamed from lyxparagraph.h
16647 2001-06-23 Asger <lyx@violet.home.sad.it>
16649 * Buffer.h: Removed Buffer::resize
16650 * BufferList.h: Removed BufferList::resize
16651 * LyXView.h: Added LyXView::resize. This way, we will only reflow
16652 the document lazily when we change the width, or the font settings.
16654 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16656 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16658 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16660 * buffer.h: remove out of date comment
16662 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16665 * screen.C: fix "theoretical" GC leak
16667 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16669 * LaTeX.C (scanAuxFile):
16670 (deplog): remove trailing \r when reading stream (useful under
16673 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
16675 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16676 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16677 and BufferView::theLockingInset(Inset*), so should use them and not
16678 access bv_->text->the_locking_inset directly.
16680 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16682 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16685 * tex-defs.h: remove old unused file
16687 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
16689 * BufferView_pimpl.C: fix typo, remove minibuffer message
16690 when buffer has loaded
16692 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
16694 * lyxfunc.C (Dispatch): use stringstream
16695 (MenuNew): use stringstream
16696 (Open): use stringstream
16698 * importer.C (Import): use stringstream
16700 * bufferview_funcs.C (CurrentState): use stringstream
16702 * LaTeX.C (run): use stringstream
16704 * BufferView_pimpl.C (savePosition): use stringstream
16705 (restorePosition): use stringstream
16706 (MenuInsertLyXFile): use stringstream
16708 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
16721 * vspace.C: removed // -*- C++ -*- as first line.
16724 * version.h: added // -*- C++ -*- as first line.
16726 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16728 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16730 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16733 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
16735 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16738 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16740 * gettext.C: include LString.h even when --disable-nls is on.
16742 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
16744 * converter.h (Get): changed argument type from int to
16745 FormatList::size_type to avoid unnecessary conversion.
16747 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16750 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16752 * gettext.h: include LString.h even when --disable-nls is on.
16754 2001-06-07 Juergen Vigna <jug@sad.it>
16756 * text.C (BreakAgain): subst spaces with tabs.
16758 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16759 (resizeInsetsLyXText): set force on resizeLyXText.
16761 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16763 * gettext.h (gettext_init):
16764 (locale_init): use a real definition instead of a macro
16766 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16768 * Bufferview_pimpl.C:
16770 * LColor.C: further lcolor tidies
16772 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
16774 * BufferView_pimpl.C (updateScrollbar): simplify.
16776 * BufferView2.C: don't include insets/insetinfo.h, change
16777 prototype for insertInset and call the Pimpl version. let
16778 updateInset call Pimpl version.
16780 * BufferView.h: move inset_slept to BufferView::Pimpl, move
16781 gotoInset to BufferView::Pimpl
16783 2001-06-01 Juergen Vigna <jug@sad.it>
16785 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16786 inside a LockingInset (is the update needed at all?).
16788 2001-05-31 Juergen Vigna <jug@sad.it>
16790 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16791 here not the old one otherwise how should we compare it afterwards
16794 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16799 * FontInfo.C: bring C functions into global namespace when
16802 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16804 * LString.h: make sure config.h has been loaded before LString.h.
16806 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16807 (one for each char read by EatLine!).
16809 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16812 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
16814 * paragraph.C (BreakParagraph): set the inset_owner in the new par
16815 to the same as the par we break from
16817 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
16819 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16821 * MenuBackend.C (expand): also create menu entries for wide
16822 versions of the floats.
16824 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16826 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16828 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16829 frontends/Makefile.am
16835 * tabular.C (getTokenValue): add std::
16837 * tabular-old.C (getTokenValue): add std::
16838 (getTokenValue): ditto
16839 (getTokenValue): ditto
16841 * screen.C (ToggleSelection): adjust
16843 * lyxtext.h: put selection cursors inside a Selection struct.
16845 * lyxfunc.C (moveCursorUpdate): adjust
16847 * lyxfont.C (latexWriteStartChanges): add std::
16849 * lyxfind.C: adjust
16851 * font.h: delete with(char const *, LyXFont const &)
16853 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16855 * FontInfo.C (getFontname): add std::
16857 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16858 (workAreaButtonPress): adjust
16859 (tripleClick): adjust
16861 (moveCursorUpdate): adjust
16864 * BufferView2.C (gotoInset): adjust
16866 2001-05-30 Juergen Vigna <jug@sad.it>
16868 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16869 to check pspell I add this as default as I now have new pspell
16870 libraries and they seem to use this.
16872 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
16874 * text2.C (CutSelection): make the cursor valid before the call to
16877 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16879 * kbsequence.C (parse): de-uglify a bit the parsing code, which
16880 relied on 0 terminated strings and other horrors. Bug found due to
16881 the new assert in lyxstring!
16883 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16886 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16888 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16891 * lyxfunc.C (processKeySym): change method of getting to the
16894 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16895 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16896 * BufferView_pimpl.[Ch]: here as private methods.
16898 2001-05-28 Juergen Vigna <jug@sad.it>
16900 * text.C (SetHeightOfRow): added the update() call again as it is
16901 needed to initialize inset dimensions!
16903 2001-05-16 Juergen Vigna <jug@sad.it>
16905 * text2.C (SetCharFont): Add new function with BufferView * and
16906 bool toggleall parameters for setting insets internal fonts.
16907 (SetFont): Freeze the undo as we may change fonts in Insets and
16908 all this change should be inside only one Undo!
16910 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16911 setting font's in insets as for them we have the SetFont function!
16913 2001-05-15 Juergen Vigna <jug@sad.it>
16915 * text2.C (ClearSelection): to be sure we REALLY don't have any
16918 * tabular.C (TeXCellPreamble): fixed the left border problem for
16921 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
16923 * LaTeX.C (deplog): Make sure that the main .tex file is in the
16926 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16928 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16929 LFUN_BREAKPARAGRAPH.
16931 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16932 help test to "internal only", similar for LFUN_INSERT_URL
16934 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16935 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16936 auto_region_delete and deadkeys.
16938 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
16941 * LColor.C: remove some dead entries, tidy a little
16943 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
16945 * lyxfunc.C (processKeySym): comment the Escape handling, remove
16947 (Dispatch): implement LFUN_ESCAPE
16949 * commandtags.h: add LFUN_ESCAPE
16951 * LyXAction.C (init): add entry for LFUN_ESCAPE
16953 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16954 Remove commented code.
16955 (insertNote): moved here
16956 (open_new_inset): moved here
16958 * BufferView[2].[Ch]: move insertNote and open_new_inset to
16961 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16963 * kbmap.C (findbinding): clean it up and make it work correctly.
16965 * lyx_main.C (init): do not pass argc and argv as parameters
16967 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
16969 * buffer.C: fix path for OS/2 & Win32
16973 * lyx_main.C: Added os:: class.
16975 * os2_defines.h: update
16977 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16979 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16980 better by trying again with reduced state.
16982 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16984 * lyxrc.C (read): print error about invalid key sequence only when
16985 debugging (because not all latinX keysyms are known to some X
16988 * kbsequence.C (getiso): add a few std:: qualifiers
16989 (getiso): comment out extra return statement.
16991 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
16993 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16995 (Dispatch): enhance the accent inset a bit. (not perfect)
16997 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
16999 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
17001 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17003 * bufferlist.C (emergencyWrite): fix assert() call
17005 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
17007 * text.C (InsertChar): Added trivial patch to only send the "you
17008 can not do multiple spaces this way" message once during a
17011 2001-05-08 Baruch Even <baruch@lyx.org>
17013 * Makefile.am: Changed order of libraries to get LyX to link properly
17014 with the gnome frontend.
17016 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17018 * LaTeXFeatures.h: add a std:: qualifier
17020 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
17022 * paragraph.C (String): use stringstream
17024 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
17026 * paragraph.C (writeFile): remove footflag arg
17028 * buffer.C (makeLaTeXFile): use stringstream
17029 (latexParagraphs): remove footnot gurba
17031 * LaTeXFeatures.C (getPackages): use stringstream
17032 (getMacros): likewise
17033 (getTClassPreamble): likewise
17034 (getFloatDefinitions): new method
17036 * paragraph.C (writeFile): reindent
17039 * WorkArea.h: revert the xpos + etc changes.
17041 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
17043 * lyxparagraph.[Ch]: add copy constructor, remove Clone
17045 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
17046 (pasteSelection): likewise
17047 * text2.C (CreateUndo): likewise
17049 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
17051 * minibuffer.C (peek_event): temporarily reduce the functionality
17052 of the minibuffer (to allow args on lfuns)
17054 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
17055 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
17057 * buffer.C (readInset): add compability reading of old float
17058 lists, add reading of new style float list.
17059 (readInset): avoid reevaluation of inscmd.getCmdName()
17060 (getLists): reindent
17062 * MenuBackend.C (MenuItem): implement parsing of
17063 md_floatlistinsert and md_floatinsert.
17064 (expand::LastFiles): move initalizaton of iterators out of loop,
17065 avoid reevaluation.
17066 (expand::Documents): introduce typdedef vector<string> Strings,
17068 (expand::ExportFormats): introduce typedef vector<Format const *>
17069 Formats, and use it.
17070 (expand): implement FloatListInsert and FloatInsert.
17072 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
17073 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
17074 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
17076 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
17078 (Dispatch::LFUN_FLOAT_LIST): implement
17080 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
17082 * LaTeX.C (run): Fix problem with --export code.
17084 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
17086 * BufferView.[Ch] (workarea): removed.
17087 (getClipboard) new method; wrapper for workarea()->getClipboard()
17089 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
17092 * WorkArea.h (width, height, xpos, ypos): These methods all
17093 returned the dimensions of the work_area sub-area of WorkArea,
17094 resulting in a position error if the WorkArea were resized. Now
17095 return the dimensions of the entire WorkArea.
17097 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
17099 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17101 * LaTeX.C (deplog): correct the syntax of regex reg1
17103 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
17105 * undo.C: remove !NEW_INSETS cruft
17107 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
17109 * text2.C: remove !NEW_INSETS cruft
17111 * text.C: remove !NEW_INSETS cruft
17113 * tabular.C: remove !NEW_INSETS cruft
17115 * spellchecker.C: remove !NEW_INSETS cruft
17117 * lyxtext.h: remove !NEW_INSETS cruft
17119 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
17121 * lyxfunc.C: remove !NEW_INSETS cruft
17123 * lyxfind.C: remove !NEW_INSETS cruft
17125 * lyx_cb.C: remove !NEW_INSETS cruft
17127 * figureForm.C: remove !NEW_INSETS cruft
17129 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
17131 * buffer.[Ch]: remove !NEW_INSETS cruft
17133 * ToolbarDefaults.C: remove !NEW_INSETS cruft
17135 * CutAndPaste.C: remove !NEW_INSETS cruft
17137 * BufferView_pimpl.C: remove !NEW_INSETS cruft
17139 * BufferView2.C: remove !NEW_INSETS cruft
17141 * BufferView.h: remove !NEW_INSETS cruft
17143 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17145 * Lsstream.h: include LString.h before the sstream headers to
17146 fix problem with gcc 2.95.3 and lyxstring
17148 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17150 * lyx_main.C: add using directives when needed for C functions
17151 declared in std:: namespace.
17153 2001-04-27 Juergen Vigna <jug@sad.it>
17155 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
17156 (SetHeightOfRow): comment out the update call should not be needed!
17158 2001-04-13 Juergen Vigna <jug@sad.it>
17160 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
17161 (LyXTabular): tried to minimize operator= operations (and realized
17162 hopfully Lars wish).
17164 2001-04-27 Juergen Vigna <jug@sad.it>
17166 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
17168 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
17170 * lyxfunc.C (Dispatch): hack to make listof algorithm work
17172 * buffer.C (readInset): hack to make listof algorithm work
17174 * BufferView_pimpl.C: hack to make listof algorithm work
17176 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
17178 * LyXAction.C: removed all !NEW_INSETS cruft
17179 (init): moved lfun_item in method
17181 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
17183 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
17185 * BufferView2.C (theLockingInset): white space.
17187 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
17189 * minibuffer.C: include <iostream>
17191 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
17193 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
17195 * commandtags.h: add LFUN_TRANSPOSE_CHARS
17197 * text.[Ch] (TransposeChars): new method
17199 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
17201 * call message directly through LyXView instead of through LyXFunc
17202 * BufferView2.C: adjust
17203 * BufferView_pimpl.C: adjust
17204 * FontLoader.C: adjust
17206 * bufferview_funcs.C: adjust
17207 * converter.C: adjust
17208 * figureForm.C: adjust
17209 * importer.C: adjust
17211 * lyx_gui_misc.C: adjust
17212 * lyxfunc.C: adjust
17215 + more files in subdirs
17217 * lyxparagraph.h (size): move up int file
17220 * adjust all uses of Assert to lyx::Assert.
17222 * BufferView2.C (ChangeCitationsIfUnique): adjust for
17223 lyxfunctional in namespace lyx
17224 * layout.C (hasLayout): ditto
17227 (delete_layout): ditto
17228 (NumberOfClass): ditto
17229 * converter.C (GetFormat): ditto
17234 * bufferlist.C (getFileNames): ditto
17235 (emergencyWriteAll): ditto
17238 * MenuBackend.C (hasSubmenu): ditto
17241 * BufferView_pimpl.C (getInsetByCode): ditto
17243 2001-04-18 Juergen Vigna <jug@sad.it>
17245 * vspace.C (asLatexString): fixed the 100% problem.
17247 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17249 * lyxfunc.C (Dispatch):
17251 * minibuffer.h: add a few std:: qualifiers
17253 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
17255 * minibuffer.[Ch]: reimplement so that commands is initiated and
17256 run from lyxfunc, simplified som handling, and made the completion
17257 and history code for complete. wip.
17259 * lyxfunc.C (processKeySym): call message
17260 (miniDispatch): new temporary method
17261 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
17262 (LFUN_MESSAGE): implement
17263 (LFUN_MESSAGE_PUSH): implement
17264 (LFUN_MESSAGE_POP): implement
17265 (initMiniBuffer): the initial/defualt minibuffer message.
17267 * lyxfont.[Ch]: inline some more getters
17269 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17271 * lyx_gui_misc.[Ch] (WriteStatus): remove method
17273 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17274 (AutoSave): use LFUN_MESSAGE
17275 (Reconfigure): ditto
17277 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17279 * figureForm.C: use LFUN_MESSAGE
17281 * converter.C (runLaTeX): use LFUN_MESSAGE
17283 * bufferview_funcs.C: use LFUN_MESSAGE
17285 (changeDepth): ditto
17287 * bufferparams.h: use boost::
17289 * bufferlist.h: inherit privately from noncopyable
17291 * bufferlist.C (loadLyXFile): remove some commented code.
17293 * buffer.C (runChktex): use LFUN_MESSAGE
17295 * ShareContainer.h: inherit privately from noncopyable
17297 * ParagraphParameters.[hC] (depth): inline it.
17299 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17301 (message): new method
17302 (messagePush): ditto
17303 (messagePop): ditto
17304 (show): init minibuffer
17305 (showState): direct call
17307 * LaTeX.[Ch]: inherit privately from noncopyable
17308 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17309 instead of WriteStatus.
17311 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17313 * BufferView_pimpl.C (buffer): don't init minibuffer
17314 (workAreaButtonPress): use LFUN_MESSAGE
17315 (workAreaButtonRelease): ditto
17316 (savePosition): ditto
17317 (restorePosition): ditto
17318 (MenuInsertLyXFile): ditto
17319 (workAreaExpose): don't init minibuffer
17320 (update): remove commented code, simplify
17322 * BufferView2.C (openStuff): use LFUN_MESSAGE
17323 (toggleFloat): ditto
17326 (copyEnvironment): ditto
17327 (pasteEnvironment): ditto
17332 (updateInset): remove some commented code
17334 * lastfiles.h: inherit privately from noncopyable
17337 * lyx_main.h: ditto
17339 * lyxlex_pimpl.h: ditto
17341 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17342 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17343 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17345 * LyXAction.h: inherit privately from noncopyable, add methods
17346 func_begin, func_end, returning iterators to the func map.
17348 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17349 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17350 (func_begin): new method
17351 (func_end): new method
17353 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17355 (copySelection): ditto
17356 (pasteSelection): ditto
17358 * BufferView.C: whitespace change
17359 * BufferView.h: inherit privately from noncopyable
17361 2001-04-16 Allan Rae <rae@lyx.org>
17363 * tabular-old.C (l_getline):
17364 * spellchecker.C (sc_check_word):
17365 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17366 an unrecognised preprocessor directive. So ensure they're wrapped.
17368 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
17370 * src/exporter.C (Export): Give an error message when path to file
17373 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
17375 * LaTeX.C (deplog): Always check that foundfile exists.
17377 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17380 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17382 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
17384 * tabular.[Ch] (getLabelList): implement new method
17386 * minibuffer.h: comment ouf setTiimer
17388 * minibuffer.C (ExecutingCB): constify res
17389 (peek_event): constify s
17390 (Set): constify ntext
17391 (Init): constify nicename
17393 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17395 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17396 (savePosition): use two params to Minibuffer::Set
17397 (restorePosition): ditto
17399 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17401 * lyx_main.C: include language.h
17403 * Makefile.am (lyx_main.o): add language.h
17405 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17411 * CutAndPaste.C: include gettext.h
17413 * lyxfont.h: remove old hack with ON and OFF.
17416 * lyxfont.h: do not include language.h...
17421 * bufferview_funcs.C:
17427 * paragraph.C: ... but do it here instead
17429 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
17431 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17433 * tabular.C: small reformat
17435 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17438 (BreakParagraph): ditto
17439 (SetOnlyLayout): ditto
17442 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17445 * lastfiles.C: removed most using decl, add std:: where needed
17447 * buffer.C: ws changes
17449 * MenuBackend.C (class compare_format): put into anon namespace
17450 (expand): constify label, names, action, action2
17453 * text.C (SingleWidth): constify font
17454 (IsBoundary): constify rtl2
17455 (GetVisibleRow): constify ww
17457 * LaTeX.C (deplog): constify logfile
17459 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17461 (workAreaExpose): constify widthChange, heightChange
17463 * lyxrow.C (par): moved
17466 * lyxrow.h: as inlines here
17468 * lyxfont.h (shape): moved from lyxfont.C
17469 (emph): moved from lyxfont.C
17471 * lyxfont.C (LyXFont): use initialization list for all
17473 (shape): move to lyxfont.h as inline
17474 (emph): move to lyxfont.h as inline
17477 2001-04-04 Juergen Vigna <jug@sad.it>
17479 * vspace.C: had to include stdio.h for use of sscanf
17481 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
17484 * BufferView_pimpl.h: remove xforms cruft. Both classes are
17485 independent of xforms.
17487 2001-04-02 Juergen Vigna <jug@sad.it>
17489 * spellchecker.C: fixed namespace placing!
17491 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
17493 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17494 the LyXParagraph * is 0.
17496 2001-03-29 Juergen Vigna <jug@sad.it>
17498 * vspace.C: added support for %, c%, p%, l%.
17499 (stringFromUnit): added helper function.
17500 (asLatexString): changed to give right results for the %-values.
17502 * buffer.C: convert the widthp in a width%.
17504 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
17506 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17509 * figureForm.[Ch]: stripped the FD_from_figure manipulation
17510 code out of lux_cb.[Ch], ready for its (imminent?) removal.
17512 * lyx_cb.[Ch]: see above.
17514 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17518 * lyx.[Ch]: replaced by figure_form.[Ch].
17522 * lyxfunc.C: changed headers associated with above changes.
17524 2001-03-27 Juergen Vigna <jug@sad.it>
17526 * BufferView_pimpl.C: set the temporary cursor right!
17528 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
17530 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17532 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
17534 * LString.h: removed "using std::getline"!
17536 * BufferView_pimpl.C (Dispatch): changes due to changes in
17537 InsetInclude::Params.
17539 * buffer.C (tag_name): removed redundant break statements as they were
17540 producing lots of warnings with my compiler.
17542 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17544 * LString.h: add "using std::getline" when using the real <string>.
17546 2001-03-23 Jos�Ab�io Matos <jamatos@fep.up.pt>
17548 * buffer.C: removed bitset usage.
17549 PAR_TAG moved to an anonymous name space.
17550 (tag_name): new funtion, also in the anonymous namespace.
17551 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17552 (makeDocBookFile): clean code. Completed transition from string arrays
17554 (SimpleDocBookOnePar): code clean.
17556 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17558 * tabular.C: add some comments.
17560 2001-03-22 Juergen Vigna <jug@sad.it>
17562 * buffer.C (parseSingleLyXformat2Token): redone the minipage
17563 compatibility read a bit and fixed bug with minipage in different
17566 2001-03-21 Jos�Ab�io Matos <jamatos@fep.up.pt>
17568 * buffer.C (pop_tag): removed.
17569 (push_tag): removed.
17570 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17571 array replaced with vector. Added support for CDATA sections.
17572 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17574 (makeDocBookFile): XML conformant declaration of CDATA section,
17575 fixed bug related to <emphasis> in the first paragraph char.
17576 (sgmlOpenTag): exclude empty tags.
17577 (sgmlCloseTag): ditto.
17579 * buffer.h (pop_tag): removed.
17580 (push_tag): removed.
17582 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
17584 * language.h (Languages): added size_type and size().
17586 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17588 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17589 response on compability reading of minipages. One probliem is that
17590 the old usage of minipages was flertydig
17592 * several files here and in subdirs: don't use static at file
17593 scope use anon namespaces instead.
17595 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
17597 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17598 LaTeX output. This is necessary for Literate document
17601 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17603 * buffer.C: insert hfill when needed.
17605 * tabular.C (l_getline): use string::erase, small whitespace change.
17607 * BufferView_pimpl.C: try the anon namespace.
17608 * WorkArea.C: ditto
17610 2001-03-16 Juergen Vigna <jug@sad.it>
17612 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17613 otherwise it won't open options-dialogs.
17615 * buffer.C: honor pextraWidth(p) on converting minipages.
17617 * tabular.C (l_getline): changed the functions to strip trailing \r.
17619 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
17621 * BufferView_pimpl.C:
17622 * minibuffer..C: added "using SigC::slot" declaration.
17624 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17626 * lyxlex_pimpl.h: noncopyable is in namespace boost.
17632 * paragraph.C: ditto
17634 * lyxtext.h: NO_PEXTRA
17636 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17638 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17639 * ParameterStruct.h: ditto
17640 * ParagraphParameters.h: ditto
17641 * lyxparagraph.h: ditto
17643 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17645 * buffer.C: add compability for minipage alignment.
17646 (latexParagraphs): remove unwanted pextra check.
17648 * several files: remove CXX_WORKING_NAMESPACES
17650 * buffer.C (pop_tag): tie is in namespace boost
17652 * BufferView.h: noncopyable is in namespace boost
17654 * lyx_main.h: ditto
17657 * lastfiles.h: ditto
17658 * bufferlist.h: ditto
17659 * ShareContainer.h: ditto
17661 * LyXAction.h: ditto
17664 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17666 * Merging changes from BRANCH_MVC back into HEAD.
17668 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17670 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
17672 * BufferView_pimpl.C: change from intl.C
17676 * Makefile.am: move combox.*
17682 * intl.C: remove dialog (covered by prefs)
17684 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17686 * lyxfunc.C (Dispatch): removed redundant break statement.
17688 2001-03-14 Juergen Vigna <jug@sad.it>
17690 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17692 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17694 * buffer.C: add hack to fix compability reading of minipages.
17696 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
17698 * buffer.C (getLists): Cleanup.
17700 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17702 * lyxfont.C (update): don't honor toggleall on font size.
17704 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
17708 * Makefile.am: moved to frontends/xforms/
17712 * BufferView_pimpl.C: changes for moved mathpanel
17714 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17716 * gettext.h: fix gettext_init() in --disable-nls
17718 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17720 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17722 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
17725 * lyx.h: strip external form
17727 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17729 * BufferView_pimpl.C: add comment, destroySplash()
17731 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17733 * BufferView_pimpl.C:
17737 * lyxfunc.C: use re-worked insetinclude
17739 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17741 * buffer.C: add using std::stringstream.
17743 * lyx_cb.C: readd using std::ios.
17745 * buffer.C: add using std::map.
17747 * BufferView_pimpl.C: add using std::vector.
17749 * ShareContainer.h: add std:: to swap.
17751 * buffer.h: add some typedefs
17752 * buffer.C (getLists): use them
17753 (getLists): renamed from getTocList.
17754 add a counter for the different float types and use it in the
17756 (getLists): use the same counter for the NEW_INSETS and the "non"
17759 * lyx_cb.h: remove unused items, includes, using etc.
17761 * ShareContainer.h: remove some commented code, add more comments
17762 and "documentation".
17764 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17766 * buffer.C (getTocList): make the list also when NEW_INSETS is
17769 * buffer.h: remove TocType
17771 * buffer.C (getTocList): change to return a map<string,
17772 vector<TocItem> >, implement for dynamic number of list.
17774 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17775 * text2.C (PasteSelection): adjust
17776 * CutAndPaste.C (pasteSelection): adjust
17778 * FloatList.C (FloatList): update from the new_insets branch.
17779 * Floating.[Ch]: ditto
17780 * LaTeXFeatures.C: ditto
17782 * lyxlex_pimpl.C: ditto
17784 * paragraph.C (Last): remove when NEW_INSETS is defined.
17786 * other file: changes because of the above.
17788 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17790 * lyxparagraph.h: rename next to next_, previous to previous_,
17791 make them private for NEW_INSETS. Rename Next() to next(),
17792 Previous() to previous().
17794 * other files: changes because of the above.
17796 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
17799 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17802 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17804 * main.C (main): pass lyx_localedir to gettext_init().
17806 * gettext.h: remove locale_init and gettext_init macros
17808 * gettext.C (locale_init): new function
17809 (gettext_init): new function
17811 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17814 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
17816 * Moved credits to frontends:
17817 * credits.[Ch]: removed
17818 * credits_form.[Ch]: removed
17819 * lyx_gui_misc.C: remove credits stuff
17822 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17824 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17826 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17827 unneeded destructor.
17829 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17830 a standalone pointer again.
17832 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17834 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
17840 * ToolbarDefaults.C:
17849 * BufferView_pimpl.C: use new file dialog in GUII
17852 * lyx_cb.C: remove LayoutsCB to Toolbar
17854 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17856 * ShareContainer.h (get): add std:: qualifier
17858 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17860 * ShareContainer.h: define a proper ShareContainer::value_type
17861 type (and use typename to please compaq cxx)
17863 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17865 * lyxparagraph.h: move serveral local vars to
17866 ParameterStruct/ParagraphParameters., use ShareContainer in
17867 FontTable., make vars in FontTable private and add getter and
17870 * paragraph.C: changes because of the above.
17872 * lyxfont.h: remove copy constructor and copy assignment. (the
17873 default ones is ok), move number inside FontBits. move inlines to
17876 * lyxfont.C: add number to initializaton of statics, move several
17877 inlines here. constify several local vars. some whitespace
17878 cleanup. Dont hide outerscope variables.
17880 * Spacing.h: add two new constructors to match the set methods.
17882 * ShareContainer.h: new file, will perhaps be moved to support
17884 * ParameterStruct.h: new file
17886 * ParagraphParameters.h: new file
17888 * ParagraphParameters.C: new file
17890 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17891 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17893 * BufferView_pimpl.C: ParagraphParameter changes.
17894 * buffer.C: Likewise.
17895 * bufferview_funcs.C: Likewise.
17896 * text.C: Likewise.
17897 * text2.C: Likewise.
17899 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17901 * lyxfind.C (LyXReplace): do not redefine default argument in
17903 (IsStringInText): ditto
17904 (SearchForward): ditto
17905 (SearchBackward): ditto
17907 2001-03-06 Juergen Vigna <jug@sad.it>
17909 * lyxfind.C (IsStringInText): put parentes around expressions.
17911 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
17913 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17915 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
17917 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17919 * stl_string_fwd.h: add comment
17921 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17924 * tabular.C: remove unused DocBook methods
17930 killed DO_USE_DEFAULT_LANGUAGE
17932 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17934 * lyx_gui.C: do not include language.h.
17936 * bufferview_funcs.C (ToggleAndShow): do not provide optional
17937 arguments in function implementation.
17939 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17941 * BufferView_pimpl.C: add <ctime>
17943 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17945 * BufferView_pimpl.C: add using std::find_if
17947 2001-02-27 José Matos <jamatos@fep.up.pt>
17949 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17952 2001-02-11 José Matos <jamatos@fep.up.pt>
17954 * buffer.C (makeDocBookFile): command styles now have a parameter as
17955 "title" by default.
17957 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
17959 * layout_forms.[Ch]: removed
17960 * lyx_cb.[Ch]: out character
17961 * lyx_gui.C: out character
17962 * lyx_gui_misc.C: out character
17963 * bufferview_funcs.C: : out character,
17964 added toggleall as parameter in ToggleAndShow
17966 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
17968 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17970 * text2.C (SetCurrentFont): Disable number property at boundary.
17972 2001-02-26 Juergen Vigna <jug@sad.it>
17974 * lyxfunc.C (getStatus): added a string argument override function so
17975 that this is correctly called from LyXFunc::Dispatch if it contains a
17976 do_not_use_argument which is used!
17977 (Dispatch): added check for "custom" export and call appropriate func.
17979 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
17981 * lyxrc.C: Add language_command_local, language_use_babel and
17982 language_global_options.
17984 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
17986 * buffer.C (makeLaTeXFile): Use language_use_babel and
17987 language_global_options.
17989 2001-02-23 Juergen Vigna <jug@sad.it>
17991 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17992 which works with LyXText and putted it inside BufferView. Here now we
17993 only call for that part the BufferView::Dispatch() function.
17995 * BufferView.C (Dispatch): added.
17997 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17998 functions which needs to use a LyXText over from LyXFunc.
17999 (MenuInsertLyXFile): added
18000 (getInsetByCode): added
18001 (moveCursorUpdate): added
18002 (static TEXT): added
18004 2001-02-22 Juergen Vigna <jug@sad.it>
18006 * BufferView_pimpl.C (update): call a status update to see if LyXText
18009 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18011 * vc-backend.C (revert): implement for CVS
18012 (getLog): implement for CVS
18014 2001-02-20 Juergen Vigna <jug@sad.it>
18016 * text2.C (ClearSelection): added BufferView param for inset_owner call
18018 * lyxfunc.C (TEXT): added this function and use it instead of
18019 directly owner->view()-text of getLyXText().
18021 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
18023 * src/layout_forms.C: out preamble
18024 * src/layout_forms.h: out preamble
18025 * src/lyx_cb.C: out preamble
18026 * src/lyx_cb.h: out preamble
18027 * src/lyx_gui.C: out preamble
18028 * src/lyx_gui_misc.C: out preamble
18029 * src/lyxfunc.C: connect with guii preamble
18031 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
18033 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
18035 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
18037 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
18038 whether to run bibtex.
18040 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
18042 * Makefile.am (lyx_SOURCES): Remove BackStack.h
18044 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
18046 * Makefile.am (lyx_SOURCES): removed bibforms.h
18048 * vspace.h: doxygen
18050 * text.C (GetVisibleRow): make several local vars const
18052 * tabular.C: small cleanup.
18054 * lyxserver.C (callback): use compare instead of strncmp
18056 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
18057 inlines to after class or to paragraph.C
18059 * lyxfont.h: remove friend operator!=
18061 * converter.h: move friend bool operator< to non friend and after
18064 * combox.h: small cleanup
18066 * buffer.h: doxygen, remove unused constructor, move inclas inlies
18067 to inlines after class def.
18069 * buffer.C (pop_tag): use string operations instead of strcmp
18071 * bmtable.c: doxygen, small cleanup
18073 * LaTeX.h: remove friend operator==
18075 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
18087 * BufferView_pimpl.C:
18088 * BufferView.[Ch]: remove cruft
18090 2001-02-14 Juergen Vigna <jug@sad.it>
18092 * lyxfunc.C: removed #if 0 unused code
18094 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
18096 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
18098 * text2.C (SetSelection): added a BufferView * parameter
18100 2001-02-13 Juergen Vigna <jug@sad.it>
18102 * lyxfunc.C (Dispatch): fixed protected blank problem.
18103 * BufferView2.C (protectedBlank): added LyxText * parameter.
18105 * tabular.C (AppendRow): forgot to set row_info of newly added row.
18106 (AppendColumn): same as above for column_info.
18108 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
18109 (moveCursorUpdate): use a LyXText param for support of InsetText.
18111 * BufferView_pimpl.C (doubleClick): added support for InsetText.
18112 (tripleClick): ditto
18114 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
18116 * BufferView_pimpl.C (update): added LyXText param to honor insets.
18118 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
18120 * text2.C (SetSelection): set correct update status if inset_owner
18121 (ToggleFree): ditto
18123 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
18125 * tabular.C: remove some commented code.
18127 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
18129 * BufferView_pimpl.C: call hideSplash()
18131 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
18134 * bibforms.h: remove
18137 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
18138 add LFUN_CHILD_CREATE
18140 * counters.h: fix tiny typo
18145 * lyx.C: move splash to frontends/xforms/
18147 * lyx_gui_misc.C: move Include and Bibform to frontends
18149 * lyxvc.h: clarify comment
18151 * vspace.C: tiny housekeeping
18153 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
18155 * text.C (PrepareToPrint): RTL Fix.
18157 * paragraph.C (GetUChar): New method.
18158 (String): Use GetUChar.
18160 * buffer.C (asciiParagraph): Use GetUChar.
18162 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
18164 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
18166 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
18169 * buffer.C: rename to getLogName(), handle
18170 build log / latex log nicely
18172 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18175 * MenuBackend.h: remove support for reference menuitem type.
18177 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
18179 * BufferView_pimpl.C: housekeeping
18180 * BufferView_pimpl.h:
18185 * minibuffer.h: move Timeout GUI-I
18187 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
18189 * lyxrc.C (read): Update converters data-structures.
18191 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
18193 * LaTeX.h (operator!=): add operator != for Aux_Info
18195 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
18197 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
18199 * LaTeXLog.C: deleted, useful code moved to Buffer
18202 * buffer.C: new function getLatexLogName()
18208 * lyxfunc.C: use frontends for LaTeX and VC logs
18210 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18212 * LaTeX.h: yet another std:: that Allan forgot.
18214 * Variables.C (set): renamed from isset(), because this clashes
18215 with some HP-UX macros (grr).
18217 2001-02-06 Allan Rae <rae@lyx.org>
18219 * LaTeX.h: Another bug fix. Missing std:: this time.
18221 2001-02-04 Allan Rae <rae@lyx.org>
18223 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
18224 floats problem. I've left it commented out because it's not quite
18225 correct. It should also test that the current object is a table or
18226 figure inset. But I haven't gotten around to figuring out how to do
18227 that. I *think* it'll be something like: "table" == inset.type()
18229 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
18232 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
18234 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
18235 all the citation/databases/styles in the auxilary file.
18236 (run): Rerun latex if there was a babel language error.
18238 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
18240 * text.C (Backspace): Preserve the font when changing newline char
18242 (BreakParagraph): If the cursor is before a space, delete the space.
18244 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
18246 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
18248 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
18249 new argument (code).
18250 (ChangeCitationsIfUnique): New method.
18252 * paragraph.C (GetPositionOfInset): Handle bibkey.
18254 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18256 * BufferView_pimpl.h: change type of Position::par_pos to
18257 LyXParagraph::size_type.
18259 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
18261 * BufferView_pimpl.C (savePosition, restorePosition): Write
18262 messages to minibuffer.
18264 2001-01-28 José Matos <jamatos@fep.up.pt>
18266 * buffer.C (makeDocBookFile): adds support for document language.
18267 A silly restriction on the name of LatexCommand types where removed.
18268 Added support for CDATA sections, allows to chars unescaped, used
18269 among others in code, to avoid escape < and >.
18271 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
18273 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18274 saved positions instrad of a stack. Furthermore, a position is
18275 stored using paragraph id/paragraph position.
18277 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18278 Remove LFUN_REF_BACK.
18280 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
18282 * converter.C (dvipdfm_options): New method.
18284 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
18286 * vspace.C (isValidLength): Fix for empty input string.
18288 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18290 * LyXAction.C (init): change description of LFUN_FIGURE to
18293 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18295 * LaTeX.C: add using directive
18297 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
18299 * MenuBackend.C (expand): Fix the sorting of the formats.
18301 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
18303 * lyx_main.C: tiny error message fix
18305 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18307 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18308 calling fl_initialize(). This fixes the problem with ',' as
18309 decimal separator in text files.
18311 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
18313 * trans.C (process): Fix the keymap bug.
18315 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
18317 * LaTeX.C (scanAuxFiles): New method. Provides support for
18318 multiple bibliographies (when using the bibtopic/bibunits pacakges).
18319 (scanLogFile) Scan for "run BibTeX" messages.
18321 * buffer.C (makeLaTeXFile): Do not load the ae package when using
18322 OT1 font encoding. Also, load the aecompl package if the ae
18325 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18327 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18329 * texrow.C (increasePos): turn two error messages into debug
18332 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
18334 * LaTeX.C (scanAux): Handle the \@input macro.
18335 (runBibTeX): Use scanAux().
18337 * language.C (latex_options_): New field.
18339 * LaTeXFeatures.C (getMacros): Add language macros.
18341 * buffer.C (makeLaTeXFile): Small fix.
18343 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18345 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18347 * text2.C: add a using directive.
18349 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
18354 * lyxfunc.C: kill LyXBell.
18356 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
18358 * text.C (IsBoundary): Remove the error message
18360 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18362 * lyxrc.C (setDefaults): Correct initialization value for
18365 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
18367 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18370 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18371 and GotoNextNote().
18373 * src/LyXAction.C: Added reference-next.
18375 * text.C (InsertChar): Use contains instead of strchr.
18377 * lyx_cb.C (MenuInsertLabel): Enable default value code.
18379 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
18381 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18382 alignment commands (when needed).
18384 * text.C (InsertChar): Add ':' to number separator chars.