1 2005-10-20 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3 * lyxtextclass.C (Read): convert layout file if the format is wrong
4 * lyxtextclass.C (layout2layout): new, needed for the above
6 2005-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8 * messages.C: do not forget to include <cerrno>.
10 2005-10-12 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
12 * dociterator.h (StableDocIterator): add access to pos().
13 * undo.C (samePar): new method to check if two
14 iterators are in the same paragraph
15 * undo.C (recordUndo): check for samePar instead of cell identity
16 (which includes pos() and is too strict) (fixes bug 2097)
18 2005-10-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
20 * text.C (setCursorFromCoordinates): return a bool telling whether
23 * text3.C (cursorPrevious): update if needed after
24 setCursorFromCoordinates (when dEPM triggered).
26 * text2.C (cursorDown, cursorUp): make sure to reset the anchor
27 (otherwise the anchor may be completely wrong and make dEPM assert).
29 2005-10-12 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
31 * buffer.C: version upgrade to 245.
32 * bufferparams.C: remove \quotes_times (bug 2090).
33 * text3.C (doDispatch): LFUN_QUOTE_INSERT has to output double
34 quotation marks as default.
36 2005-10-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
38 * CutAndPaste.C (nrOfParagraphs): remove (unused)
39 * CutAndPaste.C (cutSelection): Remove debug message
40 * CutAndPaste.C (cutSelection): Use the real cursor in mathed, record
41 undo information and only copy if this is a real cut
42 * CutAndPaste.C (pasteSelection): remove superflous cur.resetAnchor()
44 * CutAndPaste.C (pasteSelection): remove now superflous mathed warning
46 * CutAndPaste.C (eraseSelection): prevent cursor corruption
47 * CutAndPaste.C (grabAndEraseSelection, selDel): remove now
48 superflous cur.selection() setting
49 * CutAndPaste.[Ch] (grabSelection): take a const cursor
50 * cursor.C (selectionAsString): implement mathed case ((bug 2059)
52 2005-10-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
54 * text3.C (mathDispatch, dispatch): Dont' record undo steps that don't
57 2005-10-11 Martin Vermeer <martin.vermeer@hut.fi>
59 * BufferView_pimpl.C: comment layout change
61 2005-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
65 * lyxfunc.C: reimplement LFUN_INSERT_CITATION, which is needed
66 by bibliography managers (bug 2071).
68 2005-10-07 Martin Vermeer <martin.vermeer@hut.fi>
70 * BufferView_pimpl.C (update): choose arguments to update call so
71 that single-par update works most times
72 * text3.C (dispatch): carefully tune updating separately for
73 whole-screen and current-paragraph
74 * rowpainter.C (paintText): 1) replace painting by caching for
75 the two extra paragraphs, because we can;
76 2) suppress greying out of areas below/above drawn area in case of
78 * lyxfunc.C (dispatch): remove superfluous update
79 * LyXAction.[Ch]: introduce SingleParUpdate
81 2005-10-05 Angus Leeming <leeming@lyx.org>
83 * BufferView_pimpl.C (loadLyXFile): ensure that a pointer is
84 always initialised before use.
86 * text.C (setHeightOfRow): squash warning about comparison
87 of signed and unsigned types.
89 2005-10-03 Martin Vermeer <martin.vermeer@hut.fi>
91 * text.C (cursorX): two fixes involving RtL text drawing
93 2005-10-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
95 * cursor.C (erase): fix 'clever' UI hack. It was activated for all
96 items, not only large ones (part of bug 2057)
98 2005-10-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
100 * text3.C (dispatch): when invoking LFUN_MATH_MACRO with no type
101 argument, use "newcommand".
103 2005-09-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
105 * cursor.C (setSelection): do not open collapsable insets;
106 the insets do by themselves now (autoopen).
108 2005-09-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
110 * buffer.C: format is up to 244.
112 2005-09-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
114 * text.C (redoParagraph): fix calcultation of inset width wrt
115 leftMargin (bug 1957).
117 * text3.C (dispatch): leave inset to the right when hitting ESC
120 2005-09-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
125 * messages.C: include <boost/current_function.hpp>
127 2005-09-12 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
129 * lyxfunc.C (sendDispatchMessage): do not update menubar/toolbar
130 when command is internal. (bug 1941)
132 2005-09-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
134 * text2.C (cursorRight): do not honor boundary when at the end of
135 a paragraph. (bug 2010 again)
137 2005-09-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
139 * cursor.C (paste): do nothing if `data' is empty. (bug 2033)
141 2005-09-19 Martin Vermeer <martin.vermeer@hut.fi>
143 * rowpainter.C (paintText): fix RtL space width display bug (2029)
145 2005-09-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
147 * text2.C (setCursor): remove the unused 'boundary' parameter for
148 the CursorSlice version; adapt the LCursor version.
151 * paragraph_pimpl.C (markErased):
152 * cursor.C (bruteFind2, bruteFond3): fix warnings.
154 2005-09-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
156 * rowpainter.C (paintFirst): use a 'labeladdon' for TOP_* labels,
157 as is already done for "chapter".
159 2005-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
161 * lyxfunc.C (dispatch): LFUN_TEXTCLASS_APPLY: actually set the
162 textclass; do not record undo if nothing is changed.
164 2005-09-16 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
166 * text3.C (dispatch): recordUndo in LFUN_PASTESELECTION (#2011).
168 2005-09-14 Michael Gerz <michael.gerz@teststep.org>
170 * lyxfunc.C: update display after LFUN_ALL_INSETS_TOGGLE
172 2005-09-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
174 * BufferView_pimpl.C (setBuffer): when one wants to set the layout
175 combox, it is necessary to search for the topmost paragraph in the
176 cursor stack (bug 1926)
178 2005-09-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
180 * text2.C (cursorEnd, cursorRight): do not set boundary to true at
181 end of paragraph. (bug 2010)
183 2005-09-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
185 * text.C (leftMargin): check for inInset == 0
187 2005-09-10 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
189 * text.C (leftMargin): test for insetbase's new neverIndent()
190 bool instead of listing each and every inset that does not
191 wish par indendation.
193 2005-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
195 * buffer_funcs.C (setCounter): put the code to compute enum label
196 here (where it belongs).
198 * counters.C (enumLabel): move code to buffer_funcs.C.
200 2005-09-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
202 * outputparams.[Ch]: store local_font instead of local_language
203 * paragraph.C (simpleTeXOnePar): adapt to the change above
205 2005-09-08 Martin Vermeer <martin.vermeer@hut.fi>
208 * counters.[Ch]: clean up special code for Hebrew.
210 2005-09-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
212 * lyxfunc.C (lookupChange): fix code when cursor depth is greater
215 2005-09-08 Angus Leeming <leeming@lyx.org>
218 * lyxrc.C: correct grammar describing invocation of the
221 2005-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
223 * text.C (read): remove unused variable.
224 (readParToken): remove static Change variable (never good in
225 recursive settings...); add it as a parameter instead.
227 * paragraph_pimpl.C (acceptChange): make debug info conditional.
229 * metricsinfo.C (PainterInfo): add new member erased_.
231 * rowpainter.C (RowPainter): add erased_ member, initialized from
233 (paintInset): pass erased_ to Inset::draw.
235 * lyxfunc.C (lookupChange): new function. Tells whether change
236 tracking is disabled at a given postion.
237 (getStatus): disable some actions when in deleted text with change
240 2005-08-03 John Levon <levon@movementarian.org>
242 * tabular.C (appendColumn, setMultiColumn): adapt to change to
245 * paragraph_pimpl.C (markErased): add bool argument and handle it.
246 Also make sure to mark insets recursively.
247 (rejectChange, erase): be recursive
249 * paragraph.C (markErased): add bool argument.
250 2005-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
252 * lyxfind.C (findNextChange): tiny cleanup.
254 * BufferView_pimpl.C (trackChanges): avoid crash when stopping
255 change tracking with the cursor in an inset; make sure the first
256 change is not skipped.
258 2005-09-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
260 * CutAndPaste.[Ch]: new methods dirtyTabularStack and
261 tabularStackDirty to work around bug 1919 (tabular needs
262 to know whether its own cell paste buffer or the one of
264 * CutAndPaste.C: mark tabular_stack_ clean after copy.
266 2005-08-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
268 * text2.C (cursorEnd): check for empty text (fixes bug 1998)
270 2005-08-19 Lars Gullik Bjønnes <larsbj@gullik.net>
272 * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
273 use old deleteion algorithm when changetracking is on.
275 2005-08-18 Martin Vermeer <martin.vermeer@hut.fi>
277 * messages.C (get): add debug output.
279 2005-08-02 Martin Vermeer <martin.vermeer@hut.fi>
281 * text.C (cursorX): fix bug 1965: cursor movement at
282 line end broken in RtL.
283 (drawSelection): fix bug 1970: drawing of single-line
284 selection broken for RtL.
286 2005-07-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
290 * dociterator.h (clear, push_back, pop_back): change from
293 * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
294 and changed to just return the value of the item depth; take a
295 ParIterator as argument; take the itemdepth at outer nesting level
296 in account if necessary; cleanup and comment the code.
297 (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
298 and changed to just return true if reset is needed; take a
299 ParIterator as argument; cleanup and comment the code.
300 (setCounter): adapt to above changes.
302 2005-07-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
304 * text3.C (dispatch): make debug message optional
306 2005-08-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
308 * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
311 2005-08-02 Martin Vermeer <martin.vermeer@hut.fi>
313 * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
315 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
317 * text.C (insertChar):
318 * text2.C (deleteEmptyParagraphMechanism): take care whether
319 a blank has been deleted (in change tracking mode) (bug 1254).
321 2005-07-20 John Levon <levon@movementarian.org>
323 * text2.C (insertStringAsLines): remove old dubious code,
326 2005-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
328 * MenuBackend.C (expandToc): use Floating::listName() as title of
331 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
333 * toc.[Ch]: Do not use translatable strings (bug 1870).
335 2005-07-20 John Levon <levon@movementarian.org>
337 * tabular.C: fix 1748 - setting multicolumn adds
338 left line to the first cell
340 2005-07-19 Lars Gullik Bjønnes <larsbj@lyx.org>
343 * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
346 2005-07-18 Lars Gullik Bjønnes <larsbj@lyx.org>
348 * messages.C: supress some lyxerr messages
350 2005-07-18 Juergen Vigna <jug@lyx.org>
352 * text.C (drawSelection): honor boundary when asking for cursorX.
354 2005-07-17 José Matos <jamatos@fc.up.pt>
356 * tabular.C (recalculateMulticolumns): fix handling of one column
359 2005-07-17 Juergen Vigna <jug@lyx.org>
361 * text.C (Delete, backspace): fixed so that paragraph with the
362 same layout can be merged by Delete/Backspace.
364 2005-07-17 Michael Schmitt <michael.schmitt@teststep.org>
366 * text.C (readParToken): fix spelling.
368 2005-07-17 Martin Vermeer <martin.vermeer@hut.fi>
370 * text2.C: fix counter update for DEPM problem reported by
373 2005-07-17 Juergen Vigna <jug@lyx.org>
375 * BufferView_pimpl.C (setBuffer): save/restore the
376 cursor/selection when switching buffers
379 * buffer.C (saveCursor): add saveDocumentIterators to save the
380 cursor when switching buffer.
382 2005-07-17 Michael Schmitt <michqel.schmitt@teststep.org>
385 * buffer.C: clarify message
387 2005-07-17 Lars Gullik Bjønnes <larsbj@lyx.org>
389 * dociterator.C (DocIterator): fix initialization order
391 2005-07-17 Juergen Vigna <jug@lyx.org>
393 * text2.C (cursorHome):
394 * text.C (drawSelection, cursorX):
395 * dociterator.C (textRow): add boundary to getRow() call
397 * paragraph.C (getRow): implementation of below
399 * paragraph.h: add parameter boundary for getRow() function
401 2005-07-17 José Matos <jamatos@fc.up.pt>
405 * tex-strings.[Ch]: new file format, remove support for a4.sty,
406 a4wide.sty and a4widemargins.
408 2005-07-17 Juergen Vigna <jug@lyx.org>
410 * text2.C (cursorLeft): fix one of error
412 2005-07-17 Juergen Vigna <jug@lyx.org>
414 * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
416 more fixes for boundary handling
418 * text3.C (dispatch): don't reset cursor if boundary has changed
421 2005-07-16 Juergen Vigna <jug@lyx.org>
423 * text2.C (getColumnNearX): hopefully got it right now,
424 check if we are on column 0 for special case.
426 2005-07-16 Juergen Vigna <jug@lyx.org>
428 * text2.C (getColumnNearX): handle special case Newline Inset
430 * text.C (singleWidth): Just remove bogus check
432 2005-07-16 Michael Schmitt <michael.schmitt@teststep.org>
434 * funcrequest.C (split): avoid reading uninitialized char c
436 2005-07-16 José Matos <jamatos@fc.up.pt>
442 * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
443 single papersize variable.
445 2005-07-16 Juergen Vigna <jug@lyx.org>
447 * text3.C (dispatch): honor boundary when checking if a cursor
448 movement has been done
450 * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown)
451 (setCursor, setCursorIntern): fix cursor movement with boundary
453 2005-07-16 Juergen Vigna <jug@lyx.org>
455 * text.C (currentState): output the actual Boundary
457 2005-07-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
459 * factory.C (createInset): fix bad logic for tabular creation
461 2005-07-16 Lars Gullik Bjønnes <larsbj@lyx.org>
463 * lyx_main.C (init): change some reLyX reference to tex2lyx
465 2005-07-16 Juergen Vigna <jug@lyx.org>
467 * dociterator.C (DocIterator): initialize boundary
469 2005-07-16 Juergen Vigna <jug@lyx.org>
471 * text2.C (getColumnNearX): Consider rows without trailing blank.
473 2005-07-16 André Pönitz <poenitz@gmx.net>
475 * lyxfont.h: Change order of declarations to give the compiler
476 a better chance to inline things
478 * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
479 questions on unsaved docs for better scritability
481 2005-07-16 André Pönitz <poenitz@gmx.net>
483 * paragraph.h (getChar): remove asserts as the same kind of security
484 can be achieved by using a suitable standard library implementation
485 and the function was in the critical path (25.9% in profiler)
487 2005-07-16 Juergen Vigna <jug@lyx.org>
489 * cursor.C (bruteFind2):
490 * bufferview_funcs.C (coordOffset):
491 * text.C (cursorX,cursorY): Handle cursor position after last char
492 in row before a inset which uses a whole row.
494 2005-07-15 José Matos <jamatos@lyx.org>
496 * output_plaintext.[Ch] (writeFileAscii): control reference title
498 (asciiParagraph): noparbreak was already deal and was incorrectly
501 2005-07-15 Juergen Vigna <jug@lyx.org>
503 * lyxfunc.C (dispatch): save and restore the cursor after a
506 2005-07-15 Lars Gullik Bjønnes <lgb@tandberg.net>
508 * text.C (backspace): bug 806 for empty keepempty paragraphs we
509 change the layout to default before letting DEPM do its thing.
511 * paragraph_funcs.C (breakParagraph): dont reset the layout on
514 * text.C (setCursorFromCoordinates): add a debug statement
516 * text2.C (getColumnNearX): bug 1825 make sure that we don't
517 return a pos that is not on the row
519 * output_latex.C (TeXDeeper): get rid of potential dereferencing
520 of past the end iterator
522 2005-07-14 André Pönitz <poenitz@gmx.net>
524 * undo.C (recordUndoFullBuffer): implement undo for
527 2005-07-14 André Pönitz <poenitz@gmx.net>
529 * cursor.C (setSelection): open insets when selection is set there
530 to avoid crashs with cold coord cache
532 2005-07-14 André Pönitz <poenitz@gmx.net>
534 * trans_mgr.C (insert): move cursor to the right after inserting
537 2005-07-14 Lars Gullik Bjønnes <larsbj@lyx.org>
539 * BufferView_pimpl.C (update): dampen some of the debug blabbering
540 * factory.C (readInset): ditto
541 * text.C, text2.C: ditto
543 2005-06-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
545 * buffer.C: format incremented to 242. There is no file format per
546 se, but the "frenchb" language has been removed from lib/language
547 and has to be translated to "french" by lyx2lyx.
549 2005-07-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
551 * cursor_slice.h, dociterator.h: add some documentation
552 * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
554 2005-07-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
556 * text.C (leftMargin): do not add identation to display() style
557 insets, because they are always centered (bug 1293).
559 2005-07-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
561 * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
562 formatted_time methods in support/lyxtime.
564 2005-07-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
566 * toc.[Ch]: new method getGuiName, which is used by the frontends
567 to set the toc combo (fixes bug 1870). Make TOC string translatable.
569 2005-07-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
571 * dociterator.[Ch]: implement operator==(StableDocIterator const &,
572 StableDocIterator const &)
573 * undo.C (recordUndo): use the above instead of cell.size() comparison
574 (fixes bug 1808; instructed by Andr�.
576 2005-06-29 Martin Vermeer <martin.vermeer@hut.fi>
579 * dociterator.h: Fix the assert when copying rows/cols in math
581 2005-06-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
583 * BufferView_pimpl.C:
585 * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
587 * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
588 (findInset): new functions, refactored from goto Inset that return
589 the position of a certain inset without setting the buffer's cursor
591 (gotoInset): rewrite to call findInset and then set the cursor
594 2005-06-16 Angus Leeming <leeming@lyx.org>
596 * lyxrc.C (output, read): wrap all input and output of paths with
597 calls to os::internal_path and os::external_path, respectively.
598 (output): wrap bind_file inside quotes.
600 * format.C (view): enable the viewer to use the '$$s' placeholder.
602 2005-06-16 Georg Baum <Georg.Baum@post.rwth-aachen.de>
604 * LColor.[Ch] (getFromLaTeXName): new
606 2005-06-16 Martin Vermeer <martin.vermeer@hut.fi>
608 * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
610 2005-06-14 Angus Leeming <leeming@lyx.org>
612 * lyx_main.C (init): ensure that the LyX binary dir is the first
613 element in the PATH on non-POSIX builds.
615 2005-06-11 Georg Baum <Georg.Baum@post.rwth-aachen.de>
617 * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
619 2005-06-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
621 * rowpainter.C (paintInset, paintHebrewComposeChar)
622 (paintArabicComposeChar, paintChars): add a LyXFont argument.
623 (paintChars): use getFontSpan to reduce calls to getFont to a
624 minimum; use Paragraph::lookupChange instead of isXXXText.
625 (paintForeignMark): rename LyXFont argument.
626 (paintFromPos): pass a LyXFont object to the various paintXXX
629 * FontIterator.C (FontIterator, operator++): use
630 Paragraph::getFontSpan
632 * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
633 version that returns the font span as a pair.
635 2005-06-09 Angus Leeming <leeming@lyx.org>
637 * converter.C (convert): Don't forget "outfile = real_outfile" as
638 the final step in a conversion where the input and output file names
639 are the same. Otherwise, future conversion steps won't work...
641 2005-06-09 Angus Leeming <leeming@lyx.org>
643 * lyxsocket.C: remove stub code as it isn't needed by
644 MinGW/MinSYS anyway. Let's see if the MSVC people scream...
646 2005-06-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
648 * lyx_main.C (parse_execute): Fix last fix: is_gui = false
649 effectively disabled -x
651 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
653 * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
654 when it actually makes sense.
656 2005-06-06 Martin Vermeer <martin.vermeer@hut.fi>
658 * BufferView_pimpl.C: revert to showCursor in connection with
659 Lars's front-end stack
661 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
663 * text.C (redoParagraph): move cursor right after a bibitem
666 * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
668 2005-06-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
670 * buffer_funcs.C (bufferErrors): fix computation of the end of an
673 2005-05-31 Martin Vermeer <martin.vermeer@hut.fi>
675 * BufferView.[Ch] (update):
676 * BufferView_pimpl.[Ch] (update, metrics):
677 * dimension.h (operator==):
678 * lyxfunc.C (dispatch):
679 * metricsinfo.h (ViewMetricsInfo):
680 * rowpainter.C (paintText):
682 * text.C (redoParagraph):
683 * text3.C (dispatch): Make LyX only repaint current paragraph in
684 case of character insert --> speedup. Also fix cursor draw
687 2005-05-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
689 * bufferview_funcs.C (gotoInset): fix the wrap-around code to
690 avoid a crash (bug 1891)
692 2005-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
696 * text2.C (getStringToIndex): constify cur argument.
698 * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
699 argument has been given
700 (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
701 try to invoke LFUN_INSET_APPLY).
703 * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
704 if no inset was created by doInsertInset
705 (doInsertInset): return true if an inset has been inserted.
707 2005-05-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
709 * vspace.C (asGUIName): new method. A version of the space
710 suitable for showing on screen.
712 2005-05-20 Michael Schmitt <michael.schmitt@teststep.org>
715 * lyxrc.C: rename "ASCII" to "Plain Text"
717 2005-05-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
719 * buffer_funcs.C (expandLabel): take a Buffer as argument;
720 translate the labelstring.
721 (setCounter): translate labelstring as needed.
723 * output_docbook.C (makeCommand): fix expandLabel invokation
725 2005-05-14 Michael Schmitt <michael.schmitt@teststep.org>
727 * BufferView.C: fix dialog title
729 2005-05-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
731 * lyx_main.C (priv_exec): fix logic error with help from Angus
732 * lyx_main.C (parse_execute): set is_gui = false and remove now
733 obsolete comment about a segfault
735 2005-05-18 Angus Leeming <leeming@lyx.org>
737 * buffer.C (readFile): Quote all file names passed to lyx2lyx.
739 2005-05-12 Martin Vermeer <martin.vermeer@hut.fi>
741 * tabular.[hC]: added setCellInset to fix tabular paste.
743 2005-05-11 Lars Gullik Bjønnes <larsbj@gullik.net>
745 * buffer.C (save): check if destination is writable before trying
748 2005-05-11 Martin Vermeer <martin.vermeer@hut.fi>
750 * BufferView_pimpl.C (update): fix processEvents -caused update
753 2005-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
755 * buffer_funcs.C (setCounter): fix test for numbering of
758 * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
759 depth correctly; use optional argument when it exists
761 * lyxtextclass.C: remove unused MaxCounterTags enum
762 (Read): compute min_toclevel_ and max_toclevel_ after reading class.
763 (max_toclevel, min_toclevel): new methods.
765 * MenuBackend.C (expandToc2): fix case where depth is smaller than
766 the smallest depth in toc.
768 * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
769 layouts that should not appear in a table of contents.
771 2005-05-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
773 * cursor.h (undispatched, noUpdate): add comments from Andr�
774 2005-05-07 Michael Schmitt <michael.schmitt@teststep.org>
778 * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
780 2005-05-07 André Pönitz <poenitz@gmx.net>
782 * cursor.[Ch] (leaveInset): new function
784 2005-05-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
786 * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
788 2005-05-04 Angus Leeming <leeming@lyx.org>
790 * lyxfunc.C (getStatus): disable the spell checker dialog if
791 none of USE_[AIP]SPELL are defined.
793 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
795 * tabular.C (setWidthOfCell): remove obsolete comment
797 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
799 * paragraph.C (bibitem):
800 * buffer_funcs.C (setCounter):
801 * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
803 2005-05-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
805 * text3.C (getStatus): immediately return after setOnOff
807 * rowpainter.C: fix drawing of appendix start
809 2005-05-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
811 * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
812 SwitchBetweenClasses and remove the unused return value.
813 Handle character styles, too
815 2005-05-03 Martin Vermeer <martin.vermeer@hut.fi>
817 * factory.C (createInset): handle undefined character styles
819 2005-05-02 Angus Leeming <leeming@lyx.org>
821 * buffer.C: protect the #include of utime.h with a preprocessor
824 2005-05-02 Angus Leeming <leeming@lyx.org>
826 * lyx_cb.C: artificially define fork() on Windows as a no-op failing
827 function so that auto-saving works, albeit in a blocking manner.
829 * Makefile.am: make compilation of the client sub directory, of
830 aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
831 on conditionals set at configure time.
833 * SpellBase.[Ch]: no longer an abstract base class. Instead,
834 it can be compiled in its own right but has no-op functionality.
836 * aspell.C, pspell.C: remove preprocessor guards. The files should
837 be compiled only if the necessary functionality exists.
839 * lyxserver.C, lyxsocket.C: disable on Windows.
841 2005-05-01 Martin Vermeer <martin.vermeer@hut.fi>
843 * text.C (leftMargin): Fix the parindent use bug (1764)
846 2005-04-28 Michael Schmitt <michael.schmitt@teststep.org>
848 * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
851 2005-04-25 Angus Leeming <leeming@lyx.org>
859 include <config.h> in .C files, not .h ones.
861 protect headers inside preprocessor guards.
863 2005-04-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
865 * FuncStatus.h (StatusCodes): document
867 2005-04-21 André Pönitz <poenitz@gmx.net>
869 * FuncStatus.h (enabled, onoff): document
871 2005-04-19 Angus Leeming <leeming@lyx.org>
873 * BufferView_pimpl.C (cursorToggle): no longer test whether
874 any child processes have been reaped before calling
875 handleCompletedProcesses().
877 2005-04-19 Martin Vermeer <martin.vermeer@hut.fi>
879 * text3.C (dispatch): fix, finally fix, the language problem in
880 new lyxtexts, without disabling on-the-fly font changes (Helge's
883 2005-04-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
885 * text3.C (dispatch): set cursor on double/triple click events
888 2005-04-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
890 * lyxfunc.C (actOnUpdatedPrefs): avoid warning
891 (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
893 * rowpainter.C (paintFirst): simplify the code a little bit. In
894 particular, remove the test for secnumdepth.
895 * text.C (setHeightOfRow): only allocate space for chapter number
896 when updateCounters provided an actual label, instead of looking
897 at secnumdepth directly.
899 * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
901 * buffer_funcs.C (setCounter): only number LABEL_COUNTER
902 paragraphs when secnumdepth is large enough or, for environments,
903 when they are not the first in a sequence.
905 2005-04-17 Angus Leeming <leeming@lyx.org>
907 * buffer.C (makeLaTeXFile): replace code to manipulate a path
908 containing space and '~' characters with a call to latex_path().
910 2005-04-17 Angus Leeming <leeming@lyx.org>
912 * converter.C (convert): protect all args of convertDefault.sh
915 2005-04-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
917 * text3.C (dispatch): change the layout to "Caption" after inserting
920 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
922 * text3.C (dispatch): fix language problem in newly created
923 textinsets (and main text) in non-english docs
925 2005-04-13 Georg Baum <Georg.Baum@post.rwth-aachen.de>
927 * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
928 * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
929 * text3.C (getStatus): disable LFUN_INSET_MODIFY
931 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
936 * rowpainter.C (getFont): Fix metrics bug introduced by inset
939 2005-04-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
941 * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
942 output of \item arguments without trailing text.
944 2005-04-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
946 * FontIterator.C (operator*): avoid a copy of the font.
948 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
950 * rowpainter.C (getFont): fix language bug from previous fix
952 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
954 * rowpainter.C (RowPainter, getFont): fix font inside inset
957 2005-04-06 Martin Vermeer <martin.vermeer@hut.fi>
959 * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
960 preventing inserted font, deco, delim insets jumping to start of
963 2005-03-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
965 * lyxfunc.C (dispatch): translate message before sending it to the
968 2005-03-29 Angus Leeming <leeming@lyx.org>
970 * lyx_main.C (priv_exec): call os::internal_path on each file passed
971 to LyX on the command line.
973 2005-03-25 Stephan Witt <stephan.witt@beusen.de>
975 * vc-backend.C: use QuoteName to protect file names wherever
978 2005-03-27 Martin Vermeer <martin.vermeer@hut.fi>
981 * BranchList.h: fix bugs 1844,1845: document settings don't
984 2005-03-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
986 * lyxrc.C (setDefaults, read, output, getDescription): add support
987 for tex_allows_spaces.
989 * exporter.C (Export): allows files in directory containing spaces
990 if tex_allows_spaces is true.
992 * buffer.C (makeLaTeXFile): if the document path contains spaces,
993 output it in double quotes.
995 2005-03-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
997 * rowpainter.C: use default text height for drawing change tracker
1000 2005-03-21 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1002 * lyx_main.C: fix binding of tabulator key (especially S-Tab).
1004 2005-03-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1006 * lyx_main.C (queryUserLyXDir): fix logic when LyX support
1007 directory is missing.
1009 2005-03-11 Martin Vermeer <martin.vermeer@hut.fi>
1011 * text2.C: fixed the fix, extended to other case.
1013 2005-03-08 Martin Vermeer <martin.vermeer@hut.fi>
1015 * text2.C: fix for cursor up/down stuck in math [bug 1792]
1017 2005-03-07 Alfredo Braunstein <abraunst@lyx.org>
1019 * text2.C (cursorUp): get rid of a crash
1020 * text.C (x2pos): add an assert
1022 2005-03-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1024 * lyxfunc.C (getStatus): fix warning when assertions are disabled
1028 * dociterator.C: include <boost/current_function.hpp>, which is
1029 needed when assertions are disabled.
1031 2005-03-05 Johnathan Burchill <jkerrb@users.sourceforge.net>
1033 * text2.C: fix for stuck cursor when traversing two
1034 consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
1036 2005-02-25 Andreas Vox <avox@arcor.de>
1038 * output_docbook.C (makeParagraph): suppress trailing newline
1039 after a run of paragraphs
1041 2005-02-28 Johnathan Burchill <jkerrb@users.sourceforge.net>
1043 * paragraph.C: fix for confused change tracker when pasting
1044 text that begins with a lineseparator. [bug 1827]
1045 (setChange(0, Change::INSERTED);)
1047 * paragraph_funcs.C: fix for lost changes on triple-paste
1048 in change tracking mode [bug 1827] (par.setChange()).
1050 2005-02-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1052 * text2.C (updateCounters, setCounter, expandLabel): move to
1055 * buffer_funcs.C (updateCounters): turn into a free standing
1056 function and add a buffer parameter. Remove dead code for tracking
1058 (setCounter): change into a free-standing function which gets a
1059 dociterator as argument. Use this iterator to fix captions in a
1060 simple way. When no float is found above the caption, use the
1061 labelstring of the caption layout as default.
1063 * text.C (breakParagraph, backspace):
1064 * text2.C (init, setLayout, changeDepth):
1065 * text3.C (dispatch):
1066 * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
1069 * dociterator.C (forwardPar): make it much faster by calling
1070 forwardPos() only when really necessary.
1072 * output_docbook.C (makeCommand): adapt to expandLabel move.
1074 * cursor.C: remove unused variable
1076 2005-02-24 Johnathan Burchill <jkerrb@users.sourceforge.net>
1078 * paragraph_funcs.C: fix crash when pasting insets in change
1079 tracking mode [bug 1277] (honour change type in moveItem).
1081 2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1083 * LaTeX.C (scanLogFile): recognize pdfTeX warnings
1085 2005-02-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1087 * BufferView.C (setCursor): change to use a DocIterator.
1088 (gotoLabel): use BufferView::setCursor (other part of bug 781).
1089 (putSelectionAt): adapt to BufferView::setCursor change.
1091 * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
1092 moved here from LyXText and rewritten to use proper cursor
1093 methods. Fixes bug 1787, 616 and 835.
1095 * BufferView_pimpl.C (restorePosition): set the cursor correctly
1096 when inside an inset (part of bug 781).
1097 (dispatch): adapt to change of BufferView::setCursor.
1098 (getStatus, dispatch): handle LFUN_GOTOERROR,
1099 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1101 * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
1102 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1103 * text3.C (gotoNextInset, gotoInset): removed.
1105 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1107 * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
1109 2005-02-15 Angus Leeming <leeming@lyx.org>
1111 * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
1112 can be used meaningfully in a comparison.
1114 2005-02-13 André Pönitz <poenitz@gmx.net>
1116 * bufferview_funcs.C (coordOffset): improve cursor drawing
1118 2005-02-13 André Pönitz <poenitz@gmx.net>
1120 * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
1121 * Cursor.C (dispatch): use fixIfBroken
1122 * lyxfunc.C (getStatus): use fixIfBroken
1124 2005-02-15 Angus Leeming <leeming@lyx.org>
1126 * lyx_main.C (error_handler):
1128 * lyxrc.C (setDefaults):
1130 #include "environment.h".
1132 * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
1134 2005-02-15 Angus Leeming <leeming@lyx.org>
1136 * lyxserver.C (startPipe): squash MSVC warning "local variable
1137 'fd' used without having been initialized".
1139 2005-02-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1141 * BufferView_pimpl.C: revert accidental commit.
1143 2005-02-14 André Pönitz <poenitz@gmx.net>
1145 * dociterator.[Ch]: new member forwardPosNoDescent(),
1146 which doesn't enter nested insets.
1147 * text2.C (setFont): use forwardPosNoDescent() instead
1148 of ForwardPos() (fixes crash on font change).
1150 2005-02-13 Angus Leeming <leeming@lyx.org>
1152 * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
1153 only if lyxrc.path_prefix is not empty.
1155 2005-02-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1157 * bufferparams.C (readGraphicsDriver): prevent crash
1159 2005-02-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1161 * text2.C (setCounter): check for inInset() == 0
1163 2005-02-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1165 * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
1166 but use update() to get correct screen display; use convert
1167 instead of istringstream.
1168 (getStatus): handle LFUN_GOTO_PARAGRAPH
1170 * lyxfunc.C (dispatch, getStatus): do not handle
1171 LFUN_GOTO_PARAGRAPH here.
1173 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1175 * text3.C (dispatch): size() -> depth()
1177 * text2.C: remove some debug output
1179 * paragraph.C: ws changes only
1181 * lyxfunc.C (getStatus): size() -> depth()
1183 * dociterator.h (clear, push_back, pop_back, internalData,
1184 operator[], resize, empty): new functions
1185 Make StableDocIterator and operator== be friends. Don't inherit
1186 from std::vector use a privat class variable slices_ instead.
1189 * dociterator.C: update because of not inheriting from std::vector
1190 anymore. Call explictly to slices_ instead. Use depth() instead of
1191 size() and top() instead of back()
1193 * cursor.C: chagne size() -> depth and back() -> top(). Also
1194 remove some direct operator[](i) calls in favour of foo[i]
1195 (getFont): remove some dead code
1197 * bufferview_funcs.C (coordOffset): size() -> depth()
1199 * buffer.C: ws changes only
1201 * CutAndPaste.C (eraseSelection): back() -> top()
1203 * BufferView_pimpl.C (selectionRequested): back() -> top()
1205 * BufferView.C (setCursor): size() -> depth()
1207 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1209 * text3.C (cursorPrevious): return true if depm changed something
1211 (dispatch): rename sl to oldTopSlice, remove moving use the new
1212 NoUpdate func attrib instead. Make sure that needsUpdate is set
1213 for function that have NoUpdate, but where depm might have changed
1216 * text2.C (cursorLeft): make us return true if depm changed
1218 (cursorRight): ditto
1219 (cursorUpParagraph): ditto
1220 (curosrDownParagraph): ditto
1221 (cursorUp, cursorDown): ditto, make sure to read comments in code
1222 (deleteEmptyParagraphMechanism): remove an assert, also return
1223 true if just a single char was deleted.
1225 * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
1226 cursor that we modify, to avoid modifying an active cursor before
1227 we call setCursor. This allows depm to run. Also return true if
1228 depm deleted something.
1230 * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
1231 cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
1232 cursorDownParagraph, cursorPrevious and cursorNext, return true if
1233 something was changed in the buffer because of them (ie. depm run)
1235 * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
1236 debug messages. Make update by default be false. Make sure that
1237 the result of update is retained throught several calls down to
1240 * LyXAction.h: add a new func_attrib: NoUpdate
1242 * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
1243 LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
1244 LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
1246 (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
1248 2005-02-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1250 * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
1251 bv_->owner(), bv_->buffer() by direct references to the private
1253 (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
1254 (getStatus): isSavedPosition() is in BufferView::Pimpl.
1255 (fitCursor): center() is in BufferView::Pimpl.
1256 (getStatus, trackChanges, dispatch): no need for a temporary buf
1258 (fitCursor, workAreaDispatch): use workarea().workheight()
1260 2005-02-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1262 * CutAndPaste.C (pasteSelectionHelper): fix a crash
1264 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1266 * buffer.C: format up to 241.
1267 * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
1268 break if pasting into ERT
1269 * lyxfunc.C (getStatus): suppress mathpanel and
1270 LFUN_DIALOG_SHOW_NEW_INSET in ERT
1272 2005-02-01 Angus Leeming <leeming@lyx.org>
1274 * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1276 2005-02-01 Angus Leeming <leeming@lyx.org>
1278 * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1279 calling fs::is_directory().
1281 2005-01-31 Angus Leeming <leeming@lyx.org>
1283 * lyx_main.C (priv_exec): specify explicitly the relative location
1284 of the top level build directory when run in-place.
1286 2005-01-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1288 * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1289 LyXText containing the cursor, not the top-level one.
1291 * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1293 (insertStringAsLines): rename par to pit; use temporary variable
1294 par to hold a Paragraph; do not store par.layout() in a variable,
1295 since the pointer may die when breaking paragraphs; pass pars to
1296 breakParagraph() instead of Buffer::paragraphs().
1298 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1300 * lyxlex_pimpl.h: #include <fstream>.
1302 * BufferView.[Ch] (getLyXText): add a const version.
1304 * BufferView_pimpl.C: add debug aids.
1309 * paragraph_funcs.h: add commentary explaining what the class does.
1312 * coordcache.[Ch]: add lots of commentary.
1313 (startUpdating, doneUpdating): debug aids.
1314 (arrays, insets, parPos, getParPos): accessors to private data.
1316 * cursor_slice.[Ch] (text): add a const version.
1317 * dociterator.[Ch] (text, innerText): add const versions.
1319 * lyxtext.h (breakParagraph): change the keep_layout arg to a
1322 * paragraph.C (getRow, pos2ros): add asserts.
1324 * paragraph.h: add commentary. Lots of.
1326 * paragraph.[Ch] (metrucs, draw): removed.
1329 * rowpainter.[Ch]: const-correct changes.
1331 * text.C: various obvious clean-ups. Removal of ancient cruft.
1334 2005-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
1336 * vc-backend.C (find_file): rewrite to use boost.filesystem
1339 * main.C (main): set default name check for boost.filesystem to
1342 * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1345 (actOnUpdatedPrefs): ditto
1347 * lyx_main.C (init): rewrite to use boost.filesystem
1348 (queryUserLyXDir): ditto
1350 * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1351 (getContentsOfAsciiFile): ditto
1353 * lastfiles.C (readFile): rewrite to use boost.filesystem
1355 * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1357 * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1358 (loadLyXFile): ditto
1360 * buffer.C (Buffer): adjust for destroydir
1361 (getLogName): rewrite to use boost.filesystem
1362 (setFileName): ditto
1363 (save): use fs::copy_file (from fs_extras)
1365 * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1367 * LaTeX.C (run): rewrite to use boost.filesystem
1368 (scanAuxFiles): ditto
1369 (handleFoundFile): ditto
1371 2005-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1373 * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1375 * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1377 2005-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1379 * lyxlayout.[Ch]: change some vars from float to double
1381 * buffer.C (readFile): make a local var const
1383 * Several files: use convert<> instead of atoi,strToXXX and friends
1385 2005-01-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1387 * LaTeXFeatures.[Ch]: Add a static list packages_ that
1388 holds the contents of packages.lst. New functions getAvailable
1389 and isAvailable to parse and check that list, resp.
1393 * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1395 * bufferparams.[Ch]: new param output_changes.
1397 * Buffer.C: increase file format to 240.
1398 Use output_changes and isVailable.
1402 * paragraph_pimpl.C: Use output_changes and isVailable.
1404 2005-01-23 Angus Leeming <leeming@lyx.org>
1406 * output_latex.C: #include "insetbibitem.h", rather than
1407 forward declare function bibitemWidest.
1409 2005-01-21 Andreas Vox <vox@isp.uni-luebeck.de>
1411 * lyx_main.C (init): make it compile on the Mac.
1413 2005-01-20 Angus Leeming <leeming@lyx.org>
1415 * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1416 (setLyXMisc): (char string literal) != (char string literal) is
1417 performing a comparison on the addresses. Convert one operand
1418 explicitly to string to guarantee expected behaviour.
1421 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1424 * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1426 * output_plaintext.C: remove unneeded #include gzstream.h.
1428 2005-01-20 Angus Leeming <leeming@lyx.org>
1430 * SpellBase.h: rename some of the elements of the Result enum.
1437 * pspell.C (check): ditto
1439 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1441 * buffer.C: add #include <fstream>.
1443 * lyx_main.C (init): Compile fix.
1445 * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1447 2005-01-20 Angus Leeming <leeming@lyx.org>
1449 * mover.h: change commentary to reflect the changed meaning of
1450 the $$s placeholder.
1452 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1454 * output_linuxdoc.C (linuxdocParagraphs): silence warning
1456 * lyxfind.C (MatchString::operator()): remove bogus semicolon
1458 2005-01-20 Angus Leeming <leeming@lyx.org>
1460 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1461 printing diagnostic data by not dereferecing an iterator past the
1464 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1466 * buffer.C (readHeader): use "&&" rather than "and".
1468 * lyxserver.h (inPipeName, outPipeName): make these const.
1470 2005-01-19 Angus Leeming <leeming@lyx.org>
1472 * lyx_main.C (error_handler, init): protect SIGHUP with
1473 #ifdef SIGHUP guards.
1475 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1477 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1479 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1481 * text.C (setHeightOfRow): add a margin at the top and bottom of
1482 the document (bug 1761)
1484 2005-01-17 Angus Leeming <leeming@lyx.org>
1486 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1487 with "python ". Workaround for a brain-dead Windows.
1489 2005-01-16 Angus Leeming <leeming@lyx.org>
1491 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1492 for MacOSX and Windows to use prependEnvPath.
1493 Strip out the hard-coded block to add elements to the PATH for
1494 MacOSX and replace it with a call to prependEnvPath using the
1495 contents of LyXRC::path_prefix.
1496 (queryUserLyXDir): strip out the code to run reconfigure, instead
1497 returning a boolean indicating the necessity to do so.
1498 (reconfigureUserLyXDir): contains the code to reconfigure the
1499 user support directory. Is now called after the various LyXRC data
1500 files have been read.
1502 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1504 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1506 * converter.[Ch] (convert): take a new parameter try_default. Use
1507 a default converter (imagemagick) if try_default is true.
1509 2005-01-13 Angus Leeming <leeming@lyx.org>
1511 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1512 os::cygwin_path_fix.
1513 (write): output LyXRC::cygwin_path_fix as necessary.
1515 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
1518 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1520 2005-01-12 Angus Leeming <leeming@lyx.org>
1522 * lyx_main.C (init): set the PATH variable to include the
1523 directory containing the LyX binary when running on Mac or Windows.
1525 2005-01-12 Angus Leeming <leeming@lyx.org>
1527 * lyx_main.C (init): remove cruft that purports to set the locale
1528 dir. It doesn't and is not needed anyway.
1530 2005-01-10 Angus Leeming <leeming@lyx.org>
1532 * Makefile.am: remove the lyx_main.C special casing.
1534 * BufferView_pimpl.C:
1540 * messages.C: use support/package.h to provide the paths to the
1541 various directories used by LyX.
1543 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1545 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1546 layout if pasting into an empty paragraph)
1548 2005-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
1550 * tex-accent.C: add <string>
1552 2005-01-06 José Matos <jamatos@lyx.org>
1554 * ParagraphParameters.C (write): put every parameter in its own line.
1555 * paragraph.C (write): reduce number of consecutive empty lines exported.
1556 * buffer.C (LYX_FORMAT): increase file format to 239.
1558 2005-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1560 * everywhere: change support/tostr.h -> support/convert.h
1562 * tabular.C: make all write_attributes templates, tostr -> convert
1564 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1565 (emptyTag): and -> &&, and fix type for ret from getChar
1566 (getFirstWord): fix type for ret from getChar
1567 (onlyText): and -> &&
1568 (simpleDocBookOnePar): and not -> && !, fix type for ret from
1571 * toc.C (goTo, action):
1572 * text3.C (dispatch):
1573 * text.C (currentState):
1574 * tex-accent.C (DoAccent):
1577 * lyxfunc.C (menuNew):
1578 * lyxfinc.C (replace):
1579 * counters.C (laberItem):
1580 * bufferview_funcs.C (font2string):
1581 * bufferparams.C (writeFile):
1582 * buffer.C (readFile):
1584 * MenuBackend.C: tostr -> convert
1586 * LaTeX.C (runMessage): fix format
1587 (scanAuxFiles): tostr -> convert
1589 * BufferView_pimpl.C (savePosition): fix format
1590 (restorePosition): ditto
1593 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1595 * Spacing.[Ch]: New method getValueAsString().
1599 * ParagraphParameters.C:
1602 * text3.C: store/read spacing value as string.
1604 * rowpainter.C: change float value (spacing_val) to double.
1606 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1607 broken custom document spacing).
1609 2005-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
1611 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1612 namespace, also more use of temp references and const
1614 * cursor.[Ch] (getStatus): move to lyxfunc.C
1616 * bufferparams.C: reformat slightly
1618 * bufferview_funcs.C (font2string): constify arg
1624 * buffer_funcs.C: (many funcs): constify arg on function
1625 definitions, also make more local vars const, also add ASSERTS on
1628 * buffer.C (LYX_FORMAT): put const in correct place
1629 (many funcs): constify arg on function definitions, also make
1630 more local vars const
1632 * aspell_local.h: remove "struct" from typdef setup
1634 * aspell.C (check): make word_ok const
1635 (nextMiss): simplify slightly
1638 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1640 * lyxrc.[Ch]: store all float values as strings.
1641 use int (not float) for lyxrc.dpi.
1643 2005-01-04 Angus Leeming <leeming@lyx.org>
1645 * lyx_cb.C (Reconfigure):
1646 * lyx_main.C (queryUserLyXDir):
1647 to run the <system_lyxdir>/configure correctly on Windows, prefix
1648 the path to the script with "sh " when generating the string that
1649 is passed to system().
1651 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1653 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1655 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1657 * lyxlength.C (asLatexString): get rid of setprecision
1659 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1661 * text2.C (setLayout): remove unused variable endpit.
1662 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1664 * paragraph.C (onlyText): remove unused variable style.
1666 * cursor.C (bruteFind): remove unused variables beg and end.
1668 * Makefile.am (dist_noinset_DATA): not needed anymore
1670 * cheaders/*: remove.
1672 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1674 * text3.C: fix LFUN_MATH_MODE.
1676 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1678 * buffer_funcs.C (countWords): new function. Counts words between
1681 * BufferView_pimpl.C (getStatus, dispatch): handle
1684 * LyXAction.C (init):
1685 * lfuns.h: add LFUN_WORDS_COUNT.
1687 2004-12-19 Angus Leeming <leeming@lyx.org>
1689 * buffer.C (save): s/slashify_path/internal_path/.
1691 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1693 * lyxfind.C (findChange): do not search for end of pars, because
1694 the change tracker cannot handle this (fixes bug 1719).
1696 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
1698 * paragraph.[Ch] (autoBreakRows): remove
1700 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1702 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1703 avoid using the paragraph one
1705 * text2.C (LyXText, insertStringAsLines): adjust
1707 2004-12-16 Angus Leeming <leeming@lyx.org>
1711 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1713 2004-12-14 Angus Leeming <leeming@lyx.org>
1715 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1717 * bufferlist.C (emergencyWrite):
1718 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1721 2004-12-14 Angus Leeming <leeming@lyx.org>
1723 * main.C: (main): no longer pass pointers to os::init.
1725 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1727 * undo.C (textUndoOrRedo): simplify logic, fix a crash
1728 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1730 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1733 * text3.C: remove selection_possible global flag
1735 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1737 * text2.C (getSelectionSpan): remove
1738 (changeDepth, changeDepthAllowed): adjust
1740 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
1742 * Makefile.am (BOOST_LIBS): use boost variables
1744 2004-12-03 José Matos <jamatos@lyx.org>
1746 * buffer.C: format up to 238.
1748 2004-12-03 José Matos <jamatos@lyx.org>
1750 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1752 2004-12-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1754 * cursor.C (goUpDown): remove call to idxUpDown2
1756 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1758 * tabular.[Ch]: use size_t-like types for cell, row and column
1761 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1763 * lyxfunc.C (getStatus): do not lose previous information when
1764 calling BufferView::getStatus; do not set a default "Command
1765 disabled" message at the beginning, but just before returning.
1767 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1769 * cursor.h (getStatus): add better comment from src/cursor.C
1771 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1773 * text3.C (getStatus): return false when the lfun is not handled
1775 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1777 * broken_headers.h: remove
1779 * Makefile.am (lyx_SOURCES): remove broken_headers.h
1781 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1783 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1784 offset_ref accessors
1786 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1787 top_y_, merge fitcursor with update
1788 (updateScrollbar, scrollDocView, fitCursor, center, update): new
1790 (metrics): introduce
1791 (workAreaDispatch): adapt to new coord scheme
1792 (redoCurrentBuffer): remove
1794 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1796 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1799 * coordcache.[Ch]: add paragraph cache and helpers
1801 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1804 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1805 (targetX, setTargetX): introduce
1807 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1808 baseline -> ascent, as the rest of lyx
1810 * lyxtext.h: remove redoParagraphs, updateParPositions,
1811 fullRebreak, redoParagraphInternal. move dist to anon namespace in
1812 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1813 have ascent/descent (ascent is ascent of first par)
1815 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1818 * paragraph.[Ch]: unify dimension handling with the rest of lyx
1820 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1822 * pariterator.C: fix infinite loop introduced in par->pit renaming
1824 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1825 in insets and LyXText, draw two off-screen paragraphs using
1826 NullPainter, and adapt to new coord scheme
1830 * text3.C: adapt lfun handlers to the new coord scheme, which
1831 means: there's only guaranteed coord information for onscreen pars
1832 plus one above and one below. This implies that one can do search
1833 from y coordinates in the range [-1,workHeight]
1835 2004-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1837 * rename a lot of InsetOld to InsetBase
1839 2004-11-25 Angus Leeming <leeming@lyx.org>
1841 * BufferView_pimpl.C:
1843 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1845 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1847 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1848 call BufferView::getStatus if LCursor::getStatus did nothing
1849 (setStatusMessage, getStatusMessage): removed.
1851 * FuncStatus.C (message): new methods. Used to provide an error
1852 message indicating why a command is disabled.
1853 (clear, |=, FuncStatus): update for message.
1855 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1857 * lyxfunc.C (dispatch): always call sendDispatchMessage
1859 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1862 * BufferView_pimpl.C:
1867 * cursor_slice.[Ch]:
1870 * paragraph_funcs.C:
1876 * undo.C: par->pit renaming
1878 2004-11-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1880 * tabular.C (cellstruct): use initialization, store a shared_ptr
1881 to insettext instead of the insettext directly, adjust to fit.
1882 (operator=): new function
1883 (swap): new function
1884 (rowstruct): use initialization
1885 (columnstruct): use initialization
1886 (ltType): use initialization
1889 * lyxlength.h (swap): new function
1891 * LColor.[Ch] (operator=): use the common semantics
1893 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1895 * lyxfind.C (findNextChange): update the bufferview after setting
1898 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1900 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1901 number of InsetOptArgs has already been inserted.
1903 * output_latex.C (latexOptArgInsets): new method. This outputs all
1904 the optarg insets, up to the limit defined in the layout file.
1905 (optArgInset): removed
1906 (TeXOnePar): call latexOptArgInsets; correctly update texrow
1908 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1910 * paragraph.C (isLetter): remove special spellchecker-related
1911 code; return true also for digits
1912 (isWord, isKomma): remove
1914 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1915 * lyxfind.C (MatchString()): use isLetter instead of isWord
1917 2004-11-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1919 * pariterator.h (operatir=): comment out un-implemented member
1922 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1925 2004-11-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1927 * lyxfont.h: include LColor.h to satisfy concept checks.
1929 2004-11-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1931 * pariterator.h: add typdefs for value_type, difference_type,
1932 pointer and reference to satisfy concept checks. Also add default
1933 constructor for same reason.
1935 * pariterator.C (operator++): add post-increment operator to
1936 satisfy concept checks.
1938 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1941 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1943 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1944 checks. Also rename base_type to BaseType to follow naming
1947 * FloatList.h: include Floating.h to satisfy concept checks.
1949 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1951 * lyxfunc.C (getStatus): when the origin of the request is menu or
1952 toolbar, and the LyXView does not have focus, do as if there was
1953 no buffer (bug 1720)
1955 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1956 FuncRequest to individual entries of LFUN_SEQUENCE
1958 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1960 * output_latex.C (TeXOnePar): override runparams.moving_arg
1961 according to the needprotect value of the current paragraph (bug
1964 * paragraph.C (simpleTeXOnePar): no need to override
1965 runparams.moving_args here
1967 2004-11-14 John Spray <spray_john@users.sourceforge.net>
1969 * vspace.C: fix off-by-one-error, related to fix #1682
1971 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1973 * lengthcommon.C: a more general fix for bug 1682
1975 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
1977 * text.C (backspace): fix crash
1979 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1981 * format.[Ch] (getFormatFromFile): new method
1982 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1984 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1986 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1988 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1990 * lyxfunc.C (dispatch): remove the verbose argument
1991 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1994 * kbmap.C (defkey): set the origin of func to KEYBOARD
1996 * MenuBackend.C (MenuItem):
1997 * ToolbarBackend.C (add): set the origin of func to UI
1999 * funcrequest.[Ch]: add origin member, which indicates which part
2000 of LyX requests an action
2002 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2004 * converter.C (move): don't lie in the error message
2005 * converter.h (isReachable, move): document
2007 2004-11-07 Lars Gullik Bjønnes <larsbj@gullik.net>
2009 * buffer.C: remove unused using lyx::support::atoi
2010 * paragraph_funcs.C: ditto
2012 2004-11-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2014 * bufferlist.C (exists): use bind and equal_to instead of
2017 * lyxtextclasslist.C (NumberOfClass): ditto
2019 * cursor.C (insert): use for_each instead of explicit for loop
2021 * bufferlist.C (getFileNames): use std::transform and
2022 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
2024 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
2027 * buffer.C (changeLanguage): use for_each instead of explicit for
2029 (hasParWithID): implement using getParFromID
2031 * LaTeXFeatures.C: ws change only
2033 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
2036 * BufferView_pimpl.C (trackChanges): use for_each instead of
2039 2004-11-04 André Pönitz <poenitz@gmx.net>
2042 * undo.C (textUndoOrRedo): fix crash when creating undo information.
2044 * dociterator.C (asDocIterator): use hard assert again.
2046 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2048 * lyxlength.C (asLatexString): rewrite so that it does not use
2051 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2053 * text3.C (specialChar, dispatch): make sure cursor moves to the
2054 right after inserting an inset
2056 2004-11-02 José Matos <jamatos@lyx.org>
2058 * output_docbook.C (docbook):
2059 * paragraph.C (getID):
2060 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
2061 garantee that the output is always legal.
2063 * tabular.C (docbook):
2064 * outputprams.[Ch]: remove mixed contents.
2066 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2068 * text2.C (setCounter): prevent endless loop
2070 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2072 * exporter.C (copyFile): use the mover instead of support::copy()
2073 * exporter.C (Export): pass format and latex name to copyFile()
2074 * exporter.h (addExternalFile): document
2075 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
2077 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2079 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
2081 2004-10-30 José Matos <jamatos@lyx.org>
2083 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
2084 text and no inset or font change. This allows to use CDATA
2085 sections just for the whole paragraph.
2087 2004-10-30 José Matos <jamatos@lyx.org>
2089 * paragraph.C (getFirstWord): remove unused variable.
2091 2004-10-30 José Matos <jamatos@lyx.org>
2093 * paragraph.C (getFirstWord): the content should always be escaped
2095 (simpleDocBookOnePar):
2096 * output_docbook.C (makeEnvironment): replace reference to CDATA
2099 2004-10-30 José Matos <jamatos@lyx.org>
2101 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
2103 2004-10-30 José Matos <jamatos@lyx.org>
2105 * output_docbook.C (makeParagraphs):
2106 * paragraph.[Ch] (emptyTag): for docbook and company, if the
2107 standard paragraph has only a given type of content drop the wrapper.
2109 2004-10-29 José Matos <jamatos@lyx.org>
2111 * output_docbook.C (makeEnvironment):
2113 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
2115 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
2117 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
2118 (cleanID): sanitize any id.
2120 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2122 * buffer.C, lyxlex_pimpl.C:
2123 * lyxlex_pimpl.C (setFile):
2124 s/getExtFromContents/getFormatFromContents/
2126 2004-10-28 José Matos <jamatos@lyx.org>
2128 * output_docbook.C (makeEnvironment): move id to broadest possible
2131 * sgml.C (openTag): apply substitution of <> for all attributes.
2133 2004-10-28 José Matos <jamatos@lyx.org>
2135 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2136 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2137 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
2139 * sgml.[Ch]: new version for open and closeTag for paragraph and
2140 for strings. Now they handle the ids of paragraphs.
2142 2004-10-26 Angus Leeming <leeming@lyx.org>
2144 * Makefile.am: add mover.[Ch].
2146 * converter.C (convert, move): use the new Movers to move external
2147 files to the temp directory.
2149 * lyx_main.C (init): ensure that the global system_movers data
2152 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
2155 * mover.[Ch]: new files, defining a Mover as a utility to move an
2156 external file between directories and, if necessary, manipulate this
2157 file using a helper script.
2159 2004-10-25 José Matos <jamatos@lyx.org>
2161 * output_docbook.C (makeCommand): merge two if's that tested the
2164 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2166 * sgml.C (escapeString): fix warning in a better way
2168 2004-10-25 José Matos <jamatos@lyx.org>
2170 * sgml.C (escapeString): import the require boosts header file for
2171 tie, and avoid a signed unsigned comparison.
2173 2004-10-25 José Matos <jamatos@lyx.org>
2175 * sgml.h: add #include <string>
2177 2004-10-25 José Matos <jamatos@lyx.org>
2179 * sgml.[Ch] (escapeString): new function to escape all the string.
2181 2004-10-24 José Matos <jamatos@lyx.org>
2183 * paragraph.[Ch] (getFirstWord): new function to get the first
2184 word. Useful for description.
2185 (simpleDocBookOnePar): remove depth argument, add another that
2186 says where to start the paragraph.
2188 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2189 use the new functions to fix cleanly the support for descriptions.
2191 2004-10-24 José Matos <jamatos@lyx.org>
2193 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2194 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2195 * output_linuxdoc.C (linuxdocParagraphs):
2196 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
2197 add buffer as argument.
2199 2004-10-24 José Matos <jamatos@lyx.org>
2201 * output_docbook.C (makeEnvironment, searchEnvironment): place
2202 CDATA inside paragraphs and fix scope for listitems.
2204 2004-10-24 José Matos <jamatos@lyx.org>
2206 * output_docbook.C: remove using statement for stack.
2208 2004-10-23 José Matos <jamatos@lyx.org>
2210 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
2211 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
2212 docbook. The new scheme is recursive and makes use of iterators, the
2213 same as latex export works.
2214 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
2215 directly with the paragraph contents. This code was moved up to
2216 output_docbook.C (docbookParagraphs).
2217 * sgml.C (openTag, closeTag): removed unneeded newlines.
2218 (closeEnvTags) removed.
2220 2004-10-23 André Pönitz <poenitz@gmx.net>
2222 * undo.C (textUndoOrRedo):
2223 * dociterator.C (asDocIterator): work around crash
2225 * cursor.C (getStatus): replace ASSERT by more verbose error message
2226 and manual correction of the problem. Should increase stability
2227 while providing more sensible information.
2229 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2231 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
2233 * bufferlist.C (previous, next): new methods
2236 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
2238 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
2240 * buffer.C (makeDocBookFile): add dsssl stylesheet control
2241 entities to preamble.
2243 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2245 * messages.C (Pimpl): strip off translation context information
2247 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2249 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
2250 the cursor is correct (bug 1694)
2252 2004-10-13 José Matos <jamatos@lyx.org>
2254 * output_docbook.C (docbookParagraphs): fix closing tags in the
2255 end of the document.
2257 2004-10-09 José Matos <jamatos@lyx.org>
2259 * buffer.C: format up to 237.
2260 * bufferparams.C (write): use tostr to convert booleans to strings.
2262 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
2264 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
2266 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2268 * LaTeX.C: implement use of babel language in xindy.
2270 2004-10-05 José Matos <jamatos@lyx.org>
2272 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2273 Add new translators to help reading and writing the lyx file.
2275 2004-10-05 José Matos <jamatos@lyx.org>
2277 * ParagraphParameters.C (read):
2278 * text.C (readParToken): replace nexToken by more appropriate lex
2281 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
2283 * LaTeX.C (runMakeIndex):
2284 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2285 (usually 'makeindex') configurable.
2287 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2288 with a variable rather than with a number.
2290 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2292 * output_latex.C (TeXOnePar): make sure font setting is the first
2293 thing that gets output (and the last at the end). Should fix bug
2296 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2298 * pch.h: use proper signal include
2300 * LaTeX.h: Use preferred calling of Boost.Signal
2303 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2305 * pch.h: dont include <boost/function/function0.hpp>
2307 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2309 * paragraph_pimpl.h: remove usage of ShareContainer
2311 * paragraph_pimpl.C: remove initialization of ShareContainer.
2313 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2317 * BufferView.C (putSelectionAt): change the semantics when
2318 backwards == true: now, this just swaps cursor and anchor wrt the
2321 * BufferView.h (putSelectionAt): add some documentation
2323 * lyxfind.C (findBackwards): rewrite using while(). In particular,
2324 make sure backwardChar is done at least once (to avoid getting
2326 (findNextChange): use putSelectionAt in the forward direction
2327 (operator()): use Paragraph::isWord
2329 2004-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2331 * Spacing.C (set): c_str fix
2333 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2335 * lyx_cb.C (Reconfigure): quote the name of configure script in
2336 case it contains spaces
2338 2004-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2342 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2343 (BOOST_LIBS): use top_buildir when looking for the file
2345 2004-08-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2347 * pch.h: do not use include boost/format.hpp, multiple symbols
2348 will result (gcc bug)
2351 2004-08-23 José Matos <jamatos@lyx.org>
2353 * bufferparams.C (readToken): fix reading of the author field.
2355 2004-08-20 José Matos <jamatos@lyx.org>
2357 * lyxrc.C: remove support/translator.h inclusion since it is not used.
2359 2004-08-20 José Matos <jamatos@lyx.org>
2361 * lyxlex.[Ch] (findToken): remove function.
2363 * ParagraphParameters.C (findToken):
2364 * bufferparams.C (findToken): replace call for previous function
2365 with local copy. This local function has one more argument, the
2366 read string argument.
2368 2004-08-16 José Matos <jamatos@lyx.org>
2370 * ParagraphParameters.C (write):
2371 * Spacing.C (writeFile):
2372 * bufferparams.C (writeLaTeX):
2373 * lyx_cb.C (Reconfigure):
2374 * paragraph.C (write):
2375 * tabular.C (write): remove unnecessary space at end of line.
2378 2004-08-16 José Matos <jamatos@lyx.org>
2380 * text.C (readParagraph): remove debug message.
2382 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2384 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2387 * output_plaintext.C (asciiParagraph): set depth correctly
2389 * outputparams.h: add member depth
2391 * paragraph_funcs.C (ownerPar): remove.
2393 * text2.C (setCounter): remove first_pit; comment out some
2394 non-working code that uses ownerPar
2396 * BufferView.C (getParentLanguage): remove. Not used anymore, and
2399 2004-08-16 José Matos <jamatos@lyx.org>
2401 * text.C (readParToken, readParagraph, read): report all unknown tokens.
2402 For the same level of importance use the same chanel to report problems.
2403 (read): add code to deal with \begin_body and \end_body.
2406 2004-08-15 José Matos <jamatos@lyx.org>
2408 * lyxlex.C (getString): fix comment, buffer::readBody is now
2409 buffer:readDocument.
2411 * tex-strings.C (string_papersize): Default -> default,
2412 Custom -> custom, for consistency with other options.
2414 2004-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2418 * Makefile.am: support pch
2420 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2422 * text.C (readParToken): remove the static LyXFont variable and
2423 pass it as a parameter instead. This fixes a nasty bug where an
2424 inset will be inserted with a bad font in some situations
2425 (readParagraph): adapt
2427 * text2.C (setCounter): reduce number of calls to pars_[pit]
2429 * text.C (singleWidth): add an assert, fix a test
2431 * rowpainter.C (paintText): reduce number of calls to singleWidth
2433 * paragraph.C (isHfill):
2434 (isNewline): ws only
2436 2004-08-14 André Pönitz <poenitz@gmx.net>
2441 * lyxtext.h (several functions): use a Paragraph & argument
2444 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2446 * metricsinfo.h: add a new field ltr_pos to PainterInfo
2448 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2450 * text.C (singleWidth): remove useless test
2452 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2454 * tabular.h: remove bogus comments
2456 * tabular.C (getDescentOfRow):
2457 (isPartOfMultiColumn): add assertions
2459 * lyxlength.C (inPixels): remove #warning
2461 2004-08-14 André Pönitz <poenitz@gmx.net>
2463 * paragraph.h: inline getChar()
2465 * BufferView.h: remove unused declarations
2467 2004-08-14 José Matos <jamatos@lyx.org>
2469 * Buffer.[Ch] (readDocument): new name for old readBody.
2470 * Buffer.C: new file format, new keywords: \begin_document,
2471 \begin_header, \begin_body, \end_body.
2473 * bufferparams.C (readToken): replace all calls to lex.nextToken
2474 by lex.next(). Do the same to eatLine except where really needed.
2476 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2477 line when writing to the lyx file.
2479 * output_plaintext.C (asciiParagraph): fix Bibliography style
2482 * text.C (read): fix end of file handling.
2484 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2486 * MenuBackend.C (Menu::operator[]): new method to access
2487 individual menu items
2488 (Menu::hasFunc): new method. search for an item that corresponds
2490 (MenuBackend::specialMenu): new method
2491 (MenuBackend::expand): if a special menu has been set, skip
2492 entries whose func() appears in this menu
2494 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2496 * text3.C: use Debug::DEBUG a bit more
2498 * text.C (leftMargin): try to simplify a tiny bit change var x to
2499 l_margin. Dont output the wide margins always.
2500 (rightMargin): no margin in inner texts
2502 * rowpainter.h (nestMargin): new func
2503 (changebarMargin): new func
2504 (rightMargin): new func
2506 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2510 * factory.C (createInset): modify setDrawFrame
2512 * cursor.C: use Debug::DEBUG a bit more
2514 2004-08-14 André Pönitz <poenitz@gmx.net>
2517 * Makefile.am: new files to accomodate an 'external' (x,y)-position
2518 cache for all insets in (at least partially) visible (top-level)
2521 * BufferView_pimpl.C: reset external coord cache before every update.
2522 This means the coord cache only contains valid entries.
2524 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2527 * BufferView_pimpl.C (getInsetByCode): move function out of class
2528 and change in to a template in anon namespace. Also fix to do what
2531 2004-08-13 Lars Gullik Bjønnes <larsbj@lyx.org>
2534 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2536 (breakParagraph): rename par to par_offset and use a local
2537 reference. Add code to keep the language over a rebreak.
2538 (breakParagraphConservative): rename par to par_offset, use a
2540 (mergeParagraph): ditto
2542 (isFirstInSequence): ditto
2543 (outerFont): rename pit to par_offset
2545 * paragraph.C: ws change
2546 * paragraph.h: ditto
2550 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2552 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2555 * paragraph.C (simpleTeXOnePar): when we have a \item with
2556 optional argument, enclose the argument with curly brackets (in
2557 case it contains a closing square bracket)
2561 * text3.C (checkInsetHit): constify
2563 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2565 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2566 documents (bug 1629)
2568 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2570 Fix toggling of collapsable insets with the mouse (bug 1558)
2572 * lyxfunc.C (dispatch): adapt to LCursor changes
2574 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2575 make sure that dispatch is not invoked twice
2577 * cursor.C (needsUpdate): new method
2578 (dispatch): return void
2579 (result): new method, to access the DispatchResult of the cursor.
2581 2004-08-13 José Matos <jamatos@lyx.org>
2583 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2585 2004-08-13 André Pönitz <poenitz@gmx.net>
2587 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2589 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2592 2004-08-12 André Pönitz <poenitz@gmx.net>
2594 * text3.C: take out the 'cursor right' form insertInset and only
2595 do it in those places when it is really needed. Fixes crash on
2598 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2600 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2602 * BufferView_pimpl.C (setBuffer): initialize the current font of
2603 the underlying LyXText
2605 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2607 * kbsequence.C (print): use UI native formatting for menu
2610 * text.C (insertChar): call Paragraph::insertChar with a font
2613 * paragraph.C (insertInset, insertChar): the version that takes a
2614 LyXFont argument is now a wrapper around the other one (the
2615 opposite used to be true).
2617 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2618 argument. Font setting is done in Paragraph now.
2620 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2622 * outputparams.h: add new members intitle and lang.
2624 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2625 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2627 2004-08-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2629 * text3.C (dispatch): remove special handling of button 4 and 5,
2630 it is now taken care of in the frontend code.
2632 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2634 * Spacing.h: add <string> (STLPort compile fix)
2636 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2638 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2640 2004-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2642 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2645 * converter.C (showMessage): inherit from unary_function, make
2648 * buffer.C (writeFile): initialize retval
2650 * InsetList.h: rename private variable list to list_
2651 * InsetList.[Ch]: adjust accordingly.
2653 2004-07-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2655 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2656 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2657 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2658 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2659 * ParagraphParameters.C, LaTeXFeatures.C: replace
2660 "support/std_sstream.h" with <sstream>
2662 2004-07-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2664 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2665 * lyxsocket.C (LyXServerSocket): ditto
2666 (serverCallback): ditto
2668 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2670 * LaTeXFeatures.C: check release date when loading jurabib.
2672 2004-07-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2674 * lyxserver.C (startPipe): call register_socket_callback
2675 (endPipe): call unregister_socket_callback
2677 2004-07-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2679 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2680 (LyXServerSocket): register the callback
2681 (LyXServerSocket): unregister the callback
2682 (fd): delete function
2683 (serverCallback): improve error checking and setup the callbacks.
2684 (dataCallback): change arg to fd.
2685 (writeln): new func (copied fro the client socket) used for server
2687 (LyXDataSocket): simplify
2688 (~LyXDataSocket): close ann unregiser callback
2689 (server): delete function
2690 (fd): delete function
2691 (readln): small changes, improve some std::string usage
2692 (writeln): constify a bit
2694 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2696 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2699 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2701 * BufferView_pimpl.C (setBuffer): set the layout combox value only
2702 after it has been populated
2704 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2706 * text2.C (insertInset): move cursor when inserting inset.
2708 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2710 * kbmap.C (findbindings): a couple of new methods. returns a
2711 container of kb_sequence objects. The real work is done by the
2712 private recursive version
2713 (printbindings): uses findbindings to print out a bracketed list
2714 of bindings (renamed from findbinding).
2716 * MenuBackend.C (binding): use kb_keymap::findbindings
2718 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2720 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2722 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2724 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2726 * paragraph.C (isWord): return true on insets that report
2729 * text.C (getWord): use Paragraph::isWord to decide what is in a
2730 word and what is not; fix bug 1609.
2732 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2734 * tex-strings.C: add "none" to string_paperpackages[], fixes
2735 off-by-one-error in the paperpackage selection.
2738 * tex-strings.[Ch]: char const * string[n]
2739 -> char const * const string[]
2741 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2743 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2744 command, return early.
2746 2004-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
2748 * debug.h: add DEBUG to enum and fix size of ANY.
2750 * debug.C: add support for Debug::DEBUG
2751 (showTags): cast errorTags.level to unsigned int
2753 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2754 (redoCurrentBuffer): ditto
2755 (updateScrollbar): ditto
2756 * cursor.C (dispatch): ditto
2757 * text2.C (setLayout): ditto
2759 (updateCounters): ditto
2761 (deleteEmptyParagraphMechanism): ditto
2763 2004-06-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2765 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2766 annotations to cleanup the Makefile slightly.
2768 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2770 * lyxrc.C: do not set user_email to a default value but use empty
2771 instead. The entry used to be translated, which does not work
2772 since at the point where lyxrc is constructed there is no
2773 translation service available
2775 * messages.C (getLocaleDir): remove and use directly
2776 lyx_localedir() instead
2778 2004-06-02 Angus Leeming <leeming@lyx.org>
2780 Fix crash caused by dereferencing null pointer 'exportdata' in
2781 OutputParams by creating a new ExportData variable on the heap,
2782 storing it in a boost::shared_ptr.
2783 The crash was triggered when generating an Instant Preview
2784 of an external inset.
2786 * Makefile.am: add outputparams.C
2788 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2789 (c-tor): allocate memory to it.
2791 * exporter.C (c-tor): associated changes.
2793 2004-06-01 Angus Leeming <leeming@lyx.org>
2795 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2796 contains data before calling isInset(0). (Bug 1513.)
2798 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2800 * exporter.C (checkOverwrite): new method
2801 * exporter.C (copyFile): new method
2802 * exporter.C (Export): copy referenced files to the document dir
2803 * exporter.[Ch]: new class ExportedFile
2804 * exporter.[Ch]: new class ExportData. Contains currently the
2805 names of referenced external files
2806 * outputparams.h: add exportdata member.
2808 2004-05-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2810 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2813 2004-05-19 Angus Leeming <leeming@lyx.org>
2818 * lyxfunc.C: small changes due to the introduction of namespace
2819 lyx::frontend and the moving of namespace biblio to lyx::biblio.
2821 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
2823 * text3.C (dispatch): supress update when only moving the cursor
2824 * cursor.C (selHandle): remove commented code
2826 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2828 * paragraph.C (startTeXParParams): correct column count
2829 * CutAndPaste.C (pasteSelection): remove const_cast
2830 * output_docbook.C (docbookParagraphs): remove const_cast
2831 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2832 const_cast and return ParagraphList::const_iterator
2833 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2834 * output_plaintext.C (writeFileAscii): remove const_cast
2835 * paragraph.[Ch] (simpleTeXOnePar): make const
2836 * paragraph_funcs.C (outerPar): use const iterators
2837 * paragraph_pimpl.C (validate): use const iterators
2838 * text.C (setHeightOfRow): use const iterators
2840 2004-05-17 Angus Leeming <leeming@lyx.org>
2843 * LyXAction.C (init): new LFUN_INSET_REFRESH.
2845 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2846 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2847 if the citation engine has changed.
2849 2004-05-14 José Matos <jamatos@lyx.org>
2851 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2852 if the textclass does not provide it. Have it different for sgml and
2854 support the language of document.
2855 * output_docbook.C (docbookParagraphs):
2856 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2857 first anchor as the id of the paragraph, remove special case code.
2858 * sgml.C (escapeChar): escape only < & >.
2860 2004-05-14 Angus Leeming <leeming@lyx.org>
2862 * bufferparams.h: move biblio::CiteEngine enum here to minimize
2863 dependencies on src/frontends/controllers/biblio.h. Define a
2864 CiteEngine_enum wrapper class to enable the enum to be forward
2867 2004-05-12 Angus Leeming <leeming@lyx.org>
2869 * buffer.C: up LYX_FORMAT to 234.
2870 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2871 use_numerical_citations with a single biblio::CiteEngine cite_engine
2873 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2875 2004-05-13 José Matos <jamatos@lyx.org>
2878 * converter.C (Converter, readFlags): add xml member.
2879 * outputparams.h: add XML flavor.
2880 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2882 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2884 * lyxfunc.C (dispatch):
2885 (getStatus): fix handling of LFUN_SEQUENCE
2887 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2889 * debug.C (showLevel): do not forget the end-of-line marker
2891 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2893 * kbmap.C (read): do not stop parsing a bind file when an error
2896 2004-04-29 Angus Leeming <leeming@lyx.org>
2901 * text2.C: wrap a bunch of #warning statements
2902 inside #ifdef WITH_WARNINGS blocks.
2904 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2906 * buffer.C: increment format to 233.
2908 2004-04-28 Angus Leeming <leeming@lyx.org>
2910 * BufferView_pimpl.C:
2913 s/updateToolbar()/updateToolbars()/
2914 s/Toolbar.h/Toolbars.h/
2916 2004-04-28 Angus Leeming <leeming@lyx.org>
2918 * BufferView.[Ch] (c-tor):
2919 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2920 No longer passes these data to the WorkArea generator.
2922 2004-04-28 Angus Leeming <leeming@lyx.org>
2924 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2926 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2928 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2930 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2932 * output_latex.C (TeXEnvironment): make sure that there is a line
2933 break before \end{foo} for the last paragraph of a document
2934 (TeXOnePar): if the paragraph is at the end of the document (or
2935 inset) and the language has to be reset, then make sure that the
2936 line break is _before_ the language command, not after (fixes bug
2937 1225); also make sure that the language reset command is the first
2938 thing after the paragraph (to ensure proper nesting of
2939 environments and thus fix bug 1404)
2941 2004-04-21 John Levon <levon@movementarian.org>
2944 * ToolbarBackend.C: make "name" be a programmatic name
2945 and a gui_name field.
2947 * lyxfunc.C: display the minibuffer on M-x
2949 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2951 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
2954 2004-04-19 Angus Leeming <leeming@lyx.org>
2956 * BufferView_pimpl.C (setBuffer): changed preview interface.
2958 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2961 2004-04-19 John Levon <levon@movementarian.org>
2963 * BufferView_pimpl.C:
2964 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2966 2004-04-05 Angus Leeming <leeming@lyx.org>
2968 * text.C (redoParagraphs): add call to updateCounters(), thereby
2969 fixing the missing "Figure #:" label from the caption of a
2972 2004-04-13 Angus Leeming <leeming@lyx.org>
2974 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2975 cursor is clicked out of an inset.
2977 2004-04-13 Angus Leeming <leeming@lyx.org>
2979 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2980 than an InsetOld one.
2982 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2984 * format.[Ch]: add editor to Format
2985 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2986 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2988 2004-04-08 André Pönitz <poenitz@gmx.net>
2990 * metricsinfo.h: remove PainterInfo::width member
2992 2004-04-08 Angus Leeming <leeming@lyx.org>
2994 * lyx_sty.C (boldsymbol_def): modify so that it outputs
2995 "\providecommand" rather than "\newcommand", thereby preventing
2996 clashes with packages that define "\boldsymbol" themselves.
2999 2004-04-08 Angus Leeming <leeming@lyx.org>
3001 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
3002 thereby squashing an unnecessary warning.
3004 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3006 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
3009 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
3011 * BufferView.C (setCursor): call redoParagraph (some insets could
3013 (putSelectionAt): remove the 'double update' trick
3015 * BufferView_pimpl.C (fitCursor): call refreshPar
3016 (workAreaDispatch): remove an uneeded update call
3017 (dispatch): remove some manual update calls
3019 * cursor.[Ch]: remove cached_y_, updatePos
3020 (selHandle): set noUpdate when appropriate
3022 * lyxfunc.C (dispatch): track if we need an update
3024 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
3026 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
3027 (paintSelection): cheap optimization, do not call cursorX when not
3029 (paintPars): change signature
3032 (paintTextInset): adjust
3036 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3038 * lengthcommon.C: compilation fix: remove explicit array size from
3039 unit_name[] and friends
3041 2004-04-05 Angus Leeming <leeming@lyx.org>
3043 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
3045 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
3046 present only for the preferences dialog.
3047 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
3049 2004-04-05 Angus Leeming <leeming@lyx.org>
3051 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
3052 to enable the frontends to export changes to lyxrc correctly.
3054 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
3056 2004-04-07 André Pönitz <poenitz@gmx.net>
3058 * cursor.[Ch] (selClear, adjust): remove math
3060 * cursor_slice.C: more agressive assert
3063 * BufferView_pimpl.C: rework mouse event dispatch
3070 2004-04-05 André Pönitz <poenitz@gmx.net>
3072 * cursor.[Ch] (valign, halign...): remove unneeded functions
3074 2004-04-05 Angus Leeming <leeming@lyx.org>
3076 * lyxlength.[Ch] (unit_name et al.): const-correct.
3078 2004-04-05 Angus Leeming <leeming@lyx.org>
3080 * BufferView_pimpl.C:
3089 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
3091 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3093 * text3.C (getStatus): add LFUN_BEGINNINGBUF
3095 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3097 * lyxfind.C: add a couple of inTexted() tests + other small fixes
3098 * BufferView_pimpl.[Ch] (getStatus)
3099 * BufferView.[Ch] (getStatus): add
3100 * lyxfunc.C (getStatus): move lfuns handled in
3101 BufferView::dispatch to te function above
3102 * Cursor.C (setSelection): set selection() = true
3104 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3106 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
3108 2004-03-31 Angus Leeming <leeming@lyx.org>
3110 * lyxfunc.C (dispatch): Fall through to the generic
3111 Dialogs::show("preamble").
3113 2004-03-31 Angus Leeming <leeming@lyx.org>
3115 * lyxfunc.C (dispatch): Fall through to the generic
3116 Dialogs::show("spellchecker").
3118 2004-03-31 Angus Leeming <leeming@lyx.org>
3120 * lyxfunc.C (getStatus, dispatch): changed invocation of the
3123 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
3128 * insetiterator.[Ch]:
3133 * undo.[Ch]: s/DocumentIterator/DocIterator/g
3135 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
3137 * BufferView.C (setCursor, putSelectionAt): call edit to open the
3138 insets where we are putting the cursor.
3140 2004-03-31 Angus Leeming <leeming@lyx.org>
3143 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
3145 * lyxrc.[Ch] (read, write): overloaded member functions taking
3146 a std::[io]stream arguments.
3148 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
3150 2004-03-31 Angus Leeming <leeming@lyx.org>
3152 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
3153 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
3155 * lyxtextclass.C (load): if the text class couldn't be loaded, then
3156 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
3158 2004-03-31 Angus Leeming <leeming@lyx.org>
3160 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
3161 the LFUN_ALL_INSETS_TOGGLE code.
3163 2004-03-30 Angus Leeming <leeming@lyx.org>
3165 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
3166 has died. Fall through to the generic Dialogs::show("document").
3168 2004-03-30 Angus Leeming <leeming@lyx.org>
3171 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
3172 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
3174 * lyxfunc.C (getStatus, dispatch): define the actions for these
3175 lfuns. Little more than a cut and pste job from ControlDocument.C
3177 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
3179 2004-03-30 Angus Leeming <leeming@lyx.org>
3182 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
3183 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
3185 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
3186 open/closed state of ollapsable insets. Usage:
3188 all-inset-toggle <state> <name>, where
3189 <state> == "open" || "closed" || "toggle" and
3190 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
3192 * lyxtext.h, text2.C (toggleInset): removed.
3194 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
3195 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
3196 now passes LFUN_INSET_TOGGLE to the found inset.
3198 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
3199 is now invoked as "all-insets-toggle toggle branch".
3201 2004-03-30 Angus Leeming <leeming@lyx.org>
3205 * pariterator.[Ch]: added/corrected header blurb.
3207 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
3209 * dociterator.[Ch]: add an inset_ member
3210 (backwardPos): implemented
3211 (backwardPos, forwardPos): use inset_ when the stack is empty.
3212 (doc_iterator_begin, doc_iterator_end): implemented
3213 * pariterator.[Ch]: adjust, add begin, end
3214 * insetiterator.[Ch]: adjust, add begin, end
3218 * BufferView_pimpl.C:
3219 * CutAndPaste.C: adjust
3221 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3223 * buffer.C: increment file format to 232.
3224 * LaTeXFeatures.C: add bibtopic package.
3225 * bufferparams.[Ch]: param \use_bibtopic.
3227 * lyxrc.[Ch]: add lyxrc bibtex_command
3228 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
3230 * buffer.C: increment file format to 231.
3232 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
3234 * dociterator.C: implement forwardPar
3235 * iterators.[Ch]: remove, replaced by
3236 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
3238 * BufferView_pimpl.C:
3241 * bufferview_funcs.C:
3247 * Makefile.am: adjust
3249 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
3251 * CutAndPaste.C (pasteSelection): fix 2 crashes
3252 (eraseSelection): fix a crash
3253 * paragraph_funcs.C: remove a warning
3255 2004-03-28 Angus Leeming <leeming@lyx.org>
3258 * LyXAction.C (init): new LFUN_PRINT.
3260 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
3262 2004-03-27 Angus Leeming <leeming@lyx.org>
3265 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
3267 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
3269 2004-03-27 Angus Leeming <leeming@lyx.org>
3271 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
3272 insetlist always contains non-null pointers to insets.
3274 2004-03-26 Angus Leeming <leeming@lyx.org>
3276 * src/BufferView_pimpl.C:
3277 * src/CutAndPaste.C:
3280 * src/output_plaintext.C:
3281 * src/outputparams.h:
3282 * src/paragraph_funcs.C:
3286 * src/frontends/controllers/ControlErrorList.C:
3287 * src/frontends/gtk/FileDialogPrivate.C:
3288 * src/frontends/gtk/GPainter.C:
3289 * src/frontends/gtk/GToolbar.C:
3290 * src/frontends/qt2/QRef.C:
3291 * src/mathed/math_scriptinset.C: squash compiler warnings.
3293 2004-03-26 Angus Leeming <leeming@lyx.org>
3295 * ispell.C (LaunchIspell::start):
3296 * lyx_cb.C (AutoSaveBuffer::start):
3297 invoke run(DontWait) rather than runNonBlocking().
3299 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
3301 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3303 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3305 * kbsequence.C (print): adjust
3307 * kbmap.C (printKeySym): rename and change signature
3308 (printKey): use LyXKeySym::print()
3310 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
3312 * undo.C: add using std::advance to compile for stlport
3314 2004-03-24 Angus Leeming <leeming@lyx.org>
3316 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3317 it leads to a crash when no buffer is present.
3319 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3320 Martin Vermeer <martin.vermeer@hut.fi>
3322 * lyxfunc.C (dispatch):
3323 * bufferparams.C (readToken): use the new LColor::setColor
3325 * LColor.[Ch] (setColor): new version that takes two strings as
3326 argument and creates a new color entry if necessary
3328 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3330 * buffer.C (makeLaTeXFile): if the main latex file that is
3331 processed is usually a subdocument of some master, then pretend
3332 for a while that it is actually the master
3334 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3336 * buffer.C (getLabelList):
3337 (getBibkeyList): use getMasterBuffer()
3338 (getMasterBuffer): new method. Returns the main document in the
3339 case where one is using included documents.
3341 2004-03-25 André Pönitz <poenitz@gmx.net>
3345 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3347 * ParagraphList_fwd.h: change ParagraphList to a std::vector
3349 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3350 text*.C over here. Rename namespace CutAndPaste to lyx::cap
3352 * ParameterStruct.h: merge with ParagraphParameters
3354 * lyxtext.h: remove LyXText::parOffset() and getPar()
3356 * text3.C: Remove all 'manual' update calls. We do now one per user
3357 interaction which is completely sufficient.
3361 * BufferView_pimpl.C:
3362 * FontIterator.[Ch]:
3364 * ParagraphParameters.[Ch]:
3369 * cursor_slice.[Ch]:
3376 * output_docbook.[Ch]:
3377 * output_latex.[Ch]:
3378 * output_linuxdoc.[Ch]:
3379 * output_plaintext.[Ch]:
3381 * paragraph_funcs.[Ch]:
3382 * paragraph_pimpl.[Ch]:
3390 * frontends/controllers/ControlDocument.C:
3391 * frontends/controllers/ControlErrorList.C:
3392 * frontends/controllers/ControlSpellchecker.C:
3395 * insets/insetbase.h:
3396 * insets/insetbibitem.C:
3397 * insets/insetbox.C:
3398 * insets/insetbranch.C:
3399 * insets/insetcaption.C:
3400 * insets/insetcharstyle.C:
3401 * insets/insetcharstyle.h:
3402 * insets/insetcollapsable.C:
3403 * insets/insetcollapsable.h:
3404 * insets/insetert.C:
3405 * insets/insetfloat.C:
3406 * insets/insetfoot.C:
3407 * insets/insetmarginal.C:
3408 * insets/insetnote.C:
3409 * insets/insetoptarg.C:
3410 * insets/insettabular.C:
3411 * insets/insettext.C:
3412 * insets/insettext.h:
3413 * insets/insetwrap.C:
3414 * mathed/math_mboxinset.C:
3415 * mathed/math_nestinset.C:
3416 * mathed/math_scriptinset.C:
3417 * mathed/math_scriptinset.h:
3420 2004-03-24 Angus Leeming <leeming@lyx.org>
3422 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3423 deal with any child processes that have finished but are waiting to
3424 communicate this fact to the rest of LyX.
3426 2004-03-24 Angus Leeming <leeming@lyx.org>
3428 64-bit compile fixes.
3430 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3431 (c-tor): pass lyx::pos_types rather than ints.
3433 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3436 * text.C (Delete): compile fix.
3437 (getPar): ensure that function declaration is the same as that in
3440 2004-03-23 Angus Leeming <leeming@lyx.org>
3442 * ispell.C (LaunchIspell):
3443 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3444 a boost::shred_ptr rather than a std::auto_ptr.
3446 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3448 * lyxfunc.C (getStatus): handle read-only buffers correctly;
3449 handle LFUN_FILE_INSERT_*
3451 * lyxrc.C (setDefaults, getDescription, output, read):
3452 * lyxrc.h: remove ps_command
3454 2004-03-22 Angus Leeming <leeming@lyx.org>
3456 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3457 Ensure that error_handler is processed once only and that all data
3458 is saved before attempting to output any warning messages.
3460 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3462 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
3464 * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3466 2004-03-19 André Pönitz <poenitz@gmx.net>
3468 * cursor.[Ch] (reset): take main text inset as argument
3470 * BufferView: adjust
3471 * BufferView_pimpl.C: adjust
3473 * paragraph.[Ch]: fix completely broken operator=()
3475 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3477 * LColor.C (getFromLyXName): make sure that the color name is used
3480 2004-03-17 Angus Leeming <leeming@lyx.org>
3483 * LyXAction.C (init): remove LFUN_FORKS_KILL.
3485 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3486 dialog and to kill a forked process.
3488 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3490 * text2.C (setCursorFromCoordinates): fix font problem
3492 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3494 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3495 bogus "rebuild cursor" code
3497 2004-03-11 André Pönitz <poenitz@gmx.net>
3499 * buffer.[Ch]: use InsetText instead of LyXText as container for
3502 * dociterator.[Ch]: drop the BufferView * member which is not needed
3503 anymore after the change to buffer.C
3505 * paragraph_funcs.C:
3509 * BufferView_pimpl.[Ch]:
3511 * cursor_slice.[Ch]: adjust
3513 * text3.C: fix bug in mathDispatch
3515 2004-03-08 André Pönitz <poenitz@gmx.net>
3517 * undo.[Ch]: use 'StableDocumentIterator' as base for
3520 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3523 * bufferparams.[Ch]: add jurabib support and param.
3525 * LaTeX.C: add FIXME/comment.
3527 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3529 * buffer.C: increment file format to 230.
3531 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
3533 * cursor.C (dispatch): avoid infinite loops
3535 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3537 * rowpainter.C (paintSelection): fix x coordinates
3539 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3541 * text.C (rowBreakPoint): fix breaking before displayed insets
3543 2004-03-01 André Pönitz <poenitz@gmx.net>
3545 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3547 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3551 * BufferView_pimpl.C:
3559 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3565 * BufferView_pimpl.C: rename textwidth -> maxwidth,
3566 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3568 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3570 * Bidi.[Ch] (computeTables): const correctness
3571 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3572 fill_hfill, fill_label_hfill and x from Row
3573 * lyxtext.h: prepareToPrint returns a RowMetrics
3574 * rowPainter.C: adjust
3575 * text.C (prepareToPrint): use width, not textWidth. adjust
3576 (redoParagraphInternal, cursorX): adjust
3577 * text2.C (getColumnNearX): adjust
3578 (init): put a default value to the top LyXText::width
3580 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3582 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3584 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3586 * lyxtext.h: add FontIterator class
3588 * text.C (FontIterator, operator*, operator->, operator++): add
3589 (rowBreakPoint, setRowWidth): adjust (fixing a
3592 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3594 * BufferView_pimpl.C (workAreaDispatch): allow also
3595 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3597 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
3599 * text.C (rowBreakPoint): fix a bug showing with very large insets
3601 2004-02-25 André Pönitz <poenitz@gmx.net>
3604 * cursor.[Ch]: move some mathed specific code to mathed
3606 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3608 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3609 use_tempdir in preferences
3610 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3612 * lyx_main.C: ensure that tempdir is valid
3613 * lyxlex.h: correct typo
3614 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3615 * paragraph.[Ch] (isMultiLingual): make const
3616 * cursor.[Ch] (openable): make const
3618 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3620 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3622 2004-02-20 André Pönitz <poenitz@gmx.net>
3624 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3626 * cursor.[Ch]: prepare for localized getStatus()
3632 * text3.C: streamlines the LyXText cursor movement handlers a bit.
3634 2004-02-20 André Pönitz <poenitz@gmx.net>
3636 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3638 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3640 * text2.C (setCursorFromCoordinates): switch to absolute coords
3642 (cursorDown): adjust
3643 * text3.C (dispatch): adjust
3645 2004-02-16 André Pönitz <poenitz@gmx.net>
3647 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3650 * cursor_slice.[Ch]: remove unneeded acessor function
3652 * lyxtext.h: rename rtl() to isRTL()
3660 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3662 * rowpainter.C (paintSelection): coord fix
3664 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3666 * Spacing.C: compile fix
3668 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3670 * cursor.C (dispatch): restore current_ before returning
3672 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3674 * text2.C (cursorUp, cursorDown): fix coords
3677 2004-02-12 André Pönitz <poenitz@gmx.net>
3682 * text3.C: add LCursor & parameter to most cursor movement functions
3683 remove usage of LyXText::cursorRow() and cursorPar()
3685 * cursor.[Ch]: add textRow() needed members
3688 * BufferView_pimpl.C:
3691 * BufferView_pimpl.C: adjust
3693 2004-02-11 André Pönitz <poenitz@gmx.net>
3697 * BufferView_pimpl.C: shift undo/redo handling
3699 * cursor.[Ch]: fix mathed crash
3702 * lyxtext.h: move selectionAsText to LCursor
3710 * rowpainter.C: fix excessive drawing
3712 2004-02-06 André Pönitz <poenitz@gmx.net>
3715 * BufferView_pimpl.[Ch]:
3716 * text3.C: move some text specific LFUN handling
3718 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
3720 * text3.C (checkInsetHit): adjust coords
3721 * text2.C (getColumnNearX): adjust coords
3722 (edit): adjust coords
3723 * text.C (getRowNearY): add two asserts
3725 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
3728 * format.C: add using std::distance to compile on gcc 2.95/stlport
3730 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
3732 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3734 2004-02-04 André Pönitz <poenitz@gmx.net>
3736 * BufferView.[Ch] (insertInset):
3737 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3742 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3744 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3745 on the default clause of the switch
3746 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3747 wasn't catched by LCursor::dispatch
3749 2004-02-03 André Pönitz <poenitz@gmx.net>
3752 * cursor.[Ch]: some additional asserts
3754 * undo.[Ch]: remove LyXText dependency in interface
3758 * lyxtext.h (firstPar, lastPar): remove dead functions
3763 * paragraph.[Ch]: adjust
3765 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3767 * lyxfind.C (find): fix argument order in call to ::find
3769 2004-02-02 André Pönitz <poenitz@gmx.net>
3771 * cursor.[Ch]: remove direct access to anchor
3773 * text.C: remove findText() hack
3775 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3777 * iterators.[Ch] (lockPath): remove in favour of...
3778 * BufferView.[Ch] (setCursor): this addition
3779 * BufferView.C (putSelectionAt): adjust
3780 * undo.C (performUndoOrRedo): adjust
3781 * lyxfunc.C (dispatch): adjust
3783 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3785 * iterators.C (lockPath): add a missing slice
3786 * undo.C (performUndoOrRedo): remove redundant positioning code
3788 2004-02-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3790 * vc-backend.C (scanMaster): ";" -> ';'
3792 2004-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
3794 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3795 std::binary_function
3797 * lyxtextclass.C (compare_name): rename to...
3798 (LayoutNamesEqual): ...this
3800 * lyxlex_pimpl.C (compare_tags): inherit from
3801 std::binary_function, put back into anon namespace
3803 * lyxfind.C (MatchString): inherig from std::binary_function
3804 (findChange): use empty() istead of !size()
3806 * format.C (FormatNamesEqual): new functor
3813 * converter.C (compare_Converter): rename to...
3814 (ConverterEqual): ...this, and fixup a bit.
3815 (getConverter): use it, and make function const
3816 (getNumber): use it, and make function const
3820 * bufferlist.C: add using boost::bind
3822 * MenuBackend.C (MenuNamesEqual): new functor
3823 (hasMenu): use it, and make function const
3824 (hasSubmenu): use nested bind to get rid of compare_memfun.
3826 2004-01-30 André Pönitz <poenitz@gmx.net>
3828 * BufferView_pimpl.C:
3831 * cursor_slice.[Ch]:
3834 * paragraph_funcs.C:
3835 * paragraph_funcs.h:
3839 * text3.C: move some of the edit(x,y) handling to the insets
3840 some coordinate changes.
3842 2004-01-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3844 * text.C: add using statements for std::advance and std::distance
3846 * paragraph.C: add using statement for std::distance
3848 * lyxfind.C: add using statement for std::advance
3850 * cursor.C (region): remove std:: from swap
3851 (openable): use nucleus in stead of operator->
3853 * BufferView.C: add using statements for std::distance and std::swap
3855 2004-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3857 * iterators.C: Remove the pimple, move the needed structures to
3858 the header file. Create accessor for the positions stack.
3859 (asPosIterator): remove function
3861 * PosIterator.C (PosIterator): move constructors to top of file
3862 (PosIterator): reimplement the constructor taking a ParIterator in
3864 (setFrom): new function
3865 (operator!=): inline it
3867 2004-01-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3869 * lyxfind.C (replaceAll): use std::advance
3871 * iterators.h: inherit from std::iterator.
3873 * PosIterator.C (advance, distance): remove
3874 * PosIterator.h: interit from std::iterator.
3876 2004-01-26 André Pönitz <poenitz@gmx.net>
3879 * BufferView_pimpl.[Ch]:
3883 * bufferview_funcs.C:
3893 * output_linuxdoc.C:
3894 * output_plaintext.C:
3896 * paragraph_funcs.[Ch]:
3897 * paragraph_pimpl.[Ch]:
3903 * text3.C: more IU: dumps most of the rest of the mathcursor
3904 implementation into cursor.[Ch]; "globalize" a bit of it.
3906 2004-01-25 Angus Leeming <leeming@lyx.org>
3908 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3910 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3912 * LaTeXFeatures.h: add nice_ and nice() const
3913 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3915 2004-01-20 André Pönitz <poenitz@gmx.net>
3918 * BufferView_pimpl.C:
3920 * bufferview_funcs.C:
3922 * cursor_slice.[Ch]:
3933 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3934 LCursor and mathcursor parts to LCursor and InsetBase.
3936 2004-01-15 André Pönitz <poenitz@gmx.net>
3938 * cursor_slice.[Ch]: add a few covienience functions
3940 * funcrequest.[Ch]: remove BufferView * member
3942 * BufferView_pimpl.C:
3949 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
3951 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
3953 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
3954 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3956 2004-01-13 André Pönitz <poenitz@gmx.net>
3959 * lyxtext.h: hide cursor and selection anchor behind accessor function
3962 * BufferView_pimpl.[Ch]:
3964 * bufferview_funcs.C:
3974 * cursor_slice.[Ch]: some integer type changes for inset unification
3976 * lyxcursor.[hC]: remove, it's CursorSlice now.
3979 * BufferView_pimpl.[Ch]:
3980 * bufferview_funcs.C:
3986 * textcursor.[Ch]: adjust
3988 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
3990 * text2.C (undoSpan): add and use
3991 * text.C (breakParagraph): use undoSpan (fix bug 578)
3994 2004-01-08 Angus Leeming <leeming@lyx.org>
3996 * BufferView_pimpl.C (MenuInsertLyXFile):
3997 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3998 * lyxfunc.C (menuNew, open, doImport):
3999 FileFilterList change to the FileDialog open and save functions.
4001 2004-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
4003 * ShareContainer.h: make isEqual and isUnique adaptable
4005 * CutAndPaste.C: make resetOwnerAndChanges adaptable
4007 2004-01-07 Angus Leeming <leeming@lyx.org>
4010 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
4012 * BufferView_pimpl.C (dispatch): act on these LFUNs.
4014 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
4015 functions replacing find, replace and replaceAll.
4017 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
4018 LFUN_WORDFIND(FORWARD|BACKWARD).
4020 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
4022 * text.C (breakParagraph): remove an outdated #warning
4024 2004-01-07 André Pönitz <poenitz@gmx.net>
4026 * lyxfind.C: somewhat clearer logic
4028 * text.C: prevent crash in cursorX on unitialized row cache
4030 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
4032 * lyxcursor.[Ch] (operator>): add
4033 * textcursor.C (selStart, selEnd): use std::min and std::max
4035 2004-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4037 * Chktex.C: include boost/format.hpp
4039 2004-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
4041 * InsetList.C: replace functor MathcIt with adaptable functor
4043 (insetIterator): modify accordingly
4045 * BranchList.h: move the BranchNamesEqual functor here from...
4046 * BranchList.C: ... to here
4048 * BranchList.C: new BranchListEqual fuctor, use it. Remove
4050 (add): replace a finding loop with std::find_if.
4052 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
4054 * output_docbook.C: moving LatexParam functionality into
4057 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4059 * buffer.C: increment format to 229.
4061 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
4064 * lyx_sty.[Ch]: remove minipageindent_def
4070 * text3.C: remove LFUN_INSET_MINIPAGE
4072 2003-12-28 Angus Leeming <leeming@lyx.org>
4074 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
4076 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
4078 * text2.C (setParagraph): fix off-by-one crash
4080 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
4082 * output_docbook.C: header stuff for AGU
4084 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
4086 * text2.C (redoCursor): remove
4089 * BufferView_pimpl.C: remove calls to redoCursor and
4090 setCursor(cursor.par(), cursor.pos()) all around
4092 2003-12-15 Angus Leeming <leeming@lyx.org>
4094 * buffer.C: up the format to 228.
4096 2003-12-15 André Pönitz <poenitz@gmx.net>
4098 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
4103 * BufferView_pimpl.C:
4112 2003-12-15 Angus Leeming <leeming@lyx.org>
4114 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
4115 than getFromGUIName to manipulate the color.
4117 2003-12-14 Angus Leeming <leeming@lyx.org>
4119 * BranchList.[Ch]: minimize the API.
4120 (Branch::getBranch, getColor): now return a 'const &'.
4121 (Branch::setSelected) now returns a bool set to true if the
4122 selection status changes.
4123 (BranchList::clear, size, getColor, setColor, setSelected,
4124 allBranches, allSelected, separator): removed.
4125 (BranchList::find): new functions, returning the Branch with
4127 (BranchList::add, remove): return a bool indicating that
4128 the operation was successful.
4130 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
4131 new InsetBranch::isBranchSlected member function.
4133 * LColor.[Ch]: mimimize the API.
4134 (fill): renamed as addColor and made private.
4135 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
4136 versions of these functions taking a string arg have been removed.
4138 * bufferparams.C (readToken):
4139 * lyxfunc.C (dispatch):
4140 * lyxrc.C (read): changes due to the altered BranchList and
4143 * factory.C (createInset, readInset): changes due to altered
4146 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4149 * lyxfunc.C: remove insetminipage. "minipage-insert"
4150 now produces a frameless minipage box inset.
4152 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4154 * textcursor.[Ch] (selStart,selEnd): add new methods
4155 remove selection::start, end, use LyXCursor::operator<
4156 * lyxcursor.[Ch] (operator<): add
4157 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
4158 * BufferView.[Ch] (unsetXSel): add
4159 * text2.C (clearSelection): use unsetXSel,adjust
4162 * rowpainter.C: adjust
4163 * bufferview_funcs.C (put_selection_at): adjust
4165 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4167 * BufferView_pimpl.C: small coord. correction
4169 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4171 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
4172 dragging over the splash screen.
4174 2003-12-11 Angus Leeming <leeming@lyx.org>
4176 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
4177 as it is now handled in LyXText::dispatch.
4179 * text3.C (doInsertInset): remove a level of nesting.
4181 2003-12-11 Angus Leeming <leeming@lyx.org>
4183 * factory.C (createInset): changes due to the changed interface to
4184 InsetCommandMailer::string2params.
4186 2003-12-10 Angus Leeming <leeming@lyx.org>
4188 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
4189 'dialog-show-new-inset <inset name>'
4191 2003-12-10 Angus Leeming <leeming@lyx.org>
4193 * buffer.C: up the format to 227.
4195 * factory.C: the box inset is now identified simply by 'Box'.
4197 2003-12-10 Angus Leeming <leeming@lyx.org>
4199 * buffer.C: up the format to 226.
4201 * factory.C: the note inset is now identified simply by 'Note'.
4203 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
4205 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
4206 when a pit is enough. Standarize a couple of loops.
4208 2003-12-05 Angus Leeming <leeming@lyx.org>
4210 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
4211 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
4212 data to the re-worked "log" dialog.
4214 2003-12-03 André Pönitz <poenitz@gmx.net>
4220 * paragraph_funcs.C:
4222 * text2.C: use Inset::getText instead of Inset::getParagraph
4224 2003-12-03 André Pönitz <poenitz@gmx.net>
4228 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
4229 InsetText::read() as LyXText::read()
4231 2003-12-02 Angus Leeming <leeming@lyx.org>
4233 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
4234 type. Add a comment in the implementation that the function uses
4235 the stream's bad() function rather than fail() as the std::streams
4238 2003-12-02 André Pönitz <poenitz@gmx.net>
4240 * lyxlex.[Ch]: make interface more similar to std::stream
4242 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
4244 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
4246 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
4248 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
4250 * vspace.[Ch]: remove VSpace::NONE
4252 2003-12-01 André Pönitz <poenitz@gmx.net>
4255 * lyxtext.h: move ParagraphList member to LyXText
4256 rename LyXText::ownerParagraphs to LyXText::paragraph
4259 * bufferview_funcs.C:
4269 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
4271 * undo.C: fix cursor positioning
4273 2003-12-01 John Levon <levon@movementarian.org>
4275 * BufferView_pimpl.C: fix a crash on exit with
4278 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
4280 * BranchList.C: fix setSelected() method.
4282 2003-11-28 André Pönitz <poenitz@gmx.net>
4284 * ParagraphParameters.[Ch]:
4285 * ParameterStruct.h: remove space above/below from Paragraph to
4288 * BufferView_pimpl.C:
4294 * paragraph_funcs.C:
4300 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
4302 * factory.C: Syntax change for CharStyles
4304 2003-11-28 André Pönitz <poenitz@gmx.net>
4309 * buffer.[Ch]: move LyXText member
4311 2003-11-28 André Pönitz <poenitz@gmx.net>
4313 * BufferView.[Ch]: make LyXText * text a private member
4315 * BufferView_pimpl.C:
4326 * output_plaintext.C: cleanup
4328 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
4331 * lyxtextclass.[Ch]: parametrize SGML document header
4333 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
4336 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4339 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
4341 * text2.C (setFont): rework using PosIterator (no more recursive)
4342 (setCharFont): no more needed
4343 (setLayout): no more selection cursors fiddling (done by redoCursor)
4344 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4345 destroy remaining ones)
4347 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
4349 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4351 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4354 * text3.C: adjust + re-allow multi par depth changes
4355 * textcursor.C: simplify a bit
4357 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
4363 * src/output_docbook.C:
4364 * src/output_latex.C:
4369 * src/text2.C: Introducing a number of tags parametrizing various
4370 XML formats that we may want to support
4372 2003-11-25 André Pönitz <poenitz@gmx.net>
4374 * InsetList.[Ch] (begein, end): inline as suggested by profiler
4376 * lyxtext.h (leftMargin/rightMargin): simplify interface
4383 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4385 * lyxfunc.C (dispatch): propogate the bibtex databases from the
4386 master file to any child files. Fixes bug 546.
4388 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4390 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4392 2003-11-24 André Pönitz <poenitz@gmx.net>
4394 * rowpainter.C: simplification
4396 * text2.C (updateCounters): remove call to redoParagraph on
4397 changed labels as this is far too expensive.
4399 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4401 * converter.C (convert): fix a crash: this function gets
4402 called with buffer == 0 from importer code.
4404 2003-11-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4406 * text3.C (cursorPrevious): make sure that we do not compare
4407 iterators form different containers.
4410 * rowpainter.C (paintSelection): make sure that we do not compare
4411 iterators from different containers.
4413 * text3.C (dispatch): [PRIOR] make sure that we do not compare
4414 iterators from different ParagraphList containers.
4417 * text2.C (LyXText): change order of initialization slightly
4418 (operator=): new function. copy all variables except cache_par_
4419 (moveUp): make sure that we do not compare iterators from
4420 different ParagraphList constainers.
4423 * text.C (firstPar): new function
4424 (lastPar): new function
4425 (endPar): new function
4427 * lyxtext.h: move things around and group public functions, public
4428 variables, private functions, private variables
4430 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
4432 * factory.C: change call to InsetERT constructor to avoid
4433 additional invocation of method status
4434 * text2.C (toggleInset): remove redundant update() call
4435 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4436 instead of a Bufferview pointer
4438 2003-11-21 André Pönitz <poenitz@gmx.net>
4440 * rowpainter.C: simplification
4442 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4444 * text3.C (dispatch): make possible to extend a word/row selection
4447 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4449 * lyxtext.h: x0_,y0_ -> xo_,yo_
4450 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4451 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4452 * rowpainter.C (paintRows): paint full paragraphs
4454 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4456 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4459 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4461 * lyxtext.h: add x0_, y0_
4462 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4463 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4465 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
4467 * text2.C (setCursorIntern): move the x_target update here *
4468 * text3.C: change some bv() to true/false in calls to
4469 cursorUp/Down/Right/Left
4470 * cursor.C: use helper function.
4472 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4474 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4475 * paragraph_funcs.[Ch]: correct comment
4476 * rowpainter.C: do not paint selections away from bv->cursor()
4477 Fix a long standing selection painting bug.
4478 * text3.C: generalize mouse-selection code to LyXTexts other that
4480 * textcursor.C: do not use y coords if we can use par offsets
4482 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4484 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4485 cursor position after e.g. inset insert)
4487 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
4489 * lyxfind.C (replace): adjust to locking removal + some
4492 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
4494 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4497 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
4500 * output_docbook.C: XML sanitation: new layout
4501 parameters InnerTag and CommandDepth
4503 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
4505 * BufferView_pimpl.C:
4507 * text3.C: Fix the insertion and modification of button-style
4510 2003-11-13 André Pönitz <poenitz@gmx.net>
4512 * InsetList.[Ch]: remove deleteLyXText
4514 * paragraph.[Ch]: cache beginOfBody position
4519 * text3.C: remove superfluous update() calls
4523 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
4525 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4526 * BufferView.C (fitLockedInsetCursor): remove
4527 * cursor.[Ch] (getDim): add
4528 * text.C (getRowNearY): add faster version
4529 * text3.C: remove some update calls
4531 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
4543 * text3.C: The Character Style /XML short element patch.
4545 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
4548 * factory.C: Small step to solving 'unable to insert some insets'
4551 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
4553 * cursor.[Ch] (updatePos): new function for updating the y
4554 position of the tip inset
4555 * bufferview_funcs.C (put_selection_at):
4556 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4558 2003-11-11 André Pönitz <poenitz@gmx.net>
4560 * text.C: remove big comment on invalid Paragraph pointers as it is
4563 2003-11-11 André Pönitz <poenitz@gmx.net>
4565 * text_funcs.[Ch]: merge with ...
4573 * Makefile.am: remove text_funcs.[Ch]
4575 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
4577 * cursor.C (getPos): return absolute cached y coord
4579 * BufferView_pimpl.C (fitCursor): new simplistic code
4580 (workAreaDispatch): add a fitCursor call
4582 2003-11-10 André Pönitz <poenitz@gmx.net>
4585 * BufferView_pimpl.[Ch]: merge update() and updateInset()
4587 2003-11-10 André Pönitz <poenitz@gmx.net>
4589 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4590 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4591 indicate that the cursor needs to leave an inset
4593 * lyxtext.h: remove inset locking
4595 * cursor.[Ch]: re-implement functionality provided by inset locking
4598 * BufferView_pimpl.[Ch]:
4600 * bufferview_funcs.[Ch]:
4612 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
4614 * PosIterator.[Ch]: replace the stack with a vector, add inset
4616 * iterators.[C]: adjust
4618 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4620 * lyxfind.C (replaceAll): mark the buffer dirty if something was
4622 * paragraph_funcs.C (readParToken): put the correct id in the
4623 error item, not the id of the top paragraph
4625 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4627 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4628 * bufferview_funcs.C (put_selection_at): use the above
4630 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4632 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4634 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4636 * output_linuxdoc.h:
4637 * output_plaintext.h:
4639 * output_docbook.h: add #include statements
4641 2003-11-05 José Matos <jamatos@lyx.org>
4643 * output_docbook.[Ch]:
4644 * output_latex.[Ch]:
4645 * output_linuxdoc.[Ch]:
4646 * output_plaintext.[Ch]: New files for output formats.
4647 * output.[Ch]: New file for helper functions.
4650 * paragraph_funcs.[Ch]: output functions moved to new files.
4652 * outputparams.h: rename of latexrunparams.h
4660 * paragraph_funcs.[Ch]:
4661 * paragraph_pimpl.[Ch]:
4662 * tabular.[Ch]: rename ascii to plaintext
4663 and LatexRunParams to OutputParams.
4665 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4667 * iterators.[Ch] (text): require bv argument
4668 * undo.C (recordUndo):
4669 * lyxfunc.C (dispatch):
4670 * bufferview_funcs.C (put_selection_at): adjust
4672 2003-11-05 Jo� Luis M. Assirati <assirati@fma.if.usp.br>
4674 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4676 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4678 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4681 2003-11-04 André Pönitz <poenitz@gmx.net>
4683 * cursor.[Ch]: restructure
4686 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4688 * iterators.[Ch] (asCursor): remove
4690 * lfuns.h: remove LFUN_INSET_EDIT
4696 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4698 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4700 * lyxfind.[Ch]: complete overhaul
4701 * BufferView_pimpl.C:
4703 * paragraph.[Ch] (insert): add
4705 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4709 * text.C: remove dead spellcheck code
4711 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4713 * dispatchresult.h: add a val setter
4715 * cursor.C (dispatch): use a tempvar for data_[i]
4717 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4719 * PosIterator.[Ch]: compile fix
4721 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4723 * text.C (cursorPar): deactivate the cursor cache
4725 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4727 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4729 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4731 * text3.C (dispatch): adjust for new DisptchResult semantics.
4733 * lyxfunc.C (dispatch): handle update when return from
4734 Cursor::dispatch, adjust for new DispatchResult semantics.
4736 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4737 DispatchResult(true) mean to not update. Add class functions for
4738 setting dispatched and update, as well as reading.
4740 * cursor.C (dispatch): don't handle update here
4742 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4744 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4745 * trans_mgr.C: adjust
4747 * paragraph_funcs.C (readParToken): exception safety
4749 * lyxvc.h: store the vcs pointer in a scoped_ptr
4752 * lyxsocket.C (serverCallback): exception safety
4754 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4756 * ispell.C (clone): make it return a auto_ptr
4758 * factory.C (createInset): exception safety
4759 (readInset): exception safety
4761 * bufferlist.C (newBuffer): exception safety
4763 * Thesaurus.C (Thesaurus): use initialization for aik_
4765 * MenuBackend.C (expandToc): exception safety.
4767 2003-11-03 André Pönitz <poenitz@gmx.net>
4771 * bufferview_funcs.C: remove getInsetFromId()
4774 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4780 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4782 * PosIterator.C (distance, advance): new
4783 * bufferview_funcs.[Ch] (put_selection_at): new
4784 * iterators.[Ch] (lockPath): new
4786 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
4788 * iterators.[Ch] (asPosIterator): added
4789 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4790 * PosIterator.[Ch]: added
4792 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4796 * cursor.C (dispatch):
4797 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4799 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4800 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4801 contructor, add a class function dispatched. Remove operator>=
4803 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4805 * debug.C: only use the default constructor for debugstream
4808 * main.C (main): include debug.h and setup the lyxerr streambuf
4811 2003-10-31 José Matos <jamatos@lyx.org>
4813 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4815 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4816 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4817 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4818 * paragraph_pimpl.C (simpleTeXSpecialC):
4819 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4820 add LatexRunParams argument.
4822 * exporter.C (Export): change call accordingly.
4824 * latexrunparams.h: add new member to take care of the other backends.
4825 2003-10-30 José Matos <jamatos@lyx.org>
4827 * buffer.C (makeLinuxDocFile, makeDocBookFile):
4828 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4829 factorise code for paragraph output.
4831 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4834 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4836 * text3.C (dispatch):
4837 * lyxfunc.C (dispatch):
4838 * cursor.C (dispatch):
4839 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4841 * dispatchresult.h: make the dispatch_result_t ctor explicit
4843 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
4846 * buffer.C: small refactoring of docbook stuff
4848 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4850 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4853 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4855 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4856 operator dispatch_result_t, and operators for == != and >=
4858 * cursor.C (dispatch): adjust for operator dispatch_result_t
4859 removal. comment out call to update
4861 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4863 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4871 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4874 * dispatchresult.h: new file, DispatchResult broken out of
4877 * Makefile.am (lyx_SOURCES): add dispatchresult.h
4879 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4881 * text.C (rowBreakPoint): put a hack inside #if 0
4883 2003-10-28 André Pönitz <poenitz@gmx.net>
4887 * paragraph_funcs.C:
4890 * text2.C: general cleanup (lots of small stuff)
4892 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4894 * text2.C (cursorEnd): simple fix to the "end key goes to one
4895 before the end on last row" bug
4897 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4899 * text.C (backspace): fix the "zombie characters"
4901 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4903 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4905 2003-10-27 André Pönitz <poenitz@gmx.net>
4907 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4909 * factory.C: handle new InsetPagebreak, InsetLine
4911 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4912 and move handling into new InsetPagebreak, InsetLine
4914 * BufferView_pimpl.C:
4916 * ParagraphParameters.C:
4917 * ParameterStruct.h:
4922 * paragraph_funcs.C:
4923 * paragraph_pimpl.C:
4929 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4932 * lyxrow_funcs.[Ch]:
4938 * text3.C: remove lastPos uses in favour of Row::endpos
4940 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4942 * undo.C (performUndoOrRedo): fix two crashes by setting a
4943 cursor by hand and reordering some calls. Use bv->lockInset instead
4944 of inset->edit because the latter loses cursor information
4946 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
4948 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4950 (rowBreakPoint): fix width. change point to point + 1.
4951 Add a missing check.
4953 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
4956 * lyxfunc.C: fix (at least partly) the problems
4957 with the Nav menu and headers inside branch insets
4960 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
4962 * paragraph.C (getChar): add strong asserts
4964 * lyxrow_funcs.C (lastPos): remove hideous hack
4966 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4967 (fill): adjust to that (avoid an infinite loop)
4969 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
4971 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4973 2003-10-23 André Pönitz <poenitz@gmx.net>
4975 * RowList_fwd.h: change list<> to vector<> to gain speed
4976 after suggestion from Alfredo
4978 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
4980 * lyxtext.h: move the bidi stuff from here...
4983 * Bidi.[Ch]: ... to here
4985 2003-10-23 André Pönitz <poenitz@gmx.net>
4988 * text.C (isLastRow, isFirstRow): new functions
4990 * paragraph.h: new width cache member
4992 * rowpainter.C: replace RowList::iterator with Row & where possible
4994 * lyxfunc.C: replace several view()->text with a single call
4996 * toc.C: fix 'unused' warning
4998 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5000 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
5001 when woring with stream::pos_type
5002 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
5004 2003-10-22 André Pönitz <poenitz@gmx.net>
5007 * text.C: use Row & instead of RowList::iterator
5009 * lyxrow.h: rename end() to endpos()
5015 2003-10-22 Angus Leeming <leeming@lyx.org>
5017 * buffer.[Ch] (fully_loaded): new member function, returning true
5018 only when the file has been loaded fully.
5019 Used to prevent the premature generation of previews and by the
5020 citation inset to prevent computation of the natbib-style label.
5022 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
5023 templates are all set up.
5025 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
5027 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
5029 * text.C: fixed an "oops" in the "is a bit silly"
5032 2003-10-21 André Pönitz <poenitz@gmx.net>
5034 * FuncStatus.[Ch]: small stuff, whitespace
5036 * lyxfont.[Ch]: operator<<() for debug reasons
5040 * lyxtext.h: whitespace, spelling
5042 * paragraph.C: naming of variables
5045 * text2.C: small stuff
5048 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
5050 * text.C: (1) finish off the inset display() work;
5051 (2) fix the "is a bit silly" bug (accessing char
5054 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
5056 * text.C: re-introduce display() for insets, fixing the
5057 various bugs (stretch of line above, math inset
5060 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5062 * text.C (rightMargin): remove spurious semicolon
5064 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
5067 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
5069 * text3.C: fix one crash due to wrong cursor def
5071 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5073 * vc-backend.C (scanMaster): make the regex static
5075 * LaTeX.C (scanAuxFile): make the regexs static
5077 * text3.C (doInsertInset, dispatch, dispatch):
5078 * text2.C (cursorUp, cursorDown):
5079 * text.C (selectNextWordToSpellcheck):
5080 * BufferView_pimpl.C (dispatch):
5081 * lyxfunc.C (dispatch): localDispatch -> dispatch
5083 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5085 * lyxsocket.C: include <cerrno>
5087 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5089 * lyxfunc.C (dispatch): remove textcache stuff
5091 * bufferlist.C (release): remove textcache stuff
5094 * TextCache.C: delete file
5095 * TextCache.h: delete file
5097 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
5099 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
5100 delete of the bv_->text.
5101 (resizeCurrentBuffer): remove texcache stuff
5102 (workAreaResize): ditto
5104 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5106 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
5109 2003-10-16 André Pönitz <poenitz@gmx.net>
5116 * text3.C: speed up by storing y positions per paragraph plus per-row
5117 offset instead of having a 'full' y position in the row.
5119 2003-10-15 André Pönitz <poenitz@gmx.net>
5123 * undo.[Ch]: make undo aware of inner insets
5125 2003-10-14 Angus Leeming <leeming@lyx.org>
5127 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
5128 static member functions LyX::ref() and LyX::cref.
5129 (lastfiles): new accessor functions for the new lastfiles_ member var.
5130 (addLyXView, views_): add a new LyXView to the list of views_.
5131 (updateInset): loop over all LyXViews to call their own updateInset
5132 member function, returning a pointer to the Buffer owning the inset.
5134 * BufferView_pimpl.C (loadLyXFile):
5135 * MenuBackend.C (expandLastfiles):
5136 * bufferlist.C (MenuWrite, QuitLyX):
5137 lastfiles is no longer a global variable.
5138 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
5140 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
5141 static function. Access through LyX::cref().emergencyCleanup().
5143 2003-10-14 André Pönitz <poenitz@gmx.net>
5145 * iterators.[Ch]: new direct access to innermost LyXText and Inset
5147 * undo.[Ch]: restoring part of 'undo in insets'
5150 * undo_funcs.[Ch]: merge with undo.[Ch]
5152 * tabular.C: small cleansing stuff
5154 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
5156 * paragraph_funcs.C (readParToken): report unknown insets as error
5157 boxes. Use the outer paragraph as location (also for unknown
5160 * factory.C (readInset): do not abort on reading an unknown inset.
5161 Eat it and return 0.
5163 2003-10-13 Angus Leeming <leeming@lyx.org>
5165 * lyx_main.C (LyX): remove call to setDisplayTranslator().
5167 * lyxrc.C: displayTranslator is now a function,
5168 declared in GraphicsTypes.h.
5170 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5172 * format.C: new placeholder $$a to pass the socket address.
5174 * bufferlist.[Ch]: new function getBufferFromTmp.
5176 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
5177 files in the temporary dir.
5179 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5181 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
5183 * Makefile.am: add lyxsocket.[Ch].
5185 * lyx_main.C (error_handler): handle SIGPIPE.
5187 2003-10-13 André Pönitz <poenitz@gmx.net>
5189 * BufferView_pimpl.C:
5194 * undo_funcs.[Ch]: use paroffset_type instead of
5195 ParagraphList::iterators to prevent multiple conversion
5196 (and get a more robust interface)
5198 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5200 * lyxfunc.C (dispatch): RESULT -> dispatch_result
5202 * text3.C (dispatch): ditto
5204 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5206 * LaTeX.C (handleFoundFile): move the static to smaller scope,
5207 move the onlyfile, use onlyfile instead of foundfile in a couple
5210 * DepTable.C (update): flush the error stream a bit more
5212 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5214 * lyxserver.C (callback): adjust
5216 * lyxfunc.C (getStatus): add a missing brace in commented code
5217 (ensureBufferClean): reindent
5218 (dispatch): delete version taking a string
5220 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5222 * LaTeX.C (deplog): move found file handlig from here...
5223 (handleFoundFile): .. to new function here.
5224 (deplog): make sure to discover several files mentioned on the
5227 2003-10-10 André Pönitz <poenitz@gmx.net>
5234 * text3.C: fix some of the tabular crashes
5236 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5238 * MenuBackend.C (binding): put debug message into Debug::KBMAP
5240 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
5242 2003-10-09 André Pönitz <poenitz@gmx.net>
5244 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
5247 * BufferView_pimpl.C:
5248 * bufferview_funcs.C:
5259 * undo_funcs.C: adjust
5261 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5263 * text2.C (incrementItemDepth): new function, use a backtracking
5264 algorithm to discover the correct item depth.
5265 (resetEnumCounterIfNeeded): new function, use a backtracking
5266 algorithm to discover if counter reset is needed.
5267 (setCounter): use them. Simplify a bit. Add different labels for
5268 different item depths for itemize.
5270 * paragraph.C (Paragraph): remove initialization of enumdepth
5273 * paragraph.h: get rid of enumdepth, and use itemdepth both for
5274 enumerate and itemize. Change the type of itemdepth to signed char.
5276 2003-10-08 André Pönitz <poenitz@gmx.net>
5278 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5283 * tabular.[Ch]: fix crash after 'row-insert'
5285 2003-10-08 Angus Leeming <leeming@lyx.org>
5287 Fix doxygen warnings.
5289 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5290 Remove CutAndPaste:: prefix from header file declaration.
5292 * LColor.h (fill): remove LColor:: prefix from declaration.
5294 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5295 use lyx::depth_type rather than Paragraph::depth_type so that
5296 header file and .C file match.
5298 * converter.h (intToFormat): remove Converters:: prefix from declaration.
5300 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5301 * aspell.C: \file aspell_local.C -> \file aspell.C
5302 * gettext.C: \file gettext.C -> \file src/gettext.C
5303 * gettext.h: \file gettext.h -> \file src/gettext.h
5304 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5305 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5306 * text.C: \file text.C -> \file src/text.C
5308 * toc.C: move comment so that doxygen is not confused.
5310 2003-10-07 Angus Leeming <leeming@lyx.org>
5312 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5314 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5317 * aspell_local.h: add forgotten std::string's.
5319 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
5326 * text3.C: The Box patch. Fancybox support, minipage, parbox
5328 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
5334 * ParagraphParameters.h:
5344 * lyxtextclasslist.h:
5347 * paragraph_pimpl.C:
5348 * textcursor.h: add <string> and other small fixes to make Lars'
5349 std::string patch compile with STLport.
5351 2003-10-06 Angus Leeming <leeming@lyx.org>
5353 * LColor.h: Add missing #include <string>.
5355 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5357 * All most all file in all subdirs: Make <string> be the prefered
5358 way of getting to std::string, add using declarations.
5360 2003-10-06 André Pönitz <poenitz@gmx.net>
5362 * metricsinfo.C: initialize LyXFont before changing attribute.
5363 (fixes the 'math in \emph is upright' bug)
5365 2003-10-06 André Pönitz <poenitz@gmx.net>
5367 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5369 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
5372 * paragraph_pimpl.C: Small fixes to build using STLport
5374 2003-10-02 André Pönitz <poenitz@gmx.net>
5377 * text3.C: move handling of LFUN_DEPTH *; fix #1360
5379 2003-10-01 André Pönitz <poenitz@gmx.net>
5381 * factory.C: assert early
5383 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5385 * lyx_main.C: remove the global debug object
5387 * debug.h: adjust for new debugstream
5389 * debug.C: adjust for new debugstream and keep the global debug
5392 2003-09-22 Angus Leeming <leeming@lyx.org>
5394 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5395 of g++ which otherwise complain that the scoped_ptr destructor can't delete
5396 an incomplete class LyXFont.
5398 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
5400 * factory.C: bug fix in branches
5402 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5404 * lyxfunc.C (processKeySym): adjust
5406 (dispatch): change arg name from ev to func, adjust
5407 (sendDispatchMessage): ditto
5409 * lyx_main.C (defaultKeyBindings): adjust keybindings
5410 (deadKeyBindings): ditto
5412 * kbsequence.C (addkey): return a FuncRequest
5414 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5416 * kbmap.C (bind): take a FuncRequest as arg, adjust
5419 (defkey): change to take a FuncRequest as arg, adjust
5420 (findbinding): take a FuncRequest as arg, adjust.
5422 * funcrequest.h (operator=): added
5424 * funcrequest.C (FuncRequest): default kb_action changed from
5425 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5427 * buffer.C (dispatch): simplify
5428 (dispatch): adjust to take a FuncRequest as arg, adjust
5430 * boost.C (assertion_failed): change assertion message slightly
5432 * ToolbarBackend.C (read): simplify
5434 * MenuBackend.C (binding): adjust call to findbinding, add a
5435 message if no binding is found.
5437 (expandToc): correct by adding a empty FuncRequest
5439 * LyXAction.C: include <boost/assert.hpp>
5440 (isPseudoAction): delete function
5441 (LookupFunc): change name to...
5442 (lookupFunc): this. change return type to FuncRequest.
5443 (getActionName): take kb_action as arg, simplify
5444 (funcHasFlag): add an assert, simplify.
5446 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5448 * toc.C (action): return a FuncRequest, simplify
5450 * lyxfunc.C (processKeySym): adjust
5451 (getStatus): delete version that takes an int.
5453 (dispatch): delete version that takes action as int
5455 (sendDispatchMessage): simplify and adjust
5457 * funcrequest.C (getArg): take unsigned int as arg
5459 * ToolbarBackend.C (read): adjust
5460 (add): delete version that takes func as a string.
5461 (getIton): take a FuncRequest as arg
5463 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5466 * MenuBackend.C (MenuItem): add a new construct that only takes a
5467 Kind, simplify the constructor use for submenus.
5469 (expandLastfiles): adjust
5470 (expandDocuments): adjust
5471 (expandFormats): adjust
5472 (expandFloatListInsert): adjust
5473 (expandFloatInsert): adjust
5474 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5476 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5477 Remove class variables lyx_pseudo_map and lyx_arg_map
5479 * LyXAction.C (searchActionArg): delete function
5480 (getPseudoAction): delete function
5481 (retrieveActionArg): delete function
5482 (LookupFunc): make it return kb_action, simplify.
5483 (getActionName): simplify
5485 * factory.C (createInset): fix new bug
5487 2003-09-19 Angus Leeming <leeming@lyx.org>
5489 * CutAndPaste.C (pasteSelection): remove fudge used to set the
5490 masterFilename_ parameter in the include inset.
5492 * factory.C (createInset): changes due to the changes to InsetInclude.
5494 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5496 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5498 2003-09-18 Angus Leeming <leeming@lyx.org>
5501 * BufferView.C: pass the buffer when calling Inset::getLabelList,
5502 Inset::fillWithBibKeys.
5503 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5505 2003-09-18 Angus Leeming <leeming@lyx.org>
5507 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5509 (ctor): pass and store a 'Buffer const &'
5510 (buffer): new member function.
5512 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5513 '*this' to the LaTeXFeatures ctor.
5515 2003-09-18 Angus Leeming <leeming@lyx.org>
5521 * text.C: rename EnumLColor as LColor_color.
5523 2003-09-18 Angus Leeming <leeming@lyx.org>
5525 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5526 remove #include "insets/insetbase.h" from cursor.h.
5528 2003-09-18 Angus Leeming <leeming@lyx.org>
5530 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5531 InsetOld_code to remove #include "inset.h".
5533 * iterators.C: add #include "insets/inset.h"
5535 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
5537 * BufferView.C: remove more locking stuff that apparently doesn't
5538 do anything sensible.
5540 2003-09-16 André Pönitz <poenitz@gmx.net>
5543 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5546 2003-09-16 Angus Leeming <leeming@lyx.org>
5548 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5550 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5553 * paragraph.h: remove #include "lyxfont.h". Forward declare
5556 2003-09-16 Angus Leeming <leeming@lyx.org>
5558 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5559 of support/textutils.h.
5560 (isWord): move the contents of support/textutils.h's IsWordChar here.
5566 * text2.C: add #include "paragraph.h".
5569 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5571 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5577 * LaTeX.C: use namespace alias for lyx::support::os
5579 2003-09-16 Angus Leeming <leeming@lyx.org>
5582 * bufferview_funcs.C:
5585 * paragraph_pimpl.C:
5587 * text.C: add #include "LColor.h".
5589 2003-09-16 Angus Leeming <leeming@lyx.org>
5591 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5592 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5594 Store the FontBits::color variable as an int rather than as an
5595 LColor::colorso that we can move LColor.h out of the lyxfont.h header
5598 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5599 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5600 string calls together.
5602 * lyxrc.C: add #include "LColor.h".
5604 2003-09-15 Angus Leeming <leeming@lyx.org>
5606 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5609 2003-09-15 Angus Leeming <leeming@lyx.org>
5611 * LColor.h: add an EnumLColor wrapper for LColor::color.
5613 * lyxfont.[Ch] (color, setColor, realColor):
5614 * lyxtext.h, text.C (backgroundColor):
5615 pass EnumLColor args to/from the functions, rather than LColor::color
5619 * lyxtext.h: forward declare EnumLColor.
5621 * lyx_main.C: add #include "LColor.h".
5623 2003-09-15 Angus Leeming <leeming@lyx.org>
5625 * .cvsignore: add lyx-gtk.
5627 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5632 * ParagraphParameters.C
5636 * bufferview_funcs.C
5646 * vc-backend.C: remove usage of STRCONV
5648 2003-09-15 Angus Leeming <leeming@lyx.org>
5650 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5651 explicitly define the color passed to the painter.
5653 2003-09-15 Angus Leeming <leeming@lyx.org>
5655 * bufferparams.C (BufferParams): reorder member initializers to avoid
5658 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
5660 * CutAndPaste.C (pasteSelection): remove an outdated #warning
5661 * text.C (updateRowPositions): remove an unusual nop
5663 2003-09-12 André Pönitz <poenitz@gmx.net>
5665 * BufferView_pimpl.C:
5674 * Counters.[Ch]: finish the 'automatic counters' job
5676 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5678 * aspell.C: include <boost/assert.cpp> (compile fix)
5680 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
5682 * boost.C (assertion_failed): use lyx::support::abort instead of
5685 2003-09-10 Angus Leeming <leeming@lyx.org>
5687 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5688 with their _fwd progeny.
5690 2003-09-09 Angus Leeming <leeming@lyx.org>
5692 134 files throughtout the source tree: replace 'using namespace abc;'
5693 directives with the appropriate 'using abc::xyz;' declarations.
5695 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5697 * boost.C (emergencyCleanup): moved here from LAssert.c
5698 (assertion_failed): new function, called by BOOST_ASSERT
5700 * several files: change Assert to BOOST_ASSERT
5702 2003-09-09 Angus Leeming <leeming@lyx.org>
5704 * buffer.[Ch]: Add an Impl class and move Buffer's member
5705 variables into it. As a result move several header files out of
5708 Add header files to lots of .C files all over the tree as a result.
5710 2003-09-09 Angus Leeming <leeming@lyx.org>
5712 * buffer.[Ch]: make Buffer's member variables private. Add
5715 Lots of changes all over the tree as a result.
5717 2003-09-08 Angus Leeming <leeming@lyx.org>
5719 * graph.C: #include <config.h>.
5721 2003-09-08 Angus Leeming <leeming@lyx.org>
5725 * BufferView_pimpl.C:
5754 * toc.C: remove redundant using directives.
5756 2003-09-07 Angus Leeming <leeming@lyx.org>
5758 * LaTeXFeatures.h: remove #include "support/types.h".
5759 * ToolbarBackend.h: remove #include <algorithm>.
5760 * changes.h: remove #include <ctime>.
5761 * debug.h: remove #include <iosfwd>.
5762 * graph.h: remove #include "support/std_string.h".
5763 * lyx_main.h: remove #include <csignal>.
5764 * lyxlex_pimpl.h: remove #include <fstream>.
5765 * sgml.h: remove #include <algorithm>, <utility>.
5766 * toc.h: remove #include "support/std_ostream.h".
5767 Add #include <iosfwd>.
5769 2003-09-07 Angus Leeming <leeming@lyx.org>
5771 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5773 * converter.h: forward declare LatexRunParams.
5774 * encoding.h: remove #include "lyxrc.h".
5775 * lyxtext.h: remove #include "LColor.h".
5776 * lyxtextclass.h: remove #include "support/types.h".
5777 * trans.h: remove #include "tex-accent.h".
5778 * trans_mgr.h: remove #include "tex-accent.h".
5779 * insets/inset.h: remove #include "support/types.h", <vector>.
5780 * insets/insetcollapsable.h: remove #include "LColor.h".
5781 * insets/insetinclude.h: remove #include "dimension.h".
5782 * insets/insetlatexaccent.h: remove #include "dimension.h".
5783 * insets/insetoptarg.h:: remove #include "insettext.h".
5784 * insets/insettext.h: remove #include "dimension.h",
5785 <boost/shared_ptr.hpp>
5787 * insets/renderers.h: add #include "dimension.h".
5788 * insets/updatableinset.h: add #include "support/types.h".
5790 * many .C files: Associated changes.
5792 2003-09-06 Angus Leeming <leeming@lyx.org>
5794 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5795 one, inside testInvariant.
5797 * PrinterParams.C: new file.
5798 * PrinterParams.[Ch]: move the function bodies out of line.
5800 2003-09-06 Angus Leeming <leeming@lyx.org>
5802 * ParagraphParameters.h: forward declare ParameterStruct rather than
5803 including its header file.
5804 (depth): moved out-of-line.
5806 2003-09-06 Angus Leeming <leeming@lyx.org>
5808 * BufferView_pimpl.h:
5811 * lyxfunc.h: forward declare LyXKeySym rather than
5812 #include "frontends/LyXKeySym.h".
5814 * BufferView_pimpl.C:
5817 * lyxfunc.C: associated changes.
5819 2003-09-06 Angus Leeming <leeming@lyx.org>
5821 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5822 As a result, can remove the #include "insets/inset.h" from BufferView.h
5824 2003-09-06 Angus Leeming <leeming@lyx.org>
5826 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5827 As a result, can remove the #include "insets/inset.h" from BufferView.h
5829 2003-09-06 Angus Leeming <leeming@lyx.org>
5835 * bufferview_funcs.C:
5836 * BufferView_pimpl.C:
5841 * ParagraphParameters.C:
5846 * frontends/controllers/ControlDocument.C:
5847 * insets/insetcaption.C: rearrange the #includes into some sort of
5850 * buffer.h: remove #includes ErrorList.h, undo.h
5852 2003-09-06 Angus Leeming <leeming@lyx.org>
5854 * support/types.h: add a 'depth_type' typedef, used to store the
5855 nesting depth of a paragraph.
5858 * ParameterStruct.h: use this lyx::depth_type typedef rather than
5859 defining explicitly.
5862 * paragraph_funcs.h:
5863 * ParagraphParameters.h:
5864 * sgml.h: use lyx::depth_type rather than Paragraph or
5865 ParameterStruct's depth_type.
5868 * paragraph_funcs.h: no need to #include paragraph.h anymore.
5871 * BufferView_pimpl.C:
5873 * ParagraphParameters.C:
5876 * bufferview_funcs.C:
5883 * frontends/LyXView.C:
5884 * frontends/controllers/ControlDocument.C:
5885 * frontends/controllers/ControlErrorList.C:
5886 * insets/insetbibitem.C:
5887 * insets/insetbranch.C:
5888 * insets/insetcaption.C:
5889 * insets/insetcollapsable.C:
5890 * insets/insetenv.C:
5891 * insets/insetert.C:
5892 * insets/insetfloat.C:
5893 * insets/insetfoot.C:
5894 * insets/insetfootlike.C:
5895 * insets/insetnewline.C:
5896 * insets/insetquotes.C:
5897 * insets/insettabular.C:
5898 * insets/insettext.C:
5899 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5901 * frontends/controllers/ControlChanges.C: #include "changes.h".
5903 2003-09-06 Angus Leeming <leeming@lyx.org>
5905 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5906 than #including paragraph.h.
5909 * RowList.h: deleted. Superfluous.
5919 * insets/insettext.h: use ParagraphList_fwd.h rather than
5922 * paragraph.h: don't forward declare ParagraphList.
5925 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5926 rather than ParagraphList.h. paragraph.h is still needed for the
5927 Paragraph::depth_type parameters.
5929 * textcursor.h: enable it to compile stand-alone in light of the
5932 * bufferview_funcs.C:
5944 * frontends/controllers/ControlParagraph.C:
5945 * frontends/controllers/ControlTabular.C:
5946 * insets/insetmarginal.C:
5947 * insets/insetminipage.C:
5948 * insets/insetnote.C:
5949 * insets/insetoptarg.C: add header files needed to compile again.
5951 2003-09-06 Angus Leeming <leeming@lyx.org>
5953 * RowList_fwd.h: new file, forward-declaring Row rather than
5954 #including lyxrow.h.
5959 * insets/insettext.h: use it instead of RowList.h
5961 * bufferview_funcs.C:
5968 * text3.C: #include "RowList.h".
5970 2003-09-05 Angus Leeming <leeming@lyx.org>
5972 * factory.C (createInset):
5973 * vspace.C (c-tor): replace sscanf call with an istringstream.
5974 * ispell.C: re-add missing HP/UX headers.
5975 * lyxserver.C: re-add missing os2 headers.
5977 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
5986 * text3.C: re-add missing system headers, needed for 2.95.2.
5988 2003-09-05 Angus Leeming <leeming@lyx.org>
5990 Changes most place everywhere due to the removal of using directives
5991 from support/std_sstream.h.
5993 2003-09-05 Angus Leeming <leeming@lyx.org>
5995 Replace LString.h with support/std_string.h,
5996 Lsstream.h with support/std_sstream.h,
5997 support/LIstream.h with support/std_istream.h,
5998 support/LOstream.h with support/std_ostream.h.
6000 Changes resulting throughout the tree.
6002 2003-09-05 Angus Leeming <leeming@lyx.org>
6004 * sgml.h: ensure that the header file can be compiled stand-alone.
6005 * *.C: strip out redundant #includes. (320 in total.)
6007 2003-09-04 Angus Leeming <leeming@lyx.org>
6009 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
6010 here (from getPackages).
6012 * debug.[Ch]: add a new EXTERNAL tag.
6014 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6016 * text2.C (cursorEnd): simplify
6018 (getColumnNearX): adjust
6020 * text.C (computeBidiTables): adjust
6023 * rowpainter.C (paintChars): adjust
6024 (paintSelection): adjust
6025 (paintChangeBar): adjust
6028 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
6030 (numberOfSeparators): adjust
6032 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
6038 * text3.C: Restricts the mouse click functionality
6039 of insets like bibtex, include, toc and floatlist to the visible
6040 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
6041 up the dialogs. Cursor has to be in front of the inset (i.e.
6042 start of row) for this to function.
6044 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6046 * bufferview_funcs.C (currentState): output row information
6048 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6050 * bufferview_funcs.C (currentState): output paragraph position
6052 2003-09-04 Angus Leeming <leeming@lyx.org>
6054 * FloatList.h: move out #include "Floating.h".
6055 * LaTeX.h: move out #include "DepTable.h".
6056 * LyXAction.h: move out #include "funcrequest.h".
6057 * buffer.h: move out #include "author.h", "iterators.h".
6058 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
6059 * lyx_main.h: move out #include "errorlist.h".
6060 * lyxfunc.h: move out #include "FuncStatus.h".
6061 * lyxtext: move out #include "lyxcursor.h".
6062 * paragraph_pimpl.h: move out #include "counters.h".
6064 2003-09-03 Angus Leeming <leeming@lyx.org>
6066 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
6067 preamble_snippets list, enabling us to add snippets to the preamble
6068 only if the snippet was not there already.
6070 2003-09-04 Angus Leeming <leeming@lyx.org>
6072 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
6074 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6076 * lyxfunc.C (dispatch): if fitCursor did something be sure to
6079 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
6081 * BranchList.C: point fix, earlier forgotten
6083 2003-09-02 Angus Leeming <leeming@lyx.org>
6085 * box.C (contains): renamed from 'contained' after a fantastic
6088 2003-09-02 John Levon <levon@movementarian.org>
6094 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
6096 2003-09-02 John Levon <levon@movementarian.org>
6098 * text2.C: simplification of cursorEnd(), including partial
6101 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6103 * buffer.C (readFile): add a space
6105 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
6107 * BufferView_pimpl.C (update): remove bogus fitCursor() call
6109 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6111 * buffer.C (readFile): new function, take a filename and a
6112 ParagraphList::iterator
6114 (readFile): adjust, make it private. don't use setStream, make
6115 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
6116 always contain the filename.
6118 * BufferView.C (insertLyXFile): simplify and make it work for
6121 2003-08-30 John Levon <levon@movementarian.org>
6123 * Makefile.am: fix dist (from Kayvan)
6125 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6127 * most files: change to use const Buffer refs
6129 2003-08-27 André Pönitz <poenitz@gmx.net>
6131 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
6132 on top of ownerPar().
6134 2003-08-27 John Levon <levon@movementarian.org>
6136 * funcrequest.C: properly initialise POD members
6138 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
6140 * lyxtext.h (top_y): move top_y from here
6145 * BufferView_pimpl.[Ch]: to here
6146 * frontends/screen.C:
6147 * insets/insettabular.C:
6148 * insets/insettext.C: adjust
6149 * rowpainter.[Ch] (paintRows): remove LyXText & argument
6151 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
6154 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
6156 2003-08-26 André Pönitz <poenitz@gmx.net>
6158 * paragraph_func.[Ch] (outerPar): new function
6161 * paragraph_funcs.C:
6162 * paragraph_funcs.h:
6163 * paragraph_pimpl.C:
6164 * text2.C: remove Inset::par_owner
6166 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
6171 * text2.C: eliminates the needFullRow/display() stuff
6172 altogether, putting the logic in metrics/draw in the insets.
6174 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
6176 * text2.C (redoParagraphInternal, redoParagraphs):
6177 * text.C (redoParagraph): add a call to updateRowPositions at the
6178 end of each 'metrics-like' call. Remove all others.
6179 (getRow): remove the 'y-computing' version.
6180 (getRowNearY): do not compute nor return the real y. Solve the
6181 'y < 0' problem and simplify.
6183 2003-08-22 Angus Leeming <leeming@lyx.org>
6185 * *.[Ch]: clean-up of licence and author blurbs.
6186 Also move config.h out of a few .h files and into a few .C files.
6188 2003-08-22 André Pönitz <poenitz@gmx.net>
6190 * lyxrow.[Ch]: add x_ and *fill_ members
6195 * text2.C: adjust/remove prepareToPrint() calls
6197 2003-08-22 André Pönitz <poenitz@gmx.net>
6199 * lyxrow.[Ch]: add end_ member
6201 * lyxrow_funcs.C: use LyXRow::end_
6203 * lyxtext.h (singleWidth): add LyXFont parameter
6206 * text2.C: adjust LyXText::singleWidth() calls
6208 * text.C (redoParagraph): simplify row breaking logic
6211 2003-08-19 André Pönitz <poenitz@gmx.net>
6213 * funcrequest.C: initialize button_ member
6216 * rowpainter.[Ch]: interface consolidation
6218 2003-08-18 André Pönitz <poenitz@gmx.net>
6221 * BufferView_pimpl.C:
6223 * paragraph_funcs.C:
6225 * text3.C: remove LyXScreen::draw() and fitCursor calls
6227 * BranchList.h: remove spurious semicolons
6229 * MenuBackend.C: fix branchlist related crash
6231 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
6239 * bufferparams.[Ch]:
6243 * text3.C: implements the 'branch inset'
6244 idea. This allows the output of various versions of a document
6245 from a single source version, selectively outputing or suppressing
6246 output of parts of the text.
6247 This implementation contains a 'branch list editor' in a separate
6248 tab of the document settings dialog. Branches are user definable
6249 and have a "display colour" to distinguish them on-screen.
6251 ColorHandler was somewhat cleaned up.
6252 (1) make possible a dynamically growing LColor list by allowing
6253 the graphic context cache to grow along (vector);
6254 (2) eliminate an IMHO unnecessary step in colour allocation.
6256 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
6258 * BufferView_pimpl.C: compile fix
6260 2003-08-15 André Pönitz <poenitz@gmx.net>
6262 * rowpainter.C: remove extra metrics calls
6264 * lyxtext.h: merge the two constructors into a single one,
6265 pass reference to owner's par list
6267 * BufferView_pimpl.C:
6271 2003-08-15 André Pönitz <poenitz@gmx.net>
6273 * lyxrow_funcs.[Ch]:
6276 * paragraph_funcs.C:
6281 * text_funcs.C: split LyXText::rowlist_ into individual
6282 Paragraph::rows_ chunks
6285 * BufferView_pimpl.[Ch]:
6288 * text3.C: remove toggleSelection()
6290 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
6292 * bufferlist.C: beautify two alerts (shorter text of buttons)
6293 * buffer.C: Remove redundant ' ' from message
6295 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6296 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6297 rename VALIGN_CENTER to VALIGN_MIDDLE
6299 2003-08-11 André Pönitz <poenitz@gmx.net>
6301 * lyxtext.h (getPar):
6302 * text.C: new function
6304 2003-08-11 André Pönitz <poenitz@gmx.net>
6307 * tracer.[Ch]: remove unneeded files
6309 * InsetList.[Ch]: remove resizeInsetsLyXText()
6314 * text3.C: merge insertParagraphs() and appendParagraph()
6315 remove breakAgain(), update()
6317 * BufferView_pimpl.[Ch]:
6318 * bufferview_funcs.[Ch]:
6322 * tabular.C: adjust after text & InsetList changes.
6324 2003-08-08 André Pönitz <poenitz@gmx.net>
6326 * text.C (insertChar, backspace): replace rowlist fiddling
6327 with rebreak of full par
6330 * text.C (breakAgainOneRow, redoHeightOfParagraph,
6331 checkParagraph, updateInset): removed
6333 2003-08-07 André Pönitz <poenitz@gmx.net>
6336 * text3.C: merge some LFUN handlers, remove dead code
6338 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6340 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6342 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
6344 * text2.C (DEPM): fix part of bug 1255 and 1256
6346 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6348 * BufferView_pimpl.C (workAreaDispatch): change to use
6349 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6350 that are no mouse related.
6352 2003-08-05 André Pönitz <poenitz@gmx.net>
6355 * BufferView_pimpl.[Ch]:
6356 * bufferview_funcs.C:
6358 * text3.C: rip out "deep update"
6360 * textcursor.[Ch] (last_sel_cursor): remove unused member
6362 2003-08-04 André Pönitz <poenitz@gmx.net>
6365 * BufferView_pimpl.[Ch]:
6366 * ParagraphParameters.C:
6367 * bufferview_funcs.C:
6373 * text3.C: replace "complicated" BufferView::update(...) calls with
6376 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6378 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
6380 * Makefile.am (lyx_SOURCES): add paper.h
6382 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6384 * Makefile.am: move things around so that both lyx-qt and
6385 lyx-xforms can be built (according to --with-frontend). Then lyx
6386 is a symbolic link to lyx-[firstfrontend]
6388 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
6390 * Always use std::endl with lyxerr
6392 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
6394 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6396 2003-08-01 André Pönitz <poenitz@gmx.net>
6399 * BufferView_pimpl.[Ch]:
6401 * text3.C: merge BufferView::repaint() and BufferView::update()
6403 2003-08-01 José Matos <jamatos@lyx.org>
6405 * buffer.[Ch]: file_format is no longer a buffer data element.
6407 2003-08-01 André Pönitz <poenitz@gmx.net>
6412 * text2.C: make redoParagraph more independent of current cursor
6414 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6416 * text2.C: remove unneeded members
6418 2003-07-30 André Pönitz <poenitz@gmx.net>
6420 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6422 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6423 create a single function...
6425 * paragraph_funcs.C (moveItem): ... here.
6428 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6430 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6432 * LColor.[Ch]: Add comment and greyedout logical colors.
6434 2003-07-30 André Pönitz <poenitz@gmx.net>
6436 * tabular.C: don't use Assert too heavily. This crashes where it
6439 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
6441 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6442 is disabled (bug 1232)
6444 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6446 * factory.C: limited 'arg' scope
6448 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6450 * factory.C: fixed Note submenu issues
6452 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6454 * factory.C: submenu for Note/Comment/Greyedout
6456 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
6459 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6461 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
6464 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6465 greyedout. Patch provided by Jürgen Spitzmüller.
6467 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6469 * kbmap.C (read): fix error message when reading bind files
6471 2003-07-29 Angus Leeming <leeming@lyx.org>
6473 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6474 certainly does not do what it purports to do. I am doing it, and
6475 us, a favour by killing it.
6477 2003-07-28 José Matos <jamatos@lyx.org>
6479 * buffer.C (readBody, do_writeFile):
6480 * paragraph.C(readParagraph): \end_document replaces \the_end.
6482 2003-07-29 André Pönitz <poenitz@gmx.net>
6485 * BufferView_pimpl.[Ch]:
6489 * textcursor.[Ch]: remove toggleToggle & Co
6491 2003-07-28 José Matos <jamatos@fep.up.pt>
6493 * buffer.C (readParagraph):
6494 * params_func (readParToken, readParagraph):
6495 * paragraph.C (write): \layout -> \begin_layout.
6497 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6499 * lyxlex_pimpl.C (setFile): clean up slightly.
6501 * bufferparams.h: add compressed var
6503 * buffer_funcs.C (readFile): adjust for LyXLex change
6504 (newFile): ditto + simplify
6506 * buffer.C (writeFile): handle writing of compressed files
6508 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6509 Check if the file is compressed and set a bufferparm if so.
6511 * Makefile.am (lyx_LDADD): remove explicit -lz
6513 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6515 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6516 makeDocBookFile): put the real LyX version in the first line of
6520 * version.C.in: remove lyx_docversion
6522 * tabular.C (write_attribute): add a template-based version to
6523 write enums properly
6525 2003-07-28 André Pönitz <poenitz@gmx.net>
6530 * text3.C: use doubles again for x-coordinates. They are needed.
6532 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6534 * messages.C (getLocaleDir): use lyx_localedir()
6536 * lyxlex_pimpl.C (setFile): compress stuff
6538 * buffer.C (writeFile): add some compression stuff
6539 (do_writeFile): new func, dont call expliti close... will this
6542 * Makefile.am (lyx_LDADD): add -lz
6544 2003-07-28 José Matos <jamatos@fep.up.pt>
6546 * buffer.C: increment file format.
6547 * paragraph_funcs (readParagraph, readParToken):
6548 * paragraph.C (readParagraph): add \end_layout.
6550 2003-07-27 Angus Leeming <leeming@lyx.org>
6552 * Makefile.am: remove special casing for configure-time setting of
6553 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6555 * lyx_main.C (init): remove all Jean-Marc's magic setting of
6556 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6558 2003-07-26 André Pönitz <poenitz@gmx.net>
6560 * paragraph_func.[Ch]:
6561 * paragraph.C (realizeFont): inline it whereever it is used
6566 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6569 2003-07-26 André Pönitz <poenitz@gmx.net>
6573 * text2.C: get rid of LyXText::need_break_row
6575 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6577 * toc.[Ch]: put namespace toc inside namespace lyx
6579 * MenuBackend.C (expandToc2): adjust for lyx::toc
6582 * lyxfunc.C (dispatch): adjust for lyx::find
6584 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6585 lyx::find instead. Reorganize a bit.
6586 (LyXReplace): rename to replace
6587 (LyXFind): rename to find
6589 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6592 2003-07-26 André Pönitz <poenitz@gmx.net>
6594 * text.C (setHeightOfRow): restrict scope of temporary variable
6596 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
6597 code (never has been used?)
6599 2003-07-27 Asger Alstrup <alstrup@local>
6601 * text.C (fill): Optimise algorithm to exploit that we can reuse
6602 the LyXFont for many characters.
6603 (setHeightOfRow): Same thing.
6604 (rowBreakPoint): Same thing.
6606 2003-07-26 Asger Alstrup <alstrup@local>
6608 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6610 * text.C (singleWidth): Spurious font copying in hot-spot
6611 singleWidth avoided. Reorder tests for arabic for efficiency.
6613 * text.C (fill): handle empty paragraphs better.
6615 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6618 * encoding.h: add includes
6620 * lyxrc.C: remove reading of bind files
6622 * lyx_main.C (init): setup bindings and menus only if we have a
6625 * kbmap.C (read): new method. Do the actual reading of bind
6628 * converter.C (dvipdfm_options):
6631 (output): adapt PAPER_* enums.
6633 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6635 * bufferparams.h: remove paper-related enums from there
6637 * paper.h: New file. A trivial header file to hold paper-related
6638 enums. It should later expand to contain many paper-related
6641 * lyxrc.C: declare extern displayTranslator
6643 2003-07-27 José Matos <jamatos@fep.up.pt>
6645 * tabular.[Ch] (linuxdoc): add support for tables and figures
6648 2003-07-27 José Matos <jamatos@fep.up.pt>
6650 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6651 consistency in both functions.
6652 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6654 2003-07-26 Asger Alstrup <alstrup@local>
6656 * rowpainter.C (paintRows): Change algorithm to work directly on
6657 the insets rather than asking every character in the document
6658 whether its an inset.
6660 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
6662 * buffer.C (openFileWrite): factorize some code
6664 2003-07-26 Angus Leeming <leeming@lyx.org>
6667 * lyx_main.[Ch]: replace occurances of system_tempdir with
6670 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6672 * rename Inset to InsetOld
6674 2003-07-25 Asger Alstrup <alstrup@diku.dk>
6676 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6677 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6678 which I think is a bit clearer. EDIT is gone, since it was
6679 premature optimisation, and broken for mathed anyway.
6680 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6681 with cursor positioning in insets as well (math insets still do not
6682 work, but that's a different story anyway.) It mysteriously
6683 crashes sometimes with undo in the first paragraph, but I'm fairly
6684 confident that this is a compiler bug.
6686 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6688 * paragraph.C (Paragraph): adjust for new clone return type
6690 (copyIntoMinibuffer): ditto
6692 2003-07-25 Asger Alstrup <alstrup@lyx.org>
6694 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6695 by not having a special case, and always doing a full rebreak of
6696 the document after undo.
6698 2003-07-23 Angus Leeming <leeming@lyx.org>
6700 * factory.C (createInset): InsetExternal::setParams now takes a
6703 2003-07-23 Angus Leeming <leeming@lyx.org>
6705 * factory.C (createInset): changed interface to the external and
6706 graphics mailers' string2params functions.
6708 2003-07-23 Angus Leeming <leeming@lyx.org>
6710 * factory.C (createInset): pass a
6711 Buffer const * parameter to InsetExternalMailer's string2params.
6713 2003-07-22 John Levon <levon@movementarian.org>
6715 * Thesaurus.h: include the right aiksaurus header
6717 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6719 * MenuBackend.C (expand): check menu shortcuts unconditionally
6721 2003-07-21 Angus Leeming <leeming@lyx.org>
6723 * factory.C (createInset): pass a
6724 buffer_path parameter to InsetGraphicsMailer's string2params.
6726 2003-07-21 Angus Leeming <leeming@lyx.org>
6728 * BufferView_pimpl.C (buffer):
6731 * lyxfunc.C (dispatch):
6732 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6733 rather than the grfx shortcut.
6735 2003-07-21 André Pönitz <poenitz@gmx.net>
6737 * rowpainter.C: remove unused variables
6740 * tabular_funcs.h: move to tabular.C
6741 * Makefile.am: adjust
6743 * tabular.[Ch]: basic optical cleaning
6745 * author.h: pass references, not values
6747 2003-07-18 André Pönitz <poenitz@gmx.net>
6755 * text3.C: two-phase drawing for InsetText and InsetTabular
6756 some float -> int changes.
6758 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6760 * lyx_main.C: fix the fix
6762 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6764 * lyx_main.C: fix a crash in batch mode if no files specified
6767 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
6769 * format.[Ch] (papersize): moved to BufferParams
6770 * converter.[Ch] (dvips_options): moved to BufferParams
6771 (dvipdfm_options): moved to anon namespace
6772 * bufferparams.[Ch]: added above functions.
6774 2003-07-17 André Pönitz <poenitz@gmx.net>
6778 * text2.C: don't call inset->update() anymore
6780 * metricsinfo.[Ch]: add convenience constructor
6782 2003-07-16 André Pönitz <poenitz@gmx.net>
6787 * text2.C: replace the LyXCursor::irow_ member with
6788 on-demand computation of the value
6790 2003-07-16 John Levon <levon@movementarian.org>
6792 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6794 2003-07-15 André Pönitz <poenitz@gmx.net>
6797 * text2.C: remove no more needed refresh_row
6799 2003-07-15 André Pönitz <poenitz@gmx.net>
6804 * text3.C: refresh_status tristate -> need_update bool
6806 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
6808 * lyxtext.h (init): remove reinit argument (act as if always true)
6809 * text2.C: adjust to that
6811 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6813 * bufferview_funcs.[Ch]: introduce function replaceSelection()
6814 * text3.C: use it to delete selections in some cases
6815 (bugs 441, 673, 702, 954).
6817 2003-07-14 André Pönitz <poenitz@gmx.net>
6819 * rowpainter.[Ch]: reduce interface
6821 2003-07-14 André Pönitz <poenitz@gmx.net>
6823 * BufferView_pimpl.C:
6824 * text2.C: adjust after removing unused BufferView * argument
6826 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
6828 * text2.C (init): fix a crash fired on resize
6830 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
6832 * buffer.[Ch]: added new closing signal
6833 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6834 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6835 BufferView::Pimpl via the closing the signal
6837 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
6839 * buffer.[Ch]: take out all bv-related from buffer
6841 * BufferView_pimpl.[Ch]: connect to new signals
6842 * CutAndPaste.C: removed useless asserts
6843 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6846 * lyxfunc.C: moved view-related funciontality from vc here
6847 * paragraph.C: removed outdated comments
6850 2003-07-10 André Pönitz <poenitz@gmx.net>
6852 * BufferView_pimpl.C:
6856 * text2.C: remove InsetText::InnerCache, clean up consequences
6858 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
6860 * ispell.C: fix two typos in error messages
6862 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
6864 * Extend Note inset to other forms of annotation like Comment
6865 and Greyedout. Right button click gives dialog.
6867 Files modified or added (+):
6871 * ControlNote.[Ch] +
6873 * Makefile.am in frontends/xforms, frontends/xforms/forms,
6874 frontends/controllers
6878 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6880 * aspell.C: add missing namespace lyx::support
6882 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
6884 * BufferView.[Ch] (newFile): Add
6885 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6886 * LaTeX.[Ch] (message): added this signal and use it
6887 * buffer.[Ch] (busy, message): added these signals and use them
6888 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6892 * importer.C: use buffer signals instead of direct bv calling
6893 * lyx_cb.[Ch] (ShowMessage): removed
6896 * paragraph_funcs.C:
6897 * text2.C: use buffer signals
6899 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6901 * introduce namespace lyx::graphics
6903 2003-07-02 André Pönitz <poenitz@gmx.net>
6905 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6907 2003-07-01 André Pönitz <poenitz@gmx.net>
6914 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6915 text*.C to text_func.C
6917 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6919 * introduce namespace lyx::support
6921 2003-06-30 André Pönitz <poenitz@gmx.net>
6926 * text.C: re-enable --with-included-string
6928 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6930 * textcursor.C: add <config.h>
6932 * text.C (getWord): remove const from word_location arg
6934 * lyxvc.C (getLogFile): fix const type order
6936 * lyxtext.h: remove const from word_location arg, add arg name
6938 * lyxlayout.h: currect type on labeltype.
6940 * importer.C: correct \file
6942 * converter.C (intToFormat): use std:: on ret val, ws changes
6944 * bufferlist.h: correct \file
6946 * buffer.C (makeLinuxDocFile): fix const type order
6947 (makeDocBookFile): ditto
6948 (fillWithBibKeys): use std:: on stdlib args.
6950 * CutAndPaste.C: fix authors.
6951 (availableSelections): use std:: on return vector
6953 2003-06-27 André Pönitz <poenitz@gmx.net>
6955 * BufferView_pimpl.C:
6956 * bufferview_funcs.C:
6964 * text3.C: remove LyXCursor::row_ member
6967 * text.C: rename fullRebreak() to partialRebreak() and implement
6968 a fullRebreak() that really bereks fully
6970 * textcursor.h: new struct for cursor-related data
6972 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
6974 * lyx_main.C (LyX): get full path of document loaded on the
6977 2003-06-26 André Pönitz <poenitz@gmx.net>
6979 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6980 remove unused/broken operator>,<,>=.
6982 * text.C: remove only use of broken operator<= in an Assert().
6984 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
6986 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6987 moved errorlist_.clear to showErrorList
6989 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
6991 * converter.C (scanLog, runLaTeX):
6992 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
6993 move the bv->showErrorList call to the callers
6994 * lyxfunc.C: i.e. here...
6996 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6997 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6998 namespace, the second to...
6999 * buffer_funcs (BufferFormat, parseErrors): added
7000 * errorlist.C (ErrorList(TeXErrors const &)): removed
7002 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7004 * ToolbarBackend.C (getIcon): complain when icon cannot be found
7006 2003-06-24 "Garst R. Reese" <reese@isn.net>
7010 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7012 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
7014 * version.C.in: change docversion to 1.4
7016 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
7018 * buffer.C: fix a bug just introduced
7020 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
7022 * buffer.[Ch]: added the parseError signal and use it, removed
7024 * BufferView.[Ch] (addError): moved to ...
7025 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
7026 to the Buffer::parseError signal to catch (guess what) parse errors
7027 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
7029 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
7031 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
7032 ability to create a buffer and to return an existing one from
7033 the list. Moved these functions to...
7034 * buffer_funcs.[Ch]: added
7035 * BufferView.[Ch] (loadLyXFile): added
7036 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
7037 job removed from bufferlist::loadLyXFile.
7038 * buffer.C (setReadOnly): make it work without view
7039 (i.e added an if (users))
7041 2003-06-19 Angus Leeming <leeming@lyx.org>
7044 * LyXAction.C (init):
7045 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
7046 with LFUN_DIALOG_SHOW <name> <data>.
7048 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7050 * CutAndPaste.C (availableSelections): small compilation fix for
7051 ancient (gcc 2.9x) compilers
7053 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
7055 * text3.C (cursorNext): add tmp var
7057 * text2.C (updateCounters): for function calling out of for clause
7058 (replaceSelectionWithString): ditto
7059 (insertStringAsParagraphs): ditto
7060 (getColumnNearX): add tmp var
7061 (setCursorFromCoordinates): add tmp var
7062 (cursorDownParagraph): add tmp var
7063 (deleteEmptyParagraphMechanism): add tmp var
7065 * text.C (insertChar): add tmp var
7067 * rowpainter.C (paintDepthBar): add tmp var
7069 * CutAndPaste.C (availableSelections): potentially check all
7070 paragraphs in a cut to fill the shown strings.
7072 2003-06-18 André Pönitz <poenitz@gmx.net>
7074 * kbmap.[Ch]: use vector<> instead of list<>
7076 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
7078 * text3.C (dispatch): handle arg to LFUN_PASTE, call
7079 pasteSelection with index
7081 * text2.C (pasteSelection): modify, call pasteSelection with index
7083 * paragraph.C (asString): reimplement version with no interval to
7084 call the one with interval.
7086 * lyxtext.h: add index arg to pasteSelection
7088 * MenuBackend.C (MenuItem): handle PasteRecent
7089 (Menu::read::Menutags): add md_pasterecent
7091 (expandPasteRecent): new function
7094 * MenuBackend.h: add PasteRecent to MenuItem::Kind
7096 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
7098 (availableSelections): new function
7100 2003-06-17 Angus Leeming <leeming@lyx.org>
7102 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
7104 2003-06-17 Angus Leeming <leeming@lyx.org>
7107 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
7109 * lyxfunc.C (dispatch): invoke it.
7111 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7113 * iterators.C (operator++, ParPosition): reintroduce some
7114 const_cast for the benefit of older compilers.
7116 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7118 * text3.C (dispatch): do not modify clipboard when doing
7119 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
7120 LFUN_DELETE_SKIP on a selection selection
7122 2003-06-16 André Pönitz <poenitz@gmx.net>
7128 * tabular.[Ch]: IU of clone() and getLabelList();
7130 2003-06-13 André Pönitz <poenitz@gmx.net>
7132 * tabular.h: compactification
7134 2003-06-12 André Pönitz <poenitz@gmx.net>
7138 * tabular_funcs.h: some renaming plus whitespace
7140 2003-06-12 André Pönitz <poenitz@gmx.net>
7143 * BufferView_pimpl.C:
7149 * toc.C: Return a Paragraph & for ParIterator::operator*()
7151 2003-06-11 John Levon <levon@movementarian.org>
7155 * ToolbarBackend.C: add "Toolbars" section and
7158 2003-06-10 Angus Leeming <leeming@lyx.org>
7161 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
7163 * lyxfunc.C (dispatch): invoke it.
7165 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7167 * main.C: protect <ios> with HAVE_IOS
7168 (main): protect sync_with_stdio with HAVE_IOS
7170 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
7172 * text2.C (cutSelection): adjust
7173 (pasteSelection): adjust
7175 * messages.C: handle get of empty string
7177 * main.C (main): use sync_with_stdio(false)
7179 * lyxfunc.C (dispatch): adjust
7181 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
7182 (WriteAs): remove unneeded BufferView arg.
7184 * bufferparams.h: use correct types on papersize, papersize2 and
7187 * bufferparams.C (readToken): adjust for type
7188 (writeLaTeX): add missing cases to switch.
7190 * bufferlist.C (quitWriteBuffer): adjust
7193 * buffer.C (asciiParagraph): remove some commented code.
7195 * CutAndPaste.C: remove current_view extern variable.
7196 (cutSelection): add BufferParams arg.
7197 (eraseSelection): add BufferParams arg.
7198 (pasteSelection): add Buffer const & arg
7200 2003-06-07 John Levon <levon@movementarian.org>
7203 * paragraph_funcs.C:
7204 * paragraph_pimpl.C:
7208 * paragraph.C: allow InsetERT to freely space lines,
7209 and some consolidation of code
7211 2003-06-06 José Matos <jamatos@fep.up.pt>
7213 * buffer.C (makeDocBookFile): fix bug #821
7215 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
7217 * BufferView_pimpl.C (dispatch): use Dialogs::visible
7219 2003-06-04 Angus Leeming <leeming@lyx.org>
7221 * buffer.C: bump format to 224.
7223 2003-06-05 André Pönitz <poenitz@gmx.net>
7225 * text2.C (redoParagraphs): remove two const_cast<>
7227 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
7229 * ParagraphList.h: remove last remnants of NO_STD_LIST
7231 2003-06-03 Angus Leeming <leeming@lyx.org>
7233 * factory.C (createInset): small change to the way InsetExternal's params
7236 2003-06-04 André Pönitz <poenitz@gmx.net>
7238 * buffer.h: use Undo directly instead of shared_ptr<Undo>
7240 * paragraph_pimpl.h:
7241 * paragraph.[Ch]: some Inset -> UpdatableInset changes
7243 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
7245 * undo_funcs.C: make some simple cases of undo work again
7247 2003-06-03 John Levon <levon@movementarian.org>
7249 * ispell.C: HPUX doesn't have sys/select.h
7252 2003-06-03 John Levon <levon@movementarian.org>
7254 * CutAndPaste.C: update tabular and include inset
7259 * paragraph.C: remove owningBuffer(), don't pass Buffer
7262 * factory.C: insetGraphicsParams changed
7264 2003-06-02 John Levon <levon@movementarian.org>
7270 * text3.C: remove insetparent
7272 2003-06-02 John Levon <levon@movementarian.org>
7275 * buffer.C: fix inset_iterator.end(), move out of line
7278 2003-06-01 John Levon <levon@movementarian.org>
7280 * text3.C: use a proper cut/paste when doing inset
7281 insert (from Jürgen Spitzmüller)
7283 2003-06-01 John Levon <levon@movementarian.org>
7285 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7287 2003-05-30 André Pönitz <poenitz@gmx.net>
7289 * rowpainter.C: unify second drawing phase
7291 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7293 * trans_mgr.C: remove one case of current_view
7295 * text2.C (cursorBottom): delete NO_STD_LIST stuff
7297 * paragraph_funcs.h: remove paragraph.h include
7299 * paragraph.h: delete NO_STD_LIST stuff
7301 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7303 * buffer.h: remove paragraph.h include
7305 * ParagraphList.C: delete file
7307 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7309 * toc.C (getTocList): adjust
7311 * paragraph_pimpl.C (validate): adjust
7313 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7315 * paragraph.C (Paragraph): adjust
7316 (getPositionOfInset): use const_iterator, adjust
7317 (bibitem): use const_iterator, adjust
7318 (setInsetOwner): adjust
7320 * iterators.C (operator++): adjust
7322 * InsetList.[Ch]: Replace selfmade iterator with standard
7323 vector::iterator also introduce const_iterator. Remove getPos,
7324 getInset and setInset from InsetTable. Adjust accordingly.
7326 * BufferView.C (lockInset): adjust
7327 (ChangeInsets): adjust
7329 * tabular.[Ch]: delete commented same_id functions
7331 2003-05-28 John Levon <levon@movementarian.org>
7333 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7335 2003-05-28 André Pönitz <poenitz@gmx.net>
7337 * metricsinfo.[Ch]: remove 'fullredraw' member
7339 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
7341 * lyxtextclass.C (operator): remove caching.
7343 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7347 * text2.C (cursorBottom): adjust
7348 (setCounter): use ParagraphList::find, adjust
7350 * text.C (workWidth): use ParagraphList::find, adjust
7352 * lyxcursor.C (LyXCursor): adjust
7354 * buffer.C (inset_iterator): adjust
7356 * ParagraphList.h: make iterator(value_type) private, make
7357 ParagraphList a friend of iterator.
7359 * ParagraphList.C (find): new function
7361 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7363 2003-05-27 André Pönitz <poenitz@gmx.net>
7365 * dimension.[Ch]: a -> asc, d -> des, w -> wid
7367 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7369 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7371 2003-05-26 John Levon <levon@movementarian.org>
7373 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7375 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
7377 * remove same_id from function signatures, adjust.
7379 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7381 * undo_funcs.C (createUndo): use the id functions directly, adjust.
7383 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7385 * paragraph.C (Paragraph): get rid of same_ids parameter
7387 * ParagraphList.C (insert): adjust
7390 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7392 * paragraph_funcs.C (breakParagraph): adjust
7393 (breakParagraphConservative): adjust
7395 * buffer.C (readParagraph): adjust
7397 * ParagraphList.C (insert): take a reference instead of a pointer
7400 * paragraph.[Ch] (id): new function
7402 * bufferlist.C (newFile): adjust
7404 * ParagraphList.C (ParagraphList): adjust
7406 (push_back): take a reference instead of a pointer.
7408 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7410 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7413 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7414 set else use old code.
7416 * ParagraphList.C: remove all NO_NEXT code and only compile this
7417 code of NO_STD_LIST is set.
7419 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7421 * BufferView_pimpl.C:
7431 * graphics/GraphicsConverter.C:
7432 * graphics/PreviewLoader.C: header adjustment
7434 2003-05-23 Angus Leeming <leeming@lyx.org>
7436 * LaTeXFeatures.[Ch] (useBabel): new method.
7437 * bufferparams.C (writeLaTeX): use it.
7439 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7441 * ParagraphList.h (set): remove unused function.
7443 2003-05-23 André Pönitz <poenitz@gmx.net>
7446 * BufferView_pimpl.C:
7450 * undo_funcs.C: setUndo reworked
7452 * iterators.[Ch]: add access to topmost ParagraphList
7454 * lyxtext.[Ch] (workWidth): add a const
7456 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7458 * texrow.[Ch] (increasePos): remove function
7459 * exporter.C (export): removed unused var and outdated comment
7461 2003-05-23 Angus Leeming <leeming@lyx.org>
7463 * latexrunparams.h: rename fragile as moving_arg.
7464 * paragraph.C (simpleTeXOnePar): ditto.
7465 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7467 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7469 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7471 (textUndoOrRedo): comment out a currently unused var.
7473 * paragraph.h (NO_NEXT): enable NO_NEXT
7475 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7477 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7479 * exporter.C (Export): adjust for removeAutoInsets removal.
7481 * buffer.C (runChktex): adjust for removeAutoInsets removal.
7483 * LyXAction.C (init): remove LFUN_REMOVEERRORS
7485 * BufferView.[Ch] (removeAutoInsets): delete function
7487 2003-05-22 Angus Leeming <leeming@lyx.org>
7489 * latexrunparams.h: add a free_spacing variable.
7491 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7492 to pass moving_arg, as the data is stored in runparams.fragile.
7494 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7495 to Inset::latexOptional or to simpleTeXOnePar.
7497 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7498 free_spacing arg to Inset::latexOptional.
7500 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7503 2003-05-22 Angus Leeming <leeming@lyx.org>
7505 * latexrunparams.h: add fragile and use_babel variables.
7507 * bufferparams.[Ch] (writeLaTeX): return use_babel.
7508 * buffer.C (makeLaTeXFile): store this returned value in
7509 runparams.use_babel, thus passing it to the inset::latex methods.
7511 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7512 simpleTeXSpecialChars as it is now stored in runparams.fragile.
7514 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7515 longer has a fragile arg, as it is stored in runparams.fragile.
7517 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7518 moving_arg parameter as the data is stored in runparams.fragile.
7520 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7521 a fragile parameter as the data is stored in runparams.fragile.
7523 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7525 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7527 2003-05-22 Angus Leeming <leeming@lyx.org>
7529 * latexrunparams.h: add a 'bool nice' which defaults to false.
7531 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7532 now encapsulated within runparams.
7534 * bufferlist.C (updateIncludedTeXfiles):
7535 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7537 2003-05-22 Angus Leeming <leeming@lyx.org>
7539 * latexrunparams.h: new file containing struct LatexRunParams.
7540 * Makefile.am: add new file.
7542 * LaTeX.[Ch] (c-tor, run):
7543 * buffer.[Ch] (makeLaTeXFile):
7544 * bufferlist.[Ch] (updateIncludedTeXfiles):
7545 * converter.C (convert, scanLog):
7546 * converter.[Ch] (runLaTeX):
7547 * exporter.C (Export):
7548 * paragraph.[Ch] (simpleTeXOnePar):
7549 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7550 * paragraph_funcs.[Ch] (latexParagraphs):
7551 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7552 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7553 pass around a LatexRunParams parameter.
7555 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7557 * paragraph.[Ch]: remove unused constructor
7559 * ParagraphList.C (erase): new function, taking two iterators
7561 2003-05-22 André Pönitz <poenitz@gmx.net>
7563 * undo_funcs.C: remove duplicated code
7565 * iterator.[Ch]: operator=
7567 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7569 * tabular.C (SetMultiColumn): ws changes
7571 * rowpainter.C (paintFirst): get rid of a ->previous
7573 * lyx_cb.C (getPossibleLabel): parlist simplification
7575 * BufferView.C (ChangeInsets): simplify slightly.
7577 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
7579 * LyXAction.C: new lfun space-insert, kill protected-space-insert
7580 * lfuns.h: new LFUN_SPACE
7581 * lyxfunc.C: protected space has a new lfun
7582 * paragraph_funcs.C: read new space insets
7584 * factory.C: handle new space insets
7586 2003-05-22 André Pönitz <poenitz@gmx.net>
7589 * BufferView_pimpl.C:
7592 * undo_funcs.C: return a ParIterator from getParFromID.
7594 * iterators.[Ch]: add two const's
7596 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7598 * toc.C (getTocList): adjust
7600 * iterators.[Ch]: rework for parlist
7602 * buffer.C (par_iterator_begin): adjust
7603 (par_iterator_end): adjust
7605 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7607 * BufferView.C (removeAutoInsets): adjust
7608 (ChangeInsets): adjust
7610 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
7612 * text.C (top_y): fix bug 1110
7614 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
7616 * errorlist.[Ch]: added
7619 * BufferView_pimpl.C:
7620 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7623 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7625 * Makefile.am: ensure that lyx is relinked upon changes to the
7626 various "convenience" libs.
7628 2003-05-20 Angus Leeming <leeming@lyx.org>
7630 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7631 files are compiled in alphabetical order again.
7633 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7635 2003-05-19 Angus Leeming <leeming@lyx.org>
7637 * gettext.[Ch]: remove "char const * _(char const *)".
7639 2003-05-19 André Pönitz <poenitz@gmx.net>
7641 * dimension.[Ch]: promote from mathed/dimension.[Ch]
7650 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7652 2003-05-19 André Pönitz <poenitz@gmx.net>
7656 * lyxtextclass.[Ch]:
7658 * paragraph_funcs.[Ch]:
7660 * text3.C: more insetenv work
7662 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
7664 * ParagraphParameters.C (params2string): small bug fixed
7666 2003-05-16 André Pönitz <poenitz@gmx.net>
7669 * bufferview_funcs.C: patch from Kornel Benko to prevent
7670 crash when _(...) is called twice in a statement
7672 2003-05-16 André Pönitz <poenitz@gmx.net>
7679 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7681 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
7683 * lyx_main.C (init): remove spurious static_cast
7685 2003-05-14 André Pönitz <poenitz@gmx.net>
7687 * BufferView.C: fix format string
7689 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
7691 * BufferView.[Ch] (insertErrors): removed
7692 * BufferView.[Ch] (showErrorList): added
7693 * buffer.C (runChkTeX):
7694 * converter.C (scanLog): call showErrorList instead of inserterrors
7696 2003-05-13 André Pönitz <poenitz@gmx.net>
7698 * BufferView_pimpl.C:
7700 * bufferview_func.C:
7707 * tabular_funcs.h: tostr() from its own header
7709 * ParagraphParameters.C:
7714 * text3.C: STRCONV()
7716 2003-05-12 André Pönitz <poenitz@gmx.net>
7719 * BufferView_pimpl.C:
7723 * ParagraphParameters.C:
7727 * bufferview_funcs.C:
7740 * paragraph_funcs.C:
7744 * text3.C: boost::format -> bformat all over the place
7747 2003-05-09 André Pönitz <poenitz@gmx.net>
7749 * LColor.[Ch]: Pimpl the #include <map> away
7751 2003-05-09 John Levon <levon@movementarian.org>
7753 * bufferlist.C: never remove emergency saves
7755 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7757 * Makefile.am: better lib building
7759 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
7761 * texrow.[Ch]: remove dependency on Paragraph and just store a id
7763 * paragraph_pimpl.C (simpleTeXBlanks): adjust
7764 (simpleTeXSpecialChars): adjust
7765 (simpleTeXSpecialChars): adjust
7766 * paragraph.C (simpleTeXOnePar): adjust
7767 * buffer.C (makeLaTeXFile): adjust
7769 * Makefile.am (BOOST_LIBS): allow boost as system lib.
7771 * text2.C (changeDepth): parlist cleanup
7772 (getColumnNearX): ditto
7774 * rowpainter.C (getLabelFont): parlist cleanup
7776 * bufferlist.C (newFile): parlist cleanup
7778 * CutAndPaste.C (eraseSelection): parlist cleanup
7780 * BufferView_pimpl.C (trackChanges): parlist cleanup
7783 * BufferView.C (lockInset): parlist cleanup.
7784 (ChangeInsets): ditto
7786 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7788 * CutAndPaste.h: Update file header.
7790 * CutAndPaste.C: Update file header.
7791 Store the parts cut out of the Document in a limited_stack.
7792 (copySelection): adjust
7793 (pasteSelection): new function, takes the index in the limited stack.
7794 (nrOfParagraphs): adjust
7795 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7796 simplify error inset insertion.
7797 (checkPastePossible): adjust
7799 2003-05-06 John Levon <levon@movementarian.org>
7801 * text2.C: don't cast wrap inset to float
7803 2003-05-05 André Pönitz <poenitz@gmx.net>
7806 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7808 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7809 few naked Paragraph *.
7811 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
7813 * bufferparams.C: Output warning if a document with missing
7814 TeX document class is loaded
7815 * exporter.C: Disable TeX exports if the document class is missing
7818 * lyxtextclasslist.C: Handle new textclass.lst format; new method
7819 isTeXClassAvailable()
7821 2003-05-03 John Levon <levon@movementarian.org>
7824 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7825 explicit cursor show/hide
7827 * BufferView_pimpl.h:
7828 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7829 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7831 * lyxfunc.C: hide cursor before dispatching.
7836 * text3.C: remove explicit cursor hides
7838 2003-05-02 André Pönitz <poenitz@gmx.net>
7840 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7843 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7846 * text2.C: tiny whitespace
7848 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7850 * undo_funcs.C: almost only ws changes.
7852 * ParagraphList.C (splice): just return if pl is empty.
7854 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7856 * ParagraphList.C (splice): new function.
7858 * CutAndPaste.C (pasteSelection): use it
7860 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7862 * CutAndPaste.C (pasteSelection): remove the last next and
7863 previous from this file.
7865 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7867 * CutAndPaste.C (pasteSelection): more clean up, user proper
7868 ParagraphList functions for pasteing.
7870 * ParagraphList.C (insert): new function, three arg insert
7872 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7874 * ParagraphList.C (insert): new function, three arg insert
7876 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7879 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7881 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7883 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7885 * CutAndPaste.C (pasteSelection): remove some unneeded code.
7887 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7889 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7890 (copySelection): clean up a bit.
7891 (pasteSelection): use make_pair
7893 * ParagraphList.C (ParagraphList): implement copy constructor
7894 (operator=): implement, base on copy constructor.
7897 * paragraph.C (erase): return a bool
7899 * paragraph_pimpl.C (erasePos): remove function, move contents...
7900 (erase): ... here. Return a bool.
7901 (erase): call erase instead of erasePos.
7903 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
7905 * ParagraphList.h: define PitPosPair
7906 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7907 ParagraphList, fix a bug on pasting multiple pars
7908 * text2.C: change interface to C&P
7910 2003-04-30 André Pönitz <poenitz@gmx.net>
7912 * undo_func.C: revert part of yesterday's patch 2
7914 2003-04-30 John Levon <levon@movementarian.org>
7916 * LColor.C: s/tabular/table/
7918 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7920 * text3.C (dispatch): do not convert iterator -> pointer
7921 * undo_funcs.C (setCursorParUndo): ditto
7922 * text_funcs.C (transposeChars): ditto
7924 * text2.C (setLayout): ws changes only
7926 * text.C (breakParagraph): do not convert iterator -> pointer
7928 (acceptChange): ditto
7929 (rejectChange): ditto
7934 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7937 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
7939 * text3.C (gotoInset): YABG (yet another bad getChar)
7941 2003-04-29 André Pönitz <poenitz@gmx.net>
7943 * paragraph.h: make operator= private unimplemented as long as
7946 * ParagraphList.C: whitespace
7949 * paragraph_pimpl.[Ch]:
7950 * paragraph_funcs.C:
7952 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
7955 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7957 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
7959 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7960 * paragraph.[Ch] (erase):
7961 * paragraph_pimpl.[Ch] (erase): change return type and value
7962 * text2.C (cutSelection): some rework
7964 2003-04-28 John Levon <levon@movementarian.org>
7966 * bufferlist.C: changes for unsaved changes dialog
7968 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7970 * bufferlist.C (newFile): set language (messages_) for new
7973 * buffer.C (readFile): ws changes only.
7975 2003-04-28 André Pönitz <poenitz@gmx.net>
7980 * BufferView_pimpl.C:
7981 * BufferView.C: getParFromID related ParagraphList::iterator changes
7983 2003-04-28 André Pönitz <poenitz@gmx.net>
7985 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7988 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7990 * messages.C: remove one more localedir class variable.
7992 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7994 * messages.C (getLocaleDir): singleton generation function
7996 (Messages): add a default constructor.
7998 * main.C (main): do not setup localedir here, do not call
8001 * gettext.C (_): use it.
8002 (gettext_init): delete funciton
8004 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8006 * gettext.C (getLyXMessages): new singleton generating function.
8008 * buffer.C (updateDocLang): adjust
8010 * Makefile.am (messages.o): add target
8011 (main.o): remove target
8013 2003-04-27 John Levon <levon@movementarian.org>
8018 * lyxvc.C: specify cancel button in Alert::prompt
8020 2003-04-26 John Levon <levon@movementarian.org>
8025 * LyXAction.C: add LFUN_INSET_SETTINGS
8027 * lyxfunc.C: don't enable tabular-feature when there's
8028 just any locking inset
8030 2003-04-26 John Levon <levon@movementarian.org>
8032 * bufferlist.C: re-add Cancel to buffer close question
8034 * lyxfunc.C: fix import UI a bit
8036 2003-04-25 John Levon <levon@movementarian.org>
8038 * gettext.C: remove the broken asserts for now
8040 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
8042 * messages.C: make case where setlocale cannot comply work better.
8044 * buffer.C (updateDocLang): new function
8045 (changeLanguage): use it
8048 * text2.C (setCounter): use B_ a bit.
8050 * lyxlayout.C (Read): be sure to trim the label strings.
8052 * messages.C (Messages): fix typo in comment
8054 * buffer.C (readFile): set message_ after file is loaded.
8055 (makeDocBookFile): remove double return
8056 (changeLanguage): reset message_ upon language change.
8057 (B_): new func, use this to get translated buffer strings.
8059 * main.C: add myself and Jean Marc as authors.
8061 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
8063 * messages.[hC]: pimplify Messages, and three different pimpls to be
8064 used in different circumstances.
8066 * gettext.[Ch]: change for use with new message code.
8068 2003-04-24 André Pönitz <poenitz@gmx.net>
8070 * factory.C: support for eqref
8072 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
8074 * messages.[Ch]: add missing char
8076 * Makefile.am (lyx_SOURCES): add messages.[Ch]
8078 * messages.[Ch]: New files
8080 2003-04-18 John Levon <levon@movementarian.org>
8084 * BufferView_pimpl.C:
8088 * text2.C: remove layout-copy/paste (bug 778)
8090 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
8092 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
8094 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
8096 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
8097 if they succeed. Act accordingly.
8099 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8101 * text2.C (setCharFont): adjust
8102 (setCounter): adjust
8103 (insertStringAsLines): adjust
8105 * text.C (leftMargin): adjust
8106 (setHeightOfRow): adjust
8108 * rowpainter.C (paintFirst): adjust
8111 * paragraph_funcs.C (depthHook): ParagraphList::iterators
8113 (isFirstInSequence): ditto
8114 (getEndLabel): ditto
8117 * paragraph.C (getParLanguage): comment out some hard stuff.
8119 * buffer.C (insertStringAsLines): take a ParagraphList as arg
8121 (simpleDocBookOnePar): ditto
8122 (makeDocBookFile): use ParagraphList::iterator
8124 * CutAndPaste.C (pasteSelection): adjust
8126 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8128 * text2.C (getFont): adjust
8129 (getLayoutFont): adjust
8130 (getLabelFont): adjust
8132 * paragraph_funcs.C (TeXOnePar): adjust
8134 * buffer.C (simpleLinuxDocOnePar): adjust
8135 (simpleDocBookOnePar): adjust
8137 * CutAndPaste.C (pasteSelection): adjust
8139 * BufferView.C (getEncoding): adjust
8141 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
8143 2003-04-16 John Levon <levon@movementarian.org>
8145 * lyxfind.C: use parlist stuff for search/changes
8147 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8149 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
8151 * text2.C (deleteEmptyParagraphMechanism): adjust
8153 * text2.[Ch] (ownerParagraph): delete func (both of them
8155 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8157 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
8159 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8161 * ParagraphList.C: prepare for NO_NEXT
8163 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8165 * text2.C (getFont): adjust
8166 (getLayoutFont): adjust
8167 (getLabelFont): adjust
8169 * paragraph.C (getFont): adjust
8170 (getLabelFont): adjust
8171 (getLayoutFont): adjust
8173 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
8175 2003-04-15 John Levon <levon@movementarian.org>
8179 * lyx_main.C: handle Include in .ui files
8181 2003-04-15 John Levon <levon@movementarian.org>
8183 * MenuBackend.C: make the doc files length shorter
8186 * ToolbarBackend.C: handle toolbar placement flags,
8189 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8191 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
8194 * paragraph_funcs.C (TeXOnePar): adjust
8196 * paragraph.C (getLabelFont): add outerfont arg, adjust
8197 (getLayoutFont): ditto
8198 (simpleTeXOnePar): adjust
8200 * paragraph_pimpl.C (realizeFont): delete func
8202 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
8204 * text2.C (beforeFullRowInset): added a bad getchar check, removed
8205 row argument, constify cur argument.
8207 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8209 * text2.C (getFont): adjust
8210 (getLayoutFont): adjust
8211 (getLabelFont): adjust
8213 * paragraph_funcs.C (TeXOnePar): adjust
8214 (outerFont): new func...
8215 (realizeFont): ...moved out from here, changed this to facilitate
8218 * paragraph.C (getFont): take outerfont as arg, adjust
8219 (simpleTeXOnePar): add outerfont arg, adjust
8221 * buffer.C (simpleLinuxDocOnePar): adjust
8222 (simpleDocBookOnePar): adjust
8224 * CutAndPaste.C (pasteSelection): adjust
8226 * BufferView.C (getEncoding): adjust
8228 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8230 * text2.C (setCharFont): adjust
8231 (setCounter): adjust
8233 * text.C (leftMargin): adjust
8234 (setHeightOfRow): adjust
8236 * rowpainter.C (paintFirst): adjust
8239 * paragraph_pimpl.C (realizeFont): adjust
8241 * paragraph.C (isFirstInSequence): move from here...
8242 * paragraph_funcs.C (isFirstInSequence): ...to here
8244 * paragraph.C (outerHook): move from here...
8245 * paragraph_funcs.C (outerHook): ...to here
8247 * paragraph.C (depthHook): move from here...
8248 * paragraph_funcs.C (depthHook): ...to here
8250 * paragraph.C (getEndLabel): move from here...
8251 * paragraph_funcs.C (getEndLabel): ...to here
8253 * text2.C (realizeFont): move from here...
8254 * paragraph_funcs.C (realizeFont): ...to here
8256 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8258 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
8260 2003-04-14 Angus Leeming <leeming@lyx.org>
8262 * LColor.[Ch]: scrap LColor mathcursor.
8264 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8266 * lyxlex.[Ch] (text): delete function
8267 * trans.C (Load): adjust
8268 * paragraph_funcs.C (readParToken): adjust
8270 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8272 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8273 vector<char> instead of a char[].
8275 * lyxlex_pimpl.C (getString): adjust
8277 (lex): use getString
8281 * lyxlex.C (text): use pimpl_->getString()
8285 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8287 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8288 (makeFontEntriesLayoutSpecific): temp var for par.size()
8289 (setLayout): temp var for ownerParagraphs().end()
8290 (fullRebreak): temp var for rows().end()
8291 (selectionAsString): temp var for boost::next(startpit), realize
8292 that the while really is a regular for loop.
8293 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8294 setCursor in one place.
8295 (setParagraph): temp vr for ownerParagraphs().end()
8296 (updateCounters): make the while loop a for loop
8297 (cutSelection): temp var for ownerParagraphs().end()
8298 (updateInset): make the do {} while() a regular for loop
8299 (getCursorX): use temp vars
8300 (setCurrentFont): use temp vars
8301 (getColumnNearX): use temp vars
8303 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8305 * text.C (transformChar): use temp var for getChar
8306 (computeBidiTables): use temp var for row->par()
8307 (fill): move temp vars for row->par() and pit->layout() earlier in
8309 (labelFill): use temp var for row->par()
8310 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8311 asc and desc, realize that pit never changes and that firstpit is
8312 just a duplicate and not needed. Exchange rit->par() with pit in a
8314 (breakAgain): use a temp var for boost::next(rit)
8315 (breakAgainOneRow): ditto
8316 (breakParagraph): use a temp var for rows().begin()
8317 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8318 (cursorRightOneWord): use temp var for cursor.par() and
8319 cursor.pos(), remove usage of tmpcursor.
8320 (cursorLeftOneWord): use temp var for cursor.par() and
8321 cursor.pos() only set cur at end of function.
8323 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8325 * text.C, text2.C: exchange all usage of Paragraph::next with
8326 boost::next(ParagraphList::iterator)
8328 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8330 * text2.C (cursorTop): simplify implementation
8331 (cursorBottom): ditto
8332 (setParagraph): use ParagraphList::iterator
8333 (setCurrentFont): adjust
8334 (getColumnNearX): adjust
8335 (cursorRight): adjust
8336 (cursorLeft): remove usage of Paragraph::previous
8337 (cursorUpParagraph): ditto
8338 (deleteEmptyParagraphMechanism): slight cleanup
8340 * text.C (isBoundary): take a Paragraph const & instead of a
8342 (addressBreakPoint): ditto
8343 (leftMargin): remove usage of Paragraph::previous.
8344 (setHeightOfRow): ditto
8345 (cursorLeftOneWord): ditto
8346 (selectNextWordToSpellcheck): ditto
8349 (breakParagraph): remove one usage of Paragraph::next
8350 (redoParagraph): ditto
8351 (acceptChange): ditto
8352 (insertChar): adjust
8353 (rowBreakPoint): adjust
8355 * bufferview_funcs.C (toggleAndShow): adjust
8357 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
8359 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8360 methods to access it.
8362 * text.C: Added updateRowPositions to compute all row positions.
8363 Make top_y and getRowNearY() to use the cached y position
8365 2003-04-11 John Levon <levon@movementarian.org>
8367 * text.C (rowBreakPoint): reintroduce the labelEnd
8368 checks, code copied from the row fill stuff. Deep voodoo.
8370 * text.C (fill): add a comment and debugging for the
8373 2003-04-11 John Levon <levon@movementarian.org>
8375 * text.C: make sure fullrow insets get wrapped to the next line,
8376 even when they're in a manual label
8378 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
8380 * text2.C (insertParagraph): make it take ParagraphList::iterator
8382 (setLayout): make it return ParagraphList::iterator
8383 (redoParagraphs): ditto
8385 (checkParagraph): ditto
8387 * text.C (getRow): make getrow take ParagraphList::iterator as arg
8389 * text2.C: adjust several funcs.
8390 (realizeFont): take a ParagraphList::iterator as arg.
8391 (getLayoutFont): ditto
8392 (getLabelFont): ditto
8393 (setCharFont): ditto
8395 * text.C: adjust several funcs.
8397 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8399 * text.C (selectNextWordToSpellcheck): don't accidentally
8402 2003-04-10 John Levon <levon@movementarian.org>
8404 * ToolbarBackend.C (getIcon): special handling for
8407 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8409 * text2.C (cursorRight): a getChar assert fixed
8411 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8413 * text2.C (getFont): change to take a ParagraphList::iterator
8414 instead of Paragraph*
8415 Adjust several functions.
8417 * text.C (transformChar): change to take a ParagraphList::iterator
8418 instead of Paragraph*
8419 (singleWidth): ditto
8420 Adjust several functions.
8422 * rowpainter.C: adjust several functions
8423 * rowpainter.h:store a ParagraphList::iterator and not a
8427 2003-04-09 John Levon <levon@movementarian.org>
8432 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8433 and the "help" bits as well
8435 2003-04-09 John Levon <levon@movementarian.org>
8438 * ToolbarBackend.C: allow multiple toolbars
8440 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8442 * undo_funcs.C (setCursorParUndo): adjust
8444 * text_funcs.C (transposeChars): adjust
8446 * text3.C (gotoNextInset): adjust
8449 * text2.C (setLayout): adjust
8450 (changeDepth): adjust
8452 (redoParagraphs): adjust
8453 (selectionAsString): adjust
8454 (setParagraph): adjust
8455 (insertInset): adjust
8456 (cutSelection): adjust
8457 (copySelection): adjust
8458 (pasteSelection): adjust
8459 (insertStringAsLines): adjust
8460 (updateInset): adjust
8461 (setCursor): change to take a ParagraphList::iterator parameter
8462 (setCursorIntern): change to take a ParagraphList::iterator parameter
8463 (setCurrentFont): adjust
8464 (cursorLeft): adjust
8465 (cursorRight): adjust
8466 (deleteEmptyParagraphMechanism): adjust
8468 * text.C (breakParagraph): adjust
8469 (insertChar): adjust
8470 (acceptChange): adjust
8471 (rejectChange): adjust
8472 (selectNextWordToSpellcheck): adjust
8473 (changeCase): adjust
8477 * lyxfind.C (SearchForward): adjust
8478 (SearchBackward): adjust
8479 (nextChange): adjust
8481 * lyxcursor.C (par): adjust
8483 * lyxcursor.h: store a ParagraphList::iterator instead of a
8486 * lyx_cb.C (getPossibleLabel): adjust
8488 * bufferview_funcs.C (toggleAndShow): adjust
8490 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8493 * BufferView.C (removeAutoInsets): adjust
8494 (lockedInsetStoreUndo): adjust
8496 2003-04-09 John Levon <levon@movementarian.org>
8498 * ToolbarBackend.C: try icon without argument
8499 if with argument fails
8501 2003-04-08 John Levon <levon@movementarian.org>
8504 * ToolbarBackend.C: add getIcon(), handle tooltip,
8505 and change from "Icon" to "Item".
8507 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8509 * BufferView.C (lockInset): another bad getchar crunched
8511 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8513 * text2.C (changeDepth): do not setUndo on test_only (make undo work
8516 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
8518 * lyxfind.C (searchForward, searchBackwards): bug 782
8520 2003-04-07 John Levon <levon@movementarian.org>
8522 * paragraph.C: remove dead comment
8524 * text.C: remove troublesome depth-fiddling code
8525 in leftMargin() and rightMargin() (bug 1017)
8527 * text.C: fix breaking of rows in nested lists
8530 * text2.C (updateCounters): fix up depth values
8533 2003-04-07 John Levon <levon@movementarian.org>
8535 * BufferView_pimpl.C: clear message when doc finishes resizing,
8536 and after a mouse event
8538 * lyxfunc.C: clear message after exiting inset
8540 2003-04-07 John Levon <levon@movementarian.org>
8542 * bufferview_funcs.C: show math status not outside
8543 status in the statusbar
8545 2003-04-07 John Levon <levon@movementarian.org>
8547 * lyxfunc.C: note status changed after a depth change
8549 2003-04-04 Angus Leeming <leeming@lyx.org>
8551 * LaTeX.h: move AuxInfo operator==, != out of line.
8552 Remove LaTeX virtual destructor; nothing derives from it.
8553 Move operator()() out of public area and rename it startscript().
8554 Change protected for private.
8556 2003-04-04 Angus Leeming <leeming@lyx.org>
8559 * text2.C: remove unneeded #includes.
8561 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8563 * text2.C (dEPM): fix the heigth of the next row
8565 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8567 * text.C: squashed an invalid getChar requester + some ws changes
8569 2003-04-03 John Levon <levon@movementarian.org>
8571 * bufferview_funcs.h:
8572 * bufferview_funcs.C:
8575 * text2.C: make getStatus work for the env depth lfuns
8577 2003-04-03 John Levon <levon@movementarian.org>
8579 * bufferview_funcs.h:
8580 * bufferview_funcs.C:
8583 * text2.C: parlistize decDepth(), by merging it with incDepth()
8585 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8587 * lyxrow.h: store a ParagraphList::iterator instead of a
8588 Paragraph* and adjust other class functions to suit.
8590 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8593 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8595 * text2.C (setCursor): do not anchor to cursor row for the time being
8597 2003-04-02 John Levon <levon@movementarian.org>
8604 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8606 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8608 * paragraph.h: make ParagraphList and ParagraphList::iterator
8609 friends of Paragraph.
8611 * buffer.C (makeLinuxDocFile): move towards ParagraphList
8613 * ParagraphList.C: Use the private next_ and previous_ from
8616 2003-04-01 John Levon <levon@movementarian.org>
8620 * Makefile.am: rename, remove defaults gunk
8623 * MenuBackend.C: remove defaults gunk
8626 * Languages.C: remove defaults gunk
8629 * lyx_main.C: error out if files couldn't be found.
8631 2003-04-02 John Levon <levon@movementarian.org>
8633 * text2.C: make incDepth() use parlist
8635 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8637 * undo_funcs.C (firstUndoParagraph): adjust
8639 * text3.C (gotoInset): adjust
8640 (dispatch): adjust, and rewrite loop.
8642 * text2.C (init): adjust, and rewrite loop.
8643 (redoParagraphs): adjust
8644 (updateInset): adjust, and rewrite loop.
8645 (deleteEmptyParagraphMechanism): adjust
8647 * tabular.C (LyXTabular): adjust
8648 (SetMultiColumn): adjust
8651 * lyxtext.[Ch] (ownerParagraph): delete function
8652 (ownerParagraphs): new function returns a ParagraphList.
8654 * BufferView.C (removeAutoInsets): adjust
8655 (insertErrors): adjust
8656 (setCursorFromRow): adjust
8658 2003-04-01 Angus Leeming <leeming@lyx.org>
8660 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8663 2003-04-02 John Levon <levon@movementarian.org>
8669 * text_funcs.C: make transposeChars a free function
8671 * lyxrow_funcs.C: remove wrong comment
8673 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8676 * rowpainter.C: adjust
8681 * lyxrow_funcs. [Ch]: new files
8683 * lyxrow.[Ch]: remove next and previous pointers
8684 (next,previous): remove accessor functions
8685 (isParEnd): move to lyxrow_funcs
8686 (lastPos): move to lyxrow_funcs
8687 (nextRowIsAllInset): move to lyxrow_funcs
8688 (lastPrintablePos): move to lyxrow_funcs
8689 (numberOfSeparators): move to lyxrow_funcs
8690 (numberOfHfills): move to lyxrow_funcs
8691 (numberOfLabelHfills): move to lyxrow_funcs
8692 (hfillExpansion): move to lyxrow_funcs
8696 * bufferview_funcs.C (toggleAndShow): adjust
8698 * RowList.h: Remove class RowList from file leave just a
8701 * RowList.C: delete file
8703 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8706 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8708 * text3.C (cursorPrevious): adjust
8709 (cursorNext): adjust
8712 * text2.C (redoHeightOfParagraph): adjust
8713 (redoDrawingOfParagraph): adjust
8716 * text.C (breakParagraph): adjust
8717 (insertChar): adjust
8720 * rowpainter.C (RowPainter): adjust
8721 (leftMargin): simplify and adjust
8722 (most rowpainter functions): adjust.
8724 * rowpainter.h: store the row as RowList::iterator not as Row*
8726 * lyxcursor.C (row): taka RowList::iterator as arg
8729 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8732 2003-04-01 Angus Leeming <leeming@lyx.org>
8734 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8735 stuff like bool Bool.
8737 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8739 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8742 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8744 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8747 * lyxtext.h (rows): drop one version and leve a const variant that
8748 returns a RowList::iterator.
8750 2003-03-31 Angus Leeming <leeming@lyx.org>
8752 * text.C (fill): ensure that the signature is the same as that in the
8755 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
8757 * text2.C (redoParagraphs): adjust
8758 (updateCounters): adjust
8759 (checkParagraph): adjust
8760 (getColumnNearX): adjust and reformat a bit.
8762 * text.C (top_y): adjust
8764 (leftMargin): adjust
8765 (prepareToPrint): adjust
8767 (getRowNearY): adjust
8769 * lyxtext.h: make rowlist_ mutable.
8771 * RowList.h: add const_iterator
8772 * RowList.C: adjust for RowList::const_iterator.
8774 * text2.C (getCursorX): make it take a RowList::iterator as arg,
8777 2003-03-31 John Levon <levon@movementarian.org>
8780 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8782 * lyx_main.C: set default fonts from using lyx_gui funcs
8784 * exporter.C: pdf_mode moved from lyxrc
8787 * lyxfunc.C: changes from above
8789 2003-03-31 John Levon <levon@movementarian.org>
8791 * lyx_main.C: fix to the last fix
8793 2003-03-31 John Levon <levon@movementarian.org>
8795 * bufferlist.C: "Load original" -> "Load Original"
8801 * format.C: more Alert cleanups
8803 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8805 * text2.C (removeParagraph): make it take a RowList::iterator as
8807 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8808 (postRowPaint): make it take a RowList::iterator as arg, adjust.
8810 * text.C (anchor_row): make it take a RowList::iterator as arg,
8812 (computeBidiTables): make it take a const reference to Row instead
8813 of Row pointer, adjust.
8814 (leftMargin): make it take a RowList::iterator as arg, adjust.
8815 (rowBreakPoint): adjust
8816 (breakAgainOneRow): make it take a RowList::iterator as arg,
8818 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8820 * bufferview_funcs.C (toggleAndShow): adjust
8822 2003-03-30 John Levon <levon@movementarian.org>
8826 * boost-inst.C: moved to support
8828 * several files: changes as a result
8830 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8832 * text2.C (LyXText): adjust.
8834 (removeRow): make it take a RowList::iterator as arg, adjust.
8835 (fullRebreak): adjust
8836 (deleteEmptyParagraphMechanism): adjust
8837 (clearPaint): adjust
8840 * text.C (top_y): adjust
8841 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8842 (breakAgain): make it take a RowList::iterator as arg, adjust.
8843 (breakParagraph): adjust
8844 (insertChar): adjust
8847 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8848 need_break_row, and refresh_row.
8850 * text3.C (dispatch): adjust
8852 * text2.C (checkParagraph): adjust
8854 (setCursorFromCoordinates): adjust
8856 * text.C (top_y): adjust
8858 (getRow): make it return a RowList::iterator, adjust
8859 (getRowNearY): make it return a RowList::iterator, adjust
8861 * text2.C (init): adjust
8862 (insertRow): remove function
8863 (insertParagraph): adjust
8864 (redoParagraphs): adjust
8865 (fullRebreak): adjust
8866 (updateCounters): adjust
8868 * text.C (top_y): rewrite to use RowList iterators.
8870 (setHeightOfRow): rewrite to sue RowList iterators.
8871 (appendParagraph): adjust
8872 (breakAgain): adjust
8873 (breakAgainOneRow): adjust
8874 (breakParagraph): adjust
8876 (getRowNearY): adjust, and remove commented code.
8878 * lyxtext.h (firstRow): delete function
8879 (lastRow): delete function
8880 (rows): new function (const and non-const versions.)
8881 (insertRow): delete function
8883 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8885 2003-03-29 John Levon <levon@movementarian.org>
8887 * BufferView_pimpl.C: always update scrollbar top
8888 because pasting text when we're anchored could mean we
8889 miss an update altogether
8891 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8893 * text2.C (init): use rowlist_.end() and not 0.
8894 (insertRow): change to take a RowList::iterator as arg, adjust
8896 (insertParagraph): change to take a RowList::iterator as arg,
8898 (redoParagraphs): remove some debug msgs.
8900 * text.C (appendParagraph): change to take a RowList::iterator
8901 arg, adjust for this.
8902 (breakAgain): add an assert
8903 (breakAgainOneRow): ditto
8905 2003-03-29 John Levon <levon@movementarian.org>
8907 * text2.C: do not clear selection after inc/decDepth
8910 2003-03-29 John Levon <levon@movementarian.org>
8913 * buffer.C: fix broken strerrors according to Lars
8915 2003-03-29 John Levon <levon@movementarian.org>
8917 * converters.C: more Alert cleanups
8919 2003-03-29 John Levon <levon@movementarian.org>
8921 * bufferview_funcs.C: remove pointless Alert
8923 * buffer.C: fix confusing error message when
8924 a template is chmoded 000
8926 2003-03-29 John Levon <levon@movementarian.org>
8930 * BufferView_pimpl.C: Alert fixes
8934 * tabular-old.C: remove unused table compat reading
8936 2003-03-29 John Levon <levon@movementarian.org>
8941 * lyx_cb.C: more Alert cleanups
8943 * lyxfunc.C: don't allow chktex if not latex document
8945 2003-03-29 John Levon <levon@movementarian.org>
8949 * buffer.C: warnings pushed down from support/,
8952 2003-03-29 John Levon <levon@movementarian.org>
8954 * lyxfunc.C: safety check for C-r (revert)
8956 2003-03-29 John Levon <levon@movementarian.org>
8959 * bufferlist.C: several UI fixes using Alert::prompt.
8960 Fix the pointless looping quit code. Fix stupid revert
8965 * lyx_cb.C: use Alert::prompt
8967 * lyx_main.C: remove a silly question
8969 * lyxfunc.C: remove a couple of silly questions,
8972 2003-03-28 John Levon <levon@movementarian.org>
8974 * text2.C: fix bug 974 (End on empty par)
8976 2003-03-28 John Levon <levon@movementarian.org>
8978 * BufferView_pimpl.C:
8980 * lfuns.h: remove do-nothing math greek lfuns
8982 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8984 * lyxgluelength.h (isValidGlueLength): add default arg on
8985 parameter 2. Remove default arg from friend in class.
8987 * lyxlength.h (isValidLength): add default arg on parameter 2.
8988 Remove default arg from friend in class.
8990 * text2.C (LyXText): adjust, initialize refresh_row.
8994 (insertParagraph): adjst
8995 (redoParagraphs): adjust
8996 (fullRebreak): adjust
8997 (updateCounters): adjust
8998 (deleteEmptyParagraphMechanism): first attempt at fixing a
9001 * text.C (top_y): adjust
9002 (setHeightOfRow): adjust
9004 (getRowNearY): adjust
9006 * lyxtext.h: include RowList.h
9007 (~LyXText): not needed anymore, deleted.
9008 (firstRow): modify for RowList
9009 (lastRow): new function
9010 Delete firstrow and lastrow class variables, add a Rowlist
9011 rowlist_ class variable.
9013 * lyxrow.C (lastPos): use empty() and not !size() to check if a
9016 * RowList.C (insert): fix case where it == begin().
9018 2003-03-26 Angus Leeming <leeming@lyx.org>
9020 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
9021 the thesaurus dialog.
9023 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
9025 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
9027 * RowList.[Ch]: new files
9029 * ParagraphList.C (erase): handle the case where it == begin
9032 2003-03-25 John Levon <levon@movementarian.org>
9036 * aspell.C: add new aspell support
9039 * lyxrc.C: Make use_pspell be use_spell_lib. Always
9042 2003-03-25 Angus Leeming <leeming@lyx.org>
9045 * LyXAction.C (init): new LFUN_INSET_INSERT.
9047 * BufferView_pimpl.C (dispatch): split out part of the
9048 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
9050 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
9053 2003-03-25 Angus Leeming <leeming@lyx.org>
9055 * lyxfunc.C (dispatch): changes to the Dialogs interface.
9057 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
9060 * text3.C: remove useless row->height(0)
9062 2003-03-25 John Levon <levon@movementarian.org>
9066 * text3.C: rename the refreshing stuff to better names
9068 2003-03-24 John Levon <levon@movementarian.org>
9070 * BufferView_pimpl.h:
9071 * BufferView_pimpl.C: update layout choice on a mouse
9074 2003-03-23 John Levon <levon@movementarian.org>
9076 * Makefile.am: fix commandtags.h reference
9078 2003-03-22 John Levon <levon@movementarian.org>
9080 * BufferView_pimpl.C:
9085 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
9087 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
9090 * text.C: take the rtl methods out of line
9092 2003-03-21 André Pönitz <poenitz@gmx.net>
9094 * metricsinfo.[Ch]: new files containing structures to be passed around
9095 during the two-phase-drawing...
9097 2003-03-21 André Pönitz <poenitz@gmx.net>
9099 * lyxtextclass.C: read 'environment' tag.
9101 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
9103 * text2.C (removeRow): fix bug 964
9105 2003-03-20 John Levon <levon@movementarian.org>
9109 * text2.C: paint cleanups. Inset::update() dropped font
9112 2003-03-19 John Levon <levon@movementarian.org>
9114 * lyxfunc.C: only fitcursor/markDirty if available()
9116 2003-03-19 John Levon <levon@movementarian.org>
9118 * commandtags.h: rename to ...
9120 * lfuns.h: ... this, and renumber / cleanup
9122 2003-03-19 John Levon <levon@movementarian.org>
9124 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
9125 fit the cursor after an lfun
9129 * BufferView_pimpl.h:
9130 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
9132 * LyXAction.C: layout-character should have ReadOnly
9134 * ParagraphParameters.C:
9136 * bufferview_funcs.C:
9143 * undo_funcs.C: changes from above
9145 2003-03-18 John Levon <levon@movementarian.org>
9147 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
9148 remove it from update()
9150 * lyxfunc.C: update layout choice after an lfun
9152 * text3.C: remove extra updateLayoutChoice()s
9154 2003-03-18 John Levon <levon@movementarian.org>
9156 * text.C: top_y change means full repaint, fix
9157 a drawing bug with cursor movement
9159 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
9163 * text2.C: anchor row on setCursor
9165 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
9167 * lyxtext.h: remove almost all mutable keywords
9170 * text3.C: remove const keywords accordingly
9172 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
9174 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
9176 (TeXEnvironment): ditto
9179 2003-03-17 John Levon <levon@movementarian.org>
9181 * text.C (rowBreakPoint): remove attempt to fix displayed
9182 math insets inside a manual label
9184 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
9186 * lyxtext.h: remove BufferView* as first arg from almost all class
9188 * other files: adjust.
9190 2003-03-17 John Levon <levon@movementarian.org>
9194 * text2.C: more paint cleanups
9196 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
9199 * rowpainter.C: remove "smart" background painting code
9201 2003-03-16 John Levon <levon@movementarian.org>
9206 * text3.C: add helper functions for setting refresh_row/y
9208 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
9210 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
9211 newline inset which *can* get inserted in the pass_thru layouts.
9212 This is primarily for literate documents.
9214 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
9216 * buffer.C: increment LYX_FORMAT to 223
9218 2003-03-14 André Pönitz <poenitz@gmx.net>
9220 * textclass.h: prepare for environment handling, ws changes
9221 * lyxlayout.C: read latexheader and latexfooter tags
9223 2003-03-14 John Levon <levon@movementarian.org>
9225 * text2.C: rewrite ::status() a bit
9227 2003-03-13 John Levon <levon@movementarian.org>
9229 * lyxtext.h: add some docs
9231 2003-03-13 John Levon <levon@movementarian.org>
9236 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
9238 2003-03-13 John Levon <levon@movementarian.org>
9240 * text3.C: fix appendix redrawing
9242 2003-03-13 John Levon <levon@movementarian.org>
9244 * text.C (setHeightOfRow):
9246 * rowpainter.C: make appendix mark have the text
9247 "Appendix" so the user knows what it is
9250 * LColor.C: s/appendixline/appendix/ from above
9252 2003-03-13 John Levon <levon@movementarian.org>
9254 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
9256 * text.C: fix a getChar(pos) bug properly
9258 2003-03-13 Angus Leeming <leeming@lyx.org>
9261 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
9262 Probably only temporary. Let's see how things pan out.
9264 * BufferView.C (unlockInset):
9265 * BufferView_pimpl.C (fitCursor):
9266 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
9268 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
9269 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
9271 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
9272 new functions that convert ParagraphParameters to and from a string.
9274 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9275 BufferView::Pimpl's dispatch.
9276 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9278 2003-03-13 André Pönitz <poenitz@gmx.net>
9282 * factory.C: make it aware of InsetEnv
9284 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
9286 * text2.C (setCursor): never ask for one past last
9287 (setCursor): add some debugging messages.
9289 * text.C (singleWidth): never ask for one past last
9290 (singleWidth): ditto
9292 (rightMargin): ditto
9293 (rowBreakPoint): ditto
9294 (setHeightOfRow): ditto
9295 (prepareToPrint): ditto
9297 * rowpainter.C (paintBackground): never ask for one past last
9298 (paintText): never ask for one past last
9300 * paragraph_pimpl.C (getChar): make the assert stricter, never
9301 allow the one past last pos to be taken
9303 * paragraph.C (getChar): ws changes only
9305 * lyxrow.C (nextRowIsAllInset): never ask for one past last
9306 (numberOfSeparators): ditto
9307 (numberOfHfills): ditto
9309 2003-03-12 John Levon <levon@movementarian.org>
9315 * paragraph_funcs.C: fix per-buffer authorlists
9317 2003-03-12 John Levon <levon@movementarian.org>
9319 * text.C: fix newline in right address
9321 2003-03-12 Angus Leeming <leeming@lyx.org>
9323 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9324 duplicate those in LyXFunc::dispatch.
9328 * ToolbarDefaults.C:
9329 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9330 Add LFUN_FONTFREE_UPDATE.
9332 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9333 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9335 * bufferview_func.[Ch]: several new functions to facilliate
9336 transfer of data to and from the character dialog.
9338 2003-03-12 John Levon <levon@movementarian.org>
9343 * paragraph_funcs.C:
9344 * paragraph_pimpl.C:
9348 * text3.C: remove META_NEWLINE in favour of an inset
9351 * rowpainter.C: remove paintNewline (done by inset)
9353 2003-03-12 John Levon <levon@movementarian.org>
9355 * paragraph_pimpl.C: complain about bad getChar()s
9356 for a while at least
9358 2003-03-12 John Levon <levon@movementarian.org>
9361 * buffer.C: move paragraph read into a separate function,
9362 a little renaming to reflect that.
9365 * bufferparams.C: remove the author_ids map, not necessary now
9368 * factory.C: moved Buffer::readInset to here
9370 * paragraph_funcs.h:
9371 * paragraph_funcs.C: readParagraph free function moved from
9374 * tabular.C: name change
9376 2003-03-12 John Levon <levon@movementarian.org>
9379 * ParagraphParameters.C: move par params input to
9382 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9383 behave like a normal read from the stream wrt reading
9384 a line vs. a \\token
9386 2003-03-12 John Levon <levon@movementarian.org>
9389 * ParagraphParameters.h:
9390 * ParagraphParameters.C: move output code to a
9393 2003-03-12 John Levon <levon@movementarian.org>
9395 * BufferView.C (insertLyXFile):
9398 * tabular.C: use a parlist iterator for creating the
9401 2003-03-12 John Levon <levon@movementarian.org>
9403 * buffer.C: make current_change static local not
9406 2003-03-12 John Levon <levon@movementarian.org>
9408 * buffer.C: fix insertStringAsLines for change tracking
9410 2003-03-12 John Levon <levon@movementarian.org>
9417 * bufferparams.C: move author list into params. Rename some
9418 functions. Move the header reading into a separate token
9419 loop. Move the header token reading into BufferParams.
9421 2003-03-12 John Levon <levon@movementarian.org>
9423 * changes.C: put debug inside lyxerr.debugging() checks
9425 2003-03-11 André Pönitz <poenitz@gmx.net>
9427 * factory.C: make it aware of InsetHFill
9429 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9431 * buffer.C (latexParagraphs): move function from here...
9432 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9435 2003-03-10 Angus Leeming <leeming@lyx.org>
9437 * LyXAction.C (init): fix bug in poplating array with multiple entries
9438 with the same LFUN (spotted by JMarc).
9440 2003-03-10 John Levon <levon@movementarian.org>
9443 * text2.C: move getColumnNearX() near its
9446 2003-03-10 John Levon <levon@movementarian.org>
9448 * text.C: fix break before a minipage
9450 2003-03-10 John Levon <levon@movementarian.org>
9452 * text.C: fix the last commit
9454 2003-03-09 John Levon <levon@movementarian.org>
9458 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9459 bug 365 (don't break before insets unless needed). Don't
9460 return a value > last under any circumstances.
9462 2003-03-09 Angus Leeming <leeming@lyx.org>
9464 * BufferView_pimpl.C (trackChanges, dispatch): call
9465 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9467 2003-03-09 Angus Leeming <leeming@lyx.org>
9469 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9470 than Dialogs::showAboutlyx().
9472 2003-03-09 Angus Leeming <leeming@lyx.org>
9474 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9475 than Dialogs::showTabularCreate().
9477 2003-03-09 John Levon <levon@movementarian.org>
9481 * text2.C: 3rd arg to nextBreakPoint was always the same.
9484 2003-03-08 John Levon <levon@movementarian.org>
9491 * text2.C: Remove the "main" bit from the "main body"
9494 2003-03-08 John Levon <levon@movementarian.org>
9496 * text.C (leftMargin): The left margin of an empty
9497 manual label paragraph should not include the label width
9500 * text.C (prepareToPrint): don't attempt to measure hfills
9501 for empty manual label paragraphs - the answer should be 0
9503 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9505 * CutAndPaste.C: remove commented code and reindent.
9507 2003-03-08 John Levon <levon@movementarian.org>
9510 * lyxfunc.C: move reloadBuffer()
9513 * BufferView.C: to here
9515 * lyxvc.C: add comment
9518 * vc-backend.C: call bv->reload() to avoid
9519 getStatus() check on MENURELOAD
9521 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
9523 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9524 to an old format .dep file.
9526 2003-03-07 Angus Leeming <leeming@lyx.org>
9528 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9529 when the LFUN_MOUSE_RELEASE should have been handled by
9530 inset->localDispatch.
9532 2003-03-07 Angus Leeming <leeming@lyx.org>
9534 * BufferView_pimpl.C (dispatch):
9535 * LyXAction.C (init):
9536 * ToolbarDefaults.C (init):
9538 * lyxfunc.C (getStatus):
9539 remove LFUN_INSET_GRAPHICS.
9541 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9543 2003-03-07 Angus Leeming <leeming@lyx.org>
9546 * LyXAction.C (init):
9547 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9549 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9552 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9554 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9555 localDispatch method LFUN_INSET_DIALOG_UPDATE.
9557 2003-03-07 Angus Leeming <leeming@lyx.org>
9559 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9562 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9564 * ParagraphList.C (front): new function
9567 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
9569 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9570 and top_row_offset_. removed var first_y.
9572 * text2.C (LyXText, removeRow):
9574 * BufferView_pimpl.C:
9575 use these methods instead of using first_y
9577 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9579 * text2.C (pasteSelection): adjust for checkPastePossible
9581 * CutAndPaste.C: remove Paragraph * buf and replace with
9582 ParagraphList paragraphs.
9583 (DeleteBuffer): delete
9584 (cutSelection): change the tc type to textclass_type
9585 (copySelection): change the tc type to textclass_type
9586 (copySelection): adjust for ParagraphList
9587 (pasteSelection): change the tc type to textclass_type
9588 (pasteSelection): adjust for Paragraphlist
9589 (nrOfParagraphs): simplify for ParagraphList
9590 (checkPastePossible): simplify for ParagraphList
9591 (checkPastePossible): remove unused arg
9593 * ParagraphList.C (insert): handle the case where there are no
9596 * CutAndPaste.h: make CutAndPaste a namespace.
9598 * text3.C (dispatch): adjust
9600 * text.C (breakParagraph): add a ParagraphList as arg
9602 * paragraph_funcs.C (breakParagraph): change to take a
9603 BufferParams and a ParagraphList as args.
9604 (breakParagraphConservative): ditto
9605 (mergeParagraph): ditto
9606 (TeXDeeper): add a ParagraphList arg
9607 (TeXEnvironment): ditto
9610 * buffer.C (readLyXformat2): adjust
9611 (insertStringAsLines): adjust
9612 (latexParagraphs): adjust
9614 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9615 (cutSelection): adjust
9616 (pasteSelection): adjust
9618 * BufferView_pimpl.C (insertInset): adjust
9620 2003-03-05 Angus Leeming <leeming@lyx.org>
9623 * LyXAction.C (init):
9624 * BufferView_pimpl.C (dispatch):
9625 * lyxfunc.C (getStatus):
9626 remove LFUN_CHILD_INSERT.
9628 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9630 2003-03-05 Angus Leeming <leeming@lyx.org>
9633 * LyXAction.C (init):
9634 * src/factory.C (createInset):
9635 * lyxfunc.C (getStatus):
9636 * text3.C (dispatch):
9637 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9639 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9641 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9643 * ParagraphList.C (insert): handle insert right before end()
9644 (erase): fix cases where it can be first or last paragraph.
9646 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9648 * paragraph_funcs.C (TeXEnvironment): remove all usage of
9649 Paragraph::next and Paragraph::previous
9652 * text.C (breakParagraph): adjust
9654 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9655 BufferParams& as arg.
9656 (breakParagraph): use ParagraphList::insert
9657 (breakParagraphConservative): take a Buffer* instead of a
9658 BufferParams& as arg.
9659 (breakParagraphConservative): use ParagraphList::insert.
9661 * buffer.C (insertStringAsLines): un-const it
9662 (insertStringAsLines): adjust
9664 * ParagraphList.C (insert): new function
9666 * CutAndPaste.C (pasteSelection): adjust
9668 * text.C (backspace): adjust
9670 * tabular.C (SetMultiColumn): adjust
9672 * CutAndPaste.C (cutSelection): adjust
9673 (pasteSelection): adjust
9675 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9676 Buffer const * as arg
9678 * ParagraphList.C (erase): new function
9679 * paragraph_funcs.C (mergeParagraph): use it
9680 (mergeParagraph): make it take a Buffer* instead of a
9681 BufferParams* as arg
9683 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9685 (breakParagraphConservative): ditto
9687 * paragraph.h: remove the breakParagraph friend
9689 * paragraph.C (eraseIntern): new function
9690 (setChange): new function
9692 * paragraph_funcs.C (mergeParagraph): make it take a
9693 ParagraphList::iterator instead of a Paragraph *, adjust
9696 * paragraph.h: move an #endif so that the change tracking stuff
9697 also works in the NO_NEXT case.
9699 2003-03-04 Angus Leeming <leeming@lyx.org>
9702 * LyXAction.C: new LFUN_INSET_MODIFY.
9704 * BufferView_pimpl.C (dispatch): if an inset is found to be open
9705 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9707 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9709 * several files: ws changes only
9711 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9712 (TeXEnvironment): ditto
9715 * buffer.C (makeLaTeXFile): adjust
9716 (latexParagraphs): make it take ParagraphList::iterator as args
9718 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
9720 * buffer.C (latexParagraphs): adjust
9722 * paragraph.C (TeXOnePar): move function...
9723 (optArgInset): move function...
9724 (TeXEnvironment): move function...
9725 * paragraph_pimpl.C (TeXDeeper): move function...
9726 * paragraph_funcs.C: ...here
9728 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9730 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9732 * buffer.C (readInset): remove compability code for old Figure and
9735 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9737 * buffer.C: ws changes
9740 * BufferView_pimpl.C: ditto
9743 * bufferlist.h: ditto
9747 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
9749 * converter.[Ch]: split into itself +
9752 * Makefile.am: += graph.[Ch] + format.[Ch]
9759 * lyxrc.C: added #include "format.h"
9761 2003-02-27 Angus Leeming <leeming@lyx.org>
9763 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9766 * factory.C (createInset): add "label" to the factory.
9768 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9769 string and do no more.
9771 2003-02-27 Angus Leeming <leeming@lyx.org>
9774 * LyXAction.C (init):
9775 * factory.C (createInset):
9776 * BufferView_pimpl.C (dispatch):
9777 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9779 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9781 * lyxfunc.C (dispatch):
9782 * text3.C (dispatch): pass name to params2string.
9784 2003-02-26 Angus Leeming <leeming@lyx.org>
9786 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9788 Rearrange the ~includes. Strip out the unnecessary ones.
9790 * factory.C (createInset): reformat.
9791 create new insets for the various LFUN_XYZ_APPLY lfuns.
9793 2003-02-26 John Levon <levon@movementarian.org>
9796 * lyxrow.C: add isParStart,isParEnd helpers
9798 * paragraph.h: make isInserted/DeletedText take refs
9800 * paragraph_funcs.h:
9801 * paragraph_funcs.C: remove #if 0'd code
9806 * text.C: use lyxrow helpers above.
9807 Move draw and paint routines to RowPainter.
9808 Make several methods use refs not pointers.
9809 Make backgroundColor() const.
9810 Add markChangeInDraw(), isInInset().
9811 Merge changeRegionCase into changeCase.
9812 Make workWidth() shouldn't-happen code into an Assert.
9815 * rowpainter.C: new class for painting a row.
9818 * vspace.C: make inPixels take a ref
9820 2003-02-26 Angus Leeming <leeming@lyx.org>
9822 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9825 2003-02-25 John Levon <levon@movementarian.org>
9827 * ispell.C: give the forked command a more accurate name
9829 2003-02-22 John Levon <levon@movementarian.org>
9832 * toc.C: make TocItem store an id not a Paragraph *
9835 2003-02-21 Angus Leeming <leeming@lyx.org>
9837 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9838 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9839 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9840 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9841 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9842 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9844 * BufferView_pimpl.C (dispatch):
9845 * LyXAction.C (init):
9846 * factory.C (createInset):
9847 * lyxfunc.C (getStatus, dispatch):
9848 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9850 2003-02-21 Angus Leeming <leeming@lyx.org>
9852 * BufferView_pimpl.C (MenuInsertLyXFile):
9853 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9854 * lyxfunc.C (menuNew, open, doImport):
9855 no longer pass a LyXView & to fileDlg.
9857 2003-02-21 Angus Leeming <leeming@lyx.org>
9859 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9860 * LyXAction.C: change, BIBKEY to BIBITEM.
9861 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9862 Change InsetBibKey to InsetBibitem.
9863 Change BIBKEY_CODE to BIBITEM_CODE.
9864 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9865 * factory.C: replace insetbib.h with insetbibitem.h.
9866 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9867 * paragraph.C: replace insetbib.h with insetbibitem.h.
9868 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9869 Change bibkey() to bibitem().
9870 * text.C: remove insetbib.h.
9871 * text2.C: replace insetbib.h with insetbibitem.h.
9872 change bibkey() to bibitem().
9873 * text3.C: remove insetbib.h.
9874 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9876 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9878 * lyxrc.C (output): enclose user email in quotes (in case there are
9881 2003-02-18 John Levon <levon@movementarian.org>
9883 * buffer.h: add std::
9885 2003-02-17 John Levon <levon@movementarian.org>
9891 * pspell.C: reworking. Especially in ispell, a large
9892 number of clean ups and bug fixes.
9894 * lyxfunc.C: fix revert to behave sensibly
9896 2003-02-17 André Pönitz <poenitz@gmx.net>
9899 * commandtags.h: new LFUN_INSERT_BIBKEY
9909 * paragraph_func.C: remove special bibkey handling
9911 2003-02-17 John Levon <levon@movementarian.org>
9913 * text.C (Delete): fix case where delete at the end of
9914 the very first paragraph would not merge the pars
9916 2003-02-17 John Levon <levon@movementarian.org>
9918 * lyxrow.C: fix lastPrintablePos()
9920 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9922 * bufferparams.C (writeLaTeX): add a std:here
9924 * buffer.C: and remove a using directive there
9926 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9928 * buffer.C (makeLaTeXFile): move the code that generates the
9931 * bufferparams.C (writeLaTeX): ... in this new method
9933 * LaTeXFeatures.C (getEncodingSet): make const
9934 (getLanguages): make const
9936 * MenuBackend.C (binding): returns the binding associated to this
9938 (add): sets the status of each item by calling getStatus. Adds
9940 (read): add support for OptSubMenu
9941 (expand): remove extra separator at the end of expanded menu
9943 2003-02-15 John Levon <levon@movementarian.org>
9946 * BufferView_pimpl.C:
9948 * bufferlist.C: remove pointless BufferStorage bloat. Remove
9949 inset code that had no actual effect. Remove unneeded status
9952 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9954 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9957 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
9959 * text.C (drawLengthMarker): also draw an arrow marker for
9960 symbolic lengths (medskip...)
9962 2003-02-14 John Levon <levon@movementarian.org>
9965 * tabular.C: better method names
9967 2003-02-14 John Levon <levon@movementarian.org>
9969 * BufferView_pimpl.C:
9974 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9975 it's a more accurate name. Remove some pointless uses.
9977 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9979 * text2.C (LyXText): change order of initilizers to shut off
9982 2003-02-14 John Levon <levon@movementarian.org>
9984 * buffer.C: use ParIterator for getParFromID()
9988 * paragraph_pimpl.h:
9989 * paragraph_pimpl.C: remove unused getParFromID()
9991 2003-02-14 John Levon <levon@movementarian.org>
9993 * buffer.C: remove some very old #if 0'd parse code
9995 2003-02-13 John Levon <levon@movementarian.org>
9999 * text2.C: move hfillExpansion(), numberOfSeparators(),
10000 rowLast(), rowLastPrintable(), numberofHfills(),
10001 numberOfLabelHfills() ...
10004 * lyxrow.C: ... to member functions here.
10009 * text.C: remove LyXText::beginningOfMainBody(), and call
10010 p->beginningOfMainBody() directly. Move the check for
10011 LABEL_MANUAL into the latter.
10018 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
10024 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
10025 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
10027 2003-02-13 John Levon <levon@movementarian.org>
10029 * CutAndPaste.C: remove debug
10031 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10033 * paragraph.C (asString): remove two unused variables
10035 * lyxtextclass.C (readTitleType):
10037 (LyXTextClass): handle new members titletype_ and titlename_
10039 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
10041 2003-02-09 John Levon <levon@movementarian.org>
10044 * buffer.C: replace hand-coded list with a map for the dep clean
10046 2003-02-08 John Levon <levon@movementarian.org>
10048 * LaTeX.C: consolidate code into showRunMessage() helper
10050 2003-02-08 John Levon <levon@movementarian.org>
10055 * BufferView.C: change setSelectionOverString() to setSelectionRange()
10056 and pass the size in explicitly
10058 * BufferView_pimpl.h:
10059 * BufferView_pimpl.C:
10061 * BufferView.C: add getCurrentChange()
10063 * BufferView_pimpl.h:
10064 * BufferView_pimpl.C: handle change lfuns
10066 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
10067 for changes. Mark pasted paragraphs as new.
10069 * support/lyxtime.h:
10070 * support/lyxtime.C:
10071 * DepTable.C: abstract time_t as lyx::time_type
10074 * LColor.C: add colours for new text, deleted text, changebars
10076 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
10077 package use "usenames" option.
10081 * LyXAction.C: add change lfuns
10085 * author.C: author handling
10088 * buffer.C: add a per-buffer author list, with first entry as
10089 current author. Handle new .lyx tokens for change tracking. Output
10090 author list to .lyx file. Output dvipost stuff to .tex preamble.
10091 Bump lyx format to 222.
10094 * bufferlist.C: add setCurrentAuthor() to reset current author details
10098 * bufferparams.C: add param for tracking
10100 * bufferview_funcs.C: output change info in minibuffer
10104 * changes.C: add change-tracking structure
10107 * debug.C: add CHANGES debug flag
10110 * lyxfind.C: add code for finding the next change piece
10113 * lyxrc.C: add user_name and user_email
10116 * lyxrow.C: add a metric for the top of the text line
10119 * text.C: implement accept/rejectChange()
10122 * text.C: paint changebars. Paint new/deleted text in the chosen
10123 colours. Strike through deleted text.
10127 * paragraph_pimpl.h:
10128 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
10129 in the current change to the insert functions. Rework erase to
10130 mark text as deleted, adding an eraseIntern() and a range-based
10131 erase(). Implement per-paragraph change lookup and
10134 * paragraph_funcs.C: Fixup paste for change tracking.
10136 * tabular.C: mark added row/columns as new.
10138 * text.C: fix rowLast() to never return -1. Don't allow
10139 spellchecking of deleted text. Track transpose changes. Don't
10140 allow paragraph break or merge where appropriate.
10142 * text2.C: leave cursor at end of selection after a cut.
10144 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10146 * text.C (getLengthMarkerHeight):
10147 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
10148 visible on screen too.
10150 2003-02-07 John Levon <levon@movementarian.org>
10152 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
10154 2003-02-05 Angus Leeming <leeming@lyx.org>
10156 * lyxserver.C (read_ready): revert my patch of 11 September last year
10157 as it sends PC cpu through the roof. Presumably this means that
10158 the lyxserver will no longer run on an Alpha...
10160 2003-01-30 Angus Leeming <leeming@lyx.org>
10162 * factory.C (createInset): create an InsetCommandParam of type "index"
10163 and use it to 'do the right thing'.
10165 * text2.C (getStringToIndex): ensure that cursor position is always
10166 reset to the reset_cursor position.
10168 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10170 * lyxfunc.C (getStatus): "buffer-export custom" should never be
10173 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
10177 * lyxfunc.C: Output messages with identical spelling, punctuation,
10180 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
10182 * MenuBackend.C (expandFormats): List only viewable export formats
10185 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
10188 * lyxfunc.C (getStatus): Make sure that formats other than
10189 "fax" can also be disabled
10191 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10193 * text3.C (dispatch): put the lfuns that insert insets in 3
10194 groups, and call doInsertInset with appropriate arguments.
10195 (doInsertInset): new function, that creates an inset and inserts
10196 it according to some boolean parameters.
10198 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
10200 * buffer.C (readFile): remember to pass on 'par' when calling
10201 readFile recursively.
10203 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10205 * MenuBackend.C (expandFormats): add "..." to import formats.
10207 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
10209 * paragraph.C (asString): Remove XForms RTL hacks.
10211 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
10212 * buffer.C: fix typo
10214 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
10216 * Makefile.am (LIBS): delete var
10217 (lyx_LDADD): add @LIBS@ here instead.
10219 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
10221 * Clarify the meaning of "wheel mouse jump"
10223 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10225 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
10228 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10230 * importer.C (Loaders): do not preallocate 3 elements in the
10231 vector, since one ends up with 6 elements otherwise
10233 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10235 * DepTable.C (write): write the file name as last element of the
10236 .dep file (because it may contain spaces)
10237 (read): read info in the right order
10239 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10241 * paragraph_pimpl.C (simpleTeXBlanks):
10242 (simpleTeXSpecialChars):
10243 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
10245 * tabular.C (latex): add some missing case statements. Reindent.
10247 * MenuBackend.C (expandToc): remove unused variable.
10249 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
10258 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
10261 2003-01-05 John Levon <levon@movementarian.org>
10264 * BufferView.C: add getEncoding()
10267 * kbsequence.C: do not store last keypress
10270 * lyxfunc.C: store last keypress here instead. Pass encoding
10273 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10275 * lyx_main.C (init): remove annoying error message when following
10276 symbolic links (bug #780)
10278 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10280 * text.C (insertChar):
10281 * lyxrc.C (getDescription): remove extra spaces
10283 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10285 * lyxrc.C (getDescription): remove extra spaces
10287 2002-12-20 John Levon <levon@movementarian.org>
10289 * text3.C: hack fix for page up/down across tall rows
10291 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10293 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10296 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10298 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10299 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10300 thesaurus is not compiled in
10302 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
10304 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
10306 2002-12-16 Angus Leeming <leeming@lyx.org>
10309 * lyx_main.C (init): remove override_x_deadkeys stuff.
10311 2002-12-12 John Levon <levon@movementarian.org>
10313 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10314 insert. Only remove shift modifier under strict
10317 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
10319 * MenuBackend.C (expandToc): fix crash.
10321 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
10323 * MenuBackend.C (expandToc): gettext on float names.
10325 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
10327 * lyxlength.[Ch]: set default unit to UNIT_NONE,
10328 implement bool empty() [bug 490]
10330 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
10332 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10334 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
10336 * several files: ws changes
10338 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
10340 * text2.C (setCounter): clean up a bit, use boost.format.
10341 (updateCounters): initialize par upon declaration.
10343 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10344 if the layout exists. We do not just store the layout any more.
10345 (SwitchLayoutsBetweenClasses): use boost.format
10347 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10349 * converter.C (convert): if from and to files are the same, use a
10350 temporary files as intermediary
10352 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10355 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10357 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
10359 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10361 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
10363 * tabular.C (asciiPrintCell): use string(size, char) instead of
10366 * sgml.C (openTag): fix order of arguments to string constructor
10369 * lyxfunc.C (dispatch): use boost.format
10371 * lots of files: change "c" -> 'c'
10373 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
10375 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10377 2002-11-25 Angus Leeming <leeming@lyx.org>
10379 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10381 * lyx_main.C (init): compile fix.
10383 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
10385 * lyx_cb.C (start): boost.formatify
10386 do not include <iostream>
10388 * lengthcommon.C: ws only
10390 * boost-inst.C,BoostFormat.h: add more explict instantations
10392 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
10394 * lots of files: handle USE_BOOST_FORMAT
10396 2002-11-21 John Levon <levon@movementarian.org>
10398 * pspell.C: fix compile
10400 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10402 * lyxfunc.C (dispatch): use boost::format
10406 * lyxfont.C (stateText): use boost::format
10408 * lyx_main.C (LyX): use boost::format
10410 (queryUserLyXDir): ditto
10411 (readRcFile): ditto
10413 (typedef boost::function): use the recommened syntax.
10415 * importer.C (Import): use boost::format
10417 * debug.C (showLevel): use boost::format
10419 * converter.C (view): use boost::format
10424 * bufferview_funcs.C (currentState): use boost::format
10426 * bufferlist.C (emergencyWrite): use boost::format
10428 * buffer.C (readLyXformat2): use boost::format
10429 (parseSingleLyXformat2Token): ditto
10431 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10433 * LaTeX.C (run): use boost::format
10435 * Chktex.C (scanLogFile): use boost::format
10437 * BufferView_pimpl.C (savePosition): use boost::format
10438 (restorePosition): ditto
10439 (MenuInsertLyXFile): ditto
10441 * BoostFormat.h: help file for explicit instation.
10443 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
10445 * tabular.C (latex): Support for block alignment in fixed width
10448 2002-11-17 John Levon <levon@movementarian.org>
10450 * BufferView_pimpl.C:
10452 * lyxfunc.C: split filedialog into open/save
10454 2002-11-08 Juergen Vigna <jug@sad.it>
10456 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10457 by my last patch (hopefully).
10459 2002-11-08 John Levon <levon@movementarian.org>
10468 * toc.C: ParConstIterator, and use it (from Lars)
10470 2002-11-07 Ben Stanley <bds02@uow.edu.au>
10472 * lyxtextclass.[Ch]: revise and add doxygen comments
10474 2002-11-07 John Levon <levon@movementarian.org>
10476 * text.C: fix progress value for spellchecker
10478 * toc.C: fix navigate menu for insetwrap inside minipage
10480 * paragraph_funcs.C: added FIXME for suspect code
10482 2002-11-07 John Levon <levon@movementarian.org>
10484 * BufferView_pimpl.C: fix redrawing of insets
10487 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10489 * text2.C (updateCounters): fix bug 668
10491 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
10493 * text3.C (dispatch): Do not make the buffer dirty when moving the
10496 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10498 * vc-backend.C: STRCONV
10499 (scanMaster): ditto
10501 * text2.C (setCounter): STRCONV
10503 * paragraph.C (asString): STRCONV
10505 * lyxlength.C (asString): STRCONV
10506 (asLatexString): ditto
10508 * lyxgluelength.C (asString): STRCONV
10509 (asLatexString): ditto
10511 * lyxfunc.C (dispatch): STRCONV
10514 * lyxfont.C (stateText): STRCONV
10516 * importer.C (Import): STRCONV
10518 * counters.C (labelItem): STRCONV
10519 (numberLabel): ditto
10520 (numberLabel): remove unused ostringstream o
10525 * bufferview_funcs.C (currentState): STRCONV
10527 * buffer.C (readFile): STRCONV
10528 (asciiParagraph): ditto
10529 (makeLaTeXFile): ditto
10531 * Spacing.C (writeEnvirBegin): STRCONV
10533 * LaTeXFeatures.C (getLanguages): STRCONV
10534 (getPackages): ditto
10536 (getBabelOptions): ditto
10537 (getTClassPreamble): ditto
10538 (getLyXSGMLEntities): ditto
10539 (getIncludedFiles): ditto
10543 (scanAuxFile): ditto
10546 * LString.h: add the STRCONV macros
10548 * BufferView_pimpl.C (savePosition): STRCONV
10549 (restorePosition): ditto
10550 (MenuInsertLyXFile): ditto
10552 * vc-backend.C (scanMaster): change from submatch[...] to
10555 * funcrequest.C: include config.h
10557 * factory.C: include config.h
10559 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10561 * box.C: include config.h
10563 * LaTeX.C (scanAuxFile): change from submatch[...] to
10567 2002-10-25 Angus Leeming <leeming@lyx.org>
10569 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10571 * ispell.[Ch] (setError): new method.
10572 * ispell.C (c-tor): move out child process into new class LaunchIspell.
10573 Use setError() insetead of goto END.
10575 * lyx_cb.C (AutoSave): move out child process into new class
10578 2002-10-30 John Levon <levon@movementarian.org>
10580 * text3.C: make start appendix undoable
10582 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
10584 * lyxlength.C (inPixels): Fix returned value.
10586 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10589 2002-10-24 Angus Leeming <leeming@lyx.org>
10591 * lyxgluelength.h: no need to forward declare BufferParams
10592 or BufferView, so don't.
10594 2002-10-21 John Levon <levon@movementarian.org>
10596 * BufferView.C: menuUndo ->undo, redo
10598 * BufferView.h: document, remove dead, make some methods private
10600 * paragraph_funcs.h:
10601 * paragraph_funcs.C:
10602 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10607 * sgml.C: move sgml open/close tag into sgml.C
10609 * bufferview_funcs.h: unused prototype
10612 * lyxfunc.C: remove unused
10615 * text.C: remove unused
10617 2002-10-21 John Levon <levon@movementarian.org>
10621 * BufferView_pimpl.h:
10622 * BufferView_pimpl.C: fix mouse wheel handling based on
10623 patch from Darren Freeman
10625 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
10627 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10629 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
10631 * lyxlength.C (inPixels): Fix hanfling of negative length.
10632 Fix LyXLength::MU case.
10634 2002-10-16 John Levon <levon@movementarian.org>
10636 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10638 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10640 * converter.C (view): add support for $$i (file name) and $$p
10641 (file path) for the viewer command. If $$i is not specified, then
10642 it is appended to the command (for compatibility with old syntax)
10644 2002-10-14 Juergen Vigna <jug@sad.it>
10646 * undo_funcs.C (textHandleUndo): alter the order in which the
10647 new undopar is added to the LyXText, as we have to set first
10648 the right prev/next and then add it as otherwise the rebuild of
10649 LyXText is not correct. Also reset the cursor to the right paragraph,
10650 with this IMO we could remove the hack in "redoParagraphs()".
10652 2002-10-09 Angus Leeming <leeming@lyx.org>
10654 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10655 to turn off an optimisation if a new inset is to be inserted.
10657 2002-10-11 André Pönitz <poenitz@gmx.net>
10659 * lyxtext.h: make some functions public to allow access
10660 from inset/lyxtext for handling LFUN_PRIOR/NEXT
10662 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10664 * text3.C (dispatch): when changing layout, avoid an infinite loop
10667 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10669 * lyxrc.C (read): treat a viewer or converter command of "none" as
10672 * MenuBackend.C (expandFormats): for an update, also allow the
10673 formats that are not viewable
10675 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10676 script if it is newer than the lyxrc.defaults in user directory
10678 2002-10-07 André Pönitz <poenitz@gmx.net>
10680 * text.C: Vitaly Lipatov's small i18n fix
10682 2002-09-25 Angus Leeming <leeming@lyx.org>
10684 * ispell.h: doxygen fix.
10686 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
10688 * buffer.h (readFile): Add a new argument to the method, to allow
10689 reading of old-format templates.
10691 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
10693 * toc.C (getTocList): Get TOC from InsetWrap.
10695 2002-09-16 John Levon <levon@movementarian.org>
10697 * lyxfunc.C: check tabular for cut/copy too
10699 2002-09-12 John Levon <levon@movementarian.org>
10701 * LyXAction.C: tidy
10704 * factory.C: add header
10706 * paragraph_funcs.h:
10707 * paragraph_funcs.C: cleanup
10709 2002-09-11 John Levon <levon@movementarian.org>
10711 * PrinterParams.h: odd/even default to true
10713 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
10715 * PrinterParams.h: update printer parameters for new xforms dialog
10717 2002-09-11 Angus Leeming <leeming@lyx.org>
10719 * lyxserver.C (read_ready): re-write to make it more transparent
10720 and to make it work in coherent fashion under Tru64 Unix.
10722 2002-09-11 André Pönitz <poenitz@gmx.net>
10726 * text3.C: implement LFUN_WORDSEL
10728 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10730 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10731 make floatlist_ a boost::shared_ptr<FloatList>
10733 * lyxtextclass.C: include FloatList.h
10734 (LyXTextClass): initialize floatlist_
10735 (TextClassTags): add TC_NOFLOAT
10736 (Read): match "nofloat" to TC_NOFLOAT and use it.
10737 (readFloat): modify call to floatlist_
10741 * FloatList.[Ch] (FloatList): remove commented out float
10743 (erase): new function
10745 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10747 * MenuBackend.C (expandToc): fix crash when there is no document
10750 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
10752 * many files: Add insetwrap.
10754 2002-09-09 John Levon <levon@movementarian.org>
10756 * text2.C: remove confusing and awkward depth wraparound
10758 2002-09-09 John Levon <levon@movementarian.org>
10760 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10763 * buffer.C: remove getIncludeonlyList()
10766 * lyxfunc.C: remove headers
10768 2002-09-09 Juergen Vigna <jug@sad.it>
10770 * text.C (getColumnNearX): fix form Michael this is most
10771 probably a cut&paste bug.
10773 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
10775 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10777 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10778 references, ws changes.
10780 * text2.C (init): update counters after init
10781 (insertParagraph): no need to set counter on idividual paragraphs.
10782 (setCounter): access the counters object in the textclass object
10783 on in the buffer object.
10784 (updateCounters): ditto
10786 * lyxtextclass.C: include counters.h, add variable ctrs_ as
10787 shared_ptr<Counters> to avoid loading counters.h in all
10789 (LyXTextClass): initialize ctrs_
10790 (TextClassTags): add TC_COUNTER, and ...
10791 (Read): use it here.
10792 (CounterTags): new tags
10793 (readCounter): new function
10794 (counters): new funtion
10795 (defaultLayoutName): return a const reference
10797 * counters.C (Counters): remove contructor
10798 (newCounter): remove a couple of unneeded statements.
10799 (newCounter): simplify a bit.
10800 (numberLabel): some small formatting changes.
10802 * buffer.[Ch]: remove all traces of counters, move the Counters
10803 object to the LyXTextClass.
10805 2002-09-06 Alain Castera <castera@in2p3.fr>
10807 * tabular.C: uses \tabularnewline; uses >{...} construct from array
10808 package to set the horizontal alignment on fixed width columns.
10811 * lyx_sty.h: added tabularnewline macro def.
10813 * LaTeXFeatures.C: added NeedTabularnewline macro feature
10815 2002-09-06 John Levon <levon@movementarian.org>
10817 * LyXAction.C: tooltips for sub/superscript
10819 * MenuBackend.C: a bit more verbose
10821 * lyxfunc.C: tiny clean
10823 * undo_funcs.C: document undo_frozen
10825 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
10827 * counters.C (Counters): add missing algorithm counter.
10829 * text2.C (setCounter): lookup the counter with layouts latexname
10830 instead of by section number.
10831 (setCounter): use a hackish way to lookup the correct enum
10833 a float name->type change
10834 reset enum couners with counter name directly instead of depth value.
10836 * counters.C (Counters): remove the push_backs, change to use the
10837 float type not the float name.
10838 (labelItem): remove unused string, float name->type change
10840 * counters.h: don't include vector, loose the enums and sects vectors
10842 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10844 * lyxtextclass.C (TextClassTags): add TC_FLOAT
10845 (Read): add float->TC_FLOAT to textclassTags
10846 (Read): and handle it in the switch
10847 (readFloat): new function
10849 * FloatList.C (FloatList): comment out the hardcoded float
10852 * lyxlayout.h: ws change.
10854 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
10856 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10858 2002-09-03 Angus Leeming <leeming@lyx.org>
10860 * BufferView_pimpl.h: qualified name is not allowed in member
10861 declaration: WorkArea & Pimpl::workarea() const;
10863 * factory.C: added using std::endl directive.
10865 * text3.C: added using std::find and std::vector directives.
10867 2002-08-29 André Pönitz <poenitz@gmx.net>
10870 * text2.C: remove unused member number_of_rows
10873 * BufferView2.C: remove file, move contents to...
10874 * BufferView.C: ... here
10876 * BufferView_pimpl.C:
10877 * factory.C: move more inset creation to factory
10879 * vspace.C: avoid direct usage of LyXText, ws changes
10882 don't provide direct access to WorkArea, use two simple
10883 acessors haveSelction() and workHeight() instead
10886 2002-08-29 John Levon <levon@movementarian.org>
10888 * BufferView_pimpl.C (dispatch): do not continue when
10891 2002-08-28 André Pönitz <poenitz@gmx.net>
10893 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10896 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10898 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
10900 * buffer.C: increment LYX_FORMAT to 221
10902 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10903 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10905 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10907 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10909 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10911 * factory.C (createInset): use LyXTextClass::floats
10913 * MenuBackend.C (expandFloatListInsert):
10914 (expandFloatInsert):
10917 * text2.C (setCounter):
10919 * LaTeXFeatures.C (useFloat):
10920 (getFloatDefinitions):
10922 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10924 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10925 floatlist_, with accessor floats().
10927 * FloatList.h: remove global FloatList
10929 2002-08-26 André Pönitz <poenitz@gmx.net>
10931 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10935 * BufferView_pimpl.C:
10936 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10938 2002-08-25 John Levon <levon@movementarian.org>
10940 * LyXAction.C: fix margin note description
10942 2002-08-24 John Levon <levon@movementarian.org>
10946 * bufferview_funcs.C:
10948 * undo_funcs.C: cleanups
10950 * lyxfunc.C: disable CUT/COPY when no selection
10952 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
10954 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
10955 in "enum UNIT"; e.g. PTW for Percent of TextWidth
10957 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10958 Add backward compatibility to "mono", "gray" and "no".
10960 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
10962 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10963 (and file_format >= 200).
10965 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10967 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10969 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10971 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10973 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
10975 * BufferView_pimpl.C:
10982 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10983 inset and code to make it work with the paragraph code. The inset
10984 can be anywhere in the paragraph, but will only do the expected
10985 thing in LaTeX if the layout file contains the parameter line
10987 (or more generally, a nonzero value) for that layout.
10989 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
10991 * paragraph.h: remove the declaration of undefined counters class
10994 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
10996 * text2.C (setCounter): fixed enumeration mis-count as reported by
10997 Dr. Richard Hawkins.
10999 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11001 * paragraph_funcs.h: remove some unneeded includes
11003 * text.C (backspace): pasteParagraph now in global scipe
11005 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
11006 (pasteSelection): ditto
11008 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
11009 * paragraph_funcs.C (pasteParagraph): ... here
11011 2002-08-20 André Pönitz <poenitz@gmx.net>
11013 * commandtags.h: new LFUNs for swapping/copying table row/colums
11016 * lyxfunc.C: support for new lfuns
11018 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
11021 * buffer.[Ch]: remove NO_COMPABILITY stuff
11023 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
11025 * boost.C (throw_exception): new file, with helper function for
11026 boost compiled without exceptions.
11031 * ParameterStruct.h:
11032 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
11034 * bufferlist.C (emergencyWriteAll): use boost bind
11036 * BufferView_pimpl.C (moveCursorUpdate): remove inline
11038 * text.C: include paragraph_funcs.h
11039 (breakParagraph): breakParagraph is now in global scope
11041 * paragraph_funcs.[Ch]: new files
11043 * paragraph.C (breakParagraph,breakParagraphConservative): move to
11046 * buffer.C: include paragraph_funcs.h
11047 (insertStringAsLines): breakParagraph is now in global scope
11049 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
11052 * CutAndPaste.C: include paragraph_funcs.h
11053 (cutSelection): breakParagraphConservative is now in global scope
11054 (pasteSelection): ditto
11056 * buffer.h: declare oprator== and operator!= for
11057 Buffer::inset_iterator
11059 * bufferlist.C (emergencyWrite): don't use fmt(...)
11061 * text3.C: add using std::endl
11063 * BufferView.C (moveCursorUpdate): remove default arg
11065 2002-08-20 André Pönitz <poenitz@gmx.net>
11067 * buffer.[Ch]: move inline functions to .C
11070 * BufferView_pimpl.C:
11072 * buffer.[Ch]: use improved inset_iterator
11075 * paragraph.[Ch]: write one paragraph at a time
11077 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
11079 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
11080 style if style is not specified.
11082 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11084 * text2.C (setCounter): when searching for right label for a
11085 caption, make sure to recurse to parent insets (so that a caption
11086 in a minipage in a figure float works) (bug #568)
11088 2002-08-20 André Pönitz <poenitz@gmx.net>
11090 * text3.C: new file for LyXText::dispatch() and helpers
11092 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
11094 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
11096 2002-08-19 André Pönitz <poenitz@gmx.net>
11099 * text.C: new LyXText::dispatch()
11101 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
11103 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
11105 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
11107 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
11110 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11112 * Makefile.am: use $(variables) instead of @substitutions@
11114 2002-08-15 André Pönitz <poenitz@gmx.net>
11117 * BufferView_pimpl.C: streamlining mathed <-> outer world
11121 * LyXAction.C: remove unused LFUN_MATH
11123 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
11125 * paragraph.[Ch]: add some NO_NEXT ifdefs.
11127 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
11129 * paragraph.C (Paragraph): reformat a bit
11130 (cutIntoMinibuffer): use builtin InsetList function instad of
11134 * buffer.C: include boost/bind.hpp, add using std::for_each
11135 (writeFileAscii): use ParagraphList iterators
11136 (validate): use for_each for validate traversal of paragraphs
11137 (getBibkeyList): use ParagraphList iterators
11138 (resizeInsets): use for_each to resizeInsetsLyXText for all
11140 (getParFromID): use ParagraphList iterators
11142 * BufferView2.C (lockInset): use paragraph list and iterators
11144 2002-08-14 John Levon <levon@movementarian.org>
11146 * lyxserver.C: remove spurious xforms include
11148 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11150 * lyxfunc.C (getStatus): disable math-extern outside of math mode
11152 2002-08-13 André Pönitz <poenitz@gmx.net>
11155 * lyxfunc.C: further cleaning
11157 2002-08-13 André Pönitz <poenitz@gmx.net>
11159 * funcrequest.h: new constructor
11161 * funcrequest.C: move stuff here from .h
11164 * BufferView_pimpl.C:
11167 * lyxfunc.C: subsequent changes
11169 * lyxfunc.h: new view() member function
11171 * lyxfunc.C: subsequent changes
11173 2002-08-13 Angus Leeming <leeming@lyx.org>
11176 * BufferView_pimpl.C:
11184 changes due to the changed LyXView interface that now returns references
11185 to member variables not pointers.
11187 2002-08-13 Angus Leeming <leeming@lyx.org>
11189 * WordLangTuple (word, lang_code): return references to strings,
11194 * lyxtext.h: forward-declare WordLangTuple.
11199 * text.C: #include "WordLangTuple.h".
11202 * text.C: (selectNextWordToSpellcheck): constify return type.
11204 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
11210 * paragraph_pimpl.h:
11213 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
11214 suggested by Angus.
11215 Made updateCounter always count from start of buffer, and removed
11216 second argument (par).
11217 Reverted floats number display to '#'. Perhaps I'll try again when the
11218 code base is sanitized a bit.
11220 2002-08-12 Angus Leeming <leeming@lyx.org>
11222 * buffer.[Ch] (getLabelList): constify.
11224 2002-08-07 André Pönitz <poenitz@gmx.net>
11226 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
11228 * funcrequest.h: extension to keep mouse (x,y) position
11230 2002-08-12 Juergen Vigna <jug@sad.it>
11232 * BufferView2.C (insertErrors): forbid undo when inserting error
11235 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
11237 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
11239 * ParagraphList.[Ch]: new files
11241 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
11243 * BufferView2.C (lockInset): ParagraphList changes
11246 * bufferlist.C: ditto
11250 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11252 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
11253 unused class variable counter_,
11255 * paragraph.[Ch] (getFirstCounter): delete unused function
11257 * counters.C: include LAssert.h
11258 (reset): add a new function with no arg, change other version to
11259 not have def. arg and to not allow empty arg.
11261 * text2.C (setCounter): remove empty arg from call to Counters::reset
11263 2002-08-11 John Levon <levon@movementarian.org>
11265 * Makefile.am: add WordLangTuple.h
11267 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11269 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
11270 lyxfunc.C lyxlex_pimpl.C: ws changes only.
11272 * insets/insettext.C: InsetList changes
11274 * graphics/GraphicsSupport.C (operator()): InsetList changes
11276 * toc.C (getTocList): InsetList changes
11278 * paragraph_pimpl.[Ch]: InsetList changes
11280 * paragraph.[Ch]: InsetList changes
11282 * buffer.C (inset_iterator): InsetList changes
11283 (setParagraph): ditto
11284 * buffer.h (inset_iterator): ditto
11285 * iterators.C (operator++): ditto
11286 * iterators.h: ditto
11288 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11290 * InsetList.[Ch]: new files, most InsetList handling moved out of
11293 * BufferView2.C (removeAutoInsets): InsetList changes
11295 (ChangeInsets): ditto
11297 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
11299 * paragraph_pimpl.h (empty): new function
11301 * paragraph.[Ch] (empty): new function
11303 * other files: use the new Paragraph::empty function
11305 2002-08-09 John Levon <levon@movementarian.org>
11307 * lyxtext.h: remove unused refresh_height
11309 2002-08-09 John Levon <levon@movementarian.org>
11316 * paragraph.C: move sgml char escaping out of paragraph
11319 * paragraph.C: remove id setter
11323 * paragraph_pimpl.C: remove dead tex_code_break_column
11325 * bufferview_funcs.C: small cleanup
11327 * lyxfunc.C: remove dead proto
11329 * lyxtext.h: make some stuff private. Remove some dead stuff.
11331 * lyxgluelength.C: make as[LyX]String() readable
11333 2002-08-08 John Levon <levon@movementarian.org>
11338 * ToolbarDefaults.C:
11341 * toc.C: lyxaction cleanup
11343 2002-08-08 John Levon <levon@movementarian.org>
11345 * BufferView2.C: small cleanup
11348 * lyxfind.C: move unnecessary header into the .C
11350 2002-08-08 John Levon <levon@movementarian.org>
11352 * funcrequest.h: just tedious nonsense
11355 * lyx_main.C: cleanups
11358 * vspace.C: remove dead header lyx_main.h
11360 2002-08-07 Angus Leeming <leeming@lyx.org>
11363 * paragraph_pimpl.h:
11364 Forward declare class Counters in paragraph.h by moving the ctrs member
11365 variable into Paragraph::Pimpl.
11366 (counters): new method, returning a reference to pimpl_->ctrs.
11368 * text2.C: ensuing changes.
11370 2002-08-07 John Levon <levon@movementarian.org>
11372 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11374 * BufferView_pimpl.C: announce X selection on double/triple
11377 * lyx_main.C: use correct bool in batch dispatch
11379 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11381 2002-08-07 André Pönitz <poenitz@gmx.net>
11383 * funcrequest.h: new class to wrap a kb_action and its argument
11386 * BufferView_pimpl[Ch]:
11390 * lyxrc.C: subsequent changes
11393 2002-08-07 John Levon <levon@movementarian.org>
11395 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11396 document options change.
11398 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11403 * makefile.am: move counters functionality over from
11404 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11406 2002-08-06 John Levon <levon@movementarian.org>
11408 * WordLangTuple.h: new file for word + language code tuple
11419 * BufferView2.C: use WordLangTuple
11422 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11424 2002-08-06 John Levon <levon@movementarian.org>
11426 * lyx_main.C: fix cmdline batch handling
11428 2002-08-06 André Pönitz <poenitz@gmx.net>
11430 * lyxrc.C: set default for show_banner to true
11432 2002-08-06 John Levon <levon@movementarian.org>
11434 * pspell.C: fix a crash, and allow new aspell to work
11436 2002-08-06 John Levon <levon@movementarian.org>
11439 * kbmap.C: small cleanup
11442 * vspace.C: add const
11444 2002-08-05 John Levon <levon@movementarian.org>
11446 * LyXAction.C: back to tabular-insert
11448 2002-08-04 John Levon <levon@movementarian.org>
11451 * BufferView.C: cosmetic change
11453 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11463 * BufferView2.C: purge all "Lyx" not "LyX" strings
11466 * lyxcursor.C: attempt to add some documentation
11471 * ToolbarDefaults.C:
11472 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11473 merge with LFUN_TABULAR_INSERT
11480 * pspell.C: split up i/pspell implementations into separate
11481 files, many cleanups
11483 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11485 * text2.C: some cleanup
11487 * lyxfunc.C: don't check for isp_command == "none" any more, it
11488 didn't make any sense
11490 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11495 * makefile.am: move counters functionality over
11496 from text2.C/paragraph.[Ch] to counters.[Ch], and
11498 2002-08-02 John Levon <levon@movementarian.org>
11500 * buffer.C: s/lyxconvert/lyx2lyx/
11502 2002-08-02 Angus Leeming <leeming@lyx.org>
11504 * lyxlex.C: revert John's change as it breaks reading of the user
11507 2002-08-02 Angus Leeming <leeming@lyx.org>
11509 * importer.C (Import):
11510 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11511 changes due to LyXView::view() now returning a boost::shared_ptr.
11513 2002-08-02 John Levon <levon@movementarian.org>
11515 * lyxlex.C: small cleanup
11517 2002-08-02 John Levon <levon@movementarian.org>
11519 * text2.C (status): small cleanup, no logic change
11521 2002-08-01 John Levon <levon@movementarian.org>
11524 * buffer.C (writeFile): don't output alerts, caller
11528 * lyx_cb.C: from above
11530 * lyxfunc.C: allow to open non-existent files
11532 2002-07-31 John Levon <levon@movementarian.org>
11534 * lyxserver.C: don't let incidental errors get
11537 2002-07-30 John Levon <levon@movementarian.org>
11539 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11541 2002-07-30 John Levon <levon@movementarian.org>
11544 * lyxserver.C: remove I/O callback too
11546 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11548 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11551 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
11553 * many files: strip,frontStrip -> trim,ltrim,rtrim
11555 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
11557 * PrinterParams.h: remove extern containsOnly, and include
11558 support/lstrings.h instead.
11560 * LaTeX.C (scanAuxFile): modify because of strip changes
11562 * buffer.C (makeLaTeXFile): ditto
11563 * bufferparams.C (writeFile): ditt
11564 * lyxfont.C (stateText): ditto
11565 * lyxserver.C (read_ready): ditto
11566 * vc-backend.C (scanMaster): ditto
11568 * BufferView_pimpl.h: ws changes
11570 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11572 2002-07-26 André Pönitz <poenitz@gmx.net>
11574 * kb_sequence.C: remove unnedred usings
11576 2002-07-26 Juergen Vigna <jug@sad.it>
11578 * lyxfind.C (LyXReplace): we have to check better if the returned
11579 text is not of theLockingInset()->getLockingInset().
11581 2002-07-25 Juergen Vigna <jug@sad.it>
11583 * lyxfind.C (LyXReplace): don't replace if we don't get the
11586 * undo_funcs.C (createUndo): remove debugging code.
11588 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
11590 * buffer.C (parseSingleLyXformat2Token): Use default placement
11591 when reading old floats.
11593 * FloatList.C (FloatList): Change the default placement of figure
11594 and tables to "tbp".
11596 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
11598 * MenuBackend.C: using std::max
11600 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11602 * MenuBackend.C (expandToc):
11603 (expandToc2): code moved from xforms menu frontend. It is now
11604 generic and TOCs are transparent to menu frontends.
11606 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11608 * toc.C (getTocList): protect against buf=0
11610 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11611 Menu as first parameter. Now, this calls itself recursively to
11612 expand a whole tree (this will be useful for TOC handling)
11613 (expandFloatInsert): remove 'wide' version of floats
11615 * MenuBackend.h (submenuname): returns the name of the submenu.
11616 (submenu): returns the submenu itself, provided it has been
11617 created by MenuBackend::expand
11619 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11621 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11622 insets which have noFontChange == true. (bug #172)
11624 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11626 * BufferView_pimpl.C: add connection objects and use them...
11629 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11631 * MenuBackend.C (expandLastfiles):
11634 (expandFloatListInsert):
11635 (expandFloatInsert):
11636 (expand): split expand in parts
11638 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11640 * lyx_gui.C: use lyx_gui::exit()
11642 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11644 * LyXAction.C: show the failing pseudo action
11646 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
11648 * buffer.C (readFile): Run the lyxconvert script in order to read
11651 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11655 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11657 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11661 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11663 2002-07-22 Herbert Voss <voss@lyx.org>
11666 * lyxlength.[Ch]: add support for the vertical lengths
11668 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
11670 * toc.[Ch]: std:: fixes
11672 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11674 * lyxrc.C: do not include lyx_main.h
11676 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11682 * BufferView2.C: include "lyxlex.h"
11685 * bufferparams.h: do not #include "lyxlex.h"
11687 * lyxtextclasslist.C (Add): remove method
11688 (classlist): renamed to classlist_
11690 * paragraph_pimpl.C:
11694 * bufferview_funcs.C:
11699 * toc.C (getTocList): use BufferParams::getLyXTextClass
11701 * toc.C (getTocList): use InsetFloat::addToToc
11703 * toc.[Ch]: new files, containing helper functions to handle table
11706 * lyxfunc.C (dispatch): no need to remove spaces around command
11708 (getStatus): handle LFUN_SEQUENCE by returning the status of the
11709 first command of the sequence; it is not very clever, but I do not
11710 have a better idea, actually
11712 * LyXAction.C (LookupFunc): make sure to remove space at the
11713 beginning and end of the command
11715 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11717 * MenuBackend.C (getMenubar): new method: return the menubar of
11719 (read): treat differently reading of menu and menubar (in
11720 particular, the menubar has no name now)
11721 (Menu::menubar): remove
11723 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11726 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11728 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11729 a bibitem inset in a RTL paragraph.
11731 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
11733 * paragraph_pimpl.C: constify
11735 * BufferView_pimpl.C:
11737 * lyxfunc.C: fix dispatch in a nicer way
11739 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11741 * lyxfunc.C (dispatch):
11742 * BufferView_pimpl.C:
11743 * BufferView_pimpl.h:
11745 * BufferView.h: rename Dispatch() to dispatch()
11747 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11749 * lyxlayout.C (Read): honor DependsOn tag
11751 * lyxlayout.[Ch] (depends_on): new method
11753 * version.C.in: update lyx_docversion
11755 * LaTeXFeatures.C (getMacros): only define \LyX when needed
11757 * paragraph.C (validate): remove from here...
11758 * paragraph_pimpl.C (validate): ... and move here
11759 (isTextAt): make it const
11761 * buffer.C (getLists): ws cleanup
11763 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11765 * language.C (read): Use iso8859-1 encoding in latex_lang
11766 (this prevents LyX from crashing when using iso10646-1 encoding).
11768 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11770 * text2.C (toggleInset): if cursor is inside an inset, close the
11771 inset and leave cursor _after_ it
11773 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11775 * lyxfunc.C: move minibuffer completion handling out of here
11777 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11779 * BufferView_pimpl.C:
11780 * LaTeX.C: fix dispatch calls
11782 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
11784 * text.C (drawChars): Fix Arabic text rendering.
11786 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
11790 * lyxfunc.C: remove message-push/pop
11794 * lyxfunc.C: rationalise some code by removing verboseDispatch
11795 in favour of a bool argument to dispatch()
11797 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11799 * lyx_main.C (init): make sure to read symlinks as absolute paths
11801 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11804 * lyxfunc.C: no need for commandshortcut to be a member
11806 2002-07-15 André Pönitz <poenitz@gmx.net>
11808 * converter.C: add support for $$s (scripts from lib/scripts dir)
11809 * lyx_main.C: white space
11811 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11815 * lyxrc.C: remove second exit confirmation
11817 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11822 * BufferView_pimpl.h:
11823 * BufferView_pimpl.C:
11824 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11826 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11828 * MenuBackend.C (expand): add numeric shortcuts to document menu
11830 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11832 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11834 * lyxfont.C (setLyXFamily):
11841 * buffer.C (asciiParagraph): use ascii_lowercase
11843 2002-07-15 Mike Fabian <mfabian@suse.de>
11845 * lyxlex_pimpl.C (search_kw):
11846 * lyxlex.C (getLongString):
11847 * converter.h (operator<):
11848 * converter.C (operator<):
11849 * buffer.C (parseSingleLyXformat2Token):
11851 * ToolbarDefaults.C (read):
11852 * MenuBackend.C (checkShortcuts):
11854 * LColor.C (getFromGUIName):
11855 (getFromLyXName): use the compare_ascii_no_case instead of
11856 compare_no_case, because in turkish, 'i' is not the lowercase
11857 version of 'I', and thus turkish locale breaks parsing of tags.
11859 2002-07-16 Angus Leeming <leeming@lyx.org>
11861 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11862 now takes a Buffer const & argument.
11864 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
11866 * BufferView.C (resize): check there's a buffer to resize
11868 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
11870 * lyxfunc.C: remove dead code
11873 * lyxserver.C: use lyx_guii::set_read_callback
11875 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
11877 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11878 an inset in a RTL paragraph.
11880 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11882 * lyxfunc.C: repaint after a font size update
11884 2002-07-15 André Pönitz <poenitz@gmx.net>
11886 * lyxlength.C: inBP should be able to return negative values
11888 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11890 * lyxfunc.C: use lyx_gui::update_fonts()
11892 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11894 * lyxfunc.C: use lyx_gui::update_color()
11896 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11902 * lyxrc.C: remove file->new asks for name option, and let
11903 buffer-new take an argument
11905 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11907 * BufferView_pimpl.C: remove unneeded extra repaint()
11909 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
11911 * LyXAction.C: allow command-sequence with NoBuffer
11913 * lyxfunc.C: don't insist on trailing ';' for command-sequence
11915 2002-07-10 Angus Leeming <leeming@lyx.org>
11917 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11919 2002-07-09 Angus Leeming <leeming@lyx.org>
11921 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11923 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11925 * lengthcommon.h: whitespace
11927 * lyxfunc.C: update scrollbar after goto paragraph
11929 * lyxtext.h: factor out page break drawing, and fix it so
11930 page break/added space paints as selected nicely
11932 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11934 * BufferView_pimpl.C: add FIXMEs, clean up a little
11936 2002-07-09 André Pönitz <poenitz@gmx.net>
11938 * lyxfont.[Ch]: support for wasy symbols
11940 2002-07-08 André Pönitz <poenitz@gmx.net>
11942 * BufferView_pimpl.C: apply John's patch for #93.
11944 2002-07-05 Angus Leeming <leeming@lyx.org>
11946 * BufferView_pimpl.C (buffer): generate previews if desired.
11948 * LColor.h: add "preview" to the color enum.
11950 * LColor.C (LColor): add a corresponding entry to the items array.
11952 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
11955 2002-07-05 Angus Leeming <leeming@lyx.org>
11957 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11958 The body of the code is now in the method that is passed an ostream &
11959 rather than a file name.
11960 Pass an additional only_preamble parameter, useful for the forthcoming
11963 2002-07-03 André Pönitz <poenitz@gmx.net>
11965 * lyxfunc.C: simplify getStatus() a bit for math stuff
11967 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11969 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11971 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11973 * text.C (changeRegionCase): do not change case of all the
11974 document when region ends at paragraph end (bug #461)
11976 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11978 * paragraph.C (startTeXParParams):
11979 (endTeXParParams): add \protect when necessary
11981 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11983 * BufferView_pimpl.C (workAreaExpose): remove warning
11985 2002-06-27 Angus Leeming <leeming@lyx.org>
11987 * Makefile.am: add lyxlayout_ptr_fwd.h.
11989 2002-06-26 André Pönitz <poenitz@gmx.net>
11991 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
11993 2002-06-25 Angus Leeming <leeming@lyx.org>
11995 * lyxfunc.C (dispatch): Comment out the call to
11996 grfx::GCache::changeDisplay. The method no longer exists now that the
11997 pixmap generation part of the graphics loader has been moved into
12000 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12002 * text2.C: layout as layout
12004 * text.C: layout as layout
12006 * tabular.C (OldFormatRead): layout as layout
12008 * paragraph_pimpl.C (TeXDeeper): layout as layout
12009 (realizeFont): layout as layout
12011 * paragraph.C (writeFile): layout as layout
12012 (validate): layout as layout
12013 (getFont): layout as layout
12014 (getLabelFont): layout as layout
12015 (getLayoutFont): layout as layout
12016 (breakParagraph): layout as layout
12017 (stripLeadingSpaces): layout as layout
12018 (getEndLabel): layout as layout
12019 (getMaxDepthAfter): layout as layout
12020 (applyLayout): layout as layout
12021 (TeXOnePar): layout as layout
12022 (simpleTeXOnePar): layout as layout
12023 (TeXEnvironment): layout as layout
12024 (layout): layout as layout
12025 (layout): layout as layout
12027 * lyxtextclass.C (compare_name): new functor to work with
12028 shared_ptr, layout as layout
12029 (Read): layout as layout
12030 (hasLayout): layout as layout
12031 (operator): layout as layout
12032 (delete_layout): layout as layout
12033 (defaultLayout): layout as layout
12035 * lyxlayout_ptr_fwd.h: new file
12037 * lyxlayout.C (Read): layout as layout
12039 * lyx_cb.C (MenuInsertLabel): layout as layout
12041 * bufferlist.C (newFile): layout as layout
12043 * buffer.C (readLyXformat2): layout as layout
12044 (parseSingleLyXformat2Token): layout as layout
12045 (insertStringAsLines): layout as layout
12046 (asciiParagraph): layout as layout
12047 (latexParagraphs): layout as layout
12048 (makeLinuxDocFile): layout as layout
12049 (simpleLinuxDocOnePar): layout as layout
12050 (makeDocBookFile): layout as layout
12051 (simpleDocBookOnePar): layout as layout
12052 (getLists): layout as layout
12054 * LaTeXFeatures.C (getTClassPreamble): layout as layout
12056 * CutAndPaste.C (cutSelection): layout as layout
12057 (pasteSelection): layout as layout
12058 (SwitchLayoutsBetweenClasses): layout as layout
12060 * BufferView_pimpl.C (Dispatch): layout as layout
12061 (smartQuote): layout as layout
12063 * BufferView2.C (unlockInset): layout as layout
12065 2002-06-24 André Pönitz <poenitz@gmx.net>
12067 * lyxfunc.C: fix #487
12069 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12073 * lyxfunc.C: remove display_shortcuts, show_banner
12075 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12077 * Buffer_pimpl.C: oops, update on resize
12079 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12086 * BufferView.C: use repaint()
12088 * BufferView_pimpl.h:
12089 * BufferView_pimpl.C: s/updateScreen()/repaint()/
12090 as it's a clearer description. Remove superfluous
12093 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12095 * text.C: fix bug 488. Not ideal, but getting
12096 getWord() to work properly for the insets that
12097 matter is more difficult ...
12099 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12101 * BufferView_pimpl.C:
12104 * lyxfunc.C: remove the six million index lyxfuncs to just
12105 one, and DTRT (bug 458)
12107 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12111 * BufferView_pimpl.h:
12112 * BufferView_pimpl.C: clean up resize() stuff,
12113 and unnecessary updateScreen()s
12115 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12119 * BufferView_pimpl.h:
12120 * BufferView_pimpl.C:
12123 * minibuffer.C: remove focus management of workarea,
12124 not needed. Use screen's greyOut()
12126 2002-06-17 Herbert Voss <voss@lyx.org>
12128 * converter.C: (convert) do not post a message, when converting
12129 fails, let the calling function decide what to do in this case
12131 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
12133 * lyxfunc.C: tidy up a little
12135 2002-06-16 <alstrup@diku.dk>
12137 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
12138 Got rid of FORMS_H_LOCATION include. Now we are
12141 2002-06-15 LyX Development team <lyx@rilke>
12143 * buffer.[Ch] (sgmlOpenTag):
12144 (sgmlCloseTag): Added support for avoiding pernicious mixed
12145 content. Return number of lines written.
12147 (makeLinuxDocFile):
12148 (makeDocBookFile): Fixed calls to sgml*Tag.
12149 Simple white space clean.
12151 (simpleDocBookOnePar): Simple white space clean.
12153 * tabular.[Ch] (docBook): Renamed to docbook and got another
12154 argument to related with the pernicious mixed content.
12156 (docbookRow): Fixed calls for docbook inset method.
12158 2002-06-15 Lyx Development team <larsbj@birdstep.com>
12160 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
12161 so it's X11 independent.
12165 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
12167 2002-06-15 Lyx Development team <lyx@electronia>
12169 * intl.h: Renamed getTrans to getTransManager.
12171 2002-06-14 Angus Leeming <leeming@lyx.org>
12173 * Makefile.am: nuke forgotten stl_string_fwd.h.
12175 2002-06-12 Angus Leeming <leeming@lyx.org>
12177 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
12179 2002-06-13 Angus Leeming <leeming@lyx.org>
12182 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
12184 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
12186 * kbmap.C (getiso): add support for cyrillic and greek
12188 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12192 * BufferView_pimpl.h:
12193 * BufferView_pimpl.C: move bogus scrolling logic
12196 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12199 * BufferView_pimpl.C: view->resize() change
12201 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12203 * BufferView_pimpl.C: topCursorVisible
12206 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12210 * lyx_gui.C: move to frontends/
12214 * lyx_main.C: changes from above
12216 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12223 * lyx_main.C: minor tidy
12225 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12227 * BufferView_pimpl.h:
12228 * BufferView_pimpl.C:
12230 * BufferView.C: make painter() const,
12233 * BufferView2.C: use screen() accessor
12236 * lyx_main.C: some minor cleanup
12238 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12240 * BufferView_pimpl.h:
12241 * BufferView_pimpl.C: remove enter/leaveView,
12244 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12249 * BufferView_pimpl.h:
12250 * BufferView_pimpl.C: only construct screen once,
12253 * lyxrc.C: remove pointless comment
12255 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
12258 * BufferView.C: remove active() and belowMouse()
12260 * BufferView_pimpl.h:
12261 * BufferView_pimpl.C: use workarea() not workarea_,
12262 and make it use a scoped_ptr instead
12264 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
12266 * lyx_gui.C: add debug message on BadWindow
12268 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12270 * sp_spell.C: fdopen is not part of the C++ standard.
12272 * paragraph.C (InsetIterator): use >= instead of ==
12274 2002-06-07 Angus Leeming <leeming@lyx.org>
12276 Fixes needed to compile with Compaq cxx 6.5.
12277 * BufferView_pimpl.C:
12284 * lyxtextclasslist.C:
12289 all c-library variables have been moved into namespace std. Wrap
12290 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12295 Add a using std::abs declaration.
12297 * kbmap.h (modifier_pair):
12298 * paragraph.h (InsetTable, InsetList):
12299 * lyxfont.h (FontBits):
12300 type definition made public.
12302 * bufferlist.C (emergencyWriteAll): the compiler complains that
12303 there is more than one possible lyx::class_fun template to choose from.
12304 I re-named the void specialisation as lyx::void_class_fun.
12306 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12308 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12309 the compiler is is unable to find tostr in write_attribute.
12311 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12313 * buffer.C (sgmlError): hide #warning
12315 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12317 * xtl/*: get rid of xtl, which is not in use anyway
12319 * LyXAction.C (init):
12320 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12321 were unimplemented xtl experimentation
12323 2002-06-04 André Pönitz <poenitz@gmx.net>
12325 * lyxfunc.C: disable array operation on simple formulae
12327 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
12329 * converter.C: constify a bit
12331 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
12333 * lyx_gui.C: check xforms version correctly
12335 2002-04-30 Herbert Voss <voss@lyx.org>
12337 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12340 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
12342 * lyxvc.C: fix bug 416 (make sure buffer is saved before
12343 attempt to register it with a VCS)
12345 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12347 * lyx_main.C (init): honor variables LYX_DIR_13x and
12350 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12354 * lyx_main.C: fix a crash on bad command line,
12355 and give a useful exit status on error
12357 * lyxfunc.C (doImport): allow -i lyx to work
12359 2002-03-30 André Pönitz <poenitz@gmx.net>
12361 * lyxfunc.C: mathed font changes
12363 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12378 * trans_mgr.h: srcdocs, and some minor cleanups
12380 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12382 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12383 call getFont all the time)
12385 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12387 * switch from SigC signals to boost::signals
12389 2002-05-29 André Pönitz <poenitz@gmx.net>
12391 * paragraph_pimpl.C (getChar): don't call size() too often...
12393 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12395 * paragraph_pimpl.C (insertChar): do not try to update tables when
12396 appending (pos == size())
12398 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12399 in order to reduce drastically the number of comparisons needed to
12400 parse a large document
12402 2002-05-29 André Pönitz <poenitz@gmx.net>
12408 * textclasslist.[Ch]:
12409 * sp_ispell.h: whitespace change
12411 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12413 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12414 lyxaction directly now.
12416 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
12420 * lyxvc.C: remove unused headers
12422 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12429 * undo_funcs.C: some cleanups. Use shared_ptr
12430 and a template for the undo stacks.
12432 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12434 * BufferView_pimpl.h:
12435 * BufferView_pimpl.C:
12442 * text2.C: use key_state/mouse_state
12444 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12446 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12449 * chset.C: change include order
12450 (loadFile): use boost regex and get rid of LRegex and LSubstring
12452 * Makefile.am (BOOST_LIBS): new variable
12453 (lyx_LDADD): use it
12455 * LaTeX.C: change include order.
12456 (scanAuxFile): use boost regex and get rid of LRegex and
12460 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12465 * FontInfo.C: moved to frontends/xforms/
12468 * FontLoader.C: moved into frontends for GUIIzation
12473 * lyxfunc.C: changes from above
12475 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12477 * LColor.C: remove spurious X include
12479 * BufferView_pimpl.C:
12484 * text2.C: move font metrics to frontends/
12486 2002-05-24 Juergen Vigna <jug@sad.it>
12488 * undo_funcs.C (textHandleUndo): fix the cursor selection after
12489 setting the undo_cursor.
12491 * ParagraphParameters.h: include local includes first.
12493 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12495 * BufferView_pimpl.C:
12496 * BufferView_pimpl.h:
12500 * screen.C: move WorkArea into frontends/
12506 * BufferView2.C: move LyXScreen into frontends/
12510 * lyx_gui.C: move lyxlookup into frontends/xforms/
12512 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12515 * BufferView_pimpl.C:
12525 * bufferview_funcs.C:
12538 * vc-backend.C: move LyX/XFormsView into frontends/
12540 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12552 * text2.C: move Painter to frontends/
12554 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
12556 * buffer.C: comment out some some code that depend upon lyx_format
12559 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12560 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12562 * buffer.h (NO_COMPABILITY): turn off compability
12564 * ColorHandler.C: include scoped_array.hpp
12566 * font.C: Use more specific smart_ptr header.
12569 * ShareContainer.h: ditto
12570 * lyx_main.h: ditto
12572 * FontInfo.h: ditto
12573 * BufferView_pimpl.h: ditto
12574 * ColorHandler.h: ditto
12576 * kbmap.C (defkey): change call to shared_ptr::reset
12578 2002-05-21 Juergen Vigna <jug@sad.it>
12580 * buffer.C (insertErtContents): fix to insert ert asis if it is
12581 non empty. Skip it completely if it contains only whitespaces.
12583 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
12585 * BufferView_pimpl.C:
12586 * BufferView2.C: clear selection on paste (bug 393)
12588 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12590 * DepTable.C: include ctime
12592 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
12594 * buffer.C (latexParagraphs): Add new argument (moving_arg).
12596 2002-05-14 Juergen Vigna <jug@sad.it>
12598 * text.C (breakParagraph): fixed function to honor the keepempty
12599 layout in the right maner and also to permit the right breaking
12600 algorithm on empty or non empyt keepempty paragraphs.
12602 * paragraph.C (breakParagraph): we have to check also if the par
12603 is really empty (!size()) for isempty otherwise we do the wrong
12606 2002-05-10 Juergen Vigna <jug@sad.it>
12608 * buffer.[Ch] : The following are only changes to the ert
12609 compatibility read reading old LaTeX layout and font stuff and
12610 convert it to ERTInsets.
12612 * buffer.h: added isErtInset().
12614 * buffer.C (struct ErtComp): add a fromlayout bool to check
12615 if we're inside a LaTeX layout.
12616 (isErtInset): new helper function.
12617 (insertErtContents): look for other ert insets before this one
12618 and insert the contents there, so that we don't have subsequent
12619 ERT insets with nothing between them. This way we create only one
12620 inset with multiple paragraphs. Also check if we don't insert only
12621 spaces ' ' as they are ignored anyway afterwards in the .tex file
12622 so if we have only spaces we will ignore this latex part in the
12624 (parseSingleLyXformat2Token \\layout): better compatibility when
12625 reading layout-latex stuff.
12626 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12628 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12629 stuff after reading the inset only get the information back from
12632 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
12634 * buffer.C (makeLaTeXFile): Put language options after loading babel.
12636 * LaTeXFeatures.C (getBabelOptions): New method.
12638 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12640 * BufferView_pimpl.C (Dispatch): work around missing argument for
12643 2002-05-08 Juergen Vigna <jug@sad.it>
12645 * text.C (leftMargin): handle paragraph leftindent.
12647 * paragraph.C (writeFile): write the new \\leftindent tag.
12648 (validate): handle leftindent code.
12649 (TeXEnvironment): handle paragraphleftindent code again.
12651 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12653 * buffer.C (parseSingleLyXformat2Token): added compatibility code
12654 for paragrap_extra indent code and new token \\leftindent.
12655 (latexParagraphs): handle the leftindent as environment.
12657 * ParameterStruct.h: added leftindent support.
12659 * ParagraphParameters.C (leftIndent): added support functions for
12660 the paragraph left indent.
12662 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12665 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
12667 * paragraph.C (isRightToLeftPar): Return false for a paragraph
12670 * text.C (computeBidiTables): No bidi in insetERT.
12672 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12675 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12677 * version.C.in: pre 5
12679 2002-05-02 José Matos <jamatos@fep.up.pt>
12680 * buffer.C (makeDocBookFile): white space changes, add newline to
12682 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12684 * tabular.C (docBook): fix typo.
12686 2002-05-03 Juergen Vigna <jug@sad.it>
12688 * screen.C (drawFromTo): recalculate the rowpointer if we had a
12689 change in LyXText as we can not be sure it was not freed.
12690 (drawOneRow): remove unused code.
12692 * text.C (drawInset): redo the calculation of the need_break_row as
12693 it could have a row which was already freed.
12694 (draw): look at the return value of drawInset and return false if
12695 it also returned false.
12696 (paintRowText): look at the return value of draw and return false if
12697 it also returned false.
12699 * lyxtext.h: added bool return type to drawInset() and draw() so that
12700 if we have a change in the row so that the rowbreak has to be redone
12701 we abort drawing as it will be called again.
12703 2002-05-02 Juergen Vigna <jug@sad.it>
12705 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12706 a change in the maintext also if we're inside an inset.
12707 (Dispatch): set the cursor again after a break line and after the
12708 screen has been updated as it could be we're in a different row.
12710 * text2.C (fixCursorAfterDelete): check to make sure we don't request
12711 to set the cursor behind the pargraph with > size().
12712 (setCursor): check also for the same paragraph when checking where
12713 to put the cursor if we have a NFR inset.
12715 * buffer.C (parseSingleLyXformat2Token): move the compatibility
12716 parts of layout read further up as it still was in the wrong
12719 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12721 * screen.C (drawFromTo): change sine fullRebreak always return
12724 * buffer.C (parseSingleLyXformat2Token): reindent some
12726 * BufferView_pimpl.C (update): change since fullRebreak always
12728 (Dispatch): git rid of the last hardcoded "Standard"s.
12730 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
12732 * text2.[Ch] (fullRebreak): make it return void now that we always
12735 2002-04-30 Juergen Vigna <jug@sad.it>
12737 * buffer.C (parseSingleLyXformat2Token): reset the font before the
12738 ert compatibility check for "latex" layout.
12740 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
12742 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12743 minipages: use col% instead of p%, and also use the current font.
12744 (makeLaTeXFile): Fix use babel condition.
12745 (parseSingleLyXformat2Token): Correct font when reading old floats.
12747 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
12749 * BufferView_pimpl.C (Dispatch): Check that float type exists when
12750 inserting list of floats.
12752 2002-04-25 Herbert Voss <voss@lyx.org>
12754 * MenuBackend.C (expand): don't add the graphics extensions to the
12757 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12759 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12760 non-existing layout, do not complain if it was the default layout
12761 of the original class (bug #342)
12763 2002-04-24 Juergen Vigna <jug@sad.it>
12765 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12766 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12768 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
12770 * buffer.C (getBibkeyList): If using \bibliography, return the
12771 option field with the reference itself. Enables us to provide natbib
12772 support when using \bibliography.
12774 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
12776 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12778 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12779 natbib is provided by the LaTeX class.
12781 2002-04-23 Juergen Vigna <jug@sad.it>
12783 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12786 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12788 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12790 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12792 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12793 ensuremath around textordmasculine, textordfeminine and
12796 2002-04-19 Juergen Vigna <jug@sad.it>
12798 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12799 reinitializing the buffer otherwise row-dimensions may be wrong.
12800 (update): reset also the selection cursors if they do exits otherwise
12801 their x/y positions may be wrong.
12803 * text2.C (cursorDown): don't enter the inset if we came from a row
12804 above and are one row over the inset.
12806 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12807 really leaving an inset.
12809 2002-04-18 Juergen Vigna <jug@sad.it>
12811 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12812 of the selected paragraph does not have the selected layout also if
12815 * text2.C (setLayout): fixed bug which did not change last selected
12818 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12819 changed the read and substituted \\end_float with \\end_inset!
12821 * BufferView_pimpl.C (cursorPrevious):
12822 (cursorNext): fixed to make it work with rows heigher than the work
12823 area without moving the cursor only the draw of the row.
12824 (workAreaMotionNotify): fix jumping over high rows.
12826 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12828 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12831 2002-04-16 Juergen Vigna <jug@sad.it>
12833 * text2.C (setCursor): set also the irow().
12834 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12836 (cursorDown): support for locking an inset if the x_fix value goes
12837 inside it. That way I can transverse insets too with cursor up/down.
12839 * lyxrow.h: added irow helper function same as other (i) functions.
12841 * BufferView_pimpl.C (cursorPrevious):
12842 (cursorNext): fixed for insets!
12844 2002-04-15 Juergen Vigna <jug@sad.it>
12846 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12847 position otherwise it is wrong in some cases.
12849 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12850 inside the inset before the call.
12852 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
12854 * buffer.[Ch] (getBibkeyList): make it const.
12856 2002-04-12 Juergen Vigna <jug@sad.it>
12858 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12860 * text2.C (getCursorX): new helper function
12861 (setCursor): compute also ix_
12862 (setCursorFromCoordinates): set also ix.
12864 * lyxcursor.h: added ix_ and helper functions.
12866 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12868 * buffer.C (insertStringAsLines): dont break paragraph if the this
12869 paragraph is inside an inset which does not permit it!
12871 * text.C (breakParagraph): honor keepempty flag and break the paragraph
12872 also with no chars on this paragraph.
12873 (paintRowText): only paint stuff if it's inside the workarea!
12875 * paragraph.C (breakParagraph): honor keepempty flag and break the
12876 paragraph always below not above.
12878 * BufferView2.C (unlockInset): update the paragraph layout on inset
12879 unlock as we changed paragraph in such a case.
12881 * lyxfind.C (LyXFind): clear the former selection if not found!
12883 * text2.C (insertInset): freeze Undo after setUndo so that it is not
12884 again called in insertChar().
12886 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12887 an inset which uses the whole row!
12888 (rightMargin): ditto.
12889 (insertChar): force a rebreak if we inserted an inset!
12891 2002-03-28 Herbert Voss <voss@lyx.org>
12893 * lyxlength.[Ch]: add inBP() to get the right PS-point
12894 units (BigPoint). With inPixels we have rounding errors
12896 2002-04-11 Juergen Vigna <jug@sad.it>
12898 * text2.C (setCursorFromCoordinates): set iy to the right value.
12899 (setCursor): add check if row->previous exists!
12901 * buffer.C (parseSingleLyXformat2Token): reset font after read of
12902 an old float_type as this was the case in the old code!
12904 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12906 * BufferView2.C (showLockedInsetCursor): use iy
12907 (fitLockedInsetCursor): ditto
12909 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12910 locked insets as there we have the right value now.
12912 * lyxcursor.C: added iy_ variable and iy functions to set to the
12913 baseline of cursor-y of the locked inset.
12915 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12916 (setCursor): fixed for insets which need a full row.
12918 * text.C (rowLastPrintable): don't ignore the last space when before
12919 an inset which needs a full row.
12920 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12921 as last character of a row when before a inset which needs a full row.
12923 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12925 * version.C.in: update date
12927 * text2.C (fullRebreak): try to always return true and see what
12930 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12932 * MenuBackend.C (expand): use Floating::listName
12934 * FloatList.C (FloatList): add listName argument to the built-in
12937 * Floating.[Ch]: add listName member, which is the 'List of XXX'
12938 text associated with the float.
12940 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12942 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12944 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12946 * ShareContainer.h: add a couple of missing typenames.
12948 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
12950 * lyxrc.C (getDescription): use _() correctly rather than N_().
12952 2002-03-28 Herbert Voss <voss@lyx.org>
12954 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
12955 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12957 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12959 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12960 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12962 2002-03-29 Juergen Vigna <jug@sad.it>
12964 * lyxfunc.C (dispatch): add a missing fitCursor call.
12966 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12967 it was scrolled by a cursor move, so return the bool status.
12969 * BufferView.C (fitCursor): return the bool flag also to the outside
12970 world as this is needed.
12972 * screen.C (toggleToggle): don't subtract the offset if it's positive.
12974 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12975 call the edit() as it is not needed (and wrong) IMO.
12976 (workAreaButtonPress): set the screen_first variable before evt.
12977 unlock the inset as this may change screen_first and then we have
12978 a wrong y position for the click!
12980 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12982 * MenuBackend.C (expand): another translation that I missed
12984 2002-03-28 Juergen Vigna <jug@sad.it>
12986 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12988 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12990 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12992 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12994 * MenuBackend.C (expand): fix export/view/update when there is no
12997 2002-03-27 Herbert Voss <voss@lyx.org>
12999 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
13002 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13004 * bufferview_funcs.C (currentState): only show paragraph number
13005 for is DEVEL_VERSION is set.
13007 * lyxfunc.C (dispatch): put warning in INFO channel
13009 * MenuBackend.C (expand): translate the name of floats
13011 * FloatList.C (FloatList): mark the float names for translation
13013 * converter.C (convert): use LibScriptSearch
13015 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13017 * MenuBackend.C (defaults): fix default menu (we might as well get
13020 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13022 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
13025 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13027 * lyxvc.C: reorder includes.
13029 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
13031 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
13034 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
13036 * CutAndPaste.C: change layouts earlier on paste
13037 to avoid crashing when calling getFont()
13039 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
13041 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
13044 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
13046 * WorkArea.C: remove 'Pending' debug message.
13048 * most files: ws cleanup
13050 * buffer.[Ch]: ws changes
13052 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
13054 2002-03-21 Juergen Vigna <jug@sad.it>
13056 * tabular.C (SetMultiColumn): collapse also the contents of the
13057 cells and set the last border right. Added a Buffer const * param.
13059 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
13061 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
13064 2002-03-19 Juergen Vigna <jug@sad.it>
13066 * text2.C (clearSelection): reset also xsel_cache.
13068 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
13069 where it needs to be called (John tells us to do so too :)
13070 (selectionLost): reset sel_cache.
13072 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
13074 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13076 * text2.C (setCursorIntern): put debuging code in INSETS channel
13078 2002-03-19 André Pönitz <poenitz@gmx.net>
13080 * lyxfunc.C: tiny whitespace change
13082 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13084 * ToolbarDefaults.C (init):
13085 * LyXAction.C (init):
13087 * BufferView_pimpl.C (Dispatch):
13088 * lyxfunc.C (dispatch): remove LFUN_DEPTH
13090 2002-03-19 Allan Rae <rae@lyx.org>
13092 * exporter.C (Export): removeAutoInsets before doing anything else.
13093 While I've just introduced a dependency on BufferView this really is
13094 the best place to clean the buffer otherwise you need to cleanup in
13095 a dozen places before calling export or cleanup in a dozen functions
13098 * converter.C (runLaTeX):
13099 (scanLog): Better handling of removeAutoInsets and screen updates.
13101 * lyxfunc.C (dispatch): small whitespace changes
13103 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13105 * WorkArea.C (C_WorkAreaEvent): return a value.
13106 (event_cb): return 1 if we handled the event, 0 otherwise.
13108 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
13110 2002-03-18 Juergen Vigna <jug@sad.it>
13112 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
13113 (GetAdditionalWidth): ditto.
13114 (RightLine): ditto.
13117 * BufferView2.C (copy): use getLyXText() so that we do it inside an
13118 inset if we're there actually (probably not used right now but this
13119 is the direction to go for unifying code).
13120 (paste): disable code to clear the selection.
13122 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
13123 inside an InsetText and move the check further up as it is in the
13126 * text2.C (pasteSelection): set a selection over the pasted text.
13128 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
13130 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
13131 and libgraphics to build on Cygwin.
13133 2002-03-15 Juergen Vigna <jug@sad.it>
13135 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
13136 inserting an Inset into the paragraph. I know this is not the best
13137 fix but we already use current_view in CutAndPaste so we will remove
13138 all of it's using at the same time.
13140 * buffer.C (sgmlError): deactivated function till it is rewritten in
13141 the right mode, now it can create problems.
13143 * paragraph.C (isLineSeparator): check if getInset returns != 0,
13144 before accessing it.
13146 2002-03-14 Juergen Vigna <jug@sad.it>
13148 * undo_funcs.C (textHandleUndo): do the right thing when updating
13149 the inset after the undo/redo.
13151 * text2.C (setCursor): just some testcode for #44 not ready yet.
13153 * undo_funcs.C (textHandleUndo): set the next() and previous()
13154 pointers of the paragraph to 0 before deleting otherwise we have
13155 problems with the Paragraph::[destructor].
13157 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
13158 on a paragraph insertion.
13160 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13162 * buffer.C (asciiParagraph): use += operator for char append to
13165 * paragraph.C (getFontSettings): compare >= not just >
13166 (highestFontInRange): ditto
13169 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13171 * paragraph.C: change several algorithm to be more appripriate for
13172 the problem domain. This is lookip in FontList and in the InsetList.
13174 2002-03-13 André Pönitz <poenitz@gmx.net>
13177 * LyXAction.C: remove unused LFUN_MATH_MACROARG
13179 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
13184 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
13186 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13188 * Painter.C (display): anon helper function, adjust code for this
13190 (pixmap): remove function.
13192 * Painter.h: remove private display variable.
13194 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
13196 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
13198 * WorkArea.[Ch]: remove figinset_canvas cruft.
13200 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13202 * lyxtextclass.C (operator): add one item cache optimization.
13204 * bufferlist.h: doxy changes
13206 * bufferlist.C: ws changes
13208 * DepTable.[Ch] (ext_exist): place const in the right spot.
13210 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
13212 (workAreaExpose): call resizeInsets when the with BufferView changes.
13213 (Dispatch): adjust for protectedBlank removal
13214 (specialChar): call updateInset if the insert went ok.
13216 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
13217 specialChar instead.
13219 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
13221 * BufferView.h: doxy change
13223 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
13225 * lyxtextclass.C (operator[]): remove non-const version
13226 (defaultLayout): remove non-const version
13228 2002-03-12 Juergen Vigna <jug@sad.it>
13230 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
13231 did resize the LyXText too.
13233 * buffer.C (readLyXformat2): set layout information on newly allocated
13236 * tabular.C (OldFormatRead): set layout information on the paragraph.
13238 2002-03-12 Jos�Ab�io Oliveira Matos <jamatos@novalis.fc.up.pt>
13240 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
13242 2002-03-11 Juergen Vigna <jug@sad.it>
13244 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
13246 (resizeCurrentBuffer): force also the insets to resize themselfes.
13247 (moveCursorUpdate): fixed up for InsetText.
13249 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
13252 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
13253 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
13254 value of Dialogs::tooltipsEnabled().
13255 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
13257 2002-03-08 Juergen Vigna <jug@sad.it>
13259 * BufferView_pimpl.C (updateInset): update inset inside inset also
13260 if it isn't inside theLockingInset().
13262 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13264 * buffer.C (asciiParagraph): redo some of the word and line length
13266 (getLists): look for Caption instead of caption.
13268 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13270 * buffer.C (Buffer): initialize niceFile to true
13272 (makeLinuxDocFile):
13273 (makeDocBookFile): make sure niceFile is true on exit
13275 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13277 * buffer.C (makeLaTeXFile): escape ~ in \input@path
13279 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
13281 * LyXSendto.C: remove.
13282 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13283 * lyx_gui.C: remove now-redundant comment.
13284 * ColorHandler.h: remove forward declaration of class WorkArea.
13285 * lyxfunc.C: remove #include "WorkArea.h".
13287 2002-03-07 Juergen Vigna <jug@sad.it>
13289 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13290 got moved away with the DEPM and also set the inset_owner always
13291 right which before could have been omitted.
13293 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13295 * buffer.C (parseSingleLyXformat2Token): use default layout is the
13296 wanted layout is not found.
13298 2002-03-07 Juergen Vigna <jug@sad.it>
13300 * CutAndPaste.C (cutSelection): another layout settings forgotten.
13302 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13304 * paragraph.C (breakParagraph): use default layout not layout of
13306 (Paragraph): clear ParagraphParameters.
13308 2002-03-06 Juergen Vigna <jug@sad.it>
13310 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13311 otherwise it would not be a valid lenght. Fixed a special case in
13312 the minipage compatibility read where we end the document with a
13315 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13316 was set as it could be 0 for InsetTexts first entry.
13318 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13320 * paragraph.C (writeFile): if layout is empty write out
13321 defaultLayoutName().
13323 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13324 file without named layout we set layout to defaultLayoutName().
13326 2002-03-06 Juergen Vigna <jug@sad.it>
13328 * CutAndPaste.C (copySelection): set layout for new paragraph.
13330 * text.C (prepareToPrint): leave ERT inset left aligned
13331 (leftMargin): don't indent paragraphs inside ERT insets
13333 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13335 * paragraph.C (breakParagraph): dont call clear do the work manually
13337 * paragraph.[Ch] (clear): remove function
13339 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13341 * paragraph.C (Paragraph): dont call clear, the work has already
13344 * lyxtextclass.C (operator): assert if n is empty
13346 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13347 work manually instead.
13349 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13351 * BufferView_pimpl.C: protect selectionLost against text == 0
13353 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13355 * text.C (breakParagraph): fix a setting layout to '0' problem.
13357 2002-03-05 Jos�Ab�io Oliveira Matos <jamatos@novalis.fc.up.pt>
13359 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13360 final location of file, for the included files, and graphics.
13362 2002-03-05 Juergen Vigna <jug@sad.it>
13364 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13366 2002-03-04 Juergen Vigna <jug@sad.it>
13368 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13370 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13371 last column of multicolumn cells.
13372 (SetWidthOfMulticolCell): recalculate NMC and real columns.
13374 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
13376 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13377 file if it doesn't go to a temporary file.
13379 * buffer.C (sgmlOpenTag):
13380 (sgmlCloseTag): remove extra newline insertion.
13382 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13384 * text.C (getRowNearY): comment out debug msg
13386 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13388 * text2.C: first -> first_y
13390 * text.C (getRowNearY): add some attemts at a possible
13391 optimization, not working.
13393 * tabular.[Ch]: add BufferParams to several function so that newly
13394 created paragraph can be initialized to he default layotu for the
13397 * tabular-old.C (ReadOld): add buf->params to call of Init
13399 * screen.C: rename text->first to text->first_y
13401 * paragraph.C (breakParagraph): always set layout in the broken
13404 * lyxtextclass.C (Read): remove lowercase
13407 (delete_layout): ditto
13409 * lyxtext.h: rename first -> first_y
13411 * lyxlayout.C (Read): remove lowercase
13414 (obsoleted_by): ditto
13416 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13418 * buffer.C (insertErtContents): add params are to InsetERT
13419 (parseSingleLyXformat2Token): add code to check if a paragraphs
13420 layout really exist.
13421 (parseSingleLyXformat2Token): add params to several inset
13423 (asciiParagraph): remove lowercase, do the layout comparisons with
13426 * BufferView_pimpl.C (cursorNext): first -> first_y
13427 (resizeCurrentBuffer): first -> first_y
13428 (updateScrollbar): first -> first_y
13429 (scrollCB): first -> first_y
13430 (workAreaMotionNotify): first -> first_y
13431 (workAreaButtonPress): first -> first_y
13432 (checkInsetHit): first -> first_y
13433 (cursorPrevious): first -> first_y
13434 (cursorNext): first -> first_y
13435 (Dispatch): add buffer_->params to severl inset contructors
13437 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13439 * lyxlayout.C (Read): remove some debug info that I forgot.
13441 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13442 clean up the code slightly.
13443 (makeLinuxDocFile): ditto
13444 (makeDocBookFile): ditto
13446 * text2.C: layout as string
13448 * text.C: layout as string
13450 * paragraph_pimpl.C: layout as string
13452 * paragraph.[Ch]: layout as string
13454 * lyxtextclasslist.[Ch]: layout as string
13456 * lyxtextclass.[Ch]: layout as string
13458 * lyxtext.h: layout as string
13460 * lyxlayout.[Ch]: layout as string
13462 * lyx_cb.C: layout as string
13464 * bufferview_funcs.C: layout as string
13466 * bufferparams.C: layout as string
13468 * buffer.C: layout as string
13470 * LyXView.[Ch]: layout as string
13472 * LaTeXFeatures.[Ch]: layout as string
13474 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13476 * BufferView_pimpl.C: change current_layout to string, remove
13481 (workAreaButtonRelease): layout as string
13483 * BufferView2.C (unlockInset): adjust
13485 * vspace.C (asLatexCommand): use an explict temp variable.
13487 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13489 * Makefile.am: use FRONTEND_*
13491 2002-03-01 Juergen Vigna <jug@sad.it>
13493 * tabular.C (SetWidthOfMulticolCell): changed to something better
13494 I hope but still work in progress.
13495 (recalculateMulticolumnsOfColumn): renamed function from
13496 recalculateMulticolCells as it is more appropriate now.
13497 (SetWidthOfCell): calculate multicols better.
13499 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13501 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13503 * lyxfunc.C (processKeySym): print sequence also if it is
13504 `deleted' (complete)
13506 * kbsequence.C (print): print sequence even if it is deleted
13507 (complete would be a better word, actually).
13509 * lyxfunc.C (dispatch): print complete options after a prefix key
13511 * vspace.C (asLatexCommand): rewrite in a slightly different form.
13513 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
13515 * text2.C (setCharFont): eliminate setCharFont code duplication.
13517 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13519 * BufferView_pimpl.C (Dispatch): remove bogus handling of
13520 LFUN_TABULAR_FEATURE (bug #177)
13522 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
13524 * Makefile.am: remove figure.h
13526 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
13528 * Bufferview_pimpl.C:
13540 * text2.C: remove #include "lyx_gui_misc.h".
13542 * LaTeX.C: added #include <cstdio>
13544 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13546 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13547 that the paragraph following this one can have.
13549 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13551 * vspace.C (asLatexCommand): fix bogus gcc warning
13553 * Makefile.am (lyx_SOURCES): remove vms_defines.h
13555 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
13557 * text2.C (setLayout): get rid of redundant code
13559 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
13561 * text2.C (incDepth): make sure depth cannot be increased beyond
13564 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
13566 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13567 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13569 * PainterBase.h (image):
13570 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13571 a LyXImage const *.
13573 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13577 * BufferView_pimpl.C:
13578 * BufferView_pimpl.h:
13598 * sp_spell.C: remove fig inset, and the crap house of
13599 cards that follows it
13601 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13606 * os2_errortable.h:
13607 * nt_defines.h: move .h into support/
13609 * vms_defines.h: remove
13611 * WorkArea.C: add space in debug output
13615 * buffer.C: add WITH_WARNINGS
13619 * bufferlist.C: s/retrive/retrieve/, add docs
13628 * chset.C: add docs
13630 * lyxgui.C: add ID to X error handler
13632 * lyxtestclass.c: fix typo
13634 2002-02-26 Juergen Vigna <jug@sad.it>
13636 * tabular_funcs.C (write_attribute): changed so that some default
13637 attributes are not written at all.
13638 (getTokenValue): set default values before trying to read the
13639 value so we have the return value always set as default if we don't
13640 find the token we search for.
13642 * tabular.C (Write): write bools as bools not as strings!
13644 2002-02-22 Juergen Vigna <jug@sad.it>
13646 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13647 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13649 * text.C (leftMargin): don't add an indent for paragraphs inside
13650 tabular cells (fix #208).
13652 2002-02-21 José Matos <jamatos@fep.up.pt>
13654 * tabular.C (docBook): fixed support for long tables.
13656 2002-02-20 Juergen Vigna <jug@sad.it>
13658 * text2.C (getFont): get the drawing font of the Inset if this
13659 paragraph is inside an inset (only important for InsetERT for now).
13661 * buffer.C (insertErtContents): use new lanugage params in ERT
13664 * CutAndPaste.C: commenting out seemingly uneeded code.
13666 2002-02-19 Allan Rae <rae@lyx.org>
13668 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13669 Iterators might be simple to use but they also get invalidated.
13670 (removeAutoInsets): renamed saved cursor tracking variables and added
13671 some comments to clarify what everything does.
13673 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
13680 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13681 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13684 * vc-backend.h: remove #include "support/syscall.h"
13688 * converter.C: rearrange #includes in Lars' approved fashion.
13690 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13691 forward declare class Timeout in the header file.
13693 * XFormsView.C: changes due to the above.
13695 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13696 similar to LyXView.
13698 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13699 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13701 2002-02-18 José Matos <jamatos@fep.up.pt>
13703 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13706 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
13708 * a lot of small ws changes
13709 * add a lot of using std::XXX
13710 * use std construcs some places where approp.
13711 * use some exisint stuff from lyxfunctional where approp.
13712 * Make file changes to use partial linking (lets test this now...)
13714 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13718 remove #include "support/syscontr.h" as it's redundant. Always has been.
13726 change Systemcalls::System to Systemcalls::Wait and
13727 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13728 No change of functionality, just reflects the stripped down Systemcalls
13731 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13733 * debug.[Ch]: add a GRAPHICS type to the enum.
13735 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13737 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13739 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13742 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13744 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13745 match the changes below.
13747 * text2.C (toggleInset): if there is not editable inset at cursor
13748 position, try to see if cursor is _inside_ a collapsable inset
13751 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13753 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13754 document menu has a nice checkbox
13756 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13758 * lyxlength.C (asLatexString): change PW to output as percent of
13761 * lengthcommon.C: change '%' to 't%'
13763 * lyxfunc.C (dispatch): a few comments from Martin
13765 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
13769 * BufferView_pimpl.h:
13770 * BufferView_pimpl.C: clear our selection when X tells us we've lost
13773 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13775 * vspace.C (inPixels): fix compiler warning
13777 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13779 * lyxfunc.C (getStatus): fix status message for disabled commands.
13781 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
13783 * BufferView_pimpl.C: fix crash on close buffer
13784 during selection (#227)
13786 2002-01-27 Herbert Voss <voss@lyx.org>
13788 * buffer.C: link old Figure to new graphic inset
13790 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
13792 * FontLoader.C (getFontinfo): Change the latex font names in order
13793 to match the names of type1inst.
13795 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
13797 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13799 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13800 (extchanged): ditto
13802 (remove_files_with_extension): ditto
13803 (remove_file): ditto
13806 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13807 document is smaller than the work area height. Do not initialize
13808 static variables to 0.
13810 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13812 * lyx_gui.C (init): give the toolbar tooltips a normal font.
13814 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13815 LFUN_LAYOUT_PARAGRAPHS.
13817 * tabular.C (GetCellFromInset): new method. Finds an inset in a
13818 tabular. It is possible to provide a possible cell, which will
13819 typically be the actcell from the corresponding insettabular
13821 * lyxfunc.C (getStatus): small cleanup; disable
13822 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13825 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13827 * tabular.C (Validate): remove broken optimization (fixes bug #201)
13829 * paragraph.C (startTeXParParams):
13830 (endTeXParParams): new methods. The LaTeX code to
13831 start/end paragraph formatting
13832 (simpleTeXOnePar): call startTeXParParams also when paragraph is
13833 empty (fixes bug #200)
13835 * vspace.C (inPixels): adapt to the change below
13836 (inPixels): [later] more cleanups (remove unused variables)
13838 * lyxlength.C (inPixels): change to use a width and a height as
13841 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13843 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13844 Replaced with \paperwidth
13846 * DepTable.C (insert): add std:: qualifier
13848 2002-01-18 Allan Rae <rae@lyx.org>
13850 * text2.C (removeRow): add comment. Should other refresh_?? vars be
13853 * text.C (drawInset): Turned out I didn't know enough about how
13854 rebreaking worked. This fixes most of the redraw problems. I see
13855 an occasional cursor trail when a line is broken now and the cursor
13856 placement can seem out by a few pixels also after a rebreak.
13858 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13860 * buffer.C (parseSingleLyXformat2Token): update because minipage
13861 width is now a LyXLength
13863 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13865 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13868 2002-01-17 Juergen Vigna <jug@sad.it>
13870 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13872 * BufferView2.C (lockInset): call edit() so that theLockingInset()
13873 is set correctly and the inset is updated correctly.
13875 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13877 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13878 the beginning of the loop.
13880 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
13882 * lyxrc.C: improve help for use_scalable_fonts
13884 2002-01-17 Allan Rae <rae@lyx.org>
13886 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13888 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13890 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13891 make sure to set their inset_owner to the right value (bug #171)
13893 2001-12-12 Ben Stanley <bds02@uow.edu.au>
13896 * DepTable.C: Implement mtime checking to reduce time spent doing
13899 2002-01-16 Juergen Vigna <jug@sad.it>
13901 * tabular.C (GetAdditionalHeight): one of error fixed.
13903 * lyxrc.C (output): small fix in writing use_pspell.
13905 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
13907 * sp_base.h: #include LString.h
13909 2002-01-16 Allan Rae <rae@lyx.org>
13911 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
13912 Can someone check this please?
13914 * text.C (drawInset): It was possible that p.row would be removed by
13915 breakAgainOneRow upsetting a few other settings. There may be another
13916 small tweak possible by setting need_break_row = 0 when p.row has been
13917 removed but I don't know enough about the logic here.
13919 2002-01-15 Allan Rae <rae@lyx.org>
13921 * text.C (insertChar): removed conditional truism.
13923 * BufferView2.C (removeAutoInsets): More tweaks.
13924 cur_par_prev could be a stray pointer. Check for trailing empty line
13925 in case last line was cur_par and only had an error inset on it.
13927 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13929 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13932 * vc-backend.C (most methods):
13933 * exporter.C (Export):
13934 * converter.C (convert):
13936 * LyXSendto.C (SendtoApplyCB):
13937 * lyxfunc.C (dispatch):
13941 * lyx_cb.C (AutoSave):
13943 * BufferView_pimpl.C (MenuInsertLyXFile):
13944 * buffer.C (runChktex): use Buffer::filePath().
13946 * buffer.h: rename filename to filename_; rename filepath to
13947 filepath_ and make it private
13948 (filePath): new method
13950 * buffer.C (writeFile): use fileName()
13953 * lyx_main.C (init): fix starting of LyX when the binary is a
13954 link from so,ewhere else.
13956 * minibuffer.C: include <cctype> for isprint
13958 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13960 * buffer.C (parseSingleLyXformat2Token): changes associated with the
13961 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13962 name clash with InsetCollapsable's width function.
13964 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13966 * lastfiles.C: include <iterator>
13968 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13970 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13973 * buffer.C (makeLaTeXFile): ditto.
13974 Also make loop operation more transparent.
13976 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13978 * ToolbarDefaults.C: remove trailing comma closing namespace.
13980 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13982 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13985 * trans.C (Load): comment out unused variable, allowed.
13987 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
13989 * minibuffer.[Ch] (append_char): new method to recieve input from the
13990 drop-down completion browser. If a key was pressed, then recieve this
13991 char and append it to the existing string.
13992 (peek_event): modify the positioning data passed to the completion
13993 browser so that it can be placed above the minibuffer rather than below.
13994 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13996 * LyXAction.C (init): alloe error-next for readonly documents.
13998 * BufferView2.C (ChangeRefsIfUnique): use standard version of
14001 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14003 * bufferlist.C (readFile): create the buffer _after_ checking that
14006 * lyxfunc.C (verboseDispatch): fix handling of arguments
14008 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
14010 * lyxrc.C: use string::erase() instead of initializing to "".
14013 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14015 * BufferView_pimpl.h:
14016 * BufferView_pimpl.C:
14019 * text2.C: tell X when we have made a selection for copying
14021 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14023 * BufferView_pimpl.C (MenuInsertLyXFile):
14024 * lyxfunc.C (menuNew):
14026 (doImport): add shortcuts to directory buttons
14028 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
14031 * lyxfunc.C (setStatusMessage):
14032 (getStatusMessage): new methods
14033 (getStatus):use setStatusMessage instead of setErrorMessage
14034 (dispatch): when function is disabled, set error message here
14035 [instead of in getStatus previously]
14037 * BufferView_pimpl.C (workAreaButtonRelease): update
14038 toolbar/menubar here too.
14040 2002-01-13 Allan Rae <rae@lyx.org>
14042 * BufferView2.C (removeAutoInsets): finished off earlier fix.
14043 Now seems indestructible. Remaining task is to audit all other
14044 code affected by deleteEmptyParagraphMechanism. One small quirk
14045 left is that an empty document with an error in the preamble can
14046 be made to report an error but no error box appears. I don't know
14048 (removeAutoInsets): Improved comments.
14050 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
14053 * Thesaurus.C: update for Aiksaurus 0.14
14055 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
14057 * text2.C (firstParagraph): removed member function, all uses
14058 replaces with ownerParagraph
14059 (redoParagraphs): here
14060 (updateInset): here
14061 (toggleAppendix): here
14062 * BufferView2.C (insertErrors): here
14063 (setCursorFromRow): here
14065 2002-01-13 Allan Rae <rae@lyx.org>
14067 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
14068 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
14069 There is still a way to segfault this although you may have to do this
14070 multiple times: Have an InsetERT with an unknown command in it.
14071 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
14072 <down-arrow>, <Enter> again, View->DVI, BANG!
14074 * text2.C (setCursor):
14075 (deleteEmptyParagraphMechanism):
14076 * lyxtext.h (setCursor):
14077 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
14078 Making use of the return value may help fix other bugs.
14080 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14082 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
14084 * LyXView.C (updateMenubar): call MenuBar::update here
14085 (updateToolbar): but not here
14086 (showState): do not update toolbar/menubar
14088 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
14089 should need to care about that.
14091 * lyxfunc.C (verboseDispatch): simplify a bit
14092 (getStatus): have a version which takes a pseudoaction, and
14093 another which requires a (kb_action,string).
14095 * LyXAction.C (retrieveActionArg): make it work also when action
14096 is not a pseudo-action.
14097 (getActionName): simplify a bit
14100 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14102 * lyxfunc.C (verboseDispatch): new families of methods with
14103 several ways to specify a command and a bool to indicate whether
14104 the command name and shortcut should be displayed in minibuffer
14105 (eventually, we could extend that to a finer bitmask like
14106 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
14107 (dispatch): the pristine dispatch command which just, well,
14108 dispatchs! Note it still sets its result to minibuffer; I'm not
14111 * lyxfunc.h: remove setHintMessage
14113 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
14115 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14117 * BufferView_pimpl.C (specialChar): delete new inset if we have
14118 not been able to insert it.
14120 * kbmap.C: revert to using int instead of kb_action, since all we
14121 are dealing with is pseudo-actions.
14123 * LyXAction.C (searchActionArg): change to return int instead of
14124 kb_action, since the result is a pseudoaction.
14126 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
14128 * buffer.C (insertErtContents): Fix (partially) the font bug.
14130 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
14132 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
14133 as the other one is broken on my machine!
14135 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
14138 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
14140 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
14142 * lyxrc.[Ch]: change names and descriptions of popup font variables to
14143 reflect their actual use. Provide compatibility code for older lyxrc
14146 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
14148 change names of popup font variables in line with the changes to lyxrc.C
14150 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14152 * buffer.C (asciiParagraph): avoid outputing a word twice after
14155 * lyxrc.C (getDescription): document that document_path and
14156 template_path can be empty.
14158 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14160 * LaTeXFeatures.C (getMacros):
14161 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
14163 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
14165 * LaTeXFeatures.C (useFloat): require "float" here instead of in
14167 (getPackages): rename feature "floats" to "float". Use an array to
14168 iterate over 'simple' features (i.e. just a \usepackage). Add
14169 handling of "amsmath" (renamed from "amsstyle").
14171 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
14173 * LaTeXFeatures.C (require): Prevent duplicate entries in the
14176 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
14178 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
14179 FuncStaus::FuncStatus & FuncStaus::some_method().
14181 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
14183 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
14184 of the func_satus stuff. Edited and massaged in various ways by
14187 * lyxfunc.C (getStatus): use FuncStatus
14189 2002-01-08 Juergen Vigna <jug@sad.it>
14191 * text.C (nextBreakPoint): use function Inset::isChar().
14193 * paragraph.C (TeXOnePar): use function
14194 Inset::forceDefaultParagraphs.
14196 * buffer.C (latexParagraphs): use function
14197 Inset::forceDefaultParagraphs.
14199 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14201 * lyx_gui.C (init): set the style of the menu popups to
14202 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
14204 2002-01-07 Juergen Vigna <jug@sad.it>
14206 * text.C (setHeightOfRow): small fix
14207 (prepareToPrint): don't look at alignment if we don't have the place
14210 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14212 * box.C: New file. Move the Box methods and functions out of box.h,
14213 following Lars' suggestion.
14215 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14217 * box.h: #include "support/LOstream.h", needed for inlined function.
14220 * lyxtextclasslist.C: added some using std declarations.
14222 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
14224 * box.h: make signed dimensions to allow insets wider than
14225 the screen (bug #162)
14227 * BufferView_pimpl.C: add some insetHit debug
14229 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
14231 * vc-backend.C: add FIXME
14233 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14235 * lyxfunc.C (getStatus): enable code for showing math font status
14238 2002-01-07 Juergen Vigna <jug@sad.it>
14240 * text.C (nextBreakPoint): removed debug output not needed anymore.
14242 2002-01-06 Juergen Vigna <jug@sad.it>
14244 * text.C (nextBreakPoint): fixed up this function we had this bug
14245 since ever but now hopefully we break row better.
14246 (insertChar): we have to check if an inset is the next char as it
14247 could now happen that a large inset is causing a break.
14249 2002-01-05 Juergen Vigna <jug@sad.it>
14251 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
14252 if it doesn't like to be drawed.
14254 2002-01-04 Juergen Vigna <jug@sad.it>
14256 * BufferView2.C (lockInset): forgot to set a cursor.
14258 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
14260 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
14262 * FormMathsPanel.C:
14265 * form_maths_panel.C:
14266 * form_maths_panel.h:
14267 * form_maths_panel.fd: implemented sub- and super- buttons in math
14270 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
14271 (or ^ space) to be used as in TeX (req'd by Andr�.
14273 * lyxfunc.C: Allow ^ and _ again to be used both as
14274 super/subscript (mathed) and as themselves (in text).
14276 2002-01-03 Allan Rae <rae@lyx.org>
14278 * LyXView.C (updateWindowTitle): Setup a short icon title of either
14279 "LyX" or the filename of the current buffer if it has one. This is a
14280 modified form of John Levon's patch.
14282 * XFormsView.C (setWindowTitle): also set icon title.
14284 * LyXView.h (setWindowTitle): signature changed.
14285 * XFormsView.h (setWindowTitle): ditto.
14287 2002-01-02 Juergen Vigna <jug@sad.it>
14289 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14291 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
14293 * screen.C (topCursorVisible): introduce a temp var for
14294 text->cursor.row(), handle the case where this row is null. (kindo
14297 * text2.C (setCursor): add a couple of asserts.
14299 * paragraph.h (inset_iterator): add -> operator
14301 * paragraph.[Ch] (autoDeleteInsets): remove member function
14303 * BufferView2.C (removeAutoInsets): rewrite to handle the old
14304 cursor pos correctly and handle inset deletion by itself.
14305 (insertErrors): move iterator declaration out of for expression
14307 * lyxtextclass.C: add <algorithm>
14309 * Makefile.am: added the new files to sources, removed layout.C
14311 * layout.C: removed file
14313 * layout.h: remove LYX_DUMMY_LAYOUT
14315 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14319 * lyxtextclass.[Ch]:
14320 * lyxtextclasslist.[Ch]: new files
14322 * include order changes to a lot of files, also changes because of
14325 2001-12-27 Juergen Vigna <jug@sad.it>
14327 * buffer.C (asciiParagraph): more fixes.
14329 * tabular.C (ascii): make ascii export support export of only the
14330 data separated by a column-delimiter.
14331 (ascii): better support for ascii export.
14333 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14335 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14337 * tabular_funcs.C: use a "using std::getline" instead of the
14338 previous fix from Angus (necessary for cxx + lyxstring)
14340 2001-12-24 Juergen Vigna <jug@sad.it>
14342 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14344 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14345 problems. First check a minipage also if we have some ert-contents
14346 (not only on par->size(), second set the right depth of the paragraph
14347 on the relink to the root-paragraph-list!
14349 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14350 which then did not anymore update the main paragraphs on undo/redo!
14352 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14354 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14355 code. Support all font-changing funcs (even those which are not in
14356 menu currently). Support for reporting font settings in
14357 mathed (disabled until Andre provides a function on mathed's side).
14359 * func_status.h (toggle): small helper function to set toggle
14362 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
14364 * tabular_funcs.C: getline -> std::getline
14366 2001-12-21 Juergen Vigna <jug@sad.it>
14368 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14369 accessed and could be 0 (I couldn't generate this but it seems
14372 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
14374 * tabular_funcs.C: add LIstream.h, move write_attribute to..
14375 * tabular_funcs.h: here and include iosfwd
14377 2001-12-20 Juergen Vigna <jug@sad.it>
14379 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14380 inside inset but undo_par was.
14382 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14384 * Thesaurus.C: always include <config.h> in sources.
14388 * box.h: do not include <config.h> in header files
14390 * text.C (paintLastRow): remove unused variable
14392 * text.C (transformChar):
14394 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14396 * Painter.C (text):
14397 * font.C (width): rewrite to use uppercase() instead of
14400 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14402 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
14404 * lyxfind.C: clean up of find failure position change
14406 2001-12-20 Juergen Vigna <jug@sad.it>
14408 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14410 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14411 (TeXRow): added to LaTeX a single tabular row.
14412 (TeXLongtableHeaderFooter): added to output LT-h/f data.
14413 (Latex): simplified and finally good LT-h/f support.
14414 (various_functions): just small adaptions for LT-h/f support.
14416 * tabular_funcs.[hC]: added and moved here all not classfunctions
14419 2001-12-19 Juergen Vigna <jug@sad.it>
14421 * tabular.[Ch]: better support for longtabular options (not finished
14424 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14426 * text.C (paintLastRow): use the label font instead of the font of
14427 the last character to compute the size of *_BOX. This makes more
14428 sense and avoids a crash with empty paragraphs.
14429 Use Painter::rectangle to draw EMPTY_BOX.
14431 2001-12-19 Juergen Vigna <jug@sad.it>
14433 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14434 the paragraphs if the replaced paragraph is not the first one!
14435 Tried to delete not used paragraphs but does not work yet so for
14436 now it's inside #ifdef's and by default off!
14438 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14440 * MenuBackend.C: include "lyx_main.h" instead of declaring
14441 lastfiles (actually was declared as LastFiles* instead of a
14444 2001-12-17 Juergen Vigna <jug@sad.it>
14446 * tabular.C (AppendColumn): applied John's fix
14448 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
14452 * BufferView_pimpl.h:
14453 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14456 * box.h: new start of class for above
14458 * lyxfunc.C: ignore space-only minibuffer dispatches.
14459 Show the command name when it doesn't exist
14461 * minibuffer.C: don't add empty lines to the history
14463 * minibuffer.C: add a space on dropdown completion
14465 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
14467 * text.C: fix line above/below drawing in insets
14469 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14471 * lyxlength.C (LyXLength): Initialize private variables.
14473 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
14475 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14476 when inserting error insets.
14478 2001-12-13 Juergen Vigna <jug@sad.it>
14480 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14481 actually sometimes the before-paragraph.
14482 (setUndo): don't clear the redostack if we're not actually undoing!
14484 2001-12-06 Juergen Vigna <jug@sad.it>
14486 * undo_funcs.C (textHandleUndo): well after John's hint I got here
14487 and fixed redoing of main paragraph, so we can use it now ;)
14489 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14491 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14493 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14496 2001-12-13 André Pönitz <poenitz@gmx.net>
14499 * undo_func.C: minor cleanup
14501 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14503 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14504 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14505 font in urw-fonts package which is marked as -urw-fontspecific and
14506 does not work (incidentally, changing the encoding in the
14507 fonts.dir of this package to -adobe-fontspecific fixes the
14510 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14511 is a crash when undoing first paragraph (Juergen, please take a
14512 look). THis does not mean the undo fix is wrong, just that it
14515 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14516 the (Paragraph*) version when needed instead of duplicating the
14519 * text.C (workWidth): use Inset::parOwner to find out where the
14520 inset has been inserted. This is a huge performance gain for large
14521 documents with lots of insets. If Inset::parOwner is not set, fall
14522 back on the brute force method
14524 * paragraph_pimpl.C (insertInset):
14525 * paragraph.C (Paragraph):
14526 (cutIntoMinibuffer): set parOwner of insets when
14527 inserting/removing them
14529 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14531 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
14537 * mathed/formulabase.C:
14538 * mathed/math_cursor.[Ch]:
14539 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14542 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14544 * lyxlength.[Ch] (operator!=): new function
14546 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14548 * text.C (workWidth): use Inset::parOwner to find out where the
14549 inset has been inserted. This is a huge performance gain for large
14550 documents with lots of insets. If Inset::parOwner is not set, fall
14551 back on the brute force method
14553 * paragraph_pimpl.C (insertInset):
14554 * paragraph.C (Paragraph):
14555 (cutIntoMinibuffer): set parOwner of insets when
14556 inserting/removing them
14558 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14560 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14562 * tabular-old.C (getTokenValue):
14563 * tabular.C (getTokenValue):
14564 (write_attribute): new versions for LyXLength
14565 (everywhere): adjust the use of widths
14567 * tabular.h: change the type of widths from string to LyXLength
14569 2001-12-11 Ben Stanley <bds02@uow.edu.au>
14571 * paragraph.C: fixed missing line number count when exporting
14572 Environments to LaTeX file
14574 * buffer.C: added informational message for checking line numbers.
14576 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14578 * text2.C (deleteEmptyParagraphMechanism): if there is only one
14579 paragraph, do the 'double space' part, but not the 'empty
14582 * text.C (workWidth): small optimization
14583 (getLengthMarkerHeight): use minimal size for negative lengths.
14585 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
14587 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14589 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14591 2001-12-11 André Pönitz <poenitz@gmx.net>
14594 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14596 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14598 * text2.C: keep selection on a setFont()
14600 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14602 * lyx_cb.C: another bv->text misuse, from insert label
14604 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14607 * kbsequence.C: re-instate nmodifier mask
14609 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
14611 * lyx_main.h: make lyxGUI private.
14613 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14615 * lyxfind.C: place the cursor correctly on failed search
14617 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14619 * text.C (getLengthMarkerHeight): for small heights, the arrows
14620 are not always on top/bottom of the text
14621 (drawLengthMarker): smaller arrows; take the left margin in
14622 account; draw also vfills.
14624 (paintLastRow): remove special code for vfill and standard spaces,
14625 since everything is handled in drawLengthMarker now.
14627 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14629 * buffer.C (insertErtContents): try to handle font and language
14630 interaction a bit better.g
14632 * ColorHandler.C (updateColor): change the hash to cover the whole
14633 LColor enum, ws cleanup
14634 (getGCLinepars): ditto
14635 (getGCLinepars): only lookup in the linecache once.
14637 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
14639 * iterators.C (operator++): Make the iterator more robust
14641 * BufferView2.C (removeAutoInsets): Use paragraph iterators
14643 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14645 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14648 * text.C: better added space drawing
14650 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14653 * BufferView2.C: fix layout combo update on inset unlock
14655 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14657 * Makefile.am: don't compile unused files
14659 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14663 * LyXAction.C: remove old LFUN_LAYOUTNO
14665 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14667 * paragraph_pimpl.h:
14668 * paragraph_pimpl.C: isTextAt() doesn't need font param
14670 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14673 * lyxlex.C: little cleanup
14675 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14677 * BufferView_pimpl.C: fix insertAscii for insets
14679 2001-12-05 Juergen Vigna <jug@sad.it>
14681 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14682 set the right font on the "multi" paragraph paste!
14684 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14690 * lyxlength.C: remove out-commented code.
14692 * BufferView_pimpl:
14706 * vc-backend.C: change "while(" to "while ("
14708 * lyxlength.[Ch]: add zero function to check if length is zero or
14710 * lyxgluelength.C: use it
14712 2001-12-05 Allan Rae <rae@lyx.org>
14714 * lyxlength.C: Attempted a fix for the abs(int) header selection.
14715 Works for 2.95.3, from what I understand of Garst's reports this should
14716 work for other g++ versions. We're screwed if the abs(int) definition
14717 changed between bugfix releases of gcc.
14719 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14721 * text.C: fix chapter label offset !
14723 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14726 * text.C: fix hfill at end of line, clean up
14728 2001-12-04 Juergen Vigna <jug@sad.it>
14730 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14731 that we force an update of the inset and it's owners if neccessary.
14733 2001-12-03 Juergen Vigna <jug@sad.it>
14735 * text.C (rowLast): simplified code
14737 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14739 * lyxfunc.C: fix show options on timeout
14741 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14743 * screen.C (topCursorVisible): scroll half a page when the cursor
14744 reached top of bottom of screen
14746 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
14748 * minibuffer.C: deactivate on loss of focus
14750 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14752 * vspace.[Ch] (operator!=): add operator.
14754 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
14756 * BufferView_pimpl.C: refuse to open an inset when
14757 there's a selection.
14759 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
14761 * BufferView_pimpl.C: allow to click on RHS of full row insets
14763 2001-11-30 Juergen Vigna <jug@sad.it>
14765 * tabular.C (LyXTabular): add a same_id to set the same id's in the
14766 insets for undo reasons.
14768 2001-11-28 André Pönitz <poenitz@gmx.net>
14770 * vspace.[Ch]: cosmetical changes
14772 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14782 * kbsequence.C: part re-write of old kb code
14785 * WorkArea.C: remove Lgb_bug_find_hack
14787 2001-11-30 José Matos <jamatos@fep.up.pt>
14789 * buffer.C (makeDocBookFile): add a comment to point a hack.
14790 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14791 Fixed a double write of labels.
14793 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14796 * LaTeX.h Fixed bug in LaTeX class where it would not
14797 re-run latex if no depfiles were changed, but the .dvi was removed.
14799 2001-11-28 André Pönitz <poenitz@gmx.net>
14801 * all the files from the change on 2001/11/26:
14802 use lyx::layout_type instead of LyXTextClass::size_type
14803 use lyx::textclass_type instead of LyXTextClassList::size_type
14805 2001-11-29 Juergen Vigna <jug@sad.it>
14807 * text.C: added support for paragraph::isFreeSpacing()
14809 * buffer.C: same as above
14811 * paragraph.h: inserted isFreeSpacing() function to enable
14812 FreeSpacing inside InsetERT.
14814 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14815 of the paragraph's in the cut/copy buffer to 0!
14817 * text2.C (removeRow): remove the assert as it can!
14819 * lyxtext.h: added helper function firstRow returning firstrow and
14820 made firstrow private again.
14822 * BufferView2.C (lockInset): don't relock if we're already locked!
14824 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14825 the only paragraph.
14826 (removeRow): added Assert::(firstrow)
14828 * debug.C: forgot to add INSETTEXT here.
14830 2001-11-28 Juergen Vigna <jug@sad.it>
14832 * sp_spell.C (initialize): changed error text to more general
14833 spellchecker command use (not only ispell!)
14835 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14837 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14839 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14841 * vspace.C: initialise lyxgluelength on failure
14843 2001-11-28 Allan Rae <rae@lyx.org>
14845 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14846 declaration & definition that looks like a function declaration.
14848 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14850 * BufferView2.C (copy):
14851 (copyEnvironment): do not clear the selection when doing a copy.
14853 * text.C (paintFirstRow): compilation fix
14855 2001-11-27 Ben Stanley <bds02@uow.edu.au>
14857 * tabular.C (Latex): correct line count when writing latex.
14859 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
14861 * paragraph_pimpl.h:
14862 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14865 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14869 * LColor.C: change vfillline->added_space
14871 * text.C: add markers and text for added space
14873 * vspace.C: fix comment
14875 2001-11-28 André Pönitz <poenitz@gmx.net>
14877 * paragraph.C: whitespace changes
14878 * all the other files from the change on 2001/11/26:
14879 change *::pos_type into lyx::pos_type
14881 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
14883 * buffer.C (parseSingleLyXformat2Token): Set the language to the
14884 language of the document when inserting error insets.
14886 2001-11-26 André Pönitz <poenitz@gmx.net>
14888 * BufferView_pimpl.[Ch]:
14896 * paragraph_pimpl.[Ch]:
14899 * text2.C: reduce header dependencies, introduce type for positions
14901 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14903 * <various>: change to use Alert.h
14905 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
14907 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14908 when encountering an unknown token.
14909 (readLyXformat2): Show an error message if there were unknown tokens.
14911 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
14914 * BufferView_pimpl.C:
14918 * text2.C: use par->isInset()
14920 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14922 * paragraph_pimpl.h:
14923 * paragraph_pimpl.C: cleanup
14925 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14927 * text2.C (removeRow):
14928 * text.C (setHeightOfRow): remove useless (and costly) call to
14931 2001-11-20 Allan Rae <rae@lyx.org>
14933 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14934 Now need Inset*::checkInsertChar() to return true for appropriate
14935 cases so that the characters in the minibuffer will actually be
14938 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14940 * text.C: change the order of the includes.
14941 (workWidth): initialize it at once.
14942 (workWidth): make maxw unsigned
14943 (setHeightOfRow): remove unused variable (inset)
14944 (selectSelectedWord): remove unused variable (inset)
14945 (paintRowText): fix drawing of hfill characters, and clean up a bit.
14947 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14949 * lyxserver.C (emergencyCleanup): do not try to close pipes if
14950 server is not running.
14952 (closeConnection): add debug info when server is disabled.
14954 * ColorHandler.C (getGCForeground): send debug message to GUI
14957 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14959 * kbmap.C (bind): modify because return conventions of
14960 kb_sequence::parse have changed.
14962 * kbsequence.C (parse): only ignore spaces and not any stupid
14963 control character. This avoids tests like s[i] <= ' ', which are
14964 guaranteed to fail with 8bit characters and signed chars.
14965 Change return code to string::npos when there have been no error
14966 (0 was a bad idea when error is at first character)
14968 2001-11-14 José Matos <jamatos@fep.up.pt>
14971 * buffer.C (simpleDocBookOnePar): removed unused argument.
14973 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14975 * text.C (selectNextWordToSpellcheck): do not test explicitely for
14976 insets which are part of a word. Paragraph::isLetter takes care of
14977 that now. Use Paragraph::isInset to identify insets.
14978 (selectSelectedWord): do not test for hyphenation break.
14980 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14981 that protected spaces are considered as spaces.
14983 * paragraph.C (isLetter): cleanup the code for ispell extras; use
14986 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
14989 * lyxserver.C: fix it. and small cleanup.
14991 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
14993 * BufferView_pimpl.C: use inline helpers
14996 * LaTeXFeatures.C: fix typos
14999 * Spacing.C: move spacing_string into class
15001 * ToolbarDefaults.C: move stuff into namespace anon
15003 * layout.h: update enum
15005 * lyxfunc.C: use better debug
15007 * minibuffer.h: fix typo
15011 * WorkArea.C: add and use Debug::WORKAREA
15015 * text2.C: code re-organisation, inline helpers
15017 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
15019 * Layout.C: replaced a few cases of std::vector.size() == 0 with
15020 std::vector.empty().
15022 2001-11-09 Allan Rae <rae@lyx.org>
15024 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
15025 '\n's after tables. Tabular and ERT inset work now makes this no
15028 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
15031 * minibuffer.C: fix crash, improve drop-down completion
15033 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
15036 * lyxserver.C: invalidate fd's when doing endPipe()
15038 2001-11-08 José Matos <jamatos@fep.up.pt>
15040 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
15041 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
15044 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
15046 2001-11-07 José Matos <jamatos@fep.up.pt>
15049 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
15052 * buffer.C (sgmlOpenTag):
15053 * buffer.C (sgmlCloseTag): removed debug info.
15055 * buffer.h (sgmlOpenTag):
15056 * buffer.h (sgmlCloseTag): made public.
15058 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15060 * buffer.C (saveParamsAsDefaults):
15061 * lyx_cb.C (MenuLayoutSave): remove
15063 * LyXAction.C (init):
15065 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
15067 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15069 * buffer.C (setPaperStuff): removed from here...
15071 * bufferparams.C (setPaperStuff): ... and moved there.
15073 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
15077 * XFormsView.C: add support for drop-down completion
15079 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
15081 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
15084 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15086 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
15089 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
15091 * lyx_main.C: change ref to known bugs
15093 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
15095 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
15096 to work around older babel problems.
15098 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
15100 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
15102 2001-10-24 Juergen Vigna <jug@sad.it>
15104 * tabular-old.C (ReadOld): below variable changes reflected.
15106 * tabular.[Ch]: added ltType struct for longtable header/footer
15107 defines and changed all instances where they are used. Added
15108 future support for double top/bottom rows.
15110 2001-10-24 José Matos <jamatos@fep.up.pt>
15112 * buffer.h (docbookHandleCaption):
15113 * buffer.C (docbookHandleCaption): removed unused function.
15114 (makeDocBookFile): moved docbook supported version to v4.1.
15116 2001-10-24 José Matos <jamatos@fep.up.pt>
15119 * tabular.C (docbookRow): new function to export docbook code of a row.
15120 (DocBook): now honors the longtable flags.
15122 2001-10-23 José Matos <jamatos@fep.up.pt>
15125 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
15126 of the lyx defined sgml entities used in a docbook/linuxdoc document.
15128 * buffer.C (makeLinuxDocFile):
15129 (makeDocBookFile): reworked the preamble, more clean, and with
15130 support for lyx defined entities. Changed the document declaration
15131 to be more XML friendly.
15133 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
15134 if we need to output XML that should be done with a filter.
15136 2001-10-22 Juergen Vigna <jug@sad.it>
15138 * sp_pspell.h (class PSpell): add alive function needed in the
15139 controller to see if the spellchecker could be started.
15141 2001-10-22 Juergen Vigna <jug@sad.it>
15143 * buffer.C (insertStringAsLines): modify the font for inserting
15144 chars in certain conditions by calling checkInsertChar(font).
15146 2001-10-19 Juergen Vigna <jug@sad.it>
15148 * text.C (workWidth): use getRow instead of wrong algorithm.
15149 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
15151 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
15156 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
15158 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15160 * text.C (workWidth): do not search for the exact row when
15161 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
15162 optimization for big documents.
15164 2001-10-18 Juergen Vigna <jug@sad.it>
15166 * text.C (workWidth): new function with added Inset * parameter.
15168 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15170 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
15172 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
15173 change return type of getColumnNearX.
15176 * text.C (changeRegionCase): use uppercase/lowercase instead of
15179 (rightMargin): simplify code by factoring out the uses of
15184 (appendParagraph): use Paragraph::size_type
15186 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15188 * vspace.C (asLatexString): add a missing break
15190 2001-10-15 Herbert Voss <voss@perce.de>
15192 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
15194 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15196 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
15199 2001-10-10 André Pönitz <poenitz@gmx.net>
15201 * lyxfunc.C: removed greek_kb_flag.
15203 2001-10-10 Herbert Voss <voss@perce.de>
15205 * lyx_main.C: delete global string help_lyxdir.
15207 2001-10-09 Herbert Voss <voss@perce.de>
15209 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
15211 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
15213 * lyx_main.C: added global string help_lyxdir.
15215 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
15217 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
15219 * lyxrc.C (set_font_norm_type): support iso8859-4
15221 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
15223 * LaTeX.C (deplog): add another regex for MikTeX
15225 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
15227 * lyxrc.C (set_font_norm_type): support iso8859-3
15229 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15231 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
15233 * LaTeXFeatures.C: remove special case of french and index
15235 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
15236 before \begin{document}). This solves several incompatibilities.
15238 2001-10-03 Garst Reese <reese@isn.net>
15240 * lyx_cb.C: change CheckTex error msg.
15242 2001-10-03 José Matos <jamatos@fep.up.pt>
15244 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
15246 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15248 * .cvsignore: update
15250 * lyx_main.C (commandLineVersionInfo): use new style version info.
15252 * buffer.C (writeFile):
15254 (makeLinuxDocFile):
15255 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
15257 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
15259 * version.h: update to use stuff in version.C
15261 * version.C.in: new file. Contains version information determined
15262 at compile time. This is a merging of version.h and
15265 2001-10-03 Juergen Vigna <jug@sad.it>
15267 * BufferView_pimpl.C (update): don't change "dirty" status in
15270 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
15272 * WorkArea.C (c-tor): re-position version string slightly.
15274 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
15276 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15277 revert to previous code.
15279 WorkArea.[Ch]: (show, destroySplash): methods removed.
15281 WorkArea.C: rework code so that it's an amalgam of the codes before and
15282 after the splash screen was moved to WorkArea.
15284 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15287 * vspace.C (inPixels):
15290 * buffer.C (insertStringAsLines):
15291 (asciiParagraph): fix types to be large enough
15293 * lyxlex_pimpl.h: change member status from short to int
15295 * layout.h: fix type of endlabeltype
15298 * kbsequence.C (parse): change return type to string::size_type
15300 * LaTeX.C (updateBibtexDependencies): comment out unneeded
15303 * Bullet.C (bulletSize):
15304 (bulletEntry): do not use short ints as parameters
15306 * BufferView2.C (insertLyXFile): change a char to an int.
15308 * WorkArea.C (WorkArea): remove unneeded floats in computation
15310 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
15312 * buffer.C (asciiParagraph): Treat '\\' as other chars.
15314 * paragraph.C (asString): Do not ignore newline/hfill chars when
15315 copying to the clipboard.
15317 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
15319 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15320 after a multi-line inset.
15322 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
15324 * paragraph.C (validate): Set NeedLyXFootnoteCode
15326 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
15328 * lyxfont.C (LyXSizeNames): changed increase-error to increase
15329 and decrease-error to decrease.
15331 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15333 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15334 it more readable (should be equivalent)
15336 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
15338 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15340 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15342 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15343 of a cursor (row, etc.) after a character has been deleted
15344 (deleteEmptyParagraphMechanism): call the method above on _all_
15345 cursors held by the LyXText when a double space has been
15348 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
15350 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15352 (resizeCurrentBuff): remove code to destroy the old splash dialog.
15354 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15355 background. Use greyOut() and the new show() methods to toggle between
15356 the foreground and background. Add code to remove the splash after
15357 its initial showing.
15359 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15360 (create_forms): no longer call Dialogs::showSplash.
15362 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15364 * .cvsignore: add version_info.h
15366 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15368 * version_info.h.in: new file
15370 * Makefile.am: add version_info.h.in
15372 * lyx_main.C (commandLineVersionInfo): use version_info defined in
15373 version_info.h instead of VERSION_INFO
15375 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
15377 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15378 The ERT inset now returns string().
15380 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
15382 * lyxtext.h, text.C (selectNextWord): renamed as
15383 selectNextWordToSpellcheck.
15385 * text.C (selectNextWordToSpellcheck): Modified to not select
15386 words inside an ERT inset.
15388 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15390 * lyx_cb.C (MenuLayoutSave): change a bit the question
15392 * sp_base.h: include <sys/types.h>
15394 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
15396 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15398 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
15400 * several files: fix typos in user-visible strings
15402 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15404 * text2.C (pasteSelection): do not set the selection, since it
15405 will be cleared later. Actually, the intent was to fix the way the
15406 selection was set, but I figured rmoving the code was just as good.
15408 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
15410 * FontLoader.C (available): Check if font is available without
15413 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
15415 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15417 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
15419 * lyxrc.[Ch]: added display_graphics variable and associated code.
15421 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15423 * bufferparams.C (hasClassDefaults): new method. Returns true if
15424 the buffer parameters correspond to known class defaults
15426 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
15428 * XFormsView.C (show): set minimum size to the main window.
15430 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15432 * text2.C (copySelection):
15434 * lyxfind.C (LyXReplace):
15435 * BufferView_pimpl.C (Dispatch): pass the correct flag to
15436 LyXText::selectionAsString.
15438 * paragraph.C (asString): add "label" argument to the second form
15440 * text2.C (selectionAsString): add "label" argument and pass it to
15441 Paragraph::asString.
15443 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15445 * lyx_main.C (commandLineHelp): remove version information
15447 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
15449 * lyx_main.C: add -version commandline option
15451 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15453 * paragraph.h: make the optional constructor arg required instead.
15454 some modifications to other files because of this.
15456 * minibuffer.C (C_MiniBuffer_peek_event): make it static
15458 * lyxserver.C (C_LyXComm_callback): make it static
15460 * lyx_main.C (error_handler): make it static
15462 * lyx_gui.C (LyX_XErrHandler): make it static
15464 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15466 * WorkArea.C: make the extern "C" methods static.
15468 * Makefile.am (lyx_LDADD): simplify
15470 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15472 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15473 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15475 * LyXAction.C (init):
15476 * lyxfunc.C (dispatch): associated code removal.
15478 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15480 * lyxfont.h (isSymbolFont): shut off warning
15482 * text.C (setHeightOfRow):
15483 (getVisibleRow): fix crash with empty paragraphs which have a
15486 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
15488 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15491 2001-09-04 José Matos <jamatos@fep.up.pt>
15494 * tabular.C (docbook): rename docBook method to docbook.
15496 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15498 * Makefile.am: add dependencies to main.o.
15500 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
15502 * FontLoader.C (available): Return false if !lyxrc.use_gui
15504 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
15506 * FontInfo.C (query):
15507 * converter.C (view):
15508 * importer.C (Import):
15509 * exporter.C (Export): Can not -> cannot.
15511 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
15513 * BufferView_pimpl.C: allow to create index inset even if
15516 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15518 * buffer.C (getLists): replace boost::tie code with an explicit pair
15519 as boost::tie can break some compilers.
15521 * iterators.h: Added a std:: declaration to the return type of
15524 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
15526 * lyxrc.C: add help for view_dvi_paper_option, default to safe
15529 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
15531 * iterators.[Ch]: New files. Provide paragraph iterators.
15533 * buffer.C (changeLanguage): Use paragraph iterators.
15534 (isMultiLingual): ditto
15536 * BufferView2.C (ChangeInsets): Use paragraph iterators.
15538 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
15540 * FontLoader.C: Support for cmr font.
15542 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
15544 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15545 (available): New method.
15547 * FontInfo.C (getFontname): Use scalable fonts even when
15548 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15551 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15553 * converter.C (Formats::view): reverted! Incorrect fix.
15555 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15557 * converter.C (Formats::view): only output the -paper option
15558 if the dvi viewer is xdvi, thereby fixing bug #233429.
15560 2001-08-23 Herbert Voss <voss@perce>
15562 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15564 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
15566 * Spacing.h (Spacing): Set space to Default on in the default
15569 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
15571 * vc-backend.h (RCS::versionString): add RCS to version
15572 (CVS::versionString): add CVS to version
15574 * vc-backend.C (scanMaster): do not add CVS to version.
15575 (scanMaster): do not add RCS to version
15577 * lyxvc.C (versionString): new method
15579 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15581 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15583 * Spacing.C (set): initialize fval
15585 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
15587 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15590 2001-08-16 Juergen Vigna <jug@sad.it>
15592 * lyxfunc.C (dispatch): implemented the new FINISHED states.
15594 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15596 * BufferView_pimpl.C:
15599 * text2.C: setParagraph takes linespacing now
15601 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
15603 * LyxAction.C: add internal LFUN_CITATION_INSERT
15605 * LyXView.C: actually apply fix
15607 * bufferlist.C: fix open non-existent file
15609 * lyxfind.C: fix indentation
15611 * lyxfunc.C: remove unneeded assert, fix typo
15613 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15615 * MenuBackend.C: use "Floatname List"
15617 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
15619 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15620 when converting LaTeX layout to insetERT.
15621 Generate a non-collapsed float when reading old float
15623 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15625 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15628 2001-08-13 Juergen Vigna <jug@sad.it>
15630 * text.C (fill): return 0 instead of 20 as this seems to be the more
15633 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15635 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15638 2001-08-13 Juergen Vigna <jug@sad.it>
15640 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15642 (SearchBackward): comment out the unlocking of the inset_owner this
15643 should not be needed!
15645 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
15647 * Many files: Remove inherit_language, and add latex_language
15649 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15650 collapsible insets.
15652 2001-08-10 Juergen Vigna <jug@sad.it>
15654 * text.C (prepareToPrint): fixed hfill-width in draw!
15656 * BufferView2.C (selectLastWord): save the selection cursor as this
15657 now is cleared in the function LyXText::clearSelection!
15659 2001-08-08 Juergen Vigna <jug@sad.it>
15661 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15662 BACKSPACE type functions.
15664 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15665 is only cutted from the document but not put in the cut-buffer, where
15666 still the old stuff should be.
15668 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15670 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15672 * tabular.C (SetWidthOfCell): fixed special case where the width
15674 (LeftLine): handle '|' in align_special.
15676 (LeftAlreadyDrawed): ditto
15677 (SetWidthOfCell): ditto
15679 2001-08-07 Juergen Vigna <jug@sad.it>
15681 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15683 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15685 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15686 * lyxlex.[hC]: ditto
15688 2001-08-06 Juergen Vigna <jug@sad.it>
15690 * text.C (getVisibleRow): fix up row clearing a bit.
15692 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15694 * minibuffer.C: make sure the X server sees the changes in the input.
15696 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15698 * paragraph.C (getFont): split into...
15699 (getLabelFont): this
15700 (getLayoutFont): and this
15701 * paragraph_pimpl.C (realizeFont): calling this
15703 * text2.C (getFont): split into...
15704 (getLayoutFont): this
15705 (getLabelFont): and this
15706 (realizeFont): all three calling this
15708 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15711 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15713 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15715 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
15717 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15718 layouts from the Quote inset insertion.
15720 2001-08-03 Juergen Vigna <jug@sad.it>
15722 * BufferView_pimpl.C (update): do the fitCursor only at the end!
15724 * screen.C (drawFromTo): don't call fitcursor here and do the loop
15725 only if status not is already CHANGED_IN_DRAW (second level).
15727 * text.C (draw): don't set the need_break_row when inside an
15730 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
15732 * buffer.C (parseSingleLyXformat2Token): handle more latex
15735 * bufferview_funcs.[hC]: change function names to
15736 begin with small char, adjust other files.
15738 2001-08-02 André Pönitz <poenitz@gmx.net>
15741 BufferView_pimpl.C: remove broken special code for math-greek
15743 2001-08-02 Juergen Vigna <jug@sad.it>
15745 * BufferView_pimpl.C (update): redone this function so that we
15746 update the text again if there was a CHANGE_IN_DRAW.
15748 * screen.C (cursorToggle): removed LyXText parameter and recoded.
15749 (drawFromTo): added a new internal bool which is used by draw() and
15751 (general): some cursor drawing problems fixed.
15753 2001-08-01 Juergen Vigna <jug@sad.it>
15755 * lyxfind.C (LyXFind): fixed
15756 (SearchForward): ditto
15757 (SearchBackward): ditto
15759 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15760 spurius drawing of the cursor in the main area.
15762 * text2.C (status): small fix which could lead to a segfault!
15763 (clearSelection): remove unneeded BufferView param.
15765 2001-08-01 André Pönitz <poenitz@gmx.net>
15767 * lyxfunc.C: small change due to changed mathed interface
15769 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15771 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15773 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
15775 * lyxfunc.c: fail gracefully if file doesn't exist
15780 * BufferView_pimpl.C: IsDirWriteable() proto changed
15782 * LyXView.C: fix updateWindowTitle() to store the last title
15784 2001-07-31 Juergen Vigna <jug@sad.it>
15786 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15787 the font (wrong since using of Paragraph::highestFontInRange).
15789 * paragraph.C (highestFontInRange): added a default_size parameter.
15791 * text.C (getVisibleRow): minor clear row changes (still not perfect).
15792 (setHeightOfRow): reformat
15794 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15796 * converter.[hC] + affected files: move to (inital-char)lowercase
15799 * ParagraphParameters.C (ParagraphParameters): remove commented code
15801 * PainterBase.[Ch]: remove commented code
15803 * LaTeXFeatures.h: add "bool floats" for float.sty
15805 * LaTeXFeatures.C (LaTeXFeatures): init floats
15806 (require): handle float
15807 (getPackages): do it with floats
15809 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15811 * BufferView_pimpl.C (Dispatch): improve handling of
15812 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15814 * commandtags.h: #include lyxfont.h here temporarily to avoid
15817 * bufferlist.h: include LString.h here.
15819 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15821 * text2.C (getStringToIndex): new method.
15823 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
15825 * *: Reduced header file dependencies all over.
15827 2001-07-30 Baruch Even <baruch@lyx.org>
15829 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15831 2001-07-29 Baruch Even <baruch@lyx.org>
15833 * buffer.C (readInset): Changed GRAPHICS to Graphics.
15835 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15837 * ParameterStruct.h (endif): add a default constructor to make
15838 sure that all variables is initialized.
15840 * ParagraphParameters.C (ParagraphParameters): adjust
15842 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15844 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15845 index; also, check that there is something to index, and that it
15846 does not span over several paragraphs.
15847 (doubleClick): use WHOLE_WORD_STRICT for double click.
15849 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15851 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15854 2001-07-26 Baruch Even <baruch@lyx.org>
15856 * buffer.C (readInset): Changed to call up InsetGraphics when reading
15857 an InsetFig figure, backwards compatible reading of old figure code.
15859 2001-07-27 Juergen Vigna <jug@sad.it>
15861 * text2.C: font.realize function adaption.
15863 * text.C (draw): add a warnings lyxerr text if needed.
15865 * layout.C: font.realize function adaption.
15867 * language.C: add inherit_language and implement it's handlings
15869 * bufferview_funcs.C (StyleReset): remove language parameter from
15870 font creation (should be language_inherit now).
15872 * bufferparams.C (writeFile): handle ignore_language.
15874 * paragraph.C (getFontSettings): the language has to be resolved
15875 otherwise we have problems in LyXFont!
15877 * lyxfont.C (lyxWriteChanges): added document_language parameter
15878 (update): removed unneeded language parameter
15880 * paragraph.C (validate): fixed wrong output of color-package when
15881 using interface colors for certain fonts in certain environments,
15882 which should not seen as that on the final output.
15884 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
15886 * BufferView_pimpl.C:
15891 * LyXAction.C: add thesaurus support
15894 * lyxfind.C: add "once" parameter, for thesaurus, to not
15895 move to the next match
15897 2001-07-26 Juergen Vigna <jug@sad.it>
15899 * lyxfont.C (realize): honor ignore_language too!
15902 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15904 * text.C (draw): one place more for ignore_language to not draw
15907 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
15909 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15911 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15913 * buffer.C (parseSingleLyXformat2Token): a more general fix for
15914 the minipage conversion problem.
15916 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15918 * buffer.C (parseSingleLyXformat2Token): check minipage if we
15921 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15923 * BufferView.h: don't forward declare WorkArea
15925 * BufferView.C: don't include WorkArea.h
15927 2001-07-25 André Pönitz <poenitz@gmx.net>
15931 * lyxfunc.C: new LFUN 'math-space'
15933 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15935 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15937 * text2.C (toggleInset): call open/close
15939 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15941 * lyxfunc.C (dispatch): add debug for the disabled case
15943 * font.C (buttonText): make similar to rectText
15945 * buffer.C (readInset): comment out parsing of insetlist and
15948 * PainterBase.C (rectText): small correction
15950 * BufferView_pimpl.C: comment out insettheorem and insetlist
15951 * LyXAction.C: ditto
15952 * commandtags.h: ditto
15954 2001-07-24 Juergen Vigna <jug@sad.it>
15956 * text.C (draw): honor the ignore_language.
15958 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15960 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15962 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15965 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15967 * lyxtext.h: remove unused (and unimplemented) methods
15969 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15971 * text.C (getVisibleRow): honor background color
15974 * Painter.h: remove default color argument for fillRectangle
15976 * text.C (backgroundColor): new method
15978 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15980 * text.C (getVisibleRow): adjust
15982 * font.[Ch] (rectText): new method, metrics
15983 (buttonText): new method, metrics
15985 * PainterBase.[hC]: make rectText and buttonText always draw and take
15988 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15990 * ToolbarDefaults.C (read):
15991 * MenuBackend.C (read): allow escaping in all strings
15993 * BufferView_pimpl.C (insertAndEditInset): new method.
15994 (Dispatch): use insertAndEditInset whenever appropriate.
15996 * BufferView_pimpl.C (insertNote): removed
15998 * BufferView_pimpl.C (smartQuote): new method, moved from
15999 BufferView; if an insetquote cannot be inserted, insert a '"'
16002 * BufferView2.C: remove insertCorrectQuote();
16004 * lyxfunc.C (getStatus): Add support for all remaingin
16005 inset-insert lfuns.
16007 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
16009 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
16010 command (necessary to pass " as parameter of self-insert.
16012 * text.C (selectWordWhenUnderCursor):
16013 (selectWord): add word_location parameter
16014 (selectWordWhenUnderCursor): same + remove special code for word
16016 (selectNextWord): use kind() to guess type of insetspecialchar,
16019 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
16020 (insertErtContents): create ert insets as collapsed.
16021 (readInset): better compatibility code for Info inset.
16023 2001-07-20 Juergen Vigna <jug@sad.it>
16025 * lyxfunc.C (dispatch): use always LyXFind now!
16027 * text2.C (init): add a reinit flag so that the LyXText can be
16028 reinited instead of deleted and reallocated (used in InsetText).
16030 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
16036 2001-07-18 Juergen Vigna <jug@sad.it>
16038 * text.C (selectNextWord): handle insets inside inset by calling
16039 always the bv->text functions so that we can go up the_locking_inset!
16041 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
16042 in strange locations when inside an inset!
16044 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
16045 handling to include insets.
16047 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
16049 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16051 * LyXAction.C (init):
16053 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
16054 LIGATURE_BREAK, since the name is so stupid.
16056 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
16058 * buffer.C (readInset): enable reading of new InsetNotes as well as old
16061 * FontLoader.C: remove FORMS_H_LOCATION cruft.
16063 * sp_form.[Ch]: remove.
16065 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
16067 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
16070 * src/buffer.C (readInset): ditto.
16072 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16074 * BufferView_pimpl.C (specialChar): new method. Obsoletes
16075 menuSeparator(), endOfSentenceDot(), ldots() and
16076 hyphenationPoint(), which are therefore removed.
16077 (Dispatch): handle LFUN_HYPHENATION_BREAK.
16079 * LyXAction.C (init):
16080 * commandtags.h: add LFUN_HYPHENATION_BREAK.
16082 * paragraph.C (getWord): removed.
16084 * BufferView_pimpl.C (Dispatch): use last word or selection for
16085 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
16087 * lyx_main.C (queryUserLyXDir): do not ask before creating
16088 user_dir, except if it has been named explicitely.
16090 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
16092 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
16093 a document of zero size.
16095 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
16097 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
16098 approriately in the c-tor and in require().
16099 (getPackages): output the appropriate LaTeX for natbib support.
16101 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
16102 variables "use_natbib" and "use_numerical_citations" when reading the
16104 (readInset): read the various natbib cite commands.
16105 (validate): white-space change.
16107 * bufferparams.[Ch]: new variables "bool use_natbib" and
16108 "bool use_numerical_citations".
16109 (writeFile): output them in the LyX file.
16111 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16113 * lyxfunc.C (getStatus): add support for all the inset insertion
16116 * text2.C (insertInset):
16117 * paragraph.C (insetAllowed):
16118 * BufferView_pimpl.C (insertInset): update to take in account the
16119 renaming of insertInsetAllowed
16121 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
16123 * text2.C (getInset): new method. returns inset at cursor position.
16125 * BufferView_pimpl.C (Dispatch): changes because of this.
16127 * LyXAction.C (init): rename open-stuff to inset-toggle.
16129 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
16131 * text2.C (toggleInset): renamed from openStuff; use
16134 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
16136 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
16138 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
16140 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
16142 * buffer.C (readLyXformat2): Add filename to the error dialog
16144 2001-07-18 Juergen Vigna <jug@sad.it>
16146 * tabular.C (GetCellNumber): put an assert here instead of the check!
16148 2001-07-17 Juergen Vigna <jug@sad.it>
16150 * BufferView_pimpl.C (toggleSelection): adapted too.
16152 * text.C (selectNextWord): adapted for use with insets.
16153 (selectSelectedWord): ditto
16155 2001-07-17 Juergen Vigna <jug@sad.it>
16157 * sp_spell.C (PSpell): fix initialitation order.
16159 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16161 * paragraph.C: spacing
16163 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
16165 * sp_spell.C: repair language selection for pspell
16167 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
16169 * lyxfunc.h: change more methods to begin with lower char.
16171 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
16173 * buffer.C (parseSingleLyXformat2Token): Generate error insets
16174 for unknown layouts.
16176 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
16178 * buffer.C (readLyXformat2): Generate an error dialog if there are
16181 2001-07-16 Juergen Vigna <jug@sad.it>
16183 * sp_spell.C: always compile ISpell part.
16185 * lyxrc.C: added use_pspell entry and it's handling.
16187 2001-07-13 Juergen Vigna <jug@sad.it>
16189 * sp_spell.C: removed double includes.
16191 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
16193 Consistent use of Lsstream.h:
16194 * Lsstream.h: added using std::stringstream for consistencies sake.
16196 * buffer.C: removed using std::stringstream
16198 * lyxfont.C (stateText):
16199 * paragraph.C (asString):
16200 * text.C (selectNextWord, selectSelectedWord):
16201 * text2.C (setCounter):
16202 * vspace.C (asString, asLatexString):
16203 std::ostringstream -> ostringstream.
16205 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
16207 * LyXAction.C: add LFUN_HELP_ABOUTLYX
16208 * commandtags.h: add LFUN_HELP_ABOUTLYX
16209 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
16211 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
16213 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
16215 * lyx_gui_misc.C: remove spellchecker
16216 * lyxfunc.C: showSpellchecker
16218 * sp_ispell.h: added
16219 * sp_pspell.h: added
16220 * sp_spell.C: added
16221 * sp_form.[Ch]: removed
16222 * spellchecker.[Ch]: removed
16224 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
16226 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
16228 (simpleTeXSpecialChars): Simply print the input character without
16229 any special translation if pass_thru is set.
16231 * layout.h: Added bool pass_thru to layout class for being able to
16232 implement pass through of a paragraph for Literate Programming.
16234 * layout.C: add LT_PASS_THRU to LayoutTags enum.
16235 * layout.C (LyXLayout): set pass_thru to flase in constructor.
16236 * layout.C (Read): add "passthru" to list of layout tags and add
16237 code to set the pass_thru boolean when it is read.
16239 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
16241 * trans_decl.h: remove allowed from KmodInfo
16243 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
16244 remove allowed code
16247 * paragraph_pimpl.C (erase): use boost::prior
16249 * Painter.C (text): use data() instead of c_str() when length is
16251 * WorkArea.C (putClipboard): ditto
16252 * font.h (width): ditto
16254 * BufferView2.C: use it-> instead of (*it). for iterators
16256 * paragraph_pimpl.C: ditto
16257 * paragraph.C: ditto
16258 * minibuffer.C: ditto
16259 * language.C: ditto
16261 * encoding.C: ditto
16262 * counters.C: ditto
16263 * converter.C: ditto
16265 * Variables.C: ditto
16266 * TextCache.C: ditto
16267 * MenuBackend.C: ditto
16268 * LyXAction.C: ditto
16270 * FloatList.C: ditto
16271 * DepTable.C: ditto
16272 * ColorHandler.C (LyXColorHandler): ditto
16274 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16276 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16278 * text2.C (openStuff): reintroduce this method (which had been
16279 nuked in NEW_INSETS frenzy).
16281 * lyxfunc.C (Dispatch): when an action has not been handled, use
16282 its name in the error message, not its number.
16284 * paragraph.C (inInset): change method name to begin with lowercase.
16287 * text2.C: updates because of this.
16289 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16291 * ToolbarDefaults.C (add): add spaces in error message
16293 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
16295 * buffer.C (readLyXformat2): initialize the ert comp. variables.
16296 (readLyXformat2): rename return_par to first_par, use lyxlex's
16297 pushToken and remove the manual push handling.
16298 (parseSingleLyXformat2Token): add another ert comp. variable:
16299 in_tabular, rename return_par to first_par. handle newlines better
16301 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16303 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16305 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
16307 * text2.C (getParFromID): removed
16309 * buffer.C (getParFromID): new method moved form lyxtext.
16310 * BufferView2.C (insertErrors): adjust
16311 (setCursorFromRow): adjust
16312 * BufferView_pimpl.C (restorePosition): adjust
16313 * lyxfunc.C (Dispatch): adjust
16314 * undo_funcs.C (textUndo): adjust
16316 (textHandleUndo): adjust
16317 (textHandleUndo): adjust
16319 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
16321 * buffer.C: up' the LYX_FORMAT
16323 * lyxfont.h: turn NO_LATEX on as default
16325 * buffer.C (insertErtContents): new methods of tex style compability.
16326 (parseSingleLyXformat2Token): use it several places.
16327 * tabular.C (OldFormatRead): and here
16329 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
16331 * text2.C: remove some commented code.
16334 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16335 * trans.C: changes because of the above.
16337 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
16339 * text2.C (setCounter): Fix counters bug with bibliography layout.
16341 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16343 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16344 own member functions
16345 (simpleTeXSpecialChars): ditto
16347 2001-07-06 Juergen Vigna <jug@sad.it>
16349 * a lot of files: changed the access to LyXText::status and the
16350 call of undo-functions.
16352 * undo.[Ch]: added a inset_id to the undo informations.
16354 * undo_funcs.[Ch]: added and moved here all undo functions.
16356 * lyxtext.h: give the status enum a weight, made status_ a private
16357 variable and made accessor functions for it, removed the whole bunch
16358 of undo-functions as they are now in their own file, make some
16359 functions publically available. Added function ownerParagraph with
16362 * paragraph.[Ch]: added "bool same_ids" to the constructor,
16363 made InInset() a const function, added getParFromID() function.
16365 * buffer.[Ch]: added const version for inset_iterator functions,
16366 added getInsetFromID() function.
16368 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16369 changed undo functions for new version.
16371 2001-07-05 Juergen Vigna <jug@sad.it>
16373 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16374 unknow mechanism does not call the proper constructor but only this
16375 one also if I request the other!?
16377 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16379 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16381 * text2.C (LyXText): use initialization lists.
16383 * lyxtext.h (Selection): initialize set_ and mark_
16384 (init): remove method
16386 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
16388 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16390 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16392 * screen.[Ch]: change method names to begin with lowercase
16394 * BufferView_pimpl.C (updateScrollbar): simplify further and
16395 hopefully make it a bit faster.
16397 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16399 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16400 calling directly xforms functions.
16402 * Painter.C (Painter):
16403 * lyx_cb.C (MenuWrite):
16404 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16407 * lyx_gui.C: remove bogus guiruntime extern declaration.
16409 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16411 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16413 (redoDrawingOfParagraph): ditto
16414 (redoParagraphs): ditto
16415 (cutSelection): don't create a object for CutAndPaste use the
16416 static method directly
16417 (pasteSelection): ditto
16419 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16422 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16424 * modifications to some other files because of this.
16426 * Makefile.am (lyx_SOURCES): add XFormsView
16428 * XFormsView.[Ch]: new files
16430 * LyXView.[Ch]: make LyXView a base class for the gui handling for
16431 the main window. Move the gui dependent stuff to XFormsView
16433 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16435 * tabular.C (GetCellInset): update cur_cell also in the row/col
16436 version of this function.
16438 * lyxfunc.C: no need to include figure_form.h here.
16444 * lyxvc.C: no need to include forms.h here.
16446 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16448 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16450 * lyxfunc.C (Dispatch):
16452 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16453 constructor argument.
16455 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16457 * paragraph.C (Paragraph): dont't clear, and just set layout.
16458 (makeSameLayout): use params's copy contructor.
16460 * ParagraphParameters.[Ch] (makeSame): delete method
16462 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
16464 * Variables.[Ch]: fix indentation, rename set to isSet
16466 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16468 * lyxfunc.C (Dispatch): fix typo
16470 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16472 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16475 * bufferlist.C: include assert.h for emergencyWrite().
16477 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16479 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16480 give up at last (bug #425202) !
16482 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
16488 * spellchecker.C: strip spellchecker options and bring up
16489 preferences tab instead
16491 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16493 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16494 the istringstream constructor
16496 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16498 * paragraph.C (getLayout): fix return value
16500 * paragraph.h: do not declare getLayout as inline.
16502 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16504 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16506 * lyxcursor.h (operator<): new func
16507 (operator>): new func
16508 (operator>=): new func
16509 (operator<=): new func
16511 * text.C (changeCase): use selection.start and selection.end
16512 (changeRegionCase): require from to be <= to. Require par to be a
16515 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16517 2001-06-27 Juergen Vigna <jug@sad.it>
16519 * text.C (cursorLeftOneWord): changed to return the cursor and added
16520 overlay with BufferView * parameter which calls this one.
16522 (selectWord): use new getWord function.
16523 (changeCase): renamed from changeWordCase as and extended to work
16524 also on selections.
16526 * lyxtext.h: added enum word_location
16528 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16529 changeCase as this operates now also on selections.
16531 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
16533 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16535 * many files: send debug output to Debug::INFO instead of
16538 * converter.C (View):
16540 (Move): send debug output to Debug::FILES instead of console.
16542 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
16544 * lyxfunc.C (getStatus): use func_status
16546 * func_status.h: new header, describing the results of
16547 LyXFunc::getStatus;
16549 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16552 2001-06-25 The LyX Project <jug@sad.it>
16554 * buffer.C (sgmlOpenTag):
16556 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
16558 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16560 * text2.C: remove some dead code
16562 * tabular.C (GetCellInset): store the last cell checked (gotten)
16564 * tabular.h: add the helper for the speedup
16566 * lyxtext.h: remove some dead code
16568 2001-06-26 The LyX Project <Asger>
16570 * paragraph.C: Change export to LaTeX of alignment to
16571 \begin{center} and family for better roundtrip work with reLyX.
16573 * Tune the math drawing a bit.
16575 2001-06-25 The LyX Project <Asger>
16577 * LColor.C (LColor): New color for math background. New color
16580 2001-06-25 The LyX Project <jug@sad.it>
16582 * lyxfunc.C (MenuNew): remove extra check for .lyx file
16584 * lyxfunc.C (Open):
16585 * bufferlist.C (newFile): do not restrict to files ending with
16588 * BufferView_pimpl.C (MenuInsertLyXFile):
16590 2001-06-24 The LyX Project <jug@sad.it>
16592 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16595 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16597 * lyxtext.h: rename most methods to begin with a small char.
16598 Lots of changes because of this.
16600 * paragraph.C (Paragraph): do not call fitToSize
16601 (erase): call Pimpl::erase
16602 (insertChar): call Pimpl::insertChar
16603 (insertInset): call Pipl::insertInset
16604 (breakParagraph): do not call fitToSize
16605 (breakParagraphConservative): do not call fitToSize
16606 (fitToSize): remove method
16608 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16610 2001-06-24 The LyX Project <Asger>
16612 * Fix Qt compilation^2
16614 2001-06-24 The LyX Project <jug@sad.it>
16616 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16617 depthHook(getDepth()-1).
16620 * ParagraphParameters.h:
16621 * ParameterStruct.h: change type of depth to unsigned int ==
16622 depth_type. Many adaptations to other files before of that.
16624 2001-06-24 The LyX Project <Asger>
16626 * Fix Qt compilation.
16628 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16630 * paragraph.h: renamed several methods to begin with small letter.
16631 several changes to many parts of the code because of this.
16633 2001-06-23 The LyX Project <jug@sad.it>
16635 * text2.C (InsertStringAsLines): renamed from InsertStringA;
16636 rewritten to discard all double spaces when KeepEmpty is off
16637 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16638 to only handle newlines but not fiddle with spaces and friends.
16640 * lyxfunc.C (MenuNew): when doing 'new from template', use
16641 template_path as default directory
16643 2001-06-23 The LyX Project <Asger>
16645 * Clean-up of header file includes all over
16646 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16648 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16650 * paragraph.h: renamed from lyxparagraph.h
16652 2001-06-23 Asger <lyx@violet.home.sad.it>
16654 * Buffer.h: Removed Buffer::resize
16655 * BufferList.h: Removed BufferList::resize
16656 * LyXView.h: Added LyXView::resize. This way, we will only reflow
16657 the document lazily when we change the width, or the font settings.
16659 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16661 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16663 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16665 * buffer.h: remove out of date comment
16667 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16670 * screen.C: fix "theoretical" GC leak
16672 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16674 * LaTeX.C (scanAuxFile):
16675 (deplog): remove trailing \r when reading stream (useful under
16678 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
16680 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16681 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16682 and BufferView::theLockingInset(Inset*), so should use them and not
16683 access bv_->text->the_locking_inset directly.
16685 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16687 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16690 * tex-defs.h: remove old unused file
16692 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
16694 * BufferView_pimpl.C: fix typo, remove minibuffer message
16695 when buffer has loaded
16697 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
16699 * lyxfunc.C (Dispatch): use stringstream
16700 (MenuNew): use stringstream
16701 (Open): use stringstream
16703 * importer.C (Import): use stringstream
16705 * bufferview_funcs.C (CurrentState): use stringstream
16707 * LaTeX.C (run): use stringstream
16709 * BufferView_pimpl.C (savePosition): use stringstream
16710 (restorePosition): use stringstream
16711 (MenuInsertLyXFile): use stringstream
16713 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
16726 * vspace.C: removed // -*- C++ -*- as first line.
16729 * version.h: added // -*- C++ -*- as first line.
16731 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16733 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16735 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16738 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
16740 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16743 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16745 * gettext.C: include LString.h even when --disable-nls is on.
16747 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
16749 * converter.h (Get): changed argument type from int to
16750 FormatList::size_type to avoid unnecessary conversion.
16752 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16755 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16757 * gettext.h: include LString.h even when --disable-nls is on.
16759 2001-06-07 Juergen Vigna <jug@sad.it>
16761 * text.C (BreakAgain): subst spaces with tabs.
16763 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16764 (resizeInsetsLyXText): set force on resizeLyXText.
16766 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16768 * gettext.h (gettext_init):
16769 (locale_init): use a real definition instead of a macro
16771 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16773 * Bufferview_pimpl.C:
16775 * LColor.C: further lcolor tidies
16777 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
16779 * BufferView_pimpl.C (updateScrollbar): simplify.
16781 * BufferView2.C: don't include insets/insetinfo.h, change
16782 prototype for insertInset and call the Pimpl version. let
16783 updateInset call Pimpl version.
16785 * BufferView.h: move inset_slept to BufferView::Pimpl, move
16786 gotoInset to BufferView::Pimpl
16788 2001-06-01 Juergen Vigna <jug@sad.it>
16790 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16791 inside a LockingInset (is the update needed at all?).
16793 2001-05-31 Juergen Vigna <jug@sad.it>
16795 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16796 here not the old one otherwise how should we compare it afterwards
16799 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16804 * FontInfo.C: bring C functions into global namespace when
16807 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16809 * LString.h: make sure config.h has been loaded before LString.h.
16811 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16812 (one for each char read by EatLine!).
16814 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16817 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
16819 * paragraph.C (BreakParagraph): set the inset_owner in the new par
16820 to the same as the par we break from
16822 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
16824 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16826 * MenuBackend.C (expand): also create menu entries for wide
16827 versions of the floats.
16829 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16831 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16833 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16834 frontends/Makefile.am
16840 * tabular.C (getTokenValue): add std::
16842 * tabular-old.C (getTokenValue): add std::
16843 (getTokenValue): ditto
16844 (getTokenValue): ditto
16846 * screen.C (ToggleSelection): adjust
16848 * lyxtext.h: put selection cursors inside a Selection struct.
16850 * lyxfunc.C (moveCursorUpdate): adjust
16852 * lyxfont.C (latexWriteStartChanges): add std::
16854 * lyxfind.C: adjust
16856 * font.h: delete with(char const *, LyXFont const &)
16858 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16860 * FontInfo.C (getFontname): add std::
16862 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16863 (workAreaButtonPress): adjust
16864 (tripleClick): adjust
16866 (moveCursorUpdate): adjust
16869 * BufferView2.C (gotoInset): adjust
16871 2001-05-30 Juergen Vigna <jug@sad.it>
16873 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16874 to check pspell I add this as default as I now have new pspell
16875 libraries and they seem to use this.
16877 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
16879 * text2.C (CutSelection): make the cursor valid before the call to
16882 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16884 * kbsequence.C (parse): de-uglify a bit the parsing code, which
16885 relied on 0 terminated strings and other horrors. Bug found due to
16886 the new assert in lyxstring!
16888 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16891 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16893 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16896 * lyxfunc.C (processKeySym): change method of getting to the
16899 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16900 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16901 * BufferView_pimpl.[Ch]: here as private methods.
16903 2001-05-28 Juergen Vigna <jug@sad.it>
16905 * text.C (SetHeightOfRow): added the update() call again as it is
16906 needed to initialize inset dimensions!
16908 2001-05-16 Juergen Vigna <jug@sad.it>
16910 * text2.C (SetCharFont): Add new function with BufferView * and
16911 bool toggleall parameters for setting insets internal fonts.
16912 (SetFont): Freeze the undo as we may change fonts in Insets and
16913 all this change should be inside only one Undo!
16915 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16916 setting font's in insets as for them we have the SetFont function!
16918 2001-05-15 Juergen Vigna <jug@sad.it>
16920 * text2.C (ClearSelection): to be sure we REALLY don't have any
16923 * tabular.C (TeXCellPreamble): fixed the left border problem for
16926 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
16928 * LaTeX.C (deplog): Make sure that the main .tex file is in the
16931 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16933 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16934 LFUN_BREAKPARAGRAPH.
16936 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16937 help test to "internal only", similar for LFUN_INSERT_URL
16939 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16940 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16941 auto_region_delete and deadkeys.
16943 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
16946 * LColor.C: remove some dead entries, tidy a little
16948 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
16950 * lyxfunc.C (processKeySym): comment the Escape handling, remove
16952 (Dispatch): implement LFUN_ESCAPE
16954 * commandtags.h: add LFUN_ESCAPE
16956 * LyXAction.C (init): add entry for LFUN_ESCAPE
16958 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16959 Remove commented code.
16960 (insertNote): moved here
16961 (open_new_inset): moved here
16963 * BufferView[2].[Ch]: move insertNote and open_new_inset to
16966 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16968 * kbmap.C (findbinding): clean it up and make it work correctly.
16970 * lyx_main.C (init): do not pass argc and argv as parameters
16972 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
16974 * buffer.C: fix path for OS/2 & Win32
16978 * lyx_main.C: Added os:: class.
16980 * os2_defines.h: update
16982 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16984 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16985 better by trying again with reduced state.
16987 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16989 * lyxrc.C (read): print error about invalid key sequence only when
16990 debugging (because not all latinX keysyms are known to some X
16993 * kbsequence.C (getiso): add a few std:: qualifiers
16994 (getiso): comment out extra return statement.
16996 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
16998 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
17000 (Dispatch): enhance the accent inset a bit. (not perfect)
17002 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
17004 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
17006 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17008 * bufferlist.C (emergencyWrite): fix assert() call
17010 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
17012 * text.C (InsertChar): Added trivial patch to only send the "you
17013 can not do multiple spaces this way" message once during a
17016 2001-05-08 Baruch Even <baruch@lyx.org>
17018 * Makefile.am: Changed order of libraries to get LyX to link properly
17019 with the gnome frontend.
17021 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17023 * LaTeXFeatures.h: add a std:: qualifier
17025 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
17027 * paragraph.C (String): use stringstream
17029 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
17031 * paragraph.C (writeFile): remove footflag arg
17033 * buffer.C (makeLaTeXFile): use stringstream
17034 (latexParagraphs): remove footnot gurba
17036 * LaTeXFeatures.C (getPackages): use stringstream
17037 (getMacros): likewise
17038 (getTClassPreamble): likewise
17039 (getFloatDefinitions): new method
17041 * paragraph.C (writeFile): reindent
17044 * WorkArea.h: revert the xpos + etc changes.
17046 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
17048 * lyxparagraph.[Ch]: add copy constructor, remove Clone
17050 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
17051 (pasteSelection): likewise
17052 * text2.C (CreateUndo): likewise
17054 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
17056 * minibuffer.C (peek_event): temporarily reduce the functionality
17057 of the minibuffer (to allow args on lfuns)
17059 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
17060 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
17062 * buffer.C (readInset): add compability reading of old float
17063 lists, add reading of new style float list.
17064 (readInset): avoid reevaluation of inscmd.getCmdName()
17065 (getLists): reindent
17067 * MenuBackend.C (MenuItem): implement parsing of
17068 md_floatlistinsert and md_floatinsert.
17069 (expand::LastFiles): move initalizaton of iterators out of loop,
17070 avoid reevaluation.
17071 (expand::Documents): introduce typdedef vector<string> Strings,
17073 (expand::ExportFormats): introduce typedef vector<Format const *>
17074 Formats, and use it.
17075 (expand): implement FloatListInsert and FloatInsert.
17077 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
17078 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
17079 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
17081 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
17083 (Dispatch::LFUN_FLOAT_LIST): implement
17085 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
17087 * LaTeX.C (run): Fix problem with --export code.
17089 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
17091 * BufferView.[Ch] (workarea): removed.
17092 (getClipboard) new method; wrapper for workarea()->getClipboard()
17094 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
17097 * WorkArea.h (width, height, xpos, ypos): These methods all
17098 returned the dimensions of the work_area sub-area of WorkArea,
17099 resulting in a position error if the WorkArea were resized. Now
17100 return the dimensions of the entire WorkArea.
17102 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
17104 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17106 * LaTeX.C (deplog): correct the syntax of regex reg1
17108 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
17110 * undo.C: remove !NEW_INSETS cruft
17112 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
17114 * text2.C: remove !NEW_INSETS cruft
17116 * text.C: remove !NEW_INSETS cruft
17118 * tabular.C: remove !NEW_INSETS cruft
17120 * spellchecker.C: remove !NEW_INSETS cruft
17122 * lyxtext.h: remove !NEW_INSETS cruft
17124 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
17126 * lyxfunc.C: remove !NEW_INSETS cruft
17128 * lyxfind.C: remove !NEW_INSETS cruft
17130 * lyx_cb.C: remove !NEW_INSETS cruft
17132 * figureForm.C: remove !NEW_INSETS cruft
17134 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
17136 * buffer.[Ch]: remove !NEW_INSETS cruft
17138 * ToolbarDefaults.C: remove !NEW_INSETS cruft
17140 * CutAndPaste.C: remove !NEW_INSETS cruft
17142 * BufferView_pimpl.C: remove !NEW_INSETS cruft
17144 * BufferView2.C: remove !NEW_INSETS cruft
17146 * BufferView.h: remove !NEW_INSETS cruft
17148 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17150 * Lsstream.h: include LString.h before the sstream headers to
17151 fix problem with gcc 2.95.3 and lyxstring
17153 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17155 * lyx_main.C: add using directives when needed for C functions
17156 declared in std:: namespace.
17158 2001-04-27 Juergen Vigna <jug@sad.it>
17160 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
17161 (SetHeightOfRow): comment out the update call should not be needed!
17163 2001-04-13 Juergen Vigna <jug@sad.it>
17165 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
17166 (LyXTabular): tried to minimize operator= operations (and realized
17167 hopfully Lars wish).
17169 2001-04-27 Juergen Vigna <jug@sad.it>
17171 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
17173 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
17175 * lyxfunc.C (Dispatch): hack to make listof algorithm work
17177 * buffer.C (readInset): hack to make listof algorithm work
17179 * BufferView_pimpl.C: hack to make listof algorithm work
17181 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
17183 * LyXAction.C: removed all !NEW_INSETS cruft
17184 (init): moved lfun_item in method
17186 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
17188 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
17190 * BufferView2.C (theLockingInset): white space.
17192 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
17194 * minibuffer.C: include <iostream>
17196 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
17198 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
17200 * commandtags.h: add LFUN_TRANSPOSE_CHARS
17202 * text.[Ch] (TransposeChars): new method
17204 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
17206 * call message directly through LyXView instead of through LyXFunc
17207 * BufferView2.C: adjust
17208 * BufferView_pimpl.C: adjust
17209 * FontLoader.C: adjust
17211 * bufferview_funcs.C: adjust
17212 * converter.C: adjust
17213 * figureForm.C: adjust
17214 * importer.C: adjust
17216 * lyx_gui_misc.C: adjust
17217 * lyxfunc.C: adjust
17220 + more files in subdirs
17222 * lyxparagraph.h (size): move up int file
17225 * adjust all uses of Assert to lyx::Assert.
17227 * BufferView2.C (ChangeCitationsIfUnique): adjust for
17228 lyxfunctional in namespace lyx
17229 * layout.C (hasLayout): ditto
17232 (delete_layout): ditto
17233 (NumberOfClass): ditto
17234 * converter.C (GetFormat): ditto
17239 * bufferlist.C (getFileNames): ditto
17240 (emergencyWriteAll): ditto
17243 * MenuBackend.C (hasSubmenu): ditto
17246 * BufferView_pimpl.C (getInsetByCode): ditto
17248 2001-04-18 Juergen Vigna <jug@sad.it>
17250 * vspace.C (asLatexString): fixed the 100% problem.
17252 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17254 * lyxfunc.C (Dispatch):
17256 * minibuffer.h: add a few std:: qualifiers
17258 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
17260 * minibuffer.[Ch]: reimplement so that commands is initiated and
17261 run from lyxfunc, simplified som handling, and made the completion
17262 and history code for complete. wip.
17264 * lyxfunc.C (processKeySym): call message
17265 (miniDispatch): new temporary method
17266 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
17267 (LFUN_MESSAGE): implement
17268 (LFUN_MESSAGE_PUSH): implement
17269 (LFUN_MESSAGE_POP): implement
17270 (initMiniBuffer): the initial/defualt minibuffer message.
17272 * lyxfont.[Ch]: inline some more getters
17274 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17276 * lyx_gui_misc.[Ch] (WriteStatus): remove method
17278 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17279 (AutoSave): use LFUN_MESSAGE
17280 (Reconfigure): ditto
17282 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17284 * figureForm.C: use LFUN_MESSAGE
17286 * converter.C (runLaTeX): use LFUN_MESSAGE
17288 * bufferview_funcs.C: use LFUN_MESSAGE
17290 (changeDepth): ditto
17292 * bufferparams.h: use boost::
17294 * bufferlist.h: inherit privately from noncopyable
17296 * bufferlist.C (loadLyXFile): remove some commented code.
17298 * buffer.C (runChktex): use LFUN_MESSAGE
17300 * ShareContainer.h: inherit privately from noncopyable
17302 * ParagraphParameters.[hC] (depth): inline it.
17304 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17306 (message): new method
17307 (messagePush): ditto
17308 (messagePop): ditto
17309 (show): init minibuffer
17310 (showState): direct call
17312 * LaTeX.[Ch]: inherit privately from noncopyable
17313 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17314 instead of WriteStatus.
17316 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17318 * BufferView_pimpl.C (buffer): don't init minibuffer
17319 (workAreaButtonPress): use LFUN_MESSAGE
17320 (workAreaButtonRelease): ditto
17321 (savePosition): ditto
17322 (restorePosition): ditto
17323 (MenuInsertLyXFile): ditto
17324 (workAreaExpose): don't init minibuffer
17325 (update): remove commented code, simplify
17327 * BufferView2.C (openStuff): use LFUN_MESSAGE
17328 (toggleFloat): ditto
17331 (copyEnvironment): ditto
17332 (pasteEnvironment): ditto
17337 (updateInset): remove some commented code
17339 * lastfiles.h: inherit privately from noncopyable
17342 * lyx_main.h: ditto
17344 * lyxlex_pimpl.h: ditto
17346 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17347 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17348 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17350 * LyXAction.h: inherit privately from noncopyable, add methods
17351 func_begin, func_end, returning iterators to the func map.
17353 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17354 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17355 (func_begin): new method
17356 (func_end): new method
17358 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17360 (copySelection): ditto
17361 (pasteSelection): ditto
17363 * BufferView.C: whitespace change
17364 * BufferView.h: inherit privately from noncopyable
17366 2001-04-16 Allan Rae <rae@lyx.org>
17368 * tabular-old.C (l_getline):
17369 * spellchecker.C (sc_check_word):
17370 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17371 an unrecognised preprocessor directive. So ensure they're wrapped.
17373 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
17375 * src/exporter.C (Export): Give an error message when path to file
17378 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
17380 * LaTeX.C (deplog): Always check that foundfile exists.
17382 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17385 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17387 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
17389 * tabular.[Ch] (getLabelList): implement new method
17391 * minibuffer.h: comment ouf setTiimer
17393 * minibuffer.C (ExecutingCB): constify res
17394 (peek_event): constify s
17395 (Set): constify ntext
17396 (Init): constify nicename
17398 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17400 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17401 (savePosition): use two params to Minibuffer::Set
17402 (restorePosition): ditto
17404 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17406 * lyx_main.C: include language.h
17408 * Makefile.am (lyx_main.o): add language.h
17410 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17416 * CutAndPaste.C: include gettext.h
17418 * lyxfont.h: remove old hack with ON and OFF.
17421 * lyxfont.h: do not include language.h...
17426 * bufferview_funcs.C:
17432 * paragraph.C: ... but do it here instead
17434 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
17436 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17438 * tabular.C: small reformat
17440 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17443 (BreakParagraph): ditto
17444 (SetOnlyLayout): ditto
17447 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17450 * lastfiles.C: removed most using decl, add std:: where needed
17452 * buffer.C: ws changes
17454 * MenuBackend.C (class compare_format): put into anon namespace
17455 (expand): constify label, names, action, action2
17458 * text.C (SingleWidth): constify font
17459 (IsBoundary): constify rtl2
17460 (GetVisibleRow): constify ww
17462 * LaTeX.C (deplog): constify logfile
17464 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17466 (workAreaExpose): constify widthChange, heightChange
17468 * lyxrow.C (par): moved
17471 * lyxrow.h: as inlines here
17473 * lyxfont.h (shape): moved from lyxfont.C
17474 (emph): moved from lyxfont.C
17476 * lyxfont.C (LyXFont): use initialization list for all
17478 (shape): move to lyxfont.h as inline
17479 (emph): move to lyxfont.h as inline
17482 2001-04-04 Juergen Vigna <jug@sad.it>
17484 * vspace.C: had to include stdio.h for use of sscanf
17486 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
17489 * BufferView_pimpl.h: remove xforms cruft. Both classes are
17490 independent of xforms.
17492 2001-04-02 Juergen Vigna <jug@sad.it>
17494 * spellchecker.C: fixed namespace placing!
17496 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
17498 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17499 the LyXParagraph * is 0.
17501 2001-03-29 Juergen Vigna <jug@sad.it>
17503 * vspace.C: added support for %, c%, p%, l%.
17504 (stringFromUnit): added helper function.
17505 (asLatexString): changed to give right results for the %-values.
17507 * buffer.C: convert the widthp in a width%.
17509 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
17511 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17514 * figureForm.[Ch]: stripped the FD_from_figure manipulation
17515 code out of lux_cb.[Ch], ready for its (imminent?) removal.
17517 * lyx_cb.[Ch]: see above.
17519 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17523 * lyx.[Ch]: replaced by figure_form.[Ch].
17527 * lyxfunc.C: changed headers associated with above changes.
17529 2001-03-27 Juergen Vigna <jug@sad.it>
17531 * BufferView_pimpl.C: set the temporary cursor right!
17533 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
17535 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17537 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
17539 * LString.h: removed "using std::getline"!
17541 * BufferView_pimpl.C (Dispatch): changes due to changes in
17542 InsetInclude::Params.
17544 * buffer.C (tag_name): removed redundant break statements as they were
17545 producing lots of warnings with my compiler.
17547 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17549 * LString.h: add "using std::getline" when using the real <string>.
17551 2001-03-23 Jos�Ab�io Matos <jamatos@fep.up.pt>
17553 * buffer.C: removed bitset usage.
17554 PAR_TAG moved to an anonymous name space.
17555 (tag_name): new funtion, also in the anonymous namespace.
17556 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17557 (makeDocBookFile): clean code. Completed transition from string arrays
17559 (SimpleDocBookOnePar): code clean.
17561 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17563 * tabular.C: add some comments.
17565 2001-03-22 Juergen Vigna <jug@sad.it>
17567 * buffer.C (parseSingleLyXformat2Token): redone the minipage
17568 compatibility read a bit and fixed bug with minipage in different
17571 2001-03-21 Jos�Ab�io Matos <jamatos@fep.up.pt>
17573 * buffer.C (pop_tag): removed.
17574 (push_tag): removed.
17575 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17576 array replaced with vector. Added support for CDATA sections.
17577 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17579 (makeDocBookFile): XML conformant declaration of CDATA section,
17580 fixed bug related to <emphasis> in the first paragraph char.
17581 (sgmlOpenTag): exclude empty tags.
17582 (sgmlCloseTag): ditto.
17584 * buffer.h (pop_tag): removed.
17585 (push_tag): removed.
17587 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
17589 * language.h (Languages): added size_type and size().
17591 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17593 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17594 response on compability reading of minipages. One probliem is that
17595 the old usage of minipages was flertydig
17597 * several files here and in subdirs: don't use static at file
17598 scope use anon namespaces instead.
17600 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
17602 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17603 LaTeX output. This is necessary for Literate document
17606 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17608 * buffer.C: insert hfill when needed.
17610 * tabular.C (l_getline): use string::erase, small whitespace change.
17612 * BufferView_pimpl.C: try the anon namespace.
17613 * WorkArea.C: ditto
17615 2001-03-16 Juergen Vigna <jug@sad.it>
17617 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17618 otherwise it won't open options-dialogs.
17620 * buffer.C: honor pextraWidth(p) on converting minipages.
17622 * tabular.C (l_getline): changed the functions to strip trailing \r.
17624 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
17626 * BufferView_pimpl.C:
17627 * minibuffer..C: added "using SigC::slot" declaration.
17629 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17631 * lyxlex_pimpl.h: noncopyable is in namespace boost.
17637 * paragraph.C: ditto
17639 * lyxtext.h: NO_PEXTRA
17641 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17643 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17644 * ParameterStruct.h: ditto
17645 * ParagraphParameters.h: ditto
17646 * lyxparagraph.h: ditto
17648 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17650 * buffer.C: add compability for minipage alignment.
17651 (latexParagraphs): remove unwanted pextra check.
17653 * several files: remove CXX_WORKING_NAMESPACES
17655 * buffer.C (pop_tag): tie is in namespace boost
17657 * BufferView.h: noncopyable is in namespace boost
17659 * lyx_main.h: ditto
17662 * lastfiles.h: ditto
17663 * bufferlist.h: ditto
17664 * ShareContainer.h: ditto
17666 * LyXAction.h: ditto
17669 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17671 * Merging changes from BRANCH_MVC back into HEAD.
17673 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17675 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
17677 * BufferView_pimpl.C: change from intl.C
17681 * Makefile.am: move combox.*
17687 * intl.C: remove dialog (covered by prefs)
17689 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17691 * lyxfunc.C (Dispatch): removed redundant break statement.
17693 2001-03-14 Juergen Vigna <jug@sad.it>
17695 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17697 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17699 * buffer.C: add hack to fix compability reading of minipages.
17701 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
17703 * buffer.C (getLists): Cleanup.
17705 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17707 * lyxfont.C (update): don't honor toggleall on font size.
17709 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
17713 * Makefile.am: moved to frontends/xforms/
17717 * BufferView_pimpl.C: changes for moved mathpanel
17719 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17721 * gettext.h: fix gettext_init() in --disable-nls
17723 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17725 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17727 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
17730 * lyx.h: strip external form
17732 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17734 * BufferView_pimpl.C: add comment, destroySplash()
17736 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17738 * BufferView_pimpl.C:
17742 * lyxfunc.C: use re-worked insetinclude
17744 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17746 * buffer.C: add using std::stringstream.
17748 * lyx_cb.C: readd using std::ios.
17750 * buffer.C: add using std::map.
17752 * BufferView_pimpl.C: add using std::vector.
17754 * ShareContainer.h: add std:: to swap.
17756 * buffer.h: add some typedefs
17757 * buffer.C (getLists): use them
17758 (getLists): renamed from getTocList.
17759 add a counter for the different float types and use it in the
17761 (getLists): use the same counter for the NEW_INSETS and the "non"
17764 * lyx_cb.h: remove unused items, includes, using etc.
17766 * ShareContainer.h: remove some commented code, add more comments
17767 and "documentation".
17769 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17771 * buffer.C (getTocList): make the list also when NEW_INSETS is
17774 * buffer.h: remove TocType
17776 * buffer.C (getTocList): change to return a map<string,
17777 vector<TocItem> >, implement for dynamic number of list.
17779 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17780 * text2.C (PasteSelection): adjust
17781 * CutAndPaste.C (pasteSelection): adjust
17783 * FloatList.C (FloatList): update from the new_insets branch.
17784 * Floating.[Ch]: ditto
17785 * LaTeXFeatures.C: ditto
17787 * lyxlex_pimpl.C: ditto
17789 * paragraph.C (Last): remove when NEW_INSETS is defined.
17791 * other file: changes because of the above.
17793 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17795 * lyxparagraph.h: rename next to next_, previous to previous_,
17796 make them private for NEW_INSETS. Rename Next() to next(),
17797 Previous() to previous().
17799 * other files: changes because of the above.
17801 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
17804 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17807 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17809 * main.C (main): pass lyx_localedir to gettext_init().
17811 * gettext.h: remove locale_init and gettext_init macros
17813 * gettext.C (locale_init): new function
17814 (gettext_init): new function
17816 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17819 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
17821 * Moved credits to frontends:
17822 * credits.[Ch]: removed
17823 * credits_form.[Ch]: removed
17824 * lyx_gui_misc.C: remove credits stuff
17827 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17829 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17831 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17832 unneeded destructor.
17834 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17835 a standalone pointer again.
17837 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17839 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
17845 * ToolbarDefaults.C:
17854 * BufferView_pimpl.C: use new file dialog in GUII
17857 * lyx_cb.C: remove LayoutsCB to Toolbar
17859 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17861 * ShareContainer.h (get): add std:: qualifier
17863 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17865 * ShareContainer.h: define a proper ShareContainer::value_type
17866 type (and use typename to please compaq cxx)
17868 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17870 * lyxparagraph.h: move serveral local vars to
17871 ParameterStruct/ParagraphParameters., use ShareContainer in
17872 FontTable., make vars in FontTable private and add getter and
17875 * paragraph.C: changes because of the above.
17877 * lyxfont.h: remove copy constructor and copy assignment. (the
17878 default ones is ok), move number inside FontBits. move inlines to
17881 * lyxfont.C: add number to initializaton of statics, move several
17882 inlines here. constify several local vars. some whitespace
17883 cleanup. Dont hide outerscope variables.
17885 * Spacing.h: add two new constructors to match the set methods.
17887 * ShareContainer.h: new file, will perhaps be moved to support
17889 * ParameterStruct.h: new file
17891 * ParagraphParameters.h: new file
17893 * ParagraphParameters.C: new file
17895 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17896 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17898 * BufferView_pimpl.C: ParagraphParameter changes.
17899 * buffer.C: Likewise.
17900 * bufferview_funcs.C: Likewise.
17901 * text.C: Likewise.
17902 * text2.C: Likewise.
17904 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17906 * lyxfind.C (LyXReplace): do not redefine default argument in
17908 (IsStringInText): ditto
17909 (SearchForward): ditto
17910 (SearchBackward): ditto
17912 2001-03-06 Juergen Vigna <jug@sad.it>
17914 * lyxfind.C (IsStringInText): put parentes around expressions.
17916 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
17918 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17920 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
17922 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17924 * stl_string_fwd.h: add comment
17926 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17929 * tabular.C: remove unused DocBook methods
17935 killed DO_USE_DEFAULT_LANGUAGE
17937 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17939 * lyx_gui.C: do not include language.h.
17941 * bufferview_funcs.C (ToggleAndShow): do not provide optional
17942 arguments in function implementation.
17944 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17946 * BufferView_pimpl.C: add <ctime>
17948 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17950 * BufferView_pimpl.C: add using std::find_if
17952 2001-02-27 José Matos <jamatos@fep.up.pt>
17954 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17957 2001-02-11 José Matos <jamatos@fep.up.pt>
17959 * buffer.C (makeDocBookFile): command styles now have a parameter as
17960 "title" by default.
17962 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
17964 * layout_forms.[Ch]: removed
17965 * lyx_cb.[Ch]: out character
17966 * lyx_gui.C: out character
17967 * lyx_gui_misc.C: out character
17968 * bufferview_funcs.C: : out character,
17969 added toggleall as parameter in ToggleAndShow
17971 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
17973 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17975 * text2.C (SetCurrentFont): Disable number property at boundary.
17977 2001-02-26 Juergen Vigna <jug@sad.it>
17979 * lyxfunc.C (getStatus): added a string argument override function so
17980 that this is correctly called from LyXFunc::Dispatch if it contains a
17981 do_not_use_argument which is used!
17982 (Dispatch): added check for "custom" export and call appropriate func.
17984 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
17986 * lyxrc.C: Add language_command_local, language_use_babel and
17987 language_global_options.
17989 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
17991 * buffer.C (makeLaTeXFile): Use language_use_babel and
17992 language_global_options.
17994 2001-02-23 Juergen Vigna <jug@sad.it>
17996 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17997 which works with LyXText and putted it inside BufferView. Here now we
17998 only call for that part the BufferView::Dispatch() function.
18000 * BufferView.C (Dispatch): added.
18002 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
18003 functions which needs to use a LyXText over from LyXFunc.
18004 (MenuInsertLyXFile): added
18005 (getInsetByCode): added
18006 (moveCursorUpdate): added
18007 (static TEXT): added
18009 2001-02-22 Juergen Vigna <jug@sad.it>
18011 * BufferView_pimpl.C (update): call a status update to see if LyXText
18014 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18016 * vc-backend.C (revert): implement for CVS
18017 (getLog): implement for CVS
18019 2001-02-20 Juergen Vigna <jug@sad.it>
18021 * text2.C (ClearSelection): added BufferView param for inset_owner call
18023 * lyxfunc.C (TEXT): added this function and use it instead of
18024 directly owner->view()-text of getLyXText().
18026 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
18028 * src/layout_forms.C: out preamble
18029 * src/layout_forms.h: out preamble
18030 * src/lyx_cb.C: out preamble
18031 * src/lyx_cb.h: out preamble
18032 * src/lyx_gui.C: out preamble
18033 * src/lyx_gui_misc.C: out preamble
18034 * src/lyxfunc.C: connect with guii preamble
18036 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
18038 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
18040 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
18042 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
18043 whether to run bibtex.
18045 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
18047 * Makefile.am (lyx_SOURCES): Remove BackStack.h
18049 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
18051 * Makefile.am (lyx_SOURCES): removed bibforms.h
18053 * vspace.h: doxygen
18055 * text.C (GetVisibleRow): make several local vars const
18057 * tabular.C: small cleanup.
18059 * lyxserver.C (callback): use compare instead of strncmp
18061 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
18062 inlines to after class or to paragraph.C
18064 * lyxfont.h: remove friend operator!=
18066 * converter.h: move friend bool operator< to non friend and after
18069 * combox.h: small cleanup
18071 * buffer.h: doxygen, remove unused constructor, move inclas inlies
18072 to inlines after class def.
18074 * buffer.C (pop_tag): use string operations instead of strcmp
18076 * bmtable.c: doxygen, small cleanup
18078 * LaTeX.h: remove friend operator==
18080 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
18092 * BufferView_pimpl.C:
18093 * BufferView.[Ch]: remove cruft
18095 2001-02-14 Juergen Vigna <jug@sad.it>
18097 * lyxfunc.C: removed #if 0 unused code
18099 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
18101 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
18103 * text2.C (SetSelection): added a BufferView * parameter
18105 2001-02-13 Juergen Vigna <jug@sad.it>
18107 * lyxfunc.C (Dispatch): fixed protected blank problem.
18108 * BufferView2.C (protectedBlank): added LyxText * parameter.
18110 * tabular.C (AppendRow): forgot to set row_info of newly added row.
18111 (AppendColumn): same as above for column_info.
18113 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
18114 (moveCursorUpdate): use a LyXText param for support of InsetText.
18116 * BufferView_pimpl.C (doubleClick): added support for InsetText.
18117 (tripleClick): ditto
18119 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
18121 * BufferView_pimpl.C (update): added LyXText param to honor insets.
18123 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
18125 * text2.C (SetSelection): set correct update status if inset_owner
18126 (ToggleFree): ditto
18128 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
18130 * tabular.C: remove some commented code.
18132 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
18134 * BufferView_pimpl.C: call hideSplash()
18136 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
18139 * bibforms.h: remove
18142 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
18143 add LFUN_CHILD_CREATE
18145 * counters.h: fix tiny typo
18150 * lyx.C: move splash to frontends/xforms/
18152 * lyx_gui_misc.C: move Include and Bibform to frontends
18154 * lyxvc.h: clarify comment
18156 * vspace.C: tiny housekeeping
18158 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
18160 * text.C (PrepareToPrint): RTL Fix.
18162 * paragraph.C (GetUChar): New method.
18163 (String): Use GetUChar.
18165 * buffer.C (asciiParagraph): Use GetUChar.
18167 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
18169 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
18171 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
18174 * buffer.C: rename to getLogName(), handle
18175 build log / latex log nicely
18177 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18180 * MenuBackend.h: remove support for reference menuitem type.
18182 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
18184 * BufferView_pimpl.C: housekeeping
18185 * BufferView_pimpl.h:
18190 * minibuffer.h: move Timeout GUI-I
18192 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
18194 * lyxrc.C (read): Update converters data-structures.
18196 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
18198 * LaTeX.h (operator!=): add operator != for Aux_Info
18200 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
18202 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
18204 * LaTeXLog.C: deleted, useful code moved to Buffer
18207 * buffer.C: new function getLatexLogName()
18213 * lyxfunc.C: use frontends for LaTeX and VC logs
18215 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18217 * LaTeX.h: yet another std:: that Allan forgot.
18219 * Variables.C (set): renamed from isset(), because this clashes
18220 with some HP-UX macros (grr).
18222 2001-02-06 Allan Rae <rae@lyx.org>
18224 * LaTeX.h: Another bug fix. Missing std:: this time.
18226 2001-02-04 Allan Rae <rae@lyx.org>
18228 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
18229 floats problem. I've left it commented out because it's not quite
18230 correct. It should also test that the current object is a table or
18231 figure inset. But I haven't gotten around to figuring out how to do
18232 that. I *think* it'll be something like: "table" == inset.type()
18234 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
18237 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
18239 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
18240 all the citation/databases/styles in the auxilary file.
18241 (run): Rerun latex if there was a babel language error.
18243 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
18245 * text.C (Backspace): Preserve the font when changing newline char
18247 (BreakParagraph): If the cursor is before a space, delete the space.
18249 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
18251 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
18253 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
18254 new argument (code).
18255 (ChangeCitationsIfUnique): New method.
18257 * paragraph.C (GetPositionOfInset): Handle bibkey.
18259 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18261 * BufferView_pimpl.h: change type of Position::par_pos to
18262 LyXParagraph::size_type.
18264 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
18266 * BufferView_pimpl.C (savePosition, restorePosition): Write
18267 messages to minibuffer.
18269 2001-01-28 José Matos <jamatos@fep.up.pt>
18271 * buffer.C (makeDocBookFile): adds support for document language.
18272 A silly restriction on the name of LatexCommand types where removed.
18273 Added support for CDATA sections, allows to chars unescaped, used
18274 among others in code, to avoid escape < and >.
18276 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
18278 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18279 saved positions instrad of a stack. Furthermore, a position is
18280 stored using paragraph id/paragraph position.
18282 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18283 Remove LFUN_REF_BACK.
18285 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
18287 * converter.C (dvipdfm_options): New method.
18289 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
18291 * vspace.C (isValidLength): Fix for empty input string.
18293 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18295 * LyXAction.C (init): change description of LFUN_FIGURE to
18298 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18300 * LaTeX.C: add using directive
18302 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
18304 * MenuBackend.C (expand): Fix the sorting of the formats.
18306 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
18308 * lyx_main.C: tiny error message fix
18310 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18312 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18313 calling fl_initialize(). This fixes the problem with ',' as
18314 decimal separator in text files.
18316 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
18318 * trans.C (process): Fix the keymap bug.
18320 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
18322 * LaTeX.C (scanAuxFiles): New method. Provides support for
18323 multiple bibliographies (when using the bibtopic/bibunits pacakges).
18324 (scanLogFile) Scan for "run BibTeX" messages.
18326 * buffer.C (makeLaTeXFile): Do not load the ae package when using
18327 OT1 font encoding. Also, load the aecompl package if the ae
18330 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18332 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18334 * texrow.C (increasePos): turn two error messages into debug
18337 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
18339 * LaTeX.C (scanAux): Handle the \@input macro.
18340 (runBibTeX): Use scanAux().
18342 * language.C (latex_options_): New field.
18344 * LaTeXFeatures.C (getMacros): Add language macros.
18346 * buffer.C (makeLaTeXFile): Small fix.
18348 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18350 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18352 * text2.C: add a using directive.
18354 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
18359 * lyxfunc.C: kill LyXBell.
18361 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
18363 * text.C (IsBoundary): Remove the error message
18365 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18367 * lyxrc.C (setDefaults): Correct initialization value for
18370 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
18372 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18375 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18376 and GotoNextNote().
18378 * src/LyXAction.C: Added reference-next.
18380 * text.C (InsertChar): Use contains instead of strchr.
18382 * lyx_cb.C (MenuInsertLabel): Enable default value code.
18384 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
18386 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18387 alignment commands (when needed).
18389 * text.C (InsertChar): Add ':' to number separator chars.