1 2005-10-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3 * text3.C (dispatch): LFUN_NEXT_INSET_TOGGLE: first try to
4 dispatch LFUN_INSET_TOGGLE to inset at cursor, and then to
5 containg inset. If this does not work, the same command will be
6 sent to other insets down the queue by LCursor::dispatch. (bug 2066)
8 * lyxfunc.C (dispatch): make sure the cursor is correct when doing
11 2005-10-20 Georg Baum <Georg.Baum@post.rwth-aachen.de>
13 * lyxtextclass.C (Read): convert layout file if the format is wrong
14 * lyxtextclass.C (layout2layout): new, needed for the above
16 2005-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
18 * messages.C: do not forget to include <cerrno>.
20 2005-10-12 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
22 * dociterator.h (StableDocIterator): add access to pos().
23 * undo.C (samePar): new method to check if two
24 iterators are in the same paragraph
25 * undo.C (recordUndo): check for samePar instead of cell identity
26 (which includes pos() and is too strict) (fixes bug 2097)
28 2005-10-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
30 * text.C (setCursorFromCoordinates): return a bool telling whether
33 * text3.C (cursorPrevious): update if needed after
34 setCursorFromCoordinates (when dEPM triggered).
36 * text2.C (cursorDown, cursorUp): make sure to reset the anchor
37 (otherwise the anchor may be completely wrong and make dEPM assert).
39 2005-10-12 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
41 * buffer.C: version upgrade to 245.
42 * bufferparams.C: remove \quotes_times (bug 2090).
43 * text3.C (doDispatch): LFUN_QUOTE_INSERT has to output double
44 quotation marks as default.
46 2005-10-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
48 * CutAndPaste.C (nrOfParagraphs): remove (unused)
49 * CutAndPaste.C (cutSelection): Remove debug message
50 * CutAndPaste.C (cutSelection): Use the real cursor in mathed, record
51 undo information and only copy if this is a real cut
52 * CutAndPaste.C (pasteSelection): remove superflous cur.resetAnchor()
54 * CutAndPaste.C (pasteSelection): remove now superflous mathed warning
56 * CutAndPaste.C (eraseSelection): prevent cursor corruption
57 * CutAndPaste.C (grabAndEraseSelection, selDel): remove now
58 superflous cur.selection() setting
59 * CutAndPaste.[Ch] (grabSelection): take a const cursor
60 * cursor.C (selectionAsString): implement mathed case ((bug 2059)
62 2005-10-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
64 * text3.C (mathDispatch, dispatch): Dont' record undo steps that don't
67 2005-10-11 Martin Vermeer <martin.vermeer@hut.fi>
69 * BufferView_pimpl.C: comment layout change
71 2005-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
75 * lyxfunc.C: reimplement LFUN_INSERT_CITATION, which is needed
76 by bibliography managers (bug 2071).
78 2005-10-07 Martin Vermeer <martin.vermeer@hut.fi>
80 * BufferView_pimpl.C (update): choose arguments to update call so
81 that single-par update works most times
82 * text3.C (dispatch): carefully tune updating separately for
83 whole-screen and current-paragraph
84 * rowpainter.C (paintText): 1) replace painting by caching for
85 the two extra paragraphs, because we can;
86 2) suppress greying out of areas below/above drawn area in case of
88 * lyxfunc.C (dispatch): remove superfluous update
89 * LyXAction.[Ch]: introduce SingleParUpdate
91 2005-10-05 Angus Leeming <leeming@lyx.org>
93 * BufferView_pimpl.C (loadLyXFile): ensure that a pointer is
94 always initialised before use.
96 * text.C (setHeightOfRow): squash warning about comparison
97 of signed and unsigned types.
99 2005-10-03 Martin Vermeer <martin.vermeer@hut.fi>
101 * text.C (cursorX): two fixes involving RtL text drawing
103 2005-10-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
105 * cursor.C (erase): fix 'clever' UI hack. It was activated for all
106 items, not only large ones (part of bug 2057)
108 2005-10-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
110 * text3.C (dispatch): when invoking LFUN_MATH_MACRO with no type
111 argument, use "newcommand".
113 2005-09-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
115 * cursor.C (setSelection): do not open collapsable insets;
116 the insets do by themselves now (autoopen).
118 2005-09-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
120 * buffer.C: format is up to 244.
122 2005-09-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
124 * text.C (redoParagraph): fix calcultation of inset width wrt
125 leftMargin (bug 1957).
127 * text3.C (dispatch): leave inset to the right when hitting ESC
130 2005-09-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
135 * messages.C: include <boost/current_function.hpp>
137 2005-09-12 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
139 * lyxfunc.C (sendDispatchMessage): do not update menubar/toolbar
140 when command is internal. (bug 1941)
142 2005-09-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
144 * text2.C (cursorRight): do not honor boundary when at the end of
145 a paragraph. (bug 2010 again)
147 2005-09-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
149 * cursor.C (paste): do nothing if `data' is empty. (bug 2033)
151 2005-09-19 Martin Vermeer <martin.vermeer@hut.fi>
153 * rowpainter.C (paintText): fix RtL space width display bug (2029)
155 2005-09-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
157 * text2.C (setCursor): remove the unused 'boundary' parameter for
158 the CursorSlice version; adapt the LCursor version.
161 * paragraph_pimpl.C (markErased):
162 * cursor.C (bruteFind2, bruteFond3): fix warnings.
164 2005-09-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
166 * rowpainter.C (paintFirst): use a 'labeladdon' for TOP_* labels,
167 as is already done for "chapter".
169 2005-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
171 * lyxfunc.C (dispatch): LFUN_TEXTCLASS_APPLY: actually set the
172 textclass; do not record undo if nothing is changed.
174 2005-09-16 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
176 * text3.C (dispatch): recordUndo in LFUN_PASTESELECTION (#2011).
178 2005-09-14 Michael Gerz <michael.gerz@teststep.org>
180 * lyxfunc.C: update display after LFUN_ALL_INSETS_TOGGLE
182 2005-09-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
184 * BufferView_pimpl.C (setBuffer): when one wants to set the layout
185 combox, it is necessary to search for the topmost paragraph in the
186 cursor stack (bug 1926)
188 2005-09-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
190 * text2.C (cursorEnd, cursorRight): do not set boundary to true at
191 end of paragraph. (bug 2010)
193 2005-09-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
195 * text.C (leftMargin): check for inInset == 0
197 2005-09-10 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
199 * text.C (leftMargin): test for insetbase's new neverIndent()
200 bool instead of listing each and every inset that does not
201 wish par indendation.
203 2005-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
205 * buffer_funcs.C (setCounter): put the code to compute enum label
206 here (where it belongs).
208 * counters.C (enumLabel): move code to buffer_funcs.C.
210 2005-09-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
212 * outputparams.[Ch]: store local_font instead of local_language
213 * paragraph.C (simpleTeXOnePar): adapt to the change above
215 2005-09-08 Martin Vermeer <martin.vermeer@hut.fi>
218 * counters.[Ch]: clean up special code for Hebrew.
220 2005-09-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
222 * lyxfunc.C (lookupChange): fix code when cursor depth is greater
225 2005-09-08 Angus Leeming <leeming@lyx.org>
228 * lyxrc.C: correct grammar describing invocation of the
231 2005-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
233 * text.C (read): remove unused variable.
234 (readParToken): remove static Change variable (never good in
235 recursive settings...); add it as a parameter instead.
237 * paragraph_pimpl.C (acceptChange): make debug info conditional.
239 * metricsinfo.C (PainterInfo): add new member erased_.
241 * rowpainter.C (RowPainter): add erased_ member, initialized from
243 (paintInset): pass erased_ to Inset::draw.
245 * lyxfunc.C (lookupChange): new function. Tells whether change
246 tracking is disabled at a given postion.
247 (getStatus): disable some actions when in deleted text with change
250 2005-08-03 John Levon <levon@movementarian.org>
252 * tabular.C (appendColumn, setMultiColumn): adapt to change to
255 * paragraph_pimpl.C (markErased): add bool argument and handle it.
256 Also make sure to mark insets recursively.
257 (rejectChange, erase): be recursive
259 * paragraph.C (markErased): add bool argument.
260 2005-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
262 * lyxfind.C (findNextChange): tiny cleanup.
264 * BufferView_pimpl.C (trackChanges): avoid crash when stopping
265 change tracking with the cursor in an inset; make sure the first
266 change is not skipped.
268 2005-09-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
270 * CutAndPaste.[Ch]: new methods dirtyTabularStack and
271 tabularStackDirty to work around bug 1919 (tabular needs
272 to know whether its own cell paste buffer or the one of
274 * CutAndPaste.C: mark tabular_stack_ clean after copy.
276 2005-08-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
278 * text2.C (cursorEnd): check for empty text (fixes bug 1998)
280 2005-08-19 Lars Gullik Bjønnes <larsbj@gullik.net>
282 * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
283 use old deleteion algorithm when changetracking is on.
285 2005-08-18 Martin Vermeer <martin.vermeer@hut.fi>
287 * messages.C (get): add debug output.
289 2005-08-02 Martin Vermeer <martin.vermeer@hut.fi>
291 * text.C (cursorX): fix bug 1965: cursor movement at
292 line end broken in RtL.
293 (drawSelection): fix bug 1970: drawing of single-line
294 selection broken for RtL.
296 2005-07-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
300 * dociterator.h (clear, push_back, pop_back): change from
303 * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
304 and changed to just return the value of the item depth; take a
305 ParIterator as argument; take the itemdepth at outer nesting level
306 in account if necessary; cleanup and comment the code.
307 (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
308 and changed to just return true if reset is needed; take a
309 ParIterator as argument; cleanup and comment the code.
310 (setCounter): adapt to above changes.
312 2005-07-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
314 * text3.C (dispatch): make debug message optional
316 2005-08-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
318 * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
321 2005-08-02 Martin Vermeer <martin.vermeer@hut.fi>
323 * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
325 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
327 * text.C (insertChar):
328 * text2.C (deleteEmptyParagraphMechanism): take care whether
329 a blank has been deleted (in change tracking mode) (bug 1254).
331 2005-07-20 John Levon <levon@movementarian.org>
333 * text2.C (insertStringAsLines): remove old dubious code,
336 2005-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
338 * MenuBackend.C (expandToc): use Floating::listName() as title of
341 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
343 * toc.[Ch]: Do not use translatable strings (bug 1870).
345 2005-07-20 John Levon <levon@movementarian.org>
347 * tabular.C: fix 1748 - setting multicolumn adds
348 left line to the first cell
350 2005-07-19 Lars Gullik Bjønnes <larsbj@lyx.org>
353 * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
356 2005-07-18 Lars Gullik Bjønnes <larsbj@lyx.org>
358 * messages.C: supress some lyxerr messages
360 2005-07-18 Juergen Vigna <jug@lyx.org>
362 * text.C (drawSelection): honor boundary when asking for cursorX.
364 2005-07-17 José Matos <jamatos@fc.up.pt>
366 * tabular.C (recalculateMulticolumns): fix handling of one column
369 2005-07-17 Juergen Vigna <jug@lyx.org>
371 * text.C (Delete, backspace): fixed so that paragraph with the
372 same layout can be merged by Delete/Backspace.
374 2005-07-17 Michael Schmitt <michael.schmitt@teststep.org>
376 * text.C (readParToken): fix spelling.
378 2005-07-17 Martin Vermeer <martin.vermeer@hut.fi>
380 * text2.C: fix counter update for DEPM problem reported by
383 2005-07-17 Juergen Vigna <jug@lyx.org>
385 * BufferView_pimpl.C (setBuffer): save/restore the
386 cursor/selection when switching buffers
389 * buffer.C (saveCursor): add saveDocumentIterators to save the
390 cursor when switching buffer.
392 2005-07-17 Michael Schmitt <michqel.schmitt@teststep.org>
395 * buffer.C: clarify message
397 2005-07-17 Lars Gullik Bjønnes <larsbj@lyx.org>
399 * dociterator.C (DocIterator): fix initialization order
401 2005-07-17 Juergen Vigna <jug@lyx.org>
403 * text2.C (cursorHome):
404 * text.C (drawSelection, cursorX):
405 * dociterator.C (textRow): add boundary to getRow() call
407 * paragraph.C (getRow): implementation of below
409 * paragraph.h: add parameter boundary for getRow() function
411 2005-07-17 José Matos <jamatos@fc.up.pt>
415 * tex-strings.[Ch]: new file format, remove support for a4.sty,
416 a4wide.sty and a4widemargins.
418 2005-07-17 Juergen Vigna <jug@lyx.org>
420 * text2.C (cursorLeft): fix one of error
422 2005-07-17 Juergen Vigna <jug@lyx.org>
424 * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
426 more fixes for boundary handling
428 * text3.C (dispatch): don't reset cursor if boundary has changed
431 2005-07-16 Juergen Vigna <jug@lyx.org>
433 * text2.C (getColumnNearX): hopefully got it right now,
434 check if we are on column 0 for special case.
436 2005-07-16 Juergen Vigna <jug@lyx.org>
438 * text2.C (getColumnNearX): handle special case Newline Inset
440 * text.C (singleWidth): Just remove bogus check
442 2005-07-16 Michael Schmitt <michael.schmitt@teststep.org>
444 * funcrequest.C (split): avoid reading uninitialized char c
446 2005-07-16 José Matos <jamatos@fc.up.pt>
452 * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
453 single papersize variable.
455 2005-07-16 Juergen Vigna <jug@lyx.org>
457 * text3.C (dispatch): honor boundary when checking if a cursor
458 movement has been done
460 * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown)
461 (setCursor, setCursorIntern): fix cursor movement with boundary
463 2005-07-16 Juergen Vigna <jug@lyx.org>
465 * text.C (currentState): output the actual Boundary
467 2005-07-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
469 * factory.C (createInset): fix bad logic for tabular creation
471 2005-07-16 Lars Gullik Bjønnes <larsbj@lyx.org>
473 * lyx_main.C (init): change some reLyX reference to tex2lyx
475 2005-07-16 Juergen Vigna <jug@lyx.org>
477 * dociterator.C (DocIterator): initialize boundary
479 2005-07-16 Juergen Vigna <jug@lyx.org>
481 * text2.C (getColumnNearX): Consider rows without trailing blank.
483 2005-07-16 André Pönitz <poenitz@gmx.net>
485 * lyxfont.h: Change order of declarations to give the compiler
486 a better chance to inline things
488 * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
489 questions on unsaved docs for better scritability
491 2005-07-16 André Pönitz <poenitz@gmx.net>
493 * paragraph.h (getChar): remove asserts as the same kind of security
494 can be achieved by using a suitable standard library implementation
495 and the function was in the critical path (25.9% in profiler)
497 2005-07-16 Juergen Vigna <jug@lyx.org>
499 * cursor.C (bruteFind2):
500 * bufferview_funcs.C (coordOffset):
501 * text.C (cursorX,cursorY): Handle cursor position after last char
502 in row before a inset which uses a whole row.
504 2005-07-15 José Matos <jamatos@lyx.org>
506 * output_plaintext.[Ch] (writeFileAscii): control reference title
508 (asciiParagraph): noparbreak was already deal and was incorrectly
511 2005-07-15 Juergen Vigna <jug@lyx.org>
513 * lyxfunc.C (dispatch): save and restore the cursor after a
516 2005-07-15 Lars Gullik Bjønnes <lgb@tandberg.net>
518 * text.C (backspace): bug 806 for empty keepempty paragraphs we
519 change the layout to default before letting DEPM do its thing.
521 * paragraph_funcs.C (breakParagraph): dont reset the layout on
524 * text.C (setCursorFromCoordinates): add a debug statement
526 * text2.C (getColumnNearX): bug 1825 make sure that we don't
527 return a pos that is not on the row
529 * output_latex.C (TeXDeeper): get rid of potential dereferencing
530 of past the end iterator
532 2005-07-14 André Pönitz <poenitz@gmx.net>
534 * undo.C (recordUndoFullBuffer): implement undo for
537 2005-07-14 André Pönitz <poenitz@gmx.net>
539 * cursor.C (setSelection): open insets when selection is set there
540 to avoid crashs with cold coord cache
542 2005-07-14 André Pönitz <poenitz@gmx.net>
544 * trans_mgr.C (insert): move cursor to the right after inserting
547 2005-07-14 Lars Gullik Bjønnes <larsbj@lyx.org>
549 * BufferView_pimpl.C (update): dampen some of the debug blabbering
550 * factory.C (readInset): ditto
551 * text.C, text2.C: ditto
553 2005-06-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
555 * buffer.C: format incremented to 242. There is no file format per
556 se, but the "frenchb" language has been removed from lib/language
557 and has to be translated to "french" by lyx2lyx.
559 2005-07-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
561 * cursor_slice.h, dociterator.h: add some documentation
562 * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
564 2005-07-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
566 * text.C (leftMargin): do not add identation to display() style
567 insets, because they are always centered (bug 1293).
569 2005-07-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
571 * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
572 formatted_time methods in support/lyxtime.
574 2005-07-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
576 * toc.[Ch]: new method getGuiName, which is used by the frontends
577 to set the toc combo (fixes bug 1870). Make TOC string translatable.
579 2005-07-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
581 * dociterator.[Ch]: implement operator==(StableDocIterator const &,
582 StableDocIterator const &)
583 * undo.C (recordUndo): use the above instead of cell.size() comparison
584 (fixes bug 1808; instructed by Andr�.
586 2005-06-29 Martin Vermeer <martin.vermeer@hut.fi>
589 * dociterator.h: Fix the assert when copying rows/cols in math
591 2005-06-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
593 * BufferView_pimpl.C:
595 * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
597 * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
598 (findInset): new functions, refactored from goto Inset that return
599 the position of a certain inset without setting the buffer's cursor
601 (gotoInset): rewrite to call findInset and then set the cursor
604 2005-06-16 Angus Leeming <leeming@lyx.org>
606 * lyxrc.C (output, read): wrap all input and output of paths with
607 calls to os::internal_path and os::external_path, respectively.
608 (output): wrap bind_file inside quotes.
610 * format.C (view): enable the viewer to use the '$$s' placeholder.
612 2005-06-16 Georg Baum <Georg.Baum@post.rwth-aachen.de>
614 * LColor.[Ch] (getFromLaTeXName): new
616 2005-06-16 Martin Vermeer <martin.vermeer@hut.fi>
618 * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
620 2005-06-14 Angus Leeming <leeming@lyx.org>
622 * lyx_main.C (init): ensure that the LyX binary dir is the first
623 element in the PATH on non-POSIX builds.
625 2005-06-11 Georg Baum <Georg.Baum@post.rwth-aachen.de>
627 * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
629 2005-06-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
631 * rowpainter.C (paintInset, paintHebrewComposeChar)
632 (paintArabicComposeChar, paintChars): add a LyXFont argument.
633 (paintChars): use getFontSpan to reduce calls to getFont to a
634 minimum; use Paragraph::lookupChange instead of isXXXText.
635 (paintForeignMark): rename LyXFont argument.
636 (paintFromPos): pass a LyXFont object to the various paintXXX
639 * FontIterator.C (FontIterator, operator++): use
640 Paragraph::getFontSpan
642 * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
643 version that returns the font span as a pair.
645 2005-06-09 Angus Leeming <leeming@lyx.org>
647 * converter.C (convert): Don't forget "outfile = real_outfile" as
648 the final step in a conversion where the input and output file names
649 are the same. Otherwise, future conversion steps won't work...
651 2005-06-09 Angus Leeming <leeming@lyx.org>
653 * lyxsocket.C: remove stub code as it isn't needed by
654 MinGW/MinSYS anyway. Let's see if the MSVC people scream...
656 2005-06-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
658 * lyx_main.C (parse_execute): Fix last fix: is_gui = false
659 effectively disabled -x
661 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
663 * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
664 when it actually makes sense.
666 2005-06-06 Martin Vermeer <martin.vermeer@hut.fi>
668 * BufferView_pimpl.C: revert to showCursor in connection with
669 Lars's front-end stack
671 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
673 * text.C (redoParagraph): move cursor right after a bibitem
676 * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
678 2005-06-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
680 * buffer_funcs.C (bufferErrors): fix computation of the end of an
683 2005-05-31 Martin Vermeer <martin.vermeer@hut.fi>
685 * BufferView.[Ch] (update):
686 * BufferView_pimpl.[Ch] (update, metrics):
687 * dimension.h (operator==):
688 * lyxfunc.C (dispatch):
689 * metricsinfo.h (ViewMetricsInfo):
690 * rowpainter.C (paintText):
692 * text.C (redoParagraph):
693 * text3.C (dispatch): Make LyX only repaint current paragraph in
694 case of character insert --> speedup. Also fix cursor draw
697 2005-05-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
699 * bufferview_funcs.C (gotoInset): fix the wrap-around code to
700 avoid a crash (bug 1891)
702 2005-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
706 * text2.C (getStringToIndex): constify cur argument.
708 * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
709 argument has been given
710 (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
711 try to invoke LFUN_INSET_APPLY).
713 * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
714 if no inset was created by doInsertInset
715 (doInsertInset): return true if an inset has been inserted.
717 2005-05-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
719 * vspace.C (asGUIName): new method. A version of the space
720 suitable for showing on screen.
722 2005-05-20 Michael Schmitt <michael.schmitt@teststep.org>
725 * lyxrc.C: rename "ASCII" to "Plain Text"
727 2005-05-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
729 * buffer_funcs.C (expandLabel): take a Buffer as argument;
730 translate the labelstring.
731 (setCounter): translate labelstring as needed.
733 * output_docbook.C (makeCommand): fix expandLabel invokation
735 2005-05-14 Michael Schmitt <michael.schmitt@teststep.org>
737 * BufferView.C: fix dialog title
739 2005-05-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
741 * lyx_main.C (priv_exec): fix logic error with help from Angus
742 * lyx_main.C (parse_execute): set is_gui = false and remove now
743 obsolete comment about a segfault
745 2005-05-18 Angus Leeming <leeming@lyx.org>
747 * buffer.C (readFile): Quote all file names passed to lyx2lyx.
749 2005-05-12 Martin Vermeer <martin.vermeer@hut.fi>
751 * tabular.[hC]: added setCellInset to fix tabular paste.
753 2005-05-11 Lars Gullik Bjønnes <larsbj@gullik.net>
755 * buffer.C (save): check if destination is writable before trying
758 2005-05-11 Martin Vermeer <martin.vermeer@hut.fi>
760 * BufferView_pimpl.C (update): fix processEvents -caused update
763 2005-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
765 * buffer_funcs.C (setCounter): fix test for numbering of
768 * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
769 depth correctly; use optional argument when it exists
771 * lyxtextclass.C: remove unused MaxCounterTags enum
772 (Read): compute min_toclevel_ and max_toclevel_ after reading class.
773 (max_toclevel, min_toclevel): new methods.
775 * MenuBackend.C (expandToc2): fix case where depth is smaller than
776 the smallest depth in toc.
778 * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
779 layouts that should not appear in a table of contents.
781 2005-05-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
783 * cursor.h (undispatched, noUpdate): add comments from Andr�
784 2005-05-07 Michael Schmitt <michael.schmitt@teststep.org>
788 * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
790 2005-05-07 André Pönitz <poenitz@gmx.net>
792 * cursor.[Ch] (leaveInset): new function
794 2005-05-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
796 * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
798 2005-05-04 Angus Leeming <leeming@lyx.org>
800 * lyxfunc.C (getStatus): disable the spell checker dialog if
801 none of USE_[AIP]SPELL are defined.
803 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
805 * tabular.C (setWidthOfCell): remove obsolete comment
807 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
809 * paragraph.C (bibitem):
810 * buffer_funcs.C (setCounter):
811 * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
813 2005-05-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
815 * text3.C (getStatus): immediately return after setOnOff
817 * rowpainter.C: fix drawing of appendix start
819 2005-05-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
821 * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
822 SwitchBetweenClasses and remove the unused return value.
823 Handle character styles, too
825 2005-05-03 Martin Vermeer <martin.vermeer@hut.fi>
827 * factory.C (createInset): handle undefined character styles
829 2005-05-02 Angus Leeming <leeming@lyx.org>
831 * buffer.C: protect the #include of utime.h with a preprocessor
834 2005-05-02 Angus Leeming <leeming@lyx.org>
836 * lyx_cb.C: artificially define fork() on Windows as a no-op failing
837 function so that auto-saving works, albeit in a blocking manner.
839 * Makefile.am: make compilation of the client sub directory, of
840 aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
841 on conditionals set at configure time.
843 * SpellBase.[Ch]: no longer an abstract base class. Instead,
844 it can be compiled in its own right but has no-op functionality.
846 * aspell.C, pspell.C: remove preprocessor guards. The files should
847 be compiled only if the necessary functionality exists.
849 * lyxserver.C, lyxsocket.C: disable on Windows.
851 2005-05-01 Martin Vermeer <martin.vermeer@hut.fi>
853 * text.C (leftMargin): Fix the parindent use bug (1764)
856 2005-04-28 Michael Schmitt <michael.schmitt@teststep.org>
858 * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
861 2005-04-25 Angus Leeming <leeming@lyx.org>
869 include <config.h> in .C files, not .h ones.
871 protect headers inside preprocessor guards.
873 2005-04-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
875 * FuncStatus.h (StatusCodes): document
877 2005-04-21 André Pönitz <poenitz@gmx.net>
879 * FuncStatus.h (enabled, onoff): document
881 2005-04-19 Angus Leeming <leeming@lyx.org>
883 * BufferView_pimpl.C (cursorToggle): no longer test whether
884 any child processes have been reaped before calling
885 handleCompletedProcesses().
887 2005-04-19 Martin Vermeer <martin.vermeer@hut.fi>
889 * text3.C (dispatch): fix, finally fix, the language problem in
890 new lyxtexts, without disabling on-the-fly font changes (Helge's
893 2005-04-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
895 * text3.C (dispatch): set cursor on double/triple click events
898 2005-04-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
900 * lyxfunc.C (actOnUpdatedPrefs): avoid warning
901 (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
903 * rowpainter.C (paintFirst): simplify the code a little bit. In
904 particular, remove the test for secnumdepth.
905 * text.C (setHeightOfRow): only allocate space for chapter number
906 when updateCounters provided an actual label, instead of looking
907 at secnumdepth directly.
909 * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
911 * buffer_funcs.C (setCounter): only number LABEL_COUNTER
912 paragraphs when secnumdepth is large enough or, for environments,
913 when they are not the first in a sequence.
915 2005-04-17 Angus Leeming <leeming@lyx.org>
917 * buffer.C (makeLaTeXFile): replace code to manipulate a path
918 containing space and '~' characters with a call to latex_path().
920 2005-04-17 Angus Leeming <leeming@lyx.org>
922 * converter.C (convert): protect all args of convertDefault.sh
925 2005-04-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
927 * text3.C (dispatch): change the layout to "Caption" after inserting
930 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
932 * text3.C (dispatch): fix language problem in newly created
933 textinsets (and main text) in non-english docs
935 2005-04-13 Georg Baum <Georg.Baum@post.rwth-aachen.de>
937 * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
938 * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
939 * text3.C (getStatus): disable LFUN_INSET_MODIFY
941 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
946 * rowpainter.C (getFont): Fix metrics bug introduced by inset
949 2005-04-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
951 * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
952 output of \item arguments without trailing text.
954 2005-04-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
956 * FontIterator.C (operator*): avoid a copy of the font.
958 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
960 * rowpainter.C (getFont): fix language bug from previous fix
962 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
964 * rowpainter.C (RowPainter, getFont): fix font inside inset
967 2005-04-06 Martin Vermeer <martin.vermeer@hut.fi>
969 * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
970 preventing inserted font, deco, delim insets jumping to start of
973 2005-03-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
975 * lyxfunc.C (dispatch): translate message before sending it to the
978 2005-03-29 Angus Leeming <leeming@lyx.org>
980 * lyx_main.C (priv_exec): call os::internal_path on each file passed
981 to LyX on the command line.
983 2005-03-25 Stephan Witt <stephan.witt@beusen.de>
985 * vc-backend.C: use QuoteName to protect file names wherever
988 2005-03-27 Martin Vermeer <martin.vermeer@hut.fi>
991 * BranchList.h: fix bugs 1844,1845: document settings don't
994 2005-03-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
996 * lyxrc.C (setDefaults, read, output, getDescription): add support
997 for tex_allows_spaces.
999 * exporter.C (Export): allows files in directory containing spaces
1000 if tex_allows_spaces is true.
1002 * buffer.C (makeLaTeXFile): if the document path contains spaces,
1003 output it in double quotes.
1005 2005-03-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1007 * rowpainter.C: use default text height for drawing change tracker
1010 2005-03-21 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1012 * lyx_main.C: fix binding of tabulator key (especially S-Tab).
1014 2005-03-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1016 * lyx_main.C (queryUserLyXDir): fix logic when LyX support
1017 directory is missing.
1019 2005-03-11 Martin Vermeer <martin.vermeer@hut.fi>
1021 * text2.C: fixed the fix, extended to other case.
1023 2005-03-08 Martin Vermeer <martin.vermeer@hut.fi>
1025 * text2.C: fix for cursor up/down stuck in math [bug 1792]
1027 2005-03-07 Alfredo Braunstein <abraunst@lyx.org>
1029 * text2.C (cursorUp): get rid of a crash
1030 * text.C (x2pos): add an assert
1032 2005-03-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1034 * lyxfunc.C (getStatus): fix warning when assertions are disabled
1038 * dociterator.C: include <boost/current_function.hpp>, which is
1039 needed when assertions are disabled.
1041 2005-03-05 Johnathan Burchill <jkerrb@users.sourceforge.net>
1043 * text2.C: fix for stuck cursor when traversing two
1044 consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
1046 2005-02-25 Andreas Vox <avox@arcor.de>
1048 * output_docbook.C (makeParagraph): suppress trailing newline
1049 after a run of paragraphs
1051 2005-02-28 Johnathan Burchill <jkerrb@users.sourceforge.net>
1053 * paragraph.C: fix for confused change tracker when pasting
1054 text that begins with a lineseparator. [bug 1827]
1055 (setChange(0, Change::INSERTED);)
1057 * paragraph_funcs.C: fix for lost changes on triple-paste
1058 in change tracking mode [bug 1827] (par.setChange()).
1060 2005-02-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1062 * text2.C (updateCounters, setCounter, expandLabel): move to
1065 * buffer_funcs.C (updateCounters): turn into a free standing
1066 function and add a buffer parameter. Remove dead code for tracking
1068 (setCounter): change into a free-standing function which gets a
1069 dociterator as argument. Use this iterator to fix captions in a
1070 simple way. When no float is found above the caption, use the
1071 labelstring of the caption layout as default.
1073 * text.C (breakParagraph, backspace):
1074 * text2.C (init, setLayout, changeDepth):
1075 * text3.C (dispatch):
1076 * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
1079 * dociterator.C (forwardPar): make it much faster by calling
1080 forwardPos() only when really necessary.
1082 * output_docbook.C (makeCommand): adapt to expandLabel move.
1084 * cursor.C: remove unused variable
1086 2005-02-24 Johnathan Burchill <jkerrb@users.sourceforge.net>
1088 * paragraph_funcs.C: fix crash when pasting insets in change
1089 tracking mode [bug 1277] (honour change type in moveItem).
1091 2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1093 * LaTeX.C (scanLogFile): recognize pdfTeX warnings
1095 2005-02-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1097 * BufferView.C (setCursor): change to use a DocIterator.
1098 (gotoLabel): use BufferView::setCursor (other part of bug 781).
1099 (putSelectionAt): adapt to BufferView::setCursor change.
1101 * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
1102 moved here from LyXText and rewritten to use proper cursor
1103 methods. Fixes bug 1787, 616 and 835.
1105 * BufferView_pimpl.C (restorePosition): set the cursor correctly
1106 when inside an inset (part of bug 781).
1107 (dispatch): adapt to change of BufferView::setCursor.
1108 (getStatus, dispatch): handle LFUN_GOTOERROR,
1109 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1111 * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
1112 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1113 * text3.C (gotoNextInset, gotoInset): removed.
1115 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1117 * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
1119 2005-02-15 Angus Leeming <leeming@lyx.org>
1121 * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
1122 can be used meaningfully in a comparison.
1124 2005-02-13 André Pönitz <poenitz@gmx.net>
1126 * bufferview_funcs.C (coordOffset): improve cursor drawing
1128 2005-02-13 André Pönitz <poenitz@gmx.net>
1130 * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
1131 * Cursor.C (dispatch): use fixIfBroken
1132 * lyxfunc.C (getStatus): use fixIfBroken
1134 2005-02-15 Angus Leeming <leeming@lyx.org>
1136 * lyx_main.C (error_handler):
1138 * lyxrc.C (setDefaults):
1140 #include "environment.h".
1142 * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
1144 2005-02-15 Angus Leeming <leeming@lyx.org>
1146 * lyxserver.C (startPipe): squash MSVC warning "local variable
1147 'fd' used without having been initialized".
1149 2005-02-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1151 * BufferView_pimpl.C: revert accidental commit.
1153 2005-02-14 André Pönitz <poenitz@gmx.net>
1155 * dociterator.[Ch]: new member forwardPosNoDescent(),
1156 which doesn't enter nested insets.
1157 * text2.C (setFont): use forwardPosNoDescent() instead
1158 of ForwardPos() (fixes crash on font change).
1160 2005-02-13 Angus Leeming <leeming@lyx.org>
1162 * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
1163 only if lyxrc.path_prefix is not empty.
1165 2005-02-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1167 * bufferparams.C (readGraphicsDriver): prevent crash
1169 2005-02-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1171 * text2.C (setCounter): check for inInset() == 0
1173 2005-02-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1175 * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
1176 but use update() to get correct screen display; use convert
1177 instead of istringstream.
1178 (getStatus): handle LFUN_GOTO_PARAGRAPH
1180 * lyxfunc.C (dispatch, getStatus): do not handle
1181 LFUN_GOTO_PARAGRAPH here.
1183 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1185 * text3.C (dispatch): size() -> depth()
1187 * text2.C: remove some debug output
1189 * paragraph.C: ws changes only
1191 * lyxfunc.C (getStatus): size() -> depth()
1193 * dociterator.h (clear, push_back, pop_back, internalData,
1194 operator[], resize, empty): new functions
1195 Make StableDocIterator and operator== be friends. Don't inherit
1196 from std::vector use a privat class variable slices_ instead.
1199 * dociterator.C: update because of not inheriting from std::vector
1200 anymore. Call explictly to slices_ instead. Use depth() instead of
1201 size() and top() instead of back()
1203 * cursor.C: chagne size() -> depth and back() -> top(). Also
1204 remove some direct operator[](i) calls in favour of foo[i]
1205 (getFont): remove some dead code
1207 * bufferview_funcs.C (coordOffset): size() -> depth()
1209 * buffer.C: ws changes only
1211 * CutAndPaste.C (eraseSelection): back() -> top()
1213 * BufferView_pimpl.C (selectionRequested): back() -> top()
1215 * BufferView.C (setCursor): size() -> depth()
1217 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1219 * text3.C (cursorPrevious): return true if depm changed something
1221 (dispatch): rename sl to oldTopSlice, remove moving use the new
1222 NoUpdate func attrib instead. Make sure that needsUpdate is set
1223 for function that have NoUpdate, but where depm might have changed
1226 * text2.C (cursorLeft): make us return true if depm changed
1228 (cursorRight): ditto
1229 (cursorUpParagraph): ditto
1230 (curosrDownParagraph): ditto
1231 (cursorUp, cursorDown): ditto, make sure to read comments in code
1232 (deleteEmptyParagraphMechanism): remove an assert, also return
1233 true if just a single char was deleted.
1235 * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
1236 cursor that we modify, to avoid modifying an active cursor before
1237 we call setCursor. This allows depm to run. Also return true if
1238 depm deleted something.
1240 * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
1241 cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
1242 cursorDownParagraph, cursorPrevious and cursorNext, return true if
1243 something was changed in the buffer because of them (ie. depm run)
1245 * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
1246 debug messages. Make update by default be false. Make sure that
1247 the result of update is retained throught several calls down to
1250 * LyXAction.h: add a new func_attrib: NoUpdate
1252 * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
1253 LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
1254 LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
1256 (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
1258 2005-02-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1260 * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
1261 bv_->owner(), bv_->buffer() by direct references to the private
1263 (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
1264 (getStatus): isSavedPosition() is in BufferView::Pimpl.
1265 (fitCursor): center() is in BufferView::Pimpl.
1266 (getStatus, trackChanges, dispatch): no need for a temporary buf
1268 (fitCursor, workAreaDispatch): use workarea().workheight()
1270 2005-02-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1272 * CutAndPaste.C (pasteSelectionHelper): fix a crash
1274 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1276 * buffer.C: format up to 241.
1277 * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
1278 break if pasting into ERT
1279 * lyxfunc.C (getStatus): suppress mathpanel and
1280 LFUN_DIALOG_SHOW_NEW_INSET in ERT
1282 2005-02-01 Angus Leeming <leeming@lyx.org>
1284 * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1286 2005-02-01 Angus Leeming <leeming@lyx.org>
1288 * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1289 calling fs::is_directory().
1291 2005-01-31 Angus Leeming <leeming@lyx.org>
1293 * lyx_main.C (priv_exec): specify explicitly the relative location
1294 of the top level build directory when run in-place.
1296 2005-01-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1298 * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1299 LyXText containing the cursor, not the top-level one.
1301 * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1303 (insertStringAsLines): rename par to pit; use temporary variable
1304 par to hold a Paragraph; do not store par.layout() in a variable,
1305 since the pointer may die when breaking paragraphs; pass pars to
1306 breakParagraph() instead of Buffer::paragraphs().
1308 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1310 * lyxlex_pimpl.h: #include <fstream>.
1312 * BufferView.[Ch] (getLyXText): add a const version.
1314 * BufferView_pimpl.C: add debug aids.
1319 * paragraph_funcs.h: add commentary explaining what the class does.
1322 * coordcache.[Ch]: add lots of commentary.
1323 (startUpdating, doneUpdating): debug aids.
1324 (arrays, insets, parPos, getParPos): accessors to private data.
1326 * cursor_slice.[Ch] (text): add a const version.
1327 * dociterator.[Ch] (text, innerText): add const versions.
1329 * lyxtext.h (breakParagraph): change the keep_layout arg to a
1332 * paragraph.C (getRow, pos2ros): add asserts.
1334 * paragraph.h: add commentary. Lots of.
1336 * paragraph.[Ch] (metrucs, draw): removed.
1339 * rowpainter.[Ch]: const-correct changes.
1341 * text.C: various obvious clean-ups. Removal of ancient cruft.
1344 2005-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
1346 * vc-backend.C (find_file): rewrite to use boost.filesystem
1349 * main.C (main): set default name check for boost.filesystem to
1352 * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1355 (actOnUpdatedPrefs): ditto
1357 * lyx_main.C (init): rewrite to use boost.filesystem
1358 (queryUserLyXDir): ditto
1360 * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1361 (getContentsOfAsciiFile): ditto
1363 * lastfiles.C (readFile): rewrite to use boost.filesystem
1365 * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1367 * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1368 (loadLyXFile): ditto
1370 * buffer.C (Buffer): adjust for destroydir
1371 (getLogName): rewrite to use boost.filesystem
1372 (setFileName): ditto
1373 (save): use fs::copy_file (from fs_extras)
1375 * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1377 * LaTeX.C (run): rewrite to use boost.filesystem
1378 (scanAuxFiles): ditto
1379 (handleFoundFile): ditto
1381 2005-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1383 * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1385 * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1387 2005-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1389 * lyxlayout.[Ch]: change some vars from float to double
1391 * buffer.C (readFile): make a local var const
1393 * Several files: use convert<> instead of atoi,strToXXX and friends
1395 2005-01-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1397 * LaTeXFeatures.[Ch]: Add a static list packages_ that
1398 holds the contents of packages.lst. New functions getAvailable
1399 and isAvailable to parse and check that list, resp.
1403 * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1405 * bufferparams.[Ch]: new param output_changes.
1407 * Buffer.C: increase file format to 240.
1408 Use output_changes and isVailable.
1412 * paragraph_pimpl.C: Use output_changes and isVailable.
1414 2005-01-23 Angus Leeming <leeming@lyx.org>
1416 * output_latex.C: #include "insetbibitem.h", rather than
1417 forward declare function bibitemWidest.
1419 2005-01-21 Andreas Vox <vox@isp.uni-luebeck.de>
1421 * lyx_main.C (init): make it compile on the Mac.
1423 2005-01-20 Angus Leeming <leeming@lyx.org>
1425 * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1426 (setLyXMisc): (char string literal) != (char string literal) is
1427 performing a comparison on the addresses. Convert one operand
1428 explicitly to string to guarantee expected behaviour.
1431 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1434 * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1436 * output_plaintext.C: remove unneeded #include gzstream.h.
1438 2005-01-20 Angus Leeming <leeming@lyx.org>
1440 * SpellBase.h: rename some of the elements of the Result enum.
1447 * pspell.C (check): ditto
1449 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1451 * buffer.C: add #include <fstream>.
1453 * lyx_main.C (init): Compile fix.
1455 * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1457 2005-01-20 Angus Leeming <leeming@lyx.org>
1459 * mover.h: change commentary to reflect the changed meaning of
1460 the $$s placeholder.
1462 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1464 * output_linuxdoc.C (linuxdocParagraphs): silence warning
1466 * lyxfind.C (MatchString::operator()): remove bogus semicolon
1468 2005-01-20 Angus Leeming <leeming@lyx.org>
1470 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1471 printing diagnostic data by not dereferecing an iterator past the
1474 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1476 * buffer.C (readHeader): use "&&" rather than "and".
1478 * lyxserver.h (inPipeName, outPipeName): make these const.
1480 2005-01-19 Angus Leeming <leeming@lyx.org>
1482 * lyx_main.C (error_handler, init): protect SIGHUP with
1483 #ifdef SIGHUP guards.
1485 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1487 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1489 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1491 * text.C (setHeightOfRow): add a margin at the top and bottom of
1492 the document (bug 1761)
1494 2005-01-17 Angus Leeming <leeming@lyx.org>
1496 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1497 with "python ". Workaround for a brain-dead Windows.
1499 2005-01-16 Angus Leeming <leeming@lyx.org>
1501 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1502 for MacOSX and Windows to use prependEnvPath.
1503 Strip out the hard-coded block to add elements to the PATH for
1504 MacOSX and replace it with a call to prependEnvPath using the
1505 contents of LyXRC::path_prefix.
1506 (queryUserLyXDir): strip out the code to run reconfigure, instead
1507 returning a boolean indicating the necessity to do so.
1508 (reconfigureUserLyXDir): contains the code to reconfigure the
1509 user support directory. Is now called after the various LyXRC data
1510 files have been read.
1512 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1514 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1516 * converter.[Ch] (convert): take a new parameter try_default. Use
1517 a default converter (imagemagick) if try_default is true.
1519 2005-01-13 Angus Leeming <leeming@lyx.org>
1521 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1522 os::cygwin_path_fix.
1523 (write): output LyXRC::cygwin_path_fix as necessary.
1525 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
1528 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1530 2005-01-12 Angus Leeming <leeming@lyx.org>
1532 * lyx_main.C (init): set the PATH variable to include the
1533 directory containing the LyX binary when running on Mac or Windows.
1535 2005-01-12 Angus Leeming <leeming@lyx.org>
1537 * lyx_main.C (init): remove cruft that purports to set the locale
1538 dir. It doesn't and is not needed anyway.
1540 2005-01-10 Angus Leeming <leeming@lyx.org>
1542 * Makefile.am: remove the lyx_main.C special casing.
1544 * BufferView_pimpl.C:
1550 * messages.C: use support/package.h to provide the paths to the
1551 various directories used by LyX.
1553 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1555 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1556 layout if pasting into an empty paragraph)
1558 2005-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
1560 * tex-accent.C: add <string>
1562 2005-01-06 José Matos <jamatos@lyx.org>
1564 * ParagraphParameters.C (write): put every parameter in its own line.
1565 * paragraph.C (write): reduce number of consecutive empty lines exported.
1566 * buffer.C (LYX_FORMAT): increase file format to 239.
1568 2005-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1570 * everywhere: change support/tostr.h -> support/convert.h
1572 * tabular.C: make all write_attributes templates, tostr -> convert
1574 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1575 (emptyTag): and -> &&, and fix type for ret from getChar
1576 (getFirstWord): fix type for ret from getChar
1577 (onlyText): and -> &&
1578 (simpleDocBookOnePar): and not -> && !, fix type for ret from
1581 * toc.C (goTo, action):
1582 * text3.C (dispatch):
1583 * text.C (currentState):
1584 * tex-accent.C (DoAccent):
1587 * lyxfunc.C (menuNew):
1588 * lyxfinc.C (replace):
1589 * counters.C (laberItem):
1590 * bufferview_funcs.C (font2string):
1591 * bufferparams.C (writeFile):
1592 * buffer.C (readFile):
1594 * MenuBackend.C: tostr -> convert
1596 * LaTeX.C (runMessage): fix format
1597 (scanAuxFiles): tostr -> convert
1599 * BufferView_pimpl.C (savePosition): fix format
1600 (restorePosition): ditto
1603 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1605 * Spacing.[Ch]: New method getValueAsString().
1609 * ParagraphParameters.C:
1612 * text3.C: store/read spacing value as string.
1614 * rowpainter.C: change float value (spacing_val) to double.
1616 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1617 broken custom document spacing).
1619 2005-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
1621 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1622 namespace, also more use of temp references and const
1624 * cursor.[Ch] (getStatus): move to lyxfunc.C
1626 * bufferparams.C: reformat slightly
1628 * bufferview_funcs.C (font2string): constify arg
1634 * buffer_funcs.C: (many funcs): constify arg on function
1635 definitions, also make more local vars const, also add ASSERTS on
1638 * buffer.C (LYX_FORMAT): put const in correct place
1639 (many funcs): constify arg on function definitions, also make
1640 more local vars const
1642 * aspell_local.h: remove "struct" from typdef setup
1644 * aspell.C (check): make word_ok const
1645 (nextMiss): simplify slightly
1648 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1650 * lyxrc.[Ch]: store all float values as strings.
1651 use int (not float) for lyxrc.dpi.
1653 2005-01-04 Angus Leeming <leeming@lyx.org>
1655 * lyx_cb.C (Reconfigure):
1656 * lyx_main.C (queryUserLyXDir):
1657 to run the <system_lyxdir>/configure correctly on Windows, prefix
1658 the path to the script with "sh " when generating the string that
1659 is passed to system().
1661 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1663 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1665 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1667 * lyxlength.C (asLatexString): get rid of setprecision
1669 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1671 * text2.C (setLayout): remove unused variable endpit.
1672 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1674 * paragraph.C (onlyText): remove unused variable style.
1676 * cursor.C (bruteFind): remove unused variables beg and end.
1678 * Makefile.am (dist_noinset_DATA): not needed anymore
1680 * cheaders/*: remove.
1682 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1684 * text3.C: fix LFUN_MATH_MODE.
1686 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1688 * buffer_funcs.C (countWords): new function. Counts words between
1691 * BufferView_pimpl.C (getStatus, dispatch): handle
1694 * LyXAction.C (init):
1695 * lfuns.h: add LFUN_WORDS_COUNT.
1697 2004-12-19 Angus Leeming <leeming@lyx.org>
1699 * buffer.C (save): s/slashify_path/internal_path/.
1701 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1703 * lyxfind.C (findChange): do not search for end of pars, because
1704 the change tracker cannot handle this (fixes bug 1719).
1706 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
1708 * paragraph.[Ch] (autoBreakRows): remove
1710 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1712 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1713 avoid using the paragraph one
1715 * text2.C (LyXText, insertStringAsLines): adjust
1717 2004-12-16 Angus Leeming <leeming@lyx.org>
1721 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1723 2004-12-14 Angus Leeming <leeming@lyx.org>
1725 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1727 * bufferlist.C (emergencyWrite):
1728 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1731 2004-12-14 Angus Leeming <leeming@lyx.org>
1733 * main.C: (main): no longer pass pointers to os::init.
1735 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1737 * undo.C (textUndoOrRedo): simplify logic, fix a crash
1738 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1740 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1743 * text3.C: remove selection_possible global flag
1745 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1747 * text2.C (getSelectionSpan): remove
1748 (changeDepth, changeDepthAllowed): adjust
1750 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
1752 * Makefile.am (BOOST_LIBS): use boost variables
1754 2004-12-03 José Matos <jamatos@lyx.org>
1756 * buffer.C: format up to 238.
1758 2004-12-03 José Matos <jamatos@lyx.org>
1760 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1762 2004-12-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1764 * cursor.C (goUpDown): remove call to idxUpDown2
1766 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1768 * tabular.[Ch]: use size_t-like types for cell, row and column
1771 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1773 * lyxfunc.C (getStatus): do not lose previous information when
1774 calling BufferView::getStatus; do not set a default "Command
1775 disabled" message at the beginning, but just before returning.
1777 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1779 * cursor.h (getStatus): add better comment from src/cursor.C
1781 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1783 * text3.C (getStatus): return false when the lfun is not handled
1785 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1787 * broken_headers.h: remove
1789 * Makefile.am (lyx_SOURCES): remove broken_headers.h
1791 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1793 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1794 offset_ref accessors
1796 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1797 top_y_, merge fitcursor with update
1798 (updateScrollbar, scrollDocView, fitCursor, center, update): new
1800 (metrics): introduce
1801 (workAreaDispatch): adapt to new coord scheme
1802 (redoCurrentBuffer): remove
1804 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1806 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1809 * coordcache.[Ch]: add paragraph cache and helpers
1811 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1814 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1815 (targetX, setTargetX): introduce
1817 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1818 baseline -> ascent, as the rest of lyx
1820 * lyxtext.h: remove redoParagraphs, updateParPositions,
1821 fullRebreak, redoParagraphInternal. move dist to anon namespace in
1822 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1823 have ascent/descent (ascent is ascent of first par)
1825 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1828 * paragraph.[Ch]: unify dimension handling with the rest of lyx
1830 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1832 * pariterator.C: fix infinite loop introduced in par->pit renaming
1834 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1835 in insets and LyXText, draw two off-screen paragraphs using
1836 NullPainter, and adapt to new coord scheme
1840 * text3.C: adapt lfun handlers to the new coord scheme, which
1841 means: there's only guaranteed coord information for onscreen pars
1842 plus one above and one below. This implies that one can do search
1843 from y coordinates in the range [-1,workHeight]
1845 2004-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1847 * rename a lot of InsetOld to InsetBase
1849 2004-11-25 Angus Leeming <leeming@lyx.org>
1851 * BufferView_pimpl.C:
1853 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1855 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1857 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1858 call BufferView::getStatus if LCursor::getStatus did nothing
1859 (setStatusMessage, getStatusMessage): removed.
1861 * FuncStatus.C (message): new methods. Used to provide an error
1862 message indicating why a command is disabled.
1863 (clear, |=, FuncStatus): update for message.
1865 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1867 * lyxfunc.C (dispatch): always call sendDispatchMessage
1869 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1872 * BufferView_pimpl.C:
1877 * cursor_slice.[Ch]:
1880 * paragraph_funcs.C:
1886 * undo.C: par->pit renaming
1888 2004-11-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1890 * tabular.C (cellstruct): use initialization, store a shared_ptr
1891 to insettext instead of the insettext directly, adjust to fit.
1892 (operator=): new function
1893 (swap): new function
1894 (rowstruct): use initialization
1895 (columnstruct): use initialization
1896 (ltType): use initialization
1899 * lyxlength.h (swap): new function
1901 * LColor.[Ch] (operator=): use the common semantics
1903 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1905 * lyxfind.C (findNextChange): update the bufferview after setting
1908 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1910 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1911 number of InsetOptArgs has already been inserted.
1913 * output_latex.C (latexOptArgInsets): new method. This outputs all
1914 the optarg insets, up to the limit defined in the layout file.
1915 (optArgInset): removed
1916 (TeXOnePar): call latexOptArgInsets; correctly update texrow
1918 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1920 * paragraph.C (isLetter): remove special spellchecker-related
1921 code; return true also for digits
1922 (isWord, isKomma): remove
1924 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1925 * lyxfind.C (MatchString()): use isLetter instead of isWord
1927 2004-11-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1929 * pariterator.h (operatir=): comment out un-implemented member
1932 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1935 2004-11-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1937 * lyxfont.h: include LColor.h to satisfy concept checks.
1939 2004-11-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1941 * pariterator.h: add typdefs for value_type, difference_type,
1942 pointer and reference to satisfy concept checks. Also add default
1943 constructor for same reason.
1945 * pariterator.C (operator++): add post-increment operator to
1946 satisfy concept checks.
1948 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1951 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1953 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1954 checks. Also rename base_type to BaseType to follow naming
1957 * FloatList.h: include Floating.h to satisfy concept checks.
1959 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1961 * lyxfunc.C (getStatus): when the origin of the request is menu or
1962 toolbar, and the LyXView does not have focus, do as if there was
1963 no buffer (bug 1720)
1965 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1966 FuncRequest to individual entries of LFUN_SEQUENCE
1968 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1970 * output_latex.C (TeXOnePar): override runparams.moving_arg
1971 according to the needprotect value of the current paragraph (bug
1974 * paragraph.C (simpleTeXOnePar): no need to override
1975 runparams.moving_args here
1977 2004-11-14 John Spray <spray_john@users.sourceforge.net>
1979 * vspace.C: fix off-by-one-error, related to fix #1682
1981 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1983 * lengthcommon.C: a more general fix for bug 1682
1985 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
1987 * text.C (backspace): fix crash
1989 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1991 * format.[Ch] (getFormatFromFile): new method
1992 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1994 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1996 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1998 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2000 * lyxfunc.C (dispatch): remove the verbose argument
2001 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
2004 * kbmap.C (defkey): set the origin of func to KEYBOARD
2006 * MenuBackend.C (MenuItem):
2007 * ToolbarBackend.C (add): set the origin of func to UI
2009 * funcrequest.[Ch]: add origin member, which indicates which part
2010 of LyX requests an action
2012 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2014 * converter.C (move): don't lie in the error message
2015 * converter.h (isReachable, move): document
2017 2004-11-07 Lars Gullik Bjønnes <larsbj@gullik.net>
2019 * buffer.C: remove unused using lyx::support::atoi
2020 * paragraph_funcs.C: ditto
2022 2004-11-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2024 * bufferlist.C (exists): use bind and equal_to instead of
2027 * lyxtextclasslist.C (NumberOfClass): ditto
2029 * cursor.C (insert): use for_each instead of explicit for loop
2031 * bufferlist.C (getFileNames): use std::transform and
2032 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
2034 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
2037 * buffer.C (changeLanguage): use for_each instead of explicit for
2039 (hasParWithID): implement using getParFromID
2041 * LaTeXFeatures.C: ws change only
2043 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
2046 * BufferView_pimpl.C (trackChanges): use for_each instead of
2049 2004-11-04 André Pönitz <poenitz@gmx.net>
2052 * undo.C (textUndoOrRedo): fix crash when creating undo information.
2054 * dociterator.C (asDocIterator): use hard assert again.
2056 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2058 * lyxlength.C (asLatexString): rewrite so that it does not use
2061 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2063 * text3.C (specialChar, dispatch): make sure cursor moves to the
2064 right after inserting an inset
2066 2004-11-02 José Matos <jamatos@lyx.org>
2068 * output_docbook.C (docbook):
2069 * paragraph.C (getID):
2070 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
2071 garantee that the output is always legal.
2073 * tabular.C (docbook):
2074 * outputprams.[Ch]: remove mixed contents.
2076 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2078 * text2.C (setCounter): prevent endless loop
2080 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2082 * exporter.C (copyFile): use the mover instead of support::copy()
2083 * exporter.C (Export): pass format and latex name to copyFile()
2084 * exporter.h (addExternalFile): document
2085 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
2087 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2089 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
2091 2004-10-30 José Matos <jamatos@lyx.org>
2093 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
2094 text and no inset or font change. This allows to use CDATA
2095 sections just for the whole paragraph.
2097 2004-10-30 José Matos <jamatos@lyx.org>
2099 * paragraph.C (getFirstWord): remove unused variable.
2101 2004-10-30 José Matos <jamatos@lyx.org>
2103 * paragraph.C (getFirstWord): the content should always be escaped
2105 (simpleDocBookOnePar):
2106 * output_docbook.C (makeEnvironment): replace reference to CDATA
2109 2004-10-30 José Matos <jamatos@lyx.org>
2111 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
2113 2004-10-30 José Matos <jamatos@lyx.org>
2115 * output_docbook.C (makeParagraphs):
2116 * paragraph.[Ch] (emptyTag): for docbook and company, if the
2117 standard paragraph has only a given type of content drop the wrapper.
2119 2004-10-29 José Matos <jamatos@lyx.org>
2121 * output_docbook.C (makeEnvironment):
2123 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
2125 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
2127 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
2128 (cleanID): sanitize any id.
2130 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2132 * buffer.C, lyxlex_pimpl.C:
2133 * lyxlex_pimpl.C (setFile):
2134 s/getExtFromContents/getFormatFromContents/
2136 2004-10-28 José Matos <jamatos@lyx.org>
2138 * output_docbook.C (makeEnvironment): move id to broadest possible
2141 * sgml.C (openTag): apply substitution of <> for all attributes.
2143 2004-10-28 José Matos <jamatos@lyx.org>
2145 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2146 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2147 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
2149 * sgml.[Ch]: new version for open and closeTag for paragraph and
2150 for strings. Now they handle the ids of paragraphs.
2152 2004-10-26 Angus Leeming <leeming@lyx.org>
2154 * Makefile.am: add mover.[Ch].
2156 * converter.C (convert, move): use the new Movers to move external
2157 files to the temp directory.
2159 * lyx_main.C (init): ensure that the global system_movers data
2162 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
2165 * mover.[Ch]: new files, defining a Mover as a utility to move an
2166 external file between directories and, if necessary, manipulate this
2167 file using a helper script.
2169 2004-10-25 José Matos <jamatos@lyx.org>
2171 * output_docbook.C (makeCommand): merge two if's that tested the
2174 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2176 * sgml.C (escapeString): fix warning in a better way
2178 2004-10-25 José Matos <jamatos@lyx.org>
2180 * sgml.C (escapeString): import the require boosts header file for
2181 tie, and avoid a signed unsigned comparison.
2183 2004-10-25 José Matos <jamatos@lyx.org>
2185 * sgml.h: add #include <string>
2187 2004-10-25 José Matos <jamatos@lyx.org>
2189 * sgml.[Ch] (escapeString): new function to escape all the string.
2191 2004-10-24 José Matos <jamatos@lyx.org>
2193 * paragraph.[Ch] (getFirstWord): new function to get the first
2194 word. Useful for description.
2195 (simpleDocBookOnePar): remove depth argument, add another that
2196 says where to start the paragraph.
2198 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2199 use the new functions to fix cleanly the support for descriptions.
2201 2004-10-24 José Matos <jamatos@lyx.org>
2203 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2204 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2205 * output_linuxdoc.C (linuxdocParagraphs):
2206 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
2207 add buffer as argument.
2209 2004-10-24 José Matos <jamatos@lyx.org>
2211 * output_docbook.C (makeEnvironment, searchEnvironment): place
2212 CDATA inside paragraphs and fix scope for listitems.
2214 2004-10-24 José Matos <jamatos@lyx.org>
2216 * output_docbook.C: remove using statement for stack.
2218 2004-10-23 José Matos <jamatos@lyx.org>
2220 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
2221 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
2222 docbook. The new scheme is recursive and makes use of iterators, the
2223 same as latex export works.
2224 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
2225 directly with the paragraph contents. This code was moved up to
2226 output_docbook.C (docbookParagraphs).
2227 * sgml.C (openTag, closeTag): removed unneeded newlines.
2228 (closeEnvTags) removed.
2230 2004-10-23 André Pönitz <poenitz@gmx.net>
2232 * undo.C (textUndoOrRedo):
2233 * dociterator.C (asDocIterator): work around crash
2235 * cursor.C (getStatus): replace ASSERT by more verbose error message
2236 and manual correction of the problem. Should increase stability
2237 while providing more sensible information.
2239 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2241 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
2243 * bufferlist.C (previous, next): new methods
2246 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
2248 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
2250 * buffer.C (makeDocBookFile): add dsssl stylesheet control
2251 entities to preamble.
2253 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2255 * messages.C (Pimpl): strip off translation context information
2257 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2259 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
2260 the cursor is correct (bug 1694)
2262 2004-10-13 José Matos <jamatos@lyx.org>
2264 * output_docbook.C (docbookParagraphs): fix closing tags in the
2265 end of the document.
2267 2004-10-09 José Matos <jamatos@lyx.org>
2269 * buffer.C: format up to 237.
2270 * bufferparams.C (write): use tostr to convert booleans to strings.
2272 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
2274 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
2276 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2278 * LaTeX.C: implement use of babel language in xindy.
2280 2004-10-05 José Matos <jamatos@lyx.org>
2282 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2283 Add new translators to help reading and writing the lyx file.
2285 2004-10-05 José Matos <jamatos@lyx.org>
2287 * ParagraphParameters.C (read):
2288 * text.C (readParToken): replace nexToken by more appropriate lex
2291 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
2293 * LaTeX.C (runMakeIndex):
2294 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2295 (usually 'makeindex') configurable.
2297 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2298 with a variable rather than with a number.
2300 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2302 * output_latex.C (TeXOnePar): make sure font setting is the first
2303 thing that gets output (and the last at the end). Should fix bug
2306 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2308 * pch.h: use proper signal include
2310 * LaTeX.h: Use preferred calling of Boost.Signal
2313 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2315 * pch.h: dont include <boost/function/function0.hpp>
2317 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2319 * paragraph_pimpl.h: remove usage of ShareContainer
2321 * paragraph_pimpl.C: remove initialization of ShareContainer.
2323 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2327 * BufferView.C (putSelectionAt): change the semantics when
2328 backwards == true: now, this just swaps cursor and anchor wrt the
2331 * BufferView.h (putSelectionAt): add some documentation
2333 * lyxfind.C (findBackwards): rewrite using while(). In particular,
2334 make sure backwardChar is done at least once (to avoid getting
2336 (findNextChange): use putSelectionAt in the forward direction
2337 (operator()): use Paragraph::isWord
2339 2004-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2341 * Spacing.C (set): c_str fix
2343 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2345 * lyx_cb.C (Reconfigure): quote the name of configure script in
2346 case it contains spaces
2348 2004-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2352 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2353 (BOOST_LIBS): use top_buildir when looking for the file
2355 2004-08-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2357 * pch.h: do not use include boost/format.hpp, multiple symbols
2358 will result (gcc bug)
2361 2004-08-23 José Matos <jamatos@lyx.org>
2363 * bufferparams.C (readToken): fix reading of the author field.
2365 2004-08-20 José Matos <jamatos@lyx.org>
2367 * lyxrc.C: remove support/translator.h inclusion since it is not used.
2369 2004-08-20 José Matos <jamatos@lyx.org>
2371 * lyxlex.[Ch] (findToken): remove function.
2373 * ParagraphParameters.C (findToken):
2374 * bufferparams.C (findToken): replace call for previous function
2375 with local copy. This local function has one more argument, the
2376 read string argument.
2378 2004-08-16 José Matos <jamatos@lyx.org>
2380 * ParagraphParameters.C (write):
2381 * Spacing.C (writeFile):
2382 * bufferparams.C (writeLaTeX):
2383 * lyx_cb.C (Reconfigure):
2384 * paragraph.C (write):
2385 * tabular.C (write): remove unnecessary space at end of line.
2388 2004-08-16 José Matos <jamatos@lyx.org>
2390 * text.C (readParagraph): remove debug message.
2392 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2394 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2397 * output_plaintext.C (asciiParagraph): set depth correctly
2399 * outputparams.h: add member depth
2401 * paragraph_funcs.C (ownerPar): remove.
2403 * text2.C (setCounter): remove first_pit; comment out some
2404 non-working code that uses ownerPar
2406 * BufferView.C (getParentLanguage): remove. Not used anymore, and
2409 2004-08-16 José Matos <jamatos@lyx.org>
2411 * text.C (readParToken, readParagraph, read): report all unknown tokens.
2412 For the same level of importance use the same chanel to report problems.
2413 (read): add code to deal with \begin_body and \end_body.
2416 2004-08-15 José Matos <jamatos@lyx.org>
2418 * lyxlex.C (getString): fix comment, buffer::readBody is now
2419 buffer:readDocument.
2421 * tex-strings.C (string_papersize): Default -> default,
2422 Custom -> custom, for consistency with other options.
2424 2004-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2428 * Makefile.am: support pch
2430 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2432 * text.C (readParToken): remove the static LyXFont variable and
2433 pass it as a parameter instead. This fixes a nasty bug where an
2434 inset will be inserted with a bad font in some situations
2435 (readParagraph): adapt
2437 * text2.C (setCounter): reduce number of calls to pars_[pit]
2439 * text.C (singleWidth): add an assert, fix a test
2441 * rowpainter.C (paintText): reduce number of calls to singleWidth
2443 * paragraph.C (isHfill):
2444 (isNewline): ws only
2446 2004-08-14 André Pönitz <poenitz@gmx.net>
2451 * lyxtext.h (several functions): use a Paragraph & argument
2454 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2456 * metricsinfo.h: add a new field ltr_pos to PainterInfo
2458 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2460 * text.C (singleWidth): remove useless test
2462 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2464 * tabular.h: remove bogus comments
2466 * tabular.C (getDescentOfRow):
2467 (isPartOfMultiColumn): add assertions
2469 * lyxlength.C (inPixels): remove #warning
2471 2004-08-14 André Pönitz <poenitz@gmx.net>
2473 * paragraph.h: inline getChar()
2475 * BufferView.h: remove unused declarations
2477 2004-08-14 José Matos <jamatos@lyx.org>
2479 * Buffer.[Ch] (readDocument): new name for old readBody.
2480 * Buffer.C: new file format, new keywords: \begin_document,
2481 \begin_header, \begin_body, \end_body.
2483 * bufferparams.C (readToken): replace all calls to lex.nextToken
2484 by lex.next(). Do the same to eatLine except where really needed.
2486 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2487 line when writing to the lyx file.
2489 * output_plaintext.C (asciiParagraph): fix Bibliography style
2492 * text.C (read): fix end of file handling.
2494 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2496 * MenuBackend.C (Menu::operator[]): new method to access
2497 individual menu items
2498 (Menu::hasFunc): new method. search for an item that corresponds
2500 (MenuBackend::specialMenu): new method
2501 (MenuBackend::expand): if a special menu has been set, skip
2502 entries whose func() appears in this menu
2504 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2506 * text3.C: use Debug::DEBUG a bit more
2508 * text.C (leftMargin): try to simplify a tiny bit change var x to
2509 l_margin. Dont output the wide margins always.
2510 (rightMargin): no margin in inner texts
2512 * rowpainter.h (nestMargin): new func
2513 (changebarMargin): new func
2514 (rightMargin): new func
2516 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2520 * factory.C (createInset): modify setDrawFrame
2522 * cursor.C: use Debug::DEBUG a bit more
2524 2004-08-14 André Pönitz <poenitz@gmx.net>
2527 * Makefile.am: new files to accomodate an 'external' (x,y)-position
2528 cache for all insets in (at least partially) visible (top-level)
2531 * BufferView_pimpl.C: reset external coord cache before every update.
2532 This means the coord cache only contains valid entries.
2534 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2537 * BufferView_pimpl.C (getInsetByCode): move function out of class
2538 and change in to a template in anon namespace. Also fix to do what
2541 2004-08-13 Lars Gullik Bjønnes <larsbj@lyx.org>
2544 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2546 (breakParagraph): rename par to par_offset and use a local
2547 reference. Add code to keep the language over a rebreak.
2548 (breakParagraphConservative): rename par to par_offset, use a
2550 (mergeParagraph): ditto
2552 (isFirstInSequence): ditto
2553 (outerFont): rename pit to par_offset
2555 * paragraph.C: ws change
2556 * paragraph.h: ditto
2560 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2562 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2565 * paragraph.C (simpleTeXOnePar): when we have a \item with
2566 optional argument, enclose the argument with curly brackets (in
2567 case it contains a closing square bracket)
2571 * text3.C (checkInsetHit): constify
2573 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2575 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2576 documents (bug 1629)
2578 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2580 Fix toggling of collapsable insets with the mouse (bug 1558)
2582 * lyxfunc.C (dispatch): adapt to LCursor changes
2584 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2585 make sure that dispatch is not invoked twice
2587 * cursor.C (needsUpdate): new method
2588 (dispatch): return void
2589 (result): new method, to access the DispatchResult of the cursor.
2591 2004-08-13 José Matos <jamatos@lyx.org>
2593 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2595 2004-08-13 André Pönitz <poenitz@gmx.net>
2597 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2599 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2602 2004-08-12 André Pönitz <poenitz@gmx.net>
2604 * text3.C: take out the 'cursor right' form insertInset and only
2605 do it in those places when it is really needed. Fixes crash on
2608 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2610 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2612 * BufferView_pimpl.C (setBuffer): initialize the current font of
2613 the underlying LyXText
2615 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2617 * kbsequence.C (print): use UI native formatting for menu
2620 * text.C (insertChar): call Paragraph::insertChar with a font
2623 * paragraph.C (insertInset, insertChar): the version that takes a
2624 LyXFont argument is now a wrapper around the other one (the
2625 opposite used to be true).
2627 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2628 argument. Font setting is done in Paragraph now.
2630 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2632 * outputparams.h: add new members intitle and lang.
2634 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2635 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2637 2004-08-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2639 * text3.C (dispatch): remove special handling of button 4 and 5,
2640 it is now taken care of in the frontend code.
2642 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2644 * Spacing.h: add <string> (STLPort compile fix)
2646 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2648 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2650 2004-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2652 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2655 * converter.C (showMessage): inherit from unary_function, make
2658 * buffer.C (writeFile): initialize retval
2660 * InsetList.h: rename private variable list to list_
2661 * InsetList.[Ch]: adjust accordingly.
2663 2004-07-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2665 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2666 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2667 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2668 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2669 * ParagraphParameters.C, LaTeXFeatures.C: replace
2670 "support/std_sstream.h" with <sstream>
2672 2004-07-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2674 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2675 * lyxsocket.C (LyXServerSocket): ditto
2676 (serverCallback): ditto
2678 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2680 * LaTeXFeatures.C: check release date when loading jurabib.
2682 2004-07-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2684 * lyxserver.C (startPipe): call register_socket_callback
2685 (endPipe): call unregister_socket_callback
2687 2004-07-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2689 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2690 (LyXServerSocket): register the callback
2691 (LyXServerSocket): unregister the callback
2692 (fd): delete function
2693 (serverCallback): improve error checking and setup the callbacks.
2694 (dataCallback): change arg to fd.
2695 (writeln): new func (copied fro the client socket) used for server
2697 (LyXDataSocket): simplify
2698 (~LyXDataSocket): close ann unregiser callback
2699 (server): delete function
2700 (fd): delete function
2701 (readln): small changes, improve some std::string usage
2702 (writeln): constify a bit
2704 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2706 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2709 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2711 * BufferView_pimpl.C (setBuffer): set the layout combox value only
2712 after it has been populated
2714 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2716 * text2.C (insertInset): move cursor when inserting inset.
2718 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2720 * kbmap.C (findbindings): a couple of new methods. returns a
2721 container of kb_sequence objects. The real work is done by the
2722 private recursive version
2723 (printbindings): uses findbindings to print out a bracketed list
2724 of bindings (renamed from findbinding).
2726 * MenuBackend.C (binding): use kb_keymap::findbindings
2728 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2730 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2732 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2734 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2736 * paragraph.C (isWord): return true on insets that report
2739 * text.C (getWord): use Paragraph::isWord to decide what is in a
2740 word and what is not; fix bug 1609.
2742 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2744 * tex-strings.C: add "none" to string_paperpackages[], fixes
2745 off-by-one-error in the paperpackage selection.
2748 * tex-strings.[Ch]: char const * string[n]
2749 -> char const * const string[]
2751 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2753 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2754 command, return early.
2756 2004-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
2758 * debug.h: add DEBUG to enum and fix size of ANY.
2760 * debug.C: add support for Debug::DEBUG
2761 (showTags): cast errorTags.level to unsigned int
2763 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2764 (redoCurrentBuffer): ditto
2765 (updateScrollbar): ditto
2766 * cursor.C (dispatch): ditto
2767 * text2.C (setLayout): ditto
2769 (updateCounters): ditto
2771 (deleteEmptyParagraphMechanism): ditto
2773 2004-06-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2775 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2776 annotations to cleanup the Makefile slightly.
2778 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2780 * lyxrc.C: do not set user_email to a default value but use empty
2781 instead. The entry used to be translated, which does not work
2782 since at the point where lyxrc is constructed there is no
2783 translation service available
2785 * messages.C (getLocaleDir): remove and use directly
2786 lyx_localedir() instead
2788 2004-06-02 Angus Leeming <leeming@lyx.org>
2790 Fix crash caused by dereferencing null pointer 'exportdata' in
2791 OutputParams by creating a new ExportData variable on the heap,
2792 storing it in a boost::shared_ptr.
2793 The crash was triggered when generating an Instant Preview
2794 of an external inset.
2796 * Makefile.am: add outputparams.C
2798 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2799 (c-tor): allocate memory to it.
2801 * exporter.C (c-tor): associated changes.
2803 2004-06-01 Angus Leeming <leeming@lyx.org>
2805 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2806 contains data before calling isInset(0). (Bug 1513.)
2808 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2810 * exporter.C (checkOverwrite): new method
2811 * exporter.C (copyFile): new method
2812 * exporter.C (Export): copy referenced files to the document dir
2813 * exporter.[Ch]: new class ExportedFile
2814 * exporter.[Ch]: new class ExportData. Contains currently the
2815 names of referenced external files
2816 * outputparams.h: add exportdata member.
2818 2004-05-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2820 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2823 2004-05-19 Angus Leeming <leeming@lyx.org>
2828 * lyxfunc.C: small changes due to the introduction of namespace
2829 lyx::frontend and the moving of namespace biblio to lyx::biblio.
2831 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
2833 * text3.C (dispatch): supress update when only moving the cursor
2834 * cursor.C (selHandle): remove commented code
2836 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2838 * paragraph.C (startTeXParParams): correct column count
2839 * CutAndPaste.C (pasteSelection): remove const_cast
2840 * output_docbook.C (docbookParagraphs): remove const_cast
2841 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2842 const_cast and return ParagraphList::const_iterator
2843 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2844 * output_plaintext.C (writeFileAscii): remove const_cast
2845 * paragraph.[Ch] (simpleTeXOnePar): make const
2846 * paragraph_funcs.C (outerPar): use const iterators
2847 * paragraph_pimpl.C (validate): use const iterators
2848 * text.C (setHeightOfRow): use const iterators
2850 2004-05-17 Angus Leeming <leeming@lyx.org>
2853 * LyXAction.C (init): new LFUN_INSET_REFRESH.
2855 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2856 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2857 if the citation engine has changed.
2859 2004-05-14 José Matos <jamatos@lyx.org>
2861 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2862 if the textclass does not provide it. Have it different for sgml and
2864 support the language of document.
2865 * output_docbook.C (docbookParagraphs):
2866 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2867 first anchor as the id of the paragraph, remove special case code.
2868 * sgml.C (escapeChar): escape only < & >.
2870 2004-05-14 Angus Leeming <leeming@lyx.org>
2872 * bufferparams.h: move biblio::CiteEngine enum here to minimize
2873 dependencies on src/frontends/controllers/biblio.h. Define a
2874 CiteEngine_enum wrapper class to enable the enum to be forward
2877 2004-05-12 Angus Leeming <leeming@lyx.org>
2879 * buffer.C: up LYX_FORMAT to 234.
2880 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2881 use_numerical_citations with a single biblio::CiteEngine cite_engine
2883 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2885 2004-05-13 José Matos <jamatos@lyx.org>
2888 * converter.C (Converter, readFlags): add xml member.
2889 * outputparams.h: add XML flavor.
2890 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2892 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2894 * lyxfunc.C (dispatch):
2895 (getStatus): fix handling of LFUN_SEQUENCE
2897 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2899 * debug.C (showLevel): do not forget the end-of-line marker
2901 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2903 * kbmap.C (read): do not stop parsing a bind file when an error
2906 2004-04-29 Angus Leeming <leeming@lyx.org>
2911 * text2.C: wrap a bunch of #warning statements
2912 inside #ifdef WITH_WARNINGS blocks.
2914 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2916 * buffer.C: increment format to 233.
2918 2004-04-28 Angus Leeming <leeming@lyx.org>
2920 * BufferView_pimpl.C:
2923 s/updateToolbar()/updateToolbars()/
2924 s/Toolbar.h/Toolbars.h/
2926 2004-04-28 Angus Leeming <leeming@lyx.org>
2928 * BufferView.[Ch] (c-tor):
2929 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2930 No longer passes these data to the WorkArea generator.
2932 2004-04-28 Angus Leeming <leeming@lyx.org>
2934 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2936 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2938 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2940 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2942 * output_latex.C (TeXEnvironment): make sure that there is a line
2943 break before \end{foo} for the last paragraph of a document
2944 (TeXOnePar): if the paragraph is at the end of the document (or
2945 inset) and the language has to be reset, then make sure that the
2946 line break is _before_ the language command, not after (fixes bug
2947 1225); also make sure that the language reset command is the first
2948 thing after the paragraph (to ensure proper nesting of
2949 environments and thus fix bug 1404)
2951 2004-04-21 John Levon <levon@movementarian.org>
2954 * ToolbarBackend.C: make "name" be a programmatic name
2955 and a gui_name field.
2957 * lyxfunc.C: display the minibuffer on M-x
2959 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2961 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
2964 2004-04-19 Angus Leeming <leeming@lyx.org>
2966 * BufferView_pimpl.C (setBuffer): changed preview interface.
2968 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2971 2004-04-19 John Levon <levon@movementarian.org>
2973 * BufferView_pimpl.C:
2974 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2976 2004-04-05 Angus Leeming <leeming@lyx.org>
2978 * text.C (redoParagraphs): add call to updateCounters(), thereby
2979 fixing the missing "Figure #:" label from the caption of a
2982 2004-04-13 Angus Leeming <leeming@lyx.org>
2984 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2985 cursor is clicked out of an inset.
2987 2004-04-13 Angus Leeming <leeming@lyx.org>
2989 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2990 than an InsetOld one.
2992 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2994 * format.[Ch]: add editor to Format
2995 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2996 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2998 2004-04-08 André Pönitz <poenitz@gmx.net>
3000 * metricsinfo.h: remove PainterInfo::width member
3002 2004-04-08 Angus Leeming <leeming@lyx.org>
3004 * lyx_sty.C (boldsymbol_def): modify so that it outputs
3005 "\providecommand" rather than "\newcommand", thereby preventing
3006 clashes with packages that define "\boldsymbol" themselves.
3009 2004-04-08 Angus Leeming <leeming@lyx.org>
3011 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
3012 thereby squashing an unnecessary warning.
3014 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3016 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
3019 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
3021 * BufferView.C (setCursor): call redoParagraph (some insets could
3023 (putSelectionAt): remove the 'double update' trick
3025 * BufferView_pimpl.C (fitCursor): call refreshPar
3026 (workAreaDispatch): remove an uneeded update call
3027 (dispatch): remove some manual update calls
3029 * cursor.[Ch]: remove cached_y_, updatePos
3030 (selHandle): set noUpdate when appropriate
3032 * lyxfunc.C (dispatch): track if we need an update
3034 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
3036 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
3037 (paintSelection): cheap optimization, do not call cursorX when not
3039 (paintPars): change signature
3042 (paintTextInset): adjust
3046 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3048 * lengthcommon.C: compilation fix: remove explicit array size from
3049 unit_name[] and friends
3051 2004-04-05 Angus Leeming <leeming@lyx.org>
3053 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
3055 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
3056 present only for the preferences dialog.
3057 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
3059 2004-04-05 Angus Leeming <leeming@lyx.org>
3061 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
3062 to enable the frontends to export changes to lyxrc correctly.
3064 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
3066 2004-04-07 André Pönitz <poenitz@gmx.net>
3068 * cursor.[Ch] (selClear, adjust): remove math
3070 * cursor_slice.C: more agressive assert
3073 * BufferView_pimpl.C: rework mouse event dispatch
3080 2004-04-05 André Pönitz <poenitz@gmx.net>
3082 * cursor.[Ch] (valign, halign...): remove unneeded functions
3084 2004-04-05 Angus Leeming <leeming@lyx.org>
3086 * lyxlength.[Ch] (unit_name et al.): const-correct.
3088 2004-04-05 Angus Leeming <leeming@lyx.org>
3090 * BufferView_pimpl.C:
3099 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
3101 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3103 * text3.C (getStatus): add LFUN_BEGINNINGBUF
3105 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3107 * lyxfind.C: add a couple of inTexted() tests + other small fixes
3108 * BufferView_pimpl.[Ch] (getStatus)
3109 * BufferView.[Ch] (getStatus): add
3110 * lyxfunc.C (getStatus): move lfuns handled in
3111 BufferView::dispatch to te function above
3112 * Cursor.C (setSelection): set selection() = true
3114 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3116 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
3118 2004-03-31 Angus Leeming <leeming@lyx.org>
3120 * lyxfunc.C (dispatch): Fall through to the generic
3121 Dialogs::show("preamble").
3123 2004-03-31 Angus Leeming <leeming@lyx.org>
3125 * lyxfunc.C (dispatch): Fall through to the generic
3126 Dialogs::show("spellchecker").
3128 2004-03-31 Angus Leeming <leeming@lyx.org>
3130 * lyxfunc.C (getStatus, dispatch): changed invocation of the
3133 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
3138 * insetiterator.[Ch]:
3143 * undo.[Ch]: s/DocumentIterator/DocIterator/g
3145 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
3147 * BufferView.C (setCursor, putSelectionAt): call edit to open the
3148 insets where we are putting the cursor.
3150 2004-03-31 Angus Leeming <leeming@lyx.org>
3153 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
3155 * lyxrc.[Ch] (read, write): overloaded member functions taking
3156 a std::[io]stream arguments.
3158 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
3160 2004-03-31 Angus Leeming <leeming@lyx.org>
3162 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
3163 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
3165 * lyxtextclass.C (load): if the text class couldn't be loaded, then
3166 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
3168 2004-03-31 Angus Leeming <leeming@lyx.org>
3170 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
3171 the LFUN_ALL_INSETS_TOGGLE code.
3173 2004-03-30 Angus Leeming <leeming@lyx.org>
3175 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
3176 has died. Fall through to the generic Dialogs::show("document").
3178 2004-03-30 Angus Leeming <leeming@lyx.org>
3181 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
3182 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
3184 * lyxfunc.C (getStatus, dispatch): define the actions for these
3185 lfuns. Little more than a cut and pste job from ControlDocument.C
3187 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
3189 2004-03-30 Angus Leeming <leeming@lyx.org>
3192 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
3193 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
3195 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
3196 open/closed state of ollapsable insets. Usage:
3198 all-inset-toggle <state> <name>, where
3199 <state> == "open" || "closed" || "toggle" and
3200 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
3202 * lyxtext.h, text2.C (toggleInset): removed.
3204 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
3205 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
3206 now passes LFUN_INSET_TOGGLE to the found inset.
3208 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
3209 is now invoked as "all-insets-toggle toggle branch".
3211 2004-03-30 Angus Leeming <leeming@lyx.org>
3215 * pariterator.[Ch]: added/corrected header blurb.
3217 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
3219 * dociterator.[Ch]: add an inset_ member
3220 (backwardPos): implemented
3221 (backwardPos, forwardPos): use inset_ when the stack is empty.
3222 (doc_iterator_begin, doc_iterator_end): implemented
3223 * pariterator.[Ch]: adjust, add begin, end
3224 * insetiterator.[Ch]: adjust, add begin, end
3228 * BufferView_pimpl.C:
3229 * CutAndPaste.C: adjust
3231 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3233 * buffer.C: increment file format to 232.
3234 * LaTeXFeatures.C: add bibtopic package.
3235 * bufferparams.[Ch]: param \use_bibtopic.
3237 * lyxrc.[Ch]: add lyxrc bibtex_command
3238 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
3240 * buffer.C: increment file format to 231.
3242 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
3244 * dociterator.C: implement forwardPar
3245 * iterators.[Ch]: remove, replaced by
3246 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
3248 * BufferView_pimpl.C:
3251 * bufferview_funcs.C:
3257 * Makefile.am: adjust
3259 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
3261 * CutAndPaste.C (pasteSelection): fix 2 crashes
3262 (eraseSelection): fix a crash
3263 * paragraph_funcs.C: remove a warning
3265 2004-03-28 Angus Leeming <leeming@lyx.org>
3268 * LyXAction.C (init): new LFUN_PRINT.
3270 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
3272 2004-03-27 Angus Leeming <leeming@lyx.org>
3275 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
3277 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
3279 2004-03-27 Angus Leeming <leeming@lyx.org>
3281 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
3282 insetlist always contains non-null pointers to insets.
3284 2004-03-26 Angus Leeming <leeming@lyx.org>
3286 * src/BufferView_pimpl.C:
3287 * src/CutAndPaste.C:
3290 * src/output_plaintext.C:
3291 * src/outputparams.h:
3292 * src/paragraph_funcs.C:
3296 * src/frontends/controllers/ControlErrorList.C:
3297 * src/frontends/gtk/FileDialogPrivate.C:
3298 * src/frontends/gtk/GPainter.C:
3299 * src/frontends/gtk/GToolbar.C:
3300 * src/frontends/qt2/QRef.C:
3301 * src/mathed/math_scriptinset.C: squash compiler warnings.
3303 2004-03-26 Angus Leeming <leeming@lyx.org>
3305 * ispell.C (LaunchIspell::start):
3306 * lyx_cb.C (AutoSaveBuffer::start):
3307 invoke run(DontWait) rather than runNonBlocking().
3309 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
3311 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3313 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3315 * kbsequence.C (print): adjust
3317 * kbmap.C (printKeySym): rename and change signature
3318 (printKey): use LyXKeySym::print()
3320 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
3322 * undo.C: add using std::advance to compile for stlport
3324 2004-03-24 Angus Leeming <leeming@lyx.org>
3326 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3327 it leads to a crash when no buffer is present.
3329 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3330 Martin Vermeer <martin.vermeer@hut.fi>
3332 * lyxfunc.C (dispatch):
3333 * bufferparams.C (readToken): use the new LColor::setColor
3335 * LColor.[Ch] (setColor): new version that takes two strings as
3336 argument and creates a new color entry if necessary
3338 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3340 * buffer.C (makeLaTeXFile): if the main latex file that is
3341 processed is usually a subdocument of some master, then pretend
3342 for a while that it is actually the master
3344 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3346 * buffer.C (getLabelList):
3347 (getBibkeyList): use getMasterBuffer()
3348 (getMasterBuffer): new method. Returns the main document in the
3349 case where one is using included documents.
3351 2004-03-25 André Pönitz <poenitz@gmx.net>
3355 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3357 * ParagraphList_fwd.h: change ParagraphList to a std::vector
3359 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3360 text*.C over here. Rename namespace CutAndPaste to lyx::cap
3362 * ParameterStruct.h: merge with ParagraphParameters
3364 * lyxtext.h: remove LyXText::parOffset() and getPar()
3366 * text3.C: Remove all 'manual' update calls. We do now one per user
3367 interaction which is completely sufficient.
3371 * BufferView_pimpl.C:
3372 * FontIterator.[Ch]:
3374 * ParagraphParameters.[Ch]:
3379 * cursor_slice.[Ch]:
3386 * output_docbook.[Ch]:
3387 * output_latex.[Ch]:
3388 * output_linuxdoc.[Ch]:
3389 * output_plaintext.[Ch]:
3391 * paragraph_funcs.[Ch]:
3392 * paragraph_pimpl.[Ch]:
3400 * frontends/controllers/ControlDocument.C:
3401 * frontends/controllers/ControlErrorList.C:
3402 * frontends/controllers/ControlSpellchecker.C:
3405 * insets/insetbase.h:
3406 * insets/insetbibitem.C:
3407 * insets/insetbox.C:
3408 * insets/insetbranch.C:
3409 * insets/insetcaption.C:
3410 * insets/insetcharstyle.C:
3411 * insets/insetcharstyle.h:
3412 * insets/insetcollapsable.C:
3413 * insets/insetcollapsable.h:
3414 * insets/insetert.C:
3415 * insets/insetfloat.C:
3416 * insets/insetfoot.C:
3417 * insets/insetmarginal.C:
3418 * insets/insetnote.C:
3419 * insets/insetoptarg.C:
3420 * insets/insettabular.C:
3421 * insets/insettext.C:
3422 * insets/insettext.h:
3423 * insets/insetwrap.C:
3424 * mathed/math_mboxinset.C:
3425 * mathed/math_nestinset.C:
3426 * mathed/math_scriptinset.C:
3427 * mathed/math_scriptinset.h:
3430 2004-03-24 Angus Leeming <leeming@lyx.org>
3432 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3433 deal with any child processes that have finished but are waiting to
3434 communicate this fact to the rest of LyX.
3436 2004-03-24 Angus Leeming <leeming@lyx.org>
3438 64-bit compile fixes.
3440 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3441 (c-tor): pass lyx::pos_types rather than ints.
3443 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3446 * text.C (Delete): compile fix.
3447 (getPar): ensure that function declaration is the same as that in
3450 2004-03-23 Angus Leeming <leeming@lyx.org>
3452 * ispell.C (LaunchIspell):
3453 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3454 a boost::shred_ptr rather than a std::auto_ptr.
3456 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3458 * lyxfunc.C (getStatus): handle read-only buffers correctly;
3459 handle LFUN_FILE_INSERT_*
3461 * lyxrc.C (setDefaults, getDescription, output, read):
3462 * lyxrc.h: remove ps_command
3464 2004-03-22 Angus Leeming <leeming@lyx.org>
3466 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3467 Ensure that error_handler is processed once only and that all data
3468 is saved before attempting to output any warning messages.
3470 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3472 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
3474 * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3476 2004-03-19 André Pönitz <poenitz@gmx.net>
3478 * cursor.[Ch] (reset): take main text inset as argument
3480 * BufferView: adjust
3481 * BufferView_pimpl.C: adjust
3483 * paragraph.[Ch]: fix completely broken operator=()
3485 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3487 * LColor.C (getFromLyXName): make sure that the color name is used
3490 2004-03-17 Angus Leeming <leeming@lyx.org>
3493 * LyXAction.C (init): remove LFUN_FORKS_KILL.
3495 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3496 dialog and to kill a forked process.
3498 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3500 * text2.C (setCursorFromCoordinates): fix font problem
3502 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3504 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3505 bogus "rebuild cursor" code
3507 2004-03-11 André Pönitz <poenitz@gmx.net>
3509 * buffer.[Ch]: use InsetText instead of LyXText as container for
3512 * dociterator.[Ch]: drop the BufferView * member which is not needed
3513 anymore after the change to buffer.C
3515 * paragraph_funcs.C:
3519 * BufferView_pimpl.[Ch]:
3521 * cursor_slice.[Ch]: adjust
3523 * text3.C: fix bug in mathDispatch
3525 2004-03-08 André Pönitz <poenitz@gmx.net>
3527 * undo.[Ch]: use 'StableDocumentIterator' as base for
3530 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3533 * bufferparams.[Ch]: add jurabib support and param.
3535 * LaTeX.C: add FIXME/comment.
3537 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3539 * buffer.C: increment file format to 230.
3541 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
3543 * cursor.C (dispatch): avoid infinite loops
3545 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3547 * rowpainter.C (paintSelection): fix x coordinates
3549 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3551 * text.C (rowBreakPoint): fix breaking before displayed insets
3553 2004-03-01 André Pönitz <poenitz@gmx.net>
3555 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3557 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3561 * BufferView_pimpl.C:
3569 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3575 * BufferView_pimpl.C: rename textwidth -> maxwidth,
3576 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3578 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3580 * Bidi.[Ch] (computeTables): const correctness
3581 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3582 fill_hfill, fill_label_hfill and x from Row
3583 * lyxtext.h: prepareToPrint returns a RowMetrics
3584 * rowPainter.C: adjust
3585 * text.C (prepareToPrint): use width, not textWidth. adjust
3586 (redoParagraphInternal, cursorX): adjust
3587 * text2.C (getColumnNearX): adjust
3588 (init): put a default value to the top LyXText::width
3590 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3592 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3594 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3596 * lyxtext.h: add FontIterator class
3598 * text.C (FontIterator, operator*, operator->, operator++): add
3599 (rowBreakPoint, setRowWidth): adjust (fixing a
3602 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3604 * BufferView_pimpl.C (workAreaDispatch): allow also
3605 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3607 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
3609 * text.C (rowBreakPoint): fix a bug showing with very large insets
3611 2004-02-25 André Pönitz <poenitz@gmx.net>
3614 * cursor.[Ch]: move some mathed specific code to mathed
3616 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3618 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3619 use_tempdir in preferences
3620 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3622 * lyx_main.C: ensure that tempdir is valid
3623 * lyxlex.h: correct typo
3624 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3625 * paragraph.[Ch] (isMultiLingual): make const
3626 * cursor.[Ch] (openable): make const
3628 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3630 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3632 2004-02-20 André Pönitz <poenitz@gmx.net>
3634 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3636 * cursor.[Ch]: prepare for localized getStatus()
3642 * text3.C: streamlines the LyXText cursor movement handlers a bit.
3644 2004-02-20 André Pönitz <poenitz@gmx.net>
3646 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3648 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3650 * text2.C (setCursorFromCoordinates): switch to absolute coords
3652 (cursorDown): adjust
3653 * text3.C (dispatch): adjust
3655 2004-02-16 André Pönitz <poenitz@gmx.net>
3657 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3660 * cursor_slice.[Ch]: remove unneeded acessor function
3662 * lyxtext.h: rename rtl() to isRTL()
3670 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3672 * rowpainter.C (paintSelection): coord fix
3674 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3676 * Spacing.C: compile fix
3678 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3680 * cursor.C (dispatch): restore current_ before returning
3682 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3684 * text2.C (cursorUp, cursorDown): fix coords
3687 2004-02-12 André Pönitz <poenitz@gmx.net>
3692 * text3.C: add LCursor & parameter to most cursor movement functions
3693 remove usage of LyXText::cursorRow() and cursorPar()
3695 * cursor.[Ch]: add textRow() needed members
3698 * BufferView_pimpl.C:
3701 * BufferView_pimpl.C: adjust
3703 2004-02-11 André Pönitz <poenitz@gmx.net>
3707 * BufferView_pimpl.C: shift undo/redo handling
3709 * cursor.[Ch]: fix mathed crash
3712 * lyxtext.h: move selectionAsText to LCursor
3720 * rowpainter.C: fix excessive drawing
3722 2004-02-06 André Pönitz <poenitz@gmx.net>
3725 * BufferView_pimpl.[Ch]:
3726 * text3.C: move some text specific LFUN handling
3728 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
3730 * text3.C (checkInsetHit): adjust coords
3731 * text2.C (getColumnNearX): adjust coords
3732 (edit): adjust coords
3733 * text.C (getRowNearY): add two asserts
3735 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
3738 * format.C: add using std::distance to compile on gcc 2.95/stlport
3740 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
3742 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3744 2004-02-04 André Pönitz <poenitz@gmx.net>
3746 * BufferView.[Ch] (insertInset):
3747 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3752 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3754 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3755 on the default clause of the switch
3756 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3757 wasn't catched by LCursor::dispatch
3759 2004-02-03 André Pönitz <poenitz@gmx.net>
3762 * cursor.[Ch]: some additional asserts
3764 * undo.[Ch]: remove LyXText dependency in interface
3768 * lyxtext.h (firstPar, lastPar): remove dead functions
3773 * paragraph.[Ch]: adjust
3775 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3777 * lyxfind.C (find): fix argument order in call to ::find
3779 2004-02-02 André Pönitz <poenitz@gmx.net>
3781 * cursor.[Ch]: remove direct access to anchor
3783 * text.C: remove findText() hack
3785 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3787 * iterators.[Ch] (lockPath): remove in favour of...
3788 * BufferView.[Ch] (setCursor): this addition
3789 * BufferView.C (putSelectionAt): adjust
3790 * undo.C (performUndoOrRedo): adjust
3791 * lyxfunc.C (dispatch): adjust
3793 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3795 * iterators.C (lockPath): add a missing slice
3796 * undo.C (performUndoOrRedo): remove redundant positioning code
3798 2004-02-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3800 * vc-backend.C (scanMaster): ";" -> ';'
3802 2004-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
3804 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3805 std::binary_function
3807 * lyxtextclass.C (compare_name): rename to...
3808 (LayoutNamesEqual): ...this
3810 * lyxlex_pimpl.C (compare_tags): inherit from
3811 std::binary_function, put back into anon namespace
3813 * lyxfind.C (MatchString): inherig from std::binary_function
3814 (findChange): use empty() istead of !size()
3816 * format.C (FormatNamesEqual): new functor
3823 * converter.C (compare_Converter): rename to...
3824 (ConverterEqual): ...this, and fixup a bit.
3825 (getConverter): use it, and make function const
3826 (getNumber): use it, and make function const
3830 * bufferlist.C: add using boost::bind
3832 * MenuBackend.C (MenuNamesEqual): new functor
3833 (hasMenu): use it, and make function const
3834 (hasSubmenu): use nested bind to get rid of compare_memfun.
3836 2004-01-30 André Pönitz <poenitz@gmx.net>
3838 * BufferView_pimpl.C:
3841 * cursor_slice.[Ch]:
3844 * paragraph_funcs.C:
3845 * paragraph_funcs.h:
3849 * text3.C: move some of the edit(x,y) handling to the insets
3850 some coordinate changes.
3852 2004-01-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3854 * text.C: add using statements for std::advance and std::distance
3856 * paragraph.C: add using statement for std::distance
3858 * lyxfind.C: add using statement for std::advance
3860 * cursor.C (region): remove std:: from swap
3861 (openable): use nucleus in stead of operator->
3863 * BufferView.C: add using statements for std::distance and std::swap
3865 2004-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3867 * iterators.C: Remove the pimple, move the needed structures to
3868 the header file. Create accessor for the positions stack.
3869 (asPosIterator): remove function
3871 * PosIterator.C (PosIterator): move constructors to top of file
3872 (PosIterator): reimplement the constructor taking a ParIterator in
3874 (setFrom): new function
3875 (operator!=): inline it
3877 2004-01-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3879 * lyxfind.C (replaceAll): use std::advance
3881 * iterators.h: inherit from std::iterator.
3883 * PosIterator.C (advance, distance): remove
3884 * PosIterator.h: interit from std::iterator.
3886 2004-01-26 André Pönitz <poenitz@gmx.net>
3889 * BufferView_pimpl.[Ch]:
3893 * bufferview_funcs.C:
3903 * output_linuxdoc.C:
3904 * output_plaintext.C:
3906 * paragraph_funcs.[Ch]:
3907 * paragraph_pimpl.[Ch]:
3913 * text3.C: more IU: dumps most of the rest of the mathcursor
3914 implementation into cursor.[Ch]; "globalize" a bit of it.
3916 2004-01-25 Angus Leeming <leeming@lyx.org>
3918 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3920 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3922 * LaTeXFeatures.h: add nice_ and nice() const
3923 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3925 2004-01-20 André Pönitz <poenitz@gmx.net>
3928 * BufferView_pimpl.C:
3930 * bufferview_funcs.C:
3932 * cursor_slice.[Ch]:
3943 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3944 LCursor and mathcursor parts to LCursor and InsetBase.
3946 2004-01-15 André Pönitz <poenitz@gmx.net>
3948 * cursor_slice.[Ch]: add a few covienience functions
3950 * funcrequest.[Ch]: remove BufferView * member
3952 * BufferView_pimpl.C:
3959 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
3961 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
3963 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
3964 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3966 2004-01-13 André Pönitz <poenitz@gmx.net>
3969 * lyxtext.h: hide cursor and selection anchor behind accessor function
3972 * BufferView_pimpl.[Ch]:
3974 * bufferview_funcs.C:
3984 * cursor_slice.[Ch]: some integer type changes for inset unification
3986 * lyxcursor.[hC]: remove, it's CursorSlice now.
3989 * BufferView_pimpl.[Ch]:
3990 * bufferview_funcs.C:
3996 * textcursor.[Ch]: adjust
3998 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
4000 * text2.C (undoSpan): add and use
4001 * text.C (breakParagraph): use undoSpan (fix bug 578)
4004 2004-01-08 Angus Leeming <leeming@lyx.org>
4006 * BufferView_pimpl.C (MenuInsertLyXFile):
4007 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4008 * lyxfunc.C (menuNew, open, doImport):
4009 FileFilterList change to the FileDialog open and save functions.
4011 2004-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
4013 * ShareContainer.h: make isEqual and isUnique adaptable
4015 * CutAndPaste.C: make resetOwnerAndChanges adaptable
4017 2004-01-07 Angus Leeming <leeming@lyx.org>
4020 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
4022 * BufferView_pimpl.C (dispatch): act on these LFUNs.
4024 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
4025 functions replacing find, replace and replaceAll.
4027 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
4028 LFUN_WORDFIND(FORWARD|BACKWARD).
4030 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
4032 * text.C (breakParagraph): remove an outdated #warning
4034 2004-01-07 André Pönitz <poenitz@gmx.net>
4036 * lyxfind.C: somewhat clearer logic
4038 * text.C: prevent crash in cursorX on unitialized row cache
4040 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
4042 * lyxcursor.[Ch] (operator>): add
4043 * textcursor.C (selStart, selEnd): use std::min and std::max
4045 2004-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4047 * Chktex.C: include boost/format.hpp
4049 2004-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
4051 * InsetList.C: replace functor MathcIt with adaptable functor
4053 (insetIterator): modify accordingly
4055 * BranchList.h: move the BranchNamesEqual functor here from...
4056 * BranchList.C: ... to here
4058 * BranchList.C: new BranchListEqual fuctor, use it. Remove
4060 (add): replace a finding loop with std::find_if.
4062 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
4064 * output_docbook.C: moving LatexParam functionality into
4067 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4069 * buffer.C: increment format to 229.
4071 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
4074 * lyx_sty.[Ch]: remove minipageindent_def
4080 * text3.C: remove LFUN_INSET_MINIPAGE
4082 2003-12-28 Angus Leeming <leeming@lyx.org>
4084 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
4086 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
4088 * text2.C (setParagraph): fix off-by-one crash
4090 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
4092 * output_docbook.C: header stuff for AGU
4094 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
4096 * text2.C (redoCursor): remove
4099 * BufferView_pimpl.C: remove calls to redoCursor and
4100 setCursor(cursor.par(), cursor.pos()) all around
4102 2003-12-15 Angus Leeming <leeming@lyx.org>
4104 * buffer.C: up the format to 228.
4106 2003-12-15 André Pönitz <poenitz@gmx.net>
4108 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
4113 * BufferView_pimpl.C:
4122 2003-12-15 Angus Leeming <leeming@lyx.org>
4124 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
4125 than getFromGUIName to manipulate the color.
4127 2003-12-14 Angus Leeming <leeming@lyx.org>
4129 * BranchList.[Ch]: minimize the API.
4130 (Branch::getBranch, getColor): now return a 'const &'.
4131 (Branch::setSelected) now returns a bool set to true if the
4132 selection status changes.
4133 (BranchList::clear, size, getColor, setColor, setSelected,
4134 allBranches, allSelected, separator): removed.
4135 (BranchList::find): new functions, returning the Branch with
4137 (BranchList::add, remove): return a bool indicating that
4138 the operation was successful.
4140 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
4141 new InsetBranch::isBranchSlected member function.
4143 * LColor.[Ch]: mimimize the API.
4144 (fill): renamed as addColor and made private.
4145 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
4146 versions of these functions taking a string arg have been removed.
4148 * bufferparams.C (readToken):
4149 * lyxfunc.C (dispatch):
4150 * lyxrc.C (read): changes due to the altered BranchList and
4153 * factory.C (createInset, readInset): changes due to altered
4156 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4159 * lyxfunc.C: remove insetminipage. "minipage-insert"
4160 now produces a frameless minipage box inset.
4162 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4164 * textcursor.[Ch] (selStart,selEnd): add new methods
4165 remove selection::start, end, use LyXCursor::operator<
4166 * lyxcursor.[Ch] (operator<): add
4167 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
4168 * BufferView.[Ch] (unsetXSel): add
4169 * text2.C (clearSelection): use unsetXSel,adjust
4172 * rowpainter.C: adjust
4173 * bufferview_funcs.C (put_selection_at): adjust
4175 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4177 * BufferView_pimpl.C: small coord. correction
4179 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4181 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
4182 dragging over the splash screen.
4184 2003-12-11 Angus Leeming <leeming@lyx.org>
4186 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
4187 as it is now handled in LyXText::dispatch.
4189 * text3.C (doInsertInset): remove a level of nesting.
4191 2003-12-11 Angus Leeming <leeming@lyx.org>
4193 * factory.C (createInset): changes due to the changed interface to
4194 InsetCommandMailer::string2params.
4196 2003-12-10 Angus Leeming <leeming@lyx.org>
4198 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
4199 'dialog-show-new-inset <inset name>'
4201 2003-12-10 Angus Leeming <leeming@lyx.org>
4203 * buffer.C: up the format to 227.
4205 * factory.C: the box inset is now identified simply by 'Box'.
4207 2003-12-10 Angus Leeming <leeming@lyx.org>
4209 * buffer.C: up the format to 226.
4211 * factory.C: the note inset is now identified simply by 'Note'.
4213 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
4215 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
4216 when a pit is enough. Standarize a couple of loops.
4218 2003-12-05 Angus Leeming <leeming@lyx.org>
4220 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
4221 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
4222 data to the re-worked "log" dialog.
4224 2003-12-03 André Pönitz <poenitz@gmx.net>
4230 * paragraph_funcs.C:
4232 * text2.C: use Inset::getText instead of Inset::getParagraph
4234 2003-12-03 André Pönitz <poenitz@gmx.net>
4238 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
4239 InsetText::read() as LyXText::read()
4241 2003-12-02 Angus Leeming <leeming@lyx.org>
4243 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
4244 type. Add a comment in the implementation that the function uses
4245 the stream's bad() function rather than fail() as the std::streams
4248 2003-12-02 André Pönitz <poenitz@gmx.net>
4250 * lyxlex.[Ch]: make interface more similar to std::stream
4252 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
4254 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
4256 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
4258 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
4260 * vspace.[Ch]: remove VSpace::NONE
4262 2003-12-01 André Pönitz <poenitz@gmx.net>
4265 * lyxtext.h: move ParagraphList member to LyXText
4266 rename LyXText::ownerParagraphs to LyXText::paragraph
4269 * bufferview_funcs.C:
4279 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
4281 * undo.C: fix cursor positioning
4283 2003-12-01 John Levon <levon@movementarian.org>
4285 * BufferView_pimpl.C: fix a crash on exit with
4288 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
4290 * BranchList.C: fix setSelected() method.
4292 2003-11-28 André Pönitz <poenitz@gmx.net>
4294 * ParagraphParameters.[Ch]:
4295 * ParameterStruct.h: remove space above/below from Paragraph to
4298 * BufferView_pimpl.C:
4304 * paragraph_funcs.C:
4310 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
4312 * factory.C: Syntax change for CharStyles
4314 2003-11-28 André Pönitz <poenitz@gmx.net>
4319 * buffer.[Ch]: move LyXText member
4321 2003-11-28 André Pönitz <poenitz@gmx.net>
4323 * BufferView.[Ch]: make LyXText * text a private member
4325 * BufferView_pimpl.C:
4336 * output_plaintext.C: cleanup
4338 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
4341 * lyxtextclass.[Ch]: parametrize SGML document header
4343 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
4346 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4349 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
4351 * text2.C (setFont): rework using PosIterator (no more recursive)
4352 (setCharFont): no more needed
4353 (setLayout): no more selection cursors fiddling (done by redoCursor)
4354 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4355 destroy remaining ones)
4357 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
4359 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4361 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4364 * text3.C: adjust + re-allow multi par depth changes
4365 * textcursor.C: simplify a bit
4367 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
4373 * src/output_docbook.C:
4374 * src/output_latex.C:
4379 * src/text2.C: Introducing a number of tags parametrizing various
4380 XML formats that we may want to support
4382 2003-11-25 André Pönitz <poenitz@gmx.net>
4384 * InsetList.[Ch] (begein, end): inline as suggested by profiler
4386 * lyxtext.h (leftMargin/rightMargin): simplify interface
4393 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4395 * lyxfunc.C (dispatch): propogate the bibtex databases from the
4396 master file to any child files. Fixes bug 546.
4398 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4400 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4402 2003-11-24 André Pönitz <poenitz@gmx.net>
4404 * rowpainter.C: simplification
4406 * text2.C (updateCounters): remove call to redoParagraph on
4407 changed labels as this is far too expensive.
4409 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4411 * converter.C (convert): fix a crash: this function gets
4412 called with buffer == 0 from importer code.
4414 2003-11-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4416 * text3.C (cursorPrevious): make sure that we do not compare
4417 iterators form different containers.
4420 * rowpainter.C (paintSelection): make sure that we do not compare
4421 iterators from different containers.
4423 * text3.C (dispatch): [PRIOR] make sure that we do not compare
4424 iterators from different ParagraphList containers.
4427 * text2.C (LyXText): change order of initialization slightly
4428 (operator=): new function. copy all variables except cache_par_
4429 (moveUp): make sure that we do not compare iterators from
4430 different ParagraphList constainers.
4433 * text.C (firstPar): new function
4434 (lastPar): new function
4435 (endPar): new function
4437 * lyxtext.h: move things around and group public functions, public
4438 variables, private functions, private variables
4440 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
4442 * factory.C: change call to InsetERT constructor to avoid
4443 additional invocation of method status
4444 * text2.C (toggleInset): remove redundant update() call
4445 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4446 instead of a Bufferview pointer
4448 2003-11-21 André Pönitz <poenitz@gmx.net>
4450 * rowpainter.C: simplification
4452 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4454 * text3.C (dispatch): make possible to extend a word/row selection
4457 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4459 * lyxtext.h: x0_,y0_ -> xo_,yo_
4460 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4461 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4462 * rowpainter.C (paintRows): paint full paragraphs
4464 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4466 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4469 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4471 * lyxtext.h: add x0_, y0_
4472 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4473 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4475 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
4477 * text2.C (setCursorIntern): move the x_target update here *
4478 * text3.C: change some bv() to true/false in calls to
4479 cursorUp/Down/Right/Left
4480 * cursor.C: use helper function.
4482 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4484 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4485 * paragraph_funcs.[Ch]: correct comment
4486 * rowpainter.C: do not paint selections away from bv->cursor()
4487 Fix a long standing selection painting bug.
4488 * text3.C: generalize mouse-selection code to LyXTexts other that
4490 * textcursor.C: do not use y coords if we can use par offsets
4492 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4494 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4495 cursor position after e.g. inset insert)
4497 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
4499 * lyxfind.C (replace): adjust to locking removal + some
4502 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
4504 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4507 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
4510 * output_docbook.C: XML sanitation: new layout
4511 parameters InnerTag and CommandDepth
4513 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
4515 * BufferView_pimpl.C:
4517 * text3.C: Fix the insertion and modification of button-style
4520 2003-11-13 André Pönitz <poenitz@gmx.net>
4522 * InsetList.[Ch]: remove deleteLyXText
4524 * paragraph.[Ch]: cache beginOfBody position
4529 * text3.C: remove superfluous update() calls
4533 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
4535 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4536 * BufferView.C (fitLockedInsetCursor): remove
4537 * cursor.[Ch] (getDim): add
4538 * text.C (getRowNearY): add faster version
4539 * text3.C: remove some update calls
4541 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
4553 * text3.C: The Character Style /XML short element patch.
4555 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
4558 * factory.C: Small step to solving 'unable to insert some insets'
4561 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
4563 * cursor.[Ch] (updatePos): new function for updating the y
4564 position of the tip inset
4565 * bufferview_funcs.C (put_selection_at):
4566 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4568 2003-11-11 André Pönitz <poenitz@gmx.net>
4570 * text.C: remove big comment on invalid Paragraph pointers as it is
4573 2003-11-11 André Pönitz <poenitz@gmx.net>
4575 * text_funcs.[Ch]: merge with ...
4583 * Makefile.am: remove text_funcs.[Ch]
4585 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
4587 * cursor.C (getPos): return absolute cached y coord
4589 * BufferView_pimpl.C (fitCursor): new simplistic code
4590 (workAreaDispatch): add a fitCursor call
4592 2003-11-10 André Pönitz <poenitz@gmx.net>
4595 * BufferView_pimpl.[Ch]: merge update() and updateInset()
4597 2003-11-10 André Pönitz <poenitz@gmx.net>
4599 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4600 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4601 indicate that the cursor needs to leave an inset
4603 * lyxtext.h: remove inset locking
4605 * cursor.[Ch]: re-implement functionality provided by inset locking
4608 * BufferView_pimpl.[Ch]:
4610 * bufferview_funcs.[Ch]:
4622 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
4624 * PosIterator.[Ch]: replace the stack with a vector, add inset
4626 * iterators.[C]: adjust
4628 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4630 * lyxfind.C (replaceAll): mark the buffer dirty if something was
4632 * paragraph_funcs.C (readParToken): put the correct id in the
4633 error item, not the id of the top paragraph
4635 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4637 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4638 * bufferview_funcs.C (put_selection_at): use the above
4640 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4642 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4644 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4646 * output_linuxdoc.h:
4647 * output_plaintext.h:
4649 * output_docbook.h: add #include statements
4651 2003-11-05 José Matos <jamatos@lyx.org>
4653 * output_docbook.[Ch]:
4654 * output_latex.[Ch]:
4655 * output_linuxdoc.[Ch]:
4656 * output_plaintext.[Ch]: New files for output formats.
4657 * output.[Ch]: New file for helper functions.
4660 * paragraph_funcs.[Ch]: output functions moved to new files.
4662 * outputparams.h: rename of latexrunparams.h
4670 * paragraph_funcs.[Ch]:
4671 * paragraph_pimpl.[Ch]:
4672 * tabular.[Ch]: rename ascii to plaintext
4673 and LatexRunParams to OutputParams.
4675 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4677 * iterators.[Ch] (text): require bv argument
4678 * undo.C (recordUndo):
4679 * lyxfunc.C (dispatch):
4680 * bufferview_funcs.C (put_selection_at): adjust
4682 2003-11-05 Jo� Luis M. Assirati <assirati@fma.if.usp.br>
4684 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4686 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4688 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4691 2003-11-04 André Pönitz <poenitz@gmx.net>
4693 * cursor.[Ch]: restructure
4696 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4698 * iterators.[Ch] (asCursor): remove
4700 * lfuns.h: remove LFUN_INSET_EDIT
4706 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4708 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4710 * lyxfind.[Ch]: complete overhaul
4711 * BufferView_pimpl.C:
4713 * paragraph.[Ch] (insert): add
4715 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4719 * text.C: remove dead spellcheck code
4721 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4723 * dispatchresult.h: add a val setter
4725 * cursor.C (dispatch): use a tempvar for data_[i]
4727 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4729 * PosIterator.[Ch]: compile fix
4731 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4733 * text.C (cursorPar): deactivate the cursor cache
4735 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4737 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4739 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4741 * text3.C (dispatch): adjust for new DisptchResult semantics.
4743 * lyxfunc.C (dispatch): handle update when return from
4744 Cursor::dispatch, adjust for new DispatchResult semantics.
4746 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4747 DispatchResult(true) mean to not update. Add class functions for
4748 setting dispatched and update, as well as reading.
4750 * cursor.C (dispatch): don't handle update here
4752 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4754 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4755 * trans_mgr.C: adjust
4757 * paragraph_funcs.C (readParToken): exception safety
4759 * lyxvc.h: store the vcs pointer in a scoped_ptr
4762 * lyxsocket.C (serverCallback): exception safety
4764 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4766 * ispell.C (clone): make it return a auto_ptr
4768 * factory.C (createInset): exception safety
4769 (readInset): exception safety
4771 * bufferlist.C (newBuffer): exception safety
4773 * Thesaurus.C (Thesaurus): use initialization for aik_
4775 * MenuBackend.C (expandToc): exception safety.
4777 2003-11-03 André Pönitz <poenitz@gmx.net>
4781 * bufferview_funcs.C: remove getInsetFromId()
4784 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4790 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4792 * PosIterator.C (distance, advance): new
4793 * bufferview_funcs.[Ch] (put_selection_at): new
4794 * iterators.[Ch] (lockPath): new
4796 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
4798 * iterators.[Ch] (asPosIterator): added
4799 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4800 * PosIterator.[Ch]: added
4802 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4806 * cursor.C (dispatch):
4807 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4809 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4810 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4811 contructor, add a class function dispatched. Remove operator>=
4813 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4815 * debug.C: only use the default constructor for debugstream
4818 * main.C (main): include debug.h and setup the lyxerr streambuf
4821 2003-10-31 José Matos <jamatos@lyx.org>
4823 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4825 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4826 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4827 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4828 * paragraph_pimpl.C (simpleTeXSpecialC):
4829 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4830 add LatexRunParams argument.
4832 * exporter.C (Export): change call accordingly.
4834 * latexrunparams.h: add new member to take care of the other backends.
4835 2003-10-30 José Matos <jamatos@lyx.org>
4837 * buffer.C (makeLinuxDocFile, makeDocBookFile):
4838 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4839 factorise code for paragraph output.
4841 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4844 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4846 * text3.C (dispatch):
4847 * lyxfunc.C (dispatch):
4848 * cursor.C (dispatch):
4849 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4851 * dispatchresult.h: make the dispatch_result_t ctor explicit
4853 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
4856 * buffer.C: small refactoring of docbook stuff
4858 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4860 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4863 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4865 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4866 operator dispatch_result_t, and operators for == != and >=
4868 * cursor.C (dispatch): adjust for operator dispatch_result_t
4869 removal. comment out call to update
4871 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4873 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4881 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4884 * dispatchresult.h: new file, DispatchResult broken out of
4887 * Makefile.am (lyx_SOURCES): add dispatchresult.h
4889 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4891 * text.C (rowBreakPoint): put a hack inside #if 0
4893 2003-10-28 André Pönitz <poenitz@gmx.net>
4897 * paragraph_funcs.C:
4900 * text2.C: general cleanup (lots of small stuff)
4902 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4904 * text2.C (cursorEnd): simple fix to the "end key goes to one
4905 before the end on last row" bug
4907 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4909 * text.C (backspace): fix the "zombie characters"
4911 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4913 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4915 2003-10-27 André Pönitz <poenitz@gmx.net>
4917 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4919 * factory.C: handle new InsetPagebreak, InsetLine
4921 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4922 and move handling into new InsetPagebreak, InsetLine
4924 * BufferView_pimpl.C:
4926 * ParagraphParameters.C:
4927 * ParameterStruct.h:
4932 * paragraph_funcs.C:
4933 * paragraph_pimpl.C:
4939 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4942 * lyxrow_funcs.[Ch]:
4948 * text3.C: remove lastPos uses in favour of Row::endpos
4950 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4952 * undo.C (performUndoOrRedo): fix two crashes by setting a
4953 cursor by hand and reordering some calls. Use bv->lockInset instead
4954 of inset->edit because the latter loses cursor information
4956 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
4958 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4960 (rowBreakPoint): fix width. change point to point + 1.
4961 Add a missing check.
4963 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
4966 * lyxfunc.C: fix (at least partly) the problems
4967 with the Nav menu and headers inside branch insets
4970 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
4972 * paragraph.C (getChar): add strong asserts
4974 * lyxrow_funcs.C (lastPos): remove hideous hack
4976 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4977 (fill): adjust to that (avoid an infinite loop)
4979 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
4981 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4983 2003-10-23 André Pönitz <poenitz@gmx.net>
4985 * RowList_fwd.h: change list<> to vector<> to gain speed
4986 after suggestion from Alfredo
4988 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
4990 * lyxtext.h: move the bidi stuff from here...
4993 * Bidi.[Ch]: ... to here
4995 2003-10-23 André Pönitz <poenitz@gmx.net>
4998 * text.C (isLastRow, isFirstRow): new functions
5000 * paragraph.h: new width cache member
5002 * rowpainter.C: replace RowList::iterator with Row & where possible
5004 * lyxfunc.C: replace several view()->text with a single call
5006 * toc.C: fix 'unused' warning
5008 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5010 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
5011 when woring with stream::pos_type
5012 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
5014 2003-10-22 André Pönitz <poenitz@gmx.net>
5017 * text.C: use Row & instead of RowList::iterator
5019 * lyxrow.h: rename end() to endpos()
5025 2003-10-22 Angus Leeming <leeming@lyx.org>
5027 * buffer.[Ch] (fully_loaded): new member function, returning true
5028 only when the file has been loaded fully.
5029 Used to prevent the premature generation of previews and by the
5030 citation inset to prevent computation of the natbib-style label.
5032 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
5033 templates are all set up.
5035 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
5037 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
5039 * text.C: fixed an "oops" in the "is a bit silly"
5042 2003-10-21 André Pönitz <poenitz@gmx.net>
5044 * FuncStatus.[Ch]: small stuff, whitespace
5046 * lyxfont.[Ch]: operator<<() for debug reasons
5050 * lyxtext.h: whitespace, spelling
5052 * paragraph.C: naming of variables
5055 * text2.C: small stuff
5058 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
5060 * text.C: (1) finish off the inset display() work;
5061 (2) fix the "is a bit silly" bug (accessing char
5064 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
5066 * text.C: re-introduce display() for insets, fixing the
5067 various bugs (stretch of line above, math inset
5070 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5072 * text.C (rightMargin): remove spurious semicolon
5074 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
5077 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
5079 * text3.C: fix one crash due to wrong cursor def
5081 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5083 * vc-backend.C (scanMaster): make the regex static
5085 * LaTeX.C (scanAuxFile): make the regexs static
5087 * text3.C (doInsertInset, dispatch, dispatch):
5088 * text2.C (cursorUp, cursorDown):
5089 * text.C (selectNextWordToSpellcheck):
5090 * BufferView_pimpl.C (dispatch):
5091 * lyxfunc.C (dispatch): localDispatch -> dispatch
5093 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5095 * lyxsocket.C: include <cerrno>
5097 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5099 * lyxfunc.C (dispatch): remove textcache stuff
5101 * bufferlist.C (release): remove textcache stuff
5104 * TextCache.C: delete file
5105 * TextCache.h: delete file
5107 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
5109 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
5110 delete of the bv_->text.
5111 (resizeCurrentBuffer): remove texcache stuff
5112 (workAreaResize): ditto
5114 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5116 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
5119 2003-10-16 André Pönitz <poenitz@gmx.net>
5126 * text3.C: speed up by storing y positions per paragraph plus per-row
5127 offset instead of having a 'full' y position in the row.
5129 2003-10-15 André Pönitz <poenitz@gmx.net>
5133 * undo.[Ch]: make undo aware of inner insets
5135 2003-10-14 Angus Leeming <leeming@lyx.org>
5137 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
5138 static member functions LyX::ref() and LyX::cref.
5139 (lastfiles): new accessor functions for the new lastfiles_ member var.
5140 (addLyXView, views_): add a new LyXView to the list of views_.
5141 (updateInset): loop over all LyXViews to call their own updateInset
5142 member function, returning a pointer to the Buffer owning the inset.
5144 * BufferView_pimpl.C (loadLyXFile):
5145 * MenuBackend.C (expandLastfiles):
5146 * bufferlist.C (MenuWrite, QuitLyX):
5147 lastfiles is no longer a global variable.
5148 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
5150 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
5151 static function. Access through LyX::cref().emergencyCleanup().
5153 2003-10-14 André Pönitz <poenitz@gmx.net>
5155 * iterators.[Ch]: new direct access to innermost LyXText and Inset
5157 * undo.[Ch]: restoring part of 'undo in insets'
5160 * undo_funcs.[Ch]: merge with undo.[Ch]
5162 * tabular.C: small cleansing stuff
5164 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
5166 * paragraph_funcs.C (readParToken): report unknown insets as error
5167 boxes. Use the outer paragraph as location (also for unknown
5170 * factory.C (readInset): do not abort on reading an unknown inset.
5171 Eat it and return 0.
5173 2003-10-13 Angus Leeming <leeming@lyx.org>
5175 * lyx_main.C (LyX): remove call to setDisplayTranslator().
5177 * lyxrc.C: displayTranslator is now a function,
5178 declared in GraphicsTypes.h.
5180 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5182 * format.C: new placeholder $$a to pass the socket address.
5184 * bufferlist.[Ch]: new function getBufferFromTmp.
5186 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
5187 files in the temporary dir.
5189 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5191 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
5193 * Makefile.am: add lyxsocket.[Ch].
5195 * lyx_main.C (error_handler): handle SIGPIPE.
5197 2003-10-13 André Pönitz <poenitz@gmx.net>
5199 * BufferView_pimpl.C:
5204 * undo_funcs.[Ch]: use paroffset_type instead of
5205 ParagraphList::iterators to prevent multiple conversion
5206 (and get a more robust interface)
5208 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5210 * lyxfunc.C (dispatch): RESULT -> dispatch_result
5212 * text3.C (dispatch): ditto
5214 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5216 * LaTeX.C (handleFoundFile): move the static to smaller scope,
5217 move the onlyfile, use onlyfile instead of foundfile in a couple
5220 * DepTable.C (update): flush the error stream a bit more
5222 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5224 * lyxserver.C (callback): adjust
5226 * lyxfunc.C (getStatus): add a missing brace in commented code
5227 (ensureBufferClean): reindent
5228 (dispatch): delete version taking a string
5230 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5232 * LaTeX.C (deplog): move found file handlig from here...
5233 (handleFoundFile): .. to new function here.
5234 (deplog): make sure to discover several files mentioned on the
5237 2003-10-10 André Pönitz <poenitz@gmx.net>
5244 * text3.C: fix some of the tabular crashes
5246 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5248 * MenuBackend.C (binding): put debug message into Debug::KBMAP
5250 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
5252 2003-10-09 André Pönitz <poenitz@gmx.net>
5254 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
5257 * BufferView_pimpl.C:
5258 * bufferview_funcs.C:
5269 * undo_funcs.C: adjust
5271 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5273 * text2.C (incrementItemDepth): new function, use a backtracking
5274 algorithm to discover the correct item depth.
5275 (resetEnumCounterIfNeeded): new function, use a backtracking
5276 algorithm to discover if counter reset is needed.
5277 (setCounter): use them. Simplify a bit. Add different labels for
5278 different item depths for itemize.
5280 * paragraph.C (Paragraph): remove initialization of enumdepth
5283 * paragraph.h: get rid of enumdepth, and use itemdepth both for
5284 enumerate and itemize. Change the type of itemdepth to signed char.
5286 2003-10-08 André Pönitz <poenitz@gmx.net>
5288 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5293 * tabular.[Ch]: fix crash after 'row-insert'
5295 2003-10-08 Angus Leeming <leeming@lyx.org>
5297 Fix doxygen warnings.
5299 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5300 Remove CutAndPaste:: prefix from header file declaration.
5302 * LColor.h (fill): remove LColor:: prefix from declaration.
5304 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5305 use lyx::depth_type rather than Paragraph::depth_type so that
5306 header file and .C file match.
5308 * converter.h (intToFormat): remove Converters:: prefix from declaration.
5310 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5311 * aspell.C: \file aspell_local.C -> \file aspell.C
5312 * gettext.C: \file gettext.C -> \file src/gettext.C
5313 * gettext.h: \file gettext.h -> \file src/gettext.h
5314 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5315 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5316 * text.C: \file text.C -> \file src/text.C
5318 * toc.C: move comment so that doxygen is not confused.
5320 2003-10-07 Angus Leeming <leeming@lyx.org>
5322 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5324 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5327 * aspell_local.h: add forgotten std::string's.
5329 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
5336 * text3.C: The Box patch. Fancybox support, minipage, parbox
5338 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
5344 * ParagraphParameters.h:
5354 * lyxtextclasslist.h:
5357 * paragraph_pimpl.C:
5358 * textcursor.h: add <string> and other small fixes to make Lars'
5359 std::string patch compile with STLport.
5361 2003-10-06 Angus Leeming <leeming@lyx.org>
5363 * LColor.h: Add missing #include <string>.
5365 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5367 * All most all file in all subdirs: Make <string> be the prefered
5368 way of getting to std::string, add using declarations.
5370 2003-10-06 André Pönitz <poenitz@gmx.net>
5372 * metricsinfo.C: initialize LyXFont before changing attribute.
5373 (fixes the 'math in \emph is upright' bug)
5375 2003-10-06 André Pönitz <poenitz@gmx.net>
5377 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5379 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
5382 * paragraph_pimpl.C: Small fixes to build using STLport
5384 2003-10-02 André Pönitz <poenitz@gmx.net>
5387 * text3.C: move handling of LFUN_DEPTH *; fix #1360
5389 2003-10-01 André Pönitz <poenitz@gmx.net>
5391 * factory.C: assert early
5393 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5395 * lyx_main.C: remove the global debug object
5397 * debug.h: adjust for new debugstream
5399 * debug.C: adjust for new debugstream and keep the global debug
5402 2003-09-22 Angus Leeming <leeming@lyx.org>
5404 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5405 of g++ which otherwise complain that the scoped_ptr destructor can't delete
5406 an incomplete class LyXFont.
5408 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
5410 * factory.C: bug fix in branches
5412 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5414 * lyxfunc.C (processKeySym): adjust
5416 (dispatch): change arg name from ev to func, adjust
5417 (sendDispatchMessage): ditto
5419 * lyx_main.C (defaultKeyBindings): adjust keybindings
5420 (deadKeyBindings): ditto
5422 * kbsequence.C (addkey): return a FuncRequest
5424 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5426 * kbmap.C (bind): take a FuncRequest as arg, adjust
5429 (defkey): change to take a FuncRequest as arg, adjust
5430 (findbinding): take a FuncRequest as arg, adjust.
5432 * funcrequest.h (operator=): added
5434 * funcrequest.C (FuncRequest): default kb_action changed from
5435 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5437 * buffer.C (dispatch): simplify
5438 (dispatch): adjust to take a FuncRequest as arg, adjust
5440 * boost.C (assertion_failed): change assertion message slightly
5442 * ToolbarBackend.C (read): simplify
5444 * MenuBackend.C (binding): adjust call to findbinding, add a
5445 message if no binding is found.
5447 (expandToc): correct by adding a empty FuncRequest
5449 * LyXAction.C: include <boost/assert.hpp>
5450 (isPseudoAction): delete function
5451 (LookupFunc): change name to...
5452 (lookupFunc): this. change return type to FuncRequest.
5453 (getActionName): take kb_action as arg, simplify
5454 (funcHasFlag): add an assert, simplify.
5456 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5458 * toc.C (action): return a FuncRequest, simplify
5460 * lyxfunc.C (processKeySym): adjust
5461 (getStatus): delete version that takes an int.
5463 (dispatch): delete version that takes action as int
5465 (sendDispatchMessage): simplify and adjust
5467 * funcrequest.C (getArg): take unsigned int as arg
5469 * ToolbarBackend.C (read): adjust
5470 (add): delete version that takes func as a string.
5471 (getIton): take a FuncRequest as arg
5473 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5476 * MenuBackend.C (MenuItem): add a new construct that only takes a
5477 Kind, simplify the constructor use for submenus.
5479 (expandLastfiles): adjust
5480 (expandDocuments): adjust
5481 (expandFormats): adjust
5482 (expandFloatListInsert): adjust
5483 (expandFloatInsert): adjust
5484 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5486 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5487 Remove class variables lyx_pseudo_map and lyx_arg_map
5489 * LyXAction.C (searchActionArg): delete function
5490 (getPseudoAction): delete function
5491 (retrieveActionArg): delete function
5492 (LookupFunc): make it return kb_action, simplify.
5493 (getActionName): simplify
5495 * factory.C (createInset): fix new bug
5497 2003-09-19 Angus Leeming <leeming@lyx.org>
5499 * CutAndPaste.C (pasteSelection): remove fudge used to set the
5500 masterFilename_ parameter in the include inset.
5502 * factory.C (createInset): changes due to the changes to InsetInclude.
5504 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5506 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5508 2003-09-18 Angus Leeming <leeming@lyx.org>
5511 * BufferView.C: pass the buffer when calling Inset::getLabelList,
5512 Inset::fillWithBibKeys.
5513 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5515 2003-09-18 Angus Leeming <leeming@lyx.org>
5517 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5519 (ctor): pass and store a 'Buffer const &'
5520 (buffer): new member function.
5522 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5523 '*this' to the LaTeXFeatures ctor.
5525 2003-09-18 Angus Leeming <leeming@lyx.org>
5531 * text.C: rename EnumLColor as LColor_color.
5533 2003-09-18 Angus Leeming <leeming@lyx.org>
5535 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5536 remove #include "insets/insetbase.h" from cursor.h.
5538 2003-09-18 Angus Leeming <leeming@lyx.org>
5540 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5541 InsetOld_code to remove #include "inset.h".
5543 * iterators.C: add #include "insets/inset.h"
5545 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
5547 * BufferView.C: remove more locking stuff that apparently doesn't
5548 do anything sensible.
5550 2003-09-16 André Pönitz <poenitz@gmx.net>
5553 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5556 2003-09-16 Angus Leeming <leeming@lyx.org>
5558 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5560 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5563 * paragraph.h: remove #include "lyxfont.h". Forward declare
5566 2003-09-16 Angus Leeming <leeming@lyx.org>
5568 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5569 of support/textutils.h.
5570 (isWord): move the contents of support/textutils.h's IsWordChar here.
5576 * text2.C: add #include "paragraph.h".
5579 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5581 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5587 * LaTeX.C: use namespace alias for lyx::support::os
5589 2003-09-16 Angus Leeming <leeming@lyx.org>
5592 * bufferview_funcs.C:
5595 * paragraph_pimpl.C:
5597 * text.C: add #include "LColor.h".
5599 2003-09-16 Angus Leeming <leeming@lyx.org>
5601 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5602 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5604 Store the FontBits::color variable as an int rather than as an
5605 LColor::colorso that we can move LColor.h out of the lyxfont.h header
5608 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5609 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5610 string calls together.
5612 * lyxrc.C: add #include "LColor.h".
5614 2003-09-15 Angus Leeming <leeming@lyx.org>
5616 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5619 2003-09-15 Angus Leeming <leeming@lyx.org>
5621 * LColor.h: add an EnumLColor wrapper for LColor::color.
5623 * lyxfont.[Ch] (color, setColor, realColor):
5624 * lyxtext.h, text.C (backgroundColor):
5625 pass EnumLColor args to/from the functions, rather than LColor::color
5629 * lyxtext.h: forward declare EnumLColor.
5631 * lyx_main.C: add #include "LColor.h".
5633 2003-09-15 Angus Leeming <leeming@lyx.org>
5635 * .cvsignore: add lyx-gtk.
5637 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5642 * ParagraphParameters.C
5646 * bufferview_funcs.C
5656 * vc-backend.C: remove usage of STRCONV
5658 2003-09-15 Angus Leeming <leeming@lyx.org>
5660 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5661 explicitly define the color passed to the painter.
5663 2003-09-15 Angus Leeming <leeming@lyx.org>
5665 * bufferparams.C (BufferParams): reorder member initializers to avoid
5668 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
5670 * CutAndPaste.C (pasteSelection): remove an outdated #warning
5671 * text.C (updateRowPositions): remove an unusual nop
5673 2003-09-12 André Pönitz <poenitz@gmx.net>
5675 * BufferView_pimpl.C:
5684 * Counters.[Ch]: finish the 'automatic counters' job
5686 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5688 * aspell.C: include <boost/assert.cpp> (compile fix)
5690 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
5692 * boost.C (assertion_failed): use lyx::support::abort instead of
5695 2003-09-10 Angus Leeming <leeming@lyx.org>
5697 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5698 with their _fwd progeny.
5700 2003-09-09 Angus Leeming <leeming@lyx.org>
5702 134 files throughtout the source tree: replace 'using namespace abc;'
5703 directives with the appropriate 'using abc::xyz;' declarations.
5705 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5707 * boost.C (emergencyCleanup): moved here from LAssert.c
5708 (assertion_failed): new function, called by BOOST_ASSERT
5710 * several files: change Assert to BOOST_ASSERT
5712 2003-09-09 Angus Leeming <leeming@lyx.org>
5714 * buffer.[Ch]: Add an Impl class and move Buffer's member
5715 variables into it. As a result move several header files out of
5718 Add header files to lots of .C files all over the tree as a result.
5720 2003-09-09 Angus Leeming <leeming@lyx.org>
5722 * buffer.[Ch]: make Buffer's member variables private. Add
5725 Lots of changes all over the tree as a result.
5727 2003-09-08 Angus Leeming <leeming@lyx.org>
5729 * graph.C: #include <config.h>.
5731 2003-09-08 Angus Leeming <leeming@lyx.org>
5735 * BufferView_pimpl.C:
5764 * toc.C: remove redundant using directives.
5766 2003-09-07 Angus Leeming <leeming@lyx.org>
5768 * LaTeXFeatures.h: remove #include "support/types.h".
5769 * ToolbarBackend.h: remove #include <algorithm>.
5770 * changes.h: remove #include <ctime>.
5771 * debug.h: remove #include <iosfwd>.
5772 * graph.h: remove #include "support/std_string.h".
5773 * lyx_main.h: remove #include <csignal>.
5774 * lyxlex_pimpl.h: remove #include <fstream>.
5775 * sgml.h: remove #include <algorithm>, <utility>.
5776 * toc.h: remove #include "support/std_ostream.h".
5777 Add #include <iosfwd>.
5779 2003-09-07 Angus Leeming <leeming@lyx.org>
5781 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5783 * converter.h: forward declare LatexRunParams.
5784 * encoding.h: remove #include "lyxrc.h".
5785 * lyxtext.h: remove #include "LColor.h".
5786 * lyxtextclass.h: remove #include "support/types.h".
5787 * trans.h: remove #include "tex-accent.h".
5788 * trans_mgr.h: remove #include "tex-accent.h".
5789 * insets/inset.h: remove #include "support/types.h", <vector>.
5790 * insets/insetcollapsable.h: remove #include "LColor.h".
5791 * insets/insetinclude.h: remove #include "dimension.h".
5792 * insets/insetlatexaccent.h: remove #include "dimension.h".
5793 * insets/insetoptarg.h:: remove #include "insettext.h".
5794 * insets/insettext.h: remove #include "dimension.h",
5795 <boost/shared_ptr.hpp>
5797 * insets/renderers.h: add #include "dimension.h".
5798 * insets/updatableinset.h: add #include "support/types.h".
5800 * many .C files: Associated changes.
5802 2003-09-06 Angus Leeming <leeming@lyx.org>
5804 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5805 one, inside testInvariant.
5807 * PrinterParams.C: new file.
5808 * PrinterParams.[Ch]: move the function bodies out of line.
5810 2003-09-06 Angus Leeming <leeming@lyx.org>
5812 * ParagraphParameters.h: forward declare ParameterStruct rather than
5813 including its header file.
5814 (depth): moved out-of-line.
5816 2003-09-06 Angus Leeming <leeming@lyx.org>
5818 * BufferView_pimpl.h:
5821 * lyxfunc.h: forward declare LyXKeySym rather than
5822 #include "frontends/LyXKeySym.h".
5824 * BufferView_pimpl.C:
5827 * lyxfunc.C: associated changes.
5829 2003-09-06 Angus Leeming <leeming@lyx.org>
5831 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5832 As a result, can remove the #include "insets/inset.h" from BufferView.h
5834 2003-09-06 Angus Leeming <leeming@lyx.org>
5836 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5837 As a result, can remove the #include "insets/inset.h" from BufferView.h
5839 2003-09-06 Angus Leeming <leeming@lyx.org>
5845 * bufferview_funcs.C:
5846 * BufferView_pimpl.C:
5851 * ParagraphParameters.C:
5856 * frontends/controllers/ControlDocument.C:
5857 * insets/insetcaption.C: rearrange the #includes into some sort of
5860 * buffer.h: remove #includes ErrorList.h, undo.h
5862 2003-09-06 Angus Leeming <leeming@lyx.org>
5864 * support/types.h: add a 'depth_type' typedef, used to store the
5865 nesting depth of a paragraph.
5868 * ParameterStruct.h: use this lyx::depth_type typedef rather than
5869 defining explicitly.
5872 * paragraph_funcs.h:
5873 * ParagraphParameters.h:
5874 * sgml.h: use lyx::depth_type rather than Paragraph or
5875 ParameterStruct's depth_type.
5878 * paragraph_funcs.h: no need to #include paragraph.h anymore.
5881 * BufferView_pimpl.C:
5883 * ParagraphParameters.C:
5886 * bufferview_funcs.C:
5893 * frontends/LyXView.C:
5894 * frontends/controllers/ControlDocument.C:
5895 * frontends/controllers/ControlErrorList.C:
5896 * insets/insetbibitem.C:
5897 * insets/insetbranch.C:
5898 * insets/insetcaption.C:
5899 * insets/insetcollapsable.C:
5900 * insets/insetenv.C:
5901 * insets/insetert.C:
5902 * insets/insetfloat.C:
5903 * insets/insetfoot.C:
5904 * insets/insetfootlike.C:
5905 * insets/insetnewline.C:
5906 * insets/insetquotes.C:
5907 * insets/insettabular.C:
5908 * insets/insettext.C:
5909 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5911 * frontends/controllers/ControlChanges.C: #include "changes.h".
5913 2003-09-06 Angus Leeming <leeming@lyx.org>
5915 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5916 than #including paragraph.h.
5919 * RowList.h: deleted. Superfluous.
5929 * insets/insettext.h: use ParagraphList_fwd.h rather than
5932 * paragraph.h: don't forward declare ParagraphList.
5935 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5936 rather than ParagraphList.h. paragraph.h is still needed for the
5937 Paragraph::depth_type parameters.
5939 * textcursor.h: enable it to compile stand-alone in light of the
5942 * bufferview_funcs.C:
5954 * frontends/controllers/ControlParagraph.C:
5955 * frontends/controllers/ControlTabular.C:
5956 * insets/insetmarginal.C:
5957 * insets/insetminipage.C:
5958 * insets/insetnote.C:
5959 * insets/insetoptarg.C: add header files needed to compile again.
5961 2003-09-06 Angus Leeming <leeming@lyx.org>
5963 * RowList_fwd.h: new file, forward-declaring Row rather than
5964 #including lyxrow.h.
5969 * insets/insettext.h: use it instead of RowList.h
5971 * bufferview_funcs.C:
5978 * text3.C: #include "RowList.h".
5980 2003-09-05 Angus Leeming <leeming@lyx.org>
5982 * factory.C (createInset):
5983 * vspace.C (c-tor): replace sscanf call with an istringstream.
5984 * ispell.C: re-add missing HP/UX headers.
5985 * lyxserver.C: re-add missing os2 headers.
5987 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
5996 * text3.C: re-add missing system headers, needed for 2.95.2.
5998 2003-09-05 Angus Leeming <leeming@lyx.org>
6000 Changes most place everywhere due to the removal of using directives
6001 from support/std_sstream.h.
6003 2003-09-05 Angus Leeming <leeming@lyx.org>
6005 Replace LString.h with support/std_string.h,
6006 Lsstream.h with support/std_sstream.h,
6007 support/LIstream.h with support/std_istream.h,
6008 support/LOstream.h with support/std_ostream.h.
6010 Changes resulting throughout the tree.
6012 2003-09-05 Angus Leeming <leeming@lyx.org>
6014 * sgml.h: ensure that the header file can be compiled stand-alone.
6015 * *.C: strip out redundant #includes. (320 in total.)
6017 2003-09-04 Angus Leeming <leeming@lyx.org>
6019 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
6020 here (from getPackages).
6022 * debug.[Ch]: add a new EXTERNAL tag.
6024 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6026 * text2.C (cursorEnd): simplify
6028 (getColumnNearX): adjust
6030 * text.C (computeBidiTables): adjust
6033 * rowpainter.C (paintChars): adjust
6034 (paintSelection): adjust
6035 (paintChangeBar): adjust
6038 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
6040 (numberOfSeparators): adjust
6042 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
6048 * text3.C: Restricts the mouse click functionality
6049 of insets like bibtex, include, toc and floatlist to the visible
6050 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
6051 up the dialogs. Cursor has to be in front of the inset (i.e.
6052 start of row) for this to function.
6054 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6056 * bufferview_funcs.C (currentState): output row information
6058 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6060 * bufferview_funcs.C (currentState): output paragraph position
6062 2003-09-04 Angus Leeming <leeming@lyx.org>
6064 * FloatList.h: move out #include "Floating.h".
6065 * LaTeX.h: move out #include "DepTable.h".
6066 * LyXAction.h: move out #include "funcrequest.h".
6067 * buffer.h: move out #include "author.h", "iterators.h".
6068 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
6069 * lyx_main.h: move out #include "errorlist.h".
6070 * lyxfunc.h: move out #include "FuncStatus.h".
6071 * lyxtext: move out #include "lyxcursor.h".
6072 * paragraph_pimpl.h: move out #include "counters.h".
6074 2003-09-03 Angus Leeming <leeming@lyx.org>
6076 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
6077 preamble_snippets list, enabling us to add snippets to the preamble
6078 only if the snippet was not there already.
6080 2003-09-04 Angus Leeming <leeming@lyx.org>
6082 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
6084 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6086 * lyxfunc.C (dispatch): if fitCursor did something be sure to
6089 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
6091 * BranchList.C: point fix, earlier forgotten
6093 2003-09-02 Angus Leeming <leeming@lyx.org>
6095 * box.C (contains): renamed from 'contained' after a fantastic
6098 2003-09-02 John Levon <levon@movementarian.org>
6104 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
6106 2003-09-02 John Levon <levon@movementarian.org>
6108 * text2.C: simplification of cursorEnd(), including partial
6111 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6113 * buffer.C (readFile): add a space
6115 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
6117 * BufferView_pimpl.C (update): remove bogus fitCursor() call
6119 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6121 * buffer.C (readFile): new function, take a filename and a
6122 ParagraphList::iterator
6124 (readFile): adjust, make it private. don't use setStream, make
6125 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
6126 always contain the filename.
6128 * BufferView.C (insertLyXFile): simplify and make it work for
6131 2003-08-30 John Levon <levon@movementarian.org>
6133 * Makefile.am: fix dist (from Kayvan)
6135 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6137 * most files: change to use const Buffer refs
6139 2003-08-27 André Pönitz <poenitz@gmx.net>
6141 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
6142 on top of ownerPar().
6144 2003-08-27 John Levon <levon@movementarian.org>
6146 * funcrequest.C: properly initialise POD members
6148 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
6150 * lyxtext.h (top_y): move top_y from here
6155 * BufferView_pimpl.[Ch]: to here
6156 * frontends/screen.C:
6157 * insets/insettabular.C:
6158 * insets/insettext.C: adjust
6159 * rowpainter.[Ch] (paintRows): remove LyXText & argument
6161 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
6164 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
6166 2003-08-26 André Pönitz <poenitz@gmx.net>
6168 * paragraph_func.[Ch] (outerPar): new function
6171 * paragraph_funcs.C:
6172 * paragraph_funcs.h:
6173 * paragraph_pimpl.C:
6174 * text2.C: remove Inset::par_owner
6176 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
6181 * text2.C: eliminates the needFullRow/display() stuff
6182 altogether, putting the logic in metrics/draw in the insets.
6184 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
6186 * text2.C (redoParagraphInternal, redoParagraphs):
6187 * text.C (redoParagraph): add a call to updateRowPositions at the
6188 end of each 'metrics-like' call. Remove all others.
6189 (getRow): remove the 'y-computing' version.
6190 (getRowNearY): do not compute nor return the real y. Solve the
6191 'y < 0' problem and simplify.
6193 2003-08-22 Angus Leeming <leeming@lyx.org>
6195 * *.[Ch]: clean-up of licence and author blurbs.
6196 Also move config.h out of a few .h files and into a few .C files.
6198 2003-08-22 André Pönitz <poenitz@gmx.net>
6200 * lyxrow.[Ch]: add x_ and *fill_ members
6205 * text2.C: adjust/remove prepareToPrint() calls
6207 2003-08-22 André Pönitz <poenitz@gmx.net>
6209 * lyxrow.[Ch]: add end_ member
6211 * lyxrow_funcs.C: use LyXRow::end_
6213 * lyxtext.h (singleWidth): add LyXFont parameter
6216 * text2.C: adjust LyXText::singleWidth() calls
6218 * text.C (redoParagraph): simplify row breaking logic
6221 2003-08-19 André Pönitz <poenitz@gmx.net>
6223 * funcrequest.C: initialize button_ member
6226 * rowpainter.[Ch]: interface consolidation
6228 2003-08-18 André Pönitz <poenitz@gmx.net>
6231 * BufferView_pimpl.C:
6233 * paragraph_funcs.C:
6235 * text3.C: remove LyXScreen::draw() and fitCursor calls
6237 * BranchList.h: remove spurious semicolons
6239 * MenuBackend.C: fix branchlist related crash
6241 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
6249 * bufferparams.[Ch]:
6253 * text3.C: implements the 'branch inset'
6254 idea. This allows the output of various versions of a document
6255 from a single source version, selectively outputing or suppressing
6256 output of parts of the text.
6257 This implementation contains a 'branch list editor' in a separate
6258 tab of the document settings dialog. Branches are user definable
6259 and have a "display colour" to distinguish them on-screen.
6261 ColorHandler was somewhat cleaned up.
6262 (1) make possible a dynamically growing LColor list by allowing
6263 the graphic context cache to grow along (vector);
6264 (2) eliminate an IMHO unnecessary step in colour allocation.
6266 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
6268 * BufferView_pimpl.C: compile fix
6270 2003-08-15 André Pönitz <poenitz@gmx.net>
6272 * rowpainter.C: remove extra metrics calls
6274 * lyxtext.h: merge the two constructors into a single one,
6275 pass reference to owner's par list
6277 * BufferView_pimpl.C:
6281 2003-08-15 André Pönitz <poenitz@gmx.net>
6283 * lyxrow_funcs.[Ch]:
6286 * paragraph_funcs.C:
6291 * text_funcs.C: split LyXText::rowlist_ into individual
6292 Paragraph::rows_ chunks
6295 * BufferView_pimpl.[Ch]:
6298 * text3.C: remove toggleSelection()
6300 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
6302 * bufferlist.C: beautify two alerts (shorter text of buttons)
6303 * buffer.C: Remove redundant ' ' from message
6305 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6306 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6307 rename VALIGN_CENTER to VALIGN_MIDDLE
6309 2003-08-11 André Pönitz <poenitz@gmx.net>
6311 * lyxtext.h (getPar):
6312 * text.C: new function
6314 2003-08-11 André Pönitz <poenitz@gmx.net>
6317 * tracer.[Ch]: remove unneeded files
6319 * InsetList.[Ch]: remove resizeInsetsLyXText()
6324 * text3.C: merge insertParagraphs() and appendParagraph()
6325 remove breakAgain(), update()
6327 * BufferView_pimpl.[Ch]:
6328 * bufferview_funcs.[Ch]:
6332 * tabular.C: adjust after text & InsetList changes.
6334 2003-08-08 André Pönitz <poenitz@gmx.net>
6336 * text.C (insertChar, backspace): replace rowlist fiddling
6337 with rebreak of full par
6340 * text.C (breakAgainOneRow, redoHeightOfParagraph,
6341 checkParagraph, updateInset): removed
6343 2003-08-07 André Pönitz <poenitz@gmx.net>
6346 * text3.C: merge some LFUN handlers, remove dead code
6348 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6350 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6352 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
6354 * text2.C (DEPM): fix part of bug 1255 and 1256
6356 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6358 * BufferView_pimpl.C (workAreaDispatch): change to use
6359 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6360 that are no mouse related.
6362 2003-08-05 André Pönitz <poenitz@gmx.net>
6365 * BufferView_pimpl.[Ch]:
6366 * bufferview_funcs.C:
6368 * text3.C: rip out "deep update"
6370 * textcursor.[Ch] (last_sel_cursor): remove unused member
6372 2003-08-04 André Pönitz <poenitz@gmx.net>
6375 * BufferView_pimpl.[Ch]:
6376 * ParagraphParameters.C:
6377 * bufferview_funcs.C:
6383 * text3.C: replace "complicated" BufferView::update(...) calls with
6386 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6388 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
6390 * Makefile.am (lyx_SOURCES): add paper.h
6392 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6394 * Makefile.am: move things around so that both lyx-qt and
6395 lyx-xforms can be built (according to --with-frontend). Then lyx
6396 is a symbolic link to lyx-[firstfrontend]
6398 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
6400 * Always use std::endl with lyxerr
6402 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
6404 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6406 2003-08-01 André Pönitz <poenitz@gmx.net>
6409 * BufferView_pimpl.[Ch]:
6411 * text3.C: merge BufferView::repaint() and BufferView::update()
6413 2003-08-01 José Matos <jamatos@lyx.org>
6415 * buffer.[Ch]: file_format is no longer a buffer data element.
6417 2003-08-01 André Pönitz <poenitz@gmx.net>
6422 * text2.C: make redoParagraph more independent of current cursor
6424 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6426 * text2.C: remove unneeded members
6428 2003-07-30 André Pönitz <poenitz@gmx.net>
6430 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6432 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6433 create a single function...
6435 * paragraph_funcs.C (moveItem): ... here.
6438 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6440 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6442 * LColor.[Ch]: Add comment and greyedout logical colors.
6444 2003-07-30 André Pönitz <poenitz@gmx.net>
6446 * tabular.C: don't use Assert too heavily. This crashes where it
6449 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
6451 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6452 is disabled (bug 1232)
6454 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6456 * factory.C: limited 'arg' scope
6458 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6460 * factory.C: fixed Note submenu issues
6462 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6464 * factory.C: submenu for Note/Comment/Greyedout
6466 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
6469 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6471 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
6474 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6475 greyedout. Patch provided by Jürgen Spitzmüller.
6477 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6479 * kbmap.C (read): fix error message when reading bind files
6481 2003-07-29 Angus Leeming <leeming@lyx.org>
6483 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6484 certainly does not do what it purports to do. I am doing it, and
6485 us, a favour by killing it.
6487 2003-07-28 José Matos <jamatos@lyx.org>
6489 * buffer.C (readBody, do_writeFile):
6490 * paragraph.C(readParagraph): \end_document replaces \the_end.
6492 2003-07-29 André Pönitz <poenitz@gmx.net>
6495 * BufferView_pimpl.[Ch]:
6499 * textcursor.[Ch]: remove toggleToggle & Co
6501 2003-07-28 José Matos <jamatos@fep.up.pt>
6503 * buffer.C (readParagraph):
6504 * params_func (readParToken, readParagraph):
6505 * paragraph.C (write): \layout -> \begin_layout.
6507 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6509 * lyxlex_pimpl.C (setFile): clean up slightly.
6511 * bufferparams.h: add compressed var
6513 * buffer_funcs.C (readFile): adjust for LyXLex change
6514 (newFile): ditto + simplify
6516 * buffer.C (writeFile): handle writing of compressed files
6518 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6519 Check if the file is compressed and set a bufferparm if so.
6521 * Makefile.am (lyx_LDADD): remove explicit -lz
6523 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6525 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6526 makeDocBookFile): put the real LyX version in the first line of
6530 * version.C.in: remove lyx_docversion
6532 * tabular.C (write_attribute): add a template-based version to
6533 write enums properly
6535 2003-07-28 André Pönitz <poenitz@gmx.net>
6540 * text3.C: use doubles again for x-coordinates. They are needed.
6542 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6544 * messages.C (getLocaleDir): use lyx_localedir()
6546 * lyxlex_pimpl.C (setFile): compress stuff
6548 * buffer.C (writeFile): add some compression stuff
6549 (do_writeFile): new func, dont call expliti close... will this
6552 * Makefile.am (lyx_LDADD): add -lz
6554 2003-07-28 José Matos <jamatos@fep.up.pt>
6556 * buffer.C: increment file format.
6557 * paragraph_funcs (readParagraph, readParToken):
6558 * paragraph.C (readParagraph): add \end_layout.
6560 2003-07-27 Angus Leeming <leeming@lyx.org>
6562 * Makefile.am: remove special casing for configure-time setting of
6563 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6565 * lyx_main.C (init): remove all Jean-Marc's magic setting of
6566 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6568 2003-07-26 André Pönitz <poenitz@gmx.net>
6570 * paragraph_func.[Ch]:
6571 * paragraph.C (realizeFont): inline it whereever it is used
6576 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6579 2003-07-26 André Pönitz <poenitz@gmx.net>
6583 * text2.C: get rid of LyXText::need_break_row
6585 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6587 * toc.[Ch]: put namespace toc inside namespace lyx
6589 * MenuBackend.C (expandToc2): adjust for lyx::toc
6592 * lyxfunc.C (dispatch): adjust for lyx::find
6594 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6595 lyx::find instead. Reorganize a bit.
6596 (LyXReplace): rename to replace
6597 (LyXFind): rename to find
6599 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6602 2003-07-26 André Pönitz <poenitz@gmx.net>
6604 * text.C (setHeightOfRow): restrict scope of temporary variable
6606 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
6607 code (never has been used?)
6609 2003-07-27 Asger Alstrup <alstrup@local>
6611 * text.C (fill): Optimise algorithm to exploit that we can reuse
6612 the LyXFont for many characters.
6613 (setHeightOfRow): Same thing.
6614 (rowBreakPoint): Same thing.
6616 2003-07-26 Asger Alstrup <alstrup@local>
6618 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6620 * text.C (singleWidth): Spurious font copying in hot-spot
6621 singleWidth avoided. Reorder tests for arabic for efficiency.
6623 * text.C (fill): handle empty paragraphs better.
6625 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6628 * encoding.h: add includes
6630 * lyxrc.C: remove reading of bind files
6632 * lyx_main.C (init): setup bindings and menus only if we have a
6635 * kbmap.C (read): new method. Do the actual reading of bind
6638 * converter.C (dvipdfm_options):
6641 (output): adapt PAPER_* enums.
6643 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6645 * bufferparams.h: remove paper-related enums from there
6647 * paper.h: New file. A trivial header file to hold paper-related
6648 enums. It should later expand to contain many paper-related
6651 * lyxrc.C: declare extern displayTranslator
6653 2003-07-27 José Matos <jamatos@fep.up.pt>
6655 * tabular.[Ch] (linuxdoc): add support for tables and figures
6658 2003-07-27 José Matos <jamatos@fep.up.pt>
6660 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6661 consistency in both functions.
6662 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6664 2003-07-26 Asger Alstrup <alstrup@local>
6666 * rowpainter.C (paintRows): Change algorithm to work directly on
6667 the insets rather than asking every character in the document
6668 whether its an inset.
6670 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
6672 * buffer.C (openFileWrite): factorize some code
6674 2003-07-26 Angus Leeming <leeming@lyx.org>
6677 * lyx_main.[Ch]: replace occurances of system_tempdir with
6680 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6682 * rename Inset to InsetOld
6684 2003-07-25 Asger Alstrup <alstrup@diku.dk>
6686 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6687 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6688 which I think is a bit clearer. EDIT is gone, since it was
6689 premature optimisation, and broken for mathed anyway.
6690 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6691 with cursor positioning in insets as well (math insets still do not
6692 work, but that's a different story anyway.) It mysteriously
6693 crashes sometimes with undo in the first paragraph, but I'm fairly
6694 confident that this is a compiler bug.
6696 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6698 * paragraph.C (Paragraph): adjust for new clone return type
6700 (copyIntoMinibuffer): ditto
6702 2003-07-25 Asger Alstrup <alstrup@lyx.org>
6704 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6705 by not having a special case, and always doing a full rebreak of
6706 the document after undo.
6708 2003-07-23 Angus Leeming <leeming@lyx.org>
6710 * factory.C (createInset): InsetExternal::setParams now takes a
6713 2003-07-23 Angus Leeming <leeming@lyx.org>
6715 * factory.C (createInset): changed interface to the external and
6716 graphics mailers' string2params functions.
6718 2003-07-23 Angus Leeming <leeming@lyx.org>
6720 * factory.C (createInset): pass a
6721 Buffer const * parameter to InsetExternalMailer's string2params.
6723 2003-07-22 John Levon <levon@movementarian.org>
6725 * Thesaurus.h: include the right aiksaurus header
6727 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6729 * MenuBackend.C (expand): check menu shortcuts unconditionally
6731 2003-07-21 Angus Leeming <leeming@lyx.org>
6733 * factory.C (createInset): pass a
6734 buffer_path parameter to InsetGraphicsMailer's string2params.
6736 2003-07-21 Angus Leeming <leeming@lyx.org>
6738 * BufferView_pimpl.C (buffer):
6741 * lyxfunc.C (dispatch):
6742 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6743 rather than the grfx shortcut.
6745 2003-07-21 André Pönitz <poenitz@gmx.net>
6747 * rowpainter.C: remove unused variables
6750 * tabular_funcs.h: move to tabular.C
6751 * Makefile.am: adjust
6753 * tabular.[Ch]: basic optical cleaning
6755 * author.h: pass references, not values
6757 2003-07-18 André Pönitz <poenitz@gmx.net>
6765 * text3.C: two-phase drawing for InsetText and InsetTabular
6766 some float -> int changes.
6768 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6770 * lyx_main.C: fix the fix
6772 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6774 * lyx_main.C: fix a crash in batch mode if no files specified
6777 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
6779 * format.[Ch] (papersize): moved to BufferParams
6780 * converter.[Ch] (dvips_options): moved to BufferParams
6781 (dvipdfm_options): moved to anon namespace
6782 * bufferparams.[Ch]: added above functions.
6784 2003-07-17 André Pönitz <poenitz@gmx.net>
6788 * text2.C: don't call inset->update() anymore
6790 * metricsinfo.[Ch]: add convenience constructor
6792 2003-07-16 André Pönitz <poenitz@gmx.net>
6797 * text2.C: replace the LyXCursor::irow_ member with
6798 on-demand computation of the value
6800 2003-07-16 John Levon <levon@movementarian.org>
6802 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6804 2003-07-15 André Pönitz <poenitz@gmx.net>
6807 * text2.C: remove no more needed refresh_row
6809 2003-07-15 André Pönitz <poenitz@gmx.net>
6814 * text3.C: refresh_status tristate -> need_update bool
6816 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
6818 * lyxtext.h (init): remove reinit argument (act as if always true)
6819 * text2.C: adjust to that
6821 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6823 * bufferview_funcs.[Ch]: introduce function replaceSelection()
6824 * text3.C: use it to delete selections in some cases
6825 (bugs 441, 673, 702, 954).
6827 2003-07-14 André Pönitz <poenitz@gmx.net>
6829 * rowpainter.[Ch]: reduce interface
6831 2003-07-14 André Pönitz <poenitz@gmx.net>
6833 * BufferView_pimpl.C:
6834 * text2.C: adjust after removing unused BufferView * argument
6836 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
6838 * text2.C (init): fix a crash fired on resize
6840 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
6842 * buffer.[Ch]: added new closing signal
6843 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6844 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6845 BufferView::Pimpl via the closing the signal
6847 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
6849 * buffer.[Ch]: take out all bv-related from buffer
6851 * BufferView_pimpl.[Ch]: connect to new signals
6852 * CutAndPaste.C: removed useless asserts
6853 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6856 * lyxfunc.C: moved view-related funciontality from vc here
6857 * paragraph.C: removed outdated comments
6860 2003-07-10 André Pönitz <poenitz@gmx.net>
6862 * BufferView_pimpl.C:
6866 * text2.C: remove InsetText::InnerCache, clean up consequences
6868 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
6870 * ispell.C: fix two typos in error messages
6872 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
6874 * Extend Note inset to other forms of annotation like Comment
6875 and Greyedout. Right button click gives dialog.
6877 Files modified or added (+):
6881 * ControlNote.[Ch] +
6883 * Makefile.am in frontends/xforms, frontends/xforms/forms,
6884 frontends/controllers
6888 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6890 * aspell.C: add missing namespace lyx::support
6892 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
6894 * BufferView.[Ch] (newFile): Add
6895 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6896 * LaTeX.[Ch] (message): added this signal and use it
6897 * buffer.[Ch] (busy, message): added these signals and use them
6898 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6902 * importer.C: use buffer signals instead of direct bv calling
6903 * lyx_cb.[Ch] (ShowMessage): removed
6906 * paragraph_funcs.C:
6907 * text2.C: use buffer signals
6909 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6911 * introduce namespace lyx::graphics
6913 2003-07-02 André Pönitz <poenitz@gmx.net>
6915 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6917 2003-07-01 André Pönitz <poenitz@gmx.net>
6924 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6925 text*.C to text_func.C
6927 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6929 * introduce namespace lyx::support
6931 2003-06-30 André Pönitz <poenitz@gmx.net>
6936 * text.C: re-enable --with-included-string
6938 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6940 * textcursor.C: add <config.h>
6942 * text.C (getWord): remove const from word_location arg
6944 * lyxvc.C (getLogFile): fix const type order
6946 * lyxtext.h: remove const from word_location arg, add arg name
6948 * lyxlayout.h: currect type on labeltype.
6950 * importer.C: correct \file
6952 * converter.C (intToFormat): use std:: on ret val, ws changes
6954 * bufferlist.h: correct \file
6956 * buffer.C (makeLinuxDocFile): fix const type order
6957 (makeDocBookFile): ditto
6958 (fillWithBibKeys): use std:: on stdlib args.
6960 * CutAndPaste.C: fix authors.
6961 (availableSelections): use std:: on return vector
6963 2003-06-27 André Pönitz <poenitz@gmx.net>
6965 * BufferView_pimpl.C:
6966 * bufferview_funcs.C:
6974 * text3.C: remove LyXCursor::row_ member
6977 * text.C: rename fullRebreak() to partialRebreak() and implement
6978 a fullRebreak() that really bereks fully
6980 * textcursor.h: new struct for cursor-related data
6982 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
6984 * lyx_main.C (LyX): get full path of document loaded on the
6987 2003-06-26 André Pönitz <poenitz@gmx.net>
6989 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6990 remove unused/broken operator>,<,>=.
6992 * text.C: remove only use of broken operator<= in an Assert().
6994 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
6996 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6997 moved errorlist_.clear to showErrorList
6999 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
7001 * converter.C (scanLog, runLaTeX):
7002 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
7003 move the bv->showErrorList call to the callers
7004 * lyxfunc.C: i.e. here...
7006 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
7007 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
7008 namespace, the second to...
7009 * buffer_funcs (BufferFormat, parseErrors): added
7010 * errorlist.C (ErrorList(TeXErrors const &)): removed
7012 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7014 * ToolbarBackend.C (getIcon): complain when icon cannot be found
7016 2003-06-24 "Garst R. Reese" <reese@isn.net>
7020 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7022 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
7024 * version.C.in: change docversion to 1.4
7026 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
7028 * buffer.C: fix a bug just introduced
7030 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
7032 * buffer.[Ch]: added the parseError signal and use it, removed
7034 * BufferView.[Ch] (addError): moved to ...
7035 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
7036 to the Buffer::parseError signal to catch (guess what) parse errors
7037 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
7039 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
7041 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
7042 ability to create a buffer and to return an existing one from
7043 the list. Moved these functions to...
7044 * buffer_funcs.[Ch]: added
7045 * BufferView.[Ch] (loadLyXFile): added
7046 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
7047 job removed from bufferlist::loadLyXFile.
7048 * buffer.C (setReadOnly): make it work without view
7049 (i.e added an if (users))
7051 2003-06-19 Angus Leeming <leeming@lyx.org>
7054 * LyXAction.C (init):
7055 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
7056 with LFUN_DIALOG_SHOW <name> <data>.
7058 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7060 * CutAndPaste.C (availableSelections): small compilation fix for
7061 ancient (gcc 2.9x) compilers
7063 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
7065 * text3.C (cursorNext): add tmp var
7067 * text2.C (updateCounters): for function calling out of for clause
7068 (replaceSelectionWithString): ditto
7069 (insertStringAsParagraphs): ditto
7070 (getColumnNearX): add tmp var
7071 (setCursorFromCoordinates): add tmp var
7072 (cursorDownParagraph): add tmp var
7073 (deleteEmptyParagraphMechanism): add tmp var
7075 * text.C (insertChar): add tmp var
7077 * rowpainter.C (paintDepthBar): add tmp var
7079 * CutAndPaste.C (availableSelections): potentially check all
7080 paragraphs in a cut to fill the shown strings.
7082 2003-06-18 André Pönitz <poenitz@gmx.net>
7084 * kbmap.[Ch]: use vector<> instead of list<>
7086 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
7088 * text3.C (dispatch): handle arg to LFUN_PASTE, call
7089 pasteSelection with index
7091 * text2.C (pasteSelection): modify, call pasteSelection with index
7093 * paragraph.C (asString): reimplement version with no interval to
7094 call the one with interval.
7096 * lyxtext.h: add index arg to pasteSelection
7098 * MenuBackend.C (MenuItem): handle PasteRecent
7099 (Menu::read::Menutags): add md_pasterecent
7101 (expandPasteRecent): new function
7104 * MenuBackend.h: add PasteRecent to MenuItem::Kind
7106 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
7108 (availableSelections): new function
7110 2003-06-17 Angus Leeming <leeming@lyx.org>
7112 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
7114 2003-06-17 Angus Leeming <leeming@lyx.org>
7117 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
7119 * lyxfunc.C (dispatch): invoke it.
7121 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7123 * iterators.C (operator++, ParPosition): reintroduce some
7124 const_cast for the benefit of older compilers.
7126 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7128 * text3.C (dispatch): do not modify clipboard when doing
7129 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
7130 LFUN_DELETE_SKIP on a selection selection
7132 2003-06-16 André Pönitz <poenitz@gmx.net>
7138 * tabular.[Ch]: IU of clone() and getLabelList();
7140 2003-06-13 André Pönitz <poenitz@gmx.net>
7142 * tabular.h: compactification
7144 2003-06-12 André Pönitz <poenitz@gmx.net>
7148 * tabular_funcs.h: some renaming plus whitespace
7150 2003-06-12 André Pönitz <poenitz@gmx.net>
7153 * BufferView_pimpl.C:
7159 * toc.C: Return a Paragraph & for ParIterator::operator*()
7161 2003-06-11 John Levon <levon@movementarian.org>
7165 * ToolbarBackend.C: add "Toolbars" section and
7168 2003-06-10 Angus Leeming <leeming@lyx.org>
7171 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
7173 * lyxfunc.C (dispatch): invoke it.
7175 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7177 * main.C: protect <ios> with HAVE_IOS
7178 (main): protect sync_with_stdio with HAVE_IOS
7180 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
7182 * text2.C (cutSelection): adjust
7183 (pasteSelection): adjust
7185 * messages.C: handle get of empty string
7187 * main.C (main): use sync_with_stdio(false)
7189 * lyxfunc.C (dispatch): adjust
7191 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
7192 (WriteAs): remove unneeded BufferView arg.
7194 * bufferparams.h: use correct types on papersize, papersize2 and
7197 * bufferparams.C (readToken): adjust for type
7198 (writeLaTeX): add missing cases to switch.
7200 * bufferlist.C (quitWriteBuffer): adjust
7203 * buffer.C (asciiParagraph): remove some commented code.
7205 * CutAndPaste.C: remove current_view extern variable.
7206 (cutSelection): add BufferParams arg.
7207 (eraseSelection): add BufferParams arg.
7208 (pasteSelection): add Buffer const & arg
7210 2003-06-07 John Levon <levon@movementarian.org>
7213 * paragraph_funcs.C:
7214 * paragraph_pimpl.C:
7218 * paragraph.C: allow InsetERT to freely space lines,
7219 and some consolidation of code
7221 2003-06-06 José Matos <jamatos@fep.up.pt>
7223 * buffer.C (makeDocBookFile): fix bug #821
7225 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
7227 * BufferView_pimpl.C (dispatch): use Dialogs::visible
7229 2003-06-04 Angus Leeming <leeming@lyx.org>
7231 * buffer.C: bump format to 224.
7233 2003-06-05 André Pönitz <poenitz@gmx.net>
7235 * text2.C (redoParagraphs): remove two const_cast<>
7237 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
7239 * ParagraphList.h: remove last remnants of NO_STD_LIST
7241 2003-06-03 Angus Leeming <leeming@lyx.org>
7243 * factory.C (createInset): small change to the way InsetExternal's params
7246 2003-06-04 André Pönitz <poenitz@gmx.net>
7248 * buffer.h: use Undo directly instead of shared_ptr<Undo>
7250 * paragraph_pimpl.h:
7251 * paragraph.[Ch]: some Inset -> UpdatableInset changes
7253 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
7255 * undo_funcs.C: make some simple cases of undo work again
7257 2003-06-03 John Levon <levon@movementarian.org>
7259 * ispell.C: HPUX doesn't have sys/select.h
7262 2003-06-03 John Levon <levon@movementarian.org>
7264 * CutAndPaste.C: update tabular and include inset
7269 * paragraph.C: remove owningBuffer(), don't pass Buffer
7272 * factory.C: insetGraphicsParams changed
7274 2003-06-02 John Levon <levon@movementarian.org>
7280 * text3.C: remove insetparent
7282 2003-06-02 John Levon <levon@movementarian.org>
7285 * buffer.C: fix inset_iterator.end(), move out of line
7288 2003-06-01 John Levon <levon@movementarian.org>
7290 * text3.C: use a proper cut/paste when doing inset
7291 insert (from Jürgen Spitzmüller)
7293 2003-06-01 John Levon <levon@movementarian.org>
7295 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7297 2003-05-30 André Pönitz <poenitz@gmx.net>
7299 * rowpainter.C: unify second drawing phase
7301 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7303 * trans_mgr.C: remove one case of current_view
7305 * text2.C (cursorBottom): delete NO_STD_LIST stuff
7307 * paragraph_funcs.h: remove paragraph.h include
7309 * paragraph.h: delete NO_STD_LIST stuff
7311 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7313 * buffer.h: remove paragraph.h include
7315 * ParagraphList.C: delete file
7317 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7319 * toc.C (getTocList): adjust
7321 * paragraph_pimpl.C (validate): adjust
7323 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7325 * paragraph.C (Paragraph): adjust
7326 (getPositionOfInset): use const_iterator, adjust
7327 (bibitem): use const_iterator, adjust
7328 (setInsetOwner): adjust
7330 * iterators.C (operator++): adjust
7332 * InsetList.[Ch]: Replace selfmade iterator with standard
7333 vector::iterator also introduce const_iterator. Remove getPos,
7334 getInset and setInset from InsetTable. Adjust accordingly.
7336 * BufferView.C (lockInset): adjust
7337 (ChangeInsets): adjust
7339 * tabular.[Ch]: delete commented same_id functions
7341 2003-05-28 John Levon <levon@movementarian.org>
7343 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7345 2003-05-28 André Pönitz <poenitz@gmx.net>
7347 * metricsinfo.[Ch]: remove 'fullredraw' member
7349 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
7351 * lyxtextclass.C (operator): remove caching.
7353 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7357 * text2.C (cursorBottom): adjust
7358 (setCounter): use ParagraphList::find, adjust
7360 * text.C (workWidth): use ParagraphList::find, adjust
7362 * lyxcursor.C (LyXCursor): adjust
7364 * buffer.C (inset_iterator): adjust
7366 * ParagraphList.h: make iterator(value_type) private, make
7367 ParagraphList a friend of iterator.
7369 * ParagraphList.C (find): new function
7371 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7373 2003-05-27 André Pönitz <poenitz@gmx.net>
7375 * dimension.[Ch]: a -> asc, d -> des, w -> wid
7377 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7379 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7381 2003-05-26 John Levon <levon@movementarian.org>
7383 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7385 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
7387 * remove same_id from function signatures, adjust.
7389 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7391 * undo_funcs.C (createUndo): use the id functions directly, adjust.
7393 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7395 * paragraph.C (Paragraph): get rid of same_ids parameter
7397 * ParagraphList.C (insert): adjust
7400 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7402 * paragraph_funcs.C (breakParagraph): adjust
7403 (breakParagraphConservative): adjust
7405 * buffer.C (readParagraph): adjust
7407 * ParagraphList.C (insert): take a reference instead of a pointer
7410 * paragraph.[Ch] (id): new function
7412 * bufferlist.C (newFile): adjust
7414 * ParagraphList.C (ParagraphList): adjust
7416 (push_back): take a reference instead of a pointer.
7418 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7420 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7423 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7424 set else use old code.
7426 * ParagraphList.C: remove all NO_NEXT code and only compile this
7427 code of NO_STD_LIST is set.
7429 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7431 * BufferView_pimpl.C:
7441 * graphics/GraphicsConverter.C:
7442 * graphics/PreviewLoader.C: header adjustment
7444 2003-05-23 Angus Leeming <leeming@lyx.org>
7446 * LaTeXFeatures.[Ch] (useBabel): new method.
7447 * bufferparams.C (writeLaTeX): use it.
7449 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7451 * ParagraphList.h (set): remove unused function.
7453 2003-05-23 André Pönitz <poenitz@gmx.net>
7456 * BufferView_pimpl.C:
7460 * undo_funcs.C: setUndo reworked
7462 * iterators.[Ch]: add access to topmost ParagraphList
7464 * lyxtext.[Ch] (workWidth): add a const
7466 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7468 * texrow.[Ch] (increasePos): remove function
7469 * exporter.C (export): removed unused var and outdated comment
7471 2003-05-23 Angus Leeming <leeming@lyx.org>
7473 * latexrunparams.h: rename fragile as moving_arg.
7474 * paragraph.C (simpleTeXOnePar): ditto.
7475 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7477 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7479 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7481 (textUndoOrRedo): comment out a currently unused var.
7483 * paragraph.h (NO_NEXT): enable NO_NEXT
7485 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7487 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7489 * exporter.C (Export): adjust for removeAutoInsets removal.
7491 * buffer.C (runChktex): adjust for removeAutoInsets removal.
7493 * LyXAction.C (init): remove LFUN_REMOVEERRORS
7495 * BufferView.[Ch] (removeAutoInsets): delete function
7497 2003-05-22 Angus Leeming <leeming@lyx.org>
7499 * latexrunparams.h: add a free_spacing variable.
7501 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7502 to pass moving_arg, as the data is stored in runparams.fragile.
7504 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7505 to Inset::latexOptional or to simpleTeXOnePar.
7507 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7508 free_spacing arg to Inset::latexOptional.
7510 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7513 2003-05-22 Angus Leeming <leeming@lyx.org>
7515 * latexrunparams.h: add fragile and use_babel variables.
7517 * bufferparams.[Ch] (writeLaTeX): return use_babel.
7518 * buffer.C (makeLaTeXFile): store this returned value in
7519 runparams.use_babel, thus passing it to the inset::latex methods.
7521 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7522 simpleTeXSpecialChars as it is now stored in runparams.fragile.
7524 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7525 longer has a fragile arg, as it is stored in runparams.fragile.
7527 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7528 moving_arg parameter as the data is stored in runparams.fragile.
7530 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7531 a fragile parameter as the data is stored in runparams.fragile.
7533 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7535 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7537 2003-05-22 Angus Leeming <leeming@lyx.org>
7539 * latexrunparams.h: add a 'bool nice' which defaults to false.
7541 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7542 now encapsulated within runparams.
7544 * bufferlist.C (updateIncludedTeXfiles):
7545 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7547 2003-05-22 Angus Leeming <leeming@lyx.org>
7549 * latexrunparams.h: new file containing struct LatexRunParams.
7550 * Makefile.am: add new file.
7552 * LaTeX.[Ch] (c-tor, run):
7553 * buffer.[Ch] (makeLaTeXFile):
7554 * bufferlist.[Ch] (updateIncludedTeXfiles):
7555 * converter.C (convert, scanLog):
7556 * converter.[Ch] (runLaTeX):
7557 * exporter.C (Export):
7558 * paragraph.[Ch] (simpleTeXOnePar):
7559 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7560 * paragraph_funcs.[Ch] (latexParagraphs):
7561 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7562 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7563 pass around a LatexRunParams parameter.
7565 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7567 * paragraph.[Ch]: remove unused constructor
7569 * ParagraphList.C (erase): new function, taking two iterators
7571 2003-05-22 André Pönitz <poenitz@gmx.net>
7573 * undo_funcs.C: remove duplicated code
7575 * iterator.[Ch]: operator=
7577 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7579 * tabular.C (SetMultiColumn): ws changes
7581 * rowpainter.C (paintFirst): get rid of a ->previous
7583 * lyx_cb.C (getPossibleLabel): parlist simplification
7585 * BufferView.C (ChangeInsets): simplify slightly.
7587 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
7589 * LyXAction.C: new lfun space-insert, kill protected-space-insert
7590 * lfuns.h: new LFUN_SPACE
7591 * lyxfunc.C: protected space has a new lfun
7592 * paragraph_funcs.C: read new space insets
7594 * factory.C: handle new space insets
7596 2003-05-22 André Pönitz <poenitz@gmx.net>
7599 * BufferView_pimpl.C:
7602 * undo_funcs.C: return a ParIterator from getParFromID.
7604 * iterators.[Ch]: add two const's
7606 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7608 * toc.C (getTocList): adjust
7610 * iterators.[Ch]: rework for parlist
7612 * buffer.C (par_iterator_begin): adjust
7613 (par_iterator_end): adjust
7615 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7617 * BufferView.C (removeAutoInsets): adjust
7618 (ChangeInsets): adjust
7620 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
7622 * text.C (top_y): fix bug 1110
7624 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
7626 * errorlist.[Ch]: added
7629 * BufferView_pimpl.C:
7630 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7633 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7635 * Makefile.am: ensure that lyx is relinked upon changes to the
7636 various "convenience" libs.
7638 2003-05-20 Angus Leeming <leeming@lyx.org>
7640 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7641 files are compiled in alphabetical order again.
7643 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7645 2003-05-19 Angus Leeming <leeming@lyx.org>
7647 * gettext.[Ch]: remove "char const * _(char const *)".
7649 2003-05-19 André Pönitz <poenitz@gmx.net>
7651 * dimension.[Ch]: promote from mathed/dimension.[Ch]
7660 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7662 2003-05-19 André Pönitz <poenitz@gmx.net>
7666 * lyxtextclass.[Ch]:
7668 * paragraph_funcs.[Ch]:
7670 * text3.C: more insetenv work
7672 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
7674 * ParagraphParameters.C (params2string): small bug fixed
7676 2003-05-16 André Pönitz <poenitz@gmx.net>
7679 * bufferview_funcs.C: patch from Kornel Benko to prevent
7680 crash when _(...) is called twice in a statement
7682 2003-05-16 André Pönitz <poenitz@gmx.net>
7689 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7691 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
7693 * lyx_main.C (init): remove spurious static_cast
7695 2003-05-14 André Pönitz <poenitz@gmx.net>
7697 * BufferView.C: fix format string
7699 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
7701 * BufferView.[Ch] (insertErrors): removed
7702 * BufferView.[Ch] (showErrorList): added
7703 * buffer.C (runChkTeX):
7704 * converter.C (scanLog): call showErrorList instead of inserterrors
7706 2003-05-13 André Pönitz <poenitz@gmx.net>
7708 * BufferView_pimpl.C:
7710 * bufferview_func.C:
7717 * tabular_funcs.h: tostr() from its own header
7719 * ParagraphParameters.C:
7724 * text3.C: STRCONV()
7726 2003-05-12 André Pönitz <poenitz@gmx.net>
7729 * BufferView_pimpl.C:
7733 * ParagraphParameters.C:
7737 * bufferview_funcs.C:
7750 * paragraph_funcs.C:
7754 * text3.C: boost::format -> bformat all over the place
7757 2003-05-09 André Pönitz <poenitz@gmx.net>
7759 * LColor.[Ch]: Pimpl the #include <map> away
7761 2003-05-09 John Levon <levon@movementarian.org>
7763 * bufferlist.C: never remove emergency saves
7765 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7767 * Makefile.am: better lib building
7769 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
7771 * texrow.[Ch]: remove dependency on Paragraph and just store a id
7773 * paragraph_pimpl.C (simpleTeXBlanks): adjust
7774 (simpleTeXSpecialChars): adjust
7775 (simpleTeXSpecialChars): adjust
7776 * paragraph.C (simpleTeXOnePar): adjust
7777 * buffer.C (makeLaTeXFile): adjust
7779 * Makefile.am (BOOST_LIBS): allow boost as system lib.
7781 * text2.C (changeDepth): parlist cleanup
7782 (getColumnNearX): ditto
7784 * rowpainter.C (getLabelFont): parlist cleanup
7786 * bufferlist.C (newFile): parlist cleanup
7788 * CutAndPaste.C (eraseSelection): parlist cleanup
7790 * BufferView_pimpl.C (trackChanges): parlist cleanup
7793 * BufferView.C (lockInset): parlist cleanup.
7794 (ChangeInsets): ditto
7796 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7798 * CutAndPaste.h: Update file header.
7800 * CutAndPaste.C: Update file header.
7801 Store the parts cut out of the Document in a limited_stack.
7802 (copySelection): adjust
7803 (pasteSelection): new function, takes the index in the limited stack.
7804 (nrOfParagraphs): adjust
7805 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7806 simplify error inset insertion.
7807 (checkPastePossible): adjust
7809 2003-05-06 John Levon <levon@movementarian.org>
7811 * text2.C: don't cast wrap inset to float
7813 2003-05-05 André Pönitz <poenitz@gmx.net>
7816 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7818 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7819 few naked Paragraph *.
7821 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
7823 * bufferparams.C: Output warning if a document with missing
7824 TeX document class is loaded
7825 * exporter.C: Disable TeX exports if the document class is missing
7828 * lyxtextclasslist.C: Handle new textclass.lst format; new method
7829 isTeXClassAvailable()
7831 2003-05-03 John Levon <levon@movementarian.org>
7834 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7835 explicit cursor show/hide
7837 * BufferView_pimpl.h:
7838 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7839 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7841 * lyxfunc.C: hide cursor before dispatching.
7846 * text3.C: remove explicit cursor hides
7848 2003-05-02 André Pönitz <poenitz@gmx.net>
7850 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7853 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7856 * text2.C: tiny whitespace
7858 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7860 * undo_funcs.C: almost only ws changes.
7862 * ParagraphList.C (splice): just return if pl is empty.
7864 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7866 * ParagraphList.C (splice): new function.
7868 * CutAndPaste.C (pasteSelection): use it
7870 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7872 * CutAndPaste.C (pasteSelection): remove the last next and
7873 previous from this file.
7875 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7877 * CutAndPaste.C (pasteSelection): more clean up, user proper
7878 ParagraphList functions for pasteing.
7880 * ParagraphList.C (insert): new function, three arg insert
7882 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7884 * ParagraphList.C (insert): new function, three arg insert
7886 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7889 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7891 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7893 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7895 * CutAndPaste.C (pasteSelection): remove some unneeded code.
7897 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7899 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7900 (copySelection): clean up a bit.
7901 (pasteSelection): use make_pair
7903 * ParagraphList.C (ParagraphList): implement copy constructor
7904 (operator=): implement, base on copy constructor.
7907 * paragraph.C (erase): return a bool
7909 * paragraph_pimpl.C (erasePos): remove function, move contents...
7910 (erase): ... here. Return a bool.
7911 (erase): call erase instead of erasePos.
7913 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
7915 * ParagraphList.h: define PitPosPair
7916 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7917 ParagraphList, fix a bug on pasting multiple pars
7918 * text2.C: change interface to C&P
7920 2003-04-30 André Pönitz <poenitz@gmx.net>
7922 * undo_func.C: revert part of yesterday's patch 2
7924 2003-04-30 John Levon <levon@movementarian.org>
7926 * LColor.C: s/tabular/table/
7928 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7930 * text3.C (dispatch): do not convert iterator -> pointer
7931 * undo_funcs.C (setCursorParUndo): ditto
7932 * text_funcs.C (transposeChars): ditto
7934 * text2.C (setLayout): ws changes only
7936 * text.C (breakParagraph): do not convert iterator -> pointer
7938 (acceptChange): ditto
7939 (rejectChange): ditto
7944 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7947 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
7949 * text3.C (gotoInset): YABG (yet another bad getChar)
7951 2003-04-29 André Pönitz <poenitz@gmx.net>
7953 * paragraph.h: make operator= private unimplemented as long as
7956 * ParagraphList.C: whitespace
7959 * paragraph_pimpl.[Ch]:
7960 * paragraph_funcs.C:
7962 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
7965 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7967 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
7969 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7970 * paragraph.[Ch] (erase):
7971 * paragraph_pimpl.[Ch] (erase): change return type and value
7972 * text2.C (cutSelection): some rework
7974 2003-04-28 John Levon <levon@movementarian.org>
7976 * bufferlist.C: changes for unsaved changes dialog
7978 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7980 * bufferlist.C (newFile): set language (messages_) for new
7983 * buffer.C (readFile): ws changes only.
7985 2003-04-28 André Pönitz <poenitz@gmx.net>
7990 * BufferView_pimpl.C:
7991 * BufferView.C: getParFromID related ParagraphList::iterator changes
7993 2003-04-28 André Pönitz <poenitz@gmx.net>
7995 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7998 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8000 * messages.C: remove one more localedir class variable.
8002 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8004 * messages.C (getLocaleDir): singleton generation function
8006 (Messages): add a default constructor.
8008 * main.C (main): do not setup localedir here, do not call
8011 * gettext.C (_): use it.
8012 (gettext_init): delete funciton
8014 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8016 * gettext.C (getLyXMessages): new singleton generating function.
8018 * buffer.C (updateDocLang): adjust
8020 * Makefile.am (messages.o): add target
8021 (main.o): remove target
8023 2003-04-27 John Levon <levon@movementarian.org>
8028 * lyxvc.C: specify cancel button in Alert::prompt
8030 2003-04-26 John Levon <levon@movementarian.org>
8035 * LyXAction.C: add LFUN_INSET_SETTINGS
8037 * lyxfunc.C: don't enable tabular-feature when there's
8038 just any locking inset
8040 2003-04-26 John Levon <levon@movementarian.org>
8042 * bufferlist.C: re-add Cancel to buffer close question
8044 * lyxfunc.C: fix import UI a bit
8046 2003-04-25 John Levon <levon@movementarian.org>
8048 * gettext.C: remove the broken asserts for now
8050 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
8052 * messages.C: make case where setlocale cannot comply work better.
8054 * buffer.C (updateDocLang): new function
8055 (changeLanguage): use it
8058 * text2.C (setCounter): use B_ a bit.
8060 * lyxlayout.C (Read): be sure to trim the label strings.
8062 * messages.C (Messages): fix typo in comment
8064 * buffer.C (readFile): set message_ after file is loaded.
8065 (makeDocBookFile): remove double return
8066 (changeLanguage): reset message_ upon language change.
8067 (B_): new func, use this to get translated buffer strings.
8069 * main.C: add myself and Jean Marc as authors.
8071 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
8073 * messages.[hC]: pimplify Messages, and three different pimpls to be
8074 used in different circumstances.
8076 * gettext.[Ch]: change for use with new message code.
8078 2003-04-24 André Pönitz <poenitz@gmx.net>
8080 * factory.C: support for eqref
8082 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
8084 * messages.[Ch]: add missing char
8086 * Makefile.am (lyx_SOURCES): add messages.[Ch]
8088 * messages.[Ch]: New files
8090 2003-04-18 John Levon <levon@movementarian.org>
8094 * BufferView_pimpl.C:
8098 * text2.C: remove layout-copy/paste (bug 778)
8100 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
8102 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
8104 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
8106 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
8107 if they succeed. Act accordingly.
8109 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8111 * text2.C (setCharFont): adjust
8112 (setCounter): adjust
8113 (insertStringAsLines): adjust
8115 * text.C (leftMargin): adjust
8116 (setHeightOfRow): adjust
8118 * rowpainter.C (paintFirst): adjust
8121 * paragraph_funcs.C (depthHook): ParagraphList::iterators
8123 (isFirstInSequence): ditto
8124 (getEndLabel): ditto
8127 * paragraph.C (getParLanguage): comment out some hard stuff.
8129 * buffer.C (insertStringAsLines): take a ParagraphList as arg
8131 (simpleDocBookOnePar): ditto
8132 (makeDocBookFile): use ParagraphList::iterator
8134 * CutAndPaste.C (pasteSelection): adjust
8136 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8138 * text2.C (getFont): adjust
8139 (getLayoutFont): adjust
8140 (getLabelFont): adjust
8142 * paragraph_funcs.C (TeXOnePar): adjust
8144 * buffer.C (simpleLinuxDocOnePar): adjust
8145 (simpleDocBookOnePar): adjust
8147 * CutAndPaste.C (pasteSelection): adjust
8149 * BufferView.C (getEncoding): adjust
8151 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
8153 2003-04-16 John Levon <levon@movementarian.org>
8155 * lyxfind.C: use parlist stuff for search/changes
8157 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8159 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
8161 * text2.C (deleteEmptyParagraphMechanism): adjust
8163 * text2.[Ch] (ownerParagraph): delete func (both of them
8165 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8167 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
8169 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8171 * ParagraphList.C: prepare for NO_NEXT
8173 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8175 * text2.C (getFont): adjust
8176 (getLayoutFont): adjust
8177 (getLabelFont): adjust
8179 * paragraph.C (getFont): adjust
8180 (getLabelFont): adjust
8181 (getLayoutFont): adjust
8183 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
8185 2003-04-15 John Levon <levon@movementarian.org>
8189 * lyx_main.C: handle Include in .ui files
8191 2003-04-15 John Levon <levon@movementarian.org>
8193 * MenuBackend.C: make the doc files length shorter
8196 * ToolbarBackend.C: handle toolbar placement flags,
8199 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8201 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
8204 * paragraph_funcs.C (TeXOnePar): adjust
8206 * paragraph.C (getLabelFont): add outerfont arg, adjust
8207 (getLayoutFont): ditto
8208 (simpleTeXOnePar): adjust
8210 * paragraph_pimpl.C (realizeFont): delete func
8212 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
8214 * text2.C (beforeFullRowInset): added a bad getchar check, removed
8215 row argument, constify cur argument.
8217 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8219 * text2.C (getFont): adjust
8220 (getLayoutFont): adjust
8221 (getLabelFont): adjust
8223 * paragraph_funcs.C (TeXOnePar): adjust
8224 (outerFont): new func...
8225 (realizeFont): ...moved out from here, changed this to facilitate
8228 * paragraph.C (getFont): take outerfont as arg, adjust
8229 (simpleTeXOnePar): add outerfont arg, adjust
8231 * buffer.C (simpleLinuxDocOnePar): adjust
8232 (simpleDocBookOnePar): adjust
8234 * CutAndPaste.C (pasteSelection): adjust
8236 * BufferView.C (getEncoding): adjust
8238 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8240 * text2.C (setCharFont): adjust
8241 (setCounter): adjust
8243 * text.C (leftMargin): adjust
8244 (setHeightOfRow): adjust
8246 * rowpainter.C (paintFirst): adjust
8249 * paragraph_pimpl.C (realizeFont): adjust
8251 * paragraph.C (isFirstInSequence): move from here...
8252 * paragraph_funcs.C (isFirstInSequence): ...to here
8254 * paragraph.C (outerHook): move from here...
8255 * paragraph_funcs.C (outerHook): ...to here
8257 * paragraph.C (depthHook): move from here...
8258 * paragraph_funcs.C (depthHook): ...to here
8260 * paragraph.C (getEndLabel): move from here...
8261 * paragraph_funcs.C (getEndLabel): ...to here
8263 * text2.C (realizeFont): move from here...
8264 * paragraph_funcs.C (realizeFont): ...to here
8266 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8268 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
8270 2003-04-14 Angus Leeming <leeming@lyx.org>
8272 * LColor.[Ch]: scrap LColor mathcursor.
8274 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8276 * lyxlex.[Ch] (text): delete function
8277 * trans.C (Load): adjust
8278 * paragraph_funcs.C (readParToken): adjust
8280 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8282 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8283 vector<char> instead of a char[].
8285 * lyxlex_pimpl.C (getString): adjust
8287 (lex): use getString
8291 * lyxlex.C (text): use pimpl_->getString()
8295 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8297 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8298 (makeFontEntriesLayoutSpecific): temp var for par.size()
8299 (setLayout): temp var for ownerParagraphs().end()
8300 (fullRebreak): temp var for rows().end()
8301 (selectionAsString): temp var for boost::next(startpit), realize
8302 that the while really is a regular for loop.
8303 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8304 setCursor in one place.
8305 (setParagraph): temp vr for ownerParagraphs().end()
8306 (updateCounters): make the while loop a for loop
8307 (cutSelection): temp var for ownerParagraphs().end()
8308 (updateInset): make the do {} while() a regular for loop
8309 (getCursorX): use temp vars
8310 (setCurrentFont): use temp vars
8311 (getColumnNearX): use temp vars
8313 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8315 * text.C (transformChar): use temp var for getChar
8316 (computeBidiTables): use temp var for row->par()
8317 (fill): move temp vars for row->par() and pit->layout() earlier in
8319 (labelFill): use temp var for row->par()
8320 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8321 asc and desc, realize that pit never changes and that firstpit is
8322 just a duplicate and not needed. Exchange rit->par() with pit in a
8324 (breakAgain): use a temp var for boost::next(rit)
8325 (breakAgainOneRow): ditto
8326 (breakParagraph): use a temp var for rows().begin()
8327 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8328 (cursorRightOneWord): use temp var for cursor.par() and
8329 cursor.pos(), remove usage of tmpcursor.
8330 (cursorLeftOneWord): use temp var for cursor.par() and
8331 cursor.pos() only set cur at end of function.
8333 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8335 * text.C, text2.C: exchange all usage of Paragraph::next with
8336 boost::next(ParagraphList::iterator)
8338 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8340 * text2.C (cursorTop): simplify implementation
8341 (cursorBottom): ditto
8342 (setParagraph): use ParagraphList::iterator
8343 (setCurrentFont): adjust
8344 (getColumnNearX): adjust
8345 (cursorRight): adjust
8346 (cursorLeft): remove usage of Paragraph::previous
8347 (cursorUpParagraph): ditto
8348 (deleteEmptyParagraphMechanism): slight cleanup
8350 * text.C (isBoundary): take a Paragraph const & instead of a
8352 (addressBreakPoint): ditto
8353 (leftMargin): remove usage of Paragraph::previous.
8354 (setHeightOfRow): ditto
8355 (cursorLeftOneWord): ditto
8356 (selectNextWordToSpellcheck): ditto
8359 (breakParagraph): remove one usage of Paragraph::next
8360 (redoParagraph): ditto
8361 (acceptChange): ditto
8362 (insertChar): adjust
8363 (rowBreakPoint): adjust
8365 * bufferview_funcs.C (toggleAndShow): adjust
8367 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
8369 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8370 methods to access it.
8372 * text.C: Added updateRowPositions to compute all row positions.
8373 Make top_y and getRowNearY() to use the cached y position
8375 2003-04-11 John Levon <levon@movementarian.org>
8377 * text.C (rowBreakPoint): reintroduce the labelEnd
8378 checks, code copied from the row fill stuff. Deep voodoo.
8380 * text.C (fill): add a comment and debugging for the
8383 2003-04-11 John Levon <levon@movementarian.org>
8385 * text.C: make sure fullrow insets get wrapped to the next line,
8386 even when they're in a manual label
8388 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
8390 * text2.C (insertParagraph): make it take ParagraphList::iterator
8392 (setLayout): make it return ParagraphList::iterator
8393 (redoParagraphs): ditto
8395 (checkParagraph): ditto
8397 * text.C (getRow): make getrow take ParagraphList::iterator as arg
8399 * text2.C: adjust several funcs.
8400 (realizeFont): take a ParagraphList::iterator as arg.
8401 (getLayoutFont): ditto
8402 (getLabelFont): ditto
8403 (setCharFont): ditto
8405 * text.C: adjust several funcs.
8407 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8409 * text.C (selectNextWordToSpellcheck): don't accidentally
8412 2003-04-10 John Levon <levon@movementarian.org>
8414 * ToolbarBackend.C (getIcon): special handling for
8417 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8419 * text2.C (cursorRight): a getChar assert fixed
8421 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8423 * text2.C (getFont): change to take a ParagraphList::iterator
8424 instead of Paragraph*
8425 Adjust several functions.
8427 * text.C (transformChar): change to take a ParagraphList::iterator
8428 instead of Paragraph*
8429 (singleWidth): ditto
8430 Adjust several functions.
8432 * rowpainter.C: adjust several functions
8433 * rowpainter.h:store a ParagraphList::iterator and not a
8437 2003-04-09 John Levon <levon@movementarian.org>
8442 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8443 and the "help" bits as well
8445 2003-04-09 John Levon <levon@movementarian.org>
8448 * ToolbarBackend.C: allow multiple toolbars
8450 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8452 * undo_funcs.C (setCursorParUndo): adjust
8454 * text_funcs.C (transposeChars): adjust
8456 * text3.C (gotoNextInset): adjust
8459 * text2.C (setLayout): adjust
8460 (changeDepth): adjust
8462 (redoParagraphs): adjust
8463 (selectionAsString): adjust
8464 (setParagraph): adjust
8465 (insertInset): adjust
8466 (cutSelection): adjust
8467 (copySelection): adjust
8468 (pasteSelection): adjust
8469 (insertStringAsLines): adjust
8470 (updateInset): adjust
8471 (setCursor): change to take a ParagraphList::iterator parameter
8472 (setCursorIntern): change to take a ParagraphList::iterator parameter
8473 (setCurrentFont): adjust
8474 (cursorLeft): adjust
8475 (cursorRight): adjust
8476 (deleteEmptyParagraphMechanism): adjust
8478 * text.C (breakParagraph): adjust
8479 (insertChar): adjust
8480 (acceptChange): adjust
8481 (rejectChange): adjust
8482 (selectNextWordToSpellcheck): adjust
8483 (changeCase): adjust
8487 * lyxfind.C (SearchForward): adjust
8488 (SearchBackward): adjust
8489 (nextChange): adjust
8491 * lyxcursor.C (par): adjust
8493 * lyxcursor.h: store a ParagraphList::iterator instead of a
8496 * lyx_cb.C (getPossibleLabel): adjust
8498 * bufferview_funcs.C (toggleAndShow): adjust
8500 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8503 * BufferView.C (removeAutoInsets): adjust
8504 (lockedInsetStoreUndo): adjust
8506 2003-04-09 John Levon <levon@movementarian.org>
8508 * ToolbarBackend.C: try icon without argument
8509 if with argument fails
8511 2003-04-08 John Levon <levon@movementarian.org>
8514 * ToolbarBackend.C: add getIcon(), handle tooltip,
8515 and change from "Icon" to "Item".
8517 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8519 * BufferView.C (lockInset): another bad getchar crunched
8521 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8523 * text2.C (changeDepth): do not setUndo on test_only (make undo work
8526 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
8528 * lyxfind.C (searchForward, searchBackwards): bug 782
8530 2003-04-07 John Levon <levon@movementarian.org>
8532 * paragraph.C: remove dead comment
8534 * text.C: remove troublesome depth-fiddling code
8535 in leftMargin() and rightMargin() (bug 1017)
8537 * text.C: fix breaking of rows in nested lists
8540 * text2.C (updateCounters): fix up depth values
8543 2003-04-07 John Levon <levon@movementarian.org>
8545 * BufferView_pimpl.C: clear message when doc finishes resizing,
8546 and after a mouse event
8548 * lyxfunc.C: clear message after exiting inset
8550 2003-04-07 John Levon <levon@movementarian.org>
8552 * bufferview_funcs.C: show math status not outside
8553 status in the statusbar
8555 2003-04-07 John Levon <levon@movementarian.org>
8557 * lyxfunc.C: note status changed after a depth change
8559 2003-04-04 Angus Leeming <leeming@lyx.org>
8561 * LaTeX.h: move AuxInfo operator==, != out of line.
8562 Remove LaTeX virtual destructor; nothing derives from it.
8563 Move operator()() out of public area and rename it startscript().
8564 Change protected for private.
8566 2003-04-04 Angus Leeming <leeming@lyx.org>
8569 * text2.C: remove unneeded #includes.
8571 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8573 * text2.C (dEPM): fix the heigth of the next row
8575 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8577 * text.C: squashed an invalid getChar requester + some ws changes
8579 2003-04-03 John Levon <levon@movementarian.org>
8581 * bufferview_funcs.h:
8582 * bufferview_funcs.C:
8585 * text2.C: make getStatus work for the env depth lfuns
8587 2003-04-03 John Levon <levon@movementarian.org>
8589 * bufferview_funcs.h:
8590 * bufferview_funcs.C:
8593 * text2.C: parlistize decDepth(), by merging it with incDepth()
8595 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8597 * lyxrow.h: store a ParagraphList::iterator instead of a
8598 Paragraph* and adjust other class functions to suit.
8600 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8603 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8605 * text2.C (setCursor): do not anchor to cursor row for the time being
8607 2003-04-02 John Levon <levon@movementarian.org>
8614 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8616 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8618 * paragraph.h: make ParagraphList and ParagraphList::iterator
8619 friends of Paragraph.
8621 * buffer.C (makeLinuxDocFile): move towards ParagraphList
8623 * ParagraphList.C: Use the private next_ and previous_ from
8626 2003-04-01 John Levon <levon@movementarian.org>
8630 * Makefile.am: rename, remove defaults gunk
8633 * MenuBackend.C: remove defaults gunk
8636 * Languages.C: remove defaults gunk
8639 * lyx_main.C: error out if files couldn't be found.
8641 2003-04-02 John Levon <levon@movementarian.org>
8643 * text2.C: make incDepth() use parlist
8645 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8647 * undo_funcs.C (firstUndoParagraph): adjust
8649 * text3.C (gotoInset): adjust
8650 (dispatch): adjust, and rewrite loop.
8652 * text2.C (init): adjust, and rewrite loop.
8653 (redoParagraphs): adjust
8654 (updateInset): adjust, and rewrite loop.
8655 (deleteEmptyParagraphMechanism): adjust
8657 * tabular.C (LyXTabular): adjust
8658 (SetMultiColumn): adjust
8661 * lyxtext.[Ch] (ownerParagraph): delete function
8662 (ownerParagraphs): new function returns a ParagraphList.
8664 * BufferView.C (removeAutoInsets): adjust
8665 (insertErrors): adjust
8666 (setCursorFromRow): adjust
8668 2003-04-01 Angus Leeming <leeming@lyx.org>
8670 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8673 2003-04-02 John Levon <levon@movementarian.org>
8679 * text_funcs.C: make transposeChars a free function
8681 * lyxrow_funcs.C: remove wrong comment
8683 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8686 * rowpainter.C: adjust
8691 * lyxrow_funcs. [Ch]: new files
8693 * lyxrow.[Ch]: remove next and previous pointers
8694 (next,previous): remove accessor functions
8695 (isParEnd): move to lyxrow_funcs
8696 (lastPos): move to lyxrow_funcs
8697 (nextRowIsAllInset): move to lyxrow_funcs
8698 (lastPrintablePos): move to lyxrow_funcs
8699 (numberOfSeparators): move to lyxrow_funcs
8700 (numberOfHfills): move to lyxrow_funcs
8701 (numberOfLabelHfills): move to lyxrow_funcs
8702 (hfillExpansion): move to lyxrow_funcs
8706 * bufferview_funcs.C (toggleAndShow): adjust
8708 * RowList.h: Remove class RowList from file leave just a
8711 * RowList.C: delete file
8713 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8716 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8718 * text3.C (cursorPrevious): adjust
8719 (cursorNext): adjust
8722 * text2.C (redoHeightOfParagraph): adjust
8723 (redoDrawingOfParagraph): adjust
8726 * text.C (breakParagraph): adjust
8727 (insertChar): adjust
8730 * rowpainter.C (RowPainter): adjust
8731 (leftMargin): simplify and adjust
8732 (most rowpainter functions): adjust.
8734 * rowpainter.h: store the row as RowList::iterator not as Row*
8736 * lyxcursor.C (row): taka RowList::iterator as arg
8739 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8742 2003-04-01 Angus Leeming <leeming@lyx.org>
8744 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8745 stuff like bool Bool.
8747 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8749 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8752 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8754 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8757 * lyxtext.h (rows): drop one version and leve a const variant that
8758 returns a RowList::iterator.
8760 2003-03-31 Angus Leeming <leeming@lyx.org>
8762 * text.C (fill): ensure that the signature is the same as that in the
8765 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
8767 * text2.C (redoParagraphs): adjust
8768 (updateCounters): adjust
8769 (checkParagraph): adjust
8770 (getColumnNearX): adjust and reformat a bit.
8772 * text.C (top_y): adjust
8774 (leftMargin): adjust
8775 (prepareToPrint): adjust
8777 (getRowNearY): adjust
8779 * lyxtext.h: make rowlist_ mutable.
8781 * RowList.h: add const_iterator
8782 * RowList.C: adjust for RowList::const_iterator.
8784 * text2.C (getCursorX): make it take a RowList::iterator as arg,
8787 2003-03-31 John Levon <levon@movementarian.org>
8790 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8792 * lyx_main.C: set default fonts from using lyx_gui funcs
8794 * exporter.C: pdf_mode moved from lyxrc
8797 * lyxfunc.C: changes from above
8799 2003-03-31 John Levon <levon@movementarian.org>
8801 * lyx_main.C: fix to the last fix
8803 2003-03-31 John Levon <levon@movementarian.org>
8805 * bufferlist.C: "Load original" -> "Load Original"
8811 * format.C: more Alert cleanups
8813 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8815 * text2.C (removeParagraph): make it take a RowList::iterator as
8817 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8818 (postRowPaint): make it take a RowList::iterator as arg, adjust.
8820 * text.C (anchor_row): make it take a RowList::iterator as arg,
8822 (computeBidiTables): make it take a const reference to Row instead
8823 of Row pointer, adjust.
8824 (leftMargin): make it take a RowList::iterator as arg, adjust.
8825 (rowBreakPoint): adjust
8826 (breakAgainOneRow): make it take a RowList::iterator as arg,
8828 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8830 * bufferview_funcs.C (toggleAndShow): adjust
8832 2003-03-30 John Levon <levon@movementarian.org>
8836 * boost-inst.C: moved to support
8838 * several files: changes as a result
8840 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8842 * text2.C (LyXText): adjust.
8844 (removeRow): make it take a RowList::iterator as arg, adjust.
8845 (fullRebreak): adjust
8846 (deleteEmptyParagraphMechanism): adjust
8847 (clearPaint): adjust
8850 * text.C (top_y): adjust
8851 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8852 (breakAgain): make it take a RowList::iterator as arg, adjust.
8853 (breakParagraph): adjust
8854 (insertChar): adjust
8857 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8858 need_break_row, and refresh_row.
8860 * text3.C (dispatch): adjust
8862 * text2.C (checkParagraph): adjust
8864 (setCursorFromCoordinates): adjust
8866 * text.C (top_y): adjust
8868 (getRow): make it return a RowList::iterator, adjust
8869 (getRowNearY): make it return a RowList::iterator, adjust
8871 * text2.C (init): adjust
8872 (insertRow): remove function
8873 (insertParagraph): adjust
8874 (redoParagraphs): adjust
8875 (fullRebreak): adjust
8876 (updateCounters): adjust
8878 * text.C (top_y): rewrite to use RowList iterators.
8880 (setHeightOfRow): rewrite to sue RowList iterators.
8881 (appendParagraph): adjust
8882 (breakAgain): adjust
8883 (breakAgainOneRow): adjust
8884 (breakParagraph): adjust
8886 (getRowNearY): adjust, and remove commented code.
8888 * lyxtext.h (firstRow): delete function
8889 (lastRow): delete function
8890 (rows): new function (const and non-const versions.)
8891 (insertRow): delete function
8893 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8895 2003-03-29 John Levon <levon@movementarian.org>
8897 * BufferView_pimpl.C: always update scrollbar top
8898 because pasting text when we're anchored could mean we
8899 miss an update altogether
8901 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8903 * text2.C (init): use rowlist_.end() and not 0.
8904 (insertRow): change to take a RowList::iterator as arg, adjust
8906 (insertParagraph): change to take a RowList::iterator as arg,
8908 (redoParagraphs): remove some debug msgs.
8910 * text.C (appendParagraph): change to take a RowList::iterator
8911 arg, adjust for this.
8912 (breakAgain): add an assert
8913 (breakAgainOneRow): ditto
8915 2003-03-29 John Levon <levon@movementarian.org>
8917 * text2.C: do not clear selection after inc/decDepth
8920 2003-03-29 John Levon <levon@movementarian.org>
8923 * buffer.C: fix broken strerrors according to Lars
8925 2003-03-29 John Levon <levon@movementarian.org>
8927 * converters.C: more Alert cleanups
8929 2003-03-29 John Levon <levon@movementarian.org>
8931 * bufferview_funcs.C: remove pointless Alert
8933 * buffer.C: fix confusing error message when
8934 a template is chmoded 000
8936 2003-03-29 John Levon <levon@movementarian.org>
8940 * BufferView_pimpl.C: Alert fixes
8944 * tabular-old.C: remove unused table compat reading
8946 2003-03-29 John Levon <levon@movementarian.org>
8951 * lyx_cb.C: more Alert cleanups
8953 * lyxfunc.C: don't allow chktex if not latex document
8955 2003-03-29 John Levon <levon@movementarian.org>
8959 * buffer.C: warnings pushed down from support/,
8962 2003-03-29 John Levon <levon@movementarian.org>
8964 * lyxfunc.C: safety check for C-r (revert)
8966 2003-03-29 John Levon <levon@movementarian.org>
8969 * bufferlist.C: several UI fixes using Alert::prompt.
8970 Fix the pointless looping quit code. Fix stupid revert
8975 * lyx_cb.C: use Alert::prompt
8977 * lyx_main.C: remove a silly question
8979 * lyxfunc.C: remove a couple of silly questions,
8982 2003-03-28 John Levon <levon@movementarian.org>
8984 * text2.C: fix bug 974 (End on empty par)
8986 2003-03-28 John Levon <levon@movementarian.org>
8988 * BufferView_pimpl.C:
8990 * lfuns.h: remove do-nothing math greek lfuns
8992 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8994 * lyxgluelength.h (isValidGlueLength): add default arg on
8995 parameter 2. Remove default arg from friend in class.
8997 * lyxlength.h (isValidLength): add default arg on parameter 2.
8998 Remove default arg from friend in class.
9000 * text2.C (LyXText): adjust, initialize refresh_row.
9004 (insertParagraph): adjst
9005 (redoParagraphs): adjust
9006 (fullRebreak): adjust
9007 (updateCounters): adjust
9008 (deleteEmptyParagraphMechanism): first attempt at fixing a
9011 * text.C (top_y): adjust
9012 (setHeightOfRow): adjust
9014 (getRowNearY): adjust
9016 * lyxtext.h: include RowList.h
9017 (~LyXText): not needed anymore, deleted.
9018 (firstRow): modify for RowList
9019 (lastRow): new function
9020 Delete firstrow and lastrow class variables, add a Rowlist
9021 rowlist_ class variable.
9023 * lyxrow.C (lastPos): use empty() and not !size() to check if a
9026 * RowList.C (insert): fix case where it == begin().
9028 2003-03-26 Angus Leeming <leeming@lyx.org>
9030 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
9031 the thesaurus dialog.
9033 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
9035 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
9037 * RowList.[Ch]: new files
9039 * ParagraphList.C (erase): handle the case where it == begin
9042 2003-03-25 John Levon <levon@movementarian.org>
9046 * aspell.C: add new aspell support
9049 * lyxrc.C: Make use_pspell be use_spell_lib. Always
9052 2003-03-25 Angus Leeming <leeming@lyx.org>
9055 * LyXAction.C (init): new LFUN_INSET_INSERT.
9057 * BufferView_pimpl.C (dispatch): split out part of the
9058 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
9060 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
9063 2003-03-25 Angus Leeming <leeming@lyx.org>
9065 * lyxfunc.C (dispatch): changes to the Dialogs interface.
9067 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
9070 * text3.C: remove useless row->height(0)
9072 2003-03-25 John Levon <levon@movementarian.org>
9076 * text3.C: rename the refreshing stuff to better names
9078 2003-03-24 John Levon <levon@movementarian.org>
9080 * BufferView_pimpl.h:
9081 * BufferView_pimpl.C: update layout choice on a mouse
9084 2003-03-23 John Levon <levon@movementarian.org>
9086 * Makefile.am: fix commandtags.h reference
9088 2003-03-22 John Levon <levon@movementarian.org>
9090 * BufferView_pimpl.C:
9095 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
9097 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
9100 * text.C: take the rtl methods out of line
9102 2003-03-21 André Pönitz <poenitz@gmx.net>
9104 * metricsinfo.[Ch]: new files containing structures to be passed around
9105 during the two-phase-drawing...
9107 2003-03-21 André Pönitz <poenitz@gmx.net>
9109 * lyxtextclass.C: read 'environment' tag.
9111 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
9113 * text2.C (removeRow): fix bug 964
9115 2003-03-20 John Levon <levon@movementarian.org>
9119 * text2.C: paint cleanups. Inset::update() dropped font
9122 2003-03-19 John Levon <levon@movementarian.org>
9124 * lyxfunc.C: only fitcursor/markDirty if available()
9126 2003-03-19 John Levon <levon@movementarian.org>
9128 * commandtags.h: rename to ...
9130 * lfuns.h: ... this, and renumber / cleanup
9132 2003-03-19 John Levon <levon@movementarian.org>
9134 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
9135 fit the cursor after an lfun
9139 * BufferView_pimpl.h:
9140 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
9142 * LyXAction.C: layout-character should have ReadOnly
9144 * ParagraphParameters.C:
9146 * bufferview_funcs.C:
9153 * undo_funcs.C: changes from above
9155 2003-03-18 John Levon <levon@movementarian.org>
9157 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
9158 remove it from update()
9160 * lyxfunc.C: update layout choice after an lfun
9162 * text3.C: remove extra updateLayoutChoice()s
9164 2003-03-18 John Levon <levon@movementarian.org>
9166 * text.C: top_y change means full repaint, fix
9167 a drawing bug with cursor movement
9169 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
9173 * text2.C: anchor row on setCursor
9175 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
9177 * lyxtext.h: remove almost all mutable keywords
9180 * text3.C: remove const keywords accordingly
9182 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
9184 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
9186 (TeXEnvironment): ditto
9189 2003-03-17 John Levon <levon@movementarian.org>
9191 * text.C (rowBreakPoint): remove attempt to fix displayed
9192 math insets inside a manual label
9194 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
9196 * lyxtext.h: remove BufferView* as first arg from almost all class
9198 * other files: adjust.
9200 2003-03-17 John Levon <levon@movementarian.org>
9204 * text2.C: more paint cleanups
9206 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
9209 * rowpainter.C: remove "smart" background painting code
9211 2003-03-16 John Levon <levon@movementarian.org>
9216 * text3.C: add helper functions for setting refresh_row/y
9218 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
9220 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
9221 newline inset which *can* get inserted in the pass_thru layouts.
9222 This is primarily for literate documents.
9224 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
9226 * buffer.C: increment LYX_FORMAT to 223
9228 2003-03-14 André Pönitz <poenitz@gmx.net>
9230 * textclass.h: prepare for environment handling, ws changes
9231 * lyxlayout.C: read latexheader and latexfooter tags
9233 2003-03-14 John Levon <levon@movementarian.org>
9235 * text2.C: rewrite ::status() a bit
9237 2003-03-13 John Levon <levon@movementarian.org>
9239 * lyxtext.h: add some docs
9241 2003-03-13 John Levon <levon@movementarian.org>
9246 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
9248 2003-03-13 John Levon <levon@movementarian.org>
9250 * text3.C: fix appendix redrawing
9252 2003-03-13 John Levon <levon@movementarian.org>
9254 * text.C (setHeightOfRow):
9256 * rowpainter.C: make appendix mark have the text
9257 "Appendix" so the user knows what it is
9260 * LColor.C: s/appendixline/appendix/ from above
9262 2003-03-13 John Levon <levon@movementarian.org>
9264 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
9266 * text.C: fix a getChar(pos) bug properly
9268 2003-03-13 Angus Leeming <leeming@lyx.org>
9271 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
9272 Probably only temporary. Let's see how things pan out.
9274 * BufferView.C (unlockInset):
9275 * BufferView_pimpl.C (fitCursor):
9276 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
9278 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
9279 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
9281 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
9282 new functions that convert ParagraphParameters to and from a string.
9284 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9285 BufferView::Pimpl's dispatch.
9286 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9288 2003-03-13 André Pönitz <poenitz@gmx.net>
9292 * factory.C: make it aware of InsetEnv
9294 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
9296 * text2.C (setCursor): never ask for one past last
9297 (setCursor): add some debugging messages.
9299 * text.C (singleWidth): never ask for one past last
9300 (singleWidth): ditto
9302 (rightMargin): ditto
9303 (rowBreakPoint): ditto
9304 (setHeightOfRow): ditto
9305 (prepareToPrint): ditto
9307 * rowpainter.C (paintBackground): never ask for one past last
9308 (paintText): never ask for one past last
9310 * paragraph_pimpl.C (getChar): make the assert stricter, never
9311 allow the one past last pos to be taken
9313 * paragraph.C (getChar): ws changes only
9315 * lyxrow.C (nextRowIsAllInset): never ask for one past last
9316 (numberOfSeparators): ditto
9317 (numberOfHfills): ditto
9319 2003-03-12 John Levon <levon@movementarian.org>
9325 * paragraph_funcs.C: fix per-buffer authorlists
9327 2003-03-12 John Levon <levon@movementarian.org>
9329 * text.C: fix newline in right address
9331 2003-03-12 Angus Leeming <leeming@lyx.org>
9333 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9334 duplicate those in LyXFunc::dispatch.
9338 * ToolbarDefaults.C:
9339 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9340 Add LFUN_FONTFREE_UPDATE.
9342 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9343 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9345 * bufferview_func.[Ch]: several new functions to facilliate
9346 transfer of data to and from the character dialog.
9348 2003-03-12 John Levon <levon@movementarian.org>
9353 * paragraph_funcs.C:
9354 * paragraph_pimpl.C:
9358 * text3.C: remove META_NEWLINE in favour of an inset
9361 * rowpainter.C: remove paintNewline (done by inset)
9363 2003-03-12 John Levon <levon@movementarian.org>
9365 * paragraph_pimpl.C: complain about bad getChar()s
9366 for a while at least
9368 2003-03-12 John Levon <levon@movementarian.org>
9371 * buffer.C: move paragraph read into a separate function,
9372 a little renaming to reflect that.
9375 * bufferparams.C: remove the author_ids map, not necessary now
9378 * factory.C: moved Buffer::readInset to here
9380 * paragraph_funcs.h:
9381 * paragraph_funcs.C: readParagraph free function moved from
9384 * tabular.C: name change
9386 2003-03-12 John Levon <levon@movementarian.org>
9389 * ParagraphParameters.C: move par params input to
9392 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9393 behave like a normal read from the stream wrt reading
9394 a line vs. a \\token
9396 2003-03-12 John Levon <levon@movementarian.org>
9399 * ParagraphParameters.h:
9400 * ParagraphParameters.C: move output code to a
9403 2003-03-12 John Levon <levon@movementarian.org>
9405 * BufferView.C (insertLyXFile):
9408 * tabular.C: use a parlist iterator for creating the
9411 2003-03-12 John Levon <levon@movementarian.org>
9413 * buffer.C: make current_change static local not
9416 2003-03-12 John Levon <levon@movementarian.org>
9418 * buffer.C: fix insertStringAsLines for change tracking
9420 2003-03-12 John Levon <levon@movementarian.org>
9427 * bufferparams.C: move author list into params. Rename some
9428 functions. Move the header reading into a separate token
9429 loop. Move the header token reading into BufferParams.
9431 2003-03-12 John Levon <levon@movementarian.org>
9433 * changes.C: put debug inside lyxerr.debugging() checks
9435 2003-03-11 André Pönitz <poenitz@gmx.net>
9437 * factory.C: make it aware of InsetHFill
9439 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9441 * buffer.C (latexParagraphs): move function from here...
9442 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9445 2003-03-10 Angus Leeming <leeming@lyx.org>
9447 * LyXAction.C (init): fix bug in poplating array with multiple entries
9448 with the same LFUN (spotted by JMarc).
9450 2003-03-10 John Levon <levon@movementarian.org>
9453 * text2.C: move getColumnNearX() near its
9456 2003-03-10 John Levon <levon@movementarian.org>
9458 * text.C: fix break before a minipage
9460 2003-03-10 John Levon <levon@movementarian.org>
9462 * text.C: fix the last commit
9464 2003-03-09 John Levon <levon@movementarian.org>
9468 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9469 bug 365 (don't break before insets unless needed). Don't
9470 return a value > last under any circumstances.
9472 2003-03-09 Angus Leeming <leeming@lyx.org>
9474 * BufferView_pimpl.C (trackChanges, dispatch): call
9475 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9477 2003-03-09 Angus Leeming <leeming@lyx.org>
9479 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9480 than Dialogs::showAboutlyx().
9482 2003-03-09 Angus Leeming <leeming@lyx.org>
9484 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9485 than Dialogs::showTabularCreate().
9487 2003-03-09 John Levon <levon@movementarian.org>
9491 * text2.C: 3rd arg to nextBreakPoint was always the same.
9494 2003-03-08 John Levon <levon@movementarian.org>
9501 * text2.C: Remove the "main" bit from the "main body"
9504 2003-03-08 John Levon <levon@movementarian.org>
9506 * text.C (leftMargin): The left margin of an empty
9507 manual label paragraph should not include the label width
9510 * text.C (prepareToPrint): don't attempt to measure hfills
9511 for empty manual label paragraphs - the answer should be 0
9513 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9515 * CutAndPaste.C: remove commented code and reindent.
9517 2003-03-08 John Levon <levon@movementarian.org>
9520 * lyxfunc.C: move reloadBuffer()
9523 * BufferView.C: to here
9525 * lyxvc.C: add comment
9528 * vc-backend.C: call bv->reload() to avoid
9529 getStatus() check on MENURELOAD
9531 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
9533 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9534 to an old format .dep file.
9536 2003-03-07 Angus Leeming <leeming@lyx.org>
9538 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9539 when the LFUN_MOUSE_RELEASE should have been handled by
9540 inset->localDispatch.
9542 2003-03-07 Angus Leeming <leeming@lyx.org>
9544 * BufferView_pimpl.C (dispatch):
9545 * LyXAction.C (init):
9546 * ToolbarDefaults.C (init):
9548 * lyxfunc.C (getStatus):
9549 remove LFUN_INSET_GRAPHICS.
9551 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9553 2003-03-07 Angus Leeming <leeming@lyx.org>
9556 * LyXAction.C (init):
9557 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9559 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9562 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9564 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9565 localDispatch method LFUN_INSET_DIALOG_UPDATE.
9567 2003-03-07 Angus Leeming <leeming@lyx.org>
9569 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9572 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9574 * ParagraphList.C (front): new function
9577 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
9579 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9580 and top_row_offset_. removed var first_y.
9582 * text2.C (LyXText, removeRow):
9584 * BufferView_pimpl.C:
9585 use these methods instead of using first_y
9587 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9589 * text2.C (pasteSelection): adjust for checkPastePossible
9591 * CutAndPaste.C: remove Paragraph * buf and replace with
9592 ParagraphList paragraphs.
9593 (DeleteBuffer): delete
9594 (cutSelection): change the tc type to textclass_type
9595 (copySelection): change the tc type to textclass_type
9596 (copySelection): adjust for ParagraphList
9597 (pasteSelection): change the tc type to textclass_type
9598 (pasteSelection): adjust for Paragraphlist
9599 (nrOfParagraphs): simplify for ParagraphList
9600 (checkPastePossible): simplify for ParagraphList
9601 (checkPastePossible): remove unused arg
9603 * ParagraphList.C (insert): handle the case where there are no
9606 * CutAndPaste.h: make CutAndPaste a namespace.
9608 * text3.C (dispatch): adjust
9610 * text.C (breakParagraph): add a ParagraphList as arg
9612 * paragraph_funcs.C (breakParagraph): change to take a
9613 BufferParams and a ParagraphList as args.
9614 (breakParagraphConservative): ditto
9615 (mergeParagraph): ditto
9616 (TeXDeeper): add a ParagraphList arg
9617 (TeXEnvironment): ditto
9620 * buffer.C (readLyXformat2): adjust
9621 (insertStringAsLines): adjust
9622 (latexParagraphs): adjust
9624 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9625 (cutSelection): adjust
9626 (pasteSelection): adjust
9628 * BufferView_pimpl.C (insertInset): adjust
9630 2003-03-05 Angus Leeming <leeming@lyx.org>
9633 * LyXAction.C (init):
9634 * BufferView_pimpl.C (dispatch):
9635 * lyxfunc.C (getStatus):
9636 remove LFUN_CHILD_INSERT.
9638 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9640 2003-03-05 Angus Leeming <leeming@lyx.org>
9643 * LyXAction.C (init):
9644 * src/factory.C (createInset):
9645 * lyxfunc.C (getStatus):
9646 * text3.C (dispatch):
9647 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9649 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9651 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9653 * ParagraphList.C (insert): handle insert right before end()
9654 (erase): fix cases where it can be first or last paragraph.
9656 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9658 * paragraph_funcs.C (TeXEnvironment): remove all usage of
9659 Paragraph::next and Paragraph::previous
9662 * text.C (breakParagraph): adjust
9664 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9665 BufferParams& as arg.
9666 (breakParagraph): use ParagraphList::insert
9667 (breakParagraphConservative): take a Buffer* instead of a
9668 BufferParams& as arg.
9669 (breakParagraphConservative): use ParagraphList::insert.
9671 * buffer.C (insertStringAsLines): un-const it
9672 (insertStringAsLines): adjust
9674 * ParagraphList.C (insert): new function
9676 * CutAndPaste.C (pasteSelection): adjust
9678 * text.C (backspace): adjust
9680 * tabular.C (SetMultiColumn): adjust
9682 * CutAndPaste.C (cutSelection): adjust
9683 (pasteSelection): adjust
9685 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9686 Buffer const * as arg
9688 * ParagraphList.C (erase): new function
9689 * paragraph_funcs.C (mergeParagraph): use it
9690 (mergeParagraph): make it take a Buffer* instead of a
9691 BufferParams* as arg
9693 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9695 (breakParagraphConservative): ditto
9697 * paragraph.h: remove the breakParagraph friend
9699 * paragraph.C (eraseIntern): new function
9700 (setChange): new function
9702 * paragraph_funcs.C (mergeParagraph): make it take a
9703 ParagraphList::iterator instead of a Paragraph *, adjust
9706 * paragraph.h: move an #endif so that the change tracking stuff
9707 also works in the NO_NEXT case.
9709 2003-03-04 Angus Leeming <leeming@lyx.org>
9712 * LyXAction.C: new LFUN_INSET_MODIFY.
9714 * BufferView_pimpl.C (dispatch): if an inset is found to be open
9715 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9717 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9719 * several files: ws changes only
9721 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9722 (TeXEnvironment): ditto
9725 * buffer.C (makeLaTeXFile): adjust
9726 (latexParagraphs): make it take ParagraphList::iterator as args
9728 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
9730 * buffer.C (latexParagraphs): adjust
9732 * paragraph.C (TeXOnePar): move function...
9733 (optArgInset): move function...
9734 (TeXEnvironment): move function...
9735 * paragraph_pimpl.C (TeXDeeper): move function...
9736 * paragraph_funcs.C: ...here
9738 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9740 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9742 * buffer.C (readInset): remove compability code for old Figure and
9745 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9747 * buffer.C: ws changes
9750 * BufferView_pimpl.C: ditto
9753 * bufferlist.h: ditto
9757 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
9759 * converter.[Ch]: split into itself +
9762 * Makefile.am: += graph.[Ch] + format.[Ch]
9769 * lyxrc.C: added #include "format.h"
9771 2003-02-27 Angus Leeming <leeming@lyx.org>
9773 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9776 * factory.C (createInset): add "label" to the factory.
9778 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9779 string and do no more.
9781 2003-02-27 Angus Leeming <leeming@lyx.org>
9784 * LyXAction.C (init):
9785 * factory.C (createInset):
9786 * BufferView_pimpl.C (dispatch):
9787 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9789 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9791 * lyxfunc.C (dispatch):
9792 * text3.C (dispatch): pass name to params2string.
9794 2003-02-26 Angus Leeming <leeming@lyx.org>
9796 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9798 Rearrange the ~includes. Strip out the unnecessary ones.
9800 * factory.C (createInset): reformat.
9801 create new insets for the various LFUN_XYZ_APPLY lfuns.
9803 2003-02-26 John Levon <levon@movementarian.org>
9806 * lyxrow.C: add isParStart,isParEnd helpers
9808 * paragraph.h: make isInserted/DeletedText take refs
9810 * paragraph_funcs.h:
9811 * paragraph_funcs.C: remove #if 0'd code
9816 * text.C: use lyxrow helpers above.
9817 Move draw and paint routines to RowPainter.
9818 Make several methods use refs not pointers.
9819 Make backgroundColor() const.
9820 Add markChangeInDraw(), isInInset().
9821 Merge changeRegionCase into changeCase.
9822 Make workWidth() shouldn't-happen code into an Assert.
9825 * rowpainter.C: new class for painting a row.
9828 * vspace.C: make inPixels take a ref
9830 2003-02-26 Angus Leeming <leeming@lyx.org>
9832 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9835 2003-02-25 John Levon <levon@movementarian.org>
9837 * ispell.C: give the forked command a more accurate name
9839 2003-02-22 John Levon <levon@movementarian.org>
9842 * toc.C: make TocItem store an id not a Paragraph *
9845 2003-02-21 Angus Leeming <leeming@lyx.org>
9847 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9848 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9849 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9850 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9851 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9852 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9854 * BufferView_pimpl.C (dispatch):
9855 * LyXAction.C (init):
9856 * factory.C (createInset):
9857 * lyxfunc.C (getStatus, dispatch):
9858 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9860 2003-02-21 Angus Leeming <leeming@lyx.org>
9862 * BufferView_pimpl.C (MenuInsertLyXFile):
9863 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9864 * lyxfunc.C (menuNew, open, doImport):
9865 no longer pass a LyXView & to fileDlg.
9867 2003-02-21 Angus Leeming <leeming@lyx.org>
9869 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9870 * LyXAction.C: change, BIBKEY to BIBITEM.
9871 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9872 Change InsetBibKey to InsetBibitem.
9873 Change BIBKEY_CODE to BIBITEM_CODE.
9874 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9875 * factory.C: replace insetbib.h with insetbibitem.h.
9876 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9877 * paragraph.C: replace insetbib.h with insetbibitem.h.
9878 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9879 Change bibkey() to bibitem().
9880 * text.C: remove insetbib.h.
9881 * text2.C: replace insetbib.h with insetbibitem.h.
9882 change bibkey() to bibitem().
9883 * text3.C: remove insetbib.h.
9884 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9886 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9888 * lyxrc.C (output): enclose user email in quotes (in case there are
9891 2003-02-18 John Levon <levon@movementarian.org>
9893 * buffer.h: add std::
9895 2003-02-17 John Levon <levon@movementarian.org>
9901 * pspell.C: reworking. Especially in ispell, a large
9902 number of clean ups and bug fixes.
9904 * lyxfunc.C: fix revert to behave sensibly
9906 2003-02-17 André Pönitz <poenitz@gmx.net>
9909 * commandtags.h: new LFUN_INSERT_BIBKEY
9919 * paragraph_func.C: remove special bibkey handling
9921 2003-02-17 John Levon <levon@movementarian.org>
9923 * text.C (Delete): fix case where delete at the end of
9924 the very first paragraph would not merge the pars
9926 2003-02-17 John Levon <levon@movementarian.org>
9928 * lyxrow.C: fix lastPrintablePos()
9930 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9932 * bufferparams.C (writeLaTeX): add a std:here
9934 * buffer.C: and remove a using directive there
9936 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9938 * buffer.C (makeLaTeXFile): move the code that generates the
9941 * bufferparams.C (writeLaTeX): ... in this new method
9943 * LaTeXFeatures.C (getEncodingSet): make const
9944 (getLanguages): make const
9946 * MenuBackend.C (binding): returns the binding associated to this
9948 (add): sets the status of each item by calling getStatus. Adds
9950 (read): add support for OptSubMenu
9951 (expand): remove extra separator at the end of expanded menu
9953 2003-02-15 John Levon <levon@movementarian.org>
9956 * BufferView_pimpl.C:
9958 * bufferlist.C: remove pointless BufferStorage bloat. Remove
9959 inset code that had no actual effect. Remove unneeded status
9962 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9964 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9967 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
9969 * text.C (drawLengthMarker): also draw an arrow marker for
9970 symbolic lengths (medskip...)
9972 2003-02-14 John Levon <levon@movementarian.org>
9975 * tabular.C: better method names
9977 2003-02-14 John Levon <levon@movementarian.org>
9979 * BufferView_pimpl.C:
9984 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9985 it's a more accurate name. Remove some pointless uses.
9987 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9989 * text2.C (LyXText): change order of initilizers to shut off
9992 2003-02-14 John Levon <levon@movementarian.org>
9994 * buffer.C: use ParIterator for getParFromID()
9998 * paragraph_pimpl.h:
9999 * paragraph_pimpl.C: remove unused getParFromID()
10001 2003-02-14 John Levon <levon@movementarian.org>
10003 * buffer.C: remove some very old #if 0'd parse code
10005 2003-02-13 John Levon <levon@movementarian.org>
10009 * text2.C: move hfillExpansion(), numberOfSeparators(),
10010 rowLast(), rowLastPrintable(), numberofHfills(),
10011 numberOfLabelHfills() ...
10014 * lyxrow.C: ... to member functions here.
10019 * text.C: remove LyXText::beginningOfMainBody(), and call
10020 p->beginningOfMainBody() directly. Move the check for
10021 LABEL_MANUAL into the latter.
10028 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
10034 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
10035 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
10037 2003-02-13 John Levon <levon@movementarian.org>
10039 * CutAndPaste.C: remove debug
10041 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10043 * paragraph.C (asString): remove two unused variables
10045 * lyxtextclass.C (readTitleType):
10047 (LyXTextClass): handle new members titletype_ and titlename_
10049 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
10051 2003-02-09 John Levon <levon@movementarian.org>
10054 * buffer.C: replace hand-coded list with a map for the dep clean
10056 2003-02-08 John Levon <levon@movementarian.org>
10058 * LaTeX.C: consolidate code into showRunMessage() helper
10060 2003-02-08 John Levon <levon@movementarian.org>
10065 * BufferView.C: change setSelectionOverString() to setSelectionRange()
10066 and pass the size in explicitly
10068 * BufferView_pimpl.h:
10069 * BufferView_pimpl.C:
10071 * BufferView.C: add getCurrentChange()
10073 * BufferView_pimpl.h:
10074 * BufferView_pimpl.C: handle change lfuns
10076 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
10077 for changes. Mark pasted paragraphs as new.
10079 * support/lyxtime.h:
10080 * support/lyxtime.C:
10081 * DepTable.C: abstract time_t as lyx::time_type
10084 * LColor.C: add colours for new text, deleted text, changebars
10086 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
10087 package use "usenames" option.
10091 * LyXAction.C: add change lfuns
10095 * author.C: author handling
10098 * buffer.C: add a per-buffer author list, with first entry as
10099 current author. Handle new .lyx tokens for change tracking. Output
10100 author list to .lyx file. Output dvipost stuff to .tex preamble.
10101 Bump lyx format to 222.
10104 * bufferlist.C: add setCurrentAuthor() to reset current author details
10108 * bufferparams.C: add param for tracking
10110 * bufferview_funcs.C: output change info in minibuffer
10114 * changes.C: add change-tracking structure
10117 * debug.C: add CHANGES debug flag
10120 * lyxfind.C: add code for finding the next change piece
10123 * lyxrc.C: add user_name and user_email
10126 * lyxrow.C: add a metric for the top of the text line
10129 * text.C: implement accept/rejectChange()
10132 * text.C: paint changebars. Paint new/deleted text in the chosen
10133 colours. Strike through deleted text.
10137 * paragraph_pimpl.h:
10138 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
10139 in the current change to the insert functions. Rework erase to
10140 mark text as deleted, adding an eraseIntern() and a range-based
10141 erase(). Implement per-paragraph change lookup and
10144 * paragraph_funcs.C: Fixup paste for change tracking.
10146 * tabular.C: mark added row/columns as new.
10148 * text.C: fix rowLast() to never return -1. Don't allow
10149 spellchecking of deleted text. Track transpose changes. Don't
10150 allow paragraph break or merge where appropriate.
10152 * text2.C: leave cursor at end of selection after a cut.
10154 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10156 * text.C (getLengthMarkerHeight):
10157 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
10158 visible on screen too.
10160 2003-02-07 John Levon <levon@movementarian.org>
10162 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
10164 2003-02-05 Angus Leeming <leeming@lyx.org>
10166 * lyxserver.C (read_ready): revert my patch of 11 September last year
10167 as it sends PC cpu through the roof. Presumably this means that
10168 the lyxserver will no longer run on an Alpha...
10170 2003-01-30 Angus Leeming <leeming@lyx.org>
10172 * factory.C (createInset): create an InsetCommandParam of type "index"
10173 and use it to 'do the right thing'.
10175 * text2.C (getStringToIndex): ensure that cursor position is always
10176 reset to the reset_cursor position.
10178 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10180 * lyxfunc.C (getStatus): "buffer-export custom" should never be
10183 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
10187 * lyxfunc.C: Output messages with identical spelling, punctuation,
10190 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
10192 * MenuBackend.C (expandFormats): List only viewable export formats
10195 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
10198 * lyxfunc.C (getStatus): Make sure that formats other than
10199 "fax" can also be disabled
10201 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10203 * text3.C (dispatch): put the lfuns that insert insets in 3
10204 groups, and call doInsertInset with appropriate arguments.
10205 (doInsertInset): new function, that creates an inset and inserts
10206 it according to some boolean parameters.
10208 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
10210 * buffer.C (readFile): remember to pass on 'par' when calling
10211 readFile recursively.
10213 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10215 * MenuBackend.C (expandFormats): add "..." to import formats.
10217 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
10219 * paragraph.C (asString): Remove XForms RTL hacks.
10221 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
10222 * buffer.C: fix typo
10224 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
10226 * Makefile.am (LIBS): delete var
10227 (lyx_LDADD): add @LIBS@ here instead.
10229 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
10231 * Clarify the meaning of "wheel mouse jump"
10233 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10235 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
10238 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10240 * importer.C (Loaders): do not preallocate 3 elements in the
10241 vector, since one ends up with 6 elements otherwise
10243 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10245 * DepTable.C (write): write the file name as last element of the
10246 .dep file (because it may contain spaces)
10247 (read): read info in the right order
10249 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10251 * paragraph_pimpl.C (simpleTeXBlanks):
10252 (simpleTeXSpecialChars):
10253 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
10255 * tabular.C (latex): add some missing case statements. Reindent.
10257 * MenuBackend.C (expandToc): remove unused variable.
10259 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
10268 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
10271 2003-01-05 John Levon <levon@movementarian.org>
10274 * BufferView.C: add getEncoding()
10277 * kbsequence.C: do not store last keypress
10280 * lyxfunc.C: store last keypress here instead. Pass encoding
10283 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10285 * lyx_main.C (init): remove annoying error message when following
10286 symbolic links (bug #780)
10288 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10290 * text.C (insertChar):
10291 * lyxrc.C (getDescription): remove extra spaces
10293 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10295 * lyxrc.C (getDescription): remove extra spaces
10297 2002-12-20 John Levon <levon@movementarian.org>
10299 * text3.C: hack fix for page up/down across tall rows
10301 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10303 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10306 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10308 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10309 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10310 thesaurus is not compiled in
10312 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
10314 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
10316 2002-12-16 Angus Leeming <leeming@lyx.org>
10319 * lyx_main.C (init): remove override_x_deadkeys stuff.
10321 2002-12-12 John Levon <levon@movementarian.org>
10323 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10324 insert. Only remove shift modifier under strict
10327 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
10329 * MenuBackend.C (expandToc): fix crash.
10331 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
10333 * MenuBackend.C (expandToc): gettext on float names.
10335 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
10337 * lyxlength.[Ch]: set default unit to UNIT_NONE,
10338 implement bool empty() [bug 490]
10340 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
10342 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10344 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
10346 * several files: ws changes
10348 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
10350 * text2.C (setCounter): clean up a bit, use boost.format.
10351 (updateCounters): initialize par upon declaration.
10353 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10354 if the layout exists. We do not just store the layout any more.
10355 (SwitchLayoutsBetweenClasses): use boost.format
10357 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10359 * converter.C (convert): if from and to files are the same, use a
10360 temporary files as intermediary
10362 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10365 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10367 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
10369 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10371 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
10373 * tabular.C (asciiPrintCell): use string(size, char) instead of
10376 * sgml.C (openTag): fix order of arguments to string constructor
10379 * lyxfunc.C (dispatch): use boost.format
10381 * lots of files: change "c" -> 'c'
10383 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
10385 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10387 2002-11-25 Angus Leeming <leeming@lyx.org>
10389 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10391 * lyx_main.C (init): compile fix.
10393 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
10395 * lyx_cb.C (start): boost.formatify
10396 do not include <iostream>
10398 * lengthcommon.C: ws only
10400 * boost-inst.C,BoostFormat.h: add more explict instantations
10402 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
10404 * lots of files: handle USE_BOOST_FORMAT
10406 2002-11-21 John Levon <levon@movementarian.org>
10408 * pspell.C: fix compile
10410 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10412 * lyxfunc.C (dispatch): use boost::format
10416 * lyxfont.C (stateText): use boost::format
10418 * lyx_main.C (LyX): use boost::format
10420 (queryUserLyXDir): ditto
10421 (readRcFile): ditto
10423 (typedef boost::function): use the recommened syntax.
10425 * importer.C (Import): use boost::format
10427 * debug.C (showLevel): use boost::format
10429 * converter.C (view): use boost::format
10434 * bufferview_funcs.C (currentState): use boost::format
10436 * bufferlist.C (emergencyWrite): use boost::format
10438 * buffer.C (readLyXformat2): use boost::format
10439 (parseSingleLyXformat2Token): ditto
10441 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10443 * LaTeX.C (run): use boost::format
10445 * Chktex.C (scanLogFile): use boost::format
10447 * BufferView_pimpl.C (savePosition): use boost::format
10448 (restorePosition): ditto
10449 (MenuInsertLyXFile): ditto
10451 * BoostFormat.h: help file for explicit instation.
10453 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
10455 * tabular.C (latex): Support for block alignment in fixed width
10458 2002-11-17 John Levon <levon@movementarian.org>
10460 * BufferView_pimpl.C:
10462 * lyxfunc.C: split filedialog into open/save
10464 2002-11-08 Juergen Vigna <jug@sad.it>
10466 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10467 by my last patch (hopefully).
10469 2002-11-08 John Levon <levon@movementarian.org>
10478 * toc.C: ParConstIterator, and use it (from Lars)
10480 2002-11-07 Ben Stanley <bds02@uow.edu.au>
10482 * lyxtextclass.[Ch]: revise and add doxygen comments
10484 2002-11-07 John Levon <levon@movementarian.org>
10486 * text.C: fix progress value for spellchecker
10488 * toc.C: fix navigate menu for insetwrap inside minipage
10490 * paragraph_funcs.C: added FIXME for suspect code
10492 2002-11-07 John Levon <levon@movementarian.org>
10494 * BufferView_pimpl.C: fix redrawing of insets
10497 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10499 * text2.C (updateCounters): fix bug 668
10501 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
10503 * text3.C (dispatch): Do not make the buffer dirty when moving the
10506 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10508 * vc-backend.C: STRCONV
10509 (scanMaster): ditto
10511 * text2.C (setCounter): STRCONV
10513 * paragraph.C (asString): STRCONV
10515 * lyxlength.C (asString): STRCONV
10516 (asLatexString): ditto
10518 * lyxgluelength.C (asString): STRCONV
10519 (asLatexString): ditto
10521 * lyxfunc.C (dispatch): STRCONV
10524 * lyxfont.C (stateText): STRCONV
10526 * importer.C (Import): STRCONV
10528 * counters.C (labelItem): STRCONV
10529 (numberLabel): ditto
10530 (numberLabel): remove unused ostringstream o
10535 * bufferview_funcs.C (currentState): STRCONV
10537 * buffer.C (readFile): STRCONV
10538 (asciiParagraph): ditto
10539 (makeLaTeXFile): ditto
10541 * Spacing.C (writeEnvirBegin): STRCONV
10543 * LaTeXFeatures.C (getLanguages): STRCONV
10544 (getPackages): ditto
10546 (getBabelOptions): ditto
10547 (getTClassPreamble): ditto
10548 (getLyXSGMLEntities): ditto
10549 (getIncludedFiles): ditto
10553 (scanAuxFile): ditto
10556 * LString.h: add the STRCONV macros
10558 * BufferView_pimpl.C (savePosition): STRCONV
10559 (restorePosition): ditto
10560 (MenuInsertLyXFile): ditto
10562 * vc-backend.C (scanMaster): change from submatch[...] to
10565 * funcrequest.C: include config.h
10567 * factory.C: include config.h
10569 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10571 * box.C: include config.h
10573 * LaTeX.C (scanAuxFile): change from submatch[...] to
10577 2002-10-25 Angus Leeming <leeming@lyx.org>
10579 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10581 * ispell.[Ch] (setError): new method.
10582 * ispell.C (c-tor): move out child process into new class LaunchIspell.
10583 Use setError() insetead of goto END.
10585 * lyx_cb.C (AutoSave): move out child process into new class
10588 2002-10-30 John Levon <levon@movementarian.org>
10590 * text3.C: make start appendix undoable
10592 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
10594 * lyxlength.C (inPixels): Fix returned value.
10596 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10599 2002-10-24 Angus Leeming <leeming@lyx.org>
10601 * lyxgluelength.h: no need to forward declare BufferParams
10602 or BufferView, so don't.
10604 2002-10-21 John Levon <levon@movementarian.org>
10606 * BufferView.C: menuUndo ->undo, redo
10608 * BufferView.h: document, remove dead, make some methods private
10610 * paragraph_funcs.h:
10611 * paragraph_funcs.C:
10612 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10617 * sgml.C: move sgml open/close tag into sgml.C
10619 * bufferview_funcs.h: unused prototype
10622 * lyxfunc.C: remove unused
10625 * text.C: remove unused
10627 2002-10-21 John Levon <levon@movementarian.org>
10631 * BufferView_pimpl.h:
10632 * BufferView_pimpl.C: fix mouse wheel handling based on
10633 patch from Darren Freeman
10635 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
10637 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10639 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
10641 * lyxlength.C (inPixels): Fix hanfling of negative length.
10642 Fix LyXLength::MU case.
10644 2002-10-16 John Levon <levon@movementarian.org>
10646 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10648 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10650 * converter.C (view): add support for $$i (file name) and $$p
10651 (file path) for the viewer command. If $$i is not specified, then
10652 it is appended to the command (for compatibility with old syntax)
10654 2002-10-14 Juergen Vigna <jug@sad.it>
10656 * undo_funcs.C (textHandleUndo): alter the order in which the
10657 new undopar is added to the LyXText, as we have to set first
10658 the right prev/next and then add it as otherwise the rebuild of
10659 LyXText is not correct. Also reset the cursor to the right paragraph,
10660 with this IMO we could remove the hack in "redoParagraphs()".
10662 2002-10-09 Angus Leeming <leeming@lyx.org>
10664 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10665 to turn off an optimisation if a new inset is to be inserted.
10667 2002-10-11 André Pönitz <poenitz@gmx.net>
10669 * lyxtext.h: make some functions public to allow access
10670 from inset/lyxtext for handling LFUN_PRIOR/NEXT
10672 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10674 * text3.C (dispatch): when changing layout, avoid an infinite loop
10677 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10679 * lyxrc.C (read): treat a viewer or converter command of "none" as
10682 * MenuBackend.C (expandFormats): for an update, also allow the
10683 formats that are not viewable
10685 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10686 script if it is newer than the lyxrc.defaults in user directory
10688 2002-10-07 André Pönitz <poenitz@gmx.net>
10690 * text.C: Vitaly Lipatov's small i18n fix
10692 2002-09-25 Angus Leeming <leeming@lyx.org>
10694 * ispell.h: doxygen fix.
10696 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
10698 * buffer.h (readFile): Add a new argument to the method, to allow
10699 reading of old-format templates.
10701 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
10703 * toc.C (getTocList): Get TOC from InsetWrap.
10705 2002-09-16 John Levon <levon@movementarian.org>
10707 * lyxfunc.C: check tabular for cut/copy too
10709 2002-09-12 John Levon <levon@movementarian.org>
10711 * LyXAction.C: tidy
10714 * factory.C: add header
10716 * paragraph_funcs.h:
10717 * paragraph_funcs.C: cleanup
10719 2002-09-11 John Levon <levon@movementarian.org>
10721 * PrinterParams.h: odd/even default to true
10723 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
10725 * PrinterParams.h: update printer parameters for new xforms dialog
10727 2002-09-11 Angus Leeming <leeming@lyx.org>
10729 * lyxserver.C (read_ready): re-write to make it more transparent
10730 and to make it work in coherent fashion under Tru64 Unix.
10732 2002-09-11 André Pönitz <poenitz@gmx.net>
10736 * text3.C: implement LFUN_WORDSEL
10738 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10740 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10741 make floatlist_ a boost::shared_ptr<FloatList>
10743 * lyxtextclass.C: include FloatList.h
10744 (LyXTextClass): initialize floatlist_
10745 (TextClassTags): add TC_NOFLOAT
10746 (Read): match "nofloat" to TC_NOFLOAT and use it.
10747 (readFloat): modify call to floatlist_
10751 * FloatList.[Ch] (FloatList): remove commented out float
10753 (erase): new function
10755 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10757 * MenuBackend.C (expandToc): fix crash when there is no document
10760 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
10762 * many files: Add insetwrap.
10764 2002-09-09 John Levon <levon@movementarian.org>
10766 * text2.C: remove confusing and awkward depth wraparound
10768 2002-09-09 John Levon <levon@movementarian.org>
10770 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10773 * buffer.C: remove getIncludeonlyList()
10776 * lyxfunc.C: remove headers
10778 2002-09-09 Juergen Vigna <jug@sad.it>
10780 * text.C (getColumnNearX): fix form Michael this is most
10781 probably a cut&paste bug.
10783 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
10785 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10787 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10788 references, ws changes.
10790 * text2.C (init): update counters after init
10791 (insertParagraph): no need to set counter on idividual paragraphs.
10792 (setCounter): access the counters object in the textclass object
10793 on in the buffer object.
10794 (updateCounters): ditto
10796 * lyxtextclass.C: include counters.h, add variable ctrs_ as
10797 shared_ptr<Counters> to avoid loading counters.h in all
10799 (LyXTextClass): initialize ctrs_
10800 (TextClassTags): add TC_COUNTER, and ...
10801 (Read): use it here.
10802 (CounterTags): new tags
10803 (readCounter): new function
10804 (counters): new funtion
10805 (defaultLayoutName): return a const reference
10807 * counters.C (Counters): remove contructor
10808 (newCounter): remove a couple of unneeded statements.
10809 (newCounter): simplify a bit.
10810 (numberLabel): some small formatting changes.
10812 * buffer.[Ch]: remove all traces of counters, move the Counters
10813 object to the LyXTextClass.
10815 2002-09-06 Alain Castera <castera@in2p3.fr>
10817 * tabular.C: uses \tabularnewline; uses >{...} construct from array
10818 package to set the horizontal alignment on fixed width columns.
10821 * lyx_sty.h: added tabularnewline macro def.
10823 * LaTeXFeatures.C: added NeedTabularnewline macro feature
10825 2002-09-06 John Levon <levon@movementarian.org>
10827 * LyXAction.C: tooltips for sub/superscript
10829 * MenuBackend.C: a bit more verbose
10831 * lyxfunc.C: tiny clean
10833 * undo_funcs.C: document undo_frozen
10835 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
10837 * counters.C (Counters): add missing algorithm counter.
10839 * text2.C (setCounter): lookup the counter with layouts latexname
10840 instead of by section number.
10841 (setCounter): use a hackish way to lookup the correct enum
10843 a float name->type change
10844 reset enum couners with counter name directly instead of depth value.
10846 * counters.C (Counters): remove the push_backs, change to use the
10847 float type not the float name.
10848 (labelItem): remove unused string, float name->type change
10850 * counters.h: don't include vector, loose the enums and sects vectors
10852 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10854 * lyxtextclass.C (TextClassTags): add TC_FLOAT
10855 (Read): add float->TC_FLOAT to textclassTags
10856 (Read): and handle it in the switch
10857 (readFloat): new function
10859 * FloatList.C (FloatList): comment out the hardcoded float
10862 * lyxlayout.h: ws change.
10864 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
10866 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10868 2002-09-03 Angus Leeming <leeming@lyx.org>
10870 * BufferView_pimpl.h: qualified name is not allowed in member
10871 declaration: WorkArea & Pimpl::workarea() const;
10873 * factory.C: added using std::endl directive.
10875 * text3.C: added using std::find and std::vector directives.
10877 2002-08-29 André Pönitz <poenitz@gmx.net>
10880 * text2.C: remove unused member number_of_rows
10883 * BufferView2.C: remove file, move contents to...
10884 * BufferView.C: ... here
10886 * BufferView_pimpl.C:
10887 * factory.C: move more inset creation to factory
10889 * vspace.C: avoid direct usage of LyXText, ws changes
10892 don't provide direct access to WorkArea, use two simple
10893 acessors haveSelction() and workHeight() instead
10896 2002-08-29 John Levon <levon@movementarian.org>
10898 * BufferView_pimpl.C (dispatch): do not continue when
10901 2002-08-28 André Pönitz <poenitz@gmx.net>
10903 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10906 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10908 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
10910 * buffer.C: increment LYX_FORMAT to 221
10912 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10913 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10915 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10917 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10919 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10921 * factory.C (createInset): use LyXTextClass::floats
10923 * MenuBackend.C (expandFloatListInsert):
10924 (expandFloatInsert):
10927 * text2.C (setCounter):
10929 * LaTeXFeatures.C (useFloat):
10930 (getFloatDefinitions):
10932 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10934 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10935 floatlist_, with accessor floats().
10937 * FloatList.h: remove global FloatList
10939 2002-08-26 André Pönitz <poenitz@gmx.net>
10941 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10945 * BufferView_pimpl.C:
10946 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10948 2002-08-25 John Levon <levon@movementarian.org>
10950 * LyXAction.C: fix margin note description
10952 2002-08-24 John Levon <levon@movementarian.org>
10956 * bufferview_funcs.C:
10958 * undo_funcs.C: cleanups
10960 * lyxfunc.C: disable CUT/COPY when no selection
10962 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
10964 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
10965 in "enum UNIT"; e.g. PTW for Percent of TextWidth
10967 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10968 Add backward compatibility to "mono", "gray" and "no".
10970 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
10972 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10973 (and file_format >= 200).
10975 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10977 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10979 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10981 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10983 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
10985 * BufferView_pimpl.C:
10992 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10993 inset and code to make it work with the paragraph code. The inset
10994 can be anywhere in the paragraph, but will only do the expected
10995 thing in LaTeX if the layout file contains the parameter line
10997 (or more generally, a nonzero value) for that layout.
10999 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
11001 * paragraph.h: remove the declaration of undefined counters class
11004 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
11006 * text2.C (setCounter): fixed enumeration mis-count as reported by
11007 Dr. Richard Hawkins.
11009 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11011 * paragraph_funcs.h: remove some unneeded includes
11013 * text.C (backspace): pasteParagraph now in global scipe
11015 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
11016 (pasteSelection): ditto
11018 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
11019 * paragraph_funcs.C (pasteParagraph): ... here
11021 2002-08-20 André Pönitz <poenitz@gmx.net>
11023 * commandtags.h: new LFUNs for swapping/copying table row/colums
11026 * lyxfunc.C: support for new lfuns
11028 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
11031 * buffer.[Ch]: remove NO_COMPABILITY stuff
11033 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
11035 * boost.C (throw_exception): new file, with helper function for
11036 boost compiled without exceptions.
11041 * ParameterStruct.h:
11042 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
11044 * bufferlist.C (emergencyWriteAll): use boost bind
11046 * BufferView_pimpl.C (moveCursorUpdate): remove inline
11048 * text.C: include paragraph_funcs.h
11049 (breakParagraph): breakParagraph is now in global scope
11051 * paragraph_funcs.[Ch]: new files
11053 * paragraph.C (breakParagraph,breakParagraphConservative): move to
11056 * buffer.C: include paragraph_funcs.h
11057 (insertStringAsLines): breakParagraph is now in global scope
11059 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
11062 * CutAndPaste.C: include paragraph_funcs.h
11063 (cutSelection): breakParagraphConservative is now in global scope
11064 (pasteSelection): ditto
11066 * buffer.h: declare oprator== and operator!= for
11067 Buffer::inset_iterator
11069 * bufferlist.C (emergencyWrite): don't use fmt(...)
11071 * text3.C: add using std::endl
11073 * BufferView.C (moveCursorUpdate): remove default arg
11075 2002-08-20 André Pönitz <poenitz@gmx.net>
11077 * buffer.[Ch]: move inline functions to .C
11080 * BufferView_pimpl.C:
11082 * buffer.[Ch]: use improved inset_iterator
11085 * paragraph.[Ch]: write one paragraph at a time
11087 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
11089 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
11090 style if style is not specified.
11092 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11094 * text2.C (setCounter): when searching for right label for a
11095 caption, make sure to recurse to parent insets (so that a caption
11096 in a minipage in a figure float works) (bug #568)
11098 2002-08-20 André Pönitz <poenitz@gmx.net>
11100 * text3.C: new file for LyXText::dispatch() and helpers
11102 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
11104 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
11106 2002-08-19 André Pönitz <poenitz@gmx.net>
11109 * text.C: new LyXText::dispatch()
11111 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
11113 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
11115 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
11117 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
11120 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11122 * Makefile.am: use $(variables) instead of @substitutions@
11124 2002-08-15 André Pönitz <poenitz@gmx.net>
11127 * BufferView_pimpl.C: streamlining mathed <-> outer world
11131 * LyXAction.C: remove unused LFUN_MATH
11133 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
11135 * paragraph.[Ch]: add some NO_NEXT ifdefs.
11137 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
11139 * paragraph.C (Paragraph): reformat a bit
11140 (cutIntoMinibuffer): use builtin InsetList function instad of
11144 * buffer.C: include boost/bind.hpp, add using std::for_each
11145 (writeFileAscii): use ParagraphList iterators
11146 (validate): use for_each for validate traversal of paragraphs
11147 (getBibkeyList): use ParagraphList iterators
11148 (resizeInsets): use for_each to resizeInsetsLyXText for all
11150 (getParFromID): use ParagraphList iterators
11152 * BufferView2.C (lockInset): use paragraph list and iterators
11154 2002-08-14 John Levon <levon@movementarian.org>
11156 * lyxserver.C: remove spurious xforms include
11158 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11160 * lyxfunc.C (getStatus): disable math-extern outside of math mode
11162 2002-08-13 André Pönitz <poenitz@gmx.net>
11165 * lyxfunc.C: further cleaning
11167 2002-08-13 André Pönitz <poenitz@gmx.net>
11169 * funcrequest.h: new constructor
11171 * funcrequest.C: move stuff here from .h
11174 * BufferView_pimpl.C:
11177 * lyxfunc.C: subsequent changes
11179 * lyxfunc.h: new view() member function
11181 * lyxfunc.C: subsequent changes
11183 2002-08-13 Angus Leeming <leeming@lyx.org>
11186 * BufferView_pimpl.C:
11194 changes due to the changed LyXView interface that now returns references
11195 to member variables not pointers.
11197 2002-08-13 Angus Leeming <leeming@lyx.org>
11199 * WordLangTuple (word, lang_code): return references to strings,
11204 * lyxtext.h: forward-declare WordLangTuple.
11209 * text.C: #include "WordLangTuple.h".
11212 * text.C: (selectNextWordToSpellcheck): constify return type.
11214 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
11220 * paragraph_pimpl.h:
11223 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
11224 suggested by Angus.
11225 Made updateCounter always count from start of buffer, and removed
11226 second argument (par).
11227 Reverted floats number display to '#'. Perhaps I'll try again when the
11228 code base is sanitized a bit.
11230 2002-08-12 Angus Leeming <leeming@lyx.org>
11232 * buffer.[Ch] (getLabelList): constify.
11234 2002-08-07 André Pönitz <poenitz@gmx.net>
11236 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
11238 * funcrequest.h: extension to keep mouse (x,y) position
11240 2002-08-12 Juergen Vigna <jug@sad.it>
11242 * BufferView2.C (insertErrors): forbid undo when inserting error
11245 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
11247 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
11249 * ParagraphList.[Ch]: new files
11251 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
11253 * BufferView2.C (lockInset): ParagraphList changes
11256 * bufferlist.C: ditto
11260 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11262 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
11263 unused class variable counter_,
11265 * paragraph.[Ch] (getFirstCounter): delete unused function
11267 * counters.C: include LAssert.h
11268 (reset): add a new function with no arg, change other version to
11269 not have def. arg and to not allow empty arg.
11271 * text2.C (setCounter): remove empty arg from call to Counters::reset
11273 2002-08-11 John Levon <levon@movementarian.org>
11275 * Makefile.am: add WordLangTuple.h
11277 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11279 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
11280 lyxfunc.C lyxlex_pimpl.C: ws changes only.
11282 * insets/insettext.C: InsetList changes
11284 * graphics/GraphicsSupport.C (operator()): InsetList changes
11286 * toc.C (getTocList): InsetList changes
11288 * paragraph_pimpl.[Ch]: InsetList changes
11290 * paragraph.[Ch]: InsetList changes
11292 * buffer.C (inset_iterator): InsetList changes
11293 (setParagraph): ditto
11294 * buffer.h (inset_iterator): ditto
11295 * iterators.C (operator++): ditto
11296 * iterators.h: ditto
11298 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11300 * InsetList.[Ch]: new files, most InsetList handling moved out of
11303 * BufferView2.C (removeAutoInsets): InsetList changes
11305 (ChangeInsets): ditto
11307 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
11309 * paragraph_pimpl.h (empty): new function
11311 * paragraph.[Ch] (empty): new function
11313 * other files: use the new Paragraph::empty function
11315 2002-08-09 John Levon <levon@movementarian.org>
11317 * lyxtext.h: remove unused refresh_height
11319 2002-08-09 John Levon <levon@movementarian.org>
11326 * paragraph.C: move sgml char escaping out of paragraph
11329 * paragraph.C: remove id setter
11333 * paragraph_pimpl.C: remove dead tex_code_break_column
11335 * bufferview_funcs.C: small cleanup
11337 * lyxfunc.C: remove dead proto
11339 * lyxtext.h: make some stuff private. Remove some dead stuff.
11341 * lyxgluelength.C: make as[LyX]String() readable
11343 2002-08-08 John Levon <levon@movementarian.org>
11348 * ToolbarDefaults.C:
11351 * toc.C: lyxaction cleanup
11353 2002-08-08 John Levon <levon@movementarian.org>
11355 * BufferView2.C: small cleanup
11358 * lyxfind.C: move unnecessary header into the .C
11360 2002-08-08 John Levon <levon@movementarian.org>
11362 * funcrequest.h: just tedious nonsense
11365 * lyx_main.C: cleanups
11368 * vspace.C: remove dead header lyx_main.h
11370 2002-08-07 Angus Leeming <leeming@lyx.org>
11373 * paragraph_pimpl.h:
11374 Forward declare class Counters in paragraph.h by moving the ctrs member
11375 variable into Paragraph::Pimpl.
11376 (counters): new method, returning a reference to pimpl_->ctrs.
11378 * text2.C: ensuing changes.
11380 2002-08-07 John Levon <levon@movementarian.org>
11382 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11384 * BufferView_pimpl.C: announce X selection on double/triple
11387 * lyx_main.C: use correct bool in batch dispatch
11389 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11391 2002-08-07 André Pönitz <poenitz@gmx.net>
11393 * funcrequest.h: new class to wrap a kb_action and its argument
11396 * BufferView_pimpl[Ch]:
11400 * lyxrc.C: subsequent changes
11403 2002-08-07 John Levon <levon@movementarian.org>
11405 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11406 document options change.
11408 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11413 * makefile.am: move counters functionality over from
11414 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11416 2002-08-06 John Levon <levon@movementarian.org>
11418 * WordLangTuple.h: new file for word + language code tuple
11429 * BufferView2.C: use WordLangTuple
11432 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11434 2002-08-06 John Levon <levon@movementarian.org>
11436 * lyx_main.C: fix cmdline batch handling
11438 2002-08-06 André Pönitz <poenitz@gmx.net>
11440 * lyxrc.C: set default for show_banner to true
11442 2002-08-06 John Levon <levon@movementarian.org>
11444 * pspell.C: fix a crash, and allow new aspell to work
11446 2002-08-06 John Levon <levon@movementarian.org>
11449 * kbmap.C: small cleanup
11452 * vspace.C: add const
11454 2002-08-05 John Levon <levon@movementarian.org>
11456 * LyXAction.C: back to tabular-insert
11458 2002-08-04 John Levon <levon@movementarian.org>
11461 * BufferView.C: cosmetic change
11463 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11473 * BufferView2.C: purge all "Lyx" not "LyX" strings
11476 * lyxcursor.C: attempt to add some documentation
11481 * ToolbarDefaults.C:
11482 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11483 merge with LFUN_TABULAR_INSERT
11490 * pspell.C: split up i/pspell implementations into separate
11491 files, many cleanups
11493 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11495 * text2.C: some cleanup
11497 * lyxfunc.C: don't check for isp_command == "none" any more, it
11498 didn't make any sense
11500 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11505 * makefile.am: move counters functionality over
11506 from text2.C/paragraph.[Ch] to counters.[Ch], and
11508 2002-08-02 John Levon <levon@movementarian.org>
11510 * buffer.C: s/lyxconvert/lyx2lyx/
11512 2002-08-02 Angus Leeming <leeming@lyx.org>
11514 * lyxlex.C: revert John's change as it breaks reading of the user
11517 2002-08-02 Angus Leeming <leeming@lyx.org>
11519 * importer.C (Import):
11520 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11521 changes due to LyXView::view() now returning a boost::shared_ptr.
11523 2002-08-02 John Levon <levon@movementarian.org>
11525 * lyxlex.C: small cleanup
11527 2002-08-02 John Levon <levon@movementarian.org>
11529 * text2.C (status): small cleanup, no logic change
11531 2002-08-01 John Levon <levon@movementarian.org>
11534 * buffer.C (writeFile): don't output alerts, caller
11538 * lyx_cb.C: from above
11540 * lyxfunc.C: allow to open non-existent files
11542 2002-07-31 John Levon <levon@movementarian.org>
11544 * lyxserver.C: don't let incidental errors get
11547 2002-07-30 John Levon <levon@movementarian.org>
11549 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11551 2002-07-30 John Levon <levon@movementarian.org>
11554 * lyxserver.C: remove I/O callback too
11556 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11558 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11561 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
11563 * many files: strip,frontStrip -> trim,ltrim,rtrim
11565 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
11567 * PrinterParams.h: remove extern containsOnly, and include
11568 support/lstrings.h instead.
11570 * LaTeX.C (scanAuxFile): modify because of strip changes
11572 * buffer.C (makeLaTeXFile): ditto
11573 * bufferparams.C (writeFile): ditt
11574 * lyxfont.C (stateText): ditto
11575 * lyxserver.C (read_ready): ditto
11576 * vc-backend.C (scanMaster): ditto
11578 * BufferView_pimpl.h: ws changes
11580 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11582 2002-07-26 André Pönitz <poenitz@gmx.net>
11584 * kb_sequence.C: remove unnedred usings
11586 2002-07-26 Juergen Vigna <jug@sad.it>
11588 * lyxfind.C (LyXReplace): we have to check better if the returned
11589 text is not of theLockingInset()->getLockingInset().
11591 2002-07-25 Juergen Vigna <jug@sad.it>
11593 * lyxfind.C (LyXReplace): don't replace if we don't get the
11596 * undo_funcs.C (createUndo): remove debugging code.
11598 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
11600 * buffer.C (parseSingleLyXformat2Token): Use default placement
11601 when reading old floats.
11603 * FloatList.C (FloatList): Change the default placement of figure
11604 and tables to "tbp".
11606 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
11608 * MenuBackend.C: using std::max
11610 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11612 * MenuBackend.C (expandToc):
11613 (expandToc2): code moved from xforms menu frontend. It is now
11614 generic and TOCs are transparent to menu frontends.
11616 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11618 * toc.C (getTocList): protect against buf=0
11620 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11621 Menu as first parameter. Now, this calls itself recursively to
11622 expand a whole tree (this will be useful for TOC handling)
11623 (expandFloatInsert): remove 'wide' version of floats
11625 * MenuBackend.h (submenuname): returns the name of the submenu.
11626 (submenu): returns the submenu itself, provided it has been
11627 created by MenuBackend::expand
11629 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11631 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11632 insets which have noFontChange == true. (bug #172)
11634 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11636 * BufferView_pimpl.C: add connection objects and use them...
11639 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11641 * MenuBackend.C (expandLastfiles):
11644 (expandFloatListInsert):
11645 (expandFloatInsert):
11646 (expand): split expand in parts
11648 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11650 * lyx_gui.C: use lyx_gui::exit()
11652 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11654 * LyXAction.C: show the failing pseudo action
11656 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
11658 * buffer.C (readFile): Run the lyxconvert script in order to read
11661 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11665 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11667 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11671 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11673 2002-07-22 Herbert Voss <voss@lyx.org>
11676 * lyxlength.[Ch]: add support for the vertical lengths
11678 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
11680 * toc.[Ch]: std:: fixes
11682 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11684 * lyxrc.C: do not include lyx_main.h
11686 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11692 * BufferView2.C: include "lyxlex.h"
11695 * bufferparams.h: do not #include "lyxlex.h"
11697 * lyxtextclasslist.C (Add): remove method
11698 (classlist): renamed to classlist_
11700 * paragraph_pimpl.C:
11704 * bufferview_funcs.C:
11709 * toc.C (getTocList): use BufferParams::getLyXTextClass
11711 * toc.C (getTocList): use InsetFloat::addToToc
11713 * toc.[Ch]: new files, containing helper functions to handle table
11716 * lyxfunc.C (dispatch): no need to remove spaces around command
11718 (getStatus): handle LFUN_SEQUENCE by returning the status of the
11719 first command of the sequence; it is not very clever, but I do not
11720 have a better idea, actually
11722 * LyXAction.C (LookupFunc): make sure to remove space at the
11723 beginning and end of the command
11725 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11727 * MenuBackend.C (getMenubar): new method: return the menubar of
11729 (read): treat differently reading of menu and menubar (in
11730 particular, the menubar has no name now)
11731 (Menu::menubar): remove
11733 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11736 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11738 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11739 a bibitem inset in a RTL paragraph.
11741 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
11743 * paragraph_pimpl.C: constify
11745 * BufferView_pimpl.C:
11747 * lyxfunc.C: fix dispatch in a nicer way
11749 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11751 * lyxfunc.C (dispatch):
11752 * BufferView_pimpl.C:
11753 * BufferView_pimpl.h:
11755 * BufferView.h: rename Dispatch() to dispatch()
11757 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11759 * lyxlayout.C (Read): honor DependsOn tag
11761 * lyxlayout.[Ch] (depends_on): new method
11763 * version.C.in: update lyx_docversion
11765 * LaTeXFeatures.C (getMacros): only define \LyX when needed
11767 * paragraph.C (validate): remove from here...
11768 * paragraph_pimpl.C (validate): ... and move here
11769 (isTextAt): make it const
11771 * buffer.C (getLists): ws cleanup
11773 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11775 * language.C (read): Use iso8859-1 encoding in latex_lang
11776 (this prevents LyX from crashing when using iso10646-1 encoding).
11778 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11780 * text2.C (toggleInset): if cursor is inside an inset, close the
11781 inset and leave cursor _after_ it
11783 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11785 * lyxfunc.C: move minibuffer completion handling out of here
11787 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11789 * BufferView_pimpl.C:
11790 * LaTeX.C: fix dispatch calls
11792 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
11794 * text.C (drawChars): Fix Arabic text rendering.
11796 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
11800 * lyxfunc.C: remove message-push/pop
11804 * lyxfunc.C: rationalise some code by removing verboseDispatch
11805 in favour of a bool argument to dispatch()
11807 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11809 * lyx_main.C (init): make sure to read symlinks as absolute paths
11811 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11814 * lyxfunc.C: no need for commandshortcut to be a member
11816 2002-07-15 André Pönitz <poenitz@gmx.net>
11818 * converter.C: add support for $$s (scripts from lib/scripts dir)
11819 * lyx_main.C: white space
11821 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11825 * lyxrc.C: remove second exit confirmation
11827 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11832 * BufferView_pimpl.h:
11833 * BufferView_pimpl.C:
11834 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11836 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11838 * MenuBackend.C (expand): add numeric shortcuts to document menu
11840 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11842 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11844 * lyxfont.C (setLyXFamily):
11851 * buffer.C (asciiParagraph): use ascii_lowercase
11853 2002-07-15 Mike Fabian <mfabian@suse.de>
11855 * lyxlex_pimpl.C (search_kw):
11856 * lyxlex.C (getLongString):
11857 * converter.h (operator<):
11858 * converter.C (operator<):
11859 * buffer.C (parseSingleLyXformat2Token):
11861 * ToolbarDefaults.C (read):
11862 * MenuBackend.C (checkShortcuts):
11864 * LColor.C (getFromGUIName):
11865 (getFromLyXName): use the compare_ascii_no_case instead of
11866 compare_no_case, because in turkish, 'i' is not the lowercase
11867 version of 'I', and thus turkish locale breaks parsing of tags.
11869 2002-07-16 Angus Leeming <leeming@lyx.org>
11871 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11872 now takes a Buffer const & argument.
11874 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
11876 * BufferView.C (resize): check there's a buffer to resize
11878 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
11880 * lyxfunc.C: remove dead code
11883 * lyxserver.C: use lyx_guii::set_read_callback
11885 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
11887 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11888 an inset in a RTL paragraph.
11890 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11892 * lyxfunc.C: repaint after a font size update
11894 2002-07-15 André Pönitz <poenitz@gmx.net>
11896 * lyxlength.C: inBP should be able to return negative values
11898 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11900 * lyxfunc.C: use lyx_gui::update_fonts()
11902 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11904 * lyxfunc.C: use lyx_gui::update_color()
11906 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11912 * lyxrc.C: remove file->new asks for name option, and let
11913 buffer-new take an argument
11915 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11917 * BufferView_pimpl.C: remove unneeded extra repaint()
11919 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
11921 * LyXAction.C: allow command-sequence with NoBuffer
11923 * lyxfunc.C: don't insist on trailing ';' for command-sequence
11925 2002-07-10 Angus Leeming <leeming@lyx.org>
11927 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11929 2002-07-09 Angus Leeming <leeming@lyx.org>
11931 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11933 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11935 * lengthcommon.h: whitespace
11937 * lyxfunc.C: update scrollbar after goto paragraph
11939 * lyxtext.h: factor out page break drawing, and fix it so
11940 page break/added space paints as selected nicely
11942 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11944 * BufferView_pimpl.C: add FIXMEs, clean up a little
11946 2002-07-09 André Pönitz <poenitz@gmx.net>
11948 * lyxfont.[Ch]: support for wasy symbols
11950 2002-07-08 André Pönitz <poenitz@gmx.net>
11952 * BufferView_pimpl.C: apply John's patch for #93.
11954 2002-07-05 Angus Leeming <leeming@lyx.org>
11956 * BufferView_pimpl.C (buffer): generate previews if desired.
11958 * LColor.h: add "preview" to the color enum.
11960 * LColor.C (LColor): add a corresponding entry to the items array.
11962 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
11965 2002-07-05 Angus Leeming <leeming@lyx.org>
11967 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11968 The body of the code is now in the method that is passed an ostream &
11969 rather than a file name.
11970 Pass an additional only_preamble parameter, useful for the forthcoming
11973 2002-07-03 André Pönitz <poenitz@gmx.net>
11975 * lyxfunc.C: simplify getStatus() a bit for math stuff
11977 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11979 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11981 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11983 * text.C (changeRegionCase): do not change case of all the
11984 document when region ends at paragraph end (bug #461)
11986 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11988 * paragraph.C (startTeXParParams):
11989 (endTeXParParams): add \protect when necessary
11991 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11993 * BufferView_pimpl.C (workAreaExpose): remove warning
11995 2002-06-27 Angus Leeming <leeming@lyx.org>
11997 * Makefile.am: add lyxlayout_ptr_fwd.h.
11999 2002-06-26 André Pönitz <poenitz@gmx.net>
12001 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
12003 2002-06-25 Angus Leeming <leeming@lyx.org>
12005 * lyxfunc.C (dispatch): Comment out the call to
12006 grfx::GCache::changeDisplay. The method no longer exists now that the
12007 pixmap generation part of the graphics loader has been moved into
12010 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12012 * text2.C: layout as layout
12014 * text.C: layout as layout
12016 * tabular.C (OldFormatRead): layout as layout
12018 * paragraph_pimpl.C (TeXDeeper): layout as layout
12019 (realizeFont): layout as layout
12021 * paragraph.C (writeFile): layout as layout
12022 (validate): layout as layout
12023 (getFont): layout as layout
12024 (getLabelFont): layout as layout
12025 (getLayoutFont): layout as layout
12026 (breakParagraph): layout as layout
12027 (stripLeadingSpaces): layout as layout
12028 (getEndLabel): layout as layout
12029 (getMaxDepthAfter): layout as layout
12030 (applyLayout): layout as layout
12031 (TeXOnePar): layout as layout
12032 (simpleTeXOnePar): layout as layout
12033 (TeXEnvironment): layout as layout
12034 (layout): layout as layout
12035 (layout): layout as layout
12037 * lyxtextclass.C (compare_name): new functor to work with
12038 shared_ptr, layout as layout
12039 (Read): layout as layout
12040 (hasLayout): layout as layout
12041 (operator): layout as layout
12042 (delete_layout): layout as layout
12043 (defaultLayout): layout as layout
12045 * lyxlayout_ptr_fwd.h: new file
12047 * lyxlayout.C (Read): layout as layout
12049 * lyx_cb.C (MenuInsertLabel): layout as layout
12051 * bufferlist.C (newFile): layout as layout
12053 * buffer.C (readLyXformat2): layout as layout
12054 (parseSingleLyXformat2Token): layout as layout
12055 (insertStringAsLines): layout as layout
12056 (asciiParagraph): layout as layout
12057 (latexParagraphs): layout as layout
12058 (makeLinuxDocFile): layout as layout
12059 (simpleLinuxDocOnePar): layout as layout
12060 (makeDocBookFile): layout as layout
12061 (simpleDocBookOnePar): layout as layout
12062 (getLists): layout as layout
12064 * LaTeXFeatures.C (getTClassPreamble): layout as layout
12066 * CutAndPaste.C (cutSelection): layout as layout
12067 (pasteSelection): layout as layout
12068 (SwitchLayoutsBetweenClasses): layout as layout
12070 * BufferView_pimpl.C (Dispatch): layout as layout
12071 (smartQuote): layout as layout
12073 * BufferView2.C (unlockInset): layout as layout
12075 2002-06-24 André Pönitz <poenitz@gmx.net>
12077 * lyxfunc.C: fix #487
12079 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12083 * lyxfunc.C: remove display_shortcuts, show_banner
12085 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12087 * Buffer_pimpl.C: oops, update on resize
12089 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12096 * BufferView.C: use repaint()
12098 * BufferView_pimpl.h:
12099 * BufferView_pimpl.C: s/updateScreen()/repaint()/
12100 as it's a clearer description. Remove superfluous
12103 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12105 * text.C: fix bug 488. Not ideal, but getting
12106 getWord() to work properly for the insets that
12107 matter is more difficult ...
12109 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12111 * BufferView_pimpl.C:
12114 * lyxfunc.C: remove the six million index lyxfuncs to just
12115 one, and DTRT (bug 458)
12117 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12121 * BufferView_pimpl.h:
12122 * BufferView_pimpl.C: clean up resize() stuff,
12123 and unnecessary updateScreen()s
12125 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12129 * BufferView_pimpl.h:
12130 * BufferView_pimpl.C:
12133 * minibuffer.C: remove focus management of workarea,
12134 not needed. Use screen's greyOut()
12136 2002-06-17 Herbert Voss <voss@lyx.org>
12138 * converter.C: (convert) do not post a message, when converting
12139 fails, let the calling function decide what to do in this case
12141 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
12143 * lyxfunc.C: tidy up a little
12145 2002-06-16 <alstrup@diku.dk>
12147 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
12148 Got rid of FORMS_H_LOCATION include. Now we are
12151 2002-06-15 LyX Development team <lyx@rilke>
12153 * buffer.[Ch] (sgmlOpenTag):
12154 (sgmlCloseTag): Added support for avoiding pernicious mixed
12155 content. Return number of lines written.
12157 (makeLinuxDocFile):
12158 (makeDocBookFile): Fixed calls to sgml*Tag.
12159 Simple white space clean.
12161 (simpleDocBookOnePar): Simple white space clean.
12163 * tabular.[Ch] (docBook): Renamed to docbook and got another
12164 argument to related with the pernicious mixed content.
12166 (docbookRow): Fixed calls for docbook inset method.
12168 2002-06-15 Lyx Development team <larsbj@birdstep.com>
12170 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
12171 so it's X11 independent.
12175 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
12177 2002-06-15 Lyx Development team <lyx@electronia>
12179 * intl.h: Renamed getTrans to getTransManager.
12181 2002-06-14 Angus Leeming <leeming@lyx.org>
12183 * Makefile.am: nuke forgotten stl_string_fwd.h.
12185 2002-06-12 Angus Leeming <leeming@lyx.org>
12187 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
12189 2002-06-13 Angus Leeming <leeming@lyx.org>
12192 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
12194 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
12196 * kbmap.C (getiso): add support for cyrillic and greek
12198 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12202 * BufferView_pimpl.h:
12203 * BufferView_pimpl.C: move bogus scrolling logic
12206 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12209 * BufferView_pimpl.C: view->resize() change
12211 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12213 * BufferView_pimpl.C: topCursorVisible
12216 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12220 * lyx_gui.C: move to frontends/
12224 * lyx_main.C: changes from above
12226 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12233 * lyx_main.C: minor tidy
12235 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12237 * BufferView_pimpl.h:
12238 * BufferView_pimpl.C:
12240 * BufferView.C: make painter() const,
12243 * BufferView2.C: use screen() accessor
12246 * lyx_main.C: some minor cleanup
12248 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12250 * BufferView_pimpl.h:
12251 * BufferView_pimpl.C: remove enter/leaveView,
12254 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12259 * BufferView_pimpl.h:
12260 * BufferView_pimpl.C: only construct screen once,
12263 * lyxrc.C: remove pointless comment
12265 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
12268 * BufferView.C: remove active() and belowMouse()
12270 * BufferView_pimpl.h:
12271 * BufferView_pimpl.C: use workarea() not workarea_,
12272 and make it use a scoped_ptr instead
12274 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
12276 * lyx_gui.C: add debug message on BadWindow
12278 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12280 * sp_spell.C: fdopen is not part of the C++ standard.
12282 * paragraph.C (InsetIterator): use >= instead of ==
12284 2002-06-07 Angus Leeming <leeming@lyx.org>
12286 Fixes needed to compile with Compaq cxx 6.5.
12287 * BufferView_pimpl.C:
12294 * lyxtextclasslist.C:
12299 all c-library variables have been moved into namespace std. Wrap
12300 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12305 Add a using std::abs declaration.
12307 * kbmap.h (modifier_pair):
12308 * paragraph.h (InsetTable, InsetList):
12309 * lyxfont.h (FontBits):
12310 type definition made public.
12312 * bufferlist.C (emergencyWriteAll): the compiler complains that
12313 there is more than one possible lyx::class_fun template to choose from.
12314 I re-named the void specialisation as lyx::void_class_fun.
12316 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12318 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12319 the compiler is is unable to find tostr in write_attribute.
12321 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12323 * buffer.C (sgmlError): hide #warning
12325 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12327 * xtl/*: get rid of xtl, which is not in use anyway
12329 * LyXAction.C (init):
12330 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12331 were unimplemented xtl experimentation
12333 2002-06-04 André Pönitz <poenitz@gmx.net>
12335 * lyxfunc.C: disable array operation on simple formulae
12337 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
12339 * converter.C: constify a bit
12341 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
12343 * lyx_gui.C: check xforms version correctly
12345 2002-04-30 Herbert Voss <voss@lyx.org>
12347 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12350 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
12352 * lyxvc.C: fix bug 416 (make sure buffer is saved before
12353 attempt to register it with a VCS)
12355 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12357 * lyx_main.C (init): honor variables LYX_DIR_13x and
12360 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12364 * lyx_main.C: fix a crash on bad command line,
12365 and give a useful exit status on error
12367 * lyxfunc.C (doImport): allow -i lyx to work
12369 2002-03-30 André Pönitz <poenitz@gmx.net>
12371 * lyxfunc.C: mathed font changes
12373 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12388 * trans_mgr.h: srcdocs, and some minor cleanups
12390 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12392 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12393 call getFont all the time)
12395 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12397 * switch from SigC signals to boost::signals
12399 2002-05-29 André Pönitz <poenitz@gmx.net>
12401 * paragraph_pimpl.C (getChar): don't call size() too often...
12403 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12405 * paragraph_pimpl.C (insertChar): do not try to update tables when
12406 appending (pos == size())
12408 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12409 in order to reduce drastically the number of comparisons needed to
12410 parse a large document
12412 2002-05-29 André Pönitz <poenitz@gmx.net>
12418 * textclasslist.[Ch]:
12419 * sp_ispell.h: whitespace change
12421 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12423 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12424 lyxaction directly now.
12426 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
12430 * lyxvc.C: remove unused headers
12432 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12439 * undo_funcs.C: some cleanups. Use shared_ptr
12440 and a template for the undo stacks.
12442 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12444 * BufferView_pimpl.h:
12445 * BufferView_pimpl.C:
12452 * text2.C: use key_state/mouse_state
12454 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12456 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12459 * chset.C: change include order
12460 (loadFile): use boost regex and get rid of LRegex and LSubstring
12462 * Makefile.am (BOOST_LIBS): new variable
12463 (lyx_LDADD): use it
12465 * LaTeX.C: change include order.
12466 (scanAuxFile): use boost regex and get rid of LRegex and
12470 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12475 * FontInfo.C: moved to frontends/xforms/
12478 * FontLoader.C: moved into frontends for GUIIzation
12483 * lyxfunc.C: changes from above
12485 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12487 * LColor.C: remove spurious X include
12489 * BufferView_pimpl.C:
12494 * text2.C: move font metrics to frontends/
12496 2002-05-24 Juergen Vigna <jug@sad.it>
12498 * undo_funcs.C (textHandleUndo): fix the cursor selection after
12499 setting the undo_cursor.
12501 * ParagraphParameters.h: include local includes first.
12503 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12505 * BufferView_pimpl.C:
12506 * BufferView_pimpl.h:
12510 * screen.C: move WorkArea into frontends/
12516 * BufferView2.C: move LyXScreen into frontends/
12520 * lyx_gui.C: move lyxlookup into frontends/xforms/
12522 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12525 * BufferView_pimpl.C:
12535 * bufferview_funcs.C:
12548 * vc-backend.C: move LyX/XFormsView into frontends/
12550 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12562 * text2.C: move Painter to frontends/
12564 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
12566 * buffer.C: comment out some some code that depend upon lyx_format
12569 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12570 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12572 * buffer.h (NO_COMPABILITY): turn off compability
12574 * ColorHandler.C: include scoped_array.hpp
12576 * font.C: Use more specific smart_ptr header.
12579 * ShareContainer.h: ditto
12580 * lyx_main.h: ditto
12582 * FontInfo.h: ditto
12583 * BufferView_pimpl.h: ditto
12584 * ColorHandler.h: ditto
12586 * kbmap.C (defkey): change call to shared_ptr::reset
12588 2002-05-21 Juergen Vigna <jug@sad.it>
12590 * buffer.C (insertErtContents): fix to insert ert asis if it is
12591 non empty. Skip it completely if it contains only whitespaces.
12593 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
12595 * BufferView_pimpl.C:
12596 * BufferView2.C: clear selection on paste (bug 393)
12598 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12600 * DepTable.C: include ctime
12602 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
12604 * buffer.C (latexParagraphs): Add new argument (moving_arg).
12606 2002-05-14 Juergen Vigna <jug@sad.it>
12608 * text.C (breakParagraph): fixed function to honor the keepempty
12609 layout in the right maner and also to permit the right breaking
12610 algorithm on empty or non empyt keepempty paragraphs.
12612 * paragraph.C (breakParagraph): we have to check also if the par
12613 is really empty (!size()) for isempty otherwise we do the wrong
12616 2002-05-10 Juergen Vigna <jug@sad.it>
12618 * buffer.[Ch] : The following are only changes to the ert
12619 compatibility read reading old LaTeX layout and font stuff and
12620 convert it to ERTInsets.
12622 * buffer.h: added isErtInset().
12624 * buffer.C (struct ErtComp): add a fromlayout bool to check
12625 if we're inside a LaTeX layout.
12626 (isErtInset): new helper function.
12627 (insertErtContents): look for other ert insets before this one
12628 and insert the contents there, so that we don't have subsequent
12629 ERT insets with nothing between them. This way we create only one
12630 inset with multiple paragraphs. Also check if we don't insert only
12631 spaces ' ' as they are ignored anyway afterwards in the .tex file
12632 so if we have only spaces we will ignore this latex part in the
12634 (parseSingleLyXformat2Token \\layout): better compatibility when
12635 reading layout-latex stuff.
12636 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12638 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12639 stuff after reading the inset only get the information back from
12642 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
12644 * buffer.C (makeLaTeXFile): Put language options after loading babel.
12646 * LaTeXFeatures.C (getBabelOptions): New method.
12648 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12650 * BufferView_pimpl.C (Dispatch): work around missing argument for
12653 2002-05-08 Juergen Vigna <jug@sad.it>
12655 * text.C (leftMargin): handle paragraph leftindent.
12657 * paragraph.C (writeFile): write the new \\leftindent tag.
12658 (validate): handle leftindent code.
12659 (TeXEnvironment): handle paragraphleftindent code again.
12661 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12663 * buffer.C (parseSingleLyXformat2Token): added compatibility code
12664 for paragrap_extra indent code and new token \\leftindent.
12665 (latexParagraphs): handle the leftindent as environment.
12667 * ParameterStruct.h: added leftindent support.
12669 * ParagraphParameters.C (leftIndent): added support functions for
12670 the paragraph left indent.
12672 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12675 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
12677 * paragraph.C (isRightToLeftPar): Return false for a paragraph
12680 * text.C (computeBidiTables): No bidi in insetERT.
12682 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12685 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12687 * version.C.in: pre 5
12689 2002-05-02 José Matos <jamatos@fep.up.pt>
12690 * buffer.C (makeDocBookFile): white space changes, add newline to
12692 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12694 * tabular.C (docBook): fix typo.
12696 2002-05-03 Juergen Vigna <jug@sad.it>
12698 * screen.C (drawFromTo): recalculate the rowpointer if we had a
12699 change in LyXText as we can not be sure it was not freed.
12700 (drawOneRow): remove unused code.
12702 * text.C (drawInset): redo the calculation of the need_break_row as
12703 it could have a row which was already freed.
12704 (draw): look at the return value of drawInset and return false if
12705 it also returned false.
12706 (paintRowText): look at the return value of draw and return false if
12707 it also returned false.
12709 * lyxtext.h: added bool return type to drawInset() and draw() so that
12710 if we have a change in the row so that the rowbreak has to be redone
12711 we abort drawing as it will be called again.
12713 2002-05-02 Juergen Vigna <jug@sad.it>
12715 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12716 a change in the maintext also if we're inside an inset.
12717 (Dispatch): set the cursor again after a break line and after the
12718 screen has been updated as it could be we're in a different row.
12720 * text2.C (fixCursorAfterDelete): check to make sure we don't request
12721 to set the cursor behind the pargraph with > size().
12722 (setCursor): check also for the same paragraph when checking where
12723 to put the cursor if we have a NFR inset.
12725 * buffer.C (parseSingleLyXformat2Token): move the compatibility
12726 parts of layout read further up as it still was in the wrong
12729 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12731 * screen.C (drawFromTo): change sine fullRebreak always return
12734 * buffer.C (parseSingleLyXformat2Token): reindent some
12736 * BufferView_pimpl.C (update): change since fullRebreak always
12738 (Dispatch): git rid of the last hardcoded "Standard"s.
12740 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
12742 * text2.[Ch] (fullRebreak): make it return void now that we always
12745 2002-04-30 Juergen Vigna <jug@sad.it>
12747 * buffer.C (parseSingleLyXformat2Token): reset the font before the
12748 ert compatibility check for "latex" layout.
12750 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
12752 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12753 minipages: use col% instead of p%, and also use the current font.
12754 (makeLaTeXFile): Fix use babel condition.
12755 (parseSingleLyXformat2Token): Correct font when reading old floats.
12757 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
12759 * BufferView_pimpl.C (Dispatch): Check that float type exists when
12760 inserting list of floats.
12762 2002-04-25 Herbert Voss <voss@lyx.org>
12764 * MenuBackend.C (expand): don't add the graphics extensions to the
12767 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12769 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12770 non-existing layout, do not complain if it was the default layout
12771 of the original class (bug #342)
12773 2002-04-24 Juergen Vigna <jug@sad.it>
12775 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12776 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12778 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
12780 * buffer.C (getBibkeyList): If using \bibliography, return the
12781 option field with the reference itself. Enables us to provide natbib
12782 support when using \bibliography.
12784 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
12786 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12788 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12789 natbib is provided by the LaTeX class.
12791 2002-04-23 Juergen Vigna <jug@sad.it>
12793 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12796 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12798 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12800 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12802 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12803 ensuremath around textordmasculine, textordfeminine and
12806 2002-04-19 Juergen Vigna <jug@sad.it>
12808 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12809 reinitializing the buffer otherwise row-dimensions may be wrong.
12810 (update): reset also the selection cursors if they do exits otherwise
12811 their x/y positions may be wrong.
12813 * text2.C (cursorDown): don't enter the inset if we came from a row
12814 above and are one row over the inset.
12816 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12817 really leaving an inset.
12819 2002-04-18 Juergen Vigna <jug@sad.it>
12821 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12822 of the selected paragraph does not have the selected layout also if
12825 * text2.C (setLayout): fixed bug which did not change last selected
12828 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12829 changed the read and substituted \\end_float with \\end_inset!
12831 * BufferView_pimpl.C (cursorPrevious):
12832 (cursorNext): fixed to make it work with rows heigher than the work
12833 area without moving the cursor only the draw of the row.
12834 (workAreaMotionNotify): fix jumping over high rows.
12836 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12838 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12841 2002-04-16 Juergen Vigna <jug@sad.it>
12843 * text2.C (setCursor): set also the irow().
12844 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12846 (cursorDown): support for locking an inset if the x_fix value goes
12847 inside it. That way I can transverse insets too with cursor up/down.
12849 * lyxrow.h: added irow helper function same as other (i) functions.
12851 * BufferView_pimpl.C (cursorPrevious):
12852 (cursorNext): fixed for insets!
12854 2002-04-15 Juergen Vigna <jug@sad.it>
12856 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12857 position otherwise it is wrong in some cases.
12859 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12860 inside the inset before the call.
12862 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
12864 * buffer.[Ch] (getBibkeyList): make it const.
12866 2002-04-12 Juergen Vigna <jug@sad.it>
12868 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12870 * text2.C (getCursorX): new helper function
12871 (setCursor): compute also ix_
12872 (setCursorFromCoordinates): set also ix.
12874 * lyxcursor.h: added ix_ and helper functions.
12876 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12878 * buffer.C (insertStringAsLines): dont break paragraph if the this
12879 paragraph is inside an inset which does not permit it!
12881 * text.C (breakParagraph): honor keepempty flag and break the paragraph
12882 also with no chars on this paragraph.
12883 (paintRowText): only paint stuff if it's inside the workarea!
12885 * paragraph.C (breakParagraph): honor keepempty flag and break the
12886 paragraph always below not above.
12888 * BufferView2.C (unlockInset): update the paragraph layout on inset
12889 unlock as we changed paragraph in such a case.
12891 * lyxfind.C (LyXFind): clear the former selection if not found!
12893 * text2.C (insertInset): freeze Undo after setUndo so that it is not
12894 again called in insertChar().
12896 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12897 an inset which uses the whole row!
12898 (rightMargin): ditto.
12899 (insertChar): force a rebreak if we inserted an inset!
12901 2002-03-28 Herbert Voss <voss@lyx.org>
12903 * lyxlength.[Ch]: add inBP() to get the right PS-point
12904 units (BigPoint). With inPixels we have rounding errors
12906 2002-04-11 Juergen Vigna <jug@sad.it>
12908 * text2.C (setCursorFromCoordinates): set iy to the right value.
12909 (setCursor): add check if row->previous exists!
12911 * buffer.C (parseSingleLyXformat2Token): reset font after read of
12912 an old float_type as this was the case in the old code!
12914 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12916 * BufferView2.C (showLockedInsetCursor): use iy
12917 (fitLockedInsetCursor): ditto
12919 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12920 locked insets as there we have the right value now.
12922 * lyxcursor.C: added iy_ variable and iy functions to set to the
12923 baseline of cursor-y of the locked inset.
12925 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12926 (setCursor): fixed for insets which need a full row.
12928 * text.C (rowLastPrintable): don't ignore the last space when before
12929 an inset which needs a full row.
12930 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12931 as last character of a row when before a inset which needs a full row.
12933 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12935 * version.C.in: update date
12937 * text2.C (fullRebreak): try to always return true and see what
12940 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12942 * MenuBackend.C (expand): use Floating::listName
12944 * FloatList.C (FloatList): add listName argument to the built-in
12947 * Floating.[Ch]: add listName member, which is the 'List of XXX'
12948 text associated with the float.
12950 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12952 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12954 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12956 * ShareContainer.h: add a couple of missing typenames.
12958 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
12960 * lyxrc.C (getDescription): use _() correctly rather than N_().
12962 2002-03-28 Herbert Voss <voss@lyx.org>
12964 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
12965 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12967 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12969 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12970 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12972 2002-03-29 Juergen Vigna <jug@sad.it>
12974 * lyxfunc.C (dispatch): add a missing fitCursor call.
12976 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12977 it was scrolled by a cursor move, so return the bool status.
12979 * BufferView.C (fitCursor): return the bool flag also to the outside
12980 world as this is needed.
12982 * screen.C (toggleToggle): don't subtract the offset if it's positive.
12984 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12985 call the edit() as it is not needed (and wrong) IMO.
12986 (workAreaButtonPress): set the screen_first variable before evt.
12987 unlock the inset as this may change screen_first and then we have
12988 a wrong y position for the click!
12990 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12992 * MenuBackend.C (expand): another translation that I missed
12994 2002-03-28 Juergen Vigna <jug@sad.it>
12996 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12998 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
13000 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13002 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
13004 * MenuBackend.C (expand): fix export/view/update when there is no
13007 2002-03-27 Herbert Voss <voss@lyx.org>
13009 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
13012 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13014 * bufferview_funcs.C (currentState): only show paragraph number
13015 for is DEVEL_VERSION is set.
13017 * lyxfunc.C (dispatch): put warning in INFO channel
13019 * MenuBackend.C (expand): translate the name of floats
13021 * FloatList.C (FloatList): mark the float names for translation
13023 * converter.C (convert): use LibScriptSearch
13025 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13027 * MenuBackend.C (defaults): fix default menu (we might as well get
13030 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13032 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
13035 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13037 * lyxvc.C: reorder includes.
13039 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
13041 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
13044 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
13046 * CutAndPaste.C: change layouts earlier on paste
13047 to avoid crashing when calling getFont()
13049 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
13051 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
13054 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
13056 * WorkArea.C: remove 'Pending' debug message.
13058 * most files: ws cleanup
13060 * buffer.[Ch]: ws changes
13062 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
13064 2002-03-21 Juergen Vigna <jug@sad.it>
13066 * tabular.C (SetMultiColumn): collapse also the contents of the
13067 cells and set the last border right. Added a Buffer const * param.
13069 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
13071 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
13074 2002-03-19 Juergen Vigna <jug@sad.it>
13076 * text2.C (clearSelection): reset also xsel_cache.
13078 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
13079 where it needs to be called (John tells us to do so too :)
13080 (selectionLost): reset sel_cache.
13082 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
13084 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13086 * text2.C (setCursorIntern): put debuging code in INSETS channel
13088 2002-03-19 André Pönitz <poenitz@gmx.net>
13090 * lyxfunc.C: tiny whitespace change
13092 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13094 * ToolbarDefaults.C (init):
13095 * LyXAction.C (init):
13097 * BufferView_pimpl.C (Dispatch):
13098 * lyxfunc.C (dispatch): remove LFUN_DEPTH
13100 2002-03-19 Allan Rae <rae@lyx.org>
13102 * exporter.C (Export): removeAutoInsets before doing anything else.
13103 While I've just introduced a dependency on BufferView this really is
13104 the best place to clean the buffer otherwise you need to cleanup in
13105 a dozen places before calling export or cleanup in a dozen functions
13108 * converter.C (runLaTeX):
13109 (scanLog): Better handling of removeAutoInsets and screen updates.
13111 * lyxfunc.C (dispatch): small whitespace changes
13113 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13115 * WorkArea.C (C_WorkAreaEvent): return a value.
13116 (event_cb): return 1 if we handled the event, 0 otherwise.
13118 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
13120 2002-03-18 Juergen Vigna <jug@sad.it>
13122 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
13123 (GetAdditionalWidth): ditto.
13124 (RightLine): ditto.
13127 * BufferView2.C (copy): use getLyXText() so that we do it inside an
13128 inset if we're there actually (probably not used right now but this
13129 is the direction to go for unifying code).
13130 (paste): disable code to clear the selection.
13132 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
13133 inside an InsetText and move the check further up as it is in the
13136 * text2.C (pasteSelection): set a selection over the pasted text.
13138 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
13140 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
13141 and libgraphics to build on Cygwin.
13143 2002-03-15 Juergen Vigna <jug@sad.it>
13145 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
13146 inserting an Inset into the paragraph. I know this is not the best
13147 fix but we already use current_view in CutAndPaste so we will remove
13148 all of it's using at the same time.
13150 * buffer.C (sgmlError): deactivated function till it is rewritten in
13151 the right mode, now it can create problems.
13153 * paragraph.C (isLineSeparator): check if getInset returns != 0,
13154 before accessing it.
13156 2002-03-14 Juergen Vigna <jug@sad.it>
13158 * undo_funcs.C (textHandleUndo): do the right thing when updating
13159 the inset after the undo/redo.
13161 * text2.C (setCursor): just some testcode for #44 not ready yet.
13163 * undo_funcs.C (textHandleUndo): set the next() and previous()
13164 pointers of the paragraph to 0 before deleting otherwise we have
13165 problems with the Paragraph::[destructor].
13167 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
13168 on a paragraph insertion.
13170 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13172 * buffer.C (asciiParagraph): use += operator for char append to
13175 * paragraph.C (getFontSettings): compare >= not just >
13176 (highestFontInRange): ditto
13179 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13181 * paragraph.C: change several algorithm to be more appripriate for
13182 the problem domain. This is lookip in FontList and in the InsetList.
13184 2002-03-13 André Pönitz <poenitz@gmx.net>
13187 * LyXAction.C: remove unused LFUN_MATH_MACROARG
13189 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
13194 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
13196 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13198 * Painter.C (display): anon helper function, adjust code for this
13200 (pixmap): remove function.
13202 * Painter.h: remove private display variable.
13204 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
13206 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
13208 * WorkArea.[Ch]: remove figinset_canvas cruft.
13210 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13212 * lyxtextclass.C (operator): add one item cache optimization.
13214 * bufferlist.h: doxy changes
13216 * bufferlist.C: ws changes
13218 * DepTable.[Ch] (ext_exist): place const in the right spot.
13220 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
13222 (workAreaExpose): call resizeInsets when the with BufferView changes.
13223 (Dispatch): adjust for protectedBlank removal
13224 (specialChar): call updateInset if the insert went ok.
13226 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
13227 specialChar instead.
13229 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
13231 * BufferView.h: doxy change
13233 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
13235 * lyxtextclass.C (operator[]): remove non-const version
13236 (defaultLayout): remove non-const version
13238 2002-03-12 Juergen Vigna <jug@sad.it>
13240 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
13241 did resize the LyXText too.
13243 * buffer.C (readLyXformat2): set layout information on newly allocated
13246 * tabular.C (OldFormatRead): set layout information on the paragraph.
13248 2002-03-12 Jos�Ab�io Oliveira Matos <jamatos@novalis.fc.up.pt>
13250 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
13252 2002-03-11 Juergen Vigna <jug@sad.it>
13254 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
13256 (resizeCurrentBuffer): force also the insets to resize themselfes.
13257 (moveCursorUpdate): fixed up for InsetText.
13259 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
13262 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
13263 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
13264 value of Dialogs::tooltipsEnabled().
13265 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
13267 2002-03-08 Juergen Vigna <jug@sad.it>
13269 * BufferView_pimpl.C (updateInset): update inset inside inset also
13270 if it isn't inside theLockingInset().
13272 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13274 * buffer.C (asciiParagraph): redo some of the word and line length
13276 (getLists): look for Caption instead of caption.
13278 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13280 * buffer.C (Buffer): initialize niceFile to true
13282 (makeLinuxDocFile):
13283 (makeDocBookFile): make sure niceFile is true on exit
13285 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13287 * buffer.C (makeLaTeXFile): escape ~ in \input@path
13289 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
13291 * LyXSendto.C: remove.
13292 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13293 * lyx_gui.C: remove now-redundant comment.
13294 * ColorHandler.h: remove forward declaration of class WorkArea.
13295 * lyxfunc.C: remove #include "WorkArea.h".
13297 2002-03-07 Juergen Vigna <jug@sad.it>
13299 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13300 got moved away with the DEPM and also set the inset_owner always
13301 right which before could have been omitted.
13303 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13305 * buffer.C (parseSingleLyXformat2Token): use default layout is the
13306 wanted layout is not found.
13308 2002-03-07 Juergen Vigna <jug@sad.it>
13310 * CutAndPaste.C (cutSelection): another layout settings forgotten.
13312 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13314 * paragraph.C (breakParagraph): use default layout not layout of
13316 (Paragraph): clear ParagraphParameters.
13318 2002-03-06 Juergen Vigna <jug@sad.it>
13320 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13321 otherwise it would not be a valid lenght. Fixed a special case in
13322 the minipage compatibility read where we end the document with a
13325 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13326 was set as it could be 0 for InsetTexts first entry.
13328 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13330 * paragraph.C (writeFile): if layout is empty write out
13331 defaultLayoutName().
13333 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13334 file without named layout we set layout to defaultLayoutName().
13336 2002-03-06 Juergen Vigna <jug@sad.it>
13338 * CutAndPaste.C (copySelection): set layout for new paragraph.
13340 * text.C (prepareToPrint): leave ERT inset left aligned
13341 (leftMargin): don't indent paragraphs inside ERT insets
13343 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13345 * paragraph.C (breakParagraph): dont call clear do the work manually
13347 * paragraph.[Ch] (clear): remove function
13349 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13351 * paragraph.C (Paragraph): dont call clear, the work has already
13354 * lyxtextclass.C (operator): assert if n is empty
13356 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13357 work manually instead.
13359 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13361 * BufferView_pimpl.C: protect selectionLost against text == 0
13363 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13365 * text.C (breakParagraph): fix a setting layout to '0' problem.
13367 2002-03-05 Jos�Ab�io Oliveira Matos <jamatos@novalis.fc.up.pt>
13369 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13370 final location of file, for the included files, and graphics.
13372 2002-03-05 Juergen Vigna <jug@sad.it>
13374 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13376 2002-03-04 Juergen Vigna <jug@sad.it>
13378 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13380 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13381 last column of multicolumn cells.
13382 (SetWidthOfMulticolCell): recalculate NMC and real columns.
13384 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
13386 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13387 file if it doesn't go to a temporary file.
13389 * buffer.C (sgmlOpenTag):
13390 (sgmlCloseTag): remove extra newline insertion.
13392 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13394 * text.C (getRowNearY): comment out debug msg
13396 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13398 * text2.C: first -> first_y
13400 * text.C (getRowNearY): add some attemts at a possible
13401 optimization, not working.
13403 * tabular.[Ch]: add BufferParams to several function so that newly
13404 created paragraph can be initialized to he default layotu for the
13407 * tabular-old.C (ReadOld): add buf->params to call of Init
13409 * screen.C: rename text->first to text->first_y
13411 * paragraph.C (breakParagraph): always set layout in the broken
13414 * lyxtextclass.C (Read): remove lowercase
13417 (delete_layout): ditto
13419 * lyxtext.h: rename first -> first_y
13421 * lyxlayout.C (Read): remove lowercase
13424 (obsoleted_by): ditto
13426 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13428 * buffer.C (insertErtContents): add params are to InsetERT
13429 (parseSingleLyXformat2Token): add code to check if a paragraphs
13430 layout really exist.
13431 (parseSingleLyXformat2Token): add params to several inset
13433 (asciiParagraph): remove lowercase, do the layout comparisons with
13436 * BufferView_pimpl.C (cursorNext): first -> first_y
13437 (resizeCurrentBuffer): first -> first_y
13438 (updateScrollbar): first -> first_y
13439 (scrollCB): first -> first_y
13440 (workAreaMotionNotify): first -> first_y
13441 (workAreaButtonPress): first -> first_y
13442 (checkInsetHit): first -> first_y
13443 (cursorPrevious): first -> first_y
13444 (cursorNext): first -> first_y
13445 (Dispatch): add buffer_->params to severl inset contructors
13447 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13449 * lyxlayout.C (Read): remove some debug info that I forgot.
13451 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13452 clean up the code slightly.
13453 (makeLinuxDocFile): ditto
13454 (makeDocBookFile): ditto
13456 * text2.C: layout as string
13458 * text.C: layout as string
13460 * paragraph_pimpl.C: layout as string
13462 * paragraph.[Ch]: layout as string
13464 * lyxtextclasslist.[Ch]: layout as string
13466 * lyxtextclass.[Ch]: layout as string
13468 * lyxtext.h: layout as string
13470 * lyxlayout.[Ch]: layout as string
13472 * lyx_cb.C: layout as string
13474 * bufferview_funcs.C: layout as string
13476 * bufferparams.C: layout as string
13478 * buffer.C: layout as string
13480 * LyXView.[Ch]: layout as string
13482 * LaTeXFeatures.[Ch]: layout as string
13484 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13486 * BufferView_pimpl.C: change current_layout to string, remove
13491 (workAreaButtonRelease): layout as string
13493 * BufferView2.C (unlockInset): adjust
13495 * vspace.C (asLatexCommand): use an explict temp variable.
13497 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13499 * Makefile.am: use FRONTEND_*
13501 2002-03-01 Juergen Vigna <jug@sad.it>
13503 * tabular.C (SetWidthOfMulticolCell): changed to something better
13504 I hope but still work in progress.
13505 (recalculateMulticolumnsOfColumn): renamed function from
13506 recalculateMulticolCells as it is more appropriate now.
13507 (SetWidthOfCell): calculate multicols better.
13509 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13511 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13513 * lyxfunc.C (processKeySym): print sequence also if it is
13514 `deleted' (complete)
13516 * kbsequence.C (print): print sequence even if it is deleted
13517 (complete would be a better word, actually).
13519 * lyxfunc.C (dispatch): print complete options after a prefix key
13521 * vspace.C (asLatexCommand): rewrite in a slightly different form.
13523 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
13525 * text2.C (setCharFont): eliminate setCharFont code duplication.
13527 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13529 * BufferView_pimpl.C (Dispatch): remove bogus handling of
13530 LFUN_TABULAR_FEATURE (bug #177)
13532 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
13534 * Makefile.am: remove figure.h
13536 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
13538 * Bufferview_pimpl.C:
13550 * text2.C: remove #include "lyx_gui_misc.h".
13552 * LaTeX.C: added #include <cstdio>
13554 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13556 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13557 that the paragraph following this one can have.
13559 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13561 * vspace.C (asLatexCommand): fix bogus gcc warning
13563 * Makefile.am (lyx_SOURCES): remove vms_defines.h
13565 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
13567 * text2.C (setLayout): get rid of redundant code
13569 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
13571 * text2.C (incDepth): make sure depth cannot be increased beyond
13574 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
13576 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13577 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13579 * PainterBase.h (image):
13580 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13581 a LyXImage const *.
13583 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13587 * BufferView_pimpl.C:
13588 * BufferView_pimpl.h:
13608 * sp_spell.C: remove fig inset, and the crap house of
13609 cards that follows it
13611 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13616 * os2_errortable.h:
13617 * nt_defines.h: move .h into support/
13619 * vms_defines.h: remove
13621 * WorkArea.C: add space in debug output
13625 * buffer.C: add WITH_WARNINGS
13629 * bufferlist.C: s/retrive/retrieve/, add docs
13638 * chset.C: add docs
13640 * lyxgui.C: add ID to X error handler
13642 * lyxtestclass.c: fix typo
13644 2002-02-26 Juergen Vigna <jug@sad.it>
13646 * tabular_funcs.C (write_attribute): changed so that some default
13647 attributes are not written at all.
13648 (getTokenValue): set default values before trying to read the
13649 value so we have the return value always set as default if we don't
13650 find the token we search for.
13652 * tabular.C (Write): write bools as bools not as strings!
13654 2002-02-22 Juergen Vigna <jug@sad.it>
13656 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13657 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13659 * text.C (leftMargin): don't add an indent for paragraphs inside
13660 tabular cells (fix #208).
13662 2002-02-21 José Matos <jamatos@fep.up.pt>
13664 * tabular.C (docBook): fixed support for long tables.
13666 2002-02-20 Juergen Vigna <jug@sad.it>
13668 * text2.C (getFont): get the drawing font of the Inset if this
13669 paragraph is inside an inset (only important for InsetERT for now).
13671 * buffer.C (insertErtContents): use new lanugage params in ERT
13674 * CutAndPaste.C: commenting out seemingly uneeded code.
13676 2002-02-19 Allan Rae <rae@lyx.org>
13678 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13679 Iterators might be simple to use but they also get invalidated.
13680 (removeAutoInsets): renamed saved cursor tracking variables and added
13681 some comments to clarify what everything does.
13683 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
13690 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13691 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13694 * vc-backend.h: remove #include "support/syscall.h"
13698 * converter.C: rearrange #includes in Lars' approved fashion.
13700 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13701 forward declare class Timeout in the header file.
13703 * XFormsView.C: changes due to the above.
13705 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13706 similar to LyXView.
13708 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13709 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13711 2002-02-18 José Matos <jamatos@fep.up.pt>
13713 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13716 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
13718 * a lot of small ws changes
13719 * add a lot of using std::XXX
13720 * use std construcs some places where approp.
13721 * use some exisint stuff from lyxfunctional where approp.
13722 * Make file changes to use partial linking (lets test this now...)
13724 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13728 remove #include "support/syscontr.h" as it's redundant. Always has been.
13736 change Systemcalls::System to Systemcalls::Wait and
13737 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13738 No change of functionality, just reflects the stripped down Systemcalls
13741 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13743 * debug.[Ch]: add a GRAPHICS type to the enum.
13745 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13747 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13749 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13752 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13754 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13755 match the changes below.
13757 * text2.C (toggleInset): if there is not editable inset at cursor
13758 position, try to see if cursor is _inside_ a collapsable inset
13761 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13763 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13764 document menu has a nice checkbox
13766 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13768 * lyxlength.C (asLatexString): change PW to output as percent of
13771 * lengthcommon.C: change '%' to 't%'
13773 * lyxfunc.C (dispatch): a few comments from Martin
13775 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
13779 * BufferView_pimpl.h:
13780 * BufferView_pimpl.C: clear our selection when X tells us we've lost
13783 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13785 * vspace.C (inPixels): fix compiler warning
13787 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13789 * lyxfunc.C (getStatus): fix status message for disabled commands.
13791 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
13793 * BufferView_pimpl.C: fix crash on close buffer
13794 during selection (#227)
13796 2002-01-27 Herbert Voss <voss@lyx.org>
13798 * buffer.C: link old Figure to new graphic inset
13800 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
13802 * FontLoader.C (getFontinfo): Change the latex font names in order
13803 to match the names of type1inst.
13805 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
13807 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13809 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13810 (extchanged): ditto
13812 (remove_files_with_extension): ditto
13813 (remove_file): ditto
13816 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13817 document is smaller than the work area height. Do not initialize
13818 static variables to 0.
13820 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13822 * lyx_gui.C (init): give the toolbar tooltips a normal font.
13824 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13825 LFUN_LAYOUT_PARAGRAPHS.
13827 * tabular.C (GetCellFromInset): new method. Finds an inset in a
13828 tabular. It is possible to provide a possible cell, which will
13829 typically be the actcell from the corresponding insettabular
13831 * lyxfunc.C (getStatus): small cleanup; disable
13832 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13835 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13837 * tabular.C (Validate): remove broken optimization (fixes bug #201)
13839 * paragraph.C (startTeXParParams):
13840 (endTeXParParams): new methods. The LaTeX code to
13841 start/end paragraph formatting
13842 (simpleTeXOnePar): call startTeXParParams also when paragraph is
13843 empty (fixes bug #200)
13845 * vspace.C (inPixels): adapt to the change below
13846 (inPixels): [later] more cleanups (remove unused variables)
13848 * lyxlength.C (inPixels): change to use a width and a height as
13851 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13853 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13854 Replaced with \paperwidth
13856 * DepTable.C (insert): add std:: qualifier
13858 2002-01-18 Allan Rae <rae@lyx.org>
13860 * text2.C (removeRow): add comment. Should other refresh_?? vars be
13863 * text.C (drawInset): Turned out I didn't know enough about how
13864 rebreaking worked. This fixes most of the redraw problems. I see
13865 an occasional cursor trail when a line is broken now and the cursor
13866 placement can seem out by a few pixels also after a rebreak.
13868 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13870 * buffer.C (parseSingleLyXformat2Token): update because minipage
13871 width is now a LyXLength
13873 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13875 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13878 2002-01-17 Juergen Vigna <jug@sad.it>
13880 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13882 * BufferView2.C (lockInset): call edit() so that theLockingInset()
13883 is set correctly and the inset is updated correctly.
13885 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13887 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13888 the beginning of the loop.
13890 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
13892 * lyxrc.C: improve help for use_scalable_fonts
13894 2002-01-17 Allan Rae <rae@lyx.org>
13896 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13898 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13900 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13901 make sure to set their inset_owner to the right value (bug #171)
13903 2001-12-12 Ben Stanley <bds02@uow.edu.au>
13906 * DepTable.C: Implement mtime checking to reduce time spent doing
13909 2002-01-16 Juergen Vigna <jug@sad.it>
13911 * tabular.C (GetAdditionalHeight): one of error fixed.
13913 * lyxrc.C (output): small fix in writing use_pspell.
13915 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
13917 * sp_base.h: #include LString.h
13919 2002-01-16 Allan Rae <rae@lyx.org>
13921 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
13922 Can someone check this please?
13924 * text.C (drawInset): It was possible that p.row would be removed by
13925 breakAgainOneRow upsetting a few other settings. There may be another
13926 small tweak possible by setting need_break_row = 0 when p.row has been
13927 removed but I don't know enough about the logic here.
13929 2002-01-15 Allan Rae <rae@lyx.org>
13931 * text.C (insertChar): removed conditional truism.
13933 * BufferView2.C (removeAutoInsets): More tweaks.
13934 cur_par_prev could be a stray pointer. Check for trailing empty line
13935 in case last line was cur_par and only had an error inset on it.
13937 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13939 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13942 * vc-backend.C (most methods):
13943 * exporter.C (Export):
13944 * converter.C (convert):
13946 * LyXSendto.C (SendtoApplyCB):
13947 * lyxfunc.C (dispatch):
13951 * lyx_cb.C (AutoSave):
13953 * BufferView_pimpl.C (MenuInsertLyXFile):
13954 * buffer.C (runChktex): use Buffer::filePath().
13956 * buffer.h: rename filename to filename_; rename filepath to
13957 filepath_ and make it private
13958 (filePath): new method
13960 * buffer.C (writeFile): use fileName()
13963 * lyx_main.C (init): fix starting of LyX when the binary is a
13964 link from so,ewhere else.
13966 * minibuffer.C: include <cctype> for isprint
13968 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13970 * buffer.C (parseSingleLyXformat2Token): changes associated with the
13971 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13972 name clash with InsetCollapsable's width function.
13974 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13976 * lastfiles.C: include <iterator>
13978 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13980 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13983 * buffer.C (makeLaTeXFile): ditto.
13984 Also make loop operation more transparent.
13986 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13988 * ToolbarDefaults.C: remove trailing comma closing namespace.
13990 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13992 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13995 * trans.C (Load): comment out unused variable, allowed.
13997 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
13999 * minibuffer.[Ch] (append_char): new method to recieve input from the
14000 drop-down completion browser. If a key was pressed, then recieve this
14001 char and append it to the existing string.
14002 (peek_event): modify the positioning data passed to the completion
14003 browser so that it can be placed above the minibuffer rather than below.
14004 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14006 * LyXAction.C (init): alloe error-next for readonly documents.
14008 * BufferView2.C (ChangeRefsIfUnique): use standard version of
14011 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14013 * bufferlist.C (readFile): create the buffer _after_ checking that
14016 * lyxfunc.C (verboseDispatch): fix handling of arguments
14018 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
14020 * lyxrc.C: use string::erase() instead of initializing to "".
14023 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14025 * BufferView_pimpl.h:
14026 * BufferView_pimpl.C:
14029 * text2.C: tell X when we have made a selection for copying
14031 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14033 * BufferView_pimpl.C (MenuInsertLyXFile):
14034 * lyxfunc.C (menuNew):
14036 (doImport): add shortcuts to directory buttons
14038 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
14041 * lyxfunc.C (setStatusMessage):
14042 (getStatusMessage): new methods
14043 (getStatus):use setStatusMessage instead of setErrorMessage
14044 (dispatch): when function is disabled, set error message here
14045 [instead of in getStatus previously]
14047 * BufferView_pimpl.C (workAreaButtonRelease): update
14048 toolbar/menubar here too.
14050 2002-01-13 Allan Rae <rae@lyx.org>
14052 * BufferView2.C (removeAutoInsets): finished off earlier fix.
14053 Now seems indestructible. Remaining task is to audit all other
14054 code affected by deleteEmptyParagraphMechanism. One small quirk
14055 left is that an empty document with an error in the preamble can
14056 be made to report an error but no error box appears. I don't know
14058 (removeAutoInsets): Improved comments.
14060 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
14063 * Thesaurus.C: update for Aiksaurus 0.14
14065 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
14067 * text2.C (firstParagraph): removed member function, all uses
14068 replaces with ownerParagraph
14069 (redoParagraphs): here
14070 (updateInset): here
14071 (toggleAppendix): here
14072 * BufferView2.C (insertErrors): here
14073 (setCursorFromRow): here
14075 2002-01-13 Allan Rae <rae@lyx.org>
14077 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
14078 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
14079 There is still a way to segfault this although you may have to do this
14080 multiple times: Have an InsetERT with an unknown command in it.
14081 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
14082 <down-arrow>, <Enter> again, View->DVI, BANG!
14084 * text2.C (setCursor):
14085 (deleteEmptyParagraphMechanism):
14086 * lyxtext.h (setCursor):
14087 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
14088 Making use of the return value may help fix other bugs.
14090 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14092 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
14094 * LyXView.C (updateMenubar): call MenuBar::update here
14095 (updateToolbar): but not here
14096 (showState): do not update toolbar/menubar
14098 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
14099 should need to care about that.
14101 * lyxfunc.C (verboseDispatch): simplify a bit
14102 (getStatus): have a version which takes a pseudoaction, and
14103 another which requires a (kb_action,string).
14105 * LyXAction.C (retrieveActionArg): make it work also when action
14106 is not a pseudo-action.
14107 (getActionName): simplify a bit
14110 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14112 * lyxfunc.C (verboseDispatch): new families of methods with
14113 several ways to specify a command and a bool to indicate whether
14114 the command name and shortcut should be displayed in minibuffer
14115 (eventually, we could extend that to a finer bitmask like
14116 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
14117 (dispatch): the pristine dispatch command which just, well,
14118 dispatchs! Note it still sets its result to minibuffer; I'm not
14121 * lyxfunc.h: remove setHintMessage
14123 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
14125 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14127 * BufferView_pimpl.C (specialChar): delete new inset if we have
14128 not been able to insert it.
14130 * kbmap.C: revert to using int instead of kb_action, since all we
14131 are dealing with is pseudo-actions.
14133 * LyXAction.C (searchActionArg): change to return int instead of
14134 kb_action, since the result is a pseudoaction.
14136 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
14138 * buffer.C (insertErtContents): Fix (partially) the font bug.
14140 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
14142 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
14143 as the other one is broken on my machine!
14145 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
14148 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
14150 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
14152 * lyxrc.[Ch]: change names and descriptions of popup font variables to
14153 reflect their actual use. Provide compatibility code for older lyxrc
14156 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
14158 change names of popup font variables in line with the changes to lyxrc.C
14160 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14162 * buffer.C (asciiParagraph): avoid outputing a word twice after
14165 * lyxrc.C (getDescription): document that document_path and
14166 template_path can be empty.
14168 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14170 * LaTeXFeatures.C (getMacros):
14171 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
14173 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
14175 * LaTeXFeatures.C (useFloat): require "float" here instead of in
14177 (getPackages): rename feature "floats" to "float". Use an array to
14178 iterate over 'simple' features (i.e. just a \usepackage). Add
14179 handling of "amsmath" (renamed from "amsstyle").
14181 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
14183 * LaTeXFeatures.C (require): Prevent duplicate entries in the
14186 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
14188 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
14189 FuncStaus::FuncStatus & FuncStaus::some_method().
14191 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
14193 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
14194 of the func_satus stuff. Edited and massaged in various ways by
14197 * lyxfunc.C (getStatus): use FuncStatus
14199 2002-01-08 Juergen Vigna <jug@sad.it>
14201 * text.C (nextBreakPoint): use function Inset::isChar().
14203 * paragraph.C (TeXOnePar): use function
14204 Inset::forceDefaultParagraphs.
14206 * buffer.C (latexParagraphs): use function
14207 Inset::forceDefaultParagraphs.
14209 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14211 * lyx_gui.C (init): set the style of the menu popups to
14212 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
14214 2002-01-07 Juergen Vigna <jug@sad.it>
14216 * text.C (setHeightOfRow): small fix
14217 (prepareToPrint): don't look at alignment if we don't have the place
14220 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14222 * box.C: New file. Move the Box methods and functions out of box.h,
14223 following Lars' suggestion.
14225 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14227 * box.h: #include "support/LOstream.h", needed for inlined function.
14230 * lyxtextclasslist.C: added some using std declarations.
14232 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
14234 * box.h: make signed dimensions to allow insets wider than
14235 the screen (bug #162)
14237 * BufferView_pimpl.C: add some insetHit debug
14239 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
14241 * vc-backend.C: add FIXME
14243 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14245 * lyxfunc.C (getStatus): enable code for showing math font status
14248 2002-01-07 Juergen Vigna <jug@sad.it>
14250 * text.C (nextBreakPoint): removed debug output not needed anymore.
14252 2002-01-06 Juergen Vigna <jug@sad.it>
14254 * text.C (nextBreakPoint): fixed up this function we had this bug
14255 since ever but now hopefully we break row better.
14256 (insertChar): we have to check if an inset is the next char as it
14257 could now happen that a large inset is causing a break.
14259 2002-01-05 Juergen Vigna <jug@sad.it>
14261 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
14262 if it doesn't like to be drawed.
14264 2002-01-04 Juergen Vigna <jug@sad.it>
14266 * BufferView2.C (lockInset): forgot to set a cursor.
14268 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
14270 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
14272 * FormMathsPanel.C:
14275 * form_maths_panel.C:
14276 * form_maths_panel.h:
14277 * form_maths_panel.fd: implemented sub- and super- buttons in math
14280 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
14281 (or ^ space) to be used as in TeX (req'd by Andr�.
14283 * lyxfunc.C: Allow ^ and _ again to be used both as
14284 super/subscript (mathed) and as themselves (in text).
14286 2002-01-03 Allan Rae <rae@lyx.org>
14288 * LyXView.C (updateWindowTitle): Setup a short icon title of either
14289 "LyX" or the filename of the current buffer if it has one. This is a
14290 modified form of John Levon's patch.
14292 * XFormsView.C (setWindowTitle): also set icon title.
14294 * LyXView.h (setWindowTitle): signature changed.
14295 * XFormsView.h (setWindowTitle): ditto.
14297 2002-01-02 Juergen Vigna <jug@sad.it>
14299 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14301 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
14303 * screen.C (topCursorVisible): introduce a temp var for
14304 text->cursor.row(), handle the case where this row is null. (kindo
14307 * text2.C (setCursor): add a couple of asserts.
14309 * paragraph.h (inset_iterator): add -> operator
14311 * paragraph.[Ch] (autoDeleteInsets): remove member function
14313 * BufferView2.C (removeAutoInsets): rewrite to handle the old
14314 cursor pos correctly and handle inset deletion by itself.
14315 (insertErrors): move iterator declaration out of for expression
14317 * lyxtextclass.C: add <algorithm>
14319 * Makefile.am: added the new files to sources, removed layout.C
14321 * layout.C: removed file
14323 * layout.h: remove LYX_DUMMY_LAYOUT
14325 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14329 * lyxtextclass.[Ch]:
14330 * lyxtextclasslist.[Ch]: new files
14332 * include order changes to a lot of files, also changes because of
14335 2001-12-27 Juergen Vigna <jug@sad.it>
14337 * buffer.C (asciiParagraph): more fixes.
14339 * tabular.C (ascii): make ascii export support export of only the
14340 data separated by a column-delimiter.
14341 (ascii): better support for ascii export.
14343 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14345 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14347 * tabular_funcs.C: use a "using std::getline" instead of the
14348 previous fix from Angus (necessary for cxx + lyxstring)
14350 2001-12-24 Juergen Vigna <jug@sad.it>
14352 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14354 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14355 problems. First check a minipage also if we have some ert-contents
14356 (not only on par->size(), second set the right depth of the paragraph
14357 on the relink to the root-paragraph-list!
14359 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14360 which then did not anymore update the main paragraphs on undo/redo!
14362 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14364 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14365 code. Support all font-changing funcs (even those which are not in
14366 menu currently). Support for reporting font settings in
14367 mathed (disabled until Andre provides a function on mathed's side).
14369 * func_status.h (toggle): small helper function to set toggle
14372 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
14374 * tabular_funcs.C: getline -> std::getline
14376 2001-12-21 Juergen Vigna <jug@sad.it>
14378 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14379 accessed and could be 0 (I couldn't generate this but it seems
14382 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
14384 * tabular_funcs.C: add LIstream.h, move write_attribute to..
14385 * tabular_funcs.h: here and include iosfwd
14387 2001-12-20 Juergen Vigna <jug@sad.it>
14389 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14390 inside inset but undo_par was.
14392 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14394 * Thesaurus.C: always include <config.h> in sources.
14398 * box.h: do not include <config.h> in header files
14400 * text.C (paintLastRow): remove unused variable
14402 * text.C (transformChar):
14404 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14406 * Painter.C (text):
14407 * font.C (width): rewrite to use uppercase() instead of
14410 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14412 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
14414 * lyxfind.C: clean up of find failure position change
14416 2001-12-20 Juergen Vigna <jug@sad.it>
14418 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14420 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14421 (TeXRow): added to LaTeX a single tabular row.
14422 (TeXLongtableHeaderFooter): added to output LT-h/f data.
14423 (Latex): simplified and finally good LT-h/f support.
14424 (various_functions): just small adaptions for LT-h/f support.
14426 * tabular_funcs.[hC]: added and moved here all not classfunctions
14429 2001-12-19 Juergen Vigna <jug@sad.it>
14431 * tabular.[Ch]: better support for longtabular options (not finished
14434 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14436 * text.C (paintLastRow): use the label font instead of the font of
14437 the last character to compute the size of *_BOX. This makes more
14438 sense and avoids a crash with empty paragraphs.
14439 Use Painter::rectangle to draw EMPTY_BOX.
14441 2001-12-19 Juergen Vigna <jug@sad.it>
14443 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14444 the paragraphs if the replaced paragraph is not the first one!
14445 Tried to delete not used paragraphs but does not work yet so for
14446 now it's inside #ifdef's and by default off!
14448 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14450 * MenuBackend.C: include "lyx_main.h" instead of declaring
14451 lastfiles (actually was declared as LastFiles* instead of a
14454 2001-12-17 Juergen Vigna <jug@sad.it>
14456 * tabular.C (AppendColumn): applied John's fix
14458 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
14462 * BufferView_pimpl.h:
14463 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14466 * box.h: new start of class for above
14468 * lyxfunc.C: ignore space-only minibuffer dispatches.
14469 Show the command name when it doesn't exist
14471 * minibuffer.C: don't add empty lines to the history
14473 * minibuffer.C: add a space on dropdown completion
14475 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
14477 * text.C: fix line above/below drawing in insets
14479 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14481 * lyxlength.C (LyXLength): Initialize private variables.
14483 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
14485 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14486 when inserting error insets.
14488 2001-12-13 Juergen Vigna <jug@sad.it>
14490 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14491 actually sometimes the before-paragraph.
14492 (setUndo): don't clear the redostack if we're not actually undoing!
14494 2001-12-06 Juergen Vigna <jug@sad.it>
14496 * undo_funcs.C (textHandleUndo): well after John's hint I got here
14497 and fixed redoing of main paragraph, so we can use it now ;)
14499 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14501 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14503 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14506 2001-12-13 André Pönitz <poenitz@gmx.net>
14509 * undo_func.C: minor cleanup
14511 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14513 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14514 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14515 font in urw-fonts package which is marked as -urw-fontspecific and
14516 does not work (incidentally, changing the encoding in the
14517 fonts.dir of this package to -adobe-fontspecific fixes the
14520 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14521 is a crash when undoing first paragraph (Juergen, please take a
14522 look). THis does not mean the undo fix is wrong, just that it
14525 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14526 the (Paragraph*) version when needed instead of duplicating the
14529 * text.C (workWidth): use Inset::parOwner to find out where the
14530 inset has been inserted. This is a huge performance gain for large
14531 documents with lots of insets. If Inset::parOwner is not set, fall
14532 back on the brute force method
14534 * paragraph_pimpl.C (insertInset):
14535 * paragraph.C (Paragraph):
14536 (cutIntoMinibuffer): set parOwner of insets when
14537 inserting/removing them
14539 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14541 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
14547 * mathed/formulabase.C:
14548 * mathed/math_cursor.[Ch]:
14549 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14552 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14554 * lyxlength.[Ch] (operator!=): new function
14556 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14558 * text.C (workWidth): use Inset::parOwner to find out where the
14559 inset has been inserted. This is a huge performance gain for large
14560 documents with lots of insets. If Inset::parOwner is not set, fall
14561 back on the brute force method
14563 * paragraph_pimpl.C (insertInset):
14564 * paragraph.C (Paragraph):
14565 (cutIntoMinibuffer): set parOwner of insets when
14566 inserting/removing them
14568 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14570 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14572 * tabular-old.C (getTokenValue):
14573 * tabular.C (getTokenValue):
14574 (write_attribute): new versions for LyXLength
14575 (everywhere): adjust the use of widths
14577 * tabular.h: change the type of widths from string to LyXLength
14579 2001-12-11 Ben Stanley <bds02@uow.edu.au>
14581 * paragraph.C: fixed missing line number count when exporting
14582 Environments to LaTeX file
14584 * buffer.C: added informational message for checking line numbers.
14586 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14588 * text2.C (deleteEmptyParagraphMechanism): if there is only one
14589 paragraph, do the 'double space' part, but not the 'empty
14592 * text.C (workWidth): small optimization
14593 (getLengthMarkerHeight): use minimal size for negative lengths.
14595 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
14597 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14599 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14601 2001-12-11 André Pönitz <poenitz@gmx.net>
14604 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14606 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14608 * text2.C: keep selection on a setFont()
14610 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14612 * lyx_cb.C: another bv->text misuse, from insert label
14614 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14617 * kbsequence.C: re-instate nmodifier mask
14619 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
14621 * lyx_main.h: make lyxGUI private.
14623 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14625 * lyxfind.C: place the cursor correctly on failed search
14627 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14629 * text.C (getLengthMarkerHeight): for small heights, the arrows
14630 are not always on top/bottom of the text
14631 (drawLengthMarker): smaller arrows; take the left margin in
14632 account; draw also vfills.
14634 (paintLastRow): remove special code for vfill and standard spaces,
14635 since everything is handled in drawLengthMarker now.
14637 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14639 * buffer.C (insertErtContents): try to handle font and language
14640 interaction a bit better.g
14642 * ColorHandler.C (updateColor): change the hash to cover the whole
14643 LColor enum, ws cleanup
14644 (getGCLinepars): ditto
14645 (getGCLinepars): only lookup in the linecache once.
14647 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
14649 * iterators.C (operator++): Make the iterator more robust
14651 * BufferView2.C (removeAutoInsets): Use paragraph iterators
14653 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14655 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14658 * text.C: better added space drawing
14660 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14663 * BufferView2.C: fix layout combo update on inset unlock
14665 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14667 * Makefile.am: don't compile unused files
14669 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14673 * LyXAction.C: remove old LFUN_LAYOUTNO
14675 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14677 * paragraph_pimpl.h:
14678 * paragraph_pimpl.C: isTextAt() doesn't need font param
14680 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14683 * lyxlex.C: little cleanup
14685 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14687 * BufferView_pimpl.C: fix insertAscii for insets
14689 2001-12-05 Juergen Vigna <jug@sad.it>
14691 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14692 set the right font on the "multi" paragraph paste!
14694 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14700 * lyxlength.C: remove out-commented code.
14702 * BufferView_pimpl:
14716 * vc-backend.C: change "while(" to "while ("
14718 * lyxlength.[Ch]: add zero function to check if length is zero or
14720 * lyxgluelength.C: use it
14722 2001-12-05 Allan Rae <rae@lyx.org>
14724 * lyxlength.C: Attempted a fix for the abs(int) header selection.
14725 Works for 2.95.3, from what I understand of Garst's reports this should
14726 work for other g++ versions. We're screwed if the abs(int) definition
14727 changed between bugfix releases of gcc.
14729 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14731 * text.C: fix chapter label offset !
14733 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14736 * text.C: fix hfill at end of line, clean up
14738 2001-12-04 Juergen Vigna <jug@sad.it>
14740 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14741 that we force an update of the inset and it's owners if neccessary.
14743 2001-12-03 Juergen Vigna <jug@sad.it>
14745 * text.C (rowLast): simplified code
14747 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14749 * lyxfunc.C: fix show options on timeout
14751 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14753 * screen.C (topCursorVisible): scroll half a page when the cursor
14754 reached top of bottom of screen
14756 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
14758 * minibuffer.C: deactivate on loss of focus
14760 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14762 * vspace.[Ch] (operator!=): add operator.
14764 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
14766 * BufferView_pimpl.C: refuse to open an inset when
14767 there's a selection.
14769 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
14771 * BufferView_pimpl.C: allow to click on RHS of full row insets
14773 2001-11-30 Juergen Vigna <jug@sad.it>
14775 * tabular.C (LyXTabular): add a same_id to set the same id's in the
14776 insets for undo reasons.
14778 2001-11-28 André Pönitz <poenitz@gmx.net>
14780 * vspace.[Ch]: cosmetical changes
14782 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14792 * kbsequence.C: part re-write of old kb code
14795 * WorkArea.C: remove Lgb_bug_find_hack
14797 2001-11-30 José Matos <jamatos@fep.up.pt>
14799 * buffer.C (makeDocBookFile): add a comment to point a hack.
14800 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14801 Fixed a double write of labels.
14803 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14806 * LaTeX.h Fixed bug in LaTeX class where it would not
14807 re-run latex if no depfiles were changed, but the .dvi was removed.
14809 2001-11-28 André Pönitz <poenitz@gmx.net>
14811 * all the files from the change on 2001/11/26:
14812 use lyx::layout_type instead of LyXTextClass::size_type
14813 use lyx::textclass_type instead of LyXTextClassList::size_type
14815 2001-11-29 Juergen Vigna <jug@sad.it>
14817 * text.C: added support for paragraph::isFreeSpacing()
14819 * buffer.C: same as above
14821 * paragraph.h: inserted isFreeSpacing() function to enable
14822 FreeSpacing inside InsetERT.
14824 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14825 of the paragraph's in the cut/copy buffer to 0!
14827 * text2.C (removeRow): remove the assert as it can!
14829 * lyxtext.h: added helper function firstRow returning firstrow and
14830 made firstrow private again.
14832 * BufferView2.C (lockInset): don't relock if we're already locked!
14834 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14835 the only paragraph.
14836 (removeRow): added Assert::(firstrow)
14838 * debug.C: forgot to add INSETTEXT here.
14840 2001-11-28 Juergen Vigna <jug@sad.it>
14842 * sp_spell.C (initialize): changed error text to more general
14843 spellchecker command use (not only ispell!)
14845 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14847 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14849 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14851 * vspace.C: initialise lyxgluelength on failure
14853 2001-11-28 Allan Rae <rae@lyx.org>
14855 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14856 declaration & definition that looks like a function declaration.
14858 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14860 * BufferView2.C (copy):
14861 (copyEnvironment): do not clear the selection when doing a copy.
14863 * text.C (paintFirstRow): compilation fix
14865 2001-11-27 Ben Stanley <bds02@uow.edu.au>
14867 * tabular.C (Latex): correct line count when writing latex.
14869 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
14871 * paragraph_pimpl.h:
14872 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14875 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14879 * LColor.C: change vfillline->added_space
14881 * text.C: add markers and text for added space
14883 * vspace.C: fix comment
14885 2001-11-28 André Pönitz <poenitz@gmx.net>
14887 * paragraph.C: whitespace changes
14888 * all the other files from the change on 2001/11/26:
14889 change *::pos_type into lyx::pos_type
14891 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
14893 * buffer.C (parseSingleLyXformat2Token): Set the language to the
14894 language of the document when inserting error insets.
14896 2001-11-26 André Pönitz <poenitz@gmx.net>
14898 * BufferView_pimpl.[Ch]:
14906 * paragraph_pimpl.[Ch]:
14909 * text2.C: reduce header dependencies, introduce type for positions
14911 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14913 * <various>: change to use Alert.h
14915 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
14917 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14918 when encountering an unknown token.
14919 (readLyXformat2): Show an error message if there were unknown tokens.
14921 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
14924 * BufferView_pimpl.C:
14928 * text2.C: use par->isInset()
14930 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14932 * paragraph_pimpl.h:
14933 * paragraph_pimpl.C: cleanup
14935 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14937 * text2.C (removeRow):
14938 * text.C (setHeightOfRow): remove useless (and costly) call to
14941 2001-11-20 Allan Rae <rae@lyx.org>
14943 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14944 Now need Inset*::checkInsertChar() to return true for appropriate
14945 cases so that the characters in the minibuffer will actually be
14948 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14950 * text.C: change the order of the includes.
14951 (workWidth): initialize it at once.
14952 (workWidth): make maxw unsigned
14953 (setHeightOfRow): remove unused variable (inset)
14954 (selectSelectedWord): remove unused variable (inset)
14955 (paintRowText): fix drawing of hfill characters, and clean up a bit.
14957 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14959 * lyxserver.C (emergencyCleanup): do not try to close pipes if
14960 server is not running.
14962 (closeConnection): add debug info when server is disabled.
14964 * ColorHandler.C (getGCForeground): send debug message to GUI
14967 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14969 * kbmap.C (bind): modify because return conventions of
14970 kb_sequence::parse have changed.
14972 * kbsequence.C (parse): only ignore spaces and not any stupid
14973 control character. This avoids tests like s[i] <= ' ', which are
14974 guaranteed to fail with 8bit characters and signed chars.
14975 Change return code to string::npos when there have been no error
14976 (0 was a bad idea when error is at first character)
14978 2001-11-14 José Matos <jamatos@fep.up.pt>
14981 * buffer.C (simpleDocBookOnePar): removed unused argument.
14983 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14985 * text.C (selectNextWordToSpellcheck): do not test explicitely for
14986 insets which are part of a word. Paragraph::isLetter takes care of
14987 that now. Use Paragraph::isInset to identify insets.
14988 (selectSelectedWord): do not test for hyphenation break.
14990 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14991 that protected spaces are considered as spaces.
14993 * paragraph.C (isLetter): cleanup the code for ispell extras; use
14996 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
14999 * lyxserver.C: fix it. and small cleanup.
15001 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
15003 * BufferView_pimpl.C: use inline helpers
15006 * LaTeXFeatures.C: fix typos
15009 * Spacing.C: move spacing_string into class
15011 * ToolbarDefaults.C: move stuff into namespace anon
15013 * layout.h: update enum
15015 * lyxfunc.C: use better debug
15017 * minibuffer.h: fix typo
15021 * WorkArea.C: add and use Debug::WORKAREA
15025 * text2.C: code re-organisation, inline helpers
15027 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
15029 * Layout.C: replaced a few cases of std::vector.size() == 0 with
15030 std::vector.empty().
15032 2001-11-09 Allan Rae <rae@lyx.org>
15034 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
15035 '\n's after tables. Tabular and ERT inset work now makes this no
15038 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
15041 * minibuffer.C: fix crash, improve drop-down completion
15043 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
15046 * lyxserver.C: invalidate fd's when doing endPipe()
15048 2001-11-08 José Matos <jamatos@fep.up.pt>
15050 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
15051 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
15054 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
15056 2001-11-07 José Matos <jamatos@fep.up.pt>
15059 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
15062 * buffer.C (sgmlOpenTag):
15063 * buffer.C (sgmlCloseTag): removed debug info.
15065 * buffer.h (sgmlOpenTag):
15066 * buffer.h (sgmlCloseTag): made public.
15068 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15070 * buffer.C (saveParamsAsDefaults):
15071 * lyx_cb.C (MenuLayoutSave): remove
15073 * LyXAction.C (init):
15075 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
15077 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15079 * buffer.C (setPaperStuff): removed from here...
15081 * bufferparams.C (setPaperStuff): ... and moved there.
15083 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
15087 * XFormsView.C: add support for drop-down completion
15089 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
15091 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
15094 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15096 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
15099 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
15101 * lyx_main.C: change ref to known bugs
15103 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
15105 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
15106 to work around older babel problems.
15108 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
15110 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
15112 2001-10-24 Juergen Vigna <jug@sad.it>
15114 * tabular-old.C (ReadOld): below variable changes reflected.
15116 * tabular.[Ch]: added ltType struct for longtable header/footer
15117 defines and changed all instances where they are used. Added
15118 future support for double top/bottom rows.
15120 2001-10-24 José Matos <jamatos@fep.up.pt>
15122 * buffer.h (docbookHandleCaption):
15123 * buffer.C (docbookHandleCaption): removed unused function.
15124 (makeDocBookFile): moved docbook supported version to v4.1.
15126 2001-10-24 José Matos <jamatos@fep.up.pt>
15129 * tabular.C (docbookRow): new function to export docbook code of a row.
15130 (DocBook): now honors the longtable flags.
15132 2001-10-23 José Matos <jamatos@fep.up.pt>
15135 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
15136 of the lyx defined sgml entities used in a docbook/linuxdoc document.
15138 * buffer.C (makeLinuxDocFile):
15139 (makeDocBookFile): reworked the preamble, more clean, and with
15140 support for lyx defined entities. Changed the document declaration
15141 to be more XML friendly.
15143 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
15144 if we need to output XML that should be done with a filter.
15146 2001-10-22 Juergen Vigna <jug@sad.it>
15148 * sp_pspell.h (class PSpell): add alive function needed in the
15149 controller to see if the spellchecker could be started.
15151 2001-10-22 Juergen Vigna <jug@sad.it>
15153 * buffer.C (insertStringAsLines): modify the font for inserting
15154 chars in certain conditions by calling checkInsertChar(font).
15156 2001-10-19 Juergen Vigna <jug@sad.it>
15158 * text.C (workWidth): use getRow instead of wrong algorithm.
15159 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
15161 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
15166 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
15168 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15170 * text.C (workWidth): do not search for the exact row when
15171 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
15172 optimization for big documents.
15174 2001-10-18 Juergen Vigna <jug@sad.it>
15176 * text.C (workWidth): new function with added Inset * parameter.
15178 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15180 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
15182 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
15183 change return type of getColumnNearX.
15186 * text.C (changeRegionCase): use uppercase/lowercase instead of
15189 (rightMargin): simplify code by factoring out the uses of
15194 (appendParagraph): use Paragraph::size_type
15196 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15198 * vspace.C (asLatexString): add a missing break
15200 2001-10-15 Herbert Voss <voss@perce.de>
15202 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
15204 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15206 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
15209 2001-10-10 André Pönitz <poenitz@gmx.net>
15211 * lyxfunc.C: removed greek_kb_flag.
15213 2001-10-10 Herbert Voss <voss@perce.de>
15215 * lyx_main.C: delete global string help_lyxdir.
15217 2001-10-09 Herbert Voss <voss@perce.de>
15219 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
15221 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
15223 * lyx_main.C: added global string help_lyxdir.
15225 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
15227 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
15229 * lyxrc.C (set_font_norm_type): support iso8859-4
15231 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
15233 * LaTeX.C (deplog): add another regex for MikTeX
15235 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
15237 * lyxrc.C (set_font_norm_type): support iso8859-3
15239 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15241 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
15243 * LaTeXFeatures.C: remove special case of french and index
15245 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
15246 before \begin{document}). This solves several incompatibilities.
15248 2001-10-03 Garst Reese <reese@isn.net>
15250 * lyx_cb.C: change CheckTex error msg.
15252 2001-10-03 José Matos <jamatos@fep.up.pt>
15254 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
15256 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15258 * .cvsignore: update
15260 * lyx_main.C (commandLineVersionInfo): use new style version info.
15262 * buffer.C (writeFile):
15264 (makeLinuxDocFile):
15265 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
15267 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
15269 * version.h: update to use stuff in version.C
15271 * version.C.in: new file. Contains version information determined
15272 at compile time. This is a merging of version.h and
15275 2001-10-03 Juergen Vigna <jug@sad.it>
15277 * BufferView_pimpl.C (update): don't change "dirty" status in
15280 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
15282 * WorkArea.C (c-tor): re-position version string slightly.
15284 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
15286 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15287 revert to previous code.
15289 WorkArea.[Ch]: (show, destroySplash): methods removed.
15291 WorkArea.C: rework code so that it's an amalgam of the codes before and
15292 after the splash screen was moved to WorkArea.
15294 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15297 * vspace.C (inPixels):
15300 * buffer.C (insertStringAsLines):
15301 (asciiParagraph): fix types to be large enough
15303 * lyxlex_pimpl.h: change member status from short to int
15305 * layout.h: fix type of endlabeltype
15308 * kbsequence.C (parse): change return type to string::size_type
15310 * LaTeX.C (updateBibtexDependencies): comment out unneeded
15313 * Bullet.C (bulletSize):
15314 (bulletEntry): do not use short ints as parameters
15316 * BufferView2.C (insertLyXFile): change a char to an int.
15318 * WorkArea.C (WorkArea): remove unneeded floats in computation
15320 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
15322 * buffer.C (asciiParagraph): Treat '\\' as other chars.
15324 * paragraph.C (asString): Do not ignore newline/hfill chars when
15325 copying to the clipboard.
15327 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
15329 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15330 after a multi-line inset.
15332 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
15334 * paragraph.C (validate): Set NeedLyXFootnoteCode
15336 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
15338 * lyxfont.C (LyXSizeNames): changed increase-error to increase
15339 and decrease-error to decrease.
15341 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15343 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15344 it more readable (should be equivalent)
15346 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
15348 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15350 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15352 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15353 of a cursor (row, etc.) after a character has been deleted
15354 (deleteEmptyParagraphMechanism): call the method above on _all_
15355 cursors held by the LyXText when a double space has been
15358 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
15360 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15362 (resizeCurrentBuff): remove code to destroy the old splash dialog.
15364 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15365 background. Use greyOut() and the new show() methods to toggle between
15366 the foreground and background. Add code to remove the splash after
15367 its initial showing.
15369 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15370 (create_forms): no longer call Dialogs::showSplash.
15372 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15374 * .cvsignore: add version_info.h
15376 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15378 * version_info.h.in: new file
15380 * Makefile.am: add version_info.h.in
15382 * lyx_main.C (commandLineVersionInfo): use version_info defined in
15383 version_info.h instead of VERSION_INFO
15385 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
15387 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15388 The ERT inset now returns string().
15390 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
15392 * lyxtext.h, text.C (selectNextWord): renamed as
15393 selectNextWordToSpellcheck.
15395 * text.C (selectNextWordToSpellcheck): Modified to not select
15396 words inside an ERT inset.
15398 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15400 * lyx_cb.C (MenuLayoutSave): change a bit the question
15402 * sp_base.h: include <sys/types.h>
15404 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
15406 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15408 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
15410 * several files: fix typos in user-visible strings
15412 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15414 * text2.C (pasteSelection): do not set the selection, since it
15415 will be cleared later. Actually, the intent was to fix the way the
15416 selection was set, but I figured rmoving the code was just as good.
15418 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
15420 * FontLoader.C (available): Check if font is available without
15423 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
15425 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15427 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
15429 * lyxrc.[Ch]: added display_graphics variable and associated code.
15431 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15433 * bufferparams.C (hasClassDefaults): new method. Returns true if
15434 the buffer parameters correspond to known class defaults
15436 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
15438 * XFormsView.C (show): set minimum size to the main window.
15440 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15442 * text2.C (copySelection):
15444 * lyxfind.C (LyXReplace):
15445 * BufferView_pimpl.C (Dispatch): pass the correct flag to
15446 LyXText::selectionAsString.
15448 * paragraph.C (asString): add "label" argument to the second form
15450 * text2.C (selectionAsString): add "label" argument and pass it to
15451 Paragraph::asString.
15453 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15455 * lyx_main.C (commandLineHelp): remove version information
15457 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
15459 * lyx_main.C: add -version commandline option
15461 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15463 * paragraph.h: make the optional constructor arg required instead.
15464 some modifications to other files because of this.
15466 * minibuffer.C (C_MiniBuffer_peek_event): make it static
15468 * lyxserver.C (C_LyXComm_callback): make it static
15470 * lyx_main.C (error_handler): make it static
15472 * lyx_gui.C (LyX_XErrHandler): make it static
15474 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15476 * WorkArea.C: make the extern "C" methods static.
15478 * Makefile.am (lyx_LDADD): simplify
15480 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15482 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15483 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15485 * LyXAction.C (init):
15486 * lyxfunc.C (dispatch): associated code removal.
15488 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15490 * lyxfont.h (isSymbolFont): shut off warning
15492 * text.C (setHeightOfRow):
15493 (getVisibleRow): fix crash with empty paragraphs which have a
15496 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
15498 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15501 2001-09-04 José Matos <jamatos@fep.up.pt>
15504 * tabular.C (docbook): rename docBook method to docbook.
15506 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15508 * Makefile.am: add dependencies to main.o.
15510 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
15512 * FontLoader.C (available): Return false if !lyxrc.use_gui
15514 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
15516 * FontInfo.C (query):
15517 * converter.C (view):
15518 * importer.C (Import):
15519 * exporter.C (Export): Can not -> cannot.
15521 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
15523 * BufferView_pimpl.C: allow to create index inset even if
15526 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15528 * buffer.C (getLists): replace boost::tie code with an explicit pair
15529 as boost::tie can break some compilers.
15531 * iterators.h: Added a std:: declaration to the return type of
15534 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
15536 * lyxrc.C: add help for view_dvi_paper_option, default to safe
15539 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
15541 * iterators.[Ch]: New files. Provide paragraph iterators.
15543 * buffer.C (changeLanguage): Use paragraph iterators.
15544 (isMultiLingual): ditto
15546 * BufferView2.C (ChangeInsets): Use paragraph iterators.
15548 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
15550 * FontLoader.C: Support for cmr font.
15552 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
15554 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15555 (available): New method.
15557 * FontInfo.C (getFontname): Use scalable fonts even when
15558 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15561 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15563 * converter.C (Formats::view): reverted! Incorrect fix.
15565 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15567 * converter.C (Formats::view): only output the -paper option
15568 if the dvi viewer is xdvi, thereby fixing bug #233429.
15570 2001-08-23 Herbert Voss <voss@perce>
15572 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15574 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
15576 * Spacing.h (Spacing): Set space to Default on in the default
15579 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
15581 * vc-backend.h (RCS::versionString): add RCS to version
15582 (CVS::versionString): add CVS to version
15584 * vc-backend.C (scanMaster): do not add CVS to version.
15585 (scanMaster): do not add RCS to version
15587 * lyxvc.C (versionString): new method
15589 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15591 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15593 * Spacing.C (set): initialize fval
15595 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
15597 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15600 2001-08-16 Juergen Vigna <jug@sad.it>
15602 * lyxfunc.C (dispatch): implemented the new FINISHED states.
15604 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15606 * BufferView_pimpl.C:
15609 * text2.C: setParagraph takes linespacing now
15611 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
15613 * LyxAction.C: add internal LFUN_CITATION_INSERT
15615 * LyXView.C: actually apply fix
15617 * bufferlist.C: fix open non-existent file
15619 * lyxfind.C: fix indentation
15621 * lyxfunc.C: remove unneeded assert, fix typo
15623 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15625 * MenuBackend.C: use "Floatname List"
15627 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
15629 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15630 when converting LaTeX layout to insetERT.
15631 Generate a non-collapsed float when reading old float
15633 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15635 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15638 2001-08-13 Juergen Vigna <jug@sad.it>
15640 * text.C (fill): return 0 instead of 20 as this seems to be the more
15643 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15645 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15648 2001-08-13 Juergen Vigna <jug@sad.it>
15650 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15652 (SearchBackward): comment out the unlocking of the inset_owner this
15653 should not be needed!
15655 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
15657 * Many files: Remove inherit_language, and add latex_language
15659 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15660 collapsible insets.
15662 2001-08-10 Juergen Vigna <jug@sad.it>
15664 * text.C (prepareToPrint): fixed hfill-width in draw!
15666 * BufferView2.C (selectLastWord): save the selection cursor as this
15667 now is cleared in the function LyXText::clearSelection!
15669 2001-08-08 Juergen Vigna <jug@sad.it>
15671 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15672 BACKSPACE type functions.
15674 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15675 is only cutted from the document but not put in the cut-buffer, where
15676 still the old stuff should be.
15678 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15680 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15682 * tabular.C (SetWidthOfCell): fixed special case where the width
15684 (LeftLine): handle '|' in align_special.
15686 (LeftAlreadyDrawed): ditto
15687 (SetWidthOfCell): ditto
15689 2001-08-07 Juergen Vigna <jug@sad.it>
15691 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15693 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15695 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15696 * lyxlex.[hC]: ditto
15698 2001-08-06 Juergen Vigna <jug@sad.it>
15700 * text.C (getVisibleRow): fix up row clearing a bit.
15702 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15704 * minibuffer.C: make sure the X server sees the changes in the input.
15706 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15708 * paragraph.C (getFont): split into...
15709 (getLabelFont): this
15710 (getLayoutFont): and this
15711 * paragraph_pimpl.C (realizeFont): calling this
15713 * text2.C (getFont): split into...
15714 (getLayoutFont): this
15715 (getLabelFont): and this
15716 (realizeFont): all three calling this
15718 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15721 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15723 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15725 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
15727 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15728 layouts from the Quote inset insertion.
15730 2001-08-03 Juergen Vigna <jug@sad.it>
15732 * BufferView_pimpl.C (update): do the fitCursor only at the end!
15734 * screen.C (drawFromTo): don't call fitcursor here and do the loop
15735 only if status not is already CHANGED_IN_DRAW (second level).
15737 * text.C (draw): don't set the need_break_row when inside an
15740 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
15742 * buffer.C (parseSingleLyXformat2Token): handle more latex
15745 * bufferview_funcs.[hC]: change function names to
15746 begin with small char, adjust other files.
15748 2001-08-02 André Pönitz <poenitz@gmx.net>
15751 BufferView_pimpl.C: remove broken special code for math-greek
15753 2001-08-02 Juergen Vigna <jug@sad.it>
15755 * BufferView_pimpl.C (update): redone this function so that we
15756 update the text again if there was a CHANGE_IN_DRAW.
15758 * screen.C (cursorToggle): removed LyXText parameter and recoded.
15759 (drawFromTo): added a new internal bool which is used by draw() and
15761 (general): some cursor drawing problems fixed.
15763 2001-08-01 Juergen Vigna <jug@sad.it>
15765 * lyxfind.C (LyXFind): fixed
15766 (SearchForward): ditto
15767 (SearchBackward): ditto
15769 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15770 spurius drawing of the cursor in the main area.
15772 * text2.C (status): small fix which could lead to a segfault!
15773 (clearSelection): remove unneeded BufferView param.
15775 2001-08-01 André Pönitz <poenitz@gmx.net>
15777 * lyxfunc.C: small change due to changed mathed interface
15779 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15781 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15783 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
15785 * lyxfunc.c: fail gracefully if file doesn't exist
15790 * BufferView_pimpl.C: IsDirWriteable() proto changed
15792 * LyXView.C: fix updateWindowTitle() to store the last title
15794 2001-07-31 Juergen Vigna <jug@sad.it>
15796 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15797 the font (wrong since using of Paragraph::highestFontInRange).
15799 * paragraph.C (highestFontInRange): added a default_size parameter.
15801 * text.C (getVisibleRow): minor clear row changes (still not perfect).
15802 (setHeightOfRow): reformat
15804 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15806 * converter.[hC] + affected files: move to (inital-char)lowercase
15809 * ParagraphParameters.C (ParagraphParameters): remove commented code
15811 * PainterBase.[Ch]: remove commented code
15813 * LaTeXFeatures.h: add "bool floats" for float.sty
15815 * LaTeXFeatures.C (LaTeXFeatures): init floats
15816 (require): handle float
15817 (getPackages): do it with floats
15819 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15821 * BufferView_pimpl.C (Dispatch): improve handling of
15822 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15824 * commandtags.h: #include lyxfont.h here temporarily to avoid
15827 * bufferlist.h: include LString.h here.
15829 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15831 * text2.C (getStringToIndex): new method.
15833 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
15835 * *: Reduced header file dependencies all over.
15837 2001-07-30 Baruch Even <baruch@lyx.org>
15839 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15841 2001-07-29 Baruch Even <baruch@lyx.org>
15843 * buffer.C (readInset): Changed GRAPHICS to Graphics.
15845 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15847 * ParameterStruct.h (endif): add a default constructor to make
15848 sure that all variables is initialized.
15850 * ParagraphParameters.C (ParagraphParameters): adjust
15852 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15854 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15855 index; also, check that there is something to index, and that it
15856 does not span over several paragraphs.
15857 (doubleClick): use WHOLE_WORD_STRICT for double click.
15859 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15861 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15864 2001-07-26 Baruch Even <baruch@lyx.org>
15866 * buffer.C (readInset): Changed to call up InsetGraphics when reading
15867 an InsetFig figure, backwards compatible reading of old figure code.
15869 2001-07-27 Juergen Vigna <jug@sad.it>
15871 * text2.C: font.realize function adaption.
15873 * text.C (draw): add a warnings lyxerr text if needed.
15875 * layout.C: font.realize function adaption.
15877 * language.C: add inherit_language and implement it's handlings
15879 * bufferview_funcs.C (StyleReset): remove language parameter from
15880 font creation (should be language_inherit now).
15882 * bufferparams.C (writeFile): handle ignore_language.
15884 * paragraph.C (getFontSettings): the language has to be resolved
15885 otherwise we have problems in LyXFont!
15887 * lyxfont.C (lyxWriteChanges): added document_language parameter
15888 (update): removed unneeded language parameter
15890 * paragraph.C (validate): fixed wrong output of color-package when
15891 using interface colors for certain fonts in certain environments,
15892 which should not seen as that on the final output.
15894 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
15896 * BufferView_pimpl.C:
15901 * LyXAction.C: add thesaurus support
15904 * lyxfind.C: add "once" parameter, for thesaurus, to not
15905 move to the next match
15907 2001-07-26 Juergen Vigna <jug@sad.it>
15909 * lyxfont.C (realize): honor ignore_language too!
15912 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15914 * text.C (draw): one place more for ignore_language to not draw
15917 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
15919 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15921 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15923 * buffer.C (parseSingleLyXformat2Token): a more general fix for
15924 the minipage conversion problem.
15926 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15928 * buffer.C (parseSingleLyXformat2Token): check minipage if we
15931 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15933 * BufferView.h: don't forward declare WorkArea
15935 * BufferView.C: don't include WorkArea.h
15937 2001-07-25 André Pönitz <poenitz@gmx.net>
15941 * lyxfunc.C: new LFUN 'math-space'
15943 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15945 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15947 * text2.C (toggleInset): call open/close
15949 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15951 * lyxfunc.C (dispatch): add debug for the disabled case
15953 * font.C (buttonText): make similar to rectText
15955 * buffer.C (readInset): comment out parsing of insetlist and
15958 * PainterBase.C (rectText): small correction
15960 * BufferView_pimpl.C: comment out insettheorem and insetlist
15961 * LyXAction.C: ditto
15962 * commandtags.h: ditto
15964 2001-07-24 Juergen Vigna <jug@sad.it>
15966 * text.C (draw): honor the ignore_language.
15968 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15970 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15972 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15975 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15977 * lyxtext.h: remove unused (and unimplemented) methods
15979 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15981 * text.C (getVisibleRow): honor background color
15984 * Painter.h: remove default color argument for fillRectangle
15986 * text.C (backgroundColor): new method
15988 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15990 * text.C (getVisibleRow): adjust
15992 * font.[Ch] (rectText): new method, metrics
15993 (buttonText): new method, metrics
15995 * PainterBase.[hC]: make rectText and buttonText always draw and take
15998 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16000 * ToolbarDefaults.C (read):
16001 * MenuBackend.C (read): allow escaping in all strings
16003 * BufferView_pimpl.C (insertAndEditInset): new method.
16004 (Dispatch): use insertAndEditInset whenever appropriate.
16006 * BufferView_pimpl.C (insertNote): removed
16008 * BufferView_pimpl.C (smartQuote): new method, moved from
16009 BufferView; if an insetquote cannot be inserted, insert a '"'
16012 * BufferView2.C: remove insertCorrectQuote();
16014 * lyxfunc.C (getStatus): Add support for all remaingin
16015 inset-insert lfuns.
16017 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
16019 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
16020 command (necessary to pass " as parameter of self-insert.
16022 * text.C (selectWordWhenUnderCursor):
16023 (selectWord): add word_location parameter
16024 (selectWordWhenUnderCursor): same + remove special code for word
16026 (selectNextWord): use kind() to guess type of insetspecialchar,
16029 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
16030 (insertErtContents): create ert insets as collapsed.
16031 (readInset): better compatibility code for Info inset.
16033 2001-07-20 Juergen Vigna <jug@sad.it>
16035 * lyxfunc.C (dispatch): use always LyXFind now!
16037 * text2.C (init): add a reinit flag so that the LyXText can be
16038 reinited instead of deleted and reallocated (used in InsetText).
16040 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
16046 2001-07-18 Juergen Vigna <jug@sad.it>
16048 * text.C (selectNextWord): handle insets inside inset by calling
16049 always the bv->text functions so that we can go up the_locking_inset!
16051 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
16052 in strange locations when inside an inset!
16054 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
16055 handling to include insets.
16057 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
16059 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16061 * LyXAction.C (init):
16063 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
16064 LIGATURE_BREAK, since the name is so stupid.
16066 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
16068 * buffer.C (readInset): enable reading of new InsetNotes as well as old
16071 * FontLoader.C: remove FORMS_H_LOCATION cruft.
16073 * sp_form.[Ch]: remove.
16075 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
16077 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
16080 * src/buffer.C (readInset): ditto.
16082 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16084 * BufferView_pimpl.C (specialChar): new method. Obsoletes
16085 menuSeparator(), endOfSentenceDot(), ldots() and
16086 hyphenationPoint(), which are therefore removed.
16087 (Dispatch): handle LFUN_HYPHENATION_BREAK.
16089 * LyXAction.C (init):
16090 * commandtags.h: add LFUN_HYPHENATION_BREAK.
16092 * paragraph.C (getWord): removed.
16094 * BufferView_pimpl.C (Dispatch): use last word or selection for
16095 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
16097 * lyx_main.C (queryUserLyXDir): do not ask before creating
16098 user_dir, except if it has been named explicitely.
16100 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
16102 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
16103 a document of zero size.
16105 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
16107 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
16108 approriately in the c-tor and in require().
16109 (getPackages): output the appropriate LaTeX for natbib support.
16111 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
16112 variables "use_natbib" and "use_numerical_citations" when reading the
16114 (readInset): read the various natbib cite commands.
16115 (validate): white-space change.
16117 * bufferparams.[Ch]: new variables "bool use_natbib" and
16118 "bool use_numerical_citations".
16119 (writeFile): output them in the LyX file.
16121 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16123 * lyxfunc.C (getStatus): add support for all the inset insertion
16126 * text2.C (insertInset):
16127 * paragraph.C (insetAllowed):
16128 * BufferView_pimpl.C (insertInset): update to take in account the
16129 renaming of insertInsetAllowed
16131 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
16133 * text2.C (getInset): new method. returns inset at cursor position.
16135 * BufferView_pimpl.C (Dispatch): changes because of this.
16137 * LyXAction.C (init): rename open-stuff to inset-toggle.
16139 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
16141 * text2.C (toggleInset): renamed from openStuff; use
16144 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
16146 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
16148 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
16150 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
16152 * buffer.C (readLyXformat2): Add filename to the error dialog
16154 2001-07-18 Juergen Vigna <jug@sad.it>
16156 * tabular.C (GetCellNumber): put an assert here instead of the check!
16158 2001-07-17 Juergen Vigna <jug@sad.it>
16160 * BufferView_pimpl.C (toggleSelection): adapted too.
16162 * text.C (selectNextWord): adapted for use with insets.
16163 (selectSelectedWord): ditto
16165 2001-07-17 Juergen Vigna <jug@sad.it>
16167 * sp_spell.C (PSpell): fix initialitation order.
16169 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16171 * paragraph.C: spacing
16173 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
16175 * sp_spell.C: repair language selection for pspell
16177 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
16179 * lyxfunc.h: change more methods to begin with lower char.
16181 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
16183 * buffer.C (parseSingleLyXformat2Token): Generate error insets
16184 for unknown layouts.
16186 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
16188 * buffer.C (readLyXformat2): Generate an error dialog if there are
16191 2001-07-16 Juergen Vigna <jug@sad.it>
16193 * sp_spell.C: always compile ISpell part.
16195 * lyxrc.C: added use_pspell entry and it's handling.
16197 2001-07-13 Juergen Vigna <jug@sad.it>
16199 * sp_spell.C: removed double includes.
16201 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
16203 Consistent use of Lsstream.h:
16204 * Lsstream.h: added using std::stringstream for consistencies sake.
16206 * buffer.C: removed using std::stringstream
16208 * lyxfont.C (stateText):
16209 * paragraph.C (asString):
16210 * text.C (selectNextWord, selectSelectedWord):
16211 * text2.C (setCounter):
16212 * vspace.C (asString, asLatexString):
16213 std::ostringstream -> ostringstream.
16215 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
16217 * LyXAction.C: add LFUN_HELP_ABOUTLYX
16218 * commandtags.h: add LFUN_HELP_ABOUTLYX
16219 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
16221 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
16223 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
16225 * lyx_gui_misc.C: remove spellchecker
16226 * lyxfunc.C: showSpellchecker
16228 * sp_ispell.h: added
16229 * sp_pspell.h: added
16230 * sp_spell.C: added
16231 * sp_form.[Ch]: removed
16232 * spellchecker.[Ch]: removed
16234 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
16236 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
16238 (simpleTeXSpecialChars): Simply print the input character without
16239 any special translation if pass_thru is set.
16241 * layout.h: Added bool pass_thru to layout class for being able to
16242 implement pass through of a paragraph for Literate Programming.
16244 * layout.C: add LT_PASS_THRU to LayoutTags enum.
16245 * layout.C (LyXLayout): set pass_thru to flase in constructor.
16246 * layout.C (Read): add "passthru" to list of layout tags and add
16247 code to set the pass_thru boolean when it is read.
16249 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
16251 * trans_decl.h: remove allowed from KmodInfo
16253 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
16254 remove allowed code
16257 * paragraph_pimpl.C (erase): use boost::prior
16259 * Painter.C (text): use data() instead of c_str() when length is
16261 * WorkArea.C (putClipboard): ditto
16262 * font.h (width): ditto
16264 * BufferView2.C: use it-> instead of (*it). for iterators
16266 * paragraph_pimpl.C: ditto
16267 * paragraph.C: ditto
16268 * minibuffer.C: ditto
16269 * language.C: ditto
16271 * encoding.C: ditto
16272 * counters.C: ditto
16273 * converter.C: ditto
16275 * Variables.C: ditto
16276 * TextCache.C: ditto
16277 * MenuBackend.C: ditto
16278 * LyXAction.C: ditto
16280 * FloatList.C: ditto
16281 * DepTable.C: ditto
16282 * ColorHandler.C (LyXColorHandler): ditto
16284 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16286 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16288 * text2.C (openStuff): reintroduce this method (which had been
16289 nuked in NEW_INSETS frenzy).
16291 * lyxfunc.C (Dispatch): when an action has not been handled, use
16292 its name in the error message, not its number.
16294 * paragraph.C (inInset): change method name to begin with lowercase.
16297 * text2.C: updates because of this.
16299 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16301 * ToolbarDefaults.C (add): add spaces in error message
16303 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
16305 * buffer.C (readLyXformat2): initialize the ert comp. variables.
16306 (readLyXformat2): rename return_par to first_par, use lyxlex's
16307 pushToken and remove the manual push handling.
16308 (parseSingleLyXformat2Token): add another ert comp. variable:
16309 in_tabular, rename return_par to first_par. handle newlines better
16311 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16313 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16315 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
16317 * text2.C (getParFromID): removed
16319 * buffer.C (getParFromID): new method moved form lyxtext.
16320 * BufferView2.C (insertErrors): adjust
16321 (setCursorFromRow): adjust
16322 * BufferView_pimpl.C (restorePosition): adjust
16323 * lyxfunc.C (Dispatch): adjust
16324 * undo_funcs.C (textUndo): adjust
16326 (textHandleUndo): adjust
16327 (textHandleUndo): adjust
16329 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
16331 * buffer.C: up' the LYX_FORMAT
16333 * lyxfont.h: turn NO_LATEX on as default
16335 * buffer.C (insertErtContents): new methods of tex style compability.
16336 (parseSingleLyXformat2Token): use it several places.
16337 * tabular.C (OldFormatRead): and here
16339 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
16341 * text2.C: remove some commented code.
16344 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16345 * trans.C: changes because of the above.
16347 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
16349 * text2.C (setCounter): Fix counters bug with bibliography layout.
16351 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16353 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16354 own member functions
16355 (simpleTeXSpecialChars): ditto
16357 2001-07-06 Juergen Vigna <jug@sad.it>
16359 * a lot of files: changed the access to LyXText::status and the
16360 call of undo-functions.
16362 * undo.[Ch]: added a inset_id to the undo informations.
16364 * undo_funcs.[Ch]: added and moved here all undo functions.
16366 * lyxtext.h: give the status enum a weight, made status_ a private
16367 variable and made accessor functions for it, removed the whole bunch
16368 of undo-functions as they are now in their own file, make some
16369 functions publically available. Added function ownerParagraph with
16372 * paragraph.[Ch]: added "bool same_ids" to the constructor,
16373 made InInset() a const function, added getParFromID() function.
16375 * buffer.[Ch]: added const version for inset_iterator functions,
16376 added getInsetFromID() function.
16378 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16379 changed undo functions for new version.
16381 2001-07-05 Juergen Vigna <jug@sad.it>
16383 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16384 unknow mechanism does not call the proper constructor but only this
16385 one also if I request the other!?
16387 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16389 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16391 * text2.C (LyXText): use initialization lists.
16393 * lyxtext.h (Selection): initialize set_ and mark_
16394 (init): remove method
16396 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
16398 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16400 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16402 * screen.[Ch]: change method names to begin with lowercase
16404 * BufferView_pimpl.C (updateScrollbar): simplify further and
16405 hopefully make it a bit faster.
16407 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16409 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16410 calling directly xforms functions.
16412 * Painter.C (Painter):
16413 * lyx_cb.C (MenuWrite):
16414 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16417 * lyx_gui.C: remove bogus guiruntime extern declaration.
16419 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16421 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16423 (redoDrawingOfParagraph): ditto
16424 (redoParagraphs): ditto
16425 (cutSelection): don't create a object for CutAndPaste use the
16426 static method directly
16427 (pasteSelection): ditto
16429 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16432 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16434 * modifications to some other files because of this.
16436 * Makefile.am (lyx_SOURCES): add XFormsView
16438 * XFormsView.[Ch]: new files
16440 * LyXView.[Ch]: make LyXView a base class for the gui handling for
16441 the main window. Move the gui dependent stuff to XFormsView
16443 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16445 * tabular.C (GetCellInset): update cur_cell also in the row/col
16446 version of this function.
16448 * lyxfunc.C: no need to include figure_form.h here.
16454 * lyxvc.C: no need to include forms.h here.
16456 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16458 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16460 * lyxfunc.C (Dispatch):
16462 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16463 constructor argument.
16465 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16467 * paragraph.C (Paragraph): dont't clear, and just set layout.
16468 (makeSameLayout): use params's copy contructor.
16470 * ParagraphParameters.[Ch] (makeSame): delete method
16472 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
16474 * Variables.[Ch]: fix indentation, rename set to isSet
16476 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16478 * lyxfunc.C (Dispatch): fix typo
16480 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16482 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16485 * bufferlist.C: include assert.h for emergencyWrite().
16487 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16489 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16490 give up at last (bug #425202) !
16492 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
16498 * spellchecker.C: strip spellchecker options and bring up
16499 preferences tab instead
16501 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16503 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16504 the istringstream constructor
16506 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16508 * paragraph.C (getLayout): fix return value
16510 * paragraph.h: do not declare getLayout as inline.
16512 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16514 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16516 * lyxcursor.h (operator<): new func
16517 (operator>): new func
16518 (operator>=): new func
16519 (operator<=): new func
16521 * text.C (changeCase): use selection.start and selection.end
16522 (changeRegionCase): require from to be <= to. Require par to be a
16525 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16527 2001-06-27 Juergen Vigna <jug@sad.it>
16529 * text.C (cursorLeftOneWord): changed to return the cursor and added
16530 overlay with BufferView * parameter which calls this one.
16532 (selectWord): use new getWord function.
16533 (changeCase): renamed from changeWordCase as and extended to work
16534 also on selections.
16536 * lyxtext.h: added enum word_location
16538 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16539 changeCase as this operates now also on selections.
16541 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
16543 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16545 * many files: send debug output to Debug::INFO instead of
16548 * converter.C (View):
16550 (Move): send debug output to Debug::FILES instead of console.
16552 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
16554 * lyxfunc.C (getStatus): use func_status
16556 * func_status.h: new header, describing the results of
16557 LyXFunc::getStatus;
16559 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16562 2001-06-25 The LyX Project <jug@sad.it>
16564 * buffer.C (sgmlOpenTag):
16566 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
16568 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16570 * text2.C: remove some dead code
16572 * tabular.C (GetCellInset): store the last cell checked (gotten)
16574 * tabular.h: add the helper for the speedup
16576 * lyxtext.h: remove some dead code
16578 2001-06-26 The LyX Project <Asger>
16580 * paragraph.C: Change export to LaTeX of alignment to
16581 \begin{center} and family for better roundtrip work with reLyX.
16583 * Tune the math drawing a bit.
16585 2001-06-25 The LyX Project <Asger>
16587 * LColor.C (LColor): New color for math background. New color
16590 2001-06-25 The LyX Project <jug@sad.it>
16592 * lyxfunc.C (MenuNew): remove extra check for .lyx file
16594 * lyxfunc.C (Open):
16595 * bufferlist.C (newFile): do not restrict to files ending with
16598 * BufferView_pimpl.C (MenuInsertLyXFile):
16600 2001-06-24 The LyX Project <jug@sad.it>
16602 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16605 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16607 * lyxtext.h: rename most methods to begin with a small char.
16608 Lots of changes because of this.
16610 * paragraph.C (Paragraph): do not call fitToSize
16611 (erase): call Pimpl::erase
16612 (insertChar): call Pimpl::insertChar
16613 (insertInset): call Pipl::insertInset
16614 (breakParagraph): do not call fitToSize
16615 (breakParagraphConservative): do not call fitToSize
16616 (fitToSize): remove method
16618 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16620 2001-06-24 The LyX Project <Asger>
16622 * Fix Qt compilation^2
16624 2001-06-24 The LyX Project <jug@sad.it>
16626 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16627 depthHook(getDepth()-1).
16630 * ParagraphParameters.h:
16631 * ParameterStruct.h: change type of depth to unsigned int ==
16632 depth_type. Many adaptations to other files before of that.
16634 2001-06-24 The LyX Project <Asger>
16636 * Fix Qt compilation.
16638 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16640 * paragraph.h: renamed several methods to begin with small letter.
16641 several changes to many parts of the code because of this.
16643 2001-06-23 The LyX Project <jug@sad.it>
16645 * text2.C (InsertStringAsLines): renamed from InsertStringA;
16646 rewritten to discard all double spaces when KeepEmpty is off
16647 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16648 to only handle newlines but not fiddle with spaces and friends.
16650 * lyxfunc.C (MenuNew): when doing 'new from template', use
16651 template_path as default directory
16653 2001-06-23 The LyX Project <Asger>
16655 * Clean-up of header file includes all over
16656 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16658 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16660 * paragraph.h: renamed from lyxparagraph.h
16662 2001-06-23 Asger <lyx@violet.home.sad.it>
16664 * Buffer.h: Removed Buffer::resize
16665 * BufferList.h: Removed BufferList::resize
16666 * LyXView.h: Added LyXView::resize. This way, we will only reflow
16667 the document lazily when we change the width, or the font settings.
16669 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16671 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16673 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16675 * buffer.h: remove out of date comment
16677 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16680 * screen.C: fix "theoretical" GC leak
16682 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16684 * LaTeX.C (scanAuxFile):
16685 (deplog): remove trailing \r when reading stream (useful under
16688 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
16690 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16691 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16692 and BufferView::theLockingInset(Inset*), so should use them and not
16693 access bv_->text->the_locking_inset directly.
16695 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16697 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16700 * tex-defs.h: remove old unused file
16702 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
16704 * BufferView_pimpl.C: fix typo, remove minibuffer message
16705 when buffer has loaded
16707 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
16709 * lyxfunc.C (Dispatch): use stringstream
16710 (MenuNew): use stringstream
16711 (Open): use stringstream
16713 * importer.C (Import): use stringstream
16715 * bufferview_funcs.C (CurrentState): use stringstream
16717 * LaTeX.C (run): use stringstream
16719 * BufferView_pimpl.C (savePosition): use stringstream
16720 (restorePosition): use stringstream
16721 (MenuInsertLyXFile): use stringstream
16723 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
16736 * vspace.C: removed // -*- C++ -*- as first line.
16739 * version.h: added // -*- C++ -*- as first line.
16741 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16743 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16745 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16748 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
16750 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16753 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16755 * gettext.C: include LString.h even when --disable-nls is on.
16757 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
16759 * converter.h (Get): changed argument type from int to
16760 FormatList::size_type to avoid unnecessary conversion.
16762 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16765 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16767 * gettext.h: include LString.h even when --disable-nls is on.
16769 2001-06-07 Juergen Vigna <jug@sad.it>
16771 * text.C (BreakAgain): subst spaces with tabs.
16773 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16774 (resizeInsetsLyXText): set force on resizeLyXText.
16776 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16778 * gettext.h (gettext_init):
16779 (locale_init): use a real definition instead of a macro
16781 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16783 * Bufferview_pimpl.C:
16785 * LColor.C: further lcolor tidies
16787 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
16789 * BufferView_pimpl.C (updateScrollbar): simplify.
16791 * BufferView2.C: don't include insets/insetinfo.h, change
16792 prototype for insertInset and call the Pimpl version. let
16793 updateInset call Pimpl version.
16795 * BufferView.h: move inset_slept to BufferView::Pimpl, move
16796 gotoInset to BufferView::Pimpl
16798 2001-06-01 Juergen Vigna <jug@sad.it>
16800 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16801 inside a LockingInset (is the update needed at all?).
16803 2001-05-31 Juergen Vigna <jug@sad.it>
16805 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16806 here not the old one otherwise how should we compare it afterwards
16809 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16814 * FontInfo.C: bring C functions into global namespace when
16817 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16819 * LString.h: make sure config.h has been loaded before LString.h.
16821 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16822 (one for each char read by EatLine!).
16824 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16827 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
16829 * paragraph.C (BreakParagraph): set the inset_owner in the new par
16830 to the same as the par we break from
16832 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
16834 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16836 * MenuBackend.C (expand): also create menu entries for wide
16837 versions of the floats.
16839 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16841 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16843 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16844 frontends/Makefile.am
16850 * tabular.C (getTokenValue): add std::
16852 * tabular-old.C (getTokenValue): add std::
16853 (getTokenValue): ditto
16854 (getTokenValue): ditto
16856 * screen.C (ToggleSelection): adjust
16858 * lyxtext.h: put selection cursors inside a Selection struct.
16860 * lyxfunc.C (moveCursorUpdate): adjust
16862 * lyxfont.C (latexWriteStartChanges): add std::
16864 * lyxfind.C: adjust
16866 * font.h: delete with(char const *, LyXFont const &)
16868 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16870 * FontInfo.C (getFontname): add std::
16872 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16873 (workAreaButtonPress): adjust
16874 (tripleClick): adjust
16876 (moveCursorUpdate): adjust
16879 * BufferView2.C (gotoInset): adjust
16881 2001-05-30 Juergen Vigna <jug@sad.it>
16883 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16884 to check pspell I add this as default as I now have new pspell
16885 libraries and they seem to use this.
16887 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
16889 * text2.C (CutSelection): make the cursor valid before the call to
16892 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16894 * kbsequence.C (parse): de-uglify a bit the parsing code, which
16895 relied on 0 terminated strings and other horrors. Bug found due to
16896 the new assert in lyxstring!
16898 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16901 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16903 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16906 * lyxfunc.C (processKeySym): change method of getting to the
16909 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16910 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16911 * BufferView_pimpl.[Ch]: here as private methods.
16913 2001-05-28 Juergen Vigna <jug@sad.it>
16915 * text.C (SetHeightOfRow): added the update() call again as it is
16916 needed to initialize inset dimensions!
16918 2001-05-16 Juergen Vigna <jug@sad.it>
16920 * text2.C (SetCharFont): Add new function with BufferView * and
16921 bool toggleall parameters for setting insets internal fonts.
16922 (SetFont): Freeze the undo as we may change fonts in Insets and
16923 all this change should be inside only one Undo!
16925 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16926 setting font's in insets as for them we have the SetFont function!
16928 2001-05-15 Juergen Vigna <jug@sad.it>
16930 * text2.C (ClearSelection): to be sure we REALLY don't have any
16933 * tabular.C (TeXCellPreamble): fixed the left border problem for
16936 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
16938 * LaTeX.C (deplog): Make sure that the main .tex file is in the
16941 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16943 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16944 LFUN_BREAKPARAGRAPH.
16946 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16947 help test to "internal only", similar for LFUN_INSERT_URL
16949 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16950 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16951 auto_region_delete and deadkeys.
16953 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
16956 * LColor.C: remove some dead entries, tidy a little
16958 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
16960 * lyxfunc.C (processKeySym): comment the Escape handling, remove
16962 (Dispatch): implement LFUN_ESCAPE
16964 * commandtags.h: add LFUN_ESCAPE
16966 * LyXAction.C (init): add entry for LFUN_ESCAPE
16968 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16969 Remove commented code.
16970 (insertNote): moved here
16971 (open_new_inset): moved here
16973 * BufferView[2].[Ch]: move insertNote and open_new_inset to
16976 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16978 * kbmap.C (findbinding): clean it up and make it work correctly.
16980 * lyx_main.C (init): do not pass argc and argv as parameters
16982 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
16984 * buffer.C: fix path for OS/2 & Win32
16988 * lyx_main.C: Added os:: class.
16990 * os2_defines.h: update
16992 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16994 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16995 better by trying again with reduced state.
16997 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16999 * lyxrc.C (read): print error about invalid key sequence only when
17000 debugging (because not all latinX keysyms are known to some X
17003 * kbsequence.C (getiso): add a few std:: qualifiers
17004 (getiso): comment out extra return statement.
17006 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
17008 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
17010 (Dispatch): enhance the accent inset a bit. (not perfect)
17012 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
17014 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
17016 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17018 * bufferlist.C (emergencyWrite): fix assert() call
17020 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
17022 * text.C (InsertChar): Added trivial patch to only send the "you
17023 can not do multiple spaces this way" message once during a
17026 2001-05-08 Baruch Even <baruch@lyx.org>
17028 * Makefile.am: Changed order of libraries to get LyX to link properly
17029 with the gnome frontend.
17031 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17033 * LaTeXFeatures.h: add a std:: qualifier
17035 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
17037 * paragraph.C (String): use stringstream
17039 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
17041 * paragraph.C (writeFile): remove footflag arg
17043 * buffer.C (makeLaTeXFile): use stringstream
17044 (latexParagraphs): remove footnot gurba
17046 * LaTeXFeatures.C (getPackages): use stringstream
17047 (getMacros): likewise
17048 (getTClassPreamble): likewise
17049 (getFloatDefinitions): new method
17051 * paragraph.C (writeFile): reindent
17054 * WorkArea.h: revert the xpos + etc changes.
17056 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
17058 * lyxparagraph.[Ch]: add copy constructor, remove Clone
17060 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
17061 (pasteSelection): likewise
17062 * text2.C (CreateUndo): likewise
17064 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
17066 * minibuffer.C (peek_event): temporarily reduce the functionality
17067 of the minibuffer (to allow args on lfuns)
17069 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
17070 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
17072 * buffer.C (readInset): add compability reading of old float
17073 lists, add reading of new style float list.
17074 (readInset): avoid reevaluation of inscmd.getCmdName()
17075 (getLists): reindent
17077 * MenuBackend.C (MenuItem): implement parsing of
17078 md_floatlistinsert and md_floatinsert.
17079 (expand::LastFiles): move initalizaton of iterators out of loop,
17080 avoid reevaluation.
17081 (expand::Documents): introduce typdedef vector<string> Strings,
17083 (expand::ExportFormats): introduce typedef vector<Format const *>
17084 Formats, and use it.
17085 (expand): implement FloatListInsert and FloatInsert.
17087 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
17088 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
17089 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
17091 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
17093 (Dispatch::LFUN_FLOAT_LIST): implement
17095 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
17097 * LaTeX.C (run): Fix problem with --export code.
17099 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
17101 * BufferView.[Ch] (workarea): removed.
17102 (getClipboard) new method; wrapper for workarea()->getClipboard()
17104 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
17107 * WorkArea.h (width, height, xpos, ypos): These methods all
17108 returned the dimensions of the work_area sub-area of WorkArea,
17109 resulting in a position error if the WorkArea were resized. Now
17110 return the dimensions of the entire WorkArea.
17112 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
17114 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17116 * LaTeX.C (deplog): correct the syntax of regex reg1
17118 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
17120 * undo.C: remove !NEW_INSETS cruft
17122 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
17124 * text2.C: remove !NEW_INSETS cruft
17126 * text.C: remove !NEW_INSETS cruft
17128 * tabular.C: remove !NEW_INSETS cruft
17130 * spellchecker.C: remove !NEW_INSETS cruft
17132 * lyxtext.h: remove !NEW_INSETS cruft
17134 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
17136 * lyxfunc.C: remove !NEW_INSETS cruft
17138 * lyxfind.C: remove !NEW_INSETS cruft
17140 * lyx_cb.C: remove !NEW_INSETS cruft
17142 * figureForm.C: remove !NEW_INSETS cruft
17144 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
17146 * buffer.[Ch]: remove !NEW_INSETS cruft
17148 * ToolbarDefaults.C: remove !NEW_INSETS cruft
17150 * CutAndPaste.C: remove !NEW_INSETS cruft
17152 * BufferView_pimpl.C: remove !NEW_INSETS cruft
17154 * BufferView2.C: remove !NEW_INSETS cruft
17156 * BufferView.h: remove !NEW_INSETS cruft
17158 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17160 * Lsstream.h: include LString.h before the sstream headers to
17161 fix problem with gcc 2.95.3 and lyxstring
17163 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17165 * lyx_main.C: add using directives when needed for C functions
17166 declared in std:: namespace.
17168 2001-04-27 Juergen Vigna <jug@sad.it>
17170 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
17171 (SetHeightOfRow): comment out the update call should not be needed!
17173 2001-04-13 Juergen Vigna <jug@sad.it>
17175 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
17176 (LyXTabular): tried to minimize operator= operations (and realized
17177 hopfully Lars wish).
17179 2001-04-27 Juergen Vigna <jug@sad.it>
17181 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
17183 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
17185 * lyxfunc.C (Dispatch): hack to make listof algorithm work
17187 * buffer.C (readInset): hack to make listof algorithm work
17189 * BufferView_pimpl.C: hack to make listof algorithm work
17191 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
17193 * LyXAction.C: removed all !NEW_INSETS cruft
17194 (init): moved lfun_item in method
17196 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
17198 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
17200 * BufferView2.C (theLockingInset): white space.
17202 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
17204 * minibuffer.C: include <iostream>
17206 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
17208 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
17210 * commandtags.h: add LFUN_TRANSPOSE_CHARS
17212 * text.[Ch] (TransposeChars): new method
17214 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
17216 * call message directly through LyXView instead of through LyXFunc
17217 * BufferView2.C: adjust
17218 * BufferView_pimpl.C: adjust
17219 * FontLoader.C: adjust
17221 * bufferview_funcs.C: adjust
17222 * converter.C: adjust
17223 * figureForm.C: adjust
17224 * importer.C: adjust
17226 * lyx_gui_misc.C: adjust
17227 * lyxfunc.C: adjust
17230 + more files in subdirs
17232 * lyxparagraph.h (size): move up int file
17235 * adjust all uses of Assert to lyx::Assert.
17237 * BufferView2.C (ChangeCitationsIfUnique): adjust for
17238 lyxfunctional in namespace lyx
17239 * layout.C (hasLayout): ditto
17242 (delete_layout): ditto
17243 (NumberOfClass): ditto
17244 * converter.C (GetFormat): ditto
17249 * bufferlist.C (getFileNames): ditto
17250 (emergencyWriteAll): ditto
17253 * MenuBackend.C (hasSubmenu): ditto
17256 * BufferView_pimpl.C (getInsetByCode): ditto
17258 2001-04-18 Juergen Vigna <jug@sad.it>
17260 * vspace.C (asLatexString): fixed the 100% problem.
17262 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17264 * lyxfunc.C (Dispatch):
17266 * minibuffer.h: add a few std:: qualifiers
17268 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
17270 * minibuffer.[Ch]: reimplement so that commands is initiated and
17271 run from lyxfunc, simplified som handling, and made the completion
17272 and history code for complete. wip.
17274 * lyxfunc.C (processKeySym): call message
17275 (miniDispatch): new temporary method
17276 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
17277 (LFUN_MESSAGE): implement
17278 (LFUN_MESSAGE_PUSH): implement
17279 (LFUN_MESSAGE_POP): implement
17280 (initMiniBuffer): the initial/defualt minibuffer message.
17282 * lyxfont.[Ch]: inline some more getters
17284 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17286 * lyx_gui_misc.[Ch] (WriteStatus): remove method
17288 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17289 (AutoSave): use LFUN_MESSAGE
17290 (Reconfigure): ditto
17292 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17294 * figureForm.C: use LFUN_MESSAGE
17296 * converter.C (runLaTeX): use LFUN_MESSAGE
17298 * bufferview_funcs.C: use LFUN_MESSAGE
17300 (changeDepth): ditto
17302 * bufferparams.h: use boost::
17304 * bufferlist.h: inherit privately from noncopyable
17306 * bufferlist.C (loadLyXFile): remove some commented code.
17308 * buffer.C (runChktex): use LFUN_MESSAGE
17310 * ShareContainer.h: inherit privately from noncopyable
17312 * ParagraphParameters.[hC] (depth): inline it.
17314 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17316 (message): new method
17317 (messagePush): ditto
17318 (messagePop): ditto
17319 (show): init minibuffer
17320 (showState): direct call
17322 * LaTeX.[Ch]: inherit privately from noncopyable
17323 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17324 instead of WriteStatus.
17326 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17328 * BufferView_pimpl.C (buffer): don't init minibuffer
17329 (workAreaButtonPress): use LFUN_MESSAGE
17330 (workAreaButtonRelease): ditto
17331 (savePosition): ditto
17332 (restorePosition): ditto
17333 (MenuInsertLyXFile): ditto
17334 (workAreaExpose): don't init minibuffer
17335 (update): remove commented code, simplify
17337 * BufferView2.C (openStuff): use LFUN_MESSAGE
17338 (toggleFloat): ditto
17341 (copyEnvironment): ditto
17342 (pasteEnvironment): ditto
17347 (updateInset): remove some commented code
17349 * lastfiles.h: inherit privately from noncopyable
17352 * lyx_main.h: ditto
17354 * lyxlex_pimpl.h: ditto
17356 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17357 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17358 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17360 * LyXAction.h: inherit privately from noncopyable, add methods
17361 func_begin, func_end, returning iterators to the func map.
17363 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17364 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17365 (func_begin): new method
17366 (func_end): new method
17368 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17370 (copySelection): ditto
17371 (pasteSelection): ditto
17373 * BufferView.C: whitespace change
17374 * BufferView.h: inherit privately from noncopyable
17376 2001-04-16 Allan Rae <rae@lyx.org>
17378 * tabular-old.C (l_getline):
17379 * spellchecker.C (sc_check_word):
17380 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17381 an unrecognised preprocessor directive. So ensure they're wrapped.
17383 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
17385 * src/exporter.C (Export): Give an error message when path to file
17388 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
17390 * LaTeX.C (deplog): Always check that foundfile exists.
17392 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17395 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17397 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
17399 * tabular.[Ch] (getLabelList): implement new method
17401 * minibuffer.h: comment ouf setTiimer
17403 * minibuffer.C (ExecutingCB): constify res
17404 (peek_event): constify s
17405 (Set): constify ntext
17406 (Init): constify nicename
17408 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17410 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17411 (savePosition): use two params to Minibuffer::Set
17412 (restorePosition): ditto
17414 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17416 * lyx_main.C: include language.h
17418 * Makefile.am (lyx_main.o): add language.h
17420 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17426 * CutAndPaste.C: include gettext.h
17428 * lyxfont.h: remove old hack with ON and OFF.
17431 * lyxfont.h: do not include language.h...
17436 * bufferview_funcs.C:
17442 * paragraph.C: ... but do it here instead
17444 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
17446 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17448 * tabular.C: small reformat
17450 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17453 (BreakParagraph): ditto
17454 (SetOnlyLayout): ditto
17457 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17460 * lastfiles.C: removed most using decl, add std:: where needed
17462 * buffer.C: ws changes
17464 * MenuBackend.C (class compare_format): put into anon namespace
17465 (expand): constify label, names, action, action2
17468 * text.C (SingleWidth): constify font
17469 (IsBoundary): constify rtl2
17470 (GetVisibleRow): constify ww
17472 * LaTeX.C (deplog): constify logfile
17474 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17476 (workAreaExpose): constify widthChange, heightChange
17478 * lyxrow.C (par): moved
17481 * lyxrow.h: as inlines here
17483 * lyxfont.h (shape): moved from lyxfont.C
17484 (emph): moved from lyxfont.C
17486 * lyxfont.C (LyXFont): use initialization list for all
17488 (shape): move to lyxfont.h as inline
17489 (emph): move to lyxfont.h as inline
17492 2001-04-04 Juergen Vigna <jug@sad.it>
17494 * vspace.C: had to include stdio.h for use of sscanf
17496 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
17499 * BufferView_pimpl.h: remove xforms cruft. Both classes are
17500 independent of xforms.
17502 2001-04-02 Juergen Vigna <jug@sad.it>
17504 * spellchecker.C: fixed namespace placing!
17506 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
17508 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17509 the LyXParagraph * is 0.
17511 2001-03-29 Juergen Vigna <jug@sad.it>
17513 * vspace.C: added support for %, c%, p%, l%.
17514 (stringFromUnit): added helper function.
17515 (asLatexString): changed to give right results for the %-values.
17517 * buffer.C: convert the widthp in a width%.
17519 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
17521 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17524 * figureForm.[Ch]: stripped the FD_from_figure manipulation
17525 code out of lux_cb.[Ch], ready for its (imminent?) removal.
17527 * lyx_cb.[Ch]: see above.
17529 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17533 * lyx.[Ch]: replaced by figure_form.[Ch].
17537 * lyxfunc.C: changed headers associated with above changes.
17539 2001-03-27 Juergen Vigna <jug@sad.it>
17541 * BufferView_pimpl.C: set the temporary cursor right!
17543 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
17545 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17547 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
17549 * LString.h: removed "using std::getline"!
17551 * BufferView_pimpl.C (Dispatch): changes due to changes in
17552 InsetInclude::Params.
17554 * buffer.C (tag_name): removed redundant break statements as they were
17555 producing lots of warnings with my compiler.
17557 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17559 * LString.h: add "using std::getline" when using the real <string>.
17561 2001-03-23 Jos�Ab�io Matos <jamatos@fep.up.pt>
17563 * buffer.C: removed bitset usage.
17564 PAR_TAG moved to an anonymous name space.
17565 (tag_name): new funtion, also in the anonymous namespace.
17566 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17567 (makeDocBookFile): clean code. Completed transition from string arrays
17569 (SimpleDocBookOnePar): code clean.
17571 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17573 * tabular.C: add some comments.
17575 2001-03-22 Juergen Vigna <jug@sad.it>
17577 * buffer.C (parseSingleLyXformat2Token): redone the minipage
17578 compatibility read a bit and fixed bug with minipage in different
17581 2001-03-21 Jos�Ab�io Matos <jamatos@fep.up.pt>
17583 * buffer.C (pop_tag): removed.
17584 (push_tag): removed.
17585 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17586 array replaced with vector. Added support for CDATA sections.
17587 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17589 (makeDocBookFile): XML conformant declaration of CDATA section,
17590 fixed bug related to <emphasis> in the first paragraph char.
17591 (sgmlOpenTag): exclude empty tags.
17592 (sgmlCloseTag): ditto.
17594 * buffer.h (pop_tag): removed.
17595 (push_tag): removed.
17597 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
17599 * language.h (Languages): added size_type and size().
17601 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17603 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17604 response on compability reading of minipages. One probliem is that
17605 the old usage of minipages was flertydig
17607 * several files here and in subdirs: don't use static at file
17608 scope use anon namespaces instead.
17610 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
17612 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17613 LaTeX output. This is necessary for Literate document
17616 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17618 * buffer.C: insert hfill when needed.
17620 * tabular.C (l_getline): use string::erase, small whitespace change.
17622 * BufferView_pimpl.C: try the anon namespace.
17623 * WorkArea.C: ditto
17625 2001-03-16 Juergen Vigna <jug@sad.it>
17627 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17628 otherwise it won't open options-dialogs.
17630 * buffer.C: honor pextraWidth(p) on converting minipages.
17632 * tabular.C (l_getline): changed the functions to strip trailing \r.
17634 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
17636 * BufferView_pimpl.C:
17637 * minibuffer..C: added "using SigC::slot" declaration.
17639 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17641 * lyxlex_pimpl.h: noncopyable is in namespace boost.
17647 * paragraph.C: ditto
17649 * lyxtext.h: NO_PEXTRA
17651 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17653 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17654 * ParameterStruct.h: ditto
17655 * ParagraphParameters.h: ditto
17656 * lyxparagraph.h: ditto
17658 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17660 * buffer.C: add compability for minipage alignment.
17661 (latexParagraphs): remove unwanted pextra check.
17663 * several files: remove CXX_WORKING_NAMESPACES
17665 * buffer.C (pop_tag): tie is in namespace boost
17667 * BufferView.h: noncopyable is in namespace boost
17669 * lyx_main.h: ditto
17672 * lastfiles.h: ditto
17673 * bufferlist.h: ditto
17674 * ShareContainer.h: ditto
17676 * LyXAction.h: ditto
17679 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17681 * Merging changes from BRANCH_MVC back into HEAD.
17683 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17685 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
17687 * BufferView_pimpl.C: change from intl.C
17691 * Makefile.am: move combox.*
17697 * intl.C: remove dialog (covered by prefs)
17699 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17701 * lyxfunc.C (Dispatch): removed redundant break statement.
17703 2001-03-14 Juergen Vigna <jug@sad.it>
17705 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17707 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17709 * buffer.C: add hack to fix compability reading of minipages.
17711 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
17713 * buffer.C (getLists): Cleanup.
17715 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17717 * lyxfont.C (update): don't honor toggleall on font size.
17719 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
17723 * Makefile.am: moved to frontends/xforms/
17727 * BufferView_pimpl.C: changes for moved mathpanel
17729 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17731 * gettext.h: fix gettext_init() in --disable-nls
17733 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17735 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17737 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
17740 * lyx.h: strip external form
17742 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17744 * BufferView_pimpl.C: add comment, destroySplash()
17746 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17748 * BufferView_pimpl.C:
17752 * lyxfunc.C: use re-worked insetinclude
17754 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17756 * buffer.C: add using std::stringstream.
17758 * lyx_cb.C: readd using std::ios.
17760 * buffer.C: add using std::map.
17762 * BufferView_pimpl.C: add using std::vector.
17764 * ShareContainer.h: add std:: to swap.
17766 * buffer.h: add some typedefs
17767 * buffer.C (getLists): use them
17768 (getLists): renamed from getTocList.
17769 add a counter for the different float types and use it in the
17771 (getLists): use the same counter for the NEW_INSETS and the "non"
17774 * lyx_cb.h: remove unused items, includes, using etc.
17776 * ShareContainer.h: remove some commented code, add more comments
17777 and "documentation".
17779 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17781 * buffer.C (getTocList): make the list also when NEW_INSETS is
17784 * buffer.h: remove TocType
17786 * buffer.C (getTocList): change to return a map<string,
17787 vector<TocItem> >, implement for dynamic number of list.
17789 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17790 * text2.C (PasteSelection): adjust
17791 * CutAndPaste.C (pasteSelection): adjust
17793 * FloatList.C (FloatList): update from the new_insets branch.
17794 * Floating.[Ch]: ditto
17795 * LaTeXFeatures.C: ditto
17797 * lyxlex_pimpl.C: ditto
17799 * paragraph.C (Last): remove when NEW_INSETS is defined.
17801 * other file: changes because of the above.
17803 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17805 * lyxparagraph.h: rename next to next_, previous to previous_,
17806 make them private for NEW_INSETS. Rename Next() to next(),
17807 Previous() to previous().
17809 * other files: changes because of the above.
17811 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
17814 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17817 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17819 * main.C (main): pass lyx_localedir to gettext_init().
17821 * gettext.h: remove locale_init and gettext_init macros
17823 * gettext.C (locale_init): new function
17824 (gettext_init): new function
17826 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17829 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
17831 * Moved credits to frontends:
17832 * credits.[Ch]: removed
17833 * credits_form.[Ch]: removed
17834 * lyx_gui_misc.C: remove credits stuff
17837 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17839 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17841 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17842 unneeded destructor.
17844 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17845 a standalone pointer again.
17847 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17849 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
17855 * ToolbarDefaults.C:
17864 * BufferView_pimpl.C: use new file dialog in GUII
17867 * lyx_cb.C: remove LayoutsCB to Toolbar
17869 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17871 * ShareContainer.h (get): add std:: qualifier
17873 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17875 * ShareContainer.h: define a proper ShareContainer::value_type
17876 type (and use typename to please compaq cxx)
17878 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17880 * lyxparagraph.h: move serveral local vars to
17881 ParameterStruct/ParagraphParameters., use ShareContainer in
17882 FontTable., make vars in FontTable private and add getter and
17885 * paragraph.C: changes because of the above.
17887 * lyxfont.h: remove copy constructor and copy assignment. (the
17888 default ones is ok), move number inside FontBits. move inlines to
17891 * lyxfont.C: add number to initializaton of statics, move several
17892 inlines here. constify several local vars. some whitespace
17893 cleanup. Dont hide outerscope variables.
17895 * Spacing.h: add two new constructors to match the set methods.
17897 * ShareContainer.h: new file, will perhaps be moved to support
17899 * ParameterStruct.h: new file
17901 * ParagraphParameters.h: new file
17903 * ParagraphParameters.C: new file
17905 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17906 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17908 * BufferView_pimpl.C: ParagraphParameter changes.
17909 * buffer.C: Likewise.
17910 * bufferview_funcs.C: Likewise.
17911 * text.C: Likewise.
17912 * text2.C: Likewise.
17914 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17916 * lyxfind.C (LyXReplace): do not redefine default argument in
17918 (IsStringInText): ditto
17919 (SearchForward): ditto
17920 (SearchBackward): ditto
17922 2001-03-06 Juergen Vigna <jug@sad.it>
17924 * lyxfind.C (IsStringInText): put parentes around expressions.
17926 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
17928 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17930 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
17932 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17934 * stl_string_fwd.h: add comment
17936 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17939 * tabular.C: remove unused DocBook methods
17945 killed DO_USE_DEFAULT_LANGUAGE
17947 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17949 * lyx_gui.C: do not include language.h.
17951 * bufferview_funcs.C (ToggleAndShow): do not provide optional
17952 arguments in function implementation.
17954 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17956 * BufferView_pimpl.C: add <ctime>
17958 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17960 * BufferView_pimpl.C: add using std::find_if
17962 2001-02-27 José Matos <jamatos@fep.up.pt>
17964 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17967 2001-02-11 José Matos <jamatos@fep.up.pt>
17969 * buffer.C (makeDocBookFile): command styles now have a parameter as
17970 "title" by default.
17972 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
17974 * layout_forms.[Ch]: removed
17975 * lyx_cb.[Ch]: out character
17976 * lyx_gui.C: out character
17977 * lyx_gui_misc.C: out character
17978 * bufferview_funcs.C: : out character,
17979 added toggleall as parameter in ToggleAndShow
17981 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
17983 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17985 * text2.C (SetCurrentFont): Disable number property at boundary.
17987 2001-02-26 Juergen Vigna <jug@sad.it>
17989 * lyxfunc.C (getStatus): added a string argument override function so
17990 that this is correctly called from LyXFunc::Dispatch if it contains a
17991 do_not_use_argument which is used!
17992 (Dispatch): added check for "custom" export and call appropriate func.
17994 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
17996 * lyxrc.C: Add language_command_local, language_use_babel and
17997 language_global_options.
17999 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
18001 * buffer.C (makeLaTeXFile): Use language_use_babel and
18002 language_global_options.
18004 2001-02-23 Juergen Vigna <jug@sad.it>
18006 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
18007 which works with LyXText and putted it inside BufferView. Here now we
18008 only call for that part the BufferView::Dispatch() function.
18010 * BufferView.C (Dispatch): added.
18012 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
18013 functions which needs to use a LyXText over from LyXFunc.
18014 (MenuInsertLyXFile): added
18015 (getInsetByCode): added
18016 (moveCursorUpdate): added
18017 (static TEXT): added
18019 2001-02-22 Juergen Vigna <jug@sad.it>
18021 * BufferView_pimpl.C (update): call a status update to see if LyXText
18024 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18026 * vc-backend.C (revert): implement for CVS
18027 (getLog): implement for CVS
18029 2001-02-20 Juergen Vigna <jug@sad.it>
18031 * text2.C (ClearSelection): added BufferView param for inset_owner call
18033 * lyxfunc.C (TEXT): added this function and use it instead of
18034 directly owner->view()-text of getLyXText().
18036 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
18038 * src/layout_forms.C: out preamble
18039 * src/layout_forms.h: out preamble
18040 * src/lyx_cb.C: out preamble
18041 * src/lyx_cb.h: out preamble
18042 * src/lyx_gui.C: out preamble
18043 * src/lyx_gui_misc.C: out preamble
18044 * src/lyxfunc.C: connect with guii preamble
18046 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
18048 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
18050 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
18052 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
18053 whether to run bibtex.
18055 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
18057 * Makefile.am (lyx_SOURCES): Remove BackStack.h
18059 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
18061 * Makefile.am (lyx_SOURCES): removed bibforms.h
18063 * vspace.h: doxygen
18065 * text.C (GetVisibleRow): make several local vars const
18067 * tabular.C: small cleanup.
18069 * lyxserver.C (callback): use compare instead of strncmp
18071 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
18072 inlines to after class or to paragraph.C
18074 * lyxfont.h: remove friend operator!=
18076 * converter.h: move friend bool operator< to non friend and after
18079 * combox.h: small cleanup
18081 * buffer.h: doxygen, remove unused constructor, move inclas inlies
18082 to inlines after class def.
18084 * buffer.C (pop_tag): use string operations instead of strcmp
18086 * bmtable.c: doxygen, small cleanup
18088 * LaTeX.h: remove friend operator==
18090 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
18102 * BufferView_pimpl.C:
18103 * BufferView.[Ch]: remove cruft
18105 2001-02-14 Juergen Vigna <jug@sad.it>
18107 * lyxfunc.C: removed #if 0 unused code
18109 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
18111 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
18113 * text2.C (SetSelection): added a BufferView * parameter
18115 2001-02-13 Juergen Vigna <jug@sad.it>
18117 * lyxfunc.C (Dispatch): fixed protected blank problem.
18118 * BufferView2.C (protectedBlank): added LyxText * parameter.
18120 * tabular.C (AppendRow): forgot to set row_info of newly added row.
18121 (AppendColumn): same as above for column_info.
18123 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
18124 (moveCursorUpdate): use a LyXText param for support of InsetText.
18126 * BufferView_pimpl.C (doubleClick): added support for InsetText.
18127 (tripleClick): ditto
18129 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
18131 * BufferView_pimpl.C (update): added LyXText param to honor insets.
18133 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
18135 * text2.C (SetSelection): set correct update status if inset_owner
18136 (ToggleFree): ditto
18138 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
18140 * tabular.C: remove some commented code.
18142 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
18144 * BufferView_pimpl.C: call hideSplash()
18146 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
18149 * bibforms.h: remove
18152 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
18153 add LFUN_CHILD_CREATE
18155 * counters.h: fix tiny typo
18160 * lyx.C: move splash to frontends/xforms/
18162 * lyx_gui_misc.C: move Include and Bibform to frontends
18164 * lyxvc.h: clarify comment
18166 * vspace.C: tiny housekeeping
18168 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
18170 * text.C (PrepareToPrint): RTL Fix.
18172 * paragraph.C (GetUChar): New method.
18173 (String): Use GetUChar.
18175 * buffer.C (asciiParagraph): Use GetUChar.
18177 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
18179 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
18181 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
18184 * buffer.C: rename to getLogName(), handle
18185 build log / latex log nicely
18187 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18190 * MenuBackend.h: remove support for reference menuitem type.
18192 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
18194 * BufferView_pimpl.C: housekeeping
18195 * BufferView_pimpl.h:
18200 * minibuffer.h: move Timeout GUI-I
18202 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
18204 * lyxrc.C (read): Update converters data-structures.
18206 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
18208 * LaTeX.h (operator!=): add operator != for Aux_Info
18210 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
18212 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
18214 * LaTeXLog.C: deleted, useful code moved to Buffer
18217 * buffer.C: new function getLatexLogName()
18223 * lyxfunc.C: use frontends for LaTeX and VC logs
18225 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18227 * LaTeX.h: yet another std:: that Allan forgot.
18229 * Variables.C (set): renamed from isset(), because this clashes
18230 with some HP-UX macros (grr).
18232 2001-02-06 Allan Rae <rae@lyx.org>
18234 * LaTeX.h: Another bug fix. Missing std:: this time.
18236 2001-02-04 Allan Rae <rae@lyx.org>
18238 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
18239 floats problem. I've left it commented out because it's not quite
18240 correct. It should also test that the current object is a table or
18241 figure inset. But I haven't gotten around to figuring out how to do
18242 that. I *think* it'll be something like: "table" == inset.type()
18244 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
18247 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
18249 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
18250 all the citation/databases/styles in the auxilary file.
18251 (run): Rerun latex if there was a babel language error.
18253 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
18255 * text.C (Backspace): Preserve the font when changing newline char
18257 (BreakParagraph): If the cursor is before a space, delete the space.
18259 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
18261 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
18263 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
18264 new argument (code).
18265 (ChangeCitationsIfUnique): New method.
18267 * paragraph.C (GetPositionOfInset): Handle bibkey.
18269 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18271 * BufferView_pimpl.h: change type of Position::par_pos to
18272 LyXParagraph::size_type.
18274 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
18276 * BufferView_pimpl.C (savePosition, restorePosition): Write
18277 messages to minibuffer.
18279 2001-01-28 José Matos <jamatos@fep.up.pt>
18281 * buffer.C (makeDocBookFile): adds support for document language.
18282 A silly restriction on the name of LatexCommand types where removed.
18283 Added support for CDATA sections, allows to chars unescaped, used
18284 among others in code, to avoid escape < and >.
18286 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
18288 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18289 saved positions instrad of a stack. Furthermore, a position is
18290 stored using paragraph id/paragraph position.
18292 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18293 Remove LFUN_REF_BACK.
18295 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
18297 * converter.C (dvipdfm_options): New method.
18299 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
18301 * vspace.C (isValidLength): Fix for empty input string.
18303 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18305 * LyXAction.C (init): change description of LFUN_FIGURE to
18308 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18310 * LaTeX.C: add using directive
18312 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
18314 * MenuBackend.C (expand): Fix the sorting of the formats.
18316 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
18318 * lyx_main.C: tiny error message fix
18320 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18322 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18323 calling fl_initialize(). This fixes the problem with ',' as
18324 decimal separator in text files.
18326 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
18328 * trans.C (process): Fix the keymap bug.
18330 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
18332 * LaTeX.C (scanAuxFiles): New method. Provides support for
18333 multiple bibliographies (when using the bibtopic/bibunits pacakges).
18334 (scanLogFile) Scan for "run BibTeX" messages.
18336 * buffer.C (makeLaTeXFile): Do not load the ae package when using
18337 OT1 font encoding. Also, load the aecompl package if the ae
18340 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18342 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18344 * texrow.C (increasePos): turn two error messages into debug
18347 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
18349 * LaTeX.C (scanAux): Handle the \@input macro.
18350 (runBibTeX): Use scanAux().
18352 * language.C (latex_options_): New field.
18354 * LaTeXFeatures.C (getMacros): Add language macros.
18356 * buffer.C (makeLaTeXFile): Small fix.
18358 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18360 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18362 * text2.C: add a using directive.
18364 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
18369 * lyxfunc.C: kill LyXBell.
18371 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
18373 * text.C (IsBoundary): Remove the error message
18375 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18377 * lyxrc.C (setDefaults): Correct initialization value for
18380 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
18382 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18385 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18386 and GotoNextNote().
18388 * src/LyXAction.C: Added reference-next.
18390 * text.C (InsertChar): Use contains instead of strchr.
18392 * lyx_cb.C (MenuInsertLabel): Enable default value code.
18394 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
18396 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18397 alignment commands (when needed).
18399 * text.C (InsertChar): Add ':' to number separator chars.