1 2005-10-03 Martin Vermeer <martin.vermeer@hut.fi>
3 * text.C (cursorX): two fixes involving RtL text drawing
5 2005-10-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7 * text3.C (dispatch): when invoking LFUN_MATH_MACRO with no type
8 argument, use "newcommand".
10 2005-09-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
12 * cursor.C (setSelection): do not open collapsable insets;
13 the insets do by themselves now (autoopen).
15 2005-09-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
17 * buffer.C: format is up to 244.
19 2005-09-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
21 * text.C (redoParagraph): fix calcultation of inset width wrt
22 leftMargin (bug 1957).
24 * text3.C (dispatch): leave inset to the right when hitting ESC
27 2005-09-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
32 * messages.C: include <boost/current_function.hpp>
34 2005-09-12 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
36 * lyxfunc.C (sendDispatchMessage): do not update menubar/toolbar
37 when command is internal. (bug 1941)
39 2005-09-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
41 * text2.C (cursorRight): do not honor boundary when at the end of
42 a paragraph. (bug 2010 again)
44 2005-09-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
46 * cursor.C (paste): do nothing if `data' is empty. (bug 2033)
48 2005-09-19 Martin Vermeer <martin.vermeer@hut.fi>
50 * rowpainter.C (paintText): fix RtL space width display bug (2029)
52 2005-09-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
54 * text2.C (setCursor): remove the unused 'boundary' parameter for
55 the CursorSlice version; adapt the LCursor version.
58 * paragraph_pimpl.C (markErased):
59 * cursor.C (bruteFind2, bruteFond3): fix warnings.
61 2005-09-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
63 * rowpainter.C (paintFirst): use a 'labeladdon' for TOP_* labels,
64 as is already done for "chapter".
66 2005-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
68 * lyxfunc.C (dispatch): LFUN_TEXTCLASS_APPLY: actually set the
69 textclass; do not record undo if nothing is changed.
71 2005-09-16 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
73 * text3.C (dispatch): recordUndo in LFUN_PASTESELECTION (#2011).
75 2005-09-14 Michael Gerz <michael.gerz@teststep.org>
77 * lyxfunc.C: update display after LFUN_ALL_INSETS_TOGGLE
79 2005-09-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
81 * BufferView_pimpl.C (setBuffer): when one wants to set the layout
82 combox, it is necessary to search for the topmost paragraph in the
83 cursor stack (bug 1926)
85 2005-09-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
87 * text2.C (cursorEnd, cursorRight): do not set boundary to true at
88 end of paragraph. (bug 2010)
90 2005-09-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
92 * text.C (leftMargin): check for inInset == 0
94 2005-09-10 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
96 * text.C (leftMargin): test for insetbase's new neverIndent()
97 bool instead of listing each and every inset that does not
100 2005-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
102 * buffer_funcs.C (setCounter): put the code to compute enum label
103 here (where it belongs).
105 * counters.C (enumLabel): move code to buffer_funcs.C.
107 2005-09-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
109 * outputparams.[Ch]: store local_font instead of local_language
110 * paragraph.C (simpleTeXOnePar): adapt to the change above
112 2005-09-08 Martin Vermeer <martin.vermeer@hut.fi>
115 * counters.[Ch]: clean up special code for Hebrew.
117 2005-09-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
119 * lyxfunc.C (lookupChange): fix code when cursor depth is greater
122 2005-09-08 Angus Leeming <leeming@lyx.org>
125 * lyxrc.C: correct grammar describing invocation of the
128 2005-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
130 * text.C (read): remove unused variable.
131 (readParToken): remove static Change variable (never good in
132 recursive settings...); add it as a parameter instead.
134 * paragraph_pimpl.C (acceptChange): make debug info conditional.
136 * metricsinfo.C (PainterInfo): add new member erased_.
138 * rowpainter.C (RowPainter): add erased_ member, initialized from
140 (paintInset): pass erased_ to Inset::draw.
142 * lyxfunc.C (lookupChange): new function. Tells whether change
143 tracking is disabled at a given postion.
144 (getStatus): disable some actions when in deleted text with change
147 2005-08-03 John Levon <levon@movementarian.org>
149 * tabular.C (appendColumn, setMultiColumn): adapt to change to
152 * paragraph_pimpl.C (markErased): add bool argument and handle it.
153 Also make sure to mark insets recursively.
154 (rejectChange, erase): be recursive
156 * paragraph.C (markErased): add bool argument.
157 2005-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
159 * lyxfind.C (findNextChange): tiny cleanup.
161 * BufferView_pimpl.C (trackChanges): avoid crash when stopping
162 change tracking with the cursor in an inset; make sure the first
163 change is not skipped.
165 2005-09-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
167 * CutAndPaste.[Ch]: new methods dirtyTabularStack and
168 tabularStackDirty to work around bug 1919 (tabular needs
169 to know whether its own cell paste buffer or the one of
171 * CutAndPaste.C: mark tabular_stack_ clean after copy.
173 2005-08-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
175 * text2.C (cursorEnd): check for empty text (fixes bug 1998)
177 2005-08-19 Lars Gullik Bjønnes <larsbj@gullik.net>
179 * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
180 use old deleteion algorithm when changetracking is on.
182 2005-08-18 Martin Vermeer <martin.vermeer@hut.fi>
184 * messages.C (get): add debug output.
186 2005-08-02 Martin Vermeer <martin.vermeer@hut.fi>
188 * text.C (cursorX): fix bug 1965: cursor movement at
189 line end broken in RtL.
190 (drawSelection): fix bug 1970: drawing of single-line
191 selection broken for RtL.
193 2005-07-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
197 * dociterator.h (clear, push_back, pop_back): change from
200 * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
201 and changed to just return the value of the item depth; take a
202 ParIterator as argument; take the itemdepth at outer nesting level
203 in account if necessary; cleanup and comment the code.
204 (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
205 and changed to just return true if reset is needed; take a
206 ParIterator as argument; cleanup and comment the code.
207 (setCounter): adapt to above changes.
209 2005-07-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
211 * text3.C (dispatch): make debug message optional
213 2005-08-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
215 * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
218 2005-08-02 Martin Vermeer <martin.vermeer@hut.fi>
220 * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
222 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
224 * text.C (insertChar):
225 * text2.C (deleteEmptyParagraphMechanism): take care whether
226 a blank has been deleted (in change tracking mode) (bug 1254).
228 2005-07-20 John Levon <levon@movementarian.org>
230 * text2.C (insertStringAsLines): remove old dubious code,
233 2005-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
235 * MenuBackend.C (expandToc): use Floating::listName() as title of
238 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
240 * toc.[Ch]: Do not use translatable strings (bug 1870).
242 2005-07-20 John Levon <levon@movementarian.org>
244 * tabular.C: fix 1748 - setting multicolumn adds
245 left line to the first cell
247 2005-07-19 Lars Gullik Bjønnes <larsbj@lyx.org>
250 * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
253 2005-07-18 Lars Gullik Bjønnes <larsbj@lyx.org>
255 * messages.C: supress some lyxerr messages
257 2005-07-18 Juergen Vigna <jug@lyx.org>
259 * text.C (drawSelection): honor boundary when asking for cursorX.
261 2005-07-17 José Matos <jamatos@fc.up.pt>
263 * tabular.C (recalculateMulticolumns): fix handling of one column
266 2005-07-17 Juergen Vigna <jug@lyx.org>
268 * text.C (Delete, backspace): fixed so that paragraph with the
269 same layout can be merged by Delete/Backspace.
271 2005-07-17 Michael Schmitt <michael.schmitt@teststep.org>
273 * text.C (readParToken): fix spelling.
275 2005-07-17 Martin Vermeer <martin.vermeer@hut.fi>
277 * text2.C: fix counter update for DEPM problem reported by
280 2005-07-17 Juergen Vigna <jug@lyx.org>
282 * BufferView_pimpl.C (setBuffer): save/restore the
283 cursor/selection when switching buffers
286 * buffer.C (saveCursor): add saveDocumentIterators to save the
287 cursor when switching buffer.
289 2005-07-17 Michael Schmitt <michqel.schmitt@teststep.org>
292 * buffer.C: clarify message
294 2005-07-17 Lars Gullik Bjønnes <larsbj@lyx.org>
296 * dociterator.C (DocIterator): fix initialization order
298 2005-07-17 Juergen Vigna <jug@lyx.org>
300 * text2.C (cursorHome):
301 * text.C (drawSelection, cursorX):
302 * dociterator.C (textRow): add boundary to getRow() call
304 * paragraph.C (getRow): implementation of below
306 * paragraph.h: add parameter boundary for getRow() function
308 2005-07-17 José Matos <jamatos@fc.up.pt>
312 * tex-strings.[Ch]: new file format, remove support for a4.sty,
313 a4wide.sty and a4widemargins.
315 2005-07-17 Juergen Vigna <jug@lyx.org>
317 * text2.C (cursorLeft): fix one of error
319 2005-07-17 Juergen Vigna <jug@lyx.org>
321 * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
323 more fixes for boundary handling
325 * text3.C (dispatch): don't reset cursor if boundary has changed
328 2005-07-16 Juergen Vigna <jug@lyx.org>
330 * text2.C (getColumnNearX): hopefully got it right now,
331 check if we are on column 0 for special case.
333 2005-07-16 Juergen Vigna <jug@lyx.org>
335 * text2.C (getColumnNearX): handle special case Newline Inset
337 * text.C (singleWidth): Just remove bogus check
339 2005-07-16 Michael Schmitt <michael.schmitt@teststep.org>
341 * funcrequest.C (split): avoid reading uninitialized char c
343 2005-07-16 José Matos <jamatos@fc.up.pt>
349 * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
350 single papersize variable.
352 2005-07-16 Juergen Vigna <jug@lyx.org>
354 * text3.C (dispatch): honor boundary when checking if a cursor
355 movement has been done
357 * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown)
358 (setCursor, setCursorIntern): fix cursor movement with boundary
360 2005-07-16 Juergen Vigna <jug@lyx.org>
362 * text.C (currentState): output the actual Boundary
364 2005-07-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
366 * factory.C (createInset): fix bad logic for tabular creation
368 2005-07-16 Lars Gullik Bjønnes <larsbj@lyx.org>
370 * lyx_main.C (init): change some reLyX reference to tex2lyx
372 2005-07-16 Juergen Vigna <jug@lyx.org>
374 * dociterator.C (DocIterator): initialize boundary
376 2005-07-16 Juergen Vigna <jug@lyx.org>
378 * text2.C (getColumnNearX): Consider rows without trailing blank.
380 2005-07-16 André Pönitz <poenitz@gmx.net>
382 * lyxfont.h: Change order of declarations to give the compiler
383 a better chance to inline things
385 * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
386 questions on unsaved docs for better scritability
388 2005-07-16 André Pönitz <poenitz@gmx.net>
390 * paragraph.h (getChar): remove asserts as the same kind of security
391 can be achieved by using a suitable standard library implementation
392 and the function was in the critical path (25.9% in profiler)
394 2005-07-16 Juergen Vigna <jug@lyx.org>
396 * cursor.C (bruteFind2):
397 * bufferview_funcs.C (coordOffset):
398 * text.C (cursorX,cursorY): Handle cursor position after last char
399 in row before a inset which uses a whole row.
401 2005-07-15 José Matos <jamatos@lyx.org>
403 * output_plaintext.[Ch] (writeFileAscii): control reference title
405 (asciiParagraph): noparbreak was already deal and was incorrectly
408 2005-07-15 Juergen Vigna <jug@lyx.org>
410 * lyxfunc.C (dispatch): save and restore the cursor after a
413 2005-07-15 Lars Gullik Bjønnes <lgb@tandberg.net>
415 * text.C (backspace): bug 806 for empty keepempty paragraphs we
416 change the layout to default before letting DEPM do its thing.
418 * paragraph_funcs.C (breakParagraph): dont reset the layout on
421 * text.C (setCursorFromCoordinates): add a debug statement
423 * text2.C (getColumnNearX): bug 1825 make sure that we don't
424 return a pos that is not on the row
426 * output_latex.C (TeXDeeper): get rid of potential dereferencing
427 of past the end iterator
429 2005-07-14 André Pönitz <poenitz@gmx.net>
431 * undo.C (recordUndoFullBuffer): implement undo for
434 2005-07-14 André Pönitz <poenitz@gmx.net>
436 * cursor.C (setSelection): open insets when selection is set there
437 to avoid crashs with cold coord cache
439 2005-07-14 André Pönitz <poenitz@gmx.net>
441 * trans_mgr.C (insert): move cursor to the right after inserting
444 2005-07-14 Lars Gullik Bjønnes <larsbj@lyx.org>
446 * BufferView_pimpl.C (update): dampen some of the debug blabbering
447 * factory.C (readInset): ditto
448 * text.C, text2.C: ditto
450 2005-06-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
452 * buffer.C: format incremented to 242. There is no file format per
453 se, but the "frenchb" language has been removed from lib/language
454 and has to be translated to "french" by lyx2lyx.
456 2005-07-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
458 * cursor_slice.h, dociterator.h: add some documentation
459 * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
461 2005-07-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
463 * text.C (leftMargin): do not add identation to display() style
464 insets, because they are always centered (bug 1293).
466 2005-07-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
468 * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
469 formatted_time methods in support/lyxtime.
471 2005-07-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
473 * toc.[Ch]: new method getGuiName, which is used by the frontends
474 to set the toc combo (fixes bug 1870). Make TOC string translatable.
476 2005-07-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
478 * dociterator.[Ch]: implement operator==(StableDocIterator const &,
479 StableDocIterator const &)
480 * undo.C (recordUndo): use the above instead of cell.size() comparison
481 (fixes bug 1808; instructed by Andr�.
483 2005-06-29 Martin Vermeer <martin.vermeer@hut.fi>
486 * dociterator.h: Fix the assert when copying rows/cols in math
488 2005-06-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
490 * BufferView_pimpl.C:
492 * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
494 * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
495 (findInset): new functions, refactored from goto Inset that return
496 the position of a certain inset without setting the buffer's cursor
498 (gotoInset): rewrite to call findInset and then set the cursor
501 2005-06-16 Angus Leeming <leeming@lyx.org>
503 * lyxrc.C (output, read): wrap all input and output of paths with
504 calls to os::internal_path and os::external_path, respectively.
505 (output): wrap bind_file inside quotes.
507 * format.C (view): enable the viewer to use the '$$s' placeholder.
509 2005-06-16 Georg Baum <Georg.Baum@post.rwth-aachen.de>
511 * LColor.[Ch] (getFromLaTeXName): new
513 2005-06-16 Martin Vermeer <martin.vermeer@hut.fi>
515 * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
517 2005-06-14 Angus Leeming <leeming@lyx.org>
519 * lyx_main.C (init): ensure that the LyX binary dir is the first
520 element in the PATH on non-POSIX builds.
522 2005-06-11 Georg Baum <Georg.Baum@post.rwth-aachen.de>
524 * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
526 2005-06-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
528 * rowpainter.C (paintInset, paintHebrewComposeChar)
529 (paintArabicComposeChar, paintChars): add a LyXFont argument.
530 (paintChars): use getFontSpan to reduce calls to getFont to a
531 minimum; use Paragraph::lookupChange instead of isXXXText.
532 (paintForeignMark): rename LyXFont argument.
533 (paintFromPos): pass a LyXFont object to the various paintXXX
536 * FontIterator.C (FontIterator, operator++): use
537 Paragraph::getFontSpan
539 * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
540 version that returns the font span as a pair.
542 2005-06-09 Angus Leeming <leeming@lyx.org>
544 * converter.C (convert): Don't forget "outfile = real_outfile" as
545 the final step in a conversion where the input and output file names
546 are the same. Otherwise, future conversion steps won't work...
548 2005-06-09 Angus Leeming <leeming@lyx.org>
550 * lyxsocket.C: remove stub code as it isn't needed by
551 MinGW/MinSYS anyway. Let's see if the MSVC people scream...
553 2005-06-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
555 * lyx_main.C (parse_execute): Fix last fix: is_gui = false
556 effectively disabled -x
558 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
560 * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
561 when it actually makes sense.
563 2005-06-06 Martin Vermeer <martin.vermeer@hut.fi>
565 * BufferView_pimpl.C: revert to showCursor in connection with
566 Lars's front-end stack
568 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
570 * text.C (redoParagraph): move cursor right after a bibitem
573 * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
575 2005-06-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
577 * buffer_funcs.C (bufferErrors): fix computation of the end of an
580 2005-05-31 Martin Vermeer <martin.vermeer@hut.fi>
582 * BufferView.[Ch] (update):
583 * BufferView_pimpl.[Ch] (update, metrics):
584 * dimension.h (operator==):
585 * lyxfunc.C (dispatch):
586 * metricsinfo.h (ViewMetricsInfo):
587 * rowpainter.C (paintText):
589 * text.C (redoParagraph):
590 * text3.C (dispatch): Make LyX only repaint current paragraph in
591 case of character insert --> speedup. Also fix cursor draw
594 2005-05-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
596 * bufferview_funcs.C (gotoInset): fix the wrap-around code to
597 avoid a crash (bug 1891)
599 2005-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
603 * text2.C (getStringToIndex): constify cur argument.
605 * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
606 argument has been given
607 (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
608 try to invoke LFUN_INSET_APPLY).
610 * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
611 if no inset was created by doInsertInset
612 (doInsertInset): return true if an inset has been inserted.
614 2005-05-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
616 * vspace.C (asGUIName): new method. A version of the space
617 suitable for showing on screen.
619 2005-05-20 Michael Schmitt <michael.schmitt@teststep.org>
622 * lyxrc.C: rename "ASCII" to "Plain Text"
624 2005-05-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
626 * buffer_funcs.C (expandLabel): take a Buffer as argument;
627 translate the labelstring.
628 (setCounter): translate labelstring as needed.
630 * output_docbook.C (makeCommand): fix expandLabel invokation
632 2005-05-14 Michael Schmitt <michael.schmitt@teststep.org>
634 * BufferView.C: fix dialog title
636 2005-05-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
638 * lyx_main.C (priv_exec): fix logic error with help from Angus
639 * lyx_main.C (parse_execute): set is_gui = false and remove now
640 obsolete comment about a segfault
642 2005-05-18 Angus Leeming <leeming@lyx.org>
644 * buffer.C (readFile): Quote all file names passed to lyx2lyx.
646 2005-05-12 Martin Vermeer <martin.vermeer@hut.fi>
648 * tabular.[hC]: added setCellInset to fix tabular paste.
650 2005-05-11 Lars Gullik Bjønnes <larsbj@gullik.net>
652 * buffer.C (save): check if destination is writable before trying
655 2005-05-11 Martin Vermeer <martin.vermeer@hut.fi>
657 * BufferView_pimpl.C (update): fix processEvents -caused update
660 2005-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
662 * buffer_funcs.C (setCounter): fix test for numbering of
665 * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
666 depth correctly; use optional argument when it exists
668 * lyxtextclass.C: remove unused MaxCounterTags enum
669 (Read): compute min_toclevel_ and max_toclevel_ after reading class.
670 (max_toclevel, min_toclevel): new methods.
672 * MenuBackend.C (expandToc2): fix case where depth is smaller than
673 the smallest depth in toc.
675 * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
676 layouts that should not appear in a table of contents.
678 2005-05-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
680 * cursor.h (undispatched, noUpdate): add comments from Andr�
681 2005-05-07 Michael Schmitt <michael.schmitt@teststep.org>
685 * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
687 2005-05-07 André Pönitz <poenitz@gmx.net>
689 * cursor.[Ch] (leaveInset): new function
691 2005-05-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
693 * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
695 2005-05-04 Angus Leeming <leeming@lyx.org>
697 * lyxfunc.C (getStatus): disable the spell checker dialog if
698 none of USE_[AIP]SPELL are defined.
700 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
702 * tabular.C (setWidthOfCell): remove obsolete comment
704 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
706 * paragraph.C (bibitem):
707 * buffer_funcs.C (setCounter):
708 * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
710 2005-05-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
712 * text3.C (getStatus): immediately return after setOnOff
714 * rowpainter.C: fix drawing of appendix start
716 2005-05-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
718 * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
719 SwitchBetweenClasses and remove the unused return value.
720 Handle character styles, too
722 2005-05-03 Martin Vermeer <martin.vermeer@hut.fi>
724 * factory.C (createInset): handle undefined character styles
726 2005-05-02 Angus Leeming <leeming@lyx.org>
728 * buffer.C: protect the #include of utime.h with a preprocessor
731 2005-05-02 Angus Leeming <leeming@lyx.org>
733 * lyx_cb.C: artificially define fork() on Windows as a no-op failing
734 function so that auto-saving works, albeit in a blocking manner.
736 * Makefile.am: make compilation of the client sub directory, of
737 aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
738 on conditionals set at configure time.
740 * SpellBase.[Ch]: no longer an abstract base class. Instead,
741 it can be compiled in its own right but has no-op functionality.
743 * aspell.C, pspell.C: remove preprocessor guards. The files should
744 be compiled only if the necessary functionality exists.
746 * lyxserver.C, lyxsocket.C: disable on Windows.
748 2005-05-01 Martin Vermeer <martin.vermeer@hut.fi>
750 * text.C (leftMargin): Fix the parindent use bug (1764)
753 2005-04-28 Michael Schmitt <michael.schmitt@teststep.org>
755 * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
758 2005-04-25 Angus Leeming <leeming@lyx.org>
766 include <config.h> in .C files, not .h ones.
768 protect headers inside preprocessor guards.
770 2005-04-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
772 * FuncStatus.h (StatusCodes): document
774 2005-04-21 André Pönitz <poenitz@gmx.net>
776 * FuncStatus.h (enabled, onoff): document
778 2005-04-19 Angus Leeming <leeming@lyx.org>
780 * BufferView_pimpl.C (cursorToggle): no longer test whether
781 any child processes have been reaped before calling
782 handleCompletedProcesses().
784 2005-04-19 Martin Vermeer <martin.vermeer@hut.fi>
786 * text3.C (dispatch): fix, finally fix, the language problem in
787 new lyxtexts, without disabling on-the-fly font changes (Helge's
790 2005-04-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
792 * text3.C (dispatch): set cursor on double/triple click events
795 2005-04-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
797 * lyxfunc.C (actOnUpdatedPrefs): avoid warning
798 (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
800 * rowpainter.C (paintFirst): simplify the code a little bit. In
801 particular, remove the test for secnumdepth.
802 * text.C (setHeightOfRow): only allocate space for chapter number
803 when updateCounters provided an actual label, instead of looking
804 at secnumdepth directly.
806 * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
808 * buffer_funcs.C (setCounter): only number LABEL_COUNTER
809 paragraphs when secnumdepth is large enough or, for environments,
810 when they are not the first in a sequence.
812 2005-04-17 Angus Leeming <leeming@lyx.org>
814 * buffer.C (makeLaTeXFile): replace code to manipulate a path
815 containing space and '~' characters with a call to latex_path().
817 2005-04-17 Angus Leeming <leeming@lyx.org>
819 * converter.C (convert): protect all args of convertDefault.sh
822 2005-04-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
824 * text3.C (dispatch): change the layout to "Caption" after inserting
827 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
829 * text3.C (dispatch): fix language problem in newly created
830 textinsets (and main text) in non-english docs
832 2005-04-13 Georg Baum <Georg.Baum@post.rwth-aachen.de>
834 * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
835 * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
836 * text3.C (getStatus): disable LFUN_INSET_MODIFY
838 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
843 * rowpainter.C (getFont): Fix metrics bug introduced by inset
846 2005-04-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
848 * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
849 output of \item arguments without trailing text.
851 2005-04-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
853 * FontIterator.C (operator*): avoid a copy of the font.
855 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
857 * rowpainter.C (getFont): fix language bug from previous fix
859 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
861 * rowpainter.C (RowPainter, getFont): fix font inside inset
864 2005-04-06 Martin Vermeer <martin.vermeer@hut.fi>
866 * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
867 preventing inserted font, deco, delim insets jumping to start of
870 2005-03-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
872 * lyxfunc.C (dispatch): translate message before sending it to the
875 2005-03-29 Angus Leeming <leeming@lyx.org>
877 * lyx_main.C (priv_exec): call os::internal_path on each file passed
878 to LyX on the command line.
880 2005-03-25 Stephan Witt <stephan.witt@beusen.de>
882 * vc-backend.C: use QuoteName to protect file names wherever
885 2005-03-27 Martin Vermeer <martin.vermeer@hut.fi>
888 * BranchList.h: fix bugs 1844,1845: document settings don't
891 2005-03-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
893 * lyxrc.C (setDefaults, read, output, getDescription): add support
894 for tex_allows_spaces.
896 * exporter.C (Export): allows files in directory containing spaces
897 if tex_allows_spaces is true.
899 * buffer.C (makeLaTeXFile): if the document path contains spaces,
900 output it in double quotes.
902 2005-03-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
904 * rowpainter.C: use default text height for drawing change tracker
907 2005-03-21 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
909 * lyx_main.C: fix binding of tabulator key (especially S-Tab).
911 2005-03-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
913 * lyx_main.C (queryUserLyXDir): fix logic when LyX support
914 directory is missing.
916 2005-03-11 Martin Vermeer <martin.vermeer@hut.fi>
918 * text2.C: fixed the fix, extended to other case.
920 2005-03-08 Martin Vermeer <martin.vermeer@hut.fi>
922 * text2.C: fix for cursor up/down stuck in math [bug 1792]
924 2005-03-07 Alfredo Braunstein <abraunst@lyx.org>
926 * text2.C (cursorUp): get rid of a crash
927 * text.C (x2pos): add an assert
929 2005-03-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
931 * lyxfunc.C (getStatus): fix warning when assertions are disabled
935 * dociterator.C: include <boost/current_function.hpp>, which is
936 needed when assertions are disabled.
938 2005-03-05 Johnathan Burchill <jkerrb@users.sourceforge.net>
940 * text2.C: fix for stuck cursor when traversing two
941 consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
943 2005-02-25 Andreas Vox <avox@arcor.de>
945 * output_docbook.C (makeParagraph): suppress trailing newline
946 after a run of paragraphs
948 2005-02-28 Johnathan Burchill <jkerrb@users.sourceforge.net>
950 * paragraph.C: fix for confused change tracker when pasting
951 text that begins with a lineseparator. [bug 1827]
952 (setChange(0, Change::INSERTED);)
954 * paragraph_funcs.C: fix for lost changes on triple-paste
955 in change tracking mode [bug 1827] (par.setChange()).
957 2005-02-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
959 * text2.C (updateCounters, setCounter, expandLabel): move to
962 * buffer_funcs.C (updateCounters): turn into a free standing
963 function and add a buffer parameter. Remove dead code for tracking
965 (setCounter): change into a free-standing function which gets a
966 dociterator as argument. Use this iterator to fix captions in a
967 simple way. When no float is found above the caption, use the
968 labelstring of the caption layout as default.
970 * text.C (breakParagraph, backspace):
971 * text2.C (init, setLayout, changeDepth):
972 * text3.C (dispatch):
973 * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
976 * dociterator.C (forwardPar): make it much faster by calling
977 forwardPos() only when really necessary.
979 * output_docbook.C (makeCommand): adapt to expandLabel move.
981 * cursor.C: remove unused variable
983 2005-02-24 Johnathan Burchill <jkerrb@users.sourceforge.net>
985 * paragraph_funcs.C: fix crash when pasting insets in change
986 tracking mode [bug 1277] (honour change type in moveItem).
988 2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
990 * LaTeX.C (scanLogFile): recognize pdfTeX warnings
992 2005-02-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
994 * BufferView.C (setCursor): change to use a DocIterator.
995 (gotoLabel): use BufferView::setCursor (other part of bug 781).
996 (putSelectionAt): adapt to BufferView::setCursor change.
998 * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
999 moved here from LyXText and rewritten to use proper cursor
1000 methods. Fixes bug 1787, 616 and 835.
1002 * BufferView_pimpl.C (restorePosition): set the cursor correctly
1003 when inside an inset (part of bug 781).
1004 (dispatch): adapt to change of BufferView::setCursor.
1005 (getStatus, dispatch): handle LFUN_GOTOERROR,
1006 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1008 * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
1009 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1010 * text3.C (gotoNextInset, gotoInset): removed.
1012 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1014 * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
1016 2005-02-15 Angus Leeming <leeming@lyx.org>
1018 * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
1019 can be used meaningfully in a comparison.
1021 2005-02-13 André Pönitz <poenitz@gmx.net>
1023 * bufferview_funcs.C (coordOffset): improve cursor drawing
1025 2005-02-13 André Pönitz <poenitz@gmx.net>
1027 * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
1028 * Cursor.C (dispatch): use fixIfBroken
1029 * lyxfunc.C (getStatus): use fixIfBroken
1031 2005-02-15 Angus Leeming <leeming@lyx.org>
1033 * lyx_main.C (error_handler):
1035 * lyxrc.C (setDefaults):
1037 #include "environment.h".
1039 * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
1041 2005-02-15 Angus Leeming <leeming@lyx.org>
1043 * lyxserver.C (startPipe): squash MSVC warning "local variable
1044 'fd' used without having been initialized".
1046 2005-02-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1048 * BufferView_pimpl.C: revert accidental commit.
1050 2005-02-14 André Pönitz <poenitz@gmx.net>
1052 * dociterator.[Ch]: new member forwardPosNoDescent(),
1053 which doesn't enter nested insets.
1054 * text2.C (setFont): use forwardPosNoDescent() instead
1055 of ForwardPos() (fixes crash on font change).
1057 2005-02-13 Angus Leeming <leeming@lyx.org>
1059 * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
1060 only if lyxrc.path_prefix is not empty.
1062 2005-02-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1064 * bufferparams.C (readGraphicsDriver): prevent crash
1066 2005-02-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1068 * text2.C (setCounter): check for inInset() == 0
1070 2005-02-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1072 * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
1073 but use update() to get correct screen display; use convert
1074 instead of istringstream.
1075 (getStatus): handle LFUN_GOTO_PARAGRAPH
1077 * lyxfunc.C (dispatch, getStatus): do not handle
1078 LFUN_GOTO_PARAGRAPH here.
1080 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1082 * text3.C (dispatch): size() -> depth()
1084 * text2.C: remove some debug output
1086 * paragraph.C: ws changes only
1088 * lyxfunc.C (getStatus): size() -> depth()
1090 * dociterator.h (clear, push_back, pop_back, internalData,
1091 operator[], resize, empty): new functions
1092 Make StableDocIterator and operator== be friends. Don't inherit
1093 from std::vector use a privat class variable slices_ instead.
1096 * dociterator.C: update because of not inheriting from std::vector
1097 anymore. Call explictly to slices_ instead. Use depth() instead of
1098 size() and top() instead of back()
1100 * cursor.C: chagne size() -> depth and back() -> top(). Also
1101 remove some direct operator[](i) calls in favour of foo[i]
1102 (getFont): remove some dead code
1104 * bufferview_funcs.C (coordOffset): size() -> depth()
1106 * buffer.C: ws changes only
1108 * CutAndPaste.C (eraseSelection): back() -> top()
1110 * BufferView_pimpl.C (selectionRequested): back() -> top()
1112 * BufferView.C (setCursor): size() -> depth()
1114 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1116 * text3.C (cursorPrevious): return true if depm changed something
1118 (dispatch): rename sl to oldTopSlice, remove moving use the new
1119 NoUpdate func attrib instead. Make sure that needsUpdate is set
1120 for function that have NoUpdate, but where depm might have changed
1123 * text2.C (cursorLeft): make us return true if depm changed
1125 (cursorRight): ditto
1126 (cursorUpParagraph): ditto
1127 (curosrDownParagraph): ditto
1128 (cursorUp, cursorDown): ditto, make sure to read comments in code
1129 (deleteEmptyParagraphMechanism): remove an assert, also return
1130 true if just a single char was deleted.
1132 * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
1133 cursor that we modify, to avoid modifying an active cursor before
1134 we call setCursor. This allows depm to run. Also return true if
1135 depm deleted something.
1137 * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
1138 cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
1139 cursorDownParagraph, cursorPrevious and cursorNext, return true if
1140 something was changed in the buffer because of them (ie. depm run)
1142 * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
1143 debug messages. Make update by default be false. Make sure that
1144 the result of update is retained throught several calls down to
1147 * LyXAction.h: add a new func_attrib: NoUpdate
1149 * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
1150 LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
1151 LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
1153 (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
1155 2005-02-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1157 * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
1158 bv_->owner(), bv_->buffer() by direct references to the private
1160 (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
1161 (getStatus): isSavedPosition() is in BufferView::Pimpl.
1162 (fitCursor): center() is in BufferView::Pimpl.
1163 (getStatus, trackChanges, dispatch): no need for a temporary buf
1165 (fitCursor, workAreaDispatch): use workarea().workheight()
1167 2005-02-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1169 * CutAndPaste.C (pasteSelectionHelper): fix a crash
1171 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1173 * buffer.C: format up to 241.
1174 * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
1175 break if pasting into ERT
1176 * lyxfunc.C (getStatus): suppress mathpanel and
1177 LFUN_DIALOG_SHOW_NEW_INSET in ERT
1179 2005-02-01 Angus Leeming <leeming@lyx.org>
1181 * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1183 2005-02-01 Angus Leeming <leeming@lyx.org>
1185 * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1186 calling fs::is_directory().
1188 2005-01-31 Angus Leeming <leeming@lyx.org>
1190 * lyx_main.C (priv_exec): specify explicitly the relative location
1191 of the top level build directory when run in-place.
1193 2005-01-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1195 * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1196 LyXText containing the cursor, not the top-level one.
1198 * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1200 (insertStringAsLines): rename par to pit; use temporary variable
1201 par to hold a Paragraph; do not store par.layout() in a variable,
1202 since the pointer may die when breaking paragraphs; pass pars to
1203 breakParagraph() instead of Buffer::paragraphs().
1205 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1207 * lyxlex_pimpl.h: #include <fstream>.
1209 * BufferView.[Ch] (getLyXText): add a const version.
1211 * BufferView_pimpl.C: add debug aids.
1216 * paragraph_funcs.h: add commentary explaining what the class does.
1219 * coordcache.[Ch]: add lots of commentary.
1220 (startUpdating, doneUpdating): debug aids.
1221 (arrays, insets, parPos, getParPos): accessors to private data.
1223 * cursor_slice.[Ch] (text): add a const version.
1224 * dociterator.[Ch] (text, innerText): add const versions.
1226 * lyxtext.h (breakParagraph): change the keep_layout arg to a
1229 * paragraph.C (getRow, pos2ros): add asserts.
1231 * paragraph.h: add commentary. Lots of.
1233 * paragraph.[Ch] (metrucs, draw): removed.
1236 * rowpainter.[Ch]: const-correct changes.
1238 * text.C: various obvious clean-ups. Removal of ancient cruft.
1241 2005-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
1243 * vc-backend.C (find_file): rewrite to use boost.filesystem
1246 * main.C (main): set default name check for boost.filesystem to
1249 * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1252 (actOnUpdatedPrefs): ditto
1254 * lyx_main.C (init): rewrite to use boost.filesystem
1255 (queryUserLyXDir): ditto
1257 * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1258 (getContentsOfAsciiFile): ditto
1260 * lastfiles.C (readFile): rewrite to use boost.filesystem
1262 * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1264 * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1265 (loadLyXFile): ditto
1267 * buffer.C (Buffer): adjust for destroydir
1268 (getLogName): rewrite to use boost.filesystem
1269 (setFileName): ditto
1270 (save): use fs::copy_file (from fs_extras)
1272 * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1274 * LaTeX.C (run): rewrite to use boost.filesystem
1275 (scanAuxFiles): ditto
1276 (handleFoundFile): ditto
1278 2005-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1280 * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1282 * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1284 2005-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1286 * lyxlayout.[Ch]: change some vars from float to double
1288 * buffer.C (readFile): make a local var const
1290 * Several files: use convert<> instead of atoi,strToXXX and friends
1292 2005-01-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1294 * LaTeXFeatures.[Ch]: Add a static list packages_ that
1295 holds the contents of packages.lst. New functions getAvailable
1296 and isAvailable to parse and check that list, resp.
1300 * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1302 * bufferparams.[Ch]: new param output_changes.
1304 * Buffer.C: increase file format to 240.
1305 Use output_changes and isVailable.
1309 * paragraph_pimpl.C: Use output_changes and isVailable.
1311 2005-01-23 Angus Leeming <leeming@lyx.org>
1313 * output_latex.C: #include "insetbibitem.h", rather than
1314 forward declare function bibitemWidest.
1316 2005-01-21 Andreas Vox <vox@isp.uni-luebeck.de>
1318 * lyx_main.C (init): make it compile on the Mac.
1320 2005-01-20 Angus Leeming <leeming@lyx.org>
1322 * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1323 (setLyXMisc): (char string literal) != (char string literal) is
1324 performing a comparison on the addresses. Convert one operand
1325 explicitly to string to guarantee expected behaviour.
1328 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1331 * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1333 * output_plaintext.C: remove unneeded #include gzstream.h.
1335 2005-01-20 Angus Leeming <leeming@lyx.org>
1337 * SpellBase.h: rename some of the elements of the Result enum.
1344 * pspell.C (check): ditto
1346 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1348 * buffer.C: add #include <fstream>.
1350 * lyx_main.C (init): Compile fix.
1352 * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1354 2005-01-20 Angus Leeming <leeming@lyx.org>
1356 * mover.h: change commentary to reflect the changed meaning of
1357 the $$s placeholder.
1359 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1361 * output_linuxdoc.C (linuxdocParagraphs): silence warning
1363 * lyxfind.C (MatchString::operator()): remove bogus semicolon
1365 2005-01-20 Angus Leeming <leeming@lyx.org>
1367 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1368 printing diagnostic data by not dereferecing an iterator past the
1371 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1373 * buffer.C (readHeader): use "&&" rather than "and".
1375 * lyxserver.h (inPipeName, outPipeName): make these const.
1377 2005-01-19 Angus Leeming <leeming@lyx.org>
1379 * lyx_main.C (error_handler, init): protect SIGHUP with
1380 #ifdef SIGHUP guards.
1382 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1384 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1386 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1388 * text.C (setHeightOfRow): add a margin at the top and bottom of
1389 the document (bug 1761)
1391 2005-01-17 Angus Leeming <leeming@lyx.org>
1393 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1394 with "python ". Workaround for a brain-dead Windows.
1396 2005-01-16 Angus Leeming <leeming@lyx.org>
1398 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1399 for MacOSX and Windows to use prependEnvPath.
1400 Strip out the hard-coded block to add elements to the PATH for
1401 MacOSX and replace it with a call to prependEnvPath using the
1402 contents of LyXRC::path_prefix.
1403 (queryUserLyXDir): strip out the code to run reconfigure, instead
1404 returning a boolean indicating the necessity to do so.
1405 (reconfigureUserLyXDir): contains the code to reconfigure the
1406 user support directory. Is now called after the various LyXRC data
1407 files have been read.
1409 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1411 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1413 * converter.[Ch] (convert): take a new parameter try_default. Use
1414 a default converter (imagemagick) if try_default is true.
1416 2005-01-13 Angus Leeming <leeming@lyx.org>
1418 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1419 os::cygwin_path_fix.
1420 (write): output LyXRC::cygwin_path_fix as necessary.
1422 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
1425 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1427 2005-01-12 Angus Leeming <leeming@lyx.org>
1429 * lyx_main.C (init): set the PATH variable to include the
1430 directory containing the LyX binary when running on Mac or Windows.
1432 2005-01-12 Angus Leeming <leeming@lyx.org>
1434 * lyx_main.C (init): remove cruft that purports to set the locale
1435 dir. It doesn't and is not needed anyway.
1437 2005-01-10 Angus Leeming <leeming@lyx.org>
1439 * Makefile.am: remove the lyx_main.C special casing.
1441 * BufferView_pimpl.C:
1447 * messages.C: use support/package.h to provide the paths to the
1448 various directories used by LyX.
1450 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1452 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1453 layout if pasting into an empty paragraph)
1455 2005-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
1457 * tex-accent.C: add <string>
1459 2005-01-06 José Matos <jamatos@lyx.org>
1461 * ParagraphParameters.C (write): put every parameter in its own line.
1462 * paragraph.C (write): reduce number of consecutive empty lines exported.
1463 * buffer.C (LYX_FORMAT): increase file format to 239.
1465 2005-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1467 * everywhere: change support/tostr.h -> support/convert.h
1469 * tabular.C: make all write_attributes templates, tostr -> convert
1471 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1472 (emptyTag): and -> &&, and fix type for ret from getChar
1473 (getFirstWord): fix type for ret from getChar
1474 (onlyText): and -> &&
1475 (simpleDocBookOnePar): and not -> && !, fix type for ret from
1478 * toc.C (goTo, action):
1479 * text3.C (dispatch):
1480 * text.C (currentState):
1481 * tex-accent.C (DoAccent):
1484 * lyxfunc.C (menuNew):
1485 * lyxfinc.C (replace):
1486 * counters.C (laberItem):
1487 * bufferview_funcs.C (font2string):
1488 * bufferparams.C (writeFile):
1489 * buffer.C (readFile):
1491 * MenuBackend.C: tostr -> convert
1493 * LaTeX.C (runMessage): fix format
1494 (scanAuxFiles): tostr -> convert
1496 * BufferView_pimpl.C (savePosition): fix format
1497 (restorePosition): ditto
1500 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1502 * Spacing.[Ch]: New method getValueAsString().
1506 * ParagraphParameters.C:
1509 * text3.C: store/read spacing value as string.
1511 * rowpainter.C: change float value (spacing_val) to double.
1513 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1514 broken custom document spacing).
1516 2005-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
1518 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1519 namespace, also more use of temp references and const
1521 * cursor.[Ch] (getStatus): move to lyxfunc.C
1523 * bufferparams.C: reformat slightly
1525 * bufferview_funcs.C (font2string): constify arg
1531 * buffer_funcs.C: (many funcs): constify arg on function
1532 definitions, also make more local vars const, also add ASSERTS on
1535 * buffer.C (LYX_FORMAT): put const in correct place
1536 (many funcs): constify arg on function definitions, also make
1537 more local vars const
1539 * aspell_local.h: remove "struct" from typdef setup
1541 * aspell.C (check): make word_ok const
1542 (nextMiss): simplify slightly
1545 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1547 * lyxrc.[Ch]: store all float values as strings.
1548 use int (not float) for lyxrc.dpi.
1550 2005-01-04 Angus Leeming <leeming@lyx.org>
1552 * lyx_cb.C (Reconfigure):
1553 * lyx_main.C (queryUserLyXDir):
1554 to run the <system_lyxdir>/configure correctly on Windows, prefix
1555 the path to the script with "sh " when generating the string that
1556 is passed to system().
1558 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1560 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1562 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1564 * lyxlength.C (asLatexString): get rid of setprecision
1566 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1568 * text2.C (setLayout): remove unused variable endpit.
1569 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1571 * paragraph.C (onlyText): remove unused variable style.
1573 * cursor.C (bruteFind): remove unused variables beg and end.
1575 * Makefile.am (dist_noinset_DATA): not needed anymore
1577 * cheaders/*: remove.
1579 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1581 * text3.C: fix LFUN_MATH_MODE.
1583 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1585 * buffer_funcs.C (countWords): new function. Counts words between
1588 * BufferView_pimpl.C (getStatus, dispatch): handle
1591 * LyXAction.C (init):
1592 * lfuns.h: add LFUN_WORDS_COUNT.
1594 2004-12-19 Angus Leeming <leeming@lyx.org>
1596 * buffer.C (save): s/slashify_path/internal_path/.
1598 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1600 * lyxfind.C (findChange): do not search for end of pars, because
1601 the change tracker cannot handle this (fixes bug 1719).
1603 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
1605 * paragraph.[Ch] (autoBreakRows): remove
1607 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1609 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1610 avoid using the paragraph one
1612 * text2.C (LyXText, insertStringAsLines): adjust
1614 2004-12-16 Angus Leeming <leeming@lyx.org>
1618 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1620 2004-12-14 Angus Leeming <leeming@lyx.org>
1622 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1624 * bufferlist.C (emergencyWrite):
1625 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1628 2004-12-14 Angus Leeming <leeming@lyx.org>
1630 * main.C: (main): no longer pass pointers to os::init.
1632 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1634 * undo.C (textUndoOrRedo): simplify logic, fix a crash
1635 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1637 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1640 * text3.C: remove selection_possible global flag
1642 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1644 * text2.C (getSelectionSpan): remove
1645 (changeDepth, changeDepthAllowed): adjust
1647 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
1649 * Makefile.am (BOOST_LIBS): use boost variables
1651 2004-12-03 José Matos <jamatos@lyx.org>
1653 * buffer.C: format up to 238.
1655 2004-12-03 José Matos <jamatos@lyx.org>
1657 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1659 2004-12-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1661 * cursor.C (goUpDown): remove call to idxUpDown2
1663 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1665 * tabular.[Ch]: use size_t-like types for cell, row and column
1668 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1670 * lyxfunc.C (getStatus): do not lose previous information when
1671 calling BufferView::getStatus; do not set a default "Command
1672 disabled" message at the beginning, but just before returning.
1674 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1676 * cursor.h (getStatus): add better comment from src/cursor.C
1678 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1680 * text3.C (getStatus): return false when the lfun is not handled
1682 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1684 * broken_headers.h: remove
1686 * Makefile.am (lyx_SOURCES): remove broken_headers.h
1688 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1690 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1691 offset_ref accessors
1693 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1694 top_y_, merge fitcursor with update
1695 (updateScrollbar, scrollDocView, fitCursor, center, update): new
1697 (metrics): introduce
1698 (workAreaDispatch): adapt to new coord scheme
1699 (redoCurrentBuffer): remove
1701 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1703 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1706 * coordcache.[Ch]: add paragraph cache and helpers
1708 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1711 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1712 (targetX, setTargetX): introduce
1714 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1715 baseline -> ascent, as the rest of lyx
1717 * lyxtext.h: remove redoParagraphs, updateParPositions,
1718 fullRebreak, redoParagraphInternal. move dist to anon namespace in
1719 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1720 have ascent/descent (ascent is ascent of first par)
1722 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1725 * paragraph.[Ch]: unify dimension handling with the rest of lyx
1727 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1729 * pariterator.C: fix infinite loop introduced in par->pit renaming
1731 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1732 in insets and LyXText, draw two off-screen paragraphs using
1733 NullPainter, and adapt to new coord scheme
1737 * text3.C: adapt lfun handlers to the new coord scheme, which
1738 means: there's only guaranteed coord information for onscreen pars
1739 plus one above and one below. This implies that one can do search
1740 from y coordinates in the range [-1,workHeight]
1742 2004-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1744 * rename a lot of InsetOld to InsetBase
1746 2004-11-25 Angus Leeming <leeming@lyx.org>
1748 * BufferView_pimpl.C:
1750 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1752 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1754 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1755 call BufferView::getStatus if LCursor::getStatus did nothing
1756 (setStatusMessage, getStatusMessage): removed.
1758 * FuncStatus.C (message): new methods. Used to provide an error
1759 message indicating why a command is disabled.
1760 (clear, |=, FuncStatus): update for message.
1762 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1764 * lyxfunc.C (dispatch): always call sendDispatchMessage
1766 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1769 * BufferView_pimpl.C:
1774 * cursor_slice.[Ch]:
1777 * paragraph_funcs.C:
1783 * undo.C: par->pit renaming
1785 2004-11-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1787 * tabular.C (cellstruct): use initialization, store a shared_ptr
1788 to insettext instead of the insettext directly, adjust to fit.
1789 (operator=): new function
1790 (swap): new function
1791 (rowstruct): use initialization
1792 (columnstruct): use initialization
1793 (ltType): use initialization
1796 * lyxlength.h (swap): new function
1798 * LColor.[Ch] (operator=): use the common semantics
1800 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1802 * lyxfind.C (findNextChange): update the bufferview after setting
1805 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1807 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1808 number of InsetOptArgs has already been inserted.
1810 * output_latex.C (latexOptArgInsets): new method. This outputs all
1811 the optarg insets, up to the limit defined in the layout file.
1812 (optArgInset): removed
1813 (TeXOnePar): call latexOptArgInsets; correctly update texrow
1815 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1817 * paragraph.C (isLetter): remove special spellchecker-related
1818 code; return true also for digits
1819 (isWord, isKomma): remove
1821 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1822 * lyxfind.C (MatchString()): use isLetter instead of isWord
1824 2004-11-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1826 * pariterator.h (operatir=): comment out un-implemented member
1829 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1832 2004-11-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1834 * lyxfont.h: include LColor.h to satisfy concept checks.
1836 2004-11-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1838 * pariterator.h: add typdefs for value_type, difference_type,
1839 pointer and reference to satisfy concept checks. Also add default
1840 constructor for same reason.
1842 * pariterator.C (operator++): add post-increment operator to
1843 satisfy concept checks.
1845 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1848 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1850 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1851 checks. Also rename base_type to BaseType to follow naming
1854 * FloatList.h: include Floating.h to satisfy concept checks.
1856 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1858 * lyxfunc.C (getStatus): when the origin of the request is menu or
1859 toolbar, and the LyXView does not have focus, do as if there was
1860 no buffer (bug 1720)
1862 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1863 FuncRequest to individual entries of LFUN_SEQUENCE
1865 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1867 * output_latex.C (TeXOnePar): override runparams.moving_arg
1868 according to the needprotect value of the current paragraph (bug
1871 * paragraph.C (simpleTeXOnePar): no need to override
1872 runparams.moving_args here
1874 2004-11-14 John Spray <spray_john@users.sourceforge.net>
1876 * vspace.C: fix off-by-one-error, related to fix #1682
1878 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1880 * lengthcommon.C: a more general fix for bug 1682
1882 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
1884 * text.C (backspace): fix crash
1886 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1888 * format.[Ch] (getFormatFromFile): new method
1889 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1891 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1893 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1895 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1897 * lyxfunc.C (dispatch): remove the verbose argument
1898 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1901 * kbmap.C (defkey): set the origin of func to KEYBOARD
1903 * MenuBackend.C (MenuItem):
1904 * ToolbarBackend.C (add): set the origin of func to UI
1906 * funcrequest.[Ch]: add origin member, which indicates which part
1907 of LyX requests an action
1909 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1911 * converter.C (move): don't lie in the error message
1912 * converter.h (isReachable, move): document
1914 2004-11-07 Lars Gullik Bjønnes <larsbj@gullik.net>
1916 * buffer.C: remove unused using lyx::support::atoi
1917 * paragraph_funcs.C: ditto
1919 2004-11-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1921 * bufferlist.C (exists): use bind and equal_to instead of
1924 * lyxtextclasslist.C (NumberOfClass): ditto
1926 * cursor.C (insert): use for_each instead of explicit for loop
1928 * bufferlist.C (getFileNames): use std::transform and
1929 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1931 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1934 * buffer.C (changeLanguage): use for_each instead of explicit for
1936 (hasParWithID): implement using getParFromID
1938 * LaTeXFeatures.C: ws change only
1940 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1943 * BufferView_pimpl.C (trackChanges): use for_each instead of
1946 2004-11-04 André Pönitz <poenitz@gmx.net>
1949 * undo.C (textUndoOrRedo): fix crash when creating undo information.
1951 * dociterator.C (asDocIterator): use hard assert again.
1953 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1955 * lyxlength.C (asLatexString): rewrite so that it does not use
1958 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1960 * text3.C (specialChar, dispatch): make sure cursor moves to the
1961 right after inserting an inset
1963 2004-11-02 José Matos <jamatos@lyx.org>
1965 * output_docbook.C (docbook):
1966 * paragraph.C (getID):
1967 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
1968 garantee that the output is always legal.
1970 * tabular.C (docbook):
1971 * outputprams.[Ch]: remove mixed contents.
1973 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1975 * text2.C (setCounter): prevent endless loop
1977 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1979 * exporter.C (copyFile): use the mover instead of support::copy()
1980 * exporter.C (Export): pass format and latex name to copyFile()
1981 * exporter.h (addExternalFile): document
1982 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
1984 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1986 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
1988 2004-10-30 José Matos <jamatos@lyx.org>
1990 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1991 text and no inset or font change. This allows to use CDATA
1992 sections just for the whole paragraph.
1994 2004-10-30 José Matos <jamatos@lyx.org>
1996 * paragraph.C (getFirstWord): remove unused variable.
1998 2004-10-30 José Matos <jamatos@lyx.org>
2000 * paragraph.C (getFirstWord): the content should always be escaped
2002 (simpleDocBookOnePar):
2003 * output_docbook.C (makeEnvironment): replace reference to CDATA
2006 2004-10-30 José Matos <jamatos@lyx.org>
2008 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
2010 2004-10-30 José Matos <jamatos@lyx.org>
2012 * output_docbook.C (makeParagraphs):
2013 * paragraph.[Ch] (emptyTag): for docbook and company, if the
2014 standard paragraph has only a given type of content drop the wrapper.
2016 2004-10-29 José Matos <jamatos@lyx.org>
2018 * output_docbook.C (makeEnvironment):
2020 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
2022 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
2024 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
2025 (cleanID): sanitize any id.
2027 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2029 * buffer.C, lyxlex_pimpl.C:
2030 * lyxlex_pimpl.C (setFile):
2031 s/getExtFromContents/getFormatFromContents/
2033 2004-10-28 José Matos <jamatos@lyx.org>
2035 * output_docbook.C (makeEnvironment): move id to broadest possible
2038 * sgml.C (openTag): apply substitution of <> for all attributes.
2040 2004-10-28 José Matos <jamatos@lyx.org>
2042 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2043 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2044 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
2046 * sgml.[Ch]: new version for open and closeTag for paragraph and
2047 for strings. Now they handle the ids of paragraphs.
2049 2004-10-26 Angus Leeming <leeming@lyx.org>
2051 * Makefile.am: add mover.[Ch].
2053 * converter.C (convert, move): use the new Movers to move external
2054 files to the temp directory.
2056 * lyx_main.C (init): ensure that the global system_movers data
2059 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
2062 * mover.[Ch]: new files, defining a Mover as a utility to move an
2063 external file between directories and, if necessary, manipulate this
2064 file using a helper script.
2066 2004-10-25 José Matos <jamatos@lyx.org>
2068 * output_docbook.C (makeCommand): merge two if's that tested the
2071 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2073 * sgml.C (escapeString): fix warning in a better way
2075 2004-10-25 José Matos <jamatos@lyx.org>
2077 * sgml.C (escapeString): import the require boosts header file for
2078 tie, and avoid a signed unsigned comparison.
2080 2004-10-25 José Matos <jamatos@lyx.org>
2082 * sgml.h: add #include <string>
2084 2004-10-25 José Matos <jamatos@lyx.org>
2086 * sgml.[Ch] (escapeString): new function to escape all the string.
2088 2004-10-24 José Matos <jamatos@lyx.org>
2090 * paragraph.[Ch] (getFirstWord): new function to get the first
2091 word. Useful for description.
2092 (simpleDocBookOnePar): remove depth argument, add another that
2093 says where to start the paragraph.
2095 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2096 use the new functions to fix cleanly the support for descriptions.
2098 2004-10-24 José Matos <jamatos@lyx.org>
2100 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2101 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2102 * output_linuxdoc.C (linuxdocParagraphs):
2103 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
2104 add buffer as argument.
2106 2004-10-24 José Matos <jamatos@lyx.org>
2108 * output_docbook.C (makeEnvironment, searchEnvironment): place
2109 CDATA inside paragraphs and fix scope for listitems.
2111 2004-10-24 José Matos <jamatos@lyx.org>
2113 * output_docbook.C: remove using statement for stack.
2115 2004-10-23 José Matos <jamatos@lyx.org>
2117 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
2118 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
2119 docbook. The new scheme is recursive and makes use of iterators, the
2120 same as latex export works.
2121 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
2122 directly with the paragraph contents. This code was moved up to
2123 output_docbook.C (docbookParagraphs).
2124 * sgml.C (openTag, closeTag): removed unneeded newlines.
2125 (closeEnvTags) removed.
2127 2004-10-23 André Pönitz <poenitz@gmx.net>
2129 * undo.C (textUndoOrRedo):
2130 * dociterator.C (asDocIterator): work around crash
2132 * cursor.C (getStatus): replace ASSERT by more verbose error message
2133 and manual correction of the problem. Should increase stability
2134 while providing more sensible information.
2136 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2138 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
2140 * bufferlist.C (previous, next): new methods
2143 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
2145 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
2147 * buffer.C (makeDocBookFile): add dsssl stylesheet control
2148 entities to preamble.
2150 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2152 * messages.C (Pimpl): strip off translation context information
2154 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2156 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
2157 the cursor is correct (bug 1694)
2159 2004-10-13 José Matos <jamatos@lyx.org>
2161 * output_docbook.C (docbookParagraphs): fix closing tags in the
2162 end of the document.
2164 2004-10-09 José Matos <jamatos@lyx.org>
2166 * buffer.C: format up to 237.
2167 * bufferparams.C (write): use tostr to convert booleans to strings.
2169 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
2171 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
2173 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2175 * LaTeX.C: implement use of babel language in xindy.
2177 2004-10-05 José Matos <jamatos@lyx.org>
2179 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2180 Add new translators to help reading and writing the lyx file.
2182 2004-10-05 José Matos <jamatos@lyx.org>
2184 * ParagraphParameters.C (read):
2185 * text.C (readParToken): replace nexToken by more appropriate lex
2188 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
2190 * LaTeX.C (runMakeIndex):
2191 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2192 (usually 'makeindex') configurable.
2194 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2195 with a variable rather than with a number.
2197 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2199 * output_latex.C (TeXOnePar): make sure font setting is the first
2200 thing that gets output (and the last at the end). Should fix bug
2203 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2205 * pch.h: use proper signal include
2207 * LaTeX.h: Use preferred calling of Boost.Signal
2210 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2212 * pch.h: dont include <boost/function/function0.hpp>
2214 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2216 * paragraph_pimpl.h: remove usage of ShareContainer
2218 * paragraph_pimpl.C: remove initialization of ShareContainer.
2220 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2224 * BufferView.C (putSelectionAt): change the semantics when
2225 backwards == true: now, this just swaps cursor and anchor wrt the
2228 * BufferView.h (putSelectionAt): add some documentation
2230 * lyxfind.C (findBackwards): rewrite using while(). In particular,
2231 make sure backwardChar is done at least once (to avoid getting
2233 (findNextChange): use putSelectionAt in the forward direction
2234 (operator()): use Paragraph::isWord
2236 2004-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2238 * Spacing.C (set): c_str fix
2240 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2242 * lyx_cb.C (Reconfigure): quote the name of configure script in
2243 case it contains spaces
2245 2004-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2249 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2250 (BOOST_LIBS): use top_buildir when looking for the file
2252 2004-08-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2254 * pch.h: do not use include boost/format.hpp, multiple symbols
2255 will result (gcc bug)
2258 2004-08-23 José Matos <jamatos@lyx.org>
2260 * bufferparams.C (readToken): fix reading of the author field.
2262 2004-08-20 José Matos <jamatos@lyx.org>
2264 * lyxrc.C: remove support/translator.h inclusion since it is not used.
2266 2004-08-20 José Matos <jamatos@lyx.org>
2268 * lyxlex.[Ch] (findToken): remove function.
2270 * ParagraphParameters.C (findToken):
2271 * bufferparams.C (findToken): replace call for previous function
2272 with local copy. This local function has one more argument, the
2273 read string argument.
2275 2004-08-16 José Matos <jamatos@lyx.org>
2277 * ParagraphParameters.C (write):
2278 * Spacing.C (writeFile):
2279 * bufferparams.C (writeLaTeX):
2280 * lyx_cb.C (Reconfigure):
2281 * paragraph.C (write):
2282 * tabular.C (write): remove unnecessary space at end of line.
2285 2004-08-16 José Matos <jamatos@lyx.org>
2287 * text.C (readParagraph): remove debug message.
2289 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2291 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2294 * output_plaintext.C (asciiParagraph): set depth correctly
2296 * outputparams.h: add member depth
2298 * paragraph_funcs.C (ownerPar): remove.
2300 * text2.C (setCounter): remove first_pit; comment out some
2301 non-working code that uses ownerPar
2303 * BufferView.C (getParentLanguage): remove. Not used anymore, and
2306 2004-08-16 José Matos <jamatos@lyx.org>
2308 * text.C (readParToken, readParagraph, read): report all unknown tokens.
2309 For the same level of importance use the same chanel to report problems.
2310 (read): add code to deal with \begin_body and \end_body.
2313 2004-08-15 José Matos <jamatos@lyx.org>
2315 * lyxlex.C (getString): fix comment, buffer::readBody is now
2316 buffer:readDocument.
2318 * tex-strings.C (string_papersize): Default -> default,
2319 Custom -> custom, for consistency with other options.
2321 2004-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2325 * Makefile.am: support pch
2327 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2329 * text.C (readParToken): remove the static LyXFont variable and
2330 pass it as a parameter instead. This fixes a nasty bug where an
2331 inset will be inserted with a bad font in some situations
2332 (readParagraph): adapt
2334 * text2.C (setCounter): reduce number of calls to pars_[pit]
2336 * text.C (singleWidth): add an assert, fix a test
2338 * rowpainter.C (paintText): reduce number of calls to singleWidth
2340 * paragraph.C (isHfill):
2341 (isNewline): ws only
2343 2004-08-14 André Pönitz <poenitz@gmx.net>
2348 * lyxtext.h (several functions): use a Paragraph & argument
2351 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2353 * metricsinfo.h: add a new field ltr_pos to PainterInfo
2355 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2357 * text.C (singleWidth): remove useless test
2359 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2361 * tabular.h: remove bogus comments
2363 * tabular.C (getDescentOfRow):
2364 (isPartOfMultiColumn): add assertions
2366 * lyxlength.C (inPixels): remove #warning
2368 2004-08-14 André Pönitz <poenitz@gmx.net>
2370 * paragraph.h: inline getChar()
2372 * BufferView.h: remove unused declarations
2374 2004-08-14 José Matos <jamatos@lyx.org>
2376 * Buffer.[Ch] (readDocument): new name for old readBody.
2377 * Buffer.C: new file format, new keywords: \begin_document,
2378 \begin_header, \begin_body, \end_body.
2380 * bufferparams.C (readToken): replace all calls to lex.nextToken
2381 by lex.next(). Do the same to eatLine except where really needed.
2383 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2384 line when writing to the lyx file.
2386 * output_plaintext.C (asciiParagraph): fix Bibliography style
2389 * text.C (read): fix end of file handling.
2391 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2393 * MenuBackend.C (Menu::operator[]): new method to access
2394 individual menu items
2395 (Menu::hasFunc): new method. search for an item that corresponds
2397 (MenuBackend::specialMenu): new method
2398 (MenuBackend::expand): if a special menu has been set, skip
2399 entries whose func() appears in this menu
2401 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2403 * text3.C: use Debug::DEBUG a bit more
2405 * text.C (leftMargin): try to simplify a tiny bit change var x to
2406 l_margin. Dont output the wide margins always.
2407 (rightMargin): no margin in inner texts
2409 * rowpainter.h (nestMargin): new func
2410 (changebarMargin): new func
2411 (rightMargin): new func
2413 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2417 * factory.C (createInset): modify setDrawFrame
2419 * cursor.C: use Debug::DEBUG a bit more
2421 2004-08-14 André Pönitz <poenitz@gmx.net>
2424 * Makefile.am: new files to accomodate an 'external' (x,y)-position
2425 cache for all insets in (at least partially) visible (top-level)
2428 * BufferView_pimpl.C: reset external coord cache before every update.
2429 This means the coord cache only contains valid entries.
2431 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2434 * BufferView_pimpl.C (getInsetByCode): move function out of class
2435 and change in to a template in anon namespace. Also fix to do what
2438 2004-08-13 Lars Gullik Bjønnes <larsbj@lyx.org>
2441 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2443 (breakParagraph): rename par to par_offset and use a local
2444 reference. Add code to keep the language over a rebreak.
2445 (breakParagraphConservative): rename par to par_offset, use a
2447 (mergeParagraph): ditto
2449 (isFirstInSequence): ditto
2450 (outerFont): rename pit to par_offset
2452 * paragraph.C: ws change
2453 * paragraph.h: ditto
2457 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2459 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2462 * paragraph.C (simpleTeXOnePar): when we have a \item with
2463 optional argument, enclose the argument with curly brackets (in
2464 case it contains a closing square bracket)
2468 * text3.C (checkInsetHit): constify
2470 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2472 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2473 documents (bug 1629)
2475 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2477 Fix toggling of collapsable insets with the mouse (bug 1558)
2479 * lyxfunc.C (dispatch): adapt to LCursor changes
2481 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2482 make sure that dispatch is not invoked twice
2484 * cursor.C (needsUpdate): new method
2485 (dispatch): return void
2486 (result): new method, to access the DispatchResult of the cursor.
2488 2004-08-13 José Matos <jamatos@lyx.org>
2490 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2492 2004-08-13 André Pönitz <poenitz@gmx.net>
2494 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2496 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2499 2004-08-12 André Pönitz <poenitz@gmx.net>
2501 * text3.C: take out the 'cursor right' form insertInset and only
2502 do it in those places when it is really needed. Fixes crash on
2505 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2507 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2509 * BufferView_pimpl.C (setBuffer): initialize the current font of
2510 the underlying LyXText
2512 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2514 * kbsequence.C (print): use UI native formatting for menu
2517 * text.C (insertChar): call Paragraph::insertChar with a font
2520 * paragraph.C (insertInset, insertChar): the version that takes a
2521 LyXFont argument is now a wrapper around the other one (the
2522 opposite used to be true).
2524 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2525 argument. Font setting is done in Paragraph now.
2527 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2529 * outputparams.h: add new members intitle and lang.
2531 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2532 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2534 2004-08-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2536 * text3.C (dispatch): remove special handling of button 4 and 5,
2537 it is now taken care of in the frontend code.
2539 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2541 * Spacing.h: add <string> (STLPort compile fix)
2543 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2545 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2547 2004-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2549 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2552 * converter.C (showMessage): inherit from unary_function, make
2555 * buffer.C (writeFile): initialize retval
2557 * InsetList.h: rename private variable list to list_
2558 * InsetList.[Ch]: adjust accordingly.
2560 2004-07-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2562 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2563 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2564 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2565 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2566 * ParagraphParameters.C, LaTeXFeatures.C: replace
2567 "support/std_sstream.h" with <sstream>
2569 2004-07-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2571 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2572 * lyxsocket.C (LyXServerSocket): ditto
2573 (serverCallback): ditto
2575 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2577 * LaTeXFeatures.C: check release date when loading jurabib.
2579 2004-07-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2581 * lyxserver.C (startPipe): call register_socket_callback
2582 (endPipe): call unregister_socket_callback
2584 2004-07-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2586 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2587 (LyXServerSocket): register the callback
2588 (LyXServerSocket): unregister the callback
2589 (fd): delete function
2590 (serverCallback): improve error checking and setup the callbacks.
2591 (dataCallback): change arg to fd.
2592 (writeln): new func (copied fro the client socket) used for server
2594 (LyXDataSocket): simplify
2595 (~LyXDataSocket): close ann unregiser callback
2596 (server): delete function
2597 (fd): delete function
2598 (readln): small changes, improve some std::string usage
2599 (writeln): constify a bit
2601 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2603 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2606 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2608 * BufferView_pimpl.C (setBuffer): set the layout combox value only
2609 after it has been populated
2611 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2613 * text2.C (insertInset): move cursor when inserting inset.
2615 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2617 * kbmap.C (findbindings): a couple of new methods. returns a
2618 container of kb_sequence objects. The real work is done by the
2619 private recursive version
2620 (printbindings): uses findbindings to print out a bracketed list
2621 of bindings (renamed from findbinding).
2623 * MenuBackend.C (binding): use kb_keymap::findbindings
2625 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2627 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2629 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2631 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2633 * paragraph.C (isWord): return true on insets that report
2636 * text.C (getWord): use Paragraph::isWord to decide what is in a
2637 word and what is not; fix bug 1609.
2639 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2641 * tex-strings.C: add "none" to string_paperpackages[], fixes
2642 off-by-one-error in the paperpackage selection.
2645 * tex-strings.[Ch]: char const * string[n]
2646 -> char const * const string[]
2648 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2650 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2651 command, return early.
2653 2004-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
2655 * debug.h: add DEBUG to enum and fix size of ANY.
2657 * debug.C: add support for Debug::DEBUG
2658 (showTags): cast errorTags.level to unsigned int
2660 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2661 (redoCurrentBuffer): ditto
2662 (updateScrollbar): ditto
2663 * cursor.C (dispatch): ditto
2664 * text2.C (setLayout): ditto
2666 (updateCounters): ditto
2668 (deleteEmptyParagraphMechanism): ditto
2670 2004-06-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2672 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2673 annotations to cleanup the Makefile slightly.
2675 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2677 * lyxrc.C: do not set user_email to a default value but use empty
2678 instead. The entry used to be translated, which does not work
2679 since at the point where lyxrc is constructed there is no
2680 translation service available
2682 * messages.C (getLocaleDir): remove and use directly
2683 lyx_localedir() instead
2685 2004-06-02 Angus Leeming <leeming@lyx.org>
2687 Fix crash caused by dereferencing null pointer 'exportdata' in
2688 OutputParams by creating a new ExportData variable on the heap,
2689 storing it in a boost::shared_ptr.
2690 The crash was triggered when generating an Instant Preview
2691 of an external inset.
2693 * Makefile.am: add outputparams.C
2695 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2696 (c-tor): allocate memory to it.
2698 * exporter.C (c-tor): associated changes.
2700 2004-06-01 Angus Leeming <leeming@lyx.org>
2702 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2703 contains data before calling isInset(0). (Bug 1513.)
2705 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2707 * exporter.C (checkOverwrite): new method
2708 * exporter.C (copyFile): new method
2709 * exporter.C (Export): copy referenced files to the document dir
2710 * exporter.[Ch]: new class ExportedFile
2711 * exporter.[Ch]: new class ExportData. Contains currently the
2712 names of referenced external files
2713 * outputparams.h: add exportdata member.
2715 2004-05-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2717 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2720 2004-05-19 Angus Leeming <leeming@lyx.org>
2725 * lyxfunc.C: small changes due to the introduction of namespace
2726 lyx::frontend and the moving of namespace biblio to lyx::biblio.
2728 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
2730 * text3.C (dispatch): supress update when only moving the cursor
2731 * cursor.C (selHandle): remove commented code
2733 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2735 * paragraph.C (startTeXParParams): correct column count
2736 * CutAndPaste.C (pasteSelection): remove const_cast
2737 * output_docbook.C (docbookParagraphs): remove const_cast
2738 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2739 const_cast and return ParagraphList::const_iterator
2740 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2741 * output_plaintext.C (writeFileAscii): remove const_cast
2742 * paragraph.[Ch] (simpleTeXOnePar): make const
2743 * paragraph_funcs.C (outerPar): use const iterators
2744 * paragraph_pimpl.C (validate): use const iterators
2745 * text.C (setHeightOfRow): use const iterators
2747 2004-05-17 Angus Leeming <leeming@lyx.org>
2750 * LyXAction.C (init): new LFUN_INSET_REFRESH.
2752 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2753 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2754 if the citation engine has changed.
2756 2004-05-14 José Matos <jamatos@lyx.org>
2758 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2759 if the textclass does not provide it. Have it different for sgml and
2761 support the language of document.
2762 * output_docbook.C (docbookParagraphs):
2763 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2764 first anchor as the id of the paragraph, remove special case code.
2765 * sgml.C (escapeChar): escape only < & >.
2767 2004-05-14 Angus Leeming <leeming@lyx.org>
2769 * bufferparams.h: move biblio::CiteEngine enum here to minimize
2770 dependencies on src/frontends/controllers/biblio.h. Define a
2771 CiteEngine_enum wrapper class to enable the enum to be forward
2774 2004-05-12 Angus Leeming <leeming@lyx.org>
2776 * buffer.C: up LYX_FORMAT to 234.
2777 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2778 use_numerical_citations with a single biblio::CiteEngine cite_engine
2780 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2782 2004-05-13 José Matos <jamatos@lyx.org>
2785 * converter.C (Converter, readFlags): add xml member.
2786 * outputparams.h: add XML flavor.
2787 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2789 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2791 * lyxfunc.C (dispatch):
2792 (getStatus): fix handling of LFUN_SEQUENCE
2794 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2796 * debug.C (showLevel): do not forget the end-of-line marker
2798 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2800 * kbmap.C (read): do not stop parsing a bind file when an error
2803 2004-04-29 Angus Leeming <leeming@lyx.org>
2808 * text2.C: wrap a bunch of #warning statements
2809 inside #ifdef WITH_WARNINGS blocks.
2811 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2813 * buffer.C: increment format to 233.
2815 2004-04-28 Angus Leeming <leeming@lyx.org>
2817 * BufferView_pimpl.C:
2820 s/updateToolbar()/updateToolbars()/
2821 s/Toolbar.h/Toolbars.h/
2823 2004-04-28 Angus Leeming <leeming@lyx.org>
2825 * BufferView.[Ch] (c-tor):
2826 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2827 No longer passes these data to the WorkArea generator.
2829 2004-04-28 Angus Leeming <leeming@lyx.org>
2831 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2833 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2835 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2837 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2839 * output_latex.C (TeXEnvironment): make sure that there is a line
2840 break before \end{foo} for the last paragraph of a document
2841 (TeXOnePar): if the paragraph is at the end of the document (or
2842 inset) and the language has to be reset, then make sure that the
2843 line break is _before_ the language command, not after (fixes bug
2844 1225); also make sure that the language reset command is the first
2845 thing after the paragraph (to ensure proper nesting of
2846 environments and thus fix bug 1404)
2848 2004-04-21 John Levon <levon@movementarian.org>
2851 * ToolbarBackend.C: make "name" be a programmatic name
2852 and a gui_name field.
2854 * lyxfunc.C: display the minibuffer on M-x
2856 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2858 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
2861 2004-04-19 Angus Leeming <leeming@lyx.org>
2863 * BufferView_pimpl.C (setBuffer): changed preview interface.
2865 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2868 2004-04-19 John Levon <levon@movementarian.org>
2870 * BufferView_pimpl.C:
2871 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2873 2004-04-05 Angus Leeming <leeming@lyx.org>
2875 * text.C (redoParagraphs): add call to updateCounters(), thereby
2876 fixing the missing "Figure #:" label from the caption of a
2879 2004-04-13 Angus Leeming <leeming@lyx.org>
2881 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2882 cursor is clicked out of an inset.
2884 2004-04-13 Angus Leeming <leeming@lyx.org>
2886 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2887 than an InsetOld one.
2889 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2891 * format.[Ch]: add editor to Format
2892 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2893 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2895 2004-04-08 André Pönitz <poenitz@gmx.net>
2897 * metricsinfo.h: remove PainterInfo::width member
2899 2004-04-08 Angus Leeming <leeming@lyx.org>
2901 * lyx_sty.C (boldsymbol_def): modify so that it outputs
2902 "\providecommand" rather than "\newcommand", thereby preventing
2903 clashes with packages that define "\boldsymbol" themselves.
2906 2004-04-08 Angus Leeming <leeming@lyx.org>
2908 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2909 thereby squashing an unnecessary warning.
2911 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2913 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
2916 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
2918 * BufferView.C (setCursor): call redoParagraph (some insets could
2920 (putSelectionAt): remove the 'double update' trick
2922 * BufferView_pimpl.C (fitCursor): call refreshPar
2923 (workAreaDispatch): remove an uneeded update call
2924 (dispatch): remove some manual update calls
2926 * cursor.[Ch]: remove cached_y_, updatePos
2927 (selHandle): set noUpdate when appropriate
2929 * lyxfunc.C (dispatch): track if we need an update
2931 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2933 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2934 (paintSelection): cheap optimization, do not call cursorX when not
2936 (paintPars): change signature
2939 (paintTextInset): adjust
2943 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2945 * lengthcommon.C: compilation fix: remove explicit array size from
2946 unit_name[] and friends
2948 2004-04-05 Angus Leeming <leeming@lyx.org>
2950 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2952 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2953 present only for the preferences dialog.
2954 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2956 2004-04-05 Angus Leeming <leeming@lyx.org>
2958 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2959 to enable the frontends to export changes to lyxrc correctly.
2961 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2963 2004-04-07 André Pönitz <poenitz@gmx.net>
2965 * cursor.[Ch] (selClear, adjust): remove math
2967 * cursor_slice.C: more agressive assert
2970 * BufferView_pimpl.C: rework mouse event dispatch
2977 2004-04-05 André Pönitz <poenitz@gmx.net>
2979 * cursor.[Ch] (valign, halign...): remove unneeded functions
2981 2004-04-05 Angus Leeming <leeming@lyx.org>
2983 * lyxlength.[Ch] (unit_name et al.): const-correct.
2985 2004-04-05 Angus Leeming <leeming@lyx.org>
2987 * BufferView_pimpl.C:
2996 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2998 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3000 * text3.C (getStatus): add LFUN_BEGINNINGBUF
3002 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3004 * lyxfind.C: add a couple of inTexted() tests + other small fixes
3005 * BufferView_pimpl.[Ch] (getStatus)
3006 * BufferView.[Ch] (getStatus): add
3007 * lyxfunc.C (getStatus): move lfuns handled in
3008 BufferView::dispatch to te function above
3009 * Cursor.C (setSelection): set selection() = true
3011 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3013 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
3015 2004-03-31 Angus Leeming <leeming@lyx.org>
3017 * lyxfunc.C (dispatch): Fall through to the generic
3018 Dialogs::show("preamble").
3020 2004-03-31 Angus Leeming <leeming@lyx.org>
3022 * lyxfunc.C (dispatch): Fall through to the generic
3023 Dialogs::show("spellchecker").
3025 2004-03-31 Angus Leeming <leeming@lyx.org>
3027 * lyxfunc.C (getStatus, dispatch): changed invocation of the
3030 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
3035 * insetiterator.[Ch]:
3040 * undo.[Ch]: s/DocumentIterator/DocIterator/g
3042 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
3044 * BufferView.C (setCursor, putSelectionAt): call edit to open the
3045 insets where we are putting the cursor.
3047 2004-03-31 Angus Leeming <leeming@lyx.org>
3050 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
3052 * lyxrc.[Ch] (read, write): overloaded member functions taking
3053 a std::[io]stream arguments.
3055 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
3057 2004-03-31 Angus Leeming <leeming@lyx.org>
3059 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
3060 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
3062 * lyxtextclass.C (load): if the text class couldn't be loaded, then
3063 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
3065 2004-03-31 Angus Leeming <leeming@lyx.org>
3067 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
3068 the LFUN_ALL_INSETS_TOGGLE code.
3070 2004-03-30 Angus Leeming <leeming@lyx.org>
3072 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
3073 has died. Fall through to the generic Dialogs::show("document").
3075 2004-03-30 Angus Leeming <leeming@lyx.org>
3078 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
3079 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
3081 * lyxfunc.C (getStatus, dispatch): define the actions for these
3082 lfuns. Little more than a cut and pste job from ControlDocument.C
3084 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
3086 2004-03-30 Angus Leeming <leeming@lyx.org>
3089 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
3090 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
3092 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
3093 open/closed state of ollapsable insets. Usage:
3095 all-inset-toggle <state> <name>, where
3096 <state> == "open" || "closed" || "toggle" and
3097 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
3099 * lyxtext.h, text2.C (toggleInset): removed.
3101 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
3102 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
3103 now passes LFUN_INSET_TOGGLE to the found inset.
3105 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
3106 is now invoked as "all-insets-toggle toggle branch".
3108 2004-03-30 Angus Leeming <leeming@lyx.org>
3112 * pariterator.[Ch]: added/corrected header blurb.
3114 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
3116 * dociterator.[Ch]: add an inset_ member
3117 (backwardPos): implemented
3118 (backwardPos, forwardPos): use inset_ when the stack is empty.
3119 (doc_iterator_begin, doc_iterator_end): implemented
3120 * pariterator.[Ch]: adjust, add begin, end
3121 * insetiterator.[Ch]: adjust, add begin, end
3125 * BufferView_pimpl.C:
3126 * CutAndPaste.C: adjust
3128 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3130 * buffer.C: increment file format to 232.
3131 * LaTeXFeatures.C: add bibtopic package.
3132 * bufferparams.[Ch]: param \use_bibtopic.
3134 * lyxrc.[Ch]: add lyxrc bibtex_command
3135 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
3137 * buffer.C: increment file format to 231.
3139 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
3141 * dociterator.C: implement forwardPar
3142 * iterators.[Ch]: remove, replaced by
3143 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
3145 * BufferView_pimpl.C:
3148 * bufferview_funcs.C:
3154 * Makefile.am: adjust
3156 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
3158 * CutAndPaste.C (pasteSelection): fix 2 crashes
3159 (eraseSelection): fix a crash
3160 * paragraph_funcs.C: remove a warning
3162 2004-03-28 Angus Leeming <leeming@lyx.org>
3165 * LyXAction.C (init): new LFUN_PRINT.
3167 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
3169 2004-03-27 Angus Leeming <leeming@lyx.org>
3172 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
3174 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
3176 2004-03-27 Angus Leeming <leeming@lyx.org>
3178 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
3179 insetlist always contains non-null pointers to insets.
3181 2004-03-26 Angus Leeming <leeming@lyx.org>
3183 * src/BufferView_pimpl.C:
3184 * src/CutAndPaste.C:
3187 * src/output_plaintext.C:
3188 * src/outputparams.h:
3189 * src/paragraph_funcs.C:
3193 * src/frontends/controllers/ControlErrorList.C:
3194 * src/frontends/gtk/FileDialogPrivate.C:
3195 * src/frontends/gtk/GPainter.C:
3196 * src/frontends/gtk/GToolbar.C:
3197 * src/frontends/qt2/QRef.C:
3198 * src/mathed/math_scriptinset.C: squash compiler warnings.
3200 2004-03-26 Angus Leeming <leeming@lyx.org>
3202 * ispell.C (LaunchIspell::start):
3203 * lyx_cb.C (AutoSaveBuffer::start):
3204 invoke run(DontWait) rather than runNonBlocking().
3206 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
3208 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3210 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3212 * kbsequence.C (print): adjust
3214 * kbmap.C (printKeySym): rename and change signature
3215 (printKey): use LyXKeySym::print()
3217 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
3219 * undo.C: add using std::advance to compile for stlport
3221 2004-03-24 Angus Leeming <leeming@lyx.org>
3223 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3224 it leads to a crash when no buffer is present.
3226 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3227 Martin Vermeer <martin.vermeer@hut.fi>
3229 * lyxfunc.C (dispatch):
3230 * bufferparams.C (readToken): use the new LColor::setColor
3232 * LColor.[Ch] (setColor): new version that takes two strings as
3233 argument and creates a new color entry if necessary
3235 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3237 * buffer.C (makeLaTeXFile): if the main latex file that is
3238 processed is usually a subdocument of some master, then pretend
3239 for a while that it is actually the master
3241 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3243 * buffer.C (getLabelList):
3244 (getBibkeyList): use getMasterBuffer()
3245 (getMasterBuffer): new method. Returns the main document in the
3246 case where one is using included documents.
3248 2004-03-25 André Pönitz <poenitz@gmx.net>
3252 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3254 * ParagraphList_fwd.h: change ParagraphList to a std::vector
3256 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3257 text*.C over here. Rename namespace CutAndPaste to lyx::cap
3259 * ParameterStruct.h: merge with ParagraphParameters
3261 * lyxtext.h: remove LyXText::parOffset() and getPar()
3263 * text3.C: Remove all 'manual' update calls. We do now one per user
3264 interaction which is completely sufficient.
3268 * BufferView_pimpl.C:
3269 * FontIterator.[Ch]:
3271 * ParagraphParameters.[Ch]:
3276 * cursor_slice.[Ch]:
3283 * output_docbook.[Ch]:
3284 * output_latex.[Ch]:
3285 * output_linuxdoc.[Ch]:
3286 * output_plaintext.[Ch]:
3288 * paragraph_funcs.[Ch]:
3289 * paragraph_pimpl.[Ch]:
3297 * frontends/controllers/ControlDocument.C:
3298 * frontends/controllers/ControlErrorList.C:
3299 * frontends/controllers/ControlSpellchecker.C:
3302 * insets/insetbase.h:
3303 * insets/insetbibitem.C:
3304 * insets/insetbox.C:
3305 * insets/insetbranch.C:
3306 * insets/insetcaption.C:
3307 * insets/insetcharstyle.C:
3308 * insets/insetcharstyle.h:
3309 * insets/insetcollapsable.C:
3310 * insets/insetcollapsable.h:
3311 * insets/insetert.C:
3312 * insets/insetfloat.C:
3313 * insets/insetfoot.C:
3314 * insets/insetmarginal.C:
3315 * insets/insetnote.C:
3316 * insets/insetoptarg.C:
3317 * insets/insettabular.C:
3318 * insets/insettext.C:
3319 * insets/insettext.h:
3320 * insets/insetwrap.C:
3321 * mathed/math_mboxinset.C:
3322 * mathed/math_nestinset.C:
3323 * mathed/math_scriptinset.C:
3324 * mathed/math_scriptinset.h:
3327 2004-03-24 Angus Leeming <leeming@lyx.org>
3329 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3330 deal with any child processes that have finished but are waiting to
3331 communicate this fact to the rest of LyX.
3333 2004-03-24 Angus Leeming <leeming@lyx.org>
3335 64-bit compile fixes.
3337 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3338 (c-tor): pass lyx::pos_types rather than ints.
3340 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3343 * text.C (Delete): compile fix.
3344 (getPar): ensure that function declaration is the same as that in
3347 2004-03-23 Angus Leeming <leeming@lyx.org>
3349 * ispell.C (LaunchIspell):
3350 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3351 a boost::shred_ptr rather than a std::auto_ptr.
3353 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3355 * lyxfunc.C (getStatus): handle read-only buffers correctly;
3356 handle LFUN_FILE_INSERT_*
3358 * lyxrc.C (setDefaults, getDescription, output, read):
3359 * lyxrc.h: remove ps_command
3361 2004-03-22 Angus Leeming <leeming@lyx.org>
3363 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3364 Ensure that error_handler is processed once only and that all data
3365 is saved before attempting to output any warning messages.
3367 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3369 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
3371 * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3373 2004-03-19 André Pönitz <poenitz@gmx.net>
3375 * cursor.[Ch] (reset): take main text inset as argument
3377 * BufferView: adjust
3378 * BufferView_pimpl.C: adjust
3380 * paragraph.[Ch]: fix completely broken operator=()
3382 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3384 * LColor.C (getFromLyXName): make sure that the color name is used
3387 2004-03-17 Angus Leeming <leeming@lyx.org>
3390 * LyXAction.C (init): remove LFUN_FORKS_KILL.
3392 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3393 dialog and to kill a forked process.
3395 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3397 * text2.C (setCursorFromCoordinates): fix font problem
3399 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3401 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3402 bogus "rebuild cursor" code
3404 2004-03-11 André Pönitz <poenitz@gmx.net>
3406 * buffer.[Ch]: use InsetText instead of LyXText as container for
3409 * dociterator.[Ch]: drop the BufferView * member which is not needed
3410 anymore after the change to buffer.C
3412 * paragraph_funcs.C:
3416 * BufferView_pimpl.[Ch]:
3418 * cursor_slice.[Ch]: adjust
3420 * text3.C: fix bug in mathDispatch
3422 2004-03-08 André Pönitz <poenitz@gmx.net>
3424 * undo.[Ch]: use 'StableDocumentIterator' as base for
3427 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3430 * bufferparams.[Ch]: add jurabib support and param.
3432 * LaTeX.C: add FIXME/comment.
3434 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3436 * buffer.C: increment file format to 230.
3438 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
3440 * cursor.C (dispatch): avoid infinite loops
3442 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3444 * rowpainter.C (paintSelection): fix x coordinates
3446 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3448 * text.C (rowBreakPoint): fix breaking before displayed insets
3450 2004-03-01 André Pönitz <poenitz@gmx.net>
3452 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3454 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3458 * BufferView_pimpl.C:
3466 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3472 * BufferView_pimpl.C: rename textwidth -> maxwidth,
3473 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3475 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3477 * Bidi.[Ch] (computeTables): const correctness
3478 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3479 fill_hfill, fill_label_hfill and x from Row
3480 * lyxtext.h: prepareToPrint returns a RowMetrics
3481 * rowPainter.C: adjust
3482 * text.C (prepareToPrint): use width, not textWidth. adjust
3483 (redoParagraphInternal, cursorX): adjust
3484 * text2.C (getColumnNearX): adjust
3485 (init): put a default value to the top LyXText::width
3487 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3489 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3491 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3493 * lyxtext.h: add FontIterator class
3495 * text.C (FontIterator, operator*, operator->, operator++): add
3496 (rowBreakPoint, setRowWidth): adjust (fixing a
3499 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3501 * BufferView_pimpl.C (workAreaDispatch): allow also
3502 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3504 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
3506 * text.C (rowBreakPoint): fix a bug showing with very large insets
3508 2004-02-25 André Pönitz <poenitz@gmx.net>
3511 * cursor.[Ch]: move some mathed specific code to mathed
3513 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3515 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3516 use_tempdir in preferences
3517 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3519 * lyx_main.C: ensure that tempdir is valid
3520 * lyxlex.h: correct typo
3521 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3522 * paragraph.[Ch] (isMultiLingual): make const
3523 * cursor.[Ch] (openable): make const
3525 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3527 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3529 2004-02-20 André Pönitz <poenitz@gmx.net>
3531 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3533 * cursor.[Ch]: prepare for localized getStatus()
3539 * text3.C: streamlines the LyXText cursor movement handlers a bit.
3541 2004-02-20 André Pönitz <poenitz@gmx.net>
3543 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3545 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3547 * text2.C (setCursorFromCoordinates): switch to absolute coords
3549 (cursorDown): adjust
3550 * text3.C (dispatch): adjust
3552 2004-02-16 André Pönitz <poenitz@gmx.net>
3554 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3557 * cursor_slice.[Ch]: remove unneeded acessor function
3559 * lyxtext.h: rename rtl() to isRTL()
3567 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3569 * rowpainter.C (paintSelection): coord fix
3571 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3573 * Spacing.C: compile fix
3575 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3577 * cursor.C (dispatch): restore current_ before returning
3579 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3581 * text2.C (cursorUp, cursorDown): fix coords
3584 2004-02-12 André Pönitz <poenitz@gmx.net>
3589 * text3.C: add LCursor & parameter to most cursor movement functions
3590 remove usage of LyXText::cursorRow() and cursorPar()
3592 * cursor.[Ch]: add textRow() needed members
3595 * BufferView_pimpl.C:
3598 * BufferView_pimpl.C: adjust
3600 2004-02-11 André Pönitz <poenitz@gmx.net>
3604 * BufferView_pimpl.C: shift undo/redo handling
3606 * cursor.[Ch]: fix mathed crash
3609 * lyxtext.h: move selectionAsText to LCursor
3617 * rowpainter.C: fix excessive drawing
3619 2004-02-06 André Pönitz <poenitz@gmx.net>
3622 * BufferView_pimpl.[Ch]:
3623 * text3.C: move some text specific LFUN handling
3625 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
3627 * text3.C (checkInsetHit): adjust coords
3628 * text2.C (getColumnNearX): adjust coords
3629 (edit): adjust coords
3630 * text.C (getRowNearY): add two asserts
3632 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
3635 * format.C: add using std::distance to compile on gcc 2.95/stlport
3637 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
3639 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3641 2004-02-04 André Pönitz <poenitz@gmx.net>
3643 * BufferView.[Ch] (insertInset):
3644 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3649 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3651 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3652 on the default clause of the switch
3653 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3654 wasn't catched by LCursor::dispatch
3656 2004-02-03 André Pönitz <poenitz@gmx.net>
3659 * cursor.[Ch]: some additional asserts
3661 * undo.[Ch]: remove LyXText dependency in interface
3665 * lyxtext.h (firstPar, lastPar): remove dead functions
3670 * paragraph.[Ch]: adjust
3672 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3674 * lyxfind.C (find): fix argument order in call to ::find
3676 2004-02-02 André Pönitz <poenitz@gmx.net>
3678 * cursor.[Ch]: remove direct access to anchor
3680 * text.C: remove findText() hack
3682 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3684 * iterators.[Ch] (lockPath): remove in favour of...
3685 * BufferView.[Ch] (setCursor): this addition
3686 * BufferView.C (putSelectionAt): adjust
3687 * undo.C (performUndoOrRedo): adjust
3688 * lyxfunc.C (dispatch): adjust
3690 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3692 * iterators.C (lockPath): add a missing slice
3693 * undo.C (performUndoOrRedo): remove redundant positioning code
3695 2004-02-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3697 * vc-backend.C (scanMaster): ";" -> ';'
3699 2004-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
3701 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3702 std::binary_function
3704 * lyxtextclass.C (compare_name): rename to...
3705 (LayoutNamesEqual): ...this
3707 * lyxlex_pimpl.C (compare_tags): inherit from
3708 std::binary_function, put back into anon namespace
3710 * lyxfind.C (MatchString): inherig from std::binary_function
3711 (findChange): use empty() istead of !size()
3713 * format.C (FormatNamesEqual): new functor
3720 * converter.C (compare_Converter): rename to...
3721 (ConverterEqual): ...this, and fixup a bit.
3722 (getConverter): use it, and make function const
3723 (getNumber): use it, and make function const
3727 * bufferlist.C: add using boost::bind
3729 * MenuBackend.C (MenuNamesEqual): new functor
3730 (hasMenu): use it, and make function const
3731 (hasSubmenu): use nested bind to get rid of compare_memfun.
3733 2004-01-30 André Pönitz <poenitz@gmx.net>
3735 * BufferView_pimpl.C:
3738 * cursor_slice.[Ch]:
3741 * paragraph_funcs.C:
3742 * paragraph_funcs.h:
3746 * text3.C: move some of the edit(x,y) handling to the insets
3747 some coordinate changes.
3749 2004-01-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3751 * text.C: add using statements for std::advance and std::distance
3753 * paragraph.C: add using statement for std::distance
3755 * lyxfind.C: add using statement for std::advance
3757 * cursor.C (region): remove std:: from swap
3758 (openable): use nucleus in stead of operator->
3760 * BufferView.C: add using statements for std::distance and std::swap
3762 2004-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3764 * iterators.C: Remove the pimple, move the needed structures to
3765 the header file. Create accessor for the positions stack.
3766 (asPosIterator): remove function
3768 * PosIterator.C (PosIterator): move constructors to top of file
3769 (PosIterator): reimplement the constructor taking a ParIterator in
3771 (setFrom): new function
3772 (operator!=): inline it
3774 2004-01-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3776 * lyxfind.C (replaceAll): use std::advance
3778 * iterators.h: inherit from std::iterator.
3780 * PosIterator.C (advance, distance): remove
3781 * PosIterator.h: interit from std::iterator.
3783 2004-01-26 André Pönitz <poenitz@gmx.net>
3786 * BufferView_pimpl.[Ch]:
3790 * bufferview_funcs.C:
3800 * output_linuxdoc.C:
3801 * output_plaintext.C:
3803 * paragraph_funcs.[Ch]:
3804 * paragraph_pimpl.[Ch]:
3810 * text3.C: more IU: dumps most of the rest of the mathcursor
3811 implementation into cursor.[Ch]; "globalize" a bit of it.
3813 2004-01-25 Angus Leeming <leeming@lyx.org>
3815 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3817 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3819 * LaTeXFeatures.h: add nice_ and nice() const
3820 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3822 2004-01-20 André Pönitz <poenitz@gmx.net>
3825 * BufferView_pimpl.C:
3827 * bufferview_funcs.C:
3829 * cursor_slice.[Ch]:
3840 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3841 LCursor and mathcursor parts to LCursor and InsetBase.
3843 2004-01-15 André Pönitz <poenitz@gmx.net>
3845 * cursor_slice.[Ch]: add a few covienience functions
3847 * funcrequest.[Ch]: remove BufferView * member
3849 * BufferView_pimpl.C:
3856 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
3858 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
3860 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
3861 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3863 2004-01-13 André Pönitz <poenitz@gmx.net>
3866 * lyxtext.h: hide cursor and selection anchor behind accessor function
3869 * BufferView_pimpl.[Ch]:
3871 * bufferview_funcs.C:
3881 * cursor_slice.[Ch]: some integer type changes for inset unification
3883 * lyxcursor.[hC]: remove, it's CursorSlice now.
3886 * BufferView_pimpl.[Ch]:
3887 * bufferview_funcs.C:
3893 * textcursor.[Ch]: adjust
3895 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
3897 * text2.C (undoSpan): add and use
3898 * text.C (breakParagraph): use undoSpan (fix bug 578)
3901 2004-01-08 Angus Leeming <leeming@lyx.org>
3903 * BufferView_pimpl.C (MenuInsertLyXFile):
3904 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3905 * lyxfunc.C (menuNew, open, doImport):
3906 FileFilterList change to the FileDialog open and save functions.
3908 2004-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
3910 * ShareContainer.h: make isEqual and isUnique adaptable
3912 * CutAndPaste.C: make resetOwnerAndChanges adaptable
3914 2004-01-07 Angus Leeming <leeming@lyx.org>
3917 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3919 * BufferView_pimpl.C (dispatch): act on these LFUNs.
3921 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3922 functions replacing find, replace and replaceAll.
3924 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3925 LFUN_WORDFIND(FORWARD|BACKWARD).
3927 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3929 * text.C (breakParagraph): remove an outdated #warning
3931 2004-01-07 André Pönitz <poenitz@gmx.net>
3933 * lyxfind.C: somewhat clearer logic
3935 * text.C: prevent crash in cursorX on unitialized row cache
3937 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3939 * lyxcursor.[Ch] (operator>): add
3940 * textcursor.C (selStart, selEnd): use std::min and std::max
3942 2004-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3944 * Chktex.C: include boost/format.hpp
3946 2004-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
3948 * InsetList.C: replace functor MathcIt with adaptable functor
3950 (insetIterator): modify accordingly
3952 * BranchList.h: move the BranchNamesEqual functor here from...
3953 * BranchList.C: ... to here
3955 * BranchList.C: new BranchListEqual fuctor, use it. Remove
3957 (add): replace a finding loop with std::find_if.
3959 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
3961 * output_docbook.C: moving LatexParam functionality into
3964 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3966 * buffer.C: increment format to 229.
3968 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
3971 * lyx_sty.[Ch]: remove minipageindent_def
3977 * text3.C: remove LFUN_INSET_MINIPAGE
3979 2003-12-28 Angus Leeming <leeming@lyx.org>
3981 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
3983 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
3985 * text2.C (setParagraph): fix off-by-one crash
3987 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
3989 * output_docbook.C: header stuff for AGU
3991 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
3993 * text2.C (redoCursor): remove
3996 * BufferView_pimpl.C: remove calls to redoCursor and
3997 setCursor(cursor.par(), cursor.pos()) all around
3999 2003-12-15 Angus Leeming <leeming@lyx.org>
4001 * buffer.C: up the format to 228.
4003 2003-12-15 André Pönitz <poenitz@gmx.net>
4005 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
4010 * BufferView_pimpl.C:
4019 2003-12-15 Angus Leeming <leeming@lyx.org>
4021 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
4022 than getFromGUIName to manipulate the color.
4024 2003-12-14 Angus Leeming <leeming@lyx.org>
4026 * BranchList.[Ch]: minimize the API.
4027 (Branch::getBranch, getColor): now return a 'const &'.
4028 (Branch::setSelected) now returns a bool set to true if the
4029 selection status changes.
4030 (BranchList::clear, size, getColor, setColor, setSelected,
4031 allBranches, allSelected, separator): removed.
4032 (BranchList::find): new functions, returning the Branch with
4034 (BranchList::add, remove): return a bool indicating that
4035 the operation was successful.
4037 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
4038 new InsetBranch::isBranchSlected member function.
4040 * LColor.[Ch]: mimimize the API.
4041 (fill): renamed as addColor and made private.
4042 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
4043 versions of these functions taking a string arg have been removed.
4045 * bufferparams.C (readToken):
4046 * lyxfunc.C (dispatch):
4047 * lyxrc.C (read): changes due to the altered BranchList and
4050 * factory.C (createInset, readInset): changes due to altered
4053 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4056 * lyxfunc.C: remove insetminipage. "minipage-insert"
4057 now produces a frameless minipage box inset.
4059 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4061 * textcursor.[Ch] (selStart,selEnd): add new methods
4062 remove selection::start, end, use LyXCursor::operator<
4063 * lyxcursor.[Ch] (operator<): add
4064 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
4065 * BufferView.[Ch] (unsetXSel): add
4066 * text2.C (clearSelection): use unsetXSel,adjust
4069 * rowpainter.C: adjust
4070 * bufferview_funcs.C (put_selection_at): adjust
4072 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4074 * BufferView_pimpl.C: small coord. correction
4076 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4078 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
4079 dragging over the splash screen.
4081 2003-12-11 Angus Leeming <leeming@lyx.org>
4083 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
4084 as it is now handled in LyXText::dispatch.
4086 * text3.C (doInsertInset): remove a level of nesting.
4088 2003-12-11 Angus Leeming <leeming@lyx.org>
4090 * factory.C (createInset): changes due to the changed interface to
4091 InsetCommandMailer::string2params.
4093 2003-12-10 Angus Leeming <leeming@lyx.org>
4095 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
4096 'dialog-show-new-inset <inset name>'
4098 2003-12-10 Angus Leeming <leeming@lyx.org>
4100 * buffer.C: up the format to 227.
4102 * factory.C: the box inset is now identified simply by 'Box'.
4104 2003-12-10 Angus Leeming <leeming@lyx.org>
4106 * buffer.C: up the format to 226.
4108 * factory.C: the note inset is now identified simply by 'Note'.
4110 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
4112 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
4113 when a pit is enough. Standarize a couple of loops.
4115 2003-12-05 Angus Leeming <leeming@lyx.org>
4117 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
4118 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
4119 data to the re-worked "log" dialog.
4121 2003-12-03 André Pönitz <poenitz@gmx.net>
4127 * paragraph_funcs.C:
4129 * text2.C: use Inset::getText instead of Inset::getParagraph
4131 2003-12-03 André Pönitz <poenitz@gmx.net>
4135 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
4136 InsetText::read() as LyXText::read()
4138 2003-12-02 Angus Leeming <leeming@lyx.org>
4140 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
4141 type. Add a comment in the implementation that the function uses
4142 the stream's bad() function rather than fail() as the std::streams
4145 2003-12-02 André Pönitz <poenitz@gmx.net>
4147 * lyxlex.[Ch]: make interface more similar to std::stream
4149 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
4151 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
4153 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
4155 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
4157 * vspace.[Ch]: remove VSpace::NONE
4159 2003-12-01 André Pönitz <poenitz@gmx.net>
4162 * lyxtext.h: move ParagraphList member to LyXText
4163 rename LyXText::ownerParagraphs to LyXText::paragraph
4166 * bufferview_funcs.C:
4176 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
4178 * undo.C: fix cursor positioning
4180 2003-12-01 John Levon <levon@movementarian.org>
4182 * BufferView_pimpl.C: fix a crash on exit with
4185 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
4187 * BranchList.C: fix setSelected() method.
4189 2003-11-28 André Pönitz <poenitz@gmx.net>
4191 * ParagraphParameters.[Ch]:
4192 * ParameterStruct.h: remove space above/below from Paragraph to
4195 * BufferView_pimpl.C:
4201 * paragraph_funcs.C:
4207 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
4209 * factory.C: Syntax change for CharStyles
4211 2003-11-28 André Pönitz <poenitz@gmx.net>
4216 * buffer.[Ch]: move LyXText member
4218 2003-11-28 André Pönitz <poenitz@gmx.net>
4220 * BufferView.[Ch]: make LyXText * text a private member
4222 * BufferView_pimpl.C:
4233 * output_plaintext.C: cleanup
4235 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
4238 * lyxtextclass.[Ch]: parametrize SGML document header
4240 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
4243 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4246 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
4248 * text2.C (setFont): rework using PosIterator (no more recursive)
4249 (setCharFont): no more needed
4250 (setLayout): no more selection cursors fiddling (done by redoCursor)
4251 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4252 destroy remaining ones)
4254 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
4256 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4258 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4261 * text3.C: adjust + re-allow multi par depth changes
4262 * textcursor.C: simplify a bit
4264 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
4270 * src/output_docbook.C:
4271 * src/output_latex.C:
4276 * src/text2.C: Introducing a number of tags parametrizing various
4277 XML formats that we may want to support
4279 2003-11-25 André Pönitz <poenitz@gmx.net>
4281 * InsetList.[Ch] (begein, end): inline as suggested by profiler
4283 * lyxtext.h (leftMargin/rightMargin): simplify interface
4290 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4292 * lyxfunc.C (dispatch): propogate the bibtex databases from the
4293 master file to any child files. Fixes bug 546.
4295 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4297 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4299 2003-11-24 André Pönitz <poenitz@gmx.net>
4301 * rowpainter.C: simplification
4303 * text2.C (updateCounters): remove call to redoParagraph on
4304 changed labels as this is far too expensive.
4306 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4308 * converter.C (convert): fix a crash: this function gets
4309 called with buffer == 0 from importer code.
4311 2003-11-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4313 * text3.C (cursorPrevious): make sure that we do not compare
4314 iterators form different containers.
4317 * rowpainter.C (paintSelection): make sure that we do not compare
4318 iterators from different containers.
4320 * text3.C (dispatch): [PRIOR] make sure that we do not compare
4321 iterators from different ParagraphList containers.
4324 * text2.C (LyXText): change order of initialization slightly
4325 (operator=): new function. copy all variables except cache_par_
4326 (moveUp): make sure that we do not compare iterators from
4327 different ParagraphList constainers.
4330 * text.C (firstPar): new function
4331 (lastPar): new function
4332 (endPar): new function
4334 * lyxtext.h: move things around and group public functions, public
4335 variables, private functions, private variables
4337 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
4339 * factory.C: change call to InsetERT constructor to avoid
4340 additional invocation of method status
4341 * text2.C (toggleInset): remove redundant update() call
4342 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4343 instead of a Bufferview pointer
4345 2003-11-21 André Pönitz <poenitz@gmx.net>
4347 * rowpainter.C: simplification
4349 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4351 * text3.C (dispatch): make possible to extend a word/row selection
4354 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4356 * lyxtext.h: x0_,y0_ -> xo_,yo_
4357 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4358 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4359 * rowpainter.C (paintRows): paint full paragraphs
4361 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4363 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4366 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4368 * lyxtext.h: add x0_, y0_
4369 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4370 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4372 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
4374 * text2.C (setCursorIntern): move the x_target update here *
4375 * text3.C: change some bv() to true/false in calls to
4376 cursorUp/Down/Right/Left
4377 * cursor.C: use helper function.
4379 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4381 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4382 * paragraph_funcs.[Ch]: correct comment
4383 * rowpainter.C: do not paint selections away from bv->cursor()
4384 Fix a long standing selection painting bug.
4385 * text3.C: generalize mouse-selection code to LyXTexts other that
4387 * textcursor.C: do not use y coords if we can use par offsets
4389 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4391 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4392 cursor position after e.g. inset insert)
4394 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
4396 * lyxfind.C (replace): adjust to locking removal + some
4399 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
4401 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4404 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
4407 * output_docbook.C: XML sanitation: new layout
4408 parameters InnerTag and CommandDepth
4410 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
4412 * BufferView_pimpl.C:
4414 * text3.C: Fix the insertion and modification of button-style
4417 2003-11-13 André Pönitz <poenitz@gmx.net>
4419 * InsetList.[Ch]: remove deleteLyXText
4421 * paragraph.[Ch]: cache beginOfBody position
4426 * text3.C: remove superfluous update() calls
4430 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
4432 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4433 * BufferView.C (fitLockedInsetCursor): remove
4434 * cursor.[Ch] (getDim): add
4435 * text.C (getRowNearY): add faster version
4436 * text3.C: remove some update calls
4438 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
4450 * text3.C: The Character Style /XML short element patch.
4452 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
4455 * factory.C: Small step to solving 'unable to insert some insets'
4458 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
4460 * cursor.[Ch] (updatePos): new function for updating the y
4461 position of the tip inset
4462 * bufferview_funcs.C (put_selection_at):
4463 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4465 2003-11-11 André Pönitz <poenitz@gmx.net>
4467 * text.C: remove big comment on invalid Paragraph pointers as it is
4470 2003-11-11 André Pönitz <poenitz@gmx.net>
4472 * text_funcs.[Ch]: merge with ...
4480 * Makefile.am: remove text_funcs.[Ch]
4482 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
4484 * cursor.C (getPos): return absolute cached y coord
4486 * BufferView_pimpl.C (fitCursor): new simplistic code
4487 (workAreaDispatch): add a fitCursor call
4489 2003-11-10 André Pönitz <poenitz@gmx.net>
4492 * BufferView_pimpl.[Ch]: merge update() and updateInset()
4494 2003-11-10 André Pönitz <poenitz@gmx.net>
4496 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4497 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4498 indicate that the cursor needs to leave an inset
4500 * lyxtext.h: remove inset locking
4502 * cursor.[Ch]: re-implement functionality provided by inset locking
4505 * BufferView_pimpl.[Ch]:
4507 * bufferview_funcs.[Ch]:
4519 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
4521 * PosIterator.[Ch]: replace the stack with a vector, add inset
4523 * iterators.[C]: adjust
4525 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4527 * lyxfind.C (replaceAll): mark the buffer dirty if something was
4529 * paragraph_funcs.C (readParToken): put the correct id in the
4530 error item, not the id of the top paragraph
4532 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4534 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4535 * bufferview_funcs.C (put_selection_at): use the above
4537 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4539 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4541 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4543 * output_linuxdoc.h:
4544 * output_plaintext.h:
4546 * output_docbook.h: add #include statements
4548 2003-11-05 José Matos <jamatos@lyx.org>
4550 * output_docbook.[Ch]:
4551 * output_latex.[Ch]:
4552 * output_linuxdoc.[Ch]:
4553 * output_plaintext.[Ch]: New files for output formats.
4554 * output.[Ch]: New file for helper functions.
4557 * paragraph_funcs.[Ch]: output functions moved to new files.
4559 * outputparams.h: rename of latexrunparams.h
4567 * paragraph_funcs.[Ch]:
4568 * paragraph_pimpl.[Ch]:
4569 * tabular.[Ch]: rename ascii to plaintext
4570 and LatexRunParams to OutputParams.
4572 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4574 * iterators.[Ch] (text): require bv argument
4575 * undo.C (recordUndo):
4576 * lyxfunc.C (dispatch):
4577 * bufferview_funcs.C (put_selection_at): adjust
4579 2003-11-05 Jo� Luis M. Assirati <assirati@fma.if.usp.br>
4581 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4583 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4585 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4588 2003-11-04 André Pönitz <poenitz@gmx.net>
4590 * cursor.[Ch]: restructure
4593 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4595 * iterators.[Ch] (asCursor): remove
4597 * lfuns.h: remove LFUN_INSET_EDIT
4603 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4605 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4607 * lyxfind.[Ch]: complete overhaul
4608 * BufferView_pimpl.C:
4610 * paragraph.[Ch] (insert): add
4612 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4616 * text.C: remove dead spellcheck code
4618 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4620 * dispatchresult.h: add a val setter
4622 * cursor.C (dispatch): use a tempvar for data_[i]
4624 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4626 * PosIterator.[Ch]: compile fix
4628 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4630 * text.C (cursorPar): deactivate the cursor cache
4632 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4634 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4636 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4638 * text3.C (dispatch): adjust for new DisptchResult semantics.
4640 * lyxfunc.C (dispatch): handle update when return from
4641 Cursor::dispatch, adjust for new DispatchResult semantics.
4643 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4644 DispatchResult(true) mean to not update. Add class functions for
4645 setting dispatched and update, as well as reading.
4647 * cursor.C (dispatch): don't handle update here
4649 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4651 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4652 * trans_mgr.C: adjust
4654 * paragraph_funcs.C (readParToken): exception safety
4656 * lyxvc.h: store the vcs pointer in a scoped_ptr
4659 * lyxsocket.C (serverCallback): exception safety
4661 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4663 * ispell.C (clone): make it return a auto_ptr
4665 * factory.C (createInset): exception safety
4666 (readInset): exception safety
4668 * bufferlist.C (newBuffer): exception safety
4670 * Thesaurus.C (Thesaurus): use initialization for aik_
4672 * MenuBackend.C (expandToc): exception safety.
4674 2003-11-03 André Pönitz <poenitz@gmx.net>
4678 * bufferview_funcs.C: remove getInsetFromId()
4681 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4687 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4689 * PosIterator.C (distance, advance): new
4690 * bufferview_funcs.[Ch] (put_selection_at): new
4691 * iterators.[Ch] (lockPath): new
4693 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
4695 * iterators.[Ch] (asPosIterator): added
4696 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4697 * PosIterator.[Ch]: added
4699 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4703 * cursor.C (dispatch):
4704 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4706 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4707 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4708 contructor, add a class function dispatched. Remove operator>=
4710 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4712 * debug.C: only use the default constructor for debugstream
4715 * main.C (main): include debug.h and setup the lyxerr streambuf
4718 2003-10-31 José Matos <jamatos@lyx.org>
4720 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4722 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4723 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4724 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4725 * paragraph_pimpl.C (simpleTeXSpecialC):
4726 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4727 add LatexRunParams argument.
4729 * exporter.C (Export): change call accordingly.
4731 * latexrunparams.h: add new member to take care of the other backends.
4732 2003-10-30 José Matos <jamatos@lyx.org>
4734 * buffer.C (makeLinuxDocFile, makeDocBookFile):
4735 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4736 factorise code for paragraph output.
4738 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4741 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4743 * text3.C (dispatch):
4744 * lyxfunc.C (dispatch):
4745 * cursor.C (dispatch):
4746 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4748 * dispatchresult.h: make the dispatch_result_t ctor explicit
4750 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
4753 * buffer.C: small refactoring of docbook stuff
4755 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4757 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4760 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4762 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4763 operator dispatch_result_t, and operators for == != and >=
4765 * cursor.C (dispatch): adjust for operator dispatch_result_t
4766 removal. comment out call to update
4768 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4770 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4778 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4781 * dispatchresult.h: new file, DispatchResult broken out of
4784 * Makefile.am (lyx_SOURCES): add dispatchresult.h
4786 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4788 * text.C (rowBreakPoint): put a hack inside #if 0
4790 2003-10-28 André Pönitz <poenitz@gmx.net>
4794 * paragraph_funcs.C:
4797 * text2.C: general cleanup (lots of small stuff)
4799 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4801 * text2.C (cursorEnd): simple fix to the "end key goes to one
4802 before the end on last row" bug
4804 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4806 * text.C (backspace): fix the "zombie characters"
4808 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4810 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4812 2003-10-27 André Pönitz <poenitz@gmx.net>
4814 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4816 * factory.C: handle new InsetPagebreak, InsetLine
4818 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4819 and move handling into new InsetPagebreak, InsetLine
4821 * BufferView_pimpl.C:
4823 * ParagraphParameters.C:
4824 * ParameterStruct.h:
4829 * paragraph_funcs.C:
4830 * paragraph_pimpl.C:
4836 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4839 * lyxrow_funcs.[Ch]:
4845 * text3.C: remove lastPos uses in favour of Row::endpos
4847 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4849 * undo.C (performUndoOrRedo): fix two crashes by setting a
4850 cursor by hand and reordering some calls. Use bv->lockInset instead
4851 of inset->edit because the latter loses cursor information
4853 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
4855 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4857 (rowBreakPoint): fix width. change point to point + 1.
4858 Add a missing check.
4860 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
4863 * lyxfunc.C: fix (at least partly) the problems
4864 with the Nav menu and headers inside branch insets
4867 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
4869 * paragraph.C (getChar): add strong asserts
4871 * lyxrow_funcs.C (lastPos): remove hideous hack
4873 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4874 (fill): adjust to that (avoid an infinite loop)
4876 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
4878 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4880 2003-10-23 André Pönitz <poenitz@gmx.net>
4882 * RowList_fwd.h: change list<> to vector<> to gain speed
4883 after suggestion from Alfredo
4885 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
4887 * lyxtext.h: move the bidi stuff from here...
4890 * Bidi.[Ch]: ... to here
4892 2003-10-23 André Pönitz <poenitz@gmx.net>
4895 * text.C (isLastRow, isFirstRow): new functions
4897 * paragraph.h: new width cache member
4899 * rowpainter.C: replace RowList::iterator with Row & where possible
4901 * lyxfunc.C: replace several view()->text with a single call
4903 * toc.C: fix 'unused' warning
4905 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4907 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4908 when woring with stream::pos_type
4909 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4911 2003-10-22 André Pönitz <poenitz@gmx.net>
4914 * text.C: use Row & instead of RowList::iterator
4916 * lyxrow.h: rename end() to endpos()
4922 2003-10-22 Angus Leeming <leeming@lyx.org>
4924 * buffer.[Ch] (fully_loaded): new member function, returning true
4925 only when the file has been loaded fully.
4926 Used to prevent the premature generation of previews and by the
4927 citation inset to prevent computation of the natbib-style label.
4929 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4930 templates are all set up.
4932 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4934 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
4936 * text.C: fixed an "oops" in the "is a bit silly"
4939 2003-10-21 André Pönitz <poenitz@gmx.net>
4941 * FuncStatus.[Ch]: small stuff, whitespace
4943 * lyxfont.[Ch]: operator<<() for debug reasons
4947 * lyxtext.h: whitespace, spelling
4949 * paragraph.C: naming of variables
4952 * text2.C: small stuff
4955 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
4957 * text.C: (1) finish off the inset display() work;
4958 (2) fix the "is a bit silly" bug (accessing char
4961 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
4963 * text.C: re-introduce display() for insets, fixing the
4964 various bugs (stretch of line above, math inset
4967 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4969 * text.C (rightMargin): remove spurious semicolon
4971 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
4974 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
4976 * text3.C: fix one crash due to wrong cursor def
4978 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4980 * vc-backend.C (scanMaster): make the regex static
4982 * LaTeX.C (scanAuxFile): make the regexs static
4984 * text3.C (doInsertInset, dispatch, dispatch):
4985 * text2.C (cursorUp, cursorDown):
4986 * text.C (selectNextWordToSpellcheck):
4987 * BufferView_pimpl.C (dispatch):
4988 * lyxfunc.C (dispatch): localDispatch -> dispatch
4990 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4992 * lyxsocket.C: include <cerrno>
4994 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4996 * lyxfunc.C (dispatch): remove textcache stuff
4998 * bufferlist.C (release): remove textcache stuff
5001 * TextCache.C: delete file
5002 * TextCache.h: delete file
5004 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
5006 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
5007 delete of the bv_->text.
5008 (resizeCurrentBuffer): remove texcache stuff
5009 (workAreaResize): ditto
5011 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5013 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
5016 2003-10-16 André Pönitz <poenitz@gmx.net>
5023 * text3.C: speed up by storing y positions per paragraph plus per-row
5024 offset instead of having a 'full' y position in the row.
5026 2003-10-15 André Pönitz <poenitz@gmx.net>
5030 * undo.[Ch]: make undo aware of inner insets
5032 2003-10-14 Angus Leeming <leeming@lyx.org>
5034 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
5035 static member functions LyX::ref() and LyX::cref.
5036 (lastfiles): new accessor functions for the new lastfiles_ member var.
5037 (addLyXView, views_): add a new LyXView to the list of views_.
5038 (updateInset): loop over all LyXViews to call their own updateInset
5039 member function, returning a pointer to the Buffer owning the inset.
5041 * BufferView_pimpl.C (loadLyXFile):
5042 * MenuBackend.C (expandLastfiles):
5043 * bufferlist.C (MenuWrite, QuitLyX):
5044 lastfiles is no longer a global variable.
5045 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
5047 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
5048 static function. Access through LyX::cref().emergencyCleanup().
5050 2003-10-14 André Pönitz <poenitz@gmx.net>
5052 * iterators.[Ch]: new direct access to innermost LyXText and Inset
5054 * undo.[Ch]: restoring part of 'undo in insets'
5057 * undo_funcs.[Ch]: merge with undo.[Ch]
5059 * tabular.C: small cleansing stuff
5061 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
5063 * paragraph_funcs.C (readParToken): report unknown insets as error
5064 boxes. Use the outer paragraph as location (also for unknown
5067 * factory.C (readInset): do not abort on reading an unknown inset.
5068 Eat it and return 0.
5070 2003-10-13 Angus Leeming <leeming@lyx.org>
5072 * lyx_main.C (LyX): remove call to setDisplayTranslator().
5074 * lyxrc.C: displayTranslator is now a function,
5075 declared in GraphicsTypes.h.
5077 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5079 * format.C: new placeholder $$a to pass the socket address.
5081 * bufferlist.[Ch]: new function getBufferFromTmp.
5083 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
5084 files in the temporary dir.
5086 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5088 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
5090 * Makefile.am: add lyxsocket.[Ch].
5092 * lyx_main.C (error_handler): handle SIGPIPE.
5094 2003-10-13 André Pönitz <poenitz@gmx.net>
5096 * BufferView_pimpl.C:
5101 * undo_funcs.[Ch]: use paroffset_type instead of
5102 ParagraphList::iterators to prevent multiple conversion
5103 (and get a more robust interface)
5105 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5107 * lyxfunc.C (dispatch): RESULT -> dispatch_result
5109 * text3.C (dispatch): ditto
5111 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5113 * LaTeX.C (handleFoundFile): move the static to smaller scope,
5114 move the onlyfile, use onlyfile instead of foundfile in a couple
5117 * DepTable.C (update): flush the error stream a bit more
5119 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5121 * lyxserver.C (callback): adjust
5123 * lyxfunc.C (getStatus): add a missing brace in commented code
5124 (ensureBufferClean): reindent
5125 (dispatch): delete version taking a string
5127 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5129 * LaTeX.C (deplog): move found file handlig from here...
5130 (handleFoundFile): .. to new function here.
5131 (deplog): make sure to discover several files mentioned on the
5134 2003-10-10 André Pönitz <poenitz@gmx.net>
5141 * text3.C: fix some of the tabular crashes
5143 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5145 * MenuBackend.C (binding): put debug message into Debug::KBMAP
5147 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
5149 2003-10-09 André Pönitz <poenitz@gmx.net>
5151 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
5154 * BufferView_pimpl.C:
5155 * bufferview_funcs.C:
5166 * undo_funcs.C: adjust
5168 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5170 * text2.C (incrementItemDepth): new function, use a backtracking
5171 algorithm to discover the correct item depth.
5172 (resetEnumCounterIfNeeded): new function, use a backtracking
5173 algorithm to discover if counter reset is needed.
5174 (setCounter): use them. Simplify a bit. Add different labels for
5175 different item depths for itemize.
5177 * paragraph.C (Paragraph): remove initialization of enumdepth
5180 * paragraph.h: get rid of enumdepth, and use itemdepth both for
5181 enumerate and itemize. Change the type of itemdepth to signed char.
5183 2003-10-08 André Pönitz <poenitz@gmx.net>
5185 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5190 * tabular.[Ch]: fix crash after 'row-insert'
5192 2003-10-08 Angus Leeming <leeming@lyx.org>
5194 Fix doxygen warnings.
5196 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5197 Remove CutAndPaste:: prefix from header file declaration.
5199 * LColor.h (fill): remove LColor:: prefix from declaration.
5201 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5202 use lyx::depth_type rather than Paragraph::depth_type so that
5203 header file and .C file match.
5205 * converter.h (intToFormat): remove Converters:: prefix from declaration.
5207 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5208 * aspell.C: \file aspell_local.C -> \file aspell.C
5209 * gettext.C: \file gettext.C -> \file src/gettext.C
5210 * gettext.h: \file gettext.h -> \file src/gettext.h
5211 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5212 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5213 * text.C: \file text.C -> \file src/text.C
5215 * toc.C: move comment so that doxygen is not confused.
5217 2003-10-07 Angus Leeming <leeming@lyx.org>
5219 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5221 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5224 * aspell_local.h: add forgotten std::string's.
5226 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
5233 * text3.C: The Box patch. Fancybox support, minipage, parbox
5235 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
5241 * ParagraphParameters.h:
5251 * lyxtextclasslist.h:
5254 * paragraph_pimpl.C:
5255 * textcursor.h: add <string> and other small fixes to make Lars'
5256 std::string patch compile with STLport.
5258 2003-10-06 Angus Leeming <leeming@lyx.org>
5260 * LColor.h: Add missing #include <string>.
5262 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5264 * All most all file in all subdirs: Make <string> be the prefered
5265 way of getting to std::string, add using declarations.
5267 2003-10-06 André Pönitz <poenitz@gmx.net>
5269 * metricsinfo.C: initialize LyXFont before changing attribute.
5270 (fixes the 'math in \emph is upright' bug)
5272 2003-10-06 André Pönitz <poenitz@gmx.net>
5274 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5276 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
5279 * paragraph_pimpl.C: Small fixes to build using STLport
5281 2003-10-02 André Pönitz <poenitz@gmx.net>
5284 * text3.C: move handling of LFUN_DEPTH *; fix #1360
5286 2003-10-01 André Pönitz <poenitz@gmx.net>
5288 * factory.C: assert early
5290 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5292 * lyx_main.C: remove the global debug object
5294 * debug.h: adjust for new debugstream
5296 * debug.C: adjust for new debugstream and keep the global debug
5299 2003-09-22 Angus Leeming <leeming@lyx.org>
5301 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5302 of g++ which otherwise complain that the scoped_ptr destructor can't delete
5303 an incomplete class LyXFont.
5305 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
5307 * factory.C: bug fix in branches
5309 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5311 * lyxfunc.C (processKeySym): adjust
5313 (dispatch): change arg name from ev to func, adjust
5314 (sendDispatchMessage): ditto
5316 * lyx_main.C (defaultKeyBindings): adjust keybindings
5317 (deadKeyBindings): ditto
5319 * kbsequence.C (addkey): return a FuncRequest
5321 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5323 * kbmap.C (bind): take a FuncRequest as arg, adjust
5326 (defkey): change to take a FuncRequest as arg, adjust
5327 (findbinding): take a FuncRequest as arg, adjust.
5329 * funcrequest.h (operator=): added
5331 * funcrequest.C (FuncRequest): default kb_action changed from
5332 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5334 * buffer.C (dispatch): simplify
5335 (dispatch): adjust to take a FuncRequest as arg, adjust
5337 * boost.C (assertion_failed): change assertion message slightly
5339 * ToolbarBackend.C (read): simplify
5341 * MenuBackend.C (binding): adjust call to findbinding, add a
5342 message if no binding is found.
5344 (expandToc): correct by adding a empty FuncRequest
5346 * LyXAction.C: include <boost/assert.hpp>
5347 (isPseudoAction): delete function
5348 (LookupFunc): change name to...
5349 (lookupFunc): this. change return type to FuncRequest.
5350 (getActionName): take kb_action as arg, simplify
5351 (funcHasFlag): add an assert, simplify.
5353 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5355 * toc.C (action): return a FuncRequest, simplify
5357 * lyxfunc.C (processKeySym): adjust
5358 (getStatus): delete version that takes an int.
5360 (dispatch): delete version that takes action as int
5362 (sendDispatchMessage): simplify and adjust
5364 * funcrequest.C (getArg): take unsigned int as arg
5366 * ToolbarBackend.C (read): adjust
5367 (add): delete version that takes func as a string.
5368 (getIton): take a FuncRequest as arg
5370 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5373 * MenuBackend.C (MenuItem): add a new construct that only takes a
5374 Kind, simplify the constructor use for submenus.
5376 (expandLastfiles): adjust
5377 (expandDocuments): adjust
5378 (expandFormats): adjust
5379 (expandFloatListInsert): adjust
5380 (expandFloatInsert): adjust
5381 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5383 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5384 Remove class variables lyx_pseudo_map and lyx_arg_map
5386 * LyXAction.C (searchActionArg): delete function
5387 (getPseudoAction): delete function
5388 (retrieveActionArg): delete function
5389 (LookupFunc): make it return kb_action, simplify.
5390 (getActionName): simplify
5392 * factory.C (createInset): fix new bug
5394 2003-09-19 Angus Leeming <leeming@lyx.org>
5396 * CutAndPaste.C (pasteSelection): remove fudge used to set the
5397 masterFilename_ parameter in the include inset.
5399 * factory.C (createInset): changes due to the changes to InsetInclude.
5401 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5403 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5405 2003-09-18 Angus Leeming <leeming@lyx.org>
5408 * BufferView.C: pass the buffer when calling Inset::getLabelList,
5409 Inset::fillWithBibKeys.
5410 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5412 2003-09-18 Angus Leeming <leeming@lyx.org>
5414 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5416 (ctor): pass and store a 'Buffer const &'
5417 (buffer): new member function.
5419 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5420 '*this' to the LaTeXFeatures ctor.
5422 2003-09-18 Angus Leeming <leeming@lyx.org>
5428 * text.C: rename EnumLColor as LColor_color.
5430 2003-09-18 Angus Leeming <leeming@lyx.org>
5432 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5433 remove #include "insets/insetbase.h" from cursor.h.
5435 2003-09-18 Angus Leeming <leeming@lyx.org>
5437 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5438 InsetOld_code to remove #include "inset.h".
5440 * iterators.C: add #include "insets/inset.h"
5442 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
5444 * BufferView.C: remove more locking stuff that apparently doesn't
5445 do anything sensible.
5447 2003-09-16 André Pönitz <poenitz@gmx.net>
5450 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5453 2003-09-16 Angus Leeming <leeming@lyx.org>
5455 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5457 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5460 * paragraph.h: remove #include "lyxfont.h". Forward declare
5463 2003-09-16 Angus Leeming <leeming@lyx.org>
5465 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5466 of support/textutils.h.
5467 (isWord): move the contents of support/textutils.h's IsWordChar here.
5473 * text2.C: add #include "paragraph.h".
5476 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5478 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5484 * LaTeX.C: use namespace alias for lyx::support::os
5486 2003-09-16 Angus Leeming <leeming@lyx.org>
5489 * bufferview_funcs.C:
5492 * paragraph_pimpl.C:
5494 * text.C: add #include "LColor.h".
5496 2003-09-16 Angus Leeming <leeming@lyx.org>
5498 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5499 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5501 Store the FontBits::color variable as an int rather than as an
5502 LColor::colorso that we can move LColor.h out of the lyxfont.h header
5505 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5506 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5507 string calls together.
5509 * lyxrc.C: add #include "LColor.h".
5511 2003-09-15 Angus Leeming <leeming@lyx.org>
5513 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5516 2003-09-15 Angus Leeming <leeming@lyx.org>
5518 * LColor.h: add an EnumLColor wrapper for LColor::color.
5520 * lyxfont.[Ch] (color, setColor, realColor):
5521 * lyxtext.h, text.C (backgroundColor):
5522 pass EnumLColor args to/from the functions, rather than LColor::color
5526 * lyxtext.h: forward declare EnumLColor.
5528 * lyx_main.C: add #include "LColor.h".
5530 2003-09-15 Angus Leeming <leeming@lyx.org>
5532 * .cvsignore: add lyx-gtk.
5534 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5539 * ParagraphParameters.C
5543 * bufferview_funcs.C
5553 * vc-backend.C: remove usage of STRCONV
5555 2003-09-15 Angus Leeming <leeming@lyx.org>
5557 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5558 explicitly define the color passed to the painter.
5560 2003-09-15 Angus Leeming <leeming@lyx.org>
5562 * bufferparams.C (BufferParams): reorder member initializers to avoid
5565 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
5567 * CutAndPaste.C (pasteSelection): remove an outdated #warning
5568 * text.C (updateRowPositions): remove an unusual nop
5570 2003-09-12 André Pönitz <poenitz@gmx.net>
5572 * BufferView_pimpl.C:
5581 * Counters.[Ch]: finish the 'automatic counters' job
5583 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5585 * aspell.C: include <boost/assert.cpp> (compile fix)
5587 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
5589 * boost.C (assertion_failed): use lyx::support::abort instead of
5592 2003-09-10 Angus Leeming <leeming@lyx.org>
5594 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5595 with their _fwd progeny.
5597 2003-09-09 Angus Leeming <leeming@lyx.org>
5599 134 files throughtout the source tree: replace 'using namespace abc;'
5600 directives with the appropriate 'using abc::xyz;' declarations.
5602 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5604 * boost.C (emergencyCleanup): moved here from LAssert.c
5605 (assertion_failed): new function, called by BOOST_ASSERT
5607 * several files: change Assert to BOOST_ASSERT
5609 2003-09-09 Angus Leeming <leeming@lyx.org>
5611 * buffer.[Ch]: Add an Impl class and move Buffer's member
5612 variables into it. As a result move several header files out of
5615 Add header files to lots of .C files all over the tree as a result.
5617 2003-09-09 Angus Leeming <leeming@lyx.org>
5619 * buffer.[Ch]: make Buffer's member variables private. Add
5622 Lots of changes all over the tree as a result.
5624 2003-09-08 Angus Leeming <leeming@lyx.org>
5626 * graph.C: #include <config.h>.
5628 2003-09-08 Angus Leeming <leeming@lyx.org>
5632 * BufferView_pimpl.C:
5661 * toc.C: remove redundant using directives.
5663 2003-09-07 Angus Leeming <leeming@lyx.org>
5665 * LaTeXFeatures.h: remove #include "support/types.h".
5666 * ToolbarBackend.h: remove #include <algorithm>.
5667 * changes.h: remove #include <ctime>.
5668 * debug.h: remove #include <iosfwd>.
5669 * graph.h: remove #include "support/std_string.h".
5670 * lyx_main.h: remove #include <csignal>.
5671 * lyxlex_pimpl.h: remove #include <fstream>.
5672 * sgml.h: remove #include <algorithm>, <utility>.
5673 * toc.h: remove #include "support/std_ostream.h".
5674 Add #include <iosfwd>.
5676 2003-09-07 Angus Leeming <leeming@lyx.org>
5678 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5680 * converter.h: forward declare LatexRunParams.
5681 * encoding.h: remove #include "lyxrc.h".
5682 * lyxtext.h: remove #include "LColor.h".
5683 * lyxtextclass.h: remove #include "support/types.h".
5684 * trans.h: remove #include "tex-accent.h".
5685 * trans_mgr.h: remove #include "tex-accent.h".
5686 * insets/inset.h: remove #include "support/types.h", <vector>.
5687 * insets/insetcollapsable.h: remove #include "LColor.h".
5688 * insets/insetinclude.h: remove #include "dimension.h".
5689 * insets/insetlatexaccent.h: remove #include "dimension.h".
5690 * insets/insetoptarg.h:: remove #include "insettext.h".
5691 * insets/insettext.h: remove #include "dimension.h",
5692 <boost/shared_ptr.hpp>
5694 * insets/renderers.h: add #include "dimension.h".
5695 * insets/updatableinset.h: add #include "support/types.h".
5697 * many .C files: Associated changes.
5699 2003-09-06 Angus Leeming <leeming@lyx.org>
5701 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5702 one, inside testInvariant.
5704 * PrinterParams.C: new file.
5705 * PrinterParams.[Ch]: move the function bodies out of line.
5707 2003-09-06 Angus Leeming <leeming@lyx.org>
5709 * ParagraphParameters.h: forward declare ParameterStruct rather than
5710 including its header file.
5711 (depth): moved out-of-line.
5713 2003-09-06 Angus Leeming <leeming@lyx.org>
5715 * BufferView_pimpl.h:
5718 * lyxfunc.h: forward declare LyXKeySym rather than
5719 #include "frontends/LyXKeySym.h".
5721 * BufferView_pimpl.C:
5724 * lyxfunc.C: associated changes.
5726 2003-09-06 Angus Leeming <leeming@lyx.org>
5728 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5729 As a result, can remove the #include "insets/inset.h" from BufferView.h
5731 2003-09-06 Angus Leeming <leeming@lyx.org>
5733 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5734 As a result, can remove the #include "insets/inset.h" from BufferView.h
5736 2003-09-06 Angus Leeming <leeming@lyx.org>
5742 * bufferview_funcs.C:
5743 * BufferView_pimpl.C:
5748 * ParagraphParameters.C:
5753 * frontends/controllers/ControlDocument.C:
5754 * insets/insetcaption.C: rearrange the #includes into some sort of
5757 * buffer.h: remove #includes ErrorList.h, undo.h
5759 2003-09-06 Angus Leeming <leeming@lyx.org>
5761 * support/types.h: add a 'depth_type' typedef, used to store the
5762 nesting depth of a paragraph.
5765 * ParameterStruct.h: use this lyx::depth_type typedef rather than
5766 defining explicitly.
5769 * paragraph_funcs.h:
5770 * ParagraphParameters.h:
5771 * sgml.h: use lyx::depth_type rather than Paragraph or
5772 ParameterStruct's depth_type.
5775 * paragraph_funcs.h: no need to #include paragraph.h anymore.
5778 * BufferView_pimpl.C:
5780 * ParagraphParameters.C:
5783 * bufferview_funcs.C:
5790 * frontends/LyXView.C:
5791 * frontends/controllers/ControlDocument.C:
5792 * frontends/controllers/ControlErrorList.C:
5793 * insets/insetbibitem.C:
5794 * insets/insetbranch.C:
5795 * insets/insetcaption.C:
5796 * insets/insetcollapsable.C:
5797 * insets/insetenv.C:
5798 * insets/insetert.C:
5799 * insets/insetfloat.C:
5800 * insets/insetfoot.C:
5801 * insets/insetfootlike.C:
5802 * insets/insetnewline.C:
5803 * insets/insetquotes.C:
5804 * insets/insettabular.C:
5805 * insets/insettext.C:
5806 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5808 * frontends/controllers/ControlChanges.C: #include "changes.h".
5810 2003-09-06 Angus Leeming <leeming@lyx.org>
5812 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5813 than #including paragraph.h.
5816 * RowList.h: deleted. Superfluous.
5826 * insets/insettext.h: use ParagraphList_fwd.h rather than
5829 * paragraph.h: don't forward declare ParagraphList.
5832 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5833 rather than ParagraphList.h. paragraph.h is still needed for the
5834 Paragraph::depth_type parameters.
5836 * textcursor.h: enable it to compile stand-alone in light of the
5839 * bufferview_funcs.C:
5851 * frontends/controllers/ControlParagraph.C:
5852 * frontends/controllers/ControlTabular.C:
5853 * insets/insetmarginal.C:
5854 * insets/insetminipage.C:
5855 * insets/insetnote.C:
5856 * insets/insetoptarg.C: add header files needed to compile again.
5858 2003-09-06 Angus Leeming <leeming@lyx.org>
5860 * RowList_fwd.h: new file, forward-declaring Row rather than
5861 #including lyxrow.h.
5866 * insets/insettext.h: use it instead of RowList.h
5868 * bufferview_funcs.C:
5875 * text3.C: #include "RowList.h".
5877 2003-09-05 Angus Leeming <leeming@lyx.org>
5879 * factory.C (createInset):
5880 * vspace.C (c-tor): replace sscanf call with an istringstream.
5881 * ispell.C: re-add missing HP/UX headers.
5882 * lyxserver.C: re-add missing os2 headers.
5884 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
5893 * text3.C: re-add missing system headers, needed for 2.95.2.
5895 2003-09-05 Angus Leeming <leeming@lyx.org>
5897 Changes most place everywhere due to the removal of using directives
5898 from support/std_sstream.h.
5900 2003-09-05 Angus Leeming <leeming@lyx.org>
5902 Replace LString.h with support/std_string.h,
5903 Lsstream.h with support/std_sstream.h,
5904 support/LIstream.h with support/std_istream.h,
5905 support/LOstream.h with support/std_ostream.h.
5907 Changes resulting throughout the tree.
5909 2003-09-05 Angus Leeming <leeming@lyx.org>
5911 * sgml.h: ensure that the header file can be compiled stand-alone.
5912 * *.C: strip out redundant #includes. (320 in total.)
5914 2003-09-04 Angus Leeming <leeming@lyx.org>
5916 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
5917 here (from getPackages).
5919 * debug.[Ch]: add a new EXTERNAL tag.
5921 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5923 * text2.C (cursorEnd): simplify
5925 (getColumnNearX): adjust
5927 * text.C (computeBidiTables): adjust
5930 * rowpainter.C (paintChars): adjust
5931 (paintSelection): adjust
5932 (paintChangeBar): adjust
5935 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5937 (numberOfSeparators): adjust
5939 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
5945 * text3.C: Restricts the mouse click functionality
5946 of insets like bibtex, include, toc and floatlist to the visible
5947 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5948 up the dialogs. Cursor has to be in front of the inset (i.e.
5949 start of row) for this to function.
5951 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5953 * bufferview_funcs.C (currentState): output row information
5955 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5957 * bufferview_funcs.C (currentState): output paragraph position
5959 2003-09-04 Angus Leeming <leeming@lyx.org>
5961 * FloatList.h: move out #include "Floating.h".
5962 * LaTeX.h: move out #include "DepTable.h".
5963 * LyXAction.h: move out #include "funcrequest.h".
5964 * buffer.h: move out #include "author.h", "iterators.h".
5965 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
5966 * lyx_main.h: move out #include "errorlist.h".
5967 * lyxfunc.h: move out #include "FuncStatus.h".
5968 * lyxtext: move out #include "lyxcursor.h".
5969 * paragraph_pimpl.h: move out #include "counters.h".
5971 2003-09-03 Angus Leeming <leeming@lyx.org>
5973 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
5974 preamble_snippets list, enabling us to add snippets to the preamble
5975 only if the snippet was not there already.
5977 2003-09-04 Angus Leeming <leeming@lyx.org>
5979 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
5981 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5983 * lyxfunc.C (dispatch): if fitCursor did something be sure to
5986 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
5988 * BranchList.C: point fix, earlier forgotten
5990 2003-09-02 Angus Leeming <leeming@lyx.org>
5992 * box.C (contains): renamed from 'contained' after a fantastic
5995 2003-09-02 John Levon <levon@movementarian.org>
6001 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
6003 2003-09-02 John Levon <levon@movementarian.org>
6005 * text2.C: simplification of cursorEnd(), including partial
6008 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6010 * buffer.C (readFile): add a space
6012 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
6014 * BufferView_pimpl.C (update): remove bogus fitCursor() call
6016 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6018 * buffer.C (readFile): new function, take a filename and a
6019 ParagraphList::iterator
6021 (readFile): adjust, make it private. don't use setStream, make
6022 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
6023 always contain the filename.
6025 * BufferView.C (insertLyXFile): simplify and make it work for
6028 2003-08-30 John Levon <levon@movementarian.org>
6030 * Makefile.am: fix dist (from Kayvan)
6032 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6034 * most files: change to use const Buffer refs
6036 2003-08-27 André Pönitz <poenitz@gmx.net>
6038 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
6039 on top of ownerPar().
6041 2003-08-27 John Levon <levon@movementarian.org>
6043 * funcrequest.C: properly initialise POD members
6045 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
6047 * lyxtext.h (top_y): move top_y from here
6052 * BufferView_pimpl.[Ch]: to here
6053 * frontends/screen.C:
6054 * insets/insettabular.C:
6055 * insets/insettext.C: adjust
6056 * rowpainter.[Ch] (paintRows): remove LyXText & argument
6058 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
6061 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
6063 2003-08-26 André Pönitz <poenitz@gmx.net>
6065 * paragraph_func.[Ch] (outerPar): new function
6068 * paragraph_funcs.C:
6069 * paragraph_funcs.h:
6070 * paragraph_pimpl.C:
6071 * text2.C: remove Inset::par_owner
6073 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
6078 * text2.C: eliminates the needFullRow/display() stuff
6079 altogether, putting the logic in metrics/draw in the insets.
6081 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
6083 * text2.C (redoParagraphInternal, redoParagraphs):
6084 * text.C (redoParagraph): add a call to updateRowPositions at the
6085 end of each 'metrics-like' call. Remove all others.
6086 (getRow): remove the 'y-computing' version.
6087 (getRowNearY): do not compute nor return the real y. Solve the
6088 'y < 0' problem and simplify.
6090 2003-08-22 Angus Leeming <leeming@lyx.org>
6092 * *.[Ch]: clean-up of licence and author blurbs.
6093 Also move config.h out of a few .h files and into a few .C files.
6095 2003-08-22 André Pönitz <poenitz@gmx.net>
6097 * lyxrow.[Ch]: add x_ and *fill_ members
6102 * text2.C: adjust/remove prepareToPrint() calls
6104 2003-08-22 André Pönitz <poenitz@gmx.net>
6106 * lyxrow.[Ch]: add end_ member
6108 * lyxrow_funcs.C: use LyXRow::end_
6110 * lyxtext.h (singleWidth): add LyXFont parameter
6113 * text2.C: adjust LyXText::singleWidth() calls
6115 * text.C (redoParagraph): simplify row breaking logic
6118 2003-08-19 André Pönitz <poenitz@gmx.net>
6120 * funcrequest.C: initialize button_ member
6123 * rowpainter.[Ch]: interface consolidation
6125 2003-08-18 André Pönitz <poenitz@gmx.net>
6128 * BufferView_pimpl.C:
6130 * paragraph_funcs.C:
6132 * text3.C: remove LyXScreen::draw() and fitCursor calls
6134 * BranchList.h: remove spurious semicolons
6136 * MenuBackend.C: fix branchlist related crash
6138 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
6146 * bufferparams.[Ch]:
6150 * text3.C: implements the 'branch inset'
6151 idea. This allows the output of various versions of a document
6152 from a single source version, selectively outputing or suppressing
6153 output of parts of the text.
6154 This implementation contains a 'branch list editor' in a separate
6155 tab of the document settings dialog. Branches are user definable
6156 and have a "display colour" to distinguish them on-screen.
6158 ColorHandler was somewhat cleaned up.
6159 (1) make possible a dynamically growing LColor list by allowing
6160 the graphic context cache to grow along (vector);
6161 (2) eliminate an IMHO unnecessary step in colour allocation.
6163 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
6165 * BufferView_pimpl.C: compile fix
6167 2003-08-15 André Pönitz <poenitz@gmx.net>
6169 * rowpainter.C: remove extra metrics calls
6171 * lyxtext.h: merge the two constructors into a single one,
6172 pass reference to owner's par list
6174 * BufferView_pimpl.C:
6178 2003-08-15 André Pönitz <poenitz@gmx.net>
6180 * lyxrow_funcs.[Ch]:
6183 * paragraph_funcs.C:
6188 * text_funcs.C: split LyXText::rowlist_ into individual
6189 Paragraph::rows_ chunks
6192 * BufferView_pimpl.[Ch]:
6195 * text3.C: remove toggleSelection()
6197 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
6199 * bufferlist.C: beautify two alerts (shorter text of buttons)
6200 * buffer.C: Remove redundant ' ' from message
6202 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6203 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6204 rename VALIGN_CENTER to VALIGN_MIDDLE
6206 2003-08-11 André Pönitz <poenitz@gmx.net>
6208 * lyxtext.h (getPar):
6209 * text.C: new function
6211 2003-08-11 André Pönitz <poenitz@gmx.net>
6214 * tracer.[Ch]: remove unneeded files
6216 * InsetList.[Ch]: remove resizeInsetsLyXText()
6221 * text3.C: merge insertParagraphs() and appendParagraph()
6222 remove breakAgain(), update()
6224 * BufferView_pimpl.[Ch]:
6225 * bufferview_funcs.[Ch]:
6229 * tabular.C: adjust after text & InsetList changes.
6231 2003-08-08 André Pönitz <poenitz@gmx.net>
6233 * text.C (insertChar, backspace): replace rowlist fiddling
6234 with rebreak of full par
6237 * text.C (breakAgainOneRow, redoHeightOfParagraph,
6238 checkParagraph, updateInset): removed
6240 2003-08-07 André Pönitz <poenitz@gmx.net>
6243 * text3.C: merge some LFUN handlers, remove dead code
6245 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6247 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6249 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
6251 * text2.C (DEPM): fix part of bug 1255 and 1256
6253 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6255 * BufferView_pimpl.C (workAreaDispatch): change to use
6256 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6257 that are no mouse related.
6259 2003-08-05 André Pönitz <poenitz@gmx.net>
6262 * BufferView_pimpl.[Ch]:
6263 * bufferview_funcs.C:
6265 * text3.C: rip out "deep update"
6267 * textcursor.[Ch] (last_sel_cursor): remove unused member
6269 2003-08-04 André Pönitz <poenitz@gmx.net>
6272 * BufferView_pimpl.[Ch]:
6273 * ParagraphParameters.C:
6274 * bufferview_funcs.C:
6280 * text3.C: replace "complicated" BufferView::update(...) calls with
6283 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6285 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
6287 * Makefile.am (lyx_SOURCES): add paper.h
6289 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6291 * Makefile.am: move things around so that both lyx-qt and
6292 lyx-xforms can be built (according to --with-frontend). Then lyx
6293 is a symbolic link to lyx-[firstfrontend]
6295 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
6297 * Always use std::endl with lyxerr
6299 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
6301 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6303 2003-08-01 André Pönitz <poenitz@gmx.net>
6306 * BufferView_pimpl.[Ch]:
6308 * text3.C: merge BufferView::repaint() and BufferView::update()
6310 2003-08-01 José Matos <jamatos@lyx.org>
6312 * buffer.[Ch]: file_format is no longer a buffer data element.
6314 2003-08-01 André Pönitz <poenitz@gmx.net>
6319 * text2.C: make redoParagraph more independent of current cursor
6321 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6323 * text2.C: remove unneeded members
6325 2003-07-30 André Pönitz <poenitz@gmx.net>
6327 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6329 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6330 create a single function...
6332 * paragraph_funcs.C (moveItem): ... here.
6335 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6337 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6339 * LColor.[Ch]: Add comment and greyedout logical colors.
6341 2003-07-30 André Pönitz <poenitz@gmx.net>
6343 * tabular.C: don't use Assert too heavily. This crashes where it
6346 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
6348 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6349 is disabled (bug 1232)
6351 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6353 * factory.C: limited 'arg' scope
6355 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6357 * factory.C: fixed Note submenu issues
6359 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6361 * factory.C: submenu for Note/Comment/Greyedout
6363 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
6366 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6368 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
6371 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6372 greyedout. Patch provided by Jürgen Spitzmüller.
6374 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6376 * kbmap.C (read): fix error message when reading bind files
6378 2003-07-29 Angus Leeming <leeming@lyx.org>
6380 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6381 certainly does not do what it purports to do. I am doing it, and
6382 us, a favour by killing it.
6384 2003-07-28 José Matos <jamatos@lyx.org>
6386 * buffer.C (readBody, do_writeFile):
6387 * paragraph.C(readParagraph): \end_document replaces \the_end.
6389 2003-07-29 André Pönitz <poenitz@gmx.net>
6392 * BufferView_pimpl.[Ch]:
6396 * textcursor.[Ch]: remove toggleToggle & Co
6398 2003-07-28 José Matos <jamatos@fep.up.pt>
6400 * buffer.C (readParagraph):
6401 * params_func (readParToken, readParagraph):
6402 * paragraph.C (write): \layout -> \begin_layout.
6404 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6406 * lyxlex_pimpl.C (setFile): clean up slightly.
6408 * bufferparams.h: add compressed var
6410 * buffer_funcs.C (readFile): adjust for LyXLex change
6411 (newFile): ditto + simplify
6413 * buffer.C (writeFile): handle writing of compressed files
6415 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6416 Check if the file is compressed and set a bufferparm if so.
6418 * Makefile.am (lyx_LDADD): remove explicit -lz
6420 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6422 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6423 makeDocBookFile): put the real LyX version in the first line of
6427 * version.C.in: remove lyx_docversion
6429 * tabular.C (write_attribute): add a template-based version to
6430 write enums properly
6432 2003-07-28 André Pönitz <poenitz@gmx.net>
6437 * text3.C: use doubles again for x-coordinates. They are needed.
6439 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6441 * messages.C (getLocaleDir): use lyx_localedir()
6443 * lyxlex_pimpl.C (setFile): compress stuff
6445 * buffer.C (writeFile): add some compression stuff
6446 (do_writeFile): new func, dont call expliti close... will this
6449 * Makefile.am (lyx_LDADD): add -lz
6451 2003-07-28 José Matos <jamatos@fep.up.pt>
6453 * buffer.C: increment file format.
6454 * paragraph_funcs (readParagraph, readParToken):
6455 * paragraph.C (readParagraph): add \end_layout.
6457 2003-07-27 Angus Leeming <leeming@lyx.org>
6459 * Makefile.am: remove special casing for configure-time setting of
6460 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6462 * lyx_main.C (init): remove all Jean-Marc's magic setting of
6463 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6465 2003-07-26 André Pönitz <poenitz@gmx.net>
6467 * paragraph_func.[Ch]:
6468 * paragraph.C (realizeFont): inline it whereever it is used
6473 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6476 2003-07-26 André Pönitz <poenitz@gmx.net>
6480 * text2.C: get rid of LyXText::need_break_row
6482 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6484 * toc.[Ch]: put namespace toc inside namespace lyx
6486 * MenuBackend.C (expandToc2): adjust for lyx::toc
6489 * lyxfunc.C (dispatch): adjust for lyx::find
6491 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6492 lyx::find instead. Reorganize a bit.
6493 (LyXReplace): rename to replace
6494 (LyXFind): rename to find
6496 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6499 2003-07-26 André Pönitz <poenitz@gmx.net>
6501 * text.C (setHeightOfRow): restrict scope of temporary variable
6503 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
6504 code (never has been used?)
6506 2003-07-27 Asger Alstrup <alstrup@local>
6508 * text.C (fill): Optimise algorithm to exploit that we can reuse
6509 the LyXFont for many characters.
6510 (setHeightOfRow): Same thing.
6511 (rowBreakPoint): Same thing.
6513 2003-07-26 Asger Alstrup <alstrup@local>
6515 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6517 * text.C (singleWidth): Spurious font copying in hot-spot
6518 singleWidth avoided. Reorder tests for arabic for efficiency.
6520 * text.C (fill): handle empty paragraphs better.
6522 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6525 * encoding.h: add includes
6527 * lyxrc.C: remove reading of bind files
6529 * lyx_main.C (init): setup bindings and menus only if we have a
6532 * kbmap.C (read): new method. Do the actual reading of bind
6535 * converter.C (dvipdfm_options):
6538 (output): adapt PAPER_* enums.
6540 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6542 * bufferparams.h: remove paper-related enums from there
6544 * paper.h: New file. A trivial header file to hold paper-related
6545 enums. It should later expand to contain many paper-related
6548 * lyxrc.C: declare extern displayTranslator
6550 2003-07-27 José Matos <jamatos@fep.up.pt>
6552 * tabular.[Ch] (linuxdoc): add support for tables and figures
6555 2003-07-27 José Matos <jamatos@fep.up.pt>
6557 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6558 consistency in both functions.
6559 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6561 2003-07-26 Asger Alstrup <alstrup@local>
6563 * rowpainter.C (paintRows): Change algorithm to work directly on
6564 the insets rather than asking every character in the document
6565 whether its an inset.
6567 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
6569 * buffer.C (openFileWrite): factorize some code
6571 2003-07-26 Angus Leeming <leeming@lyx.org>
6574 * lyx_main.[Ch]: replace occurances of system_tempdir with
6577 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6579 * rename Inset to InsetOld
6581 2003-07-25 Asger Alstrup <alstrup@diku.dk>
6583 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6584 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6585 which I think is a bit clearer. EDIT is gone, since it was
6586 premature optimisation, and broken for mathed anyway.
6587 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6588 with cursor positioning in insets as well (math insets still do not
6589 work, but that's a different story anyway.) It mysteriously
6590 crashes sometimes with undo in the first paragraph, but I'm fairly
6591 confident that this is a compiler bug.
6593 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6595 * paragraph.C (Paragraph): adjust for new clone return type
6597 (copyIntoMinibuffer): ditto
6599 2003-07-25 Asger Alstrup <alstrup@lyx.org>
6601 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6602 by not having a special case, and always doing a full rebreak of
6603 the document after undo.
6605 2003-07-23 Angus Leeming <leeming@lyx.org>
6607 * factory.C (createInset): InsetExternal::setParams now takes a
6610 2003-07-23 Angus Leeming <leeming@lyx.org>
6612 * factory.C (createInset): changed interface to the external and
6613 graphics mailers' string2params functions.
6615 2003-07-23 Angus Leeming <leeming@lyx.org>
6617 * factory.C (createInset): pass a
6618 Buffer const * parameter to InsetExternalMailer's string2params.
6620 2003-07-22 John Levon <levon@movementarian.org>
6622 * Thesaurus.h: include the right aiksaurus header
6624 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6626 * MenuBackend.C (expand): check menu shortcuts unconditionally
6628 2003-07-21 Angus Leeming <leeming@lyx.org>
6630 * factory.C (createInset): pass a
6631 buffer_path parameter to InsetGraphicsMailer's string2params.
6633 2003-07-21 Angus Leeming <leeming@lyx.org>
6635 * BufferView_pimpl.C (buffer):
6638 * lyxfunc.C (dispatch):
6639 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6640 rather than the grfx shortcut.
6642 2003-07-21 André Pönitz <poenitz@gmx.net>
6644 * rowpainter.C: remove unused variables
6647 * tabular_funcs.h: move to tabular.C
6648 * Makefile.am: adjust
6650 * tabular.[Ch]: basic optical cleaning
6652 * author.h: pass references, not values
6654 2003-07-18 André Pönitz <poenitz@gmx.net>
6662 * text3.C: two-phase drawing for InsetText and InsetTabular
6663 some float -> int changes.
6665 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6667 * lyx_main.C: fix the fix
6669 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6671 * lyx_main.C: fix a crash in batch mode if no files specified
6674 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
6676 * format.[Ch] (papersize): moved to BufferParams
6677 * converter.[Ch] (dvips_options): moved to BufferParams
6678 (dvipdfm_options): moved to anon namespace
6679 * bufferparams.[Ch]: added above functions.
6681 2003-07-17 André Pönitz <poenitz@gmx.net>
6685 * text2.C: don't call inset->update() anymore
6687 * metricsinfo.[Ch]: add convenience constructor
6689 2003-07-16 André Pönitz <poenitz@gmx.net>
6694 * text2.C: replace the LyXCursor::irow_ member with
6695 on-demand computation of the value
6697 2003-07-16 John Levon <levon@movementarian.org>
6699 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6701 2003-07-15 André Pönitz <poenitz@gmx.net>
6704 * text2.C: remove no more needed refresh_row
6706 2003-07-15 André Pönitz <poenitz@gmx.net>
6711 * text3.C: refresh_status tristate -> need_update bool
6713 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
6715 * lyxtext.h (init): remove reinit argument (act as if always true)
6716 * text2.C: adjust to that
6718 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6720 * bufferview_funcs.[Ch]: introduce function replaceSelection()
6721 * text3.C: use it to delete selections in some cases
6722 (bugs 441, 673, 702, 954).
6724 2003-07-14 André Pönitz <poenitz@gmx.net>
6726 * rowpainter.[Ch]: reduce interface
6728 2003-07-14 André Pönitz <poenitz@gmx.net>
6730 * BufferView_pimpl.C:
6731 * text2.C: adjust after removing unused BufferView * argument
6733 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
6735 * text2.C (init): fix a crash fired on resize
6737 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
6739 * buffer.[Ch]: added new closing signal
6740 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6741 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6742 BufferView::Pimpl via the closing the signal
6744 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
6746 * buffer.[Ch]: take out all bv-related from buffer
6748 * BufferView_pimpl.[Ch]: connect to new signals
6749 * CutAndPaste.C: removed useless asserts
6750 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6753 * lyxfunc.C: moved view-related funciontality from vc here
6754 * paragraph.C: removed outdated comments
6757 2003-07-10 André Pönitz <poenitz@gmx.net>
6759 * BufferView_pimpl.C:
6763 * text2.C: remove InsetText::InnerCache, clean up consequences
6765 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
6767 * ispell.C: fix two typos in error messages
6769 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
6771 * Extend Note inset to other forms of annotation like Comment
6772 and Greyedout. Right button click gives dialog.
6774 Files modified or added (+):
6778 * ControlNote.[Ch] +
6780 * Makefile.am in frontends/xforms, frontends/xforms/forms,
6781 frontends/controllers
6785 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6787 * aspell.C: add missing namespace lyx::support
6789 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
6791 * BufferView.[Ch] (newFile): Add
6792 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6793 * LaTeX.[Ch] (message): added this signal and use it
6794 * buffer.[Ch] (busy, message): added these signals and use them
6795 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6799 * importer.C: use buffer signals instead of direct bv calling
6800 * lyx_cb.[Ch] (ShowMessage): removed
6803 * paragraph_funcs.C:
6804 * text2.C: use buffer signals
6806 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6808 * introduce namespace lyx::graphics
6810 2003-07-02 André Pönitz <poenitz@gmx.net>
6812 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6814 2003-07-01 André Pönitz <poenitz@gmx.net>
6821 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6822 text*.C to text_func.C
6824 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6826 * introduce namespace lyx::support
6828 2003-06-30 André Pönitz <poenitz@gmx.net>
6833 * text.C: re-enable --with-included-string
6835 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6837 * textcursor.C: add <config.h>
6839 * text.C (getWord): remove const from word_location arg
6841 * lyxvc.C (getLogFile): fix const type order
6843 * lyxtext.h: remove const from word_location arg, add arg name
6845 * lyxlayout.h: currect type on labeltype.
6847 * importer.C: correct \file
6849 * converter.C (intToFormat): use std:: on ret val, ws changes
6851 * bufferlist.h: correct \file
6853 * buffer.C (makeLinuxDocFile): fix const type order
6854 (makeDocBookFile): ditto
6855 (fillWithBibKeys): use std:: on stdlib args.
6857 * CutAndPaste.C: fix authors.
6858 (availableSelections): use std:: on return vector
6860 2003-06-27 André Pönitz <poenitz@gmx.net>
6862 * BufferView_pimpl.C:
6863 * bufferview_funcs.C:
6871 * text3.C: remove LyXCursor::row_ member
6874 * text.C: rename fullRebreak() to partialRebreak() and implement
6875 a fullRebreak() that really bereks fully
6877 * textcursor.h: new struct for cursor-related data
6879 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
6881 * lyx_main.C (LyX): get full path of document loaded on the
6884 2003-06-26 André Pönitz <poenitz@gmx.net>
6886 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6887 remove unused/broken operator>,<,>=.
6889 * text.C: remove only use of broken operator<= in an Assert().
6891 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
6893 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6894 moved errorlist_.clear to showErrorList
6896 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
6898 * converter.C (scanLog, runLaTeX):
6899 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
6900 move the bv->showErrorList call to the callers
6901 * lyxfunc.C: i.e. here...
6903 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6904 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6905 namespace, the second to...
6906 * buffer_funcs (BufferFormat, parseErrors): added
6907 * errorlist.C (ErrorList(TeXErrors const &)): removed
6909 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6911 * ToolbarBackend.C (getIcon): complain when icon cannot be found
6913 2003-06-24 "Garst R. Reese" <reese@isn.net>
6917 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6919 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6921 * version.C.in: change docversion to 1.4
6923 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
6925 * buffer.C: fix a bug just introduced
6927 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
6929 * buffer.[Ch]: added the parseError signal and use it, removed
6931 * BufferView.[Ch] (addError): moved to ...
6932 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6933 to the Buffer::parseError signal to catch (guess what) parse errors
6934 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6936 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
6938 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6939 ability to create a buffer and to return an existing one from
6940 the list. Moved these functions to...
6941 * buffer_funcs.[Ch]: added
6942 * BufferView.[Ch] (loadLyXFile): added
6943 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6944 job removed from bufferlist::loadLyXFile.
6945 * buffer.C (setReadOnly): make it work without view
6946 (i.e added an if (users))
6948 2003-06-19 Angus Leeming <leeming@lyx.org>
6951 * LyXAction.C (init):
6952 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6953 with LFUN_DIALOG_SHOW <name> <data>.
6955 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6957 * CutAndPaste.C (availableSelections): small compilation fix for
6958 ancient (gcc 2.9x) compilers
6960 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
6962 * text3.C (cursorNext): add tmp var
6964 * text2.C (updateCounters): for function calling out of for clause
6965 (replaceSelectionWithString): ditto
6966 (insertStringAsParagraphs): ditto
6967 (getColumnNearX): add tmp var
6968 (setCursorFromCoordinates): add tmp var
6969 (cursorDownParagraph): add tmp var
6970 (deleteEmptyParagraphMechanism): add tmp var
6972 * text.C (insertChar): add tmp var
6974 * rowpainter.C (paintDepthBar): add tmp var
6976 * CutAndPaste.C (availableSelections): potentially check all
6977 paragraphs in a cut to fill the shown strings.
6979 2003-06-18 André Pönitz <poenitz@gmx.net>
6981 * kbmap.[Ch]: use vector<> instead of list<>
6983 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
6985 * text3.C (dispatch): handle arg to LFUN_PASTE, call
6986 pasteSelection with index
6988 * text2.C (pasteSelection): modify, call pasteSelection with index
6990 * paragraph.C (asString): reimplement version with no interval to
6991 call the one with interval.
6993 * lyxtext.h: add index arg to pasteSelection
6995 * MenuBackend.C (MenuItem): handle PasteRecent
6996 (Menu::read::Menutags): add md_pasterecent
6998 (expandPasteRecent): new function
7001 * MenuBackend.h: add PasteRecent to MenuItem::Kind
7003 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
7005 (availableSelections): new function
7007 2003-06-17 Angus Leeming <leeming@lyx.org>
7009 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
7011 2003-06-17 Angus Leeming <leeming@lyx.org>
7014 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
7016 * lyxfunc.C (dispatch): invoke it.
7018 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7020 * iterators.C (operator++, ParPosition): reintroduce some
7021 const_cast for the benefit of older compilers.
7023 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7025 * text3.C (dispatch): do not modify clipboard when doing
7026 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
7027 LFUN_DELETE_SKIP on a selection selection
7029 2003-06-16 André Pönitz <poenitz@gmx.net>
7035 * tabular.[Ch]: IU of clone() and getLabelList();
7037 2003-06-13 André Pönitz <poenitz@gmx.net>
7039 * tabular.h: compactification
7041 2003-06-12 André Pönitz <poenitz@gmx.net>
7045 * tabular_funcs.h: some renaming plus whitespace
7047 2003-06-12 André Pönitz <poenitz@gmx.net>
7050 * BufferView_pimpl.C:
7056 * toc.C: Return a Paragraph & for ParIterator::operator*()
7058 2003-06-11 John Levon <levon@movementarian.org>
7062 * ToolbarBackend.C: add "Toolbars" section and
7065 2003-06-10 Angus Leeming <leeming@lyx.org>
7068 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
7070 * lyxfunc.C (dispatch): invoke it.
7072 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7074 * main.C: protect <ios> with HAVE_IOS
7075 (main): protect sync_with_stdio with HAVE_IOS
7077 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
7079 * text2.C (cutSelection): adjust
7080 (pasteSelection): adjust
7082 * messages.C: handle get of empty string
7084 * main.C (main): use sync_with_stdio(false)
7086 * lyxfunc.C (dispatch): adjust
7088 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
7089 (WriteAs): remove unneeded BufferView arg.
7091 * bufferparams.h: use correct types on papersize, papersize2 and
7094 * bufferparams.C (readToken): adjust for type
7095 (writeLaTeX): add missing cases to switch.
7097 * bufferlist.C (quitWriteBuffer): adjust
7100 * buffer.C (asciiParagraph): remove some commented code.
7102 * CutAndPaste.C: remove current_view extern variable.
7103 (cutSelection): add BufferParams arg.
7104 (eraseSelection): add BufferParams arg.
7105 (pasteSelection): add Buffer const & arg
7107 2003-06-07 John Levon <levon@movementarian.org>
7110 * paragraph_funcs.C:
7111 * paragraph_pimpl.C:
7115 * paragraph.C: allow InsetERT to freely space lines,
7116 and some consolidation of code
7118 2003-06-06 José Matos <jamatos@fep.up.pt>
7120 * buffer.C (makeDocBookFile): fix bug #821
7122 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
7124 * BufferView_pimpl.C (dispatch): use Dialogs::visible
7126 2003-06-04 Angus Leeming <leeming@lyx.org>
7128 * buffer.C: bump format to 224.
7130 2003-06-05 André Pönitz <poenitz@gmx.net>
7132 * text2.C (redoParagraphs): remove two const_cast<>
7134 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
7136 * ParagraphList.h: remove last remnants of NO_STD_LIST
7138 2003-06-03 Angus Leeming <leeming@lyx.org>
7140 * factory.C (createInset): small change to the way InsetExternal's params
7143 2003-06-04 André Pönitz <poenitz@gmx.net>
7145 * buffer.h: use Undo directly instead of shared_ptr<Undo>
7147 * paragraph_pimpl.h:
7148 * paragraph.[Ch]: some Inset -> UpdatableInset changes
7150 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
7152 * undo_funcs.C: make some simple cases of undo work again
7154 2003-06-03 John Levon <levon@movementarian.org>
7156 * ispell.C: HPUX doesn't have sys/select.h
7159 2003-06-03 John Levon <levon@movementarian.org>
7161 * CutAndPaste.C: update tabular and include inset
7166 * paragraph.C: remove owningBuffer(), don't pass Buffer
7169 * factory.C: insetGraphicsParams changed
7171 2003-06-02 John Levon <levon@movementarian.org>
7177 * text3.C: remove insetparent
7179 2003-06-02 John Levon <levon@movementarian.org>
7182 * buffer.C: fix inset_iterator.end(), move out of line
7185 2003-06-01 John Levon <levon@movementarian.org>
7187 * text3.C: use a proper cut/paste when doing inset
7188 insert (from Jürgen Spitzmüller)
7190 2003-06-01 John Levon <levon@movementarian.org>
7192 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7194 2003-05-30 André Pönitz <poenitz@gmx.net>
7196 * rowpainter.C: unify second drawing phase
7198 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7200 * trans_mgr.C: remove one case of current_view
7202 * text2.C (cursorBottom): delete NO_STD_LIST stuff
7204 * paragraph_funcs.h: remove paragraph.h include
7206 * paragraph.h: delete NO_STD_LIST stuff
7208 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7210 * buffer.h: remove paragraph.h include
7212 * ParagraphList.C: delete file
7214 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7216 * toc.C (getTocList): adjust
7218 * paragraph_pimpl.C (validate): adjust
7220 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7222 * paragraph.C (Paragraph): adjust
7223 (getPositionOfInset): use const_iterator, adjust
7224 (bibitem): use const_iterator, adjust
7225 (setInsetOwner): adjust
7227 * iterators.C (operator++): adjust
7229 * InsetList.[Ch]: Replace selfmade iterator with standard
7230 vector::iterator also introduce const_iterator. Remove getPos,
7231 getInset and setInset from InsetTable. Adjust accordingly.
7233 * BufferView.C (lockInset): adjust
7234 (ChangeInsets): adjust
7236 * tabular.[Ch]: delete commented same_id functions
7238 2003-05-28 John Levon <levon@movementarian.org>
7240 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7242 2003-05-28 André Pönitz <poenitz@gmx.net>
7244 * metricsinfo.[Ch]: remove 'fullredraw' member
7246 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
7248 * lyxtextclass.C (operator): remove caching.
7250 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7254 * text2.C (cursorBottom): adjust
7255 (setCounter): use ParagraphList::find, adjust
7257 * text.C (workWidth): use ParagraphList::find, adjust
7259 * lyxcursor.C (LyXCursor): adjust
7261 * buffer.C (inset_iterator): adjust
7263 * ParagraphList.h: make iterator(value_type) private, make
7264 ParagraphList a friend of iterator.
7266 * ParagraphList.C (find): new function
7268 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7270 2003-05-27 André Pönitz <poenitz@gmx.net>
7272 * dimension.[Ch]: a -> asc, d -> des, w -> wid
7274 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7276 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7278 2003-05-26 John Levon <levon@movementarian.org>
7280 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7282 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
7284 * remove same_id from function signatures, adjust.
7286 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7288 * undo_funcs.C (createUndo): use the id functions directly, adjust.
7290 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7292 * paragraph.C (Paragraph): get rid of same_ids parameter
7294 * ParagraphList.C (insert): adjust
7297 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7299 * paragraph_funcs.C (breakParagraph): adjust
7300 (breakParagraphConservative): adjust
7302 * buffer.C (readParagraph): adjust
7304 * ParagraphList.C (insert): take a reference instead of a pointer
7307 * paragraph.[Ch] (id): new function
7309 * bufferlist.C (newFile): adjust
7311 * ParagraphList.C (ParagraphList): adjust
7313 (push_back): take a reference instead of a pointer.
7315 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7317 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7320 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7321 set else use old code.
7323 * ParagraphList.C: remove all NO_NEXT code and only compile this
7324 code of NO_STD_LIST is set.
7326 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7328 * BufferView_pimpl.C:
7338 * graphics/GraphicsConverter.C:
7339 * graphics/PreviewLoader.C: header adjustment
7341 2003-05-23 Angus Leeming <leeming@lyx.org>
7343 * LaTeXFeatures.[Ch] (useBabel): new method.
7344 * bufferparams.C (writeLaTeX): use it.
7346 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7348 * ParagraphList.h (set): remove unused function.
7350 2003-05-23 André Pönitz <poenitz@gmx.net>
7353 * BufferView_pimpl.C:
7357 * undo_funcs.C: setUndo reworked
7359 * iterators.[Ch]: add access to topmost ParagraphList
7361 * lyxtext.[Ch] (workWidth): add a const
7363 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7365 * texrow.[Ch] (increasePos): remove function
7366 * exporter.C (export): removed unused var and outdated comment
7368 2003-05-23 Angus Leeming <leeming@lyx.org>
7370 * latexrunparams.h: rename fragile as moving_arg.
7371 * paragraph.C (simpleTeXOnePar): ditto.
7372 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7374 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7376 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7378 (textUndoOrRedo): comment out a currently unused var.
7380 * paragraph.h (NO_NEXT): enable NO_NEXT
7382 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7384 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7386 * exporter.C (Export): adjust for removeAutoInsets removal.
7388 * buffer.C (runChktex): adjust for removeAutoInsets removal.
7390 * LyXAction.C (init): remove LFUN_REMOVEERRORS
7392 * BufferView.[Ch] (removeAutoInsets): delete function
7394 2003-05-22 Angus Leeming <leeming@lyx.org>
7396 * latexrunparams.h: add a free_spacing variable.
7398 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7399 to pass moving_arg, as the data is stored in runparams.fragile.
7401 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7402 to Inset::latexOptional or to simpleTeXOnePar.
7404 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7405 free_spacing arg to Inset::latexOptional.
7407 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7410 2003-05-22 Angus Leeming <leeming@lyx.org>
7412 * latexrunparams.h: add fragile and use_babel variables.
7414 * bufferparams.[Ch] (writeLaTeX): return use_babel.
7415 * buffer.C (makeLaTeXFile): store this returned value in
7416 runparams.use_babel, thus passing it to the inset::latex methods.
7418 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7419 simpleTeXSpecialChars as it is now stored in runparams.fragile.
7421 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7422 longer has a fragile arg, as it is stored in runparams.fragile.
7424 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7425 moving_arg parameter as the data is stored in runparams.fragile.
7427 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7428 a fragile parameter as the data is stored in runparams.fragile.
7430 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7432 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7434 2003-05-22 Angus Leeming <leeming@lyx.org>
7436 * latexrunparams.h: add a 'bool nice' which defaults to false.
7438 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7439 now encapsulated within runparams.
7441 * bufferlist.C (updateIncludedTeXfiles):
7442 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7444 2003-05-22 Angus Leeming <leeming@lyx.org>
7446 * latexrunparams.h: new file containing struct LatexRunParams.
7447 * Makefile.am: add new file.
7449 * LaTeX.[Ch] (c-tor, run):
7450 * buffer.[Ch] (makeLaTeXFile):
7451 * bufferlist.[Ch] (updateIncludedTeXfiles):
7452 * converter.C (convert, scanLog):
7453 * converter.[Ch] (runLaTeX):
7454 * exporter.C (Export):
7455 * paragraph.[Ch] (simpleTeXOnePar):
7456 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7457 * paragraph_funcs.[Ch] (latexParagraphs):
7458 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7459 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7460 pass around a LatexRunParams parameter.
7462 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7464 * paragraph.[Ch]: remove unused constructor
7466 * ParagraphList.C (erase): new function, taking two iterators
7468 2003-05-22 André Pönitz <poenitz@gmx.net>
7470 * undo_funcs.C: remove duplicated code
7472 * iterator.[Ch]: operator=
7474 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7476 * tabular.C (SetMultiColumn): ws changes
7478 * rowpainter.C (paintFirst): get rid of a ->previous
7480 * lyx_cb.C (getPossibleLabel): parlist simplification
7482 * BufferView.C (ChangeInsets): simplify slightly.
7484 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
7486 * LyXAction.C: new lfun space-insert, kill protected-space-insert
7487 * lfuns.h: new LFUN_SPACE
7488 * lyxfunc.C: protected space has a new lfun
7489 * paragraph_funcs.C: read new space insets
7491 * factory.C: handle new space insets
7493 2003-05-22 André Pönitz <poenitz@gmx.net>
7496 * BufferView_pimpl.C:
7499 * undo_funcs.C: return a ParIterator from getParFromID.
7501 * iterators.[Ch]: add two const's
7503 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7505 * toc.C (getTocList): adjust
7507 * iterators.[Ch]: rework for parlist
7509 * buffer.C (par_iterator_begin): adjust
7510 (par_iterator_end): adjust
7512 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7514 * BufferView.C (removeAutoInsets): adjust
7515 (ChangeInsets): adjust
7517 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
7519 * text.C (top_y): fix bug 1110
7521 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
7523 * errorlist.[Ch]: added
7526 * BufferView_pimpl.C:
7527 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7530 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7532 * Makefile.am: ensure that lyx is relinked upon changes to the
7533 various "convenience" libs.
7535 2003-05-20 Angus Leeming <leeming@lyx.org>
7537 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7538 files are compiled in alphabetical order again.
7540 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7542 2003-05-19 Angus Leeming <leeming@lyx.org>
7544 * gettext.[Ch]: remove "char const * _(char const *)".
7546 2003-05-19 André Pönitz <poenitz@gmx.net>
7548 * dimension.[Ch]: promote from mathed/dimension.[Ch]
7557 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7559 2003-05-19 André Pönitz <poenitz@gmx.net>
7563 * lyxtextclass.[Ch]:
7565 * paragraph_funcs.[Ch]:
7567 * text3.C: more insetenv work
7569 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
7571 * ParagraphParameters.C (params2string): small bug fixed
7573 2003-05-16 André Pönitz <poenitz@gmx.net>
7576 * bufferview_funcs.C: patch from Kornel Benko to prevent
7577 crash when _(...) is called twice in a statement
7579 2003-05-16 André Pönitz <poenitz@gmx.net>
7586 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7588 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
7590 * lyx_main.C (init): remove spurious static_cast
7592 2003-05-14 André Pönitz <poenitz@gmx.net>
7594 * BufferView.C: fix format string
7596 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
7598 * BufferView.[Ch] (insertErrors): removed
7599 * BufferView.[Ch] (showErrorList): added
7600 * buffer.C (runChkTeX):
7601 * converter.C (scanLog): call showErrorList instead of inserterrors
7603 2003-05-13 André Pönitz <poenitz@gmx.net>
7605 * BufferView_pimpl.C:
7607 * bufferview_func.C:
7614 * tabular_funcs.h: tostr() from its own header
7616 * ParagraphParameters.C:
7621 * text3.C: STRCONV()
7623 2003-05-12 André Pönitz <poenitz@gmx.net>
7626 * BufferView_pimpl.C:
7630 * ParagraphParameters.C:
7634 * bufferview_funcs.C:
7647 * paragraph_funcs.C:
7651 * text3.C: boost::format -> bformat all over the place
7654 2003-05-09 André Pönitz <poenitz@gmx.net>
7656 * LColor.[Ch]: Pimpl the #include <map> away
7658 2003-05-09 John Levon <levon@movementarian.org>
7660 * bufferlist.C: never remove emergency saves
7662 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7664 * Makefile.am: better lib building
7666 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
7668 * texrow.[Ch]: remove dependency on Paragraph and just store a id
7670 * paragraph_pimpl.C (simpleTeXBlanks): adjust
7671 (simpleTeXSpecialChars): adjust
7672 (simpleTeXSpecialChars): adjust
7673 * paragraph.C (simpleTeXOnePar): adjust
7674 * buffer.C (makeLaTeXFile): adjust
7676 * Makefile.am (BOOST_LIBS): allow boost as system lib.
7678 * text2.C (changeDepth): parlist cleanup
7679 (getColumnNearX): ditto
7681 * rowpainter.C (getLabelFont): parlist cleanup
7683 * bufferlist.C (newFile): parlist cleanup
7685 * CutAndPaste.C (eraseSelection): parlist cleanup
7687 * BufferView_pimpl.C (trackChanges): parlist cleanup
7690 * BufferView.C (lockInset): parlist cleanup.
7691 (ChangeInsets): ditto
7693 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7695 * CutAndPaste.h: Update file header.
7697 * CutAndPaste.C: Update file header.
7698 Store the parts cut out of the Document in a limited_stack.
7699 (copySelection): adjust
7700 (pasteSelection): new function, takes the index in the limited stack.
7701 (nrOfParagraphs): adjust
7702 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7703 simplify error inset insertion.
7704 (checkPastePossible): adjust
7706 2003-05-06 John Levon <levon@movementarian.org>
7708 * text2.C: don't cast wrap inset to float
7710 2003-05-05 André Pönitz <poenitz@gmx.net>
7713 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7715 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7716 few naked Paragraph *.
7718 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
7720 * bufferparams.C: Output warning if a document with missing
7721 TeX document class is loaded
7722 * exporter.C: Disable TeX exports if the document class is missing
7725 * lyxtextclasslist.C: Handle new textclass.lst format; new method
7726 isTeXClassAvailable()
7728 2003-05-03 John Levon <levon@movementarian.org>
7731 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7732 explicit cursor show/hide
7734 * BufferView_pimpl.h:
7735 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7736 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7738 * lyxfunc.C: hide cursor before dispatching.
7743 * text3.C: remove explicit cursor hides
7745 2003-05-02 André Pönitz <poenitz@gmx.net>
7747 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7750 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7753 * text2.C: tiny whitespace
7755 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7757 * undo_funcs.C: almost only ws changes.
7759 * ParagraphList.C (splice): just return if pl is empty.
7761 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7763 * ParagraphList.C (splice): new function.
7765 * CutAndPaste.C (pasteSelection): use it
7767 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7769 * CutAndPaste.C (pasteSelection): remove the last next and
7770 previous from this file.
7772 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7774 * CutAndPaste.C (pasteSelection): more clean up, user proper
7775 ParagraphList functions for pasteing.
7777 * ParagraphList.C (insert): new function, three arg insert
7779 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7781 * ParagraphList.C (insert): new function, three arg insert
7783 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7786 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7788 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7790 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7792 * CutAndPaste.C (pasteSelection): remove some unneeded code.
7794 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7796 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7797 (copySelection): clean up a bit.
7798 (pasteSelection): use make_pair
7800 * ParagraphList.C (ParagraphList): implement copy constructor
7801 (operator=): implement, base on copy constructor.
7804 * paragraph.C (erase): return a bool
7806 * paragraph_pimpl.C (erasePos): remove function, move contents...
7807 (erase): ... here. Return a bool.
7808 (erase): call erase instead of erasePos.
7810 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
7812 * ParagraphList.h: define PitPosPair
7813 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7814 ParagraphList, fix a bug on pasting multiple pars
7815 * text2.C: change interface to C&P
7817 2003-04-30 André Pönitz <poenitz@gmx.net>
7819 * undo_func.C: revert part of yesterday's patch 2
7821 2003-04-30 John Levon <levon@movementarian.org>
7823 * LColor.C: s/tabular/table/
7825 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7827 * text3.C (dispatch): do not convert iterator -> pointer
7828 * undo_funcs.C (setCursorParUndo): ditto
7829 * text_funcs.C (transposeChars): ditto
7831 * text2.C (setLayout): ws changes only
7833 * text.C (breakParagraph): do not convert iterator -> pointer
7835 (acceptChange): ditto
7836 (rejectChange): ditto
7841 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7844 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
7846 * text3.C (gotoInset): YABG (yet another bad getChar)
7848 2003-04-29 André Pönitz <poenitz@gmx.net>
7850 * paragraph.h: make operator= private unimplemented as long as
7853 * ParagraphList.C: whitespace
7856 * paragraph_pimpl.[Ch]:
7857 * paragraph_funcs.C:
7859 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
7862 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7864 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
7866 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7867 * paragraph.[Ch] (erase):
7868 * paragraph_pimpl.[Ch] (erase): change return type and value
7869 * text2.C (cutSelection): some rework
7871 2003-04-28 John Levon <levon@movementarian.org>
7873 * bufferlist.C: changes for unsaved changes dialog
7875 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7877 * bufferlist.C (newFile): set language (messages_) for new
7880 * buffer.C (readFile): ws changes only.
7882 2003-04-28 André Pönitz <poenitz@gmx.net>
7887 * BufferView_pimpl.C:
7888 * BufferView.C: getParFromID related ParagraphList::iterator changes
7890 2003-04-28 André Pönitz <poenitz@gmx.net>
7892 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7895 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7897 * messages.C: remove one more localedir class variable.
7899 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7901 * messages.C (getLocaleDir): singleton generation function
7903 (Messages): add a default constructor.
7905 * main.C (main): do not setup localedir here, do not call
7908 * gettext.C (_): use it.
7909 (gettext_init): delete funciton
7911 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7913 * gettext.C (getLyXMessages): new singleton generating function.
7915 * buffer.C (updateDocLang): adjust
7917 * Makefile.am (messages.o): add target
7918 (main.o): remove target
7920 2003-04-27 John Levon <levon@movementarian.org>
7925 * lyxvc.C: specify cancel button in Alert::prompt
7927 2003-04-26 John Levon <levon@movementarian.org>
7932 * LyXAction.C: add LFUN_INSET_SETTINGS
7934 * lyxfunc.C: don't enable tabular-feature when there's
7935 just any locking inset
7937 2003-04-26 John Levon <levon@movementarian.org>
7939 * bufferlist.C: re-add Cancel to buffer close question
7941 * lyxfunc.C: fix import UI a bit
7943 2003-04-25 John Levon <levon@movementarian.org>
7945 * gettext.C: remove the broken asserts for now
7947 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7949 * messages.C: make case where setlocale cannot comply work better.
7951 * buffer.C (updateDocLang): new function
7952 (changeLanguage): use it
7955 * text2.C (setCounter): use B_ a bit.
7957 * lyxlayout.C (Read): be sure to trim the label strings.
7959 * messages.C (Messages): fix typo in comment
7961 * buffer.C (readFile): set message_ after file is loaded.
7962 (makeDocBookFile): remove double return
7963 (changeLanguage): reset message_ upon language change.
7964 (B_): new func, use this to get translated buffer strings.
7966 * main.C: add myself and Jean Marc as authors.
7968 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7970 * messages.[hC]: pimplify Messages, and three different pimpls to be
7971 used in different circumstances.
7973 * gettext.[Ch]: change for use with new message code.
7975 2003-04-24 André Pönitz <poenitz@gmx.net>
7977 * factory.C: support for eqref
7979 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7981 * messages.[Ch]: add missing char
7983 * Makefile.am (lyx_SOURCES): add messages.[Ch]
7985 * messages.[Ch]: New files
7987 2003-04-18 John Levon <levon@movementarian.org>
7991 * BufferView_pimpl.C:
7995 * text2.C: remove layout-copy/paste (bug 778)
7997 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
7999 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
8001 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
8003 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
8004 if they succeed. Act accordingly.
8006 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8008 * text2.C (setCharFont): adjust
8009 (setCounter): adjust
8010 (insertStringAsLines): adjust
8012 * text.C (leftMargin): adjust
8013 (setHeightOfRow): adjust
8015 * rowpainter.C (paintFirst): adjust
8018 * paragraph_funcs.C (depthHook): ParagraphList::iterators
8020 (isFirstInSequence): ditto
8021 (getEndLabel): ditto
8024 * paragraph.C (getParLanguage): comment out some hard stuff.
8026 * buffer.C (insertStringAsLines): take a ParagraphList as arg
8028 (simpleDocBookOnePar): ditto
8029 (makeDocBookFile): use ParagraphList::iterator
8031 * CutAndPaste.C (pasteSelection): adjust
8033 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8035 * text2.C (getFont): adjust
8036 (getLayoutFont): adjust
8037 (getLabelFont): adjust
8039 * paragraph_funcs.C (TeXOnePar): adjust
8041 * buffer.C (simpleLinuxDocOnePar): adjust
8042 (simpleDocBookOnePar): adjust
8044 * CutAndPaste.C (pasteSelection): adjust
8046 * BufferView.C (getEncoding): adjust
8048 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
8050 2003-04-16 John Levon <levon@movementarian.org>
8052 * lyxfind.C: use parlist stuff for search/changes
8054 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8056 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
8058 * text2.C (deleteEmptyParagraphMechanism): adjust
8060 * text2.[Ch] (ownerParagraph): delete func (both of them
8062 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8064 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
8066 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8068 * ParagraphList.C: prepare for NO_NEXT
8070 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8072 * text2.C (getFont): adjust
8073 (getLayoutFont): adjust
8074 (getLabelFont): adjust
8076 * paragraph.C (getFont): adjust
8077 (getLabelFont): adjust
8078 (getLayoutFont): adjust
8080 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
8082 2003-04-15 John Levon <levon@movementarian.org>
8086 * lyx_main.C: handle Include in .ui files
8088 2003-04-15 John Levon <levon@movementarian.org>
8090 * MenuBackend.C: make the doc files length shorter
8093 * ToolbarBackend.C: handle toolbar placement flags,
8096 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8098 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
8101 * paragraph_funcs.C (TeXOnePar): adjust
8103 * paragraph.C (getLabelFont): add outerfont arg, adjust
8104 (getLayoutFont): ditto
8105 (simpleTeXOnePar): adjust
8107 * paragraph_pimpl.C (realizeFont): delete func
8109 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
8111 * text2.C (beforeFullRowInset): added a bad getchar check, removed
8112 row argument, constify cur argument.
8114 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8116 * text2.C (getFont): adjust
8117 (getLayoutFont): adjust
8118 (getLabelFont): adjust
8120 * paragraph_funcs.C (TeXOnePar): adjust
8121 (outerFont): new func...
8122 (realizeFont): ...moved out from here, changed this to facilitate
8125 * paragraph.C (getFont): take outerfont as arg, adjust
8126 (simpleTeXOnePar): add outerfont arg, adjust
8128 * buffer.C (simpleLinuxDocOnePar): adjust
8129 (simpleDocBookOnePar): adjust
8131 * CutAndPaste.C (pasteSelection): adjust
8133 * BufferView.C (getEncoding): adjust
8135 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8137 * text2.C (setCharFont): adjust
8138 (setCounter): adjust
8140 * text.C (leftMargin): adjust
8141 (setHeightOfRow): adjust
8143 * rowpainter.C (paintFirst): adjust
8146 * paragraph_pimpl.C (realizeFont): adjust
8148 * paragraph.C (isFirstInSequence): move from here...
8149 * paragraph_funcs.C (isFirstInSequence): ...to here
8151 * paragraph.C (outerHook): move from here...
8152 * paragraph_funcs.C (outerHook): ...to here
8154 * paragraph.C (depthHook): move from here...
8155 * paragraph_funcs.C (depthHook): ...to here
8157 * paragraph.C (getEndLabel): move from here...
8158 * paragraph_funcs.C (getEndLabel): ...to here
8160 * text2.C (realizeFont): move from here...
8161 * paragraph_funcs.C (realizeFont): ...to here
8163 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8165 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
8167 2003-04-14 Angus Leeming <leeming@lyx.org>
8169 * LColor.[Ch]: scrap LColor mathcursor.
8171 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8173 * lyxlex.[Ch] (text): delete function
8174 * trans.C (Load): adjust
8175 * paragraph_funcs.C (readParToken): adjust
8177 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8179 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8180 vector<char> instead of a char[].
8182 * lyxlex_pimpl.C (getString): adjust
8184 (lex): use getString
8188 * lyxlex.C (text): use pimpl_->getString()
8192 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8194 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8195 (makeFontEntriesLayoutSpecific): temp var for par.size()
8196 (setLayout): temp var for ownerParagraphs().end()
8197 (fullRebreak): temp var for rows().end()
8198 (selectionAsString): temp var for boost::next(startpit), realize
8199 that the while really is a regular for loop.
8200 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8201 setCursor in one place.
8202 (setParagraph): temp vr for ownerParagraphs().end()
8203 (updateCounters): make the while loop a for loop
8204 (cutSelection): temp var for ownerParagraphs().end()
8205 (updateInset): make the do {} while() a regular for loop
8206 (getCursorX): use temp vars
8207 (setCurrentFont): use temp vars
8208 (getColumnNearX): use temp vars
8210 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8212 * text.C (transformChar): use temp var for getChar
8213 (computeBidiTables): use temp var for row->par()
8214 (fill): move temp vars for row->par() and pit->layout() earlier in
8216 (labelFill): use temp var for row->par()
8217 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8218 asc and desc, realize that pit never changes and that firstpit is
8219 just a duplicate and not needed. Exchange rit->par() with pit in a
8221 (breakAgain): use a temp var for boost::next(rit)
8222 (breakAgainOneRow): ditto
8223 (breakParagraph): use a temp var for rows().begin()
8224 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8225 (cursorRightOneWord): use temp var for cursor.par() and
8226 cursor.pos(), remove usage of tmpcursor.
8227 (cursorLeftOneWord): use temp var for cursor.par() and
8228 cursor.pos() only set cur at end of function.
8230 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8232 * text.C, text2.C: exchange all usage of Paragraph::next with
8233 boost::next(ParagraphList::iterator)
8235 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8237 * text2.C (cursorTop): simplify implementation
8238 (cursorBottom): ditto
8239 (setParagraph): use ParagraphList::iterator
8240 (setCurrentFont): adjust
8241 (getColumnNearX): adjust
8242 (cursorRight): adjust
8243 (cursorLeft): remove usage of Paragraph::previous
8244 (cursorUpParagraph): ditto
8245 (deleteEmptyParagraphMechanism): slight cleanup
8247 * text.C (isBoundary): take a Paragraph const & instead of a
8249 (addressBreakPoint): ditto
8250 (leftMargin): remove usage of Paragraph::previous.
8251 (setHeightOfRow): ditto
8252 (cursorLeftOneWord): ditto
8253 (selectNextWordToSpellcheck): ditto
8256 (breakParagraph): remove one usage of Paragraph::next
8257 (redoParagraph): ditto
8258 (acceptChange): ditto
8259 (insertChar): adjust
8260 (rowBreakPoint): adjust
8262 * bufferview_funcs.C (toggleAndShow): adjust
8264 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
8266 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8267 methods to access it.
8269 * text.C: Added updateRowPositions to compute all row positions.
8270 Make top_y and getRowNearY() to use the cached y position
8272 2003-04-11 John Levon <levon@movementarian.org>
8274 * text.C (rowBreakPoint): reintroduce the labelEnd
8275 checks, code copied from the row fill stuff. Deep voodoo.
8277 * text.C (fill): add a comment and debugging for the
8280 2003-04-11 John Levon <levon@movementarian.org>
8282 * text.C: make sure fullrow insets get wrapped to the next line,
8283 even when they're in a manual label
8285 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
8287 * text2.C (insertParagraph): make it take ParagraphList::iterator
8289 (setLayout): make it return ParagraphList::iterator
8290 (redoParagraphs): ditto
8292 (checkParagraph): ditto
8294 * text.C (getRow): make getrow take ParagraphList::iterator as arg
8296 * text2.C: adjust several funcs.
8297 (realizeFont): take a ParagraphList::iterator as arg.
8298 (getLayoutFont): ditto
8299 (getLabelFont): ditto
8300 (setCharFont): ditto
8302 * text.C: adjust several funcs.
8304 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8306 * text.C (selectNextWordToSpellcheck): don't accidentally
8309 2003-04-10 John Levon <levon@movementarian.org>
8311 * ToolbarBackend.C (getIcon): special handling for
8314 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8316 * text2.C (cursorRight): a getChar assert fixed
8318 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8320 * text2.C (getFont): change to take a ParagraphList::iterator
8321 instead of Paragraph*
8322 Adjust several functions.
8324 * text.C (transformChar): change to take a ParagraphList::iterator
8325 instead of Paragraph*
8326 (singleWidth): ditto
8327 Adjust several functions.
8329 * rowpainter.C: adjust several functions
8330 * rowpainter.h:store a ParagraphList::iterator and not a
8334 2003-04-09 John Levon <levon@movementarian.org>
8339 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8340 and the "help" bits as well
8342 2003-04-09 John Levon <levon@movementarian.org>
8345 * ToolbarBackend.C: allow multiple toolbars
8347 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8349 * undo_funcs.C (setCursorParUndo): adjust
8351 * text_funcs.C (transposeChars): adjust
8353 * text3.C (gotoNextInset): adjust
8356 * text2.C (setLayout): adjust
8357 (changeDepth): adjust
8359 (redoParagraphs): adjust
8360 (selectionAsString): adjust
8361 (setParagraph): adjust
8362 (insertInset): adjust
8363 (cutSelection): adjust
8364 (copySelection): adjust
8365 (pasteSelection): adjust
8366 (insertStringAsLines): adjust
8367 (updateInset): adjust
8368 (setCursor): change to take a ParagraphList::iterator parameter
8369 (setCursorIntern): change to take a ParagraphList::iterator parameter
8370 (setCurrentFont): adjust
8371 (cursorLeft): adjust
8372 (cursorRight): adjust
8373 (deleteEmptyParagraphMechanism): adjust
8375 * text.C (breakParagraph): adjust
8376 (insertChar): adjust
8377 (acceptChange): adjust
8378 (rejectChange): adjust
8379 (selectNextWordToSpellcheck): adjust
8380 (changeCase): adjust
8384 * lyxfind.C (SearchForward): adjust
8385 (SearchBackward): adjust
8386 (nextChange): adjust
8388 * lyxcursor.C (par): adjust
8390 * lyxcursor.h: store a ParagraphList::iterator instead of a
8393 * lyx_cb.C (getPossibleLabel): adjust
8395 * bufferview_funcs.C (toggleAndShow): adjust
8397 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8400 * BufferView.C (removeAutoInsets): adjust
8401 (lockedInsetStoreUndo): adjust
8403 2003-04-09 John Levon <levon@movementarian.org>
8405 * ToolbarBackend.C: try icon without argument
8406 if with argument fails
8408 2003-04-08 John Levon <levon@movementarian.org>
8411 * ToolbarBackend.C: add getIcon(), handle tooltip,
8412 and change from "Icon" to "Item".
8414 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8416 * BufferView.C (lockInset): another bad getchar crunched
8418 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8420 * text2.C (changeDepth): do not setUndo on test_only (make undo work
8423 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
8425 * lyxfind.C (searchForward, searchBackwards): bug 782
8427 2003-04-07 John Levon <levon@movementarian.org>
8429 * paragraph.C: remove dead comment
8431 * text.C: remove troublesome depth-fiddling code
8432 in leftMargin() and rightMargin() (bug 1017)
8434 * text.C: fix breaking of rows in nested lists
8437 * text2.C (updateCounters): fix up depth values
8440 2003-04-07 John Levon <levon@movementarian.org>
8442 * BufferView_pimpl.C: clear message when doc finishes resizing,
8443 and after a mouse event
8445 * lyxfunc.C: clear message after exiting inset
8447 2003-04-07 John Levon <levon@movementarian.org>
8449 * bufferview_funcs.C: show math status not outside
8450 status in the statusbar
8452 2003-04-07 John Levon <levon@movementarian.org>
8454 * lyxfunc.C: note status changed after a depth change
8456 2003-04-04 Angus Leeming <leeming@lyx.org>
8458 * LaTeX.h: move AuxInfo operator==, != out of line.
8459 Remove LaTeX virtual destructor; nothing derives from it.
8460 Move operator()() out of public area and rename it startscript().
8461 Change protected for private.
8463 2003-04-04 Angus Leeming <leeming@lyx.org>
8466 * text2.C: remove unneeded #includes.
8468 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8470 * text2.C (dEPM): fix the heigth of the next row
8472 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8474 * text.C: squashed an invalid getChar requester + some ws changes
8476 2003-04-03 John Levon <levon@movementarian.org>
8478 * bufferview_funcs.h:
8479 * bufferview_funcs.C:
8482 * text2.C: make getStatus work for the env depth lfuns
8484 2003-04-03 John Levon <levon@movementarian.org>
8486 * bufferview_funcs.h:
8487 * bufferview_funcs.C:
8490 * text2.C: parlistize decDepth(), by merging it with incDepth()
8492 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8494 * lyxrow.h: store a ParagraphList::iterator instead of a
8495 Paragraph* and adjust other class functions to suit.
8497 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8500 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8502 * text2.C (setCursor): do not anchor to cursor row for the time being
8504 2003-04-02 John Levon <levon@movementarian.org>
8511 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8513 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8515 * paragraph.h: make ParagraphList and ParagraphList::iterator
8516 friends of Paragraph.
8518 * buffer.C (makeLinuxDocFile): move towards ParagraphList
8520 * ParagraphList.C: Use the private next_ and previous_ from
8523 2003-04-01 John Levon <levon@movementarian.org>
8527 * Makefile.am: rename, remove defaults gunk
8530 * MenuBackend.C: remove defaults gunk
8533 * Languages.C: remove defaults gunk
8536 * lyx_main.C: error out if files couldn't be found.
8538 2003-04-02 John Levon <levon@movementarian.org>
8540 * text2.C: make incDepth() use parlist
8542 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8544 * undo_funcs.C (firstUndoParagraph): adjust
8546 * text3.C (gotoInset): adjust
8547 (dispatch): adjust, and rewrite loop.
8549 * text2.C (init): adjust, and rewrite loop.
8550 (redoParagraphs): adjust
8551 (updateInset): adjust, and rewrite loop.
8552 (deleteEmptyParagraphMechanism): adjust
8554 * tabular.C (LyXTabular): adjust
8555 (SetMultiColumn): adjust
8558 * lyxtext.[Ch] (ownerParagraph): delete function
8559 (ownerParagraphs): new function returns a ParagraphList.
8561 * BufferView.C (removeAutoInsets): adjust
8562 (insertErrors): adjust
8563 (setCursorFromRow): adjust
8565 2003-04-01 Angus Leeming <leeming@lyx.org>
8567 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8570 2003-04-02 John Levon <levon@movementarian.org>
8576 * text_funcs.C: make transposeChars a free function
8578 * lyxrow_funcs.C: remove wrong comment
8580 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8583 * rowpainter.C: adjust
8588 * lyxrow_funcs. [Ch]: new files
8590 * lyxrow.[Ch]: remove next and previous pointers
8591 (next,previous): remove accessor functions
8592 (isParEnd): move to lyxrow_funcs
8593 (lastPos): move to lyxrow_funcs
8594 (nextRowIsAllInset): move to lyxrow_funcs
8595 (lastPrintablePos): move to lyxrow_funcs
8596 (numberOfSeparators): move to lyxrow_funcs
8597 (numberOfHfills): move to lyxrow_funcs
8598 (numberOfLabelHfills): move to lyxrow_funcs
8599 (hfillExpansion): move to lyxrow_funcs
8603 * bufferview_funcs.C (toggleAndShow): adjust
8605 * RowList.h: Remove class RowList from file leave just a
8608 * RowList.C: delete file
8610 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8613 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8615 * text3.C (cursorPrevious): adjust
8616 (cursorNext): adjust
8619 * text2.C (redoHeightOfParagraph): adjust
8620 (redoDrawingOfParagraph): adjust
8623 * text.C (breakParagraph): adjust
8624 (insertChar): adjust
8627 * rowpainter.C (RowPainter): adjust
8628 (leftMargin): simplify and adjust
8629 (most rowpainter functions): adjust.
8631 * rowpainter.h: store the row as RowList::iterator not as Row*
8633 * lyxcursor.C (row): taka RowList::iterator as arg
8636 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8639 2003-04-01 Angus Leeming <leeming@lyx.org>
8641 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8642 stuff like bool Bool.
8644 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8646 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8649 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8651 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8654 * lyxtext.h (rows): drop one version and leve a const variant that
8655 returns a RowList::iterator.
8657 2003-03-31 Angus Leeming <leeming@lyx.org>
8659 * text.C (fill): ensure that the signature is the same as that in the
8662 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
8664 * text2.C (redoParagraphs): adjust
8665 (updateCounters): adjust
8666 (checkParagraph): adjust
8667 (getColumnNearX): adjust and reformat a bit.
8669 * text.C (top_y): adjust
8671 (leftMargin): adjust
8672 (prepareToPrint): adjust
8674 (getRowNearY): adjust
8676 * lyxtext.h: make rowlist_ mutable.
8678 * RowList.h: add const_iterator
8679 * RowList.C: adjust for RowList::const_iterator.
8681 * text2.C (getCursorX): make it take a RowList::iterator as arg,
8684 2003-03-31 John Levon <levon@movementarian.org>
8687 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8689 * lyx_main.C: set default fonts from using lyx_gui funcs
8691 * exporter.C: pdf_mode moved from lyxrc
8694 * lyxfunc.C: changes from above
8696 2003-03-31 John Levon <levon@movementarian.org>
8698 * lyx_main.C: fix to the last fix
8700 2003-03-31 John Levon <levon@movementarian.org>
8702 * bufferlist.C: "Load original" -> "Load Original"
8708 * format.C: more Alert cleanups
8710 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8712 * text2.C (removeParagraph): make it take a RowList::iterator as
8714 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8715 (postRowPaint): make it take a RowList::iterator as arg, adjust.
8717 * text.C (anchor_row): make it take a RowList::iterator as arg,
8719 (computeBidiTables): make it take a const reference to Row instead
8720 of Row pointer, adjust.
8721 (leftMargin): make it take a RowList::iterator as arg, adjust.
8722 (rowBreakPoint): adjust
8723 (breakAgainOneRow): make it take a RowList::iterator as arg,
8725 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8727 * bufferview_funcs.C (toggleAndShow): adjust
8729 2003-03-30 John Levon <levon@movementarian.org>
8733 * boost-inst.C: moved to support
8735 * several files: changes as a result
8737 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8739 * text2.C (LyXText): adjust.
8741 (removeRow): make it take a RowList::iterator as arg, adjust.
8742 (fullRebreak): adjust
8743 (deleteEmptyParagraphMechanism): adjust
8744 (clearPaint): adjust
8747 * text.C (top_y): adjust
8748 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8749 (breakAgain): make it take a RowList::iterator as arg, adjust.
8750 (breakParagraph): adjust
8751 (insertChar): adjust
8754 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8755 need_break_row, and refresh_row.
8757 * text3.C (dispatch): adjust
8759 * text2.C (checkParagraph): adjust
8761 (setCursorFromCoordinates): adjust
8763 * text.C (top_y): adjust
8765 (getRow): make it return a RowList::iterator, adjust
8766 (getRowNearY): make it return a RowList::iterator, adjust
8768 * text2.C (init): adjust
8769 (insertRow): remove function
8770 (insertParagraph): adjust
8771 (redoParagraphs): adjust
8772 (fullRebreak): adjust
8773 (updateCounters): adjust
8775 * text.C (top_y): rewrite to use RowList iterators.
8777 (setHeightOfRow): rewrite to sue RowList iterators.
8778 (appendParagraph): adjust
8779 (breakAgain): adjust
8780 (breakAgainOneRow): adjust
8781 (breakParagraph): adjust
8783 (getRowNearY): adjust, and remove commented code.
8785 * lyxtext.h (firstRow): delete function
8786 (lastRow): delete function
8787 (rows): new function (const and non-const versions.)
8788 (insertRow): delete function
8790 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8792 2003-03-29 John Levon <levon@movementarian.org>
8794 * BufferView_pimpl.C: always update scrollbar top
8795 because pasting text when we're anchored could mean we
8796 miss an update altogether
8798 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8800 * text2.C (init): use rowlist_.end() and not 0.
8801 (insertRow): change to take a RowList::iterator as arg, adjust
8803 (insertParagraph): change to take a RowList::iterator as arg,
8805 (redoParagraphs): remove some debug msgs.
8807 * text.C (appendParagraph): change to take a RowList::iterator
8808 arg, adjust for this.
8809 (breakAgain): add an assert
8810 (breakAgainOneRow): ditto
8812 2003-03-29 John Levon <levon@movementarian.org>
8814 * text2.C: do not clear selection after inc/decDepth
8817 2003-03-29 John Levon <levon@movementarian.org>
8820 * buffer.C: fix broken strerrors according to Lars
8822 2003-03-29 John Levon <levon@movementarian.org>
8824 * converters.C: more Alert cleanups
8826 2003-03-29 John Levon <levon@movementarian.org>
8828 * bufferview_funcs.C: remove pointless Alert
8830 * buffer.C: fix confusing error message when
8831 a template is chmoded 000
8833 2003-03-29 John Levon <levon@movementarian.org>
8837 * BufferView_pimpl.C: Alert fixes
8841 * tabular-old.C: remove unused table compat reading
8843 2003-03-29 John Levon <levon@movementarian.org>
8848 * lyx_cb.C: more Alert cleanups
8850 * lyxfunc.C: don't allow chktex if not latex document
8852 2003-03-29 John Levon <levon@movementarian.org>
8856 * buffer.C: warnings pushed down from support/,
8859 2003-03-29 John Levon <levon@movementarian.org>
8861 * lyxfunc.C: safety check for C-r (revert)
8863 2003-03-29 John Levon <levon@movementarian.org>
8866 * bufferlist.C: several UI fixes using Alert::prompt.
8867 Fix the pointless looping quit code. Fix stupid revert
8872 * lyx_cb.C: use Alert::prompt
8874 * lyx_main.C: remove a silly question
8876 * lyxfunc.C: remove a couple of silly questions,
8879 2003-03-28 John Levon <levon@movementarian.org>
8881 * text2.C: fix bug 974 (End on empty par)
8883 2003-03-28 John Levon <levon@movementarian.org>
8885 * BufferView_pimpl.C:
8887 * lfuns.h: remove do-nothing math greek lfuns
8889 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8891 * lyxgluelength.h (isValidGlueLength): add default arg on
8892 parameter 2. Remove default arg from friend in class.
8894 * lyxlength.h (isValidLength): add default arg on parameter 2.
8895 Remove default arg from friend in class.
8897 * text2.C (LyXText): adjust, initialize refresh_row.
8901 (insertParagraph): adjst
8902 (redoParagraphs): adjust
8903 (fullRebreak): adjust
8904 (updateCounters): adjust
8905 (deleteEmptyParagraphMechanism): first attempt at fixing a
8908 * text.C (top_y): adjust
8909 (setHeightOfRow): adjust
8911 (getRowNearY): adjust
8913 * lyxtext.h: include RowList.h
8914 (~LyXText): not needed anymore, deleted.
8915 (firstRow): modify for RowList
8916 (lastRow): new function
8917 Delete firstrow and lastrow class variables, add a Rowlist
8918 rowlist_ class variable.
8920 * lyxrow.C (lastPos): use empty() and not !size() to check if a
8923 * RowList.C (insert): fix case where it == begin().
8925 2003-03-26 Angus Leeming <leeming@lyx.org>
8927 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8928 the thesaurus dialog.
8930 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
8932 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8934 * RowList.[Ch]: new files
8936 * ParagraphList.C (erase): handle the case where it == begin
8939 2003-03-25 John Levon <levon@movementarian.org>
8943 * aspell.C: add new aspell support
8946 * lyxrc.C: Make use_pspell be use_spell_lib. Always
8949 2003-03-25 Angus Leeming <leeming@lyx.org>
8952 * LyXAction.C (init): new LFUN_INSET_INSERT.
8954 * BufferView_pimpl.C (dispatch): split out part of the
8955 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8957 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8960 2003-03-25 Angus Leeming <leeming@lyx.org>
8962 * lyxfunc.C (dispatch): changes to the Dialogs interface.
8964 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
8967 * text3.C: remove useless row->height(0)
8969 2003-03-25 John Levon <levon@movementarian.org>
8973 * text3.C: rename the refreshing stuff to better names
8975 2003-03-24 John Levon <levon@movementarian.org>
8977 * BufferView_pimpl.h:
8978 * BufferView_pimpl.C: update layout choice on a mouse
8981 2003-03-23 John Levon <levon@movementarian.org>
8983 * Makefile.am: fix commandtags.h reference
8985 2003-03-22 John Levon <levon@movementarian.org>
8987 * BufferView_pimpl.C:
8992 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8994 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
8997 * text.C: take the rtl methods out of line
8999 2003-03-21 André Pönitz <poenitz@gmx.net>
9001 * metricsinfo.[Ch]: new files containing structures to be passed around
9002 during the two-phase-drawing...
9004 2003-03-21 André Pönitz <poenitz@gmx.net>
9006 * lyxtextclass.C: read 'environment' tag.
9008 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
9010 * text2.C (removeRow): fix bug 964
9012 2003-03-20 John Levon <levon@movementarian.org>
9016 * text2.C: paint cleanups. Inset::update() dropped font
9019 2003-03-19 John Levon <levon@movementarian.org>
9021 * lyxfunc.C: only fitcursor/markDirty if available()
9023 2003-03-19 John Levon <levon@movementarian.org>
9025 * commandtags.h: rename to ...
9027 * lfuns.h: ... this, and renumber / cleanup
9029 2003-03-19 John Levon <levon@movementarian.org>
9031 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
9032 fit the cursor after an lfun
9036 * BufferView_pimpl.h:
9037 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
9039 * LyXAction.C: layout-character should have ReadOnly
9041 * ParagraphParameters.C:
9043 * bufferview_funcs.C:
9050 * undo_funcs.C: changes from above
9052 2003-03-18 John Levon <levon@movementarian.org>
9054 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
9055 remove it from update()
9057 * lyxfunc.C: update layout choice after an lfun
9059 * text3.C: remove extra updateLayoutChoice()s
9061 2003-03-18 John Levon <levon@movementarian.org>
9063 * text.C: top_y change means full repaint, fix
9064 a drawing bug with cursor movement
9066 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
9070 * text2.C: anchor row on setCursor
9072 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
9074 * lyxtext.h: remove almost all mutable keywords
9077 * text3.C: remove const keywords accordingly
9079 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
9081 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
9083 (TeXEnvironment): ditto
9086 2003-03-17 John Levon <levon@movementarian.org>
9088 * text.C (rowBreakPoint): remove attempt to fix displayed
9089 math insets inside a manual label
9091 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
9093 * lyxtext.h: remove BufferView* as first arg from almost all class
9095 * other files: adjust.
9097 2003-03-17 John Levon <levon@movementarian.org>
9101 * text2.C: more paint cleanups
9103 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
9106 * rowpainter.C: remove "smart" background painting code
9108 2003-03-16 John Levon <levon@movementarian.org>
9113 * text3.C: add helper functions for setting refresh_row/y
9115 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
9117 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
9118 newline inset which *can* get inserted in the pass_thru layouts.
9119 This is primarily for literate documents.
9121 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
9123 * buffer.C: increment LYX_FORMAT to 223
9125 2003-03-14 André Pönitz <poenitz@gmx.net>
9127 * textclass.h: prepare for environment handling, ws changes
9128 * lyxlayout.C: read latexheader and latexfooter tags
9130 2003-03-14 John Levon <levon@movementarian.org>
9132 * text2.C: rewrite ::status() a bit
9134 2003-03-13 John Levon <levon@movementarian.org>
9136 * lyxtext.h: add some docs
9138 2003-03-13 John Levon <levon@movementarian.org>
9143 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
9145 2003-03-13 John Levon <levon@movementarian.org>
9147 * text3.C: fix appendix redrawing
9149 2003-03-13 John Levon <levon@movementarian.org>
9151 * text.C (setHeightOfRow):
9153 * rowpainter.C: make appendix mark have the text
9154 "Appendix" so the user knows what it is
9157 * LColor.C: s/appendixline/appendix/ from above
9159 2003-03-13 John Levon <levon@movementarian.org>
9161 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
9163 * text.C: fix a getChar(pos) bug properly
9165 2003-03-13 Angus Leeming <leeming@lyx.org>
9168 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
9169 Probably only temporary. Let's see how things pan out.
9171 * BufferView.C (unlockInset):
9172 * BufferView_pimpl.C (fitCursor):
9173 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
9175 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
9176 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
9178 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
9179 new functions that convert ParagraphParameters to and from a string.
9181 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9182 BufferView::Pimpl's dispatch.
9183 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9185 2003-03-13 André Pönitz <poenitz@gmx.net>
9189 * factory.C: make it aware of InsetEnv
9191 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
9193 * text2.C (setCursor): never ask for one past last
9194 (setCursor): add some debugging messages.
9196 * text.C (singleWidth): never ask for one past last
9197 (singleWidth): ditto
9199 (rightMargin): ditto
9200 (rowBreakPoint): ditto
9201 (setHeightOfRow): ditto
9202 (prepareToPrint): ditto
9204 * rowpainter.C (paintBackground): never ask for one past last
9205 (paintText): never ask for one past last
9207 * paragraph_pimpl.C (getChar): make the assert stricter, never
9208 allow the one past last pos to be taken
9210 * paragraph.C (getChar): ws changes only
9212 * lyxrow.C (nextRowIsAllInset): never ask for one past last
9213 (numberOfSeparators): ditto
9214 (numberOfHfills): ditto
9216 2003-03-12 John Levon <levon@movementarian.org>
9222 * paragraph_funcs.C: fix per-buffer authorlists
9224 2003-03-12 John Levon <levon@movementarian.org>
9226 * text.C: fix newline in right address
9228 2003-03-12 Angus Leeming <leeming@lyx.org>
9230 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9231 duplicate those in LyXFunc::dispatch.
9235 * ToolbarDefaults.C:
9236 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9237 Add LFUN_FONTFREE_UPDATE.
9239 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9240 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9242 * bufferview_func.[Ch]: several new functions to facilliate
9243 transfer of data to and from the character dialog.
9245 2003-03-12 John Levon <levon@movementarian.org>
9250 * paragraph_funcs.C:
9251 * paragraph_pimpl.C:
9255 * text3.C: remove META_NEWLINE in favour of an inset
9258 * rowpainter.C: remove paintNewline (done by inset)
9260 2003-03-12 John Levon <levon@movementarian.org>
9262 * paragraph_pimpl.C: complain about bad getChar()s
9263 for a while at least
9265 2003-03-12 John Levon <levon@movementarian.org>
9268 * buffer.C: move paragraph read into a separate function,
9269 a little renaming to reflect that.
9272 * bufferparams.C: remove the author_ids map, not necessary now
9275 * factory.C: moved Buffer::readInset to here
9277 * paragraph_funcs.h:
9278 * paragraph_funcs.C: readParagraph free function moved from
9281 * tabular.C: name change
9283 2003-03-12 John Levon <levon@movementarian.org>
9286 * ParagraphParameters.C: move par params input to
9289 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9290 behave like a normal read from the stream wrt reading
9291 a line vs. a \\token
9293 2003-03-12 John Levon <levon@movementarian.org>
9296 * ParagraphParameters.h:
9297 * ParagraphParameters.C: move output code to a
9300 2003-03-12 John Levon <levon@movementarian.org>
9302 * BufferView.C (insertLyXFile):
9305 * tabular.C: use a parlist iterator for creating the
9308 2003-03-12 John Levon <levon@movementarian.org>
9310 * buffer.C: make current_change static local not
9313 2003-03-12 John Levon <levon@movementarian.org>
9315 * buffer.C: fix insertStringAsLines for change tracking
9317 2003-03-12 John Levon <levon@movementarian.org>
9324 * bufferparams.C: move author list into params. Rename some
9325 functions. Move the header reading into a separate token
9326 loop. Move the header token reading into BufferParams.
9328 2003-03-12 John Levon <levon@movementarian.org>
9330 * changes.C: put debug inside lyxerr.debugging() checks
9332 2003-03-11 André Pönitz <poenitz@gmx.net>
9334 * factory.C: make it aware of InsetHFill
9336 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9338 * buffer.C (latexParagraphs): move function from here...
9339 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9342 2003-03-10 Angus Leeming <leeming@lyx.org>
9344 * LyXAction.C (init): fix bug in poplating array with multiple entries
9345 with the same LFUN (spotted by JMarc).
9347 2003-03-10 John Levon <levon@movementarian.org>
9350 * text2.C: move getColumnNearX() near its
9353 2003-03-10 John Levon <levon@movementarian.org>
9355 * text.C: fix break before a minipage
9357 2003-03-10 John Levon <levon@movementarian.org>
9359 * text.C: fix the last commit
9361 2003-03-09 John Levon <levon@movementarian.org>
9365 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9366 bug 365 (don't break before insets unless needed). Don't
9367 return a value > last under any circumstances.
9369 2003-03-09 Angus Leeming <leeming@lyx.org>
9371 * BufferView_pimpl.C (trackChanges, dispatch): call
9372 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9374 2003-03-09 Angus Leeming <leeming@lyx.org>
9376 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9377 than Dialogs::showAboutlyx().
9379 2003-03-09 Angus Leeming <leeming@lyx.org>
9381 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9382 than Dialogs::showTabularCreate().
9384 2003-03-09 John Levon <levon@movementarian.org>
9388 * text2.C: 3rd arg to nextBreakPoint was always the same.
9391 2003-03-08 John Levon <levon@movementarian.org>
9398 * text2.C: Remove the "main" bit from the "main body"
9401 2003-03-08 John Levon <levon@movementarian.org>
9403 * text.C (leftMargin): The left margin of an empty
9404 manual label paragraph should not include the label width
9407 * text.C (prepareToPrint): don't attempt to measure hfills
9408 for empty manual label paragraphs - the answer should be 0
9410 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9412 * CutAndPaste.C: remove commented code and reindent.
9414 2003-03-08 John Levon <levon@movementarian.org>
9417 * lyxfunc.C: move reloadBuffer()
9420 * BufferView.C: to here
9422 * lyxvc.C: add comment
9425 * vc-backend.C: call bv->reload() to avoid
9426 getStatus() check on MENURELOAD
9428 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
9430 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9431 to an old format .dep file.
9433 2003-03-07 Angus Leeming <leeming@lyx.org>
9435 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9436 when the LFUN_MOUSE_RELEASE should have been handled by
9437 inset->localDispatch.
9439 2003-03-07 Angus Leeming <leeming@lyx.org>
9441 * BufferView_pimpl.C (dispatch):
9442 * LyXAction.C (init):
9443 * ToolbarDefaults.C (init):
9445 * lyxfunc.C (getStatus):
9446 remove LFUN_INSET_GRAPHICS.
9448 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9450 2003-03-07 Angus Leeming <leeming@lyx.org>
9453 * LyXAction.C (init):
9454 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9456 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9459 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9461 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9462 localDispatch method LFUN_INSET_DIALOG_UPDATE.
9464 2003-03-07 Angus Leeming <leeming@lyx.org>
9466 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9469 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9471 * ParagraphList.C (front): new function
9474 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
9476 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9477 and top_row_offset_. removed var first_y.
9479 * text2.C (LyXText, removeRow):
9481 * BufferView_pimpl.C:
9482 use these methods instead of using first_y
9484 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9486 * text2.C (pasteSelection): adjust for checkPastePossible
9488 * CutAndPaste.C: remove Paragraph * buf and replace with
9489 ParagraphList paragraphs.
9490 (DeleteBuffer): delete
9491 (cutSelection): change the tc type to textclass_type
9492 (copySelection): change the tc type to textclass_type
9493 (copySelection): adjust for ParagraphList
9494 (pasteSelection): change the tc type to textclass_type
9495 (pasteSelection): adjust for Paragraphlist
9496 (nrOfParagraphs): simplify for ParagraphList
9497 (checkPastePossible): simplify for ParagraphList
9498 (checkPastePossible): remove unused arg
9500 * ParagraphList.C (insert): handle the case where there are no
9503 * CutAndPaste.h: make CutAndPaste a namespace.
9505 * text3.C (dispatch): adjust
9507 * text.C (breakParagraph): add a ParagraphList as arg
9509 * paragraph_funcs.C (breakParagraph): change to take a
9510 BufferParams and a ParagraphList as args.
9511 (breakParagraphConservative): ditto
9512 (mergeParagraph): ditto
9513 (TeXDeeper): add a ParagraphList arg
9514 (TeXEnvironment): ditto
9517 * buffer.C (readLyXformat2): adjust
9518 (insertStringAsLines): adjust
9519 (latexParagraphs): adjust
9521 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9522 (cutSelection): adjust
9523 (pasteSelection): adjust
9525 * BufferView_pimpl.C (insertInset): adjust
9527 2003-03-05 Angus Leeming <leeming@lyx.org>
9530 * LyXAction.C (init):
9531 * BufferView_pimpl.C (dispatch):
9532 * lyxfunc.C (getStatus):
9533 remove LFUN_CHILD_INSERT.
9535 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9537 2003-03-05 Angus Leeming <leeming@lyx.org>
9540 * LyXAction.C (init):
9541 * src/factory.C (createInset):
9542 * lyxfunc.C (getStatus):
9543 * text3.C (dispatch):
9544 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9546 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9548 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9550 * ParagraphList.C (insert): handle insert right before end()
9551 (erase): fix cases where it can be first or last paragraph.
9553 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9555 * paragraph_funcs.C (TeXEnvironment): remove all usage of
9556 Paragraph::next and Paragraph::previous
9559 * text.C (breakParagraph): adjust
9561 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9562 BufferParams& as arg.
9563 (breakParagraph): use ParagraphList::insert
9564 (breakParagraphConservative): take a Buffer* instead of a
9565 BufferParams& as arg.
9566 (breakParagraphConservative): use ParagraphList::insert.
9568 * buffer.C (insertStringAsLines): un-const it
9569 (insertStringAsLines): adjust
9571 * ParagraphList.C (insert): new function
9573 * CutAndPaste.C (pasteSelection): adjust
9575 * text.C (backspace): adjust
9577 * tabular.C (SetMultiColumn): adjust
9579 * CutAndPaste.C (cutSelection): adjust
9580 (pasteSelection): adjust
9582 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9583 Buffer const * as arg
9585 * ParagraphList.C (erase): new function
9586 * paragraph_funcs.C (mergeParagraph): use it
9587 (mergeParagraph): make it take a Buffer* instead of a
9588 BufferParams* as arg
9590 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9592 (breakParagraphConservative): ditto
9594 * paragraph.h: remove the breakParagraph friend
9596 * paragraph.C (eraseIntern): new function
9597 (setChange): new function
9599 * paragraph_funcs.C (mergeParagraph): make it take a
9600 ParagraphList::iterator instead of a Paragraph *, adjust
9603 * paragraph.h: move an #endif so that the change tracking stuff
9604 also works in the NO_NEXT case.
9606 2003-03-04 Angus Leeming <leeming@lyx.org>
9609 * LyXAction.C: new LFUN_INSET_MODIFY.
9611 * BufferView_pimpl.C (dispatch): if an inset is found to be open
9612 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9614 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9616 * several files: ws changes only
9618 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9619 (TeXEnvironment): ditto
9622 * buffer.C (makeLaTeXFile): adjust
9623 (latexParagraphs): make it take ParagraphList::iterator as args
9625 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
9627 * buffer.C (latexParagraphs): adjust
9629 * paragraph.C (TeXOnePar): move function...
9630 (optArgInset): move function...
9631 (TeXEnvironment): move function...
9632 * paragraph_pimpl.C (TeXDeeper): move function...
9633 * paragraph_funcs.C: ...here
9635 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9637 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9639 * buffer.C (readInset): remove compability code for old Figure and
9642 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9644 * buffer.C: ws changes
9647 * BufferView_pimpl.C: ditto
9650 * bufferlist.h: ditto
9654 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
9656 * converter.[Ch]: split into itself +
9659 * Makefile.am: += graph.[Ch] + format.[Ch]
9666 * lyxrc.C: added #include "format.h"
9668 2003-02-27 Angus Leeming <leeming@lyx.org>
9670 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9673 * factory.C (createInset): add "label" to the factory.
9675 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9676 string and do no more.
9678 2003-02-27 Angus Leeming <leeming@lyx.org>
9681 * LyXAction.C (init):
9682 * factory.C (createInset):
9683 * BufferView_pimpl.C (dispatch):
9684 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9686 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9688 * lyxfunc.C (dispatch):
9689 * text3.C (dispatch): pass name to params2string.
9691 2003-02-26 Angus Leeming <leeming@lyx.org>
9693 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9695 Rearrange the ~includes. Strip out the unnecessary ones.
9697 * factory.C (createInset): reformat.
9698 create new insets for the various LFUN_XYZ_APPLY lfuns.
9700 2003-02-26 John Levon <levon@movementarian.org>
9703 * lyxrow.C: add isParStart,isParEnd helpers
9705 * paragraph.h: make isInserted/DeletedText take refs
9707 * paragraph_funcs.h:
9708 * paragraph_funcs.C: remove #if 0'd code
9713 * text.C: use lyxrow helpers above.
9714 Move draw and paint routines to RowPainter.
9715 Make several methods use refs not pointers.
9716 Make backgroundColor() const.
9717 Add markChangeInDraw(), isInInset().
9718 Merge changeRegionCase into changeCase.
9719 Make workWidth() shouldn't-happen code into an Assert.
9722 * rowpainter.C: new class for painting a row.
9725 * vspace.C: make inPixels take a ref
9727 2003-02-26 Angus Leeming <leeming@lyx.org>
9729 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9732 2003-02-25 John Levon <levon@movementarian.org>
9734 * ispell.C: give the forked command a more accurate name
9736 2003-02-22 John Levon <levon@movementarian.org>
9739 * toc.C: make TocItem store an id not a Paragraph *
9742 2003-02-21 Angus Leeming <leeming@lyx.org>
9744 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9745 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9746 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9747 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9748 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9749 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9751 * BufferView_pimpl.C (dispatch):
9752 * LyXAction.C (init):
9753 * factory.C (createInset):
9754 * lyxfunc.C (getStatus, dispatch):
9755 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9757 2003-02-21 Angus Leeming <leeming@lyx.org>
9759 * BufferView_pimpl.C (MenuInsertLyXFile):
9760 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9761 * lyxfunc.C (menuNew, open, doImport):
9762 no longer pass a LyXView & to fileDlg.
9764 2003-02-21 Angus Leeming <leeming@lyx.org>
9766 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9767 * LyXAction.C: change, BIBKEY to BIBITEM.
9768 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9769 Change InsetBibKey to InsetBibitem.
9770 Change BIBKEY_CODE to BIBITEM_CODE.
9771 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9772 * factory.C: replace insetbib.h with insetbibitem.h.
9773 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9774 * paragraph.C: replace insetbib.h with insetbibitem.h.
9775 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9776 Change bibkey() to bibitem().
9777 * text.C: remove insetbib.h.
9778 * text2.C: replace insetbib.h with insetbibitem.h.
9779 change bibkey() to bibitem().
9780 * text3.C: remove insetbib.h.
9781 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9783 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9785 * lyxrc.C (output): enclose user email in quotes (in case there are
9788 2003-02-18 John Levon <levon@movementarian.org>
9790 * buffer.h: add std::
9792 2003-02-17 John Levon <levon@movementarian.org>
9798 * pspell.C: reworking. Especially in ispell, a large
9799 number of clean ups and bug fixes.
9801 * lyxfunc.C: fix revert to behave sensibly
9803 2003-02-17 André Pönitz <poenitz@gmx.net>
9806 * commandtags.h: new LFUN_INSERT_BIBKEY
9816 * paragraph_func.C: remove special bibkey handling
9818 2003-02-17 John Levon <levon@movementarian.org>
9820 * text.C (Delete): fix case where delete at the end of
9821 the very first paragraph would not merge the pars
9823 2003-02-17 John Levon <levon@movementarian.org>
9825 * lyxrow.C: fix lastPrintablePos()
9827 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9829 * bufferparams.C (writeLaTeX): add a std:here
9831 * buffer.C: and remove a using directive there
9833 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9835 * buffer.C (makeLaTeXFile): move the code that generates the
9838 * bufferparams.C (writeLaTeX): ... in this new method
9840 * LaTeXFeatures.C (getEncodingSet): make const
9841 (getLanguages): make const
9843 * MenuBackend.C (binding): returns the binding associated to this
9845 (add): sets the status of each item by calling getStatus. Adds
9847 (read): add support for OptSubMenu
9848 (expand): remove extra separator at the end of expanded menu
9850 2003-02-15 John Levon <levon@movementarian.org>
9853 * BufferView_pimpl.C:
9855 * bufferlist.C: remove pointless BufferStorage bloat. Remove
9856 inset code that had no actual effect. Remove unneeded status
9859 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9861 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9864 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
9866 * text.C (drawLengthMarker): also draw an arrow marker for
9867 symbolic lengths (medskip...)
9869 2003-02-14 John Levon <levon@movementarian.org>
9872 * tabular.C: better method names
9874 2003-02-14 John Levon <levon@movementarian.org>
9876 * BufferView_pimpl.C:
9881 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9882 it's a more accurate name. Remove some pointless uses.
9884 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9886 * text2.C (LyXText): change order of initilizers to shut off
9889 2003-02-14 John Levon <levon@movementarian.org>
9891 * buffer.C: use ParIterator for getParFromID()
9895 * paragraph_pimpl.h:
9896 * paragraph_pimpl.C: remove unused getParFromID()
9898 2003-02-14 John Levon <levon@movementarian.org>
9900 * buffer.C: remove some very old #if 0'd parse code
9902 2003-02-13 John Levon <levon@movementarian.org>
9906 * text2.C: move hfillExpansion(), numberOfSeparators(),
9907 rowLast(), rowLastPrintable(), numberofHfills(),
9908 numberOfLabelHfills() ...
9911 * lyxrow.C: ... to member functions here.
9916 * text.C: remove LyXText::beginningOfMainBody(), and call
9917 p->beginningOfMainBody() directly. Move the check for
9918 LABEL_MANUAL into the latter.
9925 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9931 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9932 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9934 2003-02-13 John Levon <levon@movementarian.org>
9936 * CutAndPaste.C: remove debug
9938 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9940 * paragraph.C (asString): remove two unused variables
9942 * lyxtextclass.C (readTitleType):
9944 (LyXTextClass): handle new members titletype_ and titlename_
9946 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9948 2003-02-09 John Levon <levon@movementarian.org>
9951 * buffer.C: replace hand-coded list with a map for the dep clean
9953 2003-02-08 John Levon <levon@movementarian.org>
9955 * LaTeX.C: consolidate code into showRunMessage() helper
9957 2003-02-08 John Levon <levon@movementarian.org>
9962 * BufferView.C: change setSelectionOverString() to setSelectionRange()
9963 and pass the size in explicitly
9965 * BufferView_pimpl.h:
9966 * BufferView_pimpl.C:
9968 * BufferView.C: add getCurrentChange()
9970 * BufferView_pimpl.h:
9971 * BufferView_pimpl.C: handle change lfuns
9973 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
9974 for changes. Mark pasted paragraphs as new.
9976 * support/lyxtime.h:
9977 * support/lyxtime.C:
9978 * DepTable.C: abstract time_t as lyx::time_type
9981 * LColor.C: add colours for new text, deleted text, changebars
9983 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
9984 package use "usenames" option.
9988 * LyXAction.C: add change lfuns
9992 * author.C: author handling
9995 * buffer.C: add a per-buffer author list, with first entry as
9996 current author. Handle new .lyx tokens for change tracking. Output
9997 author list to .lyx file. Output dvipost stuff to .tex preamble.
9998 Bump lyx format to 222.
10001 * bufferlist.C: add setCurrentAuthor() to reset current author details
10005 * bufferparams.C: add param for tracking
10007 * bufferview_funcs.C: output change info in minibuffer
10011 * changes.C: add change-tracking structure
10014 * debug.C: add CHANGES debug flag
10017 * lyxfind.C: add code for finding the next change piece
10020 * lyxrc.C: add user_name and user_email
10023 * lyxrow.C: add a metric for the top of the text line
10026 * text.C: implement accept/rejectChange()
10029 * text.C: paint changebars. Paint new/deleted text in the chosen
10030 colours. Strike through deleted text.
10034 * paragraph_pimpl.h:
10035 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
10036 in the current change to the insert functions. Rework erase to
10037 mark text as deleted, adding an eraseIntern() and a range-based
10038 erase(). Implement per-paragraph change lookup and
10041 * paragraph_funcs.C: Fixup paste for change tracking.
10043 * tabular.C: mark added row/columns as new.
10045 * text.C: fix rowLast() to never return -1. Don't allow
10046 spellchecking of deleted text. Track transpose changes. Don't
10047 allow paragraph break or merge where appropriate.
10049 * text2.C: leave cursor at end of selection after a cut.
10051 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10053 * text.C (getLengthMarkerHeight):
10054 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
10055 visible on screen too.
10057 2003-02-07 John Levon <levon@movementarian.org>
10059 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
10061 2003-02-05 Angus Leeming <leeming@lyx.org>
10063 * lyxserver.C (read_ready): revert my patch of 11 September last year
10064 as it sends PC cpu through the roof. Presumably this means that
10065 the lyxserver will no longer run on an Alpha...
10067 2003-01-30 Angus Leeming <leeming@lyx.org>
10069 * factory.C (createInset): create an InsetCommandParam of type "index"
10070 and use it to 'do the right thing'.
10072 * text2.C (getStringToIndex): ensure that cursor position is always
10073 reset to the reset_cursor position.
10075 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10077 * lyxfunc.C (getStatus): "buffer-export custom" should never be
10080 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
10084 * lyxfunc.C: Output messages with identical spelling, punctuation,
10087 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
10089 * MenuBackend.C (expandFormats): List only viewable export formats
10092 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
10095 * lyxfunc.C (getStatus): Make sure that formats other than
10096 "fax" can also be disabled
10098 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10100 * text3.C (dispatch): put the lfuns that insert insets in 3
10101 groups, and call doInsertInset with appropriate arguments.
10102 (doInsertInset): new function, that creates an inset and inserts
10103 it according to some boolean parameters.
10105 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
10107 * buffer.C (readFile): remember to pass on 'par' when calling
10108 readFile recursively.
10110 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10112 * MenuBackend.C (expandFormats): add "..." to import formats.
10114 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
10116 * paragraph.C (asString): Remove XForms RTL hacks.
10118 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
10119 * buffer.C: fix typo
10121 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
10123 * Makefile.am (LIBS): delete var
10124 (lyx_LDADD): add @LIBS@ here instead.
10126 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
10128 * Clarify the meaning of "wheel mouse jump"
10130 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10132 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
10135 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10137 * importer.C (Loaders): do not preallocate 3 elements in the
10138 vector, since one ends up with 6 elements otherwise
10140 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10142 * DepTable.C (write): write the file name as last element of the
10143 .dep file (because it may contain spaces)
10144 (read): read info in the right order
10146 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10148 * paragraph_pimpl.C (simpleTeXBlanks):
10149 (simpleTeXSpecialChars):
10150 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
10152 * tabular.C (latex): add some missing case statements. Reindent.
10154 * MenuBackend.C (expandToc): remove unused variable.
10156 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
10165 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
10168 2003-01-05 John Levon <levon@movementarian.org>
10171 * BufferView.C: add getEncoding()
10174 * kbsequence.C: do not store last keypress
10177 * lyxfunc.C: store last keypress here instead. Pass encoding
10180 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10182 * lyx_main.C (init): remove annoying error message when following
10183 symbolic links (bug #780)
10185 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10187 * text.C (insertChar):
10188 * lyxrc.C (getDescription): remove extra spaces
10190 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10192 * lyxrc.C (getDescription): remove extra spaces
10194 2002-12-20 John Levon <levon@movementarian.org>
10196 * text3.C: hack fix for page up/down across tall rows
10198 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10200 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10203 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10205 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10206 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10207 thesaurus is not compiled in
10209 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
10211 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
10213 2002-12-16 Angus Leeming <leeming@lyx.org>
10216 * lyx_main.C (init): remove override_x_deadkeys stuff.
10218 2002-12-12 John Levon <levon@movementarian.org>
10220 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10221 insert. Only remove shift modifier under strict
10224 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
10226 * MenuBackend.C (expandToc): fix crash.
10228 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
10230 * MenuBackend.C (expandToc): gettext on float names.
10232 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
10234 * lyxlength.[Ch]: set default unit to UNIT_NONE,
10235 implement bool empty() [bug 490]
10237 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
10239 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10241 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
10243 * several files: ws changes
10245 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
10247 * text2.C (setCounter): clean up a bit, use boost.format.
10248 (updateCounters): initialize par upon declaration.
10250 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10251 if the layout exists. We do not just store the layout any more.
10252 (SwitchLayoutsBetweenClasses): use boost.format
10254 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10256 * converter.C (convert): if from and to files are the same, use a
10257 temporary files as intermediary
10259 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10262 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10264 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
10266 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10268 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
10270 * tabular.C (asciiPrintCell): use string(size, char) instead of
10273 * sgml.C (openTag): fix order of arguments to string constructor
10276 * lyxfunc.C (dispatch): use boost.format
10278 * lots of files: change "c" -> 'c'
10280 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
10282 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10284 2002-11-25 Angus Leeming <leeming@lyx.org>
10286 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10288 * lyx_main.C (init): compile fix.
10290 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
10292 * lyx_cb.C (start): boost.formatify
10293 do not include <iostream>
10295 * lengthcommon.C: ws only
10297 * boost-inst.C,BoostFormat.h: add more explict instantations
10299 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
10301 * lots of files: handle USE_BOOST_FORMAT
10303 2002-11-21 John Levon <levon@movementarian.org>
10305 * pspell.C: fix compile
10307 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10309 * lyxfunc.C (dispatch): use boost::format
10313 * lyxfont.C (stateText): use boost::format
10315 * lyx_main.C (LyX): use boost::format
10317 (queryUserLyXDir): ditto
10318 (readRcFile): ditto
10320 (typedef boost::function): use the recommened syntax.
10322 * importer.C (Import): use boost::format
10324 * debug.C (showLevel): use boost::format
10326 * converter.C (view): use boost::format
10331 * bufferview_funcs.C (currentState): use boost::format
10333 * bufferlist.C (emergencyWrite): use boost::format
10335 * buffer.C (readLyXformat2): use boost::format
10336 (parseSingleLyXformat2Token): ditto
10338 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10340 * LaTeX.C (run): use boost::format
10342 * Chktex.C (scanLogFile): use boost::format
10344 * BufferView_pimpl.C (savePosition): use boost::format
10345 (restorePosition): ditto
10346 (MenuInsertLyXFile): ditto
10348 * BoostFormat.h: help file for explicit instation.
10350 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
10352 * tabular.C (latex): Support for block alignment in fixed width
10355 2002-11-17 John Levon <levon@movementarian.org>
10357 * BufferView_pimpl.C:
10359 * lyxfunc.C: split filedialog into open/save
10361 2002-11-08 Juergen Vigna <jug@sad.it>
10363 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10364 by my last patch (hopefully).
10366 2002-11-08 John Levon <levon@movementarian.org>
10375 * toc.C: ParConstIterator, and use it (from Lars)
10377 2002-11-07 Ben Stanley <bds02@uow.edu.au>
10379 * lyxtextclass.[Ch]: revise and add doxygen comments
10381 2002-11-07 John Levon <levon@movementarian.org>
10383 * text.C: fix progress value for spellchecker
10385 * toc.C: fix navigate menu for insetwrap inside minipage
10387 * paragraph_funcs.C: added FIXME for suspect code
10389 2002-11-07 John Levon <levon@movementarian.org>
10391 * BufferView_pimpl.C: fix redrawing of insets
10394 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10396 * text2.C (updateCounters): fix bug 668
10398 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
10400 * text3.C (dispatch): Do not make the buffer dirty when moving the
10403 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10405 * vc-backend.C: STRCONV
10406 (scanMaster): ditto
10408 * text2.C (setCounter): STRCONV
10410 * paragraph.C (asString): STRCONV
10412 * lyxlength.C (asString): STRCONV
10413 (asLatexString): ditto
10415 * lyxgluelength.C (asString): STRCONV
10416 (asLatexString): ditto
10418 * lyxfunc.C (dispatch): STRCONV
10421 * lyxfont.C (stateText): STRCONV
10423 * importer.C (Import): STRCONV
10425 * counters.C (labelItem): STRCONV
10426 (numberLabel): ditto
10427 (numberLabel): remove unused ostringstream o
10432 * bufferview_funcs.C (currentState): STRCONV
10434 * buffer.C (readFile): STRCONV
10435 (asciiParagraph): ditto
10436 (makeLaTeXFile): ditto
10438 * Spacing.C (writeEnvirBegin): STRCONV
10440 * LaTeXFeatures.C (getLanguages): STRCONV
10441 (getPackages): ditto
10443 (getBabelOptions): ditto
10444 (getTClassPreamble): ditto
10445 (getLyXSGMLEntities): ditto
10446 (getIncludedFiles): ditto
10450 (scanAuxFile): ditto
10453 * LString.h: add the STRCONV macros
10455 * BufferView_pimpl.C (savePosition): STRCONV
10456 (restorePosition): ditto
10457 (MenuInsertLyXFile): ditto
10459 * vc-backend.C (scanMaster): change from submatch[...] to
10462 * funcrequest.C: include config.h
10464 * factory.C: include config.h
10466 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10468 * box.C: include config.h
10470 * LaTeX.C (scanAuxFile): change from submatch[...] to
10474 2002-10-25 Angus Leeming <leeming@lyx.org>
10476 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10478 * ispell.[Ch] (setError): new method.
10479 * ispell.C (c-tor): move out child process into new class LaunchIspell.
10480 Use setError() insetead of goto END.
10482 * lyx_cb.C (AutoSave): move out child process into new class
10485 2002-10-30 John Levon <levon@movementarian.org>
10487 * text3.C: make start appendix undoable
10489 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
10491 * lyxlength.C (inPixels): Fix returned value.
10493 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10496 2002-10-24 Angus Leeming <leeming@lyx.org>
10498 * lyxgluelength.h: no need to forward declare BufferParams
10499 or BufferView, so don't.
10501 2002-10-21 John Levon <levon@movementarian.org>
10503 * BufferView.C: menuUndo ->undo, redo
10505 * BufferView.h: document, remove dead, make some methods private
10507 * paragraph_funcs.h:
10508 * paragraph_funcs.C:
10509 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10514 * sgml.C: move sgml open/close tag into sgml.C
10516 * bufferview_funcs.h: unused prototype
10519 * lyxfunc.C: remove unused
10522 * text.C: remove unused
10524 2002-10-21 John Levon <levon@movementarian.org>
10528 * BufferView_pimpl.h:
10529 * BufferView_pimpl.C: fix mouse wheel handling based on
10530 patch from Darren Freeman
10532 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
10534 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10536 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
10538 * lyxlength.C (inPixels): Fix hanfling of negative length.
10539 Fix LyXLength::MU case.
10541 2002-10-16 John Levon <levon@movementarian.org>
10543 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10545 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10547 * converter.C (view): add support for $$i (file name) and $$p
10548 (file path) for the viewer command. If $$i is not specified, then
10549 it is appended to the command (for compatibility with old syntax)
10551 2002-10-14 Juergen Vigna <jug@sad.it>
10553 * undo_funcs.C (textHandleUndo): alter the order in which the
10554 new undopar is added to the LyXText, as we have to set first
10555 the right prev/next and then add it as otherwise the rebuild of
10556 LyXText is not correct. Also reset the cursor to the right paragraph,
10557 with this IMO we could remove the hack in "redoParagraphs()".
10559 2002-10-09 Angus Leeming <leeming@lyx.org>
10561 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10562 to turn off an optimisation if a new inset is to be inserted.
10564 2002-10-11 André Pönitz <poenitz@gmx.net>
10566 * lyxtext.h: make some functions public to allow access
10567 from inset/lyxtext for handling LFUN_PRIOR/NEXT
10569 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10571 * text3.C (dispatch): when changing layout, avoid an infinite loop
10574 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10576 * lyxrc.C (read): treat a viewer or converter command of "none" as
10579 * MenuBackend.C (expandFormats): for an update, also allow the
10580 formats that are not viewable
10582 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10583 script if it is newer than the lyxrc.defaults in user directory
10585 2002-10-07 André Pönitz <poenitz@gmx.net>
10587 * text.C: Vitaly Lipatov's small i18n fix
10589 2002-09-25 Angus Leeming <leeming@lyx.org>
10591 * ispell.h: doxygen fix.
10593 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
10595 * buffer.h (readFile): Add a new argument to the method, to allow
10596 reading of old-format templates.
10598 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
10600 * toc.C (getTocList): Get TOC from InsetWrap.
10602 2002-09-16 John Levon <levon@movementarian.org>
10604 * lyxfunc.C: check tabular for cut/copy too
10606 2002-09-12 John Levon <levon@movementarian.org>
10608 * LyXAction.C: tidy
10611 * factory.C: add header
10613 * paragraph_funcs.h:
10614 * paragraph_funcs.C: cleanup
10616 2002-09-11 John Levon <levon@movementarian.org>
10618 * PrinterParams.h: odd/even default to true
10620 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
10622 * PrinterParams.h: update printer parameters for new xforms dialog
10624 2002-09-11 Angus Leeming <leeming@lyx.org>
10626 * lyxserver.C (read_ready): re-write to make it more transparent
10627 and to make it work in coherent fashion under Tru64 Unix.
10629 2002-09-11 André Pönitz <poenitz@gmx.net>
10633 * text3.C: implement LFUN_WORDSEL
10635 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10637 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10638 make floatlist_ a boost::shared_ptr<FloatList>
10640 * lyxtextclass.C: include FloatList.h
10641 (LyXTextClass): initialize floatlist_
10642 (TextClassTags): add TC_NOFLOAT
10643 (Read): match "nofloat" to TC_NOFLOAT and use it.
10644 (readFloat): modify call to floatlist_
10648 * FloatList.[Ch] (FloatList): remove commented out float
10650 (erase): new function
10652 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10654 * MenuBackend.C (expandToc): fix crash when there is no document
10657 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
10659 * many files: Add insetwrap.
10661 2002-09-09 John Levon <levon@movementarian.org>
10663 * text2.C: remove confusing and awkward depth wraparound
10665 2002-09-09 John Levon <levon@movementarian.org>
10667 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10670 * buffer.C: remove getIncludeonlyList()
10673 * lyxfunc.C: remove headers
10675 2002-09-09 Juergen Vigna <jug@sad.it>
10677 * text.C (getColumnNearX): fix form Michael this is most
10678 probably a cut&paste bug.
10680 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
10682 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10684 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10685 references, ws changes.
10687 * text2.C (init): update counters after init
10688 (insertParagraph): no need to set counter on idividual paragraphs.
10689 (setCounter): access the counters object in the textclass object
10690 on in the buffer object.
10691 (updateCounters): ditto
10693 * lyxtextclass.C: include counters.h, add variable ctrs_ as
10694 shared_ptr<Counters> to avoid loading counters.h in all
10696 (LyXTextClass): initialize ctrs_
10697 (TextClassTags): add TC_COUNTER, and ...
10698 (Read): use it here.
10699 (CounterTags): new tags
10700 (readCounter): new function
10701 (counters): new funtion
10702 (defaultLayoutName): return a const reference
10704 * counters.C (Counters): remove contructor
10705 (newCounter): remove a couple of unneeded statements.
10706 (newCounter): simplify a bit.
10707 (numberLabel): some small formatting changes.
10709 * buffer.[Ch]: remove all traces of counters, move the Counters
10710 object to the LyXTextClass.
10712 2002-09-06 Alain Castera <castera@in2p3.fr>
10714 * tabular.C: uses \tabularnewline; uses >{...} construct from array
10715 package to set the horizontal alignment on fixed width columns.
10718 * lyx_sty.h: added tabularnewline macro def.
10720 * LaTeXFeatures.C: added NeedTabularnewline macro feature
10722 2002-09-06 John Levon <levon@movementarian.org>
10724 * LyXAction.C: tooltips for sub/superscript
10726 * MenuBackend.C: a bit more verbose
10728 * lyxfunc.C: tiny clean
10730 * undo_funcs.C: document undo_frozen
10732 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
10734 * counters.C (Counters): add missing algorithm counter.
10736 * text2.C (setCounter): lookup the counter with layouts latexname
10737 instead of by section number.
10738 (setCounter): use a hackish way to lookup the correct enum
10740 a float name->type change
10741 reset enum couners with counter name directly instead of depth value.
10743 * counters.C (Counters): remove the push_backs, change to use the
10744 float type not the float name.
10745 (labelItem): remove unused string, float name->type change
10747 * counters.h: don't include vector, loose the enums and sects vectors
10749 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10751 * lyxtextclass.C (TextClassTags): add TC_FLOAT
10752 (Read): add float->TC_FLOAT to textclassTags
10753 (Read): and handle it in the switch
10754 (readFloat): new function
10756 * FloatList.C (FloatList): comment out the hardcoded float
10759 * lyxlayout.h: ws change.
10761 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
10763 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10765 2002-09-03 Angus Leeming <leeming@lyx.org>
10767 * BufferView_pimpl.h: qualified name is not allowed in member
10768 declaration: WorkArea & Pimpl::workarea() const;
10770 * factory.C: added using std::endl directive.
10772 * text3.C: added using std::find and std::vector directives.
10774 2002-08-29 André Pönitz <poenitz@gmx.net>
10777 * text2.C: remove unused member number_of_rows
10780 * BufferView2.C: remove file, move contents to...
10781 * BufferView.C: ... here
10783 * BufferView_pimpl.C:
10784 * factory.C: move more inset creation to factory
10786 * vspace.C: avoid direct usage of LyXText, ws changes
10789 don't provide direct access to WorkArea, use two simple
10790 acessors haveSelction() and workHeight() instead
10793 2002-08-29 John Levon <levon@movementarian.org>
10795 * BufferView_pimpl.C (dispatch): do not continue when
10798 2002-08-28 André Pönitz <poenitz@gmx.net>
10800 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10803 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10805 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
10807 * buffer.C: increment LYX_FORMAT to 221
10809 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10810 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10812 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10814 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10816 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10818 * factory.C (createInset): use LyXTextClass::floats
10820 * MenuBackend.C (expandFloatListInsert):
10821 (expandFloatInsert):
10824 * text2.C (setCounter):
10826 * LaTeXFeatures.C (useFloat):
10827 (getFloatDefinitions):
10829 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10831 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10832 floatlist_, with accessor floats().
10834 * FloatList.h: remove global FloatList
10836 2002-08-26 André Pönitz <poenitz@gmx.net>
10838 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10842 * BufferView_pimpl.C:
10843 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10845 2002-08-25 John Levon <levon@movementarian.org>
10847 * LyXAction.C: fix margin note description
10849 2002-08-24 John Levon <levon@movementarian.org>
10853 * bufferview_funcs.C:
10855 * undo_funcs.C: cleanups
10857 * lyxfunc.C: disable CUT/COPY when no selection
10859 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
10861 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
10862 in "enum UNIT"; e.g. PTW for Percent of TextWidth
10864 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10865 Add backward compatibility to "mono", "gray" and "no".
10867 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
10869 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10870 (and file_format >= 200).
10872 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10874 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10876 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10878 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10880 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
10882 * BufferView_pimpl.C:
10889 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10890 inset and code to make it work with the paragraph code. The inset
10891 can be anywhere in the paragraph, but will only do the expected
10892 thing in LaTeX if the layout file contains the parameter line
10894 (or more generally, a nonzero value) for that layout.
10896 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
10898 * paragraph.h: remove the declaration of undefined counters class
10901 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
10903 * text2.C (setCounter): fixed enumeration mis-count as reported by
10904 Dr. Richard Hawkins.
10906 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10908 * paragraph_funcs.h: remove some unneeded includes
10910 * text.C (backspace): pasteParagraph now in global scipe
10912 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
10913 (pasteSelection): ditto
10915 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
10916 * paragraph_funcs.C (pasteParagraph): ... here
10918 2002-08-20 André Pönitz <poenitz@gmx.net>
10920 * commandtags.h: new LFUNs for swapping/copying table row/colums
10923 * lyxfunc.C: support for new lfuns
10925 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
10928 * buffer.[Ch]: remove NO_COMPABILITY stuff
10930 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
10932 * boost.C (throw_exception): new file, with helper function for
10933 boost compiled without exceptions.
10938 * ParameterStruct.h:
10939 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10941 * bufferlist.C (emergencyWriteAll): use boost bind
10943 * BufferView_pimpl.C (moveCursorUpdate): remove inline
10945 * text.C: include paragraph_funcs.h
10946 (breakParagraph): breakParagraph is now in global scope
10948 * paragraph_funcs.[Ch]: new files
10950 * paragraph.C (breakParagraph,breakParagraphConservative): move to
10953 * buffer.C: include paragraph_funcs.h
10954 (insertStringAsLines): breakParagraph is now in global scope
10956 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10959 * CutAndPaste.C: include paragraph_funcs.h
10960 (cutSelection): breakParagraphConservative is now in global scope
10961 (pasteSelection): ditto
10963 * buffer.h: declare oprator== and operator!= for
10964 Buffer::inset_iterator
10966 * bufferlist.C (emergencyWrite): don't use fmt(...)
10968 * text3.C: add using std::endl
10970 * BufferView.C (moveCursorUpdate): remove default arg
10972 2002-08-20 André Pönitz <poenitz@gmx.net>
10974 * buffer.[Ch]: move inline functions to .C
10977 * BufferView_pimpl.C:
10979 * buffer.[Ch]: use improved inset_iterator
10982 * paragraph.[Ch]: write one paragraph at a time
10984 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
10986 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
10987 style if style is not specified.
10989 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10991 * text2.C (setCounter): when searching for right label for a
10992 caption, make sure to recurse to parent insets (so that a caption
10993 in a minipage in a figure float works) (bug #568)
10995 2002-08-20 André Pönitz <poenitz@gmx.net>
10997 * text3.C: new file for LyXText::dispatch() and helpers
10999 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
11001 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
11003 2002-08-19 André Pönitz <poenitz@gmx.net>
11006 * text.C: new LyXText::dispatch()
11008 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
11010 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
11012 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
11014 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
11017 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11019 * Makefile.am: use $(variables) instead of @substitutions@
11021 2002-08-15 André Pönitz <poenitz@gmx.net>
11024 * BufferView_pimpl.C: streamlining mathed <-> outer world
11028 * LyXAction.C: remove unused LFUN_MATH
11030 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
11032 * paragraph.[Ch]: add some NO_NEXT ifdefs.
11034 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
11036 * paragraph.C (Paragraph): reformat a bit
11037 (cutIntoMinibuffer): use builtin InsetList function instad of
11041 * buffer.C: include boost/bind.hpp, add using std::for_each
11042 (writeFileAscii): use ParagraphList iterators
11043 (validate): use for_each for validate traversal of paragraphs
11044 (getBibkeyList): use ParagraphList iterators
11045 (resizeInsets): use for_each to resizeInsetsLyXText for all
11047 (getParFromID): use ParagraphList iterators
11049 * BufferView2.C (lockInset): use paragraph list and iterators
11051 2002-08-14 John Levon <levon@movementarian.org>
11053 * lyxserver.C: remove spurious xforms include
11055 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11057 * lyxfunc.C (getStatus): disable math-extern outside of math mode
11059 2002-08-13 André Pönitz <poenitz@gmx.net>
11062 * lyxfunc.C: further cleaning
11064 2002-08-13 André Pönitz <poenitz@gmx.net>
11066 * funcrequest.h: new constructor
11068 * funcrequest.C: move stuff here from .h
11071 * BufferView_pimpl.C:
11074 * lyxfunc.C: subsequent changes
11076 * lyxfunc.h: new view() member function
11078 * lyxfunc.C: subsequent changes
11080 2002-08-13 Angus Leeming <leeming@lyx.org>
11083 * BufferView_pimpl.C:
11091 changes due to the changed LyXView interface that now returns references
11092 to member variables not pointers.
11094 2002-08-13 Angus Leeming <leeming@lyx.org>
11096 * WordLangTuple (word, lang_code): return references to strings,
11101 * lyxtext.h: forward-declare WordLangTuple.
11106 * text.C: #include "WordLangTuple.h".
11109 * text.C: (selectNextWordToSpellcheck): constify return type.
11111 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
11117 * paragraph_pimpl.h:
11120 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
11121 suggested by Angus.
11122 Made updateCounter always count from start of buffer, and removed
11123 second argument (par).
11124 Reverted floats number display to '#'. Perhaps I'll try again when the
11125 code base is sanitized a bit.
11127 2002-08-12 Angus Leeming <leeming@lyx.org>
11129 * buffer.[Ch] (getLabelList): constify.
11131 2002-08-07 André Pönitz <poenitz@gmx.net>
11133 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
11135 * funcrequest.h: extension to keep mouse (x,y) position
11137 2002-08-12 Juergen Vigna <jug@sad.it>
11139 * BufferView2.C (insertErrors): forbid undo when inserting error
11142 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
11144 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
11146 * ParagraphList.[Ch]: new files
11148 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
11150 * BufferView2.C (lockInset): ParagraphList changes
11153 * bufferlist.C: ditto
11157 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11159 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
11160 unused class variable counter_,
11162 * paragraph.[Ch] (getFirstCounter): delete unused function
11164 * counters.C: include LAssert.h
11165 (reset): add a new function with no arg, change other version to
11166 not have def. arg and to not allow empty arg.
11168 * text2.C (setCounter): remove empty arg from call to Counters::reset
11170 2002-08-11 John Levon <levon@movementarian.org>
11172 * Makefile.am: add WordLangTuple.h
11174 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11176 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
11177 lyxfunc.C lyxlex_pimpl.C: ws changes only.
11179 * insets/insettext.C: InsetList changes
11181 * graphics/GraphicsSupport.C (operator()): InsetList changes
11183 * toc.C (getTocList): InsetList changes
11185 * paragraph_pimpl.[Ch]: InsetList changes
11187 * paragraph.[Ch]: InsetList changes
11189 * buffer.C (inset_iterator): InsetList changes
11190 (setParagraph): ditto
11191 * buffer.h (inset_iterator): ditto
11192 * iterators.C (operator++): ditto
11193 * iterators.h: ditto
11195 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11197 * InsetList.[Ch]: new files, most InsetList handling moved out of
11200 * BufferView2.C (removeAutoInsets): InsetList changes
11202 (ChangeInsets): ditto
11204 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
11206 * paragraph_pimpl.h (empty): new function
11208 * paragraph.[Ch] (empty): new function
11210 * other files: use the new Paragraph::empty function
11212 2002-08-09 John Levon <levon@movementarian.org>
11214 * lyxtext.h: remove unused refresh_height
11216 2002-08-09 John Levon <levon@movementarian.org>
11223 * paragraph.C: move sgml char escaping out of paragraph
11226 * paragraph.C: remove id setter
11230 * paragraph_pimpl.C: remove dead tex_code_break_column
11232 * bufferview_funcs.C: small cleanup
11234 * lyxfunc.C: remove dead proto
11236 * lyxtext.h: make some stuff private. Remove some dead stuff.
11238 * lyxgluelength.C: make as[LyX]String() readable
11240 2002-08-08 John Levon <levon@movementarian.org>
11245 * ToolbarDefaults.C:
11248 * toc.C: lyxaction cleanup
11250 2002-08-08 John Levon <levon@movementarian.org>
11252 * BufferView2.C: small cleanup
11255 * lyxfind.C: move unnecessary header into the .C
11257 2002-08-08 John Levon <levon@movementarian.org>
11259 * funcrequest.h: just tedious nonsense
11262 * lyx_main.C: cleanups
11265 * vspace.C: remove dead header lyx_main.h
11267 2002-08-07 Angus Leeming <leeming@lyx.org>
11270 * paragraph_pimpl.h:
11271 Forward declare class Counters in paragraph.h by moving the ctrs member
11272 variable into Paragraph::Pimpl.
11273 (counters): new method, returning a reference to pimpl_->ctrs.
11275 * text2.C: ensuing changes.
11277 2002-08-07 John Levon <levon@movementarian.org>
11279 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11281 * BufferView_pimpl.C: announce X selection on double/triple
11284 * lyx_main.C: use correct bool in batch dispatch
11286 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11288 2002-08-07 André Pönitz <poenitz@gmx.net>
11290 * funcrequest.h: new class to wrap a kb_action and its argument
11293 * BufferView_pimpl[Ch]:
11297 * lyxrc.C: subsequent changes
11300 2002-08-07 John Levon <levon@movementarian.org>
11302 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11303 document options change.
11305 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11310 * makefile.am: move counters functionality over from
11311 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11313 2002-08-06 John Levon <levon@movementarian.org>
11315 * WordLangTuple.h: new file for word + language code tuple
11326 * BufferView2.C: use WordLangTuple
11329 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11331 2002-08-06 John Levon <levon@movementarian.org>
11333 * lyx_main.C: fix cmdline batch handling
11335 2002-08-06 André Pönitz <poenitz@gmx.net>
11337 * lyxrc.C: set default for show_banner to true
11339 2002-08-06 John Levon <levon@movementarian.org>
11341 * pspell.C: fix a crash, and allow new aspell to work
11343 2002-08-06 John Levon <levon@movementarian.org>
11346 * kbmap.C: small cleanup
11349 * vspace.C: add const
11351 2002-08-05 John Levon <levon@movementarian.org>
11353 * LyXAction.C: back to tabular-insert
11355 2002-08-04 John Levon <levon@movementarian.org>
11358 * BufferView.C: cosmetic change
11360 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11370 * BufferView2.C: purge all "Lyx" not "LyX" strings
11373 * lyxcursor.C: attempt to add some documentation
11378 * ToolbarDefaults.C:
11379 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11380 merge with LFUN_TABULAR_INSERT
11387 * pspell.C: split up i/pspell implementations into separate
11388 files, many cleanups
11390 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11392 * text2.C: some cleanup
11394 * lyxfunc.C: don't check for isp_command == "none" any more, it
11395 didn't make any sense
11397 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11402 * makefile.am: move counters functionality over
11403 from text2.C/paragraph.[Ch] to counters.[Ch], and
11405 2002-08-02 John Levon <levon@movementarian.org>
11407 * buffer.C: s/lyxconvert/lyx2lyx/
11409 2002-08-02 Angus Leeming <leeming@lyx.org>
11411 * lyxlex.C: revert John's change as it breaks reading of the user
11414 2002-08-02 Angus Leeming <leeming@lyx.org>
11416 * importer.C (Import):
11417 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11418 changes due to LyXView::view() now returning a boost::shared_ptr.
11420 2002-08-02 John Levon <levon@movementarian.org>
11422 * lyxlex.C: small cleanup
11424 2002-08-02 John Levon <levon@movementarian.org>
11426 * text2.C (status): small cleanup, no logic change
11428 2002-08-01 John Levon <levon@movementarian.org>
11431 * buffer.C (writeFile): don't output alerts, caller
11435 * lyx_cb.C: from above
11437 * lyxfunc.C: allow to open non-existent files
11439 2002-07-31 John Levon <levon@movementarian.org>
11441 * lyxserver.C: don't let incidental errors get
11444 2002-07-30 John Levon <levon@movementarian.org>
11446 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11448 2002-07-30 John Levon <levon@movementarian.org>
11451 * lyxserver.C: remove I/O callback too
11453 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11455 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11458 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
11460 * many files: strip,frontStrip -> trim,ltrim,rtrim
11462 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
11464 * PrinterParams.h: remove extern containsOnly, and include
11465 support/lstrings.h instead.
11467 * LaTeX.C (scanAuxFile): modify because of strip changes
11469 * buffer.C (makeLaTeXFile): ditto
11470 * bufferparams.C (writeFile): ditt
11471 * lyxfont.C (stateText): ditto
11472 * lyxserver.C (read_ready): ditto
11473 * vc-backend.C (scanMaster): ditto
11475 * BufferView_pimpl.h: ws changes
11477 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11479 2002-07-26 André Pönitz <poenitz@gmx.net>
11481 * kb_sequence.C: remove unnedred usings
11483 2002-07-26 Juergen Vigna <jug@sad.it>
11485 * lyxfind.C (LyXReplace): we have to check better if the returned
11486 text is not of theLockingInset()->getLockingInset().
11488 2002-07-25 Juergen Vigna <jug@sad.it>
11490 * lyxfind.C (LyXReplace): don't replace if we don't get the
11493 * undo_funcs.C (createUndo): remove debugging code.
11495 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
11497 * buffer.C (parseSingleLyXformat2Token): Use default placement
11498 when reading old floats.
11500 * FloatList.C (FloatList): Change the default placement of figure
11501 and tables to "tbp".
11503 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
11505 * MenuBackend.C: using std::max
11507 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11509 * MenuBackend.C (expandToc):
11510 (expandToc2): code moved from xforms menu frontend. It is now
11511 generic and TOCs are transparent to menu frontends.
11513 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11515 * toc.C (getTocList): protect against buf=0
11517 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11518 Menu as first parameter. Now, this calls itself recursively to
11519 expand a whole tree (this will be useful for TOC handling)
11520 (expandFloatInsert): remove 'wide' version of floats
11522 * MenuBackend.h (submenuname): returns the name of the submenu.
11523 (submenu): returns the submenu itself, provided it has been
11524 created by MenuBackend::expand
11526 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11528 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11529 insets which have noFontChange == true. (bug #172)
11531 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11533 * BufferView_pimpl.C: add connection objects and use them...
11536 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11538 * MenuBackend.C (expandLastfiles):
11541 (expandFloatListInsert):
11542 (expandFloatInsert):
11543 (expand): split expand in parts
11545 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11547 * lyx_gui.C: use lyx_gui::exit()
11549 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11551 * LyXAction.C: show the failing pseudo action
11553 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
11555 * buffer.C (readFile): Run the lyxconvert script in order to read
11558 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11562 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11564 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11568 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11570 2002-07-22 Herbert Voss <voss@lyx.org>
11573 * lyxlength.[Ch]: add support for the vertical lengths
11575 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
11577 * toc.[Ch]: std:: fixes
11579 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11581 * lyxrc.C: do not include lyx_main.h
11583 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11589 * BufferView2.C: include "lyxlex.h"
11592 * bufferparams.h: do not #include "lyxlex.h"
11594 * lyxtextclasslist.C (Add): remove method
11595 (classlist): renamed to classlist_
11597 * paragraph_pimpl.C:
11601 * bufferview_funcs.C:
11606 * toc.C (getTocList): use BufferParams::getLyXTextClass
11608 * toc.C (getTocList): use InsetFloat::addToToc
11610 * toc.[Ch]: new files, containing helper functions to handle table
11613 * lyxfunc.C (dispatch): no need to remove spaces around command
11615 (getStatus): handle LFUN_SEQUENCE by returning the status of the
11616 first command of the sequence; it is not very clever, but I do not
11617 have a better idea, actually
11619 * LyXAction.C (LookupFunc): make sure to remove space at the
11620 beginning and end of the command
11622 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11624 * MenuBackend.C (getMenubar): new method: return the menubar of
11626 (read): treat differently reading of menu and menubar (in
11627 particular, the menubar has no name now)
11628 (Menu::menubar): remove
11630 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11633 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11635 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11636 a bibitem inset in a RTL paragraph.
11638 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
11640 * paragraph_pimpl.C: constify
11642 * BufferView_pimpl.C:
11644 * lyxfunc.C: fix dispatch in a nicer way
11646 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11648 * lyxfunc.C (dispatch):
11649 * BufferView_pimpl.C:
11650 * BufferView_pimpl.h:
11652 * BufferView.h: rename Dispatch() to dispatch()
11654 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11656 * lyxlayout.C (Read): honor DependsOn tag
11658 * lyxlayout.[Ch] (depends_on): new method
11660 * version.C.in: update lyx_docversion
11662 * LaTeXFeatures.C (getMacros): only define \LyX when needed
11664 * paragraph.C (validate): remove from here...
11665 * paragraph_pimpl.C (validate): ... and move here
11666 (isTextAt): make it const
11668 * buffer.C (getLists): ws cleanup
11670 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11672 * language.C (read): Use iso8859-1 encoding in latex_lang
11673 (this prevents LyX from crashing when using iso10646-1 encoding).
11675 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11677 * text2.C (toggleInset): if cursor is inside an inset, close the
11678 inset and leave cursor _after_ it
11680 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11682 * lyxfunc.C: move minibuffer completion handling out of here
11684 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11686 * BufferView_pimpl.C:
11687 * LaTeX.C: fix dispatch calls
11689 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
11691 * text.C (drawChars): Fix Arabic text rendering.
11693 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
11697 * lyxfunc.C: remove message-push/pop
11701 * lyxfunc.C: rationalise some code by removing verboseDispatch
11702 in favour of a bool argument to dispatch()
11704 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11706 * lyx_main.C (init): make sure to read symlinks as absolute paths
11708 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11711 * lyxfunc.C: no need for commandshortcut to be a member
11713 2002-07-15 André Pönitz <poenitz@gmx.net>
11715 * converter.C: add support for $$s (scripts from lib/scripts dir)
11716 * lyx_main.C: white space
11718 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11722 * lyxrc.C: remove second exit confirmation
11724 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11729 * BufferView_pimpl.h:
11730 * BufferView_pimpl.C:
11731 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11733 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11735 * MenuBackend.C (expand): add numeric shortcuts to document menu
11737 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11739 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11741 * lyxfont.C (setLyXFamily):
11748 * buffer.C (asciiParagraph): use ascii_lowercase
11750 2002-07-15 Mike Fabian <mfabian@suse.de>
11752 * lyxlex_pimpl.C (search_kw):
11753 * lyxlex.C (getLongString):
11754 * converter.h (operator<):
11755 * converter.C (operator<):
11756 * buffer.C (parseSingleLyXformat2Token):
11758 * ToolbarDefaults.C (read):
11759 * MenuBackend.C (checkShortcuts):
11761 * LColor.C (getFromGUIName):
11762 (getFromLyXName): use the compare_ascii_no_case instead of
11763 compare_no_case, because in turkish, 'i' is not the lowercase
11764 version of 'I', and thus turkish locale breaks parsing of tags.
11766 2002-07-16 Angus Leeming <leeming@lyx.org>
11768 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11769 now takes a Buffer const & argument.
11771 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
11773 * BufferView.C (resize): check there's a buffer to resize
11775 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
11777 * lyxfunc.C: remove dead code
11780 * lyxserver.C: use lyx_guii::set_read_callback
11782 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
11784 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11785 an inset in a RTL paragraph.
11787 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11789 * lyxfunc.C: repaint after a font size update
11791 2002-07-15 André Pönitz <poenitz@gmx.net>
11793 * lyxlength.C: inBP should be able to return negative values
11795 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11797 * lyxfunc.C: use lyx_gui::update_fonts()
11799 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11801 * lyxfunc.C: use lyx_gui::update_color()
11803 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11809 * lyxrc.C: remove file->new asks for name option, and let
11810 buffer-new take an argument
11812 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11814 * BufferView_pimpl.C: remove unneeded extra repaint()
11816 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
11818 * LyXAction.C: allow command-sequence with NoBuffer
11820 * lyxfunc.C: don't insist on trailing ';' for command-sequence
11822 2002-07-10 Angus Leeming <leeming@lyx.org>
11824 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11826 2002-07-09 Angus Leeming <leeming@lyx.org>
11828 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11830 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11832 * lengthcommon.h: whitespace
11834 * lyxfunc.C: update scrollbar after goto paragraph
11836 * lyxtext.h: factor out page break drawing, and fix it so
11837 page break/added space paints as selected nicely
11839 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11841 * BufferView_pimpl.C: add FIXMEs, clean up a little
11843 2002-07-09 André Pönitz <poenitz@gmx.net>
11845 * lyxfont.[Ch]: support for wasy symbols
11847 2002-07-08 André Pönitz <poenitz@gmx.net>
11849 * BufferView_pimpl.C: apply John's patch for #93.
11851 2002-07-05 Angus Leeming <leeming@lyx.org>
11853 * BufferView_pimpl.C (buffer): generate previews if desired.
11855 * LColor.h: add "preview" to the color enum.
11857 * LColor.C (LColor): add a corresponding entry to the items array.
11859 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
11862 2002-07-05 Angus Leeming <leeming@lyx.org>
11864 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11865 The body of the code is now in the method that is passed an ostream &
11866 rather than a file name.
11867 Pass an additional only_preamble parameter, useful for the forthcoming
11870 2002-07-03 André Pönitz <poenitz@gmx.net>
11872 * lyxfunc.C: simplify getStatus() a bit for math stuff
11874 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11876 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11878 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11880 * text.C (changeRegionCase): do not change case of all the
11881 document when region ends at paragraph end (bug #461)
11883 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11885 * paragraph.C (startTeXParParams):
11886 (endTeXParParams): add \protect when necessary
11888 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11890 * BufferView_pimpl.C (workAreaExpose): remove warning
11892 2002-06-27 Angus Leeming <leeming@lyx.org>
11894 * Makefile.am: add lyxlayout_ptr_fwd.h.
11896 2002-06-26 André Pönitz <poenitz@gmx.net>
11898 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
11900 2002-06-25 Angus Leeming <leeming@lyx.org>
11902 * lyxfunc.C (dispatch): Comment out the call to
11903 grfx::GCache::changeDisplay. The method no longer exists now that the
11904 pixmap generation part of the graphics loader has been moved into
11907 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11909 * text2.C: layout as layout
11911 * text.C: layout as layout
11913 * tabular.C (OldFormatRead): layout as layout
11915 * paragraph_pimpl.C (TeXDeeper): layout as layout
11916 (realizeFont): layout as layout
11918 * paragraph.C (writeFile): layout as layout
11919 (validate): layout as layout
11920 (getFont): layout as layout
11921 (getLabelFont): layout as layout
11922 (getLayoutFont): layout as layout
11923 (breakParagraph): layout as layout
11924 (stripLeadingSpaces): layout as layout
11925 (getEndLabel): layout as layout
11926 (getMaxDepthAfter): layout as layout
11927 (applyLayout): layout as layout
11928 (TeXOnePar): layout as layout
11929 (simpleTeXOnePar): layout as layout
11930 (TeXEnvironment): layout as layout
11931 (layout): layout as layout
11932 (layout): layout as layout
11934 * lyxtextclass.C (compare_name): new functor to work with
11935 shared_ptr, layout as layout
11936 (Read): layout as layout
11937 (hasLayout): layout as layout
11938 (operator): layout as layout
11939 (delete_layout): layout as layout
11940 (defaultLayout): layout as layout
11942 * lyxlayout_ptr_fwd.h: new file
11944 * lyxlayout.C (Read): layout as layout
11946 * lyx_cb.C (MenuInsertLabel): layout as layout
11948 * bufferlist.C (newFile): layout as layout
11950 * buffer.C (readLyXformat2): layout as layout
11951 (parseSingleLyXformat2Token): layout as layout
11952 (insertStringAsLines): layout as layout
11953 (asciiParagraph): layout as layout
11954 (latexParagraphs): layout as layout
11955 (makeLinuxDocFile): layout as layout
11956 (simpleLinuxDocOnePar): layout as layout
11957 (makeDocBookFile): layout as layout
11958 (simpleDocBookOnePar): layout as layout
11959 (getLists): layout as layout
11961 * LaTeXFeatures.C (getTClassPreamble): layout as layout
11963 * CutAndPaste.C (cutSelection): layout as layout
11964 (pasteSelection): layout as layout
11965 (SwitchLayoutsBetweenClasses): layout as layout
11967 * BufferView_pimpl.C (Dispatch): layout as layout
11968 (smartQuote): layout as layout
11970 * BufferView2.C (unlockInset): layout as layout
11972 2002-06-24 André Pönitz <poenitz@gmx.net>
11974 * lyxfunc.C: fix #487
11976 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11980 * lyxfunc.C: remove display_shortcuts, show_banner
11982 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11984 * Buffer_pimpl.C: oops, update on resize
11986 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11993 * BufferView.C: use repaint()
11995 * BufferView_pimpl.h:
11996 * BufferView_pimpl.C: s/updateScreen()/repaint()/
11997 as it's a clearer description. Remove superfluous
12000 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12002 * text.C: fix bug 488. Not ideal, but getting
12003 getWord() to work properly for the insets that
12004 matter is more difficult ...
12006 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12008 * BufferView_pimpl.C:
12011 * lyxfunc.C: remove the six million index lyxfuncs to just
12012 one, and DTRT (bug 458)
12014 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12018 * BufferView_pimpl.h:
12019 * BufferView_pimpl.C: clean up resize() stuff,
12020 and unnecessary updateScreen()s
12022 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12026 * BufferView_pimpl.h:
12027 * BufferView_pimpl.C:
12030 * minibuffer.C: remove focus management of workarea,
12031 not needed. Use screen's greyOut()
12033 2002-06-17 Herbert Voss <voss@lyx.org>
12035 * converter.C: (convert) do not post a message, when converting
12036 fails, let the calling function decide what to do in this case
12038 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
12040 * lyxfunc.C: tidy up a little
12042 2002-06-16 <alstrup@diku.dk>
12044 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
12045 Got rid of FORMS_H_LOCATION include. Now we are
12048 2002-06-15 LyX Development team <lyx@rilke>
12050 * buffer.[Ch] (sgmlOpenTag):
12051 (sgmlCloseTag): Added support for avoiding pernicious mixed
12052 content. Return number of lines written.
12054 (makeLinuxDocFile):
12055 (makeDocBookFile): Fixed calls to sgml*Tag.
12056 Simple white space clean.
12058 (simpleDocBookOnePar): Simple white space clean.
12060 * tabular.[Ch] (docBook): Renamed to docbook and got another
12061 argument to related with the pernicious mixed content.
12063 (docbookRow): Fixed calls for docbook inset method.
12065 2002-06-15 Lyx Development team <larsbj@birdstep.com>
12067 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
12068 so it's X11 independent.
12072 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
12074 2002-06-15 Lyx Development team <lyx@electronia>
12076 * intl.h: Renamed getTrans to getTransManager.
12078 2002-06-14 Angus Leeming <leeming@lyx.org>
12080 * Makefile.am: nuke forgotten stl_string_fwd.h.
12082 2002-06-12 Angus Leeming <leeming@lyx.org>
12084 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
12086 2002-06-13 Angus Leeming <leeming@lyx.org>
12089 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
12091 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
12093 * kbmap.C (getiso): add support for cyrillic and greek
12095 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12099 * BufferView_pimpl.h:
12100 * BufferView_pimpl.C: move bogus scrolling logic
12103 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12106 * BufferView_pimpl.C: view->resize() change
12108 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12110 * BufferView_pimpl.C: topCursorVisible
12113 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12117 * lyx_gui.C: move to frontends/
12121 * lyx_main.C: changes from above
12123 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12130 * lyx_main.C: minor tidy
12132 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12134 * BufferView_pimpl.h:
12135 * BufferView_pimpl.C:
12137 * BufferView.C: make painter() const,
12140 * BufferView2.C: use screen() accessor
12143 * lyx_main.C: some minor cleanup
12145 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12147 * BufferView_pimpl.h:
12148 * BufferView_pimpl.C: remove enter/leaveView,
12151 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12156 * BufferView_pimpl.h:
12157 * BufferView_pimpl.C: only construct screen once,
12160 * lyxrc.C: remove pointless comment
12162 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
12165 * BufferView.C: remove active() and belowMouse()
12167 * BufferView_pimpl.h:
12168 * BufferView_pimpl.C: use workarea() not workarea_,
12169 and make it use a scoped_ptr instead
12171 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
12173 * lyx_gui.C: add debug message on BadWindow
12175 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12177 * sp_spell.C: fdopen is not part of the C++ standard.
12179 * paragraph.C (InsetIterator): use >= instead of ==
12181 2002-06-07 Angus Leeming <leeming@lyx.org>
12183 Fixes needed to compile with Compaq cxx 6.5.
12184 * BufferView_pimpl.C:
12191 * lyxtextclasslist.C:
12196 all c-library variables have been moved into namespace std. Wrap
12197 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12202 Add a using std::abs declaration.
12204 * kbmap.h (modifier_pair):
12205 * paragraph.h (InsetTable, InsetList):
12206 * lyxfont.h (FontBits):
12207 type definition made public.
12209 * bufferlist.C (emergencyWriteAll): the compiler complains that
12210 there is more than one possible lyx::class_fun template to choose from.
12211 I re-named the void specialisation as lyx::void_class_fun.
12213 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12215 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12216 the compiler is is unable to find tostr in write_attribute.
12218 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12220 * buffer.C (sgmlError): hide #warning
12222 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12224 * xtl/*: get rid of xtl, which is not in use anyway
12226 * LyXAction.C (init):
12227 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12228 were unimplemented xtl experimentation
12230 2002-06-04 André Pönitz <poenitz@gmx.net>
12232 * lyxfunc.C: disable array operation on simple formulae
12234 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
12236 * converter.C: constify a bit
12238 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
12240 * lyx_gui.C: check xforms version correctly
12242 2002-04-30 Herbert Voss <voss@lyx.org>
12244 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12247 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
12249 * lyxvc.C: fix bug 416 (make sure buffer is saved before
12250 attempt to register it with a VCS)
12252 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12254 * lyx_main.C (init): honor variables LYX_DIR_13x and
12257 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12261 * lyx_main.C: fix a crash on bad command line,
12262 and give a useful exit status on error
12264 * lyxfunc.C (doImport): allow -i lyx to work
12266 2002-03-30 André Pönitz <poenitz@gmx.net>
12268 * lyxfunc.C: mathed font changes
12270 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12285 * trans_mgr.h: srcdocs, and some minor cleanups
12287 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12289 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12290 call getFont all the time)
12292 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12294 * switch from SigC signals to boost::signals
12296 2002-05-29 André Pönitz <poenitz@gmx.net>
12298 * paragraph_pimpl.C (getChar): don't call size() too often...
12300 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12302 * paragraph_pimpl.C (insertChar): do not try to update tables when
12303 appending (pos == size())
12305 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12306 in order to reduce drastically the number of comparisons needed to
12307 parse a large document
12309 2002-05-29 André Pönitz <poenitz@gmx.net>
12315 * textclasslist.[Ch]:
12316 * sp_ispell.h: whitespace change
12318 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12320 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12321 lyxaction directly now.
12323 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
12327 * lyxvc.C: remove unused headers
12329 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12336 * undo_funcs.C: some cleanups. Use shared_ptr
12337 and a template for the undo stacks.
12339 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12341 * BufferView_pimpl.h:
12342 * BufferView_pimpl.C:
12349 * text2.C: use key_state/mouse_state
12351 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12353 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12356 * chset.C: change include order
12357 (loadFile): use boost regex and get rid of LRegex and LSubstring
12359 * Makefile.am (BOOST_LIBS): new variable
12360 (lyx_LDADD): use it
12362 * LaTeX.C: change include order.
12363 (scanAuxFile): use boost regex and get rid of LRegex and
12367 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12372 * FontInfo.C: moved to frontends/xforms/
12375 * FontLoader.C: moved into frontends for GUIIzation
12380 * lyxfunc.C: changes from above
12382 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12384 * LColor.C: remove spurious X include
12386 * BufferView_pimpl.C:
12391 * text2.C: move font metrics to frontends/
12393 2002-05-24 Juergen Vigna <jug@sad.it>
12395 * undo_funcs.C (textHandleUndo): fix the cursor selection after
12396 setting the undo_cursor.
12398 * ParagraphParameters.h: include local includes first.
12400 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12402 * BufferView_pimpl.C:
12403 * BufferView_pimpl.h:
12407 * screen.C: move WorkArea into frontends/
12413 * BufferView2.C: move LyXScreen into frontends/
12417 * lyx_gui.C: move lyxlookup into frontends/xforms/
12419 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12422 * BufferView_pimpl.C:
12432 * bufferview_funcs.C:
12445 * vc-backend.C: move LyX/XFormsView into frontends/
12447 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12459 * text2.C: move Painter to frontends/
12461 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
12463 * buffer.C: comment out some some code that depend upon lyx_format
12466 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12467 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12469 * buffer.h (NO_COMPABILITY): turn off compability
12471 * ColorHandler.C: include scoped_array.hpp
12473 * font.C: Use more specific smart_ptr header.
12476 * ShareContainer.h: ditto
12477 * lyx_main.h: ditto
12479 * FontInfo.h: ditto
12480 * BufferView_pimpl.h: ditto
12481 * ColorHandler.h: ditto
12483 * kbmap.C (defkey): change call to shared_ptr::reset
12485 2002-05-21 Juergen Vigna <jug@sad.it>
12487 * buffer.C (insertErtContents): fix to insert ert asis if it is
12488 non empty. Skip it completely if it contains only whitespaces.
12490 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
12492 * BufferView_pimpl.C:
12493 * BufferView2.C: clear selection on paste (bug 393)
12495 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12497 * DepTable.C: include ctime
12499 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
12501 * buffer.C (latexParagraphs): Add new argument (moving_arg).
12503 2002-05-14 Juergen Vigna <jug@sad.it>
12505 * text.C (breakParagraph): fixed function to honor the keepempty
12506 layout in the right maner and also to permit the right breaking
12507 algorithm on empty or non empyt keepempty paragraphs.
12509 * paragraph.C (breakParagraph): we have to check also if the par
12510 is really empty (!size()) for isempty otherwise we do the wrong
12513 2002-05-10 Juergen Vigna <jug@sad.it>
12515 * buffer.[Ch] : The following are only changes to the ert
12516 compatibility read reading old LaTeX layout and font stuff and
12517 convert it to ERTInsets.
12519 * buffer.h: added isErtInset().
12521 * buffer.C (struct ErtComp): add a fromlayout bool to check
12522 if we're inside a LaTeX layout.
12523 (isErtInset): new helper function.
12524 (insertErtContents): look for other ert insets before this one
12525 and insert the contents there, so that we don't have subsequent
12526 ERT insets with nothing between them. This way we create only one
12527 inset with multiple paragraphs. Also check if we don't insert only
12528 spaces ' ' as they are ignored anyway afterwards in the .tex file
12529 so if we have only spaces we will ignore this latex part in the
12531 (parseSingleLyXformat2Token \\layout): better compatibility when
12532 reading layout-latex stuff.
12533 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12535 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12536 stuff after reading the inset only get the information back from
12539 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
12541 * buffer.C (makeLaTeXFile): Put language options after loading babel.
12543 * LaTeXFeatures.C (getBabelOptions): New method.
12545 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12547 * BufferView_pimpl.C (Dispatch): work around missing argument for
12550 2002-05-08 Juergen Vigna <jug@sad.it>
12552 * text.C (leftMargin): handle paragraph leftindent.
12554 * paragraph.C (writeFile): write the new \\leftindent tag.
12555 (validate): handle leftindent code.
12556 (TeXEnvironment): handle paragraphleftindent code again.
12558 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12560 * buffer.C (parseSingleLyXformat2Token): added compatibility code
12561 for paragrap_extra indent code and new token \\leftindent.
12562 (latexParagraphs): handle the leftindent as environment.
12564 * ParameterStruct.h: added leftindent support.
12566 * ParagraphParameters.C (leftIndent): added support functions for
12567 the paragraph left indent.
12569 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12572 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
12574 * paragraph.C (isRightToLeftPar): Return false for a paragraph
12577 * text.C (computeBidiTables): No bidi in insetERT.
12579 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12582 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12584 * version.C.in: pre 5
12586 2002-05-02 José Matos <jamatos@fep.up.pt>
12587 * buffer.C (makeDocBookFile): white space changes, add newline to
12589 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12591 * tabular.C (docBook): fix typo.
12593 2002-05-03 Juergen Vigna <jug@sad.it>
12595 * screen.C (drawFromTo): recalculate the rowpointer if we had a
12596 change in LyXText as we can not be sure it was not freed.
12597 (drawOneRow): remove unused code.
12599 * text.C (drawInset): redo the calculation of the need_break_row as
12600 it could have a row which was already freed.
12601 (draw): look at the return value of drawInset and return false if
12602 it also returned false.
12603 (paintRowText): look at the return value of draw and return false if
12604 it also returned false.
12606 * lyxtext.h: added bool return type to drawInset() and draw() so that
12607 if we have a change in the row so that the rowbreak has to be redone
12608 we abort drawing as it will be called again.
12610 2002-05-02 Juergen Vigna <jug@sad.it>
12612 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12613 a change in the maintext also if we're inside an inset.
12614 (Dispatch): set the cursor again after a break line and after the
12615 screen has been updated as it could be we're in a different row.
12617 * text2.C (fixCursorAfterDelete): check to make sure we don't request
12618 to set the cursor behind the pargraph with > size().
12619 (setCursor): check also for the same paragraph when checking where
12620 to put the cursor if we have a NFR inset.
12622 * buffer.C (parseSingleLyXformat2Token): move the compatibility
12623 parts of layout read further up as it still was in the wrong
12626 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12628 * screen.C (drawFromTo): change sine fullRebreak always return
12631 * buffer.C (parseSingleLyXformat2Token): reindent some
12633 * BufferView_pimpl.C (update): change since fullRebreak always
12635 (Dispatch): git rid of the last hardcoded "Standard"s.
12637 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
12639 * text2.[Ch] (fullRebreak): make it return void now that we always
12642 2002-04-30 Juergen Vigna <jug@sad.it>
12644 * buffer.C (parseSingleLyXformat2Token): reset the font before the
12645 ert compatibility check for "latex" layout.
12647 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
12649 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12650 minipages: use col% instead of p%, and also use the current font.
12651 (makeLaTeXFile): Fix use babel condition.
12652 (parseSingleLyXformat2Token): Correct font when reading old floats.
12654 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
12656 * BufferView_pimpl.C (Dispatch): Check that float type exists when
12657 inserting list of floats.
12659 2002-04-25 Herbert Voss <voss@lyx.org>
12661 * MenuBackend.C (expand): don't add the graphics extensions to the
12664 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12666 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12667 non-existing layout, do not complain if it was the default layout
12668 of the original class (bug #342)
12670 2002-04-24 Juergen Vigna <jug@sad.it>
12672 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12673 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12675 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
12677 * buffer.C (getBibkeyList): If using \bibliography, return the
12678 option field with the reference itself. Enables us to provide natbib
12679 support when using \bibliography.
12681 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
12683 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12685 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12686 natbib is provided by the LaTeX class.
12688 2002-04-23 Juergen Vigna <jug@sad.it>
12690 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12693 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12695 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12697 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12699 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12700 ensuremath around textordmasculine, textordfeminine and
12703 2002-04-19 Juergen Vigna <jug@sad.it>
12705 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12706 reinitializing the buffer otherwise row-dimensions may be wrong.
12707 (update): reset also the selection cursors if they do exits otherwise
12708 their x/y positions may be wrong.
12710 * text2.C (cursorDown): don't enter the inset if we came from a row
12711 above and are one row over the inset.
12713 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12714 really leaving an inset.
12716 2002-04-18 Juergen Vigna <jug@sad.it>
12718 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12719 of the selected paragraph does not have the selected layout also if
12722 * text2.C (setLayout): fixed bug which did not change last selected
12725 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12726 changed the read and substituted \\end_float with \\end_inset!
12728 * BufferView_pimpl.C (cursorPrevious):
12729 (cursorNext): fixed to make it work with rows heigher than the work
12730 area without moving the cursor only the draw of the row.
12731 (workAreaMotionNotify): fix jumping over high rows.
12733 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12735 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12738 2002-04-16 Juergen Vigna <jug@sad.it>
12740 * text2.C (setCursor): set also the irow().
12741 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12743 (cursorDown): support for locking an inset if the x_fix value goes
12744 inside it. That way I can transverse insets too with cursor up/down.
12746 * lyxrow.h: added irow helper function same as other (i) functions.
12748 * BufferView_pimpl.C (cursorPrevious):
12749 (cursorNext): fixed for insets!
12751 2002-04-15 Juergen Vigna <jug@sad.it>
12753 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12754 position otherwise it is wrong in some cases.
12756 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12757 inside the inset before the call.
12759 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
12761 * buffer.[Ch] (getBibkeyList): make it const.
12763 2002-04-12 Juergen Vigna <jug@sad.it>
12765 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12767 * text2.C (getCursorX): new helper function
12768 (setCursor): compute also ix_
12769 (setCursorFromCoordinates): set also ix.
12771 * lyxcursor.h: added ix_ and helper functions.
12773 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12775 * buffer.C (insertStringAsLines): dont break paragraph if the this
12776 paragraph is inside an inset which does not permit it!
12778 * text.C (breakParagraph): honor keepempty flag and break the paragraph
12779 also with no chars on this paragraph.
12780 (paintRowText): only paint stuff if it's inside the workarea!
12782 * paragraph.C (breakParagraph): honor keepempty flag and break the
12783 paragraph always below not above.
12785 * BufferView2.C (unlockInset): update the paragraph layout on inset
12786 unlock as we changed paragraph in such a case.
12788 * lyxfind.C (LyXFind): clear the former selection if not found!
12790 * text2.C (insertInset): freeze Undo after setUndo so that it is not
12791 again called in insertChar().
12793 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12794 an inset which uses the whole row!
12795 (rightMargin): ditto.
12796 (insertChar): force a rebreak if we inserted an inset!
12798 2002-03-28 Herbert Voss <voss@lyx.org>
12800 * lyxlength.[Ch]: add inBP() to get the right PS-point
12801 units (BigPoint). With inPixels we have rounding errors
12803 2002-04-11 Juergen Vigna <jug@sad.it>
12805 * text2.C (setCursorFromCoordinates): set iy to the right value.
12806 (setCursor): add check if row->previous exists!
12808 * buffer.C (parseSingleLyXformat2Token): reset font after read of
12809 an old float_type as this was the case in the old code!
12811 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12813 * BufferView2.C (showLockedInsetCursor): use iy
12814 (fitLockedInsetCursor): ditto
12816 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12817 locked insets as there we have the right value now.
12819 * lyxcursor.C: added iy_ variable and iy functions to set to the
12820 baseline of cursor-y of the locked inset.
12822 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12823 (setCursor): fixed for insets which need a full row.
12825 * text.C (rowLastPrintable): don't ignore the last space when before
12826 an inset which needs a full row.
12827 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12828 as last character of a row when before a inset which needs a full row.
12830 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12832 * version.C.in: update date
12834 * text2.C (fullRebreak): try to always return true and see what
12837 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12839 * MenuBackend.C (expand): use Floating::listName
12841 * FloatList.C (FloatList): add listName argument to the built-in
12844 * Floating.[Ch]: add listName member, which is the 'List of XXX'
12845 text associated with the float.
12847 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12849 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12851 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12853 * ShareContainer.h: add a couple of missing typenames.
12855 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
12857 * lyxrc.C (getDescription): use _() correctly rather than N_().
12859 2002-03-28 Herbert Voss <voss@lyx.org>
12861 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
12862 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12864 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12866 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12867 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12869 2002-03-29 Juergen Vigna <jug@sad.it>
12871 * lyxfunc.C (dispatch): add a missing fitCursor call.
12873 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12874 it was scrolled by a cursor move, so return the bool status.
12876 * BufferView.C (fitCursor): return the bool flag also to the outside
12877 world as this is needed.
12879 * screen.C (toggleToggle): don't subtract the offset if it's positive.
12881 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12882 call the edit() as it is not needed (and wrong) IMO.
12883 (workAreaButtonPress): set the screen_first variable before evt.
12884 unlock the inset as this may change screen_first and then we have
12885 a wrong y position for the click!
12887 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12889 * MenuBackend.C (expand): another translation that I missed
12891 2002-03-28 Juergen Vigna <jug@sad.it>
12893 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12895 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12897 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12899 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12901 * MenuBackend.C (expand): fix export/view/update when there is no
12904 2002-03-27 Herbert Voss <voss@lyx.org>
12906 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12909 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12911 * bufferview_funcs.C (currentState): only show paragraph number
12912 for is DEVEL_VERSION is set.
12914 * lyxfunc.C (dispatch): put warning in INFO channel
12916 * MenuBackend.C (expand): translate the name of floats
12918 * FloatList.C (FloatList): mark the float names for translation
12920 * converter.C (convert): use LibScriptSearch
12922 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12924 * MenuBackend.C (defaults): fix default menu (we might as well get
12927 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12929 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12932 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12934 * lyxvc.C: reorder includes.
12936 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
12938 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12941 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
12943 * CutAndPaste.C: change layouts earlier on paste
12944 to avoid crashing when calling getFont()
12946 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
12948 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12951 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
12953 * WorkArea.C: remove 'Pending' debug message.
12955 * most files: ws cleanup
12957 * buffer.[Ch]: ws changes
12959 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12961 2002-03-21 Juergen Vigna <jug@sad.it>
12963 * tabular.C (SetMultiColumn): collapse also the contents of the
12964 cells and set the last border right. Added a Buffer const * param.
12966 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
12968 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
12971 2002-03-19 Juergen Vigna <jug@sad.it>
12973 * text2.C (clearSelection): reset also xsel_cache.
12975 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
12976 where it needs to be called (John tells us to do so too :)
12977 (selectionLost): reset sel_cache.
12979 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
12981 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12983 * text2.C (setCursorIntern): put debuging code in INSETS channel
12985 2002-03-19 André Pönitz <poenitz@gmx.net>
12987 * lyxfunc.C: tiny whitespace change
12989 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12991 * ToolbarDefaults.C (init):
12992 * LyXAction.C (init):
12994 * BufferView_pimpl.C (Dispatch):
12995 * lyxfunc.C (dispatch): remove LFUN_DEPTH
12997 2002-03-19 Allan Rae <rae@lyx.org>
12999 * exporter.C (Export): removeAutoInsets before doing anything else.
13000 While I've just introduced a dependency on BufferView this really is
13001 the best place to clean the buffer otherwise you need to cleanup in
13002 a dozen places before calling export or cleanup in a dozen functions
13005 * converter.C (runLaTeX):
13006 (scanLog): Better handling of removeAutoInsets and screen updates.
13008 * lyxfunc.C (dispatch): small whitespace changes
13010 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13012 * WorkArea.C (C_WorkAreaEvent): return a value.
13013 (event_cb): return 1 if we handled the event, 0 otherwise.
13015 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
13017 2002-03-18 Juergen Vigna <jug@sad.it>
13019 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
13020 (GetAdditionalWidth): ditto.
13021 (RightLine): ditto.
13024 * BufferView2.C (copy): use getLyXText() so that we do it inside an
13025 inset if we're there actually (probably not used right now but this
13026 is the direction to go for unifying code).
13027 (paste): disable code to clear the selection.
13029 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
13030 inside an InsetText and move the check further up as it is in the
13033 * text2.C (pasteSelection): set a selection over the pasted text.
13035 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
13037 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
13038 and libgraphics to build on Cygwin.
13040 2002-03-15 Juergen Vigna <jug@sad.it>
13042 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
13043 inserting an Inset into the paragraph. I know this is not the best
13044 fix but we already use current_view in CutAndPaste so we will remove
13045 all of it's using at the same time.
13047 * buffer.C (sgmlError): deactivated function till it is rewritten in
13048 the right mode, now it can create problems.
13050 * paragraph.C (isLineSeparator): check if getInset returns != 0,
13051 before accessing it.
13053 2002-03-14 Juergen Vigna <jug@sad.it>
13055 * undo_funcs.C (textHandleUndo): do the right thing when updating
13056 the inset after the undo/redo.
13058 * text2.C (setCursor): just some testcode for #44 not ready yet.
13060 * undo_funcs.C (textHandleUndo): set the next() and previous()
13061 pointers of the paragraph to 0 before deleting otherwise we have
13062 problems with the Paragraph::[destructor].
13064 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
13065 on a paragraph insertion.
13067 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13069 * buffer.C (asciiParagraph): use += operator for char append to
13072 * paragraph.C (getFontSettings): compare >= not just >
13073 (highestFontInRange): ditto
13076 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13078 * paragraph.C: change several algorithm to be more appripriate for
13079 the problem domain. This is lookip in FontList and in the InsetList.
13081 2002-03-13 André Pönitz <poenitz@gmx.net>
13084 * LyXAction.C: remove unused LFUN_MATH_MACROARG
13086 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
13091 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
13093 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13095 * Painter.C (display): anon helper function, adjust code for this
13097 (pixmap): remove function.
13099 * Painter.h: remove private display variable.
13101 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
13103 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
13105 * WorkArea.[Ch]: remove figinset_canvas cruft.
13107 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13109 * lyxtextclass.C (operator): add one item cache optimization.
13111 * bufferlist.h: doxy changes
13113 * bufferlist.C: ws changes
13115 * DepTable.[Ch] (ext_exist): place const in the right spot.
13117 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
13119 (workAreaExpose): call resizeInsets when the with BufferView changes.
13120 (Dispatch): adjust for protectedBlank removal
13121 (specialChar): call updateInset if the insert went ok.
13123 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
13124 specialChar instead.
13126 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
13128 * BufferView.h: doxy change
13130 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
13132 * lyxtextclass.C (operator[]): remove non-const version
13133 (defaultLayout): remove non-const version
13135 2002-03-12 Juergen Vigna <jug@sad.it>
13137 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
13138 did resize the LyXText too.
13140 * buffer.C (readLyXformat2): set layout information on newly allocated
13143 * tabular.C (OldFormatRead): set layout information on the paragraph.
13145 2002-03-12 Jos�Ab�io Oliveira Matos <jamatos@novalis.fc.up.pt>
13147 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
13149 2002-03-11 Juergen Vigna <jug@sad.it>
13151 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
13153 (resizeCurrentBuffer): force also the insets to resize themselfes.
13154 (moveCursorUpdate): fixed up for InsetText.
13156 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
13159 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
13160 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
13161 value of Dialogs::tooltipsEnabled().
13162 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
13164 2002-03-08 Juergen Vigna <jug@sad.it>
13166 * BufferView_pimpl.C (updateInset): update inset inside inset also
13167 if it isn't inside theLockingInset().
13169 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13171 * buffer.C (asciiParagraph): redo some of the word and line length
13173 (getLists): look for Caption instead of caption.
13175 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13177 * buffer.C (Buffer): initialize niceFile to true
13179 (makeLinuxDocFile):
13180 (makeDocBookFile): make sure niceFile is true on exit
13182 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13184 * buffer.C (makeLaTeXFile): escape ~ in \input@path
13186 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
13188 * LyXSendto.C: remove.
13189 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13190 * lyx_gui.C: remove now-redundant comment.
13191 * ColorHandler.h: remove forward declaration of class WorkArea.
13192 * lyxfunc.C: remove #include "WorkArea.h".
13194 2002-03-07 Juergen Vigna <jug@sad.it>
13196 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13197 got moved away with the DEPM and also set the inset_owner always
13198 right which before could have been omitted.
13200 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13202 * buffer.C (parseSingleLyXformat2Token): use default layout is the
13203 wanted layout is not found.
13205 2002-03-07 Juergen Vigna <jug@sad.it>
13207 * CutAndPaste.C (cutSelection): another layout settings forgotten.
13209 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13211 * paragraph.C (breakParagraph): use default layout not layout of
13213 (Paragraph): clear ParagraphParameters.
13215 2002-03-06 Juergen Vigna <jug@sad.it>
13217 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13218 otherwise it would not be a valid lenght. Fixed a special case in
13219 the minipage compatibility read where we end the document with a
13222 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13223 was set as it could be 0 for InsetTexts first entry.
13225 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13227 * paragraph.C (writeFile): if layout is empty write out
13228 defaultLayoutName().
13230 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13231 file without named layout we set layout to defaultLayoutName().
13233 2002-03-06 Juergen Vigna <jug@sad.it>
13235 * CutAndPaste.C (copySelection): set layout for new paragraph.
13237 * text.C (prepareToPrint): leave ERT inset left aligned
13238 (leftMargin): don't indent paragraphs inside ERT insets
13240 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13242 * paragraph.C (breakParagraph): dont call clear do the work manually
13244 * paragraph.[Ch] (clear): remove function
13246 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13248 * paragraph.C (Paragraph): dont call clear, the work has already
13251 * lyxtextclass.C (operator): assert if n is empty
13253 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13254 work manually instead.
13256 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13258 * BufferView_pimpl.C: protect selectionLost against text == 0
13260 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13262 * text.C (breakParagraph): fix a setting layout to '0' problem.
13264 2002-03-05 Jos�Ab�io Oliveira Matos <jamatos@novalis.fc.up.pt>
13266 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13267 final location of file, for the included files, and graphics.
13269 2002-03-05 Juergen Vigna <jug@sad.it>
13271 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13273 2002-03-04 Juergen Vigna <jug@sad.it>
13275 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13277 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13278 last column of multicolumn cells.
13279 (SetWidthOfMulticolCell): recalculate NMC and real columns.
13281 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
13283 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13284 file if it doesn't go to a temporary file.
13286 * buffer.C (sgmlOpenTag):
13287 (sgmlCloseTag): remove extra newline insertion.
13289 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13291 * text.C (getRowNearY): comment out debug msg
13293 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13295 * text2.C: first -> first_y
13297 * text.C (getRowNearY): add some attemts at a possible
13298 optimization, not working.
13300 * tabular.[Ch]: add BufferParams to several function so that newly
13301 created paragraph can be initialized to he default layotu for the
13304 * tabular-old.C (ReadOld): add buf->params to call of Init
13306 * screen.C: rename text->first to text->first_y
13308 * paragraph.C (breakParagraph): always set layout in the broken
13311 * lyxtextclass.C (Read): remove lowercase
13314 (delete_layout): ditto
13316 * lyxtext.h: rename first -> first_y
13318 * lyxlayout.C (Read): remove lowercase
13321 (obsoleted_by): ditto
13323 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13325 * buffer.C (insertErtContents): add params are to InsetERT
13326 (parseSingleLyXformat2Token): add code to check if a paragraphs
13327 layout really exist.
13328 (parseSingleLyXformat2Token): add params to several inset
13330 (asciiParagraph): remove lowercase, do the layout comparisons with
13333 * BufferView_pimpl.C (cursorNext): first -> first_y
13334 (resizeCurrentBuffer): first -> first_y
13335 (updateScrollbar): first -> first_y
13336 (scrollCB): first -> first_y
13337 (workAreaMotionNotify): first -> first_y
13338 (workAreaButtonPress): first -> first_y
13339 (checkInsetHit): first -> first_y
13340 (cursorPrevious): first -> first_y
13341 (cursorNext): first -> first_y
13342 (Dispatch): add buffer_->params to severl inset contructors
13344 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13346 * lyxlayout.C (Read): remove some debug info that I forgot.
13348 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13349 clean up the code slightly.
13350 (makeLinuxDocFile): ditto
13351 (makeDocBookFile): ditto
13353 * text2.C: layout as string
13355 * text.C: layout as string
13357 * paragraph_pimpl.C: layout as string
13359 * paragraph.[Ch]: layout as string
13361 * lyxtextclasslist.[Ch]: layout as string
13363 * lyxtextclass.[Ch]: layout as string
13365 * lyxtext.h: layout as string
13367 * lyxlayout.[Ch]: layout as string
13369 * lyx_cb.C: layout as string
13371 * bufferview_funcs.C: layout as string
13373 * bufferparams.C: layout as string
13375 * buffer.C: layout as string
13377 * LyXView.[Ch]: layout as string
13379 * LaTeXFeatures.[Ch]: layout as string
13381 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13383 * BufferView_pimpl.C: change current_layout to string, remove
13388 (workAreaButtonRelease): layout as string
13390 * BufferView2.C (unlockInset): adjust
13392 * vspace.C (asLatexCommand): use an explict temp variable.
13394 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13396 * Makefile.am: use FRONTEND_*
13398 2002-03-01 Juergen Vigna <jug@sad.it>
13400 * tabular.C (SetWidthOfMulticolCell): changed to something better
13401 I hope but still work in progress.
13402 (recalculateMulticolumnsOfColumn): renamed function from
13403 recalculateMulticolCells as it is more appropriate now.
13404 (SetWidthOfCell): calculate multicols better.
13406 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13408 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13410 * lyxfunc.C (processKeySym): print sequence also if it is
13411 `deleted' (complete)
13413 * kbsequence.C (print): print sequence even if it is deleted
13414 (complete would be a better word, actually).
13416 * lyxfunc.C (dispatch): print complete options after a prefix key
13418 * vspace.C (asLatexCommand): rewrite in a slightly different form.
13420 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
13422 * text2.C (setCharFont): eliminate setCharFont code duplication.
13424 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13426 * BufferView_pimpl.C (Dispatch): remove bogus handling of
13427 LFUN_TABULAR_FEATURE (bug #177)
13429 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
13431 * Makefile.am: remove figure.h
13433 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
13435 * Bufferview_pimpl.C:
13447 * text2.C: remove #include "lyx_gui_misc.h".
13449 * LaTeX.C: added #include <cstdio>
13451 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13453 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13454 that the paragraph following this one can have.
13456 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13458 * vspace.C (asLatexCommand): fix bogus gcc warning
13460 * Makefile.am (lyx_SOURCES): remove vms_defines.h
13462 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
13464 * text2.C (setLayout): get rid of redundant code
13466 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
13468 * text2.C (incDepth): make sure depth cannot be increased beyond
13471 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
13473 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13474 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13476 * PainterBase.h (image):
13477 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13478 a LyXImage const *.
13480 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13484 * BufferView_pimpl.C:
13485 * BufferView_pimpl.h:
13505 * sp_spell.C: remove fig inset, and the crap house of
13506 cards that follows it
13508 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13513 * os2_errortable.h:
13514 * nt_defines.h: move .h into support/
13516 * vms_defines.h: remove
13518 * WorkArea.C: add space in debug output
13522 * buffer.C: add WITH_WARNINGS
13526 * bufferlist.C: s/retrive/retrieve/, add docs
13535 * chset.C: add docs
13537 * lyxgui.C: add ID to X error handler
13539 * lyxtestclass.c: fix typo
13541 2002-02-26 Juergen Vigna <jug@sad.it>
13543 * tabular_funcs.C (write_attribute): changed so that some default
13544 attributes are not written at all.
13545 (getTokenValue): set default values before trying to read the
13546 value so we have the return value always set as default if we don't
13547 find the token we search for.
13549 * tabular.C (Write): write bools as bools not as strings!
13551 2002-02-22 Juergen Vigna <jug@sad.it>
13553 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13554 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13556 * text.C (leftMargin): don't add an indent for paragraphs inside
13557 tabular cells (fix #208).
13559 2002-02-21 José Matos <jamatos@fep.up.pt>
13561 * tabular.C (docBook): fixed support for long tables.
13563 2002-02-20 Juergen Vigna <jug@sad.it>
13565 * text2.C (getFont): get the drawing font of the Inset if this
13566 paragraph is inside an inset (only important for InsetERT for now).
13568 * buffer.C (insertErtContents): use new lanugage params in ERT
13571 * CutAndPaste.C: commenting out seemingly uneeded code.
13573 2002-02-19 Allan Rae <rae@lyx.org>
13575 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13576 Iterators might be simple to use but they also get invalidated.
13577 (removeAutoInsets): renamed saved cursor tracking variables and added
13578 some comments to clarify what everything does.
13580 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
13587 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13588 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13591 * vc-backend.h: remove #include "support/syscall.h"
13595 * converter.C: rearrange #includes in Lars' approved fashion.
13597 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13598 forward declare class Timeout in the header file.
13600 * XFormsView.C: changes due to the above.
13602 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13603 similar to LyXView.
13605 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13606 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13608 2002-02-18 José Matos <jamatos@fep.up.pt>
13610 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13613 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
13615 * a lot of small ws changes
13616 * add a lot of using std::XXX
13617 * use std construcs some places where approp.
13618 * use some exisint stuff from lyxfunctional where approp.
13619 * Make file changes to use partial linking (lets test this now...)
13621 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13625 remove #include "support/syscontr.h" as it's redundant. Always has been.
13633 change Systemcalls::System to Systemcalls::Wait and
13634 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13635 No change of functionality, just reflects the stripped down Systemcalls
13638 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13640 * debug.[Ch]: add a GRAPHICS type to the enum.
13642 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13644 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13646 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13649 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13651 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13652 match the changes below.
13654 * text2.C (toggleInset): if there is not editable inset at cursor
13655 position, try to see if cursor is _inside_ a collapsable inset
13658 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13660 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13661 document menu has a nice checkbox
13663 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13665 * lyxlength.C (asLatexString): change PW to output as percent of
13668 * lengthcommon.C: change '%' to 't%'
13670 * lyxfunc.C (dispatch): a few comments from Martin
13672 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
13676 * BufferView_pimpl.h:
13677 * BufferView_pimpl.C: clear our selection when X tells us we've lost
13680 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13682 * vspace.C (inPixels): fix compiler warning
13684 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13686 * lyxfunc.C (getStatus): fix status message for disabled commands.
13688 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
13690 * BufferView_pimpl.C: fix crash on close buffer
13691 during selection (#227)
13693 2002-01-27 Herbert Voss <voss@lyx.org>
13695 * buffer.C: link old Figure to new graphic inset
13697 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
13699 * FontLoader.C (getFontinfo): Change the latex font names in order
13700 to match the names of type1inst.
13702 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
13704 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13706 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13707 (extchanged): ditto
13709 (remove_files_with_extension): ditto
13710 (remove_file): ditto
13713 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13714 document is smaller than the work area height. Do not initialize
13715 static variables to 0.
13717 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13719 * lyx_gui.C (init): give the toolbar tooltips a normal font.
13721 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13722 LFUN_LAYOUT_PARAGRAPHS.
13724 * tabular.C (GetCellFromInset): new method. Finds an inset in a
13725 tabular. It is possible to provide a possible cell, which will
13726 typically be the actcell from the corresponding insettabular
13728 * lyxfunc.C (getStatus): small cleanup; disable
13729 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13732 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13734 * tabular.C (Validate): remove broken optimization (fixes bug #201)
13736 * paragraph.C (startTeXParParams):
13737 (endTeXParParams): new methods. The LaTeX code to
13738 start/end paragraph formatting
13739 (simpleTeXOnePar): call startTeXParParams also when paragraph is
13740 empty (fixes bug #200)
13742 * vspace.C (inPixels): adapt to the change below
13743 (inPixels): [later] more cleanups (remove unused variables)
13745 * lyxlength.C (inPixels): change to use a width and a height as
13748 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13750 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13751 Replaced with \paperwidth
13753 * DepTable.C (insert): add std:: qualifier
13755 2002-01-18 Allan Rae <rae@lyx.org>
13757 * text2.C (removeRow): add comment. Should other refresh_?? vars be
13760 * text.C (drawInset): Turned out I didn't know enough about how
13761 rebreaking worked. This fixes most of the redraw problems. I see
13762 an occasional cursor trail when a line is broken now and the cursor
13763 placement can seem out by a few pixels also after a rebreak.
13765 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13767 * buffer.C (parseSingleLyXformat2Token): update because minipage
13768 width is now a LyXLength
13770 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13772 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13775 2002-01-17 Juergen Vigna <jug@sad.it>
13777 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13779 * BufferView2.C (lockInset): call edit() so that theLockingInset()
13780 is set correctly and the inset is updated correctly.
13782 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13784 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13785 the beginning of the loop.
13787 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
13789 * lyxrc.C: improve help for use_scalable_fonts
13791 2002-01-17 Allan Rae <rae@lyx.org>
13793 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13795 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13797 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13798 make sure to set their inset_owner to the right value (bug #171)
13800 2001-12-12 Ben Stanley <bds02@uow.edu.au>
13803 * DepTable.C: Implement mtime checking to reduce time spent doing
13806 2002-01-16 Juergen Vigna <jug@sad.it>
13808 * tabular.C (GetAdditionalHeight): one of error fixed.
13810 * lyxrc.C (output): small fix in writing use_pspell.
13812 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
13814 * sp_base.h: #include LString.h
13816 2002-01-16 Allan Rae <rae@lyx.org>
13818 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
13819 Can someone check this please?
13821 * text.C (drawInset): It was possible that p.row would be removed by
13822 breakAgainOneRow upsetting a few other settings. There may be another
13823 small tweak possible by setting need_break_row = 0 when p.row has been
13824 removed but I don't know enough about the logic here.
13826 2002-01-15 Allan Rae <rae@lyx.org>
13828 * text.C (insertChar): removed conditional truism.
13830 * BufferView2.C (removeAutoInsets): More tweaks.
13831 cur_par_prev could be a stray pointer. Check for trailing empty line
13832 in case last line was cur_par and only had an error inset on it.
13834 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13836 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13839 * vc-backend.C (most methods):
13840 * exporter.C (Export):
13841 * converter.C (convert):
13843 * LyXSendto.C (SendtoApplyCB):
13844 * lyxfunc.C (dispatch):
13848 * lyx_cb.C (AutoSave):
13850 * BufferView_pimpl.C (MenuInsertLyXFile):
13851 * buffer.C (runChktex): use Buffer::filePath().
13853 * buffer.h: rename filename to filename_; rename filepath to
13854 filepath_ and make it private
13855 (filePath): new method
13857 * buffer.C (writeFile): use fileName()
13860 * lyx_main.C (init): fix starting of LyX when the binary is a
13861 link from so,ewhere else.
13863 * minibuffer.C: include <cctype> for isprint
13865 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13867 * buffer.C (parseSingleLyXformat2Token): changes associated with the
13868 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13869 name clash with InsetCollapsable's width function.
13871 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13873 * lastfiles.C: include <iterator>
13875 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13877 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13880 * buffer.C (makeLaTeXFile): ditto.
13881 Also make loop operation more transparent.
13883 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13885 * ToolbarDefaults.C: remove trailing comma closing namespace.
13887 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13889 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13892 * trans.C (Load): comment out unused variable, allowed.
13894 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
13896 * minibuffer.[Ch] (append_char): new method to recieve input from the
13897 drop-down completion browser. If a key was pressed, then recieve this
13898 char and append it to the existing string.
13899 (peek_event): modify the positioning data passed to the completion
13900 browser so that it can be placed above the minibuffer rather than below.
13901 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13903 * LyXAction.C (init): alloe error-next for readonly documents.
13905 * BufferView2.C (ChangeRefsIfUnique): use standard version of
13908 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13910 * bufferlist.C (readFile): create the buffer _after_ checking that
13913 * lyxfunc.C (verboseDispatch): fix handling of arguments
13915 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
13917 * lyxrc.C: use string::erase() instead of initializing to "".
13920 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13922 * BufferView_pimpl.h:
13923 * BufferView_pimpl.C:
13926 * text2.C: tell X when we have made a selection for copying
13928 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13930 * BufferView_pimpl.C (MenuInsertLyXFile):
13931 * lyxfunc.C (menuNew):
13933 (doImport): add shortcuts to directory buttons
13935 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13938 * lyxfunc.C (setStatusMessage):
13939 (getStatusMessage): new methods
13940 (getStatus):use setStatusMessage instead of setErrorMessage
13941 (dispatch): when function is disabled, set error message here
13942 [instead of in getStatus previously]
13944 * BufferView_pimpl.C (workAreaButtonRelease): update
13945 toolbar/menubar here too.
13947 2002-01-13 Allan Rae <rae@lyx.org>
13949 * BufferView2.C (removeAutoInsets): finished off earlier fix.
13950 Now seems indestructible. Remaining task is to audit all other
13951 code affected by deleteEmptyParagraphMechanism. One small quirk
13952 left is that an empty document with an error in the preamble can
13953 be made to report an error but no error box appears. I don't know
13955 (removeAutoInsets): Improved comments.
13957 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
13960 * Thesaurus.C: update for Aiksaurus 0.14
13962 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13964 * text2.C (firstParagraph): removed member function, all uses
13965 replaces with ownerParagraph
13966 (redoParagraphs): here
13967 (updateInset): here
13968 (toggleAppendix): here
13969 * BufferView2.C (insertErrors): here
13970 (setCursorFromRow): here
13972 2002-01-13 Allan Rae <rae@lyx.org>
13974 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
13975 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
13976 There is still a way to segfault this although you may have to do this
13977 multiple times: Have an InsetERT with an unknown command in it.
13978 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
13979 <down-arrow>, <Enter> again, View->DVI, BANG!
13981 * text2.C (setCursor):
13982 (deleteEmptyParagraphMechanism):
13983 * lyxtext.h (setCursor):
13984 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
13985 Making use of the return value may help fix other bugs.
13987 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13989 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13991 * LyXView.C (updateMenubar): call MenuBar::update here
13992 (updateToolbar): but not here
13993 (showState): do not update toolbar/menubar
13995 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13996 should need to care about that.
13998 * lyxfunc.C (verboseDispatch): simplify a bit
13999 (getStatus): have a version which takes a pseudoaction, and
14000 another which requires a (kb_action,string).
14002 * LyXAction.C (retrieveActionArg): make it work also when action
14003 is not a pseudo-action.
14004 (getActionName): simplify a bit
14007 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14009 * lyxfunc.C (verboseDispatch): new families of methods with
14010 several ways to specify a command and a bool to indicate whether
14011 the command name and shortcut should be displayed in minibuffer
14012 (eventually, we could extend that to a finer bitmask like
14013 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
14014 (dispatch): the pristine dispatch command which just, well,
14015 dispatchs! Note it still sets its result to minibuffer; I'm not
14018 * lyxfunc.h: remove setHintMessage
14020 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
14022 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14024 * BufferView_pimpl.C (specialChar): delete new inset if we have
14025 not been able to insert it.
14027 * kbmap.C: revert to using int instead of kb_action, since all we
14028 are dealing with is pseudo-actions.
14030 * LyXAction.C (searchActionArg): change to return int instead of
14031 kb_action, since the result is a pseudoaction.
14033 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
14035 * buffer.C (insertErtContents): Fix (partially) the font bug.
14037 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
14039 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
14040 as the other one is broken on my machine!
14042 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
14045 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
14047 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
14049 * lyxrc.[Ch]: change names and descriptions of popup font variables to
14050 reflect their actual use. Provide compatibility code for older lyxrc
14053 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
14055 change names of popup font variables in line with the changes to lyxrc.C
14057 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14059 * buffer.C (asciiParagraph): avoid outputing a word twice after
14062 * lyxrc.C (getDescription): document that document_path and
14063 template_path can be empty.
14065 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14067 * LaTeXFeatures.C (getMacros):
14068 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
14070 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
14072 * LaTeXFeatures.C (useFloat): require "float" here instead of in
14074 (getPackages): rename feature "floats" to "float". Use an array to
14075 iterate over 'simple' features (i.e. just a \usepackage). Add
14076 handling of "amsmath" (renamed from "amsstyle").
14078 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
14080 * LaTeXFeatures.C (require): Prevent duplicate entries in the
14083 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
14085 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
14086 FuncStaus::FuncStatus & FuncStaus::some_method().
14088 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
14090 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
14091 of the func_satus stuff. Edited and massaged in various ways by
14094 * lyxfunc.C (getStatus): use FuncStatus
14096 2002-01-08 Juergen Vigna <jug@sad.it>
14098 * text.C (nextBreakPoint): use function Inset::isChar().
14100 * paragraph.C (TeXOnePar): use function
14101 Inset::forceDefaultParagraphs.
14103 * buffer.C (latexParagraphs): use function
14104 Inset::forceDefaultParagraphs.
14106 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14108 * lyx_gui.C (init): set the style of the menu popups to
14109 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
14111 2002-01-07 Juergen Vigna <jug@sad.it>
14113 * text.C (setHeightOfRow): small fix
14114 (prepareToPrint): don't look at alignment if we don't have the place
14117 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14119 * box.C: New file. Move the Box methods and functions out of box.h,
14120 following Lars' suggestion.
14122 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14124 * box.h: #include "support/LOstream.h", needed for inlined function.
14127 * lyxtextclasslist.C: added some using std declarations.
14129 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
14131 * box.h: make signed dimensions to allow insets wider than
14132 the screen (bug #162)
14134 * BufferView_pimpl.C: add some insetHit debug
14136 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
14138 * vc-backend.C: add FIXME
14140 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14142 * lyxfunc.C (getStatus): enable code for showing math font status
14145 2002-01-07 Juergen Vigna <jug@sad.it>
14147 * text.C (nextBreakPoint): removed debug output not needed anymore.
14149 2002-01-06 Juergen Vigna <jug@sad.it>
14151 * text.C (nextBreakPoint): fixed up this function we had this bug
14152 since ever but now hopefully we break row better.
14153 (insertChar): we have to check if an inset is the next char as it
14154 could now happen that a large inset is causing a break.
14156 2002-01-05 Juergen Vigna <jug@sad.it>
14158 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
14159 if it doesn't like to be drawed.
14161 2002-01-04 Juergen Vigna <jug@sad.it>
14163 * BufferView2.C (lockInset): forgot to set a cursor.
14165 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
14167 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
14169 * FormMathsPanel.C:
14172 * form_maths_panel.C:
14173 * form_maths_panel.h:
14174 * form_maths_panel.fd: implemented sub- and super- buttons in math
14177 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
14178 (or ^ space) to be used as in TeX (req'd by Andr�.
14180 * lyxfunc.C: Allow ^ and _ again to be used both as
14181 super/subscript (mathed) and as themselves (in text).
14183 2002-01-03 Allan Rae <rae@lyx.org>
14185 * LyXView.C (updateWindowTitle): Setup a short icon title of either
14186 "LyX" or the filename of the current buffer if it has one. This is a
14187 modified form of John Levon's patch.
14189 * XFormsView.C (setWindowTitle): also set icon title.
14191 * LyXView.h (setWindowTitle): signature changed.
14192 * XFormsView.h (setWindowTitle): ditto.
14194 2002-01-02 Juergen Vigna <jug@sad.it>
14196 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14198 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
14200 * screen.C (topCursorVisible): introduce a temp var for
14201 text->cursor.row(), handle the case where this row is null. (kindo
14204 * text2.C (setCursor): add a couple of asserts.
14206 * paragraph.h (inset_iterator): add -> operator
14208 * paragraph.[Ch] (autoDeleteInsets): remove member function
14210 * BufferView2.C (removeAutoInsets): rewrite to handle the old
14211 cursor pos correctly and handle inset deletion by itself.
14212 (insertErrors): move iterator declaration out of for expression
14214 * lyxtextclass.C: add <algorithm>
14216 * Makefile.am: added the new files to sources, removed layout.C
14218 * layout.C: removed file
14220 * layout.h: remove LYX_DUMMY_LAYOUT
14222 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14226 * lyxtextclass.[Ch]:
14227 * lyxtextclasslist.[Ch]: new files
14229 * include order changes to a lot of files, also changes because of
14232 2001-12-27 Juergen Vigna <jug@sad.it>
14234 * buffer.C (asciiParagraph): more fixes.
14236 * tabular.C (ascii): make ascii export support export of only the
14237 data separated by a column-delimiter.
14238 (ascii): better support for ascii export.
14240 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14242 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14244 * tabular_funcs.C: use a "using std::getline" instead of the
14245 previous fix from Angus (necessary for cxx + lyxstring)
14247 2001-12-24 Juergen Vigna <jug@sad.it>
14249 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14251 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14252 problems. First check a minipage also if we have some ert-contents
14253 (not only on par->size(), second set the right depth of the paragraph
14254 on the relink to the root-paragraph-list!
14256 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14257 which then did not anymore update the main paragraphs on undo/redo!
14259 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14261 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14262 code. Support all font-changing funcs (even those which are not in
14263 menu currently). Support for reporting font settings in
14264 mathed (disabled until Andre provides a function on mathed's side).
14266 * func_status.h (toggle): small helper function to set toggle
14269 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
14271 * tabular_funcs.C: getline -> std::getline
14273 2001-12-21 Juergen Vigna <jug@sad.it>
14275 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14276 accessed and could be 0 (I couldn't generate this but it seems
14279 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
14281 * tabular_funcs.C: add LIstream.h, move write_attribute to..
14282 * tabular_funcs.h: here and include iosfwd
14284 2001-12-20 Juergen Vigna <jug@sad.it>
14286 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14287 inside inset but undo_par was.
14289 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14291 * Thesaurus.C: always include <config.h> in sources.
14295 * box.h: do not include <config.h> in header files
14297 * text.C (paintLastRow): remove unused variable
14299 * text.C (transformChar):
14301 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14303 * Painter.C (text):
14304 * font.C (width): rewrite to use uppercase() instead of
14307 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14309 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
14311 * lyxfind.C: clean up of find failure position change
14313 2001-12-20 Juergen Vigna <jug@sad.it>
14315 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14317 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14318 (TeXRow): added to LaTeX a single tabular row.
14319 (TeXLongtableHeaderFooter): added to output LT-h/f data.
14320 (Latex): simplified and finally good LT-h/f support.
14321 (various_functions): just small adaptions for LT-h/f support.
14323 * tabular_funcs.[hC]: added and moved here all not classfunctions
14326 2001-12-19 Juergen Vigna <jug@sad.it>
14328 * tabular.[Ch]: better support for longtabular options (not finished
14331 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14333 * text.C (paintLastRow): use the label font instead of the font of
14334 the last character to compute the size of *_BOX. This makes more
14335 sense and avoids a crash with empty paragraphs.
14336 Use Painter::rectangle to draw EMPTY_BOX.
14338 2001-12-19 Juergen Vigna <jug@sad.it>
14340 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14341 the paragraphs if the replaced paragraph is not the first one!
14342 Tried to delete not used paragraphs but does not work yet so for
14343 now it's inside #ifdef's and by default off!
14345 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14347 * MenuBackend.C: include "lyx_main.h" instead of declaring
14348 lastfiles (actually was declared as LastFiles* instead of a
14351 2001-12-17 Juergen Vigna <jug@sad.it>
14353 * tabular.C (AppendColumn): applied John's fix
14355 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
14359 * BufferView_pimpl.h:
14360 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14363 * box.h: new start of class for above
14365 * lyxfunc.C: ignore space-only minibuffer dispatches.
14366 Show the command name when it doesn't exist
14368 * minibuffer.C: don't add empty lines to the history
14370 * minibuffer.C: add a space on dropdown completion
14372 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
14374 * text.C: fix line above/below drawing in insets
14376 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14378 * lyxlength.C (LyXLength): Initialize private variables.
14380 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
14382 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14383 when inserting error insets.
14385 2001-12-13 Juergen Vigna <jug@sad.it>
14387 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14388 actually sometimes the before-paragraph.
14389 (setUndo): don't clear the redostack if we're not actually undoing!
14391 2001-12-06 Juergen Vigna <jug@sad.it>
14393 * undo_funcs.C (textHandleUndo): well after John's hint I got here
14394 and fixed redoing of main paragraph, so we can use it now ;)
14396 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14398 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14400 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14403 2001-12-13 André Pönitz <poenitz@gmx.net>
14406 * undo_func.C: minor cleanup
14408 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14410 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14411 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14412 font in urw-fonts package which is marked as -urw-fontspecific and
14413 does not work (incidentally, changing the encoding in the
14414 fonts.dir of this package to -adobe-fontspecific fixes the
14417 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14418 is a crash when undoing first paragraph (Juergen, please take a
14419 look). THis does not mean the undo fix is wrong, just that it
14422 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14423 the (Paragraph*) version when needed instead of duplicating the
14426 * text.C (workWidth): use Inset::parOwner to find out where the
14427 inset has been inserted. This is a huge performance gain for large
14428 documents with lots of insets. If Inset::parOwner is not set, fall
14429 back on the brute force method
14431 * paragraph_pimpl.C (insertInset):
14432 * paragraph.C (Paragraph):
14433 (cutIntoMinibuffer): set parOwner of insets when
14434 inserting/removing them
14436 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14438 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
14444 * mathed/formulabase.C:
14445 * mathed/math_cursor.[Ch]:
14446 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14449 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14451 * lyxlength.[Ch] (operator!=): new function
14453 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14455 * text.C (workWidth): use Inset::parOwner to find out where the
14456 inset has been inserted. This is a huge performance gain for large
14457 documents with lots of insets. If Inset::parOwner is not set, fall
14458 back on the brute force method
14460 * paragraph_pimpl.C (insertInset):
14461 * paragraph.C (Paragraph):
14462 (cutIntoMinibuffer): set parOwner of insets when
14463 inserting/removing them
14465 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14467 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14469 * tabular-old.C (getTokenValue):
14470 * tabular.C (getTokenValue):
14471 (write_attribute): new versions for LyXLength
14472 (everywhere): adjust the use of widths
14474 * tabular.h: change the type of widths from string to LyXLength
14476 2001-12-11 Ben Stanley <bds02@uow.edu.au>
14478 * paragraph.C: fixed missing line number count when exporting
14479 Environments to LaTeX file
14481 * buffer.C: added informational message for checking line numbers.
14483 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14485 * text2.C (deleteEmptyParagraphMechanism): if there is only one
14486 paragraph, do the 'double space' part, but not the 'empty
14489 * text.C (workWidth): small optimization
14490 (getLengthMarkerHeight): use minimal size for negative lengths.
14492 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
14494 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14496 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14498 2001-12-11 André Pönitz <poenitz@gmx.net>
14501 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14503 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14505 * text2.C: keep selection on a setFont()
14507 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14509 * lyx_cb.C: another bv->text misuse, from insert label
14511 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14514 * kbsequence.C: re-instate nmodifier mask
14516 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
14518 * lyx_main.h: make lyxGUI private.
14520 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14522 * lyxfind.C: place the cursor correctly on failed search
14524 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14526 * text.C (getLengthMarkerHeight): for small heights, the arrows
14527 are not always on top/bottom of the text
14528 (drawLengthMarker): smaller arrows; take the left margin in
14529 account; draw also vfills.
14531 (paintLastRow): remove special code for vfill and standard spaces,
14532 since everything is handled in drawLengthMarker now.
14534 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14536 * buffer.C (insertErtContents): try to handle font and language
14537 interaction a bit better.g
14539 * ColorHandler.C (updateColor): change the hash to cover the whole
14540 LColor enum, ws cleanup
14541 (getGCLinepars): ditto
14542 (getGCLinepars): only lookup in the linecache once.
14544 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
14546 * iterators.C (operator++): Make the iterator more robust
14548 * BufferView2.C (removeAutoInsets): Use paragraph iterators
14550 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14552 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14555 * text.C: better added space drawing
14557 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14560 * BufferView2.C: fix layout combo update on inset unlock
14562 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14564 * Makefile.am: don't compile unused files
14566 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14570 * LyXAction.C: remove old LFUN_LAYOUTNO
14572 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14574 * paragraph_pimpl.h:
14575 * paragraph_pimpl.C: isTextAt() doesn't need font param
14577 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14580 * lyxlex.C: little cleanup
14582 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14584 * BufferView_pimpl.C: fix insertAscii for insets
14586 2001-12-05 Juergen Vigna <jug@sad.it>
14588 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14589 set the right font on the "multi" paragraph paste!
14591 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14597 * lyxlength.C: remove out-commented code.
14599 * BufferView_pimpl:
14613 * vc-backend.C: change "while(" to "while ("
14615 * lyxlength.[Ch]: add zero function to check if length is zero or
14617 * lyxgluelength.C: use it
14619 2001-12-05 Allan Rae <rae@lyx.org>
14621 * lyxlength.C: Attempted a fix for the abs(int) header selection.
14622 Works for 2.95.3, from what I understand of Garst's reports this should
14623 work for other g++ versions. We're screwed if the abs(int) definition
14624 changed between bugfix releases of gcc.
14626 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14628 * text.C: fix chapter label offset !
14630 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14633 * text.C: fix hfill at end of line, clean up
14635 2001-12-04 Juergen Vigna <jug@sad.it>
14637 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14638 that we force an update of the inset and it's owners if neccessary.
14640 2001-12-03 Juergen Vigna <jug@sad.it>
14642 * text.C (rowLast): simplified code
14644 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14646 * lyxfunc.C: fix show options on timeout
14648 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14650 * screen.C (topCursorVisible): scroll half a page when the cursor
14651 reached top of bottom of screen
14653 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
14655 * minibuffer.C: deactivate on loss of focus
14657 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14659 * vspace.[Ch] (operator!=): add operator.
14661 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
14663 * BufferView_pimpl.C: refuse to open an inset when
14664 there's a selection.
14666 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
14668 * BufferView_pimpl.C: allow to click on RHS of full row insets
14670 2001-11-30 Juergen Vigna <jug@sad.it>
14672 * tabular.C (LyXTabular): add a same_id to set the same id's in the
14673 insets for undo reasons.
14675 2001-11-28 André Pönitz <poenitz@gmx.net>
14677 * vspace.[Ch]: cosmetical changes
14679 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14689 * kbsequence.C: part re-write of old kb code
14692 * WorkArea.C: remove Lgb_bug_find_hack
14694 2001-11-30 José Matos <jamatos@fep.up.pt>
14696 * buffer.C (makeDocBookFile): add a comment to point a hack.
14697 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14698 Fixed a double write of labels.
14700 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14703 * LaTeX.h Fixed bug in LaTeX class where it would not
14704 re-run latex if no depfiles were changed, but the .dvi was removed.
14706 2001-11-28 André Pönitz <poenitz@gmx.net>
14708 * all the files from the change on 2001/11/26:
14709 use lyx::layout_type instead of LyXTextClass::size_type
14710 use lyx::textclass_type instead of LyXTextClassList::size_type
14712 2001-11-29 Juergen Vigna <jug@sad.it>
14714 * text.C: added support for paragraph::isFreeSpacing()
14716 * buffer.C: same as above
14718 * paragraph.h: inserted isFreeSpacing() function to enable
14719 FreeSpacing inside InsetERT.
14721 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14722 of the paragraph's in the cut/copy buffer to 0!
14724 * text2.C (removeRow): remove the assert as it can!
14726 * lyxtext.h: added helper function firstRow returning firstrow and
14727 made firstrow private again.
14729 * BufferView2.C (lockInset): don't relock if we're already locked!
14731 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14732 the only paragraph.
14733 (removeRow): added Assert::(firstrow)
14735 * debug.C: forgot to add INSETTEXT here.
14737 2001-11-28 Juergen Vigna <jug@sad.it>
14739 * sp_spell.C (initialize): changed error text to more general
14740 spellchecker command use (not only ispell!)
14742 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14744 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14746 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14748 * vspace.C: initialise lyxgluelength on failure
14750 2001-11-28 Allan Rae <rae@lyx.org>
14752 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14753 declaration & definition that looks like a function declaration.
14755 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14757 * BufferView2.C (copy):
14758 (copyEnvironment): do not clear the selection when doing a copy.
14760 * text.C (paintFirstRow): compilation fix
14762 2001-11-27 Ben Stanley <bds02@uow.edu.au>
14764 * tabular.C (Latex): correct line count when writing latex.
14766 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
14768 * paragraph_pimpl.h:
14769 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14772 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14776 * LColor.C: change vfillline->added_space
14778 * text.C: add markers and text for added space
14780 * vspace.C: fix comment
14782 2001-11-28 André Pönitz <poenitz@gmx.net>
14784 * paragraph.C: whitespace changes
14785 * all the other files from the change on 2001/11/26:
14786 change *::pos_type into lyx::pos_type
14788 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
14790 * buffer.C (parseSingleLyXformat2Token): Set the language to the
14791 language of the document when inserting error insets.
14793 2001-11-26 André Pönitz <poenitz@gmx.net>
14795 * BufferView_pimpl.[Ch]:
14803 * paragraph_pimpl.[Ch]:
14806 * text2.C: reduce header dependencies, introduce type for positions
14808 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14810 * <various>: change to use Alert.h
14812 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
14814 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14815 when encountering an unknown token.
14816 (readLyXformat2): Show an error message if there were unknown tokens.
14818 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
14821 * BufferView_pimpl.C:
14825 * text2.C: use par->isInset()
14827 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14829 * paragraph_pimpl.h:
14830 * paragraph_pimpl.C: cleanup
14832 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14834 * text2.C (removeRow):
14835 * text.C (setHeightOfRow): remove useless (and costly) call to
14838 2001-11-20 Allan Rae <rae@lyx.org>
14840 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14841 Now need Inset*::checkInsertChar() to return true for appropriate
14842 cases so that the characters in the minibuffer will actually be
14845 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14847 * text.C: change the order of the includes.
14848 (workWidth): initialize it at once.
14849 (workWidth): make maxw unsigned
14850 (setHeightOfRow): remove unused variable (inset)
14851 (selectSelectedWord): remove unused variable (inset)
14852 (paintRowText): fix drawing of hfill characters, and clean up a bit.
14854 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14856 * lyxserver.C (emergencyCleanup): do not try to close pipes if
14857 server is not running.
14859 (closeConnection): add debug info when server is disabled.
14861 * ColorHandler.C (getGCForeground): send debug message to GUI
14864 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14866 * kbmap.C (bind): modify because return conventions of
14867 kb_sequence::parse have changed.
14869 * kbsequence.C (parse): only ignore spaces and not any stupid
14870 control character. This avoids tests like s[i] <= ' ', which are
14871 guaranteed to fail with 8bit characters and signed chars.
14872 Change return code to string::npos when there have been no error
14873 (0 was a bad idea when error is at first character)
14875 2001-11-14 José Matos <jamatos@fep.up.pt>
14878 * buffer.C (simpleDocBookOnePar): removed unused argument.
14880 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14882 * text.C (selectNextWordToSpellcheck): do not test explicitely for
14883 insets which are part of a word. Paragraph::isLetter takes care of
14884 that now. Use Paragraph::isInset to identify insets.
14885 (selectSelectedWord): do not test for hyphenation break.
14887 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14888 that protected spaces are considered as spaces.
14890 * paragraph.C (isLetter): cleanup the code for ispell extras; use
14893 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
14896 * lyxserver.C: fix it. and small cleanup.
14898 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
14900 * BufferView_pimpl.C: use inline helpers
14903 * LaTeXFeatures.C: fix typos
14906 * Spacing.C: move spacing_string into class
14908 * ToolbarDefaults.C: move stuff into namespace anon
14910 * layout.h: update enum
14912 * lyxfunc.C: use better debug
14914 * minibuffer.h: fix typo
14918 * WorkArea.C: add and use Debug::WORKAREA
14922 * text2.C: code re-organisation, inline helpers
14924 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
14926 * Layout.C: replaced a few cases of std::vector.size() == 0 with
14927 std::vector.empty().
14929 2001-11-09 Allan Rae <rae@lyx.org>
14931 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14932 '\n's after tables. Tabular and ERT inset work now makes this no
14935 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
14938 * minibuffer.C: fix crash, improve drop-down completion
14940 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
14943 * lyxserver.C: invalidate fd's when doing endPipe()
14945 2001-11-08 José Matos <jamatos@fep.up.pt>
14947 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14948 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14951 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14953 2001-11-07 José Matos <jamatos@fep.up.pt>
14956 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14959 * buffer.C (sgmlOpenTag):
14960 * buffer.C (sgmlCloseTag): removed debug info.
14962 * buffer.h (sgmlOpenTag):
14963 * buffer.h (sgmlCloseTag): made public.
14965 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14967 * buffer.C (saveParamsAsDefaults):
14968 * lyx_cb.C (MenuLayoutSave): remove
14970 * LyXAction.C (init):
14972 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
14974 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14976 * buffer.C (setPaperStuff): removed from here...
14978 * bufferparams.C (setPaperStuff): ... and moved there.
14980 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
14984 * XFormsView.C: add support for drop-down completion
14986 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
14988 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14991 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14993 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14996 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
14998 * lyx_main.C: change ref to known bugs
15000 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
15002 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
15003 to work around older babel problems.
15005 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
15007 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
15009 2001-10-24 Juergen Vigna <jug@sad.it>
15011 * tabular-old.C (ReadOld): below variable changes reflected.
15013 * tabular.[Ch]: added ltType struct for longtable header/footer
15014 defines and changed all instances where they are used. Added
15015 future support for double top/bottom rows.
15017 2001-10-24 José Matos <jamatos@fep.up.pt>
15019 * buffer.h (docbookHandleCaption):
15020 * buffer.C (docbookHandleCaption): removed unused function.
15021 (makeDocBookFile): moved docbook supported version to v4.1.
15023 2001-10-24 José Matos <jamatos@fep.up.pt>
15026 * tabular.C (docbookRow): new function to export docbook code of a row.
15027 (DocBook): now honors the longtable flags.
15029 2001-10-23 José Matos <jamatos@fep.up.pt>
15032 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
15033 of the lyx defined sgml entities used in a docbook/linuxdoc document.
15035 * buffer.C (makeLinuxDocFile):
15036 (makeDocBookFile): reworked the preamble, more clean, and with
15037 support for lyx defined entities. Changed the document declaration
15038 to be more XML friendly.
15040 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
15041 if we need to output XML that should be done with a filter.
15043 2001-10-22 Juergen Vigna <jug@sad.it>
15045 * sp_pspell.h (class PSpell): add alive function needed in the
15046 controller to see if the spellchecker could be started.
15048 2001-10-22 Juergen Vigna <jug@sad.it>
15050 * buffer.C (insertStringAsLines): modify the font for inserting
15051 chars in certain conditions by calling checkInsertChar(font).
15053 2001-10-19 Juergen Vigna <jug@sad.it>
15055 * text.C (workWidth): use getRow instead of wrong algorithm.
15056 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
15058 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
15063 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
15065 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15067 * text.C (workWidth): do not search for the exact row when
15068 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
15069 optimization for big documents.
15071 2001-10-18 Juergen Vigna <jug@sad.it>
15073 * text.C (workWidth): new function with added Inset * parameter.
15075 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15077 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
15079 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
15080 change return type of getColumnNearX.
15083 * text.C (changeRegionCase): use uppercase/lowercase instead of
15086 (rightMargin): simplify code by factoring out the uses of
15091 (appendParagraph): use Paragraph::size_type
15093 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15095 * vspace.C (asLatexString): add a missing break
15097 2001-10-15 Herbert Voss <voss@perce.de>
15099 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
15101 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15103 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
15106 2001-10-10 André Pönitz <poenitz@gmx.net>
15108 * lyxfunc.C: removed greek_kb_flag.
15110 2001-10-10 Herbert Voss <voss@perce.de>
15112 * lyx_main.C: delete global string help_lyxdir.
15114 2001-10-09 Herbert Voss <voss@perce.de>
15116 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
15118 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
15120 * lyx_main.C: added global string help_lyxdir.
15122 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
15124 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
15126 * lyxrc.C (set_font_norm_type): support iso8859-4
15128 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
15130 * LaTeX.C (deplog): add another regex for MikTeX
15132 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
15134 * lyxrc.C (set_font_norm_type): support iso8859-3
15136 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15138 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
15140 * LaTeXFeatures.C: remove special case of french and index
15142 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
15143 before \begin{document}). This solves several incompatibilities.
15145 2001-10-03 Garst Reese <reese@isn.net>
15147 * lyx_cb.C: change CheckTex error msg.
15149 2001-10-03 José Matos <jamatos@fep.up.pt>
15151 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
15153 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15155 * .cvsignore: update
15157 * lyx_main.C (commandLineVersionInfo): use new style version info.
15159 * buffer.C (writeFile):
15161 (makeLinuxDocFile):
15162 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
15164 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
15166 * version.h: update to use stuff in version.C
15168 * version.C.in: new file. Contains version information determined
15169 at compile time. This is a merging of version.h and
15172 2001-10-03 Juergen Vigna <jug@sad.it>
15174 * BufferView_pimpl.C (update): don't change "dirty" status in
15177 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
15179 * WorkArea.C (c-tor): re-position version string slightly.
15181 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
15183 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15184 revert to previous code.
15186 WorkArea.[Ch]: (show, destroySplash): methods removed.
15188 WorkArea.C: rework code so that it's an amalgam of the codes before and
15189 after the splash screen was moved to WorkArea.
15191 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15194 * vspace.C (inPixels):
15197 * buffer.C (insertStringAsLines):
15198 (asciiParagraph): fix types to be large enough
15200 * lyxlex_pimpl.h: change member status from short to int
15202 * layout.h: fix type of endlabeltype
15205 * kbsequence.C (parse): change return type to string::size_type
15207 * LaTeX.C (updateBibtexDependencies): comment out unneeded
15210 * Bullet.C (bulletSize):
15211 (bulletEntry): do not use short ints as parameters
15213 * BufferView2.C (insertLyXFile): change a char to an int.
15215 * WorkArea.C (WorkArea): remove unneeded floats in computation
15217 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
15219 * buffer.C (asciiParagraph): Treat '\\' as other chars.
15221 * paragraph.C (asString): Do not ignore newline/hfill chars when
15222 copying to the clipboard.
15224 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
15226 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15227 after a multi-line inset.
15229 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
15231 * paragraph.C (validate): Set NeedLyXFootnoteCode
15233 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
15235 * lyxfont.C (LyXSizeNames): changed increase-error to increase
15236 and decrease-error to decrease.
15238 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15240 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15241 it more readable (should be equivalent)
15243 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
15245 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15247 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15249 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15250 of a cursor (row, etc.) after a character has been deleted
15251 (deleteEmptyParagraphMechanism): call the method above on _all_
15252 cursors held by the LyXText when a double space has been
15255 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
15257 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15259 (resizeCurrentBuff): remove code to destroy the old splash dialog.
15261 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15262 background. Use greyOut() and the new show() methods to toggle between
15263 the foreground and background. Add code to remove the splash after
15264 its initial showing.
15266 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15267 (create_forms): no longer call Dialogs::showSplash.
15269 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15271 * .cvsignore: add version_info.h
15273 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15275 * version_info.h.in: new file
15277 * Makefile.am: add version_info.h.in
15279 * lyx_main.C (commandLineVersionInfo): use version_info defined in
15280 version_info.h instead of VERSION_INFO
15282 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
15284 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15285 The ERT inset now returns string().
15287 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
15289 * lyxtext.h, text.C (selectNextWord): renamed as
15290 selectNextWordToSpellcheck.
15292 * text.C (selectNextWordToSpellcheck): Modified to not select
15293 words inside an ERT inset.
15295 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15297 * lyx_cb.C (MenuLayoutSave): change a bit the question
15299 * sp_base.h: include <sys/types.h>
15301 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
15303 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15305 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
15307 * several files: fix typos in user-visible strings
15309 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15311 * text2.C (pasteSelection): do not set the selection, since it
15312 will be cleared later. Actually, the intent was to fix the way the
15313 selection was set, but I figured rmoving the code was just as good.
15315 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
15317 * FontLoader.C (available): Check if font is available without
15320 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
15322 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15324 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
15326 * lyxrc.[Ch]: added display_graphics variable and associated code.
15328 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15330 * bufferparams.C (hasClassDefaults): new method. Returns true if
15331 the buffer parameters correspond to known class defaults
15333 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
15335 * XFormsView.C (show): set minimum size to the main window.
15337 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15339 * text2.C (copySelection):
15341 * lyxfind.C (LyXReplace):
15342 * BufferView_pimpl.C (Dispatch): pass the correct flag to
15343 LyXText::selectionAsString.
15345 * paragraph.C (asString): add "label" argument to the second form
15347 * text2.C (selectionAsString): add "label" argument and pass it to
15348 Paragraph::asString.
15350 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15352 * lyx_main.C (commandLineHelp): remove version information
15354 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
15356 * lyx_main.C: add -version commandline option
15358 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15360 * paragraph.h: make the optional constructor arg required instead.
15361 some modifications to other files because of this.
15363 * minibuffer.C (C_MiniBuffer_peek_event): make it static
15365 * lyxserver.C (C_LyXComm_callback): make it static
15367 * lyx_main.C (error_handler): make it static
15369 * lyx_gui.C (LyX_XErrHandler): make it static
15371 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15373 * WorkArea.C: make the extern "C" methods static.
15375 * Makefile.am (lyx_LDADD): simplify
15377 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15379 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15380 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15382 * LyXAction.C (init):
15383 * lyxfunc.C (dispatch): associated code removal.
15385 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15387 * lyxfont.h (isSymbolFont): shut off warning
15389 * text.C (setHeightOfRow):
15390 (getVisibleRow): fix crash with empty paragraphs which have a
15393 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
15395 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15398 2001-09-04 José Matos <jamatos@fep.up.pt>
15401 * tabular.C (docbook): rename docBook method to docbook.
15403 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15405 * Makefile.am: add dependencies to main.o.
15407 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
15409 * FontLoader.C (available): Return false if !lyxrc.use_gui
15411 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
15413 * FontInfo.C (query):
15414 * converter.C (view):
15415 * importer.C (Import):
15416 * exporter.C (Export): Can not -> cannot.
15418 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
15420 * BufferView_pimpl.C: allow to create index inset even if
15423 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15425 * buffer.C (getLists): replace boost::tie code with an explicit pair
15426 as boost::tie can break some compilers.
15428 * iterators.h: Added a std:: declaration to the return type of
15431 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
15433 * lyxrc.C: add help for view_dvi_paper_option, default to safe
15436 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
15438 * iterators.[Ch]: New files. Provide paragraph iterators.
15440 * buffer.C (changeLanguage): Use paragraph iterators.
15441 (isMultiLingual): ditto
15443 * BufferView2.C (ChangeInsets): Use paragraph iterators.
15445 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
15447 * FontLoader.C: Support for cmr font.
15449 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
15451 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15452 (available): New method.
15454 * FontInfo.C (getFontname): Use scalable fonts even when
15455 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15458 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15460 * converter.C (Formats::view): reverted! Incorrect fix.
15462 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15464 * converter.C (Formats::view): only output the -paper option
15465 if the dvi viewer is xdvi, thereby fixing bug #233429.
15467 2001-08-23 Herbert Voss <voss@perce>
15469 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15471 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
15473 * Spacing.h (Spacing): Set space to Default on in the default
15476 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
15478 * vc-backend.h (RCS::versionString): add RCS to version
15479 (CVS::versionString): add CVS to version
15481 * vc-backend.C (scanMaster): do not add CVS to version.
15482 (scanMaster): do not add RCS to version
15484 * lyxvc.C (versionString): new method
15486 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15488 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15490 * Spacing.C (set): initialize fval
15492 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
15494 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15497 2001-08-16 Juergen Vigna <jug@sad.it>
15499 * lyxfunc.C (dispatch): implemented the new FINISHED states.
15501 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15503 * BufferView_pimpl.C:
15506 * text2.C: setParagraph takes linespacing now
15508 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
15510 * LyxAction.C: add internal LFUN_CITATION_INSERT
15512 * LyXView.C: actually apply fix
15514 * bufferlist.C: fix open non-existent file
15516 * lyxfind.C: fix indentation
15518 * lyxfunc.C: remove unneeded assert, fix typo
15520 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15522 * MenuBackend.C: use "Floatname List"
15524 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
15526 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15527 when converting LaTeX layout to insetERT.
15528 Generate a non-collapsed float when reading old float
15530 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15532 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15535 2001-08-13 Juergen Vigna <jug@sad.it>
15537 * text.C (fill): return 0 instead of 20 as this seems to be the more
15540 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15542 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15545 2001-08-13 Juergen Vigna <jug@sad.it>
15547 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15549 (SearchBackward): comment out the unlocking of the inset_owner this
15550 should not be needed!
15552 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
15554 * Many files: Remove inherit_language, and add latex_language
15556 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15557 collapsible insets.
15559 2001-08-10 Juergen Vigna <jug@sad.it>
15561 * text.C (prepareToPrint): fixed hfill-width in draw!
15563 * BufferView2.C (selectLastWord): save the selection cursor as this
15564 now is cleared in the function LyXText::clearSelection!
15566 2001-08-08 Juergen Vigna <jug@sad.it>
15568 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15569 BACKSPACE type functions.
15571 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15572 is only cutted from the document but not put in the cut-buffer, where
15573 still the old stuff should be.
15575 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15577 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15579 * tabular.C (SetWidthOfCell): fixed special case where the width
15581 (LeftLine): handle '|' in align_special.
15583 (LeftAlreadyDrawed): ditto
15584 (SetWidthOfCell): ditto
15586 2001-08-07 Juergen Vigna <jug@sad.it>
15588 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15590 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15592 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15593 * lyxlex.[hC]: ditto
15595 2001-08-06 Juergen Vigna <jug@sad.it>
15597 * text.C (getVisibleRow): fix up row clearing a bit.
15599 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15601 * minibuffer.C: make sure the X server sees the changes in the input.
15603 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15605 * paragraph.C (getFont): split into...
15606 (getLabelFont): this
15607 (getLayoutFont): and this
15608 * paragraph_pimpl.C (realizeFont): calling this
15610 * text2.C (getFont): split into...
15611 (getLayoutFont): this
15612 (getLabelFont): and this
15613 (realizeFont): all three calling this
15615 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15618 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15620 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15622 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
15624 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15625 layouts from the Quote inset insertion.
15627 2001-08-03 Juergen Vigna <jug@sad.it>
15629 * BufferView_pimpl.C (update): do the fitCursor only at the end!
15631 * screen.C (drawFromTo): don't call fitcursor here and do the loop
15632 only if status not is already CHANGED_IN_DRAW (second level).
15634 * text.C (draw): don't set the need_break_row when inside an
15637 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
15639 * buffer.C (parseSingleLyXformat2Token): handle more latex
15642 * bufferview_funcs.[hC]: change function names to
15643 begin with small char, adjust other files.
15645 2001-08-02 André Pönitz <poenitz@gmx.net>
15648 BufferView_pimpl.C: remove broken special code for math-greek
15650 2001-08-02 Juergen Vigna <jug@sad.it>
15652 * BufferView_pimpl.C (update): redone this function so that we
15653 update the text again if there was a CHANGE_IN_DRAW.
15655 * screen.C (cursorToggle): removed LyXText parameter and recoded.
15656 (drawFromTo): added a new internal bool which is used by draw() and
15658 (general): some cursor drawing problems fixed.
15660 2001-08-01 Juergen Vigna <jug@sad.it>
15662 * lyxfind.C (LyXFind): fixed
15663 (SearchForward): ditto
15664 (SearchBackward): ditto
15666 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15667 spurius drawing of the cursor in the main area.
15669 * text2.C (status): small fix which could lead to a segfault!
15670 (clearSelection): remove unneeded BufferView param.
15672 2001-08-01 André Pönitz <poenitz@gmx.net>
15674 * lyxfunc.C: small change due to changed mathed interface
15676 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15678 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15680 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
15682 * lyxfunc.c: fail gracefully if file doesn't exist
15687 * BufferView_pimpl.C: IsDirWriteable() proto changed
15689 * LyXView.C: fix updateWindowTitle() to store the last title
15691 2001-07-31 Juergen Vigna <jug@sad.it>
15693 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15694 the font (wrong since using of Paragraph::highestFontInRange).
15696 * paragraph.C (highestFontInRange): added a default_size parameter.
15698 * text.C (getVisibleRow): minor clear row changes (still not perfect).
15699 (setHeightOfRow): reformat
15701 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15703 * converter.[hC] + affected files: move to (inital-char)lowercase
15706 * ParagraphParameters.C (ParagraphParameters): remove commented code
15708 * PainterBase.[Ch]: remove commented code
15710 * LaTeXFeatures.h: add "bool floats" for float.sty
15712 * LaTeXFeatures.C (LaTeXFeatures): init floats
15713 (require): handle float
15714 (getPackages): do it with floats
15716 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15718 * BufferView_pimpl.C (Dispatch): improve handling of
15719 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15721 * commandtags.h: #include lyxfont.h here temporarily to avoid
15724 * bufferlist.h: include LString.h here.
15726 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15728 * text2.C (getStringToIndex): new method.
15730 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
15732 * *: Reduced header file dependencies all over.
15734 2001-07-30 Baruch Even <baruch@lyx.org>
15736 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15738 2001-07-29 Baruch Even <baruch@lyx.org>
15740 * buffer.C (readInset): Changed GRAPHICS to Graphics.
15742 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15744 * ParameterStruct.h (endif): add a default constructor to make
15745 sure that all variables is initialized.
15747 * ParagraphParameters.C (ParagraphParameters): adjust
15749 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15751 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15752 index; also, check that there is something to index, and that it
15753 does not span over several paragraphs.
15754 (doubleClick): use WHOLE_WORD_STRICT for double click.
15756 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15758 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15761 2001-07-26 Baruch Even <baruch@lyx.org>
15763 * buffer.C (readInset): Changed to call up InsetGraphics when reading
15764 an InsetFig figure, backwards compatible reading of old figure code.
15766 2001-07-27 Juergen Vigna <jug@sad.it>
15768 * text2.C: font.realize function adaption.
15770 * text.C (draw): add a warnings lyxerr text if needed.
15772 * layout.C: font.realize function adaption.
15774 * language.C: add inherit_language and implement it's handlings
15776 * bufferview_funcs.C (StyleReset): remove language parameter from
15777 font creation (should be language_inherit now).
15779 * bufferparams.C (writeFile): handle ignore_language.
15781 * paragraph.C (getFontSettings): the language has to be resolved
15782 otherwise we have problems in LyXFont!
15784 * lyxfont.C (lyxWriteChanges): added document_language parameter
15785 (update): removed unneeded language parameter
15787 * paragraph.C (validate): fixed wrong output of color-package when
15788 using interface colors for certain fonts in certain environments,
15789 which should not seen as that on the final output.
15791 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
15793 * BufferView_pimpl.C:
15798 * LyXAction.C: add thesaurus support
15801 * lyxfind.C: add "once" parameter, for thesaurus, to not
15802 move to the next match
15804 2001-07-26 Juergen Vigna <jug@sad.it>
15806 * lyxfont.C (realize): honor ignore_language too!
15809 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15811 * text.C (draw): one place more for ignore_language to not draw
15814 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
15816 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15818 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15820 * buffer.C (parseSingleLyXformat2Token): a more general fix for
15821 the minipage conversion problem.
15823 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15825 * buffer.C (parseSingleLyXformat2Token): check minipage if we
15828 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15830 * BufferView.h: don't forward declare WorkArea
15832 * BufferView.C: don't include WorkArea.h
15834 2001-07-25 André Pönitz <poenitz@gmx.net>
15838 * lyxfunc.C: new LFUN 'math-space'
15840 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15842 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15844 * text2.C (toggleInset): call open/close
15846 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15848 * lyxfunc.C (dispatch): add debug for the disabled case
15850 * font.C (buttonText): make similar to rectText
15852 * buffer.C (readInset): comment out parsing of insetlist and
15855 * PainterBase.C (rectText): small correction
15857 * BufferView_pimpl.C: comment out insettheorem and insetlist
15858 * LyXAction.C: ditto
15859 * commandtags.h: ditto
15861 2001-07-24 Juergen Vigna <jug@sad.it>
15863 * text.C (draw): honor the ignore_language.
15865 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15867 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15869 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15872 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15874 * lyxtext.h: remove unused (and unimplemented) methods
15876 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15878 * text.C (getVisibleRow): honor background color
15881 * Painter.h: remove default color argument for fillRectangle
15883 * text.C (backgroundColor): new method
15885 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15887 * text.C (getVisibleRow): adjust
15889 * font.[Ch] (rectText): new method, metrics
15890 (buttonText): new method, metrics
15892 * PainterBase.[hC]: make rectText and buttonText always draw and take
15895 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15897 * ToolbarDefaults.C (read):
15898 * MenuBackend.C (read): allow escaping in all strings
15900 * BufferView_pimpl.C (insertAndEditInset): new method.
15901 (Dispatch): use insertAndEditInset whenever appropriate.
15903 * BufferView_pimpl.C (insertNote): removed
15905 * BufferView_pimpl.C (smartQuote): new method, moved from
15906 BufferView; if an insetquote cannot be inserted, insert a '"'
15909 * BufferView2.C: remove insertCorrectQuote();
15911 * lyxfunc.C (getStatus): Add support for all remaingin
15912 inset-insert lfuns.
15914 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
15916 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
15917 command (necessary to pass " as parameter of self-insert.
15919 * text.C (selectWordWhenUnderCursor):
15920 (selectWord): add word_location parameter
15921 (selectWordWhenUnderCursor): same + remove special code for word
15923 (selectNextWord): use kind() to guess type of insetspecialchar,
15926 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15927 (insertErtContents): create ert insets as collapsed.
15928 (readInset): better compatibility code for Info inset.
15930 2001-07-20 Juergen Vigna <jug@sad.it>
15932 * lyxfunc.C (dispatch): use always LyXFind now!
15934 * text2.C (init): add a reinit flag so that the LyXText can be
15935 reinited instead of deleted and reallocated (used in InsetText).
15937 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15943 2001-07-18 Juergen Vigna <jug@sad.it>
15945 * text.C (selectNextWord): handle insets inside inset by calling
15946 always the bv->text functions so that we can go up the_locking_inset!
15948 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15949 in strange locations when inside an inset!
15951 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15952 handling to include insets.
15954 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15956 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15958 * LyXAction.C (init):
15960 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15961 LIGATURE_BREAK, since the name is so stupid.
15963 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
15965 * buffer.C (readInset): enable reading of new InsetNotes as well as old
15968 * FontLoader.C: remove FORMS_H_LOCATION cruft.
15970 * sp_form.[Ch]: remove.
15972 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
15974 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
15977 * src/buffer.C (readInset): ditto.
15979 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15981 * BufferView_pimpl.C (specialChar): new method. Obsoletes
15982 menuSeparator(), endOfSentenceDot(), ldots() and
15983 hyphenationPoint(), which are therefore removed.
15984 (Dispatch): handle LFUN_HYPHENATION_BREAK.
15986 * LyXAction.C (init):
15987 * commandtags.h: add LFUN_HYPHENATION_BREAK.
15989 * paragraph.C (getWord): removed.
15991 * BufferView_pimpl.C (Dispatch): use last word or selection for
15992 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15994 * lyx_main.C (queryUserLyXDir): do not ask before creating
15995 user_dir, except if it has been named explicitely.
15997 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
15999 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
16000 a document of zero size.
16002 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
16004 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
16005 approriately in the c-tor and in require().
16006 (getPackages): output the appropriate LaTeX for natbib support.
16008 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
16009 variables "use_natbib" and "use_numerical_citations" when reading the
16011 (readInset): read the various natbib cite commands.
16012 (validate): white-space change.
16014 * bufferparams.[Ch]: new variables "bool use_natbib" and
16015 "bool use_numerical_citations".
16016 (writeFile): output them in the LyX file.
16018 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16020 * lyxfunc.C (getStatus): add support for all the inset insertion
16023 * text2.C (insertInset):
16024 * paragraph.C (insetAllowed):
16025 * BufferView_pimpl.C (insertInset): update to take in account the
16026 renaming of insertInsetAllowed
16028 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
16030 * text2.C (getInset): new method. returns inset at cursor position.
16032 * BufferView_pimpl.C (Dispatch): changes because of this.
16034 * LyXAction.C (init): rename open-stuff to inset-toggle.
16036 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
16038 * text2.C (toggleInset): renamed from openStuff; use
16041 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
16043 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
16045 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
16047 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
16049 * buffer.C (readLyXformat2): Add filename to the error dialog
16051 2001-07-18 Juergen Vigna <jug@sad.it>
16053 * tabular.C (GetCellNumber): put an assert here instead of the check!
16055 2001-07-17 Juergen Vigna <jug@sad.it>
16057 * BufferView_pimpl.C (toggleSelection): adapted too.
16059 * text.C (selectNextWord): adapted for use with insets.
16060 (selectSelectedWord): ditto
16062 2001-07-17 Juergen Vigna <jug@sad.it>
16064 * sp_spell.C (PSpell): fix initialitation order.
16066 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16068 * paragraph.C: spacing
16070 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
16072 * sp_spell.C: repair language selection for pspell
16074 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
16076 * lyxfunc.h: change more methods to begin with lower char.
16078 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
16080 * buffer.C (parseSingleLyXformat2Token): Generate error insets
16081 for unknown layouts.
16083 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
16085 * buffer.C (readLyXformat2): Generate an error dialog if there are
16088 2001-07-16 Juergen Vigna <jug@sad.it>
16090 * sp_spell.C: always compile ISpell part.
16092 * lyxrc.C: added use_pspell entry and it's handling.
16094 2001-07-13 Juergen Vigna <jug@sad.it>
16096 * sp_spell.C: removed double includes.
16098 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
16100 Consistent use of Lsstream.h:
16101 * Lsstream.h: added using std::stringstream for consistencies sake.
16103 * buffer.C: removed using std::stringstream
16105 * lyxfont.C (stateText):
16106 * paragraph.C (asString):
16107 * text.C (selectNextWord, selectSelectedWord):
16108 * text2.C (setCounter):
16109 * vspace.C (asString, asLatexString):
16110 std::ostringstream -> ostringstream.
16112 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
16114 * LyXAction.C: add LFUN_HELP_ABOUTLYX
16115 * commandtags.h: add LFUN_HELP_ABOUTLYX
16116 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
16118 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
16120 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
16122 * lyx_gui_misc.C: remove spellchecker
16123 * lyxfunc.C: showSpellchecker
16125 * sp_ispell.h: added
16126 * sp_pspell.h: added
16127 * sp_spell.C: added
16128 * sp_form.[Ch]: removed
16129 * spellchecker.[Ch]: removed
16131 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
16133 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
16135 (simpleTeXSpecialChars): Simply print the input character without
16136 any special translation if pass_thru is set.
16138 * layout.h: Added bool pass_thru to layout class for being able to
16139 implement pass through of a paragraph for Literate Programming.
16141 * layout.C: add LT_PASS_THRU to LayoutTags enum.
16142 * layout.C (LyXLayout): set pass_thru to flase in constructor.
16143 * layout.C (Read): add "passthru" to list of layout tags and add
16144 code to set the pass_thru boolean when it is read.
16146 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
16148 * trans_decl.h: remove allowed from KmodInfo
16150 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
16151 remove allowed code
16154 * paragraph_pimpl.C (erase): use boost::prior
16156 * Painter.C (text): use data() instead of c_str() when length is
16158 * WorkArea.C (putClipboard): ditto
16159 * font.h (width): ditto
16161 * BufferView2.C: use it-> instead of (*it). for iterators
16163 * paragraph_pimpl.C: ditto
16164 * paragraph.C: ditto
16165 * minibuffer.C: ditto
16166 * language.C: ditto
16168 * encoding.C: ditto
16169 * counters.C: ditto
16170 * converter.C: ditto
16172 * Variables.C: ditto
16173 * TextCache.C: ditto
16174 * MenuBackend.C: ditto
16175 * LyXAction.C: ditto
16177 * FloatList.C: ditto
16178 * DepTable.C: ditto
16179 * ColorHandler.C (LyXColorHandler): ditto
16181 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16183 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16185 * text2.C (openStuff): reintroduce this method (which had been
16186 nuked in NEW_INSETS frenzy).
16188 * lyxfunc.C (Dispatch): when an action has not been handled, use
16189 its name in the error message, not its number.
16191 * paragraph.C (inInset): change method name to begin with lowercase.
16194 * text2.C: updates because of this.
16196 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16198 * ToolbarDefaults.C (add): add spaces in error message
16200 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
16202 * buffer.C (readLyXformat2): initialize the ert comp. variables.
16203 (readLyXformat2): rename return_par to first_par, use lyxlex's
16204 pushToken and remove the manual push handling.
16205 (parseSingleLyXformat2Token): add another ert comp. variable:
16206 in_tabular, rename return_par to first_par. handle newlines better
16208 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16210 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16212 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
16214 * text2.C (getParFromID): removed
16216 * buffer.C (getParFromID): new method moved form lyxtext.
16217 * BufferView2.C (insertErrors): adjust
16218 (setCursorFromRow): adjust
16219 * BufferView_pimpl.C (restorePosition): adjust
16220 * lyxfunc.C (Dispatch): adjust
16221 * undo_funcs.C (textUndo): adjust
16223 (textHandleUndo): adjust
16224 (textHandleUndo): adjust
16226 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
16228 * buffer.C: up' the LYX_FORMAT
16230 * lyxfont.h: turn NO_LATEX on as default
16232 * buffer.C (insertErtContents): new methods of tex style compability.
16233 (parseSingleLyXformat2Token): use it several places.
16234 * tabular.C (OldFormatRead): and here
16236 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
16238 * text2.C: remove some commented code.
16241 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16242 * trans.C: changes because of the above.
16244 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
16246 * text2.C (setCounter): Fix counters bug with bibliography layout.
16248 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16250 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16251 own member functions
16252 (simpleTeXSpecialChars): ditto
16254 2001-07-06 Juergen Vigna <jug@sad.it>
16256 * a lot of files: changed the access to LyXText::status and the
16257 call of undo-functions.
16259 * undo.[Ch]: added a inset_id to the undo informations.
16261 * undo_funcs.[Ch]: added and moved here all undo functions.
16263 * lyxtext.h: give the status enum a weight, made status_ a private
16264 variable and made accessor functions for it, removed the whole bunch
16265 of undo-functions as they are now in their own file, make some
16266 functions publically available. Added function ownerParagraph with
16269 * paragraph.[Ch]: added "bool same_ids" to the constructor,
16270 made InInset() a const function, added getParFromID() function.
16272 * buffer.[Ch]: added const version for inset_iterator functions,
16273 added getInsetFromID() function.
16275 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16276 changed undo functions for new version.
16278 2001-07-05 Juergen Vigna <jug@sad.it>
16280 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16281 unknow mechanism does not call the proper constructor but only this
16282 one also if I request the other!?
16284 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16286 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16288 * text2.C (LyXText): use initialization lists.
16290 * lyxtext.h (Selection): initialize set_ and mark_
16291 (init): remove method
16293 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
16295 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16297 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16299 * screen.[Ch]: change method names to begin with lowercase
16301 * BufferView_pimpl.C (updateScrollbar): simplify further and
16302 hopefully make it a bit faster.
16304 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16306 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16307 calling directly xforms functions.
16309 * Painter.C (Painter):
16310 * lyx_cb.C (MenuWrite):
16311 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16314 * lyx_gui.C: remove bogus guiruntime extern declaration.
16316 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16318 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16320 (redoDrawingOfParagraph): ditto
16321 (redoParagraphs): ditto
16322 (cutSelection): don't create a object for CutAndPaste use the
16323 static method directly
16324 (pasteSelection): ditto
16326 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16329 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16331 * modifications to some other files because of this.
16333 * Makefile.am (lyx_SOURCES): add XFormsView
16335 * XFormsView.[Ch]: new files
16337 * LyXView.[Ch]: make LyXView a base class for the gui handling for
16338 the main window. Move the gui dependent stuff to XFormsView
16340 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16342 * tabular.C (GetCellInset): update cur_cell also in the row/col
16343 version of this function.
16345 * lyxfunc.C: no need to include figure_form.h here.
16351 * lyxvc.C: no need to include forms.h here.
16353 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16355 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16357 * lyxfunc.C (Dispatch):
16359 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16360 constructor argument.
16362 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16364 * paragraph.C (Paragraph): dont't clear, and just set layout.
16365 (makeSameLayout): use params's copy contructor.
16367 * ParagraphParameters.[Ch] (makeSame): delete method
16369 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
16371 * Variables.[Ch]: fix indentation, rename set to isSet
16373 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16375 * lyxfunc.C (Dispatch): fix typo
16377 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16379 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16382 * bufferlist.C: include assert.h for emergencyWrite().
16384 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16386 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16387 give up at last (bug #425202) !
16389 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
16395 * spellchecker.C: strip spellchecker options and bring up
16396 preferences tab instead
16398 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16400 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16401 the istringstream constructor
16403 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16405 * paragraph.C (getLayout): fix return value
16407 * paragraph.h: do not declare getLayout as inline.
16409 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16411 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16413 * lyxcursor.h (operator<): new func
16414 (operator>): new func
16415 (operator>=): new func
16416 (operator<=): new func
16418 * text.C (changeCase): use selection.start and selection.end
16419 (changeRegionCase): require from to be <= to. Require par to be a
16422 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16424 2001-06-27 Juergen Vigna <jug@sad.it>
16426 * text.C (cursorLeftOneWord): changed to return the cursor and added
16427 overlay with BufferView * parameter which calls this one.
16429 (selectWord): use new getWord function.
16430 (changeCase): renamed from changeWordCase as and extended to work
16431 also on selections.
16433 * lyxtext.h: added enum word_location
16435 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16436 changeCase as this operates now also on selections.
16438 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
16440 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16442 * many files: send debug output to Debug::INFO instead of
16445 * converter.C (View):
16447 (Move): send debug output to Debug::FILES instead of console.
16449 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
16451 * lyxfunc.C (getStatus): use func_status
16453 * func_status.h: new header, describing the results of
16454 LyXFunc::getStatus;
16456 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16459 2001-06-25 The LyX Project <jug@sad.it>
16461 * buffer.C (sgmlOpenTag):
16463 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
16465 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16467 * text2.C: remove some dead code
16469 * tabular.C (GetCellInset): store the last cell checked (gotten)
16471 * tabular.h: add the helper for the speedup
16473 * lyxtext.h: remove some dead code
16475 2001-06-26 The LyX Project <Asger>
16477 * paragraph.C: Change export to LaTeX of alignment to
16478 \begin{center} and family for better roundtrip work with reLyX.
16480 * Tune the math drawing a bit.
16482 2001-06-25 The LyX Project <Asger>
16484 * LColor.C (LColor): New color for math background. New color
16487 2001-06-25 The LyX Project <jug@sad.it>
16489 * lyxfunc.C (MenuNew): remove extra check for .lyx file
16491 * lyxfunc.C (Open):
16492 * bufferlist.C (newFile): do not restrict to files ending with
16495 * BufferView_pimpl.C (MenuInsertLyXFile):
16497 2001-06-24 The LyX Project <jug@sad.it>
16499 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16502 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16504 * lyxtext.h: rename most methods to begin with a small char.
16505 Lots of changes because of this.
16507 * paragraph.C (Paragraph): do not call fitToSize
16508 (erase): call Pimpl::erase
16509 (insertChar): call Pimpl::insertChar
16510 (insertInset): call Pipl::insertInset
16511 (breakParagraph): do not call fitToSize
16512 (breakParagraphConservative): do not call fitToSize
16513 (fitToSize): remove method
16515 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16517 2001-06-24 The LyX Project <Asger>
16519 * Fix Qt compilation^2
16521 2001-06-24 The LyX Project <jug@sad.it>
16523 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16524 depthHook(getDepth()-1).
16527 * ParagraphParameters.h:
16528 * ParameterStruct.h: change type of depth to unsigned int ==
16529 depth_type. Many adaptations to other files before of that.
16531 2001-06-24 The LyX Project <Asger>
16533 * Fix Qt compilation.
16535 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16537 * paragraph.h: renamed several methods to begin with small letter.
16538 several changes to many parts of the code because of this.
16540 2001-06-23 The LyX Project <jug@sad.it>
16542 * text2.C (InsertStringAsLines): renamed from InsertStringA;
16543 rewritten to discard all double spaces when KeepEmpty is off
16544 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16545 to only handle newlines but not fiddle with spaces and friends.
16547 * lyxfunc.C (MenuNew): when doing 'new from template', use
16548 template_path as default directory
16550 2001-06-23 The LyX Project <Asger>
16552 * Clean-up of header file includes all over
16553 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16555 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16557 * paragraph.h: renamed from lyxparagraph.h
16559 2001-06-23 Asger <lyx@violet.home.sad.it>
16561 * Buffer.h: Removed Buffer::resize
16562 * BufferList.h: Removed BufferList::resize
16563 * LyXView.h: Added LyXView::resize. This way, we will only reflow
16564 the document lazily when we change the width, or the font settings.
16566 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16568 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16570 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16572 * buffer.h: remove out of date comment
16574 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16577 * screen.C: fix "theoretical" GC leak
16579 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16581 * LaTeX.C (scanAuxFile):
16582 (deplog): remove trailing \r when reading stream (useful under
16585 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
16587 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16588 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16589 and BufferView::theLockingInset(Inset*), so should use them and not
16590 access bv_->text->the_locking_inset directly.
16592 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16594 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16597 * tex-defs.h: remove old unused file
16599 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
16601 * BufferView_pimpl.C: fix typo, remove minibuffer message
16602 when buffer has loaded
16604 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
16606 * lyxfunc.C (Dispatch): use stringstream
16607 (MenuNew): use stringstream
16608 (Open): use stringstream
16610 * importer.C (Import): use stringstream
16612 * bufferview_funcs.C (CurrentState): use stringstream
16614 * LaTeX.C (run): use stringstream
16616 * BufferView_pimpl.C (savePosition): use stringstream
16617 (restorePosition): use stringstream
16618 (MenuInsertLyXFile): use stringstream
16620 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
16633 * vspace.C: removed // -*- C++ -*- as first line.
16636 * version.h: added // -*- C++ -*- as first line.
16638 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16640 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16642 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16645 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
16647 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16650 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16652 * gettext.C: include LString.h even when --disable-nls is on.
16654 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
16656 * converter.h (Get): changed argument type from int to
16657 FormatList::size_type to avoid unnecessary conversion.
16659 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16662 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16664 * gettext.h: include LString.h even when --disable-nls is on.
16666 2001-06-07 Juergen Vigna <jug@sad.it>
16668 * text.C (BreakAgain): subst spaces with tabs.
16670 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16671 (resizeInsetsLyXText): set force on resizeLyXText.
16673 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16675 * gettext.h (gettext_init):
16676 (locale_init): use a real definition instead of a macro
16678 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16680 * Bufferview_pimpl.C:
16682 * LColor.C: further lcolor tidies
16684 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
16686 * BufferView_pimpl.C (updateScrollbar): simplify.
16688 * BufferView2.C: don't include insets/insetinfo.h, change
16689 prototype for insertInset and call the Pimpl version. let
16690 updateInset call Pimpl version.
16692 * BufferView.h: move inset_slept to BufferView::Pimpl, move
16693 gotoInset to BufferView::Pimpl
16695 2001-06-01 Juergen Vigna <jug@sad.it>
16697 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16698 inside a LockingInset (is the update needed at all?).
16700 2001-05-31 Juergen Vigna <jug@sad.it>
16702 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16703 here not the old one otherwise how should we compare it afterwards
16706 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16711 * FontInfo.C: bring C functions into global namespace when
16714 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16716 * LString.h: make sure config.h has been loaded before LString.h.
16718 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16719 (one for each char read by EatLine!).
16721 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16724 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
16726 * paragraph.C (BreakParagraph): set the inset_owner in the new par
16727 to the same as the par we break from
16729 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
16731 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16733 * MenuBackend.C (expand): also create menu entries for wide
16734 versions of the floats.
16736 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16738 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16740 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16741 frontends/Makefile.am
16747 * tabular.C (getTokenValue): add std::
16749 * tabular-old.C (getTokenValue): add std::
16750 (getTokenValue): ditto
16751 (getTokenValue): ditto
16753 * screen.C (ToggleSelection): adjust
16755 * lyxtext.h: put selection cursors inside a Selection struct.
16757 * lyxfunc.C (moveCursorUpdate): adjust
16759 * lyxfont.C (latexWriteStartChanges): add std::
16761 * lyxfind.C: adjust
16763 * font.h: delete with(char const *, LyXFont const &)
16765 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16767 * FontInfo.C (getFontname): add std::
16769 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16770 (workAreaButtonPress): adjust
16771 (tripleClick): adjust
16773 (moveCursorUpdate): adjust
16776 * BufferView2.C (gotoInset): adjust
16778 2001-05-30 Juergen Vigna <jug@sad.it>
16780 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16781 to check pspell I add this as default as I now have new pspell
16782 libraries and they seem to use this.
16784 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
16786 * text2.C (CutSelection): make the cursor valid before the call to
16789 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16791 * kbsequence.C (parse): de-uglify a bit the parsing code, which
16792 relied on 0 terminated strings and other horrors. Bug found due to
16793 the new assert in lyxstring!
16795 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16798 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16800 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16803 * lyxfunc.C (processKeySym): change method of getting to the
16806 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16807 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16808 * BufferView_pimpl.[Ch]: here as private methods.
16810 2001-05-28 Juergen Vigna <jug@sad.it>
16812 * text.C (SetHeightOfRow): added the update() call again as it is
16813 needed to initialize inset dimensions!
16815 2001-05-16 Juergen Vigna <jug@sad.it>
16817 * text2.C (SetCharFont): Add new function with BufferView * and
16818 bool toggleall parameters for setting insets internal fonts.
16819 (SetFont): Freeze the undo as we may change fonts in Insets and
16820 all this change should be inside only one Undo!
16822 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16823 setting font's in insets as for them we have the SetFont function!
16825 2001-05-15 Juergen Vigna <jug@sad.it>
16827 * text2.C (ClearSelection): to be sure we REALLY don't have any
16830 * tabular.C (TeXCellPreamble): fixed the left border problem for
16833 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
16835 * LaTeX.C (deplog): Make sure that the main .tex file is in the
16838 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16840 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16841 LFUN_BREAKPARAGRAPH.
16843 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16844 help test to "internal only", similar for LFUN_INSERT_URL
16846 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16847 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16848 auto_region_delete and deadkeys.
16850 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
16853 * LColor.C: remove some dead entries, tidy a little
16855 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
16857 * lyxfunc.C (processKeySym): comment the Escape handling, remove
16859 (Dispatch): implement LFUN_ESCAPE
16861 * commandtags.h: add LFUN_ESCAPE
16863 * LyXAction.C (init): add entry for LFUN_ESCAPE
16865 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16866 Remove commented code.
16867 (insertNote): moved here
16868 (open_new_inset): moved here
16870 * BufferView[2].[Ch]: move insertNote and open_new_inset to
16873 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16875 * kbmap.C (findbinding): clean it up and make it work correctly.
16877 * lyx_main.C (init): do not pass argc and argv as parameters
16879 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
16881 * buffer.C: fix path for OS/2 & Win32
16885 * lyx_main.C: Added os:: class.
16887 * os2_defines.h: update
16889 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16891 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16892 better by trying again with reduced state.
16894 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16896 * lyxrc.C (read): print error about invalid key sequence only when
16897 debugging (because not all latinX keysyms are known to some X
16900 * kbsequence.C (getiso): add a few std:: qualifiers
16901 (getiso): comment out extra return statement.
16903 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
16905 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16907 (Dispatch): enhance the accent inset a bit. (not perfect)
16909 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
16911 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
16913 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16915 * bufferlist.C (emergencyWrite): fix assert() call
16917 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
16919 * text.C (InsertChar): Added trivial patch to only send the "you
16920 can not do multiple spaces this way" message once during a
16923 2001-05-08 Baruch Even <baruch@lyx.org>
16925 * Makefile.am: Changed order of libraries to get LyX to link properly
16926 with the gnome frontend.
16928 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16930 * LaTeXFeatures.h: add a std:: qualifier
16932 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
16934 * paragraph.C (String): use stringstream
16936 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
16938 * paragraph.C (writeFile): remove footflag arg
16940 * buffer.C (makeLaTeXFile): use stringstream
16941 (latexParagraphs): remove footnot gurba
16943 * LaTeXFeatures.C (getPackages): use stringstream
16944 (getMacros): likewise
16945 (getTClassPreamble): likewise
16946 (getFloatDefinitions): new method
16948 * paragraph.C (writeFile): reindent
16951 * WorkArea.h: revert the xpos + etc changes.
16953 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16955 * lyxparagraph.[Ch]: add copy constructor, remove Clone
16957 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16958 (pasteSelection): likewise
16959 * text2.C (CreateUndo): likewise
16961 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16963 * minibuffer.C (peek_event): temporarily reduce the functionality
16964 of the minibuffer (to allow args on lfuns)
16966 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
16967 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
16969 * buffer.C (readInset): add compability reading of old float
16970 lists, add reading of new style float list.
16971 (readInset): avoid reevaluation of inscmd.getCmdName()
16972 (getLists): reindent
16974 * MenuBackend.C (MenuItem): implement parsing of
16975 md_floatlistinsert and md_floatinsert.
16976 (expand::LastFiles): move initalizaton of iterators out of loop,
16977 avoid reevaluation.
16978 (expand::Documents): introduce typdedef vector<string> Strings,
16980 (expand::ExportFormats): introduce typedef vector<Format const *>
16981 Formats, and use it.
16982 (expand): implement FloatListInsert and FloatInsert.
16984 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
16985 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
16986 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
16988 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
16990 (Dispatch::LFUN_FLOAT_LIST): implement
16992 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
16994 * LaTeX.C (run): Fix problem with --export code.
16996 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
16998 * BufferView.[Ch] (workarea): removed.
16999 (getClipboard) new method; wrapper for workarea()->getClipboard()
17001 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
17004 * WorkArea.h (width, height, xpos, ypos): These methods all
17005 returned the dimensions of the work_area sub-area of WorkArea,
17006 resulting in a position error if the WorkArea were resized. Now
17007 return the dimensions of the entire WorkArea.
17009 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
17011 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17013 * LaTeX.C (deplog): correct the syntax of regex reg1
17015 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
17017 * undo.C: remove !NEW_INSETS cruft
17019 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
17021 * text2.C: remove !NEW_INSETS cruft
17023 * text.C: remove !NEW_INSETS cruft
17025 * tabular.C: remove !NEW_INSETS cruft
17027 * spellchecker.C: remove !NEW_INSETS cruft
17029 * lyxtext.h: remove !NEW_INSETS cruft
17031 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
17033 * lyxfunc.C: remove !NEW_INSETS cruft
17035 * lyxfind.C: remove !NEW_INSETS cruft
17037 * lyx_cb.C: remove !NEW_INSETS cruft
17039 * figureForm.C: remove !NEW_INSETS cruft
17041 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
17043 * buffer.[Ch]: remove !NEW_INSETS cruft
17045 * ToolbarDefaults.C: remove !NEW_INSETS cruft
17047 * CutAndPaste.C: remove !NEW_INSETS cruft
17049 * BufferView_pimpl.C: remove !NEW_INSETS cruft
17051 * BufferView2.C: remove !NEW_INSETS cruft
17053 * BufferView.h: remove !NEW_INSETS cruft
17055 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17057 * Lsstream.h: include LString.h before the sstream headers to
17058 fix problem with gcc 2.95.3 and lyxstring
17060 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17062 * lyx_main.C: add using directives when needed for C functions
17063 declared in std:: namespace.
17065 2001-04-27 Juergen Vigna <jug@sad.it>
17067 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
17068 (SetHeightOfRow): comment out the update call should not be needed!
17070 2001-04-13 Juergen Vigna <jug@sad.it>
17072 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
17073 (LyXTabular): tried to minimize operator= operations (and realized
17074 hopfully Lars wish).
17076 2001-04-27 Juergen Vigna <jug@sad.it>
17078 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
17080 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
17082 * lyxfunc.C (Dispatch): hack to make listof algorithm work
17084 * buffer.C (readInset): hack to make listof algorithm work
17086 * BufferView_pimpl.C: hack to make listof algorithm work
17088 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
17090 * LyXAction.C: removed all !NEW_INSETS cruft
17091 (init): moved lfun_item in method
17093 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
17095 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
17097 * BufferView2.C (theLockingInset): white space.
17099 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
17101 * minibuffer.C: include <iostream>
17103 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
17105 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
17107 * commandtags.h: add LFUN_TRANSPOSE_CHARS
17109 * text.[Ch] (TransposeChars): new method
17111 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
17113 * call message directly through LyXView instead of through LyXFunc
17114 * BufferView2.C: adjust
17115 * BufferView_pimpl.C: adjust
17116 * FontLoader.C: adjust
17118 * bufferview_funcs.C: adjust
17119 * converter.C: adjust
17120 * figureForm.C: adjust
17121 * importer.C: adjust
17123 * lyx_gui_misc.C: adjust
17124 * lyxfunc.C: adjust
17127 + more files in subdirs
17129 * lyxparagraph.h (size): move up int file
17132 * adjust all uses of Assert to lyx::Assert.
17134 * BufferView2.C (ChangeCitationsIfUnique): adjust for
17135 lyxfunctional in namespace lyx
17136 * layout.C (hasLayout): ditto
17139 (delete_layout): ditto
17140 (NumberOfClass): ditto
17141 * converter.C (GetFormat): ditto
17146 * bufferlist.C (getFileNames): ditto
17147 (emergencyWriteAll): ditto
17150 * MenuBackend.C (hasSubmenu): ditto
17153 * BufferView_pimpl.C (getInsetByCode): ditto
17155 2001-04-18 Juergen Vigna <jug@sad.it>
17157 * vspace.C (asLatexString): fixed the 100% problem.
17159 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17161 * lyxfunc.C (Dispatch):
17163 * minibuffer.h: add a few std:: qualifiers
17165 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
17167 * minibuffer.[Ch]: reimplement so that commands is initiated and
17168 run from lyxfunc, simplified som handling, and made the completion
17169 and history code for complete. wip.
17171 * lyxfunc.C (processKeySym): call message
17172 (miniDispatch): new temporary method
17173 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
17174 (LFUN_MESSAGE): implement
17175 (LFUN_MESSAGE_PUSH): implement
17176 (LFUN_MESSAGE_POP): implement
17177 (initMiniBuffer): the initial/defualt minibuffer message.
17179 * lyxfont.[Ch]: inline some more getters
17181 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17183 * lyx_gui_misc.[Ch] (WriteStatus): remove method
17185 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17186 (AutoSave): use LFUN_MESSAGE
17187 (Reconfigure): ditto
17189 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17191 * figureForm.C: use LFUN_MESSAGE
17193 * converter.C (runLaTeX): use LFUN_MESSAGE
17195 * bufferview_funcs.C: use LFUN_MESSAGE
17197 (changeDepth): ditto
17199 * bufferparams.h: use boost::
17201 * bufferlist.h: inherit privately from noncopyable
17203 * bufferlist.C (loadLyXFile): remove some commented code.
17205 * buffer.C (runChktex): use LFUN_MESSAGE
17207 * ShareContainer.h: inherit privately from noncopyable
17209 * ParagraphParameters.[hC] (depth): inline it.
17211 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17213 (message): new method
17214 (messagePush): ditto
17215 (messagePop): ditto
17216 (show): init minibuffer
17217 (showState): direct call
17219 * LaTeX.[Ch]: inherit privately from noncopyable
17220 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17221 instead of WriteStatus.
17223 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17225 * BufferView_pimpl.C (buffer): don't init minibuffer
17226 (workAreaButtonPress): use LFUN_MESSAGE
17227 (workAreaButtonRelease): ditto
17228 (savePosition): ditto
17229 (restorePosition): ditto
17230 (MenuInsertLyXFile): ditto
17231 (workAreaExpose): don't init minibuffer
17232 (update): remove commented code, simplify
17234 * BufferView2.C (openStuff): use LFUN_MESSAGE
17235 (toggleFloat): ditto
17238 (copyEnvironment): ditto
17239 (pasteEnvironment): ditto
17244 (updateInset): remove some commented code
17246 * lastfiles.h: inherit privately from noncopyable
17249 * lyx_main.h: ditto
17251 * lyxlex_pimpl.h: ditto
17253 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17254 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17255 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17257 * LyXAction.h: inherit privately from noncopyable, add methods
17258 func_begin, func_end, returning iterators to the func map.
17260 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17261 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17262 (func_begin): new method
17263 (func_end): new method
17265 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17267 (copySelection): ditto
17268 (pasteSelection): ditto
17270 * BufferView.C: whitespace change
17271 * BufferView.h: inherit privately from noncopyable
17273 2001-04-16 Allan Rae <rae@lyx.org>
17275 * tabular-old.C (l_getline):
17276 * spellchecker.C (sc_check_word):
17277 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17278 an unrecognised preprocessor directive. So ensure they're wrapped.
17280 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
17282 * src/exporter.C (Export): Give an error message when path to file
17285 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
17287 * LaTeX.C (deplog): Always check that foundfile exists.
17289 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17292 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17294 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
17296 * tabular.[Ch] (getLabelList): implement new method
17298 * minibuffer.h: comment ouf setTiimer
17300 * minibuffer.C (ExecutingCB): constify res
17301 (peek_event): constify s
17302 (Set): constify ntext
17303 (Init): constify nicename
17305 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17307 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17308 (savePosition): use two params to Minibuffer::Set
17309 (restorePosition): ditto
17311 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17313 * lyx_main.C: include language.h
17315 * Makefile.am (lyx_main.o): add language.h
17317 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17323 * CutAndPaste.C: include gettext.h
17325 * lyxfont.h: remove old hack with ON and OFF.
17328 * lyxfont.h: do not include language.h...
17333 * bufferview_funcs.C:
17339 * paragraph.C: ... but do it here instead
17341 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
17343 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17345 * tabular.C: small reformat
17347 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17350 (BreakParagraph): ditto
17351 (SetOnlyLayout): ditto
17354 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17357 * lastfiles.C: removed most using decl, add std:: where needed
17359 * buffer.C: ws changes
17361 * MenuBackend.C (class compare_format): put into anon namespace
17362 (expand): constify label, names, action, action2
17365 * text.C (SingleWidth): constify font
17366 (IsBoundary): constify rtl2
17367 (GetVisibleRow): constify ww
17369 * LaTeX.C (deplog): constify logfile
17371 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17373 (workAreaExpose): constify widthChange, heightChange
17375 * lyxrow.C (par): moved
17378 * lyxrow.h: as inlines here
17380 * lyxfont.h (shape): moved from lyxfont.C
17381 (emph): moved from lyxfont.C
17383 * lyxfont.C (LyXFont): use initialization list for all
17385 (shape): move to lyxfont.h as inline
17386 (emph): move to lyxfont.h as inline
17389 2001-04-04 Juergen Vigna <jug@sad.it>
17391 * vspace.C: had to include stdio.h for use of sscanf
17393 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
17396 * BufferView_pimpl.h: remove xforms cruft. Both classes are
17397 independent of xforms.
17399 2001-04-02 Juergen Vigna <jug@sad.it>
17401 * spellchecker.C: fixed namespace placing!
17403 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
17405 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17406 the LyXParagraph * is 0.
17408 2001-03-29 Juergen Vigna <jug@sad.it>
17410 * vspace.C: added support for %, c%, p%, l%.
17411 (stringFromUnit): added helper function.
17412 (asLatexString): changed to give right results for the %-values.
17414 * buffer.C: convert the widthp in a width%.
17416 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
17418 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17421 * figureForm.[Ch]: stripped the FD_from_figure manipulation
17422 code out of lux_cb.[Ch], ready for its (imminent?) removal.
17424 * lyx_cb.[Ch]: see above.
17426 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17430 * lyx.[Ch]: replaced by figure_form.[Ch].
17434 * lyxfunc.C: changed headers associated with above changes.
17436 2001-03-27 Juergen Vigna <jug@sad.it>
17438 * BufferView_pimpl.C: set the temporary cursor right!
17440 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
17442 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17444 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
17446 * LString.h: removed "using std::getline"!
17448 * BufferView_pimpl.C (Dispatch): changes due to changes in
17449 InsetInclude::Params.
17451 * buffer.C (tag_name): removed redundant break statements as they were
17452 producing lots of warnings with my compiler.
17454 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17456 * LString.h: add "using std::getline" when using the real <string>.
17458 2001-03-23 Jos�Ab�io Matos <jamatos@fep.up.pt>
17460 * buffer.C: removed bitset usage.
17461 PAR_TAG moved to an anonymous name space.
17462 (tag_name): new funtion, also in the anonymous namespace.
17463 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17464 (makeDocBookFile): clean code. Completed transition from string arrays
17466 (SimpleDocBookOnePar): code clean.
17468 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17470 * tabular.C: add some comments.
17472 2001-03-22 Juergen Vigna <jug@sad.it>
17474 * buffer.C (parseSingleLyXformat2Token): redone the minipage
17475 compatibility read a bit and fixed bug with minipage in different
17478 2001-03-21 Jos�Ab�io Matos <jamatos@fep.up.pt>
17480 * buffer.C (pop_tag): removed.
17481 (push_tag): removed.
17482 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17483 array replaced with vector. Added support for CDATA sections.
17484 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17486 (makeDocBookFile): XML conformant declaration of CDATA section,
17487 fixed bug related to <emphasis> in the first paragraph char.
17488 (sgmlOpenTag): exclude empty tags.
17489 (sgmlCloseTag): ditto.
17491 * buffer.h (pop_tag): removed.
17492 (push_tag): removed.
17494 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
17496 * language.h (Languages): added size_type and size().
17498 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17500 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17501 response on compability reading of minipages. One probliem is that
17502 the old usage of minipages was flertydig
17504 * several files here and in subdirs: don't use static at file
17505 scope use anon namespaces instead.
17507 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
17509 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17510 LaTeX output. This is necessary for Literate document
17513 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17515 * buffer.C: insert hfill when needed.
17517 * tabular.C (l_getline): use string::erase, small whitespace change.
17519 * BufferView_pimpl.C: try the anon namespace.
17520 * WorkArea.C: ditto
17522 2001-03-16 Juergen Vigna <jug@sad.it>
17524 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17525 otherwise it won't open options-dialogs.
17527 * buffer.C: honor pextraWidth(p) on converting minipages.
17529 * tabular.C (l_getline): changed the functions to strip trailing \r.
17531 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
17533 * BufferView_pimpl.C:
17534 * minibuffer..C: added "using SigC::slot" declaration.
17536 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17538 * lyxlex_pimpl.h: noncopyable is in namespace boost.
17544 * paragraph.C: ditto
17546 * lyxtext.h: NO_PEXTRA
17548 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17550 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17551 * ParameterStruct.h: ditto
17552 * ParagraphParameters.h: ditto
17553 * lyxparagraph.h: ditto
17555 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17557 * buffer.C: add compability for minipage alignment.
17558 (latexParagraphs): remove unwanted pextra check.
17560 * several files: remove CXX_WORKING_NAMESPACES
17562 * buffer.C (pop_tag): tie is in namespace boost
17564 * BufferView.h: noncopyable is in namespace boost
17566 * lyx_main.h: ditto
17569 * lastfiles.h: ditto
17570 * bufferlist.h: ditto
17571 * ShareContainer.h: ditto
17573 * LyXAction.h: ditto
17576 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17578 * Merging changes from BRANCH_MVC back into HEAD.
17580 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17582 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
17584 * BufferView_pimpl.C: change from intl.C
17588 * Makefile.am: move combox.*
17594 * intl.C: remove dialog (covered by prefs)
17596 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17598 * lyxfunc.C (Dispatch): removed redundant break statement.
17600 2001-03-14 Juergen Vigna <jug@sad.it>
17602 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17604 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17606 * buffer.C: add hack to fix compability reading of minipages.
17608 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
17610 * buffer.C (getLists): Cleanup.
17612 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17614 * lyxfont.C (update): don't honor toggleall on font size.
17616 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
17620 * Makefile.am: moved to frontends/xforms/
17624 * BufferView_pimpl.C: changes for moved mathpanel
17626 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17628 * gettext.h: fix gettext_init() in --disable-nls
17630 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17632 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17634 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
17637 * lyx.h: strip external form
17639 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17641 * BufferView_pimpl.C: add comment, destroySplash()
17643 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17645 * BufferView_pimpl.C:
17649 * lyxfunc.C: use re-worked insetinclude
17651 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17653 * buffer.C: add using std::stringstream.
17655 * lyx_cb.C: readd using std::ios.
17657 * buffer.C: add using std::map.
17659 * BufferView_pimpl.C: add using std::vector.
17661 * ShareContainer.h: add std:: to swap.
17663 * buffer.h: add some typedefs
17664 * buffer.C (getLists): use them
17665 (getLists): renamed from getTocList.
17666 add a counter for the different float types and use it in the
17668 (getLists): use the same counter for the NEW_INSETS and the "non"
17671 * lyx_cb.h: remove unused items, includes, using etc.
17673 * ShareContainer.h: remove some commented code, add more comments
17674 and "documentation".
17676 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17678 * buffer.C (getTocList): make the list also when NEW_INSETS is
17681 * buffer.h: remove TocType
17683 * buffer.C (getTocList): change to return a map<string,
17684 vector<TocItem> >, implement for dynamic number of list.
17686 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17687 * text2.C (PasteSelection): adjust
17688 * CutAndPaste.C (pasteSelection): adjust
17690 * FloatList.C (FloatList): update from the new_insets branch.
17691 * Floating.[Ch]: ditto
17692 * LaTeXFeatures.C: ditto
17694 * lyxlex_pimpl.C: ditto
17696 * paragraph.C (Last): remove when NEW_INSETS is defined.
17698 * other file: changes because of the above.
17700 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17702 * lyxparagraph.h: rename next to next_, previous to previous_,
17703 make them private for NEW_INSETS. Rename Next() to next(),
17704 Previous() to previous().
17706 * other files: changes because of the above.
17708 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
17711 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17714 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17716 * main.C (main): pass lyx_localedir to gettext_init().
17718 * gettext.h: remove locale_init and gettext_init macros
17720 * gettext.C (locale_init): new function
17721 (gettext_init): new function
17723 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17726 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
17728 * Moved credits to frontends:
17729 * credits.[Ch]: removed
17730 * credits_form.[Ch]: removed
17731 * lyx_gui_misc.C: remove credits stuff
17734 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17736 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17738 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17739 unneeded destructor.
17741 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17742 a standalone pointer again.
17744 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17746 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
17752 * ToolbarDefaults.C:
17761 * BufferView_pimpl.C: use new file dialog in GUII
17764 * lyx_cb.C: remove LayoutsCB to Toolbar
17766 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17768 * ShareContainer.h (get): add std:: qualifier
17770 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17772 * ShareContainer.h: define a proper ShareContainer::value_type
17773 type (and use typename to please compaq cxx)
17775 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17777 * lyxparagraph.h: move serveral local vars to
17778 ParameterStruct/ParagraphParameters., use ShareContainer in
17779 FontTable., make vars in FontTable private and add getter and
17782 * paragraph.C: changes because of the above.
17784 * lyxfont.h: remove copy constructor and copy assignment. (the
17785 default ones is ok), move number inside FontBits. move inlines to
17788 * lyxfont.C: add number to initializaton of statics, move several
17789 inlines here. constify several local vars. some whitespace
17790 cleanup. Dont hide outerscope variables.
17792 * Spacing.h: add two new constructors to match the set methods.
17794 * ShareContainer.h: new file, will perhaps be moved to support
17796 * ParameterStruct.h: new file
17798 * ParagraphParameters.h: new file
17800 * ParagraphParameters.C: new file
17802 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17803 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17805 * BufferView_pimpl.C: ParagraphParameter changes.
17806 * buffer.C: Likewise.
17807 * bufferview_funcs.C: Likewise.
17808 * text.C: Likewise.
17809 * text2.C: Likewise.
17811 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17813 * lyxfind.C (LyXReplace): do not redefine default argument in
17815 (IsStringInText): ditto
17816 (SearchForward): ditto
17817 (SearchBackward): ditto
17819 2001-03-06 Juergen Vigna <jug@sad.it>
17821 * lyxfind.C (IsStringInText): put parentes around expressions.
17823 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
17825 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17827 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
17829 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17831 * stl_string_fwd.h: add comment
17833 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17836 * tabular.C: remove unused DocBook methods
17842 killed DO_USE_DEFAULT_LANGUAGE
17844 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17846 * lyx_gui.C: do not include language.h.
17848 * bufferview_funcs.C (ToggleAndShow): do not provide optional
17849 arguments in function implementation.
17851 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17853 * BufferView_pimpl.C: add <ctime>
17855 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17857 * BufferView_pimpl.C: add using std::find_if
17859 2001-02-27 José Matos <jamatos@fep.up.pt>
17861 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17864 2001-02-11 José Matos <jamatos@fep.up.pt>
17866 * buffer.C (makeDocBookFile): command styles now have a parameter as
17867 "title" by default.
17869 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
17871 * layout_forms.[Ch]: removed
17872 * lyx_cb.[Ch]: out character
17873 * lyx_gui.C: out character
17874 * lyx_gui_misc.C: out character
17875 * bufferview_funcs.C: : out character,
17876 added toggleall as parameter in ToggleAndShow
17878 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
17880 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17882 * text2.C (SetCurrentFont): Disable number property at boundary.
17884 2001-02-26 Juergen Vigna <jug@sad.it>
17886 * lyxfunc.C (getStatus): added a string argument override function so
17887 that this is correctly called from LyXFunc::Dispatch if it contains a
17888 do_not_use_argument which is used!
17889 (Dispatch): added check for "custom" export and call appropriate func.
17891 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
17893 * lyxrc.C: Add language_command_local, language_use_babel and
17894 language_global_options.
17896 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
17898 * buffer.C (makeLaTeXFile): Use language_use_babel and
17899 language_global_options.
17901 2001-02-23 Juergen Vigna <jug@sad.it>
17903 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17904 which works with LyXText and putted it inside BufferView. Here now we
17905 only call for that part the BufferView::Dispatch() function.
17907 * BufferView.C (Dispatch): added.
17909 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17910 functions which needs to use a LyXText over from LyXFunc.
17911 (MenuInsertLyXFile): added
17912 (getInsetByCode): added
17913 (moveCursorUpdate): added
17914 (static TEXT): added
17916 2001-02-22 Juergen Vigna <jug@sad.it>
17918 * BufferView_pimpl.C (update): call a status update to see if LyXText
17921 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17923 * vc-backend.C (revert): implement for CVS
17924 (getLog): implement for CVS
17926 2001-02-20 Juergen Vigna <jug@sad.it>
17928 * text2.C (ClearSelection): added BufferView param for inset_owner call
17930 * lyxfunc.C (TEXT): added this function and use it instead of
17931 directly owner->view()-text of getLyXText().
17933 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
17935 * src/layout_forms.C: out preamble
17936 * src/layout_forms.h: out preamble
17937 * src/lyx_cb.C: out preamble
17938 * src/lyx_cb.h: out preamble
17939 * src/lyx_gui.C: out preamble
17940 * src/lyx_gui_misc.C: out preamble
17941 * src/lyxfunc.C: connect with guii preamble
17943 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
17945 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17947 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
17949 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17950 whether to run bibtex.
17952 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
17954 * Makefile.am (lyx_SOURCES): Remove BackStack.h
17956 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
17958 * Makefile.am (lyx_SOURCES): removed bibforms.h
17960 * vspace.h: doxygen
17962 * text.C (GetVisibleRow): make several local vars const
17964 * tabular.C: small cleanup.
17966 * lyxserver.C (callback): use compare instead of strncmp
17968 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
17969 inlines to after class or to paragraph.C
17971 * lyxfont.h: remove friend operator!=
17973 * converter.h: move friend bool operator< to non friend and after
17976 * combox.h: small cleanup
17978 * buffer.h: doxygen, remove unused constructor, move inclas inlies
17979 to inlines after class def.
17981 * buffer.C (pop_tag): use string operations instead of strcmp
17983 * bmtable.c: doxygen, small cleanup
17985 * LaTeX.h: remove friend operator==
17987 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
17999 * BufferView_pimpl.C:
18000 * BufferView.[Ch]: remove cruft
18002 2001-02-14 Juergen Vigna <jug@sad.it>
18004 * lyxfunc.C: removed #if 0 unused code
18006 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
18008 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
18010 * text2.C (SetSelection): added a BufferView * parameter
18012 2001-02-13 Juergen Vigna <jug@sad.it>
18014 * lyxfunc.C (Dispatch): fixed protected blank problem.
18015 * BufferView2.C (protectedBlank): added LyxText * parameter.
18017 * tabular.C (AppendRow): forgot to set row_info of newly added row.
18018 (AppendColumn): same as above for column_info.
18020 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
18021 (moveCursorUpdate): use a LyXText param for support of InsetText.
18023 * BufferView_pimpl.C (doubleClick): added support for InsetText.
18024 (tripleClick): ditto
18026 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
18028 * BufferView_pimpl.C (update): added LyXText param to honor insets.
18030 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
18032 * text2.C (SetSelection): set correct update status if inset_owner
18033 (ToggleFree): ditto
18035 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
18037 * tabular.C: remove some commented code.
18039 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
18041 * BufferView_pimpl.C: call hideSplash()
18043 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
18046 * bibforms.h: remove
18049 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
18050 add LFUN_CHILD_CREATE
18052 * counters.h: fix tiny typo
18057 * lyx.C: move splash to frontends/xforms/
18059 * lyx_gui_misc.C: move Include and Bibform to frontends
18061 * lyxvc.h: clarify comment
18063 * vspace.C: tiny housekeeping
18065 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
18067 * text.C (PrepareToPrint): RTL Fix.
18069 * paragraph.C (GetUChar): New method.
18070 (String): Use GetUChar.
18072 * buffer.C (asciiParagraph): Use GetUChar.
18074 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
18076 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
18078 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
18081 * buffer.C: rename to getLogName(), handle
18082 build log / latex log nicely
18084 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18087 * MenuBackend.h: remove support for reference menuitem type.
18089 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
18091 * BufferView_pimpl.C: housekeeping
18092 * BufferView_pimpl.h:
18097 * minibuffer.h: move Timeout GUI-I
18099 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
18101 * lyxrc.C (read): Update converters data-structures.
18103 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
18105 * LaTeX.h (operator!=): add operator != for Aux_Info
18107 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
18109 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
18111 * LaTeXLog.C: deleted, useful code moved to Buffer
18114 * buffer.C: new function getLatexLogName()
18120 * lyxfunc.C: use frontends for LaTeX and VC logs
18122 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18124 * LaTeX.h: yet another std:: that Allan forgot.
18126 * Variables.C (set): renamed from isset(), because this clashes
18127 with some HP-UX macros (grr).
18129 2001-02-06 Allan Rae <rae@lyx.org>
18131 * LaTeX.h: Another bug fix. Missing std:: this time.
18133 2001-02-04 Allan Rae <rae@lyx.org>
18135 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
18136 floats problem. I've left it commented out because it's not quite
18137 correct. It should also test that the current object is a table or
18138 figure inset. But I haven't gotten around to figuring out how to do
18139 that. I *think* it'll be something like: "table" == inset.type()
18141 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
18144 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
18146 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
18147 all the citation/databases/styles in the auxilary file.
18148 (run): Rerun latex if there was a babel language error.
18150 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
18152 * text.C (Backspace): Preserve the font when changing newline char
18154 (BreakParagraph): If the cursor is before a space, delete the space.
18156 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
18158 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
18160 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
18161 new argument (code).
18162 (ChangeCitationsIfUnique): New method.
18164 * paragraph.C (GetPositionOfInset): Handle bibkey.
18166 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18168 * BufferView_pimpl.h: change type of Position::par_pos to
18169 LyXParagraph::size_type.
18171 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
18173 * BufferView_pimpl.C (savePosition, restorePosition): Write
18174 messages to minibuffer.
18176 2001-01-28 José Matos <jamatos@fep.up.pt>
18178 * buffer.C (makeDocBookFile): adds support for document language.
18179 A silly restriction on the name of LatexCommand types where removed.
18180 Added support for CDATA sections, allows to chars unescaped, used
18181 among others in code, to avoid escape < and >.
18183 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
18185 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18186 saved positions instrad of a stack. Furthermore, a position is
18187 stored using paragraph id/paragraph position.
18189 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18190 Remove LFUN_REF_BACK.
18192 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
18194 * converter.C (dvipdfm_options): New method.
18196 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
18198 * vspace.C (isValidLength): Fix for empty input string.
18200 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18202 * LyXAction.C (init): change description of LFUN_FIGURE to
18205 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18207 * LaTeX.C: add using directive
18209 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
18211 * MenuBackend.C (expand): Fix the sorting of the formats.
18213 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
18215 * lyx_main.C: tiny error message fix
18217 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18219 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18220 calling fl_initialize(). This fixes the problem with ',' as
18221 decimal separator in text files.
18223 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
18225 * trans.C (process): Fix the keymap bug.
18227 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
18229 * LaTeX.C (scanAuxFiles): New method. Provides support for
18230 multiple bibliographies (when using the bibtopic/bibunits pacakges).
18231 (scanLogFile) Scan for "run BibTeX" messages.
18233 * buffer.C (makeLaTeXFile): Do not load the ae package when using
18234 OT1 font encoding. Also, load the aecompl package if the ae
18237 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18239 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18241 * texrow.C (increasePos): turn two error messages into debug
18244 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
18246 * LaTeX.C (scanAux): Handle the \@input macro.
18247 (runBibTeX): Use scanAux().
18249 * language.C (latex_options_): New field.
18251 * LaTeXFeatures.C (getMacros): Add language macros.
18253 * buffer.C (makeLaTeXFile): Small fix.
18255 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18257 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18259 * text2.C: add a using directive.
18261 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
18266 * lyxfunc.C: kill LyXBell.
18268 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
18270 * text.C (IsBoundary): Remove the error message
18272 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18274 * lyxrc.C (setDefaults): Correct initialization value for
18277 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
18279 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18282 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18283 and GotoNextNote().
18285 * src/LyXAction.C: Added reference-next.
18287 * text.C (InsertChar): Use contains instead of strchr.
18289 * lyx_cb.C (MenuInsertLabel): Enable default value code.
18291 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
18293 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18294 alignment commands (when needed).
18296 * text.C (InsertChar): Add ':' to number separator chars.