1 2005-10-11 Martin Vermeer <martin.vermeer@hut.fi>
3 * BufferView_pimpl.C: comment layout change
5 2005-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
9 * lyxfunc.C: reimplement LFUN_INSERT_CITATION, which is needed
10 by bibliography managers (bug 2071).
12 2005-10-07 Martin Vermeer <martin.vermeer@hut.fi>
14 * BufferView_pimpl.C (update): choose arguments to update call so
15 that single-par update works most times
16 * text3.C (dispatch): carefully tune updating separately for
17 whole-screen and current-paragraph
18 * rowpainter.C (paintText): 1) replace painting by caching for
19 the two extra paragraphs, because we can;
20 2) suppress greying out of areas below/above drawn area in case of
22 * lyxfunc.C (dispatch): remove superfluous update
23 * LyXAction.[Ch]: introduce SingleParUpdate
25 2005-10-05 Angus Leeming <leeming@lyx.org>
27 * BufferView_pimpl.C (loadLyXFile): ensure that a pointer is
28 always initialised before use.
30 * text.C (setHeightOfRow): squash warning about comparison
31 of signed and unsigned types.
33 2005-10-03 Martin Vermeer <martin.vermeer@hut.fi>
35 * text.C (cursorX): two fixes involving RtL text drawing
37 2005-10-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
39 * cursor.C (erase): fix 'clever' UI hack. It was activated for all
40 items, not only large ones (part of bug 2057)
42 2005-10-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
44 * text3.C (dispatch): when invoking LFUN_MATH_MACRO with no type
45 argument, use "newcommand".
47 2005-09-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
49 * cursor.C (setSelection): do not open collapsable insets;
50 the insets do by themselves now (autoopen).
52 2005-09-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
54 * buffer.C: format is up to 244.
56 2005-09-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
58 * text.C (redoParagraph): fix calcultation of inset width wrt
59 leftMargin (bug 1957).
61 * text3.C (dispatch): leave inset to the right when hitting ESC
64 2005-09-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
69 * messages.C: include <boost/current_function.hpp>
71 2005-09-12 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
73 * lyxfunc.C (sendDispatchMessage): do not update menubar/toolbar
74 when command is internal. (bug 1941)
76 2005-09-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
78 * text2.C (cursorRight): do not honor boundary when at the end of
79 a paragraph. (bug 2010 again)
81 2005-09-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
83 * cursor.C (paste): do nothing if `data' is empty. (bug 2033)
85 2005-09-19 Martin Vermeer <martin.vermeer@hut.fi>
87 * rowpainter.C (paintText): fix RtL space width display bug (2029)
89 2005-09-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
91 * text2.C (setCursor): remove the unused 'boundary' parameter for
92 the CursorSlice version; adapt the LCursor version.
95 * paragraph_pimpl.C (markErased):
96 * cursor.C (bruteFind2, bruteFond3): fix warnings.
98 2005-09-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
100 * rowpainter.C (paintFirst): use a 'labeladdon' for TOP_* labels,
101 as is already done for "chapter".
103 2005-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
105 * lyxfunc.C (dispatch): LFUN_TEXTCLASS_APPLY: actually set the
106 textclass; do not record undo if nothing is changed.
108 2005-09-16 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
110 * text3.C (dispatch): recordUndo in LFUN_PASTESELECTION (#2011).
112 2005-09-14 Michael Gerz <michael.gerz@teststep.org>
114 * lyxfunc.C: update display after LFUN_ALL_INSETS_TOGGLE
116 2005-09-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
118 * BufferView_pimpl.C (setBuffer): when one wants to set the layout
119 combox, it is necessary to search for the topmost paragraph in the
120 cursor stack (bug 1926)
122 2005-09-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
124 * text2.C (cursorEnd, cursorRight): do not set boundary to true at
125 end of paragraph. (bug 2010)
127 2005-09-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
129 * text.C (leftMargin): check for inInset == 0
131 2005-09-10 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
133 * text.C (leftMargin): test for insetbase's new neverIndent()
134 bool instead of listing each and every inset that does not
135 wish par indendation.
137 2005-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
139 * buffer_funcs.C (setCounter): put the code to compute enum label
140 here (where it belongs).
142 * counters.C (enumLabel): move code to buffer_funcs.C.
144 2005-09-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
146 * outputparams.[Ch]: store local_font instead of local_language
147 * paragraph.C (simpleTeXOnePar): adapt to the change above
149 2005-09-08 Martin Vermeer <martin.vermeer@hut.fi>
152 * counters.[Ch]: clean up special code for Hebrew.
154 2005-09-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
156 * lyxfunc.C (lookupChange): fix code when cursor depth is greater
159 2005-09-08 Angus Leeming <leeming@lyx.org>
162 * lyxrc.C: correct grammar describing invocation of the
165 2005-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
167 * text.C (read): remove unused variable.
168 (readParToken): remove static Change variable (never good in
169 recursive settings...); add it as a parameter instead.
171 * paragraph_pimpl.C (acceptChange): make debug info conditional.
173 * metricsinfo.C (PainterInfo): add new member erased_.
175 * rowpainter.C (RowPainter): add erased_ member, initialized from
177 (paintInset): pass erased_ to Inset::draw.
179 * lyxfunc.C (lookupChange): new function. Tells whether change
180 tracking is disabled at a given postion.
181 (getStatus): disable some actions when in deleted text with change
184 2005-08-03 John Levon <levon@movementarian.org>
186 * tabular.C (appendColumn, setMultiColumn): adapt to change to
189 * paragraph_pimpl.C (markErased): add bool argument and handle it.
190 Also make sure to mark insets recursively.
191 (rejectChange, erase): be recursive
193 * paragraph.C (markErased): add bool argument.
194 2005-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
196 * lyxfind.C (findNextChange): tiny cleanup.
198 * BufferView_pimpl.C (trackChanges): avoid crash when stopping
199 change tracking with the cursor in an inset; make sure the first
200 change is not skipped.
202 2005-09-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
204 * CutAndPaste.[Ch]: new methods dirtyTabularStack and
205 tabularStackDirty to work around bug 1919 (tabular needs
206 to know whether its own cell paste buffer or the one of
208 * CutAndPaste.C: mark tabular_stack_ clean after copy.
210 2005-08-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
212 * text2.C (cursorEnd): check for empty text (fixes bug 1998)
214 2005-08-19 Lars Gullik Bjønnes <larsbj@gullik.net>
216 * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
217 use old deleteion algorithm when changetracking is on.
219 2005-08-18 Martin Vermeer <martin.vermeer@hut.fi>
221 * messages.C (get): add debug output.
223 2005-08-02 Martin Vermeer <martin.vermeer@hut.fi>
225 * text.C (cursorX): fix bug 1965: cursor movement at
226 line end broken in RtL.
227 (drawSelection): fix bug 1970: drawing of single-line
228 selection broken for RtL.
230 2005-07-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
234 * dociterator.h (clear, push_back, pop_back): change from
237 * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
238 and changed to just return the value of the item depth; take a
239 ParIterator as argument; take the itemdepth at outer nesting level
240 in account if necessary; cleanup and comment the code.
241 (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
242 and changed to just return true if reset is needed; take a
243 ParIterator as argument; cleanup and comment the code.
244 (setCounter): adapt to above changes.
246 2005-07-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
248 * text3.C (dispatch): make debug message optional
250 2005-08-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
252 * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
255 2005-08-02 Martin Vermeer <martin.vermeer@hut.fi>
257 * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
259 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
261 * text.C (insertChar):
262 * text2.C (deleteEmptyParagraphMechanism): take care whether
263 a blank has been deleted (in change tracking mode) (bug 1254).
265 2005-07-20 John Levon <levon@movementarian.org>
267 * text2.C (insertStringAsLines): remove old dubious code,
270 2005-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
272 * MenuBackend.C (expandToc): use Floating::listName() as title of
275 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
277 * toc.[Ch]: Do not use translatable strings (bug 1870).
279 2005-07-20 John Levon <levon@movementarian.org>
281 * tabular.C: fix 1748 - setting multicolumn adds
282 left line to the first cell
284 2005-07-19 Lars Gullik Bjønnes <larsbj@lyx.org>
287 * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
290 2005-07-18 Lars Gullik Bjønnes <larsbj@lyx.org>
292 * messages.C: supress some lyxerr messages
294 2005-07-18 Juergen Vigna <jug@lyx.org>
296 * text.C (drawSelection): honor boundary when asking for cursorX.
298 2005-07-17 José Matos <jamatos@fc.up.pt>
300 * tabular.C (recalculateMulticolumns): fix handling of one column
303 2005-07-17 Juergen Vigna <jug@lyx.org>
305 * text.C (Delete, backspace): fixed so that paragraph with the
306 same layout can be merged by Delete/Backspace.
308 2005-07-17 Michael Schmitt <michael.schmitt@teststep.org>
310 * text.C (readParToken): fix spelling.
312 2005-07-17 Martin Vermeer <martin.vermeer@hut.fi>
314 * text2.C: fix counter update for DEPM problem reported by
317 2005-07-17 Juergen Vigna <jug@lyx.org>
319 * BufferView_pimpl.C (setBuffer): save/restore the
320 cursor/selection when switching buffers
323 * buffer.C (saveCursor): add saveDocumentIterators to save the
324 cursor when switching buffer.
326 2005-07-17 Michael Schmitt <michqel.schmitt@teststep.org>
329 * buffer.C: clarify message
331 2005-07-17 Lars Gullik Bjønnes <larsbj@lyx.org>
333 * dociterator.C (DocIterator): fix initialization order
335 2005-07-17 Juergen Vigna <jug@lyx.org>
337 * text2.C (cursorHome):
338 * text.C (drawSelection, cursorX):
339 * dociterator.C (textRow): add boundary to getRow() call
341 * paragraph.C (getRow): implementation of below
343 * paragraph.h: add parameter boundary for getRow() function
345 2005-07-17 José Matos <jamatos@fc.up.pt>
349 * tex-strings.[Ch]: new file format, remove support for a4.sty,
350 a4wide.sty and a4widemargins.
352 2005-07-17 Juergen Vigna <jug@lyx.org>
354 * text2.C (cursorLeft): fix one of error
356 2005-07-17 Juergen Vigna <jug@lyx.org>
358 * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
360 more fixes for boundary handling
362 * text3.C (dispatch): don't reset cursor if boundary has changed
365 2005-07-16 Juergen Vigna <jug@lyx.org>
367 * text2.C (getColumnNearX): hopefully got it right now,
368 check if we are on column 0 for special case.
370 2005-07-16 Juergen Vigna <jug@lyx.org>
372 * text2.C (getColumnNearX): handle special case Newline Inset
374 * text.C (singleWidth): Just remove bogus check
376 2005-07-16 Michael Schmitt <michael.schmitt@teststep.org>
378 * funcrequest.C (split): avoid reading uninitialized char c
380 2005-07-16 José Matos <jamatos@fc.up.pt>
386 * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
387 single papersize variable.
389 2005-07-16 Juergen Vigna <jug@lyx.org>
391 * text3.C (dispatch): honor boundary when checking if a cursor
392 movement has been done
394 * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown)
395 (setCursor, setCursorIntern): fix cursor movement with boundary
397 2005-07-16 Juergen Vigna <jug@lyx.org>
399 * text.C (currentState): output the actual Boundary
401 2005-07-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
403 * factory.C (createInset): fix bad logic for tabular creation
405 2005-07-16 Lars Gullik Bjønnes <larsbj@lyx.org>
407 * lyx_main.C (init): change some reLyX reference to tex2lyx
409 2005-07-16 Juergen Vigna <jug@lyx.org>
411 * dociterator.C (DocIterator): initialize boundary
413 2005-07-16 Juergen Vigna <jug@lyx.org>
415 * text2.C (getColumnNearX): Consider rows without trailing blank.
417 2005-07-16 André Pönitz <poenitz@gmx.net>
419 * lyxfont.h: Change order of declarations to give the compiler
420 a better chance to inline things
422 * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
423 questions on unsaved docs for better scritability
425 2005-07-16 André Pönitz <poenitz@gmx.net>
427 * paragraph.h (getChar): remove asserts as the same kind of security
428 can be achieved by using a suitable standard library implementation
429 and the function was in the critical path (25.9% in profiler)
431 2005-07-16 Juergen Vigna <jug@lyx.org>
433 * cursor.C (bruteFind2):
434 * bufferview_funcs.C (coordOffset):
435 * text.C (cursorX,cursorY): Handle cursor position after last char
436 in row before a inset which uses a whole row.
438 2005-07-15 José Matos <jamatos@lyx.org>
440 * output_plaintext.[Ch] (writeFileAscii): control reference title
442 (asciiParagraph): noparbreak was already deal and was incorrectly
445 2005-07-15 Juergen Vigna <jug@lyx.org>
447 * lyxfunc.C (dispatch): save and restore the cursor after a
450 2005-07-15 Lars Gullik Bjønnes <lgb@tandberg.net>
452 * text.C (backspace): bug 806 for empty keepempty paragraphs we
453 change the layout to default before letting DEPM do its thing.
455 * paragraph_funcs.C (breakParagraph): dont reset the layout on
458 * text.C (setCursorFromCoordinates): add a debug statement
460 * text2.C (getColumnNearX): bug 1825 make sure that we don't
461 return a pos that is not on the row
463 * output_latex.C (TeXDeeper): get rid of potential dereferencing
464 of past the end iterator
466 2005-07-14 André Pönitz <poenitz@gmx.net>
468 * undo.C (recordUndoFullBuffer): implement undo for
471 2005-07-14 André Pönitz <poenitz@gmx.net>
473 * cursor.C (setSelection): open insets when selection is set there
474 to avoid crashs with cold coord cache
476 2005-07-14 André Pönitz <poenitz@gmx.net>
478 * trans_mgr.C (insert): move cursor to the right after inserting
481 2005-07-14 Lars Gullik Bjønnes <larsbj@lyx.org>
483 * BufferView_pimpl.C (update): dampen some of the debug blabbering
484 * factory.C (readInset): ditto
485 * text.C, text2.C: ditto
487 2005-06-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
489 * buffer.C: format incremented to 242. There is no file format per
490 se, but the "frenchb" language has been removed from lib/language
491 and has to be translated to "french" by lyx2lyx.
493 2005-07-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
495 * cursor_slice.h, dociterator.h: add some documentation
496 * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
498 2005-07-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
500 * text.C (leftMargin): do not add identation to display() style
501 insets, because they are always centered (bug 1293).
503 2005-07-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
505 * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
506 formatted_time methods in support/lyxtime.
508 2005-07-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
510 * toc.[Ch]: new method getGuiName, which is used by the frontends
511 to set the toc combo (fixes bug 1870). Make TOC string translatable.
513 2005-07-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
515 * dociterator.[Ch]: implement operator==(StableDocIterator const &,
516 StableDocIterator const &)
517 * undo.C (recordUndo): use the above instead of cell.size() comparison
518 (fixes bug 1808; instructed by Andr�.
520 2005-06-29 Martin Vermeer <martin.vermeer@hut.fi>
523 * dociterator.h: Fix the assert when copying rows/cols in math
525 2005-06-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
527 * BufferView_pimpl.C:
529 * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
531 * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
532 (findInset): new functions, refactored from goto Inset that return
533 the position of a certain inset without setting the buffer's cursor
535 (gotoInset): rewrite to call findInset and then set the cursor
538 2005-06-16 Angus Leeming <leeming@lyx.org>
540 * lyxrc.C (output, read): wrap all input and output of paths with
541 calls to os::internal_path and os::external_path, respectively.
542 (output): wrap bind_file inside quotes.
544 * format.C (view): enable the viewer to use the '$$s' placeholder.
546 2005-06-16 Georg Baum <Georg.Baum@post.rwth-aachen.de>
548 * LColor.[Ch] (getFromLaTeXName): new
550 2005-06-16 Martin Vermeer <martin.vermeer@hut.fi>
552 * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
554 2005-06-14 Angus Leeming <leeming@lyx.org>
556 * lyx_main.C (init): ensure that the LyX binary dir is the first
557 element in the PATH on non-POSIX builds.
559 2005-06-11 Georg Baum <Georg.Baum@post.rwth-aachen.de>
561 * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
563 2005-06-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
565 * rowpainter.C (paintInset, paintHebrewComposeChar)
566 (paintArabicComposeChar, paintChars): add a LyXFont argument.
567 (paintChars): use getFontSpan to reduce calls to getFont to a
568 minimum; use Paragraph::lookupChange instead of isXXXText.
569 (paintForeignMark): rename LyXFont argument.
570 (paintFromPos): pass a LyXFont object to the various paintXXX
573 * FontIterator.C (FontIterator, operator++): use
574 Paragraph::getFontSpan
576 * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
577 version that returns the font span as a pair.
579 2005-06-09 Angus Leeming <leeming@lyx.org>
581 * converter.C (convert): Don't forget "outfile = real_outfile" as
582 the final step in a conversion where the input and output file names
583 are the same. Otherwise, future conversion steps won't work...
585 2005-06-09 Angus Leeming <leeming@lyx.org>
587 * lyxsocket.C: remove stub code as it isn't needed by
588 MinGW/MinSYS anyway. Let's see if the MSVC people scream...
590 2005-06-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
592 * lyx_main.C (parse_execute): Fix last fix: is_gui = false
593 effectively disabled -x
595 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
597 * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
598 when it actually makes sense.
600 2005-06-06 Martin Vermeer <martin.vermeer@hut.fi>
602 * BufferView_pimpl.C: revert to showCursor in connection with
603 Lars's front-end stack
605 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
607 * text.C (redoParagraph): move cursor right after a bibitem
610 * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
612 2005-06-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
614 * buffer_funcs.C (bufferErrors): fix computation of the end of an
617 2005-05-31 Martin Vermeer <martin.vermeer@hut.fi>
619 * BufferView.[Ch] (update):
620 * BufferView_pimpl.[Ch] (update, metrics):
621 * dimension.h (operator==):
622 * lyxfunc.C (dispatch):
623 * metricsinfo.h (ViewMetricsInfo):
624 * rowpainter.C (paintText):
626 * text.C (redoParagraph):
627 * text3.C (dispatch): Make LyX only repaint current paragraph in
628 case of character insert --> speedup. Also fix cursor draw
631 2005-05-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
633 * bufferview_funcs.C (gotoInset): fix the wrap-around code to
634 avoid a crash (bug 1891)
636 2005-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
640 * text2.C (getStringToIndex): constify cur argument.
642 * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
643 argument has been given
644 (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
645 try to invoke LFUN_INSET_APPLY).
647 * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
648 if no inset was created by doInsertInset
649 (doInsertInset): return true if an inset has been inserted.
651 2005-05-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
653 * vspace.C (asGUIName): new method. A version of the space
654 suitable for showing on screen.
656 2005-05-20 Michael Schmitt <michael.schmitt@teststep.org>
659 * lyxrc.C: rename "ASCII" to "Plain Text"
661 2005-05-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
663 * buffer_funcs.C (expandLabel): take a Buffer as argument;
664 translate the labelstring.
665 (setCounter): translate labelstring as needed.
667 * output_docbook.C (makeCommand): fix expandLabel invokation
669 2005-05-14 Michael Schmitt <michael.schmitt@teststep.org>
671 * BufferView.C: fix dialog title
673 2005-05-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
675 * lyx_main.C (priv_exec): fix logic error with help from Angus
676 * lyx_main.C (parse_execute): set is_gui = false and remove now
677 obsolete comment about a segfault
679 2005-05-18 Angus Leeming <leeming@lyx.org>
681 * buffer.C (readFile): Quote all file names passed to lyx2lyx.
683 2005-05-12 Martin Vermeer <martin.vermeer@hut.fi>
685 * tabular.[hC]: added setCellInset to fix tabular paste.
687 2005-05-11 Lars Gullik Bjønnes <larsbj@gullik.net>
689 * buffer.C (save): check if destination is writable before trying
692 2005-05-11 Martin Vermeer <martin.vermeer@hut.fi>
694 * BufferView_pimpl.C (update): fix processEvents -caused update
697 2005-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
699 * buffer_funcs.C (setCounter): fix test for numbering of
702 * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
703 depth correctly; use optional argument when it exists
705 * lyxtextclass.C: remove unused MaxCounterTags enum
706 (Read): compute min_toclevel_ and max_toclevel_ after reading class.
707 (max_toclevel, min_toclevel): new methods.
709 * MenuBackend.C (expandToc2): fix case where depth is smaller than
710 the smallest depth in toc.
712 * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
713 layouts that should not appear in a table of contents.
715 2005-05-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
717 * cursor.h (undispatched, noUpdate): add comments from Andr�
718 2005-05-07 Michael Schmitt <michael.schmitt@teststep.org>
722 * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
724 2005-05-07 André Pönitz <poenitz@gmx.net>
726 * cursor.[Ch] (leaveInset): new function
728 2005-05-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
730 * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
732 2005-05-04 Angus Leeming <leeming@lyx.org>
734 * lyxfunc.C (getStatus): disable the spell checker dialog if
735 none of USE_[AIP]SPELL are defined.
737 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
739 * tabular.C (setWidthOfCell): remove obsolete comment
741 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
743 * paragraph.C (bibitem):
744 * buffer_funcs.C (setCounter):
745 * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
747 2005-05-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
749 * text3.C (getStatus): immediately return after setOnOff
751 * rowpainter.C: fix drawing of appendix start
753 2005-05-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
755 * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
756 SwitchBetweenClasses and remove the unused return value.
757 Handle character styles, too
759 2005-05-03 Martin Vermeer <martin.vermeer@hut.fi>
761 * factory.C (createInset): handle undefined character styles
763 2005-05-02 Angus Leeming <leeming@lyx.org>
765 * buffer.C: protect the #include of utime.h with a preprocessor
768 2005-05-02 Angus Leeming <leeming@lyx.org>
770 * lyx_cb.C: artificially define fork() on Windows as a no-op failing
771 function so that auto-saving works, albeit in a blocking manner.
773 * Makefile.am: make compilation of the client sub directory, of
774 aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
775 on conditionals set at configure time.
777 * SpellBase.[Ch]: no longer an abstract base class. Instead,
778 it can be compiled in its own right but has no-op functionality.
780 * aspell.C, pspell.C: remove preprocessor guards. The files should
781 be compiled only if the necessary functionality exists.
783 * lyxserver.C, lyxsocket.C: disable on Windows.
785 2005-05-01 Martin Vermeer <martin.vermeer@hut.fi>
787 * text.C (leftMargin): Fix the parindent use bug (1764)
790 2005-04-28 Michael Schmitt <michael.schmitt@teststep.org>
792 * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
795 2005-04-25 Angus Leeming <leeming@lyx.org>
803 include <config.h> in .C files, not .h ones.
805 protect headers inside preprocessor guards.
807 2005-04-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
809 * FuncStatus.h (StatusCodes): document
811 2005-04-21 André Pönitz <poenitz@gmx.net>
813 * FuncStatus.h (enabled, onoff): document
815 2005-04-19 Angus Leeming <leeming@lyx.org>
817 * BufferView_pimpl.C (cursorToggle): no longer test whether
818 any child processes have been reaped before calling
819 handleCompletedProcesses().
821 2005-04-19 Martin Vermeer <martin.vermeer@hut.fi>
823 * text3.C (dispatch): fix, finally fix, the language problem in
824 new lyxtexts, without disabling on-the-fly font changes (Helge's
827 2005-04-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
829 * text3.C (dispatch): set cursor on double/triple click events
832 2005-04-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
834 * lyxfunc.C (actOnUpdatedPrefs): avoid warning
835 (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
837 * rowpainter.C (paintFirst): simplify the code a little bit. In
838 particular, remove the test for secnumdepth.
839 * text.C (setHeightOfRow): only allocate space for chapter number
840 when updateCounters provided an actual label, instead of looking
841 at secnumdepth directly.
843 * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
845 * buffer_funcs.C (setCounter): only number LABEL_COUNTER
846 paragraphs when secnumdepth is large enough or, for environments,
847 when they are not the first in a sequence.
849 2005-04-17 Angus Leeming <leeming@lyx.org>
851 * buffer.C (makeLaTeXFile): replace code to manipulate a path
852 containing space and '~' characters with a call to latex_path().
854 2005-04-17 Angus Leeming <leeming@lyx.org>
856 * converter.C (convert): protect all args of convertDefault.sh
859 2005-04-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
861 * text3.C (dispatch): change the layout to "Caption" after inserting
864 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
866 * text3.C (dispatch): fix language problem in newly created
867 textinsets (and main text) in non-english docs
869 2005-04-13 Georg Baum <Georg.Baum@post.rwth-aachen.de>
871 * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
872 * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
873 * text3.C (getStatus): disable LFUN_INSET_MODIFY
875 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
880 * rowpainter.C (getFont): Fix metrics bug introduced by inset
883 2005-04-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
885 * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
886 output of \item arguments without trailing text.
888 2005-04-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
890 * FontIterator.C (operator*): avoid a copy of the font.
892 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
894 * rowpainter.C (getFont): fix language bug from previous fix
896 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
898 * rowpainter.C (RowPainter, getFont): fix font inside inset
901 2005-04-06 Martin Vermeer <martin.vermeer@hut.fi>
903 * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
904 preventing inserted font, deco, delim insets jumping to start of
907 2005-03-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
909 * lyxfunc.C (dispatch): translate message before sending it to the
912 2005-03-29 Angus Leeming <leeming@lyx.org>
914 * lyx_main.C (priv_exec): call os::internal_path on each file passed
915 to LyX on the command line.
917 2005-03-25 Stephan Witt <stephan.witt@beusen.de>
919 * vc-backend.C: use QuoteName to protect file names wherever
922 2005-03-27 Martin Vermeer <martin.vermeer@hut.fi>
925 * BranchList.h: fix bugs 1844,1845: document settings don't
928 2005-03-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
930 * lyxrc.C (setDefaults, read, output, getDescription): add support
931 for tex_allows_spaces.
933 * exporter.C (Export): allows files in directory containing spaces
934 if tex_allows_spaces is true.
936 * buffer.C (makeLaTeXFile): if the document path contains spaces,
937 output it in double quotes.
939 2005-03-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
941 * rowpainter.C: use default text height for drawing change tracker
944 2005-03-21 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
946 * lyx_main.C: fix binding of tabulator key (especially S-Tab).
948 2005-03-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
950 * lyx_main.C (queryUserLyXDir): fix logic when LyX support
951 directory is missing.
953 2005-03-11 Martin Vermeer <martin.vermeer@hut.fi>
955 * text2.C: fixed the fix, extended to other case.
957 2005-03-08 Martin Vermeer <martin.vermeer@hut.fi>
959 * text2.C: fix for cursor up/down stuck in math [bug 1792]
961 2005-03-07 Alfredo Braunstein <abraunst@lyx.org>
963 * text2.C (cursorUp): get rid of a crash
964 * text.C (x2pos): add an assert
966 2005-03-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
968 * lyxfunc.C (getStatus): fix warning when assertions are disabled
972 * dociterator.C: include <boost/current_function.hpp>, which is
973 needed when assertions are disabled.
975 2005-03-05 Johnathan Burchill <jkerrb@users.sourceforge.net>
977 * text2.C: fix for stuck cursor when traversing two
978 consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
980 2005-02-25 Andreas Vox <avox@arcor.de>
982 * output_docbook.C (makeParagraph): suppress trailing newline
983 after a run of paragraphs
985 2005-02-28 Johnathan Burchill <jkerrb@users.sourceforge.net>
987 * paragraph.C: fix for confused change tracker when pasting
988 text that begins with a lineseparator. [bug 1827]
989 (setChange(0, Change::INSERTED);)
991 * paragraph_funcs.C: fix for lost changes on triple-paste
992 in change tracking mode [bug 1827] (par.setChange()).
994 2005-02-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
996 * text2.C (updateCounters, setCounter, expandLabel): move to
999 * buffer_funcs.C (updateCounters): turn into a free standing
1000 function and add a buffer parameter. Remove dead code for tracking
1002 (setCounter): change into a free-standing function which gets a
1003 dociterator as argument. Use this iterator to fix captions in a
1004 simple way. When no float is found above the caption, use the
1005 labelstring of the caption layout as default.
1007 * text.C (breakParagraph, backspace):
1008 * text2.C (init, setLayout, changeDepth):
1009 * text3.C (dispatch):
1010 * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
1013 * dociterator.C (forwardPar): make it much faster by calling
1014 forwardPos() only when really necessary.
1016 * output_docbook.C (makeCommand): adapt to expandLabel move.
1018 * cursor.C: remove unused variable
1020 2005-02-24 Johnathan Burchill <jkerrb@users.sourceforge.net>
1022 * paragraph_funcs.C: fix crash when pasting insets in change
1023 tracking mode [bug 1277] (honour change type in moveItem).
1025 2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1027 * LaTeX.C (scanLogFile): recognize pdfTeX warnings
1029 2005-02-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1031 * BufferView.C (setCursor): change to use a DocIterator.
1032 (gotoLabel): use BufferView::setCursor (other part of bug 781).
1033 (putSelectionAt): adapt to BufferView::setCursor change.
1035 * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
1036 moved here from LyXText and rewritten to use proper cursor
1037 methods. Fixes bug 1787, 616 and 835.
1039 * BufferView_pimpl.C (restorePosition): set the cursor correctly
1040 when inside an inset (part of bug 781).
1041 (dispatch): adapt to change of BufferView::setCursor.
1042 (getStatus, dispatch): handle LFUN_GOTOERROR,
1043 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1045 * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
1046 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1047 * text3.C (gotoNextInset, gotoInset): removed.
1049 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1051 * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
1053 2005-02-15 Angus Leeming <leeming@lyx.org>
1055 * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
1056 can be used meaningfully in a comparison.
1058 2005-02-13 André Pönitz <poenitz@gmx.net>
1060 * bufferview_funcs.C (coordOffset): improve cursor drawing
1062 2005-02-13 André Pönitz <poenitz@gmx.net>
1064 * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
1065 * Cursor.C (dispatch): use fixIfBroken
1066 * lyxfunc.C (getStatus): use fixIfBroken
1068 2005-02-15 Angus Leeming <leeming@lyx.org>
1070 * lyx_main.C (error_handler):
1072 * lyxrc.C (setDefaults):
1074 #include "environment.h".
1076 * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
1078 2005-02-15 Angus Leeming <leeming@lyx.org>
1080 * lyxserver.C (startPipe): squash MSVC warning "local variable
1081 'fd' used without having been initialized".
1083 2005-02-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1085 * BufferView_pimpl.C: revert accidental commit.
1087 2005-02-14 André Pönitz <poenitz@gmx.net>
1089 * dociterator.[Ch]: new member forwardPosNoDescent(),
1090 which doesn't enter nested insets.
1091 * text2.C (setFont): use forwardPosNoDescent() instead
1092 of ForwardPos() (fixes crash on font change).
1094 2005-02-13 Angus Leeming <leeming@lyx.org>
1096 * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
1097 only if lyxrc.path_prefix is not empty.
1099 2005-02-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1101 * bufferparams.C (readGraphicsDriver): prevent crash
1103 2005-02-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1105 * text2.C (setCounter): check for inInset() == 0
1107 2005-02-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1109 * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
1110 but use update() to get correct screen display; use convert
1111 instead of istringstream.
1112 (getStatus): handle LFUN_GOTO_PARAGRAPH
1114 * lyxfunc.C (dispatch, getStatus): do not handle
1115 LFUN_GOTO_PARAGRAPH here.
1117 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1119 * text3.C (dispatch): size() -> depth()
1121 * text2.C: remove some debug output
1123 * paragraph.C: ws changes only
1125 * lyxfunc.C (getStatus): size() -> depth()
1127 * dociterator.h (clear, push_back, pop_back, internalData,
1128 operator[], resize, empty): new functions
1129 Make StableDocIterator and operator== be friends. Don't inherit
1130 from std::vector use a privat class variable slices_ instead.
1133 * dociterator.C: update because of not inheriting from std::vector
1134 anymore. Call explictly to slices_ instead. Use depth() instead of
1135 size() and top() instead of back()
1137 * cursor.C: chagne size() -> depth and back() -> top(). Also
1138 remove some direct operator[](i) calls in favour of foo[i]
1139 (getFont): remove some dead code
1141 * bufferview_funcs.C (coordOffset): size() -> depth()
1143 * buffer.C: ws changes only
1145 * CutAndPaste.C (eraseSelection): back() -> top()
1147 * BufferView_pimpl.C (selectionRequested): back() -> top()
1149 * BufferView.C (setCursor): size() -> depth()
1151 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1153 * text3.C (cursorPrevious): return true if depm changed something
1155 (dispatch): rename sl to oldTopSlice, remove moving use the new
1156 NoUpdate func attrib instead. Make sure that needsUpdate is set
1157 for function that have NoUpdate, but where depm might have changed
1160 * text2.C (cursorLeft): make us return true if depm changed
1162 (cursorRight): ditto
1163 (cursorUpParagraph): ditto
1164 (curosrDownParagraph): ditto
1165 (cursorUp, cursorDown): ditto, make sure to read comments in code
1166 (deleteEmptyParagraphMechanism): remove an assert, also return
1167 true if just a single char was deleted.
1169 * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
1170 cursor that we modify, to avoid modifying an active cursor before
1171 we call setCursor. This allows depm to run. Also return true if
1172 depm deleted something.
1174 * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
1175 cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
1176 cursorDownParagraph, cursorPrevious and cursorNext, return true if
1177 something was changed in the buffer because of them (ie. depm run)
1179 * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
1180 debug messages. Make update by default be false. Make sure that
1181 the result of update is retained throught several calls down to
1184 * LyXAction.h: add a new func_attrib: NoUpdate
1186 * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
1187 LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
1188 LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
1190 (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
1192 2005-02-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1194 * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
1195 bv_->owner(), bv_->buffer() by direct references to the private
1197 (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
1198 (getStatus): isSavedPosition() is in BufferView::Pimpl.
1199 (fitCursor): center() is in BufferView::Pimpl.
1200 (getStatus, trackChanges, dispatch): no need for a temporary buf
1202 (fitCursor, workAreaDispatch): use workarea().workheight()
1204 2005-02-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1206 * CutAndPaste.C (pasteSelectionHelper): fix a crash
1208 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1210 * buffer.C: format up to 241.
1211 * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
1212 break if pasting into ERT
1213 * lyxfunc.C (getStatus): suppress mathpanel and
1214 LFUN_DIALOG_SHOW_NEW_INSET in ERT
1216 2005-02-01 Angus Leeming <leeming@lyx.org>
1218 * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1220 2005-02-01 Angus Leeming <leeming@lyx.org>
1222 * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1223 calling fs::is_directory().
1225 2005-01-31 Angus Leeming <leeming@lyx.org>
1227 * lyx_main.C (priv_exec): specify explicitly the relative location
1228 of the top level build directory when run in-place.
1230 2005-01-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1232 * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1233 LyXText containing the cursor, not the top-level one.
1235 * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1237 (insertStringAsLines): rename par to pit; use temporary variable
1238 par to hold a Paragraph; do not store par.layout() in a variable,
1239 since the pointer may die when breaking paragraphs; pass pars to
1240 breakParagraph() instead of Buffer::paragraphs().
1242 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1244 * lyxlex_pimpl.h: #include <fstream>.
1246 * BufferView.[Ch] (getLyXText): add a const version.
1248 * BufferView_pimpl.C: add debug aids.
1253 * paragraph_funcs.h: add commentary explaining what the class does.
1256 * coordcache.[Ch]: add lots of commentary.
1257 (startUpdating, doneUpdating): debug aids.
1258 (arrays, insets, parPos, getParPos): accessors to private data.
1260 * cursor_slice.[Ch] (text): add a const version.
1261 * dociterator.[Ch] (text, innerText): add const versions.
1263 * lyxtext.h (breakParagraph): change the keep_layout arg to a
1266 * paragraph.C (getRow, pos2ros): add asserts.
1268 * paragraph.h: add commentary. Lots of.
1270 * paragraph.[Ch] (metrucs, draw): removed.
1273 * rowpainter.[Ch]: const-correct changes.
1275 * text.C: various obvious clean-ups. Removal of ancient cruft.
1278 2005-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
1280 * vc-backend.C (find_file): rewrite to use boost.filesystem
1283 * main.C (main): set default name check for boost.filesystem to
1286 * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1289 (actOnUpdatedPrefs): ditto
1291 * lyx_main.C (init): rewrite to use boost.filesystem
1292 (queryUserLyXDir): ditto
1294 * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1295 (getContentsOfAsciiFile): ditto
1297 * lastfiles.C (readFile): rewrite to use boost.filesystem
1299 * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1301 * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1302 (loadLyXFile): ditto
1304 * buffer.C (Buffer): adjust for destroydir
1305 (getLogName): rewrite to use boost.filesystem
1306 (setFileName): ditto
1307 (save): use fs::copy_file (from fs_extras)
1309 * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1311 * LaTeX.C (run): rewrite to use boost.filesystem
1312 (scanAuxFiles): ditto
1313 (handleFoundFile): ditto
1315 2005-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1317 * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1319 * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1321 2005-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1323 * lyxlayout.[Ch]: change some vars from float to double
1325 * buffer.C (readFile): make a local var const
1327 * Several files: use convert<> instead of atoi,strToXXX and friends
1329 2005-01-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1331 * LaTeXFeatures.[Ch]: Add a static list packages_ that
1332 holds the contents of packages.lst. New functions getAvailable
1333 and isAvailable to parse and check that list, resp.
1337 * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1339 * bufferparams.[Ch]: new param output_changes.
1341 * Buffer.C: increase file format to 240.
1342 Use output_changes and isVailable.
1346 * paragraph_pimpl.C: Use output_changes and isVailable.
1348 2005-01-23 Angus Leeming <leeming@lyx.org>
1350 * output_latex.C: #include "insetbibitem.h", rather than
1351 forward declare function bibitemWidest.
1353 2005-01-21 Andreas Vox <vox@isp.uni-luebeck.de>
1355 * lyx_main.C (init): make it compile on the Mac.
1357 2005-01-20 Angus Leeming <leeming@lyx.org>
1359 * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1360 (setLyXMisc): (char string literal) != (char string literal) is
1361 performing a comparison on the addresses. Convert one operand
1362 explicitly to string to guarantee expected behaviour.
1365 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1368 * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1370 * output_plaintext.C: remove unneeded #include gzstream.h.
1372 2005-01-20 Angus Leeming <leeming@lyx.org>
1374 * SpellBase.h: rename some of the elements of the Result enum.
1381 * pspell.C (check): ditto
1383 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1385 * buffer.C: add #include <fstream>.
1387 * lyx_main.C (init): Compile fix.
1389 * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1391 2005-01-20 Angus Leeming <leeming@lyx.org>
1393 * mover.h: change commentary to reflect the changed meaning of
1394 the $$s placeholder.
1396 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1398 * output_linuxdoc.C (linuxdocParagraphs): silence warning
1400 * lyxfind.C (MatchString::operator()): remove bogus semicolon
1402 2005-01-20 Angus Leeming <leeming@lyx.org>
1404 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1405 printing diagnostic data by not dereferecing an iterator past the
1408 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1410 * buffer.C (readHeader): use "&&" rather than "and".
1412 * lyxserver.h (inPipeName, outPipeName): make these const.
1414 2005-01-19 Angus Leeming <leeming@lyx.org>
1416 * lyx_main.C (error_handler, init): protect SIGHUP with
1417 #ifdef SIGHUP guards.
1419 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1421 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1423 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1425 * text.C (setHeightOfRow): add a margin at the top and bottom of
1426 the document (bug 1761)
1428 2005-01-17 Angus Leeming <leeming@lyx.org>
1430 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1431 with "python ". Workaround for a brain-dead Windows.
1433 2005-01-16 Angus Leeming <leeming@lyx.org>
1435 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1436 for MacOSX and Windows to use prependEnvPath.
1437 Strip out the hard-coded block to add elements to the PATH for
1438 MacOSX and replace it with a call to prependEnvPath using the
1439 contents of LyXRC::path_prefix.
1440 (queryUserLyXDir): strip out the code to run reconfigure, instead
1441 returning a boolean indicating the necessity to do so.
1442 (reconfigureUserLyXDir): contains the code to reconfigure the
1443 user support directory. Is now called after the various LyXRC data
1444 files have been read.
1446 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1448 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1450 * converter.[Ch] (convert): take a new parameter try_default. Use
1451 a default converter (imagemagick) if try_default is true.
1453 2005-01-13 Angus Leeming <leeming@lyx.org>
1455 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1456 os::cygwin_path_fix.
1457 (write): output LyXRC::cygwin_path_fix as necessary.
1459 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
1462 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1464 2005-01-12 Angus Leeming <leeming@lyx.org>
1466 * lyx_main.C (init): set the PATH variable to include the
1467 directory containing the LyX binary when running on Mac or Windows.
1469 2005-01-12 Angus Leeming <leeming@lyx.org>
1471 * lyx_main.C (init): remove cruft that purports to set the locale
1472 dir. It doesn't and is not needed anyway.
1474 2005-01-10 Angus Leeming <leeming@lyx.org>
1476 * Makefile.am: remove the lyx_main.C special casing.
1478 * BufferView_pimpl.C:
1484 * messages.C: use support/package.h to provide the paths to the
1485 various directories used by LyX.
1487 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1489 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1490 layout if pasting into an empty paragraph)
1492 2005-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
1494 * tex-accent.C: add <string>
1496 2005-01-06 José Matos <jamatos@lyx.org>
1498 * ParagraphParameters.C (write): put every parameter in its own line.
1499 * paragraph.C (write): reduce number of consecutive empty lines exported.
1500 * buffer.C (LYX_FORMAT): increase file format to 239.
1502 2005-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1504 * everywhere: change support/tostr.h -> support/convert.h
1506 * tabular.C: make all write_attributes templates, tostr -> convert
1508 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1509 (emptyTag): and -> &&, and fix type for ret from getChar
1510 (getFirstWord): fix type for ret from getChar
1511 (onlyText): and -> &&
1512 (simpleDocBookOnePar): and not -> && !, fix type for ret from
1515 * toc.C (goTo, action):
1516 * text3.C (dispatch):
1517 * text.C (currentState):
1518 * tex-accent.C (DoAccent):
1521 * lyxfunc.C (menuNew):
1522 * lyxfinc.C (replace):
1523 * counters.C (laberItem):
1524 * bufferview_funcs.C (font2string):
1525 * bufferparams.C (writeFile):
1526 * buffer.C (readFile):
1528 * MenuBackend.C: tostr -> convert
1530 * LaTeX.C (runMessage): fix format
1531 (scanAuxFiles): tostr -> convert
1533 * BufferView_pimpl.C (savePosition): fix format
1534 (restorePosition): ditto
1537 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1539 * Spacing.[Ch]: New method getValueAsString().
1543 * ParagraphParameters.C:
1546 * text3.C: store/read spacing value as string.
1548 * rowpainter.C: change float value (spacing_val) to double.
1550 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1551 broken custom document spacing).
1553 2005-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
1555 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1556 namespace, also more use of temp references and const
1558 * cursor.[Ch] (getStatus): move to lyxfunc.C
1560 * bufferparams.C: reformat slightly
1562 * bufferview_funcs.C (font2string): constify arg
1568 * buffer_funcs.C: (many funcs): constify arg on function
1569 definitions, also make more local vars const, also add ASSERTS on
1572 * buffer.C (LYX_FORMAT): put const in correct place
1573 (many funcs): constify arg on function definitions, also make
1574 more local vars const
1576 * aspell_local.h: remove "struct" from typdef setup
1578 * aspell.C (check): make word_ok const
1579 (nextMiss): simplify slightly
1582 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1584 * lyxrc.[Ch]: store all float values as strings.
1585 use int (not float) for lyxrc.dpi.
1587 2005-01-04 Angus Leeming <leeming@lyx.org>
1589 * lyx_cb.C (Reconfigure):
1590 * lyx_main.C (queryUserLyXDir):
1591 to run the <system_lyxdir>/configure correctly on Windows, prefix
1592 the path to the script with "sh " when generating the string that
1593 is passed to system().
1595 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1597 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1599 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1601 * lyxlength.C (asLatexString): get rid of setprecision
1603 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1605 * text2.C (setLayout): remove unused variable endpit.
1606 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1608 * paragraph.C (onlyText): remove unused variable style.
1610 * cursor.C (bruteFind): remove unused variables beg and end.
1612 * Makefile.am (dist_noinset_DATA): not needed anymore
1614 * cheaders/*: remove.
1616 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1618 * text3.C: fix LFUN_MATH_MODE.
1620 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1622 * buffer_funcs.C (countWords): new function. Counts words between
1625 * BufferView_pimpl.C (getStatus, dispatch): handle
1628 * LyXAction.C (init):
1629 * lfuns.h: add LFUN_WORDS_COUNT.
1631 2004-12-19 Angus Leeming <leeming@lyx.org>
1633 * buffer.C (save): s/slashify_path/internal_path/.
1635 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1637 * lyxfind.C (findChange): do not search for end of pars, because
1638 the change tracker cannot handle this (fixes bug 1719).
1640 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
1642 * paragraph.[Ch] (autoBreakRows): remove
1644 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1646 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1647 avoid using the paragraph one
1649 * text2.C (LyXText, insertStringAsLines): adjust
1651 2004-12-16 Angus Leeming <leeming@lyx.org>
1655 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1657 2004-12-14 Angus Leeming <leeming@lyx.org>
1659 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1661 * bufferlist.C (emergencyWrite):
1662 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1665 2004-12-14 Angus Leeming <leeming@lyx.org>
1667 * main.C: (main): no longer pass pointers to os::init.
1669 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1671 * undo.C (textUndoOrRedo): simplify logic, fix a crash
1672 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1674 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1677 * text3.C: remove selection_possible global flag
1679 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1681 * text2.C (getSelectionSpan): remove
1682 (changeDepth, changeDepthAllowed): adjust
1684 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
1686 * Makefile.am (BOOST_LIBS): use boost variables
1688 2004-12-03 José Matos <jamatos@lyx.org>
1690 * buffer.C: format up to 238.
1692 2004-12-03 José Matos <jamatos@lyx.org>
1694 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1696 2004-12-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1698 * cursor.C (goUpDown): remove call to idxUpDown2
1700 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1702 * tabular.[Ch]: use size_t-like types for cell, row and column
1705 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1707 * lyxfunc.C (getStatus): do not lose previous information when
1708 calling BufferView::getStatus; do not set a default "Command
1709 disabled" message at the beginning, but just before returning.
1711 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1713 * cursor.h (getStatus): add better comment from src/cursor.C
1715 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1717 * text3.C (getStatus): return false when the lfun is not handled
1719 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1721 * broken_headers.h: remove
1723 * Makefile.am (lyx_SOURCES): remove broken_headers.h
1725 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1727 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1728 offset_ref accessors
1730 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1731 top_y_, merge fitcursor with update
1732 (updateScrollbar, scrollDocView, fitCursor, center, update): new
1734 (metrics): introduce
1735 (workAreaDispatch): adapt to new coord scheme
1736 (redoCurrentBuffer): remove
1738 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1740 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1743 * coordcache.[Ch]: add paragraph cache and helpers
1745 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1748 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1749 (targetX, setTargetX): introduce
1751 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1752 baseline -> ascent, as the rest of lyx
1754 * lyxtext.h: remove redoParagraphs, updateParPositions,
1755 fullRebreak, redoParagraphInternal. move dist to anon namespace in
1756 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1757 have ascent/descent (ascent is ascent of first par)
1759 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1762 * paragraph.[Ch]: unify dimension handling with the rest of lyx
1764 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1766 * pariterator.C: fix infinite loop introduced in par->pit renaming
1768 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1769 in insets and LyXText, draw two off-screen paragraphs using
1770 NullPainter, and adapt to new coord scheme
1774 * text3.C: adapt lfun handlers to the new coord scheme, which
1775 means: there's only guaranteed coord information for onscreen pars
1776 plus one above and one below. This implies that one can do search
1777 from y coordinates in the range [-1,workHeight]
1779 2004-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1781 * rename a lot of InsetOld to InsetBase
1783 2004-11-25 Angus Leeming <leeming@lyx.org>
1785 * BufferView_pimpl.C:
1787 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1789 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1791 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1792 call BufferView::getStatus if LCursor::getStatus did nothing
1793 (setStatusMessage, getStatusMessage): removed.
1795 * FuncStatus.C (message): new methods. Used to provide an error
1796 message indicating why a command is disabled.
1797 (clear, |=, FuncStatus): update for message.
1799 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1801 * lyxfunc.C (dispatch): always call sendDispatchMessage
1803 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1806 * BufferView_pimpl.C:
1811 * cursor_slice.[Ch]:
1814 * paragraph_funcs.C:
1820 * undo.C: par->pit renaming
1822 2004-11-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1824 * tabular.C (cellstruct): use initialization, store a shared_ptr
1825 to insettext instead of the insettext directly, adjust to fit.
1826 (operator=): new function
1827 (swap): new function
1828 (rowstruct): use initialization
1829 (columnstruct): use initialization
1830 (ltType): use initialization
1833 * lyxlength.h (swap): new function
1835 * LColor.[Ch] (operator=): use the common semantics
1837 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1839 * lyxfind.C (findNextChange): update the bufferview after setting
1842 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1844 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1845 number of InsetOptArgs has already been inserted.
1847 * output_latex.C (latexOptArgInsets): new method. This outputs all
1848 the optarg insets, up to the limit defined in the layout file.
1849 (optArgInset): removed
1850 (TeXOnePar): call latexOptArgInsets; correctly update texrow
1852 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1854 * paragraph.C (isLetter): remove special spellchecker-related
1855 code; return true also for digits
1856 (isWord, isKomma): remove
1858 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1859 * lyxfind.C (MatchString()): use isLetter instead of isWord
1861 2004-11-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1863 * pariterator.h (operatir=): comment out un-implemented member
1866 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1869 2004-11-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1871 * lyxfont.h: include LColor.h to satisfy concept checks.
1873 2004-11-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1875 * pariterator.h: add typdefs for value_type, difference_type,
1876 pointer and reference to satisfy concept checks. Also add default
1877 constructor for same reason.
1879 * pariterator.C (operator++): add post-increment operator to
1880 satisfy concept checks.
1882 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1885 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1887 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1888 checks. Also rename base_type to BaseType to follow naming
1891 * FloatList.h: include Floating.h to satisfy concept checks.
1893 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1895 * lyxfunc.C (getStatus): when the origin of the request is menu or
1896 toolbar, and the LyXView does not have focus, do as if there was
1897 no buffer (bug 1720)
1899 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1900 FuncRequest to individual entries of LFUN_SEQUENCE
1902 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1904 * output_latex.C (TeXOnePar): override runparams.moving_arg
1905 according to the needprotect value of the current paragraph (bug
1908 * paragraph.C (simpleTeXOnePar): no need to override
1909 runparams.moving_args here
1911 2004-11-14 John Spray <spray_john@users.sourceforge.net>
1913 * vspace.C: fix off-by-one-error, related to fix #1682
1915 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1917 * lengthcommon.C: a more general fix for bug 1682
1919 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
1921 * text.C (backspace): fix crash
1923 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1925 * format.[Ch] (getFormatFromFile): new method
1926 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1928 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1930 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1932 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1934 * lyxfunc.C (dispatch): remove the verbose argument
1935 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1938 * kbmap.C (defkey): set the origin of func to KEYBOARD
1940 * MenuBackend.C (MenuItem):
1941 * ToolbarBackend.C (add): set the origin of func to UI
1943 * funcrequest.[Ch]: add origin member, which indicates which part
1944 of LyX requests an action
1946 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1948 * converter.C (move): don't lie in the error message
1949 * converter.h (isReachable, move): document
1951 2004-11-07 Lars Gullik Bjønnes <larsbj@gullik.net>
1953 * buffer.C: remove unused using lyx::support::atoi
1954 * paragraph_funcs.C: ditto
1956 2004-11-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1958 * bufferlist.C (exists): use bind and equal_to instead of
1961 * lyxtextclasslist.C (NumberOfClass): ditto
1963 * cursor.C (insert): use for_each instead of explicit for loop
1965 * bufferlist.C (getFileNames): use std::transform and
1966 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1968 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1971 * buffer.C (changeLanguage): use for_each instead of explicit for
1973 (hasParWithID): implement using getParFromID
1975 * LaTeXFeatures.C: ws change only
1977 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1980 * BufferView_pimpl.C (trackChanges): use for_each instead of
1983 2004-11-04 André Pönitz <poenitz@gmx.net>
1986 * undo.C (textUndoOrRedo): fix crash when creating undo information.
1988 * dociterator.C (asDocIterator): use hard assert again.
1990 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1992 * lyxlength.C (asLatexString): rewrite so that it does not use
1995 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1997 * text3.C (specialChar, dispatch): make sure cursor moves to the
1998 right after inserting an inset
2000 2004-11-02 José Matos <jamatos@lyx.org>
2002 * output_docbook.C (docbook):
2003 * paragraph.C (getID):
2004 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
2005 garantee that the output is always legal.
2007 * tabular.C (docbook):
2008 * outputprams.[Ch]: remove mixed contents.
2010 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2012 * text2.C (setCounter): prevent endless loop
2014 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2016 * exporter.C (copyFile): use the mover instead of support::copy()
2017 * exporter.C (Export): pass format and latex name to copyFile()
2018 * exporter.h (addExternalFile): document
2019 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
2021 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2023 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
2025 2004-10-30 José Matos <jamatos@lyx.org>
2027 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
2028 text and no inset or font change. This allows to use CDATA
2029 sections just for the whole paragraph.
2031 2004-10-30 José Matos <jamatos@lyx.org>
2033 * paragraph.C (getFirstWord): remove unused variable.
2035 2004-10-30 José Matos <jamatos@lyx.org>
2037 * paragraph.C (getFirstWord): the content should always be escaped
2039 (simpleDocBookOnePar):
2040 * output_docbook.C (makeEnvironment): replace reference to CDATA
2043 2004-10-30 José Matos <jamatos@lyx.org>
2045 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
2047 2004-10-30 José Matos <jamatos@lyx.org>
2049 * output_docbook.C (makeParagraphs):
2050 * paragraph.[Ch] (emptyTag): for docbook and company, if the
2051 standard paragraph has only a given type of content drop the wrapper.
2053 2004-10-29 José Matos <jamatos@lyx.org>
2055 * output_docbook.C (makeEnvironment):
2057 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
2059 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
2061 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
2062 (cleanID): sanitize any id.
2064 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2066 * buffer.C, lyxlex_pimpl.C:
2067 * lyxlex_pimpl.C (setFile):
2068 s/getExtFromContents/getFormatFromContents/
2070 2004-10-28 José Matos <jamatos@lyx.org>
2072 * output_docbook.C (makeEnvironment): move id to broadest possible
2075 * sgml.C (openTag): apply substitution of <> for all attributes.
2077 2004-10-28 José Matos <jamatos@lyx.org>
2079 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2080 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2081 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
2083 * sgml.[Ch]: new version for open and closeTag for paragraph and
2084 for strings. Now they handle the ids of paragraphs.
2086 2004-10-26 Angus Leeming <leeming@lyx.org>
2088 * Makefile.am: add mover.[Ch].
2090 * converter.C (convert, move): use the new Movers to move external
2091 files to the temp directory.
2093 * lyx_main.C (init): ensure that the global system_movers data
2096 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
2099 * mover.[Ch]: new files, defining a Mover as a utility to move an
2100 external file between directories and, if necessary, manipulate this
2101 file using a helper script.
2103 2004-10-25 José Matos <jamatos@lyx.org>
2105 * output_docbook.C (makeCommand): merge two if's that tested the
2108 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2110 * sgml.C (escapeString): fix warning in a better way
2112 2004-10-25 José Matos <jamatos@lyx.org>
2114 * sgml.C (escapeString): import the require boosts header file for
2115 tie, and avoid a signed unsigned comparison.
2117 2004-10-25 José Matos <jamatos@lyx.org>
2119 * sgml.h: add #include <string>
2121 2004-10-25 José Matos <jamatos@lyx.org>
2123 * sgml.[Ch] (escapeString): new function to escape all the string.
2125 2004-10-24 José Matos <jamatos@lyx.org>
2127 * paragraph.[Ch] (getFirstWord): new function to get the first
2128 word. Useful for description.
2129 (simpleDocBookOnePar): remove depth argument, add another that
2130 says where to start the paragraph.
2132 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2133 use the new functions to fix cleanly the support for descriptions.
2135 2004-10-24 José Matos <jamatos@lyx.org>
2137 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2138 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2139 * output_linuxdoc.C (linuxdocParagraphs):
2140 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
2141 add buffer as argument.
2143 2004-10-24 José Matos <jamatos@lyx.org>
2145 * output_docbook.C (makeEnvironment, searchEnvironment): place
2146 CDATA inside paragraphs and fix scope for listitems.
2148 2004-10-24 José Matos <jamatos@lyx.org>
2150 * output_docbook.C: remove using statement for stack.
2152 2004-10-23 José Matos <jamatos@lyx.org>
2154 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
2155 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
2156 docbook. The new scheme is recursive and makes use of iterators, the
2157 same as latex export works.
2158 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
2159 directly with the paragraph contents. This code was moved up to
2160 output_docbook.C (docbookParagraphs).
2161 * sgml.C (openTag, closeTag): removed unneeded newlines.
2162 (closeEnvTags) removed.
2164 2004-10-23 André Pönitz <poenitz@gmx.net>
2166 * undo.C (textUndoOrRedo):
2167 * dociterator.C (asDocIterator): work around crash
2169 * cursor.C (getStatus): replace ASSERT by more verbose error message
2170 and manual correction of the problem. Should increase stability
2171 while providing more sensible information.
2173 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2175 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
2177 * bufferlist.C (previous, next): new methods
2180 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
2182 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
2184 * buffer.C (makeDocBookFile): add dsssl stylesheet control
2185 entities to preamble.
2187 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2189 * messages.C (Pimpl): strip off translation context information
2191 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2193 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
2194 the cursor is correct (bug 1694)
2196 2004-10-13 José Matos <jamatos@lyx.org>
2198 * output_docbook.C (docbookParagraphs): fix closing tags in the
2199 end of the document.
2201 2004-10-09 José Matos <jamatos@lyx.org>
2203 * buffer.C: format up to 237.
2204 * bufferparams.C (write): use tostr to convert booleans to strings.
2206 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
2208 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
2210 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2212 * LaTeX.C: implement use of babel language in xindy.
2214 2004-10-05 José Matos <jamatos@lyx.org>
2216 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2217 Add new translators to help reading and writing the lyx file.
2219 2004-10-05 José Matos <jamatos@lyx.org>
2221 * ParagraphParameters.C (read):
2222 * text.C (readParToken): replace nexToken by more appropriate lex
2225 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
2227 * LaTeX.C (runMakeIndex):
2228 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2229 (usually 'makeindex') configurable.
2231 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2232 with a variable rather than with a number.
2234 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2236 * output_latex.C (TeXOnePar): make sure font setting is the first
2237 thing that gets output (and the last at the end). Should fix bug
2240 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2242 * pch.h: use proper signal include
2244 * LaTeX.h: Use preferred calling of Boost.Signal
2247 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2249 * pch.h: dont include <boost/function/function0.hpp>
2251 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2253 * paragraph_pimpl.h: remove usage of ShareContainer
2255 * paragraph_pimpl.C: remove initialization of ShareContainer.
2257 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2261 * BufferView.C (putSelectionAt): change the semantics when
2262 backwards == true: now, this just swaps cursor and anchor wrt the
2265 * BufferView.h (putSelectionAt): add some documentation
2267 * lyxfind.C (findBackwards): rewrite using while(). In particular,
2268 make sure backwardChar is done at least once (to avoid getting
2270 (findNextChange): use putSelectionAt in the forward direction
2271 (operator()): use Paragraph::isWord
2273 2004-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2275 * Spacing.C (set): c_str fix
2277 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2279 * lyx_cb.C (Reconfigure): quote the name of configure script in
2280 case it contains spaces
2282 2004-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2286 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2287 (BOOST_LIBS): use top_buildir when looking for the file
2289 2004-08-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2291 * pch.h: do not use include boost/format.hpp, multiple symbols
2292 will result (gcc bug)
2295 2004-08-23 José Matos <jamatos@lyx.org>
2297 * bufferparams.C (readToken): fix reading of the author field.
2299 2004-08-20 José Matos <jamatos@lyx.org>
2301 * lyxrc.C: remove support/translator.h inclusion since it is not used.
2303 2004-08-20 José Matos <jamatos@lyx.org>
2305 * lyxlex.[Ch] (findToken): remove function.
2307 * ParagraphParameters.C (findToken):
2308 * bufferparams.C (findToken): replace call for previous function
2309 with local copy. This local function has one more argument, the
2310 read string argument.
2312 2004-08-16 José Matos <jamatos@lyx.org>
2314 * ParagraphParameters.C (write):
2315 * Spacing.C (writeFile):
2316 * bufferparams.C (writeLaTeX):
2317 * lyx_cb.C (Reconfigure):
2318 * paragraph.C (write):
2319 * tabular.C (write): remove unnecessary space at end of line.
2322 2004-08-16 José Matos <jamatos@lyx.org>
2324 * text.C (readParagraph): remove debug message.
2326 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2328 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2331 * output_plaintext.C (asciiParagraph): set depth correctly
2333 * outputparams.h: add member depth
2335 * paragraph_funcs.C (ownerPar): remove.
2337 * text2.C (setCounter): remove first_pit; comment out some
2338 non-working code that uses ownerPar
2340 * BufferView.C (getParentLanguage): remove. Not used anymore, and
2343 2004-08-16 José Matos <jamatos@lyx.org>
2345 * text.C (readParToken, readParagraph, read): report all unknown tokens.
2346 For the same level of importance use the same chanel to report problems.
2347 (read): add code to deal with \begin_body and \end_body.
2350 2004-08-15 José Matos <jamatos@lyx.org>
2352 * lyxlex.C (getString): fix comment, buffer::readBody is now
2353 buffer:readDocument.
2355 * tex-strings.C (string_papersize): Default -> default,
2356 Custom -> custom, for consistency with other options.
2358 2004-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2362 * Makefile.am: support pch
2364 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2366 * text.C (readParToken): remove the static LyXFont variable and
2367 pass it as a parameter instead. This fixes a nasty bug where an
2368 inset will be inserted with a bad font in some situations
2369 (readParagraph): adapt
2371 * text2.C (setCounter): reduce number of calls to pars_[pit]
2373 * text.C (singleWidth): add an assert, fix a test
2375 * rowpainter.C (paintText): reduce number of calls to singleWidth
2377 * paragraph.C (isHfill):
2378 (isNewline): ws only
2380 2004-08-14 André Pönitz <poenitz@gmx.net>
2385 * lyxtext.h (several functions): use a Paragraph & argument
2388 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2390 * metricsinfo.h: add a new field ltr_pos to PainterInfo
2392 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2394 * text.C (singleWidth): remove useless test
2396 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2398 * tabular.h: remove bogus comments
2400 * tabular.C (getDescentOfRow):
2401 (isPartOfMultiColumn): add assertions
2403 * lyxlength.C (inPixels): remove #warning
2405 2004-08-14 André Pönitz <poenitz@gmx.net>
2407 * paragraph.h: inline getChar()
2409 * BufferView.h: remove unused declarations
2411 2004-08-14 José Matos <jamatos@lyx.org>
2413 * Buffer.[Ch] (readDocument): new name for old readBody.
2414 * Buffer.C: new file format, new keywords: \begin_document,
2415 \begin_header, \begin_body, \end_body.
2417 * bufferparams.C (readToken): replace all calls to lex.nextToken
2418 by lex.next(). Do the same to eatLine except where really needed.
2420 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2421 line when writing to the lyx file.
2423 * output_plaintext.C (asciiParagraph): fix Bibliography style
2426 * text.C (read): fix end of file handling.
2428 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2430 * MenuBackend.C (Menu::operator[]): new method to access
2431 individual menu items
2432 (Menu::hasFunc): new method. search for an item that corresponds
2434 (MenuBackend::specialMenu): new method
2435 (MenuBackend::expand): if a special menu has been set, skip
2436 entries whose func() appears in this menu
2438 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2440 * text3.C: use Debug::DEBUG a bit more
2442 * text.C (leftMargin): try to simplify a tiny bit change var x to
2443 l_margin. Dont output the wide margins always.
2444 (rightMargin): no margin in inner texts
2446 * rowpainter.h (nestMargin): new func
2447 (changebarMargin): new func
2448 (rightMargin): new func
2450 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2454 * factory.C (createInset): modify setDrawFrame
2456 * cursor.C: use Debug::DEBUG a bit more
2458 2004-08-14 André Pönitz <poenitz@gmx.net>
2461 * Makefile.am: new files to accomodate an 'external' (x,y)-position
2462 cache for all insets in (at least partially) visible (top-level)
2465 * BufferView_pimpl.C: reset external coord cache before every update.
2466 This means the coord cache only contains valid entries.
2468 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2471 * BufferView_pimpl.C (getInsetByCode): move function out of class
2472 and change in to a template in anon namespace. Also fix to do what
2475 2004-08-13 Lars Gullik Bjønnes <larsbj@lyx.org>
2478 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2480 (breakParagraph): rename par to par_offset and use a local
2481 reference. Add code to keep the language over a rebreak.
2482 (breakParagraphConservative): rename par to par_offset, use a
2484 (mergeParagraph): ditto
2486 (isFirstInSequence): ditto
2487 (outerFont): rename pit to par_offset
2489 * paragraph.C: ws change
2490 * paragraph.h: ditto
2494 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2496 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2499 * paragraph.C (simpleTeXOnePar): when we have a \item with
2500 optional argument, enclose the argument with curly brackets (in
2501 case it contains a closing square bracket)
2505 * text3.C (checkInsetHit): constify
2507 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2509 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2510 documents (bug 1629)
2512 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2514 Fix toggling of collapsable insets with the mouse (bug 1558)
2516 * lyxfunc.C (dispatch): adapt to LCursor changes
2518 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2519 make sure that dispatch is not invoked twice
2521 * cursor.C (needsUpdate): new method
2522 (dispatch): return void
2523 (result): new method, to access the DispatchResult of the cursor.
2525 2004-08-13 José Matos <jamatos@lyx.org>
2527 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2529 2004-08-13 André Pönitz <poenitz@gmx.net>
2531 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2533 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2536 2004-08-12 André Pönitz <poenitz@gmx.net>
2538 * text3.C: take out the 'cursor right' form insertInset and only
2539 do it in those places when it is really needed. Fixes crash on
2542 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2544 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2546 * BufferView_pimpl.C (setBuffer): initialize the current font of
2547 the underlying LyXText
2549 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2551 * kbsequence.C (print): use UI native formatting for menu
2554 * text.C (insertChar): call Paragraph::insertChar with a font
2557 * paragraph.C (insertInset, insertChar): the version that takes a
2558 LyXFont argument is now a wrapper around the other one (the
2559 opposite used to be true).
2561 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2562 argument. Font setting is done in Paragraph now.
2564 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2566 * outputparams.h: add new members intitle and lang.
2568 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2569 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2571 2004-08-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2573 * text3.C (dispatch): remove special handling of button 4 and 5,
2574 it is now taken care of in the frontend code.
2576 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2578 * Spacing.h: add <string> (STLPort compile fix)
2580 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2582 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2584 2004-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2586 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2589 * converter.C (showMessage): inherit from unary_function, make
2592 * buffer.C (writeFile): initialize retval
2594 * InsetList.h: rename private variable list to list_
2595 * InsetList.[Ch]: adjust accordingly.
2597 2004-07-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2599 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2600 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2601 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2602 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2603 * ParagraphParameters.C, LaTeXFeatures.C: replace
2604 "support/std_sstream.h" with <sstream>
2606 2004-07-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2608 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2609 * lyxsocket.C (LyXServerSocket): ditto
2610 (serverCallback): ditto
2612 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2614 * LaTeXFeatures.C: check release date when loading jurabib.
2616 2004-07-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2618 * lyxserver.C (startPipe): call register_socket_callback
2619 (endPipe): call unregister_socket_callback
2621 2004-07-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2623 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2624 (LyXServerSocket): register the callback
2625 (LyXServerSocket): unregister the callback
2626 (fd): delete function
2627 (serverCallback): improve error checking and setup the callbacks.
2628 (dataCallback): change arg to fd.
2629 (writeln): new func (copied fro the client socket) used for server
2631 (LyXDataSocket): simplify
2632 (~LyXDataSocket): close ann unregiser callback
2633 (server): delete function
2634 (fd): delete function
2635 (readln): small changes, improve some std::string usage
2636 (writeln): constify a bit
2638 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2640 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2643 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2645 * BufferView_pimpl.C (setBuffer): set the layout combox value only
2646 after it has been populated
2648 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2650 * text2.C (insertInset): move cursor when inserting inset.
2652 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2654 * kbmap.C (findbindings): a couple of new methods. returns a
2655 container of kb_sequence objects. The real work is done by the
2656 private recursive version
2657 (printbindings): uses findbindings to print out a bracketed list
2658 of bindings (renamed from findbinding).
2660 * MenuBackend.C (binding): use kb_keymap::findbindings
2662 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2664 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2666 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2668 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2670 * paragraph.C (isWord): return true on insets that report
2673 * text.C (getWord): use Paragraph::isWord to decide what is in a
2674 word and what is not; fix bug 1609.
2676 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2678 * tex-strings.C: add "none" to string_paperpackages[], fixes
2679 off-by-one-error in the paperpackage selection.
2682 * tex-strings.[Ch]: char const * string[n]
2683 -> char const * const string[]
2685 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2687 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2688 command, return early.
2690 2004-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
2692 * debug.h: add DEBUG to enum and fix size of ANY.
2694 * debug.C: add support for Debug::DEBUG
2695 (showTags): cast errorTags.level to unsigned int
2697 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2698 (redoCurrentBuffer): ditto
2699 (updateScrollbar): ditto
2700 * cursor.C (dispatch): ditto
2701 * text2.C (setLayout): ditto
2703 (updateCounters): ditto
2705 (deleteEmptyParagraphMechanism): ditto
2707 2004-06-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2709 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2710 annotations to cleanup the Makefile slightly.
2712 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2714 * lyxrc.C: do not set user_email to a default value but use empty
2715 instead. The entry used to be translated, which does not work
2716 since at the point where lyxrc is constructed there is no
2717 translation service available
2719 * messages.C (getLocaleDir): remove and use directly
2720 lyx_localedir() instead
2722 2004-06-02 Angus Leeming <leeming@lyx.org>
2724 Fix crash caused by dereferencing null pointer 'exportdata' in
2725 OutputParams by creating a new ExportData variable on the heap,
2726 storing it in a boost::shared_ptr.
2727 The crash was triggered when generating an Instant Preview
2728 of an external inset.
2730 * Makefile.am: add outputparams.C
2732 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2733 (c-tor): allocate memory to it.
2735 * exporter.C (c-tor): associated changes.
2737 2004-06-01 Angus Leeming <leeming@lyx.org>
2739 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2740 contains data before calling isInset(0). (Bug 1513.)
2742 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2744 * exporter.C (checkOverwrite): new method
2745 * exporter.C (copyFile): new method
2746 * exporter.C (Export): copy referenced files to the document dir
2747 * exporter.[Ch]: new class ExportedFile
2748 * exporter.[Ch]: new class ExportData. Contains currently the
2749 names of referenced external files
2750 * outputparams.h: add exportdata member.
2752 2004-05-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2754 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2757 2004-05-19 Angus Leeming <leeming@lyx.org>
2762 * lyxfunc.C: small changes due to the introduction of namespace
2763 lyx::frontend and the moving of namespace biblio to lyx::biblio.
2765 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
2767 * text3.C (dispatch): supress update when only moving the cursor
2768 * cursor.C (selHandle): remove commented code
2770 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2772 * paragraph.C (startTeXParParams): correct column count
2773 * CutAndPaste.C (pasteSelection): remove const_cast
2774 * output_docbook.C (docbookParagraphs): remove const_cast
2775 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2776 const_cast and return ParagraphList::const_iterator
2777 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2778 * output_plaintext.C (writeFileAscii): remove const_cast
2779 * paragraph.[Ch] (simpleTeXOnePar): make const
2780 * paragraph_funcs.C (outerPar): use const iterators
2781 * paragraph_pimpl.C (validate): use const iterators
2782 * text.C (setHeightOfRow): use const iterators
2784 2004-05-17 Angus Leeming <leeming@lyx.org>
2787 * LyXAction.C (init): new LFUN_INSET_REFRESH.
2789 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2790 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2791 if the citation engine has changed.
2793 2004-05-14 José Matos <jamatos@lyx.org>
2795 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2796 if the textclass does not provide it. Have it different for sgml and
2798 support the language of document.
2799 * output_docbook.C (docbookParagraphs):
2800 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2801 first anchor as the id of the paragraph, remove special case code.
2802 * sgml.C (escapeChar): escape only < & >.
2804 2004-05-14 Angus Leeming <leeming@lyx.org>
2806 * bufferparams.h: move biblio::CiteEngine enum here to minimize
2807 dependencies on src/frontends/controllers/biblio.h. Define a
2808 CiteEngine_enum wrapper class to enable the enum to be forward
2811 2004-05-12 Angus Leeming <leeming@lyx.org>
2813 * buffer.C: up LYX_FORMAT to 234.
2814 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2815 use_numerical_citations with a single biblio::CiteEngine cite_engine
2817 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2819 2004-05-13 José Matos <jamatos@lyx.org>
2822 * converter.C (Converter, readFlags): add xml member.
2823 * outputparams.h: add XML flavor.
2824 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2826 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2828 * lyxfunc.C (dispatch):
2829 (getStatus): fix handling of LFUN_SEQUENCE
2831 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2833 * debug.C (showLevel): do not forget the end-of-line marker
2835 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2837 * kbmap.C (read): do not stop parsing a bind file when an error
2840 2004-04-29 Angus Leeming <leeming@lyx.org>
2845 * text2.C: wrap a bunch of #warning statements
2846 inside #ifdef WITH_WARNINGS blocks.
2848 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2850 * buffer.C: increment format to 233.
2852 2004-04-28 Angus Leeming <leeming@lyx.org>
2854 * BufferView_pimpl.C:
2857 s/updateToolbar()/updateToolbars()/
2858 s/Toolbar.h/Toolbars.h/
2860 2004-04-28 Angus Leeming <leeming@lyx.org>
2862 * BufferView.[Ch] (c-tor):
2863 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2864 No longer passes these data to the WorkArea generator.
2866 2004-04-28 Angus Leeming <leeming@lyx.org>
2868 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2870 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2872 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2874 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2876 * output_latex.C (TeXEnvironment): make sure that there is a line
2877 break before \end{foo} for the last paragraph of a document
2878 (TeXOnePar): if the paragraph is at the end of the document (or
2879 inset) and the language has to be reset, then make sure that the
2880 line break is _before_ the language command, not after (fixes bug
2881 1225); also make sure that the language reset command is the first
2882 thing after the paragraph (to ensure proper nesting of
2883 environments and thus fix bug 1404)
2885 2004-04-21 John Levon <levon@movementarian.org>
2888 * ToolbarBackend.C: make "name" be a programmatic name
2889 and a gui_name field.
2891 * lyxfunc.C: display the minibuffer on M-x
2893 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2895 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
2898 2004-04-19 Angus Leeming <leeming@lyx.org>
2900 * BufferView_pimpl.C (setBuffer): changed preview interface.
2902 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2905 2004-04-19 John Levon <levon@movementarian.org>
2907 * BufferView_pimpl.C:
2908 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2910 2004-04-05 Angus Leeming <leeming@lyx.org>
2912 * text.C (redoParagraphs): add call to updateCounters(), thereby
2913 fixing the missing "Figure #:" label from the caption of a
2916 2004-04-13 Angus Leeming <leeming@lyx.org>
2918 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2919 cursor is clicked out of an inset.
2921 2004-04-13 Angus Leeming <leeming@lyx.org>
2923 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2924 than an InsetOld one.
2926 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2928 * format.[Ch]: add editor to Format
2929 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2930 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2932 2004-04-08 André Pönitz <poenitz@gmx.net>
2934 * metricsinfo.h: remove PainterInfo::width member
2936 2004-04-08 Angus Leeming <leeming@lyx.org>
2938 * lyx_sty.C (boldsymbol_def): modify so that it outputs
2939 "\providecommand" rather than "\newcommand", thereby preventing
2940 clashes with packages that define "\boldsymbol" themselves.
2943 2004-04-08 Angus Leeming <leeming@lyx.org>
2945 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2946 thereby squashing an unnecessary warning.
2948 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2950 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
2953 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
2955 * BufferView.C (setCursor): call redoParagraph (some insets could
2957 (putSelectionAt): remove the 'double update' trick
2959 * BufferView_pimpl.C (fitCursor): call refreshPar
2960 (workAreaDispatch): remove an uneeded update call
2961 (dispatch): remove some manual update calls
2963 * cursor.[Ch]: remove cached_y_, updatePos
2964 (selHandle): set noUpdate when appropriate
2966 * lyxfunc.C (dispatch): track if we need an update
2968 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2970 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2971 (paintSelection): cheap optimization, do not call cursorX when not
2973 (paintPars): change signature
2976 (paintTextInset): adjust
2980 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2982 * lengthcommon.C: compilation fix: remove explicit array size from
2983 unit_name[] and friends
2985 2004-04-05 Angus Leeming <leeming@lyx.org>
2987 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2989 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2990 present only for the preferences dialog.
2991 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2993 2004-04-05 Angus Leeming <leeming@lyx.org>
2995 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2996 to enable the frontends to export changes to lyxrc correctly.
2998 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
3000 2004-04-07 André Pönitz <poenitz@gmx.net>
3002 * cursor.[Ch] (selClear, adjust): remove math
3004 * cursor_slice.C: more agressive assert
3007 * BufferView_pimpl.C: rework mouse event dispatch
3014 2004-04-05 André Pönitz <poenitz@gmx.net>
3016 * cursor.[Ch] (valign, halign...): remove unneeded functions
3018 2004-04-05 Angus Leeming <leeming@lyx.org>
3020 * lyxlength.[Ch] (unit_name et al.): const-correct.
3022 2004-04-05 Angus Leeming <leeming@lyx.org>
3024 * BufferView_pimpl.C:
3033 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
3035 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3037 * text3.C (getStatus): add LFUN_BEGINNINGBUF
3039 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3041 * lyxfind.C: add a couple of inTexted() tests + other small fixes
3042 * BufferView_pimpl.[Ch] (getStatus)
3043 * BufferView.[Ch] (getStatus): add
3044 * lyxfunc.C (getStatus): move lfuns handled in
3045 BufferView::dispatch to te function above
3046 * Cursor.C (setSelection): set selection() = true
3048 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3050 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
3052 2004-03-31 Angus Leeming <leeming@lyx.org>
3054 * lyxfunc.C (dispatch): Fall through to the generic
3055 Dialogs::show("preamble").
3057 2004-03-31 Angus Leeming <leeming@lyx.org>
3059 * lyxfunc.C (dispatch): Fall through to the generic
3060 Dialogs::show("spellchecker").
3062 2004-03-31 Angus Leeming <leeming@lyx.org>
3064 * lyxfunc.C (getStatus, dispatch): changed invocation of the
3067 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
3072 * insetiterator.[Ch]:
3077 * undo.[Ch]: s/DocumentIterator/DocIterator/g
3079 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
3081 * BufferView.C (setCursor, putSelectionAt): call edit to open the
3082 insets where we are putting the cursor.
3084 2004-03-31 Angus Leeming <leeming@lyx.org>
3087 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
3089 * lyxrc.[Ch] (read, write): overloaded member functions taking
3090 a std::[io]stream arguments.
3092 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
3094 2004-03-31 Angus Leeming <leeming@lyx.org>
3096 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
3097 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
3099 * lyxtextclass.C (load): if the text class couldn't be loaded, then
3100 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
3102 2004-03-31 Angus Leeming <leeming@lyx.org>
3104 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
3105 the LFUN_ALL_INSETS_TOGGLE code.
3107 2004-03-30 Angus Leeming <leeming@lyx.org>
3109 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
3110 has died. Fall through to the generic Dialogs::show("document").
3112 2004-03-30 Angus Leeming <leeming@lyx.org>
3115 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
3116 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
3118 * lyxfunc.C (getStatus, dispatch): define the actions for these
3119 lfuns. Little more than a cut and pste job from ControlDocument.C
3121 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
3123 2004-03-30 Angus Leeming <leeming@lyx.org>
3126 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
3127 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
3129 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
3130 open/closed state of ollapsable insets. Usage:
3132 all-inset-toggle <state> <name>, where
3133 <state> == "open" || "closed" || "toggle" and
3134 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
3136 * lyxtext.h, text2.C (toggleInset): removed.
3138 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
3139 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
3140 now passes LFUN_INSET_TOGGLE to the found inset.
3142 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
3143 is now invoked as "all-insets-toggle toggle branch".
3145 2004-03-30 Angus Leeming <leeming@lyx.org>
3149 * pariterator.[Ch]: added/corrected header blurb.
3151 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
3153 * dociterator.[Ch]: add an inset_ member
3154 (backwardPos): implemented
3155 (backwardPos, forwardPos): use inset_ when the stack is empty.
3156 (doc_iterator_begin, doc_iterator_end): implemented
3157 * pariterator.[Ch]: adjust, add begin, end
3158 * insetiterator.[Ch]: adjust, add begin, end
3162 * BufferView_pimpl.C:
3163 * CutAndPaste.C: adjust
3165 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3167 * buffer.C: increment file format to 232.
3168 * LaTeXFeatures.C: add bibtopic package.
3169 * bufferparams.[Ch]: param \use_bibtopic.
3171 * lyxrc.[Ch]: add lyxrc bibtex_command
3172 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
3174 * buffer.C: increment file format to 231.
3176 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
3178 * dociterator.C: implement forwardPar
3179 * iterators.[Ch]: remove, replaced by
3180 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
3182 * BufferView_pimpl.C:
3185 * bufferview_funcs.C:
3191 * Makefile.am: adjust
3193 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
3195 * CutAndPaste.C (pasteSelection): fix 2 crashes
3196 (eraseSelection): fix a crash
3197 * paragraph_funcs.C: remove a warning
3199 2004-03-28 Angus Leeming <leeming@lyx.org>
3202 * LyXAction.C (init): new LFUN_PRINT.
3204 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
3206 2004-03-27 Angus Leeming <leeming@lyx.org>
3209 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
3211 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
3213 2004-03-27 Angus Leeming <leeming@lyx.org>
3215 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
3216 insetlist always contains non-null pointers to insets.
3218 2004-03-26 Angus Leeming <leeming@lyx.org>
3220 * src/BufferView_pimpl.C:
3221 * src/CutAndPaste.C:
3224 * src/output_plaintext.C:
3225 * src/outputparams.h:
3226 * src/paragraph_funcs.C:
3230 * src/frontends/controllers/ControlErrorList.C:
3231 * src/frontends/gtk/FileDialogPrivate.C:
3232 * src/frontends/gtk/GPainter.C:
3233 * src/frontends/gtk/GToolbar.C:
3234 * src/frontends/qt2/QRef.C:
3235 * src/mathed/math_scriptinset.C: squash compiler warnings.
3237 2004-03-26 Angus Leeming <leeming@lyx.org>
3239 * ispell.C (LaunchIspell::start):
3240 * lyx_cb.C (AutoSaveBuffer::start):
3241 invoke run(DontWait) rather than runNonBlocking().
3243 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
3245 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3247 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3249 * kbsequence.C (print): adjust
3251 * kbmap.C (printKeySym): rename and change signature
3252 (printKey): use LyXKeySym::print()
3254 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
3256 * undo.C: add using std::advance to compile for stlport
3258 2004-03-24 Angus Leeming <leeming@lyx.org>
3260 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3261 it leads to a crash when no buffer is present.
3263 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3264 Martin Vermeer <martin.vermeer@hut.fi>
3266 * lyxfunc.C (dispatch):
3267 * bufferparams.C (readToken): use the new LColor::setColor
3269 * LColor.[Ch] (setColor): new version that takes two strings as
3270 argument and creates a new color entry if necessary
3272 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3274 * buffer.C (makeLaTeXFile): if the main latex file that is
3275 processed is usually a subdocument of some master, then pretend
3276 for a while that it is actually the master
3278 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3280 * buffer.C (getLabelList):
3281 (getBibkeyList): use getMasterBuffer()
3282 (getMasterBuffer): new method. Returns the main document in the
3283 case where one is using included documents.
3285 2004-03-25 André Pönitz <poenitz@gmx.net>
3289 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3291 * ParagraphList_fwd.h: change ParagraphList to a std::vector
3293 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3294 text*.C over here. Rename namespace CutAndPaste to lyx::cap
3296 * ParameterStruct.h: merge with ParagraphParameters
3298 * lyxtext.h: remove LyXText::parOffset() and getPar()
3300 * text3.C: Remove all 'manual' update calls. We do now one per user
3301 interaction which is completely sufficient.
3305 * BufferView_pimpl.C:
3306 * FontIterator.[Ch]:
3308 * ParagraphParameters.[Ch]:
3313 * cursor_slice.[Ch]:
3320 * output_docbook.[Ch]:
3321 * output_latex.[Ch]:
3322 * output_linuxdoc.[Ch]:
3323 * output_plaintext.[Ch]:
3325 * paragraph_funcs.[Ch]:
3326 * paragraph_pimpl.[Ch]:
3334 * frontends/controllers/ControlDocument.C:
3335 * frontends/controllers/ControlErrorList.C:
3336 * frontends/controllers/ControlSpellchecker.C:
3339 * insets/insetbase.h:
3340 * insets/insetbibitem.C:
3341 * insets/insetbox.C:
3342 * insets/insetbranch.C:
3343 * insets/insetcaption.C:
3344 * insets/insetcharstyle.C:
3345 * insets/insetcharstyle.h:
3346 * insets/insetcollapsable.C:
3347 * insets/insetcollapsable.h:
3348 * insets/insetert.C:
3349 * insets/insetfloat.C:
3350 * insets/insetfoot.C:
3351 * insets/insetmarginal.C:
3352 * insets/insetnote.C:
3353 * insets/insetoptarg.C:
3354 * insets/insettabular.C:
3355 * insets/insettext.C:
3356 * insets/insettext.h:
3357 * insets/insetwrap.C:
3358 * mathed/math_mboxinset.C:
3359 * mathed/math_nestinset.C:
3360 * mathed/math_scriptinset.C:
3361 * mathed/math_scriptinset.h:
3364 2004-03-24 Angus Leeming <leeming@lyx.org>
3366 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3367 deal with any child processes that have finished but are waiting to
3368 communicate this fact to the rest of LyX.
3370 2004-03-24 Angus Leeming <leeming@lyx.org>
3372 64-bit compile fixes.
3374 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3375 (c-tor): pass lyx::pos_types rather than ints.
3377 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3380 * text.C (Delete): compile fix.
3381 (getPar): ensure that function declaration is the same as that in
3384 2004-03-23 Angus Leeming <leeming@lyx.org>
3386 * ispell.C (LaunchIspell):
3387 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3388 a boost::shred_ptr rather than a std::auto_ptr.
3390 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3392 * lyxfunc.C (getStatus): handle read-only buffers correctly;
3393 handle LFUN_FILE_INSERT_*
3395 * lyxrc.C (setDefaults, getDescription, output, read):
3396 * lyxrc.h: remove ps_command
3398 2004-03-22 Angus Leeming <leeming@lyx.org>
3400 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3401 Ensure that error_handler is processed once only and that all data
3402 is saved before attempting to output any warning messages.
3404 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3406 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
3408 * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3410 2004-03-19 André Pönitz <poenitz@gmx.net>
3412 * cursor.[Ch] (reset): take main text inset as argument
3414 * BufferView: adjust
3415 * BufferView_pimpl.C: adjust
3417 * paragraph.[Ch]: fix completely broken operator=()
3419 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3421 * LColor.C (getFromLyXName): make sure that the color name is used
3424 2004-03-17 Angus Leeming <leeming@lyx.org>
3427 * LyXAction.C (init): remove LFUN_FORKS_KILL.
3429 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3430 dialog and to kill a forked process.
3432 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3434 * text2.C (setCursorFromCoordinates): fix font problem
3436 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3438 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3439 bogus "rebuild cursor" code
3441 2004-03-11 André Pönitz <poenitz@gmx.net>
3443 * buffer.[Ch]: use InsetText instead of LyXText as container for
3446 * dociterator.[Ch]: drop the BufferView * member which is not needed
3447 anymore after the change to buffer.C
3449 * paragraph_funcs.C:
3453 * BufferView_pimpl.[Ch]:
3455 * cursor_slice.[Ch]: adjust
3457 * text3.C: fix bug in mathDispatch
3459 2004-03-08 André Pönitz <poenitz@gmx.net>
3461 * undo.[Ch]: use 'StableDocumentIterator' as base for
3464 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3467 * bufferparams.[Ch]: add jurabib support and param.
3469 * LaTeX.C: add FIXME/comment.
3471 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3473 * buffer.C: increment file format to 230.
3475 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
3477 * cursor.C (dispatch): avoid infinite loops
3479 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3481 * rowpainter.C (paintSelection): fix x coordinates
3483 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3485 * text.C (rowBreakPoint): fix breaking before displayed insets
3487 2004-03-01 André Pönitz <poenitz@gmx.net>
3489 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3491 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3495 * BufferView_pimpl.C:
3503 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3509 * BufferView_pimpl.C: rename textwidth -> maxwidth,
3510 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3512 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3514 * Bidi.[Ch] (computeTables): const correctness
3515 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3516 fill_hfill, fill_label_hfill and x from Row
3517 * lyxtext.h: prepareToPrint returns a RowMetrics
3518 * rowPainter.C: adjust
3519 * text.C (prepareToPrint): use width, not textWidth. adjust
3520 (redoParagraphInternal, cursorX): adjust
3521 * text2.C (getColumnNearX): adjust
3522 (init): put a default value to the top LyXText::width
3524 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3526 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3528 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3530 * lyxtext.h: add FontIterator class
3532 * text.C (FontIterator, operator*, operator->, operator++): add
3533 (rowBreakPoint, setRowWidth): adjust (fixing a
3536 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3538 * BufferView_pimpl.C (workAreaDispatch): allow also
3539 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3541 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
3543 * text.C (rowBreakPoint): fix a bug showing with very large insets
3545 2004-02-25 André Pönitz <poenitz@gmx.net>
3548 * cursor.[Ch]: move some mathed specific code to mathed
3550 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3552 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3553 use_tempdir in preferences
3554 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3556 * lyx_main.C: ensure that tempdir is valid
3557 * lyxlex.h: correct typo
3558 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3559 * paragraph.[Ch] (isMultiLingual): make const
3560 * cursor.[Ch] (openable): make const
3562 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3564 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3566 2004-02-20 André Pönitz <poenitz@gmx.net>
3568 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3570 * cursor.[Ch]: prepare for localized getStatus()
3576 * text3.C: streamlines the LyXText cursor movement handlers a bit.
3578 2004-02-20 André Pönitz <poenitz@gmx.net>
3580 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3582 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3584 * text2.C (setCursorFromCoordinates): switch to absolute coords
3586 (cursorDown): adjust
3587 * text3.C (dispatch): adjust
3589 2004-02-16 André Pönitz <poenitz@gmx.net>
3591 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3594 * cursor_slice.[Ch]: remove unneeded acessor function
3596 * lyxtext.h: rename rtl() to isRTL()
3604 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3606 * rowpainter.C (paintSelection): coord fix
3608 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3610 * Spacing.C: compile fix
3612 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3614 * cursor.C (dispatch): restore current_ before returning
3616 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3618 * text2.C (cursorUp, cursorDown): fix coords
3621 2004-02-12 André Pönitz <poenitz@gmx.net>
3626 * text3.C: add LCursor & parameter to most cursor movement functions
3627 remove usage of LyXText::cursorRow() and cursorPar()
3629 * cursor.[Ch]: add textRow() needed members
3632 * BufferView_pimpl.C:
3635 * BufferView_pimpl.C: adjust
3637 2004-02-11 André Pönitz <poenitz@gmx.net>
3641 * BufferView_pimpl.C: shift undo/redo handling
3643 * cursor.[Ch]: fix mathed crash
3646 * lyxtext.h: move selectionAsText to LCursor
3654 * rowpainter.C: fix excessive drawing
3656 2004-02-06 André Pönitz <poenitz@gmx.net>
3659 * BufferView_pimpl.[Ch]:
3660 * text3.C: move some text specific LFUN handling
3662 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
3664 * text3.C (checkInsetHit): adjust coords
3665 * text2.C (getColumnNearX): adjust coords
3666 (edit): adjust coords
3667 * text.C (getRowNearY): add two asserts
3669 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
3672 * format.C: add using std::distance to compile on gcc 2.95/stlport
3674 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
3676 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3678 2004-02-04 André Pönitz <poenitz@gmx.net>
3680 * BufferView.[Ch] (insertInset):
3681 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3686 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3688 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3689 on the default clause of the switch
3690 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3691 wasn't catched by LCursor::dispatch
3693 2004-02-03 André Pönitz <poenitz@gmx.net>
3696 * cursor.[Ch]: some additional asserts
3698 * undo.[Ch]: remove LyXText dependency in interface
3702 * lyxtext.h (firstPar, lastPar): remove dead functions
3707 * paragraph.[Ch]: adjust
3709 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3711 * lyxfind.C (find): fix argument order in call to ::find
3713 2004-02-02 André Pönitz <poenitz@gmx.net>
3715 * cursor.[Ch]: remove direct access to anchor
3717 * text.C: remove findText() hack
3719 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3721 * iterators.[Ch] (lockPath): remove in favour of...
3722 * BufferView.[Ch] (setCursor): this addition
3723 * BufferView.C (putSelectionAt): adjust
3724 * undo.C (performUndoOrRedo): adjust
3725 * lyxfunc.C (dispatch): adjust
3727 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3729 * iterators.C (lockPath): add a missing slice
3730 * undo.C (performUndoOrRedo): remove redundant positioning code
3732 2004-02-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3734 * vc-backend.C (scanMaster): ";" -> ';'
3736 2004-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
3738 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3739 std::binary_function
3741 * lyxtextclass.C (compare_name): rename to...
3742 (LayoutNamesEqual): ...this
3744 * lyxlex_pimpl.C (compare_tags): inherit from
3745 std::binary_function, put back into anon namespace
3747 * lyxfind.C (MatchString): inherig from std::binary_function
3748 (findChange): use empty() istead of !size()
3750 * format.C (FormatNamesEqual): new functor
3757 * converter.C (compare_Converter): rename to...
3758 (ConverterEqual): ...this, and fixup a bit.
3759 (getConverter): use it, and make function const
3760 (getNumber): use it, and make function const
3764 * bufferlist.C: add using boost::bind
3766 * MenuBackend.C (MenuNamesEqual): new functor
3767 (hasMenu): use it, and make function const
3768 (hasSubmenu): use nested bind to get rid of compare_memfun.
3770 2004-01-30 André Pönitz <poenitz@gmx.net>
3772 * BufferView_pimpl.C:
3775 * cursor_slice.[Ch]:
3778 * paragraph_funcs.C:
3779 * paragraph_funcs.h:
3783 * text3.C: move some of the edit(x,y) handling to the insets
3784 some coordinate changes.
3786 2004-01-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3788 * text.C: add using statements for std::advance and std::distance
3790 * paragraph.C: add using statement for std::distance
3792 * lyxfind.C: add using statement for std::advance
3794 * cursor.C (region): remove std:: from swap
3795 (openable): use nucleus in stead of operator->
3797 * BufferView.C: add using statements for std::distance and std::swap
3799 2004-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3801 * iterators.C: Remove the pimple, move the needed structures to
3802 the header file. Create accessor for the positions stack.
3803 (asPosIterator): remove function
3805 * PosIterator.C (PosIterator): move constructors to top of file
3806 (PosIterator): reimplement the constructor taking a ParIterator in
3808 (setFrom): new function
3809 (operator!=): inline it
3811 2004-01-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3813 * lyxfind.C (replaceAll): use std::advance
3815 * iterators.h: inherit from std::iterator.
3817 * PosIterator.C (advance, distance): remove
3818 * PosIterator.h: interit from std::iterator.
3820 2004-01-26 André Pönitz <poenitz@gmx.net>
3823 * BufferView_pimpl.[Ch]:
3827 * bufferview_funcs.C:
3837 * output_linuxdoc.C:
3838 * output_plaintext.C:
3840 * paragraph_funcs.[Ch]:
3841 * paragraph_pimpl.[Ch]:
3847 * text3.C: more IU: dumps most of the rest of the mathcursor
3848 implementation into cursor.[Ch]; "globalize" a bit of it.
3850 2004-01-25 Angus Leeming <leeming@lyx.org>
3852 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3854 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3856 * LaTeXFeatures.h: add nice_ and nice() const
3857 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3859 2004-01-20 André Pönitz <poenitz@gmx.net>
3862 * BufferView_pimpl.C:
3864 * bufferview_funcs.C:
3866 * cursor_slice.[Ch]:
3877 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3878 LCursor and mathcursor parts to LCursor and InsetBase.
3880 2004-01-15 André Pönitz <poenitz@gmx.net>
3882 * cursor_slice.[Ch]: add a few covienience functions
3884 * funcrequest.[Ch]: remove BufferView * member
3886 * BufferView_pimpl.C:
3893 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
3895 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
3897 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
3898 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3900 2004-01-13 André Pönitz <poenitz@gmx.net>
3903 * lyxtext.h: hide cursor and selection anchor behind accessor function
3906 * BufferView_pimpl.[Ch]:
3908 * bufferview_funcs.C:
3918 * cursor_slice.[Ch]: some integer type changes for inset unification
3920 * lyxcursor.[hC]: remove, it's CursorSlice now.
3923 * BufferView_pimpl.[Ch]:
3924 * bufferview_funcs.C:
3930 * textcursor.[Ch]: adjust
3932 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
3934 * text2.C (undoSpan): add and use
3935 * text.C (breakParagraph): use undoSpan (fix bug 578)
3938 2004-01-08 Angus Leeming <leeming@lyx.org>
3940 * BufferView_pimpl.C (MenuInsertLyXFile):
3941 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3942 * lyxfunc.C (menuNew, open, doImport):
3943 FileFilterList change to the FileDialog open and save functions.
3945 2004-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
3947 * ShareContainer.h: make isEqual and isUnique adaptable
3949 * CutAndPaste.C: make resetOwnerAndChanges adaptable
3951 2004-01-07 Angus Leeming <leeming@lyx.org>
3954 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3956 * BufferView_pimpl.C (dispatch): act on these LFUNs.
3958 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3959 functions replacing find, replace and replaceAll.
3961 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3962 LFUN_WORDFIND(FORWARD|BACKWARD).
3964 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3966 * text.C (breakParagraph): remove an outdated #warning
3968 2004-01-07 André Pönitz <poenitz@gmx.net>
3970 * lyxfind.C: somewhat clearer logic
3972 * text.C: prevent crash in cursorX on unitialized row cache
3974 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3976 * lyxcursor.[Ch] (operator>): add
3977 * textcursor.C (selStart, selEnd): use std::min and std::max
3979 2004-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3981 * Chktex.C: include boost/format.hpp
3983 2004-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
3985 * InsetList.C: replace functor MathcIt with adaptable functor
3987 (insetIterator): modify accordingly
3989 * BranchList.h: move the BranchNamesEqual functor here from...
3990 * BranchList.C: ... to here
3992 * BranchList.C: new BranchListEqual fuctor, use it. Remove
3994 (add): replace a finding loop with std::find_if.
3996 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
3998 * output_docbook.C: moving LatexParam functionality into
4001 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4003 * buffer.C: increment format to 229.
4005 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
4008 * lyx_sty.[Ch]: remove minipageindent_def
4014 * text3.C: remove LFUN_INSET_MINIPAGE
4016 2003-12-28 Angus Leeming <leeming@lyx.org>
4018 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
4020 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
4022 * text2.C (setParagraph): fix off-by-one crash
4024 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
4026 * output_docbook.C: header stuff for AGU
4028 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
4030 * text2.C (redoCursor): remove
4033 * BufferView_pimpl.C: remove calls to redoCursor and
4034 setCursor(cursor.par(), cursor.pos()) all around
4036 2003-12-15 Angus Leeming <leeming@lyx.org>
4038 * buffer.C: up the format to 228.
4040 2003-12-15 André Pönitz <poenitz@gmx.net>
4042 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
4047 * BufferView_pimpl.C:
4056 2003-12-15 Angus Leeming <leeming@lyx.org>
4058 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
4059 than getFromGUIName to manipulate the color.
4061 2003-12-14 Angus Leeming <leeming@lyx.org>
4063 * BranchList.[Ch]: minimize the API.
4064 (Branch::getBranch, getColor): now return a 'const &'.
4065 (Branch::setSelected) now returns a bool set to true if the
4066 selection status changes.
4067 (BranchList::clear, size, getColor, setColor, setSelected,
4068 allBranches, allSelected, separator): removed.
4069 (BranchList::find): new functions, returning the Branch with
4071 (BranchList::add, remove): return a bool indicating that
4072 the operation was successful.
4074 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
4075 new InsetBranch::isBranchSlected member function.
4077 * LColor.[Ch]: mimimize the API.
4078 (fill): renamed as addColor and made private.
4079 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
4080 versions of these functions taking a string arg have been removed.
4082 * bufferparams.C (readToken):
4083 * lyxfunc.C (dispatch):
4084 * lyxrc.C (read): changes due to the altered BranchList and
4087 * factory.C (createInset, readInset): changes due to altered
4090 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4093 * lyxfunc.C: remove insetminipage. "minipage-insert"
4094 now produces a frameless minipage box inset.
4096 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4098 * textcursor.[Ch] (selStart,selEnd): add new methods
4099 remove selection::start, end, use LyXCursor::operator<
4100 * lyxcursor.[Ch] (operator<): add
4101 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
4102 * BufferView.[Ch] (unsetXSel): add
4103 * text2.C (clearSelection): use unsetXSel,adjust
4106 * rowpainter.C: adjust
4107 * bufferview_funcs.C (put_selection_at): adjust
4109 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4111 * BufferView_pimpl.C: small coord. correction
4113 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4115 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
4116 dragging over the splash screen.
4118 2003-12-11 Angus Leeming <leeming@lyx.org>
4120 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
4121 as it is now handled in LyXText::dispatch.
4123 * text3.C (doInsertInset): remove a level of nesting.
4125 2003-12-11 Angus Leeming <leeming@lyx.org>
4127 * factory.C (createInset): changes due to the changed interface to
4128 InsetCommandMailer::string2params.
4130 2003-12-10 Angus Leeming <leeming@lyx.org>
4132 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
4133 'dialog-show-new-inset <inset name>'
4135 2003-12-10 Angus Leeming <leeming@lyx.org>
4137 * buffer.C: up the format to 227.
4139 * factory.C: the box inset is now identified simply by 'Box'.
4141 2003-12-10 Angus Leeming <leeming@lyx.org>
4143 * buffer.C: up the format to 226.
4145 * factory.C: the note inset is now identified simply by 'Note'.
4147 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
4149 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
4150 when a pit is enough. Standarize a couple of loops.
4152 2003-12-05 Angus Leeming <leeming@lyx.org>
4154 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
4155 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
4156 data to the re-worked "log" dialog.
4158 2003-12-03 André Pönitz <poenitz@gmx.net>
4164 * paragraph_funcs.C:
4166 * text2.C: use Inset::getText instead of Inset::getParagraph
4168 2003-12-03 André Pönitz <poenitz@gmx.net>
4172 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
4173 InsetText::read() as LyXText::read()
4175 2003-12-02 Angus Leeming <leeming@lyx.org>
4177 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
4178 type. Add a comment in the implementation that the function uses
4179 the stream's bad() function rather than fail() as the std::streams
4182 2003-12-02 André Pönitz <poenitz@gmx.net>
4184 * lyxlex.[Ch]: make interface more similar to std::stream
4186 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
4188 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
4190 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
4192 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
4194 * vspace.[Ch]: remove VSpace::NONE
4196 2003-12-01 André Pönitz <poenitz@gmx.net>
4199 * lyxtext.h: move ParagraphList member to LyXText
4200 rename LyXText::ownerParagraphs to LyXText::paragraph
4203 * bufferview_funcs.C:
4213 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
4215 * undo.C: fix cursor positioning
4217 2003-12-01 John Levon <levon@movementarian.org>
4219 * BufferView_pimpl.C: fix a crash on exit with
4222 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
4224 * BranchList.C: fix setSelected() method.
4226 2003-11-28 André Pönitz <poenitz@gmx.net>
4228 * ParagraphParameters.[Ch]:
4229 * ParameterStruct.h: remove space above/below from Paragraph to
4232 * BufferView_pimpl.C:
4238 * paragraph_funcs.C:
4244 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
4246 * factory.C: Syntax change for CharStyles
4248 2003-11-28 André Pönitz <poenitz@gmx.net>
4253 * buffer.[Ch]: move LyXText member
4255 2003-11-28 André Pönitz <poenitz@gmx.net>
4257 * BufferView.[Ch]: make LyXText * text a private member
4259 * BufferView_pimpl.C:
4270 * output_plaintext.C: cleanup
4272 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
4275 * lyxtextclass.[Ch]: parametrize SGML document header
4277 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
4280 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4283 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
4285 * text2.C (setFont): rework using PosIterator (no more recursive)
4286 (setCharFont): no more needed
4287 (setLayout): no more selection cursors fiddling (done by redoCursor)
4288 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4289 destroy remaining ones)
4291 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
4293 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4295 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4298 * text3.C: adjust + re-allow multi par depth changes
4299 * textcursor.C: simplify a bit
4301 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
4307 * src/output_docbook.C:
4308 * src/output_latex.C:
4313 * src/text2.C: Introducing a number of tags parametrizing various
4314 XML formats that we may want to support
4316 2003-11-25 André Pönitz <poenitz@gmx.net>
4318 * InsetList.[Ch] (begein, end): inline as suggested by profiler
4320 * lyxtext.h (leftMargin/rightMargin): simplify interface
4327 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4329 * lyxfunc.C (dispatch): propogate the bibtex databases from the
4330 master file to any child files. Fixes bug 546.
4332 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4334 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4336 2003-11-24 André Pönitz <poenitz@gmx.net>
4338 * rowpainter.C: simplification
4340 * text2.C (updateCounters): remove call to redoParagraph on
4341 changed labels as this is far too expensive.
4343 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4345 * converter.C (convert): fix a crash: this function gets
4346 called with buffer == 0 from importer code.
4348 2003-11-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4350 * text3.C (cursorPrevious): make sure that we do not compare
4351 iterators form different containers.
4354 * rowpainter.C (paintSelection): make sure that we do not compare
4355 iterators from different containers.
4357 * text3.C (dispatch): [PRIOR] make sure that we do not compare
4358 iterators from different ParagraphList containers.
4361 * text2.C (LyXText): change order of initialization slightly
4362 (operator=): new function. copy all variables except cache_par_
4363 (moveUp): make sure that we do not compare iterators from
4364 different ParagraphList constainers.
4367 * text.C (firstPar): new function
4368 (lastPar): new function
4369 (endPar): new function
4371 * lyxtext.h: move things around and group public functions, public
4372 variables, private functions, private variables
4374 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
4376 * factory.C: change call to InsetERT constructor to avoid
4377 additional invocation of method status
4378 * text2.C (toggleInset): remove redundant update() call
4379 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4380 instead of a Bufferview pointer
4382 2003-11-21 André Pönitz <poenitz@gmx.net>
4384 * rowpainter.C: simplification
4386 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4388 * text3.C (dispatch): make possible to extend a word/row selection
4391 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4393 * lyxtext.h: x0_,y0_ -> xo_,yo_
4394 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4395 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4396 * rowpainter.C (paintRows): paint full paragraphs
4398 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4400 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4403 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4405 * lyxtext.h: add x0_, y0_
4406 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4407 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4409 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
4411 * text2.C (setCursorIntern): move the x_target update here *
4412 * text3.C: change some bv() to true/false in calls to
4413 cursorUp/Down/Right/Left
4414 * cursor.C: use helper function.
4416 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4418 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4419 * paragraph_funcs.[Ch]: correct comment
4420 * rowpainter.C: do not paint selections away from bv->cursor()
4421 Fix a long standing selection painting bug.
4422 * text3.C: generalize mouse-selection code to LyXTexts other that
4424 * textcursor.C: do not use y coords if we can use par offsets
4426 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4428 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4429 cursor position after e.g. inset insert)
4431 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
4433 * lyxfind.C (replace): adjust to locking removal + some
4436 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
4438 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4441 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
4444 * output_docbook.C: XML sanitation: new layout
4445 parameters InnerTag and CommandDepth
4447 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
4449 * BufferView_pimpl.C:
4451 * text3.C: Fix the insertion and modification of button-style
4454 2003-11-13 André Pönitz <poenitz@gmx.net>
4456 * InsetList.[Ch]: remove deleteLyXText
4458 * paragraph.[Ch]: cache beginOfBody position
4463 * text3.C: remove superfluous update() calls
4467 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
4469 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4470 * BufferView.C (fitLockedInsetCursor): remove
4471 * cursor.[Ch] (getDim): add
4472 * text.C (getRowNearY): add faster version
4473 * text3.C: remove some update calls
4475 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
4487 * text3.C: The Character Style /XML short element patch.
4489 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
4492 * factory.C: Small step to solving 'unable to insert some insets'
4495 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
4497 * cursor.[Ch] (updatePos): new function for updating the y
4498 position of the tip inset
4499 * bufferview_funcs.C (put_selection_at):
4500 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4502 2003-11-11 André Pönitz <poenitz@gmx.net>
4504 * text.C: remove big comment on invalid Paragraph pointers as it is
4507 2003-11-11 André Pönitz <poenitz@gmx.net>
4509 * text_funcs.[Ch]: merge with ...
4517 * Makefile.am: remove text_funcs.[Ch]
4519 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
4521 * cursor.C (getPos): return absolute cached y coord
4523 * BufferView_pimpl.C (fitCursor): new simplistic code
4524 (workAreaDispatch): add a fitCursor call
4526 2003-11-10 André Pönitz <poenitz@gmx.net>
4529 * BufferView_pimpl.[Ch]: merge update() and updateInset()
4531 2003-11-10 André Pönitz <poenitz@gmx.net>
4533 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4534 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4535 indicate that the cursor needs to leave an inset
4537 * lyxtext.h: remove inset locking
4539 * cursor.[Ch]: re-implement functionality provided by inset locking
4542 * BufferView_pimpl.[Ch]:
4544 * bufferview_funcs.[Ch]:
4556 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
4558 * PosIterator.[Ch]: replace the stack with a vector, add inset
4560 * iterators.[C]: adjust
4562 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4564 * lyxfind.C (replaceAll): mark the buffer dirty if something was
4566 * paragraph_funcs.C (readParToken): put the correct id in the
4567 error item, not the id of the top paragraph
4569 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4571 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4572 * bufferview_funcs.C (put_selection_at): use the above
4574 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4576 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4578 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4580 * output_linuxdoc.h:
4581 * output_plaintext.h:
4583 * output_docbook.h: add #include statements
4585 2003-11-05 José Matos <jamatos@lyx.org>
4587 * output_docbook.[Ch]:
4588 * output_latex.[Ch]:
4589 * output_linuxdoc.[Ch]:
4590 * output_plaintext.[Ch]: New files for output formats.
4591 * output.[Ch]: New file for helper functions.
4594 * paragraph_funcs.[Ch]: output functions moved to new files.
4596 * outputparams.h: rename of latexrunparams.h
4604 * paragraph_funcs.[Ch]:
4605 * paragraph_pimpl.[Ch]:
4606 * tabular.[Ch]: rename ascii to plaintext
4607 and LatexRunParams to OutputParams.
4609 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4611 * iterators.[Ch] (text): require bv argument
4612 * undo.C (recordUndo):
4613 * lyxfunc.C (dispatch):
4614 * bufferview_funcs.C (put_selection_at): adjust
4616 2003-11-05 Jo� Luis M. Assirati <assirati@fma.if.usp.br>
4618 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4620 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4622 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4625 2003-11-04 André Pönitz <poenitz@gmx.net>
4627 * cursor.[Ch]: restructure
4630 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4632 * iterators.[Ch] (asCursor): remove
4634 * lfuns.h: remove LFUN_INSET_EDIT
4640 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4642 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4644 * lyxfind.[Ch]: complete overhaul
4645 * BufferView_pimpl.C:
4647 * paragraph.[Ch] (insert): add
4649 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4653 * text.C: remove dead spellcheck code
4655 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4657 * dispatchresult.h: add a val setter
4659 * cursor.C (dispatch): use a tempvar for data_[i]
4661 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4663 * PosIterator.[Ch]: compile fix
4665 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4667 * text.C (cursorPar): deactivate the cursor cache
4669 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4671 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4673 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4675 * text3.C (dispatch): adjust for new DisptchResult semantics.
4677 * lyxfunc.C (dispatch): handle update when return from
4678 Cursor::dispatch, adjust for new DispatchResult semantics.
4680 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4681 DispatchResult(true) mean to not update. Add class functions for
4682 setting dispatched and update, as well as reading.
4684 * cursor.C (dispatch): don't handle update here
4686 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4688 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4689 * trans_mgr.C: adjust
4691 * paragraph_funcs.C (readParToken): exception safety
4693 * lyxvc.h: store the vcs pointer in a scoped_ptr
4696 * lyxsocket.C (serverCallback): exception safety
4698 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4700 * ispell.C (clone): make it return a auto_ptr
4702 * factory.C (createInset): exception safety
4703 (readInset): exception safety
4705 * bufferlist.C (newBuffer): exception safety
4707 * Thesaurus.C (Thesaurus): use initialization for aik_
4709 * MenuBackend.C (expandToc): exception safety.
4711 2003-11-03 André Pönitz <poenitz@gmx.net>
4715 * bufferview_funcs.C: remove getInsetFromId()
4718 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4724 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4726 * PosIterator.C (distance, advance): new
4727 * bufferview_funcs.[Ch] (put_selection_at): new
4728 * iterators.[Ch] (lockPath): new
4730 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
4732 * iterators.[Ch] (asPosIterator): added
4733 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4734 * PosIterator.[Ch]: added
4736 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4740 * cursor.C (dispatch):
4741 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4743 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4744 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4745 contructor, add a class function dispatched. Remove operator>=
4747 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4749 * debug.C: only use the default constructor for debugstream
4752 * main.C (main): include debug.h and setup the lyxerr streambuf
4755 2003-10-31 José Matos <jamatos@lyx.org>
4757 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4759 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4760 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4761 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4762 * paragraph_pimpl.C (simpleTeXSpecialC):
4763 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4764 add LatexRunParams argument.
4766 * exporter.C (Export): change call accordingly.
4768 * latexrunparams.h: add new member to take care of the other backends.
4769 2003-10-30 José Matos <jamatos@lyx.org>
4771 * buffer.C (makeLinuxDocFile, makeDocBookFile):
4772 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4773 factorise code for paragraph output.
4775 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4778 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4780 * text3.C (dispatch):
4781 * lyxfunc.C (dispatch):
4782 * cursor.C (dispatch):
4783 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4785 * dispatchresult.h: make the dispatch_result_t ctor explicit
4787 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
4790 * buffer.C: small refactoring of docbook stuff
4792 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4794 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4797 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4799 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4800 operator dispatch_result_t, and operators for == != and >=
4802 * cursor.C (dispatch): adjust for operator dispatch_result_t
4803 removal. comment out call to update
4805 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4807 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4815 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4818 * dispatchresult.h: new file, DispatchResult broken out of
4821 * Makefile.am (lyx_SOURCES): add dispatchresult.h
4823 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4825 * text.C (rowBreakPoint): put a hack inside #if 0
4827 2003-10-28 André Pönitz <poenitz@gmx.net>
4831 * paragraph_funcs.C:
4834 * text2.C: general cleanup (lots of small stuff)
4836 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4838 * text2.C (cursorEnd): simple fix to the "end key goes to one
4839 before the end on last row" bug
4841 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4843 * text.C (backspace): fix the "zombie characters"
4845 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4847 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4849 2003-10-27 André Pönitz <poenitz@gmx.net>
4851 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4853 * factory.C: handle new InsetPagebreak, InsetLine
4855 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4856 and move handling into new InsetPagebreak, InsetLine
4858 * BufferView_pimpl.C:
4860 * ParagraphParameters.C:
4861 * ParameterStruct.h:
4866 * paragraph_funcs.C:
4867 * paragraph_pimpl.C:
4873 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4876 * lyxrow_funcs.[Ch]:
4882 * text3.C: remove lastPos uses in favour of Row::endpos
4884 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4886 * undo.C (performUndoOrRedo): fix two crashes by setting a
4887 cursor by hand and reordering some calls. Use bv->lockInset instead
4888 of inset->edit because the latter loses cursor information
4890 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
4892 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4894 (rowBreakPoint): fix width. change point to point + 1.
4895 Add a missing check.
4897 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
4900 * lyxfunc.C: fix (at least partly) the problems
4901 with the Nav menu and headers inside branch insets
4904 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
4906 * paragraph.C (getChar): add strong asserts
4908 * lyxrow_funcs.C (lastPos): remove hideous hack
4910 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4911 (fill): adjust to that (avoid an infinite loop)
4913 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
4915 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4917 2003-10-23 André Pönitz <poenitz@gmx.net>
4919 * RowList_fwd.h: change list<> to vector<> to gain speed
4920 after suggestion from Alfredo
4922 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
4924 * lyxtext.h: move the bidi stuff from here...
4927 * Bidi.[Ch]: ... to here
4929 2003-10-23 André Pönitz <poenitz@gmx.net>
4932 * text.C (isLastRow, isFirstRow): new functions
4934 * paragraph.h: new width cache member
4936 * rowpainter.C: replace RowList::iterator with Row & where possible
4938 * lyxfunc.C: replace several view()->text with a single call
4940 * toc.C: fix 'unused' warning
4942 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4944 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4945 when woring with stream::pos_type
4946 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4948 2003-10-22 André Pönitz <poenitz@gmx.net>
4951 * text.C: use Row & instead of RowList::iterator
4953 * lyxrow.h: rename end() to endpos()
4959 2003-10-22 Angus Leeming <leeming@lyx.org>
4961 * buffer.[Ch] (fully_loaded): new member function, returning true
4962 only when the file has been loaded fully.
4963 Used to prevent the premature generation of previews and by the
4964 citation inset to prevent computation of the natbib-style label.
4966 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4967 templates are all set up.
4969 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4971 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
4973 * text.C: fixed an "oops" in the "is a bit silly"
4976 2003-10-21 André Pönitz <poenitz@gmx.net>
4978 * FuncStatus.[Ch]: small stuff, whitespace
4980 * lyxfont.[Ch]: operator<<() for debug reasons
4984 * lyxtext.h: whitespace, spelling
4986 * paragraph.C: naming of variables
4989 * text2.C: small stuff
4992 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
4994 * text.C: (1) finish off the inset display() work;
4995 (2) fix the "is a bit silly" bug (accessing char
4998 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
5000 * text.C: re-introduce display() for insets, fixing the
5001 various bugs (stretch of line above, math inset
5004 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5006 * text.C (rightMargin): remove spurious semicolon
5008 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
5011 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
5013 * text3.C: fix one crash due to wrong cursor def
5015 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5017 * vc-backend.C (scanMaster): make the regex static
5019 * LaTeX.C (scanAuxFile): make the regexs static
5021 * text3.C (doInsertInset, dispatch, dispatch):
5022 * text2.C (cursorUp, cursorDown):
5023 * text.C (selectNextWordToSpellcheck):
5024 * BufferView_pimpl.C (dispatch):
5025 * lyxfunc.C (dispatch): localDispatch -> dispatch
5027 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5029 * lyxsocket.C: include <cerrno>
5031 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5033 * lyxfunc.C (dispatch): remove textcache stuff
5035 * bufferlist.C (release): remove textcache stuff
5038 * TextCache.C: delete file
5039 * TextCache.h: delete file
5041 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
5043 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
5044 delete of the bv_->text.
5045 (resizeCurrentBuffer): remove texcache stuff
5046 (workAreaResize): ditto
5048 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5050 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
5053 2003-10-16 André Pönitz <poenitz@gmx.net>
5060 * text3.C: speed up by storing y positions per paragraph plus per-row
5061 offset instead of having a 'full' y position in the row.
5063 2003-10-15 André Pönitz <poenitz@gmx.net>
5067 * undo.[Ch]: make undo aware of inner insets
5069 2003-10-14 Angus Leeming <leeming@lyx.org>
5071 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
5072 static member functions LyX::ref() and LyX::cref.
5073 (lastfiles): new accessor functions for the new lastfiles_ member var.
5074 (addLyXView, views_): add a new LyXView to the list of views_.
5075 (updateInset): loop over all LyXViews to call their own updateInset
5076 member function, returning a pointer to the Buffer owning the inset.
5078 * BufferView_pimpl.C (loadLyXFile):
5079 * MenuBackend.C (expandLastfiles):
5080 * bufferlist.C (MenuWrite, QuitLyX):
5081 lastfiles is no longer a global variable.
5082 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
5084 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
5085 static function. Access through LyX::cref().emergencyCleanup().
5087 2003-10-14 André Pönitz <poenitz@gmx.net>
5089 * iterators.[Ch]: new direct access to innermost LyXText and Inset
5091 * undo.[Ch]: restoring part of 'undo in insets'
5094 * undo_funcs.[Ch]: merge with undo.[Ch]
5096 * tabular.C: small cleansing stuff
5098 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
5100 * paragraph_funcs.C (readParToken): report unknown insets as error
5101 boxes. Use the outer paragraph as location (also for unknown
5104 * factory.C (readInset): do not abort on reading an unknown inset.
5105 Eat it and return 0.
5107 2003-10-13 Angus Leeming <leeming@lyx.org>
5109 * lyx_main.C (LyX): remove call to setDisplayTranslator().
5111 * lyxrc.C: displayTranslator is now a function,
5112 declared in GraphicsTypes.h.
5114 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5116 * format.C: new placeholder $$a to pass the socket address.
5118 * bufferlist.[Ch]: new function getBufferFromTmp.
5120 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
5121 files in the temporary dir.
5123 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5125 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
5127 * Makefile.am: add lyxsocket.[Ch].
5129 * lyx_main.C (error_handler): handle SIGPIPE.
5131 2003-10-13 André Pönitz <poenitz@gmx.net>
5133 * BufferView_pimpl.C:
5138 * undo_funcs.[Ch]: use paroffset_type instead of
5139 ParagraphList::iterators to prevent multiple conversion
5140 (and get a more robust interface)
5142 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5144 * lyxfunc.C (dispatch): RESULT -> dispatch_result
5146 * text3.C (dispatch): ditto
5148 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5150 * LaTeX.C (handleFoundFile): move the static to smaller scope,
5151 move the onlyfile, use onlyfile instead of foundfile in a couple
5154 * DepTable.C (update): flush the error stream a bit more
5156 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5158 * lyxserver.C (callback): adjust
5160 * lyxfunc.C (getStatus): add a missing brace in commented code
5161 (ensureBufferClean): reindent
5162 (dispatch): delete version taking a string
5164 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5166 * LaTeX.C (deplog): move found file handlig from here...
5167 (handleFoundFile): .. to new function here.
5168 (deplog): make sure to discover several files mentioned on the
5171 2003-10-10 André Pönitz <poenitz@gmx.net>
5178 * text3.C: fix some of the tabular crashes
5180 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5182 * MenuBackend.C (binding): put debug message into Debug::KBMAP
5184 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
5186 2003-10-09 André Pönitz <poenitz@gmx.net>
5188 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
5191 * BufferView_pimpl.C:
5192 * bufferview_funcs.C:
5203 * undo_funcs.C: adjust
5205 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5207 * text2.C (incrementItemDepth): new function, use a backtracking
5208 algorithm to discover the correct item depth.
5209 (resetEnumCounterIfNeeded): new function, use a backtracking
5210 algorithm to discover if counter reset is needed.
5211 (setCounter): use them. Simplify a bit. Add different labels for
5212 different item depths for itemize.
5214 * paragraph.C (Paragraph): remove initialization of enumdepth
5217 * paragraph.h: get rid of enumdepth, and use itemdepth both for
5218 enumerate and itemize. Change the type of itemdepth to signed char.
5220 2003-10-08 André Pönitz <poenitz@gmx.net>
5222 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5227 * tabular.[Ch]: fix crash after 'row-insert'
5229 2003-10-08 Angus Leeming <leeming@lyx.org>
5231 Fix doxygen warnings.
5233 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5234 Remove CutAndPaste:: prefix from header file declaration.
5236 * LColor.h (fill): remove LColor:: prefix from declaration.
5238 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5239 use lyx::depth_type rather than Paragraph::depth_type so that
5240 header file and .C file match.
5242 * converter.h (intToFormat): remove Converters:: prefix from declaration.
5244 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5245 * aspell.C: \file aspell_local.C -> \file aspell.C
5246 * gettext.C: \file gettext.C -> \file src/gettext.C
5247 * gettext.h: \file gettext.h -> \file src/gettext.h
5248 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5249 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5250 * text.C: \file text.C -> \file src/text.C
5252 * toc.C: move comment so that doxygen is not confused.
5254 2003-10-07 Angus Leeming <leeming@lyx.org>
5256 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5258 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5261 * aspell_local.h: add forgotten std::string's.
5263 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
5270 * text3.C: The Box patch. Fancybox support, minipage, parbox
5272 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
5278 * ParagraphParameters.h:
5288 * lyxtextclasslist.h:
5291 * paragraph_pimpl.C:
5292 * textcursor.h: add <string> and other small fixes to make Lars'
5293 std::string patch compile with STLport.
5295 2003-10-06 Angus Leeming <leeming@lyx.org>
5297 * LColor.h: Add missing #include <string>.
5299 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5301 * All most all file in all subdirs: Make <string> be the prefered
5302 way of getting to std::string, add using declarations.
5304 2003-10-06 André Pönitz <poenitz@gmx.net>
5306 * metricsinfo.C: initialize LyXFont before changing attribute.
5307 (fixes the 'math in \emph is upright' bug)
5309 2003-10-06 André Pönitz <poenitz@gmx.net>
5311 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5313 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
5316 * paragraph_pimpl.C: Small fixes to build using STLport
5318 2003-10-02 André Pönitz <poenitz@gmx.net>
5321 * text3.C: move handling of LFUN_DEPTH *; fix #1360
5323 2003-10-01 André Pönitz <poenitz@gmx.net>
5325 * factory.C: assert early
5327 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5329 * lyx_main.C: remove the global debug object
5331 * debug.h: adjust for new debugstream
5333 * debug.C: adjust for new debugstream and keep the global debug
5336 2003-09-22 Angus Leeming <leeming@lyx.org>
5338 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5339 of g++ which otherwise complain that the scoped_ptr destructor can't delete
5340 an incomplete class LyXFont.
5342 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
5344 * factory.C: bug fix in branches
5346 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5348 * lyxfunc.C (processKeySym): adjust
5350 (dispatch): change arg name from ev to func, adjust
5351 (sendDispatchMessage): ditto
5353 * lyx_main.C (defaultKeyBindings): adjust keybindings
5354 (deadKeyBindings): ditto
5356 * kbsequence.C (addkey): return a FuncRequest
5358 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5360 * kbmap.C (bind): take a FuncRequest as arg, adjust
5363 (defkey): change to take a FuncRequest as arg, adjust
5364 (findbinding): take a FuncRequest as arg, adjust.
5366 * funcrequest.h (operator=): added
5368 * funcrequest.C (FuncRequest): default kb_action changed from
5369 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5371 * buffer.C (dispatch): simplify
5372 (dispatch): adjust to take a FuncRequest as arg, adjust
5374 * boost.C (assertion_failed): change assertion message slightly
5376 * ToolbarBackend.C (read): simplify
5378 * MenuBackend.C (binding): adjust call to findbinding, add a
5379 message if no binding is found.
5381 (expandToc): correct by adding a empty FuncRequest
5383 * LyXAction.C: include <boost/assert.hpp>
5384 (isPseudoAction): delete function
5385 (LookupFunc): change name to...
5386 (lookupFunc): this. change return type to FuncRequest.
5387 (getActionName): take kb_action as arg, simplify
5388 (funcHasFlag): add an assert, simplify.
5390 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5392 * toc.C (action): return a FuncRequest, simplify
5394 * lyxfunc.C (processKeySym): adjust
5395 (getStatus): delete version that takes an int.
5397 (dispatch): delete version that takes action as int
5399 (sendDispatchMessage): simplify and adjust
5401 * funcrequest.C (getArg): take unsigned int as arg
5403 * ToolbarBackend.C (read): adjust
5404 (add): delete version that takes func as a string.
5405 (getIton): take a FuncRequest as arg
5407 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5410 * MenuBackend.C (MenuItem): add a new construct that only takes a
5411 Kind, simplify the constructor use for submenus.
5413 (expandLastfiles): adjust
5414 (expandDocuments): adjust
5415 (expandFormats): adjust
5416 (expandFloatListInsert): adjust
5417 (expandFloatInsert): adjust
5418 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5420 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5421 Remove class variables lyx_pseudo_map and lyx_arg_map
5423 * LyXAction.C (searchActionArg): delete function
5424 (getPseudoAction): delete function
5425 (retrieveActionArg): delete function
5426 (LookupFunc): make it return kb_action, simplify.
5427 (getActionName): simplify
5429 * factory.C (createInset): fix new bug
5431 2003-09-19 Angus Leeming <leeming@lyx.org>
5433 * CutAndPaste.C (pasteSelection): remove fudge used to set the
5434 masterFilename_ parameter in the include inset.
5436 * factory.C (createInset): changes due to the changes to InsetInclude.
5438 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5440 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5442 2003-09-18 Angus Leeming <leeming@lyx.org>
5445 * BufferView.C: pass the buffer when calling Inset::getLabelList,
5446 Inset::fillWithBibKeys.
5447 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5449 2003-09-18 Angus Leeming <leeming@lyx.org>
5451 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5453 (ctor): pass and store a 'Buffer const &'
5454 (buffer): new member function.
5456 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5457 '*this' to the LaTeXFeatures ctor.
5459 2003-09-18 Angus Leeming <leeming@lyx.org>
5465 * text.C: rename EnumLColor as LColor_color.
5467 2003-09-18 Angus Leeming <leeming@lyx.org>
5469 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5470 remove #include "insets/insetbase.h" from cursor.h.
5472 2003-09-18 Angus Leeming <leeming@lyx.org>
5474 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5475 InsetOld_code to remove #include "inset.h".
5477 * iterators.C: add #include "insets/inset.h"
5479 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
5481 * BufferView.C: remove more locking stuff that apparently doesn't
5482 do anything sensible.
5484 2003-09-16 André Pönitz <poenitz@gmx.net>
5487 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5490 2003-09-16 Angus Leeming <leeming@lyx.org>
5492 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5494 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5497 * paragraph.h: remove #include "lyxfont.h". Forward declare
5500 2003-09-16 Angus Leeming <leeming@lyx.org>
5502 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5503 of support/textutils.h.
5504 (isWord): move the contents of support/textutils.h's IsWordChar here.
5510 * text2.C: add #include "paragraph.h".
5513 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5515 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5521 * LaTeX.C: use namespace alias for lyx::support::os
5523 2003-09-16 Angus Leeming <leeming@lyx.org>
5526 * bufferview_funcs.C:
5529 * paragraph_pimpl.C:
5531 * text.C: add #include "LColor.h".
5533 2003-09-16 Angus Leeming <leeming@lyx.org>
5535 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5536 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5538 Store the FontBits::color variable as an int rather than as an
5539 LColor::colorso that we can move LColor.h out of the lyxfont.h header
5542 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5543 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5544 string calls together.
5546 * lyxrc.C: add #include "LColor.h".
5548 2003-09-15 Angus Leeming <leeming@lyx.org>
5550 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5553 2003-09-15 Angus Leeming <leeming@lyx.org>
5555 * LColor.h: add an EnumLColor wrapper for LColor::color.
5557 * lyxfont.[Ch] (color, setColor, realColor):
5558 * lyxtext.h, text.C (backgroundColor):
5559 pass EnumLColor args to/from the functions, rather than LColor::color
5563 * lyxtext.h: forward declare EnumLColor.
5565 * lyx_main.C: add #include "LColor.h".
5567 2003-09-15 Angus Leeming <leeming@lyx.org>
5569 * .cvsignore: add lyx-gtk.
5571 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5576 * ParagraphParameters.C
5580 * bufferview_funcs.C
5590 * vc-backend.C: remove usage of STRCONV
5592 2003-09-15 Angus Leeming <leeming@lyx.org>
5594 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5595 explicitly define the color passed to the painter.
5597 2003-09-15 Angus Leeming <leeming@lyx.org>
5599 * bufferparams.C (BufferParams): reorder member initializers to avoid
5602 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
5604 * CutAndPaste.C (pasteSelection): remove an outdated #warning
5605 * text.C (updateRowPositions): remove an unusual nop
5607 2003-09-12 André Pönitz <poenitz@gmx.net>
5609 * BufferView_pimpl.C:
5618 * Counters.[Ch]: finish the 'automatic counters' job
5620 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5622 * aspell.C: include <boost/assert.cpp> (compile fix)
5624 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
5626 * boost.C (assertion_failed): use lyx::support::abort instead of
5629 2003-09-10 Angus Leeming <leeming@lyx.org>
5631 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5632 with their _fwd progeny.
5634 2003-09-09 Angus Leeming <leeming@lyx.org>
5636 134 files throughtout the source tree: replace 'using namespace abc;'
5637 directives with the appropriate 'using abc::xyz;' declarations.
5639 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5641 * boost.C (emergencyCleanup): moved here from LAssert.c
5642 (assertion_failed): new function, called by BOOST_ASSERT
5644 * several files: change Assert to BOOST_ASSERT
5646 2003-09-09 Angus Leeming <leeming@lyx.org>
5648 * buffer.[Ch]: Add an Impl class and move Buffer's member
5649 variables into it. As a result move several header files out of
5652 Add header files to lots of .C files all over the tree as a result.
5654 2003-09-09 Angus Leeming <leeming@lyx.org>
5656 * buffer.[Ch]: make Buffer's member variables private. Add
5659 Lots of changes all over the tree as a result.
5661 2003-09-08 Angus Leeming <leeming@lyx.org>
5663 * graph.C: #include <config.h>.
5665 2003-09-08 Angus Leeming <leeming@lyx.org>
5669 * BufferView_pimpl.C:
5698 * toc.C: remove redundant using directives.
5700 2003-09-07 Angus Leeming <leeming@lyx.org>
5702 * LaTeXFeatures.h: remove #include "support/types.h".
5703 * ToolbarBackend.h: remove #include <algorithm>.
5704 * changes.h: remove #include <ctime>.
5705 * debug.h: remove #include <iosfwd>.
5706 * graph.h: remove #include "support/std_string.h".
5707 * lyx_main.h: remove #include <csignal>.
5708 * lyxlex_pimpl.h: remove #include <fstream>.
5709 * sgml.h: remove #include <algorithm>, <utility>.
5710 * toc.h: remove #include "support/std_ostream.h".
5711 Add #include <iosfwd>.
5713 2003-09-07 Angus Leeming <leeming@lyx.org>
5715 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5717 * converter.h: forward declare LatexRunParams.
5718 * encoding.h: remove #include "lyxrc.h".
5719 * lyxtext.h: remove #include "LColor.h".
5720 * lyxtextclass.h: remove #include "support/types.h".
5721 * trans.h: remove #include "tex-accent.h".
5722 * trans_mgr.h: remove #include "tex-accent.h".
5723 * insets/inset.h: remove #include "support/types.h", <vector>.
5724 * insets/insetcollapsable.h: remove #include "LColor.h".
5725 * insets/insetinclude.h: remove #include "dimension.h".
5726 * insets/insetlatexaccent.h: remove #include "dimension.h".
5727 * insets/insetoptarg.h:: remove #include "insettext.h".
5728 * insets/insettext.h: remove #include "dimension.h",
5729 <boost/shared_ptr.hpp>
5731 * insets/renderers.h: add #include "dimension.h".
5732 * insets/updatableinset.h: add #include "support/types.h".
5734 * many .C files: Associated changes.
5736 2003-09-06 Angus Leeming <leeming@lyx.org>
5738 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5739 one, inside testInvariant.
5741 * PrinterParams.C: new file.
5742 * PrinterParams.[Ch]: move the function bodies out of line.
5744 2003-09-06 Angus Leeming <leeming@lyx.org>
5746 * ParagraphParameters.h: forward declare ParameterStruct rather than
5747 including its header file.
5748 (depth): moved out-of-line.
5750 2003-09-06 Angus Leeming <leeming@lyx.org>
5752 * BufferView_pimpl.h:
5755 * lyxfunc.h: forward declare LyXKeySym rather than
5756 #include "frontends/LyXKeySym.h".
5758 * BufferView_pimpl.C:
5761 * lyxfunc.C: associated changes.
5763 2003-09-06 Angus Leeming <leeming@lyx.org>
5765 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5766 As a result, can remove the #include "insets/inset.h" from BufferView.h
5768 2003-09-06 Angus Leeming <leeming@lyx.org>
5770 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5771 As a result, can remove the #include "insets/inset.h" from BufferView.h
5773 2003-09-06 Angus Leeming <leeming@lyx.org>
5779 * bufferview_funcs.C:
5780 * BufferView_pimpl.C:
5785 * ParagraphParameters.C:
5790 * frontends/controllers/ControlDocument.C:
5791 * insets/insetcaption.C: rearrange the #includes into some sort of
5794 * buffer.h: remove #includes ErrorList.h, undo.h
5796 2003-09-06 Angus Leeming <leeming@lyx.org>
5798 * support/types.h: add a 'depth_type' typedef, used to store the
5799 nesting depth of a paragraph.
5802 * ParameterStruct.h: use this lyx::depth_type typedef rather than
5803 defining explicitly.
5806 * paragraph_funcs.h:
5807 * ParagraphParameters.h:
5808 * sgml.h: use lyx::depth_type rather than Paragraph or
5809 ParameterStruct's depth_type.
5812 * paragraph_funcs.h: no need to #include paragraph.h anymore.
5815 * BufferView_pimpl.C:
5817 * ParagraphParameters.C:
5820 * bufferview_funcs.C:
5827 * frontends/LyXView.C:
5828 * frontends/controllers/ControlDocument.C:
5829 * frontends/controllers/ControlErrorList.C:
5830 * insets/insetbibitem.C:
5831 * insets/insetbranch.C:
5832 * insets/insetcaption.C:
5833 * insets/insetcollapsable.C:
5834 * insets/insetenv.C:
5835 * insets/insetert.C:
5836 * insets/insetfloat.C:
5837 * insets/insetfoot.C:
5838 * insets/insetfootlike.C:
5839 * insets/insetnewline.C:
5840 * insets/insetquotes.C:
5841 * insets/insettabular.C:
5842 * insets/insettext.C:
5843 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5845 * frontends/controllers/ControlChanges.C: #include "changes.h".
5847 2003-09-06 Angus Leeming <leeming@lyx.org>
5849 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5850 than #including paragraph.h.
5853 * RowList.h: deleted. Superfluous.
5863 * insets/insettext.h: use ParagraphList_fwd.h rather than
5866 * paragraph.h: don't forward declare ParagraphList.
5869 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5870 rather than ParagraphList.h. paragraph.h is still needed for the
5871 Paragraph::depth_type parameters.
5873 * textcursor.h: enable it to compile stand-alone in light of the
5876 * bufferview_funcs.C:
5888 * frontends/controllers/ControlParagraph.C:
5889 * frontends/controllers/ControlTabular.C:
5890 * insets/insetmarginal.C:
5891 * insets/insetminipage.C:
5892 * insets/insetnote.C:
5893 * insets/insetoptarg.C: add header files needed to compile again.
5895 2003-09-06 Angus Leeming <leeming@lyx.org>
5897 * RowList_fwd.h: new file, forward-declaring Row rather than
5898 #including lyxrow.h.
5903 * insets/insettext.h: use it instead of RowList.h
5905 * bufferview_funcs.C:
5912 * text3.C: #include "RowList.h".
5914 2003-09-05 Angus Leeming <leeming@lyx.org>
5916 * factory.C (createInset):
5917 * vspace.C (c-tor): replace sscanf call with an istringstream.
5918 * ispell.C: re-add missing HP/UX headers.
5919 * lyxserver.C: re-add missing os2 headers.
5921 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
5930 * text3.C: re-add missing system headers, needed for 2.95.2.
5932 2003-09-05 Angus Leeming <leeming@lyx.org>
5934 Changes most place everywhere due to the removal of using directives
5935 from support/std_sstream.h.
5937 2003-09-05 Angus Leeming <leeming@lyx.org>
5939 Replace LString.h with support/std_string.h,
5940 Lsstream.h with support/std_sstream.h,
5941 support/LIstream.h with support/std_istream.h,
5942 support/LOstream.h with support/std_ostream.h.
5944 Changes resulting throughout the tree.
5946 2003-09-05 Angus Leeming <leeming@lyx.org>
5948 * sgml.h: ensure that the header file can be compiled stand-alone.
5949 * *.C: strip out redundant #includes. (320 in total.)
5951 2003-09-04 Angus Leeming <leeming@lyx.org>
5953 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
5954 here (from getPackages).
5956 * debug.[Ch]: add a new EXTERNAL tag.
5958 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5960 * text2.C (cursorEnd): simplify
5962 (getColumnNearX): adjust
5964 * text.C (computeBidiTables): adjust
5967 * rowpainter.C (paintChars): adjust
5968 (paintSelection): adjust
5969 (paintChangeBar): adjust
5972 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5974 (numberOfSeparators): adjust
5976 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
5982 * text3.C: Restricts the mouse click functionality
5983 of insets like bibtex, include, toc and floatlist to the visible
5984 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5985 up the dialogs. Cursor has to be in front of the inset (i.e.
5986 start of row) for this to function.
5988 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5990 * bufferview_funcs.C (currentState): output row information
5992 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5994 * bufferview_funcs.C (currentState): output paragraph position
5996 2003-09-04 Angus Leeming <leeming@lyx.org>
5998 * FloatList.h: move out #include "Floating.h".
5999 * LaTeX.h: move out #include "DepTable.h".
6000 * LyXAction.h: move out #include "funcrequest.h".
6001 * buffer.h: move out #include "author.h", "iterators.h".
6002 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
6003 * lyx_main.h: move out #include "errorlist.h".
6004 * lyxfunc.h: move out #include "FuncStatus.h".
6005 * lyxtext: move out #include "lyxcursor.h".
6006 * paragraph_pimpl.h: move out #include "counters.h".
6008 2003-09-03 Angus Leeming <leeming@lyx.org>
6010 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
6011 preamble_snippets list, enabling us to add snippets to the preamble
6012 only if the snippet was not there already.
6014 2003-09-04 Angus Leeming <leeming@lyx.org>
6016 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
6018 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6020 * lyxfunc.C (dispatch): if fitCursor did something be sure to
6023 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
6025 * BranchList.C: point fix, earlier forgotten
6027 2003-09-02 Angus Leeming <leeming@lyx.org>
6029 * box.C (contains): renamed from 'contained' after a fantastic
6032 2003-09-02 John Levon <levon@movementarian.org>
6038 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
6040 2003-09-02 John Levon <levon@movementarian.org>
6042 * text2.C: simplification of cursorEnd(), including partial
6045 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6047 * buffer.C (readFile): add a space
6049 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
6051 * BufferView_pimpl.C (update): remove bogus fitCursor() call
6053 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6055 * buffer.C (readFile): new function, take a filename and a
6056 ParagraphList::iterator
6058 (readFile): adjust, make it private. don't use setStream, make
6059 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
6060 always contain the filename.
6062 * BufferView.C (insertLyXFile): simplify and make it work for
6065 2003-08-30 John Levon <levon@movementarian.org>
6067 * Makefile.am: fix dist (from Kayvan)
6069 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6071 * most files: change to use const Buffer refs
6073 2003-08-27 André Pönitz <poenitz@gmx.net>
6075 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
6076 on top of ownerPar().
6078 2003-08-27 John Levon <levon@movementarian.org>
6080 * funcrequest.C: properly initialise POD members
6082 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
6084 * lyxtext.h (top_y): move top_y from here
6089 * BufferView_pimpl.[Ch]: to here
6090 * frontends/screen.C:
6091 * insets/insettabular.C:
6092 * insets/insettext.C: adjust
6093 * rowpainter.[Ch] (paintRows): remove LyXText & argument
6095 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
6098 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
6100 2003-08-26 André Pönitz <poenitz@gmx.net>
6102 * paragraph_func.[Ch] (outerPar): new function
6105 * paragraph_funcs.C:
6106 * paragraph_funcs.h:
6107 * paragraph_pimpl.C:
6108 * text2.C: remove Inset::par_owner
6110 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
6115 * text2.C: eliminates the needFullRow/display() stuff
6116 altogether, putting the logic in metrics/draw in the insets.
6118 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
6120 * text2.C (redoParagraphInternal, redoParagraphs):
6121 * text.C (redoParagraph): add a call to updateRowPositions at the
6122 end of each 'metrics-like' call. Remove all others.
6123 (getRow): remove the 'y-computing' version.
6124 (getRowNearY): do not compute nor return the real y. Solve the
6125 'y < 0' problem and simplify.
6127 2003-08-22 Angus Leeming <leeming@lyx.org>
6129 * *.[Ch]: clean-up of licence and author blurbs.
6130 Also move config.h out of a few .h files and into a few .C files.
6132 2003-08-22 André Pönitz <poenitz@gmx.net>
6134 * lyxrow.[Ch]: add x_ and *fill_ members
6139 * text2.C: adjust/remove prepareToPrint() calls
6141 2003-08-22 André Pönitz <poenitz@gmx.net>
6143 * lyxrow.[Ch]: add end_ member
6145 * lyxrow_funcs.C: use LyXRow::end_
6147 * lyxtext.h (singleWidth): add LyXFont parameter
6150 * text2.C: adjust LyXText::singleWidth() calls
6152 * text.C (redoParagraph): simplify row breaking logic
6155 2003-08-19 André Pönitz <poenitz@gmx.net>
6157 * funcrequest.C: initialize button_ member
6160 * rowpainter.[Ch]: interface consolidation
6162 2003-08-18 André Pönitz <poenitz@gmx.net>
6165 * BufferView_pimpl.C:
6167 * paragraph_funcs.C:
6169 * text3.C: remove LyXScreen::draw() and fitCursor calls
6171 * BranchList.h: remove spurious semicolons
6173 * MenuBackend.C: fix branchlist related crash
6175 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
6183 * bufferparams.[Ch]:
6187 * text3.C: implements the 'branch inset'
6188 idea. This allows the output of various versions of a document
6189 from a single source version, selectively outputing or suppressing
6190 output of parts of the text.
6191 This implementation contains a 'branch list editor' in a separate
6192 tab of the document settings dialog. Branches are user definable
6193 and have a "display colour" to distinguish them on-screen.
6195 ColorHandler was somewhat cleaned up.
6196 (1) make possible a dynamically growing LColor list by allowing
6197 the graphic context cache to grow along (vector);
6198 (2) eliminate an IMHO unnecessary step in colour allocation.
6200 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
6202 * BufferView_pimpl.C: compile fix
6204 2003-08-15 André Pönitz <poenitz@gmx.net>
6206 * rowpainter.C: remove extra metrics calls
6208 * lyxtext.h: merge the two constructors into a single one,
6209 pass reference to owner's par list
6211 * BufferView_pimpl.C:
6215 2003-08-15 André Pönitz <poenitz@gmx.net>
6217 * lyxrow_funcs.[Ch]:
6220 * paragraph_funcs.C:
6225 * text_funcs.C: split LyXText::rowlist_ into individual
6226 Paragraph::rows_ chunks
6229 * BufferView_pimpl.[Ch]:
6232 * text3.C: remove toggleSelection()
6234 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
6236 * bufferlist.C: beautify two alerts (shorter text of buttons)
6237 * buffer.C: Remove redundant ' ' from message
6239 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6240 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6241 rename VALIGN_CENTER to VALIGN_MIDDLE
6243 2003-08-11 André Pönitz <poenitz@gmx.net>
6245 * lyxtext.h (getPar):
6246 * text.C: new function
6248 2003-08-11 André Pönitz <poenitz@gmx.net>
6251 * tracer.[Ch]: remove unneeded files
6253 * InsetList.[Ch]: remove resizeInsetsLyXText()
6258 * text3.C: merge insertParagraphs() and appendParagraph()
6259 remove breakAgain(), update()
6261 * BufferView_pimpl.[Ch]:
6262 * bufferview_funcs.[Ch]:
6266 * tabular.C: adjust after text & InsetList changes.
6268 2003-08-08 André Pönitz <poenitz@gmx.net>
6270 * text.C (insertChar, backspace): replace rowlist fiddling
6271 with rebreak of full par
6274 * text.C (breakAgainOneRow, redoHeightOfParagraph,
6275 checkParagraph, updateInset): removed
6277 2003-08-07 André Pönitz <poenitz@gmx.net>
6280 * text3.C: merge some LFUN handlers, remove dead code
6282 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6284 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6286 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
6288 * text2.C (DEPM): fix part of bug 1255 and 1256
6290 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6292 * BufferView_pimpl.C (workAreaDispatch): change to use
6293 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6294 that are no mouse related.
6296 2003-08-05 André Pönitz <poenitz@gmx.net>
6299 * BufferView_pimpl.[Ch]:
6300 * bufferview_funcs.C:
6302 * text3.C: rip out "deep update"
6304 * textcursor.[Ch] (last_sel_cursor): remove unused member
6306 2003-08-04 André Pönitz <poenitz@gmx.net>
6309 * BufferView_pimpl.[Ch]:
6310 * ParagraphParameters.C:
6311 * bufferview_funcs.C:
6317 * text3.C: replace "complicated" BufferView::update(...) calls with
6320 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6322 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
6324 * Makefile.am (lyx_SOURCES): add paper.h
6326 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6328 * Makefile.am: move things around so that both lyx-qt and
6329 lyx-xforms can be built (according to --with-frontend). Then lyx
6330 is a symbolic link to lyx-[firstfrontend]
6332 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
6334 * Always use std::endl with lyxerr
6336 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
6338 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6340 2003-08-01 André Pönitz <poenitz@gmx.net>
6343 * BufferView_pimpl.[Ch]:
6345 * text3.C: merge BufferView::repaint() and BufferView::update()
6347 2003-08-01 José Matos <jamatos@lyx.org>
6349 * buffer.[Ch]: file_format is no longer a buffer data element.
6351 2003-08-01 André Pönitz <poenitz@gmx.net>
6356 * text2.C: make redoParagraph more independent of current cursor
6358 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6360 * text2.C: remove unneeded members
6362 2003-07-30 André Pönitz <poenitz@gmx.net>
6364 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6366 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6367 create a single function...
6369 * paragraph_funcs.C (moveItem): ... here.
6372 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6374 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6376 * LColor.[Ch]: Add comment and greyedout logical colors.
6378 2003-07-30 André Pönitz <poenitz@gmx.net>
6380 * tabular.C: don't use Assert too heavily. This crashes where it
6383 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
6385 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6386 is disabled (bug 1232)
6388 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6390 * factory.C: limited 'arg' scope
6392 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6394 * factory.C: fixed Note submenu issues
6396 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6398 * factory.C: submenu for Note/Comment/Greyedout
6400 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
6403 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6405 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
6408 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6409 greyedout. Patch provided by Jürgen Spitzmüller.
6411 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6413 * kbmap.C (read): fix error message when reading bind files
6415 2003-07-29 Angus Leeming <leeming@lyx.org>
6417 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6418 certainly does not do what it purports to do. I am doing it, and
6419 us, a favour by killing it.
6421 2003-07-28 José Matos <jamatos@lyx.org>
6423 * buffer.C (readBody, do_writeFile):
6424 * paragraph.C(readParagraph): \end_document replaces \the_end.
6426 2003-07-29 André Pönitz <poenitz@gmx.net>
6429 * BufferView_pimpl.[Ch]:
6433 * textcursor.[Ch]: remove toggleToggle & Co
6435 2003-07-28 José Matos <jamatos@fep.up.pt>
6437 * buffer.C (readParagraph):
6438 * params_func (readParToken, readParagraph):
6439 * paragraph.C (write): \layout -> \begin_layout.
6441 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6443 * lyxlex_pimpl.C (setFile): clean up slightly.
6445 * bufferparams.h: add compressed var
6447 * buffer_funcs.C (readFile): adjust for LyXLex change
6448 (newFile): ditto + simplify
6450 * buffer.C (writeFile): handle writing of compressed files
6452 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6453 Check if the file is compressed and set a bufferparm if so.
6455 * Makefile.am (lyx_LDADD): remove explicit -lz
6457 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6459 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6460 makeDocBookFile): put the real LyX version in the first line of
6464 * version.C.in: remove lyx_docversion
6466 * tabular.C (write_attribute): add a template-based version to
6467 write enums properly
6469 2003-07-28 André Pönitz <poenitz@gmx.net>
6474 * text3.C: use doubles again for x-coordinates. They are needed.
6476 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6478 * messages.C (getLocaleDir): use lyx_localedir()
6480 * lyxlex_pimpl.C (setFile): compress stuff
6482 * buffer.C (writeFile): add some compression stuff
6483 (do_writeFile): new func, dont call expliti close... will this
6486 * Makefile.am (lyx_LDADD): add -lz
6488 2003-07-28 José Matos <jamatos@fep.up.pt>
6490 * buffer.C: increment file format.
6491 * paragraph_funcs (readParagraph, readParToken):
6492 * paragraph.C (readParagraph): add \end_layout.
6494 2003-07-27 Angus Leeming <leeming@lyx.org>
6496 * Makefile.am: remove special casing for configure-time setting of
6497 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6499 * lyx_main.C (init): remove all Jean-Marc's magic setting of
6500 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6502 2003-07-26 André Pönitz <poenitz@gmx.net>
6504 * paragraph_func.[Ch]:
6505 * paragraph.C (realizeFont): inline it whereever it is used
6510 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6513 2003-07-26 André Pönitz <poenitz@gmx.net>
6517 * text2.C: get rid of LyXText::need_break_row
6519 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6521 * toc.[Ch]: put namespace toc inside namespace lyx
6523 * MenuBackend.C (expandToc2): adjust for lyx::toc
6526 * lyxfunc.C (dispatch): adjust for lyx::find
6528 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6529 lyx::find instead. Reorganize a bit.
6530 (LyXReplace): rename to replace
6531 (LyXFind): rename to find
6533 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6536 2003-07-26 André Pönitz <poenitz@gmx.net>
6538 * text.C (setHeightOfRow): restrict scope of temporary variable
6540 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
6541 code (never has been used?)
6543 2003-07-27 Asger Alstrup <alstrup@local>
6545 * text.C (fill): Optimise algorithm to exploit that we can reuse
6546 the LyXFont for many characters.
6547 (setHeightOfRow): Same thing.
6548 (rowBreakPoint): Same thing.
6550 2003-07-26 Asger Alstrup <alstrup@local>
6552 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6554 * text.C (singleWidth): Spurious font copying in hot-spot
6555 singleWidth avoided. Reorder tests for arabic for efficiency.
6557 * text.C (fill): handle empty paragraphs better.
6559 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6562 * encoding.h: add includes
6564 * lyxrc.C: remove reading of bind files
6566 * lyx_main.C (init): setup bindings and menus only if we have a
6569 * kbmap.C (read): new method. Do the actual reading of bind
6572 * converter.C (dvipdfm_options):
6575 (output): adapt PAPER_* enums.
6577 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6579 * bufferparams.h: remove paper-related enums from there
6581 * paper.h: New file. A trivial header file to hold paper-related
6582 enums. It should later expand to contain many paper-related
6585 * lyxrc.C: declare extern displayTranslator
6587 2003-07-27 José Matos <jamatos@fep.up.pt>
6589 * tabular.[Ch] (linuxdoc): add support for tables and figures
6592 2003-07-27 José Matos <jamatos@fep.up.pt>
6594 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6595 consistency in both functions.
6596 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6598 2003-07-26 Asger Alstrup <alstrup@local>
6600 * rowpainter.C (paintRows): Change algorithm to work directly on
6601 the insets rather than asking every character in the document
6602 whether its an inset.
6604 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
6606 * buffer.C (openFileWrite): factorize some code
6608 2003-07-26 Angus Leeming <leeming@lyx.org>
6611 * lyx_main.[Ch]: replace occurances of system_tempdir with
6614 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6616 * rename Inset to InsetOld
6618 2003-07-25 Asger Alstrup <alstrup@diku.dk>
6620 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6621 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6622 which I think is a bit clearer. EDIT is gone, since it was
6623 premature optimisation, and broken for mathed anyway.
6624 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6625 with cursor positioning in insets as well (math insets still do not
6626 work, but that's a different story anyway.) It mysteriously
6627 crashes sometimes with undo in the first paragraph, but I'm fairly
6628 confident that this is a compiler bug.
6630 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6632 * paragraph.C (Paragraph): adjust for new clone return type
6634 (copyIntoMinibuffer): ditto
6636 2003-07-25 Asger Alstrup <alstrup@lyx.org>
6638 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6639 by not having a special case, and always doing a full rebreak of
6640 the document after undo.
6642 2003-07-23 Angus Leeming <leeming@lyx.org>
6644 * factory.C (createInset): InsetExternal::setParams now takes a
6647 2003-07-23 Angus Leeming <leeming@lyx.org>
6649 * factory.C (createInset): changed interface to the external and
6650 graphics mailers' string2params functions.
6652 2003-07-23 Angus Leeming <leeming@lyx.org>
6654 * factory.C (createInset): pass a
6655 Buffer const * parameter to InsetExternalMailer's string2params.
6657 2003-07-22 John Levon <levon@movementarian.org>
6659 * Thesaurus.h: include the right aiksaurus header
6661 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6663 * MenuBackend.C (expand): check menu shortcuts unconditionally
6665 2003-07-21 Angus Leeming <leeming@lyx.org>
6667 * factory.C (createInset): pass a
6668 buffer_path parameter to InsetGraphicsMailer's string2params.
6670 2003-07-21 Angus Leeming <leeming@lyx.org>
6672 * BufferView_pimpl.C (buffer):
6675 * lyxfunc.C (dispatch):
6676 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6677 rather than the grfx shortcut.
6679 2003-07-21 André Pönitz <poenitz@gmx.net>
6681 * rowpainter.C: remove unused variables
6684 * tabular_funcs.h: move to tabular.C
6685 * Makefile.am: adjust
6687 * tabular.[Ch]: basic optical cleaning
6689 * author.h: pass references, not values
6691 2003-07-18 André Pönitz <poenitz@gmx.net>
6699 * text3.C: two-phase drawing for InsetText and InsetTabular
6700 some float -> int changes.
6702 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6704 * lyx_main.C: fix the fix
6706 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6708 * lyx_main.C: fix a crash in batch mode if no files specified
6711 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
6713 * format.[Ch] (papersize): moved to BufferParams
6714 * converter.[Ch] (dvips_options): moved to BufferParams
6715 (dvipdfm_options): moved to anon namespace
6716 * bufferparams.[Ch]: added above functions.
6718 2003-07-17 André Pönitz <poenitz@gmx.net>
6722 * text2.C: don't call inset->update() anymore
6724 * metricsinfo.[Ch]: add convenience constructor
6726 2003-07-16 André Pönitz <poenitz@gmx.net>
6731 * text2.C: replace the LyXCursor::irow_ member with
6732 on-demand computation of the value
6734 2003-07-16 John Levon <levon@movementarian.org>
6736 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6738 2003-07-15 André Pönitz <poenitz@gmx.net>
6741 * text2.C: remove no more needed refresh_row
6743 2003-07-15 André Pönitz <poenitz@gmx.net>
6748 * text3.C: refresh_status tristate -> need_update bool
6750 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
6752 * lyxtext.h (init): remove reinit argument (act as if always true)
6753 * text2.C: adjust to that
6755 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6757 * bufferview_funcs.[Ch]: introduce function replaceSelection()
6758 * text3.C: use it to delete selections in some cases
6759 (bugs 441, 673, 702, 954).
6761 2003-07-14 André Pönitz <poenitz@gmx.net>
6763 * rowpainter.[Ch]: reduce interface
6765 2003-07-14 André Pönitz <poenitz@gmx.net>
6767 * BufferView_pimpl.C:
6768 * text2.C: adjust after removing unused BufferView * argument
6770 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
6772 * text2.C (init): fix a crash fired on resize
6774 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
6776 * buffer.[Ch]: added new closing signal
6777 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6778 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6779 BufferView::Pimpl via the closing the signal
6781 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
6783 * buffer.[Ch]: take out all bv-related from buffer
6785 * BufferView_pimpl.[Ch]: connect to new signals
6786 * CutAndPaste.C: removed useless asserts
6787 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6790 * lyxfunc.C: moved view-related funciontality from vc here
6791 * paragraph.C: removed outdated comments
6794 2003-07-10 André Pönitz <poenitz@gmx.net>
6796 * BufferView_pimpl.C:
6800 * text2.C: remove InsetText::InnerCache, clean up consequences
6802 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
6804 * ispell.C: fix two typos in error messages
6806 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
6808 * Extend Note inset to other forms of annotation like Comment
6809 and Greyedout. Right button click gives dialog.
6811 Files modified or added (+):
6815 * ControlNote.[Ch] +
6817 * Makefile.am in frontends/xforms, frontends/xforms/forms,
6818 frontends/controllers
6822 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6824 * aspell.C: add missing namespace lyx::support
6826 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
6828 * BufferView.[Ch] (newFile): Add
6829 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6830 * LaTeX.[Ch] (message): added this signal and use it
6831 * buffer.[Ch] (busy, message): added these signals and use them
6832 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6836 * importer.C: use buffer signals instead of direct bv calling
6837 * lyx_cb.[Ch] (ShowMessage): removed
6840 * paragraph_funcs.C:
6841 * text2.C: use buffer signals
6843 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6845 * introduce namespace lyx::graphics
6847 2003-07-02 André Pönitz <poenitz@gmx.net>
6849 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6851 2003-07-01 André Pönitz <poenitz@gmx.net>
6858 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6859 text*.C to text_func.C
6861 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6863 * introduce namespace lyx::support
6865 2003-06-30 André Pönitz <poenitz@gmx.net>
6870 * text.C: re-enable --with-included-string
6872 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6874 * textcursor.C: add <config.h>
6876 * text.C (getWord): remove const from word_location arg
6878 * lyxvc.C (getLogFile): fix const type order
6880 * lyxtext.h: remove const from word_location arg, add arg name
6882 * lyxlayout.h: currect type on labeltype.
6884 * importer.C: correct \file
6886 * converter.C (intToFormat): use std:: on ret val, ws changes
6888 * bufferlist.h: correct \file
6890 * buffer.C (makeLinuxDocFile): fix const type order
6891 (makeDocBookFile): ditto
6892 (fillWithBibKeys): use std:: on stdlib args.
6894 * CutAndPaste.C: fix authors.
6895 (availableSelections): use std:: on return vector
6897 2003-06-27 André Pönitz <poenitz@gmx.net>
6899 * BufferView_pimpl.C:
6900 * bufferview_funcs.C:
6908 * text3.C: remove LyXCursor::row_ member
6911 * text.C: rename fullRebreak() to partialRebreak() and implement
6912 a fullRebreak() that really bereks fully
6914 * textcursor.h: new struct for cursor-related data
6916 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
6918 * lyx_main.C (LyX): get full path of document loaded on the
6921 2003-06-26 André Pönitz <poenitz@gmx.net>
6923 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6924 remove unused/broken operator>,<,>=.
6926 * text.C: remove only use of broken operator<= in an Assert().
6928 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
6930 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6931 moved errorlist_.clear to showErrorList
6933 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
6935 * converter.C (scanLog, runLaTeX):
6936 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
6937 move the bv->showErrorList call to the callers
6938 * lyxfunc.C: i.e. here...
6940 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6941 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6942 namespace, the second to...
6943 * buffer_funcs (BufferFormat, parseErrors): added
6944 * errorlist.C (ErrorList(TeXErrors const &)): removed
6946 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6948 * ToolbarBackend.C (getIcon): complain when icon cannot be found
6950 2003-06-24 "Garst R. Reese" <reese@isn.net>
6954 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6956 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6958 * version.C.in: change docversion to 1.4
6960 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
6962 * buffer.C: fix a bug just introduced
6964 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
6966 * buffer.[Ch]: added the parseError signal and use it, removed
6968 * BufferView.[Ch] (addError): moved to ...
6969 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6970 to the Buffer::parseError signal to catch (guess what) parse errors
6971 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6973 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
6975 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6976 ability to create a buffer and to return an existing one from
6977 the list. Moved these functions to...
6978 * buffer_funcs.[Ch]: added
6979 * BufferView.[Ch] (loadLyXFile): added
6980 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6981 job removed from bufferlist::loadLyXFile.
6982 * buffer.C (setReadOnly): make it work without view
6983 (i.e added an if (users))
6985 2003-06-19 Angus Leeming <leeming@lyx.org>
6988 * LyXAction.C (init):
6989 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6990 with LFUN_DIALOG_SHOW <name> <data>.
6992 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6994 * CutAndPaste.C (availableSelections): small compilation fix for
6995 ancient (gcc 2.9x) compilers
6997 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
6999 * text3.C (cursorNext): add tmp var
7001 * text2.C (updateCounters): for function calling out of for clause
7002 (replaceSelectionWithString): ditto
7003 (insertStringAsParagraphs): ditto
7004 (getColumnNearX): add tmp var
7005 (setCursorFromCoordinates): add tmp var
7006 (cursorDownParagraph): add tmp var
7007 (deleteEmptyParagraphMechanism): add tmp var
7009 * text.C (insertChar): add tmp var
7011 * rowpainter.C (paintDepthBar): add tmp var
7013 * CutAndPaste.C (availableSelections): potentially check all
7014 paragraphs in a cut to fill the shown strings.
7016 2003-06-18 André Pönitz <poenitz@gmx.net>
7018 * kbmap.[Ch]: use vector<> instead of list<>
7020 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
7022 * text3.C (dispatch): handle arg to LFUN_PASTE, call
7023 pasteSelection with index
7025 * text2.C (pasteSelection): modify, call pasteSelection with index
7027 * paragraph.C (asString): reimplement version with no interval to
7028 call the one with interval.
7030 * lyxtext.h: add index arg to pasteSelection
7032 * MenuBackend.C (MenuItem): handle PasteRecent
7033 (Menu::read::Menutags): add md_pasterecent
7035 (expandPasteRecent): new function
7038 * MenuBackend.h: add PasteRecent to MenuItem::Kind
7040 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
7042 (availableSelections): new function
7044 2003-06-17 Angus Leeming <leeming@lyx.org>
7046 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
7048 2003-06-17 Angus Leeming <leeming@lyx.org>
7051 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
7053 * lyxfunc.C (dispatch): invoke it.
7055 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7057 * iterators.C (operator++, ParPosition): reintroduce some
7058 const_cast for the benefit of older compilers.
7060 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7062 * text3.C (dispatch): do not modify clipboard when doing
7063 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
7064 LFUN_DELETE_SKIP on a selection selection
7066 2003-06-16 André Pönitz <poenitz@gmx.net>
7072 * tabular.[Ch]: IU of clone() and getLabelList();
7074 2003-06-13 André Pönitz <poenitz@gmx.net>
7076 * tabular.h: compactification
7078 2003-06-12 André Pönitz <poenitz@gmx.net>
7082 * tabular_funcs.h: some renaming plus whitespace
7084 2003-06-12 André Pönitz <poenitz@gmx.net>
7087 * BufferView_pimpl.C:
7093 * toc.C: Return a Paragraph & for ParIterator::operator*()
7095 2003-06-11 John Levon <levon@movementarian.org>
7099 * ToolbarBackend.C: add "Toolbars" section and
7102 2003-06-10 Angus Leeming <leeming@lyx.org>
7105 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
7107 * lyxfunc.C (dispatch): invoke it.
7109 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7111 * main.C: protect <ios> with HAVE_IOS
7112 (main): protect sync_with_stdio with HAVE_IOS
7114 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
7116 * text2.C (cutSelection): adjust
7117 (pasteSelection): adjust
7119 * messages.C: handle get of empty string
7121 * main.C (main): use sync_with_stdio(false)
7123 * lyxfunc.C (dispatch): adjust
7125 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
7126 (WriteAs): remove unneeded BufferView arg.
7128 * bufferparams.h: use correct types on papersize, papersize2 and
7131 * bufferparams.C (readToken): adjust for type
7132 (writeLaTeX): add missing cases to switch.
7134 * bufferlist.C (quitWriteBuffer): adjust
7137 * buffer.C (asciiParagraph): remove some commented code.
7139 * CutAndPaste.C: remove current_view extern variable.
7140 (cutSelection): add BufferParams arg.
7141 (eraseSelection): add BufferParams arg.
7142 (pasteSelection): add Buffer const & arg
7144 2003-06-07 John Levon <levon@movementarian.org>
7147 * paragraph_funcs.C:
7148 * paragraph_pimpl.C:
7152 * paragraph.C: allow InsetERT to freely space lines,
7153 and some consolidation of code
7155 2003-06-06 José Matos <jamatos@fep.up.pt>
7157 * buffer.C (makeDocBookFile): fix bug #821
7159 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
7161 * BufferView_pimpl.C (dispatch): use Dialogs::visible
7163 2003-06-04 Angus Leeming <leeming@lyx.org>
7165 * buffer.C: bump format to 224.
7167 2003-06-05 André Pönitz <poenitz@gmx.net>
7169 * text2.C (redoParagraphs): remove two const_cast<>
7171 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
7173 * ParagraphList.h: remove last remnants of NO_STD_LIST
7175 2003-06-03 Angus Leeming <leeming@lyx.org>
7177 * factory.C (createInset): small change to the way InsetExternal's params
7180 2003-06-04 André Pönitz <poenitz@gmx.net>
7182 * buffer.h: use Undo directly instead of shared_ptr<Undo>
7184 * paragraph_pimpl.h:
7185 * paragraph.[Ch]: some Inset -> UpdatableInset changes
7187 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
7189 * undo_funcs.C: make some simple cases of undo work again
7191 2003-06-03 John Levon <levon@movementarian.org>
7193 * ispell.C: HPUX doesn't have sys/select.h
7196 2003-06-03 John Levon <levon@movementarian.org>
7198 * CutAndPaste.C: update tabular and include inset
7203 * paragraph.C: remove owningBuffer(), don't pass Buffer
7206 * factory.C: insetGraphicsParams changed
7208 2003-06-02 John Levon <levon@movementarian.org>
7214 * text3.C: remove insetparent
7216 2003-06-02 John Levon <levon@movementarian.org>
7219 * buffer.C: fix inset_iterator.end(), move out of line
7222 2003-06-01 John Levon <levon@movementarian.org>
7224 * text3.C: use a proper cut/paste when doing inset
7225 insert (from Jürgen Spitzmüller)
7227 2003-06-01 John Levon <levon@movementarian.org>
7229 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7231 2003-05-30 André Pönitz <poenitz@gmx.net>
7233 * rowpainter.C: unify second drawing phase
7235 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7237 * trans_mgr.C: remove one case of current_view
7239 * text2.C (cursorBottom): delete NO_STD_LIST stuff
7241 * paragraph_funcs.h: remove paragraph.h include
7243 * paragraph.h: delete NO_STD_LIST stuff
7245 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7247 * buffer.h: remove paragraph.h include
7249 * ParagraphList.C: delete file
7251 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7253 * toc.C (getTocList): adjust
7255 * paragraph_pimpl.C (validate): adjust
7257 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7259 * paragraph.C (Paragraph): adjust
7260 (getPositionOfInset): use const_iterator, adjust
7261 (bibitem): use const_iterator, adjust
7262 (setInsetOwner): adjust
7264 * iterators.C (operator++): adjust
7266 * InsetList.[Ch]: Replace selfmade iterator with standard
7267 vector::iterator also introduce const_iterator. Remove getPos,
7268 getInset and setInset from InsetTable. Adjust accordingly.
7270 * BufferView.C (lockInset): adjust
7271 (ChangeInsets): adjust
7273 * tabular.[Ch]: delete commented same_id functions
7275 2003-05-28 John Levon <levon@movementarian.org>
7277 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7279 2003-05-28 André Pönitz <poenitz@gmx.net>
7281 * metricsinfo.[Ch]: remove 'fullredraw' member
7283 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
7285 * lyxtextclass.C (operator): remove caching.
7287 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7291 * text2.C (cursorBottom): adjust
7292 (setCounter): use ParagraphList::find, adjust
7294 * text.C (workWidth): use ParagraphList::find, adjust
7296 * lyxcursor.C (LyXCursor): adjust
7298 * buffer.C (inset_iterator): adjust
7300 * ParagraphList.h: make iterator(value_type) private, make
7301 ParagraphList a friend of iterator.
7303 * ParagraphList.C (find): new function
7305 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7307 2003-05-27 André Pönitz <poenitz@gmx.net>
7309 * dimension.[Ch]: a -> asc, d -> des, w -> wid
7311 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7313 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7315 2003-05-26 John Levon <levon@movementarian.org>
7317 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7319 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
7321 * remove same_id from function signatures, adjust.
7323 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7325 * undo_funcs.C (createUndo): use the id functions directly, adjust.
7327 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7329 * paragraph.C (Paragraph): get rid of same_ids parameter
7331 * ParagraphList.C (insert): adjust
7334 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7336 * paragraph_funcs.C (breakParagraph): adjust
7337 (breakParagraphConservative): adjust
7339 * buffer.C (readParagraph): adjust
7341 * ParagraphList.C (insert): take a reference instead of a pointer
7344 * paragraph.[Ch] (id): new function
7346 * bufferlist.C (newFile): adjust
7348 * ParagraphList.C (ParagraphList): adjust
7350 (push_back): take a reference instead of a pointer.
7352 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7354 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7357 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7358 set else use old code.
7360 * ParagraphList.C: remove all NO_NEXT code and only compile this
7361 code of NO_STD_LIST is set.
7363 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7365 * BufferView_pimpl.C:
7375 * graphics/GraphicsConverter.C:
7376 * graphics/PreviewLoader.C: header adjustment
7378 2003-05-23 Angus Leeming <leeming@lyx.org>
7380 * LaTeXFeatures.[Ch] (useBabel): new method.
7381 * bufferparams.C (writeLaTeX): use it.
7383 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7385 * ParagraphList.h (set): remove unused function.
7387 2003-05-23 André Pönitz <poenitz@gmx.net>
7390 * BufferView_pimpl.C:
7394 * undo_funcs.C: setUndo reworked
7396 * iterators.[Ch]: add access to topmost ParagraphList
7398 * lyxtext.[Ch] (workWidth): add a const
7400 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7402 * texrow.[Ch] (increasePos): remove function
7403 * exporter.C (export): removed unused var and outdated comment
7405 2003-05-23 Angus Leeming <leeming@lyx.org>
7407 * latexrunparams.h: rename fragile as moving_arg.
7408 * paragraph.C (simpleTeXOnePar): ditto.
7409 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7411 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7413 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7415 (textUndoOrRedo): comment out a currently unused var.
7417 * paragraph.h (NO_NEXT): enable NO_NEXT
7419 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7421 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7423 * exporter.C (Export): adjust for removeAutoInsets removal.
7425 * buffer.C (runChktex): adjust for removeAutoInsets removal.
7427 * LyXAction.C (init): remove LFUN_REMOVEERRORS
7429 * BufferView.[Ch] (removeAutoInsets): delete function
7431 2003-05-22 Angus Leeming <leeming@lyx.org>
7433 * latexrunparams.h: add a free_spacing variable.
7435 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7436 to pass moving_arg, as the data is stored in runparams.fragile.
7438 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7439 to Inset::latexOptional or to simpleTeXOnePar.
7441 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7442 free_spacing arg to Inset::latexOptional.
7444 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7447 2003-05-22 Angus Leeming <leeming@lyx.org>
7449 * latexrunparams.h: add fragile and use_babel variables.
7451 * bufferparams.[Ch] (writeLaTeX): return use_babel.
7452 * buffer.C (makeLaTeXFile): store this returned value in
7453 runparams.use_babel, thus passing it to the inset::latex methods.
7455 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7456 simpleTeXSpecialChars as it is now stored in runparams.fragile.
7458 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7459 longer has a fragile arg, as it is stored in runparams.fragile.
7461 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7462 moving_arg parameter as the data is stored in runparams.fragile.
7464 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7465 a fragile parameter as the data is stored in runparams.fragile.
7467 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7469 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7471 2003-05-22 Angus Leeming <leeming@lyx.org>
7473 * latexrunparams.h: add a 'bool nice' which defaults to false.
7475 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7476 now encapsulated within runparams.
7478 * bufferlist.C (updateIncludedTeXfiles):
7479 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7481 2003-05-22 Angus Leeming <leeming@lyx.org>
7483 * latexrunparams.h: new file containing struct LatexRunParams.
7484 * Makefile.am: add new file.
7486 * LaTeX.[Ch] (c-tor, run):
7487 * buffer.[Ch] (makeLaTeXFile):
7488 * bufferlist.[Ch] (updateIncludedTeXfiles):
7489 * converter.C (convert, scanLog):
7490 * converter.[Ch] (runLaTeX):
7491 * exporter.C (Export):
7492 * paragraph.[Ch] (simpleTeXOnePar):
7493 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7494 * paragraph_funcs.[Ch] (latexParagraphs):
7495 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7496 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7497 pass around a LatexRunParams parameter.
7499 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7501 * paragraph.[Ch]: remove unused constructor
7503 * ParagraphList.C (erase): new function, taking two iterators
7505 2003-05-22 André Pönitz <poenitz@gmx.net>
7507 * undo_funcs.C: remove duplicated code
7509 * iterator.[Ch]: operator=
7511 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7513 * tabular.C (SetMultiColumn): ws changes
7515 * rowpainter.C (paintFirst): get rid of a ->previous
7517 * lyx_cb.C (getPossibleLabel): parlist simplification
7519 * BufferView.C (ChangeInsets): simplify slightly.
7521 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
7523 * LyXAction.C: new lfun space-insert, kill protected-space-insert
7524 * lfuns.h: new LFUN_SPACE
7525 * lyxfunc.C: protected space has a new lfun
7526 * paragraph_funcs.C: read new space insets
7528 * factory.C: handle new space insets
7530 2003-05-22 André Pönitz <poenitz@gmx.net>
7533 * BufferView_pimpl.C:
7536 * undo_funcs.C: return a ParIterator from getParFromID.
7538 * iterators.[Ch]: add two const's
7540 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7542 * toc.C (getTocList): adjust
7544 * iterators.[Ch]: rework for parlist
7546 * buffer.C (par_iterator_begin): adjust
7547 (par_iterator_end): adjust
7549 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7551 * BufferView.C (removeAutoInsets): adjust
7552 (ChangeInsets): adjust
7554 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
7556 * text.C (top_y): fix bug 1110
7558 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
7560 * errorlist.[Ch]: added
7563 * BufferView_pimpl.C:
7564 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7567 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7569 * Makefile.am: ensure that lyx is relinked upon changes to the
7570 various "convenience" libs.
7572 2003-05-20 Angus Leeming <leeming@lyx.org>
7574 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7575 files are compiled in alphabetical order again.
7577 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7579 2003-05-19 Angus Leeming <leeming@lyx.org>
7581 * gettext.[Ch]: remove "char const * _(char const *)".
7583 2003-05-19 André Pönitz <poenitz@gmx.net>
7585 * dimension.[Ch]: promote from mathed/dimension.[Ch]
7594 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7596 2003-05-19 André Pönitz <poenitz@gmx.net>
7600 * lyxtextclass.[Ch]:
7602 * paragraph_funcs.[Ch]:
7604 * text3.C: more insetenv work
7606 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
7608 * ParagraphParameters.C (params2string): small bug fixed
7610 2003-05-16 André Pönitz <poenitz@gmx.net>
7613 * bufferview_funcs.C: patch from Kornel Benko to prevent
7614 crash when _(...) is called twice in a statement
7616 2003-05-16 André Pönitz <poenitz@gmx.net>
7623 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7625 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
7627 * lyx_main.C (init): remove spurious static_cast
7629 2003-05-14 André Pönitz <poenitz@gmx.net>
7631 * BufferView.C: fix format string
7633 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
7635 * BufferView.[Ch] (insertErrors): removed
7636 * BufferView.[Ch] (showErrorList): added
7637 * buffer.C (runChkTeX):
7638 * converter.C (scanLog): call showErrorList instead of inserterrors
7640 2003-05-13 André Pönitz <poenitz@gmx.net>
7642 * BufferView_pimpl.C:
7644 * bufferview_func.C:
7651 * tabular_funcs.h: tostr() from its own header
7653 * ParagraphParameters.C:
7658 * text3.C: STRCONV()
7660 2003-05-12 André Pönitz <poenitz@gmx.net>
7663 * BufferView_pimpl.C:
7667 * ParagraphParameters.C:
7671 * bufferview_funcs.C:
7684 * paragraph_funcs.C:
7688 * text3.C: boost::format -> bformat all over the place
7691 2003-05-09 André Pönitz <poenitz@gmx.net>
7693 * LColor.[Ch]: Pimpl the #include <map> away
7695 2003-05-09 John Levon <levon@movementarian.org>
7697 * bufferlist.C: never remove emergency saves
7699 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7701 * Makefile.am: better lib building
7703 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
7705 * texrow.[Ch]: remove dependency on Paragraph and just store a id
7707 * paragraph_pimpl.C (simpleTeXBlanks): adjust
7708 (simpleTeXSpecialChars): adjust
7709 (simpleTeXSpecialChars): adjust
7710 * paragraph.C (simpleTeXOnePar): adjust
7711 * buffer.C (makeLaTeXFile): adjust
7713 * Makefile.am (BOOST_LIBS): allow boost as system lib.
7715 * text2.C (changeDepth): parlist cleanup
7716 (getColumnNearX): ditto
7718 * rowpainter.C (getLabelFont): parlist cleanup
7720 * bufferlist.C (newFile): parlist cleanup
7722 * CutAndPaste.C (eraseSelection): parlist cleanup
7724 * BufferView_pimpl.C (trackChanges): parlist cleanup
7727 * BufferView.C (lockInset): parlist cleanup.
7728 (ChangeInsets): ditto
7730 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7732 * CutAndPaste.h: Update file header.
7734 * CutAndPaste.C: Update file header.
7735 Store the parts cut out of the Document in a limited_stack.
7736 (copySelection): adjust
7737 (pasteSelection): new function, takes the index in the limited stack.
7738 (nrOfParagraphs): adjust
7739 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7740 simplify error inset insertion.
7741 (checkPastePossible): adjust
7743 2003-05-06 John Levon <levon@movementarian.org>
7745 * text2.C: don't cast wrap inset to float
7747 2003-05-05 André Pönitz <poenitz@gmx.net>
7750 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7752 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7753 few naked Paragraph *.
7755 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
7757 * bufferparams.C: Output warning if a document with missing
7758 TeX document class is loaded
7759 * exporter.C: Disable TeX exports if the document class is missing
7762 * lyxtextclasslist.C: Handle new textclass.lst format; new method
7763 isTeXClassAvailable()
7765 2003-05-03 John Levon <levon@movementarian.org>
7768 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7769 explicit cursor show/hide
7771 * BufferView_pimpl.h:
7772 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7773 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7775 * lyxfunc.C: hide cursor before dispatching.
7780 * text3.C: remove explicit cursor hides
7782 2003-05-02 André Pönitz <poenitz@gmx.net>
7784 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7787 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7790 * text2.C: tiny whitespace
7792 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7794 * undo_funcs.C: almost only ws changes.
7796 * ParagraphList.C (splice): just return if pl is empty.
7798 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7800 * ParagraphList.C (splice): new function.
7802 * CutAndPaste.C (pasteSelection): use it
7804 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7806 * CutAndPaste.C (pasteSelection): remove the last next and
7807 previous from this file.
7809 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7811 * CutAndPaste.C (pasteSelection): more clean up, user proper
7812 ParagraphList functions for pasteing.
7814 * ParagraphList.C (insert): new function, three arg insert
7816 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7818 * ParagraphList.C (insert): new function, three arg insert
7820 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7823 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7825 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7827 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7829 * CutAndPaste.C (pasteSelection): remove some unneeded code.
7831 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7833 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7834 (copySelection): clean up a bit.
7835 (pasteSelection): use make_pair
7837 * ParagraphList.C (ParagraphList): implement copy constructor
7838 (operator=): implement, base on copy constructor.
7841 * paragraph.C (erase): return a bool
7843 * paragraph_pimpl.C (erasePos): remove function, move contents...
7844 (erase): ... here. Return a bool.
7845 (erase): call erase instead of erasePos.
7847 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
7849 * ParagraphList.h: define PitPosPair
7850 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7851 ParagraphList, fix a bug on pasting multiple pars
7852 * text2.C: change interface to C&P
7854 2003-04-30 André Pönitz <poenitz@gmx.net>
7856 * undo_func.C: revert part of yesterday's patch 2
7858 2003-04-30 John Levon <levon@movementarian.org>
7860 * LColor.C: s/tabular/table/
7862 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7864 * text3.C (dispatch): do not convert iterator -> pointer
7865 * undo_funcs.C (setCursorParUndo): ditto
7866 * text_funcs.C (transposeChars): ditto
7868 * text2.C (setLayout): ws changes only
7870 * text.C (breakParagraph): do not convert iterator -> pointer
7872 (acceptChange): ditto
7873 (rejectChange): ditto
7878 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7881 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
7883 * text3.C (gotoInset): YABG (yet another bad getChar)
7885 2003-04-29 André Pönitz <poenitz@gmx.net>
7887 * paragraph.h: make operator= private unimplemented as long as
7890 * ParagraphList.C: whitespace
7893 * paragraph_pimpl.[Ch]:
7894 * paragraph_funcs.C:
7896 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
7899 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7901 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
7903 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7904 * paragraph.[Ch] (erase):
7905 * paragraph_pimpl.[Ch] (erase): change return type and value
7906 * text2.C (cutSelection): some rework
7908 2003-04-28 John Levon <levon@movementarian.org>
7910 * bufferlist.C: changes for unsaved changes dialog
7912 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7914 * bufferlist.C (newFile): set language (messages_) for new
7917 * buffer.C (readFile): ws changes only.
7919 2003-04-28 André Pönitz <poenitz@gmx.net>
7924 * BufferView_pimpl.C:
7925 * BufferView.C: getParFromID related ParagraphList::iterator changes
7927 2003-04-28 André Pönitz <poenitz@gmx.net>
7929 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7932 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7934 * messages.C: remove one more localedir class variable.
7936 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7938 * messages.C (getLocaleDir): singleton generation function
7940 (Messages): add a default constructor.
7942 * main.C (main): do not setup localedir here, do not call
7945 * gettext.C (_): use it.
7946 (gettext_init): delete funciton
7948 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7950 * gettext.C (getLyXMessages): new singleton generating function.
7952 * buffer.C (updateDocLang): adjust
7954 * Makefile.am (messages.o): add target
7955 (main.o): remove target
7957 2003-04-27 John Levon <levon@movementarian.org>
7962 * lyxvc.C: specify cancel button in Alert::prompt
7964 2003-04-26 John Levon <levon@movementarian.org>
7969 * LyXAction.C: add LFUN_INSET_SETTINGS
7971 * lyxfunc.C: don't enable tabular-feature when there's
7972 just any locking inset
7974 2003-04-26 John Levon <levon@movementarian.org>
7976 * bufferlist.C: re-add Cancel to buffer close question
7978 * lyxfunc.C: fix import UI a bit
7980 2003-04-25 John Levon <levon@movementarian.org>
7982 * gettext.C: remove the broken asserts for now
7984 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7986 * messages.C: make case where setlocale cannot comply work better.
7988 * buffer.C (updateDocLang): new function
7989 (changeLanguage): use it
7992 * text2.C (setCounter): use B_ a bit.
7994 * lyxlayout.C (Read): be sure to trim the label strings.
7996 * messages.C (Messages): fix typo in comment
7998 * buffer.C (readFile): set message_ after file is loaded.
7999 (makeDocBookFile): remove double return
8000 (changeLanguage): reset message_ upon language change.
8001 (B_): new func, use this to get translated buffer strings.
8003 * main.C: add myself and Jean Marc as authors.
8005 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
8007 * messages.[hC]: pimplify Messages, and three different pimpls to be
8008 used in different circumstances.
8010 * gettext.[Ch]: change for use with new message code.
8012 2003-04-24 André Pönitz <poenitz@gmx.net>
8014 * factory.C: support for eqref
8016 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
8018 * messages.[Ch]: add missing char
8020 * Makefile.am (lyx_SOURCES): add messages.[Ch]
8022 * messages.[Ch]: New files
8024 2003-04-18 John Levon <levon@movementarian.org>
8028 * BufferView_pimpl.C:
8032 * text2.C: remove layout-copy/paste (bug 778)
8034 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
8036 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
8038 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
8040 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
8041 if they succeed. Act accordingly.
8043 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8045 * text2.C (setCharFont): adjust
8046 (setCounter): adjust
8047 (insertStringAsLines): adjust
8049 * text.C (leftMargin): adjust
8050 (setHeightOfRow): adjust
8052 * rowpainter.C (paintFirst): adjust
8055 * paragraph_funcs.C (depthHook): ParagraphList::iterators
8057 (isFirstInSequence): ditto
8058 (getEndLabel): ditto
8061 * paragraph.C (getParLanguage): comment out some hard stuff.
8063 * buffer.C (insertStringAsLines): take a ParagraphList as arg
8065 (simpleDocBookOnePar): ditto
8066 (makeDocBookFile): use ParagraphList::iterator
8068 * CutAndPaste.C (pasteSelection): adjust
8070 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8072 * text2.C (getFont): adjust
8073 (getLayoutFont): adjust
8074 (getLabelFont): adjust
8076 * paragraph_funcs.C (TeXOnePar): adjust
8078 * buffer.C (simpleLinuxDocOnePar): adjust
8079 (simpleDocBookOnePar): adjust
8081 * CutAndPaste.C (pasteSelection): adjust
8083 * BufferView.C (getEncoding): adjust
8085 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
8087 2003-04-16 John Levon <levon@movementarian.org>
8089 * lyxfind.C: use parlist stuff for search/changes
8091 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8093 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
8095 * text2.C (deleteEmptyParagraphMechanism): adjust
8097 * text2.[Ch] (ownerParagraph): delete func (both of them
8099 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8101 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
8103 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8105 * ParagraphList.C: prepare for NO_NEXT
8107 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8109 * text2.C (getFont): adjust
8110 (getLayoutFont): adjust
8111 (getLabelFont): adjust
8113 * paragraph.C (getFont): adjust
8114 (getLabelFont): adjust
8115 (getLayoutFont): adjust
8117 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
8119 2003-04-15 John Levon <levon@movementarian.org>
8123 * lyx_main.C: handle Include in .ui files
8125 2003-04-15 John Levon <levon@movementarian.org>
8127 * MenuBackend.C: make the doc files length shorter
8130 * ToolbarBackend.C: handle toolbar placement flags,
8133 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8135 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
8138 * paragraph_funcs.C (TeXOnePar): adjust
8140 * paragraph.C (getLabelFont): add outerfont arg, adjust
8141 (getLayoutFont): ditto
8142 (simpleTeXOnePar): adjust
8144 * paragraph_pimpl.C (realizeFont): delete func
8146 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
8148 * text2.C (beforeFullRowInset): added a bad getchar check, removed
8149 row argument, constify cur argument.
8151 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8153 * text2.C (getFont): adjust
8154 (getLayoutFont): adjust
8155 (getLabelFont): adjust
8157 * paragraph_funcs.C (TeXOnePar): adjust
8158 (outerFont): new func...
8159 (realizeFont): ...moved out from here, changed this to facilitate
8162 * paragraph.C (getFont): take outerfont as arg, adjust
8163 (simpleTeXOnePar): add outerfont arg, adjust
8165 * buffer.C (simpleLinuxDocOnePar): adjust
8166 (simpleDocBookOnePar): adjust
8168 * CutAndPaste.C (pasteSelection): adjust
8170 * BufferView.C (getEncoding): adjust
8172 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8174 * text2.C (setCharFont): adjust
8175 (setCounter): adjust
8177 * text.C (leftMargin): adjust
8178 (setHeightOfRow): adjust
8180 * rowpainter.C (paintFirst): adjust
8183 * paragraph_pimpl.C (realizeFont): adjust
8185 * paragraph.C (isFirstInSequence): move from here...
8186 * paragraph_funcs.C (isFirstInSequence): ...to here
8188 * paragraph.C (outerHook): move from here...
8189 * paragraph_funcs.C (outerHook): ...to here
8191 * paragraph.C (depthHook): move from here...
8192 * paragraph_funcs.C (depthHook): ...to here
8194 * paragraph.C (getEndLabel): move from here...
8195 * paragraph_funcs.C (getEndLabel): ...to here
8197 * text2.C (realizeFont): move from here...
8198 * paragraph_funcs.C (realizeFont): ...to here
8200 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8202 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
8204 2003-04-14 Angus Leeming <leeming@lyx.org>
8206 * LColor.[Ch]: scrap LColor mathcursor.
8208 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8210 * lyxlex.[Ch] (text): delete function
8211 * trans.C (Load): adjust
8212 * paragraph_funcs.C (readParToken): adjust
8214 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8216 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8217 vector<char> instead of a char[].
8219 * lyxlex_pimpl.C (getString): adjust
8221 (lex): use getString
8225 * lyxlex.C (text): use pimpl_->getString()
8229 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8231 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8232 (makeFontEntriesLayoutSpecific): temp var for par.size()
8233 (setLayout): temp var for ownerParagraphs().end()
8234 (fullRebreak): temp var for rows().end()
8235 (selectionAsString): temp var for boost::next(startpit), realize
8236 that the while really is a regular for loop.
8237 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8238 setCursor in one place.
8239 (setParagraph): temp vr for ownerParagraphs().end()
8240 (updateCounters): make the while loop a for loop
8241 (cutSelection): temp var for ownerParagraphs().end()
8242 (updateInset): make the do {} while() a regular for loop
8243 (getCursorX): use temp vars
8244 (setCurrentFont): use temp vars
8245 (getColumnNearX): use temp vars
8247 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8249 * text.C (transformChar): use temp var for getChar
8250 (computeBidiTables): use temp var for row->par()
8251 (fill): move temp vars for row->par() and pit->layout() earlier in
8253 (labelFill): use temp var for row->par()
8254 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8255 asc and desc, realize that pit never changes and that firstpit is
8256 just a duplicate and not needed. Exchange rit->par() with pit in a
8258 (breakAgain): use a temp var for boost::next(rit)
8259 (breakAgainOneRow): ditto
8260 (breakParagraph): use a temp var for rows().begin()
8261 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8262 (cursorRightOneWord): use temp var for cursor.par() and
8263 cursor.pos(), remove usage of tmpcursor.
8264 (cursorLeftOneWord): use temp var for cursor.par() and
8265 cursor.pos() only set cur at end of function.
8267 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8269 * text.C, text2.C: exchange all usage of Paragraph::next with
8270 boost::next(ParagraphList::iterator)
8272 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8274 * text2.C (cursorTop): simplify implementation
8275 (cursorBottom): ditto
8276 (setParagraph): use ParagraphList::iterator
8277 (setCurrentFont): adjust
8278 (getColumnNearX): adjust
8279 (cursorRight): adjust
8280 (cursorLeft): remove usage of Paragraph::previous
8281 (cursorUpParagraph): ditto
8282 (deleteEmptyParagraphMechanism): slight cleanup
8284 * text.C (isBoundary): take a Paragraph const & instead of a
8286 (addressBreakPoint): ditto
8287 (leftMargin): remove usage of Paragraph::previous.
8288 (setHeightOfRow): ditto
8289 (cursorLeftOneWord): ditto
8290 (selectNextWordToSpellcheck): ditto
8293 (breakParagraph): remove one usage of Paragraph::next
8294 (redoParagraph): ditto
8295 (acceptChange): ditto
8296 (insertChar): adjust
8297 (rowBreakPoint): adjust
8299 * bufferview_funcs.C (toggleAndShow): adjust
8301 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
8303 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8304 methods to access it.
8306 * text.C: Added updateRowPositions to compute all row positions.
8307 Make top_y and getRowNearY() to use the cached y position
8309 2003-04-11 John Levon <levon@movementarian.org>
8311 * text.C (rowBreakPoint): reintroduce the labelEnd
8312 checks, code copied from the row fill stuff. Deep voodoo.
8314 * text.C (fill): add a comment and debugging for the
8317 2003-04-11 John Levon <levon@movementarian.org>
8319 * text.C: make sure fullrow insets get wrapped to the next line,
8320 even when they're in a manual label
8322 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
8324 * text2.C (insertParagraph): make it take ParagraphList::iterator
8326 (setLayout): make it return ParagraphList::iterator
8327 (redoParagraphs): ditto
8329 (checkParagraph): ditto
8331 * text.C (getRow): make getrow take ParagraphList::iterator as arg
8333 * text2.C: adjust several funcs.
8334 (realizeFont): take a ParagraphList::iterator as arg.
8335 (getLayoutFont): ditto
8336 (getLabelFont): ditto
8337 (setCharFont): ditto
8339 * text.C: adjust several funcs.
8341 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8343 * text.C (selectNextWordToSpellcheck): don't accidentally
8346 2003-04-10 John Levon <levon@movementarian.org>
8348 * ToolbarBackend.C (getIcon): special handling for
8351 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8353 * text2.C (cursorRight): a getChar assert fixed
8355 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8357 * text2.C (getFont): change to take a ParagraphList::iterator
8358 instead of Paragraph*
8359 Adjust several functions.
8361 * text.C (transformChar): change to take a ParagraphList::iterator
8362 instead of Paragraph*
8363 (singleWidth): ditto
8364 Adjust several functions.
8366 * rowpainter.C: adjust several functions
8367 * rowpainter.h:store a ParagraphList::iterator and not a
8371 2003-04-09 John Levon <levon@movementarian.org>
8376 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8377 and the "help" bits as well
8379 2003-04-09 John Levon <levon@movementarian.org>
8382 * ToolbarBackend.C: allow multiple toolbars
8384 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8386 * undo_funcs.C (setCursorParUndo): adjust
8388 * text_funcs.C (transposeChars): adjust
8390 * text3.C (gotoNextInset): adjust
8393 * text2.C (setLayout): adjust
8394 (changeDepth): adjust
8396 (redoParagraphs): adjust
8397 (selectionAsString): adjust
8398 (setParagraph): adjust
8399 (insertInset): adjust
8400 (cutSelection): adjust
8401 (copySelection): adjust
8402 (pasteSelection): adjust
8403 (insertStringAsLines): adjust
8404 (updateInset): adjust
8405 (setCursor): change to take a ParagraphList::iterator parameter
8406 (setCursorIntern): change to take a ParagraphList::iterator parameter
8407 (setCurrentFont): adjust
8408 (cursorLeft): adjust
8409 (cursorRight): adjust
8410 (deleteEmptyParagraphMechanism): adjust
8412 * text.C (breakParagraph): adjust
8413 (insertChar): adjust
8414 (acceptChange): adjust
8415 (rejectChange): adjust
8416 (selectNextWordToSpellcheck): adjust
8417 (changeCase): adjust
8421 * lyxfind.C (SearchForward): adjust
8422 (SearchBackward): adjust
8423 (nextChange): adjust
8425 * lyxcursor.C (par): adjust
8427 * lyxcursor.h: store a ParagraphList::iterator instead of a
8430 * lyx_cb.C (getPossibleLabel): adjust
8432 * bufferview_funcs.C (toggleAndShow): adjust
8434 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8437 * BufferView.C (removeAutoInsets): adjust
8438 (lockedInsetStoreUndo): adjust
8440 2003-04-09 John Levon <levon@movementarian.org>
8442 * ToolbarBackend.C: try icon without argument
8443 if with argument fails
8445 2003-04-08 John Levon <levon@movementarian.org>
8448 * ToolbarBackend.C: add getIcon(), handle tooltip,
8449 and change from "Icon" to "Item".
8451 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8453 * BufferView.C (lockInset): another bad getchar crunched
8455 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8457 * text2.C (changeDepth): do not setUndo on test_only (make undo work
8460 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
8462 * lyxfind.C (searchForward, searchBackwards): bug 782
8464 2003-04-07 John Levon <levon@movementarian.org>
8466 * paragraph.C: remove dead comment
8468 * text.C: remove troublesome depth-fiddling code
8469 in leftMargin() and rightMargin() (bug 1017)
8471 * text.C: fix breaking of rows in nested lists
8474 * text2.C (updateCounters): fix up depth values
8477 2003-04-07 John Levon <levon@movementarian.org>
8479 * BufferView_pimpl.C: clear message when doc finishes resizing,
8480 and after a mouse event
8482 * lyxfunc.C: clear message after exiting inset
8484 2003-04-07 John Levon <levon@movementarian.org>
8486 * bufferview_funcs.C: show math status not outside
8487 status in the statusbar
8489 2003-04-07 John Levon <levon@movementarian.org>
8491 * lyxfunc.C: note status changed after a depth change
8493 2003-04-04 Angus Leeming <leeming@lyx.org>
8495 * LaTeX.h: move AuxInfo operator==, != out of line.
8496 Remove LaTeX virtual destructor; nothing derives from it.
8497 Move operator()() out of public area and rename it startscript().
8498 Change protected for private.
8500 2003-04-04 Angus Leeming <leeming@lyx.org>
8503 * text2.C: remove unneeded #includes.
8505 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8507 * text2.C (dEPM): fix the heigth of the next row
8509 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8511 * text.C: squashed an invalid getChar requester + some ws changes
8513 2003-04-03 John Levon <levon@movementarian.org>
8515 * bufferview_funcs.h:
8516 * bufferview_funcs.C:
8519 * text2.C: make getStatus work for the env depth lfuns
8521 2003-04-03 John Levon <levon@movementarian.org>
8523 * bufferview_funcs.h:
8524 * bufferview_funcs.C:
8527 * text2.C: parlistize decDepth(), by merging it with incDepth()
8529 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8531 * lyxrow.h: store a ParagraphList::iterator instead of a
8532 Paragraph* and adjust other class functions to suit.
8534 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8537 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8539 * text2.C (setCursor): do not anchor to cursor row for the time being
8541 2003-04-02 John Levon <levon@movementarian.org>
8548 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8550 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8552 * paragraph.h: make ParagraphList and ParagraphList::iterator
8553 friends of Paragraph.
8555 * buffer.C (makeLinuxDocFile): move towards ParagraphList
8557 * ParagraphList.C: Use the private next_ and previous_ from
8560 2003-04-01 John Levon <levon@movementarian.org>
8564 * Makefile.am: rename, remove defaults gunk
8567 * MenuBackend.C: remove defaults gunk
8570 * Languages.C: remove defaults gunk
8573 * lyx_main.C: error out if files couldn't be found.
8575 2003-04-02 John Levon <levon@movementarian.org>
8577 * text2.C: make incDepth() use parlist
8579 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8581 * undo_funcs.C (firstUndoParagraph): adjust
8583 * text3.C (gotoInset): adjust
8584 (dispatch): adjust, and rewrite loop.
8586 * text2.C (init): adjust, and rewrite loop.
8587 (redoParagraphs): adjust
8588 (updateInset): adjust, and rewrite loop.
8589 (deleteEmptyParagraphMechanism): adjust
8591 * tabular.C (LyXTabular): adjust
8592 (SetMultiColumn): adjust
8595 * lyxtext.[Ch] (ownerParagraph): delete function
8596 (ownerParagraphs): new function returns a ParagraphList.
8598 * BufferView.C (removeAutoInsets): adjust
8599 (insertErrors): adjust
8600 (setCursorFromRow): adjust
8602 2003-04-01 Angus Leeming <leeming@lyx.org>
8604 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8607 2003-04-02 John Levon <levon@movementarian.org>
8613 * text_funcs.C: make transposeChars a free function
8615 * lyxrow_funcs.C: remove wrong comment
8617 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8620 * rowpainter.C: adjust
8625 * lyxrow_funcs. [Ch]: new files
8627 * lyxrow.[Ch]: remove next and previous pointers
8628 (next,previous): remove accessor functions
8629 (isParEnd): move to lyxrow_funcs
8630 (lastPos): move to lyxrow_funcs
8631 (nextRowIsAllInset): move to lyxrow_funcs
8632 (lastPrintablePos): move to lyxrow_funcs
8633 (numberOfSeparators): move to lyxrow_funcs
8634 (numberOfHfills): move to lyxrow_funcs
8635 (numberOfLabelHfills): move to lyxrow_funcs
8636 (hfillExpansion): move to lyxrow_funcs
8640 * bufferview_funcs.C (toggleAndShow): adjust
8642 * RowList.h: Remove class RowList from file leave just a
8645 * RowList.C: delete file
8647 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8650 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8652 * text3.C (cursorPrevious): adjust
8653 (cursorNext): adjust
8656 * text2.C (redoHeightOfParagraph): adjust
8657 (redoDrawingOfParagraph): adjust
8660 * text.C (breakParagraph): adjust
8661 (insertChar): adjust
8664 * rowpainter.C (RowPainter): adjust
8665 (leftMargin): simplify and adjust
8666 (most rowpainter functions): adjust.
8668 * rowpainter.h: store the row as RowList::iterator not as Row*
8670 * lyxcursor.C (row): taka RowList::iterator as arg
8673 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8676 2003-04-01 Angus Leeming <leeming@lyx.org>
8678 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8679 stuff like bool Bool.
8681 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8683 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8686 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8688 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8691 * lyxtext.h (rows): drop one version and leve a const variant that
8692 returns a RowList::iterator.
8694 2003-03-31 Angus Leeming <leeming@lyx.org>
8696 * text.C (fill): ensure that the signature is the same as that in the
8699 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
8701 * text2.C (redoParagraphs): adjust
8702 (updateCounters): adjust
8703 (checkParagraph): adjust
8704 (getColumnNearX): adjust and reformat a bit.
8706 * text.C (top_y): adjust
8708 (leftMargin): adjust
8709 (prepareToPrint): adjust
8711 (getRowNearY): adjust
8713 * lyxtext.h: make rowlist_ mutable.
8715 * RowList.h: add const_iterator
8716 * RowList.C: adjust for RowList::const_iterator.
8718 * text2.C (getCursorX): make it take a RowList::iterator as arg,
8721 2003-03-31 John Levon <levon@movementarian.org>
8724 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8726 * lyx_main.C: set default fonts from using lyx_gui funcs
8728 * exporter.C: pdf_mode moved from lyxrc
8731 * lyxfunc.C: changes from above
8733 2003-03-31 John Levon <levon@movementarian.org>
8735 * lyx_main.C: fix to the last fix
8737 2003-03-31 John Levon <levon@movementarian.org>
8739 * bufferlist.C: "Load original" -> "Load Original"
8745 * format.C: more Alert cleanups
8747 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8749 * text2.C (removeParagraph): make it take a RowList::iterator as
8751 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8752 (postRowPaint): make it take a RowList::iterator as arg, adjust.
8754 * text.C (anchor_row): make it take a RowList::iterator as arg,
8756 (computeBidiTables): make it take a const reference to Row instead
8757 of Row pointer, adjust.
8758 (leftMargin): make it take a RowList::iterator as arg, adjust.
8759 (rowBreakPoint): adjust
8760 (breakAgainOneRow): make it take a RowList::iterator as arg,
8762 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8764 * bufferview_funcs.C (toggleAndShow): adjust
8766 2003-03-30 John Levon <levon@movementarian.org>
8770 * boost-inst.C: moved to support
8772 * several files: changes as a result
8774 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8776 * text2.C (LyXText): adjust.
8778 (removeRow): make it take a RowList::iterator as arg, adjust.
8779 (fullRebreak): adjust
8780 (deleteEmptyParagraphMechanism): adjust
8781 (clearPaint): adjust
8784 * text.C (top_y): adjust
8785 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8786 (breakAgain): make it take a RowList::iterator as arg, adjust.
8787 (breakParagraph): adjust
8788 (insertChar): adjust
8791 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8792 need_break_row, and refresh_row.
8794 * text3.C (dispatch): adjust
8796 * text2.C (checkParagraph): adjust
8798 (setCursorFromCoordinates): adjust
8800 * text.C (top_y): adjust
8802 (getRow): make it return a RowList::iterator, adjust
8803 (getRowNearY): make it return a RowList::iterator, adjust
8805 * text2.C (init): adjust
8806 (insertRow): remove function
8807 (insertParagraph): adjust
8808 (redoParagraphs): adjust
8809 (fullRebreak): adjust
8810 (updateCounters): adjust
8812 * text.C (top_y): rewrite to use RowList iterators.
8814 (setHeightOfRow): rewrite to sue RowList iterators.
8815 (appendParagraph): adjust
8816 (breakAgain): adjust
8817 (breakAgainOneRow): adjust
8818 (breakParagraph): adjust
8820 (getRowNearY): adjust, and remove commented code.
8822 * lyxtext.h (firstRow): delete function
8823 (lastRow): delete function
8824 (rows): new function (const and non-const versions.)
8825 (insertRow): delete function
8827 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8829 2003-03-29 John Levon <levon@movementarian.org>
8831 * BufferView_pimpl.C: always update scrollbar top
8832 because pasting text when we're anchored could mean we
8833 miss an update altogether
8835 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8837 * text2.C (init): use rowlist_.end() and not 0.
8838 (insertRow): change to take a RowList::iterator as arg, adjust
8840 (insertParagraph): change to take a RowList::iterator as arg,
8842 (redoParagraphs): remove some debug msgs.
8844 * text.C (appendParagraph): change to take a RowList::iterator
8845 arg, adjust for this.
8846 (breakAgain): add an assert
8847 (breakAgainOneRow): ditto
8849 2003-03-29 John Levon <levon@movementarian.org>
8851 * text2.C: do not clear selection after inc/decDepth
8854 2003-03-29 John Levon <levon@movementarian.org>
8857 * buffer.C: fix broken strerrors according to Lars
8859 2003-03-29 John Levon <levon@movementarian.org>
8861 * converters.C: more Alert cleanups
8863 2003-03-29 John Levon <levon@movementarian.org>
8865 * bufferview_funcs.C: remove pointless Alert
8867 * buffer.C: fix confusing error message when
8868 a template is chmoded 000
8870 2003-03-29 John Levon <levon@movementarian.org>
8874 * BufferView_pimpl.C: Alert fixes
8878 * tabular-old.C: remove unused table compat reading
8880 2003-03-29 John Levon <levon@movementarian.org>
8885 * lyx_cb.C: more Alert cleanups
8887 * lyxfunc.C: don't allow chktex if not latex document
8889 2003-03-29 John Levon <levon@movementarian.org>
8893 * buffer.C: warnings pushed down from support/,
8896 2003-03-29 John Levon <levon@movementarian.org>
8898 * lyxfunc.C: safety check for C-r (revert)
8900 2003-03-29 John Levon <levon@movementarian.org>
8903 * bufferlist.C: several UI fixes using Alert::prompt.
8904 Fix the pointless looping quit code. Fix stupid revert
8909 * lyx_cb.C: use Alert::prompt
8911 * lyx_main.C: remove a silly question
8913 * lyxfunc.C: remove a couple of silly questions,
8916 2003-03-28 John Levon <levon@movementarian.org>
8918 * text2.C: fix bug 974 (End on empty par)
8920 2003-03-28 John Levon <levon@movementarian.org>
8922 * BufferView_pimpl.C:
8924 * lfuns.h: remove do-nothing math greek lfuns
8926 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8928 * lyxgluelength.h (isValidGlueLength): add default arg on
8929 parameter 2. Remove default arg from friend in class.
8931 * lyxlength.h (isValidLength): add default arg on parameter 2.
8932 Remove default arg from friend in class.
8934 * text2.C (LyXText): adjust, initialize refresh_row.
8938 (insertParagraph): adjst
8939 (redoParagraphs): adjust
8940 (fullRebreak): adjust
8941 (updateCounters): adjust
8942 (deleteEmptyParagraphMechanism): first attempt at fixing a
8945 * text.C (top_y): adjust
8946 (setHeightOfRow): adjust
8948 (getRowNearY): adjust
8950 * lyxtext.h: include RowList.h
8951 (~LyXText): not needed anymore, deleted.
8952 (firstRow): modify for RowList
8953 (lastRow): new function
8954 Delete firstrow and lastrow class variables, add a Rowlist
8955 rowlist_ class variable.
8957 * lyxrow.C (lastPos): use empty() and not !size() to check if a
8960 * RowList.C (insert): fix case where it == begin().
8962 2003-03-26 Angus Leeming <leeming@lyx.org>
8964 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8965 the thesaurus dialog.
8967 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
8969 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8971 * RowList.[Ch]: new files
8973 * ParagraphList.C (erase): handle the case where it == begin
8976 2003-03-25 John Levon <levon@movementarian.org>
8980 * aspell.C: add new aspell support
8983 * lyxrc.C: Make use_pspell be use_spell_lib. Always
8986 2003-03-25 Angus Leeming <leeming@lyx.org>
8989 * LyXAction.C (init): new LFUN_INSET_INSERT.
8991 * BufferView_pimpl.C (dispatch): split out part of the
8992 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8994 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8997 2003-03-25 Angus Leeming <leeming@lyx.org>
8999 * lyxfunc.C (dispatch): changes to the Dialogs interface.
9001 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
9004 * text3.C: remove useless row->height(0)
9006 2003-03-25 John Levon <levon@movementarian.org>
9010 * text3.C: rename the refreshing stuff to better names
9012 2003-03-24 John Levon <levon@movementarian.org>
9014 * BufferView_pimpl.h:
9015 * BufferView_pimpl.C: update layout choice on a mouse
9018 2003-03-23 John Levon <levon@movementarian.org>
9020 * Makefile.am: fix commandtags.h reference
9022 2003-03-22 John Levon <levon@movementarian.org>
9024 * BufferView_pimpl.C:
9029 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
9031 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
9034 * text.C: take the rtl methods out of line
9036 2003-03-21 André Pönitz <poenitz@gmx.net>
9038 * metricsinfo.[Ch]: new files containing structures to be passed around
9039 during the two-phase-drawing...
9041 2003-03-21 André Pönitz <poenitz@gmx.net>
9043 * lyxtextclass.C: read 'environment' tag.
9045 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
9047 * text2.C (removeRow): fix bug 964
9049 2003-03-20 John Levon <levon@movementarian.org>
9053 * text2.C: paint cleanups. Inset::update() dropped font
9056 2003-03-19 John Levon <levon@movementarian.org>
9058 * lyxfunc.C: only fitcursor/markDirty if available()
9060 2003-03-19 John Levon <levon@movementarian.org>
9062 * commandtags.h: rename to ...
9064 * lfuns.h: ... this, and renumber / cleanup
9066 2003-03-19 John Levon <levon@movementarian.org>
9068 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
9069 fit the cursor after an lfun
9073 * BufferView_pimpl.h:
9074 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
9076 * LyXAction.C: layout-character should have ReadOnly
9078 * ParagraphParameters.C:
9080 * bufferview_funcs.C:
9087 * undo_funcs.C: changes from above
9089 2003-03-18 John Levon <levon@movementarian.org>
9091 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
9092 remove it from update()
9094 * lyxfunc.C: update layout choice after an lfun
9096 * text3.C: remove extra updateLayoutChoice()s
9098 2003-03-18 John Levon <levon@movementarian.org>
9100 * text.C: top_y change means full repaint, fix
9101 a drawing bug with cursor movement
9103 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
9107 * text2.C: anchor row on setCursor
9109 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
9111 * lyxtext.h: remove almost all mutable keywords
9114 * text3.C: remove const keywords accordingly
9116 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
9118 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
9120 (TeXEnvironment): ditto
9123 2003-03-17 John Levon <levon@movementarian.org>
9125 * text.C (rowBreakPoint): remove attempt to fix displayed
9126 math insets inside a manual label
9128 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
9130 * lyxtext.h: remove BufferView* as first arg from almost all class
9132 * other files: adjust.
9134 2003-03-17 John Levon <levon@movementarian.org>
9138 * text2.C: more paint cleanups
9140 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
9143 * rowpainter.C: remove "smart" background painting code
9145 2003-03-16 John Levon <levon@movementarian.org>
9150 * text3.C: add helper functions for setting refresh_row/y
9152 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
9154 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
9155 newline inset which *can* get inserted in the pass_thru layouts.
9156 This is primarily for literate documents.
9158 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
9160 * buffer.C: increment LYX_FORMAT to 223
9162 2003-03-14 André Pönitz <poenitz@gmx.net>
9164 * textclass.h: prepare for environment handling, ws changes
9165 * lyxlayout.C: read latexheader and latexfooter tags
9167 2003-03-14 John Levon <levon@movementarian.org>
9169 * text2.C: rewrite ::status() a bit
9171 2003-03-13 John Levon <levon@movementarian.org>
9173 * lyxtext.h: add some docs
9175 2003-03-13 John Levon <levon@movementarian.org>
9180 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
9182 2003-03-13 John Levon <levon@movementarian.org>
9184 * text3.C: fix appendix redrawing
9186 2003-03-13 John Levon <levon@movementarian.org>
9188 * text.C (setHeightOfRow):
9190 * rowpainter.C: make appendix mark have the text
9191 "Appendix" so the user knows what it is
9194 * LColor.C: s/appendixline/appendix/ from above
9196 2003-03-13 John Levon <levon@movementarian.org>
9198 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
9200 * text.C: fix a getChar(pos) bug properly
9202 2003-03-13 Angus Leeming <leeming@lyx.org>
9205 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
9206 Probably only temporary. Let's see how things pan out.
9208 * BufferView.C (unlockInset):
9209 * BufferView_pimpl.C (fitCursor):
9210 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
9212 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
9213 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
9215 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
9216 new functions that convert ParagraphParameters to and from a string.
9218 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9219 BufferView::Pimpl's dispatch.
9220 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9222 2003-03-13 André Pönitz <poenitz@gmx.net>
9226 * factory.C: make it aware of InsetEnv
9228 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
9230 * text2.C (setCursor): never ask for one past last
9231 (setCursor): add some debugging messages.
9233 * text.C (singleWidth): never ask for one past last
9234 (singleWidth): ditto
9236 (rightMargin): ditto
9237 (rowBreakPoint): ditto
9238 (setHeightOfRow): ditto
9239 (prepareToPrint): ditto
9241 * rowpainter.C (paintBackground): never ask for one past last
9242 (paintText): never ask for one past last
9244 * paragraph_pimpl.C (getChar): make the assert stricter, never
9245 allow the one past last pos to be taken
9247 * paragraph.C (getChar): ws changes only
9249 * lyxrow.C (nextRowIsAllInset): never ask for one past last
9250 (numberOfSeparators): ditto
9251 (numberOfHfills): ditto
9253 2003-03-12 John Levon <levon@movementarian.org>
9259 * paragraph_funcs.C: fix per-buffer authorlists
9261 2003-03-12 John Levon <levon@movementarian.org>
9263 * text.C: fix newline in right address
9265 2003-03-12 Angus Leeming <leeming@lyx.org>
9267 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9268 duplicate those in LyXFunc::dispatch.
9272 * ToolbarDefaults.C:
9273 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9274 Add LFUN_FONTFREE_UPDATE.
9276 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9277 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9279 * bufferview_func.[Ch]: several new functions to facilliate
9280 transfer of data to and from the character dialog.
9282 2003-03-12 John Levon <levon@movementarian.org>
9287 * paragraph_funcs.C:
9288 * paragraph_pimpl.C:
9292 * text3.C: remove META_NEWLINE in favour of an inset
9295 * rowpainter.C: remove paintNewline (done by inset)
9297 2003-03-12 John Levon <levon@movementarian.org>
9299 * paragraph_pimpl.C: complain about bad getChar()s
9300 for a while at least
9302 2003-03-12 John Levon <levon@movementarian.org>
9305 * buffer.C: move paragraph read into a separate function,
9306 a little renaming to reflect that.
9309 * bufferparams.C: remove the author_ids map, not necessary now
9312 * factory.C: moved Buffer::readInset to here
9314 * paragraph_funcs.h:
9315 * paragraph_funcs.C: readParagraph free function moved from
9318 * tabular.C: name change
9320 2003-03-12 John Levon <levon@movementarian.org>
9323 * ParagraphParameters.C: move par params input to
9326 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9327 behave like a normal read from the stream wrt reading
9328 a line vs. a \\token
9330 2003-03-12 John Levon <levon@movementarian.org>
9333 * ParagraphParameters.h:
9334 * ParagraphParameters.C: move output code to a
9337 2003-03-12 John Levon <levon@movementarian.org>
9339 * BufferView.C (insertLyXFile):
9342 * tabular.C: use a parlist iterator for creating the
9345 2003-03-12 John Levon <levon@movementarian.org>
9347 * buffer.C: make current_change static local not
9350 2003-03-12 John Levon <levon@movementarian.org>
9352 * buffer.C: fix insertStringAsLines for change tracking
9354 2003-03-12 John Levon <levon@movementarian.org>
9361 * bufferparams.C: move author list into params. Rename some
9362 functions. Move the header reading into a separate token
9363 loop. Move the header token reading into BufferParams.
9365 2003-03-12 John Levon <levon@movementarian.org>
9367 * changes.C: put debug inside lyxerr.debugging() checks
9369 2003-03-11 André Pönitz <poenitz@gmx.net>
9371 * factory.C: make it aware of InsetHFill
9373 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9375 * buffer.C (latexParagraphs): move function from here...
9376 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9379 2003-03-10 Angus Leeming <leeming@lyx.org>
9381 * LyXAction.C (init): fix bug in poplating array with multiple entries
9382 with the same LFUN (spotted by JMarc).
9384 2003-03-10 John Levon <levon@movementarian.org>
9387 * text2.C: move getColumnNearX() near its
9390 2003-03-10 John Levon <levon@movementarian.org>
9392 * text.C: fix break before a minipage
9394 2003-03-10 John Levon <levon@movementarian.org>
9396 * text.C: fix the last commit
9398 2003-03-09 John Levon <levon@movementarian.org>
9402 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9403 bug 365 (don't break before insets unless needed). Don't
9404 return a value > last under any circumstances.
9406 2003-03-09 Angus Leeming <leeming@lyx.org>
9408 * BufferView_pimpl.C (trackChanges, dispatch): call
9409 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9411 2003-03-09 Angus Leeming <leeming@lyx.org>
9413 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9414 than Dialogs::showAboutlyx().
9416 2003-03-09 Angus Leeming <leeming@lyx.org>
9418 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9419 than Dialogs::showTabularCreate().
9421 2003-03-09 John Levon <levon@movementarian.org>
9425 * text2.C: 3rd arg to nextBreakPoint was always the same.
9428 2003-03-08 John Levon <levon@movementarian.org>
9435 * text2.C: Remove the "main" bit from the "main body"
9438 2003-03-08 John Levon <levon@movementarian.org>
9440 * text.C (leftMargin): The left margin of an empty
9441 manual label paragraph should not include the label width
9444 * text.C (prepareToPrint): don't attempt to measure hfills
9445 for empty manual label paragraphs - the answer should be 0
9447 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9449 * CutAndPaste.C: remove commented code and reindent.
9451 2003-03-08 John Levon <levon@movementarian.org>
9454 * lyxfunc.C: move reloadBuffer()
9457 * BufferView.C: to here
9459 * lyxvc.C: add comment
9462 * vc-backend.C: call bv->reload() to avoid
9463 getStatus() check on MENURELOAD
9465 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
9467 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9468 to an old format .dep file.
9470 2003-03-07 Angus Leeming <leeming@lyx.org>
9472 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9473 when the LFUN_MOUSE_RELEASE should have been handled by
9474 inset->localDispatch.
9476 2003-03-07 Angus Leeming <leeming@lyx.org>
9478 * BufferView_pimpl.C (dispatch):
9479 * LyXAction.C (init):
9480 * ToolbarDefaults.C (init):
9482 * lyxfunc.C (getStatus):
9483 remove LFUN_INSET_GRAPHICS.
9485 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9487 2003-03-07 Angus Leeming <leeming@lyx.org>
9490 * LyXAction.C (init):
9491 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9493 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9496 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9498 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9499 localDispatch method LFUN_INSET_DIALOG_UPDATE.
9501 2003-03-07 Angus Leeming <leeming@lyx.org>
9503 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9506 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9508 * ParagraphList.C (front): new function
9511 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
9513 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9514 and top_row_offset_. removed var first_y.
9516 * text2.C (LyXText, removeRow):
9518 * BufferView_pimpl.C:
9519 use these methods instead of using first_y
9521 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9523 * text2.C (pasteSelection): adjust for checkPastePossible
9525 * CutAndPaste.C: remove Paragraph * buf and replace with
9526 ParagraphList paragraphs.
9527 (DeleteBuffer): delete
9528 (cutSelection): change the tc type to textclass_type
9529 (copySelection): change the tc type to textclass_type
9530 (copySelection): adjust for ParagraphList
9531 (pasteSelection): change the tc type to textclass_type
9532 (pasteSelection): adjust for Paragraphlist
9533 (nrOfParagraphs): simplify for ParagraphList
9534 (checkPastePossible): simplify for ParagraphList
9535 (checkPastePossible): remove unused arg
9537 * ParagraphList.C (insert): handle the case where there are no
9540 * CutAndPaste.h: make CutAndPaste a namespace.
9542 * text3.C (dispatch): adjust
9544 * text.C (breakParagraph): add a ParagraphList as arg
9546 * paragraph_funcs.C (breakParagraph): change to take a
9547 BufferParams and a ParagraphList as args.
9548 (breakParagraphConservative): ditto
9549 (mergeParagraph): ditto
9550 (TeXDeeper): add a ParagraphList arg
9551 (TeXEnvironment): ditto
9554 * buffer.C (readLyXformat2): adjust
9555 (insertStringAsLines): adjust
9556 (latexParagraphs): adjust
9558 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9559 (cutSelection): adjust
9560 (pasteSelection): adjust
9562 * BufferView_pimpl.C (insertInset): adjust
9564 2003-03-05 Angus Leeming <leeming@lyx.org>
9567 * LyXAction.C (init):
9568 * BufferView_pimpl.C (dispatch):
9569 * lyxfunc.C (getStatus):
9570 remove LFUN_CHILD_INSERT.
9572 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9574 2003-03-05 Angus Leeming <leeming@lyx.org>
9577 * LyXAction.C (init):
9578 * src/factory.C (createInset):
9579 * lyxfunc.C (getStatus):
9580 * text3.C (dispatch):
9581 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9583 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9585 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9587 * ParagraphList.C (insert): handle insert right before end()
9588 (erase): fix cases where it can be first or last paragraph.
9590 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9592 * paragraph_funcs.C (TeXEnvironment): remove all usage of
9593 Paragraph::next and Paragraph::previous
9596 * text.C (breakParagraph): adjust
9598 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9599 BufferParams& as arg.
9600 (breakParagraph): use ParagraphList::insert
9601 (breakParagraphConservative): take a Buffer* instead of a
9602 BufferParams& as arg.
9603 (breakParagraphConservative): use ParagraphList::insert.
9605 * buffer.C (insertStringAsLines): un-const it
9606 (insertStringAsLines): adjust
9608 * ParagraphList.C (insert): new function
9610 * CutAndPaste.C (pasteSelection): adjust
9612 * text.C (backspace): adjust
9614 * tabular.C (SetMultiColumn): adjust
9616 * CutAndPaste.C (cutSelection): adjust
9617 (pasteSelection): adjust
9619 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9620 Buffer const * as arg
9622 * ParagraphList.C (erase): new function
9623 * paragraph_funcs.C (mergeParagraph): use it
9624 (mergeParagraph): make it take a Buffer* instead of a
9625 BufferParams* as arg
9627 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9629 (breakParagraphConservative): ditto
9631 * paragraph.h: remove the breakParagraph friend
9633 * paragraph.C (eraseIntern): new function
9634 (setChange): new function
9636 * paragraph_funcs.C (mergeParagraph): make it take a
9637 ParagraphList::iterator instead of a Paragraph *, adjust
9640 * paragraph.h: move an #endif so that the change tracking stuff
9641 also works in the NO_NEXT case.
9643 2003-03-04 Angus Leeming <leeming@lyx.org>
9646 * LyXAction.C: new LFUN_INSET_MODIFY.
9648 * BufferView_pimpl.C (dispatch): if an inset is found to be open
9649 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9651 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9653 * several files: ws changes only
9655 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9656 (TeXEnvironment): ditto
9659 * buffer.C (makeLaTeXFile): adjust
9660 (latexParagraphs): make it take ParagraphList::iterator as args
9662 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
9664 * buffer.C (latexParagraphs): adjust
9666 * paragraph.C (TeXOnePar): move function...
9667 (optArgInset): move function...
9668 (TeXEnvironment): move function...
9669 * paragraph_pimpl.C (TeXDeeper): move function...
9670 * paragraph_funcs.C: ...here
9672 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9674 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9676 * buffer.C (readInset): remove compability code for old Figure and
9679 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9681 * buffer.C: ws changes
9684 * BufferView_pimpl.C: ditto
9687 * bufferlist.h: ditto
9691 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
9693 * converter.[Ch]: split into itself +
9696 * Makefile.am: += graph.[Ch] + format.[Ch]
9703 * lyxrc.C: added #include "format.h"
9705 2003-02-27 Angus Leeming <leeming@lyx.org>
9707 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9710 * factory.C (createInset): add "label" to the factory.
9712 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9713 string and do no more.
9715 2003-02-27 Angus Leeming <leeming@lyx.org>
9718 * LyXAction.C (init):
9719 * factory.C (createInset):
9720 * BufferView_pimpl.C (dispatch):
9721 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9723 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9725 * lyxfunc.C (dispatch):
9726 * text3.C (dispatch): pass name to params2string.
9728 2003-02-26 Angus Leeming <leeming@lyx.org>
9730 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9732 Rearrange the ~includes. Strip out the unnecessary ones.
9734 * factory.C (createInset): reformat.
9735 create new insets for the various LFUN_XYZ_APPLY lfuns.
9737 2003-02-26 John Levon <levon@movementarian.org>
9740 * lyxrow.C: add isParStart,isParEnd helpers
9742 * paragraph.h: make isInserted/DeletedText take refs
9744 * paragraph_funcs.h:
9745 * paragraph_funcs.C: remove #if 0'd code
9750 * text.C: use lyxrow helpers above.
9751 Move draw and paint routines to RowPainter.
9752 Make several methods use refs not pointers.
9753 Make backgroundColor() const.
9754 Add markChangeInDraw(), isInInset().
9755 Merge changeRegionCase into changeCase.
9756 Make workWidth() shouldn't-happen code into an Assert.
9759 * rowpainter.C: new class for painting a row.
9762 * vspace.C: make inPixels take a ref
9764 2003-02-26 Angus Leeming <leeming@lyx.org>
9766 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9769 2003-02-25 John Levon <levon@movementarian.org>
9771 * ispell.C: give the forked command a more accurate name
9773 2003-02-22 John Levon <levon@movementarian.org>
9776 * toc.C: make TocItem store an id not a Paragraph *
9779 2003-02-21 Angus Leeming <leeming@lyx.org>
9781 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9782 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9783 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9784 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9785 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9786 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9788 * BufferView_pimpl.C (dispatch):
9789 * LyXAction.C (init):
9790 * factory.C (createInset):
9791 * lyxfunc.C (getStatus, dispatch):
9792 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9794 2003-02-21 Angus Leeming <leeming@lyx.org>
9796 * BufferView_pimpl.C (MenuInsertLyXFile):
9797 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9798 * lyxfunc.C (menuNew, open, doImport):
9799 no longer pass a LyXView & to fileDlg.
9801 2003-02-21 Angus Leeming <leeming@lyx.org>
9803 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9804 * LyXAction.C: change, BIBKEY to BIBITEM.
9805 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9806 Change InsetBibKey to InsetBibitem.
9807 Change BIBKEY_CODE to BIBITEM_CODE.
9808 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9809 * factory.C: replace insetbib.h with insetbibitem.h.
9810 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9811 * paragraph.C: replace insetbib.h with insetbibitem.h.
9812 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9813 Change bibkey() to bibitem().
9814 * text.C: remove insetbib.h.
9815 * text2.C: replace insetbib.h with insetbibitem.h.
9816 change bibkey() to bibitem().
9817 * text3.C: remove insetbib.h.
9818 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9820 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9822 * lyxrc.C (output): enclose user email in quotes (in case there are
9825 2003-02-18 John Levon <levon@movementarian.org>
9827 * buffer.h: add std::
9829 2003-02-17 John Levon <levon@movementarian.org>
9835 * pspell.C: reworking. Especially in ispell, a large
9836 number of clean ups and bug fixes.
9838 * lyxfunc.C: fix revert to behave sensibly
9840 2003-02-17 André Pönitz <poenitz@gmx.net>
9843 * commandtags.h: new LFUN_INSERT_BIBKEY
9853 * paragraph_func.C: remove special bibkey handling
9855 2003-02-17 John Levon <levon@movementarian.org>
9857 * text.C (Delete): fix case where delete at the end of
9858 the very first paragraph would not merge the pars
9860 2003-02-17 John Levon <levon@movementarian.org>
9862 * lyxrow.C: fix lastPrintablePos()
9864 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9866 * bufferparams.C (writeLaTeX): add a std:here
9868 * buffer.C: and remove a using directive there
9870 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9872 * buffer.C (makeLaTeXFile): move the code that generates the
9875 * bufferparams.C (writeLaTeX): ... in this new method
9877 * LaTeXFeatures.C (getEncodingSet): make const
9878 (getLanguages): make const
9880 * MenuBackend.C (binding): returns the binding associated to this
9882 (add): sets the status of each item by calling getStatus. Adds
9884 (read): add support for OptSubMenu
9885 (expand): remove extra separator at the end of expanded menu
9887 2003-02-15 John Levon <levon@movementarian.org>
9890 * BufferView_pimpl.C:
9892 * bufferlist.C: remove pointless BufferStorage bloat. Remove
9893 inset code that had no actual effect. Remove unneeded status
9896 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9898 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9901 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
9903 * text.C (drawLengthMarker): also draw an arrow marker for
9904 symbolic lengths (medskip...)
9906 2003-02-14 John Levon <levon@movementarian.org>
9909 * tabular.C: better method names
9911 2003-02-14 John Levon <levon@movementarian.org>
9913 * BufferView_pimpl.C:
9918 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9919 it's a more accurate name. Remove some pointless uses.
9921 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9923 * text2.C (LyXText): change order of initilizers to shut off
9926 2003-02-14 John Levon <levon@movementarian.org>
9928 * buffer.C: use ParIterator for getParFromID()
9932 * paragraph_pimpl.h:
9933 * paragraph_pimpl.C: remove unused getParFromID()
9935 2003-02-14 John Levon <levon@movementarian.org>
9937 * buffer.C: remove some very old #if 0'd parse code
9939 2003-02-13 John Levon <levon@movementarian.org>
9943 * text2.C: move hfillExpansion(), numberOfSeparators(),
9944 rowLast(), rowLastPrintable(), numberofHfills(),
9945 numberOfLabelHfills() ...
9948 * lyxrow.C: ... to member functions here.
9953 * text.C: remove LyXText::beginningOfMainBody(), and call
9954 p->beginningOfMainBody() directly. Move the check for
9955 LABEL_MANUAL into the latter.
9962 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9968 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9969 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9971 2003-02-13 John Levon <levon@movementarian.org>
9973 * CutAndPaste.C: remove debug
9975 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9977 * paragraph.C (asString): remove two unused variables
9979 * lyxtextclass.C (readTitleType):
9981 (LyXTextClass): handle new members titletype_ and titlename_
9983 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9985 2003-02-09 John Levon <levon@movementarian.org>
9988 * buffer.C: replace hand-coded list with a map for the dep clean
9990 2003-02-08 John Levon <levon@movementarian.org>
9992 * LaTeX.C: consolidate code into showRunMessage() helper
9994 2003-02-08 John Levon <levon@movementarian.org>
9999 * BufferView.C: change setSelectionOverString() to setSelectionRange()
10000 and pass the size in explicitly
10002 * BufferView_pimpl.h:
10003 * BufferView_pimpl.C:
10005 * BufferView.C: add getCurrentChange()
10007 * BufferView_pimpl.h:
10008 * BufferView_pimpl.C: handle change lfuns
10010 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
10011 for changes. Mark pasted paragraphs as new.
10013 * support/lyxtime.h:
10014 * support/lyxtime.C:
10015 * DepTable.C: abstract time_t as lyx::time_type
10018 * LColor.C: add colours for new text, deleted text, changebars
10020 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
10021 package use "usenames" option.
10025 * LyXAction.C: add change lfuns
10029 * author.C: author handling
10032 * buffer.C: add a per-buffer author list, with first entry as
10033 current author. Handle new .lyx tokens for change tracking. Output
10034 author list to .lyx file. Output dvipost stuff to .tex preamble.
10035 Bump lyx format to 222.
10038 * bufferlist.C: add setCurrentAuthor() to reset current author details
10042 * bufferparams.C: add param for tracking
10044 * bufferview_funcs.C: output change info in minibuffer
10048 * changes.C: add change-tracking structure
10051 * debug.C: add CHANGES debug flag
10054 * lyxfind.C: add code for finding the next change piece
10057 * lyxrc.C: add user_name and user_email
10060 * lyxrow.C: add a metric for the top of the text line
10063 * text.C: implement accept/rejectChange()
10066 * text.C: paint changebars. Paint new/deleted text in the chosen
10067 colours. Strike through deleted text.
10071 * paragraph_pimpl.h:
10072 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
10073 in the current change to the insert functions. Rework erase to
10074 mark text as deleted, adding an eraseIntern() and a range-based
10075 erase(). Implement per-paragraph change lookup and
10078 * paragraph_funcs.C: Fixup paste for change tracking.
10080 * tabular.C: mark added row/columns as new.
10082 * text.C: fix rowLast() to never return -1. Don't allow
10083 spellchecking of deleted text. Track transpose changes. Don't
10084 allow paragraph break or merge where appropriate.
10086 * text2.C: leave cursor at end of selection after a cut.
10088 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10090 * text.C (getLengthMarkerHeight):
10091 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
10092 visible on screen too.
10094 2003-02-07 John Levon <levon@movementarian.org>
10096 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
10098 2003-02-05 Angus Leeming <leeming@lyx.org>
10100 * lyxserver.C (read_ready): revert my patch of 11 September last year
10101 as it sends PC cpu through the roof. Presumably this means that
10102 the lyxserver will no longer run on an Alpha...
10104 2003-01-30 Angus Leeming <leeming@lyx.org>
10106 * factory.C (createInset): create an InsetCommandParam of type "index"
10107 and use it to 'do the right thing'.
10109 * text2.C (getStringToIndex): ensure that cursor position is always
10110 reset to the reset_cursor position.
10112 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10114 * lyxfunc.C (getStatus): "buffer-export custom" should never be
10117 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
10121 * lyxfunc.C: Output messages with identical spelling, punctuation,
10124 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
10126 * MenuBackend.C (expandFormats): List only viewable export formats
10129 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
10132 * lyxfunc.C (getStatus): Make sure that formats other than
10133 "fax" can also be disabled
10135 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10137 * text3.C (dispatch): put the lfuns that insert insets in 3
10138 groups, and call doInsertInset with appropriate arguments.
10139 (doInsertInset): new function, that creates an inset and inserts
10140 it according to some boolean parameters.
10142 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
10144 * buffer.C (readFile): remember to pass on 'par' when calling
10145 readFile recursively.
10147 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10149 * MenuBackend.C (expandFormats): add "..." to import formats.
10151 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
10153 * paragraph.C (asString): Remove XForms RTL hacks.
10155 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
10156 * buffer.C: fix typo
10158 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
10160 * Makefile.am (LIBS): delete var
10161 (lyx_LDADD): add @LIBS@ here instead.
10163 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
10165 * Clarify the meaning of "wheel mouse jump"
10167 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10169 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
10172 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10174 * importer.C (Loaders): do not preallocate 3 elements in the
10175 vector, since one ends up with 6 elements otherwise
10177 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10179 * DepTable.C (write): write the file name as last element of the
10180 .dep file (because it may contain spaces)
10181 (read): read info in the right order
10183 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10185 * paragraph_pimpl.C (simpleTeXBlanks):
10186 (simpleTeXSpecialChars):
10187 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
10189 * tabular.C (latex): add some missing case statements. Reindent.
10191 * MenuBackend.C (expandToc): remove unused variable.
10193 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
10202 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
10205 2003-01-05 John Levon <levon@movementarian.org>
10208 * BufferView.C: add getEncoding()
10211 * kbsequence.C: do not store last keypress
10214 * lyxfunc.C: store last keypress here instead. Pass encoding
10217 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10219 * lyx_main.C (init): remove annoying error message when following
10220 symbolic links (bug #780)
10222 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10224 * text.C (insertChar):
10225 * lyxrc.C (getDescription): remove extra spaces
10227 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10229 * lyxrc.C (getDescription): remove extra spaces
10231 2002-12-20 John Levon <levon@movementarian.org>
10233 * text3.C: hack fix for page up/down across tall rows
10235 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10237 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10240 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10242 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10243 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10244 thesaurus is not compiled in
10246 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
10248 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
10250 2002-12-16 Angus Leeming <leeming@lyx.org>
10253 * lyx_main.C (init): remove override_x_deadkeys stuff.
10255 2002-12-12 John Levon <levon@movementarian.org>
10257 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10258 insert. Only remove shift modifier under strict
10261 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
10263 * MenuBackend.C (expandToc): fix crash.
10265 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
10267 * MenuBackend.C (expandToc): gettext on float names.
10269 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
10271 * lyxlength.[Ch]: set default unit to UNIT_NONE,
10272 implement bool empty() [bug 490]
10274 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
10276 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10278 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
10280 * several files: ws changes
10282 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
10284 * text2.C (setCounter): clean up a bit, use boost.format.
10285 (updateCounters): initialize par upon declaration.
10287 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10288 if the layout exists. We do not just store the layout any more.
10289 (SwitchLayoutsBetweenClasses): use boost.format
10291 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10293 * converter.C (convert): if from and to files are the same, use a
10294 temporary files as intermediary
10296 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10299 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10301 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
10303 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10305 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
10307 * tabular.C (asciiPrintCell): use string(size, char) instead of
10310 * sgml.C (openTag): fix order of arguments to string constructor
10313 * lyxfunc.C (dispatch): use boost.format
10315 * lots of files: change "c" -> 'c'
10317 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
10319 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10321 2002-11-25 Angus Leeming <leeming@lyx.org>
10323 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10325 * lyx_main.C (init): compile fix.
10327 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
10329 * lyx_cb.C (start): boost.formatify
10330 do not include <iostream>
10332 * lengthcommon.C: ws only
10334 * boost-inst.C,BoostFormat.h: add more explict instantations
10336 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
10338 * lots of files: handle USE_BOOST_FORMAT
10340 2002-11-21 John Levon <levon@movementarian.org>
10342 * pspell.C: fix compile
10344 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10346 * lyxfunc.C (dispatch): use boost::format
10350 * lyxfont.C (stateText): use boost::format
10352 * lyx_main.C (LyX): use boost::format
10354 (queryUserLyXDir): ditto
10355 (readRcFile): ditto
10357 (typedef boost::function): use the recommened syntax.
10359 * importer.C (Import): use boost::format
10361 * debug.C (showLevel): use boost::format
10363 * converter.C (view): use boost::format
10368 * bufferview_funcs.C (currentState): use boost::format
10370 * bufferlist.C (emergencyWrite): use boost::format
10372 * buffer.C (readLyXformat2): use boost::format
10373 (parseSingleLyXformat2Token): ditto
10375 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10377 * LaTeX.C (run): use boost::format
10379 * Chktex.C (scanLogFile): use boost::format
10381 * BufferView_pimpl.C (savePosition): use boost::format
10382 (restorePosition): ditto
10383 (MenuInsertLyXFile): ditto
10385 * BoostFormat.h: help file for explicit instation.
10387 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
10389 * tabular.C (latex): Support for block alignment in fixed width
10392 2002-11-17 John Levon <levon@movementarian.org>
10394 * BufferView_pimpl.C:
10396 * lyxfunc.C: split filedialog into open/save
10398 2002-11-08 Juergen Vigna <jug@sad.it>
10400 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10401 by my last patch (hopefully).
10403 2002-11-08 John Levon <levon@movementarian.org>
10412 * toc.C: ParConstIterator, and use it (from Lars)
10414 2002-11-07 Ben Stanley <bds02@uow.edu.au>
10416 * lyxtextclass.[Ch]: revise and add doxygen comments
10418 2002-11-07 John Levon <levon@movementarian.org>
10420 * text.C: fix progress value for spellchecker
10422 * toc.C: fix navigate menu for insetwrap inside minipage
10424 * paragraph_funcs.C: added FIXME for suspect code
10426 2002-11-07 John Levon <levon@movementarian.org>
10428 * BufferView_pimpl.C: fix redrawing of insets
10431 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10433 * text2.C (updateCounters): fix bug 668
10435 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
10437 * text3.C (dispatch): Do not make the buffer dirty when moving the
10440 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10442 * vc-backend.C: STRCONV
10443 (scanMaster): ditto
10445 * text2.C (setCounter): STRCONV
10447 * paragraph.C (asString): STRCONV
10449 * lyxlength.C (asString): STRCONV
10450 (asLatexString): ditto
10452 * lyxgluelength.C (asString): STRCONV
10453 (asLatexString): ditto
10455 * lyxfunc.C (dispatch): STRCONV
10458 * lyxfont.C (stateText): STRCONV
10460 * importer.C (Import): STRCONV
10462 * counters.C (labelItem): STRCONV
10463 (numberLabel): ditto
10464 (numberLabel): remove unused ostringstream o
10469 * bufferview_funcs.C (currentState): STRCONV
10471 * buffer.C (readFile): STRCONV
10472 (asciiParagraph): ditto
10473 (makeLaTeXFile): ditto
10475 * Spacing.C (writeEnvirBegin): STRCONV
10477 * LaTeXFeatures.C (getLanguages): STRCONV
10478 (getPackages): ditto
10480 (getBabelOptions): ditto
10481 (getTClassPreamble): ditto
10482 (getLyXSGMLEntities): ditto
10483 (getIncludedFiles): ditto
10487 (scanAuxFile): ditto
10490 * LString.h: add the STRCONV macros
10492 * BufferView_pimpl.C (savePosition): STRCONV
10493 (restorePosition): ditto
10494 (MenuInsertLyXFile): ditto
10496 * vc-backend.C (scanMaster): change from submatch[...] to
10499 * funcrequest.C: include config.h
10501 * factory.C: include config.h
10503 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10505 * box.C: include config.h
10507 * LaTeX.C (scanAuxFile): change from submatch[...] to
10511 2002-10-25 Angus Leeming <leeming@lyx.org>
10513 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10515 * ispell.[Ch] (setError): new method.
10516 * ispell.C (c-tor): move out child process into new class LaunchIspell.
10517 Use setError() insetead of goto END.
10519 * lyx_cb.C (AutoSave): move out child process into new class
10522 2002-10-30 John Levon <levon@movementarian.org>
10524 * text3.C: make start appendix undoable
10526 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
10528 * lyxlength.C (inPixels): Fix returned value.
10530 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10533 2002-10-24 Angus Leeming <leeming@lyx.org>
10535 * lyxgluelength.h: no need to forward declare BufferParams
10536 or BufferView, so don't.
10538 2002-10-21 John Levon <levon@movementarian.org>
10540 * BufferView.C: menuUndo ->undo, redo
10542 * BufferView.h: document, remove dead, make some methods private
10544 * paragraph_funcs.h:
10545 * paragraph_funcs.C:
10546 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10551 * sgml.C: move sgml open/close tag into sgml.C
10553 * bufferview_funcs.h: unused prototype
10556 * lyxfunc.C: remove unused
10559 * text.C: remove unused
10561 2002-10-21 John Levon <levon@movementarian.org>
10565 * BufferView_pimpl.h:
10566 * BufferView_pimpl.C: fix mouse wheel handling based on
10567 patch from Darren Freeman
10569 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
10571 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10573 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
10575 * lyxlength.C (inPixels): Fix hanfling of negative length.
10576 Fix LyXLength::MU case.
10578 2002-10-16 John Levon <levon@movementarian.org>
10580 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10582 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10584 * converter.C (view): add support for $$i (file name) and $$p
10585 (file path) for the viewer command. If $$i is not specified, then
10586 it is appended to the command (for compatibility with old syntax)
10588 2002-10-14 Juergen Vigna <jug@sad.it>
10590 * undo_funcs.C (textHandleUndo): alter the order in which the
10591 new undopar is added to the LyXText, as we have to set first
10592 the right prev/next and then add it as otherwise the rebuild of
10593 LyXText is not correct. Also reset the cursor to the right paragraph,
10594 with this IMO we could remove the hack in "redoParagraphs()".
10596 2002-10-09 Angus Leeming <leeming@lyx.org>
10598 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10599 to turn off an optimisation if a new inset is to be inserted.
10601 2002-10-11 André Pönitz <poenitz@gmx.net>
10603 * lyxtext.h: make some functions public to allow access
10604 from inset/lyxtext for handling LFUN_PRIOR/NEXT
10606 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10608 * text3.C (dispatch): when changing layout, avoid an infinite loop
10611 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10613 * lyxrc.C (read): treat a viewer or converter command of "none" as
10616 * MenuBackend.C (expandFormats): for an update, also allow the
10617 formats that are not viewable
10619 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10620 script if it is newer than the lyxrc.defaults in user directory
10622 2002-10-07 André Pönitz <poenitz@gmx.net>
10624 * text.C: Vitaly Lipatov's small i18n fix
10626 2002-09-25 Angus Leeming <leeming@lyx.org>
10628 * ispell.h: doxygen fix.
10630 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
10632 * buffer.h (readFile): Add a new argument to the method, to allow
10633 reading of old-format templates.
10635 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
10637 * toc.C (getTocList): Get TOC from InsetWrap.
10639 2002-09-16 John Levon <levon@movementarian.org>
10641 * lyxfunc.C: check tabular for cut/copy too
10643 2002-09-12 John Levon <levon@movementarian.org>
10645 * LyXAction.C: tidy
10648 * factory.C: add header
10650 * paragraph_funcs.h:
10651 * paragraph_funcs.C: cleanup
10653 2002-09-11 John Levon <levon@movementarian.org>
10655 * PrinterParams.h: odd/even default to true
10657 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
10659 * PrinterParams.h: update printer parameters for new xforms dialog
10661 2002-09-11 Angus Leeming <leeming@lyx.org>
10663 * lyxserver.C (read_ready): re-write to make it more transparent
10664 and to make it work in coherent fashion under Tru64 Unix.
10666 2002-09-11 André Pönitz <poenitz@gmx.net>
10670 * text3.C: implement LFUN_WORDSEL
10672 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10674 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10675 make floatlist_ a boost::shared_ptr<FloatList>
10677 * lyxtextclass.C: include FloatList.h
10678 (LyXTextClass): initialize floatlist_
10679 (TextClassTags): add TC_NOFLOAT
10680 (Read): match "nofloat" to TC_NOFLOAT and use it.
10681 (readFloat): modify call to floatlist_
10685 * FloatList.[Ch] (FloatList): remove commented out float
10687 (erase): new function
10689 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10691 * MenuBackend.C (expandToc): fix crash when there is no document
10694 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
10696 * many files: Add insetwrap.
10698 2002-09-09 John Levon <levon@movementarian.org>
10700 * text2.C: remove confusing and awkward depth wraparound
10702 2002-09-09 John Levon <levon@movementarian.org>
10704 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10707 * buffer.C: remove getIncludeonlyList()
10710 * lyxfunc.C: remove headers
10712 2002-09-09 Juergen Vigna <jug@sad.it>
10714 * text.C (getColumnNearX): fix form Michael this is most
10715 probably a cut&paste bug.
10717 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
10719 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10721 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10722 references, ws changes.
10724 * text2.C (init): update counters after init
10725 (insertParagraph): no need to set counter on idividual paragraphs.
10726 (setCounter): access the counters object in the textclass object
10727 on in the buffer object.
10728 (updateCounters): ditto
10730 * lyxtextclass.C: include counters.h, add variable ctrs_ as
10731 shared_ptr<Counters> to avoid loading counters.h in all
10733 (LyXTextClass): initialize ctrs_
10734 (TextClassTags): add TC_COUNTER, and ...
10735 (Read): use it here.
10736 (CounterTags): new tags
10737 (readCounter): new function
10738 (counters): new funtion
10739 (defaultLayoutName): return a const reference
10741 * counters.C (Counters): remove contructor
10742 (newCounter): remove a couple of unneeded statements.
10743 (newCounter): simplify a bit.
10744 (numberLabel): some small formatting changes.
10746 * buffer.[Ch]: remove all traces of counters, move the Counters
10747 object to the LyXTextClass.
10749 2002-09-06 Alain Castera <castera@in2p3.fr>
10751 * tabular.C: uses \tabularnewline; uses >{...} construct from array
10752 package to set the horizontal alignment on fixed width columns.
10755 * lyx_sty.h: added tabularnewline macro def.
10757 * LaTeXFeatures.C: added NeedTabularnewline macro feature
10759 2002-09-06 John Levon <levon@movementarian.org>
10761 * LyXAction.C: tooltips for sub/superscript
10763 * MenuBackend.C: a bit more verbose
10765 * lyxfunc.C: tiny clean
10767 * undo_funcs.C: document undo_frozen
10769 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
10771 * counters.C (Counters): add missing algorithm counter.
10773 * text2.C (setCounter): lookup the counter with layouts latexname
10774 instead of by section number.
10775 (setCounter): use a hackish way to lookup the correct enum
10777 a float name->type change
10778 reset enum couners with counter name directly instead of depth value.
10780 * counters.C (Counters): remove the push_backs, change to use the
10781 float type not the float name.
10782 (labelItem): remove unused string, float name->type change
10784 * counters.h: don't include vector, loose the enums and sects vectors
10786 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10788 * lyxtextclass.C (TextClassTags): add TC_FLOAT
10789 (Read): add float->TC_FLOAT to textclassTags
10790 (Read): and handle it in the switch
10791 (readFloat): new function
10793 * FloatList.C (FloatList): comment out the hardcoded float
10796 * lyxlayout.h: ws change.
10798 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
10800 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10802 2002-09-03 Angus Leeming <leeming@lyx.org>
10804 * BufferView_pimpl.h: qualified name is not allowed in member
10805 declaration: WorkArea & Pimpl::workarea() const;
10807 * factory.C: added using std::endl directive.
10809 * text3.C: added using std::find and std::vector directives.
10811 2002-08-29 André Pönitz <poenitz@gmx.net>
10814 * text2.C: remove unused member number_of_rows
10817 * BufferView2.C: remove file, move contents to...
10818 * BufferView.C: ... here
10820 * BufferView_pimpl.C:
10821 * factory.C: move more inset creation to factory
10823 * vspace.C: avoid direct usage of LyXText, ws changes
10826 don't provide direct access to WorkArea, use two simple
10827 acessors haveSelction() and workHeight() instead
10830 2002-08-29 John Levon <levon@movementarian.org>
10832 * BufferView_pimpl.C (dispatch): do not continue when
10835 2002-08-28 André Pönitz <poenitz@gmx.net>
10837 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10840 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10842 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
10844 * buffer.C: increment LYX_FORMAT to 221
10846 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10847 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10849 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10851 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10853 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10855 * factory.C (createInset): use LyXTextClass::floats
10857 * MenuBackend.C (expandFloatListInsert):
10858 (expandFloatInsert):
10861 * text2.C (setCounter):
10863 * LaTeXFeatures.C (useFloat):
10864 (getFloatDefinitions):
10866 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10868 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10869 floatlist_, with accessor floats().
10871 * FloatList.h: remove global FloatList
10873 2002-08-26 André Pönitz <poenitz@gmx.net>
10875 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10879 * BufferView_pimpl.C:
10880 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10882 2002-08-25 John Levon <levon@movementarian.org>
10884 * LyXAction.C: fix margin note description
10886 2002-08-24 John Levon <levon@movementarian.org>
10890 * bufferview_funcs.C:
10892 * undo_funcs.C: cleanups
10894 * lyxfunc.C: disable CUT/COPY when no selection
10896 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
10898 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
10899 in "enum UNIT"; e.g. PTW for Percent of TextWidth
10901 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10902 Add backward compatibility to "mono", "gray" and "no".
10904 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
10906 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10907 (and file_format >= 200).
10909 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10911 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10913 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10915 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10917 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
10919 * BufferView_pimpl.C:
10926 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10927 inset and code to make it work with the paragraph code. The inset
10928 can be anywhere in the paragraph, but will only do the expected
10929 thing in LaTeX if the layout file contains the parameter line
10931 (or more generally, a nonzero value) for that layout.
10933 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
10935 * paragraph.h: remove the declaration of undefined counters class
10938 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
10940 * text2.C (setCounter): fixed enumeration mis-count as reported by
10941 Dr. Richard Hawkins.
10943 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10945 * paragraph_funcs.h: remove some unneeded includes
10947 * text.C (backspace): pasteParagraph now in global scipe
10949 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
10950 (pasteSelection): ditto
10952 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
10953 * paragraph_funcs.C (pasteParagraph): ... here
10955 2002-08-20 André Pönitz <poenitz@gmx.net>
10957 * commandtags.h: new LFUNs for swapping/copying table row/colums
10960 * lyxfunc.C: support for new lfuns
10962 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
10965 * buffer.[Ch]: remove NO_COMPABILITY stuff
10967 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
10969 * boost.C (throw_exception): new file, with helper function for
10970 boost compiled without exceptions.
10975 * ParameterStruct.h:
10976 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10978 * bufferlist.C (emergencyWriteAll): use boost bind
10980 * BufferView_pimpl.C (moveCursorUpdate): remove inline
10982 * text.C: include paragraph_funcs.h
10983 (breakParagraph): breakParagraph is now in global scope
10985 * paragraph_funcs.[Ch]: new files
10987 * paragraph.C (breakParagraph,breakParagraphConservative): move to
10990 * buffer.C: include paragraph_funcs.h
10991 (insertStringAsLines): breakParagraph is now in global scope
10993 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10996 * CutAndPaste.C: include paragraph_funcs.h
10997 (cutSelection): breakParagraphConservative is now in global scope
10998 (pasteSelection): ditto
11000 * buffer.h: declare oprator== and operator!= for
11001 Buffer::inset_iterator
11003 * bufferlist.C (emergencyWrite): don't use fmt(...)
11005 * text3.C: add using std::endl
11007 * BufferView.C (moveCursorUpdate): remove default arg
11009 2002-08-20 André Pönitz <poenitz@gmx.net>
11011 * buffer.[Ch]: move inline functions to .C
11014 * BufferView_pimpl.C:
11016 * buffer.[Ch]: use improved inset_iterator
11019 * paragraph.[Ch]: write one paragraph at a time
11021 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
11023 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
11024 style if style is not specified.
11026 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11028 * text2.C (setCounter): when searching for right label for a
11029 caption, make sure to recurse to parent insets (so that a caption
11030 in a minipage in a figure float works) (bug #568)
11032 2002-08-20 André Pönitz <poenitz@gmx.net>
11034 * text3.C: new file for LyXText::dispatch() and helpers
11036 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
11038 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
11040 2002-08-19 André Pönitz <poenitz@gmx.net>
11043 * text.C: new LyXText::dispatch()
11045 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
11047 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
11049 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
11051 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
11054 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11056 * Makefile.am: use $(variables) instead of @substitutions@
11058 2002-08-15 André Pönitz <poenitz@gmx.net>
11061 * BufferView_pimpl.C: streamlining mathed <-> outer world
11065 * LyXAction.C: remove unused LFUN_MATH
11067 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
11069 * paragraph.[Ch]: add some NO_NEXT ifdefs.
11071 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
11073 * paragraph.C (Paragraph): reformat a bit
11074 (cutIntoMinibuffer): use builtin InsetList function instad of
11078 * buffer.C: include boost/bind.hpp, add using std::for_each
11079 (writeFileAscii): use ParagraphList iterators
11080 (validate): use for_each for validate traversal of paragraphs
11081 (getBibkeyList): use ParagraphList iterators
11082 (resizeInsets): use for_each to resizeInsetsLyXText for all
11084 (getParFromID): use ParagraphList iterators
11086 * BufferView2.C (lockInset): use paragraph list and iterators
11088 2002-08-14 John Levon <levon@movementarian.org>
11090 * lyxserver.C: remove spurious xforms include
11092 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11094 * lyxfunc.C (getStatus): disable math-extern outside of math mode
11096 2002-08-13 André Pönitz <poenitz@gmx.net>
11099 * lyxfunc.C: further cleaning
11101 2002-08-13 André Pönitz <poenitz@gmx.net>
11103 * funcrequest.h: new constructor
11105 * funcrequest.C: move stuff here from .h
11108 * BufferView_pimpl.C:
11111 * lyxfunc.C: subsequent changes
11113 * lyxfunc.h: new view() member function
11115 * lyxfunc.C: subsequent changes
11117 2002-08-13 Angus Leeming <leeming@lyx.org>
11120 * BufferView_pimpl.C:
11128 changes due to the changed LyXView interface that now returns references
11129 to member variables not pointers.
11131 2002-08-13 Angus Leeming <leeming@lyx.org>
11133 * WordLangTuple (word, lang_code): return references to strings,
11138 * lyxtext.h: forward-declare WordLangTuple.
11143 * text.C: #include "WordLangTuple.h".
11146 * text.C: (selectNextWordToSpellcheck): constify return type.
11148 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
11154 * paragraph_pimpl.h:
11157 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
11158 suggested by Angus.
11159 Made updateCounter always count from start of buffer, and removed
11160 second argument (par).
11161 Reverted floats number display to '#'. Perhaps I'll try again when the
11162 code base is sanitized a bit.
11164 2002-08-12 Angus Leeming <leeming@lyx.org>
11166 * buffer.[Ch] (getLabelList): constify.
11168 2002-08-07 André Pönitz <poenitz@gmx.net>
11170 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
11172 * funcrequest.h: extension to keep mouse (x,y) position
11174 2002-08-12 Juergen Vigna <jug@sad.it>
11176 * BufferView2.C (insertErrors): forbid undo when inserting error
11179 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
11181 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
11183 * ParagraphList.[Ch]: new files
11185 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
11187 * BufferView2.C (lockInset): ParagraphList changes
11190 * bufferlist.C: ditto
11194 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11196 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
11197 unused class variable counter_,
11199 * paragraph.[Ch] (getFirstCounter): delete unused function
11201 * counters.C: include LAssert.h
11202 (reset): add a new function with no arg, change other version to
11203 not have def. arg and to not allow empty arg.
11205 * text2.C (setCounter): remove empty arg from call to Counters::reset
11207 2002-08-11 John Levon <levon@movementarian.org>
11209 * Makefile.am: add WordLangTuple.h
11211 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11213 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
11214 lyxfunc.C lyxlex_pimpl.C: ws changes only.
11216 * insets/insettext.C: InsetList changes
11218 * graphics/GraphicsSupport.C (operator()): InsetList changes
11220 * toc.C (getTocList): InsetList changes
11222 * paragraph_pimpl.[Ch]: InsetList changes
11224 * paragraph.[Ch]: InsetList changes
11226 * buffer.C (inset_iterator): InsetList changes
11227 (setParagraph): ditto
11228 * buffer.h (inset_iterator): ditto
11229 * iterators.C (operator++): ditto
11230 * iterators.h: ditto
11232 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11234 * InsetList.[Ch]: new files, most InsetList handling moved out of
11237 * BufferView2.C (removeAutoInsets): InsetList changes
11239 (ChangeInsets): ditto
11241 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
11243 * paragraph_pimpl.h (empty): new function
11245 * paragraph.[Ch] (empty): new function
11247 * other files: use the new Paragraph::empty function
11249 2002-08-09 John Levon <levon@movementarian.org>
11251 * lyxtext.h: remove unused refresh_height
11253 2002-08-09 John Levon <levon@movementarian.org>
11260 * paragraph.C: move sgml char escaping out of paragraph
11263 * paragraph.C: remove id setter
11267 * paragraph_pimpl.C: remove dead tex_code_break_column
11269 * bufferview_funcs.C: small cleanup
11271 * lyxfunc.C: remove dead proto
11273 * lyxtext.h: make some stuff private. Remove some dead stuff.
11275 * lyxgluelength.C: make as[LyX]String() readable
11277 2002-08-08 John Levon <levon@movementarian.org>
11282 * ToolbarDefaults.C:
11285 * toc.C: lyxaction cleanup
11287 2002-08-08 John Levon <levon@movementarian.org>
11289 * BufferView2.C: small cleanup
11292 * lyxfind.C: move unnecessary header into the .C
11294 2002-08-08 John Levon <levon@movementarian.org>
11296 * funcrequest.h: just tedious nonsense
11299 * lyx_main.C: cleanups
11302 * vspace.C: remove dead header lyx_main.h
11304 2002-08-07 Angus Leeming <leeming@lyx.org>
11307 * paragraph_pimpl.h:
11308 Forward declare class Counters in paragraph.h by moving the ctrs member
11309 variable into Paragraph::Pimpl.
11310 (counters): new method, returning a reference to pimpl_->ctrs.
11312 * text2.C: ensuing changes.
11314 2002-08-07 John Levon <levon@movementarian.org>
11316 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11318 * BufferView_pimpl.C: announce X selection on double/triple
11321 * lyx_main.C: use correct bool in batch dispatch
11323 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11325 2002-08-07 André Pönitz <poenitz@gmx.net>
11327 * funcrequest.h: new class to wrap a kb_action and its argument
11330 * BufferView_pimpl[Ch]:
11334 * lyxrc.C: subsequent changes
11337 2002-08-07 John Levon <levon@movementarian.org>
11339 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11340 document options change.
11342 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11347 * makefile.am: move counters functionality over from
11348 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11350 2002-08-06 John Levon <levon@movementarian.org>
11352 * WordLangTuple.h: new file for word + language code tuple
11363 * BufferView2.C: use WordLangTuple
11366 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11368 2002-08-06 John Levon <levon@movementarian.org>
11370 * lyx_main.C: fix cmdline batch handling
11372 2002-08-06 André Pönitz <poenitz@gmx.net>
11374 * lyxrc.C: set default for show_banner to true
11376 2002-08-06 John Levon <levon@movementarian.org>
11378 * pspell.C: fix a crash, and allow new aspell to work
11380 2002-08-06 John Levon <levon@movementarian.org>
11383 * kbmap.C: small cleanup
11386 * vspace.C: add const
11388 2002-08-05 John Levon <levon@movementarian.org>
11390 * LyXAction.C: back to tabular-insert
11392 2002-08-04 John Levon <levon@movementarian.org>
11395 * BufferView.C: cosmetic change
11397 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11407 * BufferView2.C: purge all "Lyx" not "LyX" strings
11410 * lyxcursor.C: attempt to add some documentation
11415 * ToolbarDefaults.C:
11416 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11417 merge with LFUN_TABULAR_INSERT
11424 * pspell.C: split up i/pspell implementations into separate
11425 files, many cleanups
11427 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11429 * text2.C: some cleanup
11431 * lyxfunc.C: don't check for isp_command == "none" any more, it
11432 didn't make any sense
11434 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11439 * makefile.am: move counters functionality over
11440 from text2.C/paragraph.[Ch] to counters.[Ch], and
11442 2002-08-02 John Levon <levon@movementarian.org>
11444 * buffer.C: s/lyxconvert/lyx2lyx/
11446 2002-08-02 Angus Leeming <leeming@lyx.org>
11448 * lyxlex.C: revert John's change as it breaks reading of the user
11451 2002-08-02 Angus Leeming <leeming@lyx.org>
11453 * importer.C (Import):
11454 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11455 changes due to LyXView::view() now returning a boost::shared_ptr.
11457 2002-08-02 John Levon <levon@movementarian.org>
11459 * lyxlex.C: small cleanup
11461 2002-08-02 John Levon <levon@movementarian.org>
11463 * text2.C (status): small cleanup, no logic change
11465 2002-08-01 John Levon <levon@movementarian.org>
11468 * buffer.C (writeFile): don't output alerts, caller
11472 * lyx_cb.C: from above
11474 * lyxfunc.C: allow to open non-existent files
11476 2002-07-31 John Levon <levon@movementarian.org>
11478 * lyxserver.C: don't let incidental errors get
11481 2002-07-30 John Levon <levon@movementarian.org>
11483 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11485 2002-07-30 John Levon <levon@movementarian.org>
11488 * lyxserver.C: remove I/O callback too
11490 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11492 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11495 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
11497 * many files: strip,frontStrip -> trim,ltrim,rtrim
11499 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
11501 * PrinterParams.h: remove extern containsOnly, and include
11502 support/lstrings.h instead.
11504 * LaTeX.C (scanAuxFile): modify because of strip changes
11506 * buffer.C (makeLaTeXFile): ditto
11507 * bufferparams.C (writeFile): ditt
11508 * lyxfont.C (stateText): ditto
11509 * lyxserver.C (read_ready): ditto
11510 * vc-backend.C (scanMaster): ditto
11512 * BufferView_pimpl.h: ws changes
11514 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11516 2002-07-26 André Pönitz <poenitz@gmx.net>
11518 * kb_sequence.C: remove unnedred usings
11520 2002-07-26 Juergen Vigna <jug@sad.it>
11522 * lyxfind.C (LyXReplace): we have to check better if the returned
11523 text is not of theLockingInset()->getLockingInset().
11525 2002-07-25 Juergen Vigna <jug@sad.it>
11527 * lyxfind.C (LyXReplace): don't replace if we don't get the
11530 * undo_funcs.C (createUndo): remove debugging code.
11532 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
11534 * buffer.C (parseSingleLyXformat2Token): Use default placement
11535 when reading old floats.
11537 * FloatList.C (FloatList): Change the default placement of figure
11538 and tables to "tbp".
11540 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
11542 * MenuBackend.C: using std::max
11544 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11546 * MenuBackend.C (expandToc):
11547 (expandToc2): code moved from xforms menu frontend. It is now
11548 generic and TOCs are transparent to menu frontends.
11550 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11552 * toc.C (getTocList): protect against buf=0
11554 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11555 Menu as first parameter. Now, this calls itself recursively to
11556 expand a whole tree (this will be useful for TOC handling)
11557 (expandFloatInsert): remove 'wide' version of floats
11559 * MenuBackend.h (submenuname): returns the name of the submenu.
11560 (submenu): returns the submenu itself, provided it has been
11561 created by MenuBackend::expand
11563 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11565 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11566 insets which have noFontChange == true. (bug #172)
11568 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11570 * BufferView_pimpl.C: add connection objects and use them...
11573 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11575 * MenuBackend.C (expandLastfiles):
11578 (expandFloatListInsert):
11579 (expandFloatInsert):
11580 (expand): split expand in parts
11582 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11584 * lyx_gui.C: use lyx_gui::exit()
11586 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11588 * LyXAction.C: show the failing pseudo action
11590 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
11592 * buffer.C (readFile): Run the lyxconvert script in order to read
11595 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11599 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11601 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11605 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11607 2002-07-22 Herbert Voss <voss@lyx.org>
11610 * lyxlength.[Ch]: add support for the vertical lengths
11612 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
11614 * toc.[Ch]: std:: fixes
11616 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11618 * lyxrc.C: do not include lyx_main.h
11620 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11626 * BufferView2.C: include "lyxlex.h"
11629 * bufferparams.h: do not #include "lyxlex.h"
11631 * lyxtextclasslist.C (Add): remove method
11632 (classlist): renamed to classlist_
11634 * paragraph_pimpl.C:
11638 * bufferview_funcs.C:
11643 * toc.C (getTocList): use BufferParams::getLyXTextClass
11645 * toc.C (getTocList): use InsetFloat::addToToc
11647 * toc.[Ch]: new files, containing helper functions to handle table
11650 * lyxfunc.C (dispatch): no need to remove spaces around command
11652 (getStatus): handle LFUN_SEQUENCE by returning the status of the
11653 first command of the sequence; it is not very clever, but I do not
11654 have a better idea, actually
11656 * LyXAction.C (LookupFunc): make sure to remove space at the
11657 beginning and end of the command
11659 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11661 * MenuBackend.C (getMenubar): new method: return the menubar of
11663 (read): treat differently reading of menu and menubar (in
11664 particular, the menubar has no name now)
11665 (Menu::menubar): remove
11667 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11670 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11672 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11673 a bibitem inset in a RTL paragraph.
11675 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
11677 * paragraph_pimpl.C: constify
11679 * BufferView_pimpl.C:
11681 * lyxfunc.C: fix dispatch in a nicer way
11683 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11685 * lyxfunc.C (dispatch):
11686 * BufferView_pimpl.C:
11687 * BufferView_pimpl.h:
11689 * BufferView.h: rename Dispatch() to dispatch()
11691 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11693 * lyxlayout.C (Read): honor DependsOn tag
11695 * lyxlayout.[Ch] (depends_on): new method
11697 * version.C.in: update lyx_docversion
11699 * LaTeXFeatures.C (getMacros): only define \LyX when needed
11701 * paragraph.C (validate): remove from here...
11702 * paragraph_pimpl.C (validate): ... and move here
11703 (isTextAt): make it const
11705 * buffer.C (getLists): ws cleanup
11707 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11709 * language.C (read): Use iso8859-1 encoding in latex_lang
11710 (this prevents LyX from crashing when using iso10646-1 encoding).
11712 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11714 * text2.C (toggleInset): if cursor is inside an inset, close the
11715 inset and leave cursor _after_ it
11717 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11719 * lyxfunc.C: move minibuffer completion handling out of here
11721 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11723 * BufferView_pimpl.C:
11724 * LaTeX.C: fix dispatch calls
11726 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
11728 * text.C (drawChars): Fix Arabic text rendering.
11730 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
11734 * lyxfunc.C: remove message-push/pop
11738 * lyxfunc.C: rationalise some code by removing verboseDispatch
11739 in favour of a bool argument to dispatch()
11741 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11743 * lyx_main.C (init): make sure to read symlinks as absolute paths
11745 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11748 * lyxfunc.C: no need for commandshortcut to be a member
11750 2002-07-15 André Pönitz <poenitz@gmx.net>
11752 * converter.C: add support for $$s (scripts from lib/scripts dir)
11753 * lyx_main.C: white space
11755 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11759 * lyxrc.C: remove second exit confirmation
11761 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11766 * BufferView_pimpl.h:
11767 * BufferView_pimpl.C:
11768 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11770 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11772 * MenuBackend.C (expand): add numeric shortcuts to document menu
11774 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11776 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11778 * lyxfont.C (setLyXFamily):
11785 * buffer.C (asciiParagraph): use ascii_lowercase
11787 2002-07-15 Mike Fabian <mfabian@suse.de>
11789 * lyxlex_pimpl.C (search_kw):
11790 * lyxlex.C (getLongString):
11791 * converter.h (operator<):
11792 * converter.C (operator<):
11793 * buffer.C (parseSingleLyXformat2Token):
11795 * ToolbarDefaults.C (read):
11796 * MenuBackend.C (checkShortcuts):
11798 * LColor.C (getFromGUIName):
11799 (getFromLyXName): use the compare_ascii_no_case instead of
11800 compare_no_case, because in turkish, 'i' is not the lowercase
11801 version of 'I', and thus turkish locale breaks parsing of tags.
11803 2002-07-16 Angus Leeming <leeming@lyx.org>
11805 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11806 now takes a Buffer const & argument.
11808 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
11810 * BufferView.C (resize): check there's a buffer to resize
11812 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
11814 * lyxfunc.C: remove dead code
11817 * lyxserver.C: use lyx_guii::set_read_callback
11819 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
11821 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11822 an inset in a RTL paragraph.
11824 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11826 * lyxfunc.C: repaint after a font size update
11828 2002-07-15 André Pönitz <poenitz@gmx.net>
11830 * lyxlength.C: inBP should be able to return negative values
11832 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11834 * lyxfunc.C: use lyx_gui::update_fonts()
11836 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11838 * lyxfunc.C: use lyx_gui::update_color()
11840 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11846 * lyxrc.C: remove file->new asks for name option, and let
11847 buffer-new take an argument
11849 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11851 * BufferView_pimpl.C: remove unneeded extra repaint()
11853 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
11855 * LyXAction.C: allow command-sequence with NoBuffer
11857 * lyxfunc.C: don't insist on trailing ';' for command-sequence
11859 2002-07-10 Angus Leeming <leeming@lyx.org>
11861 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11863 2002-07-09 Angus Leeming <leeming@lyx.org>
11865 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11867 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11869 * lengthcommon.h: whitespace
11871 * lyxfunc.C: update scrollbar after goto paragraph
11873 * lyxtext.h: factor out page break drawing, and fix it so
11874 page break/added space paints as selected nicely
11876 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11878 * BufferView_pimpl.C: add FIXMEs, clean up a little
11880 2002-07-09 André Pönitz <poenitz@gmx.net>
11882 * lyxfont.[Ch]: support for wasy symbols
11884 2002-07-08 André Pönitz <poenitz@gmx.net>
11886 * BufferView_pimpl.C: apply John's patch for #93.
11888 2002-07-05 Angus Leeming <leeming@lyx.org>
11890 * BufferView_pimpl.C (buffer): generate previews if desired.
11892 * LColor.h: add "preview" to the color enum.
11894 * LColor.C (LColor): add a corresponding entry to the items array.
11896 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
11899 2002-07-05 Angus Leeming <leeming@lyx.org>
11901 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11902 The body of the code is now in the method that is passed an ostream &
11903 rather than a file name.
11904 Pass an additional only_preamble parameter, useful for the forthcoming
11907 2002-07-03 André Pönitz <poenitz@gmx.net>
11909 * lyxfunc.C: simplify getStatus() a bit for math stuff
11911 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11913 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11915 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11917 * text.C (changeRegionCase): do not change case of all the
11918 document when region ends at paragraph end (bug #461)
11920 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11922 * paragraph.C (startTeXParParams):
11923 (endTeXParParams): add \protect when necessary
11925 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11927 * BufferView_pimpl.C (workAreaExpose): remove warning
11929 2002-06-27 Angus Leeming <leeming@lyx.org>
11931 * Makefile.am: add lyxlayout_ptr_fwd.h.
11933 2002-06-26 André Pönitz <poenitz@gmx.net>
11935 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
11937 2002-06-25 Angus Leeming <leeming@lyx.org>
11939 * lyxfunc.C (dispatch): Comment out the call to
11940 grfx::GCache::changeDisplay. The method no longer exists now that the
11941 pixmap generation part of the graphics loader has been moved into
11944 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11946 * text2.C: layout as layout
11948 * text.C: layout as layout
11950 * tabular.C (OldFormatRead): layout as layout
11952 * paragraph_pimpl.C (TeXDeeper): layout as layout
11953 (realizeFont): layout as layout
11955 * paragraph.C (writeFile): layout as layout
11956 (validate): layout as layout
11957 (getFont): layout as layout
11958 (getLabelFont): layout as layout
11959 (getLayoutFont): layout as layout
11960 (breakParagraph): layout as layout
11961 (stripLeadingSpaces): layout as layout
11962 (getEndLabel): layout as layout
11963 (getMaxDepthAfter): layout as layout
11964 (applyLayout): layout as layout
11965 (TeXOnePar): layout as layout
11966 (simpleTeXOnePar): layout as layout
11967 (TeXEnvironment): layout as layout
11968 (layout): layout as layout
11969 (layout): layout as layout
11971 * lyxtextclass.C (compare_name): new functor to work with
11972 shared_ptr, layout as layout
11973 (Read): layout as layout
11974 (hasLayout): layout as layout
11975 (operator): layout as layout
11976 (delete_layout): layout as layout
11977 (defaultLayout): layout as layout
11979 * lyxlayout_ptr_fwd.h: new file
11981 * lyxlayout.C (Read): layout as layout
11983 * lyx_cb.C (MenuInsertLabel): layout as layout
11985 * bufferlist.C (newFile): layout as layout
11987 * buffer.C (readLyXformat2): layout as layout
11988 (parseSingleLyXformat2Token): layout as layout
11989 (insertStringAsLines): layout as layout
11990 (asciiParagraph): layout as layout
11991 (latexParagraphs): layout as layout
11992 (makeLinuxDocFile): layout as layout
11993 (simpleLinuxDocOnePar): layout as layout
11994 (makeDocBookFile): layout as layout
11995 (simpleDocBookOnePar): layout as layout
11996 (getLists): layout as layout
11998 * LaTeXFeatures.C (getTClassPreamble): layout as layout
12000 * CutAndPaste.C (cutSelection): layout as layout
12001 (pasteSelection): layout as layout
12002 (SwitchLayoutsBetweenClasses): layout as layout
12004 * BufferView_pimpl.C (Dispatch): layout as layout
12005 (smartQuote): layout as layout
12007 * BufferView2.C (unlockInset): layout as layout
12009 2002-06-24 André Pönitz <poenitz@gmx.net>
12011 * lyxfunc.C: fix #487
12013 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12017 * lyxfunc.C: remove display_shortcuts, show_banner
12019 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12021 * Buffer_pimpl.C: oops, update on resize
12023 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12030 * BufferView.C: use repaint()
12032 * BufferView_pimpl.h:
12033 * BufferView_pimpl.C: s/updateScreen()/repaint()/
12034 as it's a clearer description. Remove superfluous
12037 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12039 * text.C: fix bug 488. Not ideal, but getting
12040 getWord() to work properly for the insets that
12041 matter is more difficult ...
12043 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12045 * BufferView_pimpl.C:
12048 * lyxfunc.C: remove the six million index lyxfuncs to just
12049 one, and DTRT (bug 458)
12051 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12055 * BufferView_pimpl.h:
12056 * BufferView_pimpl.C: clean up resize() stuff,
12057 and unnecessary updateScreen()s
12059 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12063 * BufferView_pimpl.h:
12064 * BufferView_pimpl.C:
12067 * minibuffer.C: remove focus management of workarea,
12068 not needed. Use screen's greyOut()
12070 2002-06-17 Herbert Voss <voss@lyx.org>
12072 * converter.C: (convert) do not post a message, when converting
12073 fails, let the calling function decide what to do in this case
12075 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
12077 * lyxfunc.C: tidy up a little
12079 2002-06-16 <alstrup@diku.dk>
12081 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
12082 Got rid of FORMS_H_LOCATION include. Now we are
12085 2002-06-15 LyX Development team <lyx@rilke>
12087 * buffer.[Ch] (sgmlOpenTag):
12088 (sgmlCloseTag): Added support for avoiding pernicious mixed
12089 content. Return number of lines written.
12091 (makeLinuxDocFile):
12092 (makeDocBookFile): Fixed calls to sgml*Tag.
12093 Simple white space clean.
12095 (simpleDocBookOnePar): Simple white space clean.
12097 * tabular.[Ch] (docBook): Renamed to docbook and got another
12098 argument to related with the pernicious mixed content.
12100 (docbookRow): Fixed calls for docbook inset method.
12102 2002-06-15 Lyx Development team <larsbj@birdstep.com>
12104 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
12105 so it's X11 independent.
12109 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
12111 2002-06-15 Lyx Development team <lyx@electronia>
12113 * intl.h: Renamed getTrans to getTransManager.
12115 2002-06-14 Angus Leeming <leeming@lyx.org>
12117 * Makefile.am: nuke forgotten stl_string_fwd.h.
12119 2002-06-12 Angus Leeming <leeming@lyx.org>
12121 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
12123 2002-06-13 Angus Leeming <leeming@lyx.org>
12126 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
12128 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
12130 * kbmap.C (getiso): add support for cyrillic and greek
12132 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12136 * BufferView_pimpl.h:
12137 * BufferView_pimpl.C: move bogus scrolling logic
12140 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12143 * BufferView_pimpl.C: view->resize() change
12145 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12147 * BufferView_pimpl.C: topCursorVisible
12150 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12154 * lyx_gui.C: move to frontends/
12158 * lyx_main.C: changes from above
12160 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12167 * lyx_main.C: minor tidy
12169 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12171 * BufferView_pimpl.h:
12172 * BufferView_pimpl.C:
12174 * BufferView.C: make painter() const,
12177 * BufferView2.C: use screen() accessor
12180 * lyx_main.C: some minor cleanup
12182 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12184 * BufferView_pimpl.h:
12185 * BufferView_pimpl.C: remove enter/leaveView,
12188 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12193 * BufferView_pimpl.h:
12194 * BufferView_pimpl.C: only construct screen once,
12197 * lyxrc.C: remove pointless comment
12199 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
12202 * BufferView.C: remove active() and belowMouse()
12204 * BufferView_pimpl.h:
12205 * BufferView_pimpl.C: use workarea() not workarea_,
12206 and make it use a scoped_ptr instead
12208 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
12210 * lyx_gui.C: add debug message on BadWindow
12212 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12214 * sp_spell.C: fdopen is not part of the C++ standard.
12216 * paragraph.C (InsetIterator): use >= instead of ==
12218 2002-06-07 Angus Leeming <leeming@lyx.org>
12220 Fixes needed to compile with Compaq cxx 6.5.
12221 * BufferView_pimpl.C:
12228 * lyxtextclasslist.C:
12233 all c-library variables have been moved into namespace std. Wrap
12234 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12239 Add a using std::abs declaration.
12241 * kbmap.h (modifier_pair):
12242 * paragraph.h (InsetTable, InsetList):
12243 * lyxfont.h (FontBits):
12244 type definition made public.
12246 * bufferlist.C (emergencyWriteAll): the compiler complains that
12247 there is more than one possible lyx::class_fun template to choose from.
12248 I re-named the void specialisation as lyx::void_class_fun.
12250 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12252 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12253 the compiler is is unable to find tostr in write_attribute.
12255 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12257 * buffer.C (sgmlError): hide #warning
12259 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12261 * xtl/*: get rid of xtl, which is not in use anyway
12263 * LyXAction.C (init):
12264 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12265 were unimplemented xtl experimentation
12267 2002-06-04 André Pönitz <poenitz@gmx.net>
12269 * lyxfunc.C: disable array operation on simple formulae
12271 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
12273 * converter.C: constify a bit
12275 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
12277 * lyx_gui.C: check xforms version correctly
12279 2002-04-30 Herbert Voss <voss@lyx.org>
12281 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12284 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
12286 * lyxvc.C: fix bug 416 (make sure buffer is saved before
12287 attempt to register it with a VCS)
12289 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12291 * lyx_main.C (init): honor variables LYX_DIR_13x and
12294 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12298 * lyx_main.C: fix a crash on bad command line,
12299 and give a useful exit status on error
12301 * lyxfunc.C (doImport): allow -i lyx to work
12303 2002-03-30 André Pönitz <poenitz@gmx.net>
12305 * lyxfunc.C: mathed font changes
12307 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12322 * trans_mgr.h: srcdocs, and some minor cleanups
12324 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12326 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12327 call getFont all the time)
12329 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12331 * switch from SigC signals to boost::signals
12333 2002-05-29 André Pönitz <poenitz@gmx.net>
12335 * paragraph_pimpl.C (getChar): don't call size() too often...
12337 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12339 * paragraph_pimpl.C (insertChar): do not try to update tables when
12340 appending (pos == size())
12342 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12343 in order to reduce drastically the number of comparisons needed to
12344 parse a large document
12346 2002-05-29 André Pönitz <poenitz@gmx.net>
12352 * textclasslist.[Ch]:
12353 * sp_ispell.h: whitespace change
12355 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12357 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12358 lyxaction directly now.
12360 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
12364 * lyxvc.C: remove unused headers
12366 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12373 * undo_funcs.C: some cleanups. Use shared_ptr
12374 and a template for the undo stacks.
12376 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12378 * BufferView_pimpl.h:
12379 * BufferView_pimpl.C:
12386 * text2.C: use key_state/mouse_state
12388 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12390 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12393 * chset.C: change include order
12394 (loadFile): use boost regex and get rid of LRegex and LSubstring
12396 * Makefile.am (BOOST_LIBS): new variable
12397 (lyx_LDADD): use it
12399 * LaTeX.C: change include order.
12400 (scanAuxFile): use boost regex and get rid of LRegex and
12404 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12409 * FontInfo.C: moved to frontends/xforms/
12412 * FontLoader.C: moved into frontends for GUIIzation
12417 * lyxfunc.C: changes from above
12419 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12421 * LColor.C: remove spurious X include
12423 * BufferView_pimpl.C:
12428 * text2.C: move font metrics to frontends/
12430 2002-05-24 Juergen Vigna <jug@sad.it>
12432 * undo_funcs.C (textHandleUndo): fix the cursor selection after
12433 setting the undo_cursor.
12435 * ParagraphParameters.h: include local includes first.
12437 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12439 * BufferView_pimpl.C:
12440 * BufferView_pimpl.h:
12444 * screen.C: move WorkArea into frontends/
12450 * BufferView2.C: move LyXScreen into frontends/
12454 * lyx_gui.C: move lyxlookup into frontends/xforms/
12456 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12459 * BufferView_pimpl.C:
12469 * bufferview_funcs.C:
12482 * vc-backend.C: move LyX/XFormsView into frontends/
12484 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12496 * text2.C: move Painter to frontends/
12498 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
12500 * buffer.C: comment out some some code that depend upon lyx_format
12503 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12504 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12506 * buffer.h (NO_COMPABILITY): turn off compability
12508 * ColorHandler.C: include scoped_array.hpp
12510 * font.C: Use more specific smart_ptr header.
12513 * ShareContainer.h: ditto
12514 * lyx_main.h: ditto
12516 * FontInfo.h: ditto
12517 * BufferView_pimpl.h: ditto
12518 * ColorHandler.h: ditto
12520 * kbmap.C (defkey): change call to shared_ptr::reset
12522 2002-05-21 Juergen Vigna <jug@sad.it>
12524 * buffer.C (insertErtContents): fix to insert ert asis if it is
12525 non empty. Skip it completely if it contains only whitespaces.
12527 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
12529 * BufferView_pimpl.C:
12530 * BufferView2.C: clear selection on paste (bug 393)
12532 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12534 * DepTable.C: include ctime
12536 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
12538 * buffer.C (latexParagraphs): Add new argument (moving_arg).
12540 2002-05-14 Juergen Vigna <jug@sad.it>
12542 * text.C (breakParagraph): fixed function to honor the keepempty
12543 layout in the right maner and also to permit the right breaking
12544 algorithm on empty or non empyt keepempty paragraphs.
12546 * paragraph.C (breakParagraph): we have to check also if the par
12547 is really empty (!size()) for isempty otherwise we do the wrong
12550 2002-05-10 Juergen Vigna <jug@sad.it>
12552 * buffer.[Ch] : The following are only changes to the ert
12553 compatibility read reading old LaTeX layout and font stuff and
12554 convert it to ERTInsets.
12556 * buffer.h: added isErtInset().
12558 * buffer.C (struct ErtComp): add a fromlayout bool to check
12559 if we're inside a LaTeX layout.
12560 (isErtInset): new helper function.
12561 (insertErtContents): look for other ert insets before this one
12562 and insert the contents there, so that we don't have subsequent
12563 ERT insets with nothing between them. This way we create only one
12564 inset with multiple paragraphs. Also check if we don't insert only
12565 spaces ' ' as they are ignored anyway afterwards in the .tex file
12566 so if we have only spaces we will ignore this latex part in the
12568 (parseSingleLyXformat2Token \\layout): better compatibility when
12569 reading layout-latex stuff.
12570 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12572 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12573 stuff after reading the inset only get the information back from
12576 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
12578 * buffer.C (makeLaTeXFile): Put language options after loading babel.
12580 * LaTeXFeatures.C (getBabelOptions): New method.
12582 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12584 * BufferView_pimpl.C (Dispatch): work around missing argument for
12587 2002-05-08 Juergen Vigna <jug@sad.it>
12589 * text.C (leftMargin): handle paragraph leftindent.
12591 * paragraph.C (writeFile): write the new \\leftindent tag.
12592 (validate): handle leftindent code.
12593 (TeXEnvironment): handle paragraphleftindent code again.
12595 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12597 * buffer.C (parseSingleLyXformat2Token): added compatibility code
12598 for paragrap_extra indent code and new token \\leftindent.
12599 (latexParagraphs): handle the leftindent as environment.
12601 * ParameterStruct.h: added leftindent support.
12603 * ParagraphParameters.C (leftIndent): added support functions for
12604 the paragraph left indent.
12606 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12609 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
12611 * paragraph.C (isRightToLeftPar): Return false for a paragraph
12614 * text.C (computeBidiTables): No bidi in insetERT.
12616 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12619 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12621 * version.C.in: pre 5
12623 2002-05-02 José Matos <jamatos@fep.up.pt>
12624 * buffer.C (makeDocBookFile): white space changes, add newline to
12626 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12628 * tabular.C (docBook): fix typo.
12630 2002-05-03 Juergen Vigna <jug@sad.it>
12632 * screen.C (drawFromTo): recalculate the rowpointer if we had a
12633 change in LyXText as we can not be sure it was not freed.
12634 (drawOneRow): remove unused code.
12636 * text.C (drawInset): redo the calculation of the need_break_row as
12637 it could have a row which was already freed.
12638 (draw): look at the return value of drawInset and return false if
12639 it also returned false.
12640 (paintRowText): look at the return value of draw and return false if
12641 it also returned false.
12643 * lyxtext.h: added bool return type to drawInset() and draw() so that
12644 if we have a change in the row so that the rowbreak has to be redone
12645 we abort drawing as it will be called again.
12647 2002-05-02 Juergen Vigna <jug@sad.it>
12649 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12650 a change in the maintext also if we're inside an inset.
12651 (Dispatch): set the cursor again after a break line and after the
12652 screen has been updated as it could be we're in a different row.
12654 * text2.C (fixCursorAfterDelete): check to make sure we don't request
12655 to set the cursor behind the pargraph with > size().
12656 (setCursor): check also for the same paragraph when checking where
12657 to put the cursor if we have a NFR inset.
12659 * buffer.C (parseSingleLyXformat2Token): move the compatibility
12660 parts of layout read further up as it still was in the wrong
12663 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12665 * screen.C (drawFromTo): change sine fullRebreak always return
12668 * buffer.C (parseSingleLyXformat2Token): reindent some
12670 * BufferView_pimpl.C (update): change since fullRebreak always
12672 (Dispatch): git rid of the last hardcoded "Standard"s.
12674 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
12676 * text2.[Ch] (fullRebreak): make it return void now that we always
12679 2002-04-30 Juergen Vigna <jug@sad.it>
12681 * buffer.C (parseSingleLyXformat2Token): reset the font before the
12682 ert compatibility check for "latex" layout.
12684 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
12686 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12687 minipages: use col% instead of p%, and also use the current font.
12688 (makeLaTeXFile): Fix use babel condition.
12689 (parseSingleLyXformat2Token): Correct font when reading old floats.
12691 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
12693 * BufferView_pimpl.C (Dispatch): Check that float type exists when
12694 inserting list of floats.
12696 2002-04-25 Herbert Voss <voss@lyx.org>
12698 * MenuBackend.C (expand): don't add the graphics extensions to the
12701 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12703 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12704 non-existing layout, do not complain if it was the default layout
12705 of the original class (bug #342)
12707 2002-04-24 Juergen Vigna <jug@sad.it>
12709 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12710 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12712 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
12714 * buffer.C (getBibkeyList): If using \bibliography, return the
12715 option field with the reference itself. Enables us to provide natbib
12716 support when using \bibliography.
12718 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
12720 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12722 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12723 natbib is provided by the LaTeX class.
12725 2002-04-23 Juergen Vigna <jug@sad.it>
12727 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12730 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12732 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12734 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12736 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12737 ensuremath around textordmasculine, textordfeminine and
12740 2002-04-19 Juergen Vigna <jug@sad.it>
12742 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12743 reinitializing the buffer otherwise row-dimensions may be wrong.
12744 (update): reset also the selection cursors if they do exits otherwise
12745 their x/y positions may be wrong.
12747 * text2.C (cursorDown): don't enter the inset if we came from a row
12748 above and are one row over the inset.
12750 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12751 really leaving an inset.
12753 2002-04-18 Juergen Vigna <jug@sad.it>
12755 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12756 of the selected paragraph does not have the selected layout also if
12759 * text2.C (setLayout): fixed bug which did not change last selected
12762 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12763 changed the read and substituted \\end_float with \\end_inset!
12765 * BufferView_pimpl.C (cursorPrevious):
12766 (cursorNext): fixed to make it work with rows heigher than the work
12767 area without moving the cursor only the draw of the row.
12768 (workAreaMotionNotify): fix jumping over high rows.
12770 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12772 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12775 2002-04-16 Juergen Vigna <jug@sad.it>
12777 * text2.C (setCursor): set also the irow().
12778 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12780 (cursorDown): support for locking an inset if the x_fix value goes
12781 inside it. That way I can transverse insets too with cursor up/down.
12783 * lyxrow.h: added irow helper function same as other (i) functions.
12785 * BufferView_pimpl.C (cursorPrevious):
12786 (cursorNext): fixed for insets!
12788 2002-04-15 Juergen Vigna <jug@sad.it>
12790 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12791 position otherwise it is wrong in some cases.
12793 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12794 inside the inset before the call.
12796 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
12798 * buffer.[Ch] (getBibkeyList): make it const.
12800 2002-04-12 Juergen Vigna <jug@sad.it>
12802 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12804 * text2.C (getCursorX): new helper function
12805 (setCursor): compute also ix_
12806 (setCursorFromCoordinates): set also ix.
12808 * lyxcursor.h: added ix_ and helper functions.
12810 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12812 * buffer.C (insertStringAsLines): dont break paragraph if the this
12813 paragraph is inside an inset which does not permit it!
12815 * text.C (breakParagraph): honor keepempty flag and break the paragraph
12816 also with no chars on this paragraph.
12817 (paintRowText): only paint stuff if it's inside the workarea!
12819 * paragraph.C (breakParagraph): honor keepempty flag and break the
12820 paragraph always below not above.
12822 * BufferView2.C (unlockInset): update the paragraph layout on inset
12823 unlock as we changed paragraph in such a case.
12825 * lyxfind.C (LyXFind): clear the former selection if not found!
12827 * text2.C (insertInset): freeze Undo after setUndo so that it is not
12828 again called in insertChar().
12830 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12831 an inset which uses the whole row!
12832 (rightMargin): ditto.
12833 (insertChar): force a rebreak if we inserted an inset!
12835 2002-03-28 Herbert Voss <voss@lyx.org>
12837 * lyxlength.[Ch]: add inBP() to get the right PS-point
12838 units (BigPoint). With inPixels we have rounding errors
12840 2002-04-11 Juergen Vigna <jug@sad.it>
12842 * text2.C (setCursorFromCoordinates): set iy to the right value.
12843 (setCursor): add check if row->previous exists!
12845 * buffer.C (parseSingleLyXformat2Token): reset font after read of
12846 an old float_type as this was the case in the old code!
12848 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12850 * BufferView2.C (showLockedInsetCursor): use iy
12851 (fitLockedInsetCursor): ditto
12853 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12854 locked insets as there we have the right value now.
12856 * lyxcursor.C: added iy_ variable and iy functions to set to the
12857 baseline of cursor-y of the locked inset.
12859 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12860 (setCursor): fixed for insets which need a full row.
12862 * text.C (rowLastPrintable): don't ignore the last space when before
12863 an inset which needs a full row.
12864 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12865 as last character of a row when before a inset which needs a full row.
12867 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12869 * version.C.in: update date
12871 * text2.C (fullRebreak): try to always return true and see what
12874 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12876 * MenuBackend.C (expand): use Floating::listName
12878 * FloatList.C (FloatList): add listName argument to the built-in
12881 * Floating.[Ch]: add listName member, which is the 'List of XXX'
12882 text associated with the float.
12884 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12886 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12888 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12890 * ShareContainer.h: add a couple of missing typenames.
12892 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
12894 * lyxrc.C (getDescription): use _() correctly rather than N_().
12896 2002-03-28 Herbert Voss <voss@lyx.org>
12898 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
12899 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12901 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12903 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12904 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12906 2002-03-29 Juergen Vigna <jug@sad.it>
12908 * lyxfunc.C (dispatch): add a missing fitCursor call.
12910 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12911 it was scrolled by a cursor move, so return the bool status.
12913 * BufferView.C (fitCursor): return the bool flag also to the outside
12914 world as this is needed.
12916 * screen.C (toggleToggle): don't subtract the offset if it's positive.
12918 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12919 call the edit() as it is not needed (and wrong) IMO.
12920 (workAreaButtonPress): set the screen_first variable before evt.
12921 unlock the inset as this may change screen_first and then we have
12922 a wrong y position for the click!
12924 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12926 * MenuBackend.C (expand): another translation that I missed
12928 2002-03-28 Juergen Vigna <jug@sad.it>
12930 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12932 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12934 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12936 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12938 * MenuBackend.C (expand): fix export/view/update when there is no
12941 2002-03-27 Herbert Voss <voss@lyx.org>
12943 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12946 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12948 * bufferview_funcs.C (currentState): only show paragraph number
12949 for is DEVEL_VERSION is set.
12951 * lyxfunc.C (dispatch): put warning in INFO channel
12953 * MenuBackend.C (expand): translate the name of floats
12955 * FloatList.C (FloatList): mark the float names for translation
12957 * converter.C (convert): use LibScriptSearch
12959 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12961 * MenuBackend.C (defaults): fix default menu (we might as well get
12964 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12966 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12969 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12971 * lyxvc.C: reorder includes.
12973 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
12975 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12978 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
12980 * CutAndPaste.C: change layouts earlier on paste
12981 to avoid crashing when calling getFont()
12983 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
12985 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12988 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
12990 * WorkArea.C: remove 'Pending' debug message.
12992 * most files: ws cleanup
12994 * buffer.[Ch]: ws changes
12996 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12998 2002-03-21 Juergen Vigna <jug@sad.it>
13000 * tabular.C (SetMultiColumn): collapse also the contents of the
13001 cells and set the last border right. Added a Buffer const * param.
13003 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
13005 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
13008 2002-03-19 Juergen Vigna <jug@sad.it>
13010 * text2.C (clearSelection): reset also xsel_cache.
13012 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
13013 where it needs to be called (John tells us to do so too :)
13014 (selectionLost): reset sel_cache.
13016 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
13018 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13020 * text2.C (setCursorIntern): put debuging code in INSETS channel
13022 2002-03-19 André Pönitz <poenitz@gmx.net>
13024 * lyxfunc.C: tiny whitespace change
13026 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13028 * ToolbarDefaults.C (init):
13029 * LyXAction.C (init):
13031 * BufferView_pimpl.C (Dispatch):
13032 * lyxfunc.C (dispatch): remove LFUN_DEPTH
13034 2002-03-19 Allan Rae <rae@lyx.org>
13036 * exporter.C (Export): removeAutoInsets before doing anything else.
13037 While I've just introduced a dependency on BufferView this really is
13038 the best place to clean the buffer otherwise you need to cleanup in
13039 a dozen places before calling export or cleanup in a dozen functions
13042 * converter.C (runLaTeX):
13043 (scanLog): Better handling of removeAutoInsets and screen updates.
13045 * lyxfunc.C (dispatch): small whitespace changes
13047 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13049 * WorkArea.C (C_WorkAreaEvent): return a value.
13050 (event_cb): return 1 if we handled the event, 0 otherwise.
13052 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
13054 2002-03-18 Juergen Vigna <jug@sad.it>
13056 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
13057 (GetAdditionalWidth): ditto.
13058 (RightLine): ditto.
13061 * BufferView2.C (copy): use getLyXText() so that we do it inside an
13062 inset if we're there actually (probably not used right now but this
13063 is the direction to go for unifying code).
13064 (paste): disable code to clear the selection.
13066 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
13067 inside an InsetText and move the check further up as it is in the
13070 * text2.C (pasteSelection): set a selection over the pasted text.
13072 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
13074 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
13075 and libgraphics to build on Cygwin.
13077 2002-03-15 Juergen Vigna <jug@sad.it>
13079 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
13080 inserting an Inset into the paragraph. I know this is not the best
13081 fix but we already use current_view in CutAndPaste so we will remove
13082 all of it's using at the same time.
13084 * buffer.C (sgmlError): deactivated function till it is rewritten in
13085 the right mode, now it can create problems.
13087 * paragraph.C (isLineSeparator): check if getInset returns != 0,
13088 before accessing it.
13090 2002-03-14 Juergen Vigna <jug@sad.it>
13092 * undo_funcs.C (textHandleUndo): do the right thing when updating
13093 the inset after the undo/redo.
13095 * text2.C (setCursor): just some testcode for #44 not ready yet.
13097 * undo_funcs.C (textHandleUndo): set the next() and previous()
13098 pointers of the paragraph to 0 before deleting otherwise we have
13099 problems with the Paragraph::[destructor].
13101 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
13102 on a paragraph insertion.
13104 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13106 * buffer.C (asciiParagraph): use += operator for char append to
13109 * paragraph.C (getFontSettings): compare >= not just >
13110 (highestFontInRange): ditto
13113 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13115 * paragraph.C: change several algorithm to be more appripriate for
13116 the problem domain. This is lookip in FontList and in the InsetList.
13118 2002-03-13 André Pönitz <poenitz@gmx.net>
13121 * LyXAction.C: remove unused LFUN_MATH_MACROARG
13123 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
13128 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
13130 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13132 * Painter.C (display): anon helper function, adjust code for this
13134 (pixmap): remove function.
13136 * Painter.h: remove private display variable.
13138 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
13140 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
13142 * WorkArea.[Ch]: remove figinset_canvas cruft.
13144 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13146 * lyxtextclass.C (operator): add one item cache optimization.
13148 * bufferlist.h: doxy changes
13150 * bufferlist.C: ws changes
13152 * DepTable.[Ch] (ext_exist): place const in the right spot.
13154 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
13156 (workAreaExpose): call resizeInsets when the with BufferView changes.
13157 (Dispatch): adjust for protectedBlank removal
13158 (specialChar): call updateInset if the insert went ok.
13160 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
13161 specialChar instead.
13163 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
13165 * BufferView.h: doxy change
13167 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
13169 * lyxtextclass.C (operator[]): remove non-const version
13170 (defaultLayout): remove non-const version
13172 2002-03-12 Juergen Vigna <jug@sad.it>
13174 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
13175 did resize the LyXText too.
13177 * buffer.C (readLyXformat2): set layout information on newly allocated
13180 * tabular.C (OldFormatRead): set layout information on the paragraph.
13182 2002-03-12 Jos�Ab�io Oliveira Matos <jamatos@novalis.fc.up.pt>
13184 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
13186 2002-03-11 Juergen Vigna <jug@sad.it>
13188 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
13190 (resizeCurrentBuffer): force also the insets to resize themselfes.
13191 (moveCursorUpdate): fixed up for InsetText.
13193 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
13196 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
13197 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
13198 value of Dialogs::tooltipsEnabled().
13199 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
13201 2002-03-08 Juergen Vigna <jug@sad.it>
13203 * BufferView_pimpl.C (updateInset): update inset inside inset also
13204 if it isn't inside theLockingInset().
13206 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13208 * buffer.C (asciiParagraph): redo some of the word and line length
13210 (getLists): look for Caption instead of caption.
13212 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13214 * buffer.C (Buffer): initialize niceFile to true
13216 (makeLinuxDocFile):
13217 (makeDocBookFile): make sure niceFile is true on exit
13219 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13221 * buffer.C (makeLaTeXFile): escape ~ in \input@path
13223 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
13225 * LyXSendto.C: remove.
13226 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13227 * lyx_gui.C: remove now-redundant comment.
13228 * ColorHandler.h: remove forward declaration of class WorkArea.
13229 * lyxfunc.C: remove #include "WorkArea.h".
13231 2002-03-07 Juergen Vigna <jug@sad.it>
13233 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13234 got moved away with the DEPM and also set the inset_owner always
13235 right which before could have been omitted.
13237 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13239 * buffer.C (parseSingleLyXformat2Token): use default layout is the
13240 wanted layout is not found.
13242 2002-03-07 Juergen Vigna <jug@sad.it>
13244 * CutAndPaste.C (cutSelection): another layout settings forgotten.
13246 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13248 * paragraph.C (breakParagraph): use default layout not layout of
13250 (Paragraph): clear ParagraphParameters.
13252 2002-03-06 Juergen Vigna <jug@sad.it>
13254 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13255 otherwise it would not be a valid lenght. Fixed a special case in
13256 the minipage compatibility read where we end the document with a
13259 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13260 was set as it could be 0 for InsetTexts first entry.
13262 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13264 * paragraph.C (writeFile): if layout is empty write out
13265 defaultLayoutName().
13267 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13268 file without named layout we set layout to defaultLayoutName().
13270 2002-03-06 Juergen Vigna <jug@sad.it>
13272 * CutAndPaste.C (copySelection): set layout for new paragraph.
13274 * text.C (prepareToPrint): leave ERT inset left aligned
13275 (leftMargin): don't indent paragraphs inside ERT insets
13277 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13279 * paragraph.C (breakParagraph): dont call clear do the work manually
13281 * paragraph.[Ch] (clear): remove function
13283 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13285 * paragraph.C (Paragraph): dont call clear, the work has already
13288 * lyxtextclass.C (operator): assert if n is empty
13290 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13291 work manually instead.
13293 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13295 * BufferView_pimpl.C: protect selectionLost against text == 0
13297 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13299 * text.C (breakParagraph): fix a setting layout to '0' problem.
13301 2002-03-05 Jos�Ab�io Oliveira Matos <jamatos@novalis.fc.up.pt>
13303 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13304 final location of file, for the included files, and graphics.
13306 2002-03-05 Juergen Vigna <jug@sad.it>
13308 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13310 2002-03-04 Juergen Vigna <jug@sad.it>
13312 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13314 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13315 last column of multicolumn cells.
13316 (SetWidthOfMulticolCell): recalculate NMC and real columns.
13318 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
13320 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13321 file if it doesn't go to a temporary file.
13323 * buffer.C (sgmlOpenTag):
13324 (sgmlCloseTag): remove extra newline insertion.
13326 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13328 * text.C (getRowNearY): comment out debug msg
13330 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13332 * text2.C: first -> first_y
13334 * text.C (getRowNearY): add some attemts at a possible
13335 optimization, not working.
13337 * tabular.[Ch]: add BufferParams to several function so that newly
13338 created paragraph can be initialized to he default layotu for the
13341 * tabular-old.C (ReadOld): add buf->params to call of Init
13343 * screen.C: rename text->first to text->first_y
13345 * paragraph.C (breakParagraph): always set layout in the broken
13348 * lyxtextclass.C (Read): remove lowercase
13351 (delete_layout): ditto
13353 * lyxtext.h: rename first -> first_y
13355 * lyxlayout.C (Read): remove lowercase
13358 (obsoleted_by): ditto
13360 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13362 * buffer.C (insertErtContents): add params are to InsetERT
13363 (parseSingleLyXformat2Token): add code to check if a paragraphs
13364 layout really exist.
13365 (parseSingleLyXformat2Token): add params to several inset
13367 (asciiParagraph): remove lowercase, do the layout comparisons with
13370 * BufferView_pimpl.C (cursorNext): first -> first_y
13371 (resizeCurrentBuffer): first -> first_y
13372 (updateScrollbar): first -> first_y
13373 (scrollCB): first -> first_y
13374 (workAreaMotionNotify): first -> first_y
13375 (workAreaButtonPress): first -> first_y
13376 (checkInsetHit): first -> first_y
13377 (cursorPrevious): first -> first_y
13378 (cursorNext): first -> first_y
13379 (Dispatch): add buffer_->params to severl inset contructors
13381 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13383 * lyxlayout.C (Read): remove some debug info that I forgot.
13385 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13386 clean up the code slightly.
13387 (makeLinuxDocFile): ditto
13388 (makeDocBookFile): ditto
13390 * text2.C: layout as string
13392 * text.C: layout as string
13394 * paragraph_pimpl.C: layout as string
13396 * paragraph.[Ch]: layout as string
13398 * lyxtextclasslist.[Ch]: layout as string
13400 * lyxtextclass.[Ch]: layout as string
13402 * lyxtext.h: layout as string
13404 * lyxlayout.[Ch]: layout as string
13406 * lyx_cb.C: layout as string
13408 * bufferview_funcs.C: layout as string
13410 * bufferparams.C: layout as string
13412 * buffer.C: layout as string
13414 * LyXView.[Ch]: layout as string
13416 * LaTeXFeatures.[Ch]: layout as string
13418 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13420 * BufferView_pimpl.C: change current_layout to string, remove
13425 (workAreaButtonRelease): layout as string
13427 * BufferView2.C (unlockInset): adjust
13429 * vspace.C (asLatexCommand): use an explict temp variable.
13431 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13433 * Makefile.am: use FRONTEND_*
13435 2002-03-01 Juergen Vigna <jug@sad.it>
13437 * tabular.C (SetWidthOfMulticolCell): changed to something better
13438 I hope but still work in progress.
13439 (recalculateMulticolumnsOfColumn): renamed function from
13440 recalculateMulticolCells as it is more appropriate now.
13441 (SetWidthOfCell): calculate multicols better.
13443 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13445 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13447 * lyxfunc.C (processKeySym): print sequence also if it is
13448 `deleted' (complete)
13450 * kbsequence.C (print): print sequence even if it is deleted
13451 (complete would be a better word, actually).
13453 * lyxfunc.C (dispatch): print complete options after a prefix key
13455 * vspace.C (asLatexCommand): rewrite in a slightly different form.
13457 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
13459 * text2.C (setCharFont): eliminate setCharFont code duplication.
13461 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13463 * BufferView_pimpl.C (Dispatch): remove bogus handling of
13464 LFUN_TABULAR_FEATURE (bug #177)
13466 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
13468 * Makefile.am: remove figure.h
13470 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
13472 * Bufferview_pimpl.C:
13484 * text2.C: remove #include "lyx_gui_misc.h".
13486 * LaTeX.C: added #include <cstdio>
13488 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13490 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13491 that the paragraph following this one can have.
13493 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13495 * vspace.C (asLatexCommand): fix bogus gcc warning
13497 * Makefile.am (lyx_SOURCES): remove vms_defines.h
13499 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
13501 * text2.C (setLayout): get rid of redundant code
13503 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
13505 * text2.C (incDepth): make sure depth cannot be increased beyond
13508 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
13510 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13511 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13513 * PainterBase.h (image):
13514 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13515 a LyXImage const *.
13517 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13521 * BufferView_pimpl.C:
13522 * BufferView_pimpl.h:
13542 * sp_spell.C: remove fig inset, and the crap house of
13543 cards that follows it
13545 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13550 * os2_errortable.h:
13551 * nt_defines.h: move .h into support/
13553 * vms_defines.h: remove
13555 * WorkArea.C: add space in debug output
13559 * buffer.C: add WITH_WARNINGS
13563 * bufferlist.C: s/retrive/retrieve/, add docs
13572 * chset.C: add docs
13574 * lyxgui.C: add ID to X error handler
13576 * lyxtestclass.c: fix typo
13578 2002-02-26 Juergen Vigna <jug@sad.it>
13580 * tabular_funcs.C (write_attribute): changed so that some default
13581 attributes are not written at all.
13582 (getTokenValue): set default values before trying to read the
13583 value so we have the return value always set as default if we don't
13584 find the token we search for.
13586 * tabular.C (Write): write bools as bools not as strings!
13588 2002-02-22 Juergen Vigna <jug@sad.it>
13590 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13591 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13593 * text.C (leftMargin): don't add an indent for paragraphs inside
13594 tabular cells (fix #208).
13596 2002-02-21 José Matos <jamatos@fep.up.pt>
13598 * tabular.C (docBook): fixed support for long tables.
13600 2002-02-20 Juergen Vigna <jug@sad.it>
13602 * text2.C (getFont): get the drawing font of the Inset if this
13603 paragraph is inside an inset (only important for InsetERT for now).
13605 * buffer.C (insertErtContents): use new lanugage params in ERT
13608 * CutAndPaste.C: commenting out seemingly uneeded code.
13610 2002-02-19 Allan Rae <rae@lyx.org>
13612 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13613 Iterators might be simple to use but they also get invalidated.
13614 (removeAutoInsets): renamed saved cursor tracking variables and added
13615 some comments to clarify what everything does.
13617 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
13624 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13625 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13628 * vc-backend.h: remove #include "support/syscall.h"
13632 * converter.C: rearrange #includes in Lars' approved fashion.
13634 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13635 forward declare class Timeout in the header file.
13637 * XFormsView.C: changes due to the above.
13639 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13640 similar to LyXView.
13642 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13643 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13645 2002-02-18 José Matos <jamatos@fep.up.pt>
13647 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13650 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
13652 * a lot of small ws changes
13653 * add a lot of using std::XXX
13654 * use std construcs some places where approp.
13655 * use some exisint stuff from lyxfunctional where approp.
13656 * Make file changes to use partial linking (lets test this now...)
13658 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13662 remove #include "support/syscontr.h" as it's redundant. Always has been.
13670 change Systemcalls::System to Systemcalls::Wait and
13671 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13672 No change of functionality, just reflects the stripped down Systemcalls
13675 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13677 * debug.[Ch]: add a GRAPHICS type to the enum.
13679 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13681 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13683 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13686 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13688 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13689 match the changes below.
13691 * text2.C (toggleInset): if there is not editable inset at cursor
13692 position, try to see if cursor is _inside_ a collapsable inset
13695 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13697 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13698 document menu has a nice checkbox
13700 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13702 * lyxlength.C (asLatexString): change PW to output as percent of
13705 * lengthcommon.C: change '%' to 't%'
13707 * lyxfunc.C (dispatch): a few comments from Martin
13709 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
13713 * BufferView_pimpl.h:
13714 * BufferView_pimpl.C: clear our selection when X tells us we've lost
13717 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13719 * vspace.C (inPixels): fix compiler warning
13721 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13723 * lyxfunc.C (getStatus): fix status message for disabled commands.
13725 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
13727 * BufferView_pimpl.C: fix crash on close buffer
13728 during selection (#227)
13730 2002-01-27 Herbert Voss <voss@lyx.org>
13732 * buffer.C: link old Figure to new graphic inset
13734 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
13736 * FontLoader.C (getFontinfo): Change the latex font names in order
13737 to match the names of type1inst.
13739 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
13741 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13743 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13744 (extchanged): ditto
13746 (remove_files_with_extension): ditto
13747 (remove_file): ditto
13750 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13751 document is smaller than the work area height. Do not initialize
13752 static variables to 0.
13754 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13756 * lyx_gui.C (init): give the toolbar tooltips a normal font.
13758 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13759 LFUN_LAYOUT_PARAGRAPHS.
13761 * tabular.C (GetCellFromInset): new method. Finds an inset in a
13762 tabular. It is possible to provide a possible cell, which will
13763 typically be the actcell from the corresponding insettabular
13765 * lyxfunc.C (getStatus): small cleanup; disable
13766 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13769 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13771 * tabular.C (Validate): remove broken optimization (fixes bug #201)
13773 * paragraph.C (startTeXParParams):
13774 (endTeXParParams): new methods. The LaTeX code to
13775 start/end paragraph formatting
13776 (simpleTeXOnePar): call startTeXParParams also when paragraph is
13777 empty (fixes bug #200)
13779 * vspace.C (inPixels): adapt to the change below
13780 (inPixels): [later] more cleanups (remove unused variables)
13782 * lyxlength.C (inPixels): change to use a width and a height as
13785 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13787 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13788 Replaced with \paperwidth
13790 * DepTable.C (insert): add std:: qualifier
13792 2002-01-18 Allan Rae <rae@lyx.org>
13794 * text2.C (removeRow): add comment. Should other refresh_?? vars be
13797 * text.C (drawInset): Turned out I didn't know enough about how
13798 rebreaking worked. This fixes most of the redraw problems. I see
13799 an occasional cursor trail when a line is broken now and the cursor
13800 placement can seem out by a few pixels also after a rebreak.
13802 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13804 * buffer.C (parseSingleLyXformat2Token): update because minipage
13805 width is now a LyXLength
13807 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13809 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13812 2002-01-17 Juergen Vigna <jug@sad.it>
13814 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13816 * BufferView2.C (lockInset): call edit() so that theLockingInset()
13817 is set correctly and the inset is updated correctly.
13819 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13821 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13822 the beginning of the loop.
13824 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
13826 * lyxrc.C: improve help for use_scalable_fonts
13828 2002-01-17 Allan Rae <rae@lyx.org>
13830 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13832 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13834 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13835 make sure to set their inset_owner to the right value (bug #171)
13837 2001-12-12 Ben Stanley <bds02@uow.edu.au>
13840 * DepTable.C: Implement mtime checking to reduce time spent doing
13843 2002-01-16 Juergen Vigna <jug@sad.it>
13845 * tabular.C (GetAdditionalHeight): one of error fixed.
13847 * lyxrc.C (output): small fix in writing use_pspell.
13849 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
13851 * sp_base.h: #include LString.h
13853 2002-01-16 Allan Rae <rae@lyx.org>
13855 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
13856 Can someone check this please?
13858 * text.C (drawInset): It was possible that p.row would be removed by
13859 breakAgainOneRow upsetting a few other settings. There may be another
13860 small tweak possible by setting need_break_row = 0 when p.row has been
13861 removed but I don't know enough about the logic here.
13863 2002-01-15 Allan Rae <rae@lyx.org>
13865 * text.C (insertChar): removed conditional truism.
13867 * BufferView2.C (removeAutoInsets): More tweaks.
13868 cur_par_prev could be a stray pointer. Check for trailing empty line
13869 in case last line was cur_par and only had an error inset on it.
13871 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13873 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13876 * vc-backend.C (most methods):
13877 * exporter.C (Export):
13878 * converter.C (convert):
13880 * LyXSendto.C (SendtoApplyCB):
13881 * lyxfunc.C (dispatch):
13885 * lyx_cb.C (AutoSave):
13887 * BufferView_pimpl.C (MenuInsertLyXFile):
13888 * buffer.C (runChktex): use Buffer::filePath().
13890 * buffer.h: rename filename to filename_; rename filepath to
13891 filepath_ and make it private
13892 (filePath): new method
13894 * buffer.C (writeFile): use fileName()
13897 * lyx_main.C (init): fix starting of LyX when the binary is a
13898 link from so,ewhere else.
13900 * minibuffer.C: include <cctype> for isprint
13902 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13904 * buffer.C (parseSingleLyXformat2Token): changes associated with the
13905 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13906 name clash with InsetCollapsable's width function.
13908 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13910 * lastfiles.C: include <iterator>
13912 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13914 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13917 * buffer.C (makeLaTeXFile): ditto.
13918 Also make loop operation more transparent.
13920 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13922 * ToolbarDefaults.C: remove trailing comma closing namespace.
13924 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13926 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13929 * trans.C (Load): comment out unused variable, allowed.
13931 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
13933 * minibuffer.[Ch] (append_char): new method to recieve input from the
13934 drop-down completion browser. If a key was pressed, then recieve this
13935 char and append it to the existing string.
13936 (peek_event): modify the positioning data passed to the completion
13937 browser so that it can be placed above the minibuffer rather than below.
13938 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13940 * LyXAction.C (init): alloe error-next for readonly documents.
13942 * BufferView2.C (ChangeRefsIfUnique): use standard version of
13945 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13947 * bufferlist.C (readFile): create the buffer _after_ checking that
13950 * lyxfunc.C (verboseDispatch): fix handling of arguments
13952 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
13954 * lyxrc.C: use string::erase() instead of initializing to "".
13957 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13959 * BufferView_pimpl.h:
13960 * BufferView_pimpl.C:
13963 * text2.C: tell X when we have made a selection for copying
13965 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13967 * BufferView_pimpl.C (MenuInsertLyXFile):
13968 * lyxfunc.C (menuNew):
13970 (doImport): add shortcuts to directory buttons
13972 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13975 * lyxfunc.C (setStatusMessage):
13976 (getStatusMessage): new methods
13977 (getStatus):use setStatusMessage instead of setErrorMessage
13978 (dispatch): when function is disabled, set error message here
13979 [instead of in getStatus previously]
13981 * BufferView_pimpl.C (workAreaButtonRelease): update
13982 toolbar/menubar here too.
13984 2002-01-13 Allan Rae <rae@lyx.org>
13986 * BufferView2.C (removeAutoInsets): finished off earlier fix.
13987 Now seems indestructible. Remaining task is to audit all other
13988 code affected by deleteEmptyParagraphMechanism. One small quirk
13989 left is that an empty document with an error in the preamble can
13990 be made to report an error but no error box appears. I don't know
13992 (removeAutoInsets): Improved comments.
13994 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
13997 * Thesaurus.C: update for Aiksaurus 0.14
13999 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
14001 * text2.C (firstParagraph): removed member function, all uses
14002 replaces with ownerParagraph
14003 (redoParagraphs): here
14004 (updateInset): here
14005 (toggleAppendix): here
14006 * BufferView2.C (insertErrors): here
14007 (setCursorFromRow): here
14009 2002-01-13 Allan Rae <rae@lyx.org>
14011 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
14012 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
14013 There is still a way to segfault this although you may have to do this
14014 multiple times: Have an InsetERT with an unknown command in it.
14015 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
14016 <down-arrow>, <Enter> again, View->DVI, BANG!
14018 * text2.C (setCursor):
14019 (deleteEmptyParagraphMechanism):
14020 * lyxtext.h (setCursor):
14021 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
14022 Making use of the return value may help fix other bugs.
14024 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14026 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
14028 * LyXView.C (updateMenubar): call MenuBar::update here
14029 (updateToolbar): but not here
14030 (showState): do not update toolbar/menubar
14032 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
14033 should need to care about that.
14035 * lyxfunc.C (verboseDispatch): simplify a bit
14036 (getStatus): have a version which takes a pseudoaction, and
14037 another which requires a (kb_action,string).
14039 * LyXAction.C (retrieveActionArg): make it work also when action
14040 is not a pseudo-action.
14041 (getActionName): simplify a bit
14044 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14046 * lyxfunc.C (verboseDispatch): new families of methods with
14047 several ways to specify a command and a bool to indicate whether
14048 the command name and shortcut should be displayed in minibuffer
14049 (eventually, we could extend that to a finer bitmask like
14050 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
14051 (dispatch): the pristine dispatch command which just, well,
14052 dispatchs! Note it still sets its result to minibuffer; I'm not
14055 * lyxfunc.h: remove setHintMessage
14057 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
14059 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14061 * BufferView_pimpl.C (specialChar): delete new inset if we have
14062 not been able to insert it.
14064 * kbmap.C: revert to using int instead of kb_action, since all we
14065 are dealing with is pseudo-actions.
14067 * LyXAction.C (searchActionArg): change to return int instead of
14068 kb_action, since the result is a pseudoaction.
14070 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
14072 * buffer.C (insertErtContents): Fix (partially) the font bug.
14074 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
14076 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
14077 as the other one is broken on my machine!
14079 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
14082 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
14084 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
14086 * lyxrc.[Ch]: change names and descriptions of popup font variables to
14087 reflect their actual use. Provide compatibility code for older lyxrc
14090 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
14092 change names of popup font variables in line with the changes to lyxrc.C
14094 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14096 * buffer.C (asciiParagraph): avoid outputing a word twice after
14099 * lyxrc.C (getDescription): document that document_path and
14100 template_path can be empty.
14102 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14104 * LaTeXFeatures.C (getMacros):
14105 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
14107 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
14109 * LaTeXFeatures.C (useFloat): require "float" here instead of in
14111 (getPackages): rename feature "floats" to "float". Use an array to
14112 iterate over 'simple' features (i.e. just a \usepackage). Add
14113 handling of "amsmath" (renamed from "amsstyle").
14115 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
14117 * LaTeXFeatures.C (require): Prevent duplicate entries in the
14120 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
14122 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
14123 FuncStaus::FuncStatus & FuncStaus::some_method().
14125 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
14127 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
14128 of the func_satus stuff. Edited and massaged in various ways by
14131 * lyxfunc.C (getStatus): use FuncStatus
14133 2002-01-08 Juergen Vigna <jug@sad.it>
14135 * text.C (nextBreakPoint): use function Inset::isChar().
14137 * paragraph.C (TeXOnePar): use function
14138 Inset::forceDefaultParagraphs.
14140 * buffer.C (latexParagraphs): use function
14141 Inset::forceDefaultParagraphs.
14143 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14145 * lyx_gui.C (init): set the style of the menu popups to
14146 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
14148 2002-01-07 Juergen Vigna <jug@sad.it>
14150 * text.C (setHeightOfRow): small fix
14151 (prepareToPrint): don't look at alignment if we don't have the place
14154 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14156 * box.C: New file. Move the Box methods and functions out of box.h,
14157 following Lars' suggestion.
14159 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14161 * box.h: #include "support/LOstream.h", needed for inlined function.
14164 * lyxtextclasslist.C: added some using std declarations.
14166 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
14168 * box.h: make signed dimensions to allow insets wider than
14169 the screen (bug #162)
14171 * BufferView_pimpl.C: add some insetHit debug
14173 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
14175 * vc-backend.C: add FIXME
14177 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14179 * lyxfunc.C (getStatus): enable code for showing math font status
14182 2002-01-07 Juergen Vigna <jug@sad.it>
14184 * text.C (nextBreakPoint): removed debug output not needed anymore.
14186 2002-01-06 Juergen Vigna <jug@sad.it>
14188 * text.C (nextBreakPoint): fixed up this function we had this bug
14189 since ever but now hopefully we break row better.
14190 (insertChar): we have to check if an inset is the next char as it
14191 could now happen that a large inset is causing a break.
14193 2002-01-05 Juergen Vigna <jug@sad.it>
14195 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
14196 if it doesn't like to be drawed.
14198 2002-01-04 Juergen Vigna <jug@sad.it>
14200 * BufferView2.C (lockInset): forgot to set a cursor.
14202 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
14204 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
14206 * FormMathsPanel.C:
14209 * form_maths_panel.C:
14210 * form_maths_panel.h:
14211 * form_maths_panel.fd: implemented sub- and super- buttons in math
14214 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
14215 (or ^ space) to be used as in TeX (req'd by Andr�.
14217 * lyxfunc.C: Allow ^ and _ again to be used both as
14218 super/subscript (mathed) and as themselves (in text).
14220 2002-01-03 Allan Rae <rae@lyx.org>
14222 * LyXView.C (updateWindowTitle): Setup a short icon title of either
14223 "LyX" or the filename of the current buffer if it has one. This is a
14224 modified form of John Levon's patch.
14226 * XFormsView.C (setWindowTitle): also set icon title.
14228 * LyXView.h (setWindowTitle): signature changed.
14229 * XFormsView.h (setWindowTitle): ditto.
14231 2002-01-02 Juergen Vigna <jug@sad.it>
14233 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14235 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
14237 * screen.C (topCursorVisible): introduce a temp var for
14238 text->cursor.row(), handle the case where this row is null. (kindo
14241 * text2.C (setCursor): add a couple of asserts.
14243 * paragraph.h (inset_iterator): add -> operator
14245 * paragraph.[Ch] (autoDeleteInsets): remove member function
14247 * BufferView2.C (removeAutoInsets): rewrite to handle the old
14248 cursor pos correctly and handle inset deletion by itself.
14249 (insertErrors): move iterator declaration out of for expression
14251 * lyxtextclass.C: add <algorithm>
14253 * Makefile.am: added the new files to sources, removed layout.C
14255 * layout.C: removed file
14257 * layout.h: remove LYX_DUMMY_LAYOUT
14259 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14263 * lyxtextclass.[Ch]:
14264 * lyxtextclasslist.[Ch]: new files
14266 * include order changes to a lot of files, also changes because of
14269 2001-12-27 Juergen Vigna <jug@sad.it>
14271 * buffer.C (asciiParagraph): more fixes.
14273 * tabular.C (ascii): make ascii export support export of only the
14274 data separated by a column-delimiter.
14275 (ascii): better support for ascii export.
14277 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14279 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14281 * tabular_funcs.C: use a "using std::getline" instead of the
14282 previous fix from Angus (necessary for cxx + lyxstring)
14284 2001-12-24 Juergen Vigna <jug@sad.it>
14286 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14288 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14289 problems. First check a minipage also if we have some ert-contents
14290 (not only on par->size(), second set the right depth of the paragraph
14291 on the relink to the root-paragraph-list!
14293 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14294 which then did not anymore update the main paragraphs on undo/redo!
14296 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14298 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14299 code. Support all font-changing funcs (even those which are not in
14300 menu currently). Support for reporting font settings in
14301 mathed (disabled until Andre provides a function on mathed's side).
14303 * func_status.h (toggle): small helper function to set toggle
14306 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
14308 * tabular_funcs.C: getline -> std::getline
14310 2001-12-21 Juergen Vigna <jug@sad.it>
14312 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14313 accessed and could be 0 (I couldn't generate this but it seems
14316 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
14318 * tabular_funcs.C: add LIstream.h, move write_attribute to..
14319 * tabular_funcs.h: here and include iosfwd
14321 2001-12-20 Juergen Vigna <jug@sad.it>
14323 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14324 inside inset but undo_par was.
14326 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14328 * Thesaurus.C: always include <config.h> in sources.
14332 * box.h: do not include <config.h> in header files
14334 * text.C (paintLastRow): remove unused variable
14336 * text.C (transformChar):
14338 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14340 * Painter.C (text):
14341 * font.C (width): rewrite to use uppercase() instead of
14344 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14346 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
14348 * lyxfind.C: clean up of find failure position change
14350 2001-12-20 Juergen Vigna <jug@sad.it>
14352 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14354 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14355 (TeXRow): added to LaTeX a single tabular row.
14356 (TeXLongtableHeaderFooter): added to output LT-h/f data.
14357 (Latex): simplified and finally good LT-h/f support.
14358 (various_functions): just small adaptions for LT-h/f support.
14360 * tabular_funcs.[hC]: added and moved here all not classfunctions
14363 2001-12-19 Juergen Vigna <jug@sad.it>
14365 * tabular.[Ch]: better support for longtabular options (not finished
14368 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14370 * text.C (paintLastRow): use the label font instead of the font of
14371 the last character to compute the size of *_BOX. This makes more
14372 sense and avoids a crash with empty paragraphs.
14373 Use Painter::rectangle to draw EMPTY_BOX.
14375 2001-12-19 Juergen Vigna <jug@sad.it>
14377 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14378 the paragraphs if the replaced paragraph is not the first one!
14379 Tried to delete not used paragraphs but does not work yet so for
14380 now it's inside #ifdef's and by default off!
14382 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14384 * MenuBackend.C: include "lyx_main.h" instead of declaring
14385 lastfiles (actually was declared as LastFiles* instead of a
14388 2001-12-17 Juergen Vigna <jug@sad.it>
14390 * tabular.C (AppendColumn): applied John's fix
14392 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
14396 * BufferView_pimpl.h:
14397 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14400 * box.h: new start of class for above
14402 * lyxfunc.C: ignore space-only minibuffer dispatches.
14403 Show the command name when it doesn't exist
14405 * minibuffer.C: don't add empty lines to the history
14407 * minibuffer.C: add a space on dropdown completion
14409 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
14411 * text.C: fix line above/below drawing in insets
14413 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14415 * lyxlength.C (LyXLength): Initialize private variables.
14417 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
14419 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14420 when inserting error insets.
14422 2001-12-13 Juergen Vigna <jug@sad.it>
14424 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14425 actually sometimes the before-paragraph.
14426 (setUndo): don't clear the redostack if we're not actually undoing!
14428 2001-12-06 Juergen Vigna <jug@sad.it>
14430 * undo_funcs.C (textHandleUndo): well after John's hint I got here
14431 and fixed redoing of main paragraph, so we can use it now ;)
14433 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14435 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14437 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14440 2001-12-13 André Pönitz <poenitz@gmx.net>
14443 * undo_func.C: minor cleanup
14445 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14447 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14448 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14449 font in urw-fonts package which is marked as -urw-fontspecific and
14450 does not work (incidentally, changing the encoding in the
14451 fonts.dir of this package to -adobe-fontspecific fixes the
14454 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14455 is a crash when undoing first paragraph (Juergen, please take a
14456 look). THis does not mean the undo fix is wrong, just that it
14459 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14460 the (Paragraph*) version when needed instead of duplicating the
14463 * text.C (workWidth): use Inset::parOwner to find out where the
14464 inset has been inserted. This is a huge performance gain for large
14465 documents with lots of insets. If Inset::parOwner is not set, fall
14466 back on the brute force method
14468 * paragraph_pimpl.C (insertInset):
14469 * paragraph.C (Paragraph):
14470 (cutIntoMinibuffer): set parOwner of insets when
14471 inserting/removing them
14473 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14475 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
14481 * mathed/formulabase.C:
14482 * mathed/math_cursor.[Ch]:
14483 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14486 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14488 * lyxlength.[Ch] (operator!=): new function
14490 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14492 * text.C (workWidth): use Inset::parOwner to find out where the
14493 inset has been inserted. This is a huge performance gain for large
14494 documents with lots of insets. If Inset::parOwner is not set, fall
14495 back on the brute force method
14497 * paragraph_pimpl.C (insertInset):
14498 * paragraph.C (Paragraph):
14499 (cutIntoMinibuffer): set parOwner of insets when
14500 inserting/removing them
14502 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14504 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14506 * tabular-old.C (getTokenValue):
14507 * tabular.C (getTokenValue):
14508 (write_attribute): new versions for LyXLength
14509 (everywhere): adjust the use of widths
14511 * tabular.h: change the type of widths from string to LyXLength
14513 2001-12-11 Ben Stanley <bds02@uow.edu.au>
14515 * paragraph.C: fixed missing line number count when exporting
14516 Environments to LaTeX file
14518 * buffer.C: added informational message for checking line numbers.
14520 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14522 * text2.C (deleteEmptyParagraphMechanism): if there is only one
14523 paragraph, do the 'double space' part, but not the 'empty
14526 * text.C (workWidth): small optimization
14527 (getLengthMarkerHeight): use minimal size for negative lengths.
14529 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
14531 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14533 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14535 2001-12-11 André Pönitz <poenitz@gmx.net>
14538 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14540 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14542 * text2.C: keep selection on a setFont()
14544 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14546 * lyx_cb.C: another bv->text misuse, from insert label
14548 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14551 * kbsequence.C: re-instate nmodifier mask
14553 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
14555 * lyx_main.h: make lyxGUI private.
14557 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14559 * lyxfind.C: place the cursor correctly on failed search
14561 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14563 * text.C (getLengthMarkerHeight): for small heights, the arrows
14564 are not always on top/bottom of the text
14565 (drawLengthMarker): smaller arrows; take the left margin in
14566 account; draw also vfills.
14568 (paintLastRow): remove special code for vfill and standard spaces,
14569 since everything is handled in drawLengthMarker now.
14571 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14573 * buffer.C (insertErtContents): try to handle font and language
14574 interaction a bit better.g
14576 * ColorHandler.C (updateColor): change the hash to cover the whole
14577 LColor enum, ws cleanup
14578 (getGCLinepars): ditto
14579 (getGCLinepars): only lookup in the linecache once.
14581 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
14583 * iterators.C (operator++): Make the iterator more robust
14585 * BufferView2.C (removeAutoInsets): Use paragraph iterators
14587 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14589 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14592 * text.C: better added space drawing
14594 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14597 * BufferView2.C: fix layout combo update on inset unlock
14599 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14601 * Makefile.am: don't compile unused files
14603 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14607 * LyXAction.C: remove old LFUN_LAYOUTNO
14609 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14611 * paragraph_pimpl.h:
14612 * paragraph_pimpl.C: isTextAt() doesn't need font param
14614 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14617 * lyxlex.C: little cleanup
14619 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14621 * BufferView_pimpl.C: fix insertAscii for insets
14623 2001-12-05 Juergen Vigna <jug@sad.it>
14625 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14626 set the right font on the "multi" paragraph paste!
14628 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14634 * lyxlength.C: remove out-commented code.
14636 * BufferView_pimpl:
14650 * vc-backend.C: change "while(" to "while ("
14652 * lyxlength.[Ch]: add zero function to check if length is zero or
14654 * lyxgluelength.C: use it
14656 2001-12-05 Allan Rae <rae@lyx.org>
14658 * lyxlength.C: Attempted a fix for the abs(int) header selection.
14659 Works for 2.95.3, from what I understand of Garst's reports this should
14660 work for other g++ versions. We're screwed if the abs(int) definition
14661 changed between bugfix releases of gcc.
14663 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14665 * text.C: fix chapter label offset !
14667 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14670 * text.C: fix hfill at end of line, clean up
14672 2001-12-04 Juergen Vigna <jug@sad.it>
14674 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14675 that we force an update of the inset and it's owners if neccessary.
14677 2001-12-03 Juergen Vigna <jug@sad.it>
14679 * text.C (rowLast): simplified code
14681 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14683 * lyxfunc.C: fix show options on timeout
14685 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14687 * screen.C (topCursorVisible): scroll half a page when the cursor
14688 reached top of bottom of screen
14690 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
14692 * minibuffer.C: deactivate on loss of focus
14694 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14696 * vspace.[Ch] (operator!=): add operator.
14698 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
14700 * BufferView_pimpl.C: refuse to open an inset when
14701 there's a selection.
14703 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
14705 * BufferView_pimpl.C: allow to click on RHS of full row insets
14707 2001-11-30 Juergen Vigna <jug@sad.it>
14709 * tabular.C (LyXTabular): add a same_id to set the same id's in the
14710 insets for undo reasons.
14712 2001-11-28 André Pönitz <poenitz@gmx.net>
14714 * vspace.[Ch]: cosmetical changes
14716 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14726 * kbsequence.C: part re-write of old kb code
14729 * WorkArea.C: remove Lgb_bug_find_hack
14731 2001-11-30 José Matos <jamatos@fep.up.pt>
14733 * buffer.C (makeDocBookFile): add a comment to point a hack.
14734 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14735 Fixed a double write of labels.
14737 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14740 * LaTeX.h Fixed bug in LaTeX class where it would not
14741 re-run latex if no depfiles were changed, but the .dvi was removed.
14743 2001-11-28 André Pönitz <poenitz@gmx.net>
14745 * all the files from the change on 2001/11/26:
14746 use lyx::layout_type instead of LyXTextClass::size_type
14747 use lyx::textclass_type instead of LyXTextClassList::size_type
14749 2001-11-29 Juergen Vigna <jug@sad.it>
14751 * text.C: added support for paragraph::isFreeSpacing()
14753 * buffer.C: same as above
14755 * paragraph.h: inserted isFreeSpacing() function to enable
14756 FreeSpacing inside InsetERT.
14758 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14759 of the paragraph's in the cut/copy buffer to 0!
14761 * text2.C (removeRow): remove the assert as it can!
14763 * lyxtext.h: added helper function firstRow returning firstrow and
14764 made firstrow private again.
14766 * BufferView2.C (lockInset): don't relock if we're already locked!
14768 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14769 the only paragraph.
14770 (removeRow): added Assert::(firstrow)
14772 * debug.C: forgot to add INSETTEXT here.
14774 2001-11-28 Juergen Vigna <jug@sad.it>
14776 * sp_spell.C (initialize): changed error text to more general
14777 spellchecker command use (not only ispell!)
14779 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14781 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14783 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14785 * vspace.C: initialise lyxgluelength on failure
14787 2001-11-28 Allan Rae <rae@lyx.org>
14789 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14790 declaration & definition that looks like a function declaration.
14792 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14794 * BufferView2.C (copy):
14795 (copyEnvironment): do not clear the selection when doing a copy.
14797 * text.C (paintFirstRow): compilation fix
14799 2001-11-27 Ben Stanley <bds02@uow.edu.au>
14801 * tabular.C (Latex): correct line count when writing latex.
14803 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
14805 * paragraph_pimpl.h:
14806 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14809 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14813 * LColor.C: change vfillline->added_space
14815 * text.C: add markers and text for added space
14817 * vspace.C: fix comment
14819 2001-11-28 André Pönitz <poenitz@gmx.net>
14821 * paragraph.C: whitespace changes
14822 * all the other files from the change on 2001/11/26:
14823 change *::pos_type into lyx::pos_type
14825 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
14827 * buffer.C (parseSingleLyXformat2Token): Set the language to the
14828 language of the document when inserting error insets.
14830 2001-11-26 André Pönitz <poenitz@gmx.net>
14832 * BufferView_pimpl.[Ch]:
14840 * paragraph_pimpl.[Ch]:
14843 * text2.C: reduce header dependencies, introduce type for positions
14845 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14847 * <various>: change to use Alert.h
14849 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
14851 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14852 when encountering an unknown token.
14853 (readLyXformat2): Show an error message if there were unknown tokens.
14855 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
14858 * BufferView_pimpl.C:
14862 * text2.C: use par->isInset()
14864 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14866 * paragraph_pimpl.h:
14867 * paragraph_pimpl.C: cleanup
14869 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14871 * text2.C (removeRow):
14872 * text.C (setHeightOfRow): remove useless (and costly) call to
14875 2001-11-20 Allan Rae <rae@lyx.org>
14877 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14878 Now need Inset*::checkInsertChar() to return true for appropriate
14879 cases so that the characters in the minibuffer will actually be
14882 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14884 * text.C: change the order of the includes.
14885 (workWidth): initialize it at once.
14886 (workWidth): make maxw unsigned
14887 (setHeightOfRow): remove unused variable (inset)
14888 (selectSelectedWord): remove unused variable (inset)
14889 (paintRowText): fix drawing of hfill characters, and clean up a bit.
14891 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14893 * lyxserver.C (emergencyCleanup): do not try to close pipes if
14894 server is not running.
14896 (closeConnection): add debug info when server is disabled.
14898 * ColorHandler.C (getGCForeground): send debug message to GUI
14901 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14903 * kbmap.C (bind): modify because return conventions of
14904 kb_sequence::parse have changed.
14906 * kbsequence.C (parse): only ignore spaces and not any stupid
14907 control character. This avoids tests like s[i] <= ' ', which are
14908 guaranteed to fail with 8bit characters and signed chars.
14909 Change return code to string::npos when there have been no error
14910 (0 was a bad idea when error is at first character)
14912 2001-11-14 José Matos <jamatos@fep.up.pt>
14915 * buffer.C (simpleDocBookOnePar): removed unused argument.
14917 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14919 * text.C (selectNextWordToSpellcheck): do not test explicitely for
14920 insets which are part of a word. Paragraph::isLetter takes care of
14921 that now. Use Paragraph::isInset to identify insets.
14922 (selectSelectedWord): do not test for hyphenation break.
14924 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14925 that protected spaces are considered as spaces.
14927 * paragraph.C (isLetter): cleanup the code for ispell extras; use
14930 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
14933 * lyxserver.C: fix it. and small cleanup.
14935 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
14937 * BufferView_pimpl.C: use inline helpers
14940 * LaTeXFeatures.C: fix typos
14943 * Spacing.C: move spacing_string into class
14945 * ToolbarDefaults.C: move stuff into namespace anon
14947 * layout.h: update enum
14949 * lyxfunc.C: use better debug
14951 * minibuffer.h: fix typo
14955 * WorkArea.C: add and use Debug::WORKAREA
14959 * text2.C: code re-organisation, inline helpers
14961 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
14963 * Layout.C: replaced a few cases of std::vector.size() == 0 with
14964 std::vector.empty().
14966 2001-11-09 Allan Rae <rae@lyx.org>
14968 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14969 '\n's after tables. Tabular and ERT inset work now makes this no
14972 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
14975 * minibuffer.C: fix crash, improve drop-down completion
14977 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
14980 * lyxserver.C: invalidate fd's when doing endPipe()
14982 2001-11-08 José Matos <jamatos@fep.up.pt>
14984 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14985 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14988 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14990 2001-11-07 José Matos <jamatos@fep.up.pt>
14993 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14996 * buffer.C (sgmlOpenTag):
14997 * buffer.C (sgmlCloseTag): removed debug info.
14999 * buffer.h (sgmlOpenTag):
15000 * buffer.h (sgmlCloseTag): made public.
15002 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15004 * buffer.C (saveParamsAsDefaults):
15005 * lyx_cb.C (MenuLayoutSave): remove
15007 * LyXAction.C (init):
15009 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
15011 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15013 * buffer.C (setPaperStuff): removed from here...
15015 * bufferparams.C (setPaperStuff): ... and moved there.
15017 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
15021 * XFormsView.C: add support for drop-down completion
15023 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
15025 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
15028 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15030 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
15033 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
15035 * lyx_main.C: change ref to known bugs
15037 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
15039 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
15040 to work around older babel problems.
15042 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
15044 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
15046 2001-10-24 Juergen Vigna <jug@sad.it>
15048 * tabular-old.C (ReadOld): below variable changes reflected.
15050 * tabular.[Ch]: added ltType struct for longtable header/footer
15051 defines and changed all instances where they are used. Added
15052 future support for double top/bottom rows.
15054 2001-10-24 José Matos <jamatos@fep.up.pt>
15056 * buffer.h (docbookHandleCaption):
15057 * buffer.C (docbookHandleCaption): removed unused function.
15058 (makeDocBookFile): moved docbook supported version to v4.1.
15060 2001-10-24 José Matos <jamatos@fep.up.pt>
15063 * tabular.C (docbookRow): new function to export docbook code of a row.
15064 (DocBook): now honors the longtable flags.
15066 2001-10-23 José Matos <jamatos@fep.up.pt>
15069 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
15070 of the lyx defined sgml entities used in a docbook/linuxdoc document.
15072 * buffer.C (makeLinuxDocFile):
15073 (makeDocBookFile): reworked the preamble, more clean, and with
15074 support for lyx defined entities. Changed the document declaration
15075 to be more XML friendly.
15077 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
15078 if we need to output XML that should be done with a filter.
15080 2001-10-22 Juergen Vigna <jug@sad.it>
15082 * sp_pspell.h (class PSpell): add alive function needed in the
15083 controller to see if the spellchecker could be started.
15085 2001-10-22 Juergen Vigna <jug@sad.it>
15087 * buffer.C (insertStringAsLines): modify the font for inserting
15088 chars in certain conditions by calling checkInsertChar(font).
15090 2001-10-19 Juergen Vigna <jug@sad.it>
15092 * text.C (workWidth): use getRow instead of wrong algorithm.
15093 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
15095 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
15100 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
15102 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15104 * text.C (workWidth): do not search for the exact row when
15105 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
15106 optimization for big documents.
15108 2001-10-18 Juergen Vigna <jug@sad.it>
15110 * text.C (workWidth): new function with added Inset * parameter.
15112 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15114 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
15116 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
15117 change return type of getColumnNearX.
15120 * text.C (changeRegionCase): use uppercase/lowercase instead of
15123 (rightMargin): simplify code by factoring out the uses of
15128 (appendParagraph): use Paragraph::size_type
15130 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15132 * vspace.C (asLatexString): add a missing break
15134 2001-10-15 Herbert Voss <voss@perce.de>
15136 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
15138 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15140 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
15143 2001-10-10 André Pönitz <poenitz@gmx.net>
15145 * lyxfunc.C: removed greek_kb_flag.
15147 2001-10-10 Herbert Voss <voss@perce.de>
15149 * lyx_main.C: delete global string help_lyxdir.
15151 2001-10-09 Herbert Voss <voss@perce.de>
15153 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
15155 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
15157 * lyx_main.C: added global string help_lyxdir.
15159 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
15161 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
15163 * lyxrc.C (set_font_norm_type): support iso8859-4
15165 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
15167 * LaTeX.C (deplog): add another regex for MikTeX
15169 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
15171 * lyxrc.C (set_font_norm_type): support iso8859-3
15173 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15175 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
15177 * LaTeXFeatures.C: remove special case of french and index
15179 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
15180 before \begin{document}). This solves several incompatibilities.
15182 2001-10-03 Garst Reese <reese@isn.net>
15184 * lyx_cb.C: change CheckTex error msg.
15186 2001-10-03 José Matos <jamatos@fep.up.pt>
15188 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
15190 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15192 * .cvsignore: update
15194 * lyx_main.C (commandLineVersionInfo): use new style version info.
15196 * buffer.C (writeFile):
15198 (makeLinuxDocFile):
15199 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
15201 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
15203 * version.h: update to use stuff in version.C
15205 * version.C.in: new file. Contains version information determined
15206 at compile time. This is a merging of version.h and
15209 2001-10-03 Juergen Vigna <jug@sad.it>
15211 * BufferView_pimpl.C (update): don't change "dirty" status in
15214 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
15216 * WorkArea.C (c-tor): re-position version string slightly.
15218 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
15220 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15221 revert to previous code.
15223 WorkArea.[Ch]: (show, destroySplash): methods removed.
15225 WorkArea.C: rework code so that it's an amalgam of the codes before and
15226 after the splash screen was moved to WorkArea.
15228 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15231 * vspace.C (inPixels):
15234 * buffer.C (insertStringAsLines):
15235 (asciiParagraph): fix types to be large enough
15237 * lyxlex_pimpl.h: change member status from short to int
15239 * layout.h: fix type of endlabeltype
15242 * kbsequence.C (parse): change return type to string::size_type
15244 * LaTeX.C (updateBibtexDependencies): comment out unneeded
15247 * Bullet.C (bulletSize):
15248 (bulletEntry): do not use short ints as parameters
15250 * BufferView2.C (insertLyXFile): change a char to an int.
15252 * WorkArea.C (WorkArea): remove unneeded floats in computation
15254 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
15256 * buffer.C (asciiParagraph): Treat '\\' as other chars.
15258 * paragraph.C (asString): Do not ignore newline/hfill chars when
15259 copying to the clipboard.
15261 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
15263 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15264 after a multi-line inset.
15266 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
15268 * paragraph.C (validate): Set NeedLyXFootnoteCode
15270 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
15272 * lyxfont.C (LyXSizeNames): changed increase-error to increase
15273 and decrease-error to decrease.
15275 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15277 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15278 it more readable (should be equivalent)
15280 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
15282 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15284 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15286 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15287 of a cursor (row, etc.) after a character has been deleted
15288 (deleteEmptyParagraphMechanism): call the method above on _all_
15289 cursors held by the LyXText when a double space has been
15292 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
15294 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15296 (resizeCurrentBuff): remove code to destroy the old splash dialog.
15298 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15299 background. Use greyOut() and the new show() methods to toggle between
15300 the foreground and background. Add code to remove the splash after
15301 its initial showing.
15303 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15304 (create_forms): no longer call Dialogs::showSplash.
15306 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15308 * .cvsignore: add version_info.h
15310 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15312 * version_info.h.in: new file
15314 * Makefile.am: add version_info.h.in
15316 * lyx_main.C (commandLineVersionInfo): use version_info defined in
15317 version_info.h instead of VERSION_INFO
15319 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
15321 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15322 The ERT inset now returns string().
15324 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
15326 * lyxtext.h, text.C (selectNextWord): renamed as
15327 selectNextWordToSpellcheck.
15329 * text.C (selectNextWordToSpellcheck): Modified to not select
15330 words inside an ERT inset.
15332 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15334 * lyx_cb.C (MenuLayoutSave): change a bit the question
15336 * sp_base.h: include <sys/types.h>
15338 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
15340 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15342 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
15344 * several files: fix typos in user-visible strings
15346 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15348 * text2.C (pasteSelection): do not set the selection, since it
15349 will be cleared later. Actually, the intent was to fix the way the
15350 selection was set, but I figured rmoving the code was just as good.
15352 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
15354 * FontLoader.C (available): Check if font is available without
15357 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
15359 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15361 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
15363 * lyxrc.[Ch]: added display_graphics variable and associated code.
15365 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15367 * bufferparams.C (hasClassDefaults): new method. Returns true if
15368 the buffer parameters correspond to known class defaults
15370 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
15372 * XFormsView.C (show): set minimum size to the main window.
15374 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15376 * text2.C (copySelection):
15378 * lyxfind.C (LyXReplace):
15379 * BufferView_pimpl.C (Dispatch): pass the correct flag to
15380 LyXText::selectionAsString.
15382 * paragraph.C (asString): add "label" argument to the second form
15384 * text2.C (selectionAsString): add "label" argument and pass it to
15385 Paragraph::asString.
15387 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15389 * lyx_main.C (commandLineHelp): remove version information
15391 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
15393 * lyx_main.C: add -version commandline option
15395 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15397 * paragraph.h: make the optional constructor arg required instead.
15398 some modifications to other files because of this.
15400 * minibuffer.C (C_MiniBuffer_peek_event): make it static
15402 * lyxserver.C (C_LyXComm_callback): make it static
15404 * lyx_main.C (error_handler): make it static
15406 * lyx_gui.C (LyX_XErrHandler): make it static
15408 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15410 * WorkArea.C: make the extern "C" methods static.
15412 * Makefile.am (lyx_LDADD): simplify
15414 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15416 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15417 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15419 * LyXAction.C (init):
15420 * lyxfunc.C (dispatch): associated code removal.
15422 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15424 * lyxfont.h (isSymbolFont): shut off warning
15426 * text.C (setHeightOfRow):
15427 (getVisibleRow): fix crash with empty paragraphs which have a
15430 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
15432 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15435 2001-09-04 José Matos <jamatos@fep.up.pt>
15438 * tabular.C (docbook): rename docBook method to docbook.
15440 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15442 * Makefile.am: add dependencies to main.o.
15444 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
15446 * FontLoader.C (available): Return false if !lyxrc.use_gui
15448 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
15450 * FontInfo.C (query):
15451 * converter.C (view):
15452 * importer.C (Import):
15453 * exporter.C (Export): Can not -> cannot.
15455 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
15457 * BufferView_pimpl.C: allow to create index inset even if
15460 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15462 * buffer.C (getLists): replace boost::tie code with an explicit pair
15463 as boost::tie can break some compilers.
15465 * iterators.h: Added a std:: declaration to the return type of
15468 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
15470 * lyxrc.C: add help for view_dvi_paper_option, default to safe
15473 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
15475 * iterators.[Ch]: New files. Provide paragraph iterators.
15477 * buffer.C (changeLanguage): Use paragraph iterators.
15478 (isMultiLingual): ditto
15480 * BufferView2.C (ChangeInsets): Use paragraph iterators.
15482 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
15484 * FontLoader.C: Support for cmr font.
15486 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
15488 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15489 (available): New method.
15491 * FontInfo.C (getFontname): Use scalable fonts even when
15492 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15495 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15497 * converter.C (Formats::view): reverted! Incorrect fix.
15499 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15501 * converter.C (Formats::view): only output the -paper option
15502 if the dvi viewer is xdvi, thereby fixing bug #233429.
15504 2001-08-23 Herbert Voss <voss@perce>
15506 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15508 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
15510 * Spacing.h (Spacing): Set space to Default on in the default
15513 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
15515 * vc-backend.h (RCS::versionString): add RCS to version
15516 (CVS::versionString): add CVS to version
15518 * vc-backend.C (scanMaster): do not add CVS to version.
15519 (scanMaster): do not add RCS to version
15521 * lyxvc.C (versionString): new method
15523 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15525 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15527 * Spacing.C (set): initialize fval
15529 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
15531 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15534 2001-08-16 Juergen Vigna <jug@sad.it>
15536 * lyxfunc.C (dispatch): implemented the new FINISHED states.
15538 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15540 * BufferView_pimpl.C:
15543 * text2.C: setParagraph takes linespacing now
15545 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
15547 * LyxAction.C: add internal LFUN_CITATION_INSERT
15549 * LyXView.C: actually apply fix
15551 * bufferlist.C: fix open non-existent file
15553 * lyxfind.C: fix indentation
15555 * lyxfunc.C: remove unneeded assert, fix typo
15557 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15559 * MenuBackend.C: use "Floatname List"
15561 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
15563 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15564 when converting LaTeX layout to insetERT.
15565 Generate a non-collapsed float when reading old float
15567 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15569 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15572 2001-08-13 Juergen Vigna <jug@sad.it>
15574 * text.C (fill): return 0 instead of 20 as this seems to be the more
15577 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15579 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15582 2001-08-13 Juergen Vigna <jug@sad.it>
15584 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15586 (SearchBackward): comment out the unlocking of the inset_owner this
15587 should not be needed!
15589 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
15591 * Many files: Remove inherit_language, and add latex_language
15593 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15594 collapsible insets.
15596 2001-08-10 Juergen Vigna <jug@sad.it>
15598 * text.C (prepareToPrint): fixed hfill-width in draw!
15600 * BufferView2.C (selectLastWord): save the selection cursor as this
15601 now is cleared in the function LyXText::clearSelection!
15603 2001-08-08 Juergen Vigna <jug@sad.it>
15605 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15606 BACKSPACE type functions.
15608 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15609 is only cutted from the document but not put in the cut-buffer, where
15610 still the old stuff should be.
15612 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15614 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15616 * tabular.C (SetWidthOfCell): fixed special case where the width
15618 (LeftLine): handle '|' in align_special.
15620 (LeftAlreadyDrawed): ditto
15621 (SetWidthOfCell): ditto
15623 2001-08-07 Juergen Vigna <jug@sad.it>
15625 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15627 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15629 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15630 * lyxlex.[hC]: ditto
15632 2001-08-06 Juergen Vigna <jug@sad.it>
15634 * text.C (getVisibleRow): fix up row clearing a bit.
15636 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15638 * minibuffer.C: make sure the X server sees the changes in the input.
15640 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15642 * paragraph.C (getFont): split into...
15643 (getLabelFont): this
15644 (getLayoutFont): and this
15645 * paragraph_pimpl.C (realizeFont): calling this
15647 * text2.C (getFont): split into...
15648 (getLayoutFont): this
15649 (getLabelFont): and this
15650 (realizeFont): all three calling this
15652 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15655 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15657 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15659 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
15661 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15662 layouts from the Quote inset insertion.
15664 2001-08-03 Juergen Vigna <jug@sad.it>
15666 * BufferView_pimpl.C (update): do the fitCursor only at the end!
15668 * screen.C (drawFromTo): don't call fitcursor here and do the loop
15669 only if status not is already CHANGED_IN_DRAW (second level).
15671 * text.C (draw): don't set the need_break_row when inside an
15674 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
15676 * buffer.C (parseSingleLyXformat2Token): handle more latex
15679 * bufferview_funcs.[hC]: change function names to
15680 begin with small char, adjust other files.
15682 2001-08-02 André Pönitz <poenitz@gmx.net>
15685 BufferView_pimpl.C: remove broken special code for math-greek
15687 2001-08-02 Juergen Vigna <jug@sad.it>
15689 * BufferView_pimpl.C (update): redone this function so that we
15690 update the text again if there was a CHANGE_IN_DRAW.
15692 * screen.C (cursorToggle): removed LyXText parameter and recoded.
15693 (drawFromTo): added a new internal bool which is used by draw() and
15695 (general): some cursor drawing problems fixed.
15697 2001-08-01 Juergen Vigna <jug@sad.it>
15699 * lyxfind.C (LyXFind): fixed
15700 (SearchForward): ditto
15701 (SearchBackward): ditto
15703 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15704 spurius drawing of the cursor in the main area.
15706 * text2.C (status): small fix which could lead to a segfault!
15707 (clearSelection): remove unneeded BufferView param.
15709 2001-08-01 André Pönitz <poenitz@gmx.net>
15711 * lyxfunc.C: small change due to changed mathed interface
15713 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15715 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15717 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
15719 * lyxfunc.c: fail gracefully if file doesn't exist
15724 * BufferView_pimpl.C: IsDirWriteable() proto changed
15726 * LyXView.C: fix updateWindowTitle() to store the last title
15728 2001-07-31 Juergen Vigna <jug@sad.it>
15730 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15731 the font (wrong since using of Paragraph::highestFontInRange).
15733 * paragraph.C (highestFontInRange): added a default_size parameter.
15735 * text.C (getVisibleRow): minor clear row changes (still not perfect).
15736 (setHeightOfRow): reformat
15738 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15740 * converter.[hC] + affected files: move to (inital-char)lowercase
15743 * ParagraphParameters.C (ParagraphParameters): remove commented code
15745 * PainterBase.[Ch]: remove commented code
15747 * LaTeXFeatures.h: add "bool floats" for float.sty
15749 * LaTeXFeatures.C (LaTeXFeatures): init floats
15750 (require): handle float
15751 (getPackages): do it with floats
15753 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15755 * BufferView_pimpl.C (Dispatch): improve handling of
15756 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15758 * commandtags.h: #include lyxfont.h here temporarily to avoid
15761 * bufferlist.h: include LString.h here.
15763 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15765 * text2.C (getStringToIndex): new method.
15767 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
15769 * *: Reduced header file dependencies all over.
15771 2001-07-30 Baruch Even <baruch@lyx.org>
15773 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15775 2001-07-29 Baruch Even <baruch@lyx.org>
15777 * buffer.C (readInset): Changed GRAPHICS to Graphics.
15779 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15781 * ParameterStruct.h (endif): add a default constructor to make
15782 sure that all variables is initialized.
15784 * ParagraphParameters.C (ParagraphParameters): adjust
15786 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15788 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15789 index; also, check that there is something to index, and that it
15790 does not span over several paragraphs.
15791 (doubleClick): use WHOLE_WORD_STRICT for double click.
15793 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15795 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15798 2001-07-26 Baruch Even <baruch@lyx.org>
15800 * buffer.C (readInset): Changed to call up InsetGraphics when reading
15801 an InsetFig figure, backwards compatible reading of old figure code.
15803 2001-07-27 Juergen Vigna <jug@sad.it>
15805 * text2.C: font.realize function adaption.
15807 * text.C (draw): add a warnings lyxerr text if needed.
15809 * layout.C: font.realize function adaption.
15811 * language.C: add inherit_language and implement it's handlings
15813 * bufferview_funcs.C (StyleReset): remove language parameter from
15814 font creation (should be language_inherit now).
15816 * bufferparams.C (writeFile): handle ignore_language.
15818 * paragraph.C (getFontSettings): the language has to be resolved
15819 otherwise we have problems in LyXFont!
15821 * lyxfont.C (lyxWriteChanges): added document_language parameter
15822 (update): removed unneeded language parameter
15824 * paragraph.C (validate): fixed wrong output of color-package when
15825 using interface colors for certain fonts in certain environments,
15826 which should not seen as that on the final output.
15828 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
15830 * BufferView_pimpl.C:
15835 * LyXAction.C: add thesaurus support
15838 * lyxfind.C: add "once" parameter, for thesaurus, to not
15839 move to the next match
15841 2001-07-26 Juergen Vigna <jug@sad.it>
15843 * lyxfont.C (realize): honor ignore_language too!
15846 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15848 * text.C (draw): one place more for ignore_language to not draw
15851 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
15853 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15855 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15857 * buffer.C (parseSingleLyXformat2Token): a more general fix for
15858 the minipage conversion problem.
15860 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15862 * buffer.C (parseSingleLyXformat2Token): check minipage if we
15865 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15867 * BufferView.h: don't forward declare WorkArea
15869 * BufferView.C: don't include WorkArea.h
15871 2001-07-25 André Pönitz <poenitz@gmx.net>
15875 * lyxfunc.C: new LFUN 'math-space'
15877 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15879 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15881 * text2.C (toggleInset): call open/close
15883 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15885 * lyxfunc.C (dispatch): add debug for the disabled case
15887 * font.C (buttonText): make similar to rectText
15889 * buffer.C (readInset): comment out parsing of insetlist and
15892 * PainterBase.C (rectText): small correction
15894 * BufferView_pimpl.C: comment out insettheorem and insetlist
15895 * LyXAction.C: ditto
15896 * commandtags.h: ditto
15898 2001-07-24 Juergen Vigna <jug@sad.it>
15900 * text.C (draw): honor the ignore_language.
15902 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15904 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15906 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15909 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15911 * lyxtext.h: remove unused (and unimplemented) methods
15913 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15915 * text.C (getVisibleRow): honor background color
15918 * Painter.h: remove default color argument for fillRectangle
15920 * text.C (backgroundColor): new method
15922 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15924 * text.C (getVisibleRow): adjust
15926 * font.[Ch] (rectText): new method, metrics
15927 (buttonText): new method, metrics
15929 * PainterBase.[hC]: make rectText and buttonText always draw and take
15932 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15934 * ToolbarDefaults.C (read):
15935 * MenuBackend.C (read): allow escaping in all strings
15937 * BufferView_pimpl.C (insertAndEditInset): new method.
15938 (Dispatch): use insertAndEditInset whenever appropriate.
15940 * BufferView_pimpl.C (insertNote): removed
15942 * BufferView_pimpl.C (smartQuote): new method, moved from
15943 BufferView; if an insetquote cannot be inserted, insert a '"'
15946 * BufferView2.C: remove insertCorrectQuote();
15948 * lyxfunc.C (getStatus): Add support for all remaingin
15949 inset-insert lfuns.
15951 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
15953 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
15954 command (necessary to pass " as parameter of self-insert.
15956 * text.C (selectWordWhenUnderCursor):
15957 (selectWord): add word_location parameter
15958 (selectWordWhenUnderCursor): same + remove special code for word
15960 (selectNextWord): use kind() to guess type of insetspecialchar,
15963 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15964 (insertErtContents): create ert insets as collapsed.
15965 (readInset): better compatibility code for Info inset.
15967 2001-07-20 Juergen Vigna <jug@sad.it>
15969 * lyxfunc.C (dispatch): use always LyXFind now!
15971 * text2.C (init): add a reinit flag so that the LyXText can be
15972 reinited instead of deleted and reallocated (used in InsetText).
15974 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15980 2001-07-18 Juergen Vigna <jug@sad.it>
15982 * text.C (selectNextWord): handle insets inside inset by calling
15983 always the bv->text functions so that we can go up the_locking_inset!
15985 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15986 in strange locations when inside an inset!
15988 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15989 handling to include insets.
15991 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15993 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15995 * LyXAction.C (init):
15997 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15998 LIGATURE_BREAK, since the name is so stupid.
16000 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
16002 * buffer.C (readInset): enable reading of new InsetNotes as well as old
16005 * FontLoader.C: remove FORMS_H_LOCATION cruft.
16007 * sp_form.[Ch]: remove.
16009 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
16011 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
16014 * src/buffer.C (readInset): ditto.
16016 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16018 * BufferView_pimpl.C (specialChar): new method. Obsoletes
16019 menuSeparator(), endOfSentenceDot(), ldots() and
16020 hyphenationPoint(), which are therefore removed.
16021 (Dispatch): handle LFUN_HYPHENATION_BREAK.
16023 * LyXAction.C (init):
16024 * commandtags.h: add LFUN_HYPHENATION_BREAK.
16026 * paragraph.C (getWord): removed.
16028 * BufferView_pimpl.C (Dispatch): use last word or selection for
16029 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
16031 * lyx_main.C (queryUserLyXDir): do not ask before creating
16032 user_dir, except if it has been named explicitely.
16034 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
16036 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
16037 a document of zero size.
16039 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
16041 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
16042 approriately in the c-tor and in require().
16043 (getPackages): output the appropriate LaTeX for natbib support.
16045 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
16046 variables "use_natbib" and "use_numerical_citations" when reading the
16048 (readInset): read the various natbib cite commands.
16049 (validate): white-space change.
16051 * bufferparams.[Ch]: new variables "bool use_natbib" and
16052 "bool use_numerical_citations".
16053 (writeFile): output them in the LyX file.
16055 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16057 * lyxfunc.C (getStatus): add support for all the inset insertion
16060 * text2.C (insertInset):
16061 * paragraph.C (insetAllowed):
16062 * BufferView_pimpl.C (insertInset): update to take in account the
16063 renaming of insertInsetAllowed
16065 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
16067 * text2.C (getInset): new method. returns inset at cursor position.
16069 * BufferView_pimpl.C (Dispatch): changes because of this.
16071 * LyXAction.C (init): rename open-stuff to inset-toggle.
16073 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
16075 * text2.C (toggleInset): renamed from openStuff; use
16078 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
16080 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
16082 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
16084 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
16086 * buffer.C (readLyXformat2): Add filename to the error dialog
16088 2001-07-18 Juergen Vigna <jug@sad.it>
16090 * tabular.C (GetCellNumber): put an assert here instead of the check!
16092 2001-07-17 Juergen Vigna <jug@sad.it>
16094 * BufferView_pimpl.C (toggleSelection): adapted too.
16096 * text.C (selectNextWord): adapted for use with insets.
16097 (selectSelectedWord): ditto
16099 2001-07-17 Juergen Vigna <jug@sad.it>
16101 * sp_spell.C (PSpell): fix initialitation order.
16103 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16105 * paragraph.C: spacing
16107 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
16109 * sp_spell.C: repair language selection for pspell
16111 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
16113 * lyxfunc.h: change more methods to begin with lower char.
16115 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
16117 * buffer.C (parseSingleLyXformat2Token): Generate error insets
16118 for unknown layouts.
16120 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
16122 * buffer.C (readLyXformat2): Generate an error dialog if there are
16125 2001-07-16 Juergen Vigna <jug@sad.it>
16127 * sp_spell.C: always compile ISpell part.
16129 * lyxrc.C: added use_pspell entry and it's handling.
16131 2001-07-13 Juergen Vigna <jug@sad.it>
16133 * sp_spell.C: removed double includes.
16135 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
16137 Consistent use of Lsstream.h:
16138 * Lsstream.h: added using std::stringstream for consistencies sake.
16140 * buffer.C: removed using std::stringstream
16142 * lyxfont.C (stateText):
16143 * paragraph.C (asString):
16144 * text.C (selectNextWord, selectSelectedWord):
16145 * text2.C (setCounter):
16146 * vspace.C (asString, asLatexString):
16147 std::ostringstream -> ostringstream.
16149 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
16151 * LyXAction.C: add LFUN_HELP_ABOUTLYX
16152 * commandtags.h: add LFUN_HELP_ABOUTLYX
16153 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
16155 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
16157 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
16159 * lyx_gui_misc.C: remove spellchecker
16160 * lyxfunc.C: showSpellchecker
16162 * sp_ispell.h: added
16163 * sp_pspell.h: added
16164 * sp_spell.C: added
16165 * sp_form.[Ch]: removed
16166 * spellchecker.[Ch]: removed
16168 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
16170 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
16172 (simpleTeXSpecialChars): Simply print the input character without
16173 any special translation if pass_thru is set.
16175 * layout.h: Added bool pass_thru to layout class for being able to
16176 implement pass through of a paragraph for Literate Programming.
16178 * layout.C: add LT_PASS_THRU to LayoutTags enum.
16179 * layout.C (LyXLayout): set pass_thru to flase in constructor.
16180 * layout.C (Read): add "passthru" to list of layout tags and add
16181 code to set the pass_thru boolean when it is read.
16183 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
16185 * trans_decl.h: remove allowed from KmodInfo
16187 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
16188 remove allowed code
16191 * paragraph_pimpl.C (erase): use boost::prior
16193 * Painter.C (text): use data() instead of c_str() when length is
16195 * WorkArea.C (putClipboard): ditto
16196 * font.h (width): ditto
16198 * BufferView2.C: use it-> instead of (*it). for iterators
16200 * paragraph_pimpl.C: ditto
16201 * paragraph.C: ditto
16202 * minibuffer.C: ditto
16203 * language.C: ditto
16205 * encoding.C: ditto
16206 * counters.C: ditto
16207 * converter.C: ditto
16209 * Variables.C: ditto
16210 * TextCache.C: ditto
16211 * MenuBackend.C: ditto
16212 * LyXAction.C: ditto
16214 * FloatList.C: ditto
16215 * DepTable.C: ditto
16216 * ColorHandler.C (LyXColorHandler): ditto
16218 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16220 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16222 * text2.C (openStuff): reintroduce this method (which had been
16223 nuked in NEW_INSETS frenzy).
16225 * lyxfunc.C (Dispatch): when an action has not been handled, use
16226 its name in the error message, not its number.
16228 * paragraph.C (inInset): change method name to begin with lowercase.
16231 * text2.C: updates because of this.
16233 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16235 * ToolbarDefaults.C (add): add spaces in error message
16237 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
16239 * buffer.C (readLyXformat2): initialize the ert comp. variables.
16240 (readLyXformat2): rename return_par to first_par, use lyxlex's
16241 pushToken and remove the manual push handling.
16242 (parseSingleLyXformat2Token): add another ert comp. variable:
16243 in_tabular, rename return_par to first_par. handle newlines better
16245 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16247 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16249 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
16251 * text2.C (getParFromID): removed
16253 * buffer.C (getParFromID): new method moved form lyxtext.
16254 * BufferView2.C (insertErrors): adjust
16255 (setCursorFromRow): adjust
16256 * BufferView_pimpl.C (restorePosition): adjust
16257 * lyxfunc.C (Dispatch): adjust
16258 * undo_funcs.C (textUndo): adjust
16260 (textHandleUndo): adjust
16261 (textHandleUndo): adjust
16263 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
16265 * buffer.C: up' the LYX_FORMAT
16267 * lyxfont.h: turn NO_LATEX on as default
16269 * buffer.C (insertErtContents): new methods of tex style compability.
16270 (parseSingleLyXformat2Token): use it several places.
16271 * tabular.C (OldFormatRead): and here
16273 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
16275 * text2.C: remove some commented code.
16278 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16279 * trans.C: changes because of the above.
16281 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
16283 * text2.C (setCounter): Fix counters bug with bibliography layout.
16285 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16287 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16288 own member functions
16289 (simpleTeXSpecialChars): ditto
16291 2001-07-06 Juergen Vigna <jug@sad.it>
16293 * a lot of files: changed the access to LyXText::status and the
16294 call of undo-functions.
16296 * undo.[Ch]: added a inset_id to the undo informations.
16298 * undo_funcs.[Ch]: added and moved here all undo functions.
16300 * lyxtext.h: give the status enum a weight, made status_ a private
16301 variable and made accessor functions for it, removed the whole bunch
16302 of undo-functions as they are now in their own file, make some
16303 functions publically available. Added function ownerParagraph with
16306 * paragraph.[Ch]: added "bool same_ids" to the constructor,
16307 made InInset() a const function, added getParFromID() function.
16309 * buffer.[Ch]: added const version for inset_iterator functions,
16310 added getInsetFromID() function.
16312 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16313 changed undo functions for new version.
16315 2001-07-05 Juergen Vigna <jug@sad.it>
16317 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16318 unknow mechanism does not call the proper constructor but only this
16319 one also if I request the other!?
16321 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16323 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16325 * text2.C (LyXText): use initialization lists.
16327 * lyxtext.h (Selection): initialize set_ and mark_
16328 (init): remove method
16330 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
16332 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16334 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16336 * screen.[Ch]: change method names to begin with lowercase
16338 * BufferView_pimpl.C (updateScrollbar): simplify further and
16339 hopefully make it a bit faster.
16341 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16343 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16344 calling directly xforms functions.
16346 * Painter.C (Painter):
16347 * lyx_cb.C (MenuWrite):
16348 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16351 * lyx_gui.C: remove bogus guiruntime extern declaration.
16353 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16355 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16357 (redoDrawingOfParagraph): ditto
16358 (redoParagraphs): ditto
16359 (cutSelection): don't create a object for CutAndPaste use the
16360 static method directly
16361 (pasteSelection): ditto
16363 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16366 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16368 * modifications to some other files because of this.
16370 * Makefile.am (lyx_SOURCES): add XFormsView
16372 * XFormsView.[Ch]: new files
16374 * LyXView.[Ch]: make LyXView a base class for the gui handling for
16375 the main window. Move the gui dependent stuff to XFormsView
16377 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16379 * tabular.C (GetCellInset): update cur_cell also in the row/col
16380 version of this function.
16382 * lyxfunc.C: no need to include figure_form.h here.
16388 * lyxvc.C: no need to include forms.h here.
16390 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16392 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16394 * lyxfunc.C (Dispatch):
16396 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16397 constructor argument.
16399 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16401 * paragraph.C (Paragraph): dont't clear, and just set layout.
16402 (makeSameLayout): use params's copy contructor.
16404 * ParagraphParameters.[Ch] (makeSame): delete method
16406 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
16408 * Variables.[Ch]: fix indentation, rename set to isSet
16410 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16412 * lyxfunc.C (Dispatch): fix typo
16414 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16416 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16419 * bufferlist.C: include assert.h for emergencyWrite().
16421 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16423 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16424 give up at last (bug #425202) !
16426 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
16432 * spellchecker.C: strip spellchecker options and bring up
16433 preferences tab instead
16435 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16437 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16438 the istringstream constructor
16440 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16442 * paragraph.C (getLayout): fix return value
16444 * paragraph.h: do not declare getLayout as inline.
16446 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16448 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16450 * lyxcursor.h (operator<): new func
16451 (operator>): new func
16452 (operator>=): new func
16453 (operator<=): new func
16455 * text.C (changeCase): use selection.start and selection.end
16456 (changeRegionCase): require from to be <= to. Require par to be a
16459 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16461 2001-06-27 Juergen Vigna <jug@sad.it>
16463 * text.C (cursorLeftOneWord): changed to return the cursor and added
16464 overlay with BufferView * parameter which calls this one.
16466 (selectWord): use new getWord function.
16467 (changeCase): renamed from changeWordCase as and extended to work
16468 also on selections.
16470 * lyxtext.h: added enum word_location
16472 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16473 changeCase as this operates now also on selections.
16475 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
16477 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16479 * many files: send debug output to Debug::INFO instead of
16482 * converter.C (View):
16484 (Move): send debug output to Debug::FILES instead of console.
16486 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
16488 * lyxfunc.C (getStatus): use func_status
16490 * func_status.h: new header, describing the results of
16491 LyXFunc::getStatus;
16493 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16496 2001-06-25 The LyX Project <jug@sad.it>
16498 * buffer.C (sgmlOpenTag):
16500 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
16502 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16504 * text2.C: remove some dead code
16506 * tabular.C (GetCellInset): store the last cell checked (gotten)
16508 * tabular.h: add the helper for the speedup
16510 * lyxtext.h: remove some dead code
16512 2001-06-26 The LyX Project <Asger>
16514 * paragraph.C: Change export to LaTeX of alignment to
16515 \begin{center} and family for better roundtrip work with reLyX.
16517 * Tune the math drawing a bit.
16519 2001-06-25 The LyX Project <Asger>
16521 * LColor.C (LColor): New color for math background. New color
16524 2001-06-25 The LyX Project <jug@sad.it>
16526 * lyxfunc.C (MenuNew): remove extra check for .lyx file
16528 * lyxfunc.C (Open):
16529 * bufferlist.C (newFile): do not restrict to files ending with
16532 * BufferView_pimpl.C (MenuInsertLyXFile):
16534 2001-06-24 The LyX Project <jug@sad.it>
16536 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16539 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16541 * lyxtext.h: rename most methods to begin with a small char.
16542 Lots of changes because of this.
16544 * paragraph.C (Paragraph): do not call fitToSize
16545 (erase): call Pimpl::erase
16546 (insertChar): call Pimpl::insertChar
16547 (insertInset): call Pipl::insertInset
16548 (breakParagraph): do not call fitToSize
16549 (breakParagraphConservative): do not call fitToSize
16550 (fitToSize): remove method
16552 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16554 2001-06-24 The LyX Project <Asger>
16556 * Fix Qt compilation^2
16558 2001-06-24 The LyX Project <jug@sad.it>
16560 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16561 depthHook(getDepth()-1).
16564 * ParagraphParameters.h:
16565 * ParameterStruct.h: change type of depth to unsigned int ==
16566 depth_type. Many adaptations to other files before of that.
16568 2001-06-24 The LyX Project <Asger>
16570 * Fix Qt compilation.
16572 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16574 * paragraph.h: renamed several methods to begin with small letter.
16575 several changes to many parts of the code because of this.
16577 2001-06-23 The LyX Project <jug@sad.it>
16579 * text2.C (InsertStringAsLines): renamed from InsertStringA;
16580 rewritten to discard all double spaces when KeepEmpty is off
16581 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16582 to only handle newlines but not fiddle with spaces and friends.
16584 * lyxfunc.C (MenuNew): when doing 'new from template', use
16585 template_path as default directory
16587 2001-06-23 The LyX Project <Asger>
16589 * Clean-up of header file includes all over
16590 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16592 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16594 * paragraph.h: renamed from lyxparagraph.h
16596 2001-06-23 Asger <lyx@violet.home.sad.it>
16598 * Buffer.h: Removed Buffer::resize
16599 * BufferList.h: Removed BufferList::resize
16600 * LyXView.h: Added LyXView::resize. This way, we will only reflow
16601 the document lazily when we change the width, or the font settings.
16603 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16605 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16607 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16609 * buffer.h: remove out of date comment
16611 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16614 * screen.C: fix "theoretical" GC leak
16616 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16618 * LaTeX.C (scanAuxFile):
16619 (deplog): remove trailing \r when reading stream (useful under
16622 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
16624 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16625 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16626 and BufferView::theLockingInset(Inset*), so should use them and not
16627 access bv_->text->the_locking_inset directly.
16629 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16631 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16634 * tex-defs.h: remove old unused file
16636 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
16638 * BufferView_pimpl.C: fix typo, remove minibuffer message
16639 when buffer has loaded
16641 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
16643 * lyxfunc.C (Dispatch): use stringstream
16644 (MenuNew): use stringstream
16645 (Open): use stringstream
16647 * importer.C (Import): use stringstream
16649 * bufferview_funcs.C (CurrentState): use stringstream
16651 * LaTeX.C (run): use stringstream
16653 * BufferView_pimpl.C (savePosition): use stringstream
16654 (restorePosition): use stringstream
16655 (MenuInsertLyXFile): use stringstream
16657 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
16670 * vspace.C: removed // -*- C++ -*- as first line.
16673 * version.h: added // -*- C++ -*- as first line.
16675 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16677 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16679 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16682 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
16684 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16687 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16689 * gettext.C: include LString.h even when --disable-nls is on.
16691 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
16693 * converter.h (Get): changed argument type from int to
16694 FormatList::size_type to avoid unnecessary conversion.
16696 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16699 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16701 * gettext.h: include LString.h even when --disable-nls is on.
16703 2001-06-07 Juergen Vigna <jug@sad.it>
16705 * text.C (BreakAgain): subst spaces with tabs.
16707 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16708 (resizeInsetsLyXText): set force on resizeLyXText.
16710 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16712 * gettext.h (gettext_init):
16713 (locale_init): use a real definition instead of a macro
16715 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16717 * Bufferview_pimpl.C:
16719 * LColor.C: further lcolor tidies
16721 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
16723 * BufferView_pimpl.C (updateScrollbar): simplify.
16725 * BufferView2.C: don't include insets/insetinfo.h, change
16726 prototype for insertInset and call the Pimpl version. let
16727 updateInset call Pimpl version.
16729 * BufferView.h: move inset_slept to BufferView::Pimpl, move
16730 gotoInset to BufferView::Pimpl
16732 2001-06-01 Juergen Vigna <jug@sad.it>
16734 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16735 inside a LockingInset (is the update needed at all?).
16737 2001-05-31 Juergen Vigna <jug@sad.it>
16739 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16740 here not the old one otherwise how should we compare it afterwards
16743 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16748 * FontInfo.C: bring C functions into global namespace when
16751 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16753 * LString.h: make sure config.h has been loaded before LString.h.
16755 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16756 (one for each char read by EatLine!).
16758 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16761 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
16763 * paragraph.C (BreakParagraph): set the inset_owner in the new par
16764 to the same as the par we break from
16766 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
16768 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16770 * MenuBackend.C (expand): also create menu entries for wide
16771 versions of the floats.
16773 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16775 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16777 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16778 frontends/Makefile.am
16784 * tabular.C (getTokenValue): add std::
16786 * tabular-old.C (getTokenValue): add std::
16787 (getTokenValue): ditto
16788 (getTokenValue): ditto
16790 * screen.C (ToggleSelection): adjust
16792 * lyxtext.h: put selection cursors inside a Selection struct.
16794 * lyxfunc.C (moveCursorUpdate): adjust
16796 * lyxfont.C (latexWriteStartChanges): add std::
16798 * lyxfind.C: adjust
16800 * font.h: delete with(char const *, LyXFont const &)
16802 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16804 * FontInfo.C (getFontname): add std::
16806 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16807 (workAreaButtonPress): adjust
16808 (tripleClick): adjust
16810 (moveCursorUpdate): adjust
16813 * BufferView2.C (gotoInset): adjust
16815 2001-05-30 Juergen Vigna <jug@sad.it>
16817 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16818 to check pspell I add this as default as I now have new pspell
16819 libraries and they seem to use this.
16821 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
16823 * text2.C (CutSelection): make the cursor valid before the call to
16826 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16828 * kbsequence.C (parse): de-uglify a bit the parsing code, which
16829 relied on 0 terminated strings and other horrors. Bug found due to
16830 the new assert in lyxstring!
16832 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16835 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16837 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16840 * lyxfunc.C (processKeySym): change method of getting to the
16843 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16844 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16845 * BufferView_pimpl.[Ch]: here as private methods.
16847 2001-05-28 Juergen Vigna <jug@sad.it>
16849 * text.C (SetHeightOfRow): added the update() call again as it is
16850 needed to initialize inset dimensions!
16852 2001-05-16 Juergen Vigna <jug@sad.it>
16854 * text2.C (SetCharFont): Add new function with BufferView * and
16855 bool toggleall parameters for setting insets internal fonts.
16856 (SetFont): Freeze the undo as we may change fonts in Insets and
16857 all this change should be inside only one Undo!
16859 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16860 setting font's in insets as for them we have the SetFont function!
16862 2001-05-15 Juergen Vigna <jug@sad.it>
16864 * text2.C (ClearSelection): to be sure we REALLY don't have any
16867 * tabular.C (TeXCellPreamble): fixed the left border problem for
16870 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
16872 * LaTeX.C (deplog): Make sure that the main .tex file is in the
16875 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16877 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16878 LFUN_BREAKPARAGRAPH.
16880 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16881 help test to "internal only", similar for LFUN_INSERT_URL
16883 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16884 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16885 auto_region_delete and deadkeys.
16887 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
16890 * LColor.C: remove some dead entries, tidy a little
16892 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
16894 * lyxfunc.C (processKeySym): comment the Escape handling, remove
16896 (Dispatch): implement LFUN_ESCAPE
16898 * commandtags.h: add LFUN_ESCAPE
16900 * LyXAction.C (init): add entry for LFUN_ESCAPE
16902 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16903 Remove commented code.
16904 (insertNote): moved here
16905 (open_new_inset): moved here
16907 * BufferView[2].[Ch]: move insertNote and open_new_inset to
16910 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16912 * kbmap.C (findbinding): clean it up and make it work correctly.
16914 * lyx_main.C (init): do not pass argc and argv as parameters
16916 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
16918 * buffer.C: fix path for OS/2 & Win32
16922 * lyx_main.C: Added os:: class.
16924 * os2_defines.h: update
16926 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16928 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16929 better by trying again with reduced state.
16931 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16933 * lyxrc.C (read): print error about invalid key sequence only when
16934 debugging (because not all latinX keysyms are known to some X
16937 * kbsequence.C (getiso): add a few std:: qualifiers
16938 (getiso): comment out extra return statement.
16940 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
16942 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16944 (Dispatch): enhance the accent inset a bit. (not perfect)
16946 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
16948 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
16950 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16952 * bufferlist.C (emergencyWrite): fix assert() call
16954 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
16956 * text.C (InsertChar): Added trivial patch to only send the "you
16957 can not do multiple spaces this way" message once during a
16960 2001-05-08 Baruch Even <baruch@lyx.org>
16962 * Makefile.am: Changed order of libraries to get LyX to link properly
16963 with the gnome frontend.
16965 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16967 * LaTeXFeatures.h: add a std:: qualifier
16969 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
16971 * paragraph.C (String): use stringstream
16973 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
16975 * paragraph.C (writeFile): remove footflag arg
16977 * buffer.C (makeLaTeXFile): use stringstream
16978 (latexParagraphs): remove footnot gurba
16980 * LaTeXFeatures.C (getPackages): use stringstream
16981 (getMacros): likewise
16982 (getTClassPreamble): likewise
16983 (getFloatDefinitions): new method
16985 * paragraph.C (writeFile): reindent
16988 * WorkArea.h: revert the xpos + etc changes.
16990 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16992 * lyxparagraph.[Ch]: add copy constructor, remove Clone
16994 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16995 (pasteSelection): likewise
16996 * text2.C (CreateUndo): likewise
16998 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
17000 * minibuffer.C (peek_event): temporarily reduce the functionality
17001 of the minibuffer (to allow args on lfuns)
17003 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
17004 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
17006 * buffer.C (readInset): add compability reading of old float
17007 lists, add reading of new style float list.
17008 (readInset): avoid reevaluation of inscmd.getCmdName()
17009 (getLists): reindent
17011 * MenuBackend.C (MenuItem): implement parsing of
17012 md_floatlistinsert and md_floatinsert.
17013 (expand::LastFiles): move initalizaton of iterators out of loop,
17014 avoid reevaluation.
17015 (expand::Documents): introduce typdedef vector<string> Strings,
17017 (expand::ExportFormats): introduce typedef vector<Format const *>
17018 Formats, and use it.
17019 (expand): implement FloatListInsert and FloatInsert.
17021 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
17022 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
17023 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
17025 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
17027 (Dispatch::LFUN_FLOAT_LIST): implement
17029 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
17031 * LaTeX.C (run): Fix problem with --export code.
17033 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
17035 * BufferView.[Ch] (workarea): removed.
17036 (getClipboard) new method; wrapper for workarea()->getClipboard()
17038 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
17041 * WorkArea.h (width, height, xpos, ypos): These methods all
17042 returned the dimensions of the work_area sub-area of WorkArea,
17043 resulting in a position error if the WorkArea were resized. Now
17044 return the dimensions of the entire WorkArea.
17046 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
17048 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17050 * LaTeX.C (deplog): correct the syntax of regex reg1
17052 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
17054 * undo.C: remove !NEW_INSETS cruft
17056 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
17058 * text2.C: remove !NEW_INSETS cruft
17060 * text.C: remove !NEW_INSETS cruft
17062 * tabular.C: remove !NEW_INSETS cruft
17064 * spellchecker.C: remove !NEW_INSETS cruft
17066 * lyxtext.h: remove !NEW_INSETS cruft
17068 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
17070 * lyxfunc.C: remove !NEW_INSETS cruft
17072 * lyxfind.C: remove !NEW_INSETS cruft
17074 * lyx_cb.C: remove !NEW_INSETS cruft
17076 * figureForm.C: remove !NEW_INSETS cruft
17078 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
17080 * buffer.[Ch]: remove !NEW_INSETS cruft
17082 * ToolbarDefaults.C: remove !NEW_INSETS cruft
17084 * CutAndPaste.C: remove !NEW_INSETS cruft
17086 * BufferView_pimpl.C: remove !NEW_INSETS cruft
17088 * BufferView2.C: remove !NEW_INSETS cruft
17090 * BufferView.h: remove !NEW_INSETS cruft
17092 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17094 * Lsstream.h: include LString.h before the sstream headers to
17095 fix problem with gcc 2.95.3 and lyxstring
17097 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17099 * lyx_main.C: add using directives when needed for C functions
17100 declared in std:: namespace.
17102 2001-04-27 Juergen Vigna <jug@sad.it>
17104 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
17105 (SetHeightOfRow): comment out the update call should not be needed!
17107 2001-04-13 Juergen Vigna <jug@sad.it>
17109 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
17110 (LyXTabular): tried to minimize operator= operations (and realized
17111 hopfully Lars wish).
17113 2001-04-27 Juergen Vigna <jug@sad.it>
17115 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
17117 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
17119 * lyxfunc.C (Dispatch): hack to make listof algorithm work
17121 * buffer.C (readInset): hack to make listof algorithm work
17123 * BufferView_pimpl.C: hack to make listof algorithm work
17125 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
17127 * LyXAction.C: removed all !NEW_INSETS cruft
17128 (init): moved lfun_item in method
17130 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
17132 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
17134 * BufferView2.C (theLockingInset): white space.
17136 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
17138 * minibuffer.C: include <iostream>
17140 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
17142 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
17144 * commandtags.h: add LFUN_TRANSPOSE_CHARS
17146 * text.[Ch] (TransposeChars): new method
17148 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
17150 * call message directly through LyXView instead of through LyXFunc
17151 * BufferView2.C: adjust
17152 * BufferView_pimpl.C: adjust
17153 * FontLoader.C: adjust
17155 * bufferview_funcs.C: adjust
17156 * converter.C: adjust
17157 * figureForm.C: adjust
17158 * importer.C: adjust
17160 * lyx_gui_misc.C: adjust
17161 * lyxfunc.C: adjust
17164 + more files in subdirs
17166 * lyxparagraph.h (size): move up int file
17169 * adjust all uses of Assert to lyx::Assert.
17171 * BufferView2.C (ChangeCitationsIfUnique): adjust for
17172 lyxfunctional in namespace lyx
17173 * layout.C (hasLayout): ditto
17176 (delete_layout): ditto
17177 (NumberOfClass): ditto
17178 * converter.C (GetFormat): ditto
17183 * bufferlist.C (getFileNames): ditto
17184 (emergencyWriteAll): ditto
17187 * MenuBackend.C (hasSubmenu): ditto
17190 * BufferView_pimpl.C (getInsetByCode): ditto
17192 2001-04-18 Juergen Vigna <jug@sad.it>
17194 * vspace.C (asLatexString): fixed the 100% problem.
17196 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17198 * lyxfunc.C (Dispatch):
17200 * minibuffer.h: add a few std:: qualifiers
17202 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
17204 * minibuffer.[Ch]: reimplement so that commands is initiated and
17205 run from lyxfunc, simplified som handling, and made the completion
17206 and history code for complete. wip.
17208 * lyxfunc.C (processKeySym): call message
17209 (miniDispatch): new temporary method
17210 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
17211 (LFUN_MESSAGE): implement
17212 (LFUN_MESSAGE_PUSH): implement
17213 (LFUN_MESSAGE_POP): implement
17214 (initMiniBuffer): the initial/defualt minibuffer message.
17216 * lyxfont.[Ch]: inline some more getters
17218 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17220 * lyx_gui_misc.[Ch] (WriteStatus): remove method
17222 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17223 (AutoSave): use LFUN_MESSAGE
17224 (Reconfigure): ditto
17226 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17228 * figureForm.C: use LFUN_MESSAGE
17230 * converter.C (runLaTeX): use LFUN_MESSAGE
17232 * bufferview_funcs.C: use LFUN_MESSAGE
17234 (changeDepth): ditto
17236 * bufferparams.h: use boost::
17238 * bufferlist.h: inherit privately from noncopyable
17240 * bufferlist.C (loadLyXFile): remove some commented code.
17242 * buffer.C (runChktex): use LFUN_MESSAGE
17244 * ShareContainer.h: inherit privately from noncopyable
17246 * ParagraphParameters.[hC] (depth): inline it.
17248 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17250 (message): new method
17251 (messagePush): ditto
17252 (messagePop): ditto
17253 (show): init minibuffer
17254 (showState): direct call
17256 * LaTeX.[Ch]: inherit privately from noncopyable
17257 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17258 instead of WriteStatus.
17260 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17262 * BufferView_pimpl.C (buffer): don't init minibuffer
17263 (workAreaButtonPress): use LFUN_MESSAGE
17264 (workAreaButtonRelease): ditto
17265 (savePosition): ditto
17266 (restorePosition): ditto
17267 (MenuInsertLyXFile): ditto
17268 (workAreaExpose): don't init minibuffer
17269 (update): remove commented code, simplify
17271 * BufferView2.C (openStuff): use LFUN_MESSAGE
17272 (toggleFloat): ditto
17275 (copyEnvironment): ditto
17276 (pasteEnvironment): ditto
17281 (updateInset): remove some commented code
17283 * lastfiles.h: inherit privately from noncopyable
17286 * lyx_main.h: ditto
17288 * lyxlex_pimpl.h: ditto
17290 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17291 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17292 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17294 * LyXAction.h: inherit privately from noncopyable, add methods
17295 func_begin, func_end, returning iterators to the func map.
17297 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17298 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17299 (func_begin): new method
17300 (func_end): new method
17302 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17304 (copySelection): ditto
17305 (pasteSelection): ditto
17307 * BufferView.C: whitespace change
17308 * BufferView.h: inherit privately from noncopyable
17310 2001-04-16 Allan Rae <rae@lyx.org>
17312 * tabular-old.C (l_getline):
17313 * spellchecker.C (sc_check_word):
17314 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17315 an unrecognised preprocessor directive. So ensure they're wrapped.
17317 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
17319 * src/exporter.C (Export): Give an error message when path to file
17322 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
17324 * LaTeX.C (deplog): Always check that foundfile exists.
17326 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17329 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17331 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
17333 * tabular.[Ch] (getLabelList): implement new method
17335 * minibuffer.h: comment ouf setTiimer
17337 * minibuffer.C (ExecutingCB): constify res
17338 (peek_event): constify s
17339 (Set): constify ntext
17340 (Init): constify nicename
17342 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17344 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17345 (savePosition): use two params to Minibuffer::Set
17346 (restorePosition): ditto
17348 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17350 * lyx_main.C: include language.h
17352 * Makefile.am (lyx_main.o): add language.h
17354 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17360 * CutAndPaste.C: include gettext.h
17362 * lyxfont.h: remove old hack with ON and OFF.
17365 * lyxfont.h: do not include language.h...
17370 * bufferview_funcs.C:
17376 * paragraph.C: ... but do it here instead
17378 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
17380 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17382 * tabular.C: small reformat
17384 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17387 (BreakParagraph): ditto
17388 (SetOnlyLayout): ditto
17391 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17394 * lastfiles.C: removed most using decl, add std:: where needed
17396 * buffer.C: ws changes
17398 * MenuBackend.C (class compare_format): put into anon namespace
17399 (expand): constify label, names, action, action2
17402 * text.C (SingleWidth): constify font
17403 (IsBoundary): constify rtl2
17404 (GetVisibleRow): constify ww
17406 * LaTeX.C (deplog): constify logfile
17408 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17410 (workAreaExpose): constify widthChange, heightChange
17412 * lyxrow.C (par): moved
17415 * lyxrow.h: as inlines here
17417 * lyxfont.h (shape): moved from lyxfont.C
17418 (emph): moved from lyxfont.C
17420 * lyxfont.C (LyXFont): use initialization list for all
17422 (shape): move to lyxfont.h as inline
17423 (emph): move to lyxfont.h as inline
17426 2001-04-04 Juergen Vigna <jug@sad.it>
17428 * vspace.C: had to include stdio.h for use of sscanf
17430 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
17433 * BufferView_pimpl.h: remove xforms cruft. Both classes are
17434 independent of xforms.
17436 2001-04-02 Juergen Vigna <jug@sad.it>
17438 * spellchecker.C: fixed namespace placing!
17440 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
17442 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17443 the LyXParagraph * is 0.
17445 2001-03-29 Juergen Vigna <jug@sad.it>
17447 * vspace.C: added support for %, c%, p%, l%.
17448 (stringFromUnit): added helper function.
17449 (asLatexString): changed to give right results for the %-values.
17451 * buffer.C: convert the widthp in a width%.
17453 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
17455 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17458 * figureForm.[Ch]: stripped the FD_from_figure manipulation
17459 code out of lux_cb.[Ch], ready for its (imminent?) removal.
17461 * lyx_cb.[Ch]: see above.
17463 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17467 * lyx.[Ch]: replaced by figure_form.[Ch].
17471 * lyxfunc.C: changed headers associated with above changes.
17473 2001-03-27 Juergen Vigna <jug@sad.it>
17475 * BufferView_pimpl.C: set the temporary cursor right!
17477 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
17479 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17481 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
17483 * LString.h: removed "using std::getline"!
17485 * BufferView_pimpl.C (Dispatch): changes due to changes in
17486 InsetInclude::Params.
17488 * buffer.C (tag_name): removed redundant break statements as they were
17489 producing lots of warnings with my compiler.
17491 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17493 * LString.h: add "using std::getline" when using the real <string>.
17495 2001-03-23 Jos�Ab�io Matos <jamatos@fep.up.pt>
17497 * buffer.C: removed bitset usage.
17498 PAR_TAG moved to an anonymous name space.
17499 (tag_name): new funtion, also in the anonymous namespace.
17500 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17501 (makeDocBookFile): clean code. Completed transition from string arrays
17503 (SimpleDocBookOnePar): code clean.
17505 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17507 * tabular.C: add some comments.
17509 2001-03-22 Juergen Vigna <jug@sad.it>
17511 * buffer.C (parseSingleLyXformat2Token): redone the minipage
17512 compatibility read a bit and fixed bug with minipage in different
17515 2001-03-21 Jos�Ab�io Matos <jamatos@fep.up.pt>
17517 * buffer.C (pop_tag): removed.
17518 (push_tag): removed.
17519 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17520 array replaced with vector. Added support for CDATA sections.
17521 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17523 (makeDocBookFile): XML conformant declaration of CDATA section,
17524 fixed bug related to <emphasis> in the first paragraph char.
17525 (sgmlOpenTag): exclude empty tags.
17526 (sgmlCloseTag): ditto.
17528 * buffer.h (pop_tag): removed.
17529 (push_tag): removed.
17531 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
17533 * language.h (Languages): added size_type and size().
17535 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17537 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17538 response on compability reading of minipages. One probliem is that
17539 the old usage of minipages was flertydig
17541 * several files here and in subdirs: don't use static at file
17542 scope use anon namespaces instead.
17544 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
17546 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17547 LaTeX output. This is necessary for Literate document
17550 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17552 * buffer.C: insert hfill when needed.
17554 * tabular.C (l_getline): use string::erase, small whitespace change.
17556 * BufferView_pimpl.C: try the anon namespace.
17557 * WorkArea.C: ditto
17559 2001-03-16 Juergen Vigna <jug@sad.it>
17561 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17562 otherwise it won't open options-dialogs.
17564 * buffer.C: honor pextraWidth(p) on converting minipages.
17566 * tabular.C (l_getline): changed the functions to strip trailing \r.
17568 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
17570 * BufferView_pimpl.C:
17571 * minibuffer..C: added "using SigC::slot" declaration.
17573 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17575 * lyxlex_pimpl.h: noncopyable is in namespace boost.
17581 * paragraph.C: ditto
17583 * lyxtext.h: NO_PEXTRA
17585 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17587 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17588 * ParameterStruct.h: ditto
17589 * ParagraphParameters.h: ditto
17590 * lyxparagraph.h: ditto
17592 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17594 * buffer.C: add compability for minipage alignment.
17595 (latexParagraphs): remove unwanted pextra check.
17597 * several files: remove CXX_WORKING_NAMESPACES
17599 * buffer.C (pop_tag): tie is in namespace boost
17601 * BufferView.h: noncopyable is in namespace boost
17603 * lyx_main.h: ditto
17606 * lastfiles.h: ditto
17607 * bufferlist.h: ditto
17608 * ShareContainer.h: ditto
17610 * LyXAction.h: ditto
17613 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17615 * Merging changes from BRANCH_MVC back into HEAD.
17617 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17619 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
17621 * BufferView_pimpl.C: change from intl.C
17625 * Makefile.am: move combox.*
17631 * intl.C: remove dialog (covered by prefs)
17633 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17635 * lyxfunc.C (Dispatch): removed redundant break statement.
17637 2001-03-14 Juergen Vigna <jug@sad.it>
17639 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17641 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17643 * buffer.C: add hack to fix compability reading of minipages.
17645 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
17647 * buffer.C (getLists): Cleanup.
17649 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17651 * lyxfont.C (update): don't honor toggleall on font size.
17653 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
17657 * Makefile.am: moved to frontends/xforms/
17661 * BufferView_pimpl.C: changes for moved mathpanel
17663 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17665 * gettext.h: fix gettext_init() in --disable-nls
17667 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17669 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17671 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
17674 * lyx.h: strip external form
17676 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17678 * BufferView_pimpl.C: add comment, destroySplash()
17680 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17682 * BufferView_pimpl.C:
17686 * lyxfunc.C: use re-worked insetinclude
17688 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17690 * buffer.C: add using std::stringstream.
17692 * lyx_cb.C: readd using std::ios.
17694 * buffer.C: add using std::map.
17696 * BufferView_pimpl.C: add using std::vector.
17698 * ShareContainer.h: add std:: to swap.
17700 * buffer.h: add some typedefs
17701 * buffer.C (getLists): use them
17702 (getLists): renamed from getTocList.
17703 add a counter for the different float types and use it in the
17705 (getLists): use the same counter for the NEW_INSETS and the "non"
17708 * lyx_cb.h: remove unused items, includes, using etc.
17710 * ShareContainer.h: remove some commented code, add more comments
17711 and "documentation".
17713 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17715 * buffer.C (getTocList): make the list also when NEW_INSETS is
17718 * buffer.h: remove TocType
17720 * buffer.C (getTocList): change to return a map<string,
17721 vector<TocItem> >, implement for dynamic number of list.
17723 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17724 * text2.C (PasteSelection): adjust
17725 * CutAndPaste.C (pasteSelection): adjust
17727 * FloatList.C (FloatList): update from the new_insets branch.
17728 * Floating.[Ch]: ditto
17729 * LaTeXFeatures.C: ditto
17731 * lyxlex_pimpl.C: ditto
17733 * paragraph.C (Last): remove when NEW_INSETS is defined.
17735 * other file: changes because of the above.
17737 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17739 * lyxparagraph.h: rename next to next_, previous to previous_,
17740 make them private for NEW_INSETS. Rename Next() to next(),
17741 Previous() to previous().
17743 * other files: changes because of the above.
17745 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
17748 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17751 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17753 * main.C (main): pass lyx_localedir to gettext_init().
17755 * gettext.h: remove locale_init and gettext_init macros
17757 * gettext.C (locale_init): new function
17758 (gettext_init): new function
17760 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17763 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
17765 * Moved credits to frontends:
17766 * credits.[Ch]: removed
17767 * credits_form.[Ch]: removed
17768 * lyx_gui_misc.C: remove credits stuff
17771 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17773 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17775 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17776 unneeded destructor.
17778 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17779 a standalone pointer again.
17781 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17783 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
17789 * ToolbarDefaults.C:
17798 * BufferView_pimpl.C: use new file dialog in GUII
17801 * lyx_cb.C: remove LayoutsCB to Toolbar
17803 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17805 * ShareContainer.h (get): add std:: qualifier
17807 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17809 * ShareContainer.h: define a proper ShareContainer::value_type
17810 type (and use typename to please compaq cxx)
17812 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17814 * lyxparagraph.h: move serveral local vars to
17815 ParameterStruct/ParagraphParameters., use ShareContainer in
17816 FontTable., make vars in FontTable private and add getter and
17819 * paragraph.C: changes because of the above.
17821 * lyxfont.h: remove copy constructor and copy assignment. (the
17822 default ones is ok), move number inside FontBits. move inlines to
17825 * lyxfont.C: add number to initializaton of statics, move several
17826 inlines here. constify several local vars. some whitespace
17827 cleanup. Dont hide outerscope variables.
17829 * Spacing.h: add two new constructors to match the set methods.
17831 * ShareContainer.h: new file, will perhaps be moved to support
17833 * ParameterStruct.h: new file
17835 * ParagraphParameters.h: new file
17837 * ParagraphParameters.C: new file
17839 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17840 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17842 * BufferView_pimpl.C: ParagraphParameter changes.
17843 * buffer.C: Likewise.
17844 * bufferview_funcs.C: Likewise.
17845 * text.C: Likewise.
17846 * text2.C: Likewise.
17848 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17850 * lyxfind.C (LyXReplace): do not redefine default argument in
17852 (IsStringInText): ditto
17853 (SearchForward): ditto
17854 (SearchBackward): ditto
17856 2001-03-06 Juergen Vigna <jug@sad.it>
17858 * lyxfind.C (IsStringInText): put parentes around expressions.
17860 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
17862 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17864 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
17866 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17868 * stl_string_fwd.h: add comment
17870 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17873 * tabular.C: remove unused DocBook methods
17879 killed DO_USE_DEFAULT_LANGUAGE
17881 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17883 * lyx_gui.C: do not include language.h.
17885 * bufferview_funcs.C (ToggleAndShow): do not provide optional
17886 arguments in function implementation.
17888 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17890 * BufferView_pimpl.C: add <ctime>
17892 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17894 * BufferView_pimpl.C: add using std::find_if
17896 2001-02-27 José Matos <jamatos@fep.up.pt>
17898 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17901 2001-02-11 José Matos <jamatos@fep.up.pt>
17903 * buffer.C (makeDocBookFile): command styles now have a parameter as
17904 "title" by default.
17906 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
17908 * layout_forms.[Ch]: removed
17909 * lyx_cb.[Ch]: out character
17910 * lyx_gui.C: out character
17911 * lyx_gui_misc.C: out character
17912 * bufferview_funcs.C: : out character,
17913 added toggleall as parameter in ToggleAndShow
17915 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
17917 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17919 * text2.C (SetCurrentFont): Disable number property at boundary.
17921 2001-02-26 Juergen Vigna <jug@sad.it>
17923 * lyxfunc.C (getStatus): added a string argument override function so
17924 that this is correctly called from LyXFunc::Dispatch if it contains a
17925 do_not_use_argument which is used!
17926 (Dispatch): added check for "custom" export and call appropriate func.
17928 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
17930 * lyxrc.C: Add language_command_local, language_use_babel and
17931 language_global_options.
17933 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
17935 * buffer.C (makeLaTeXFile): Use language_use_babel and
17936 language_global_options.
17938 2001-02-23 Juergen Vigna <jug@sad.it>
17940 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17941 which works with LyXText and putted it inside BufferView. Here now we
17942 only call for that part the BufferView::Dispatch() function.
17944 * BufferView.C (Dispatch): added.
17946 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17947 functions which needs to use a LyXText over from LyXFunc.
17948 (MenuInsertLyXFile): added
17949 (getInsetByCode): added
17950 (moveCursorUpdate): added
17951 (static TEXT): added
17953 2001-02-22 Juergen Vigna <jug@sad.it>
17955 * BufferView_pimpl.C (update): call a status update to see if LyXText
17958 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17960 * vc-backend.C (revert): implement for CVS
17961 (getLog): implement for CVS
17963 2001-02-20 Juergen Vigna <jug@sad.it>
17965 * text2.C (ClearSelection): added BufferView param for inset_owner call
17967 * lyxfunc.C (TEXT): added this function and use it instead of
17968 directly owner->view()-text of getLyXText().
17970 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
17972 * src/layout_forms.C: out preamble
17973 * src/layout_forms.h: out preamble
17974 * src/lyx_cb.C: out preamble
17975 * src/lyx_cb.h: out preamble
17976 * src/lyx_gui.C: out preamble
17977 * src/lyx_gui_misc.C: out preamble
17978 * src/lyxfunc.C: connect with guii preamble
17980 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
17982 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17984 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
17986 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17987 whether to run bibtex.
17989 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
17991 * Makefile.am (lyx_SOURCES): Remove BackStack.h
17993 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
17995 * Makefile.am (lyx_SOURCES): removed bibforms.h
17997 * vspace.h: doxygen
17999 * text.C (GetVisibleRow): make several local vars const
18001 * tabular.C: small cleanup.
18003 * lyxserver.C (callback): use compare instead of strncmp
18005 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
18006 inlines to after class or to paragraph.C
18008 * lyxfont.h: remove friend operator!=
18010 * converter.h: move friend bool operator< to non friend and after
18013 * combox.h: small cleanup
18015 * buffer.h: doxygen, remove unused constructor, move inclas inlies
18016 to inlines after class def.
18018 * buffer.C (pop_tag): use string operations instead of strcmp
18020 * bmtable.c: doxygen, small cleanup
18022 * LaTeX.h: remove friend operator==
18024 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
18036 * BufferView_pimpl.C:
18037 * BufferView.[Ch]: remove cruft
18039 2001-02-14 Juergen Vigna <jug@sad.it>
18041 * lyxfunc.C: removed #if 0 unused code
18043 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
18045 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
18047 * text2.C (SetSelection): added a BufferView * parameter
18049 2001-02-13 Juergen Vigna <jug@sad.it>
18051 * lyxfunc.C (Dispatch): fixed protected blank problem.
18052 * BufferView2.C (protectedBlank): added LyxText * parameter.
18054 * tabular.C (AppendRow): forgot to set row_info of newly added row.
18055 (AppendColumn): same as above for column_info.
18057 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
18058 (moveCursorUpdate): use a LyXText param for support of InsetText.
18060 * BufferView_pimpl.C (doubleClick): added support for InsetText.
18061 (tripleClick): ditto
18063 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
18065 * BufferView_pimpl.C (update): added LyXText param to honor insets.
18067 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
18069 * text2.C (SetSelection): set correct update status if inset_owner
18070 (ToggleFree): ditto
18072 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
18074 * tabular.C: remove some commented code.
18076 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
18078 * BufferView_pimpl.C: call hideSplash()
18080 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
18083 * bibforms.h: remove
18086 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
18087 add LFUN_CHILD_CREATE
18089 * counters.h: fix tiny typo
18094 * lyx.C: move splash to frontends/xforms/
18096 * lyx_gui_misc.C: move Include and Bibform to frontends
18098 * lyxvc.h: clarify comment
18100 * vspace.C: tiny housekeeping
18102 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
18104 * text.C (PrepareToPrint): RTL Fix.
18106 * paragraph.C (GetUChar): New method.
18107 (String): Use GetUChar.
18109 * buffer.C (asciiParagraph): Use GetUChar.
18111 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
18113 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
18115 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
18118 * buffer.C: rename to getLogName(), handle
18119 build log / latex log nicely
18121 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18124 * MenuBackend.h: remove support for reference menuitem type.
18126 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
18128 * BufferView_pimpl.C: housekeeping
18129 * BufferView_pimpl.h:
18134 * minibuffer.h: move Timeout GUI-I
18136 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
18138 * lyxrc.C (read): Update converters data-structures.
18140 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
18142 * LaTeX.h (operator!=): add operator != for Aux_Info
18144 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
18146 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
18148 * LaTeXLog.C: deleted, useful code moved to Buffer
18151 * buffer.C: new function getLatexLogName()
18157 * lyxfunc.C: use frontends for LaTeX and VC logs
18159 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18161 * LaTeX.h: yet another std:: that Allan forgot.
18163 * Variables.C (set): renamed from isset(), because this clashes
18164 with some HP-UX macros (grr).
18166 2001-02-06 Allan Rae <rae@lyx.org>
18168 * LaTeX.h: Another bug fix. Missing std:: this time.
18170 2001-02-04 Allan Rae <rae@lyx.org>
18172 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
18173 floats problem. I've left it commented out because it's not quite
18174 correct. It should also test that the current object is a table or
18175 figure inset. But I haven't gotten around to figuring out how to do
18176 that. I *think* it'll be something like: "table" == inset.type()
18178 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
18181 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
18183 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
18184 all the citation/databases/styles in the auxilary file.
18185 (run): Rerun latex if there was a babel language error.
18187 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
18189 * text.C (Backspace): Preserve the font when changing newline char
18191 (BreakParagraph): If the cursor is before a space, delete the space.
18193 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
18195 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
18197 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
18198 new argument (code).
18199 (ChangeCitationsIfUnique): New method.
18201 * paragraph.C (GetPositionOfInset): Handle bibkey.
18203 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18205 * BufferView_pimpl.h: change type of Position::par_pos to
18206 LyXParagraph::size_type.
18208 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
18210 * BufferView_pimpl.C (savePosition, restorePosition): Write
18211 messages to minibuffer.
18213 2001-01-28 José Matos <jamatos@fep.up.pt>
18215 * buffer.C (makeDocBookFile): adds support for document language.
18216 A silly restriction on the name of LatexCommand types where removed.
18217 Added support for CDATA sections, allows to chars unescaped, used
18218 among others in code, to avoid escape < and >.
18220 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
18222 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18223 saved positions instrad of a stack. Furthermore, a position is
18224 stored using paragraph id/paragraph position.
18226 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18227 Remove LFUN_REF_BACK.
18229 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
18231 * converter.C (dvipdfm_options): New method.
18233 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
18235 * vspace.C (isValidLength): Fix for empty input string.
18237 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18239 * LyXAction.C (init): change description of LFUN_FIGURE to
18242 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18244 * LaTeX.C: add using directive
18246 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
18248 * MenuBackend.C (expand): Fix the sorting of the formats.
18250 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
18252 * lyx_main.C: tiny error message fix
18254 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18256 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18257 calling fl_initialize(). This fixes the problem with ',' as
18258 decimal separator in text files.
18260 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
18262 * trans.C (process): Fix the keymap bug.
18264 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
18266 * LaTeX.C (scanAuxFiles): New method. Provides support for
18267 multiple bibliographies (when using the bibtopic/bibunits pacakges).
18268 (scanLogFile) Scan for "run BibTeX" messages.
18270 * buffer.C (makeLaTeXFile): Do not load the ae package when using
18271 OT1 font encoding. Also, load the aecompl package if the ae
18274 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18276 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18278 * texrow.C (increasePos): turn two error messages into debug
18281 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
18283 * LaTeX.C (scanAux): Handle the \@input macro.
18284 (runBibTeX): Use scanAux().
18286 * language.C (latex_options_): New field.
18288 * LaTeXFeatures.C (getMacros): Add language macros.
18290 * buffer.C (makeLaTeXFile): Small fix.
18292 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18294 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18296 * text2.C: add a using directive.
18298 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
18303 * lyxfunc.C: kill LyXBell.
18305 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
18307 * text.C (IsBoundary): Remove the error message
18309 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18311 * lyxrc.C (setDefaults): Correct initialization value for
18314 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
18316 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18319 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18320 and GotoNextNote().
18322 * src/LyXAction.C: Added reference-next.
18324 * text.C (InsertChar): Use contains instead of strchr.
18326 * lyx_cb.C (MenuInsertLabel): Enable default value code.
18328 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
18330 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18331 alignment commands (when needed).
18333 * text.C (InsertChar): Add ':' to number separator chars.