1 2005-10-05 Angus Leeming <leeming@lyx.org>
3 * BufferView_pimpl.C (loadLyXFile): ensure that a pointer is
4 always initialised before use.
6 * text.C (setHeightOfRow): squash warning about comparison
7 of signed and unsigned types.
9 2005-10-03 Martin Vermeer <martin.vermeer@hut.fi>
11 * text.C (cursorX): two fixes involving RtL text drawing
13 2005-10-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15 * cursor.C (erase): fix 'clever' UI hack. It was activated for all
16 items, not only large ones (part of bug 2057)
18 2005-10-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
20 * text3.C (dispatch): when invoking LFUN_MATH_MACRO with no type
21 argument, use "newcommand".
23 2005-09-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
25 * cursor.C (setSelection): do not open collapsable insets;
26 the insets do by themselves now (autoopen).
28 2005-09-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
30 * buffer.C: format is up to 244.
32 2005-09-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
34 * text.C (redoParagraph): fix calcultation of inset width wrt
35 leftMargin (bug 1957).
37 * text3.C (dispatch): leave inset to the right when hitting ESC
40 2005-09-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
45 * messages.C: include <boost/current_function.hpp>
47 2005-09-12 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
49 * lyxfunc.C (sendDispatchMessage): do not update menubar/toolbar
50 when command is internal. (bug 1941)
52 2005-09-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
54 * text2.C (cursorRight): do not honor boundary when at the end of
55 a paragraph. (bug 2010 again)
57 2005-09-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
59 * cursor.C (paste): do nothing if `data' is empty. (bug 2033)
61 2005-09-19 Martin Vermeer <martin.vermeer@hut.fi>
63 * rowpainter.C (paintText): fix RtL space width display bug (2029)
65 2005-09-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
67 * text2.C (setCursor): remove the unused 'boundary' parameter for
68 the CursorSlice version; adapt the LCursor version.
71 * paragraph_pimpl.C (markErased):
72 * cursor.C (bruteFind2, bruteFond3): fix warnings.
74 2005-09-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
76 * rowpainter.C (paintFirst): use a 'labeladdon' for TOP_* labels,
77 as is already done for "chapter".
79 2005-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
81 * lyxfunc.C (dispatch): LFUN_TEXTCLASS_APPLY: actually set the
82 textclass; do not record undo if nothing is changed.
84 2005-09-16 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
86 * text3.C (dispatch): recordUndo in LFUN_PASTESELECTION (#2011).
88 2005-09-14 Michael Gerz <michael.gerz@teststep.org>
90 * lyxfunc.C: update display after LFUN_ALL_INSETS_TOGGLE
92 2005-09-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
94 * BufferView_pimpl.C (setBuffer): when one wants to set the layout
95 combox, it is necessary to search for the topmost paragraph in the
96 cursor stack (bug 1926)
98 2005-09-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
100 * text2.C (cursorEnd, cursorRight): do not set boundary to true at
101 end of paragraph. (bug 2010)
103 2005-09-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
105 * text.C (leftMargin): check for inInset == 0
107 2005-09-10 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
109 * text.C (leftMargin): test for insetbase's new neverIndent()
110 bool instead of listing each and every inset that does not
111 wish par indendation.
113 2005-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
115 * buffer_funcs.C (setCounter): put the code to compute enum label
116 here (where it belongs).
118 * counters.C (enumLabel): move code to buffer_funcs.C.
120 2005-09-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
122 * outputparams.[Ch]: store local_font instead of local_language
123 * paragraph.C (simpleTeXOnePar): adapt to the change above
125 2005-09-08 Martin Vermeer <martin.vermeer@hut.fi>
128 * counters.[Ch]: clean up special code for Hebrew.
130 2005-09-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
132 * lyxfunc.C (lookupChange): fix code when cursor depth is greater
135 2005-09-08 Angus Leeming <leeming@lyx.org>
138 * lyxrc.C: correct grammar describing invocation of the
141 2005-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
143 * text.C (read): remove unused variable.
144 (readParToken): remove static Change variable (never good in
145 recursive settings...); add it as a parameter instead.
147 * paragraph_pimpl.C (acceptChange): make debug info conditional.
149 * metricsinfo.C (PainterInfo): add new member erased_.
151 * rowpainter.C (RowPainter): add erased_ member, initialized from
153 (paintInset): pass erased_ to Inset::draw.
155 * lyxfunc.C (lookupChange): new function. Tells whether change
156 tracking is disabled at a given postion.
157 (getStatus): disable some actions when in deleted text with change
160 2005-08-03 John Levon <levon@movementarian.org>
162 * tabular.C (appendColumn, setMultiColumn): adapt to change to
165 * paragraph_pimpl.C (markErased): add bool argument and handle it.
166 Also make sure to mark insets recursively.
167 (rejectChange, erase): be recursive
169 * paragraph.C (markErased): add bool argument.
170 2005-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
172 * lyxfind.C (findNextChange): tiny cleanup.
174 * BufferView_pimpl.C (trackChanges): avoid crash when stopping
175 change tracking with the cursor in an inset; make sure the first
176 change is not skipped.
178 2005-09-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
180 * CutAndPaste.[Ch]: new methods dirtyTabularStack and
181 tabularStackDirty to work around bug 1919 (tabular needs
182 to know whether its own cell paste buffer or the one of
184 * CutAndPaste.C: mark tabular_stack_ clean after copy.
186 2005-08-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
188 * text2.C (cursorEnd): check for empty text (fixes bug 1998)
190 2005-08-19 Lars Gullik Bjønnes <larsbj@gullik.net>
192 * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
193 use old deleteion algorithm when changetracking is on.
195 2005-08-18 Martin Vermeer <martin.vermeer@hut.fi>
197 * messages.C (get): add debug output.
199 2005-08-02 Martin Vermeer <martin.vermeer@hut.fi>
201 * text.C (cursorX): fix bug 1965: cursor movement at
202 line end broken in RtL.
203 (drawSelection): fix bug 1970: drawing of single-line
204 selection broken for RtL.
206 2005-07-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
210 * dociterator.h (clear, push_back, pop_back): change from
213 * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
214 and changed to just return the value of the item depth; take a
215 ParIterator as argument; take the itemdepth at outer nesting level
216 in account if necessary; cleanup and comment the code.
217 (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
218 and changed to just return true if reset is needed; take a
219 ParIterator as argument; cleanup and comment the code.
220 (setCounter): adapt to above changes.
222 2005-07-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
224 * text3.C (dispatch): make debug message optional
226 2005-08-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
228 * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
231 2005-08-02 Martin Vermeer <martin.vermeer@hut.fi>
233 * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
235 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
237 * text.C (insertChar):
238 * text2.C (deleteEmptyParagraphMechanism): take care whether
239 a blank has been deleted (in change tracking mode) (bug 1254).
241 2005-07-20 John Levon <levon@movementarian.org>
243 * text2.C (insertStringAsLines): remove old dubious code,
246 2005-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
248 * MenuBackend.C (expandToc): use Floating::listName() as title of
251 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
253 * toc.[Ch]: Do not use translatable strings (bug 1870).
255 2005-07-20 John Levon <levon@movementarian.org>
257 * tabular.C: fix 1748 - setting multicolumn adds
258 left line to the first cell
260 2005-07-19 Lars Gullik Bjønnes <larsbj@lyx.org>
263 * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
266 2005-07-18 Lars Gullik Bjønnes <larsbj@lyx.org>
268 * messages.C: supress some lyxerr messages
270 2005-07-18 Juergen Vigna <jug@lyx.org>
272 * text.C (drawSelection): honor boundary when asking for cursorX.
274 2005-07-17 José Matos <jamatos@fc.up.pt>
276 * tabular.C (recalculateMulticolumns): fix handling of one column
279 2005-07-17 Juergen Vigna <jug@lyx.org>
281 * text.C (Delete, backspace): fixed so that paragraph with the
282 same layout can be merged by Delete/Backspace.
284 2005-07-17 Michael Schmitt <michael.schmitt@teststep.org>
286 * text.C (readParToken): fix spelling.
288 2005-07-17 Martin Vermeer <martin.vermeer@hut.fi>
290 * text2.C: fix counter update for DEPM problem reported by
293 2005-07-17 Juergen Vigna <jug@lyx.org>
295 * BufferView_pimpl.C (setBuffer): save/restore the
296 cursor/selection when switching buffers
299 * buffer.C (saveCursor): add saveDocumentIterators to save the
300 cursor when switching buffer.
302 2005-07-17 Michael Schmitt <michqel.schmitt@teststep.org>
305 * buffer.C: clarify message
307 2005-07-17 Lars Gullik Bjønnes <larsbj@lyx.org>
309 * dociterator.C (DocIterator): fix initialization order
311 2005-07-17 Juergen Vigna <jug@lyx.org>
313 * text2.C (cursorHome):
314 * text.C (drawSelection, cursorX):
315 * dociterator.C (textRow): add boundary to getRow() call
317 * paragraph.C (getRow): implementation of below
319 * paragraph.h: add parameter boundary for getRow() function
321 2005-07-17 José Matos <jamatos@fc.up.pt>
325 * tex-strings.[Ch]: new file format, remove support for a4.sty,
326 a4wide.sty and a4widemargins.
328 2005-07-17 Juergen Vigna <jug@lyx.org>
330 * text2.C (cursorLeft): fix one of error
332 2005-07-17 Juergen Vigna <jug@lyx.org>
334 * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
336 more fixes for boundary handling
338 * text3.C (dispatch): don't reset cursor if boundary has changed
341 2005-07-16 Juergen Vigna <jug@lyx.org>
343 * text2.C (getColumnNearX): hopefully got it right now,
344 check if we are on column 0 for special case.
346 2005-07-16 Juergen Vigna <jug@lyx.org>
348 * text2.C (getColumnNearX): handle special case Newline Inset
350 * text.C (singleWidth): Just remove bogus check
352 2005-07-16 Michael Schmitt <michael.schmitt@teststep.org>
354 * funcrequest.C (split): avoid reading uninitialized char c
356 2005-07-16 José Matos <jamatos@fc.up.pt>
362 * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
363 single papersize variable.
365 2005-07-16 Juergen Vigna <jug@lyx.org>
367 * text3.C (dispatch): honor boundary when checking if a cursor
368 movement has been done
370 * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown)
371 (setCursor, setCursorIntern): fix cursor movement with boundary
373 2005-07-16 Juergen Vigna <jug@lyx.org>
375 * text.C (currentState): output the actual Boundary
377 2005-07-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
379 * factory.C (createInset): fix bad logic for tabular creation
381 2005-07-16 Lars Gullik Bjønnes <larsbj@lyx.org>
383 * lyx_main.C (init): change some reLyX reference to tex2lyx
385 2005-07-16 Juergen Vigna <jug@lyx.org>
387 * dociterator.C (DocIterator): initialize boundary
389 2005-07-16 Juergen Vigna <jug@lyx.org>
391 * text2.C (getColumnNearX): Consider rows without trailing blank.
393 2005-07-16 André Pönitz <poenitz@gmx.net>
395 * lyxfont.h: Change order of declarations to give the compiler
396 a better chance to inline things
398 * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
399 questions on unsaved docs for better scritability
401 2005-07-16 André Pönitz <poenitz@gmx.net>
403 * paragraph.h (getChar): remove asserts as the same kind of security
404 can be achieved by using a suitable standard library implementation
405 and the function was in the critical path (25.9% in profiler)
407 2005-07-16 Juergen Vigna <jug@lyx.org>
409 * cursor.C (bruteFind2):
410 * bufferview_funcs.C (coordOffset):
411 * text.C (cursorX,cursorY): Handle cursor position after last char
412 in row before a inset which uses a whole row.
414 2005-07-15 José Matos <jamatos@lyx.org>
416 * output_plaintext.[Ch] (writeFileAscii): control reference title
418 (asciiParagraph): noparbreak was already deal and was incorrectly
421 2005-07-15 Juergen Vigna <jug@lyx.org>
423 * lyxfunc.C (dispatch): save and restore the cursor after a
426 2005-07-15 Lars Gullik Bjønnes <lgb@tandberg.net>
428 * text.C (backspace): bug 806 for empty keepempty paragraphs we
429 change the layout to default before letting DEPM do its thing.
431 * paragraph_funcs.C (breakParagraph): dont reset the layout on
434 * text.C (setCursorFromCoordinates): add a debug statement
436 * text2.C (getColumnNearX): bug 1825 make sure that we don't
437 return a pos that is not on the row
439 * output_latex.C (TeXDeeper): get rid of potential dereferencing
440 of past the end iterator
442 2005-07-14 André Pönitz <poenitz@gmx.net>
444 * undo.C (recordUndoFullBuffer): implement undo for
447 2005-07-14 André Pönitz <poenitz@gmx.net>
449 * cursor.C (setSelection): open insets when selection is set there
450 to avoid crashs with cold coord cache
452 2005-07-14 André Pönitz <poenitz@gmx.net>
454 * trans_mgr.C (insert): move cursor to the right after inserting
457 2005-07-14 Lars Gullik Bjønnes <larsbj@lyx.org>
459 * BufferView_pimpl.C (update): dampen some of the debug blabbering
460 * factory.C (readInset): ditto
461 * text.C, text2.C: ditto
463 2005-06-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
465 * buffer.C: format incremented to 242. There is no file format per
466 se, but the "frenchb" language has been removed from lib/language
467 and has to be translated to "french" by lyx2lyx.
469 2005-07-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
471 * cursor_slice.h, dociterator.h: add some documentation
472 * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
474 2005-07-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
476 * text.C (leftMargin): do not add identation to display() style
477 insets, because they are always centered (bug 1293).
479 2005-07-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
481 * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
482 formatted_time methods in support/lyxtime.
484 2005-07-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
486 * toc.[Ch]: new method getGuiName, which is used by the frontends
487 to set the toc combo (fixes bug 1870). Make TOC string translatable.
489 2005-07-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
491 * dociterator.[Ch]: implement operator==(StableDocIterator const &,
492 StableDocIterator const &)
493 * undo.C (recordUndo): use the above instead of cell.size() comparison
494 (fixes bug 1808; instructed by Andr�.
496 2005-06-29 Martin Vermeer <martin.vermeer@hut.fi>
499 * dociterator.h: Fix the assert when copying rows/cols in math
501 2005-06-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
503 * BufferView_pimpl.C:
505 * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
507 * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
508 (findInset): new functions, refactored from goto Inset that return
509 the position of a certain inset without setting the buffer's cursor
511 (gotoInset): rewrite to call findInset and then set the cursor
514 2005-06-16 Angus Leeming <leeming@lyx.org>
516 * lyxrc.C (output, read): wrap all input and output of paths with
517 calls to os::internal_path and os::external_path, respectively.
518 (output): wrap bind_file inside quotes.
520 * format.C (view): enable the viewer to use the '$$s' placeholder.
522 2005-06-16 Georg Baum <Georg.Baum@post.rwth-aachen.de>
524 * LColor.[Ch] (getFromLaTeXName): new
526 2005-06-16 Martin Vermeer <martin.vermeer@hut.fi>
528 * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
530 2005-06-14 Angus Leeming <leeming@lyx.org>
532 * lyx_main.C (init): ensure that the LyX binary dir is the first
533 element in the PATH on non-POSIX builds.
535 2005-06-11 Georg Baum <Georg.Baum@post.rwth-aachen.de>
537 * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
539 2005-06-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
541 * rowpainter.C (paintInset, paintHebrewComposeChar)
542 (paintArabicComposeChar, paintChars): add a LyXFont argument.
543 (paintChars): use getFontSpan to reduce calls to getFont to a
544 minimum; use Paragraph::lookupChange instead of isXXXText.
545 (paintForeignMark): rename LyXFont argument.
546 (paintFromPos): pass a LyXFont object to the various paintXXX
549 * FontIterator.C (FontIterator, operator++): use
550 Paragraph::getFontSpan
552 * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
553 version that returns the font span as a pair.
555 2005-06-09 Angus Leeming <leeming@lyx.org>
557 * converter.C (convert): Don't forget "outfile = real_outfile" as
558 the final step in a conversion where the input and output file names
559 are the same. Otherwise, future conversion steps won't work...
561 2005-06-09 Angus Leeming <leeming@lyx.org>
563 * lyxsocket.C: remove stub code as it isn't needed by
564 MinGW/MinSYS anyway. Let's see if the MSVC people scream...
566 2005-06-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
568 * lyx_main.C (parse_execute): Fix last fix: is_gui = false
569 effectively disabled -x
571 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
573 * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
574 when it actually makes sense.
576 2005-06-06 Martin Vermeer <martin.vermeer@hut.fi>
578 * BufferView_pimpl.C: revert to showCursor in connection with
579 Lars's front-end stack
581 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
583 * text.C (redoParagraph): move cursor right after a bibitem
586 * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
588 2005-06-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
590 * buffer_funcs.C (bufferErrors): fix computation of the end of an
593 2005-05-31 Martin Vermeer <martin.vermeer@hut.fi>
595 * BufferView.[Ch] (update):
596 * BufferView_pimpl.[Ch] (update, metrics):
597 * dimension.h (operator==):
598 * lyxfunc.C (dispatch):
599 * metricsinfo.h (ViewMetricsInfo):
600 * rowpainter.C (paintText):
602 * text.C (redoParagraph):
603 * text3.C (dispatch): Make LyX only repaint current paragraph in
604 case of character insert --> speedup. Also fix cursor draw
607 2005-05-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
609 * bufferview_funcs.C (gotoInset): fix the wrap-around code to
610 avoid a crash (bug 1891)
612 2005-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
616 * text2.C (getStringToIndex): constify cur argument.
618 * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
619 argument has been given
620 (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
621 try to invoke LFUN_INSET_APPLY).
623 * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
624 if no inset was created by doInsertInset
625 (doInsertInset): return true if an inset has been inserted.
627 2005-05-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
629 * vspace.C (asGUIName): new method. A version of the space
630 suitable for showing on screen.
632 2005-05-20 Michael Schmitt <michael.schmitt@teststep.org>
635 * lyxrc.C: rename "ASCII" to "Plain Text"
637 2005-05-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
639 * buffer_funcs.C (expandLabel): take a Buffer as argument;
640 translate the labelstring.
641 (setCounter): translate labelstring as needed.
643 * output_docbook.C (makeCommand): fix expandLabel invokation
645 2005-05-14 Michael Schmitt <michael.schmitt@teststep.org>
647 * BufferView.C: fix dialog title
649 2005-05-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
651 * lyx_main.C (priv_exec): fix logic error with help from Angus
652 * lyx_main.C (parse_execute): set is_gui = false and remove now
653 obsolete comment about a segfault
655 2005-05-18 Angus Leeming <leeming@lyx.org>
657 * buffer.C (readFile): Quote all file names passed to lyx2lyx.
659 2005-05-12 Martin Vermeer <martin.vermeer@hut.fi>
661 * tabular.[hC]: added setCellInset to fix tabular paste.
663 2005-05-11 Lars Gullik Bjønnes <larsbj@gullik.net>
665 * buffer.C (save): check if destination is writable before trying
668 2005-05-11 Martin Vermeer <martin.vermeer@hut.fi>
670 * BufferView_pimpl.C (update): fix processEvents -caused update
673 2005-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
675 * buffer_funcs.C (setCounter): fix test for numbering of
678 * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
679 depth correctly; use optional argument when it exists
681 * lyxtextclass.C: remove unused MaxCounterTags enum
682 (Read): compute min_toclevel_ and max_toclevel_ after reading class.
683 (max_toclevel, min_toclevel): new methods.
685 * MenuBackend.C (expandToc2): fix case where depth is smaller than
686 the smallest depth in toc.
688 * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
689 layouts that should not appear in a table of contents.
691 2005-05-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
693 * cursor.h (undispatched, noUpdate): add comments from Andr�
694 2005-05-07 Michael Schmitt <michael.schmitt@teststep.org>
698 * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
700 2005-05-07 André Pönitz <poenitz@gmx.net>
702 * cursor.[Ch] (leaveInset): new function
704 2005-05-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
706 * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
708 2005-05-04 Angus Leeming <leeming@lyx.org>
710 * lyxfunc.C (getStatus): disable the spell checker dialog if
711 none of USE_[AIP]SPELL are defined.
713 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
715 * tabular.C (setWidthOfCell): remove obsolete comment
717 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
719 * paragraph.C (bibitem):
720 * buffer_funcs.C (setCounter):
721 * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
723 2005-05-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
725 * text3.C (getStatus): immediately return after setOnOff
727 * rowpainter.C: fix drawing of appendix start
729 2005-05-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
731 * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
732 SwitchBetweenClasses and remove the unused return value.
733 Handle character styles, too
735 2005-05-03 Martin Vermeer <martin.vermeer@hut.fi>
737 * factory.C (createInset): handle undefined character styles
739 2005-05-02 Angus Leeming <leeming@lyx.org>
741 * buffer.C: protect the #include of utime.h with a preprocessor
744 2005-05-02 Angus Leeming <leeming@lyx.org>
746 * lyx_cb.C: artificially define fork() on Windows as a no-op failing
747 function so that auto-saving works, albeit in a blocking manner.
749 * Makefile.am: make compilation of the client sub directory, of
750 aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
751 on conditionals set at configure time.
753 * SpellBase.[Ch]: no longer an abstract base class. Instead,
754 it can be compiled in its own right but has no-op functionality.
756 * aspell.C, pspell.C: remove preprocessor guards. The files should
757 be compiled only if the necessary functionality exists.
759 * lyxserver.C, lyxsocket.C: disable on Windows.
761 2005-05-01 Martin Vermeer <martin.vermeer@hut.fi>
763 * text.C (leftMargin): Fix the parindent use bug (1764)
766 2005-04-28 Michael Schmitt <michael.schmitt@teststep.org>
768 * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
771 2005-04-25 Angus Leeming <leeming@lyx.org>
779 include <config.h> in .C files, not .h ones.
781 protect headers inside preprocessor guards.
783 2005-04-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
785 * FuncStatus.h (StatusCodes): document
787 2005-04-21 André Pönitz <poenitz@gmx.net>
789 * FuncStatus.h (enabled, onoff): document
791 2005-04-19 Angus Leeming <leeming@lyx.org>
793 * BufferView_pimpl.C (cursorToggle): no longer test whether
794 any child processes have been reaped before calling
795 handleCompletedProcesses().
797 2005-04-19 Martin Vermeer <martin.vermeer@hut.fi>
799 * text3.C (dispatch): fix, finally fix, the language problem in
800 new lyxtexts, without disabling on-the-fly font changes (Helge's
803 2005-04-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
805 * text3.C (dispatch): set cursor on double/triple click events
808 2005-04-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
810 * lyxfunc.C (actOnUpdatedPrefs): avoid warning
811 (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
813 * rowpainter.C (paintFirst): simplify the code a little bit. In
814 particular, remove the test for secnumdepth.
815 * text.C (setHeightOfRow): only allocate space for chapter number
816 when updateCounters provided an actual label, instead of looking
817 at secnumdepth directly.
819 * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
821 * buffer_funcs.C (setCounter): only number LABEL_COUNTER
822 paragraphs when secnumdepth is large enough or, for environments,
823 when they are not the first in a sequence.
825 2005-04-17 Angus Leeming <leeming@lyx.org>
827 * buffer.C (makeLaTeXFile): replace code to manipulate a path
828 containing space and '~' characters with a call to latex_path().
830 2005-04-17 Angus Leeming <leeming@lyx.org>
832 * converter.C (convert): protect all args of convertDefault.sh
835 2005-04-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
837 * text3.C (dispatch): change the layout to "Caption" after inserting
840 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
842 * text3.C (dispatch): fix language problem in newly created
843 textinsets (and main text) in non-english docs
845 2005-04-13 Georg Baum <Georg.Baum@post.rwth-aachen.de>
847 * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
848 * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
849 * text3.C (getStatus): disable LFUN_INSET_MODIFY
851 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
856 * rowpainter.C (getFont): Fix metrics bug introduced by inset
859 2005-04-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
861 * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
862 output of \item arguments without trailing text.
864 2005-04-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
866 * FontIterator.C (operator*): avoid a copy of the font.
868 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
870 * rowpainter.C (getFont): fix language bug from previous fix
872 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
874 * rowpainter.C (RowPainter, getFont): fix font inside inset
877 2005-04-06 Martin Vermeer <martin.vermeer@hut.fi>
879 * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
880 preventing inserted font, deco, delim insets jumping to start of
883 2005-03-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
885 * lyxfunc.C (dispatch): translate message before sending it to the
888 2005-03-29 Angus Leeming <leeming@lyx.org>
890 * lyx_main.C (priv_exec): call os::internal_path on each file passed
891 to LyX on the command line.
893 2005-03-25 Stephan Witt <stephan.witt@beusen.de>
895 * vc-backend.C: use QuoteName to protect file names wherever
898 2005-03-27 Martin Vermeer <martin.vermeer@hut.fi>
901 * BranchList.h: fix bugs 1844,1845: document settings don't
904 2005-03-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
906 * lyxrc.C (setDefaults, read, output, getDescription): add support
907 for tex_allows_spaces.
909 * exporter.C (Export): allows files in directory containing spaces
910 if tex_allows_spaces is true.
912 * buffer.C (makeLaTeXFile): if the document path contains spaces,
913 output it in double quotes.
915 2005-03-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
917 * rowpainter.C: use default text height for drawing change tracker
920 2005-03-21 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
922 * lyx_main.C: fix binding of tabulator key (especially S-Tab).
924 2005-03-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
926 * lyx_main.C (queryUserLyXDir): fix logic when LyX support
927 directory is missing.
929 2005-03-11 Martin Vermeer <martin.vermeer@hut.fi>
931 * text2.C: fixed the fix, extended to other case.
933 2005-03-08 Martin Vermeer <martin.vermeer@hut.fi>
935 * text2.C: fix for cursor up/down stuck in math [bug 1792]
937 2005-03-07 Alfredo Braunstein <abraunst@lyx.org>
939 * text2.C (cursorUp): get rid of a crash
940 * text.C (x2pos): add an assert
942 2005-03-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
944 * lyxfunc.C (getStatus): fix warning when assertions are disabled
948 * dociterator.C: include <boost/current_function.hpp>, which is
949 needed when assertions are disabled.
951 2005-03-05 Johnathan Burchill <jkerrb@users.sourceforge.net>
953 * text2.C: fix for stuck cursor when traversing two
954 consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
956 2005-02-25 Andreas Vox <avox@arcor.de>
958 * output_docbook.C (makeParagraph): suppress trailing newline
959 after a run of paragraphs
961 2005-02-28 Johnathan Burchill <jkerrb@users.sourceforge.net>
963 * paragraph.C: fix for confused change tracker when pasting
964 text that begins with a lineseparator. [bug 1827]
965 (setChange(0, Change::INSERTED);)
967 * paragraph_funcs.C: fix for lost changes on triple-paste
968 in change tracking mode [bug 1827] (par.setChange()).
970 2005-02-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
972 * text2.C (updateCounters, setCounter, expandLabel): move to
975 * buffer_funcs.C (updateCounters): turn into a free standing
976 function and add a buffer parameter. Remove dead code for tracking
978 (setCounter): change into a free-standing function which gets a
979 dociterator as argument. Use this iterator to fix captions in a
980 simple way. When no float is found above the caption, use the
981 labelstring of the caption layout as default.
983 * text.C (breakParagraph, backspace):
984 * text2.C (init, setLayout, changeDepth):
985 * text3.C (dispatch):
986 * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
989 * dociterator.C (forwardPar): make it much faster by calling
990 forwardPos() only when really necessary.
992 * output_docbook.C (makeCommand): adapt to expandLabel move.
994 * cursor.C: remove unused variable
996 2005-02-24 Johnathan Burchill <jkerrb@users.sourceforge.net>
998 * paragraph_funcs.C: fix crash when pasting insets in change
999 tracking mode [bug 1277] (honour change type in moveItem).
1001 2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1003 * LaTeX.C (scanLogFile): recognize pdfTeX warnings
1005 2005-02-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1007 * BufferView.C (setCursor): change to use a DocIterator.
1008 (gotoLabel): use BufferView::setCursor (other part of bug 781).
1009 (putSelectionAt): adapt to BufferView::setCursor change.
1011 * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
1012 moved here from LyXText and rewritten to use proper cursor
1013 methods. Fixes bug 1787, 616 and 835.
1015 * BufferView_pimpl.C (restorePosition): set the cursor correctly
1016 when inside an inset (part of bug 781).
1017 (dispatch): adapt to change of BufferView::setCursor.
1018 (getStatus, dispatch): handle LFUN_GOTOERROR,
1019 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1021 * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
1022 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1023 * text3.C (gotoNextInset, gotoInset): removed.
1025 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1027 * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
1029 2005-02-15 Angus Leeming <leeming@lyx.org>
1031 * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
1032 can be used meaningfully in a comparison.
1034 2005-02-13 André Pönitz <poenitz@gmx.net>
1036 * bufferview_funcs.C (coordOffset): improve cursor drawing
1038 2005-02-13 André Pönitz <poenitz@gmx.net>
1040 * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
1041 * Cursor.C (dispatch): use fixIfBroken
1042 * lyxfunc.C (getStatus): use fixIfBroken
1044 2005-02-15 Angus Leeming <leeming@lyx.org>
1046 * lyx_main.C (error_handler):
1048 * lyxrc.C (setDefaults):
1050 #include "environment.h".
1052 * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
1054 2005-02-15 Angus Leeming <leeming@lyx.org>
1056 * lyxserver.C (startPipe): squash MSVC warning "local variable
1057 'fd' used without having been initialized".
1059 2005-02-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1061 * BufferView_pimpl.C: revert accidental commit.
1063 2005-02-14 André Pönitz <poenitz@gmx.net>
1065 * dociterator.[Ch]: new member forwardPosNoDescent(),
1066 which doesn't enter nested insets.
1067 * text2.C (setFont): use forwardPosNoDescent() instead
1068 of ForwardPos() (fixes crash on font change).
1070 2005-02-13 Angus Leeming <leeming@lyx.org>
1072 * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
1073 only if lyxrc.path_prefix is not empty.
1075 2005-02-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1077 * bufferparams.C (readGraphicsDriver): prevent crash
1079 2005-02-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1081 * text2.C (setCounter): check for inInset() == 0
1083 2005-02-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1085 * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
1086 but use update() to get correct screen display; use convert
1087 instead of istringstream.
1088 (getStatus): handle LFUN_GOTO_PARAGRAPH
1090 * lyxfunc.C (dispatch, getStatus): do not handle
1091 LFUN_GOTO_PARAGRAPH here.
1093 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1095 * text3.C (dispatch): size() -> depth()
1097 * text2.C: remove some debug output
1099 * paragraph.C: ws changes only
1101 * lyxfunc.C (getStatus): size() -> depth()
1103 * dociterator.h (clear, push_back, pop_back, internalData,
1104 operator[], resize, empty): new functions
1105 Make StableDocIterator and operator== be friends. Don't inherit
1106 from std::vector use a privat class variable slices_ instead.
1109 * dociterator.C: update because of not inheriting from std::vector
1110 anymore. Call explictly to slices_ instead. Use depth() instead of
1111 size() and top() instead of back()
1113 * cursor.C: chagne size() -> depth and back() -> top(). Also
1114 remove some direct operator[](i) calls in favour of foo[i]
1115 (getFont): remove some dead code
1117 * bufferview_funcs.C (coordOffset): size() -> depth()
1119 * buffer.C: ws changes only
1121 * CutAndPaste.C (eraseSelection): back() -> top()
1123 * BufferView_pimpl.C (selectionRequested): back() -> top()
1125 * BufferView.C (setCursor): size() -> depth()
1127 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1129 * text3.C (cursorPrevious): return true if depm changed something
1131 (dispatch): rename sl to oldTopSlice, remove moving use the new
1132 NoUpdate func attrib instead. Make sure that needsUpdate is set
1133 for function that have NoUpdate, but where depm might have changed
1136 * text2.C (cursorLeft): make us return true if depm changed
1138 (cursorRight): ditto
1139 (cursorUpParagraph): ditto
1140 (curosrDownParagraph): ditto
1141 (cursorUp, cursorDown): ditto, make sure to read comments in code
1142 (deleteEmptyParagraphMechanism): remove an assert, also return
1143 true if just a single char was deleted.
1145 * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
1146 cursor that we modify, to avoid modifying an active cursor before
1147 we call setCursor. This allows depm to run. Also return true if
1148 depm deleted something.
1150 * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
1151 cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
1152 cursorDownParagraph, cursorPrevious and cursorNext, return true if
1153 something was changed in the buffer because of them (ie. depm run)
1155 * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
1156 debug messages. Make update by default be false. Make sure that
1157 the result of update is retained throught several calls down to
1160 * LyXAction.h: add a new func_attrib: NoUpdate
1162 * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
1163 LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
1164 LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
1166 (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
1168 2005-02-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1170 * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
1171 bv_->owner(), bv_->buffer() by direct references to the private
1173 (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
1174 (getStatus): isSavedPosition() is in BufferView::Pimpl.
1175 (fitCursor): center() is in BufferView::Pimpl.
1176 (getStatus, trackChanges, dispatch): no need for a temporary buf
1178 (fitCursor, workAreaDispatch): use workarea().workheight()
1180 2005-02-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1182 * CutAndPaste.C (pasteSelectionHelper): fix a crash
1184 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1186 * buffer.C: format up to 241.
1187 * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
1188 break if pasting into ERT
1189 * lyxfunc.C (getStatus): suppress mathpanel and
1190 LFUN_DIALOG_SHOW_NEW_INSET in ERT
1192 2005-02-01 Angus Leeming <leeming@lyx.org>
1194 * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1196 2005-02-01 Angus Leeming <leeming@lyx.org>
1198 * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1199 calling fs::is_directory().
1201 2005-01-31 Angus Leeming <leeming@lyx.org>
1203 * lyx_main.C (priv_exec): specify explicitly the relative location
1204 of the top level build directory when run in-place.
1206 2005-01-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1208 * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1209 LyXText containing the cursor, not the top-level one.
1211 * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1213 (insertStringAsLines): rename par to pit; use temporary variable
1214 par to hold a Paragraph; do not store par.layout() in a variable,
1215 since the pointer may die when breaking paragraphs; pass pars to
1216 breakParagraph() instead of Buffer::paragraphs().
1218 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1220 * lyxlex_pimpl.h: #include <fstream>.
1222 * BufferView.[Ch] (getLyXText): add a const version.
1224 * BufferView_pimpl.C: add debug aids.
1229 * paragraph_funcs.h: add commentary explaining what the class does.
1232 * coordcache.[Ch]: add lots of commentary.
1233 (startUpdating, doneUpdating): debug aids.
1234 (arrays, insets, parPos, getParPos): accessors to private data.
1236 * cursor_slice.[Ch] (text): add a const version.
1237 * dociterator.[Ch] (text, innerText): add const versions.
1239 * lyxtext.h (breakParagraph): change the keep_layout arg to a
1242 * paragraph.C (getRow, pos2ros): add asserts.
1244 * paragraph.h: add commentary. Lots of.
1246 * paragraph.[Ch] (metrucs, draw): removed.
1249 * rowpainter.[Ch]: const-correct changes.
1251 * text.C: various obvious clean-ups. Removal of ancient cruft.
1254 2005-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
1256 * vc-backend.C (find_file): rewrite to use boost.filesystem
1259 * main.C (main): set default name check for boost.filesystem to
1262 * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1265 (actOnUpdatedPrefs): ditto
1267 * lyx_main.C (init): rewrite to use boost.filesystem
1268 (queryUserLyXDir): ditto
1270 * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1271 (getContentsOfAsciiFile): ditto
1273 * lastfiles.C (readFile): rewrite to use boost.filesystem
1275 * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1277 * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1278 (loadLyXFile): ditto
1280 * buffer.C (Buffer): adjust for destroydir
1281 (getLogName): rewrite to use boost.filesystem
1282 (setFileName): ditto
1283 (save): use fs::copy_file (from fs_extras)
1285 * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1287 * LaTeX.C (run): rewrite to use boost.filesystem
1288 (scanAuxFiles): ditto
1289 (handleFoundFile): ditto
1291 2005-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1293 * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1295 * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1297 2005-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1299 * lyxlayout.[Ch]: change some vars from float to double
1301 * buffer.C (readFile): make a local var const
1303 * Several files: use convert<> instead of atoi,strToXXX and friends
1305 2005-01-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1307 * LaTeXFeatures.[Ch]: Add a static list packages_ that
1308 holds the contents of packages.lst. New functions getAvailable
1309 and isAvailable to parse and check that list, resp.
1313 * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1315 * bufferparams.[Ch]: new param output_changes.
1317 * Buffer.C: increase file format to 240.
1318 Use output_changes and isVailable.
1322 * paragraph_pimpl.C: Use output_changes and isVailable.
1324 2005-01-23 Angus Leeming <leeming@lyx.org>
1326 * output_latex.C: #include "insetbibitem.h", rather than
1327 forward declare function bibitemWidest.
1329 2005-01-21 Andreas Vox <vox@isp.uni-luebeck.de>
1331 * lyx_main.C (init): make it compile on the Mac.
1333 2005-01-20 Angus Leeming <leeming@lyx.org>
1335 * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1336 (setLyXMisc): (char string literal) != (char string literal) is
1337 performing a comparison on the addresses. Convert one operand
1338 explicitly to string to guarantee expected behaviour.
1341 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1344 * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1346 * output_plaintext.C: remove unneeded #include gzstream.h.
1348 2005-01-20 Angus Leeming <leeming@lyx.org>
1350 * SpellBase.h: rename some of the elements of the Result enum.
1357 * pspell.C (check): ditto
1359 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1361 * buffer.C: add #include <fstream>.
1363 * lyx_main.C (init): Compile fix.
1365 * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1367 2005-01-20 Angus Leeming <leeming@lyx.org>
1369 * mover.h: change commentary to reflect the changed meaning of
1370 the $$s placeholder.
1372 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1374 * output_linuxdoc.C (linuxdocParagraphs): silence warning
1376 * lyxfind.C (MatchString::operator()): remove bogus semicolon
1378 2005-01-20 Angus Leeming <leeming@lyx.org>
1380 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1381 printing diagnostic data by not dereferecing an iterator past the
1384 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1386 * buffer.C (readHeader): use "&&" rather than "and".
1388 * lyxserver.h (inPipeName, outPipeName): make these const.
1390 2005-01-19 Angus Leeming <leeming@lyx.org>
1392 * lyx_main.C (error_handler, init): protect SIGHUP with
1393 #ifdef SIGHUP guards.
1395 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1397 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1399 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1401 * text.C (setHeightOfRow): add a margin at the top and bottom of
1402 the document (bug 1761)
1404 2005-01-17 Angus Leeming <leeming@lyx.org>
1406 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1407 with "python ". Workaround for a brain-dead Windows.
1409 2005-01-16 Angus Leeming <leeming@lyx.org>
1411 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1412 for MacOSX and Windows to use prependEnvPath.
1413 Strip out the hard-coded block to add elements to the PATH for
1414 MacOSX and replace it with a call to prependEnvPath using the
1415 contents of LyXRC::path_prefix.
1416 (queryUserLyXDir): strip out the code to run reconfigure, instead
1417 returning a boolean indicating the necessity to do so.
1418 (reconfigureUserLyXDir): contains the code to reconfigure the
1419 user support directory. Is now called after the various LyXRC data
1420 files have been read.
1422 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1424 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1426 * converter.[Ch] (convert): take a new parameter try_default. Use
1427 a default converter (imagemagick) if try_default is true.
1429 2005-01-13 Angus Leeming <leeming@lyx.org>
1431 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1432 os::cygwin_path_fix.
1433 (write): output LyXRC::cygwin_path_fix as necessary.
1435 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
1438 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1440 2005-01-12 Angus Leeming <leeming@lyx.org>
1442 * lyx_main.C (init): set the PATH variable to include the
1443 directory containing the LyX binary when running on Mac or Windows.
1445 2005-01-12 Angus Leeming <leeming@lyx.org>
1447 * lyx_main.C (init): remove cruft that purports to set the locale
1448 dir. It doesn't and is not needed anyway.
1450 2005-01-10 Angus Leeming <leeming@lyx.org>
1452 * Makefile.am: remove the lyx_main.C special casing.
1454 * BufferView_pimpl.C:
1460 * messages.C: use support/package.h to provide the paths to the
1461 various directories used by LyX.
1463 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1465 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1466 layout if pasting into an empty paragraph)
1468 2005-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
1470 * tex-accent.C: add <string>
1472 2005-01-06 José Matos <jamatos@lyx.org>
1474 * ParagraphParameters.C (write): put every parameter in its own line.
1475 * paragraph.C (write): reduce number of consecutive empty lines exported.
1476 * buffer.C (LYX_FORMAT): increase file format to 239.
1478 2005-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1480 * everywhere: change support/tostr.h -> support/convert.h
1482 * tabular.C: make all write_attributes templates, tostr -> convert
1484 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1485 (emptyTag): and -> &&, and fix type for ret from getChar
1486 (getFirstWord): fix type for ret from getChar
1487 (onlyText): and -> &&
1488 (simpleDocBookOnePar): and not -> && !, fix type for ret from
1491 * toc.C (goTo, action):
1492 * text3.C (dispatch):
1493 * text.C (currentState):
1494 * tex-accent.C (DoAccent):
1497 * lyxfunc.C (menuNew):
1498 * lyxfinc.C (replace):
1499 * counters.C (laberItem):
1500 * bufferview_funcs.C (font2string):
1501 * bufferparams.C (writeFile):
1502 * buffer.C (readFile):
1504 * MenuBackend.C: tostr -> convert
1506 * LaTeX.C (runMessage): fix format
1507 (scanAuxFiles): tostr -> convert
1509 * BufferView_pimpl.C (savePosition): fix format
1510 (restorePosition): ditto
1513 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1515 * Spacing.[Ch]: New method getValueAsString().
1519 * ParagraphParameters.C:
1522 * text3.C: store/read spacing value as string.
1524 * rowpainter.C: change float value (spacing_val) to double.
1526 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1527 broken custom document spacing).
1529 2005-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
1531 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1532 namespace, also more use of temp references and const
1534 * cursor.[Ch] (getStatus): move to lyxfunc.C
1536 * bufferparams.C: reformat slightly
1538 * bufferview_funcs.C (font2string): constify arg
1544 * buffer_funcs.C: (many funcs): constify arg on function
1545 definitions, also make more local vars const, also add ASSERTS on
1548 * buffer.C (LYX_FORMAT): put const in correct place
1549 (many funcs): constify arg on function definitions, also make
1550 more local vars const
1552 * aspell_local.h: remove "struct" from typdef setup
1554 * aspell.C (check): make word_ok const
1555 (nextMiss): simplify slightly
1558 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1560 * lyxrc.[Ch]: store all float values as strings.
1561 use int (not float) for lyxrc.dpi.
1563 2005-01-04 Angus Leeming <leeming@lyx.org>
1565 * lyx_cb.C (Reconfigure):
1566 * lyx_main.C (queryUserLyXDir):
1567 to run the <system_lyxdir>/configure correctly on Windows, prefix
1568 the path to the script with "sh " when generating the string that
1569 is passed to system().
1571 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1573 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1575 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1577 * lyxlength.C (asLatexString): get rid of setprecision
1579 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1581 * text2.C (setLayout): remove unused variable endpit.
1582 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1584 * paragraph.C (onlyText): remove unused variable style.
1586 * cursor.C (bruteFind): remove unused variables beg and end.
1588 * Makefile.am (dist_noinset_DATA): not needed anymore
1590 * cheaders/*: remove.
1592 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1594 * text3.C: fix LFUN_MATH_MODE.
1596 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1598 * buffer_funcs.C (countWords): new function. Counts words between
1601 * BufferView_pimpl.C (getStatus, dispatch): handle
1604 * LyXAction.C (init):
1605 * lfuns.h: add LFUN_WORDS_COUNT.
1607 2004-12-19 Angus Leeming <leeming@lyx.org>
1609 * buffer.C (save): s/slashify_path/internal_path/.
1611 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1613 * lyxfind.C (findChange): do not search for end of pars, because
1614 the change tracker cannot handle this (fixes bug 1719).
1616 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
1618 * paragraph.[Ch] (autoBreakRows): remove
1620 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1622 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1623 avoid using the paragraph one
1625 * text2.C (LyXText, insertStringAsLines): adjust
1627 2004-12-16 Angus Leeming <leeming@lyx.org>
1631 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1633 2004-12-14 Angus Leeming <leeming@lyx.org>
1635 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1637 * bufferlist.C (emergencyWrite):
1638 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1641 2004-12-14 Angus Leeming <leeming@lyx.org>
1643 * main.C: (main): no longer pass pointers to os::init.
1645 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1647 * undo.C (textUndoOrRedo): simplify logic, fix a crash
1648 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1650 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1653 * text3.C: remove selection_possible global flag
1655 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1657 * text2.C (getSelectionSpan): remove
1658 (changeDepth, changeDepthAllowed): adjust
1660 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
1662 * Makefile.am (BOOST_LIBS): use boost variables
1664 2004-12-03 José Matos <jamatos@lyx.org>
1666 * buffer.C: format up to 238.
1668 2004-12-03 José Matos <jamatos@lyx.org>
1670 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1672 2004-12-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1674 * cursor.C (goUpDown): remove call to idxUpDown2
1676 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1678 * tabular.[Ch]: use size_t-like types for cell, row and column
1681 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1683 * lyxfunc.C (getStatus): do not lose previous information when
1684 calling BufferView::getStatus; do not set a default "Command
1685 disabled" message at the beginning, but just before returning.
1687 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1689 * cursor.h (getStatus): add better comment from src/cursor.C
1691 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1693 * text3.C (getStatus): return false when the lfun is not handled
1695 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1697 * broken_headers.h: remove
1699 * Makefile.am (lyx_SOURCES): remove broken_headers.h
1701 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1703 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1704 offset_ref accessors
1706 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1707 top_y_, merge fitcursor with update
1708 (updateScrollbar, scrollDocView, fitCursor, center, update): new
1710 (metrics): introduce
1711 (workAreaDispatch): adapt to new coord scheme
1712 (redoCurrentBuffer): remove
1714 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1716 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1719 * coordcache.[Ch]: add paragraph cache and helpers
1721 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1724 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1725 (targetX, setTargetX): introduce
1727 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1728 baseline -> ascent, as the rest of lyx
1730 * lyxtext.h: remove redoParagraphs, updateParPositions,
1731 fullRebreak, redoParagraphInternal. move dist to anon namespace in
1732 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1733 have ascent/descent (ascent is ascent of first par)
1735 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1738 * paragraph.[Ch]: unify dimension handling with the rest of lyx
1740 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1742 * pariterator.C: fix infinite loop introduced in par->pit renaming
1744 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1745 in insets and LyXText, draw two off-screen paragraphs using
1746 NullPainter, and adapt to new coord scheme
1750 * text3.C: adapt lfun handlers to the new coord scheme, which
1751 means: there's only guaranteed coord information for onscreen pars
1752 plus one above and one below. This implies that one can do search
1753 from y coordinates in the range [-1,workHeight]
1755 2004-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1757 * rename a lot of InsetOld to InsetBase
1759 2004-11-25 Angus Leeming <leeming@lyx.org>
1761 * BufferView_pimpl.C:
1763 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1765 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1767 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1768 call BufferView::getStatus if LCursor::getStatus did nothing
1769 (setStatusMessage, getStatusMessage): removed.
1771 * FuncStatus.C (message): new methods. Used to provide an error
1772 message indicating why a command is disabled.
1773 (clear, |=, FuncStatus): update for message.
1775 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1777 * lyxfunc.C (dispatch): always call sendDispatchMessage
1779 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1782 * BufferView_pimpl.C:
1787 * cursor_slice.[Ch]:
1790 * paragraph_funcs.C:
1796 * undo.C: par->pit renaming
1798 2004-11-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1800 * tabular.C (cellstruct): use initialization, store a shared_ptr
1801 to insettext instead of the insettext directly, adjust to fit.
1802 (operator=): new function
1803 (swap): new function
1804 (rowstruct): use initialization
1805 (columnstruct): use initialization
1806 (ltType): use initialization
1809 * lyxlength.h (swap): new function
1811 * LColor.[Ch] (operator=): use the common semantics
1813 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1815 * lyxfind.C (findNextChange): update the bufferview after setting
1818 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1820 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1821 number of InsetOptArgs has already been inserted.
1823 * output_latex.C (latexOptArgInsets): new method. This outputs all
1824 the optarg insets, up to the limit defined in the layout file.
1825 (optArgInset): removed
1826 (TeXOnePar): call latexOptArgInsets; correctly update texrow
1828 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1830 * paragraph.C (isLetter): remove special spellchecker-related
1831 code; return true also for digits
1832 (isWord, isKomma): remove
1834 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1835 * lyxfind.C (MatchString()): use isLetter instead of isWord
1837 2004-11-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1839 * pariterator.h (operatir=): comment out un-implemented member
1842 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1845 2004-11-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1847 * lyxfont.h: include LColor.h to satisfy concept checks.
1849 2004-11-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1851 * pariterator.h: add typdefs for value_type, difference_type,
1852 pointer and reference to satisfy concept checks. Also add default
1853 constructor for same reason.
1855 * pariterator.C (operator++): add post-increment operator to
1856 satisfy concept checks.
1858 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1861 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1863 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1864 checks. Also rename base_type to BaseType to follow naming
1867 * FloatList.h: include Floating.h to satisfy concept checks.
1869 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1871 * lyxfunc.C (getStatus): when the origin of the request is menu or
1872 toolbar, and the LyXView does not have focus, do as if there was
1873 no buffer (bug 1720)
1875 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1876 FuncRequest to individual entries of LFUN_SEQUENCE
1878 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1880 * output_latex.C (TeXOnePar): override runparams.moving_arg
1881 according to the needprotect value of the current paragraph (bug
1884 * paragraph.C (simpleTeXOnePar): no need to override
1885 runparams.moving_args here
1887 2004-11-14 John Spray <spray_john@users.sourceforge.net>
1889 * vspace.C: fix off-by-one-error, related to fix #1682
1891 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1893 * lengthcommon.C: a more general fix for bug 1682
1895 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
1897 * text.C (backspace): fix crash
1899 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1901 * format.[Ch] (getFormatFromFile): new method
1902 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1904 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1906 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1908 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1910 * lyxfunc.C (dispatch): remove the verbose argument
1911 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1914 * kbmap.C (defkey): set the origin of func to KEYBOARD
1916 * MenuBackend.C (MenuItem):
1917 * ToolbarBackend.C (add): set the origin of func to UI
1919 * funcrequest.[Ch]: add origin member, which indicates which part
1920 of LyX requests an action
1922 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1924 * converter.C (move): don't lie in the error message
1925 * converter.h (isReachable, move): document
1927 2004-11-07 Lars Gullik Bjønnes <larsbj@gullik.net>
1929 * buffer.C: remove unused using lyx::support::atoi
1930 * paragraph_funcs.C: ditto
1932 2004-11-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1934 * bufferlist.C (exists): use bind and equal_to instead of
1937 * lyxtextclasslist.C (NumberOfClass): ditto
1939 * cursor.C (insert): use for_each instead of explicit for loop
1941 * bufferlist.C (getFileNames): use std::transform and
1942 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1944 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1947 * buffer.C (changeLanguage): use for_each instead of explicit for
1949 (hasParWithID): implement using getParFromID
1951 * LaTeXFeatures.C: ws change only
1953 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1956 * BufferView_pimpl.C (trackChanges): use for_each instead of
1959 2004-11-04 André Pönitz <poenitz@gmx.net>
1962 * undo.C (textUndoOrRedo): fix crash when creating undo information.
1964 * dociterator.C (asDocIterator): use hard assert again.
1966 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1968 * lyxlength.C (asLatexString): rewrite so that it does not use
1971 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1973 * text3.C (specialChar, dispatch): make sure cursor moves to the
1974 right after inserting an inset
1976 2004-11-02 José Matos <jamatos@lyx.org>
1978 * output_docbook.C (docbook):
1979 * paragraph.C (getID):
1980 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
1981 garantee that the output is always legal.
1983 * tabular.C (docbook):
1984 * outputprams.[Ch]: remove mixed contents.
1986 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1988 * text2.C (setCounter): prevent endless loop
1990 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1992 * exporter.C (copyFile): use the mover instead of support::copy()
1993 * exporter.C (Export): pass format and latex name to copyFile()
1994 * exporter.h (addExternalFile): document
1995 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
1997 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1999 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
2001 2004-10-30 José Matos <jamatos@lyx.org>
2003 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
2004 text and no inset or font change. This allows to use CDATA
2005 sections just for the whole paragraph.
2007 2004-10-30 José Matos <jamatos@lyx.org>
2009 * paragraph.C (getFirstWord): remove unused variable.
2011 2004-10-30 José Matos <jamatos@lyx.org>
2013 * paragraph.C (getFirstWord): the content should always be escaped
2015 (simpleDocBookOnePar):
2016 * output_docbook.C (makeEnvironment): replace reference to CDATA
2019 2004-10-30 José Matos <jamatos@lyx.org>
2021 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
2023 2004-10-30 José Matos <jamatos@lyx.org>
2025 * output_docbook.C (makeParagraphs):
2026 * paragraph.[Ch] (emptyTag): for docbook and company, if the
2027 standard paragraph has only a given type of content drop the wrapper.
2029 2004-10-29 José Matos <jamatos@lyx.org>
2031 * output_docbook.C (makeEnvironment):
2033 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
2035 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
2037 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
2038 (cleanID): sanitize any id.
2040 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2042 * buffer.C, lyxlex_pimpl.C:
2043 * lyxlex_pimpl.C (setFile):
2044 s/getExtFromContents/getFormatFromContents/
2046 2004-10-28 José Matos <jamatos@lyx.org>
2048 * output_docbook.C (makeEnvironment): move id to broadest possible
2051 * sgml.C (openTag): apply substitution of <> for all attributes.
2053 2004-10-28 José Matos <jamatos@lyx.org>
2055 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2056 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2057 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
2059 * sgml.[Ch]: new version for open and closeTag for paragraph and
2060 for strings. Now they handle the ids of paragraphs.
2062 2004-10-26 Angus Leeming <leeming@lyx.org>
2064 * Makefile.am: add mover.[Ch].
2066 * converter.C (convert, move): use the new Movers to move external
2067 files to the temp directory.
2069 * lyx_main.C (init): ensure that the global system_movers data
2072 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
2075 * mover.[Ch]: new files, defining a Mover as a utility to move an
2076 external file between directories and, if necessary, manipulate this
2077 file using a helper script.
2079 2004-10-25 José Matos <jamatos@lyx.org>
2081 * output_docbook.C (makeCommand): merge two if's that tested the
2084 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2086 * sgml.C (escapeString): fix warning in a better way
2088 2004-10-25 José Matos <jamatos@lyx.org>
2090 * sgml.C (escapeString): import the require boosts header file for
2091 tie, and avoid a signed unsigned comparison.
2093 2004-10-25 José Matos <jamatos@lyx.org>
2095 * sgml.h: add #include <string>
2097 2004-10-25 José Matos <jamatos@lyx.org>
2099 * sgml.[Ch] (escapeString): new function to escape all the string.
2101 2004-10-24 José Matos <jamatos@lyx.org>
2103 * paragraph.[Ch] (getFirstWord): new function to get the first
2104 word. Useful for description.
2105 (simpleDocBookOnePar): remove depth argument, add another that
2106 says where to start the paragraph.
2108 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2109 use the new functions to fix cleanly the support for descriptions.
2111 2004-10-24 José Matos <jamatos@lyx.org>
2113 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2114 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2115 * output_linuxdoc.C (linuxdocParagraphs):
2116 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
2117 add buffer as argument.
2119 2004-10-24 José Matos <jamatos@lyx.org>
2121 * output_docbook.C (makeEnvironment, searchEnvironment): place
2122 CDATA inside paragraphs and fix scope for listitems.
2124 2004-10-24 José Matos <jamatos@lyx.org>
2126 * output_docbook.C: remove using statement for stack.
2128 2004-10-23 José Matos <jamatos@lyx.org>
2130 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
2131 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
2132 docbook. The new scheme is recursive and makes use of iterators, the
2133 same as latex export works.
2134 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
2135 directly with the paragraph contents. This code was moved up to
2136 output_docbook.C (docbookParagraphs).
2137 * sgml.C (openTag, closeTag): removed unneeded newlines.
2138 (closeEnvTags) removed.
2140 2004-10-23 André Pönitz <poenitz@gmx.net>
2142 * undo.C (textUndoOrRedo):
2143 * dociterator.C (asDocIterator): work around crash
2145 * cursor.C (getStatus): replace ASSERT by more verbose error message
2146 and manual correction of the problem. Should increase stability
2147 while providing more sensible information.
2149 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2151 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
2153 * bufferlist.C (previous, next): new methods
2156 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
2158 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
2160 * buffer.C (makeDocBookFile): add dsssl stylesheet control
2161 entities to preamble.
2163 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2165 * messages.C (Pimpl): strip off translation context information
2167 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2169 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
2170 the cursor is correct (bug 1694)
2172 2004-10-13 José Matos <jamatos@lyx.org>
2174 * output_docbook.C (docbookParagraphs): fix closing tags in the
2175 end of the document.
2177 2004-10-09 José Matos <jamatos@lyx.org>
2179 * buffer.C: format up to 237.
2180 * bufferparams.C (write): use tostr to convert booleans to strings.
2182 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
2184 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
2186 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2188 * LaTeX.C: implement use of babel language in xindy.
2190 2004-10-05 José Matos <jamatos@lyx.org>
2192 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2193 Add new translators to help reading and writing the lyx file.
2195 2004-10-05 José Matos <jamatos@lyx.org>
2197 * ParagraphParameters.C (read):
2198 * text.C (readParToken): replace nexToken by more appropriate lex
2201 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
2203 * LaTeX.C (runMakeIndex):
2204 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2205 (usually 'makeindex') configurable.
2207 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2208 with a variable rather than with a number.
2210 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2212 * output_latex.C (TeXOnePar): make sure font setting is the first
2213 thing that gets output (and the last at the end). Should fix bug
2216 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2218 * pch.h: use proper signal include
2220 * LaTeX.h: Use preferred calling of Boost.Signal
2223 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2225 * pch.h: dont include <boost/function/function0.hpp>
2227 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2229 * paragraph_pimpl.h: remove usage of ShareContainer
2231 * paragraph_pimpl.C: remove initialization of ShareContainer.
2233 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2237 * BufferView.C (putSelectionAt): change the semantics when
2238 backwards == true: now, this just swaps cursor and anchor wrt the
2241 * BufferView.h (putSelectionAt): add some documentation
2243 * lyxfind.C (findBackwards): rewrite using while(). In particular,
2244 make sure backwardChar is done at least once (to avoid getting
2246 (findNextChange): use putSelectionAt in the forward direction
2247 (operator()): use Paragraph::isWord
2249 2004-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2251 * Spacing.C (set): c_str fix
2253 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2255 * lyx_cb.C (Reconfigure): quote the name of configure script in
2256 case it contains spaces
2258 2004-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2262 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2263 (BOOST_LIBS): use top_buildir when looking for the file
2265 2004-08-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2267 * pch.h: do not use include boost/format.hpp, multiple symbols
2268 will result (gcc bug)
2271 2004-08-23 José Matos <jamatos@lyx.org>
2273 * bufferparams.C (readToken): fix reading of the author field.
2275 2004-08-20 José Matos <jamatos@lyx.org>
2277 * lyxrc.C: remove support/translator.h inclusion since it is not used.
2279 2004-08-20 José Matos <jamatos@lyx.org>
2281 * lyxlex.[Ch] (findToken): remove function.
2283 * ParagraphParameters.C (findToken):
2284 * bufferparams.C (findToken): replace call for previous function
2285 with local copy. This local function has one more argument, the
2286 read string argument.
2288 2004-08-16 José Matos <jamatos@lyx.org>
2290 * ParagraphParameters.C (write):
2291 * Spacing.C (writeFile):
2292 * bufferparams.C (writeLaTeX):
2293 * lyx_cb.C (Reconfigure):
2294 * paragraph.C (write):
2295 * tabular.C (write): remove unnecessary space at end of line.
2298 2004-08-16 José Matos <jamatos@lyx.org>
2300 * text.C (readParagraph): remove debug message.
2302 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2304 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2307 * output_plaintext.C (asciiParagraph): set depth correctly
2309 * outputparams.h: add member depth
2311 * paragraph_funcs.C (ownerPar): remove.
2313 * text2.C (setCounter): remove first_pit; comment out some
2314 non-working code that uses ownerPar
2316 * BufferView.C (getParentLanguage): remove. Not used anymore, and
2319 2004-08-16 José Matos <jamatos@lyx.org>
2321 * text.C (readParToken, readParagraph, read): report all unknown tokens.
2322 For the same level of importance use the same chanel to report problems.
2323 (read): add code to deal with \begin_body and \end_body.
2326 2004-08-15 José Matos <jamatos@lyx.org>
2328 * lyxlex.C (getString): fix comment, buffer::readBody is now
2329 buffer:readDocument.
2331 * tex-strings.C (string_papersize): Default -> default,
2332 Custom -> custom, for consistency with other options.
2334 2004-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2338 * Makefile.am: support pch
2340 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2342 * text.C (readParToken): remove the static LyXFont variable and
2343 pass it as a parameter instead. This fixes a nasty bug where an
2344 inset will be inserted with a bad font in some situations
2345 (readParagraph): adapt
2347 * text2.C (setCounter): reduce number of calls to pars_[pit]
2349 * text.C (singleWidth): add an assert, fix a test
2351 * rowpainter.C (paintText): reduce number of calls to singleWidth
2353 * paragraph.C (isHfill):
2354 (isNewline): ws only
2356 2004-08-14 André Pönitz <poenitz@gmx.net>
2361 * lyxtext.h (several functions): use a Paragraph & argument
2364 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2366 * metricsinfo.h: add a new field ltr_pos to PainterInfo
2368 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2370 * text.C (singleWidth): remove useless test
2372 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2374 * tabular.h: remove bogus comments
2376 * tabular.C (getDescentOfRow):
2377 (isPartOfMultiColumn): add assertions
2379 * lyxlength.C (inPixels): remove #warning
2381 2004-08-14 André Pönitz <poenitz@gmx.net>
2383 * paragraph.h: inline getChar()
2385 * BufferView.h: remove unused declarations
2387 2004-08-14 José Matos <jamatos@lyx.org>
2389 * Buffer.[Ch] (readDocument): new name for old readBody.
2390 * Buffer.C: new file format, new keywords: \begin_document,
2391 \begin_header, \begin_body, \end_body.
2393 * bufferparams.C (readToken): replace all calls to lex.nextToken
2394 by lex.next(). Do the same to eatLine except where really needed.
2396 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2397 line when writing to the lyx file.
2399 * output_plaintext.C (asciiParagraph): fix Bibliography style
2402 * text.C (read): fix end of file handling.
2404 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2406 * MenuBackend.C (Menu::operator[]): new method to access
2407 individual menu items
2408 (Menu::hasFunc): new method. search for an item that corresponds
2410 (MenuBackend::specialMenu): new method
2411 (MenuBackend::expand): if a special menu has been set, skip
2412 entries whose func() appears in this menu
2414 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2416 * text3.C: use Debug::DEBUG a bit more
2418 * text.C (leftMargin): try to simplify a tiny bit change var x to
2419 l_margin. Dont output the wide margins always.
2420 (rightMargin): no margin in inner texts
2422 * rowpainter.h (nestMargin): new func
2423 (changebarMargin): new func
2424 (rightMargin): new func
2426 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2430 * factory.C (createInset): modify setDrawFrame
2432 * cursor.C: use Debug::DEBUG a bit more
2434 2004-08-14 André Pönitz <poenitz@gmx.net>
2437 * Makefile.am: new files to accomodate an 'external' (x,y)-position
2438 cache for all insets in (at least partially) visible (top-level)
2441 * BufferView_pimpl.C: reset external coord cache before every update.
2442 This means the coord cache only contains valid entries.
2444 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2447 * BufferView_pimpl.C (getInsetByCode): move function out of class
2448 and change in to a template in anon namespace. Also fix to do what
2451 2004-08-13 Lars Gullik Bjønnes <larsbj@lyx.org>
2454 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2456 (breakParagraph): rename par to par_offset and use a local
2457 reference. Add code to keep the language over a rebreak.
2458 (breakParagraphConservative): rename par to par_offset, use a
2460 (mergeParagraph): ditto
2462 (isFirstInSequence): ditto
2463 (outerFont): rename pit to par_offset
2465 * paragraph.C: ws change
2466 * paragraph.h: ditto
2470 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2472 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2475 * paragraph.C (simpleTeXOnePar): when we have a \item with
2476 optional argument, enclose the argument with curly brackets (in
2477 case it contains a closing square bracket)
2481 * text3.C (checkInsetHit): constify
2483 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2485 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2486 documents (bug 1629)
2488 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2490 Fix toggling of collapsable insets with the mouse (bug 1558)
2492 * lyxfunc.C (dispatch): adapt to LCursor changes
2494 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2495 make sure that dispatch is not invoked twice
2497 * cursor.C (needsUpdate): new method
2498 (dispatch): return void
2499 (result): new method, to access the DispatchResult of the cursor.
2501 2004-08-13 José Matos <jamatos@lyx.org>
2503 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2505 2004-08-13 André Pönitz <poenitz@gmx.net>
2507 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2509 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2512 2004-08-12 André Pönitz <poenitz@gmx.net>
2514 * text3.C: take out the 'cursor right' form insertInset and only
2515 do it in those places when it is really needed. Fixes crash on
2518 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2520 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2522 * BufferView_pimpl.C (setBuffer): initialize the current font of
2523 the underlying LyXText
2525 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2527 * kbsequence.C (print): use UI native formatting for menu
2530 * text.C (insertChar): call Paragraph::insertChar with a font
2533 * paragraph.C (insertInset, insertChar): the version that takes a
2534 LyXFont argument is now a wrapper around the other one (the
2535 opposite used to be true).
2537 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2538 argument. Font setting is done in Paragraph now.
2540 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2542 * outputparams.h: add new members intitle and lang.
2544 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2545 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2547 2004-08-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2549 * text3.C (dispatch): remove special handling of button 4 and 5,
2550 it is now taken care of in the frontend code.
2552 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2554 * Spacing.h: add <string> (STLPort compile fix)
2556 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2558 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2560 2004-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2562 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2565 * converter.C (showMessage): inherit from unary_function, make
2568 * buffer.C (writeFile): initialize retval
2570 * InsetList.h: rename private variable list to list_
2571 * InsetList.[Ch]: adjust accordingly.
2573 2004-07-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2575 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2576 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2577 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2578 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2579 * ParagraphParameters.C, LaTeXFeatures.C: replace
2580 "support/std_sstream.h" with <sstream>
2582 2004-07-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2584 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2585 * lyxsocket.C (LyXServerSocket): ditto
2586 (serverCallback): ditto
2588 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2590 * LaTeXFeatures.C: check release date when loading jurabib.
2592 2004-07-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2594 * lyxserver.C (startPipe): call register_socket_callback
2595 (endPipe): call unregister_socket_callback
2597 2004-07-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2599 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2600 (LyXServerSocket): register the callback
2601 (LyXServerSocket): unregister the callback
2602 (fd): delete function
2603 (serverCallback): improve error checking and setup the callbacks.
2604 (dataCallback): change arg to fd.
2605 (writeln): new func (copied fro the client socket) used for server
2607 (LyXDataSocket): simplify
2608 (~LyXDataSocket): close ann unregiser callback
2609 (server): delete function
2610 (fd): delete function
2611 (readln): small changes, improve some std::string usage
2612 (writeln): constify a bit
2614 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2616 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2619 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2621 * BufferView_pimpl.C (setBuffer): set the layout combox value only
2622 after it has been populated
2624 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2626 * text2.C (insertInset): move cursor when inserting inset.
2628 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2630 * kbmap.C (findbindings): a couple of new methods. returns a
2631 container of kb_sequence objects. The real work is done by the
2632 private recursive version
2633 (printbindings): uses findbindings to print out a bracketed list
2634 of bindings (renamed from findbinding).
2636 * MenuBackend.C (binding): use kb_keymap::findbindings
2638 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2640 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2642 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2644 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2646 * paragraph.C (isWord): return true on insets that report
2649 * text.C (getWord): use Paragraph::isWord to decide what is in a
2650 word and what is not; fix bug 1609.
2652 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2654 * tex-strings.C: add "none" to string_paperpackages[], fixes
2655 off-by-one-error in the paperpackage selection.
2658 * tex-strings.[Ch]: char const * string[n]
2659 -> char const * const string[]
2661 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2663 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2664 command, return early.
2666 2004-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
2668 * debug.h: add DEBUG to enum and fix size of ANY.
2670 * debug.C: add support for Debug::DEBUG
2671 (showTags): cast errorTags.level to unsigned int
2673 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2674 (redoCurrentBuffer): ditto
2675 (updateScrollbar): ditto
2676 * cursor.C (dispatch): ditto
2677 * text2.C (setLayout): ditto
2679 (updateCounters): ditto
2681 (deleteEmptyParagraphMechanism): ditto
2683 2004-06-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2685 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2686 annotations to cleanup the Makefile slightly.
2688 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2690 * lyxrc.C: do not set user_email to a default value but use empty
2691 instead. The entry used to be translated, which does not work
2692 since at the point where lyxrc is constructed there is no
2693 translation service available
2695 * messages.C (getLocaleDir): remove and use directly
2696 lyx_localedir() instead
2698 2004-06-02 Angus Leeming <leeming@lyx.org>
2700 Fix crash caused by dereferencing null pointer 'exportdata' in
2701 OutputParams by creating a new ExportData variable on the heap,
2702 storing it in a boost::shared_ptr.
2703 The crash was triggered when generating an Instant Preview
2704 of an external inset.
2706 * Makefile.am: add outputparams.C
2708 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2709 (c-tor): allocate memory to it.
2711 * exporter.C (c-tor): associated changes.
2713 2004-06-01 Angus Leeming <leeming@lyx.org>
2715 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2716 contains data before calling isInset(0). (Bug 1513.)
2718 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2720 * exporter.C (checkOverwrite): new method
2721 * exporter.C (copyFile): new method
2722 * exporter.C (Export): copy referenced files to the document dir
2723 * exporter.[Ch]: new class ExportedFile
2724 * exporter.[Ch]: new class ExportData. Contains currently the
2725 names of referenced external files
2726 * outputparams.h: add exportdata member.
2728 2004-05-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2730 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2733 2004-05-19 Angus Leeming <leeming@lyx.org>
2738 * lyxfunc.C: small changes due to the introduction of namespace
2739 lyx::frontend and the moving of namespace biblio to lyx::biblio.
2741 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
2743 * text3.C (dispatch): supress update when only moving the cursor
2744 * cursor.C (selHandle): remove commented code
2746 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2748 * paragraph.C (startTeXParParams): correct column count
2749 * CutAndPaste.C (pasteSelection): remove const_cast
2750 * output_docbook.C (docbookParagraphs): remove const_cast
2751 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2752 const_cast and return ParagraphList::const_iterator
2753 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2754 * output_plaintext.C (writeFileAscii): remove const_cast
2755 * paragraph.[Ch] (simpleTeXOnePar): make const
2756 * paragraph_funcs.C (outerPar): use const iterators
2757 * paragraph_pimpl.C (validate): use const iterators
2758 * text.C (setHeightOfRow): use const iterators
2760 2004-05-17 Angus Leeming <leeming@lyx.org>
2763 * LyXAction.C (init): new LFUN_INSET_REFRESH.
2765 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2766 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2767 if the citation engine has changed.
2769 2004-05-14 José Matos <jamatos@lyx.org>
2771 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2772 if the textclass does not provide it. Have it different for sgml and
2774 support the language of document.
2775 * output_docbook.C (docbookParagraphs):
2776 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2777 first anchor as the id of the paragraph, remove special case code.
2778 * sgml.C (escapeChar): escape only < & >.
2780 2004-05-14 Angus Leeming <leeming@lyx.org>
2782 * bufferparams.h: move biblio::CiteEngine enum here to minimize
2783 dependencies on src/frontends/controllers/biblio.h. Define a
2784 CiteEngine_enum wrapper class to enable the enum to be forward
2787 2004-05-12 Angus Leeming <leeming@lyx.org>
2789 * buffer.C: up LYX_FORMAT to 234.
2790 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2791 use_numerical_citations with a single biblio::CiteEngine cite_engine
2793 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2795 2004-05-13 José Matos <jamatos@lyx.org>
2798 * converter.C (Converter, readFlags): add xml member.
2799 * outputparams.h: add XML flavor.
2800 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2802 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2804 * lyxfunc.C (dispatch):
2805 (getStatus): fix handling of LFUN_SEQUENCE
2807 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2809 * debug.C (showLevel): do not forget the end-of-line marker
2811 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2813 * kbmap.C (read): do not stop parsing a bind file when an error
2816 2004-04-29 Angus Leeming <leeming@lyx.org>
2821 * text2.C: wrap a bunch of #warning statements
2822 inside #ifdef WITH_WARNINGS blocks.
2824 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2826 * buffer.C: increment format to 233.
2828 2004-04-28 Angus Leeming <leeming@lyx.org>
2830 * BufferView_pimpl.C:
2833 s/updateToolbar()/updateToolbars()/
2834 s/Toolbar.h/Toolbars.h/
2836 2004-04-28 Angus Leeming <leeming@lyx.org>
2838 * BufferView.[Ch] (c-tor):
2839 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2840 No longer passes these data to the WorkArea generator.
2842 2004-04-28 Angus Leeming <leeming@lyx.org>
2844 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2846 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2848 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2850 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2852 * output_latex.C (TeXEnvironment): make sure that there is a line
2853 break before \end{foo} for the last paragraph of a document
2854 (TeXOnePar): if the paragraph is at the end of the document (or
2855 inset) and the language has to be reset, then make sure that the
2856 line break is _before_ the language command, not after (fixes bug
2857 1225); also make sure that the language reset command is the first
2858 thing after the paragraph (to ensure proper nesting of
2859 environments and thus fix bug 1404)
2861 2004-04-21 John Levon <levon@movementarian.org>
2864 * ToolbarBackend.C: make "name" be a programmatic name
2865 and a gui_name field.
2867 * lyxfunc.C: display the minibuffer on M-x
2869 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2871 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
2874 2004-04-19 Angus Leeming <leeming@lyx.org>
2876 * BufferView_pimpl.C (setBuffer): changed preview interface.
2878 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2881 2004-04-19 John Levon <levon@movementarian.org>
2883 * BufferView_pimpl.C:
2884 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2886 2004-04-05 Angus Leeming <leeming@lyx.org>
2888 * text.C (redoParagraphs): add call to updateCounters(), thereby
2889 fixing the missing "Figure #:" label from the caption of a
2892 2004-04-13 Angus Leeming <leeming@lyx.org>
2894 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2895 cursor is clicked out of an inset.
2897 2004-04-13 Angus Leeming <leeming@lyx.org>
2899 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2900 than an InsetOld one.
2902 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2904 * format.[Ch]: add editor to Format
2905 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2906 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2908 2004-04-08 André Pönitz <poenitz@gmx.net>
2910 * metricsinfo.h: remove PainterInfo::width member
2912 2004-04-08 Angus Leeming <leeming@lyx.org>
2914 * lyx_sty.C (boldsymbol_def): modify so that it outputs
2915 "\providecommand" rather than "\newcommand", thereby preventing
2916 clashes with packages that define "\boldsymbol" themselves.
2919 2004-04-08 Angus Leeming <leeming@lyx.org>
2921 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2922 thereby squashing an unnecessary warning.
2924 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2926 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
2929 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
2931 * BufferView.C (setCursor): call redoParagraph (some insets could
2933 (putSelectionAt): remove the 'double update' trick
2935 * BufferView_pimpl.C (fitCursor): call refreshPar
2936 (workAreaDispatch): remove an uneeded update call
2937 (dispatch): remove some manual update calls
2939 * cursor.[Ch]: remove cached_y_, updatePos
2940 (selHandle): set noUpdate when appropriate
2942 * lyxfunc.C (dispatch): track if we need an update
2944 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2946 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2947 (paintSelection): cheap optimization, do not call cursorX when not
2949 (paintPars): change signature
2952 (paintTextInset): adjust
2956 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2958 * lengthcommon.C: compilation fix: remove explicit array size from
2959 unit_name[] and friends
2961 2004-04-05 Angus Leeming <leeming@lyx.org>
2963 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2965 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2966 present only for the preferences dialog.
2967 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2969 2004-04-05 Angus Leeming <leeming@lyx.org>
2971 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2972 to enable the frontends to export changes to lyxrc correctly.
2974 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2976 2004-04-07 André Pönitz <poenitz@gmx.net>
2978 * cursor.[Ch] (selClear, adjust): remove math
2980 * cursor_slice.C: more agressive assert
2983 * BufferView_pimpl.C: rework mouse event dispatch
2990 2004-04-05 André Pönitz <poenitz@gmx.net>
2992 * cursor.[Ch] (valign, halign...): remove unneeded functions
2994 2004-04-05 Angus Leeming <leeming@lyx.org>
2996 * lyxlength.[Ch] (unit_name et al.): const-correct.
2998 2004-04-05 Angus Leeming <leeming@lyx.org>
3000 * BufferView_pimpl.C:
3009 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
3011 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3013 * text3.C (getStatus): add LFUN_BEGINNINGBUF
3015 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3017 * lyxfind.C: add a couple of inTexted() tests + other small fixes
3018 * BufferView_pimpl.[Ch] (getStatus)
3019 * BufferView.[Ch] (getStatus): add
3020 * lyxfunc.C (getStatus): move lfuns handled in
3021 BufferView::dispatch to te function above
3022 * Cursor.C (setSelection): set selection() = true
3024 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3026 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
3028 2004-03-31 Angus Leeming <leeming@lyx.org>
3030 * lyxfunc.C (dispatch): Fall through to the generic
3031 Dialogs::show("preamble").
3033 2004-03-31 Angus Leeming <leeming@lyx.org>
3035 * lyxfunc.C (dispatch): Fall through to the generic
3036 Dialogs::show("spellchecker").
3038 2004-03-31 Angus Leeming <leeming@lyx.org>
3040 * lyxfunc.C (getStatus, dispatch): changed invocation of the
3043 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
3048 * insetiterator.[Ch]:
3053 * undo.[Ch]: s/DocumentIterator/DocIterator/g
3055 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
3057 * BufferView.C (setCursor, putSelectionAt): call edit to open the
3058 insets where we are putting the cursor.
3060 2004-03-31 Angus Leeming <leeming@lyx.org>
3063 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
3065 * lyxrc.[Ch] (read, write): overloaded member functions taking
3066 a std::[io]stream arguments.
3068 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
3070 2004-03-31 Angus Leeming <leeming@lyx.org>
3072 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
3073 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
3075 * lyxtextclass.C (load): if the text class couldn't be loaded, then
3076 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
3078 2004-03-31 Angus Leeming <leeming@lyx.org>
3080 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
3081 the LFUN_ALL_INSETS_TOGGLE code.
3083 2004-03-30 Angus Leeming <leeming@lyx.org>
3085 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
3086 has died. Fall through to the generic Dialogs::show("document").
3088 2004-03-30 Angus Leeming <leeming@lyx.org>
3091 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
3092 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
3094 * lyxfunc.C (getStatus, dispatch): define the actions for these
3095 lfuns. Little more than a cut and pste job from ControlDocument.C
3097 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
3099 2004-03-30 Angus Leeming <leeming@lyx.org>
3102 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
3103 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
3105 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
3106 open/closed state of ollapsable insets. Usage:
3108 all-inset-toggle <state> <name>, where
3109 <state> == "open" || "closed" || "toggle" and
3110 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
3112 * lyxtext.h, text2.C (toggleInset): removed.
3114 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
3115 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
3116 now passes LFUN_INSET_TOGGLE to the found inset.
3118 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
3119 is now invoked as "all-insets-toggle toggle branch".
3121 2004-03-30 Angus Leeming <leeming@lyx.org>
3125 * pariterator.[Ch]: added/corrected header blurb.
3127 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
3129 * dociterator.[Ch]: add an inset_ member
3130 (backwardPos): implemented
3131 (backwardPos, forwardPos): use inset_ when the stack is empty.
3132 (doc_iterator_begin, doc_iterator_end): implemented
3133 * pariterator.[Ch]: adjust, add begin, end
3134 * insetiterator.[Ch]: adjust, add begin, end
3138 * BufferView_pimpl.C:
3139 * CutAndPaste.C: adjust
3141 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3143 * buffer.C: increment file format to 232.
3144 * LaTeXFeatures.C: add bibtopic package.
3145 * bufferparams.[Ch]: param \use_bibtopic.
3147 * lyxrc.[Ch]: add lyxrc bibtex_command
3148 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
3150 * buffer.C: increment file format to 231.
3152 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
3154 * dociterator.C: implement forwardPar
3155 * iterators.[Ch]: remove, replaced by
3156 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
3158 * BufferView_pimpl.C:
3161 * bufferview_funcs.C:
3167 * Makefile.am: adjust
3169 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
3171 * CutAndPaste.C (pasteSelection): fix 2 crashes
3172 (eraseSelection): fix a crash
3173 * paragraph_funcs.C: remove a warning
3175 2004-03-28 Angus Leeming <leeming@lyx.org>
3178 * LyXAction.C (init): new LFUN_PRINT.
3180 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
3182 2004-03-27 Angus Leeming <leeming@lyx.org>
3185 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
3187 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
3189 2004-03-27 Angus Leeming <leeming@lyx.org>
3191 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
3192 insetlist always contains non-null pointers to insets.
3194 2004-03-26 Angus Leeming <leeming@lyx.org>
3196 * src/BufferView_pimpl.C:
3197 * src/CutAndPaste.C:
3200 * src/output_plaintext.C:
3201 * src/outputparams.h:
3202 * src/paragraph_funcs.C:
3206 * src/frontends/controllers/ControlErrorList.C:
3207 * src/frontends/gtk/FileDialogPrivate.C:
3208 * src/frontends/gtk/GPainter.C:
3209 * src/frontends/gtk/GToolbar.C:
3210 * src/frontends/qt2/QRef.C:
3211 * src/mathed/math_scriptinset.C: squash compiler warnings.
3213 2004-03-26 Angus Leeming <leeming@lyx.org>
3215 * ispell.C (LaunchIspell::start):
3216 * lyx_cb.C (AutoSaveBuffer::start):
3217 invoke run(DontWait) rather than runNonBlocking().
3219 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
3221 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3223 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3225 * kbsequence.C (print): adjust
3227 * kbmap.C (printKeySym): rename and change signature
3228 (printKey): use LyXKeySym::print()
3230 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
3232 * undo.C: add using std::advance to compile for stlport
3234 2004-03-24 Angus Leeming <leeming@lyx.org>
3236 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3237 it leads to a crash when no buffer is present.
3239 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3240 Martin Vermeer <martin.vermeer@hut.fi>
3242 * lyxfunc.C (dispatch):
3243 * bufferparams.C (readToken): use the new LColor::setColor
3245 * LColor.[Ch] (setColor): new version that takes two strings as
3246 argument and creates a new color entry if necessary
3248 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3250 * buffer.C (makeLaTeXFile): if the main latex file that is
3251 processed is usually a subdocument of some master, then pretend
3252 for a while that it is actually the master
3254 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3256 * buffer.C (getLabelList):
3257 (getBibkeyList): use getMasterBuffer()
3258 (getMasterBuffer): new method. Returns the main document in the
3259 case where one is using included documents.
3261 2004-03-25 André Pönitz <poenitz@gmx.net>
3265 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3267 * ParagraphList_fwd.h: change ParagraphList to a std::vector
3269 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3270 text*.C over here. Rename namespace CutAndPaste to lyx::cap
3272 * ParameterStruct.h: merge with ParagraphParameters
3274 * lyxtext.h: remove LyXText::parOffset() and getPar()
3276 * text3.C: Remove all 'manual' update calls. We do now one per user
3277 interaction which is completely sufficient.
3281 * BufferView_pimpl.C:
3282 * FontIterator.[Ch]:
3284 * ParagraphParameters.[Ch]:
3289 * cursor_slice.[Ch]:
3296 * output_docbook.[Ch]:
3297 * output_latex.[Ch]:
3298 * output_linuxdoc.[Ch]:
3299 * output_plaintext.[Ch]:
3301 * paragraph_funcs.[Ch]:
3302 * paragraph_pimpl.[Ch]:
3310 * frontends/controllers/ControlDocument.C:
3311 * frontends/controllers/ControlErrorList.C:
3312 * frontends/controllers/ControlSpellchecker.C:
3315 * insets/insetbase.h:
3316 * insets/insetbibitem.C:
3317 * insets/insetbox.C:
3318 * insets/insetbranch.C:
3319 * insets/insetcaption.C:
3320 * insets/insetcharstyle.C:
3321 * insets/insetcharstyle.h:
3322 * insets/insetcollapsable.C:
3323 * insets/insetcollapsable.h:
3324 * insets/insetert.C:
3325 * insets/insetfloat.C:
3326 * insets/insetfoot.C:
3327 * insets/insetmarginal.C:
3328 * insets/insetnote.C:
3329 * insets/insetoptarg.C:
3330 * insets/insettabular.C:
3331 * insets/insettext.C:
3332 * insets/insettext.h:
3333 * insets/insetwrap.C:
3334 * mathed/math_mboxinset.C:
3335 * mathed/math_nestinset.C:
3336 * mathed/math_scriptinset.C:
3337 * mathed/math_scriptinset.h:
3340 2004-03-24 Angus Leeming <leeming@lyx.org>
3342 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3343 deal with any child processes that have finished but are waiting to
3344 communicate this fact to the rest of LyX.
3346 2004-03-24 Angus Leeming <leeming@lyx.org>
3348 64-bit compile fixes.
3350 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3351 (c-tor): pass lyx::pos_types rather than ints.
3353 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3356 * text.C (Delete): compile fix.
3357 (getPar): ensure that function declaration is the same as that in
3360 2004-03-23 Angus Leeming <leeming@lyx.org>
3362 * ispell.C (LaunchIspell):
3363 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3364 a boost::shred_ptr rather than a std::auto_ptr.
3366 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3368 * lyxfunc.C (getStatus): handle read-only buffers correctly;
3369 handle LFUN_FILE_INSERT_*
3371 * lyxrc.C (setDefaults, getDescription, output, read):
3372 * lyxrc.h: remove ps_command
3374 2004-03-22 Angus Leeming <leeming@lyx.org>
3376 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3377 Ensure that error_handler is processed once only and that all data
3378 is saved before attempting to output any warning messages.
3380 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3382 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
3384 * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3386 2004-03-19 André Pönitz <poenitz@gmx.net>
3388 * cursor.[Ch] (reset): take main text inset as argument
3390 * BufferView: adjust
3391 * BufferView_pimpl.C: adjust
3393 * paragraph.[Ch]: fix completely broken operator=()
3395 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3397 * LColor.C (getFromLyXName): make sure that the color name is used
3400 2004-03-17 Angus Leeming <leeming@lyx.org>
3403 * LyXAction.C (init): remove LFUN_FORKS_KILL.
3405 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3406 dialog and to kill a forked process.
3408 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3410 * text2.C (setCursorFromCoordinates): fix font problem
3412 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3414 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3415 bogus "rebuild cursor" code
3417 2004-03-11 André Pönitz <poenitz@gmx.net>
3419 * buffer.[Ch]: use InsetText instead of LyXText as container for
3422 * dociterator.[Ch]: drop the BufferView * member which is not needed
3423 anymore after the change to buffer.C
3425 * paragraph_funcs.C:
3429 * BufferView_pimpl.[Ch]:
3431 * cursor_slice.[Ch]: adjust
3433 * text3.C: fix bug in mathDispatch
3435 2004-03-08 André Pönitz <poenitz@gmx.net>
3437 * undo.[Ch]: use 'StableDocumentIterator' as base for
3440 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3443 * bufferparams.[Ch]: add jurabib support and param.
3445 * LaTeX.C: add FIXME/comment.
3447 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3449 * buffer.C: increment file format to 230.
3451 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
3453 * cursor.C (dispatch): avoid infinite loops
3455 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3457 * rowpainter.C (paintSelection): fix x coordinates
3459 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3461 * text.C (rowBreakPoint): fix breaking before displayed insets
3463 2004-03-01 André Pönitz <poenitz@gmx.net>
3465 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3467 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3471 * BufferView_pimpl.C:
3479 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3485 * BufferView_pimpl.C: rename textwidth -> maxwidth,
3486 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3488 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3490 * Bidi.[Ch] (computeTables): const correctness
3491 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3492 fill_hfill, fill_label_hfill and x from Row
3493 * lyxtext.h: prepareToPrint returns a RowMetrics
3494 * rowPainter.C: adjust
3495 * text.C (prepareToPrint): use width, not textWidth. adjust
3496 (redoParagraphInternal, cursorX): adjust
3497 * text2.C (getColumnNearX): adjust
3498 (init): put a default value to the top LyXText::width
3500 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3502 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3504 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3506 * lyxtext.h: add FontIterator class
3508 * text.C (FontIterator, operator*, operator->, operator++): add
3509 (rowBreakPoint, setRowWidth): adjust (fixing a
3512 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3514 * BufferView_pimpl.C (workAreaDispatch): allow also
3515 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3517 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
3519 * text.C (rowBreakPoint): fix a bug showing with very large insets
3521 2004-02-25 André Pönitz <poenitz@gmx.net>
3524 * cursor.[Ch]: move some mathed specific code to mathed
3526 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3528 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3529 use_tempdir in preferences
3530 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3532 * lyx_main.C: ensure that tempdir is valid
3533 * lyxlex.h: correct typo
3534 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3535 * paragraph.[Ch] (isMultiLingual): make const
3536 * cursor.[Ch] (openable): make const
3538 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3540 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3542 2004-02-20 André Pönitz <poenitz@gmx.net>
3544 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3546 * cursor.[Ch]: prepare for localized getStatus()
3552 * text3.C: streamlines the LyXText cursor movement handlers a bit.
3554 2004-02-20 André Pönitz <poenitz@gmx.net>
3556 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3558 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3560 * text2.C (setCursorFromCoordinates): switch to absolute coords
3562 (cursorDown): adjust
3563 * text3.C (dispatch): adjust
3565 2004-02-16 André Pönitz <poenitz@gmx.net>
3567 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3570 * cursor_slice.[Ch]: remove unneeded acessor function
3572 * lyxtext.h: rename rtl() to isRTL()
3580 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3582 * rowpainter.C (paintSelection): coord fix
3584 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3586 * Spacing.C: compile fix
3588 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3590 * cursor.C (dispatch): restore current_ before returning
3592 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3594 * text2.C (cursorUp, cursorDown): fix coords
3597 2004-02-12 André Pönitz <poenitz@gmx.net>
3602 * text3.C: add LCursor & parameter to most cursor movement functions
3603 remove usage of LyXText::cursorRow() and cursorPar()
3605 * cursor.[Ch]: add textRow() needed members
3608 * BufferView_pimpl.C:
3611 * BufferView_pimpl.C: adjust
3613 2004-02-11 André Pönitz <poenitz@gmx.net>
3617 * BufferView_pimpl.C: shift undo/redo handling
3619 * cursor.[Ch]: fix mathed crash
3622 * lyxtext.h: move selectionAsText to LCursor
3630 * rowpainter.C: fix excessive drawing
3632 2004-02-06 André Pönitz <poenitz@gmx.net>
3635 * BufferView_pimpl.[Ch]:
3636 * text3.C: move some text specific LFUN handling
3638 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
3640 * text3.C (checkInsetHit): adjust coords
3641 * text2.C (getColumnNearX): adjust coords
3642 (edit): adjust coords
3643 * text.C (getRowNearY): add two asserts
3645 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
3648 * format.C: add using std::distance to compile on gcc 2.95/stlport
3650 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
3652 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3654 2004-02-04 André Pönitz <poenitz@gmx.net>
3656 * BufferView.[Ch] (insertInset):
3657 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3662 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3664 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3665 on the default clause of the switch
3666 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3667 wasn't catched by LCursor::dispatch
3669 2004-02-03 André Pönitz <poenitz@gmx.net>
3672 * cursor.[Ch]: some additional asserts
3674 * undo.[Ch]: remove LyXText dependency in interface
3678 * lyxtext.h (firstPar, lastPar): remove dead functions
3683 * paragraph.[Ch]: adjust
3685 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3687 * lyxfind.C (find): fix argument order in call to ::find
3689 2004-02-02 André Pönitz <poenitz@gmx.net>
3691 * cursor.[Ch]: remove direct access to anchor
3693 * text.C: remove findText() hack
3695 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3697 * iterators.[Ch] (lockPath): remove in favour of...
3698 * BufferView.[Ch] (setCursor): this addition
3699 * BufferView.C (putSelectionAt): adjust
3700 * undo.C (performUndoOrRedo): adjust
3701 * lyxfunc.C (dispatch): adjust
3703 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3705 * iterators.C (lockPath): add a missing slice
3706 * undo.C (performUndoOrRedo): remove redundant positioning code
3708 2004-02-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3710 * vc-backend.C (scanMaster): ";" -> ';'
3712 2004-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
3714 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3715 std::binary_function
3717 * lyxtextclass.C (compare_name): rename to...
3718 (LayoutNamesEqual): ...this
3720 * lyxlex_pimpl.C (compare_tags): inherit from
3721 std::binary_function, put back into anon namespace
3723 * lyxfind.C (MatchString): inherig from std::binary_function
3724 (findChange): use empty() istead of !size()
3726 * format.C (FormatNamesEqual): new functor
3733 * converter.C (compare_Converter): rename to...
3734 (ConverterEqual): ...this, and fixup a bit.
3735 (getConverter): use it, and make function const
3736 (getNumber): use it, and make function const
3740 * bufferlist.C: add using boost::bind
3742 * MenuBackend.C (MenuNamesEqual): new functor
3743 (hasMenu): use it, and make function const
3744 (hasSubmenu): use nested bind to get rid of compare_memfun.
3746 2004-01-30 André Pönitz <poenitz@gmx.net>
3748 * BufferView_pimpl.C:
3751 * cursor_slice.[Ch]:
3754 * paragraph_funcs.C:
3755 * paragraph_funcs.h:
3759 * text3.C: move some of the edit(x,y) handling to the insets
3760 some coordinate changes.
3762 2004-01-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3764 * text.C: add using statements for std::advance and std::distance
3766 * paragraph.C: add using statement for std::distance
3768 * lyxfind.C: add using statement for std::advance
3770 * cursor.C (region): remove std:: from swap
3771 (openable): use nucleus in stead of operator->
3773 * BufferView.C: add using statements for std::distance and std::swap
3775 2004-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3777 * iterators.C: Remove the pimple, move the needed structures to
3778 the header file. Create accessor for the positions stack.
3779 (asPosIterator): remove function
3781 * PosIterator.C (PosIterator): move constructors to top of file
3782 (PosIterator): reimplement the constructor taking a ParIterator in
3784 (setFrom): new function
3785 (operator!=): inline it
3787 2004-01-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3789 * lyxfind.C (replaceAll): use std::advance
3791 * iterators.h: inherit from std::iterator.
3793 * PosIterator.C (advance, distance): remove
3794 * PosIterator.h: interit from std::iterator.
3796 2004-01-26 André Pönitz <poenitz@gmx.net>
3799 * BufferView_pimpl.[Ch]:
3803 * bufferview_funcs.C:
3813 * output_linuxdoc.C:
3814 * output_plaintext.C:
3816 * paragraph_funcs.[Ch]:
3817 * paragraph_pimpl.[Ch]:
3823 * text3.C: more IU: dumps most of the rest of the mathcursor
3824 implementation into cursor.[Ch]; "globalize" a bit of it.
3826 2004-01-25 Angus Leeming <leeming@lyx.org>
3828 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3830 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3832 * LaTeXFeatures.h: add nice_ and nice() const
3833 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3835 2004-01-20 André Pönitz <poenitz@gmx.net>
3838 * BufferView_pimpl.C:
3840 * bufferview_funcs.C:
3842 * cursor_slice.[Ch]:
3853 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3854 LCursor and mathcursor parts to LCursor and InsetBase.
3856 2004-01-15 André Pönitz <poenitz@gmx.net>
3858 * cursor_slice.[Ch]: add a few covienience functions
3860 * funcrequest.[Ch]: remove BufferView * member
3862 * BufferView_pimpl.C:
3869 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
3871 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
3873 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
3874 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3876 2004-01-13 André Pönitz <poenitz@gmx.net>
3879 * lyxtext.h: hide cursor and selection anchor behind accessor function
3882 * BufferView_pimpl.[Ch]:
3884 * bufferview_funcs.C:
3894 * cursor_slice.[Ch]: some integer type changes for inset unification
3896 * lyxcursor.[hC]: remove, it's CursorSlice now.
3899 * BufferView_pimpl.[Ch]:
3900 * bufferview_funcs.C:
3906 * textcursor.[Ch]: adjust
3908 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
3910 * text2.C (undoSpan): add and use
3911 * text.C (breakParagraph): use undoSpan (fix bug 578)
3914 2004-01-08 Angus Leeming <leeming@lyx.org>
3916 * BufferView_pimpl.C (MenuInsertLyXFile):
3917 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3918 * lyxfunc.C (menuNew, open, doImport):
3919 FileFilterList change to the FileDialog open and save functions.
3921 2004-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
3923 * ShareContainer.h: make isEqual and isUnique adaptable
3925 * CutAndPaste.C: make resetOwnerAndChanges adaptable
3927 2004-01-07 Angus Leeming <leeming@lyx.org>
3930 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3932 * BufferView_pimpl.C (dispatch): act on these LFUNs.
3934 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3935 functions replacing find, replace and replaceAll.
3937 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3938 LFUN_WORDFIND(FORWARD|BACKWARD).
3940 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3942 * text.C (breakParagraph): remove an outdated #warning
3944 2004-01-07 André Pönitz <poenitz@gmx.net>
3946 * lyxfind.C: somewhat clearer logic
3948 * text.C: prevent crash in cursorX on unitialized row cache
3950 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3952 * lyxcursor.[Ch] (operator>): add
3953 * textcursor.C (selStart, selEnd): use std::min and std::max
3955 2004-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3957 * Chktex.C: include boost/format.hpp
3959 2004-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
3961 * InsetList.C: replace functor MathcIt with adaptable functor
3963 (insetIterator): modify accordingly
3965 * BranchList.h: move the BranchNamesEqual functor here from...
3966 * BranchList.C: ... to here
3968 * BranchList.C: new BranchListEqual fuctor, use it. Remove
3970 (add): replace a finding loop with std::find_if.
3972 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
3974 * output_docbook.C: moving LatexParam functionality into
3977 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3979 * buffer.C: increment format to 229.
3981 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
3984 * lyx_sty.[Ch]: remove minipageindent_def
3990 * text3.C: remove LFUN_INSET_MINIPAGE
3992 2003-12-28 Angus Leeming <leeming@lyx.org>
3994 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
3996 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
3998 * text2.C (setParagraph): fix off-by-one crash
4000 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
4002 * output_docbook.C: header stuff for AGU
4004 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
4006 * text2.C (redoCursor): remove
4009 * BufferView_pimpl.C: remove calls to redoCursor and
4010 setCursor(cursor.par(), cursor.pos()) all around
4012 2003-12-15 Angus Leeming <leeming@lyx.org>
4014 * buffer.C: up the format to 228.
4016 2003-12-15 André Pönitz <poenitz@gmx.net>
4018 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
4023 * BufferView_pimpl.C:
4032 2003-12-15 Angus Leeming <leeming@lyx.org>
4034 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
4035 than getFromGUIName to manipulate the color.
4037 2003-12-14 Angus Leeming <leeming@lyx.org>
4039 * BranchList.[Ch]: minimize the API.
4040 (Branch::getBranch, getColor): now return a 'const &'.
4041 (Branch::setSelected) now returns a bool set to true if the
4042 selection status changes.
4043 (BranchList::clear, size, getColor, setColor, setSelected,
4044 allBranches, allSelected, separator): removed.
4045 (BranchList::find): new functions, returning the Branch with
4047 (BranchList::add, remove): return a bool indicating that
4048 the operation was successful.
4050 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
4051 new InsetBranch::isBranchSlected member function.
4053 * LColor.[Ch]: mimimize the API.
4054 (fill): renamed as addColor and made private.
4055 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
4056 versions of these functions taking a string arg have been removed.
4058 * bufferparams.C (readToken):
4059 * lyxfunc.C (dispatch):
4060 * lyxrc.C (read): changes due to the altered BranchList and
4063 * factory.C (createInset, readInset): changes due to altered
4066 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4069 * lyxfunc.C: remove insetminipage. "minipage-insert"
4070 now produces a frameless minipage box inset.
4072 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4074 * textcursor.[Ch] (selStart,selEnd): add new methods
4075 remove selection::start, end, use LyXCursor::operator<
4076 * lyxcursor.[Ch] (operator<): add
4077 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
4078 * BufferView.[Ch] (unsetXSel): add
4079 * text2.C (clearSelection): use unsetXSel,adjust
4082 * rowpainter.C: adjust
4083 * bufferview_funcs.C (put_selection_at): adjust
4085 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4087 * BufferView_pimpl.C: small coord. correction
4089 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4091 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
4092 dragging over the splash screen.
4094 2003-12-11 Angus Leeming <leeming@lyx.org>
4096 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
4097 as it is now handled in LyXText::dispatch.
4099 * text3.C (doInsertInset): remove a level of nesting.
4101 2003-12-11 Angus Leeming <leeming@lyx.org>
4103 * factory.C (createInset): changes due to the changed interface to
4104 InsetCommandMailer::string2params.
4106 2003-12-10 Angus Leeming <leeming@lyx.org>
4108 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
4109 'dialog-show-new-inset <inset name>'
4111 2003-12-10 Angus Leeming <leeming@lyx.org>
4113 * buffer.C: up the format to 227.
4115 * factory.C: the box inset is now identified simply by 'Box'.
4117 2003-12-10 Angus Leeming <leeming@lyx.org>
4119 * buffer.C: up the format to 226.
4121 * factory.C: the note inset is now identified simply by 'Note'.
4123 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
4125 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
4126 when a pit is enough. Standarize a couple of loops.
4128 2003-12-05 Angus Leeming <leeming@lyx.org>
4130 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
4131 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
4132 data to the re-worked "log" dialog.
4134 2003-12-03 André Pönitz <poenitz@gmx.net>
4140 * paragraph_funcs.C:
4142 * text2.C: use Inset::getText instead of Inset::getParagraph
4144 2003-12-03 André Pönitz <poenitz@gmx.net>
4148 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
4149 InsetText::read() as LyXText::read()
4151 2003-12-02 Angus Leeming <leeming@lyx.org>
4153 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
4154 type. Add a comment in the implementation that the function uses
4155 the stream's bad() function rather than fail() as the std::streams
4158 2003-12-02 André Pönitz <poenitz@gmx.net>
4160 * lyxlex.[Ch]: make interface more similar to std::stream
4162 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
4164 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
4166 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
4168 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
4170 * vspace.[Ch]: remove VSpace::NONE
4172 2003-12-01 André Pönitz <poenitz@gmx.net>
4175 * lyxtext.h: move ParagraphList member to LyXText
4176 rename LyXText::ownerParagraphs to LyXText::paragraph
4179 * bufferview_funcs.C:
4189 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
4191 * undo.C: fix cursor positioning
4193 2003-12-01 John Levon <levon@movementarian.org>
4195 * BufferView_pimpl.C: fix a crash on exit with
4198 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
4200 * BranchList.C: fix setSelected() method.
4202 2003-11-28 André Pönitz <poenitz@gmx.net>
4204 * ParagraphParameters.[Ch]:
4205 * ParameterStruct.h: remove space above/below from Paragraph to
4208 * BufferView_pimpl.C:
4214 * paragraph_funcs.C:
4220 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
4222 * factory.C: Syntax change for CharStyles
4224 2003-11-28 André Pönitz <poenitz@gmx.net>
4229 * buffer.[Ch]: move LyXText member
4231 2003-11-28 André Pönitz <poenitz@gmx.net>
4233 * BufferView.[Ch]: make LyXText * text a private member
4235 * BufferView_pimpl.C:
4246 * output_plaintext.C: cleanup
4248 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
4251 * lyxtextclass.[Ch]: parametrize SGML document header
4253 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
4256 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4259 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
4261 * text2.C (setFont): rework using PosIterator (no more recursive)
4262 (setCharFont): no more needed
4263 (setLayout): no more selection cursors fiddling (done by redoCursor)
4264 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4265 destroy remaining ones)
4267 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
4269 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4271 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4274 * text3.C: adjust + re-allow multi par depth changes
4275 * textcursor.C: simplify a bit
4277 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
4283 * src/output_docbook.C:
4284 * src/output_latex.C:
4289 * src/text2.C: Introducing a number of tags parametrizing various
4290 XML formats that we may want to support
4292 2003-11-25 André Pönitz <poenitz@gmx.net>
4294 * InsetList.[Ch] (begein, end): inline as suggested by profiler
4296 * lyxtext.h (leftMargin/rightMargin): simplify interface
4303 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4305 * lyxfunc.C (dispatch): propogate the bibtex databases from the
4306 master file to any child files. Fixes bug 546.
4308 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4310 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4312 2003-11-24 André Pönitz <poenitz@gmx.net>
4314 * rowpainter.C: simplification
4316 * text2.C (updateCounters): remove call to redoParagraph on
4317 changed labels as this is far too expensive.
4319 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4321 * converter.C (convert): fix a crash: this function gets
4322 called with buffer == 0 from importer code.
4324 2003-11-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4326 * text3.C (cursorPrevious): make sure that we do not compare
4327 iterators form different containers.
4330 * rowpainter.C (paintSelection): make sure that we do not compare
4331 iterators from different containers.
4333 * text3.C (dispatch): [PRIOR] make sure that we do not compare
4334 iterators from different ParagraphList containers.
4337 * text2.C (LyXText): change order of initialization slightly
4338 (operator=): new function. copy all variables except cache_par_
4339 (moveUp): make sure that we do not compare iterators from
4340 different ParagraphList constainers.
4343 * text.C (firstPar): new function
4344 (lastPar): new function
4345 (endPar): new function
4347 * lyxtext.h: move things around and group public functions, public
4348 variables, private functions, private variables
4350 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
4352 * factory.C: change call to InsetERT constructor to avoid
4353 additional invocation of method status
4354 * text2.C (toggleInset): remove redundant update() call
4355 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4356 instead of a Bufferview pointer
4358 2003-11-21 André Pönitz <poenitz@gmx.net>
4360 * rowpainter.C: simplification
4362 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4364 * text3.C (dispatch): make possible to extend a word/row selection
4367 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4369 * lyxtext.h: x0_,y0_ -> xo_,yo_
4370 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4371 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4372 * rowpainter.C (paintRows): paint full paragraphs
4374 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4376 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4379 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4381 * lyxtext.h: add x0_, y0_
4382 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4383 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4385 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
4387 * text2.C (setCursorIntern): move the x_target update here *
4388 * text3.C: change some bv() to true/false in calls to
4389 cursorUp/Down/Right/Left
4390 * cursor.C: use helper function.
4392 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4394 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4395 * paragraph_funcs.[Ch]: correct comment
4396 * rowpainter.C: do not paint selections away from bv->cursor()
4397 Fix a long standing selection painting bug.
4398 * text3.C: generalize mouse-selection code to LyXTexts other that
4400 * textcursor.C: do not use y coords if we can use par offsets
4402 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4404 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4405 cursor position after e.g. inset insert)
4407 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
4409 * lyxfind.C (replace): adjust to locking removal + some
4412 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
4414 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4417 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
4420 * output_docbook.C: XML sanitation: new layout
4421 parameters InnerTag and CommandDepth
4423 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
4425 * BufferView_pimpl.C:
4427 * text3.C: Fix the insertion and modification of button-style
4430 2003-11-13 André Pönitz <poenitz@gmx.net>
4432 * InsetList.[Ch]: remove deleteLyXText
4434 * paragraph.[Ch]: cache beginOfBody position
4439 * text3.C: remove superfluous update() calls
4443 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
4445 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4446 * BufferView.C (fitLockedInsetCursor): remove
4447 * cursor.[Ch] (getDim): add
4448 * text.C (getRowNearY): add faster version
4449 * text3.C: remove some update calls
4451 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
4463 * text3.C: The Character Style /XML short element patch.
4465 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
4468 * factory.C: Small step to solving 'unable to insert some insets'
4471 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
4473 * cursor.[Ch] (updatePos): new function for updating the y
4474 position of the tip inset
4475 * bufferview_funcs.C (put_selection_at):
4476 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4478 2003-11-11 André Pönitz <poenitz@gmx.net>
4480 * text.C: remove big comment on invalid Paragraph pointers as it is
4483 2003-11-11 André Pönitz <poenitz@gmx.net>
4485 * text_funcs.[Ch]: merge with ...
4493 * Makefile.am: remove text_funcs.[Ch]
4495 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
4497 * cursor.C (getPos): return absolute cached y coord
4499 * BufferView_pimpl.C (fitCursor): new simplistic code
4500 (workAreaDispatch): add a fitCursor call
4502 2003-11-10 André Pönitz <poenitz@gmx.net>
4505 * BufferView_pimpl.[Ch]: merge update() and updateInset()
4507 2003-11-10 André Pönitz <poenitz@gmx.net>
4509 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4510 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4511 indicate that the cursor needs to leave an inset
4513 * lyxtext.h: remove inset locking
4515 * cursor.[Ch]: re-implement functionality provided by inset locking
4518 * BufferView_pimpl.[Ch]:
4520 * bufferview_funcs.[Ch]:
4532 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
4534 * PosIterator.[Ch]: replace the stack with a vector, add inset
4536 * iterators.[C]: adjust
4538 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4540 * lyxfind.C (replaceAll): mark the buffer dirty if something was
4542 * paragraph_funcs.C (readParToken): put the correct id in the
4543 error item, not the id of the top paragraph
4545 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4547 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4548 * bufferview_funcs.C (put_selection_at): use the above
4550 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4552 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4554 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4556 * output_linuxdoc.h:
4557 * output_plaintext.h:
4559 * output_docbook.h: add #include statements
4561 2003-11-05 José Matos <jamatos@lyx.org>
4563 * output_docbook.[Ch]:
4564 * output_latex.[Ch]:
4565 * output_linuxdoc.[Ch]:
4566 * output_plaintext.[Ch]: New files for output formats.
4567 * output.[Ch]: New file for helper functions.
4570 * paragraph_funcs.[Ch]: output functions moved to new files.
4572 * outputparams.h: rename of latexrunparams.h
4580 * paragraph_funcs.[Ch]:
4581 * paragraph_pimpl.[Ch]:
4582 * tabular.[Ch]: rename ascii to plaintext
4583 and LatexRunParams to OutputParams.
4585 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4587 * iterators.[Ch] (text): require bv argument
4588 * undo.C (recordUndo):
4589 * lyxfunc.C (dispatch):
4590 * bufferview_funcs.C (put_selection_at): adjust
4592 2003-11-05 Jo� Luis M. Assirati <assirati@fma.if.usp.br>
4594 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4596 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4598 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4601 2003-11-04 André Pönitz <poenitz@gmx.net>
4603 * cursor.[Ch]: restructure
4606 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4608 * iterators.[Ch] (asCursor): remove
4610 * lfuns.h: remove LFUN_INSET_EDIT
4616 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4618 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4620 * lyxfind.[Ch]: complete overhaul
4621 * BufferView_pimpl.C:
4623 * paragraph.[Ch] (insert): add
4625 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4629 * text.C: remove dead spellcheck code
4631 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4633 * dispatchresult.h: add a val setter
4635 * cursor.C (dispatch): use a tempvar for data_[i]
4637 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4639 * PosIterator.[Ch]: compile fix
4641 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4643 * text.C (cursorPar): deactivate the cursor cache
4645 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4647 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4649 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4651 * text3.C (dispatch): adjust for new DisptchResult semantics.
4653 * lyxfunc.C (dispatch): handle update when return from
4654 Cursor::dispatch, adjust for new DispatchResult semantics.
4656 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4657 DispatchResult(true) mean to not update. Add class functions for
4658 setting dispatched and update, as well as reading.
4660 * cursor.C (dispatch): don't handle update here
4662 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4664 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4665 * trans_mgr.C: adjust
4667 * paragraph_funcs.C (readParToken): exception safety
4669 * lyxvc.h: store the vcs pointer in a scoped_ptr
4672 * lyxsocket.C (serverCallback): exception safety
4674 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4676 * ispell.C (clone): make it return a auto_ptr
4678 * factory.C (createInset): exception safety
4679 (readInset): exception safety
4681 * bufferlist.C (newBuffer): exception safety
4683 * Thesaurus.C (Thesaurus): use initialization for aik_
4685 * MenuBackend.C (expandToc): exception safety.
4687 2003-11-03 André Pönitz <poenitz@gmx.net>
4691 * bufferview_funcs.C: remove getInsetFromId()
4694 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4700 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4702 * PosIterator.C (distance, advance): new
4703 * bufferview_funcs.[Ch] (put_selection_at): new
4704 * iterators.[Ch] (lockPath): new
4706 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
4708 * iterators.[Ch] (asPosIterator): added
4709 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4710 * PosIterator.[Ch]: added
4712 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4716 * cursor.C (dispatch):
4717 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4719 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4720 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4721 contructor, add a class function dispatched. Remove operator>=
4723 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4725 * debug.C: only use the default constructor for debugstream
4728 * main.C (main): include debug.h and setup the lyxerr streambuf
4731 2003-10-31 José Matos <jamatos@lyx.org>
4733 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4735 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4736 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4737 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4738 * paragraph_pimpl.C (simpleTeXSpecialC):
4739 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4740 add LatexRunParams argument.
4742 * exporter.C (Export): change call accordingly.
4744 * latexrunparams.h: add new member to take care of the other backends.
4745 2003-10-30 José Matos <jamatos@lyx.org>
4747 * buffer.C (makeLinuxDocFile, makeDocBookFile):
4748 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4749 factorise code for paragraph output.
4751 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4754 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4756 * text3.C (dispatch):
4757 * lyxfunc.C (dispatch):
4758 * cursor.C (dispatch):
4759 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4761 * dispatchresult.h: make the dispatch_result_t ctor explicit
4763 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
4766 * buffer.C: small refactoring of docbook stuff
4768 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4770 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4773 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4775 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4776 operator dispatch_result_t, and operators for == != and >=
4778 * cursor.C (dispatch): adjust for operator dispatch_result_t
4779 removal. comment out call to update
4781 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4783 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4791 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4794 * dispatchresult.h: new file, DispatchResult broken out of
4797 * Makefile.am (lyx_SOURCES): add dispatchresult.h
4799 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4801 * text.C (rowBreakPoint): put a hack inside #if 0
4803 2003-10-28 André Pönitz <poenitz@gmx.net>
4807 * paragraph_funcs.C:
4810 * text2.C: general cleanup (lots of small stuff)
4812 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4814 * text2.C (cursorEnd): simple fix to the "end key goes to one
4815 before the end on last row" bug
4817 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4819 * text.C (backspace): fix the "zombie characters"
4821 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4823 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4825 2003-10-27 André Pönitz <poenitz@gmx.net>
4827 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4829 * factory.C: handle new InsetPagebreak, InsetLine
4831 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4832 and move handling into new InsetPagebreak, InsetLine
4834 * BufferView_pimpl.C:
4836 * ParagraphParameters.C:
4837 * ParameterStruct.h:
4842 * paragraph_funcs.C:
4843 * paragraph_pimpl.C:
4849 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4852 * lyxrow_funcs.[Ch]:
4858 * text3.C: remove lastPos uses in favour of Row::endpos
4860 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4862 * undo.C (performUndoOrRedo): fix two crashes by setting a
4863 cursor by hand and reordering some calls. Use bv->lockInset instead
4864 of inset->edit because the latter loses cursor information
4866 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
4868 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4870 (rowBreakPoint): fix width. change point to point + 1.
4871 Add a missing check.
4873 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
4876 * lyxfunc.C: fix (at least partly) the problems
4877 with the Nav menu and headers inside branch insets
4880 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
4882 * paragraph.C (getChar): add strong asserts
4884 * lyxrow_funcs.C (lastPos): remove hideous hack
4886 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4887 (fill): adjust to that (avoid an infinite loop)
4889 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
4891 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4893 2003-10-23 André Pönitz <poenitz@gmx.net>
4895 * RowList_fwd.h: change list<> to vector<> to gain speed
4896 after suggestion from Alfredo
4898 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
4900 * lyxtext.h: move the bidi stuff from here...
4903 * Bidi.[Ch]: ... to here
4905 2003-10-23 André Pönitz <poenitz@gmx.net>
4908 * text.C (isLastRow, isFirstRow): new functions
4910 * paragraph.h: new width cache member
4912 * rowpainter.C: replace RowList::iterator with Row & where possible
4914 * lyxfunc.C: replace several view()->text with a single call
4916 * toc.C: fix 'unused' warning
4918 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4920 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4921 when woring with stream::pos_type
4922 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4924 2003-10-22 André Pönitz <poenitz@gmx.net>
4927 * text.C: use Row & instead of RowList::iterator
4929 * lyxrow.h: rename end() to endpos()
4935 2003-10-22 Angus Leeming <leeming@lyx.org>
4937 * buffer.[Ch] (fully_loaded): new member function, returning true
4938 only when the file has been loaded fully.
4939 Used to prevent the premature generation of previews and by the
4940 citation inset to prevent computation of the natbib-style label.
4942 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4943 templates are all set up.
4945 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4947 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
4949 * text.C: fixed an "oops" in the "is a bit silly"
4952 2003-10-21 André Pönitz <poenitz@gmx.net>
4954 * FuncStatus.[Ch]: small stuff, whitespace
4956 * lyxfont.[Ch]: operator<<() for debug reasons
4960 * lyxtext.h: whitespace, spelling
4962 * paragraph.C: naming of variables
4965 * text2.C: small stuff
4968 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
4970 * text.C: (1) finish off the inset display() work;
4971 (2) fix the "is a bit silly" bug (accessing char
4974 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
4976 * text.C: re-introduce display() for insets, fixing the
4977 various bugs (stretch of line above, math inset
4980 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4982 * text.C (rightMargin): remove spurious semicolon
4984 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
4987 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
4989 * text3.C: fix one crash due to wrong cursor def
4991 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4993 * vc-backend.C (scanMaster): make the regex static
4995 * LaTeX.C (scanAuxFile): make the regexs static
4997 * text3.C (doInsertInset, dispatch, dispatch):
4998 * text2.C (cursorUp, cursorDown):
4999 * text.C (selectNextWordToSpellcheck):
5000 * BufferView_pimpl.C (dispatch):
5001 * lyxfunc.C (dispatch): localDispatch -> dispatch
5003 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5005 * lyxsocket.C: include <cerrno>
5007 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5009 * lyxfunc.C (dispatch): remove textcache stuff
5011 * bufferlist.C (release): remove textcache stuff
5014 * TextCache.C: delete file
5015 * TextCache.h: delete file
5017 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
5019 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
5020 delete of the bv_->text.
5021 (resizeCurrentBuffer): remove texcache stuff
5022 (workAreaResize): ditto
5024 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5026 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
5029 2003-10-16 André Pönitz <poenitz@gmx.net>
5036 * text3.C: speed up by storing y positions per paragraph plus per-row
5037 offset instead of having a 'full' y position in the row.
5039 2003-10-15 André Pönitz <poenitz@gmx.net>
5043 * undo.[Ch]: make undo aware of inner insets
5045 2003-10-14 Angus Leeming <leeming@lyx.org>
5047 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
5048 static member functions LyX::ref() and LyX::cref.
5049 (lastfiles): new accessor functions for the new lastfiles_ member var.
5050 (addLyXView, views_): add a new LyXView to the list of views_.
5051 (updateInset): loop over all LyXViews to call their own updateInset
5052 member function, returning a pointer to the Buffer owning the inset.
5054 * BufferView_pimpl.C (loadLyXFile):
5055 * MenuBackend.C (expandLastfiles):
5056 * bufferlist.C (MenuWrite, QuitLyX):
5057 lastfiles is no longer a global variable.
5058 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
5060 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
5061 static function. Access through LyX::cref().emergencyCleanup().
5063 2003-10-14 André Pönitz <poenitz@gmx.net>
5065 * iterators.[Ch]: new direct access to innermost LyXText and Inset
5067 * undo.[Ch]: restoring part of 'undo in insets'
5070 * undo_funcs.[Ch]: merge with undo.[Ch]
5072 * tabular.C: small cleansing stuff
5074 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
5076 * paragraph_funcs.C (readParToken): report unknown insets as error
5077 boxes. Use the outer paragraph as location (also for unknown
5080 * factory.C (readInset): do not abort on reading an unknown inset.
5081 Eat it and return 0.
5083 2003-10-13 Angus Leeming <leeming@lyx.org>
5085 * lyx_main.C (LyX): remove call to setDisplayTranslator().
5087 * lyxrc.C: displayTranslator is now a function,
5088 declared in GraphicsTypes.h.
5090 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5092 * format.C: new placeholder $$a to pass the socket address.
5094 * bufferlist.[Ch]: new function getBufferFromTmp.
5096 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
5097 files in the temporary dir.
5099 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5101 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
5103 * Makefile.am: add lyxsocket.[Ch].
5105 * lyx_main.C (error_handler): handle SIGPIPE.
5107 2003-10-13 André Pönitz <poenitz@gmx.net>
5109 * BufferView_pimpl.C:
5114 * undo_funcs.[Ch]: use paroffset_type instead of
5115 ParagraphList::iterators to prevent multiple conversion
5116 (and get a more robust interface)
5118 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5120 * lyxfunc.C (dispatch): RESULT -> dispatch_result
5122 * text3.C (dispatch): ditto
5124 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5126 * LaTeX.C (handleFoundFile): move the static to smaller scope,
5127 move the onlyfile, use onlyfile instead of foundfile in a couple
5130 * DepTable.C (update): flush the error stream a bit more
5132 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5134 * lyxserver.C (callback): adjust
5136 * lyxfunc.C (getStatus): add a missing brace in commented code
5137 (ensureBufferClean): reindent
5138 (dispatch): delete version taking a string
5140 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5142 * LaTeX.C (deplog): move found file handlig from here...
5143 (handleFoundFile): .. to new function here.
5144 (deplog): make sure to discover several files mentioned on the
5147 2003-10-10 André Pönitz <poenitz@gmx.net>
5154 * text3.C: fix some of the tabular crashes
5156 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5158 * MenuBackend.C (binding): put debug message into Debug::KBMAP
5160 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
5162 2003-10-09 André Pönitz <poenitz@gmx.net>
5164 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
5167 * BufferView_pimpl.C:
5168 * bufferview_funcs.C:
5179 * undo_funcs.C: adjust
5181 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5183 * text2.C (incrementItemDepth): new function, use a backtracking
5184 algorithm to discover the correct item depth.
5185 (resetEnumCounterIfNeeded): new function, use a backtracking
5186 algorithm to discover if counter reset is needed.
5187 (setCounter): use them. Simplify a bit. Add different labels for
5188 different item depths for itemize.
5190 * paragraph.C (Paragraph): remove initialization of enumdepth
5193 * paragraph.h: get rid of enumdepth, and use itemdepth both for
5194 enumerate and itemize. Change the type of itemdepth to signed char.
5196 2003-10-08 André Pönitz <poenitz@gmx.net>
5198 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5203 * tabular.[Ch]: fix crash after 'row-insert'
5205 2003-10-08 Angus Leeming <leeming@lyx.org>
5207 Fix doxygen warnings.
5209 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5210 Remove CutAndPaste:: prefix from header file declaration.
5212 * LColor.h (fill): remove LColor:: prefix from declaration.
5214 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5215 use lyx::depth_type rather than Paragraph::depth_type so that
5216 header file and .C file match.
5218 * converter.h (intToFormat): remove Converters:: prefix from declaration.
5220 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5221 * aspell.C: \file aspell_local.C -> \file aspell.C
5222 * gettext.C: \file gettext.C -> \file src/gettext.C
5223 * gettext.h: \file gettext.h -> \file src/gettext.h
5224 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5225 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5226 * text.C: \file text.C -> \file src/text.C
5228 * toc.C: move comment so that doxygen is not confused.
5230 2003-10-07 Angus Leeming <leeming@lyx.org>
5232 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5234 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5237 * aspell_local.h: add forgotten std::string's.
5239 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
5246 * text3.C: The Box patch. Fancybox support, minipage, parbox
5248 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
5254 * ParagraphParameters.h:
5264 * lyxtextclasslist.h:
5267 * paragraph_pimpl.C:
5268 * textcursor.h: add <string> and other small fixes to make Lars'
5269 std::string patch compile with STLport.
5271 2003-10-06 Angus Leeming <leeming@lyx.org>
5273 * LColor.h: Add missing #include <string>.
5275 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5277 * All most all file in all subdirs: Make <string> be the prefered
5278 way of getting to std::string, add using declarations.
5280 2003-10-06 André Pönitz <poenitz@gmx.net>
5282 * metricsinfo.C: initialize LyXFont before changing attribute.
5283 (fixes the 'math in \emph is upright' bug)
5285 2003-10-06 André Pönitz <poenitz@gmx.net>
5287 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5289 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
5292 * paragraph_pimpl.C: Small fixes to build using STLport
5294 2003-10-02 André Pönitz <poenitz@gmx.net>
5297 * text3.C: move handling of LFUN_DEPTH *; fix #1360
5299 2003-10-01 André Pönitz <poenitz@gmx.net>
5301 * factory.C: assert early
5303 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5305 * lyx_main.C: remove the global debug object
5307 * debug.h: adjust for new debugstream
5309 * debug.C: adjust for new debugstream and keep the global debug
5312 2003-09-22 Angus Leeming <leeming@lyx.org>
5314 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5315 of g++ which otherwise complain that the scoped_ptr destructor can't delete
5316 an incomplete class LyXFont.
5318 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
5320 * factory.C: bug fix in branches
5322 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5324 * lyxfunc.C (processKeySym): adjust
5326 (dispatch): change arg name from ev to func, adjust
5327 (sendDispatchMessage): ditto
5329 * lyx_main.C (defaultKeyBindings): adjust keybindings
5330 (deadKeyBindings): ditto
5332 * kbsequence.C (addkey): return a FuncRequest
5334 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5336 * kbmap.C (bind): take a FuncRequest as arg, adjust
5339 (defkey): change to take a FuncRequest as arg, adjust
5340 (findbinding): take a FuncRequest as arg, adjust.
5342 * funcrequest.h (operator=): added
5344 * funcrequest.C (FuncRequest): default kb_action changed from
5345 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5347 * buffer.C (dispatch): simplify
5348 (dispatch): adjust to take a FuncRequest as arg, adjust
5350 * boost.C (assertion_failed): change assertion message slightly
5352 * ToolbarBackend.C (read): simplify
5354 * MenuBackend.C (binding): adjust call to findbinding, add a
5355 message if no binding is found.
5357 (expandToc): correct by adding a empty FuncRequest
5359 * LyXAction.C: include <boost/assert.hpp>
5360 (isPseudoAction): delete function
5361 (LookupFunc): change name to...
5362 (lookupFunc): this. change return type to FuncRequest.
5363 (getActionName): take kb_action as arg, simplify
5364 (funcHasFlag): add an assert, simplify.
5366 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5368 * toc.C (action): return a FuncRequest, simplify
5370 * lyxfunc.C (processKeySym): adjust
5371 (getStatus): delete version that takes an int.
5373 (dispatch): delete version that takes action as int
5375 (sendDispatchMessage): simplify and adjust
5377 * funcrequest.C (getArg): take unsigned int as arg
5379 * ToolbarBackend.C (read): adjust
5380 (add): delete version that takes func as a string.
5381 (getIton): take a FuncRequest as arg
5383 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5386 * MenuBackend.C (MenuItem): add a new construct that only takes a
5387 Kind, simplify the constructor use for submenus.
5389 (expandLastfiles): adjust
5390 (expandDocuments): adjust
5391 (expandFormats): adjust
5392 (expandFloatListInsert): adjust
5393 (expandFloatInsert): adjust
5394 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5396 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5397 Remove class variables lyx_pseudo_map and lyx_arg_map
5399 * LyXAction.C (searchActionArg): delete function
5400 (getPseudoAction): delete function
5401 (retrieveActionArg): delete function
5402 (LookupFunc): make it return kb_action, simplify.
5403 (getActionName): simplify
5405 * factory.C (createInset): fix new bug
5407 2003-09-19 Angus Leeming <leeming@lyx.org>
5409 * CutAndPaste.C (pasteSelection): remove fudge used to set the
5410 masterFilename_ parameter in the include inset.
5412 * factory.C (createInset): changes due to the changes to InsetInclude.
5414 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5416 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5418 2003-09-18 Angus Leeming <leeming@lyx.org>
5421 * BufferView.C: pass the buffer when calling Inset::getLabelList,
5422 Inset::fillWithBibKeys.
5423 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5425 2003-09-18 Angus Leeming <leeming@lyx.org>
5427 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5429 (ctor): pass and store a 'Buffer const &'
5430 (buffer): new member function.
5432 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5433 '*this' to the LaTeXFeatures ctor.
5435 2003-09-18 Angus Leeming <leeming@lyx.org>
5441 * text.C: rename EnumLColor as LColor_color.
5443 2003-09-18 Angus Leeming <leeming@lyx.org>
5445 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5446 remove #include "insets/insetbase.h" from cursor.h.
5448 2003-09-18 Angus Leeming <leeming@lyx.org>
5450 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5451 InsetOld_code to remove #include "inset.h".
5453 * iterators.C: add #include "insets/inset.h"
5455 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
5457 * BufferView.C: remove more locking stuff that apparently doesn't
5458 do anything sensible.
5460 2003-09-16 André Pönitz <poenitz@gmx.net>
5463 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5466 2003-09-16 Angus Leeming <leeming@lyx.org>
5468 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5470 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5473 * paragraph.h: remove #include "lyxfont.h". Forward declare
5476 2003-09-16 Angus Leeming <leeming@lyx.org>
5478 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5479 of support/textutils.h.
5480 (isWord): move the contents of support/textutils.h's IsWordChar here.
5486 * text2.C: add #include "paragraph.h".
5489 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5491 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5497 * LaTeX.C: use namespace alias for lyx::support::os
5499 2003-09-16 Angus Leeming <leeming@lyx.org>
5502 * bufferview_funcs.C:
5505 * paragraph_pimpl.C:
5507 * text.C: add #include "LColor.h".
5509 2003-09-16 Angus Leeming <leeming@lyx.org>
5511 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5512 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5514 Store the FontBits::color variable as an int rather than as an
5515 LColor::colorso that we can move LColor.h out of the lyxfont.h header
5518 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5519 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5520 string calls together.
5522 * lyxrc.C: add #include "LColor.h".
5524 2003-09-15 Angus Leeming <leeming@lyx.org>
5526 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5529 2003-09-15 Angus Leeming <leeming@lyx.org>
5531 * LColor.h: add an EnumLColor wrapper for LColor::color.
5533 * lyxfont.[Ch] (color, setColor, realColor):
5534 * lyxtext.h, text.C (backgroundColor):
5535 pass EnumLColor args to/from the functions, rather than LColor::color
5539 * lyxtext.h: forward declare EnumLColor.
5541 * lyx_main.C: add #include "LColor.h".
5543 2003-09-15 Angus Leeming <leeming@lyx.org>
5545 * .cvsignore: add lyx-gtk.
5547 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5552 * ParagraphParameters.C
5556 * bufferview_funcs.C
5566 * vc-backend.C: remove usage of STRCONV
5568 2003-09-15 Angus Leeming <leeming@lyx.org>
5570 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5571 explicitly define the color passed to the painter.
5573 2003-09-15 Angus Leeming <leeming@lyx.org>
5575 * bufferparams.C (BufferParams): reorder member initializers to avoid
5578 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
5580 * CutAndPaste.C (pasteSelection): remove an outdated #warning
5581 * text.C (updateRowPositions): remove an unusual nop
5583 2003-09-12 André Pönitz <poenitz@gmx.net>
5585 * BufferView_pimpl.C:
5594 * Counters.[Ch]: finish the 'automatic counters' job
5596 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5598 * aspell.C: include <boost/assert.cpp> (compile fix)
5600 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
5602 * boost.C (assertion_failed): use lyx::support::abort instead of
5605 2003-09-10 Angus Leeming <leeming@lyx.org>
5607 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5608 with their _fwd progeny.
5610 2003-09-09 Angus Leeming <leeming@lyx.org>
5612 134 files throughtout the source tree: replace 'using namespace abc;'
5613 directives with the appropriate 'using abc::xyz;' declarations.
5615 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5617 * boost.C (emergencyCleanup): moved here from LAssert.c
5618 (assertion_failed): new function, called by BOOST_ASSERT
5620 * several files: change Assert to BOOST_ASSERT
5622 2003-09-09 Angus Leeming <leeming@lyx.org>
5624 * buffer.[Ch]: Add an Impl class and move Buffer's member
5625 variables into it. As a result move several header files out of
5628 Add header files to lots of .C files all over the tree as a result.
5630 2003-09-09 Angus Leeming <leeming@lyx.org>
5632 * buffer.[Ch]: make Buffer's member variables private. Add
5635 Lots of changes all over the tree as a result.
5637 2003-09-08 Angus Leeming <leeming@lyx.org>
5639 * graph.C: #include <config.h>.
5641 2003-09-08 Angus Leeming <leeming@lyx.org>
5645 * BufferView_pimpl.C:
5674 * toc.C: remove redundant using directives.
5676 2003-09-07 Angus Leeming <leeming@lyx.org>
5678 * LaTeXFeatures.h: remove #include "support/types.h".
5679 * ToolbarBackend.h: remove #include <algorithm>.
5680 * changes.h: remove #include <ctime>.
5681 * debug.h: remove #include <iosfwd>.
5682 * graph.h: remove #include "support/std_string.h".
5683 * lyx_main.h: remove #include <csignal>.
5684 * lyxlex_pimpl.h: remove #include <fstream>.
5685 * sgml.h: remove #include <algorithm>, <utility>.
5686 * toc.h: remove #include "support/std_ostream.h".
5687 Add #include <iosfwd>.
5689 2003-09-07 Angus Leeming <leeming@lyx.org>
5691 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5693 * converter.h: forward declare LatexRunParams.
5694 * encoding.h: remove #include "lyxrc.h".
5695 * lyxtext.h: remove #include "LColor.h".
5696 * lyxtextclass.h: remove #include "support/types.h".
5697 * trans.h: remove #include "tex-accent.h".
5698 * trans_mgr.h: remove #include "tex-accent.h".
5699 * insets/inset.h: remove #include "support/types.h", <vector>.
5700 * insets/insetcollapsable.h: remove #include "LColor.h".
5701 * insets/insetinclude.h: remove #include "dimension.h".
5702 * insets/insetlatexaccent.h: remove #include "dimension.h".
5703 * insets/insetoptarg.h:: remove #include "insettext.h".
5704 * insets/insettext.h: remove #include "dimension.h",
5705 <boost/shared_ptr.hpp>
5707 * insets/renderers.h: add #include "dimension.h".
5708 * insets/updatableinset.h: add #include "support/types.h".
5710 * many .C files: Associated changes.
5712 2003-09-06 Angus Leeming <leeming@lyx.org>
5714 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5715 one, inside testInvariant.
5717 * PrinterParams.C: new file.
5718 * PrinterParams.[Ch]: move the function bodies out of line.
5720 2003-09-06 Angus Leeming <leeming@lyx.org>
5722 * ParagraphParameters.h: forward declare ParameterStruct rather than
5723 including its header file.
5724 (depth): moved out-of-line.
5726 2003-09-06 Angus Leeming <leeming@lyx.org>
5728 * BufferView_pimpl.h:
5731 * lyxfunc.h: forward declare LyXKeySym rather than
5732 #include "frontends/LyXKeySym.h".
5734 * BufferView_pimpl.C:
5737 * lyxfunc.C: associated changes.
5739 2003-09-06 Angus Leeming <leeming@lyx.org>
5741 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5742 As a result, can remove the #include "insets/inset.h" from BufferView.h
5744 2003-09-06 Angus Leeming <leeming@lyx.org>
5746 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5747 As a result, can remove the #include "insets/inset.h" from BufferView.h
5749 2003-09-06 Angus Leeming <leeming@lyx.org>
5755 * bufferview_funcs.C:
5756 * BufferView_pimpl.C:
5761 * ParagraphParameters.C:
5766 * frontends/controllers/ControlDocument.C:
5767 * insets/insetcaption.C: rearrange the #includes into some sort of
5770 * buffer.h: remove #includes ErrorList.h, undo.h
5772 2003-09-06 Angus Leeming <leeming@lyx.org>
5774 * support/types.h: add a 'depth_type' typedef, used to store the
5775 nesting depth of a paragraph.
5778 * ParameterStruct.h: use this lyx::depth_type typedef rather than
5779 defining explicitly.
5782 * paragraph_funcs.h:
5783 * ParagraphParameters.h:
5784 * sgml.h: use lyx::depth_type rather than Paragraph or
5785 ParameterStruct's depth_type.
5788 * paragraph_funcs.h: no need to #include paragraph.h anymore.
5791 * BufferView_pimpl.C:
5793 * ParagraphParameters.C:
5796 * bufferview_funcs.C:
5803 * frontends/LyXView.C:
5804 * frontends/controllers/ControlDocument.C:
5805 * frontends/controllers/ControlErrorList.C:
5806 * insets/insetbibitem.C:
5807 * insets/insetbranch.C:
5808 * insets/insetcaption.C:
5809 * insets/insetcollapsable.C:
5810 * insets/insetenv.C:
5811 * insets/insetert.C:
5812 * insets/insetfloat.C:
5813 * insets/insetfoot.C:
5814 * insets/insetfootlike.C:
5815 * insets/insetnewline.C:
5816 * insets/insetquotes.C:
5817 * insets/insettabular.C:
5818 * insets/insettext.C:
5819 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5821 * frontends/controllers/ControlChanges.C: #include "changes.h".
5823 2003-09-06 Angus Leeming <leeming@lyx.org>
5825 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5826 than #including paragraph.h.
5829 * RowList.h: deleted. Superfluous.
5839 * insets/insettext.h: use ParagraphList_fwd.h rather than
5842 * paragraph.h: don't forward declare ParagraphList.
5845 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5846 rather than ParagraphList.h. paragraph.h is still needed for the
5847 Paragraph::depth_type parameters.
5849 * textcursor.h: enable it to compile stand-alone in light of the
5852 * bufferview_funcs.C:
5864 * frontends/controllers/ControlParagraph.C:
5865 * frontends/controllers/ControlTabular.C:
5866 * insets/insetmarginal.C:
5867 * insets/insetminipage.C:
5868 * insets/insetnote.C:
5869 * insets/insetoptarg.C: add header files needed to compile again.
5871 2003-09-06 Angus Leeming <leeming@lyx.org>
5873 * RowList_fwd.h: new file, forward-declaring Row rather than
5874 #including lyxrow.h.
5879 * insets/insettext.h: use it instead of RowList.h
5881 * bufferview_funcs.C:
5888 * text3.C: #include "RowList.h".
5890 2003-09-05 Angus Leeming <leeming@lyx.org>
5892 * factory.C (createInset):
5893 * vspace.C (c-tor): replace sscanf call with an istringstream.
5894 * ispell.C: re-add missing HP/UX headers.
5895 * lyxserver.C: re-add missing os2 headers.
5897 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
5906 * text3.C: re-add missing system headers, needed for 2.95.2.
5908 2003-09-05 Angus Leeming <leeming@lyx.org>
5910 Changes most place everywhere due to the removal of using directives
5911 from support/std_sstream.h.
5913 2003-09-05 Angus Leeming <leeming@lyx.org>
5915 Replace LString.h with support/std_string.h,
5916 Lsstream.h with support/std_sstream.h,
5917 support/LIstream.h with support/std_istream.h,
5918 support/LOstream.h with support/std_ostream.h.
5920 Changes resulting throughout the tree.
5922 2003-09-05 Angus Leeming <leeming@lyx.org>
5924 * sgml.h: ensure that the header file can be compiled stand-alone.
5925 * *.C: strip out redundant #includes. (320 in total.)
5927 2003-09-04 Angus Leeming <leeming@lyx.org>
5929 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
5930 here (from getPackages).
5932 * debug.[Ch]: add a new EXTERNAL tag.
5934 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5936 * text2.C (cursorEnd): simplify
5938 (getColumnNearX): adjust
5940 * text.C (computeBidiTables): adjust
5943 * rowpainter.C (paintChars): adjust
5944 (paintSelection): adjust
5945 (paintChangeBar): adjust
5948 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5950 (numberOfSeparators): adjust
5952 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
5958 * text3.C: Restricts the mouse click functionality
5959 of insets like bibtex, include, toc and floatlist to the visible
5960 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5961 up the dialogs. Cursor has to be in front of the inset (i.e.
5962 start of row) for this to function.
5964 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5966 * bufferview_funcs.C (currentState): output row information
5968 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5970 * bufferview_funcs.C (currentState): output paragraph position
5972 2003-09-04 Angus Leeming <leeming@lyx.org>
5974 * FloatList.h: move out #include "Floating.h".
5975 * LaTeX.h: move out #include "DepTable.h".
5976 * LyXAction.h: move out #include "funcrequest.h".
5977 * buffer.h: move out #include "author.h", "iterators.h".
5978 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
5979 * lyx_main.h: move out #include "errorlist.h".
5980 * lyxfunc.h: move out #include "FuncStatus.h".
5981 * lyxtext: move out #include "lyxcursor.h".
5982 * paragraph_pimpl.h: move out #include "counters.h".
5984 2003-09-03 Angus Leeming <leeming@lyx.org>
5986 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
5987 preamble_snippets list, enabling us to add snippets to the preamble
5988 only if the snippet was not there already.
5990 2003-09-04 Angus Leeming <leeming@lyx.org>
5992 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
5994 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5996 * lyxfunc.C (dispatch): if fitCursor did something be sure to
5999 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
6001 * BranchList.C: point fix, earlier forgotten
6003 2003-09-02 Angus Leeming <leeming@lyx.org>
6005 * box.C (contains): renamed from 'contained' after a fantastic
6008 2003-09-02 John Levon <levon@movementarian.org>
6014 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
6016 2003-09-02 John Levon <levon@movementarian.org>
6018 * text2.C: simplification of cursorEnd(), including partial
6021 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6023 * buffer.C (readFile): add a space
6025 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
6027 * BufferView_pimpl.C (update): remove bogus fitCursor() call
6029 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6031 * buffer.C (readFile): new function, take a filename and a
6032 ParagraphList::iterator
6034 (readFile): adjust, make it private. don't use setStream, make
6035 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
6036 always contain the filename.
6038 * BufferView.C (insertLyXFile): simplify and make it work for
6041 2003-08-30 John Levon <levon@movementarian.org>
6043 * Makefile.am: fix dist (from Kayvan)
6045 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6047 * most files: change to use const Buffer refs
6049 2003-08-27 André Pönitz <poenitz@gmx.net>
6051 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
6052 on top of ownerPar().
6054 2003-08-27 John Levon <levon@movementarian.org>
6056 * funcrequest.C: properly initialise POD members
6058 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
6060 * lyxtext.h (top_y): move top_y from here
6065 * BufferView_pimpl.[Ch]: to here
6066 * frontends/screen.C:
6067 * insets/insettabular.C:
6068 * insets/insettext.C: adjust
6069 * rowpainter.[Ch] (paintRows): remove LyXText & argument
6071 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
6074 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
6076 2003-08-26 André Pönitz <poenitz@gmx.net>
6078 * paragraph_func.[Ch] (outerPar): new function
6081 * paragraph_funcs.C:
6082 * paragraph_funcs.h:
6083 * paragraph_pimpl.C:
6084 * text2.C: remove Inset::par_owner
6086 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
6091 * text2.C: eliminates the needFullRow/display() stuff
6092 altogether, putting the logic in metrics/draw in the insets.
6094 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
6096 * text2.C (redoParagraphInternal, redoParagraphs):
6097 * text.C (redoParagraph): add a call to updateRowPositions at the
6098 end of each 'metrics-like' call. Remove all others.
6099 (getRow): remove the 'y-computing' version.
6100 (getRowNearY): do not compute nor return the real y. Solve the
6101 'y < 0' problem and simplify.
6103 2003-08-22 Angus Leeming <leeming@lyx.org>
6105 * *.[Ch]: clean-up of licence and author blurbs.
6106 Also move config.h out of a few .h files and into a few .C files.
6108 2003-08-22 André Pönitz <poenitz@gmx.net>
6110 * lyxrow.[Ch]: add x_ and *fill_ members
6115 * text2.C: adjust/remove prepareToPrint() calls
6117 2003-08-22 André Pönitz <poenitz@gmx.net>
6119 * lyxrow.[Ch]: add end_ member
6121 * lyxrow_funcs.C: use LyXRow::end_
6123 * lyxtext.h (singleWidth): add LyXFont parameter
6126 * text2.C: adjust LyXText::singleWidth() calls
6128 * text.C (redoParagraph): simplify row breaking logic
6131 2003-08-19 André Pönitz <poenitz@gmx.net>
6133 * funcrequest.C: initialize button_ member
6136 * rowpainter.[Ch]: interface consolidation
6138 2003-08-18 André Pönitz <poenitz@gmx.net>
6141 * BufferView_pimpl.C:
6143 * paragraph_funcs.C:
6145 * text3.C: remove LyXScreen::draw() and fitCursor calls
6147 * BranchList.h: remove spurious semicolons
6149 * MenuBackend.C: fix branchlist related crash
6151 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
6159 * bufferparams.[Ch]:
6163 * text3.C: implements the 'branch inset'
6164 idea. This allows the output of various versions of a document
6165 from a single source version, selectively outputing or suppressing
6166 output of parts of the text.
6167 This implementation contains a 'branch list editor' in a separate
6168 tab of the document settings dialog. Branches are user definable
6169 and have a "display colour" to distinguish them on-screen.
6171 ColorHandler was somewhat cleaned up.
6172 (1) make possible a dynamically growing LColor list by allowing
6173 the graphic context cache to grow along (vector);
6174 (2) eliminate an IMHO unnecessary step in colour allocation.
6176 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
6178 * BufferView_pimpl.C: compile fix
6180 2003-08-15 André Pönitz <poenitz@gmx.net>
6182 * rowpainter.C: remove extra metrics calls
6184 * lyxtext.h: merge the two constructors into a single one,
6185 pass reference to owner's par list
6187 * BufferView_pimpl.C:
6191 2003-08-15 André Pönitz <poenitz@gmx.net>
6193 * lyxrow_funcs.[Ch]:
6196 * paragraph_funcs.C:
6201 * text_funcs.C: split LyXText::rowlist_ into individual
6202 Paragraph::rows_ chunks
6205 * BufferView_pimpl.[Ch]:
6208 * text3.C: remove toggleSelection()
6210 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
6212 * bufferlist.C: beautify two alerts (shorter text of buttons)
6213 * buffer.C: Remove redundant ' ' from message
6215 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6216 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6217 rename VALIGN_CENTER to VALIGN_MIDDLE
6219 2003-08-11 André Pönitz <poenitz@gmx.net>
6221 * lyxtext.h (getPar):
6222 * text.C: new function
6224 2003-08-11 André Pönitz <poenitz@gmx.net>
6227 * tracer.[Ch]: remove unneeded files
6229 * InsetList.[Ch]: remove resizeInsetsLyXText()
6234 * text3.C: merge insertParagraphs() and appendParagraph()
6235 remove breakAgain(), update()
6237 * BufferView_pimpl.[Ch]:
6238 * bufferview_funcs.[Ch]:
6242 * tabular.C: adjust after text & InsetList changes.
6244 2003-08-08 André Pönitz <poenitz@gmx.net>
6246 * text.C (insertChar, backspace): replace rowlist fiddling
6247 with rebreak of full par
6250 * text.C (breakAgainOneRow, redoHeightOfParagraph,
6251 checkParagraph, updateInset): removed
6253 2003-08-07 André Pönitz <poenitz@gmx.net>
6256 * text3.C: merge some LFUN handlers, remove dead code
6258 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6260 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6262 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
6264 * text2.C (DEPM): fix part of bug 1255 and 1256
6266 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6268 * BufferView_pimpl.C (workAreaDispatch): change to use
6269 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6270 that are no mouse related.
6272 2003-08-05 André Pönitz <poenitz@gmx.net>
6275 * BufferView_pimpl.[Ch]:
6276 * bufferview_funcs.C:
6278 * text3.C: rip out "deep update"
6280 * textcursor.[Ch] (last_sel_cursor): remove unused member
6282 2003-08-04 André Pönitz <poenitz@gmx.net>
6285 * BufferView_pimpl.[Ch]:
6286 * ParagraphParameters.C:
6287 * bufferview_funcs.C:
6293 * text3.C: replace "complicated" BufferView::update(...) calls with
6296 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6298 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
6300 * Makefile.am (lyx_SOURCES): add paper.h
6302 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6304 * Makefile.am: move things around so that both lyx-qt and
6305 lyx-xforms can be built (according to --with-frontend). Then lyx
6306 is a symbolic link to lyx-[firstfrontend]
6308 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
6310 * Always use std::endl with lyxerr
6312 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
6314 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6316 2003-08-01 André Pönitz <poenitz@gmx.net>
6319 * BufferView_pimpl.[Ch]:
6321 * text3.C: merge BufferView::repaint() and BufferView::update()
6323 2003-08-01 José Matos <jamatos@lyx.org>
6325 * buffer.[Ch]: file_format is no longer a buffer data element.
6327 2003-08-01 André Pönitz <poenitz@gmx.net>
6332 * text2.C: make redoParagraph more independent of current cursor
6334 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6336 * text2.C: remove unneeded members
6338 2003-07-30 André Pönitz <poenitz@gmx.net>
6340 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6342 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6343 create a single function...
6345 * paragraph_funcs.C (moveItem): ... here.
6348 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6350 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6352 * LColor.[Ch]: Add comment and greyedout logical colors.
6354 2003-07-30 André Pönitz <poenitz@gmx.net>
6356 * tabular.C: don't use Assert too heavily. This crashes where it
6359 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
6361 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6362 is disabled (bug 1232)
6364 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6366 * factory.C: limited 'arg' scope
6368 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6370 * factory.C: fixed Note submenu issues
6372 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6374 * factory.C: submenu for Note/Comment/Greyedout
6376 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
6379 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6381 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
6384 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6385 greyedout. Patch provided by Jürgen Spitzmüller.
6387 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6389 * kbmap.C (read): fix error message when reading bind files
6391 2003-07-29 Angus Leeming <leeming@lyx.org>
6393 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6394 certainly does not do what it purports to do. I am doing it, and
6395 us, a favour by killing it.
6397 2003-07-28 José Matos <jamatos@lyx.org>
6399 * buffer.C (readBody, do_writeFile):
6400 * paragraph.C(readParagraph): \end_document replaces \the_end.
6402 2003-07-29 André Pönitz <poenitz@gmx.net>
6405 * BufferView_pimpl.[Ch]:
6409 * textcursor.[Ch]: remove toggleToggle & Co
6411 2003-07-28 José Matos <jamatos@fep.up.pt>
6413 * buffer.C (readParagraph):
6414 * params_func (readParToken, readParagraph):
6415 * paragraph.C (write): \layout -> \begin_layout.
6417 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6419 * lyxlex_pimpl.C (setFile): clean up slightly.
6421 * bufferparams.h: add compressed var
6423 * buffer_funcs.C (readFile): adjust for LyXLex change
6424 (newFile): ditto + simplify
6426 * buffer.C (writeFile): handle writing of compressed files
6428 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6429 Check if the file is compressed and set a bufferparm if so.
6431 * Makefile.am (lyx_LDADD): remove explicit -lz
6433 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6435 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6436 makeDocBookFile): put the real LyX version in the first line of
6440 * version.C.in: remove lyx_docversion
6442 * tabular.C (write_attribute): add a template-based version to
6443 write enums properly
6445 2003-07-28 André Pönitz <poenitz@gmx.net>
6450 * text3.C: use doubles again for x-coordinates. They are needed.
6452 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6454 * messages.C (getLocaleDir): use lyx_localedir()
6456 * lyxlex_pimpl.C (setFile): compress stuff
6458 * buffer.C (writeFile): add some compression stuff
6459 (do_writeFile): new func, dont call expliti close... will this
6462 * Makefile.am (lyx_LDADD): add -lz
6464 2003-07-28 José Matos <jamatos@fep.up.pt>
6466 * buffer.C: increment file format.
6467 * paragraph_funcs (readParagraph, readParToken):
6468 * paragraph.C (readParagraph): add \end_layout.
6470 2003-07-27 Angus Leeming <leeming@lyx.org>
6472 * Makefile.am: remove special casing for configure-time setting of
6473 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6475 * lyx_main.C (init): remove all Jean-Marc's magic setting of
6476 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6478 2003-07-26 André Pönitz <poenitz@gmx.net>
6480 * paragraph_func.[Ch]:
6481 * paragraph.C (realizeFont): inline it whereever it is used
6486 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6489 2003-07-26 André Pönitz <poenitz@gmx.net>
6493 * text2.C: get rid of LyXText::need_break_row
6495 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6497 * toc.[Ch]: put namespace toc inside namespace lyx
6499 * MenuBackend.C (expandToc2): adjust for lyx::toc
6502 * lyxfunc.C (dispatch): adjust for lyx::find
6504 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6505 lyx::find instead. Reorganize a bit.
6506 (LyXReplace): rename to replace
6507 (LyXFind): rename to find
6509 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6512 2003-07-26 André Pönitz <poenitz@gmx.net>
6514 * text.C (setHeightOfRow): restrict scope of temporary variable
6516 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
6517 code (never has been used?)
6519 2003-07-27 Asger Alstrup <alstrup@local>
6521 * text.C (fill): Optimise algorithm to exploit that we can reuse
6522 the LyXFont for many characters.
6523 (setHeightOfRow): Same thing.
6524 (rowBreakPoint): Same thing.
6526 2003-07-26 Asger Alstrup <alstrup@local>
6528 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6530 * text.C (singleWidth): Spurious font copying in hot-spot
6531 singleWidth avoided. Reorder tests for arabic for efficiency.
6533 * text.C (fill): handle empty paragraphs better.
6535 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6538 * encoding.h: add includes
6540 * lyxrc.C: remove reading of bind files
6542 * lyx_main.C (init): setup bindings and menus only if we have a
6545 * kbmap.C (read): new method. Do the actual reading of bind
6548 * converter.C (dvipdfm_options):
6551 (output): adapt PAPER_* enums.
6553 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6555 * bufferparams.h: remove paper-related enums from there
6557 * paper.h: New file. A trivial header file to hold paper-related
6558 enums. It should later expand to contain many paper-related
6561 * lyxrc.C: declare extern displayTranslator
6563 2003-07-27 José Matos <jamatos@fep.up.pt>
6565 * tabular.[Ch] (linuxdoc): add support for tables and figures
6568 2003-07-27 José Matos <jamatos@fep.up.pt>
6570 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6571 consistency in both functions.
6572 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6574 2003-07-26 Asger Alstrup <alstrup@local>
6576 * rowpainter.C (paintRows): Change algorithm to work directly on
6577 the insets rather than asking every character in the document
6578 whether its an inset.
6580 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
6582 * buffer.C (openFileWrite): factorize some code
6584 2003-07-26 Angus Leeming <leeming@lyx.org>
6587 * lyx_main.[Ch]: replace occurances of system_tempdir with
6590 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6592 * rename Inset to InsetOld
6594 2003-07-25 Asger Alstrup <alstrup@diku.dk>
6596 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6597 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6598 which I think is a bit clearer. EDIT is gone, since it was
6599 premature optimisation, and broken for mathed anyway.
6600 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6601 with cursor positioning in insets as well (math insets still do not
6602 work, but that's a different story anyway.) It mysteriously
6603 crashes sometimes with undo in the first paragraph, but I'm fairly
6604 confident that this is a compiler bug.
6606 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6608 * paragraph.C (Paragraph): adjust for new clone return type
6610 (copyIntoMinibuffer): ditto
6612 2003-07-25 Asger Alstrup <alstrup@lyx.org>
6614 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6615 by not having a special case, and always doing a full rebreak of
6616 the document after undo.
6618 2003-07-23 Angus Leeming <leeming@lyx.org>
6620 * factory.C (createInset): InsetExternal::setParams now takes a
6623 2003-07-23 Angus Leeming <leeming@lyx.org>
6625 * factory.C (createInset): changed interface to the external and
6626 graphics mailers' string2params functions.
6628 2003-07-23 Angus Leeming <leeming@lyx.org>
6630 * factory.C (createInset): pass a
6631 Buffer const * parameter to InsetExternalMailer's string2params.
6633 2003-07-22 John Levon <levon@movementarian.org>
6635 * Thesaurus.h: include the right aiksaurus header
6637 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6639 * MenuBackend.C (expand): check menu shortcuts unconditionally
6641 2003-07-21 Angus Leeming <leeming@lyx.org>
6643 * factory.C (createInset): pass a
6644 buffer_path parameter to InsetGraphicsMailer's string2params.
6646 2003-07-21 Angus Leeming <leeming@lyx.org>
6648 * BufferView_pimpl.C (buffer):
6651 * lyxfunc.C (dispatch):
6652 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6653 rather than the grfx shortcut.
6655 2003-07-21 André Pönitz <poenitz@gmx.net>
6657 * rowpainter.C: remove unused variables
6660 * tabular_funcs.h: move to tabular.C
6661 * Makefile.am: adjust
6663 * tabular.[Ch]: basic optical cleaning
6665 * author.h: pass references, not values
6667 2003-07-18 André Pönitz <poenitz@gmx.net>
6675 * text3.C: two-phase drawing for InsetText and InsetTabular
6676 some float -> int changes.
6678 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6680 * lyx_main.C: fix the fix
6682 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6684 * lyx_main.C: fix a crash in batch mode if no files specified
6687 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
6689 * format.[Ch] (papersize): moved to BufferParams
6690 * converter.[Ch] (dvips_options): moved to BufferParams
6691 (dvipdfm_options): moved to anon namespace
6692 * bufferparams.[Ch]: added above functions.
6694 2003-07-17 André Pönitz <poenitz@gmx.net>
6698 * text2.C: don't call inset->update() anymore
6700 * metricsinfo.[Ch]: add convenience constructor
6702 2003-07-16 André Pönitz <poenitz@gmx.net>
6707 * text2.C: replace the LyXCursor::irow_ member with
6708 on-demand computation of the value
6710 2003-07-16 John Levon <levon@movementarian.org>
6712 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6714 2003-07-15 André Pönitz <poenitz@gmx.net>
6717 * text2.C: remove no more needed refresh_row
6719 2003-07-15 André Pönitz <poenitz@gmx.net>
6724 * text3.C: refresh_status tristate -> need_update bool
6726 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
6728 * lyxtext.h (init): remove reinit argument (act as if always true)
6729 * text2.C: adjust to that
6731 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6733 * bufferview_funcs.[Ch]: introduce function replaceSelection()
6734 * text3.C: use it to delete selections in some cases
6735 (bugs 441, 673, 702, 954).
6737 2003-07-14 André Pönitz <poenitz@gmx.net>
6739 * rowpainter.[Ch]: reduce interface
6741 2003-07-14 André Pönitz <poenitz@gmx.net>
6743 * BufferView_pimpl.C:
6744 * text2.C: adjust after removing unused BufferView * argument
6746 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
6748 * text2.C (init): fix a crash fired on resize
6750 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
6752 * buffer.[Ch]: added new closing signal
6753 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6754 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6755 BufferView::Pimpl via the closing the signal
6757 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
6759 * buffer.[Ch]: take out all bv-related from buffer
6761 * BufferView_pimpl.[Ch]: connect to new signals
6762 * CutAndPaste.C: removed useless asserts
6763 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6766 * lyxfunc.C: moved view-related funciontality from vc here
6767 * paragraph.C: removed outdated comments
6770 2003-07-10 André Pönitz <poenitz@gmx.net>
6772 * BufferView_pimpl.C:
6776 * text2.C: remove InsetText::InnerCache, clean up consequences
6778 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
6780 * ispell.C: fix two typos in error messages
6782 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
6784 * Extend Note inset to other forms of annotation like Comment
6785 and Greyedout. Right button click gives dialog.
6787 Files modified or added (+):
6791 * ControlNote.[Ch] +
6793 * Makefile.am in frontends/xforms, frontends/xforms/forms,
6794 frontends/controllers
6798 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6800 * aspell.C: add missing namespace lyx::support
6802 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
6804 * BufferView.[Ch] (newFile): Add
6805 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6806 * LaTeX.[Ch] (message): added this signal and use it
6807 * buffer.[Ch] (busy, message): added these signals and use them
6808 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6812 * importer.C: use buffer signals instead of direct bv calling
6813 * lyx_cb.[Ch] (ShowMessage): removed
6816 * paragraph_funcs.C:
6817 * text2.C: use buffer signals
6819 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6821 * introduce namespace lyx::graphics
6823 2003-07-02 André Pönitz <poenitz@gmx.net>
6825 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6827 2003-07-01 André Pönitz <poenitz@gmx.net>
6834 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6835 text*.C to text_func.C
6837 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6839 * introduce namespace lyx::support
6841 2003-06-30 André Pönitz <poenitz@gmx.net>
6846 * text.C: re-enable --with-included-string
6848 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6850 * textcursor.C: add <config.h>
6852 * text.C (getWord): remove const from word_location arg
6854 * lyxvc.C (getLogFile): fix const type order
6856 * lyxtext.h: remove const from word_location arg, add arg name
6858 * lyxlayout.h: currect type on labeltype.
6860 * importer.C: correct \file
6862 * converter.C (intToFormat): use std:: on ret val, ws changes
6864 * bufferlist.h: correct \file
6866 * buffer.C (makeLinuxDocFile): fix const type order
6867 (makeDocBookFile): ditto
6868 (fillWithBibKeys): use std:: on stdlib args.
6870 * CutAndPaste.C: fix authors.
6871 (availableSelections): use std:: on return vector
6873 2003-06-27 André Pönitz <poenitz@gmx.net>
6875 * BufferView_pimpl.C:
6876 * bufferview_funcs.C:
6884 * text3.C: remove LyXCursor::row_ member
6887 * text.C: rename fullRebreak() to partialRebreak() and implement
6888 a fullRebreak() that really bereks fully
6890 * textcursor.h: new struct for cursor-related data
6892 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
6894 * lyx_main.C (LyX): get full path of document loaded on the
6897 2003-06-26 André Pönitz <poenitz@gmx.net>
6899 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6900 remove unused/broken operator>,<,>=.
6902 * text.C: remove only use of broken operator<= in an Assert().
6904 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
6906 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6907 moved errorlist_.clear to showErrorList
6909 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
6911 * converter.C (scanLog, runLaTeX):
6912 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
6913 move the bv->showErrorList call to the callers
6914 * lyxfunc.C: i.e. here...
6916 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6917 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6918 namespace, the second to...
6919 * buffer_funcs (BufferFormat, parseErrors): added
6920 * errorlist.C (ErrorList(TeXErrors const &)): removed
6922 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6924 * ToolbarBackend.C (getIcon): complain when icon cannot be found
6926 2003-06-24 "Garst R. Reese" <reese@isn.net>
6930 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6932 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6934 * version.C.in: change docversion to 1.4
6936 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
6938 * buffer.C: fix a bug just introduced
6940 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
6942 * buffer.[Ch]: added the parseError signal and use it, removed
6944 * BufferView.[Ch] (addError): moved to ...
6945 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6946 to the Buffer::parseError signal to catch (guess what) parse errors
6947 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6949 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
6951 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6952 ability to create a buffer and to return an existing one from
6953 the list. Moved these functions to...
6954 * buffer_funcs.[Ch]: added
6955 * BufferView.[Ch] (loadLyXFile): added
6956 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6957 job removed from bufferlist::loadLyXFile.
6958 * buffer.C (setReadOnly): make it work without view
6959 (i.e added an if (users))
6961 2003-06-19 Angus Leeming <leeming@lyx.org>
6964 * LyXAction.C (init):
6965 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6966 with LFUN_DIALOG_SHOW <name> <data>.
6968 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6970 * CutAndPaste.C (availableSelections): small compilation fix for
6971 ancient (gcc 2.9x) compilers
6973 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
6975 * text3.C (cursorNext): add tmp var
6977 * text2.C (updateCounters): for function calling out of for clause
6978 (replaceSelectionWithString): ditto
6979 (insertStringAsParagraphs): ditto
6980 (getColumnNearX): add tmp var
6981 (setCursorFromCoordinates): add tmp var
6982 (cursorDownParagraph): add tmp var
6983 (deleteEmptyParagraphMechanism): add tmp var
6985 * text.C (insertChar): add tmp var
6987 * rowpainter.C (paintDepthBar): add tmp var
6989 * CutAndPaste.C (availableSelections): potentially check all
6990 paragraphs in a cut to fill the shown strings.
6992 2003-06-18 André Pönitz <poenitz@gmx.net>
6994 * kbmap.[Ch]: use vector<> instead of list<>
6996 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
6998 * text3.C (dispatch): handle arg to LFUN_PASTE, call
6999 pasteSelection with index
7001 * text2.C (pasteSelection): modify, call pasteSelection with index
7003 * paragraph.C (asString): reimplement version with no interval to
7004 call the one with interval.
7006 * lyxtext.h: add index arg to pasteSelection
7008 * MenuBackend.C (MenuItem): handle PasteRecent
7009 (Menu::read::Menutags): add md_pasterecent
7011 (expandPasteRecent): new function
7014 * MenuBackend.h: add PasteRecent to MenuItem::Kind
7016 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
7018 (availableSelections): new function
7020 2003-06-17 Angus Leeming <leeming@lyx.org>
7022 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
7024 2003-06-17 Angus Leeming <leeming@lyx.org>
7027 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
7029 * lyxfunc.C (dispatch): invoke it.
7031 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7033 * iterators.C (operator++, ParPosition): reintroduce some
7034 const_cast for the benefit of older compilers.
7036 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7038 * text3.C (dispatch): do not modify clipboard when doing
7039 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
7040 LFUN_DELETE_SKIP on a selection selection
7042 2003-06-16 André Pönitz <poenitz@gmx.net>
7048 * tabular.[Ch]: IU of clone() and getLabelList();
7050 2003-06-13 André Pönitz <poenitz@gmx.net>
7052 * tabular.h: compactification
7054 2003-06-12 André Pönitz <poenitz@gmx.net>
7058 * tabular_funcs.h: some renaming plus whitespace
7060 2003-06-12 André Pönitz <poenitz@gmx.net>
7063 * BufferView_pimpl.C:
7069 * toc.C: Return a Paragraph & for ParIterator::operator*()
7071 2003-06-11 John Levon <levon@movementarian.org>
7075 * ToolbarBackend.C: add "Toolbars" section and
7078 2003-06-10 Angus Leeming <leeming@lyx.org>
7081 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
7083 * lyxfunc.C (dispatch): invoke it.
7085 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7087 * main.C: protect <ios> with HAVE_IOS
7088 (main): protect sync_with_stdio with HAVE_IOS
7090 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
7092 * text2.C (cutSelection): adjust
7093 (pasteSelection): adjust
7095 * messages.C: handle get of empty string
7097 * main.C (main): use sync_with_stdio(false)
7099 * lyxfunc.C (dispatch): adjust
7101 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
7102 (WriteAs): remove unneeded BufferView arg.
7104 * bufferparams.h: use correct types on papersize, papersize2 and
7107 * bufferparams.C (readToken): adjust for type
7108 (writeLaTeX): add missing cases to switch.
7110 * bufferlist.C (quitWriteBuffer): adjust
7113 * buffer.C (asciiParagraph): remove some commented code.
7115 * CutAndPaste.C: remove current_view extern variable.
7116 (cutSelection): add BufferParams arg.
7117 (eraseSelection): add BufferParams arg.
7118 (pasteSelection): add Buffer const & arg
7120 2003-06-07 John Levon <levon@movementarian.org>
7123 * paragraph_funcs.C:
7124 * paragraph_pimpl.C:
7128 * paragraph.C: allow InsetERT to freely space lines,
7129 and some consolidation of code
7131 2003-06-06 José Matos <jamatos@fep.up.pt>
7133 * buffer.C (makeDocBookFile): fix bug #821
7135 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
7137 * BufferView_pimpl.C (dispatch): use Dialogs::visible
7139 2003-06-04 Angus Leeming <leeming@lyx.org>
7141 * buffer.C: bump format to 224.
7143 2003-06-05 André Pönitz <poenitz@gmx.net>
7145 * text2.C (redoParagraphs): remove two const_cast<>
7147 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
7149 * ParagraphList.h: remove last remnants of NO_STD_LIST
7151 2003-06-03 Angus Leeming <leeming@lyx.org>
7153 * factory.C (createInset): small change to the way InsetExternal's params
7156 2003-06-04 André Pönitz <poenitz@gmx.net>
7158 * buffer.h: use Undo directly instead of shared_ptr<Undo>
7160 * paragraph_pimpl.h:
7161 * paragraph.[Ch]: some Inset -> UpdatableInset changes
7163 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
7165 * undo_funcs.C: make some simple cases of undo work again
7167 2003-06-03 John Levon <levon@movementarian.org>
7169 * ispell.C: HPUX doesn't have sys/select.h
7172 2003-06-03 John Levon <levon@movementarian.org>
7174 * CutAndPaste.C: update tabular and include inset
7179 * paragraph.C: remove owningBuffer(), don't pass Buffer
7182 * factory.C: insetGraphicsParams changed
7184 2003-06-02 John Levon <levon@movementarian.org>
7190 * text3.C: remove insetparent
7192 2003-06-02 John Levon <levon@movementarian.org>
7195 * buffer.C: fix inset_iterator.end(), move out of line
7198 2003-06-01 John Levon <levon@movementarian.org>
7200 * text3.C: use a proper cut/paste when doing inset
7201 insert (from Jürgen Spitzmüller)
7203 2003-06-01 John Levon <levon@movementarian.org>
7205 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7207 2003-05-30 André Pönitz <poenitz@gmx.net>
7209 * rowpainter.C: unify second drawing phase
7211 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7213 * trans_mgr.C: remove one case of current_view
7215 * text2.C (cursorBottom): delete NO_STD_LIST stuff
7217 * paragraph_funcs.h: remove paragraph.h include
7219 * paragraph.h: delete NO_STD_LIST stuff
7221 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7223 * buffer.h: remove paragraph.h include
7225 * ParagraphList.C: delete file
7227 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7229 * toc.C (getTocList): adjust
7231 * paragraph_pimpl.C (validate): adjust
7233 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7235 * paragraph.C (Paragraph): adjust
7236 (getPositionOfInset): use const_iterator, adjust
7237 (bibitem): use const_iterator, adjust
7238 (setInsetOwner): adjust
7240 * iterators.C (operator++): adjust
7242 * InsetList.[Ch]: Replace selfmade iterator with standard
7243 vector::iterator also introduce const_iterator. Remove getPos,
7244 getInset and setInset from InsetTable. Adjust accordingly.
7246 * BufferView.C (lockInset): adjust
7247 (ChangeInsets): adjust
7249 * tabular.[Ch]: delete commented same_id functions
7251 2003-05-28 John Levon <levon@movementarian.org>
7253 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7255 2003-05-28 André Pönitz <poenitz@gmx.net>
7257 * metricsinfo.[Ch]: remove 'fullredraw' member
7259 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
7261 * lyxtextclass.C (operator): remove caching.
7263 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7267 * text2.C (cursorBottom): adjust
7268 (setCounter): use ParagraphList::find, adjust
7270 * text.C (workWidth): use ParagraphList::find, adjust
7272 * lyxcursor.C (LyXCursor): adjust
7274 * buffer.C (inset_iterator): adjust
7276 * ParagraphList.h: make iterator(value_type) private, make
7277 ParagraphList a friend of iterator.
7279 * ParagraphList.C (find): new function
7281 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7283 2003-05-27 André Pönitz <poenitz@gmx.net>
7285 * dimension.[Ch]: a -> asc, d -> des, w -> wid
7287 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7289 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7291 2003-05-26 John Levon <levon@movementarian.org>
7293 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7295 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
7297 * remove same_id from function signatures, adjust.
7299 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7301 * undo_funcs.C (createUndo): use the id functions directly, adjust.
7303 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7305 * paragraph.C (Paragraph): get rid of same_ids parameter
7307 * ParagraphList.C (insert): adjust
7310 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7312 * paragraph_funcs.C (breakParagraph): adjust
7313 (breakParagraphConservative): adjust
7315 * buffer.C (readParagraph): adjust
7317 * ParagraphList.C (insert): take a reference instead of a pointer
7320 * paragraph.[Ch] (id): new function
7322 * bufferlist.C (newFile): adjust
7324 * ParagraphList.C (ParagraphList): adjust
7326 (push_back): take a reference instead of a pointer.
7328 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7330 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7333 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7334 set else use old code.
7336 * ParagraphList.C: remove all NO_NEXT code and only compile this
7337 code of NO_STD_LIST is set.
7339 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7341 * BufferView_pimpl.C:
7351 * graphics/GraphicsConverter.C:
7352 * graphics/PreviewLoader.C: header adjustment
7354 2003-05-23 Angus Leeming <leeming@lyx.org>
7356 * LaTeXFeatures.[Ch] (useBabel): new method.
7357 * bufferparams.C (writeLaTeX): use it.
7359 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7361 * ParagraphList.h (set): remove unused function.
7363 2003-05-23 André Pönitz <poenitz@gmx.net>
7366 * BufferView_pimpl.C:
7370 * undo_funcs.C: setUndo reworked
7372 * iterators.[Ch]: add access to topmost ParagraphList
7374 * lyxtext.[Ch] (workWidth): add a const
7376 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7378 * texrow.[Ch] (increasePos): remove function
7379 * exporter.C (export): removed unused var and outdated comment
7381 2003-05-23 Angus Leeming <leeming@lyx.org>
7383 * latexrunparams.h: rename fragile as moving_arg.
7384 * paragraph.C (simpleTeXOnePar): ditto.
7385 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7387 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7389 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7391 (textUndoOrRedo): comment out a currently unused var.
7393 * paragraph.h (NO_NEXT): enable NO_NEXT
7395 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7397 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7399 * exporter.C (Export): adjust for removeAutoInsets removal.
7401 * buffer.C (runChktex): adjust for removeAutoInsets removal.
7403 * LyXAction.C (init): remove LFUN_REMOVEERRORS
7405 * BufferView.[Ch] (removeAutoInsets): delete function
7407 2003-05-22 Angus Leeming <leeming@lyx.org>
7409 * latexrunparams.h: add a free_spacing variable.
7411 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7412 to pass moving_arg, as the data is stored in runparams.fragile.
7414 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7415 to Inset::latexOptional or to simpleTeXOnePar.
7417 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7418 free_spacing arg to Inset::latexOptional.
7420 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7423 2003-05-22 Angus Leeming <leeming@lyx.org>
7425 * latexrunparams.h: add fragile and use_babel variables.
7427 * bufferparams.[Ch] (writeLaTeX): return use_babel.
7428 * buffer.C (makeLaTeXFile): store this returned value in
7429 runparams.use_babel, thus passing it to the inset::latex methods.
7431 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7432 simpleTeXSpecialChars as it is now stored in runparams.fragile.
7434 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7435 longer has a fragile arg, as it is stored in runparams.fragile.
7437 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7438 moving_arg parameter as the data is stored in runparams.fragile.
7440 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7441 a fragile parameter as the data is stored in runparams.fragile.
7443 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7445 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7447 2003-05-22 Angus Leeming <leeming@lyx.org>
7449 * latexrunparams.h: add a 'bool nice' which defaults to false.
7451 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7452 now encapsulated within runparams.
7454 * bufferlist.C (updateIncludedTeXfiles):
7455 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7457 2003-05-22 Angus Leeming <leeming@lyx.org>
7459 * latexrunparams.h: new file containing struct LatexRunParams.
7460 * Makefile.am: add new file.
7462 * LaTeX.[Ch] (c-tor, run):
7463 * buffer.[Ch] (makeLaTeXFile):
7464 * bufferlist.[Ch] (updateIncludedTeXfiles):
7465 * converter.C (convert, scanLog):
7466 * converter.[Ch] (runLaTeX):
7467 * exporter.C (Export):
7468 * paragraph.[Ch] (simpleTeXOnePar):
7469 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7470 * paragraph_funcs.[Ch] (latexParagraphs):
7471 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7472 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7473 pass around a LatexRunParams parameter.
7475 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7477 * paragraph.[Ch]: remove unused constructor
7479 * ParagraphList.C (erase): new function, taking two iterators
7481 2003-05-22 André Pönitz <poenitz@gmx.net>
7483 * undo_funcs.C: remove duplicated code
7485 * iterator.[Ch]: operator=
7487 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7489 * tabular.C (SetMultiColumn): ws changes
7491 * rowpainter.C (paintFirst): get rid of a ->previous
7493 * lyx_cb.C (getPossibleLabel): parlist simplification
7495 * BufferView.C (ChangeInsets): simplify slightly.
7497 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
7499 * LyXAction.C: new lfun space-insert, kill protected-space-insert
7500 * lfuns.h: new LFUN_SPACE
7501 * lyxfunc.C: protected space has a new lfun
7502 * paragraph_funcs.C: read new space insets
7504 * factory.C: handle new space insets
7506 2003-05-22 André Pönitz <poenitz@gmx.net>
7509 * BufferView_pimpl.C:
7512 * undo_funcs.C: return a ParIterator from getParFromID.
7514 * iterators.[Ch]: add two const's
7516 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7518 * toc.C (getTocList): adjust
7520 * iterators.[Ch]: rework for parlist
7522 * buffer.C (par_iterator_begin): adjust
7523 (par_iterator_end): adjust
7525 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7527 * BufferView.C (removeAutoInsets): adjust
7528 (ChangeInsets): adjust
7530 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
7532 * text.C (top_y): fix bug 1110
7534 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
7536 * errorlist.[Ch]: added
7539 * BufferView_pimpl.C:
7540 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7543 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7545 * Makefile.am: ensure that lyx is relinked upon changes to the
7546 various "convenience" libs.
7548 2003-05-20 Angus Leeming <leeming@lyx.org>
7550 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7551 files are compiled in alphabetical order again.
7553 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7555 2003-05-19 Angus Leeming <leeming@lyx.org>
7557 * gettext.[Ch]: remove "char const * _(char const *)".
7559 2003-05-19 André Pönitz <poenitz@gmx.net>
7561 * dimension.[Ch]: promote from mathed/dimension.[Ch]
7570 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7572 2003-05-19 André Pönitz <poenitz@gmx.net>
7576 * lyxtextclass.[Ch]:
7578 * paragraph_funcs.[Ch]:
7580 * text3.C: more insetenv work
7582 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
7584 * ParagraphParameters.C (params2string): small bug fixed
7586 2003-05-16 André Pönitz <poenitz@gmx.net>
7589 * bufferview_funcs.C: patch from Kornel Benko to prevent
7590 crash when _(...) is called twice in a statement
7592 2003-05-16 André Pönitz <poenitz@gmx.net>
7599 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7601 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
7603 * lyx_main.C (init): remove spurious static_cast
7605 2003-05-14 André Pönitz <poenitz@gmx.net>
7607 * BufferView.C: fix format string
7609 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
7611 * BufferView.[Ch] (insertErrors): removed
7612 * BufferView.[Ch] (showErrorList): added
7613 * buffer.C (runChkTeX):
7614 * converter.C (scanLog): call showErrorList instead of inserterrors
7616 2003-05-13 André Pönitz <poenitz@gmx.net>
7618 * BufferView_pimpl.C:
7620 * bufferview_func.C:
7627 * tabular_funcs.h: tostr() from its own header
7629 * ParagraphParameters.C:
7634 * text3.C: STRCONV()
7636 2003-05-12 André Pönitz <poenitz@gmx.net>
7639 * BufferView_pimpl.C:
7643 * ParagraphParameters.C:
7647 * bufferview_funcs.C:
7660 * paragraph_funcs.C:
7664 * text3.C: boost::format -> bformat all over the place
7667 2003-05-09 André Pönitz <poenitz@gmx.net>
7669 * LColor.[Ch]: Pimpl the #include <map> away
7671 2003-05-09 John Levon <levon@movementarian.org>
7673 * bufferlist.C: never remove emergency saves
7675 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7677 * Makefile.am: better lib building
7679 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
7681 * texrow.[Ch]: remove dependency on Paragraph and just store a id
7683 * paragraph_pimpl.C (simpleTeXBlanks): adjust
7684 (simpleTeXSpecialChars): adjust
7685 (simpleTeXSpecialChars): adjust
7686 * paragraph.C (simpleTeXOnePar): adjust
7687 * buffer.C (makeLaTeXFile): adjust
7689 * Makefile.am (BOOST_LIBS): allow boost as system lib.
7691 * text2.C (changeDepth): parlist cleanup
7692 (getColumnNearX): ditto
7694 * rowpainter.C (getLabelFont): parlist cleanup
7696 * bufferlist.C (newFile): parlist cleanup
7698 * CutAndPaste.C (eraseSelection): parlist cleanup
7700 * BufferView_pimpl.C (trackChanges): parlist cleanup
7703 * BufferView.C (lockInset): parlist cleanup.
7704 (ChangeInsets): ditto
7706 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7708 * CutAndPaste.h: Update file header.
7710 * CutAndPaste.C: Update file header.
7711 Store the parts cut out of the Document in a limited_stack.
7712 (copySelection): adjust
7713 (pasteSelection): new function, takes the index in the limited stack.
7714 (nrOfParagraphs): adjust
7715 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7716 simplify error inset insertion.
7717 (checkPastePossible): adjust
7719 2003-05-06 John Levon <levon@movementarian.org>
7721 * text2.C: don't cast wrap inset to float
7723 2003-05-05 André Pönitz <poenitz@gmx.net>
7726 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7728 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7729 few naked Paragraph *.
7731 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
7733 * bufferparams.C: Output warning if a document with missing
7734 TeX document class is loaded
7735 * exporter.C: Disable TeX exports if the document class is missing
7738 * lyxtextclasslist.C: Handle new textclass.lst format; new method
7739 isTeXClassAvailable()
7741 2003-05-03 John Levon <levon@movementarian.org>
7744 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7745 explicit cursor show/hide
7747 * BufferView_pimpl.h:
7748 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7749 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7751 * lyxfunc.C: hide cursor before dispatching.
7756 * text3.C: remove explicit cursor hides
7758 2003-05-02 André Pönitz <poenitz@gmx.net>
7760 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7763 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7766 * text2.C: tiny whitespace
7768 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7770 * undo_funcs.C: almost only ws changes.
7772 * ParagraphList.C (splice): just return if pl is empty.
7774 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7776 * ParagraphList.C (splice): new function.
7778 * CutAndPaste.C (pasteSelection): use it
7780 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7782 * CutAndPaste.C (pasteSelection): remove the last next and
7783 previous from this file.
7785 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7787 * CutAndPaste.C (pasteSelection): more clean up, user proper
7788 ParagraphList functions for pasteing.
7790 * ParagraphList.C (insert): new function, three arg insert
7792 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7794 * ParagraphList.C (insert): new function, three arg insert
7796 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7799 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7801 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7803 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7805 * CutAndPaste.C (pasteSelection): remove some unneeded code.
7807 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7809 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7810 (copySelection): clean up a bit.
7811 (pasteSelection): use make_pair
7813 * ParagraphList.C (ParagraphList): implement copy constructor
7814 (operator=): implement, base on copy constructor.
7817 * paragraph.C (erase): return a bool
7819 * paragraph_pimpl.C (erasePos): remove function, move contents...
7820 (erase): ... here. Return a bool.
7821 (erase): call erase instead of erasePos.
7823 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
7825 * ParagraphList.h: define PitPosPair
7826 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7827 ParagraphList, fix a bug on pasting multiple pars
7828 * text2.C: change interface to C&P
7830 2003-04-30 André Pönitz <poenitz@gmx.net>
7832 * undo_func.C: revert part of yesterday's patch 2
7834 2003-04-30 John Levon <levon@movementarian.org>
7836 * LColor.C: s/tabular/table/
7838 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7840 * text3.C (dispatch): do not convert iterator -> pointer
7841 * undo_funcs.C (setCursorParUndo): ditto
7842 * text_funcs.C (transposeChars): ditto
7844 * text2.C (setLayout): ws changes only
7846 * text.C (breakParagraph): do not convert iterator -> pointer
7848 (acceptChange): ditto
7849 (rejectChange): ditto
7854 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7857 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
7859 * text3.C (gotoInset): YABG (yet another bad getChar)
7861 2003-04-29 André Pönitz <poenitz@gmx.net>
7863 * paragraph.h: make operator= private unimplemented as long as
7866 * ParagraphList.C: whitespace
7869 * paragraph_pimpl.[Ch]:
7870 * paragraph_funcs.C:
7872 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
7875 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7877 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
7879 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7880 * paragraph.[Ch] (erase):
7881 * paragraph_pimpl.[Ch] (erase): change return type and value
7882 * text2.C (cutSelection): some rework
7884 2003-04-28 John Levon <levon@movementarian.org>
7886 * bufferlist.C: changes for unsaved changes dialog
7888 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7890 * bufferlist.C (newFile): set language (messages_) for new
7893 * buffer.C (readFile): ws changes only.
7895 2003-04-28 André Pönitz <poenitz@gmx.net>
7900 * BufferView_pimpl.C:
7901 * BufferView.C: getParFromID related ParagraphList::iterator changes
7903 2003-04-28 André Pönitz <poenitz@gmx.net>
7905 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7908 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7910 * messages.C: remove one more localedir class variable.
7912 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7914 * messages.C (getLocaleDir): singleton generation function
7916 (Messages): add a default constructor.
7918 * main.C (main): do not setup localedir here, do not call
7921 * gettext.C (_): use it.
7922 (gettext_init): delete funciton
7924 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7926 * gettext.C (getLyXMessages): new singleton generating function.
7928 * buffer.C (updateDocLang): adjust
7930 * Makefile.am (messages.o): add target
7931 (main.o): remove target
7933 2003-04-27 John Levon <levon@movementarian.org>
7938 * lyxvc.C: specify cancel button in Alert::prompt
7940 2003-04-26 John Levon <levon@movementarian.org>
7945 * LyXAction.C: add LFUN_INSET_SETTINGS
7947 * lyxfunc.C: don't enable tabular-feature when there's
7948 just any locking inset
7950 2003-04-26 John Levon <levon@movementarian.org>
7952 * bufferlist.C: re-add Cancel to buffer close question
7954 * lyxfunc.C: fix import UI a bit
7956 2003-04-25 John Levon <levon@movementarian.org>
7958 * gettext.C: remove the broken asserts for now
7960 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7962 * messages.C: make case where setlocale cannot comply work better.
7964 * buffer.C (updateDocLang): new function
7965 (changeLanguage): use it
7968 * text2.C (setCounter): use B_ a bit.
7970 * lyxlayout.C (Read): be sure to trim the label strings.
7972 * messages.C (Messages): fix typo in comment
7974 * buffer.C (readFile): set message_ after file is loaded.
7975 (makeDocBookFile): remove double return
7976 (changeLanguage): reset message_ upon language change.
7977 (B_): new func, use this to get translated buffer strings.
7979 * main.C: add myself and Jean Marc as authors.
7981 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7983 * messages.[hC]: pimplify Messages, and three different pimpls to be
7984 used in different circumstances.
7986 * gettext.[Ch]: change for use with new message code.
7988 2003-04-24 André Pönitz <poenitz@gmx.net>
7990 * factory.C: support for eqref
7992 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7994 * messages.[Ch]: add missing char
7996 * Makefile.am (lyx_SOURCES): add messages.[Ch]
7998 * messages.[Ch]: New files
8000 2003-04-18 John Levon <levon@movementarian.org>
8004 * BufferView_pimpl.C:
8008 * text2.C: remove layout-copy/paste (bug 778)
8010 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
8012 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
8014 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
8016 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
8017 if they succeed. Act accordingly.
8019 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8021 * text2.C (setCharFont): adjust
8022 (setCounter): adjust
8023 (insertStringAsLines): adjust
8025 * text.C (leftMargin): adjust
8026 (setHeightOfRow): adjust
8028 * rowpainter.C (paintFirst): adjust
8031 * paragraph_funcs.C (depthHook): ParagraphList::iterators
8033 (isFirstInSequence): ditto
8034 (getEndLabel): ditto
8037 * paragraph.C (getParLanguage): comment out some hard stuff.
8039 * buffer.C (insertStringAsLines): take a ParagraphList as arg
8041 (simpleDocBookOnePar): ditto
8042 (makeDocBookFile): use ParagraphList::iterator
8044 * CutAndPaste.C (pasteSelection): adjust
8046 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8048 * text2.C (getFont): adjust
8049 (getLayoutFont): adjust
8050 (getLabelFont): adjust
8052 * paragraph_funcs.C (TeXOnePar): adjust
8054 * buffer.C (simpleLinuxDocOnePar): adjust
8055 (simpleDocBookOnePar): adjust
8057 * CutAndPaste.C (pasteSelection): adjust
8059 * BufferView.C (getEncoding): adjust
8061 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
8063 2003-04-16 John Levon <levon@movementarian.org>
8065 * lyxfind.C: use parlist stuff for search/changes
8067 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8069 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
8071 * text2.C (deleteEmptyParagraphMechanism): adjust
8073 * text2.[Ch] (ownerParagraph): delete func (both of them
8075 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8077 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
8079 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8081 * ParagraphList.C: prepare for NO_NEXT
8083 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8085 * text2.C (getFont): adjust
8086 (getLayoutFont): adjust
8087 (getLabelFont): adjust
8089 * paragraph.C (getFont): adjust
8090 (getLabelFont): adjust
8091 (getLayoutFont): adjust
8093 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
8095 2003-04-15 John Levon <levon@movementarian.org>
8099 * lyx_main.C: handle Include in .ui files
8101 2003-04-15 John Levon <levon@movementarian.org>
8103 * MenuBackend.C: make the doc files length shorter
8106 * ToolbarBackend.C: handle toolbar placement flags,
8109 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8111 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
8114 * paragraph_funcs.C (TeXOnePar): adjust
8116 * paragraph.C (getLabelFont): add outerfont arg, adjust
8117 (getLayoutFont): ditto
8118 (simpleTeXOnePar): adjust
8120 * paragraph_pimpl.C (realizeFont): delete func
8122 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
8124 * text2.C (beforeFullRowInset): added a bad getchar check, removed
8125 row argument, constify cur argument.
8127 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8129 * text2.C (getFont): adjust
8130 (getLayoutFont): adjust
8131 (getLabelFont): adjust
8133 * paragraph_funcs.C (TeXOnePar): adjust
8134 (outerFont): new func...
8135 (realizeFont): ...moved out from here, changed this to facilitate
8138 * paragraph.C (getFont): take outerfont as arg, adjust
8139 (simpleTeXOnePar): add outerfont arg, adjust
8141 * buffer.C (simpleLinuxDocOnePar): adjust
8142 (simpleDocBookOnePar): adjust
8144 * CutAndPaste.C (pasteSelection): adjust
8146 * BufferView.C (getEncoding): adjust
8148 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8150 * text2.C (setCharFont): adjust
8151 (setCounter): adjust
8153 * text.C (leftMargin): adjust
8154 (setHeightOfRow): adjust
8156 * rowpainter.C (paintFirst): adjust
8159 * paragraph_pimpl.C (realizeFont): adjust
8161 * paragraph.C (isFirstInSequence): move from here...
8162 * paragraph_funcs.C (isFirstInSequence): ...to here
8164 * paragraph.C (outerHook): move from here...
8165 * paragraph_funcs.C (outerHook): ...to here
8167 * paragraph.C (depthHook): move from here...
8168 * paragraph_funcs.C (depthHook): ...to here
8170 * paragraph.C (getEndLabel): move from here...
8171 * paragraph_funcs.C (getEndLabel): ...to here
8173 * text2.C (realizeFont): move from here...
8174 * paragraph_funcs.C (realizeFont): ...to here
8176 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8178 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
8180 2003-04-14 Angus Leeming <leeming@lyx.org>
8182 * LColor.[Ch]: scrap LColor mathcursor.
8184 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8186 * lyxlex.[Ch] (text): delete function
8187 * trans.C (Load): adjust
8188 * paragraph_funcs.C (readParToken): adjust
8190 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8192 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8193 vector<char> instead of a char[].
8195 * lyxlex_pimpl.C (getString): adjust
8197 (lex): use getString
8201 * lyxlex.C (text): use pimpl_->getString()
8205 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8207 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8208 (makeFontEntriesLayoutSpecific): temp var for par.size()
8209 (setLayout): temp var for ownerParagraphs().end()
8210 (fullRebreak): temp var for rows().end()
8211 (selectionAsString): temp var for boost::next(startpit), realize
8212 that the while really is a regular for loop.
8213 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8214 setCursor in one place.
8215 (setParagraph): temp vr for ownerParagraphs().end()
8216 (updateCounters): make the while loop a for loop
8217 (cutSelection): temp var for ownerParagraphs().end()
8218 (updateInset): make the do {} while() a regular for loop
8219 (getCursorX): use temp vars
8220 (setCurrentFont): use temp vars
8221 (getColumnNearX): use temp vars
8223 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8225 * text.C (transformChar): use temp var for getChar
8226 (computeBidiTables): use temp var for row->par()
8227 (fill): move temp vars for row->par() and pit->layout() earlier in
8229 (labelFill): use temp var for row->par()
8230 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8231 asc and desc, realize that pit never changes and that firstpit is
8232 just a duplicate and not needed. Exchange rit->par() with pit in a
8234 (breakAgain): use a temp var for boost::next(rit)
8235 (breakAgainOneRow): ditto
8236 (breakParagraph): use a temp var for rows().begin()
8237 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8238 (cursorRightOneWord): use temp var for cursor.par() and
8239 cursor.pos(), remove usage of tmpcursor.
8240 (cursorLeftOneWord): use temp var for cursor.par() and
8241 cursor.pos() only set cur at end of function.
8243 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8245 * text.C, text2.C: exchange all usage of Paragraph::next with
8246 boost::next(ParagraphList::iterator)
8248 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8250 * text2.C (cursorTop): simplify implementation
8251 (cursorBottom): ditto
8252 (setParagraph): use ParagraphList::iterator
8253 (setCurrentFont): adjust
8254 (getColumnNearX): adjust
8255 (cursorRight): adjust
8256 (cursorLeft): remove usage of Paragraph::previous
8257 (cursorUpParagraph): ditto
8258 (deleteEmptyParagraphMechanism): slight cleanup
8260 * text.C (isBoundary): take a Paragraph const & instead of a
8262 (addressBreakPoint): ditto
8263 (leftMargin): remove usage of Paragraph::previous.
8264 (setHeightOfRow): ditto
8265 (cursorLeftOneWord): ditto
8266 (selectNextWordToSpellcheck): ditto
8269 (breakParagraph): remove one usage of Paragraph::next
8270 (redoParagraph): ditto
8271 (acceptChange): ditto
8272 (insertChar): adjust
8273 (rowBreakPoint): adjust
8275 * bufferview_funcs.C (toggleAndShow): adjust
8277 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
8279 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8280 methods to access it.
8282 * text.C: Added updateRowPositions to compute all row positions.
8283 Make top_y and getRowNearY() to use the cached y position
8285 2003-04-11 John Levon <levon@movementarian.org>
8287 * text.C (rowBreakPoint): reintroduce the labelEnd
8288 checks, code copied from the row fill stuff. Deep voodoo.
8290 * text.C (fill): add a comment and debugging for the
8293 2003-04-11 John Levon <levon@movementarian.org>
8295 * text.C: make sure fullrow insets get wrapped to the next line,
8296 even when they're in a manual label
8298 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
8300 * text2.C (insertParagraph): make it take ParagraphList::iterator
8302 (setLayout): make it return ParagraphList::iterator
8303 (redoParagraphs): ditto
8305 (checkParagraph): ditto
8307 * text.C (getRow): make getrow take ParagraphList::iterator as arg
8309 * text2.C: adjust several funcs.
8310 (realizeFont): take a ParagraphList::iterator as arg.
8311 (getLayoutFont): ditto
8312 (getLabelFont): ditto
8313 (setCharFont): ditto
8315 * text.C: adjust several funcs.
8317 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8319 * text.C (selectNextWordToSpellcheck): don't accidentally
8322 2003-04-10 John Levon <levon@movementarian.org>
8324 * ToolbarBackend.C (getIcon): special handling for
8327 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8329 * text2.C (cursorRight): a getChar assert fixed
8331 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8333 * text2.C (getFont): change to take a ParagraphList::iterator
8334 instead of Paragraph*
8335 Adjust several functions.
8337 * text.C (transformChar): change to take a ParagraphList::iterator
8338 instead of Paragraph*
8339 (singleWidth): ditto
8340 Adjust several functions.
8342 * rowpainter.C: adjust several functions
8343 * rowpainter.h:store a ParagraphList::iterator and not a
8347 2003-04-09 John Levon <levon@movementarian.org>
8352 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8353 and the "help" bits as well
8355 2003-04-09 John Levon <levon@movementarian.org>
8358 * ToolbarBackend.C: allow multiple toolbars
8360 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8362 * undo_funcs.C (setCursorParUndo): adjust
8364 * text_funcs.C (transposeChars): adjust
8366 * text3.C (gotoNextInset): adjust
8369 * text2.C (setLayout): adjust
8370 (changeDepth): adjust
8372 (redoParagraphs): adjust
8373 (selectionAsString): adjust
8374 (setParagraph): adjust
8375 (insertInset): adjust
8376 (cutSelection): adjust
8377 (copySelection): adjust
8378 (pasteSelection): adjust
8379 (insertStringAsLines): adjust
8380 (updateInset): adjust
8381 (setCursor): change to take a ParagraphList::iterator parameter
8382 (setCursorIntern): change to take a ParagraphList::iterator parameter
8383 (setCurrentFont): adjust
8384 (cursorLeft): adjust
8385 (cursorRight): adjust
8386 (deleteEmptyParagraphMechanism): adjust
8388 * text.C (breakParagraph): adjust
8389 (insertChar): adjust
8390 (acceptChange): adjust
8391 (rejectChange): adjust
8392 (selectNextWordToSpellcheck): adjust
8393 (changeCase): adjust
8397 * lyxfind.C (SearchForward): adjust
8398 (SearchBackward): adjust
8399 (nextChange): adjust
8401 * lyxcursor.C (par): adjust
8403 * lyxcursor.h: store a ParagraphList::iterator instead of a
8406 * lyx_cb.C (getPossibleLabel): adjust
8408 * bufferview_funcs.C (toggleAndShow): adjust
8410 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8413 * BufferView.C (removeAutoInsets): adjust
8414 (lockedInsetStoreUndo): adjust
8416 2003-04-09 John Levon <levon@movementarian.org>
8418 * ToolbarBackend.C: try icon without argument
8419 if with argument fails
8421 2003-04-08 John Levon <levon@movementarian.org>
8424 * ToolbarBackend.C: add getIcon(), handle tooltip,
8425 and change from "Icon" to "Item".
8427 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8429 * BufferView.C (lockInset): another bad getchar crunched
8431 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8433 * text2.C (changeDepth): do not setUndo on test_only (make undo work
8436 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
8438 * lyxfind.C (searchForward, searchBackwards): bug 782
8440 2003-04-07 John Levon <levon@movementarian.org>
8442 * paragraph.C: remove dead comment
8444 * text.C: remove troublesome depth-fiddling code
8445 in leftMargin() and rightMargin() (bug 1017)
8447 * text.C: fix breaking of rows in nested lists
8450 * text2.C (updateCounters): fix up depth values
8453 2003-04-07 John Levon <levon@movementarian.org>
8455 * BufferView_pimpl.C: clear message when doc finishes resizing,
8456 and after a mouse event
8458 * lyxfunc.C: clear message after exiting inset
8460 2003-04-07 John Levon <levon@movementarian.org>
8462 * bufferview_funcs.C: show math status not outside
8463 status in the statusbar
8465 2003-04-07 John Levon <levon@movementarian.org>
8467 * lyxfunc.C: note status changed after a depth change
8469 2003-04-04 Angus Leeming <leeming@lyx.org>
8471 * LaTeX.h: move AuxInfo operator==, != out of line.
8472 Remove LaTeX virtual destructor; nothing derives from it.
8473 Move operator()() out of public area and rename it startscript().
8474 Change protected for private.
8476 2003-04-04 Angus Leeming <leeming@lyx.org>
8479 * text2.C: remove unneeded #includes.
8481 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8483 * text2.C (dEPM): fix the heigth of the next row
8485 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8487 * text.C: squashed an invalid getChar requester + some ws changes
8489 2003-04-03 John Levon <levon@movementarian.org>
8491 * bufferview_funcs.h:
8492 * bufferview_funcs.C:
8495 * text2.C: make getStatus work for the env depth lfuns
8497 2003-04-03 John Levon <levon@movementarian.org>
8499 * bufferview_funcs.h:
8500 * bufferview_funcs.C:
8503 * text2.C: parlistize decDepth(), by merging it with incDepth()
8505 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8507 * lyxrow.h: store a ParagraphList::iterator instead of a
8508 Paragraph* and adjust other class functions to suit.
8510 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8513 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8515 * text2.C (setCursor): do not anchor to cursor row for the time being
8517 2003-04-02 John Levon <levon@movementarian.org>
8524 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8526 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8528 * paragraph.h: make ParagraphList and ParagraphList::iterator
8529 friends of Paragraph.
8531 * buffer.C (makeLinuxDocFile): move towards ParagraphList
8533 * ParagraphList.C: Use the private next_ and previous_ from
8536 2003-04-01 John Levon <levon@movementarian.org>
8540 * Makefile.am: rename, remove defaults gunk
8543 * MenuBackend.C: remove defaults gunk
8546 * Languages.C: remove defaults gunk
8549 * lyx_main.C: error out if files couldn't be found.
8551 2003-04-02 John Levon <levon@movementarian.org>
8553 * text2.C: make incDepth() use parlist
8555 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8557 * undo_funcs.C (firstUndoParagraph): adjust
8559 * text3.C (gotoInset): adjust
8560 (dispatch): adjust, and rewrite loop.
8562 * text2.C (init): adjust, and rewrite loop.
8563 (redoParagraphs): adjust
8564 (updateInset): adjust, and rewrite loop.
8565 (deleteEmptyParagraphMechanism): adjust
8567 * tabular.C (LyXTabular): adjust
8568 (SetMultiColumn): adjust
8571 * lyxtext.[Ch] (ownerParagraph): delete function
8572 (ownerParagraphs): new function returns a ParagraphList.
8574 * BufferView.C (removeAutoInsets): adjust
8575 (insertErrors): adjust
8576 (setCursorFromRow): adjust
8578 2003-04-01 Angus Leeming <leeming@lyx.org>
8580 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8583 2003-04-02 John Levon <levon@movementarian.org>
8589 * text_funcs.C: make transposeChars a free function
8591 * lyxrow_funcs.C: remove wrong comment
8593 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8596 * rowpainter.C: adjust
8601 * lyxrow_funcs. [Ch]: new files
8603 * lyxrow.[Ch]: remove next and previous pointers
8604 (next,previous): remove accessor functions
8605 (isParEnd): move to lyxrow_funcs
8606 (lastPos): move to lyxrow_funcs
8607 (nextRowIsAllInset): move to lyxrow_funcs
8608 (lastPrintablePos): move to lyxrow_funcs
8609 (numberOfSeparators): move to lyxrow_funcs
8610 (numberOfHfills): move to lyxrow_funcs
8611 (numberOfLabelHfills): move to lyxrow_funcs
8612 (hfillExpansion): move to lyxrow_funcs
8616 * bufferview_funcs.C (toggleAndShow): adjust
8618 * RowList.h: Remove class RowList from file leave just a
8621 * RowList.C: delete file
8623 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8626 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8628 * text3.C (cursorPrevious): adjust
8629 (cursorNext): adjust
8632 * text2.C (redoHeightOfParagraph): adjust
8633 (redoDrawingOfParagraph): adjust
8636 * text.C (breakParagraph): adjust
8637 (insertChar): adjust
8640 * rowpainter.C (RowPainter): adjust
8641 (leftMargin): simplify and adjust
8642 (most rowpainter functions): adjust.
8644 * rowpainter.h: store the row as RowList::iterator not as Row*
8646 * lyxcursor.C (row): taka RowList::iterator as arg
8649 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8652 2003-04-01 Angus Leeming <leeming@lyx.org>
8654 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8655 stuff like bool Bool.
8657 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8659 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8662 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8664 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8667 * lyxtext.h (rows): drop one version and leve a const variant that
8668 returns a RowList::iterator.
8670 2003-03-31 Angus Leeming <leeming@lyx.org>
8672 * text.C (fill): ensure that the signature is the same as that in the
8675 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
8677 * text2.C (redoParagraphs): adjust
8678 (updateCounters): adjust
8679 (checkParagraph): adjust
8680 (getColumnNearX): adjust and reformat a bit.
8682 * text.C (top_y): adjust
8684 (leftMargin): adjust
8685 (prepareToPrint): adjust
8687 (getRowNearY): adjust
8689 * lyxtext.h: make rowlist_ mutable.
8691 * RowList.h: add const_iterator
8692 * RowList.C: adjust for RowList::const_iterator.
8694 * text2.C (getCursorX): make it take a RowList::iterator as arg,
8697 2003-03-31 John Levon <levon@movementarian.org>
8700 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8702 * lyx_main.C: set default fonts from using lyx_gui funcs
8704 * exporter.C: pdf_mode moved from lyxrc
8707 * lyxfunc.C: changes from above
8709 2003-03-31 John Levon <levon@movementarian.org>
8711 * lyx_main.C: fix to the last fix
8713 2003-03-31 John Levon <levon@movementarian.org>
8715 * bufferlist.C: "Load original" -> "Load Original"
8721 * format.C: more Alert cleanups
8723 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8725 * text2.C (removeParagraph): make it take a RowList::iterator as
8727 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8728 (postRowPaint): make it take a RowList::iterator as arg, adjust.
8730 * text.C (anchor_row): make it take a RowList::iterator as arg,
8732 (computeBidiTables): make it take a const reference to Row instead
8733 of Row pointer, adjust.
8734 (leftMargin): make it take a RowList::iterator as arg, adjust.
8735 (rowBreakPoint): adjust
8736 (breakAgainOneRow): make it take a RowList::iterator as arg,
8738 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8740 * bufferview_funcs.C (toggleAndShow): adjust
8742 2003-03-30 John Levon <levon@movementarian.org>
8746 * boost-inst.C: moved to support
8748 * several files: changes as a result
8750 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8752 * text2.C (LyXText): adjust.
8754 (removeRow): make it take a RowList::iterator as arg, adjust.
8755 (fullRebreak): adjust
8756 (deleteEmptyParagraphMechanism): adjust
8757 (clearPaint): adjust
8760 * text.C (top_y): adjust
8761 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8762 (breakAgain): make it take a RowList::iterator as arg, adjust.
8763 (breakParagraph): adjust
8764 (insertChar): adjust
8767 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8768 need_break_row, and refresh_row.
8770 * text3.C (dispatch): adjust
8772 * text2.C (checkParagraph): adjust
8774 (setCursorFromCoordinates): adjust
8776 * text.C (top_y): adjust
8778 (getRow): make it return a RowList::iterator, adjust
8779 (getRowNearY): make it return a RowList::iterator, adjust
8781 * text2.C (init): adjust
8782 (insertRow): remove function
8783 (insertParagraph): adjust
8784 (redoParagraphs): adjust
8785 (fullRebreak): adjust
8786 (updateCounters): adjust
8788 * text.C (top_y): rewrite to use RowList iterators.
8790 (setHeightOfRow): rewrite to sue RowList iterators.
8791 (appendParagraph): adjust
8792 (breakAgain): adjust
8793 (breakAgainOneRow): adjust
8794 (breakParagraph): adjust
8796 (getRowNearY): adjust, and remove commented code.
8798 * lyxtext.h (firstRow): delete function
8799 (lastRow): delete function
8800 (rows): new function (const and non-const versions.)
8801 (insertRow): delete function
8803 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8805 2003-03-29 John Levon <levon@movementarian.org>
8807 * BufferView_pimpl.C: always update scrollbar top
8808 because pasting text when we're anchored could mean we
8809 miss an update altogether
8811 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8813 * text2.C (init): use rowlist_.end() and not 0.
8814 (insertRow): change to take a RowList::iterator as arg, adjust
8816 (insertParagraph): change to take a RowList::iterator as arg,
8818 (redoParagraphs): remove some debug msgs.
8820 * text.C (appendParagraph): change to take a RowList::iterator
8821 arg, adjust for this.
8822 (breakAgain): add an assert
8823 (breakAgainOneRow): ditto
8825 2003-03-29 John Levon <levon@movementarian.org>
8827 * text2.C: do not clear selection after inc/decDepth
8830 2003-03-29 John Levon <levon@movementarian.org>
8833 * buffer.C: fix broken strerrors according to Lars
8835 2003-03-29 John Levon <levon@movementarian.org>
8837 * converters.C: more Alert cleanups
8839 2003-03-29 John Levon <levon@movementarian.org>
8841 * bufferview_funcs.C: remove pointless Alert
8843 * buffer.C: fix confusing error message when
8844 a template is chmoded 000
8846 2003-03-29 John Levon <levon@movementarian.org>
8850 * BufferView_pimpl.C: Alert fixes
8854 * tabular-old.C: remove unused table compat reading
8856 2003-03-29 John Levon <levon@movementarian.org>
8861 * lyx_cb.C: more Alert cleanups
8863 * lyxfunc.C: don't allow chktex if not latex document
8865 2003-03-29 John Levon <levon@movementarian.org>
8869 * buffer.C: warnings pushed down from support/,
8872 2003-03-29 John Levon <levon@movementarian.org>
8874 * lyxfunc.C: safety check for C-r (revert)
8876 2003-03-29 John Levon <levon@movementarian.org>
8879 * bufferlist.C: several UI fixes using Alert::prompt.
8880 Fix the pointless looping quit code. Fix stupid revert
8885 * lyx_cb.C: use Alert::prompt
8887 * lyx_main.C: remove a silly question
8889 * lyxfunc.C: remove a couple of silly questions,
8892 2003-03-28 John Levon <levon@movementarian.org>
8894 * text2.C: fix bug 974 (End on empty par)
8896 2003-03-28 John Levon <levon@movementarian.org>
8898 * BufferView_pimpl.C:
8900 * lfuns.h: remove do-nothing math greek lfuns
8902 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8904 * lyxgluelength.h (isValidGlueLength): add default arg on
8905 parameter 2. Remove default arg from friend in class.
8907 * lyxlength.h (isValidLength): add default arg on parameter 2.
8908 Remove default arg from friend in class.
8910 * text2.C (LyXText): adjust, initialize refresh_row.
8914 (insertParagraph): adjst
8915 (redoParagraphs): adjust
8916 (fullRebreak): adjust
8917 (updateCounters): adjust
8918 (deleteEmptyParagraphMechanism): first attempt at fixing a
8921 * text.C (top_y): adjust
8922 (setHeightOfRow): adjust
8924 (getRowNearY): adjust
8926 * lyxtext.h: include RowList.h
8927 (~LyXText): not needed anymore, deleted.
8928 (firstRow): modify for RowList
8929 (lastRow): new function
8930 Delete firstrow and lastrow class variables, add a Rowlist
8931 rowlist_ class variable.
8933 * lyxrow.C (lastPos): use empty() and not !size() to check if a
8936 * RowList.C (insert): fix case where it == begin().
8938 2003-03-26 Angus Leeming <leeming@lyx.org>
8940 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8941 the thesaurus dialog.
8943 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
8945 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8947 * RowList.[Ch]: new files
8949 * ParagraphList.C (erase): handle the case where it == begin
8952 2003-03-25 John Levon <levon@movementarian.org>
8956 * aspell.C: add new aspell support
8959 * lyxrc.C: Make use_pspell be use_spell_lib. Always
8962 2003-03-25 Angus Leeming <leeming@lyx.org>
8965 * LyXAction.C (init): new LFUN_INSET_INSERT.
8967 * BufferView_pimpl.C (dispatch): split out part of the
8968 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8970 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8973 2003-03-25 Angus Leeming <leeming@lyx.org>
8975 * lyxfunc.C (dispatch): changes to the Dialogs interface.
8977 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
8980 * text3.C: remove useless row->height(0)
8982 2003-03-25 John Levon <levon@movementarian.org>
8986 * text3.C: rename the refreshing stuff to better names
8988 2003-03-24 John Levon <levon@movementarian.org>
8990 * BufferView_pimpl.h:
8991 * BufferView_pimpl.C: update layout choice on a mouse
8994 2003-03-23 John Levon <levon@movementarian.org>
8996 * Makefile.am: fix commandtags.h reference
8998 2003-03-22 John Levon <levon@movementarian.org>
9000 * BufferView_pimpl.C:
9005 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
9007 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
9010 * text.C: take the rtl methods out of line
9012 2003-03-21 André Pönitz <poenitz@gmx.net>
9014 * metricsinfo.[Ch]: new files containing structures to be passed around
9015 during the two-phase-drawing...
9017 2003-03-21 André Pönitz <poenitz@gmx.net>
9019 * lyxtextclass.C: read 'environment' tag.
9021 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
9023 * text2.C (removeRow): fix bug 964
9025 2003-03-20 John Levon <levon@movementarian.org>
9029 * text2.C: paint cleanups. Inset::update() dropped font
9032 2003-03-19 John Levon <levon@movementarian.org>
9034 * lyxfunc.C: only fitcursor/markDirty if available()
9036 2003-03-19 John Levon <levon@movementarian.org>
9038 * commandtags.h: rename to ...
9040 * lfuns.h: ... this, and renumber / cleanup
9042 2003-03-19 John Levon <levon@movementarian.org>
9044 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
9045 fit the cursor after an lfun
9049 * BufferView_pimpl.h:
9050 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
9052 * LyXAction.C: layout-character should have ReadOnly
9054 * ParagraphParameters.C:
9056 * bufferview_funcs.C:
9063 * undo_funcs.C: changes from above
9065 2003-03-18 John Levon <levon@movementarian.org>
9067 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
9068 remove it from update()
9070 * lyxfunc.C: update layout choice after an lfun
9072 * text3.C: remove extra updateLayoutChoice()s
9074 2003-03-18 John Levon <levon@movementarian.org>
9076 * text.C: top_y change means full repaint, fix
9077 a drawing bug with cursor movement
9079 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
9083 * text2.C: anchor row on setCursor
9085 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
9087 * lyxtext.h: remove almost all mutable keywords
9090 * text3.C: remove const keywords accordingly
9092 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
9094 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
9096 (TeXEnvironment): ditto
9099 2003-03-17 John Levon <levon@movementarian.org>
9101 * text.C (rowBreakPoint): remove attempt to fix displayed
9102 math insets inside a manual label
9104 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
9106 * lyxtext.h: remove BufferView* as first arg from almost all class
9108 * other files: adjust.
9110 2003-03-17 John Levon <levon@movementarian.org>
9114 * text2.C: more paint cleanups
9116 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
9119 * rowpainter.C: remove "smart" background painting code
9121 2003-03-16 John Levon <levon@movementarian.org>
9126 * text3.C: add helper functions for setting refresh_row/y
9128 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
9130 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
9131 newline inset which *can* get inserted in the pass_thru layouts.
9132 This is primarily for literate documents.
9134 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
9136 * buffer.C: increment LYX_FORMAT to 223
9138 2003-03-14 André Pönitz <poenitz@gmx.net>
9140 * textclass.h: prepare for environment handling, ws changes
9141 * lyxlayout.C: read latexheader and latexfooter tags
9143 2003-03-14 John Levon <levon@movementarian.org>
9145 * text2.C: rewrite ::status() a bit
9147 2003-03-13 John Levon <levon@movementarian.org>
9149 * lyxtext.h: add some docs
9151 2003-03-13 John Levon <levon@movementarian.org>
9156 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
9158 2003-03-13 John Levon <levon@movementarian.org>
9160 * text3.C: fix appendix redrawing
9162 2003-03-13 John Levon <levon@movementarian.org>
9164 * text.C (setHeightOfRow):
9166 * rowpainter.C: make appendix mark have the text
9167 "Appendix" so the user knows what it is
9170 * LColor.C: s/appendixline/appendix/ from above
9172 2003-03-13 John Levon <levon@movementarian.org>
9174 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
9176 * text.C: fix a getChar(pos) bug properly
9178 2003-03-13 Angus Leeming <leeming@lyx.org>
9181 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
9182 Probably only temporary. Let's see how things pan out.
9184 * BufferView.C (unlockInset):
9185 * BufferView_pimpl.C (fitCursor):
9186 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
9188 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
9189 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
9191 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
9192 new functions that convert ParagraphParameters to and from a string.
9194 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9195 BufferView::Pimpl's dispatch.
9196 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9198 2003-03-13 André Pönitz <poenitz@gmx.net>
9202 * factory.C: make it aware of InsetEnv
9204 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
9206 * text2.C (setCursor): never ask for one past last
9207 (setCursor): add some debugging messages.
9209 * text.C (singleWidth): never ask for one past last
9210 (singleWidth): ditto
9212 (rightMargin): ditto
9213 (rowBreakPoint): ditto
9214 (setHeightOfRow): ditto
9215 (prepareToPrint): ditto
9217 * rowpainter.C (paintBackground): never ask for one past last
9218 (paintText): never ask for one past last
9220 * paragraph_pimpl.C (getChar): make the assert stricter, never
9221 allow the one past last pos to be taken
9223 * paragraph.C (getChar): ws changes only
9225 * lyxrow.C (nextRowIsAllInset): never ask for one past last
9226 (numberOfSeparators): ditto
9227 (numberOfHfills): ditto
9229 2003-03-12 John Levon <levon@movementarian.org>
9235 * paragraph_funcs.C: fix per-buffer authorlists
9237 2003-03-12 John Levon <levon@movementarian.org>
9239 * text.C: fix newline in right address
9241 2003-03-12 Angus Leeming <leeming@lyx.org>
9243 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9244 duplicate those in LyXFunc::dispatch.
9248 * ToolbarDefaults.C:
9249 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9250 Add LFUN_FONTFREE_UPDATE.
9252 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9253 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9255 * bufferview_func.[Ch]: several new functions to facilliate
9256 transfer of data to and from the character dialog.
9258 2003-03-12 John Levon <levon@movementarian.org>
9263 * paragraph_funcs.C:
9264 * paragraph_pimpl.C:
9268 * text3.C: remove META_NEWLINE in favour of an inset
9271 * rowpainter.C: remove paintNewline (done by inset)
9273 2003-03-12 John Levon <levon@movementarian.org>
9275 * paragraph_pimpl.C: complain about bad getChar()s
9276 for a while at least
9278 2003-03-12 John Levon <levon@movementarian.org>
9281 * buffer.C: move paragraph read into a separate function,
9282 a little renaming to reflect that.
9285 * bufferparams.C: remove the author_ids map, not necessary now
9288 * factory.C: moved Buffer::readInset to here
9290 * paragraph_funcs.h:
9291 * paragraph_funcs.C: readParagraph free function moved from
9294 * tabular.C: name change
9296 2003-03-12 John Levon <levon@movementarian.org>
9299 * ParagraphParameters.C: move par params input to
9302 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9303 behave like a normal read from the stream wrt reading
9304 a line vs. a \\token
9306 2003-03-12 John Levon <levon@movementarian.org>
9309 * ParagraphParameters.h:
9310 * ParagraphParameters.C: move output code to a
9313 2003-03-12 John Levon <levon@movementarian.org>
9315 * BufferView.C (insertLyXFile):
9318 * tabular.C: use a parlist iterator for creating the
9321 2003-03-12 John Levon <levon@movementarian.org>
9323 * buffer.C: make current_change static local not
9326 2003-03-12 John Levon <levon@movementarian.org>
9328 * buffer.C: fix insertStringAsLines for change tracking
9330 2003-03-12 John Levon <levon@movementarian.org>
9337 * bufferparams.C: move author list into params. Rename some
9338 functions. Move the header reading into a separate token
9339 loop. Move the header token reading into BufferParams.
9341 2003-03-12 John Levon <levon@movementarian.org>
9343 * changes.C: put debug inside lyxerr.debugging() checks
9345 2003-03-11 André Pönitz <poenitz@gmx.net>
9347 * factory.C: make it aware of InsetHFill
9349 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9351 * buffer.C (latexParagraphs): move function from here...
9352 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9355 2003-03-10 Angus Leeming <leeming@lyx.org>
9357 * LyXAction.C (init): fix bug in poplating array with multiple entries
9358 with the same LFUN (spotted by JMarc).
9360 2003-03-10 John Levon <levon@movementarian.org>
9363 * text2.C: move getColumnNearX() near its
9366 2003-03-10 John Levon <levon@movementarian.org>
9368 * text.C: fix break before a minipage
9370 2003-03-10 John Levon <levon@movementarian.org>
9372 * text.C: fix the last commit
9374 2003-03-09 John Levon <levon@movementarian.org>
9378 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9379 bug 365 (don't break before insets unless needed). Don't
9380 return a value > last under any circumstances.
9382 2003-03-09 Angus Leeming <leeming@lyx.org>
9384 * BufferView_pimpl.C (trackChanges, dispatch): call
9385 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9387 2003-03-09 Angus Leeming <leeming@lyx.org>
9389 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9390 than Dialogs::showAboutlyx().
9392 2003-03-09 Angus Leeming <leeming@lyx.org>
9394 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9395 than Dialogs::showTabularCreate().
9397 2003-03-09 John Levon <levon@movementarian.org>
9401 * text2.C: 3rd arg to nextBreakPoint was always the same.
9404 2003-03-08 John Levon <levon@movementarian.org>
9411 * text2.C: Remove the "main" bit from the "main body"
9414 2003-03-08 John Levon <levon@movementarian.org>
9416 * text.C (leftMargin): The left margin of an empty
9417 manual label paragraph should not include the label width
9420 * text.C (prepareToPrint): don't attempt to measure hfills
9421 for empty manual label paragraphs - the answer should be 0
9423 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9425 * CutAndPaste.C: remove commented code and reindent.
9427 2003-03-08 John Levon <levon@movementarian.org>
9430 * lyxfunc.C: move reloadBuffer()
9433 * BufferView.C: to here
9435 * lyxvc.C: add comment
9438 * vc-backend.C: call bv->reload() to avoid
9439 getStatus() check on MENURELOAD
9441 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
9443 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9444 to an old format .dep file.
9446 2003-03-07 Angus Leeming <leeming@lyx.org>
9448 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9449 when the LFUN_MOUSE_RELEASE should have been handled by
9450 inset->localDispatch.
9452 2003-03-07 Angus Leeming <leeming@lyx.org>
9454 * BufferView_pimpl.C (dispatch):
9455 * LyXAction.C (init):
9456 * ToolbarDefaults.C (init):
9458 * lyxfunc.C (getStatus):
9459 remove LFUN_INSET_GRAPHICS.
9461 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9463 2003-03-07 Angus Leeming <leeming@lyx.org>
9466 * LyXAction.C (init):
9467 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9469 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9472 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9474 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9475 localDispatch method LFUN_INSET_DIALOG_UPDATE.
9477 2003-03-07 Angus Leeming <leeming@lyx.org>
9479 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9482 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9484 * ParagraphList.C (front): new function
9487 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
9489 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9490 and top_row_offset_. removed var first_y.
9492 * text2.C (LyXText, removeRow):
9494 * BufferView_pimpl.C:
9495 use these methods instead of using first_y
9497 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9499 * text2.C (pasteSelection): adjust for checkPastePossible
9501 * CutAndPaste.C: remove Paragraph * buf and replace with
9502 ParagraphList paragraphs.
9503 (DeleteBuffer): delete
9504 (cutSelection): change the tc type to textclass_type
9505 (copySelection): change the tc type to textclass_type
9506 (copySelection): adjust for ParagraphList
9507 (pasteSelection): change the tc type to textclass_type
9508 (pasteSelection): adjust for Paragraphlist
9509 (nrOfParagraphs): simplify for ParagraphList
9510 (checkPastePossible): simplify for ParagraphList
9511 (checkPastePossible): remove unused arg
9513 * ParagraphList.C (insert): handle the case where there are no
9516 * CutAndPaste.h: make CutAndPaste a namespace.
9518 * text3.C (dispatch): adjust
9520 * text.C (breakParagraph): add a ParagraphList as arg
9522 * paragraph_funcs.C (breakParagraph): change to take a
9523 BufferParams and a ParagraphList as args.
9524 (breakParagraphConservative): ditto
9525 (mergeParagraph): ditto
9526 (TeXDeeper): add a ParagraphList arg
9527 (TeXEnvironment): ditto
9530 * buffer.C (readLyXformat2): adjust
9531 (insertStringAsLines): adjust
9532 (latexParagraphs): adjust
9534 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9535 (cutSelection): adjust
9536 (pasteSelection): adjust
9538 * BufferView_pimpl.C (insertInset): adjust
9540 2003-03-05 Angus Leeming <leeming@lyx.org>
9543 * LyXAction.C (init):
9544 * BufferView_pimpl.C (dispatch):
9545 * lyxfunc.C (getStatus):
9546 remove LFUN_CHILD_INSERT.
9548 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9550 2003-03-05 Angus Leeming <leeming@lyx.org>
9553 * LyXAction.C (init):
9554 * src/factory.C (createInset):
9555 * lyxfunc.C (getStatus):
9556 * text3.C (dispatch):
9557 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9559 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9561 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9563 * ParagraphList.C (insert): handle insert right before end()
9564 (erase): fix cases where it can be first or last paragraph.
9566 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9568 * paragraph_funcs.C (TeXEnvironment): remove all usage of
9569 Paragraph::next and Paragraph::previous
9572 * text.C (breakParagraph): adjust
9574 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9575 BufferParams& as arg.
9576 (breakParagraph): use ParagraphList::insert
9577 (breakParagraphConservative): take a Buffer* instead of a
9578 BufferParams& as arg.
9579 (breakParagraphConservative): use ParagraphList::insert.
9581 * buffer.C (insertStringAsLines): un-const it
9582 (insertStringAsLines): adjust
9584 * ParagraphList.C (insert): new function
9586 * CutAndPaste.C (pasteSelection): adjust
9588 * text.C (backspace): adjust
9590 * tabular.C (SetMultiColumn): adjust
9592 * CutAndPaste.C (cutSelection): adjust
9593 (pasteSelection): adjust
9595 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9596 Buffer const * as arg
9598 * ParagraphList.C (erase): new function
9599 * paragraph_funcs.C (mergeParagraph): use it
9600 (mergeParagraph): make it take a Buffer* instead of a
9601 BufferParams* as arg
9603 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9605 (breakParagraphConservative): ditto
9607 * paragraph.h: remove the breakParagraph friend
9609 * paragraph.C (eraseIntern): new function
9610 (setChange): new function
9612 * paragraph_funcs.C (mergeParagraph): make it take a
9613 ParagraphList::iterator instead of a Paragraph *, adjust
9616 * paragraph.h: move an #endif so that the change tracking stuff
9617 also works in the NO_NEXT case.
9619 2003-03-04 Angus Leeming <leeming@lyx.org>
9622 * LyXAction.C: new LFUN_INSET_MODIFY.
9624 * BufferView_pimpl.C (dispatch): if an inset is found to be open
9625 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9627 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9629 * several files: ws changes only
9631 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9632 (TeXEnvironment): ditto
9635 * buffer.C (makeLaTeXFile): adjust
9636 (latexParagraphs): make it take ParagraphList::iterator as args
9638 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
9640 * buffer.C (latexParagraphs): adjust
9642 * paragraph.C (TeXOnePar): move function...
9643 (optArgInset): move function...
9644 (TeXEnvironment): move function...
9645 * paragraph_pimpl.C (TeXDeeper): move function...
9646 * paragraph_funcs.C: ...here
9648 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9650 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9652 * buffer.C (readInset): remove compability code for old Figure and
9655 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9657 * buffer.C: ws changes
9660 * BufferView_pimpl.C: ditto
9663 * bufferlist.h: ditto
9667 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
9669 * converter.[Ch]: split into itself +
9672 * Makefile.am: += graph.[Ch] + format.[Ch]
9679 * lyxrc.C: added #include "format.h"
9681 2003-02-27 Angus Leeming <leeming@lyx.org>
9683 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9686 * factory.C (createInset): add "label" to the factory.
9688 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9689 string and do no more.
9691 2003-02-27 Angus Leeming <leeming@lyx.org>
9694 * LyXAction.C (init):
9695 * factory.C (createInset):
9696 * BufferView_pimpl.C (dispatch):
9697 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9699 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9701 * lyxfunc.C (dispatch):
9702 * text3.C (dispatch): pass name to params2string.
9704 2003-02-26 Angus Leeming <leeming@lyx.org>
9706 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9708 Rearrange the ~includes. Strip out the unnecessary ones.
9710 * factory.C (createInset): reformat.
9711 create new insets for the various LFUN_XYZ_APPLY lfuns.
9713 2003-02-26 John Levon <levon@movementarian.org>
9716 * lyxrow.C: add isParStart,isParEnd helpers
9718 * paragraph.h: make isInserted/DeletedText take refs
9720 * paragraph_funcs.h:
9721 * paragraph_funcs.C: remove #if 0'd code
9726 * text.C: use lyxrow helpers above.
9727 Move draw and paint routines to RowPainter.
9728 Make several methods use refs not pointers.
9729 Make backgroundColor() const.
9730 Add markChangeInDraw(), isInInset().
9731 Merge changeRegionCase into changeCase.
9732 Make workWidth() shouldn't-happen code into an Assert.
9735 * rowpainter.C: new class for painting a row.
9738 * vspace.C: make inPixels take a ref
9740 2003-02-26 Angus Leeming <leeming@lyx.org>
9742 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9745 2003-02-25 John Levon <levon@movementarian.org>
9747 * ispell.C: give the forked command a more accurate name
9749 2003-02-22 John Levon <levon@movementarian.org>
9752 * toc.C: make TocItem store an id not a Paragraph *
9755 2003-02-21 Angus Leeming <leeming@lyx.org>
9757 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9758 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9759 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9760 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9761 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9762 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9764 * BufferView_pimpl.C (dispatch):
9765 * LyXAction.C (init):
9766 * factory.C (createInset):
9767 * lyxfunc.C (getStatus, dispatch):
9768 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9770 2003-02-21 Angus Leeming <leeming@lyx.org>
9772 * BufferView_pimpl.C (MenuInsertLyXFile):
9773 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9774 * lyxfunc.C (menuNew, open, doImport):
9775 no longer pass a LyXView & to fileDlg.
9777 2003-02-21 Angus Leeming <leeming@lyx.org>
9779 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9780 * LyXAction.C: change, BIBKEY to BIBITEM.
9781 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9782 Change InsetBibKey to InsetBibitem.
9783 Change BIBKEY_CODE to BIBITEM_CODE.
9784 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9785 * factory.C: replace insetbib.h with insetbibitem.h.
9786 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9787 * paragraph.C: replace insetbib.h with insetbibitem.h.
9788 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9789 Change bibkey() to bibitem().
9790 * text.C: remove insetbib.h.
9791 * text2.C: replace insetbib.h with insetbibitem.h.
9792 change bibkey() to bibitem().
9793 * text3.C: remove insetbib.h.
9794 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9796 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9798 * lyxrc.C (output): enclose user email in quotes (in case there are
9801 2003-02-18 John Levon <levon@movementarian.org>
9803 * buffer.h: add std::
9805 2003-02-17 John Levon <levon@movementarian.org>
9811 * pspell.C: reworking. Especially in ispell, a large
9812 number of clean ups and bug fixes.
9814 * lyxfunc.C: fix revert to behave sensibly
9816 2003-02-17 André Pönitz <poenitz@gmx.net>
9819 * commandtags.h: new LFUN_INSERT_BIBKEY
9829 * paragraph_func.C: remove special bibkey handling
9831 2003-02-17 John Levon <levon@movementarian.org>
9833 * text.C (Delete): fix case where delete at the end of
9834 the very first paragraph would not merge the pars
9836 2003-02-17 John Levon <levon@movementarian.org>
9838 * lyxrow.C: fix lastPrintablePos()
9840 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9842 * bufferparams.C (writeLaTeX): add a std:here
9844 * buffer.C: and remove a using directive there
9846 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9848 * buffer.C (makeLaTeXFile): move the code that generates the
9851 * bufferparams.C (writeLaTeX): ... in this new method
9853 * LaTeXFeatures.C (getEncodingSet): make const
9854 (getLanguages): make const
9856 * MenuBackend.C (binding): returns the binding associated to this
9858 (add): sets the status of each item by calling getStatus. Adds
9860 (read): add support for OptSubMenu
9861 (expand): remove extra separator at the end of expanded menu
9863 2003-02-15 John Levon <levon@movementarian.org>
9866 * BufferView_pimpl.C:
9868 * bufferlist.C: remove pointless BufferStorage bloat. Remove
9869 inset code that had no actual effect. Remove unneeded status
9872 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9874 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9877 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
9879 * text.C (drawLengthMarker): also draw an arrow marker for
9880 symbolic lengths (medskip...)
9882 2003-02-14 John Levon <levon@movementarian.org>
9885 * tabular.C: better method names
9887 2003-02-14 John Levon <levon@movementarian.org>
9889 * BufferView_pimpl.C:
9894 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9895 it's a more accurate name. Remove some pointless uses.
9897 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9899 * text2.C (LyXText): change order of initilizers to shut off
9902 2003-02-14 John Levon <levon@movementarian.org>
9904 * buffer.C: use ParIterator for getParFromID()
9908 * paragraph_pimpl.h:
9909 * paragraph_pimpl.C: remove unused getParFromID()
9911 2003-02-14 John Levon <levon@movementarian.org>
9913 * buffer.C: remove some very old #if 0'd parse code
9915 2003-02-13 John Levon <levon@movementarian.org>
9919 * text2.C: move hfillExpansion(), numberOfSeparators(),
9920 rowLast(), rowLastPrintable(), numberofHfills(),
9921 numberOfLabelHfills() ...
9924 * lyxrow.C: ... to member functions here.
9929 * text.C: remove LyXText::beginningOfMainBody(), and call
9930 p->beginningOfMainBody() directly. Move the check for
9931 LABEL_MANUAL into the latter.
9938 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9944 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9945 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9947 2003-02-13 John Levon <levon@movementarian.org>
9949 * CutAndPaste.C: remove debug
9951 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9953 * paragraph.C (asString): remove two unused variables
9955 * lyxtextclass.C (readTitleType):
9957 (LyXTextClass): handle new members titletype_ and titlename_
9959 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9961 2003-02-09 John Levon <levon@movementarian.org>
9964 * buffer.C: replace hand-coded list with a map for the dep clean
9966 2003-02-08 John Levon <levon@movementarian.org>
9968 * LaTeX.C: consolidate code into showRunMessage() helper
9970 2003-02-08 John Levon <levon@movementarian.org>
9975 * BufferView.C: change setSelectionOverString() to setSelectionRange()
9976 and pass the size in explicitly
9978 * BufferView_pimpl.h:
9979 * BufferView_pimpl.C:
9981 * BufferView.C: add getCurrentChange()
9983 * BufferView_pimpl.h:
9984 * BufferView_pimpl.C: handle change lfuns
9986 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
9987 for changes. Mark pasted paragraphs as new.
9989 * support/lyxtime.h:
9990 * support/lyxtime.C:
9991 * DepTable.C: abstract time_t as lyx::time_type
9994 * LColor.C: add colours for new text, deleted text, changebars
9996 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
9997 package use "usenames" option.
10001 * LyXAction.C: add change lfuns
10005 * author.C: author handling
10008 * buffer.C: add a per-buffer author list, with first entry as
10009 current author. Handle new .lyx tokens for change tracking. Output
10010 author list to .lyx file. Output dvipost stuff to .tex preamble.
10011 Bump lyx format to 222.
10014 * bufferlist.C: add setCurrentAuthor() to reset current author details
10018 * bufferparams.C: add param for tracking
10020 * bufferview_funcs.C: output change info in minibuffer
10024 * changes.C: add change-tracking structure
10027 * debug.C: add CHANGES debug flag
10030 * lyxfind.C: add code for finding the next change piece
10033 * lyxrc.C: add user_name and user_email
10036 * lyxrow.C: add a metric for the top of the text line
10039 * text.C: implement accept/rejectChange()
10042 * text.C: paint changebars. Paint new/deleted text in the chosen
10043 colours. Strike through deleted text.
10047 * paragraph_pimpl.h:
10048 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
10049 in the current change to the insert functions. Rework erase to
10050 mark text as deleted, adding an eraseIntern() and a range-based
10051 erase(). Implement per-paragraph change lookup and
10054 * paragraph_funcs.C: Fixup paste for change tracking.
10056 * tabular.C: mark added row/columns as new.
10058 * text.C: fix rowLast() to never return -1. Don't allow
10059 spellchecking of deleted text. Track transpose changes. Don't
10060 allow paragraph break or merge where appropriate.
10062 * text2.C: leave cursor at end of selection after a cut.
10064 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10066 * text.C (getLengthMarkerHeight):
10067 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
10068 visible on screen too.
10070 2003-02-07 John Levon <levon@movementarian.org>
10072 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
10074 2003-02-05 Angus Leeming <leeming@lyx.org>
10076 * lyxserver.C (read_ready): revert my patch of 11 September last year
10077 as it sends PC cpu through the roof. Presumably this means that
10078 the lyxserver will no longer run on an Alpha...
10080 2003-01-30 Angus Leeming <leeming@lyx.org>
10082 * factory.C (createInset): create an InsetCommandParam of type "index"
10083 and use it to 'do the right thing'.
10085 * text2.C (getStringToIndex): ensure that cursor position is always
10086 reset to the reset_cursor position.
10088 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10090 * lyxfunc.C (getStatus): "buffer-export custom" should never be
10093 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
10097 * lyxfunc.C: Output messages with identical spelling, punctuation,
10100 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
10102 * MenuBackend.C (expandFormats): List only viewable export formats
10105 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
10108 * lyxfunc.C (getStatus): Make sure that formats other than
10109 "fax" can also be disabled
10111 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10113 * text3.C (dispatch): put the lfuns that insert insets in 3
10114 groups, and call doInsertInset with appropriate arguments.
10115 (doInsertInset): new function, that creates an inset and inserts
10116 it according to some boolean parameters.
10118 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
10120 * buffer.C (readFile): remember to pass on 'par' when calling
10121 readFile recursively.
10123 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10125 * MenuBackend.C (expandFormats): add "..." to import formats.
10127 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
10129 * paragraph.C (asString): Remove XForms RTL hacks.
10131 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
10132 * buffer.C: fix typo
10134 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
10136 * Makefile.am (LIBS): delete var
10137 (lyx_LDADD): add @LIBS@ here instead.
10139 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
10141 * Clarify the meaning of "wheel mouse jump"
10143 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10145 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
10148 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10150 * importer.C (Loaders): do not preallocate 3 elements in the
10151 vector, since one ends up with 6 elements otherwise
10153 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10155 * DepTable.C (write): write the file name as last element of the
10156 .dep file (because it may contain spaces)
10157 (read): read info in the right order
10159 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10161 * paragraph_pimpl.C (simpleTeXBlanks):
10162 (simpleTeXSpecialChars):
10163 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
10165 * tabular.C (latex): add some missing case statements. Reindent.
10167 * MenuBackend.C (expandToc): remove unused variable.
10169 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
10178 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
10181 2003-01-05 John Levon <levon@movementarian.org>
10184 * BufferView.C: add getEncoding()
10187 * kbsequence.C: do not store last keypress
10190 * lyxfunc.C: store last keypress here instead. Pass encoding
10193 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10195 * lyx_main.C (init): remove annoying error message when following
10196 symbolic links (bug #780)
10198 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10200 * text.C (insertChar):
10201 * lyxrc.C (getDescription): remove extra spaces
10203 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10205 * lyxrc.C (getDescription): remove extra spaces
10207 2002-12-20 John Levon <levon@movementarian.org>
10209 * text3.C: hack fix for page up/down across tall rows
10211 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10213 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10216 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10218 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10219 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10220 thesaurus is not compiled in
10222 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
10224 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
10226 2002-12-16 Angus Leeming <leeming@lyx.org>
10229 * lyx_main.C (init): remove override_x_deadkeys stuff.
10231 2002-12-12 John Levon <levon@movementarian.org>
10233 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10234 insert. Only remove shift modifier under strict
10237 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
10239 * MenuBackend.C (expandToc): fix crash.
10241 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
10243 * MenuBackend.C (expandToc): gettext on float names.
10245 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
10247 * lyxlength.[Ch]: set default unit to UNIT_NONE,
10248 implement bool empty() [bug 490]
10250 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
10252 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10254 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
10256 * several files: ws changes
10258 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
10260 * text2.C (setCounter): clean up a bit, use boost.format.
10261 (updateCounters): initialize par upon declaration.
10263 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10264 if the layout exists. We do not just store the layout any more.
10265 (SwitchLayoutsBetweenClasses): use boost.format
10267 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10269 * converter.C (convert): if from and to files are the same, use a
10270 temporary files as intermediary
10272 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10275 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10277 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
10279 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10281 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
10283 * tabular.C (asciiPrintCell): use string(size, char) instead of
10286 * sgml.C (openTag): fix order of arguments to string constructor
10289 * lyxfunc.C (dispatch): use boost.format
10291 * lots of files: change "c" -> 'c'
10293 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
10295 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10297 2002-11-25 Angus Leeming <leeming@lyx.org>
10299 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10301 * lyx_main.C (init): compile fix.
10303 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
10305 * lyx_cb.C (start): boost.formatify
10306 do not include <iostream>
10308 * lengthcommon.C: ws only
10310 * boost-inst.C,BoostFormat.h: add more explict instantations
10312 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
10314 * lots of files: handle USE_BOOST_FORMAT
10316 2002-11-21 John Levon <levon@movementarian.org>
10318 * pspell.C: fix compile
10320 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10322 * lyxfunc.C (dispatch): use boost::format
10326 * lyxfont.C (stateText): use boost::format
10328 * lyx_main.C (LyX): use boost::format
10330 (queryUserLyXDir): ditto
10331 (readRcFile): ditto
10333 (typedef boost::function): use the recommened syntax.
10335 * importer.C (Import): use boost::format
10337 * debug.C (showLevel): use boost::format
10339 * converter.C (view): use boost::format
10344 * bufferview_funcs.C (currentState): use boost::format
10346 * bufferlist.C (emergencyWrite): use boost::format
10348 * buffer.C (readLyXformat2): use boost::format
10349 (parseSingleLyXformat2Token): ditto
10351 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10353 * LaTeX.C (run): use boost::format
10355 * Chktex.C (scanLogFile): use boost::format
10357 * BufferView_pimpl.C (savePosition): use boost::format
10358 (restorePosition): ditto
10359 (MenuInsertLyXFile): ditto
10361 * BoostFormat.h: help file for explicit instation.
10363 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
10365 * tabular.C (latex): Support for block alignment in fixed width
10368 2002-11-17 John Levon <levon@movementarian.org>
10370 * BufferView_pimpl.C:
10372 * lyxfunc.C: split filedialog into open/save
10374 2002-11-08 Juergen Vigna <jug@sad.it>
10376 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10377 by my last patch (hopefully).
10379 2002-11-08 John Levon <levon@movementarian.org>
10388 * toc.C: ParConstIterator, and use it (from Lars)
10390 2002-11-07 Ben Stanley <bds02@uow.edu.au>
10392 * lyxtextclass.[Ch]: revise and add doxygen comments
10394 2002-11-07 John Levon <levon@movementarian.org>
10396 * text.C: fix progress value for spellchecker
10398 * toc.C: fix navigate menu for insetwrap inside minipage
10400 * paragraph_funcs.C: added FIXME for suspect code
10402 2002-11-07 John Levon <levon@movementarian.org>
10404 * BufferView_pimpl.C: fix redrawing of insets
10407 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10409 * text2.C (updateCounters): fix bug 668
10411 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
10413 * text3.C (dispatch): Do not make the buffer dirty when moving the
10416 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10418 * vc-backend.C: STRCONV
10419 (scanMaster): ditto
10421 * text2.C (setCounter): STRCONV
10423 * paragraph.C (asString): STRCONV
10425 * lyxlength.C (asString): STRCONV
10426 (asLatexString): ditto
10428 * lyxgluelength.C (asString): STRCONV
10429 (asLatexString): ditto
10431 * lyxfunc.C (dispatch): STRCONV
10434 * lyxfont.C (stateText): STRCONV
10436 * importer.C (Import): STRCONV
10438 * counters.C (labelItem): STRCONV
10439 (numberLabel): ditto
10440 (numberLabel): remove unused ostringstream o
10445 * bufferview_funcs.C (currentState): STRCONV
10447 * buffer.C (readFile): STRCONV
10448 (asciiParagraph): ditto
10449 (makeLaTeXFile): ditto
10451 * Spacing.C (writeEnvirBegin): STRCONV
10453 * LaTeXFeatures.C (getLanguages): STRCONV
10454 (getPackages): ditto
10456 (getBabelOptions): ditto
10457 (getTClassPreamble): ditto
10458 (getLyXSGMLEntities): ditto
10459 (getIncludedFiles): ditto
10463 (scanAuxFile): ditto
10466 * LString.h: add the STRCONV macros
10468 * BufferView_pimpl.C (savePosition): STRCONV
10469 (restorePosition): ditto
10470 (MenuInsertLyXFile): ditto
10472 * vc-backend.C (scanMaster): change from submatch[...] to
10475 * funcrequest.C: include config.h
10477 * factory.C: include config.h
10479 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10481 * box.C: include config.h
10483 * LaTeX.C (scanAuxFile): change from submatch[...] to
10487 2002-10-25 Angus Leeming <leeming@lyx.org>
10489 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10491 * ispell.[Ch] (setError): new method.
10492 * ispell.C (c-tor): move out child process into new class LaunchIspell.
10493 Use setError() insetead of goto END.
10495 * lyx_cb.C (AutoSave): move out child process into new class
10498 2002-10-30 John Levon <levon@movementarian.org>
10500 * text3.C: make start appendix undoable
10502 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
10504 * lyxlength.C (inPixels): Fix returned value.
10506 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10509 2002-10-24 Angus Leeming <leeming@lyx.org>
10511 * lyxgluelength.h: no need to forward declare BufferParams
10512 or BufferView, so don't.
10514 2002-10-21 John Levon <levon@movementarian.org>
10516 * BufferView.C: menuUndo ->undo, redo
10518 * BufferView.h: document, remove dead, make some methods private
10520 * paragraph_funcs.h:
10521 * paragraph_funcs.C:
10522 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10527 * sgml.C: move sgml open/close tag into sgml.C
10529 * bufferview_funcs.h: unused prototype
10532 * lyxfunc.C: remove unused
10535 * text.C: remove unused
10537 2002-10-21 John Levon <levon@movementarian.org>
10541 * BufferView_pimpl.h:
10542 * BufferView_pimpl.C: fix mouse wheel handling based on
10543 patch from Darren Freeman
10545 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
10547 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10549 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
10551 * lyxlength.C (inPixels): Fix hanfling of negative length.
10552 Fix LyXLength::MU case.
10554 2002-10-16 John Levon <levon@movementarian.org>
10556 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10558 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10560 * converter.C (view): add support for $$i (file name) and $$p
10561 (file path) for the viewer command. If $$i is not specified, then
10562 it is appended to the command (for compatibility with old syntax)
10564 2002-10-14 Juergen Vigna <jug@sad.it>
10566 * undo_funcs.C (textHandleUndo): alter the order in which the
10567 new undopar is added to the LyXText, as we have to set first
10568 the right prev/next and then add it as otherwise the rebuild of
10569 LyXText is not correct. Also reset the cursor to the right paragraph,
10570 with this IMO we could remove the hack in "redoParagraphs()".
10572 2002-10-09 Angus Leeming <leeming@lyx.org>
10574 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10575 to turn off an optimisation if a new inset is to be inserted.
10577 2002-10-11 André Pönitz <poenitz@gmx.net>
10579 * lyxtext.h: make some functions public to allow access
10580 from inset/lyxtext for handling LFUN_PRIOR/NEXT
10582 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10584 * text3.C (dispatch): when changing layout, avoid an infinite loop
10587 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10589 * lyxrc.C (read): treat a viewer or converter command of "none" as
10592 * MenuBackend.C (expandFormats): for an update, also allow the
10593 formats that are not viewable
10595 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10596 script if it is newer than the lyxrc.defaults in user directory
10598 2002-10-07 André Pönitz <poenitz@gmx.net>
10600 * text.C: Vitaly Lipatov's small i18n fix
10602 2002-09-25 Angus Leeming <leeming@lyx.org>
10604 * ispell.h: doxygen fix.
10606 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
10608 * buffer.h (readFile): Add a new argument to the method, to allow
10609 reading of old-format templates.
10611 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
10613 * toc.C (getTocList): Get TOC from InsetWrap.
10615 2002-09-16 John Levon <levon@movementarian.org>
10617 * lyxfunc.C: check tabular for cut/copy too
10619 2002-09-12 John Levon <levon@movementarian.org>
10621 * LyXAction.C: tidy
10624 * factory.C: add header
10626 * paragraph_funcs.h:
10627 * paragraph_funcs.C: cleanup
10629 2002-09-11 John Levon <levon@movementarian.org>
10631 * PrinterParams.h: odd/even default to true
10633 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
10635 * PrinterParams.h: update printer parameters for new xforms dialog
10637 2002-09-11 Angus Leeming <leeming@lyx.org>
10639 * lyxserver.C (read_ready): re-write to make it more transparent
10640 and to make it work in coherent fashion under Tru64 Unix.
10642 2002-09-11 André Pönitz <poenitz@gmx.net>
10646 * text3.C: implement LFUN_WORDSEL
10648 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10650 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10651 make floatlist_ a boost::shared_ptr<FloatList>
10653 * lyxtextclass.C: include FloatList.h
10654 (LyXTextClass): initialize floatlist_
10655 (TextClassTags): add TC_NOFLOAT
10656 (Read): match "nofloat" to TC_NOFLOAT and use it.
10657 (readFloat): modify call to floatlist_
10661 * FloatList.[Ch] (FloatList): remove commented out float
10663 (erase): new function
10665 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10667 * MenuBackend.C (expandToc): fix crash when there is no document
10670 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
10672 * many files: Add insetwrap.
10674 2002-09-09 John Levon <levon@movementarian.org>
10676 * text2.C: remove confusing and awkward depth wraparound
10678 2002-09-09 John Levon <levon@movementarian.org>
10680 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10683 * buffer.C: remove getIncludeonlyList()
10686 * lyxfunc.C: remove headers
10688 2002-09-09 Juergen Vigna <jug@sad.it>
10690 * text.C (getColumnNearX): fix form Michael this is most
10691 probably a cut&paste bug.
10693 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
10695 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10697 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10698 references, ws changes.
10700 * text2.C (init): update counters after init
10701 (insertParagraph): no need to set counter on idividual paragraphs.
10702 (setCounter): access the counters object in the textclass object
10703 on in the buffer object.
10704 (updateCounters): ditto
10706 * lyxtextclass.C: include counters.h, add variable ctrs_ as
10707 shared_ptr<Counters> to avoid loading counters.h in all
10709 (LyXTextClass): initialize ctrs_
10710 (TextClassTags): add TC_COUNTER, and ...
10711 (Read): use it here.
10712 (CounterTags): new tags
10713 (readCounter): new function
10714 (counters): new funtion
10715 (defaultLayoutName): return a const reference
10717 * counters.C (Counters): remove contructor
10718 (newCounter): remove a couple of unneeded statements.
10719 (newCounter): simplify a bit.
10720 (numberLabel): some small formatting changes.
10722 * buffer.[Ch]: remove all traces of counters, move the Counters
10723 object to the LyXTextClass.
10725 2002-09-06 Alain Castera <castera@in2p3.fr>
10727 * tabular.C: uses \tabularnewline; uses >{...} construct from array
10728 package to set the horizontal alignment on fixed width columns.
10731 * lyx_sty.h: added tabularnewline macro def.
10733 * LaTeXFeatures.C: added NeedTabularnewline macro feature
10735 2002-09-06 John Levon <levon@movementarian.org>
10737 * LyXAction.C: tooltips for sub/superscript
10739 * MenuBackend.C: a bit more verbose
10741 * lyxfunc.C: tiny clean
10743 * undo_funcs.C: document undo_frozen
10745 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
10747 * counters.C (Counters): add missing algorithm counter.
10749 * text2.C (setCounter): lookup the counter with layouts latexname
10750 instead of by section number.
10751 (setCounter): use a hackish way to lookup the correct enum
10753 a float name->type change
10754 reset enum couners with counter name directly instead of depth value.
10756 * counters.C (Counters): remove the push_backs, change to use the
10757 float type not the float name.
10758 (labelItem): remove unused string, float name->type change
10760 * counters.h: don't include vector, loose the enums and sects vectors
10762 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10764 * lyxtextclass.C (TextClassTags): add TC_FLOAT
10765 (Read): add float->TC_FLOAT to textclassTags
10766 (Read): and handle it in the switch
10767 (readFloat): new function
10769 * FloatList.C (FloatList): comment out the hardcoded float
10772 * lyxlayout.h: ws change.
10774 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
10776 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10778 2002-09-03 Angus Leeming <leeming@lyx.org>
10780 * BufferView_pimpl.h: qualified name is not allowed in member
10781 declaration: WorkArea & Pimpl::workarea() const;
10783 * factory.C: added using std::endl directive.
10785 * text3.C: added using std::find and std::vector directives.
10787 2002-08-29 André Pönitz <poenitz@gmx.net>
10790 * text2.C: remove unused member number_of_rows
10793 * BufferView2.C: remove file, move contents to...
10794 * BufferView.C: ... here
10796 * BufferView_pimpl.C:
10797 * factory.C: move more inset creation to factory
10799 * vspace.C: avoid direct usage of LyXText, ws changes
10802 don't provide direct access to WorkArea, use two simple
10803 acessors haveSelction() and workHeight() instead
10806 2002-08-29 John Levon <levon@movementarian.org>
10808 * BufferView_pimpl.C (dispatch): do not continue when
10811 2002-08-28 André Pönitz <poenitz@gmx.net>
10813 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10816 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10818 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
10820 * buffer.C: increment LYX_FORMAT to 221
10822 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10823 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10825 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10827 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10829 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10831 * factory.C (createInset): use LyXTextClass::floats
10833 * MenuBackend.C (expandFloatListInsert):
10834 (expandFloatInsert):
10837 * text2.C (setCounter):
10839 * LaTeXFeatures.C (useFloat):
10840 (getFloatDefinitions):
10842 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10844 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10845 floatlist_, with accessor floats().
10847 * FloatList.h: remove global FloatList
10849 2002-08-26 André Pönitz <poenitz@gmx.net>
10851 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10855 * BufferView_pimpl.C:
10856 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10858 2002-08-25 John Levon <levon@movementarian.org>
10860 * LyXAction.C: fix margin note description
10862 2002-08-24 John Levon <levon@movementarian.org>
10866 * bufferview_funcs.C:
10868 * undo_funcs.C: cleanups
10870 * lyxfunc.C: disable CUT/COPY when no selection
10872 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
10874 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
10875 in "enum UNIT"; e.g. PTW for Percent of TextWidth
10877 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10878 Add backward compatibility to "mono", "gray" and "no".
10880 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
10882 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10883 (and file_format >= 200).
10885 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10887 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10889 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10891 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10893 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
10895 * BufferView_pimpl.C:
10902 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10903 inset and code to make it work with the paragraph code. The inset
10904 can be anywhere in the paragraph, but will only do the expected
10905 thing in LaTeX if the layout file contains the parameter line
10907 (or more generally, a nonzero value) for that layout.
10909 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
10911 * paragraph.h: remove the declaration of undefined counters class
10914 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
10916 * text2.C (setCounter): fixed enumeration mis-count as reported by
10917 Dr. Richard Hawkins.
10919 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10921 * paragraph_funcs.h: remove some unneeded includes
10923 * text.C (backspace): pasteParagraph now in global scipe
10925 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
10926 (pasteSelection): ditto
10928 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
10929 * paragraph_funcs.C (pasteParagraph): ... here
10931 2002-08-20 André Pönitz <poenitz@gmx.net>
10933 * commandtags.h: new LFUNs for swapping/copying table row/colums
10936 * lyxfunc.C: support for new lfuns
10938 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
10941 * buffer.[Ch]: remove NO_COMPABILITY stuff
10943 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
10945 * boost.C (throw_exception): new file, with helper function for
10946 boost compiled without exceptions.
10951 * ParameterStruct.h:
10952 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10954 * bufferlist.C (emergencyWriteAll): use boost bind
10956 * BufferView_pimpl.C (moveCursorUpdate): remove inline
10958 * text.C: include paragraph_funcs.h
10959 (breakParagraph): breakParagraph is now in global scope
10961 * paragraph_funcs.[Ch]: new files
10963 * paragraph.C (breakParagraph,breakParagraphConservative): move to
10966 * buffer.C: include paragraph_funcs.h
10967 (insertStringAsLines): breakParagraph is now in global scope
10969 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10972 * CutAndPaste.C: include paragraph_funcs.h
10973 (cutSelection): breakParagraphConservative is now in global scope
10974 (pasteSelection): ditto
10976 * buffer.h: declare oprator== and operator!= for
10977 Buffer::inset_iterator
10979 * bufferlist.C (emergencyWrite): don't use fmt(...)
10981 * text3.C: add using std::endl
10983 * BufferView.C (moveCursorUpdate): remove default arg
10985 2002-08-20 André Pönitz <poenitz@gmx.net>
10987 * buffer.[Ch]: move inline functions to .C
10990 * BufferView_pimpl.C:
10992 * buffer.[Ch]: use improved inset_iterator
10995 * paragraph.[Ch]: write one paragraph at a time
10997 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
10999 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
11000 style if style is not specified.
11002 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11004 * text2.C (setCounter): when searching for right label for a
11005 caption, make sure to recurse to parent insets (so that a caption
11006 in a minipage in a figure float works) (bug #568)
11008 2002-08-20 André Pönitz <poenitz@gmx.net>
11010 * text3.C: new file for LyXText::dispatch() and helpers
11012 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
11014 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
11016 2002-08-19 André Pönitz <poenitz@gmx.net>
11019 * text.C: new LyXText::dispatch()
11021 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
11023 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
11025 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
11027 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
11030 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11032 * Makefile.am: use $(variables) instead of @substitutions@
11034 2002-08-15 André Pönitz <poenitz@gmx.net>
11037 * BufferView_pimpl.C: streamlining mathed <-> outer world
11041 * LyXAction.C: remove unused LFUN_MATH
11043 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
11045 * paragraph.[Ch]: add some NO_NEXT ifdefs.
11047 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
11049 * paragraph.C (Paragraph): reformat a bit
11050 (cutIntoMinibuffer): use builtin InsetList function instad of
11054 * buffer.C: include boost/bind.hpp, add using std::for_each
11055 (writeFileAscii): use ParagraphList iterators
11056 (validate): use for_each for validate traversal of paragraphs
11057 (getBibkeyList): use ParagraphList iterators
11058 (resizeInsets): use for_each to resizeInsetsLyXText for all
11060 (getParFromID): use ParagraphList iterators
11062 * BufferView2.C (lockInset): use paragraph list and iterators
11064 2002-08-14 John Levon <levon@movementarian.org>
11066 * lyxserver.C: remove spurious xforms include
11068 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11070 * lyxfunc.C (getStatus): disable math-extern outside of math mode
11072 2002-08-13 André Pönitz <poenitz@gmx.net>
11075 * lyxfunc.C: further cleaning
11077 2002-08-13 André Pönitz <poenitz@gmx.net>
11079 * funcrequest.h: new constructor
11081 * funcrequest.C: move stuff here from .h
11084 * BufferView_pimpl.C:
11087 * lyxfunc.C: subsequent changes
11089 * lyxfunc.h: new view() member function
11091 * lyxfunc.C: subsequent changes
11093 2002-08-13 Angus Leeming <leeming@lyx.org>
11096 * BufferView_pimpl.C:
11104 changes due to the changed LyXView interface that now returns references
11105 to member variables not pointers.
11107 2002-08-13 Angus Leeming <leeming@lyx.org>
11109 * WordLangTuple (word, lang_code): return references to strings,
11114 * lyxtext.h: forward-declare WordLangTuple.
11119 * text.C: #include "WordLangTuple.h".
11122 * text.C: (selectNextWordToSpellcheck): constify return type.
11124 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
11130 * paragraph_pimpl.h:
11133 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
11134 suggested by Angus.
11135 Made updateCounter always count from start of buffer, and removed
11136 second argument (par).
11137 Reverted floats number display to '#'. Perhaps I'll try again when the
11138 code base is sanitized a bit.
11140 2002-08-12 Angus Leeming <leeming@lyx.org>
11142 * buffer.[Ch] (getLabelList): constify.
11144 2002-08-07 André Pönitz <poenitz@gmx.net>
11146 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
11148 * funcrequest.h: extension to keep mouse (x,y) position
11150 2002-08-12 Juergen Vigna <jug@sad.it>
11152 * BufferView2.C (insertErrors): forbid undo when inserting error
11155 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
11157 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
11159 * ParagraphList.[Ch]: new files
11161 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
11163 * BufferView2.C (lockInset): ParagraphList changes
11166 * bufferlist.C: ditto
11170 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11172 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
11173 unused class variable counter_,
11175 * paragraph.[Ch] (getFirstCounter): delete unused function
11177 * counters.C: include LAssert.h
11178 (reset): add a new function with no arg, change other version to
11179 not have def. arg and to not allow empty arg.
11181 * text2.C (setCounter): remove empty arg from call to Counters::reset
11183 2002-08-11 John Levon <levon@movementarian.org>
11185 * Makefile.am: add WordLangTuple.h
11187 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11189 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
11190 lyxfunc.C lyxlex_pimpl.C: ws changes only.
11192 * insets/insettext.C: InsetList changes
11194 * graphics/GraphicsSupport.C (operator()): InsetList changes
11196 * toc.C (getTocList): InsetList changes
11198 * paragraph_pimpl.[Ch]: InsetList changes
11200 * paragraph.[Ch]: InsetList changes
11202 * buffer.C (inset_iterator): InsetList changes
11203 (setParagraph): ditto
11204 * buffer.h (inset_iterator): ditto
11205 * iterators.C (operator++): ditto
11206 * iterators.h: ditto
11208 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11210 * InsetList.[Ch]: new files, most InsetList handling moved out of
11213 * BufferView2.C (removeAutoInsets): InsetList changes
11215 (ChangeInsets): ditto
11217 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
11219 * paragraph_pimpl.h (empty): new function
11221 * paragraph.[Ch] (empty): new function
11223 * other files: use the new Paragraph::empty function
11225 2002-08-09 John Levon <levon@movementarian.org>
11227 * lyxtext.h: remove unused refresh_height
11229 2002-08-09 John Levon <levon@movementarian.org>
11236 * paragraph.C: move sgml char escaping out of paragraph
11239 * paragraph.C: remove id setter
11243 * paragraph_pimpl.C: remove dead tex_code_break_column
11245 * bufferview_funcs.C: small cleanup
11247 * lyxfunc.C: remove dead proto
11249 * lyxtext.h: make some stuff private. Remove some dead stuff.
11251 * lyxgluelength.C: make as[LyX]String() readable
11253 2002-08-08 John Levon <levon@movementarian.org>
11258 * ToolbarDefaults.C:
11261 * toc.C: lyxaction cleanup
11263 2002-08-08 John Levon <levon@movementarian.org>
11265 * BufferView2.C: small cleanup
11268 * lyxfind.C: move unnecessary header into the .C
11270 2002-08-08 John Levon <levon@movementarian.org>
11272 * funcrequest.h: just tedious nonsense
11275 * lyx_main.C: cleanups
11278 * vspace.C: remove dead header lyx_main.h
11280 2002-08-07 Angus Leeming <leeming@lyx.org>
11283 * paragraph_pimpl.h:
11284 Forward declare class Counters in paragraph.h by moving the ctrs member
11285 variable into Paragraph::Pimpl.
11286 (counters): new method, returning a reference to pimpl_->ctrs.
11288 * text2.C: ensuing changes.
11290 2002-08-07 John Levon <levon@movementarian.org>
11292 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11294 * BufferView_pimpl.C: announce X selection on double/triple
11297 * lyx_main.C: use correct bool in batch dispatch
11299 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11301 2002-08-07 André Pönitz <poenitz@gmx.net>
11303 * funcrequest.h: new class to wrap a kb_action and its argument
11306 * BufferView_pimpl[Ch]:
11310 * lyxrc.C: subsequent changes
11313 2002-08-07 John Levon <levon@movementarian.org>
11315 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11316 document options change.
11318 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11323 * makefile.am: move counters functionality over from
11324 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11326 2002-08-06 John Levon <levon@movementarian.org>
11328 * WordLangTuple.h: new file for word + language code tuple
11339 * BufferView2.C: use WordLangTuple
11342 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11344 2002-08-06 John Levon <levon@movementarian.org>
11346 * lyx_main.C: fix cmdline batch handling
11348 2002-08-06 André Pönitz <poenitz@gmx.net>
11350 * lyxrc.C: set default for show_banner to true
11352 2002-08-06 John Levon <levon@movementarian.org>
11354 * pspell.C: fix a crash, and allow new aspell to work
11356 2002-08-06 John Levon <levon@movementarian.org>
11359 * kbmap.C: small cleanup
11362 * vspace.C: add const
11364 2002-08-05 John Levon <levon@movementarian.org>
11366 * LyXAction.C: back to tabular-insert
11368 2002-08-04 John Levon <levon@movementarian.org>
11371 * BufferView.C: cosmetic change
11373 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11383 * BufferView2.C: purge all "Lyx" not "LyX" strings
11386 * lyxcursor.C: attempt to add some documentation
11391 * ToolbarDefaults.C:
11392 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11393 merge with LFUN_TABULAR_INSERT
11400 * pspell.C: split up i/pspell implementations into separate
11401 files, many cleanups
11403 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11405 * text2.C: some cleanup
11407 * lyxfunc.C: don't check for isp_command == "none" any more, it
11408 didn't make any sense
11410 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11415 * makefile.am: move counters functionality over
11416 from text2.C/paragraph.[Ch] to counters.[Ch], and
11418 2002-08-02 John Levon <levon@movementarian.org>
11420 * buffer.C: s/lyxconvert/lyx2lyx/
11422 2002-08-02 Angus Leeming <leeming@lyx.org>
11424 * lyxlex.C: revert John's change as it breaks reading of the user
11427 2002-08-02 Angus Leeming <leeming@lyx.org>
11429 * importer.C (Import):
11430 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11431 changes due to LyXView::view() now returning a boost::shared_ptr.
11433 2002-08-02 John Levon <levon@movementarian.org>
11435 * lyxlex.C: small cleanup
11437 2002-08-02 John Levon <levon@movementarian.org>
11439 * text2.C (status): small cleanup, no logic change
11441 2002-08-01 John Levon <levon@movementarian.org>
11444 * buffer.C (writeFile): don't output alerts, caller
11448 * lyx_cb.C: from above
11450 * lyxfunc.C: allow to open non-existent files
11452 2002-07-31 John Levon <levon@movementarian.org>
11454 * lyxserver.C: don't let incidental errors get
11457 2002-07-30 John Levon <levon@movementarian.org>
11459 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11461 2002-07-30 John Levon <levon@movementarian.org>
11464 * lyxserver.C: remove I/O callback too
11466 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11468 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11471 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
11473 * many files: strip,frontStrip -> trim,ltrim,rtrim
11475 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
11477 * PrinterParams.h: remove extern containsOnly, and include
11478 support/lstrings.h instead.
11480 * LaTeX.C (scanAuxFile): modify because of strip changes
11482 * buffer.C (makeLaTeXFile): ditto
11483 * bufferparams.C (writeFile): ditt
11484 * lyxfont.C (stateText): ditto
11485 * lyxserver.C (read_ready): ditto
11486 * vc-backend.C (scanMaster): ditto
11488 * BufferView_pimpl.h: ws changes
11490 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11492 2002-07-26 André Pönitz <poenitz@gmx.net>
11494 * kb_sequence.C: remove unnedred usings
11496 2002-07-26 Juergen Vigna <jug@sad.it>
11498 * lyxfind.C (LyXReplace): we have to check better if the returned
11499 text is not of theLockingInset()->getLockingInset().
11501 2002-07-25 Juergen Vigna <jug@sad.it>
11503 * lyxfind.C (LyXReplace): don't replace if we don't get the
11506 * undo_funcs.C (createUndo): remove debugging code.
11508 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
11510 * buffer.C (parseSingleLyXformat2Token): Use default placement
11511 when reading old floats.
11513 * FloatList.C (FloatList): Change the default placement of figure
11514 and tables to "tbp".
11516 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
11518 * MenuBackend.C: using std::max
11520 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11522 * MenuBackend.C (expandToc):
11523 (expandToc2): code moved from xforms menu frontend. It is now
11524 generic and TOCs are transparent to menu frontends.
11526 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11528 * toc.C (getTocList): protect against buf=0
11530 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11531 Menu as first parameter. Now, this calls itself recursively to
11532 expand a whole tree (this will be useful for TOC handling)
11533 (expandFloatInsert): remove 'wide' version of floats
11535 * MenuBackend.h (submenuname): returns the name of the submenu.
11536 (submenu): returns the submenu itself, provided it has been
11537 created by MenuBackend::expand
11539 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11541 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11542 insets which have noFontChange == true. (bug #172)
11544 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11546 * BufferView_pimpl.C: add connection objects and use them...
11549 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11551 * MenuBackend.C (expandLastfiles):
11554 (expandFloatListInsert):
11555 (expandFloatInsert):
11556 (expand): split expand in parts
11558 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11560 * lyx_gui.C: use lyx_gui::exit()
11562 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11564 * LyXAction.C: show the failing pseudo action
11566 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
11568 * buffer.C (readFile): Run the lyxconvert script in order to read
11571 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11575 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11577 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11581 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11583 2002-07-22 Herbert Voss <voss@lyx.org>
11586 * lyxlength.[Ch]: add support for the vertical lengths
11588 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
11590 * toc.[Ch]: std:: fixes
11592 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11594 * lyxrc.C: do not include lyx_main.h
11596 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11602 * BufferView2.C: include "lyxlex.h"
11605 * bufferparams.h: do not #include "lyxlex.h"
11607 * lyxtextclasslist.C (Add): remove method
11608 (classlist): renamed to classlist_
11610 * paragraph_pimpl.C:
11614 * bufferview_funcs.C:
11619 * toc.C (getTocList): use BufferParams::getLyXTextClass
11621 * toc.C (getTocList): use InsetFloat::addToToc
11623 * toc.[Ch]: new files, containing helper functions to handle table
11626 * lyxfunc.C (dispatch): no need to remove spaces around command
11628 (getStatus): handle LFUN_SEQUENCE by returning the status of the
11629 first command of the sequence; it is not very clever, but I do not
11630 have a better idea, actually
11632 * LyXAction.C (LookupFunc): make sure to remove space at the
11633 beginning and end of the command
11635 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11637 * MenuBackend.C (getMenubar): new method: return the menubar of
11639 (read): treat differently reading of menu and menubar (in
11640 particular, the menubar has no name now)
11641 (Menu::menubar): remove
11643 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11646 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11648 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11649 a bibitem inset in a RTL paragraph.
11651 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
11653 * paragraph_pimpl.C: constify
11655 * BufferView_pimpl.C:
11657 * lyxfunc.C: fix dispatch in a nicer way
11659 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11661 * lyxfunc.C (dispatch):
11662 * BufferView_pimpl.C:
11663 * BufferView_pimpl.h:
11665 * BufferView.h: rename Dispatch() to dispatch()
11667 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11669 * lyxlayout.C (Read): honor DependsOn tag
11671 * lyxlayout.[Ch] (depends_on): new method
11673 * version.C.in: update lyx_docversion
11675 * LaTeXFeatures.C (getMacros): only define \LyX when needed
11677 * paragraph.C (validate): remove from here...
11678 * paragraph_pimpl.C (validate): ... and move here
11679 (isTextAt): make it const
11681 * buffer.C (getLists): ws cleanup
11683 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11685 * language.C (read): Use iso8859-1 encoding in latex_lang
11686 (this prevents LyX from crashing when using iso10646-1 encoding).
11688 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11690 * text2.C (toggleInset): if cursor is inside an inset, close the
11691 inset and leave cursor _after_ it
11693 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11695 * lyxfunc.C: move minibuffer completion handling out of here
11697 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11699 * BufferView_pimpl.C:
11700 * LaTeX.C: fix dispatch calls
11702 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
11704 * text.C (drawChars): Fix Arabic text rendering.
11706 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
11710 * lyxfunc.C: remove message-push/pop
11714 * lyxfunc.C: rationalise some code by removing verboseDispatch
11715 in favour of a bool argument to dispatch()
11717 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11719 * lyx_main.C (init): make sure to read symlinks as absolute paths
11721 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11724 * lyxfunc.C: no need for commandshortcut to be a member
11726 2002-07-15 André Pönitz <poenitz@gmx.net>
11728 * converter.C: add support for $$s (scripts from lib/scripts dir)
11729 * lyx_main.C: white space
11731 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11735 * lyxrc.C: remove second exit confirmation
11737 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11742 * BufferView_pimpl.h:
11743 * BufferView_pimpl.C:
11744 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11746 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11748 * MenuBackend.C (expand): add numeric shortcuts to document menu
11750 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11752 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11754 * lyxfont.C (setLyXFamily):
11761 * buffer.C (asciiParagraph): use ascii_lowercase
11763 2002-07-15 Mike Fabian <mfabian@suse.de>
11765 * lyxlex_pimpl.C (search_kw):
11766 * lyxlex.C (getLongString):
11767 * converter.h (operator<):
11768 * converter.C (operator<):
11769 * buffer.C (parseSingleLyXformat2Token):
11771 * ToolbarDefaults.C (read):
11772 * MenuBackend.C (checkShortcuts):
11774 * LColor.C (getFromGUIName):
11775 (getFromLyXName): use the compare_ascii_no_case instead of
11776 compare_no_case, because in turkish, 'i' is not the lowercase
11777 version of 'I', and thus turkish locale breaks parsing of tags.
11779 2002-07-16 Angus Leeming <leeming@lyx.org>
11781 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11782 now takes a Buffer const & argument.
11784 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
11786 * BufferView.C (resize): check there's a buffer to resize
11788 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
11790 * lyxfunc.C: remove dead code
11793 * lyxserver.C: use lyx_guii::set_read_callback
11795 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
11797 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11798 an inset in a RTL paragraph.
11800 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11802 * lyxfunc.C: repaint after a font size update
11804 2002-07-15 André Pönitz <poenitz@gmx.net>
11806 * lyxlength.C: inBP should be able to return negative values
11808 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11810 * lyxfunc.C: use lyx_gui::update_fonts()
11812 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11814 * lyxfunc.C: use lyx_gui::update_color()
11816 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11822 * lyxrc.C: remove file->new asks for name option, and let
11823 buffer-new take an argument
11825 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11827 * BufferView_pimpl.C: remove unneeded extra repaint()
11829 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
11831 * LyXAction.C: allow command-sequence with NoBuffer
11833 * lyxfunc.C: don't insist on trailing ';' for command-sequence
11835 2002-07-10 Angus Leeming <leeming@lyx.org>
11837 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11839 2002-07-09 Angus Leeming <leeming@lyx.org>
11841 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11843 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11845 * lengthcommon.h: whitespace
11847 * lyxfunc.C: update scrollbar after goto paragraph
11849 * lyxtext.h: factor out page break drawing, and fix it so
11850 page break/added space paints as selected nicely
11852 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11854 * BufferView_pimpl.C: add FIXMEs, clean up a little
11856 2002-07-09 André Pönitz <poenitz@gmx.net>
11858 * lyxfont.[Ch]: support for wasy symbols
11860 2002-07-08 André Pönitz <poenitz@gmx.net>
11862 * BufferView_pimpl.C: apply John's patch for #93.
11864 2002-07-05 Angus Leeming <leeming@lyx.org>
11866 * BufferView_pimpl.C (buffer): generate previews if desired.
11868 * LColor.h: add "preview" to the color enum.
11870 * LColor.C (LColor): add a corresponding entry to the items array.
11872 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
11875 2002-07-05 Angus Leeming <leeming@lyx.org>
11877 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11878 The body of the code is now in the method that is passed an ostream &
11879 rather than a file name.
11880 Pass an additional only_preamble parameter, useful for the forthcoming
11883 2002-07-03 André Pönitz <poenitz@gmx.net>
11885 * lyxfunc.C: simplify getStatus() a bit for math stuff
11887 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11889 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11891 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11893 * text.C (changeRegionCase): do not change case of all the
11894 document when region ends at paragraph end (bug #461)
11896 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11898 * paragraph.C (startTeXParParams):
11899 (endTeXParParams): add \protect when necessary
11901 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11903 * BufferView_pimpl.C (workAreaExpose): remove warning
11905 2002-06-27 Angus Leeming <leeming@lyx.org>
11907 * Makefile.am: add lyxlayout_ptr_fwd.h.
11909 2002-06-26 André Pönitz <poenitz@gmx.net>
11911 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
11913 2002-06-25 Angus Leeming <leeming@lyx.org>
11915 * lyxfunc.C (dispatch): Comment out the call to
11916 grfx::GCache::changeDisplay. The method no longer exists now that the
11917 pixmap generation part of the graphics loader has been moved into
11920 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11922 * text2.C: layout as layout
11924 * text.C: layout as layout
11926 * tabular.C (OldFormatRead): layout as layout
11928 * paragraph_pimpl.C (TeXDeeper): layout as layout
11929 (realizeFont): layout as layout
11931 * paragraph.C (writeFile): layout as layout
11932 (validate): layout as layout
11933 (getFont): layout as layout
11934 (getLabelFont): layout as layout
11935 (getLayoutFont): layout as layout
11936 (breakParagraph): layout as layout
11937 (stripLeadingSpaces): layout as layout
11938 (getEndLabel): layout as layout
11939 (getMaxDepthAfter): layout as layout
11940 (applyLayout): layout as layout
11941 (TeXOnePar): layout as layout
11942 (simpleTeXOnePar): layout as layout
11943 (TeXEnvironment): layout as layout
11944 (layout): layout as layout
11945 (layout): layout as layout
11947 * lyxtextclass.C (compare_name): new functor to work with
11948 shared_ptr, layout as layout
11949 (Read): layout as layout
11950 (hasLayout): layout as layout
11951 (operator): layout as layout
11952 (delete_layout): layout as layout
11953 (defaultLayout): layout as layout
11955 * lyxlayout_ptr_fwd.h: new file
11957 * lyxlayout.C (Read): layout as layout
11959 * lyx_cb.C (MenuInsertLabel): layout as layout
11961 * bufferlist.C (newFile): layout as layout
11963 * buffer.C (readLyXformat2): layout as layout
11964 (parseSingleLyXformat2Token): layout as layout
11965 (insertStringAsLines): layout as layout
11966 (asciiParagraph): layout as layout
11967 (latexParagraphs): layout as layout
11968 (makeLinuxDocFile): layout as layout
11969 (simpleLinuxDocOnePar): layout as layout
11970 (makeDocBookFile): layout as layout
11971 (simpleDocBookOnePar): layout as layout
11972 (getLists): layout as layout
11974 * LaTeXFeatures.C (getTClassPreamble): layout as layout
11976 * CutAndPaste.C (cutSelection): layout as layout
11977 (pasteSelection): layout as layout
11978 (SwitchLayoutsBetweenClasses): layout as layout
11980 * BufferView_pimpl.C (Dispatch): layout as layout
11981 (smartQuote): layout as layout
11983 * BufferView2.C (unlockInset): layout as layout
11985 2002-06-24 André Pönitz <poenitz@gmx.net>
11987 * lyxfunc.C: fix #487
11989 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11993 * lyxfunc.C: remove display_shortcuts, show_banner
11995 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11997 * Buffer_pimpl.C: oops, update on resize
11999 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12006 * BufferView.C: use repaint()
12008 * BufferView_pimpl.h:
12009 * BufferView_pimpl.C: s/updateScreen()/repaint()/
12010 as it's a clearer description. Remove superfluous
12013 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12015 * text.C: fix bug 488. Not ideal, but getting
12016 getWord() to work properly for the insets that
12017 matter is more difficult ...
12019 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12021 * BufferView_pimpl.C:
12024 * lyxfunc.C: remove the six million index lyxfuncs to just
12025 one, and DTRT (bug 458)
12027 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12031 * BufferView_pimpl.h:
12032 * BufferView_pimpl.C: clean up resize() stuff,
12033 and unnecessary updateScreen()s
12035 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12039 * BufferView_pimpl.h:
12040 * BufferView_pimpl.C:
12043 * minibuffer.C: remove focus management of workarea,
12044 not needed. Use screen's greyOut()
12046 2002-06-17 Herbert Voss <voss@lyx.org>
12048 * converter.C: (convert) do not post a message, when converting
12049 fails, let the calling function decide what to do in this case
12051 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
12053 * lyxfunc.C: tidy up a little
12055 2002-06-16 <alstrup@diku.dk>
12057 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
12058 Got rid of FORMS_H_LOCATION include. Now we are
12061 2002-06-15 LyX Development team <lyx@rilke>
12063 * buffer.[Ch] (sgmlOpenTag):
12064 (sgmlCloseTag): Added support for avoiding pernicious mixed
12065 content. Return number of lines written.
12067 (makeLinuxDocFile):
12068 (makeDocBookFile): Fixed calls to sgml*Tag.
12069 Simple white space clean.
12071 (simpleDocBookOnePar): Simple white space clean.
12073 * tabular.[Ch] (docBook): Renamed to docbook and got another
12074 argument to related with the pernicious mixed content.
12076 (docbookRow): Fixed calls for docbook inset method.
12078 2002-06-15 Lyx Development team <larsbj@birdstep.com>
12080 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
12081 so it's X11 independent.
12085 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
12087 2002-06-15 Lyx Development team <lyx@electronia>
12089 * intl.h: Renamed getTrans to getTransManager.
12091 2002-06-14 Angus Leeming <leeming@lyx.org>
12093 * Makefile.am: nuke forgotten stl_string_fwd.h.
12095 2002-06-12 Angus Leeming <leeming@lyx.org>
12097 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
12099 2002-06-13 Angus Leeming <leeming@lyx.org>
12102 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
12104 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
12106 * kbmap.C (getiso): add support for cyrillic and greek
12108 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12112 * BufferView_pimpl.h:
12113 * BufferView_pimpl.C: move bogus scrolling logic
12116 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12119 * BufferView_pimpl.C: view->resize() change
12121 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12123 * BufferView_pimpl.C: topCursorVisible
12126 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12130 * lyx_gui.C: move to frontends/
12134 * lyx_main.C: changes from above
12136 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12143 * lyx_main.C: minor tidy
12145 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12147 * BufferView_pimpl.h:
12148 * BufferView_pimpl.C:
12150 * BufferView.C: make painter() const,
12153 * BufferView2.C: use screen() accessor
12156 * lyx_main.C: some minor cleanup
12158 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12160 * BufferView_pimpl.h:
12161 * BufferView_pimpl.C: remove enter/leaveView,
12164 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12169 * BufferView_pimpl.h:
12170 * BufferView_pimpl.C: only construct screen once,
12173 * lyxrc.C: remove pointless comment
12175 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
12178 * BufferView.C: remove active() and belowMouse()
12180 * BufferView_pimpl.h:
12181 * BufferView_pimpl.C: use workarea() not workarea_,
12182 and make it use a scoped_ptr instead
12184 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
12186 * lyx_gui.C: add debug message on BadWindow
12188 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12190 * sp_spell.C: fdopen is not part of the C++ standard.
12192 * paragraph.C (InsetIterator): use >= instead of ==
12194 2002-06-07 Angus Leeming <leeming@lyx.org>
12196 Fixes needed to compile with Compaq cxx 6.5.
12197 * BufferView_pimpl.C:
12204 * lyxtextclasslist.C:
12209 all c-library variables have been moved into namespace std. Wrap
12210 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12215 Add a using std::abs declaration.
12217 * kbmap.h (modifier_pair):
12218 * paragraph.h (InsetTable, InsetList):
12219 * lyxfont.h (FontBits):
12220 type definition made public.
12222 * bufferlist.C (emergencyWriteAll): the compiler complains that
12223 there is more than one possible lyx::class_fun template to choose from.
12224 I re-named the void specialisation as lyx::void_class_fun.
12226 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12228 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12229 the compiler is is unable to find tostr in write_attribute.
12231 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12233 * buffer.C (sgmlError): hide #warning
12235 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12237 * xtl/*: get rid of xtl, which is not in use anyway
12239 * LyXAction.C (init):
12240 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12241 were unimplemented xtl experimentation
12243 2002-06-04 André Pönitz <poenitz@gmx.net>
12245 * lyxfunc.C: disable array operation on simple formulae
12247 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
12249 * converter.C: constify a bit
12251 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
12253 * lyx_gui.C: check xforms version correctly
12255 2002-04-30 Herbert Voss <voss@lyx.org>
12257 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12260 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
12262 * lyxvc.C: fix bug 416 (make sure buffer is saved before
12263 attempt to register it with a VCS)
12265 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12267 * lyx_main.C (init): honor variables LYX_DIR_13x and
12270 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12274 * lyx_main.C: fix a crash on bad command line,
12275 and give a useful exit status on error
12277 * lyxfunc.C (doImport): allow -i lyx to work
12279 2002-03-30 André Pönitz <poenitz@gmx.net>
12281 * lyxfunc.C: mathed font changes
12283 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12298 * trans_mgr.h: srcdocs, and some minor cleanups
12300 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12302 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12303 call getFont all the time)
12305 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12307 * switch from SigC signals to boost::signals
12309 2002-05-29 André Pönitz <poenitz@gmx.net>
12311 * paragraph_pimpl.C (getChar): don't call size() too often...
12313 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12315 * paragraph_pimpl.C (insertChar): do not try to update tables when
12316 appending (pos == size())
12318 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12319 in order to reduce drastically the number of comparisons needed to
12320 parse a large document
12322 2002-05-29 André Pönitz <poenitz@gmx.net>
12328 * textclasslist.[Ch]:
12329 * sp_ispell.h: whitespace change
12331 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12333 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12334 lyxaction directly now.
12336 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
12340 * lyxvc.C: remove unused headers
12342 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12349 * undo_funcs.C: some cleanups. Use shared_ptr
12350 and a template for the undo stacks.
12352 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12354 * BufferView_pimpl.h:
12355 * BufferView_pimpl.C:
12362 * text2.C: use key_state/mouse_state
12364 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12366 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12369 * chset.C: change include order
12370 (loadFile): use boost regex and get rid of LRegex and LSubstring
12372 * Makefile.am (BOOST_LIBS): new variable
12373 (lyx_LDADD): use it
12375 * LaTeX.C: change include order.
12376 (scanAuxFile): use boost regex and get rid of LRegex and
12380 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12385 * FontInfo.C: moved to frontends/xforms/
12388 * FontLoader.C: moved into frontends for GUIIzation
12393 * lyxfunc.C: changes from above
12395 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12397 * LColor.C: remove spurious X include
12399 * BufferView_pimpl.C:
12404 * text2.C: move font metrics to frontends/
12406 2002-05-24 Juergen Vigna <jug@sad.it>
12408 * undo_funcs.C (textHandleUndo): fix the cursor selection after
12409 setting the undo_cursor.
12411 * ParagraphParameters.h: include local includes first.
12413 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12415 * BufferView_pimpl.C:
12416 * BufferView_pimpl.h:
12420 * screen.C: move WorkArea into frontends/
12426 * BufferView2.C: move LyXScreen into frontends/
12430 * lyx_gui.C: move lyxlookup into frontends/xforms/
12432 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12435 * BufferView_pimpl.C:
12445 * bufferview_funcs.C:
12458 * vc-backend.C: move LyX/XFormsView into frontends/
12460 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12472 * text2.C: move Painter to frontends/
12474 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
12476 * buffer.C: comment out some some code that depend upon lyx_format
12479 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12480 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12482 * buffer.h (NO_COMPABILITY): turn off compability
12484 * ColorHandler.C: include scoped_array.hpp
12486 * font.C: Use more specific smart_ptr header.
12489 * ShareContainer.h: ditto
12490 * lyx_main.h: ditto
12492 * FontInfo.h: ditto
12493 * BufferView_pimpl.h: ditto
12494 * ColorHandler.h: ditto
12496 * kbmap.C (defkey): change call to shared_ptr::reset
12498 2002-05-21 Juergen Vigna <jug@sad.it>
12500 * buffer.C (insertErtContents): fix to insert ert asis if it is
12501 non empty. Skip it completely if it contains only whitespaces.
12503 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
12505 * BufferView_pimpl.C:
12506 * BufferView2.C: clear selection on paste (bug 393)
12508 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12510 * DepTable.C: include ctime
12512 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
12514 * buffer.C (latexParagraphs): Add new argument (moving_arg).
12516 2002-05-14 Juergen Vigna <jug@sad.it>
12518 * text.C (breakParagraph): fixed function to honor the keepempty
12519 layout in the right maner and also to permit the right breaking
12520 algorithm on empty or non empyt keepempty paragraphs.
12522 * paragraph.C (breakParagraph): we have to check also if the par
12523 is really empty (!size()) for isempty otherwise we do the wrong
12526 2002-05-10 Juergen Vigna <jug@sad.it>
12528 * buffer.[Ch] : The following are only changes to the ert
12529 compatibility read reading old LaTeX layout and font stuff and
12530 convert it to ERTInsets.
12532 * buffer.h: added isErtInset().
12534 * buffer.C (struct ErtComp): add a fromlayout bool to check
12535 if we're inside a LaTeX layout.
12536 (isErtInset): new helper function.
12537 (insertErtContents): look for other ert insets before this one
12538 and insert the contents there, so that we don't have subsequent
12539 ERT insets with nothing between them. This way we create only one
12540 inset with multiple paragraphs. Also check if we don't insert only
12541 spaces ' ' as they are ignored anyway afterwards in the .tex file
12542 so if we have only spaces we will ignore this latex part in the
12544 (parseSingleLyXformat2Token \\layout): better compatibility when
12545 reading layout-latex stuff.
12546 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12548 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12549 stuff after reading the inset only get the information back from
12552 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
12554 * buffer.C (makeLaTeXFile): Put language options after loading babel.
12556 * LaTeXFeatures.C (getBabelOptions): New method.
12558 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12560 * BufferView_pimpl.C (Dispatch): work around missing argument for
12563 2002-05-08 Juergen Vigna <jug@sad.it>
12565 * text.C (leftMargin): handle paragraph leftindent.
12567 * paragraph.C (writeFile): write the new \\leftindent tag.
12568 (validate): handle leftindent code.
12569 (TeXEnvironment): handle paragraphleftindent code again.
12571 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12573 * buffer.C (parseSingleLyXformat2Token): added compatibility code
12574 for paragrap_extra indent code and new token \\leftindent.
12575 (latexParagraphs): handle the leftindent as environment.
12577 * ParameterStruct.h: added leftindent support.
12579 * ParagraphParameters.C (leftIndent): added support functions for
12580 the paragraph left indent.
12582 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12585 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
12587 * paragraph.C (isRightToLeftPar): Return false for a paragraph
12590 * text.C (computeBidiTables): No bidi in insetERT.
12592 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12595 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12597 * version.C.in: pre 5
12599 2002-05-02 José Matos <jamatos@fep.up.pt>
12600 * buffer.C (makeDocBookFile): white space changes, add newline to
12602 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12604 * tabular.C (docBook): fix typo.
12606 2002-05-03 Juergen Vigna <jug@sad.it>
12608 * screen.C (drawFromTo): recalculate the rowpointer if we had a
12609 change in LyXText as we can not be sure it was not freed.
12610 (drawOneRow): remove unused code.
12612 * text.C (drawInset): redo the calculation of the need_break_row as
12613 it could have a row which was already freed.
12614 (draw): look at the return value of drawInset and return false if
12615 it also returned false.
12616 (paintRowText): look at the return value of draw and return false if
12617 it also returned false.
12619 * lyxtext.h: added bool return type to drawInset() and draw() so that
12620 if we have a change in the row so that the rowbreak has to be redone
12621 we abort drawing as it will be called again.
12623 2002-05-02 Juergen Vigna <jug@sad.it>
12625 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12626 a change in the maintext also if we're inside an inset.
12627 (Dispatch): set the cursor again after a break line and after the
12628 screen has been updated as it could be we're in a different row.
12630 * text2.C (fixCursorAfterDelete): check to make sure we don't request
12631 to set the cursor behind the pargraph with > size().
12632 (setCursor): check also for the same paragraph when checking where
12633 to put the cursor if we have a NFR inset.
12635 * buffer.C (parseSingleLyXformat2Token): move the compatibility
12636 parts of layout read further up as it still was in the wrong
12639 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12641 * screen.C (drawFromTo): change sine fullRebreak always return
12644 * buffer.C (parseSingleLyXformat2Token): reindent some
12646 * BufferView_pimpl.C (update): change since fullRebreak always
12648 (Dispatch): git rid of the last hardcoded "Standard"s.
12650 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
12652 * text2.[Ch] (fullRebreak): make it return void now that we always
12655 2002-04-30 Juergen Vigna <jug@sad.it>
12657 * buffer.C (parseSingleLyXformat2Token): reset the font before the
12658 ert compatibility check for "latex" layout.
12660 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
12662 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12663 minipages: use col% instead of p%, and also use the current font.
12664 (makeLaTeXFile): Fix use babel condition.
12665 (parseSingleLyXformat2Token): Correct font when reading old floats.
12667 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
12669 * BufferView_pimpl.C (Dispatch): Check that float type exists when
12670 inserting list of floats.
12672 2002-04-25 Herbert Voss <voss@lyx.org>
12674 * MenuBackend.C (expand): don't add the graphics extensions to the
12677 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12679 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12680 non-existing layout, do not complain if it was the default layout
12681 of the original class (bug #342)
12683 2002-04-24 Juergen Vigna <jug@sad.it>
12685 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12686 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12688 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
12690 * buffer.C (getBibkeyList): If using \bibliography, return the
12691 option field with the reference itself. Enables us to provide natbib
12692 support when using \bibliography.
12694 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
12696 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12698 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12699 natbib is provided by the LaTeX class.
12701 2002-04-23 Juergen Vigna <jug@sad.it>
12703 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12706 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12708 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12710 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12712 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12713 ensuremath around textordmasculine, textordfeminine and
12716 2002-04-19 Juergen Vigna <jug@sad.it>
12718 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12719 reinitializing the buffer otherwise row-dimensions may be wrong.
12720 (update): reset also the selection cursors if they do exits otherwise
12721 their x/y positions may be wrong.
12723 * text2.C (cursorDown): don't enter the inset if we came from a row
12724 above and are one row over the inset.
12726 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12727 really leaving an inset.
12729 2002-04-18 Juergen Vigna <jug@sad.it>
12731 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12732 of the selected paragraph does not have the selected layout also if
12735 * text2.C (setLayout): fixed bug which did not change last selected
12738 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12739 changed the read and substituted \\end_float with \\end_inset!
12741 * BufferView_pimpl.C (cursorPrevious):
12742 (cursorNext): fixed to make it work with rows heigher than the work
12743 area without moving the cursor only the draw of the row.
12744 (workAreaMotionNotify): fix jumping over high rows.
12746 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12748 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12751 2002-04-16 Juergen Vigna <jug@sad.it>
12753 * text2.C (setCursor): set also the irow().
12754 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12756 (cursorDown): support for locking an inset if the x_fix value goes
12757 inside it. That way I can transverse insets too with cursor up/down.
12759 * lyxrow.h: added irow helper function same as other (i) functions.
12761 * BufferView_pimpl.C (cursorPrevious):
12762 (cursorNext): fixed for insets!
12764 2002-04-15 Juergen Vigna <jug@sad.it>
12766 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12767 position otherwise it is wrong in some cases.
12769 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12770 inside the inset before the call.
12772 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
12774 * buffer.[Ch] (getBibkeyList): make it const.
12776 2002-04-12 Juergen Vigna <jug@sad.it>
12778 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12780 * text2.C (getCursorX): new helper function
12781 (setCursor): compute also ix_
12782 (setCursorFromCoordinates): set also ix.
12784 * lyxcursor.h: added ix_ and helper functions.
12786 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12788 * buffer.C (insertStringAsLines): dont break paragraph if the this
12789 paragraph is inside an inset which does not permit it!
12791 * text.C (breakParagraph): honor keepempty flag and break the paragraph
12792 also with no chars on this paragraph.
12793 (paintRowText): only paint stuff if it's inside the workarea!
12795 * paragraph.C (breakParagraph): honor keepempty flag and break the
12796 paragraph always below not above.
12798 * BufferView2.C (unlockInset): update the paragraph layout on inset
12799 unlock as we changed paragraph in such a case.
12801 * lyxfind.C (LyXFind): clear the former selection if not found!
12803 * text2.C (insertInset): freeze Undo after setUndo so that it is not
12804 again called in insertChar().
12806 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12807 an inset which uses the whole row!
12808 (rightMargin): ditto.
12809 (insertChar): force a rebreak if we inserted an inset!
12811 2002-03-28 Herbert Voss <voss@lyx.org>
12813 * lyxlength.[Ch]: add inBP() to get the right PS-point
12814 units (BigPoint). With inPixels we have rounding errors
12816 2002-04-11 Juergen Vigna <jug@sad.it>
12818 * text2.C (setCursorFromCoordinates): set iy to the right value.
12819 (setCursor): add check if row->previous exists!
12821 * buffer.C (parseSingleLyXformat2Token): reset font after read of
12822 an old float_type as this was the case in the old code!
12824 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12826 * BufferView2.C (showLockedInsetCursor): use iy
12827 (fitLockedInsetCursor): ditto
12829 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12830 locked insets as there we have the right value now.
12832 * lyxcursor.C: added iy_ variable and iy functions to set to the
12833 baseline of cursor-y of the locked inset.
12835 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12836 (setCursor): fixed for insets which need a full row.
12838 * text.C (rowLastPrintable): don't ignore the last space when before
12839 an inset which needs a full row.
12840 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12841 as last character of a row when before a inset which needs a full row.
12843 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12845 * version.C.in: update date
12847 * text2.C (fullRebreak): try to always return true and see what
12850 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12852 * MenuBackend.C (expand): use Floating::listName
12854 * FloatList.C (FloatList): add listName argument to the built-in
12857 * Floating.[Ch]: add listName member, which is the 'List of XXX'
12858 text associated with the float.
12860 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12862 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12864 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12866 * ShareContainer.h: add a couple of missing typenames.
12868 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
12870 * lyxrc.C (getDescription): use _() correctly rather than N_().
12872 2002-03-28 Herbert Voss <voss@lyx.org>
12874 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
12875 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12877 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12879 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12880 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12882 2002-03-29 Juergen Vigna <jug@sad.it>
12884 * lyxfunc.C (dispatch): add a missing fitCursor call.
12886 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12887 it was scrolled by a cursor move, so return the bool status.
12889 * BufferView.C (fitCursor): return the bool flag also to the outside
12890 world as this is needed.
12892 * screen.C (toggleToggle): don't subtract the offset if it's positive.
12894 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12895 call the edit() as it is not needed (and wrong) IMO.
12896 (workAreaButtonPress): set the screen_first variable before evt.
12897 unlock the inset as this may change screen_first and then we have
12898 a wrong y position for the click!
12900 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12902 * MenuBackend.C (expand): another translation that I missed
12904 2002-03-28 Juergen Vigna <jug@sad.it>
12906 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12908 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12910 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12912 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12914 * MenuBackend.C (expand): fix export/view/update when there is no
12917 2002-03-27 Herbert Voss <voss@lyx.org>
12919 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12922 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12924 * bufferview_funcs.C (currentState): only show paragraph number
12925 for is DEVEL_VERSION is set.
12927 * lyxfunc.C (dispatch): put warning in INFO channel
12929 * MenuBackend.C (expand): translate the name of floats
12931 * FloatList.C (FloatList): mark the float names for translation
12933 * converter.C (convert): use LibScriptSearch
12935 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12937 * MenuBackend.C (defaults): fix default menu (we might as well get
12940 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12942 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12945 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12947 * lyxvc.C: reorder includes.
12949 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
12951 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12954 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
12956 * CutAndPaste.C: change layouts earlier on paste
12957 to avoid crashing when calling getFont()
12959 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
12961 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12964 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
12966 * WorkArea.C: remove 'Pending' debug message.
12968 * most files: ws cleanup
12970 * buffer.[Ch]: ws changes
12972 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12974 2002-03-21 Juergen Vigna <jug@sad.it>
12976 * tabular.C (SetMultiColumn): collapse also the contents of the
12977 cells and set the last border right. Added a Buffer const * param.
12979 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
12981 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
12984 2002-03-19 Juergen Vigna <jug@sad.it>
12986 * text2.C (clearSelection): reset also xsel_cache.
12988 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
12989 where it needs to be called (John tells us to do so too :)
12990 (selectionLost): reset sel_cache.
12992 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
12994 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12996 * text2.C (setCursorIntern): put debuging code in INSETS channel
12998 2002-03-19 André Pönitz <poenitz@gmx.net>
13000 * lyxfunc.C: tiny whitespace change
13002 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13004 * ToolbarDefaults.C (init):
13005 * LyXAction.C (init):
13007 * BufferView_pimpl.C (Dispatch):
13008 * lyxfunc.C (dispatch): remove LFUN_DEPTH
13010 2002-03-19 Allan Rae <rae@lyx.org>
13012 * exporter.C (Export): removeAutoInsets before doing anything else.
13013 While I've just introduced a dependency on BufferView this really is
13014 the best place to clean the buffer otherwise you need to cleanup in
13015 a dozen places before calling export or cleanup in a dozen functions
13018 * converter.C (runLaTeX):
13019 (scanLog): Better handling of removeAutoInsets and screen updates.
13021 * lyxfunc.C (dispatch): small whitespace changes
13023 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13025 * WorkArea.C (C_WorkAreaEvent): return a value.
13026 (event_cb): return 1 if we handled the event, 0 otherwise.
13028 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
13030 2002-03-18 Juergen Vigna <jug@sad.it>
13032 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
13033 (GetAdditionalWidth): ditto.
13034 (RightLine): ditto.
13037 * BufferView2.C (copy): use getLyXText() so that we do it inside an
13038 inset if we're there actually (probably not used right now but this
13039 is the direction to go for unifying code).
13040 (paste): disable code to clear the selection.
13042 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
13043 inside an InsetText and move the check further up as it is in the
13046 * text2.C (pasteSelection): set a selection over the pasted text.
13048 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
13050 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
13051 and libgraphics to build on Cygwin.
13053 2002-03-15 Juergen Vigna <jug@sad.it>
13055 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
13056 inserting an Inset into the paragraph. I know this is not the best
13057 fix but we already use current_view in CutAndPaste so we will remove
13058 all of it's using at the same time.
13060 * buffer.C (sgmlError): deactivated function till it is rewritten in
13061 the right mode, now it can create problems.
13063 * paragraph.C (isLineSeparator): check if getInset returns != 0,
13064 before accessing it.
13066 2002-03-14 Juergen Vigna <jug@sad.it>
13068 * undo_funcs.C (textHandleUndo): do the right thing when updating
13069 the inset after the undo/redo.
13071 * text2.C (setCursor): just some testcode for #44 not ready yet.
13073 * undo_funcs.C (textHandleUndo): set the next() and previous()
13074 pointers of the paragraph to 0 before deleting otherwise we have
13075 problems with the Paragraph::[destructor].
13077 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
13078 on a paragraph insertion.
13080 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13082 * buffer.C (asciiParagraph): use += operator for char append to
13085 * paragraph.C (getFontSettings): compare >= not just >
13086 (highestFontInRange): ditto
13089 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13091 * paragraph.C: change several algorithm to be more appripriate for
13092 the problem domain. This is lookip in FontList and in the InsetList.
13094 2002-03-13 André Pönitz <poenitz@gmx.net>
13097 * LyXAction.C: remove unused LFUN_MATH_MACROARG
13099 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
13104 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
13106 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13108 * Painter.C (display): anon helper function, adjust code for this
13110 (pixmap): remove function.
13112 * Painter.h: remove private display variable.
13114 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
13116 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
13118 * WorkArea.[Ch]: remove figinset_canvas cruft.
13120 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13122 * lyxtextclass.C (operator): add one item cache optimization.
13124 * bufferlist.h: doxy changes
13126 * bufferlist.C: ws changes
13128 * DepTable.[Ch] (ext_exist): place const in the right spot.
13130 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
13132 (workAreaExpose): call resizeInsets when the with BufferView changes.
13133 (Dispatch): adjust for protectedBlank removal
13134 (specialChar): call updateInset if the insert went ok.
13136 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
13137 specialChar instead.
13139 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
13141 * BufferView.h: doxy change
13143 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
13145 * lyxtextclass.C (operator[]): remove non-const version
13146 (defaultLayout): remove non-const version
13148 2002-03-12 Juergen Vigna <jug@sad.it>
13150 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
13151 did resize the LyXText too.
13153 * buffer.C (readLyXformat2): set layout information on newly allocated
13156 * tabular.C (OldFormatRead): set layout information on the paragraph.
13158 2002-03-12 Jos�Ab�io Oliveira Matos <jamatos@novalis.fc.up.pt>
13160 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
13162 2002-03-11 Juergen Vigna <jug@sad.it>
13164 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
13166 (resizeCurrentBuffer): force also the insets to resize themselfes.
13167 (moveCursorUpdate): fixed up for InsetText.
13169 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
13172 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
13173 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
13174 value of Dialogs::tooltipsEnabled().
13175 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
13177 2002-03-08 Juergen Vigna <jug@sad.it>
13179 * BufferView_pimpl.C (updateInset): update inset inside inset also
13180 if it isn't inside theLockingInset().
13182 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13184 * buffer.C (asciiParagraph): redo some of the word and line length
13186 (getLists): look for Caption instead of caption.
13188 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13190 * buffer.C (Buffer): initialize niceFile to true
13192 (makeLinuxDocFile):
13193 (makeDocBookFile): make sure niceFile is true on exit
13195 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13197 * buffer.C (makeLaTeXFile): escape ~ in \input@path
13199 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
13201 * LyXSendto.C: remove.
13202 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13203 * lyx_gui.C: remove now-redundant comment.
13204 * ColorHandler.h: remove forward declaration of class WorkArea.
13205 * lyxfunc.C: remove #include "WorkArea.h".
13207 2002-03-07 Juergen Vigna <jug@sad.it>
13209 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13210 got moved away with the DEPM and also set the inset_owner always
13211 right which before could have been omitted.
13213 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13215 * buffer.C (parseSingleLyXformat2Token): use default layout is the
13216 wanted layout is not found.
13218 2002-03-07 Juergen Vigna <jug@sad.it>
13220 * CutAndPaste.C (cutSelection): another layout settings forgotten.
13222 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13224 * paragraph.C (breakParagraph): use default layout not layout of
13226 (Paragraph): clear ParagraphParameters.
13228 2002-03-06 Juergen Vigna <jug@sad.it>
13230 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13231 otherwise it would not be a valid lenght. Fixed a special case in
13232 the minipage compatibility read where we end the document with a
13235 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13236 was set as it could be 0 for InsetTexts first entry.
13238 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13240 * paragraph.C (writeFile): if layout is empty write out
13241 defaultLayoutName().
13243 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13244 file without named layout we set layout to defaultLayoutName().
13246 2002-03-06 Juergen Vigna <jug@sad.it>
13248 * CutAndPaste.C (copySelection): set layout for new paragraph.
13250 * text.C (prepareToPrint): leave ERT inset left aligned
13251 (leftMargin): don't indent paragraphs inside ERT insets
13253 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13255 * paragraph.C (breakParagraph): dont call clear do the work manually
13257 * paragraph.[Ch] (clear): remove function
13259 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13261 * paragraph.C (Paragraph): dont call clear, the work has already
13264 * lyxtextclass.C (operator): assert if n is empty
13266 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13267 work manually instead.
13269 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13271 * BufferView_pimpl.C: protect selectionLost against text == 0
13273 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13275 * text.C (breakParagraph): fix a setting layout to '0' problem.
13277 2002-03-05 Jos�Ab�io Oliveira Matos <jamatos@novalis.fc.up.pt>
13279 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13280 final location of file, for the included files, and graphics.
13282 2002-03-05 Juergen Vigna <jug@sad.it>
13284 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13286 2002-03-04 Juergen Vigna <jug@sad.it>
13288 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13290 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13291 last column of multicolumn cells.
13292 (SetWidthOfMulticolCell): recalculate NMC and real columns.
13294 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
13296 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13297 file if it doesn't go to a temporary file.
13299 * buffer.C (sgmlOpenTag):
13300 (sgmlCloseTag): remove extra newline insertion.
13302 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13304 * text.C (getRowNearY): comment out debug msg
13306 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13308 * text2.C: first -> first_y
13310 * text.C (getRowNearY): add some attemts at a possible
13311 optimization, not working.
13313 * tabular.[Ch]: add BufferParams to several function so that newly
13314 created paragraph can be initialized to he default layotu for the
13317 * tabular-old.C (ReadOld): add buf->params to call of Init
13319 * screen.C: rename text->first to text->first_y
13321 * paragraph.C (breakParagraph): always set layout in the broken
13324 * lyxtextclass.C (Read): remove lowercase
13327 (delete_layout): ditto
13329 * lyxtext.h: rename first -> first_y
13331 * lyxlayout.C (Read): remove lowercase
13334 (obsoleted_by): ditto
13336 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13338 * buffer.C (insertErtContents): add params are to InsetERT
13339 (parseSingleLyXformat2Token): add code to check if a paragraphs
13340 layout really exist.
13341 (parseSingleLyXformat2Token): add params to several inset
13343 (asciiParagraph): remove lowercase, do the layout comparisons with
13346 * BufferView_pimpl.C (cursorNext): first -> first_y
13347 (resizeCurrentBuffer): first -> first_y
13348 (updateScrollbar): first -> first_y
13349 (scrollCB): first -> first_y
13350 (workAreaMotionNotify): first -> first_y
13351 (workAreaButtonPress): first -> first_y
13352 (checkInsetHit): first -> first_y
13353 (cursorPrevious): first -> first_y
13354 (cursorNext): first -> first_y
13355 (Dispatch): add buffer_->params to severl inset contructors
13357 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13359 * lyxlayout.C (Read): remove some debug info that I forgot.
13361 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13362 clean up the code slightly.
13363 (makeLinuxDocFile): ditto
13364 (makeDocBookFile): ditto
13366 * text2.C: layout as string
13368 * text.C: layout as string
13370 * paragraph_pimpl.C: layout as string
13372 * paragraph.[Ch]: layout as string
13374 * lyxtextclasslist.[Ch]: layout as string
13376 * lyxtextclass.[Ch]: layout as string
13378 * lyxtext.h: layout as string
13380 * lyxlayout.[Ch]: layout as string
13382 * lyx_cb.C: layout as string
13384 * bufferview_funcs.C: layout as string
13386 * bufferparams.C: layout as string
13388 * buffer.C: layout as string
13390 * LyXView.[Ch]: layout as string
13392 * LaTeXFeatures.[Ch]: layout as string
13394 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13396 * BufferView_pimpl.C: change current_layout to string, remove
13401 (workAreaButtonRelease): layout as string
13403 * BufferView2.C (unlockInset): adjust
13405 * vspace.C (asLatexCommand): use an explict temp variable.
13407 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13409 * Makefile.am: use FRONTEND_*
13411 2002-03-01 Juergen Vigna <jug@sad.it>
13413 * tabular.C (SetWidthOfMulticolCell): changed to something better
13414 I hope but still work in progress.
13415 (recalculateMulticolumnsOfColumn): renamed function from
13416 recalculateMulticolCells as it is more appropriate now.
13417 (SetWidthOfCell): calculate multicols better.
13419 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13421 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13423 * lyxfunc.C (processKeySym): print sequence also if it is
13424 `deleted' (complete)
13426 * kbsequence.C (print): print sequence even if it is deleted
13427 (complete would be a better word, actually).
13429 * lyxfunc.C (dispatch): print complete options after a prefix key
13431 * vspace.C (asLatexCommand): rewrite in a slightly different form.
13433 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
13435 * text2.C (setCharFont): eliminate setCharFont code duplication.
13437 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13439 * BufferView_pimpl.C (Dispatch): remove bogus handling of
13440 LFUN_TABULAR_FEATURE (bug #177)
13442 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
13444 * Makefile.am: remove figure.h
13446 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
13448 * Bufferview_pimpl.C:
13460 * text2.C: remove #include "lyx_gui_misc.h".
13462 * LaTeX.C: added #include <cstdio>
13464 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13466 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13467 that the paragraph following this one can have.
13469 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13471 * vspace.C (asLatexCommand): fix bogus gcc warning
13473 * Makefile.am (lyx_SOURCES): remove vms_defines.h
13475 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
13477 * text2.C (setLayout): get rid of redundant code
13479 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
13481 * text2.C (incDepth): make sure depth cannot be increased beyond
13484 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
13486 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13487 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13489 * PainterBase.h (image):
13490 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13491 a LyXImage const *.
13493 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13497 * BufferView_pimpl.C:
13498 * BufferView_pimpl.h:
13518 * sp_spell.C: remove fig inset, and the crap house of
13519 cards that follows it
13521 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13526 * os2_errortable.h:
13527 * nt_defines.h: move .h into support/
13529 * vms_defines.h: remove
13531 * WorkArea.C: add space in debug output
13535 * buffer.C: add WITH_WARNINGS
13539 * bufferlist.C: s/retrive/retrieve/, add docs
13548 * chset.C: add docs
13550 * lyxgui.C: add ID to X error handler
13552 * lyxtestclass.c: fix typo
13554 2002-02-26 Juergen Vigna <jug@sad.it>
13556 * tabular_funcs.C (write_attribute): changed so that some default
13557 attributes are not written at all.
13558 (getTokenValue): set default values before trying to read the
13559 value so we have the return value always set as default if we don't
13560 find the token we search for.
13562 * tabular.C (Write): write bools as bools not as strings!
13564 2002-02-22 Juergen Vigna <jug@sad.it>
13566 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13567 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13569 * text.C (leftMargin): don't add an indent for paragraphs inside
13570 tabular cells (fix #208).
13572 2002-02-21 José Matos <jamatos@fep.up.pt>
13574 * tabular.C (docBook): fixed support for long tables.
13576 2002-02-20 Juergen Vigna <jug@sad.it>
13578 * text2.C (getFont): get the drawing font of the Inset if this
13579 paragraph is inside an inset (only important for InsetERT for now).
13581 * buffer.C (insertErtContents): use new lanugage params in ERT
13584 * CutAndPaste.C: commenting out seemingly uneeded code.
13586 2002-02-19 Allan Rae <rae@lyx.org>
13588 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13589 Iterators might be simple to use but they also get invalidated.
13590 (removeAutoInsets): renamed saved cursor tracking variables and added
13591 some comments to clarify what everything does.
13593 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
13600 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13601 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13604 * vc-backend.h: remove #include "support/syscall.h"
13608 * converter.C: rearrange #includes in Lars' approved fashion.
13610 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13611 forward declare class Timeout in the header file.
13613 * XFormsView.C: changes due to the above.
13615 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13616 similar to LyXView.
13618 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13619 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13621 2002-02-18 José Matos <jamatos@fep.up.pt>
13623 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13626 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
13628 * a lot of small ws changes
13629 * add a lot of using std::XXX
13630 * use std construcs some places where approp.
13631 * use some exisint stuff from lyxfunctional where approp.
13632 * Make file changes to use partial linking (lets test this now...)
13634 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13638 remove #include "support/syscontr.h" as it's redundant. Always has been.
13646 change Systemcalls::System to Systemcalls::Wait and
13647 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13648 No change of functionality, just reflects the stripped down Systemcalls
13651 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13653 * debug.[Ch]: add a GRAPHICS type to the enum.
13655 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13657 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13659 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13662 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13664 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13665 match the changes below.
13667 * text2.C (toggleInset): if there is not editable inset at cursor
13668 position, try to see if cursor is _inside_ a collapsable inset
13671 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13673 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13674 document menu has a nice checkbox
13676 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13678 * lyxlength.C (asLatexString): change PW to output as percent of
13681 * lengthcommon.C: change '%' to 't%'
13683 * lyxfunc.C (dispatch): a few comments from Martin
13685 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
13689 * BufferView_pimpl.h:
13690 * BufferView_pimpl.C: clear our selection when X tells us we've lost
13693 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13695 * vspace.C (inPixels): fix compiler warning
13697 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13699 * lyxfunc.C (getStatus): fix status message for disabled commands.
13701 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
13703 * BufferView_pimpl.C: fix crash on close buffer
13704 during selection (#227)
13706 2002-01-27 Herbert Voss <voss@lyx.org>
13708 * buffer.C: link old Figure to new graphic inset
13710 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
13712 * FontLoader.C (getFontinfo): Change the latex font names in order
13713 to match the names of type1inst.
13715 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
13717 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13719 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13720 (extchanged): ditto
13722 (remove_files_with_extension): ditto
13723 (remove_file): ditto
13726 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13727 document is smaller than the work area height. Do not initialize
13728 static variables to 0.
13730 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13732 * lyx_gui.C (init): give the toolbar tooltips a normal font.
13734 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13735 LFUN_LAYOUT_PARAGRAPHS.
13737 * tabular.C (GetCellFromInset): new method. Finds an inset in a
13738 tabular. It is possible to provide a possible cell, which will
13739 typically be the actcell from the corresponding insettabular
13741 * lyxfunc.C (getStatus): small cleanup; disable
13742 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13745 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13747 * tabular.C (Validate): remove broken optimization (fixes bug #201)
13749 * paragraph.C (startTeXParParams):
13750 (endTeXParParams): new methods. The LaTeX code to
13751 start/end paragraph formatting
13752 (simpleTeXOnePar): call startTeXParParams also when paragraph is
13753 empty (fixes bug #200)
13755 * vspace.C (inPixels): adapt to the change below
13756 (inPixels): [later] more cleanups (remove unused variables)
13758 * lyxlength.C (inPixels): change to use a width and a height as
13761 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13763 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13764 Replaced with \paperwidth
13766 * DepTable.C (insert): add std:: qualifier
13768 2002-01-18 Allan Rae <rae@lyx.org>
13770 * text2.C (removeRow): add comment. Should other refresh_?? vars be
13773 * text.C (drawInset): Turned out I didn't know enough about how
13774 rebreaking worked. This fixes most of the redraw problems. I see
13775 an occasional cursor trail when a line is broken now and the cursor
13776 placement can seem out by a few pixels also after a rebreak.
13778 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13780 * buffer.C (parseSingleLyXformat2Token): update because minipage
13781 width is now a LyXLength
13783 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13785 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13788 2002-01-17 Juergen Vigna <jug@sad.it>
13790 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13792 * BufferView2.C (lockInset): call edit() so that theLockingInset()
13793 is set correctly and the inset is updated correctly.
13795 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13797 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13798 the beginning of the loop.
13800 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
13802 * lyxrc.C: improve help for use_scalable_fonts
13804 2002-01-17 Allan Rae <rae@lyx.org>
13806 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13808 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13810 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13811 make sure to set their inset_owner to the right value (bug #171)
13813 2001-12-12 Ben Stanley <bds02@uow.edu.au>
13816 * DepTable.C: Implement mtime checking to reduce time spent doing
13819 2002-01-16 Juergen Vigna <jug@sad.it>
13821 * tabular.C (GetAdditionalHeight): one of error fixed.
13823 * lyxrc.C (output): small fix in writing use_pspell.
13825 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
13827 * sp_base.h: #include LString.h
13829 2002-01-16 Allan Rae <rae@lyx.org>
13831 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
13832 Can someone check this please?
13834 * text.C (drawInset): It was possible that p.row would be removed by
13835 breakAgainOneRow upsetting a few other settings. There may be another
13836 small tweak possible by setting need_break_row = 0 when p.row has been
13837 removed but I don't know enough about the logic here.
13839 2002-01-15 Allan Rae <rae@lyx.org>
13841 * text.C (insertChar): removed conditional truism.
13843 * BufferView2.C (removeAutoInsets): More tweaks.
13844 cur_par_prev could be a stray pointer. Check for trailing empty line
13845 in case last line was cur_par and only had an error inset on it.
13847 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13849 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13852 * vc-backend.C (most methods):
13853 * exporter.C (Export):
13854 * converter.C (convert):
13856 * LyXSendto.C (SendtoApplyCB):
13857 * lyxfunc.C (dispatch):
13861 * lyx_cb.C (AutoSave):
13863 * BufferView_pimpl.C (MenuInsertLyXFile):
13864 * buffer.C (runChktex): use Buffer::filePath().
13866 * buffer.h: rename filename to filename_; rename filepath to
13867 filepath_ and make it private
13868 (filePath): new method
13870 * buffer.C (writeFile): use fileName()
13873 * lyx_main.C (init): fix starting of LyX when the binary is a
13874 link from so,ewhere else.
13876 * minibuffer.C: include <cctype> for isprint
13878 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13880 * buffer.C (parseSingleLyXformat2Token): changes associated with the
13881 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13882 name clash with InsetCollapsable's width function.
13884 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13886 * lastfiles.C: include <iterator>
13888 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13890 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13893 * buffer.C (makeLaTeXFile): ditto.
13894 Also make loop operation more transparent.
13896 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13898 * ToolbarDefaults.C: remove trailing comma closing namespace.
13900 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13902 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13905 * trans.C (Load): comment out unused variable, allowed.
13907 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
13909 * minibuffer.[Ch] (append_char): new method to recieve input from the
13910 drop-down completion browser. If a key was pressed, then recieve this
13911 char and append it to the existing string.
13912 (peek_event): modify the positioning data passed to the completion
13913 browser so that it can be placed above the minibuffer rather than below.
13914 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13916 * LyXAction.C (init): alloe error-next for readonly documents.
13918 * BufferView2.C (ChangeRefsIfUnique): use standard version of
13921 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13923 * bufferlist.C (readFile): create the buffer _after_ checking that
13926 * lyxfunc.C (verboseDispatch): fix handling of arguments
13928 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
13930 * lyxrc.C: use string::erase() instead of initializing to "".
13933 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13935 * BufferView_pimpl.h:
13936 * BufferView_pimpl.C:
13939 * text2.C: tell X when we have made a selection for copying
13941 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13943 * BufferView_pimpl.C (MenuInsertLyXFile):
13944 * lyxfunc.C (menuNew):
13946 (doImport): add shortcuts to directory buttons
13948 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13951 * lyxfunc.C (setStatusMessage):
13952 (getStatusMessage): new methods
13953 (getStatus):use setStatusMessage instead of setErrorMessage
13954 (dispatch): when function is disabled, set error message here
13955 [instead of in getStatus previously]
13957 * BufferView_pimpl.C (workAreaButtonRelease): update
13958 toolbar/menubar here too.
13960 2002-01-13 Allan Rae <rae@lyx.org>
13962 * BufferView2.C (removeAutoInsets): finished off earlier fix.
13963 Now seems indestructible. Remaining task is to audit all other
13964 code affected by deleteEmptyParagraphMechanism. One small quirk
13965 left is that an empty document with an error in the preamble can
13966 be made to report an error but no error box appears. I don't know
13968 (removeAutoInsets): Improved comments.
13970 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
13973 * Thesaurus.C: update for Aiksaurus 0.14
13975 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13977 * text2.C (firstParagraph): removed member function, all uses
13978 replaces with ownerParagraph
13979 (redoParagraphs): here
13980 (updateInset): here
13981 (toggleAppendix): here
13982 * BufferView2.C (insertErrors): here
13983 (setCursorFromRow): here
13985 2002-01-13 Allan Rae <rae@lyx.org>
13987 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
13988 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
13989 There is still a way to segfault this although you may have to do this
13990 multiple times: Have an InsetERT with an unknown command in it.
13991 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
13992 <down-arrow>, <Enter> again, View->DVI, BANG!
13994 * text2.C (setCursor):
13995 (deleteEmptyParagraphMechanism):
13996 * lyxtext.h (setCursor):
13997 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
13998 Making use of the return value may help fix other bugs.
14000 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14002 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
14004 * LyXView.C (updateMenubar): call MenuBar::update here
14005 (updateToolbar): but not here
14006 (showState): do not update toolbar/menubar
14008 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
14009 should need to care about that.
14011 * lyxfunc.C (verboseDispatch): simplify a bit
14012 (getStatus): have a version which takes a pseudoaction, and
14013 another which requires a (kb_action,string).
14015 * LyXAction.C (retrieveActionArg): make it work also when action
14016 is not a pseudo-action.
14017 (getActionName): simplify a bit
14020 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14022 * lyxfunc.C (verboseDispatch): new families of methods with
14023 several ways to specify a command and a bool to indicate whether
14024 the command name and shortcut should be displayed in minibuffer
14025 (eventually, we could extend that to a finer bitmask like
14026 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
14027 (dispatch): the pristine dispatch command which just, well,
14028 dispatchs! Note it still sets its result to minibuffer; I'm not
14031 * lyxfunc.h: remove setHintMessage
14033 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
14035 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14037 * BufferView_pimpl.C (specialChar): delete new inset if we have
14038 not been able to insert it.
14040 * kbmap.C: revert to using int instead of kb_action, since all we
14041 are dealing with is pseudo-actions.
14043 * LyXAction.C (searchActionArg): change to return int instead of
14044 kb_action, since the result is a pseudoaction.
14046 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
14048 * buffer.C (insertErtContents): Fix (partially) the font bug.
14050 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
14052 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
14053 as the other one is broken on my machine!
14055 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
14058 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
14060 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
14062 * lyxrc.[Ch]: change names and descriptions of popup font variables to
14063 reflect their actual use. Provide compatibility code for older lyxrc
14066 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
14068 change names of popup font variables in line with the changes to lyxrc.C
14070 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14072 * buffer.C (asciiParagraph): avoid outputing a word twice after
14075 * lyxrc.C (getDescription): document that document_path and
14076 template_path can be empty.
14078 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14080 * LaTeXFeatures.C (getMacros):
14081 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
14083 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
14085 * LaTeXFeatures.C (useFloat): require "float" here instead of in
14087 (getPackages): rename feature "floats" to "float". Use an array to
14088 iterate over 'simple' features (i.e. just a \usepackage). Add
14089 handling of "amsmath" (renamed from "amsstyle").
14091 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
14093 * LaTeXFeatures.C (require): Prevent duplicate entries in the
14096 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
14098 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
14099 FuncStaus::FuncStatus & FuncStaus::some_method().
14101 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
14103 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
14104 of the func_satus stuff. Edited and massaged in various ways by
14107 * lyxfunc.C (getStatus): use FuncStatus
14109 2002-01-08 Juergen Vigna <jug@sad.it>
14111 * text.C (nextBreakPoint): use function Inset::isChar().
14113 * paragraph.C (TeXOnePar): use function
14114 Inset::forceDefaultParagraphs.
14116 * buffer.C (latexParagraphs): use function
14117 Inset::forceDefaultParagraphs.
14119 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14121 * lyx_gui.C (init): set the style of the menu popups to
14122 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
14124 2002-01-07 Juergen Vigna <jug@sad.it>
14126 * text.C (setHeightOfRow): small fix
14127 (prepareToPrint): don't look at alignment if we don't have the place
14130 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14132 * box.C: New file. Move the Box methods and functions out of box.h,
14133 following Lars' suggestion.
14135 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14137 * box.h: #include "support/LOstream.h", needed for inlined function.
14140 * lyxtextclasslist.C: added some using std declarations.
14142 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
14144 * box.h: make signed dimensions to allow insets wider than
14145 the screen (bug #162)
14147 * BufferView_pimpl.C: add some insetHit debug
14149 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
14151 * vc-backend.C: add FIXME
14153 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14155 * lyxfunc.C (getStatus): enable code for showing math font status
14158 2002-01-07 Juergen Vigna <jug@sad.it>
14160 * text.C (nextBreakPoint): removed debug output not needed anymore.
14162 2002-01-06 Juergen Vigna <jug@sad.it>
14164 * text.C (nextBreakPoint): fixed up this function we had this bug
14165 since ever but now hopefully we break row better.
14166 (insertChar): we have to check if an inset is the next char as it
14167 could now happen that a large inset is causing a break.
14169 2002-01-05 Juergen Vigna <jug@sad.it>
14171 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
14172 if it doesn't like to be drawed.
14174 2002-01-04 Juergen Vigna <jug@sad.it>
14176 * BufferView2.C (lockInset): forgot to set a cursor.
14178 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
14180 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
14182 * FormMathsPanel.C:
14185 * form_maths_panel.C:
14186 * form_maths_panel.h:
14187 * form_maths_panel.fd: implemented sub- and super- buttons in math
14190 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
14191 (or ^ space) to be used as in TeX (req'd by Andr�.
14193 * lyxfunc.C: Allow ^ and _ again to be used both as
14194 super/subscript (mathed) and as themselves (in text).
14196 2002-01-03 Allan Rae <rae@lyx.org>
14198 * LyXView.C (updateWindowTitle): Setup a short icon title of either
14199 "LyX" or the filename of the current buffer if it has one. This is a
14200 modified form of John Levon's patch.
14202 * XFormsView.C (setWindowTitle): also set icon title.
14204 * LyXView.h (setWindowTitle): signature changed.
14205 * XFormsView.h (setWindowTitle): ditto.
14207 2002-01-02 Juergen Vigna <jug@sad.it>
14209 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14211 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
14213 * screen.C (topCursorVisible): introduce a temp var for
14214 text->cursor.row(), handle the case where this row is null. (kindo
14217 * text2.C (setCursor): add a couple of asserts.
14219 * paragraph.h (inset_iterator): add -> operator
14221 * paragraph.[Ch] (autoDeleteInsets): remove member function
14223 * BufferView2.C (removeAutoInsets): rewrite to handle the old
14224 cursor pos correctly and handle inset deletion by itself.
14225 (insertErrors): move iterator declaration out of for expression
14227 * lyxtextclass.C: add <algorithm>
14229 * Makefile.am: added the new files to sources, removed layout.C
14231 * layout.C: removed file
14233 * layout.h: remove LYX_DUMMY_LAYOUT
14235 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14239 * lyxtextclass.[Ch]:
14240 * lyxtextclasslist.[Ch]: new files
14242 * include order changes to a lot of files, also changes because of
14245 2001-12-27 Juergen Vigna <jug@sad.it>
14247 * buffer.C (asciiParagraph): more fixes.
14249 * tabular.C (ascii): make ascii export support export of only the
14250 data separated by a column-delimiter.
14251 (ascii): better support for ascii export.
14253 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14255 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14257 * tabular_funcs.C: use a "using std::getline" instead of the
14258 previous fix from Angus (necessary for cxx + lyxstring)
14260 2001-12-24 Juergen Vigna <jug@sad.it>
14262 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14264 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14265 problems. First check a minipage also if we have some ert-contents
14266 (not only on par->size(), second set the right depth of the paragraph
14267 on the relink to the root-paragraph-list!
14269 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14270 which then did not anymore update the main paragraphs on undo/redo!
14272 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14274 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14275 code. Support all font-changing funcs (even those which are not in
14276 menu currently). Support for reporting font settings in
14277 mathed (disabled until Andre provides a function on mathed's side).
14279 * func_status.h (toggle): small helper function to set toggle
14282 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
14284 * tabular_funcs.C: getline -> std::getline
14286 2001-12-21 Juergen Vigna <jug@sad.it>
14288 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14289 accessed and could be 0 (I couldn't generate this but it seems
14292 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
14294 * tabular_funcs.C: add LIstream.h, move write_attribute to..
14295 * tabular_funcs.h: here and include iosfwd
14297 2001-12-20 Juergen Vigna <jug@sad.it>
14299 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14300 inside inset but undo_par was.
14302 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14304 * Thesaurus.C: always include <config.h> in sources.
14308 * box.h: do not include <config.h> in header files
14310 * text.C (paintLastRow): remove unused variable
14312 * text.C (transformChar):
14314 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14316 * Painter.C (text):
14317 * font.C (width): rewrite to use uppercase() instead of
14320 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14322 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
14324 * lyxfind.C: clean up of find failure position change
14326 2001-12-20 Juergen Vigna <jug@sad.it>
14328 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14330 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14331 (TeXRow): added to LaTeX a single tabular row.
14332 (TeXLongtableHeaderFooter): added to output LT-h/f data.
14333 (Latex): simplified and finally good LT-h/f support.
14334 (various_functions): just small adaptions for LT-h/f support.
14336 * tabular_funcs.[hC]: added and moved here all not classfunctions
14339 2001-12-19 Juergen Vigna <jug@sad.it>
14341 * tabular.[Ch]: better support for longtabular options (not finished
14344 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14346 * text.C (paintLastRow): use the label font instead of the font of
14347 the last character to compute the size of *_BOX. This makes more
14348 sense and avoids a crash with empty paragraphs.
14349 Use Painter::rectangle to draw EMPTY_BOX.
14351 2001-12-19 Juergen Vigna <jug@sad.it>
14353 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14354 the paragraphs if the replaced paragraph is not the first one!
14355 Tried to delete not used paragraphs but does not work yet so for
14356 now it's inside #ifdef's and by default off!
14358 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14360 * MenuBackend.C: include "lyx_main.h" instead of declaring
14361 lastfiles (actually was declared as LastFiles* instead of a
14364 2001-12-17 Juergen Vigna <jug@sad.it>
14366 * tabular.C (AppendColumn): applied John's fix
14368 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
14372 * BufferView_pimpl.h:
14373 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14376 * box.h: new start of class for above
14378 * lyxfunc.C: ignore space-only minibuffer dispatches.
14379 Show the command name when it doesn't exist
14381 * minibuffer.C: don't add empty lines to the history
14383 * minibuffer.C: add a space on dropdown completion
14385 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
14387 * text.C: fix line above/below drawing in insets
14389 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14391 * lyxlength.C (LyXLength): Initialize private variables.
14393 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
14395 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14396 when inserting error insets.
14398 2001-12-13 Juergen Vigna <jug@sad.it>
14400 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14401 actually sometimes the before-paragraph.
14402 (setUndo): don't clear the redostack if we're not actually undoing!
14404 2001-12-06 Juergen Vigna <jug@sad.it>
14406 * undo_funcs.C (textHandleUndo): well after John's hint I got here
14407 and fixed redoing of main paragraph, so we can use it now ;)
14409 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14411 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14413 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14416 2001-12-13 André Pönitz <poenitz@gmx.net>
14419 * undo_func.C: minor cleanup
14421 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14423 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14424 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14425 font in urw-fonts package which is marked as -urw-fontspecific and
14426 does not work (incidentally, changing the encoding in the
14427 fonts.dir of this package to -adobe-fontspecific fixes the
14430 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14431 is a crash when undoing first paragraph (Juergen, please take a
14432 look). THis does not mean the undo fix is wrong, just that it
14435 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14436 the (Paragraph*) version when needed instead of duplicating the
14439 * text.C (workWidth): use Inset::parOwner to find out where the
14440 inset has been inserted. This is a huge performance gain for large
14441 documents with lots of insets. If Inset::parOwner is not set, fall
14442 back on the brute force method
14444 * paragraph_pimpl.C (insertInset):
14445 * paragraph.C (Paragraph):
14446 (cutIntoMinibuffer): set parOwner of insets when
14447 inserting/removing them
14449 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14451 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
14457 * mathed/formulabase.C:
14458 * mathed/math_cursor.[Ch]:
14459 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14462 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14464 * lyxlength.[Ch] (operator!=): new function
14466 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14468 * text.C (workWidth): use Inset::parOwner to find out where the
14469 inset has been inserted. This is a huge performance gain for large
14470 documents with lots of insets. If Inset::parOwner is not set, fall
14471 back on the brute force method
14473 * paragraph_pimpl.C (insertInset):
14474 * paragraph.C (Paragraph):
14475 (cutIntoMinibuffer): set parOwner of insets when
14476 inserting/removing them
14478 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14480 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14482 * tabular-old.C (getTokenValue):
14483 * tabular.C (getTokenValue):
14484 (write_attribute): new versions for LyXLength
14485 (everywhere): adjust the use of widths
14487 * tabular.h: change the type of widths from string to LyXLength
14489 2001-12-11 Ben Stanley <bds02@uow.edu.au>
14491 * paragraph.C: fixed missing line number count when exporting
14492 Environments to LaTeX file
14494 * buffer.C: added informational message for checking line numbers.
14496 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14498 * text2.C (deleteEmptyParagraphMechanism): if there is only one
14499 paragraph, do the 'double space' part, but not the 'empty
14502 * text.C (workWidth): small optimization
14503 (getLengthMarkerHeight): use minimal size for negative lengths.
14505 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
14507 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14509 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14511 2001-12-11 André Pönitz <poenitz@gmx.net>
14514 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14516 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14518 * text2.C: keep selection on a setFont()
14520 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14522 * lyx_cb.C: another bv->text misuse, from insert label
14524 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14527 * kbsequence.C: re-instate nmodifier mask
14529 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
14531 * lyx_main.h: make lyxGUI private.
14533 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14535 * lyxfind.C: place the cursor correctly on failed search
14537 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14539 * text.C (getLengthMarkerHeight): for small heights, the arrows
14540 are not always on top/bottom of the text
14541 (drawLengthMarker): smaller arrows; take the left margin in
14542 account; draw also vfills.
14544 (paintLastRow): remove special code for vfill and standard spaces,
14545 since everything is handled in drawLengthMarker now.
14547 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14549 * buffer.C (insertErtContents): try to handle font and language
14550 interaction a bit better.g
14552 * ColorHandler.C (updateColor): change the hash to cover the whole
14553 LColor enum, ws cleanup
14554 (getGCLinepars): ditto
14555 (getGCLinepars): only lookup in the linecache once.
14557 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
14559 * iterators.C (operator++): Make the iterator more robust
14561 * BufferView2.C (removeAutoInsets): Use paragraph iterators
14563 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14565 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14568 * text.C: better added space drawing
14570 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14573 * BufferView2.C: fix layout combo update on inset unlock
14575 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14577 * Makefile.am: don't compile unused files
14579 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14583 * LyXAction.C: remove old LFUN_LAYOUTNO
14585 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14587 * paragraph_pimpl.h:
14588 * paragraph_pimpl.C: isTextAt() doesn't need font param
14590 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14593 * lyxlex.C: little cleanup
14595 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14597 * BufferView_pimpl.C: fix insertAscii for insets
14599 2001-12-05 Juergen Vigna <jug@sad.it>
14601 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14602 set the right font on the "multi" paragraph paste!
14604 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14610 * lyxlength.C: remove out-commented code.
14612 * BufferView_pimpl:
14626 * vc-backend.C: change "while(" to "while ("
14628 * lyxlength.[Ch]: add zero function to check if length is zero or
14630 * lyxgluelength.C: use it
14632 2001-12-05 Allan Rae <rae@lyx.org>
14634 * lyxlength.C: Attempted a fix for the abs(int) header selection.
14635 Works for 2.95.3, from what I understand of Garst's reports this should
14636 work for other g++ versions. We're screwed if the abs(int) definition
14637 changed between bugfix releases of gcc.
14639 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14641 * text.C: fix chapter label offset !
14643 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14646 * text.C: fix hfill at end of line, clean up
14648 2001-12-04 Juergen Vigna <jug@sad.it>
14650 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14651 that we force an update of the inset and it's owners if neccessary.
14653 2001-12-03 Juergen Vigna <jug@sad.it>
14655 * text.C (rowLast): simplified code
14657 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14659 * lyxfunc.C: fix show options on timeout
14661 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14663 * screen.C (topCursorVisible): scroll half a page when the cursor
14664 reached top of bottom of screen
14666 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
14668 * minibuffer.C: deactivate on loss of focus
14670 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14672 * vspace.[Ch] (operator!=): add operator.
14674 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
14676 * BufferView_pimpl.C: refuse to open an inset when
14677 there's a selection.
14679 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
14681 * BufferView_pimpl.C: allow to click on RHS of full row insets
14683 2001-11-30 Juergen Vigna <jug@sad.it>
14685 * tabular.C (LyXTabular): add a same_id to set the same id's in the
14686 insets for undo reasons.
14688 2001-11-28 André Pönitz <poenitz@gmx.net>
14690 * vspace.[Ch]: cosmetical changes
14692 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14702 * kbsequence.C: part re-write of old kb code
14705 * WorkArea.C: remove Lgb_bug_find_hack
14707 2001-11-30 José Matos <jamatos@fep.up.pt>
14709 * buffer.C (makeDocBookFile): add a comment to point a hack.
14710 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14711 Fixed a double write of labels.
14713 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14716 * LaTeX.h Fixed bug in LaTeX class where it would not
14717 re-run latex if no depfiles were changed, but the .dvi was removed.
14719 2001-11-28 André Pönitz <poenitz@gmx.net>
14721 * all the files from the change on 2001/11/26:
14722 use lyx::layout_type instead of LyXTextClass::size_type
14723 use lyx::textclass_type instead of LyXTextClassList::size_type
14725 2001-11-29 Juergen Vigna <jug@sad.it>
14727 * text.C: added support for paragraph::isFreeSpacing()
14729 * buffer.C: same as above
14731 * paragraph.h: inserted isFreeSpacing() function to enable
14732 FreeSpacing inside InsetERT.
14734 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14735 of the paragraph's in the cut/copy buffer to 0!
14737 * text2.C (removeRow): remove the assert as it can!
14739 * lyxtext.h: added helper function firstRow returning firstrow and
14740 made firstrow private again.
14742 * BufferView2.C (lockInset): don't relock if we're already locked!
14744 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14745 the only paragraph.
14746 (removeRow): added Assert::(firstrow)
14748 * debug.C: forgot to add INSETTEXT here.
14750 2001-11-28 Juergen Vigna <jug@sad.it>
14752 * sp_spell.C (initialize): changed error text to more general
14753 spellchecker command use (not only ispell!)
14755 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14757 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14759 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14761 * vspace.C: initialise lyxgluelength on failure
14763 2001-11-28 Allan Rae <rae@lyx.org>
14765 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14766 declaration & definition that looks like a function declaration.
14768 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14770 * BufferView2.C (copy):
14771 (copyEnvironment): do not clear the selection when doing a copy.
14773 * text.C (paintFirstRow): compilation fix
14775 2001-11-27 Ben Stanley <bds02@uow.edu.au>
14777 * tabular.C (Latex): correct line count when writing latex.
14779 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
14781 * paragraph_pimpl.h:
14782 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14785 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14789 * LColor.C: change vfillline->added_space
14791 * text.C: add markers and text for added space
14793 * vspace.C: fix comment
14795 2001-11-28 André Pönitz <poenitz@gmx.net>
14797 * paragraph.C: whitespace changes
14798 * all the other files from the change on 2001/11/26:
14799 change *::pos_type into lyx::pos_type
14801 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
14803 * buffer.C (parseSingleLyXformat2Token): Set the language to the
14804 language of the document when inserting error insets.
14806 2001-11-26 André Pönitz <poenitz@gmx.net>
14808 * BufferView_pimpl.[Ch]:
14816 * paragraph_pimpl.[Ch]:
14819 * text2.C: reduce header dependencies, introduce type for positions
14821 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14823 * <various>: change to use Alert.h
14825 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
14827 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14828 when encountering an unknown token.
14829 (readLyXformat2): Show an error message if there were unknown tokens.
14831 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
14834 * BufferView_pimpl.C:
14838 * text2.C: use par->isInset()
14840 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14842 * paragraph_pimpl.h:
14843 * paragraph_pimpl.C: cleanup
14845 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14847 * text2.C (removeRow):
14848 * text.C (setHeightOfRow): remove useless (and costly) call to
14851 2001-11-20 Allan Rae <rae@lyx.org>
14853 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14854 Now need Inset*::checkInsertChar() to return true for appropriate
14855 cases so that the characters in the minibuffer will actually be
14858 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14860 * text.C: change the order of the includes.
14861 (workWidth): initialize it at once.
14862 (workWidth): make maxw unsigned
14863 (setHeightOfRow): remove unused variable (inset)
14864 (selectSelectedWord): remove unused variable (inset)
14865 (paintRowText): fix drawing of hfill characters, and clean up a bit.
14867 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14869 * lyxserver.C (emergencyCleanup): do not try to close pipes if
14870 server is not running.
14872 (closeConnection): add debug info when server is disabled.
14874 * ColorHandler.C (getGCForeground): send debug message to GUI
14877 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14879 * kbmap.C (bind): modify because return conventions of
14880 kb_sequence::parse have changed.
14882 * kbsequence.C (parse): only ignore spaces and not any stupid
14883 control character. This avoids tests like s[i] <= ' ', which are
14884 guaranteed to fail with 8bit characters and signed chars.
14885 Change return code to string::npos when there have been no error
14886 (0 was a bad idea when error is at first character)
14888 2001-11-14 José Matos <jamatos@fep.up.pt>
14891 * buffer.C (simpleDocBookOnePar): removed unused argument.
14893 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14895 * text.C (selectNextWordToSpellcheck): do not test explicitely for
14896 insets which are part of a word. Paragraph::isLetter takes care of
14897 that now. Use Paragraph::isInset to identify insets.
14898 (selectSelectedWord): do not test for hyphenation break.
14900 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14901 that protected spaces are considered as spaces.
14903 * paragraph.C (isLetter): cleanup the code for ispell extras; use
14906 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
14909 * lyxserver.C: fix it. and small cleanup.
14911 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
14913 * BufferView_pimpl.C: use inline helpers
14916 * LaTeXFeatures.C: fix typos
14919 * Spacing.C: move spacing_string into class
14921 * ToolbarDefaults.C: move stuff into namespace anon
14923 * layout.h: update enum
14925 * lyxfunc.C: use better debug
14927 * minibuffer.h: fix typo
14931 * WorkArea.C: add and use Debug::WORKAREA
14935 * text2.C: code re-organisation, inline helpers
14937 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
14939 * Layout.C: replaced a few cases of std::vector.size() == 0 with
14940 std::vector.empty().
14942 2001-11-09 Allan Rae <rae@lyx.org>
14944 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14945 '\n's after tables. Tabular and ERT inset work now makes this no
14948 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
14951 * minibuffer.C: fix crash, improve drop-down completion
14953 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
14956 * lyxserver.C: invalidate fd's when doing endPipe()
14958 2001-11-08 José Matos <jamatos@fep.up.pt>
14960 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14961 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14964 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14966 2001-11-07 José Matos <jamatos@fep.up.pt>
14969 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14972 * buffer.C (sgmlOpenTag):
14973 * buffer.C (sgmlCloseTag): removed debug info.
14975 * buffer.h (sgmlOpenTag):
14976 * buffer.h (sgmlCloseTag): made public.
14978 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14980 * buffer.C (saveParamsAsDefaults):
14981 * lyx_cb.C (MenuLayoutSave): remove
14983 * LyXAction.C (init):
14985 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
14987 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14989 * buffer.C (setPaperStuff): removed from here...
14991 * bufferparams.C (setPaperStuff): ... and moved there.
14993 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
14997 * XFormsView.C: add support for drop-down completion
14999 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
15001 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
15004 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15006 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
15009 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
15011 * lyx_main.C: change ref to known bugs
15013 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
15015 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
15016 to work around older babel problems.
15018 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
15020 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
15022 2001-10-24 Juergen Vigna <jug@sad.it>
15024 * tabular-old.C (ReadOld): below variable changes reflected.
15026 * tabular.[Ch]: added ltType struct for longtable header/footer
15027 defines and changed all instances where they are used. Added
15028 future support for double top/bottom rows.
15030 2001-10-24 José Matos <jamatos@fep.up.pt>
15032 * buffer.h (docbookHandleCaption):
15033 * buffer.C (docbookHandleCaption): removed unused function.
15034 (makeDocBookFile): moved docbook supported version to v4.1.
15036 2001-10-24 José Matos <jamatos@fep.up.pt>
15039 * tabular.C (docbookRow): new function to export docbook code of a row.
15040 (DocBook): now honors the longtable flags.
15042 2001-10-23 José Matos <jamatos@fep.up.pt>
15045 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
15046 of the lyx defined sgml entities used in a docbook/linuxdoc document.
15048 * buffer.C (makeLinuxDocFile):
15049 (makeDocBookFile): reworked the preamble, more clean, and with
15050 support for lyx defined entities. Changed the document declaration
15051 to be more XML friendly.
15053 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
15054 if we need to output XML that should be done with a filter.
15056 2001-10-22 Juergen Vigna <jug@sad.it>
15058 * sp_pspell.h (class PSpell): add alive function needed in the
15059 controller to see if the spellchecker could be started.
15061 2001-10-22 Juergen Vigna <jug@sad.it>
15063 * buffer.C (insertStringAsLines): modify the font for inserting
15064 chars in certain conditions by calling checkInsertChar(font).
15066 2001-10-19 Juergen Vigna <jug@sad.it>
15068 * text.C (workWidth): use getRow instead of wrong algorithm.
15069 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
15071 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
15076 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
15078 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15080 * text.C (workWidth): do not search for the exact row when
15081 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
15082 optimization for big documents.
15084 2001-10-18 Juergen Vigna <jug@sad.it>
15086 * text.C (workWidth): new function with added Inset * parameter.
15088 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15090 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
15092 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
15093 change return type of getColumnNearX.
15096 * text.C (changeRegionCase): use uppercase/lowercase instead of
15099 (rightMargin): simplify code by factoring out the uses of
15104 (appendParagraph): use Paragraph::size_type
15106 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15108 * vspace.C (asLatexString): add a missing break
15110 2001-10-15 Herbert Voss <voss@perce.de>
15112 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
15114 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15116 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
15119 2001-10-10 André Pönitz <poenitz@gmx.net>
15121 * lyxfunc.C: removed greek_kb_flag.
15123 2001-10-10 Herbert Voss <voss@perce.de>
15125 * lyx_main.C: delete global string help_lyxdir.
15127 2001-10-09 Herbert Voss <voss@perce.de>
15129 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
15131 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
15133 * lyx_main.C: added global string help_lyxdir.
15135 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
15137 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
15139 * lyxrc.C (set_font_norm_type): support iso8859-4
15141 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
15143 * LaTeX.C (deplog): add another regex for MikTeX
15145 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
15147 * lyxrc.C (set_font_norm_type): support iso8859-3
15149 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15151 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
15153 * LaTeXFeatures.C: remove special case of french and index
15155 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
15156 before \begin{document}). This solves several incompatibilities.
15158 2001-10-03 Garst Reese <reese@isn.net>
15160 * lyx_cb.C: change CheckTex error msg.
15162 2001-10-03 José Matos <jamatos@fep.up.pt>
15164 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
15166 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15168 * .cvsignore: update
15170 * lyx_main.C (commandLineVersionInfo): use new style version info.
15172 * buffer.C (writeFile):
15174 (makeLinuxDocFile):
15175 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
15177 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
15179 * version.h: update to use stuff in version.C
15181 * version.C.in: new file. Contains version information determined
15182 at compile time. This is a merging of version.h and
15185 2001-10-03 Juergen Vigna <jug@sad.it>
15187 * BufferView_pimpl.C (update): don't change "dirty" status in
15190 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
15192 * WorkArea.C (c-tor): re-position version string slightly.
15194 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
15196 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15197 revert to previous code.
15199 WorkArea.[Ch]: (show, destroySplash): methods removed.
15201 WorkArea.C: rework code so that it's an amalgam of the codes before and
15202 after the splash screen was moved to WorkArea.
15204 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15207 * vspace.C (inPixels):
15210 * buffer.C (insertStringAsLines):
15211 (asciiParagraph): fix types to be large enough
15213 * lyxlex_pimpl.h: change member status from short to int
15215 * layout.h: fix type of endlabeltype
15218 * kbsequence.C (parse): change return type to string::size_type
15220 * LaTeX.C (updateBibtexDependencies): comment out unneeded
15223 * Bullet.C (bulletSize):
15224 (bulletEntry): do not use short ints as parameters
15226 * BufferView2.C (insertLyXFile): change a char to an int.
15228 * WorkArea.C (WorkArea): remove unneeded floats in computation
15230 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
15232 * buffer.C (asciiParagraph): Treat '\\' as other chars.
15234 * paragraph.C (asString): Do not ignore newline/hfill chars when
15235 copying to the clipboard.
15237 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
15239 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15240 after a multi-line inset.
15242 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
15244 * paragraph.C (validate): Set NeedLyXFootnoteCode
15246 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
15248 * lyxfont.C (LyXSizeNames): changed increase-error to increase
15249 and decrease-error to decrease.
15251 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15253 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15254 it more readable (should be equivalent)
15256 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
15258 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15260 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15262 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15263 of a cursor (row, etc.) after a character has been deleted
15264 (deleteEmptyParagraphMechanism): call the method above on _all_
15265 cursors held by the LyXText when a double space has been
15268 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
15270 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15272 (resizeCurrentBuff): remove code to destroy the old splash dialog.
15274 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15275 background. Use greyOut() and the new show() methods to toggle between
15276 the foreground and background. Add code to remove the splash after
15277 its initial showing.
15279 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15280 (create_forms): no longer call Dialogs::showSplash.
15282 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15284 * .cvsignore: add version_info.h
15286 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15288 * version_info.h.in: new file
15290 * Makefile.am: add version_info.h.in
15292 * lyx_main.C (commandLineVersionInfo): use version_info defined in
15293 version_info.h instead of VERSION_INFO
15295 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
15297 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15298 The ERT inset now returns string().
15300 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
15302 * lyxtext.h, text.C (selectNextWord): renamed as
15303 selectNextWordToSpellcheck.
15305 * text.C (selectNextWordToSpellcheck): Modified to not select
15306 words inside an ERT inset.
15308 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15310 * lyx_cb.C (MenuLayoutSave): change a bit the question
15312 * sp_base.h: include <sys/types.h>
15314 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
15316 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15318 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
15320 * several files: fix typos in user-visible strings
15322 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15324 * text2.C (pasteSelection): do not set the selection, since it
15325 will be cleared later. Actually, the intent was to fix the way the
15326 selection was set, but I figured rmoving the code was just as good.
15328 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
15330 * FontLoader.C (available): Check if font is available without
15333 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
15335 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15337 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
15339 * lyxrc.[Ch]: added display_graphics variable and associated code.
15341 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15343 * bufferparams.C (hasClassDefaults): new method. Returns true if
15344 the buffer parameters correspond to known class defaults
15346 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
15348 * XFormsView.C (show): set minimum size to the main window.
15350 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15352 * text2.C (copySelection):
15354 * lyxfind.C (LyXReplace):
15355 * BufferView_pimpl.C (Dispatch): pass the correct flag to
15356 LyXText::selectionAsString.
15358 * paragraph.C (asString): add "label" argument to the second form
15360 * text2.C (selectionAsString): add "label" argument and pass it to
15361 Paragraph::asString.
15363 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15365 * lyx_main.C (commandLineHelp): remove version information
15367 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
15369 * lyx_main.C: add -version commandline option
15371 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15373 * paragraph.h: make the optional constructor arg required instead.
15374 some modifications to other files because of this.
15376 * minibuffer.C (C_MiniBuffer_peek_event): make it static
15378 * lyxserver.C (C_LyXComm_callback): make it static
15380 * lyx_main.C (error_handler): make it static
15382 * lyx_gui.C (LyX_XErrHandler): make it static
15384 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15386 * WorkArea.C: make the extern "C" methods static.
15388 * Makefile.am (lyx_LDADD): simplify
15390 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15392 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15393 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15395 * LyXAction.C (init):
15396 * lyxfunc.C (dispatch): associated code removal.
15398 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15400 * lyxfont.h (isSymbolFont): shut off warning
15402 * text.C (setHeightOfRow):
15403 (getVisibleRow): fix crash with empty paragraphs which have a
15406 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
15408 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15411 2001-09-04 José Matos <jamatos@fep.up.pt>
15414 * tabular.C (docbook): rename docBook method to docbook.
15416 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15418 * Makefile.am: add dependencies to main.o.
15420 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
15422 * FontLoader.C (available): Return false if !lyxrc.use_gui
15424 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
15426 * FontInfo.C (query):
15427 * converter.C (view):
15428 * importer.C (Import):
15429 * exporter.C (Export): Can not -> cannot.
15431 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
15433 * BufferView_pimpl.C: allow to create index inset even if
15436 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15438 * buffer.C (getLists): replace boost::tie code with an explicit pair
15439 as boost::tie can break some compilers.
15441 * iterators.h: Added a std:: declaration to the return type of
15444 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
15446 * lyxrc.C: add help for view_dvi_paper_option, default to safe
15449 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
15451 * iterators.[Ch]: New files. Provide paragraph iterators.
15453 * buffer.C (changeLanguage): Use paragraph iterators.
15454 (isMultiLingual): ditto
15456 * BufferView2.C (ChangeInsets): Use paragraph iterators.
15458 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
15460 * FontLoader.C: Support for cmr font.
15462 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
15464 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15465 (available): New method.
15467 * FontInfo.C (getFontname): Use scalable fonts even when
15468 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15471 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15473 * converter.C (Formats::view): reverted! Incorrect fix.
15475 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15477 * converter.C (Formats::view): only output the -paper option
15478 if the dvi viewer is xdvi, thereby fixing bug #233429.
15480 2001-08-23 Herbert Voss <voss@perce>
15482 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15484 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
15486 * Spacing.h (Spacing): Set space to Default on in the default
15489 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
15491 * vc-backend.h (RCS::versionString): add RCS to version
15492 (CVS::versionString): add CVS to version
15494 * vc-backend.C (scanMaster): do not add CVS to version.
15495 (scanMaster): do not add RCS to version
15497 * lyxvc.C (versionString): new method
15499 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15501 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15503 * Spacing.C (set): initialize fval
15505 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
15507 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15510 2001-08-16 Juergen Vigna <jug@sad.it>
15512 * lyxfunc.C (dispatch): implemented the new FINISHED states.
15514 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15516 * BufferView_pimpl.C:
15519 * text2.C: setParagraph takes linespacing now
15521 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
15523 * LyxAction.C: add internal LFUN_CITATION_INSERT
15525 * LyXView.C: actually apply fix
15527 * bufferlist.C: fix open non-existent file
15529 * lyxfind.C: fix indentation
15531 * lyxfunc.C: remove unneeded assert, fix typo
15533 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15535 * MenuBackend.C: use "Floatname List"
15537 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
15539 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15540 when converting LaTeX layout to insetERT.
15541 Generate a non-collapsed float when reading old float
15543 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15545 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15548 2001-08-13 Juergen Vigna <jug@sad.it>
15550 * text.C (fill): return 0 instead of 20 as this seems to be the more
15553 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15555 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15558 2001-08-13 Juergen Vigna <jug@sad.it>
15560 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15562 (SearchBackward): comment out the unlocking of the inset_owner this
15563 should not be needed!
15565 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
15567 * Many files: Remove inherit_language, and add latex_language
15569 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15570 collapsible insets.
15572 2001-08-10 Juergen Vigna <jug@sad.it>
15574 * text.C (prepareToPrint): fixed hfill-width in draw!
15576 * BufferView2.C (selectLastWord): save the selection cursor as this
15577 now is cleared in the function LyXText::clearSelection!
15579 2001-08-08 Juergen Vigna <jug@sad.it>
15581 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15582 BACKSPACE type functions.
15584 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15585 is only cutted from the document but not put in the cut-buffer, where
15586 still the old stuff should be.
15588 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15590 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15592 * tabular.C (SetWidthOfCell): fixed special case where the width
15594 (LeftLine): handle '|' in align_special.
15596 (LeftAlreadyDrawed): ditto
15597 (SetWidthOfCell): ditto
15599 2001-08-07 Juergen Vigna <jug@sad.it>
15601 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15603 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15605 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15606 * lyxlex.[hC]: ditto
15608 2001-08-06 Juergen Vigna <jug@sad.it>
15610 * text.C (getVisibleRow): fix up row clearing a bit.
15612 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15614 * minibuffer.C: make sure the X server sees the changes in the input.
15616 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15618 * paragraph.C (getFont): split into...
15619 (getLabelFont): this
15620 (getLayoutFont): and this
15621 * paragraph_pimpl.C (realizeFont): calling this
15623 * text2.C (getFont): split into...
15624 (getLayoutFont): this
15625 (getLabelFont): and this
15626 (realizeFont): all three calling this
15628 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15631 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15633 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15635 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
15637 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15638 layouts from the Quote inset insertion.
15640 2001-08-03 Juergen Vigna <jug@sad.it>
15642 * BufferView_pimpl.C (update): do the fitCursor only at the end!
15644 * screen.C (drawFromTo): don't call fitcursor here and do the loop
15645 only if status not is already CHANGED_IN_DRAW (second level).
15647 * text.C (draw): don't set the need_break_row when inside an
15650 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
15652 * buffer.C (parseSingleLyXformat2Token): handle more latex
15655 * bufferview_funcs.[hC]: change function names to
15656 begin with small char, adjust other files.
15658 2001-08-02 André Pönitz <poenitz@gmx.net>
15661 BufferView_pimpl.C: remove broken special code for math-greek
15663 2001-08-02 Juergen Vigna <jug@sad.it>
15665 * BufferView_pimpl.C (update): redone this function so that we
15666 update the text again if there was a CHANGE_IN_DRAW.
15668 * screen.C (cursorToggle): removed LyXText parameter and recoded.
15669 (drawFromTo): added a new internal bool which is used by draw() and
15671 (general): some cursor drawing problems fixed.
15673 2001-08-01 Juergen Vigna <jug@sad.it>
15675 * lyxfind.C (LyXFind): fixed
15676 (SearchForward): ditto
15677 (SearchBackward): ditto
15679 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15680 spurius drawing of the cursor in the main area.
15682 * text2.C (status): small fix which could lead to a segfault!
15683 (clearSelection): remove unneeded BufferView param.
15685 2001-08-01 André Pönitz <poenitz@gmx.net>
15687 * lyxfunc.C: small change due to changed mathed interface
15689 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15691 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15693 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
15695 * lyxfunc.c: fail gracefully if file doesn't exist
15700 * BufferView_pimpl.C: IsDirWriteable() proto changed
15702 * LyXView.C: fix updateWindowTitle() to store the last title
15704 2001-07-31 Juergen Vigna <jug@sad.it>
15706 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15707 the font (wrong since using of Paragraph::highestFontInRange).
15709 * paragraph.C (highestFontInRange): added a default_size parameter.
15711 * text.C (getVisibleRow): minor clear row changes (still not perfect).
15712 (setHeightOfRow): reformat
15714 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15716 * converter.[hC] + affected files: move to (inital-char)lowercase
15719 * ParagraphParameters.C (ParagraphParameters): remove commented code
15721 * PainterBase.[Ch]: remove commented code
15723 * LaTeXFeatures.h: add "bool floats" for float.sty
15725 * LaTeXFeatures.C (LaTeXFeatures): init floats
15726 (require): handle float
15727 (getPackages): do it with floats
15729 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15731 * BufferView_pimpl.C (Dispatch): improve handling of
15732 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15734 * commandtags.h: #include lyxfont.h here temporarily to avoid
15737 * bufferlist.h: include LString.h here.
15739 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15741 * text2.C (getStringToIndex): new method.
15743 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
15745 * *: Reduced header file dependencies all over.
15747 2001-07-30 Baruch Even <baruch@lyx.org>
15749 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15751 2001-07-29 Baruch Even <baruch@lyx.org>
15753 * buffer.C (readInset): Changed GRAPHICS to Graphics.
15755 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15757 * ParameterStruct.h (endif): add a default constructor to make
15758 sure that all variables is initialized.
15760 * ParagraphParameters.C (ParagraphParameters): adjust
15762 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15764 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15765 index; also, check that there is something to index, and that it
15766 does not span over several paragraphs.
15767 (doubleClick): use WHOLE_WORD_STRICT for double click.
15769 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15771 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15774 2001-07-26 Baruch Even <baruch@lyx.org>
15776 * buffer.C (readInset): Changed to call up InsetGraphics when reading
15777 an InsetFig figure, backwards compatible reading of old figure code.
15779 2001-07-27 Juergen Vigna <jug@sad.it>
15781 * text2.C: font.realize function adaption.
15783 * text.C (draw): add a warnings lyxerr text if needed.
15785 * layout.C: font.realize function adaption.
15787 * language.C: add inherit_language and implement it's handlings
15789 * bufferview_funcs.C (StyleReset): remove language parameter from
15790 font creation (should be language_inherit now).
15792 * bufferparams.C (writeFile): handle ignore_language.
15794 * paragraph.C (getFontSettings): the language has to be resolved
15795 otherwise we have problems in LyXFont!
15797 * lyxfont.C (lyxWriteChanges): added document_language parameter
15798 (update): removed unneeded language parameter
15800 * paragraph.C (validate): fixed wrong output of color-package when
15801 using interface colors for certain fonts in certain environments,
15802 which should not seen as that on the final output.
15804 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
15806 * BufferView_pimpl.C:
15811 * LyXAction.C: add thesaurus support
15814 * lyxfind.C: add "once" parameter, for thesaurus, to not
15815 move to the next match
15817 2001-07-26 Juergen Vigna <jug@sad.it>
15819 * lyxfont.C (realize): honor ignore_language too!
15822 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15824 * text.C (draw): one place more for ignore_language to not draw
15827 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
15829 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15831 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15833 * buffer.C (parseSingleLyXformat2Token): a more general fix for
15834 the minipage conversion problem.
15836 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15838 * buffer.C (parseSingleLyXformat2Token): check minipage if we
15841 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15843 * BufferView.h: don't forward declare WorkArea
15845 * BufferView.C: don't include WorkArea.h
15847 2001-07-25 André Pönitz <poenitz@gmx.net>
15851 * lyxfunc.C: new LFUN 'math-space'
15853 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15855 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15857 * text2.C (toggleInset): call open/close
15859 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15861 * lyxfunc.C (dispatch): add debug for the disabled case
15863 * font.C (buttonText): make similar to rectText
15865 * buffer.C (readInset): comment out parsing of insetlist and
15868 * PainterBase.C (rectText): small correction
15870 * BufferView_pimpl.C: comment out insettheorem and insetlist
15871 * LyXAction.C: ditto
15872 * commandtags.h: ditto
15874 2001-07-24 Juergen Vigna <jug@sad.it>
15876 * text.C (draw): honor the ignore_language.
15878 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15880 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15882 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15885 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15887 * lyxtext.h: remove unused (and unimplemented) methods
15889 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15891 * text.C (getVisibleRow): honor background color
15894 * Painter.h: remove default color argument for fillRectangle
15896 * text.C (backgroundColor): new method
15898 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15900 * text.C (getVisibleRow): adjust
15902 * font.[Ch] (rectText): new method, metrics
15903 (buttonText): new method, metrics
15905 * PainterBase.[hC]: make rectText and buttonText always draw and take
15908 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15910 * ToolbarDefaults.C (read):
15911 * MenuBackend.C (read): allow escaping in all strings
15913 * BufferView_pimpl.C (insertAndEditInset): new method.
15914 (Dispatch): use insertAndEditInset whenever appropriate.
15916 * BufferView_pimpl.C (insertNote): removed
15918 * BufferView_pimpl.C (smartQuote): new method, moved from
15919 BufferView; if an insetquote cannot be inserted, insert a '"'
15922 * BufferView2.C: remove insertCorrectQuote();
15924 * lyxfunc.C (getStatus): Add support for all remaingin
15925 inset-insert lfuns.
15927 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
15929 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
15930 command (necessary to pass " as parameter of self-insert.
15932 * text.C (selectWordWhenUnderCursor):
15933 (selectWord): add word_location parameter
15934 (selectWordWhenUnderCursor): same + remove special code for word
15936 (selectNextWord): use kind() to guess type of insetspecialchar,
15939 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15940 (insertErtContents): create ert insets as collapsed.
15941 (readInset): better compatibility code for Info inset.
15943 2001-07-20 Juergen Vigna <jug@sad.it>
15945 * lyxfunc.C (dispatch): use always LyXFind now!
15947 * text2.C (init): add a reinit flag so that the LyXText can be
15948 reinited instead of deleted and reallocated (used in InsetText).
15950 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15956 2001-07-18 Juergen Vigna <jug@sad.it>
15958 * text.C (selectNextWord): handle insets inside inset by calling
15959 always the bv->text functions so that we can go up the_locking_inset!
15961 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15962 in strange locations when inside an inset!
15964 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15965 handling to include insets.
15967 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15969 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15971 * LyXAction.C (init):
15973 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15974 LIGATURE_BREAK, since the name is so stupid.
15976 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
15978 * buffer.C (readInset): enable reading of new InsetNotes as well as old
15981 * FontLoader.C: remove FORMS_H_LOCATION cruft.
15983 * sp_form.[Ch]: remove.
15985 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
15987 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
15990 * src/buffer.C (readInset): ditto.
15992 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15994 * BufferView_pimpl.C (specialChar): new method. Obsoletes
15995 menuSeparator(), endOfSentenceDot(), ldots() and
15996 hyphenationPoint(), which are therefore removed.
15997 (Dispatch): handle LFUN_HYPHENATION_BREAK.
15999 * LyXAction.C (init):
16000 * commandtags.h: add LFUN_HYPHENATION_BREAK.
16002 * paragraph.C (getWord): removed.
16004 * BufferView_pimpl.C (Dispatch): use last word or selection for
16005 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
16007 * lyx_main.C (queryUserLyXDir): do not ask before creating
16008 user_dir, except if it has been named explicitely.
16010 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
16012 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
16013 a document of zero size.
16015 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
16017 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
16018 approriately in the c-tor and in require().
16019 (getPackages): output the appropriate LaTeX for natbib support.
16021 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
16022 variables "use_natbib" and "use_numerical_citations" when reading the
16024 (readInset): read the various natbib cite commands.
16025 (validate): white-space change.
16027 * bufferparams.[Ch]: new variables "bool use_natbib" and
16028 "bool use_numerical_citations".
16029 (writeFile): output them in the LyX file.
16031 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16033 * lyxfunc.C (getStatus): add support for all the inset insertion
16036 * text2.C (insertInset):
16037 * paragraph.C (insetAllowed):
16038 * BufferView_pimpl.C (insertInset): update to take in account the
16039 renaming of insertInsetAllowed
16041 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
16043 * text2.C (getInset): new method. returns inset at cursor position.
16045 * BufferView_pimpl.C (Dispatch): changes because of this.
16047 * LyXAction.C (init): rename open-stuff to inset-toggle.
16049 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
16051 * text2.C (toggleInset): renamed from openStuff; use
16054 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
16056 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
16058 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
16060 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
16062 * buffer.C (readLyXformat2): Add filename to the error dialog
16064 2001-07-18 Juergen Vigna <jug@sad.it>
16066 * tabular.C (GetCellNumber): put an assert here instead of the check!
16068 2001-07-17 Juergen Vigna <jug@sad.it>
16070 * BufferView_pimpl.C (toggleSelection): adapted too.
16072 * text.C (selectNextWord): adapted for use with insets.
16073 (selectSelectedWord): ditto
16075 2001-07-17 Juergen Vigna <jug@sad.it>
16077 * sp_spell.C (PSpell): fix initialitation order.
16079 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16081 * paragraph.C: spacing
16083 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
16085 * sp_spell.C: repair language selection for pspell
16087 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
16089 * lyxfunc.h: change more methods to begin with lower char.
16091 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
16093 * buffer.C (parseSingleLyXformat2Token): Generate error insets
16094 for unknown layouts.
16096 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
16098 * buffer.C (readLyXformat2): Generate an error dialog if there are
16101 2001-07-16 Juergen Vigna <jug@sad.it>
16103 * sp_spell.C: always compile ISpell part.
16105 * lyxrc.C: added use_pspell entry and it's handling.
16107 2001-07-13 Juergen Vigna <jug@sad.it>
16109 * sp_spell.C: removed double includes.
16111 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
16113 Consistent use of Lsstream.h:
16114 * Lsstream.h: added using std::stringstream for consistencies sake.
16116 * buffer.C: removed using std::stringstream
16118 * lyxfont.C (stateText):
16119 * paragraph.C (asString):
16120 * text.C (selectNextWord, selectSelectedWord):
16121 * text2.C (setCounter):
16122 * vspace.C (asString, asLatexString):
16123 std::ostringstream -> ostringstream.
16125 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
16127 * LyXAction.C: add LFUN_HELP_ABOUTLYX
16128 * commandtags.h: add LFUN_HELP_ABOUTLYX
16129 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
16131 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
16133 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
16135 * lyx_gui_misc.C: remove spellchecker
16136 * lyxfunc.C: showSpellchecker
16138 * sp_ispell.h: added
16139 * sp_pspell.h: added
16140 * sp_spell.C: added
16141 * sp_form.[Ch]: removed
16142 * spellchecker.[Ch]: removed
16144 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
16146 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
16148 (simpleTeXSpecialChars): Simply print the input character without
16149 any special translation if pass_thru is set.
16151 * layout.h: Added bool pass_thru to layout class for being able to
16152 implement pass through of a paragraph for Literate Programming.
16154 * layout.C: add LT_PASS_THRU to LayoutTags enum.
16155 * layout.C (LyXLayout): set pass_thru to flase in constructor.
16156 * layout.C (Read): add "passthru" to list of layout tags and add
16157 code to set the pass_thru boolean when it is read.
16159 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
16161 * trans_decl.h: remove allowed from KmodInfo
16163 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
16164 remove allowed code
16167 * paragraph_pimpl.C (erase): use boost::prior
16169 * Painter.C (text): use data() instead of c_str() when length is
16171 * WorkArea.C (putClipboard): ditto
16172 * font.h (width): ditto
16174 * BufferView2.C: use it-> instead of (*it). for iterators
16176 * paragraph_pimpl.C: ditto
16177 * paragraph.C: ditto
16178 * minibuffer.C: ditto
16179 * language.C: ditto
16181 * encoding.C: ditto
16182 * counters.C: ditto
16183 * converter.C: ditto
16185 * Variables.C: ditto
16186 * TextCache.C: ditto
16187 * MenuBackend.C: ditto
16188 * LyXAction.C: ditto
16190 * FloatList.C: ditto
16191 * DepTable.C: ditto
16192 * ColorHandler.C (LyXColorHandler): ditto
16194 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16196 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16198 * text2.C (openStuff): reintroduce this method (which had been
16199 nuked in NEW_INSETS frenzy).
16201 * lyxfunc.C (Dispatch): when an action has not been handled, use
16202 its name in the error message, not its number.
16204 * paragraph.C (inInset): change method name to begin with lowercase.
16207 * text2.C: updates because of this.
16209 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16211 * ToolbarDefaults.C (add): add spaces in error message
16213 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
16215 * buffer.C (readLyXformat2): initialize the ert comp. variables.
16216 (readLyXformat2): rename return_par to first_par, use lyxlex's
16217 pushToken and remove the manual push handling.
16218 (parseSingleLyXformat2Token): add another ert comp. variable:
16219 in_tabular, rename return_par to first_par. handle newlines better
16221 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16223 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16225 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
16227 * text2.C (getParFromID): removed
16229 * buffer.C (getParFromID): new method moved form lyxtext.
16230 * BufferView2.C (insertErrors): adjust
16231 (setCursorFromRow): adjust
16232 * BufferView_pimpl.C (restorePosition): adjust
16233 * lyxfunc.C (Dispatch): adjust
16234 * undo_funcs.C (textUndo): adjust
16236 (textHandleUndo): adjust
16237 (textHandleUndo): adjust
16239 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
16241 * buffer.C: up' the LYX_FORMAT
16243 * lyxfont.h: turn NO_LATEX on as default
16245 * buffer.C (insertErtContents): new methods of tex style compability.
16246 (parseSingleLyXformat2Token): use it several places.
16247 * tabular.C (OldFormatRead): and here
16249 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
16251 * text2.C: remove some commented code.
16254 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16255 * trans.C: changes because of the above.
16257 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
16259 * text2.C (setCounter): Fix counters bug with bibliography layout.
16261 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16263 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16264 own member functions
16265 (simpleTeXSpecialChars): ditto
16267 2001-07-06 Juergen Vigna <jug@sad.it>
16269 * a lot of files: changed the access to LyXText::status and the
16270 call of undo-functions.
16272 * undo.[Ch]: added a inset_id to the undo informations.
16274 * undo_funcs.[Ch]: added and moved here all undo functions.
16276 * lyxtext.h: give the status enum a weight, made status_ a private
16277 variable and made accessor functions for it, removed the whole bunch
16278 of undo-functions as they are now in their own file, make some
16279 functions publically available. Added function ownerParagraph with
16282 * paragraph.[Ch]: added "bool same_ids" to the constructor,
16283 made InInset() a const function, added getParFromID() function.
16285 * buffer.[Ch]: added const version for inset_iterator functions,
16286 added getInsetFromID() function.
16288 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16289 changed undo functions for new version.
16291 2001-07-05 Juergen Vigna <jug@sad.it>
16293 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16294 unknow mechanism does not call the proper constructor but only this
16295 one also if I request the other!?
16297 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16299 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16301 * text2.C (LyXText): use initialization lists.
16303 * lyxtext.h (Selection): initialize set_ and mark_
16304 (init): remove method
16306 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
16308 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16310 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16312 * screen.[Ch]: change method names to begin with lowercase
16314 * BufferView_pimpl.C (updateScrollbar): simplify further and
16315 hopefully make it a bit faster.
16317 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16319 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16320 calling directly xforms functions.
16322 * Painter.C (Painter):
16323 * lyx_cb.C (MenuWrite):
16324 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16327 * lyx_gui.C: remove bogus guiruntime extern declaration.
16329 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16331 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16333 (redoDrawingOfParagraph): ditto
16334 (redoParagraphs): ditto
16335 (cutSelection): don't create a object for CutAndPaste use the
16336 static method directly
16337 (pasteSelection): ditto
16339 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16342 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16344 * modifications to some other files because of this.
16346 * Makefile.am (lyx_SOURCES): add XFormsView
16348 * XFormsView.[Ch]: new files
16350 * LyXView.[Ch]: make LyXView a base class for the gui handling for
16351 the main window. Move the gui dependent stuff to XFormsView
16353 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16355 * tabular.C (GetCellInset): update cur_cell also in the row/col
16356 version of this function.
16358 * lyxfunc.C: no need to include figure_form.h here.
16364 * lyxvc.C: no need to include forms.h here.
16366 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16368 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16370 * lyxfunc.C (Dispatch):
16372 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16373 constructor argument.
16375 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16377 * paragraph.C (Paragraph): dont't clear, and just set layout.
16378 (makeSameLayout): use params's copy contructor.
16380 * ParagraphParameters.[Ch] (makeSame): delete method
16382 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
16384 * Variables.[Ch]: fix indentation, rename set to isSet
16386 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16388 * lyxfunc.C (Dispatch): fix typo
16390 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16392 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16395 * bufferlist.C: include assert.h for emergencyWrite().
16397 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16399 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16400 give up at last (bug #425202) !
16402 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
16408 * spellchecker.C: strip spellchecker options and bring up
16409 preferences tab instead
16411 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16413 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16414 the istringstream constructor
16416 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16418 * paragraph.C (getLayout): fix return value
16420 * paragraph.h: do not declare getLayout as inline.
16422 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16424 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16426 * lyxcursor.h (operator<): new func
16427 (operator>): new func
16428 (operator>=): new func
16429 (operator<=): new func
16431 * text.C (changeCase): use selection.start and selection.end
16432 (changeRegionCase): require from to be <= to. Require par to be a
16435 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16437 2001-06-27 Juergen Vigna <jug@sad.it>
16439 * text.C (cursorLeftOneWord): changed to return the cursor and added
16440 overlay with BufferView * parameter which calls this one.
16442 (selectWord): use new getWord function.
16443 (changeCase): renamed from changeWordCase as and extended to work
16444 also on selections.
16446 * lyxtext.h: added enum word_location
16448 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16449 changeCase as this operates now also on selections.
16451 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
16453 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16455 * many files: send debug output to Debug::INFO instead of
16458 * converter.C (View):
16460 (Move): send debug output to Debug::FILES instead of console.
16462 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
16464 * lyxfunc.C (getStatus): use func_status
16466 * func_status.h: new header, describing the results of
16467 LyXFunc::getStatus;
16469 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16472 2001-06-25 The LyX Project <jug@sad.it>
16474 * buffer.C (sgmlOpenTag):
16476 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
16478 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16480 * text2.C: remove some dead code
16482 * tabular.C (GetCellInset): store the last cell checked (gotten)
16484 * tabular.h: add the helper for the speedup
16486 * lyxtext.h: remove some dead code
16488 2001-06-26 The LyX Project <Asger>
16490 * paragraph.C: Change export to LaTeX of alignment to
16491 \begin{center} and family for better roundtrip work with reLyX.
16493 * Tune the math drawing a bit.
16495 2001-06-25 The LyX Project <Asger>
16497 * LColor.C (LColor): New color for math background. New color
16500 2001-06-25 The LyX Project <jug@sad.it>
16502 * lyxfunc.C (MenuNew): remove extra check for .lyx file
16504 * lyxfunc.C (Open):
16505 * bufferlist.C (newFile): do not restrict to files ending with
16508 * BufferView_pimpl.C (MenuInsertLyXFile):
16510 2001-06-24 The LyX Project <jug@sad.it>
16512 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16515 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16517 * lyxtext.h: rename most methods to begin with a small char.
16518 Lots of changes because of this.
16520 * paragraph.C (Paragraph): do not call fitToSize
16521 (erase): call Pimpl::erase
16522 (insertChar): call Pimpl::insertChar
16523 (insertInset): call Pipl::insertInset
16524 (breakParagraph): do not call fitToSize
16525 (breakParagraphConservative): do not call fitToSize
16526 (fitToSize): remove method
16528 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16530 2001-06-24 The LyX Project <Asger>
16532 * Fix Qt compilation^2
16534 2001-06-24 The LyX Project <jug@sad.it>
16536 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16537 depthHook(getDepth()-1).
16540 * ParagraphParameters.h:
16541 * ParameterStruct.h: change type of depth to unsigned int ==
16542 depth_type. Many adaptations to other files before of that.
16544 2001-06-24 The LyX Project <Asger>
16546 * Fix Qt compilation.
16548 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16550 * paragraph.h: renamed several methods to begin with small letter.
16551 several changes to many parts of the code because of this.
16553 2001-06-23 The LyX Project <jug@sad.it>
16555 * text2.C (InsertStringAsLines): renamed from InsertStringA;
16556 rewritten to discard all double spaces when KeepEmpty is off
16557 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16558 to only handle newlines but not fiddle with spaces and friends.
16560 * lyxfunc.C (MenuNew): when doing 'new from template', use
16561 template_path as default directory
16563 2001-06-23 The LyX Project <Asger>
16565 * Clean-up of header file includes all over
16566 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16568 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16570 * paragraph.h: renamed from lyxparagraph.h
16572 2001-06-23 Asger <lyx@violet.home.sad.it>
16574 * Buffer.h: Removed Buffer::resize
16575 * BufferList.h: Removed BufferList::resize
16576 * LyXView.h: Added LyXView::resize. This way, we will only reflow
16577 the document lazily when we change the width, or the font settings.
16579 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16581 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16583 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16585 * buffer.h: remove out of date comment
16587 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16590 * screen.C: fix "theoretical" GC leak
16592 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16594 * LaTeX.C (scanAuxFile):
16595 (deplog): remove trailing \r when reading stream (useful under
16598 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
16600 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16601 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16602 and BufferView::theLockingInset(Inset*), so should use them and not
16603 access bv_->text->the_locking_inset directly.
16605 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16607 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16610 * tex-defs.h: remove old unused file
16612 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
16614 * BufferView_pimpl.C: fix typo, remove minibuffer message
16615 when buffer has loaded
16617 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
16619 * lyxfunc.C (Dispatch): use stringstream
16620 (MenuNew): use stringstream
16621 (Open): use stringstream
16623 * importer.C (Import): use stringstream
16625 * bufferview_funcs.C (CurrentState): use stringstream
16627 * LaTeX.C (run): use stringstream
16629 * BufferView_pimpl.C (savePosition): use stringstream
16630 (restorePosition): use stringstream
16631 (MenuInsertLyXFile): use stringstream
16633 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
16646 * vspace.C: removed // -*- C++ -*- as first line.
16649 * version.h: added // -*- C++ -*- as first line.
16651 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16653 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16655 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16658 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
16660 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16663 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16665 * gettext.C: include LString.h even when --disable-nls is on.
16667 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
16669 * converter.h (Get): changed argument type from int to
16670 FormatList::size_type to avoid unnecessary conversion.
16672 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16675 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16677 * gettext.h: include LString.h even when --disable-nls is on.
16679 2001-06-07 Juergen Vigna <jug@sad.it>
16681 * text.C (BreakAgain): subst spaces with tabs.
16683 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16684 (resizeInsetsLyXText): set force on resizeLyXText.
16686 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16688 * gettext.h (gettext_init):
16689 (locale_init): use a real definition instead of a macro
16691 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16693 * Bufferview_pimpl.C:
16695 * LColor.C: further lcolor tidies
16697 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
16699 * BufferView_pimpl.C (updateScrollbar): simplify.
16701 * BufferView2.C: don't include insets/insetinfo.h, change
16702 prototype for insertInset and call the Pimpl version. let
16703 updateInset call Pimpl version.
16705 * BufferView.h: move inset_slept to BufferView::Pimpl, move
16706 gotoInset to BufferView::Pimpl
16708 2001-06-01 Juergen Vigna <jug@sad.it>
16710 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16711 inside a LockingInset (is the update needed at all?).
16713 2001-05-31 Juergen Vigna <jug@sad.it>
16715 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16716 here not the old one otherwise how should we compare it afterwards
16719 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16724 * FontInfo.C: bring C functions into global namespace when
16727 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16729 * LString.h: make sure config.h has been loaded before LString.h.
16731 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16732 (one for each char read by EatLine!).
16734 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16737 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
16739 * paragraph.C (BreakParagraph): set the inset_owner in the new par
16740 to the same as the par we break from
16742 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
16744 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16746 * MenuBackend.C (expand): also create menu entries for wide
16747 versions of the floats.
16749 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16751 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16753 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16754 frontends/Makefile.am
16760 * tabular.C (getTokenValue): add std::
16762 * tabular-old.C (getTokenValue): add std::
16763 (getTokenValue): ditto
16764 (getTokenValue): ditto
16766 * screen.C (ToggleSelection): adjust
16768 * lyxtext.h: put selection cursors inside a Selection struct.
16770 * lyxfunc.C (moveCursorUpdate): adjust
16772 * lyxfont.C (latexWriteStartChanges): add std::
16774 * lyxfind.C: adjust
16776 * font.h: delete with(char const *, LyXFont const &)
16778 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16780 * FontInfo.C (getFontname): add std::
16782 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16783 (workAreaButtonPress): adjust
16784 (tripleClick): adjust
16786 (moveCursorUpdate): adjust
16789 * BufferView2.C (gotoInset): adjust
16791 2001-05-30 Juergen Vigna <jug@sad.it>
16793 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16794 to check pspell I add this as default as I now have new pspell
16795 libraries and they seem to use this.
16797 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
16799 * text2.C (CutSelection): make the cursor valid before the call to
16802 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16804 * kbsequence.C (parse): de-uglify a bit the parsing code, which
16805 relied on 0 terminated strings and other horrors. Bug found due to
16806 the new assert in lyxstring!
16808 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16811 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16813 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16816 * lyxfunc.C (processKeySym): change method of getting to the
16819 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16820 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16821 * BufferView_pimpl.[Ch]: here as private methods.
16823 2001-05-28 Juergen Vigna <jug@sad.it>
16825 * text.C (SetHeightOfRow): added the update() call again as it is
16826 needed to initialize inset dimensions!
16828 2001-05-16 Juergen Vigna <jug@sad.it>
16830 * text2.C (SetCharFont): Add new function with BufferView * and
16831 bool toggleall parameters for setting insets internal fonts.
16832 (SetFont): Freeze the undo as we may change fonts in Insets and
16833 all this change should be inside only one Undo!
16835 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16836 setting font's in insets as for them we have the SetFont function!
16838 2001-05-15 Juergen Vigna <jug@sad.it>
16840 * text2.C (ClearSelection): to be sure we REALLY don't have any
16843 * tabular.C (TeXCellPreamble): fixed the left border problem for
16846 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
16848 * LaTeX.C (deplog): Make sure that the main .tex file is in the
16851 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16853 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16854 LFUN_BREAKPARAGRAPH.
16856 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16857 help test to "internal only", similar for LFUN_INSERT_URL
16859 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16860 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16861 auto_region_delete and deadkeys.
16863 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
16866 * LColor.C: remove some dead entries, tidy a little
16868 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
16870 * lyxfunc.C (processKeySym): comment the Escape handling, remove
16872 (Dispatch): implement LFUN_ESCAPE
16874 * commandtags.h: add LFUN_ESCAPE
16876 * LyXAction.C (init): add entry for LFUN_ESCAPE
16878 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16879 Remove commented code.
16880 (insertNote): moved here
16881 (open_new_inset): moved here
16883 * BufferView[2].[Ch]: move insertNote and open_new_inset to
16886 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16888 * kbmap.C (findbinding): clean it up and make it work correctly.
16890 * lyx_main.C (init): do not pass argc and argv as parameters
16892 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
16894 * buffer.C: fix path for OS/2 & Win32
16898 * lyx_main.C: Added os:: class.
16900 * os2_defines.h: update
16902 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16904 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16905 better by trying again with reduced state.
16907 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16909 * lyxrc.C (read): print error about invalid key sequence only when
16910 debugging (because not all latinX keysyms are known to some X
16913 * kbsequence.C (getiso): add a few std:: qualifiers
16914 (getiso): comment out extra return statement.
16916 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
16918 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16920 (Dispatch): enhance the accent inset a bit. (not perfect)
16922 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
16924 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
16926 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16928 * bufferlist.C (emergencyWrite): fix assert() call
16930 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
16932 * text.C (InsertChar): Added trivial patch to only send the "you
16933 can not do multiple spaces this way" message once during a
16936 2001-05-08 Baruch Even <baruch@lyx.org>
16938 * Makefile.am: Changed order of libraries to get LyX to link properly
16939 with the gnome frontend.
16941 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16943 * LaTeXFeatures.h: add a std:: qualifier
16945 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
16947 * paragraph.C (String): use stringstream
16949 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
16951 * paragraph.C (writeFile): remove footflag arg
16953 * buffer.C (makeLaTeXFile): use stringstream
16954 (latexParagraphs): remove footnot gurba
16956 * LaTeXFeatures.C (getPackages): use stringstream
16957 (getMacros): likewise
16958 (getTClassPreamble): likewise
16959 (getFloatDefinitions): new method
16961 * paragraph.C (writeFile): reindent
16964 * WorkArea.h: revert the xpos + etc changes.
16966 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16968 * lyxparagraph.[Ch]: add copy constructor, remove Clone
16970 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16971 (pasteSelection): likewise
16972 * text2.C (CreateUndo): likewise
16974 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16976 * minibuffer.C (peek_event): temporarily reduce the functionality
16977 of the minibuffer (to allow args on lfuns)
16979 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
16980 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
16982 * buffer.C (readInset): add compability reading of old float
16983 lists, add reading of new style float list.
16984 (readInset): avoid reevaluation of inscmd.getCmdName()
16985 (getLists): reindent
16987 * MenuBackend.C (MenuItem): implement parsing of
16988 md_floatlistinsert and md_floatinsert.
16989 (expand::LastFiles): move initalizaton of iterators out of loop,
16990 avoid reevaluation.
16991 (expand::Documents): introduce typdedef vector<string> Strings,
16993 (expand::ExportFormats): introduce typedef vector<Format const *>
16994 Formats, and use it.
16995 (expand): implement FloatListInsert and FloatInsert.
16997 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
16998 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
16999 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
17001 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
17003 (Dispatch::LFUN_FLOAT_LIST): implement
17005 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
17007 * LaTeX.C (run): Fix problem with --export code.
17009 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
17011 * BufferView.[Ch] (workarea): removed.
17012 (getClipboard) new method; wrapper for workarea()->getClipboard()
17014 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
17017 * WorkArea.h (width, height, xpos, ypos): These methods all
17018 returned the dimensions of the work_area sub-area of WorkArea,
17019 resulting in a position error if the WorkArea were resized. Now
17020 return the dimensions of the entire WorkArea.
17022 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
17024 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17026 * LaTeX.C (deplog): correct the syntax of regex reg1
17028 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
17030 * undo.C: remove !NEW_INSETS cruft
17032 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
17034 * text2.C: remove !NEW_INSETS cruft
17036 * text.C: remove !NEW_INSETS cruft
17038 * tabular.C: remove !NEW_INSETS cruft
17040 * spellchecker.C: remove !NEW_INSETS cruft
17042 * lyxtext.h: remove !NEW_INSETS cruft
17044 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
17046 * lyxfunc.C: remove !NEW_INSETS cruft
17048 * lyxfind.C: remove !NEW_INSETS cruft
17050 * lyx_cb.C: remove !NEW_INSETS cruft
17052 * figureForm.C: remove !NEW_INSETS cruft
17054 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
17056 * buffer.[Ch]: remove !NEW_INSETS cruft
17058 * ToolbarDefaults.C: remove !NEW_INSETS cruft
17060 * CutAndPaste.C: remove !NEW_INSETS cruft
17062 * BufferView_pimpl.C: remove !NEW_INSETS cruft
17064 * BufferView2.C: remove !NEW_INSETS cruft
17066 * BufferView.h: remove !NEW_INSETS cruft
17068 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17070 * Lsstream.h: include LString.h before the sstream headers to
17071 fix problem with gcc 2.95.3 and lyxstring
17073 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17075 * lyx_main.C: add using directives when needed for C functions
17076 declared in std:: namespace.
17078 2001-04-27 Juergen Vigna <jug@sad.it>
17080 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
17081 (SetHeightOfRow): comment out the update call should not be needed!
17083 2001-04-13 Juergen Vigna <jug@sad.it>
17085 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
17086 (LyXTabular): tried to minimize operator= operations (and realized
17087 hopfully Lars wish).
17089 2001-04-27 Juergen Vigna <jug@sad.it>
17091 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
17093 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
17095 * lyxfunc.C (Dispatch): hack to make listof algorithm work
17097 * buffer.C (readInset): hack to make listof algorithm work
17099 * BufferView_pimpl.C: hack to make listof algorithm work
17101 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
17103 * LyXAction.C: removed all !NEW_INSETS cruft
17104 (init): moved lfun_item in method
17106 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
17108 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
17110 * BufferView2.C (theLockingInset): white space.
17112 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
17114 * minibuffer.C: include <iostream>
17116 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
17118 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
17120 * commandtags.h: add LFUN_TRANSPOSE_CHARS
17122 * text.[Ch] (TransposeChars): new method
17124 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
17126 * call message directly through LyXView instead of through LyXFunc
17127 * BufferView2.C: adjust
17128 * BufferView_pimpl.C: adjust
17129 * FontLoader.C: adjust
17131 * bufferview_funcs.C: adjust
17132 * converter.C: adjust
17133 * figureForm.C: adjust
17134 * importer.C: adjust
17136 * lyx_gui_misc.C: adjust
17137 * lyxfunc.C: adjust
17140 + more files in subdirs
17142 * lyxparagraph.h (size): move up int file
17145 * adjust all uses of Assert to lyx::Assert.
17147 * BufferView2.C (ChangeCitationsIfUnique): adjust for
17148 lyxfunctional in namespace lyx
17149 * layout.C (hasLayout): ditto
17152 (delete_layout): ditto
17153 (NumberOfClass): ditto
17154 * converter.C (GetFormat): ditto
17159 * bufferlist.C (getFileNames): ditto
17160 (emergencyWriteAll): ditto
17163 * MenuBackend.C (hasSubmenu): ditto
17166 * BufferView_pimpl.C (getInsetByCode): ditto
17168 2001-04-18 Juergen Vigna <jug@sad.it>
17170 * vspace.C (asLatexString): fixed the 100% problem.
17172 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17174 * lyxfunc.C (Dispatch):
17176 * minibuffer.h: add a few std:: qualifiers
17178 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
17180 * minibuffer.[Ch]: reimplement so that commands is initiated and
17181 run from lyxfunc, simplified som handling, and made the completion
17182 and history code for complete. wip.
17184 * lyxfunc.C (processKeySym): call message
17185 (miniDispatch): new temporary method
17186 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
17187 (LFUN_MESSAGE): implement
17188 (LFUN_MESSAGE_PUSH): implement
17189 (LFUN_MESSAGE_POP): implement
17190 (initMiniBuffer): the initial/defualt minibuffer message.
17192 * lyxfont.[Ch]: inline some more getters
17194 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17196 * lyx_gui_misc.[Ch] (WriteStatus): remove method
17198 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17199 (AutoSave): use LFUN_MESSAGE
17200 (Reconfigure): ditto
17202 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17204 * figureForm.C: use LFUN_MESSAGE
17206 * converter.C (runLaTeX): use LFUN_MESSAGE
17208 * bufferview_funcs.C: use LFUN_MESSAGE
17210 (changeDepth): ditto
17212 * bufferparams.h: use boost::
17214 * bufferlist.h: inherit privately from noncopyable
17216 * bufferlist.C (loadLyXFile): remove some commented code.
17218 * buffer.C (runChktex): use LFUN_MESSAGE
17220 * ShareContainer.h: inherit privately from noncopyable
17222 * ParagraphParameters.[hC] (depth): inline it.
17224 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17226 (message): new method
17227 (messagePush): ditto
17228 (messagePop): ditto
17229 (show): init minibuffer
17230 (showState): direct call
17232 * LaTeX.[Ch]: inherit privately from noncopyable
17233 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17234 instead of WriteStatus.
17236 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17238 * BufferView_pimpl.C (buffer): don't init minibuffer
17239 (workAreaButtonPress): use LFUN_MESSAGE
17240 (workAreaButtonRelease): ditto
17241 (savePosition): ditto
17242 (restorePosition): ditto
17243 (MenuInsertLyXFile): ditto
17244 (workAreaExpose): don't init minibuffer
17245 (update): remove commented code, simplify
17247 * BufferView2.C (openStuff): use LFUN_MESSAGE
17248 (toggleFloat): ditto
17251 (copyEnvironment): ditto
17252 (pasteEnvironment): ditto
17257 (updateInset): remove some commented code
17259 * lastfiles.h: inherit privately from noncopyable
17262 * lyx_main.h: ditto
17264 * lyxlex_pimpl.h: ditto
17266 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17267 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17268 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17270 * LyXAction.h: inherit privately from noncopyable, add methods
17271 func_begin, func_end, returning iterators to the func map.
17273 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17274 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17275 (func_begin): new method
17276 (func_end): new method
17278 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17280 (copySelection): ditto
17281 (pasteSelection): ditto
17283 * BufferView.C: whitespace change
17284 * BufferView.h: inherit privately from noncopyable
17286 2001-04-16 Allan Rae <rae@lyx.org>
17288 * tabular-old.C (l_getline):
17289 * spellchecker.C (sc_check_word):
17290 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17291 an unrecognised preprocessor directive. So ensure they're wrapped.
17293 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
17295 * src/exporter.C (Export): Give an error message when path to file
17298 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
17300 * LaTeX.C (deplog): Always check that foundfile exists.
17302 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17305 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17307 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
17309 * tabular.[Ch] (getLabelList): implement new method
17311 * minibuffer.h: comment ouf setTiimer
17313 * minibuffer.C (ExecutingCB): constify res
17314 (peek_event): constify s
17315 (Set): constify ntext
17316 (Init): constify nicename
17318 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17320 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17321 (savePosition): use two params to Minibuffer::Set
17322 (restorePosition): ditto
17324 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17326 * lyx_main.C: include language.h
17328 * Makefile.am (lyx_main.o): add language.h
17330 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17336 * CutAndPaste.C: include gettext.h
17338 * lyxfont.h: remove old hack with ON and OFF.
17341 * lyxfont.h: do not include language.h...
17346 * bufferview_funcs.C:
17352 * paragraph.C: ... but do it here instead
17354 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
17356 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17358 * tabular.C: small reformat
17360 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17363 (BreakParagraph): ditto
17364 (SetOnlyLayout): ditto
17367 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17370 * lastfiles.C: removed most using decl, add std:: where needed
17372 * buffer.C: ws changes
17374 * MenuBackend.C (class compare_format): put into anon namespace
17375 (expand): constify label, names, action, action2
17378 * text.C (SingleWidth): constify font
17379 (IsBoundary): constify rtl2
17380 (GetVisibleRow): constify ww
17382 * LaTeX.C (deplog): constify logfile
17384 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17386 (workAreaExpose): constify widthChange, heightChange
17388 * lyxrow.C (par): moved
17391 * lyxrow.h: as inlines here
17393 * lyxfont.h (shape): moved from lyxfont.C
17394 (emph): moved from lyxfont.C
17396 * lyxfont.C (LyXFont): use initialization list for all
17398 (shape): move to lyxfont.h as inline
17399 (emph): move to lyxfont.h as inline
17402 2001-04-04 Juergen Vigna <jug@sad.it>
17404 * vspace.C: had to include stdio.h for use of sscanf
17406 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
17409 * BufferView_pimpl.h: remove xforms cruft. Both classes are
17410 independent of xforms.
17412 2001-04-02 Juergen Vigna <jug@sad.it>
17414 * spellchecker.C: fixed namespace placing!
17416 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
17418 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17419 the LyXParagraph * is 0.
17421 2001-03-29 Juergen Vigna <jug@sad.it>
17423 * vspace.C: added support for %, c%, p%, l%.
17424 (stringFromUnit): added helper function.
17425 (asLatexString): changed to give right results for the %-values.
17427 * buffer.C: convert the widthp in a width%.
17429 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
17431 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17434 * figureForm.[Ch]: stripped the FD_from_figure manipulation
17435 code out of lux_cb.[Ch], ready for its (imminent?) removal.
17437 * lyx_cb.[Ch]: see above.
17439 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17443 * lyx.[Ch]: replaced by figure_form.[Ch].
17447 * lyxfunc.C: changed headers associated with above changes.
17449 2001-03-27 Juergen Vigna <jug@sad.it>
17451 * BufferView_pimpl.C: set the temporary cursor right!
17453 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
17455 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17457 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
17459 * LString.h: removed "using std::getline"!
17461 * BufferView_pimpl.C (Dispatch): changes due to changes in
17462 InsetInclude::Params.
17464 * buffer.C (tag_name): removed redundant break statements as they were
17465 producing lots of warnings with my compiler.
17467 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17469 * LString.h: add "using std::getline" when using the real <string>.
17471 2001-03-23 Jos�Ab�io Matos <jamatos@fep.up.pt>
17473 * buffer.C: removed bitset usage.
17474 PAR_TAG moved to an anonymous name space.
17475 (tag_name): new funtion, also in the anonymous namespace.
17476 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17477 (makeDocBookFile): clean code. Completed transition from string arrays
17479 (SimpleDocBookOnePar): code clean.
17481 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17483 * tabular.C: add some comments.
17485 2001-03-22 Juergen Vigna <jug@sad.it>
17487 * buffer.C (parseSingleLyXformat2Token): redone the minipage
17488 compatibility read a bit and fixed bug with minipage in different
17491 2001-03-21 Jos�Ab�io Matos <jamatos@fep.up.pt>
17493 * buffer.C (pop_tag): removed.
17494 (push_tag): removed.
17495 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17496 array replaced with vector. Added support for CDATA sections.
17497 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17499 (makeDocBookFile): XML conformant declaration of CDATA section,
17500 fixed bug related to <emphasis> in the first paragraph char.
17501 (sgmlOpenTag): exclude empty tags.
17502 (sgmlCloseTag): ditto.
17504 * buffer.h (pop_tag): removed.
17505 (push_tag): removed.
17507 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
17509 * language.h (Languages): added size_type and size().
17511 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17513 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17514 response on compability reading of minipages. One probliem is that
17515 the old usage of minipages was flertydig
17517 * several files here and in subdirs: don't use static at file
17518 scope use anon namespaces instead.
17520 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
17522 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17523 LaTeX output. This is necessary for Literate document
17526 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17528 * buffer.C: insert hfill when needed.
17530 * tabular.C (l_getline): use string::erase, small whitespace change.
17532 * BufferView_pimpl.C: try the anon namespace.
17533 * WorkArea.C: ditto
17535 2001-03-16 Juergen Vigna <jug@sad.it>
17537 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17538 otherwise it won't open options-dialogs.
17540 * buffer.C: honor pextraWidth(p) on converting minipages.
17542 * tabular.C (l_getline): changed the functions to strip trailing \r.
17544 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
17546 * BufferView_pimpl.C:
17547 * minibuffer..C: added "using SigC::slot" declaration.
17549 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17551 * lyxlex_pimpl.h: noncopyable is in namespace boost.
17557 * paragraph.C: ditto
17559 * lyxtext.h: NO_PEXTRA
17561 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17563 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17564 * ParameterStruct.h: ditto
17565 * ParagraphParameters.h: ditto
17566 * lyxparagraph.h: ditto
17568 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17570 * buffer.C: add compability for minipage alignment.
17571 (latexParagraphs): remove unwanted pextra check.
17573 * several files: remove CXX_WORKING_NAMESPACES
17575 * buffer.C (pop_tag): tie is in namespace boost
17577 * BufferView.h: noncopyable is in namespace boost
17579 * lyx_main.h: ditto
17582 * lastfiles.h: ditto
17583 * bufferlist.h: ditto
17584 * ShareContainer.h: ditto
17586 * LyXAction.h: ditto
17589 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17591 * Merging changes from BRANCH_MVC back into HEAD.
17593 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17595 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
17597 * BufferView_pimpl.C: change from intl.C
17601 * Makefile.am: move combox.*
17607 * intl.C: remove dialog (covered by prefs)
17609 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17611 * lyxfunc.C (Dispatch): removed redundant break statement.
17613 2001-03-14 Juergen Vigna <jug@sad.it>
17615 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17617 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17619 * buffer.C: add hack to fix compability reading of minipages.
17621 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
17623 * buffer.C (getLists): Cleanup.
17625 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17627 * lyxfont.C (update): don't honor toggleall on font size.
17629 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
17633 * Makefile.am: moved to frontends/xforms/
17637 * BufferView_pimpl.C: changes for moved mathpanel
17639 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17641 * gettext.h: fix gettext_init() in --disable-nls
17643 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17645 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17647 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
17650 * lyx.h: strip external form
17652 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17654 * BufferView_pimpl.C: add comment, destroySplash()
17656 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17658 * BufferView_pimpl.C:
17662 * lyxfunc.C: use re-worked insetinclude
17664 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17666 * buffer.C: add using std::stringstream.
17668 * lyx_cb.C: readd using std::ios.
17670 * buffer.C: add using std::map.
17672 * BufferView_pimpl.C: add using std::vector.
17674 * ShareContainer.h: add std:: to swap.
17676 * buffer.h: add some typedefs
17677 * buffer.C (getLists): use them
17678 (getLists): renamed from getTocList.
17679 add a counter for the different float types and use it in the
17681 (getLists): use the same counter for the NEW_INSETS and the "non"
17684 * lyx_cb.h: remove unused items, includes, using etc.
17686 * ShareContainer.h: remove some commented code, add more comments
17687 and "documentation".
17689 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17691 * buffer.C (getTocList): make the list also when NEW_INSETS is
17694 * buffer.h: remove TocType
17696 * buffer.C (getTocList): change to return a map<string,
17697 vector<TocItem> >, implement for dynamic number of list.
17699 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17700 * text2.C (PasteSelection): adjust
17701 * CutAndPaste.C (pasteSelection): adjust
17703 * FloatList.C (FloatList): update from the new_insets branch.
17704 * Floating.[Ch]: ditto
17705 * LaTeXFeatures.C: ditto
17707 * lyxlex_pimpl.C: ditto
17709 * paragraph.C (Last): remove when NEW_INSETS is defined.
17711 * other file: changes because of the above.
17713 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17715 * lyxparagraph.h: rename next to next_, previous to previous_,
17716 make them private for NEW_INSETS. Rename Next() to next(),
17717 Previous() to previous().
17719 * other files: changes because of the above.
17721 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
17724 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17727 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17729 * main.C (main): pass lyx_localedir to gettext_init().
17731 * gettext.h: remove locale_init and gettext_init macros
17733 * gettext.C (locale_init): new function
17734 (gettext_init): new function
17736 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17739 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
17741 * Moved credits to frontends:
17742 * credits.[Ch]: removed
17743 * credits_form.[Ch]: removed
17744 * lyx_gui_misc.C: remove credits stuff
17747 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17749 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17751 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17752 unneeded destructor.
17754 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17755 a standalone pointer again.
17757 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17759 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
17765 * ToolbarDefaults.C:
17774 * BufferView_pimpl.C: use new file dialog in GUII
17777 * lyx_cb.C: remove LayoutsCB to Toolbar
17779 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17781 * ShareContainer.h (get): add std:: qualifier
17783 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17785 * ShareContainer.h: define a proper ShareContainer::value_type
17786 type (and use typename to please compaq cxx)
17788 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17790 * lyxparagraph.h: move serveral local vars to
17791 ParameterStruct/ParagraphParameters., use ShareContainer in
17792 FontTable., make vars in FontTable private and add getter and
17795 * paragraph.C: changes because of the above.
17797 * lyxfont.h: remove copy constructor and copy assignment. (the
17798 default ones is ok), move number inside FontBits. move inlines to
17801 * lyxfont.C: add number to initializaton of statics, move several
17802 inlines here. constify several local vars. some whitespace
17803 cleanup. Dont hide outerscope variables.
17805 * Spacing.h: add two new constructors to match the set methods.
17807 * ShareContainer.h: new file, will perhaps be moved to support
17809 * ParameterStruct.h: new file
17811 * ParagraphParameters.h: new file
17813 * ParagraphParameters.C: new file
17815 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17816 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17818 * BufferView_pimpl.C: ParagraphParameter changes.
17819 * buffer.C: Likewise.
17820 * bufferview_funcs.C: Likewise.
17821 * text.C: Likewise.
17822 * text2.C: Likewise.
17824 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17826 * lyxfind.C (LyXReplace): do not redefine default argument in
17828 (IsStringInText): ditto
17829 (SearchForward): ditto
17830 (SearchBackward): ditto
17832 2001-03-06 Juergen Vigna <jug@sad.it>
17834 * lyxfind.C (IsStringInText): put parentes around expressions.
17836 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
17838 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17840 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
17842 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17844 * stl_string_fwd.h: add comment
17846 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17849 * tabular.C: remove unused DocBook methods
17855 killed DO_USE_DEFAULT_LANGUAGE
17857 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17859 * lyx_gui.C: do not include language.h.
17861 * bufferview_funcs.C (ToggleAndShow): do not provide optional
17862 arguments in function implementation.
17864 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17866 * BufferView_pimpl.C: add <ctime>
17868 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17870 * BufferView_pimpl.C: add using std::find_if
17872 2001-02-27 José Matos <jamatos@fep.up.pt>
17874 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17877 2001-02-11 José Matos <jamatos@fep.up.pt>
17879 * buffer.C (makeDocBookFile): command styles now have a parameter as
17880 "title" by default.
17882 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
17884 * layout_forms.[Ch]: removed
17885 * lyx_cb.[Ch]: out character
17886 * lyx_gui.C: out character
17887 * lyx_gui_misc.C: out character
17888 * bufferview_funcs.C: : out character,
17889 added toggleall as parameter in ToggleAndShow
17891 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
17893 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17895 * text2.C (SetCurrentFont): Disable number property at boundary.
17897 2001-02-26 Juergen Vigna <jug@sad.it>
17899 * lyxfunc.C (getStatus): added a string argument override function so
17900 that this is correctly called from LyXFunc::Dispatch if it contains a
17901 do_not_use_argument which is used!
17902 (Dispatch): added check for "custom" export and call appropriate func.
17904 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
17906 * lyxrc.C: Add language_command_local, language_use_babel and
17907 language_global_options.
17909 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
17911 * buffer.C (makeLaTeXFile): Use language_use_babel and
17912 language_global_options.
17914 2001-02-23 Juergen Vigna <jug@sad.it>
17916 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17917 which works with LyXText and putted it inside BufferView. Here now we
17918 only call for that part the BufferView::Dispatch() function.
17920 * BufferView.C (Dispatch): added.
17922 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17923 functions which needs to use a LyXText over from LyXFunc.
17924 (MenuInsertLyXFile): added
17925 (getInsetByCode): added
17926 (moveCursorUpdate): added
17927 (static TEXT): added
17929 2001-02-22 Juergen Vigna <jug@sad.it>
17931 * BufferView_pimpl.C (update): call a status update to see if LyXText
17934 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17936 * vc-backend.C (revert): implement for CVS
17937 (getLog): implement for CVS
17939 2001-02-20 Juergen Vigna <jug@sad.it>
17941 * text2.C (ClearSelection): added BufferView param for inset_owner call
17943 * lyxfunc.C (TEXT): added this function and use it instead of
17944 directly owner->view()-text of getLyXText().
17946 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
17948 * src/layout_forms.C: out preamble
17949 * src/layout_forms.h: out preamble
17950 * src/lyx_cb.C: out preamble
17951 * src/lyx_cb.h: out preamble
17952 * src/lyx_gui.C: out preamble
17953 * src/lyx_gui_misc.C: out preamble
17954 * src/lyxfunc.C: connect with guii preamble
17956 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
17958 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17960 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
17962 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17963 whether to run bibtex.
17965 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
17967 * Makefile.am (lyx_SOURCES): Remove BackStack.h
17969 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
17971 * Makefile.am (lyx_SOURCES): removed bibforms.h
17973 * vspace.h: doxygen
17975 * text.C (GetVisibleRow): make several local vars const
17977 * tabular.C: small cleanup.
17979 * lyxserver.C (callback): use compare instead of strncmp
17981 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
17982 inlines to after class or to paragraph.C
17984 * lyxfont.h: remove friend operator!=
17986 * converter.h: move friend bool operator< to non friend and after
17989 * combox.h: small cleanup
17991 * buffer.h: doxygen, remove unused constructor, move inclas inlies
17992 to inlines after class def.
17994 * buffer.C (pop_tag): use string operations instead of strcmp
17996 * bmtable.c: doxygen, small cleanup
17998 * LaTeX.h: remove friend operator==
18000 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
18012 * BufferView_pimpl.C:
18013 * BufferView.[Ch]: remove cruft
18015 2001-02-14 Juergen Vigna <jug@sad.it>
18017 * lyxfunc.C: removed #if 0 unused code
18019 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
18021 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
18023 * text2.C (SetSelection): added a BufferView * parameter
18025 2001-02-13 Juergen Vigna <jug@sad.it>
18027 * lyxfunc.C (Dispatch): fixed protected blank problem.
18028 * BufferView2.C (protectedBlank): added LyxText * parameter.
18030 * tabular.C (AppendRow): forgot to set row_info of newly added row.
18031 (AppendColumn): same as above for column_info.
18033 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
18034 (moveCursorUpdate): use a LyXText param for support of InsetText.
18036 * BufferView_pimpl.C (doubleClick): added support for InsetText.
18037 (tripleClick): ditto
18039 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
18041 * BufferView_pimpl.C (update): added LyXText param to honor insets.
18043 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
18045 * text2.C (SetSelection): set correct update status if inset_owner
18046 (ToggleFree): ditto
18048 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
18050 * tabular.C: remove some commented code.
18052 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
18054 * BufferView_pimpl.C: call hideSplash()
18056 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
18059 * bibforms.h: remove
18062 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
18063 add LFUN_CHILD_CREATE
18065 * counters.h: fix tiny typo
18070 * lyx.C: move splash to frontends/xforms/
18072 * lyx_gui_misc.C: move Include and Bibform to frontends
18074 * lyxvc.h: clarify comment
18076 * vspace.C: tiny housekeeping
18078 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
18080 * text.C (PrepareToPrint): RTL Fix.
18082 * paragraph.C (GetUChar): New method.
18083 (String): Use GetUChar.
18085 * buffer.C (asciiParagraph): Use GetUChar.
18087 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
18089 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
18091 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
18094 * buffer.C: rename to getLogName(), handle
18095 build log / latex log nicely
18097 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18100 * MenuBackend.h: remove support for reference menuitem type.
18102 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
18104 * BufferView_pimpl.C: housekeeping
18105 * BufferView_pimpl.h:
18110 * minibuffer.h: move Timeout GUI-I
18112 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
18114 * lyxrc.C (read): Update converters data-structures.
18116 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
18118 * LaTeX.h (operator!=): add operator != for Aux_Info
18120 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
18122 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
18124 * LaTeXLog.C: deleted, useful code moved to Buffer
18127 * buffer.C: new function getLatexLogName()
18133 * lyxfunc.C: use frontends for LaTeX and VC logs
18135 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18137 * LaTeX.h: yet another std:: that Allan forgot.
18139 * Variables.C (set): renamed from isset(), because this clashes
18140 with some HP-UX macros (grr).
18142 2001-02-06 Allan Rae <rae@lyx.org>
18144 * LaTeX.h: Another bug fix. Missing std:: this time.
18146 2001-02-04 Allan Rae <rae@lyx.org>
18148 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
18149 floats problem. I've left it commented out because it's not quite
18150 correct. It should also test that the current object is a table or
18151 figure inset. But I haven't gotten around to figuring out how to do
18152 that. I *think* it'll be something like: "table" == inset.type()
18154 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
18157 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
18159 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
18160 all the citation/databases/styles in the auxilary file.
18161 (run): Rerun latex if there was a babel language error.
18163 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
18165 * text.C (Backspace): Preserve the font when changing newline char
18167 (BreakParagraph): If the cursor is before a space, delete the space.
18169 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
18171 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
18173 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
18174 new argument (code).
18175 (ChangeCitationsIfUnique): New method.
18177 * paragraph.C (GetPositionOfInset): Handle bibkey.
18179 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18181 * BufferView_pimpl.h: change type of Position::par_pos to
18182 LyXParagraph::size_type.
18184 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
18186 * BufferView_pimpl.C (savePosition, restorePosition): Write
18187 messages to minibuffer.
18189 2001-01-28 José Matos <jamatos@fep.up.pt>
18191 * buffer.C (makeDocBookFile): adds support for document language.
18192 A silly restriction on the name of LatexCommand types where removed.
18193 Added support for CDATA sections, allows to chars unescaped, used
18194 among others in code, to avoid escape < and >.
18196 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
18198 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18199 saved positions instrad of a stack. Furthermore, a position is
18200 stored using paragraph id/paragraph position.
18202 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18203 Remove LFUN_REF_BACK.
18205 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
18207 * converter.C (dvipdfm_options): New method.
18209 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
18211 * vspace.C (isValidLength): Fix for empty input string.
18213 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18215 * LyXAction.C (init): change description of LFUN_FIGURE to
18218 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18220 * LaTeX.C: add using directive
18222 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
18224 * MenuBackend.C (expand): Fix the sorting of the formats.
18226 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
18228 * lyx_main.C: tiny error message fix
18230 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18232 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18233 calling fl_initialize(). This fixes the problem with ',' as
18234 decimal separator in text files.
18236 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
18238 * trans.C (process): Fix the keymap bug.
18240 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
18242 * LaTeX.C (scanAuxFiles): New method. Provides support for
18243 multiple bibliographies (when using the bibtopic/bibunits pacakges).
18244 (scanLogFile) Scan for "run BibTeX" messages.
18246 * buffer.C (makeLaTeXFile): Do not load the ae package when using
18247 OT1 font encoding. Also, load the aecompl package if the ae
18250 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18252 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18254 * texrow.C (increasePos): turn two error messages into debug
18257 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
18259 * LaTeX.C (scanAux): Handle the \@input macro.
18260 (runBibTeX): Use scanAux().
18262 * language.C (latex_options_): New field.
18264 * LaTeXFeatures.C (getMacros): Add language macros.
18266 * buffer.C (makeLaTeXFile): Small fix.
18268 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18270 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18272 * text2.C: add a using directive.
18274 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
18279 * lyxfunc.C: kill LyXBell.
18281 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
18283 * text.C (IsBoundary): Remove the error message
18285 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18287 * lyxrc.C (setDefaults): Correct initialization value for
18290 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
18292 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18295 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18296 and GotoNextNote().
18298 * src/LyXAction.C: Added reference-next.
18300 * text.C (InsertChar): Use contains instead of strchr.
18302 * lyx_cb.C (MenuInsertLabel): Enable default value code.
18304 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
18306 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18307 alignment commands (when needed).
18309 * text.C (InsertChar): Add ':' to number separator chars.