1 2005-10-12 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3 * dociterator.h (StableDocIterator): add access to pos().
4 * undo.C (samePar): new method to check if two
5 iterators are in the same paragraph
6 * undo.C (recordUndo): check for samePar instead of cell identity
7 (which includes pos() and is too strict) (fixes bug 2097)
9 2005-10-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11 * text.C (setCursorFromCoordinates): return a bool telling whether
14 * text3.C (cursorPrevious): update if needed after
15 setCursorFromCoordinates (when dEPM triggered).
17 * text2.C (cursorDown, cursorUp): make sure to reset the anchor
18 (otherwise the anchor may be completely wrong and make dEPM assert).
20 2005-10-12 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
22 * buffer.C: version upgrade to 245.
23 * bufferparams.C: remove \quotes_times (bug 2090).
24 * text3.C (doDispatch): LFUN_QUOTE_INSERT has to output double
25 quotation marks as default.
27 2005-10-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
29 * CutAndPaste.C (nrOfParagraphs): remove (unused)
30 * CutAndPaste.C (cutSelection): Remove debug message
31 * CutAndPaste.C (cutSelection): Use the real cursor in mathed, record
32 undo information and only copy if this is a real cut
33 * CutAndPaste.C (pasteSelection): remove superflous cur.resetAnchor()
35 * CutAndPaste.C (pasteSelection): remove now superflous mathed warning
37 * CutAndPaste.C (eraseSelection): prevent cursor corruption
38 * CutAndPaste.C (grabAndEraseSelection, selDel): remove now
39 superflous cur.selection() setting
40 * CutAndPaste.[Ch] (grabSelection): take a const cursor
41 * cursor.C (selectionAsString): implement mathed case ((bug 2059)
43 2005-10-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
45 * text3.C (mathDispatch, dispatch): Dont' record undo steps that don't
48 2005-10-11 Martin Vermeer <martin.vermeer@hut.fi>
50 * BufferView_pimpl.C: comment layout change
52 2005-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
56 * lyxfunc.C: reimplement LFUN_INSERT_CITATION, which is needed
57 by bibliography managers (bug 2071).
59 2005-10-07 Martin Vermeer <martin.vermeer@hut.fi>
61 * BufferView_pimpl.C (update): choose arguments to update call so
62 that single-par update works most times
63 * text3.C (dispatch): carefully tune updating separately for
64 whole-screen and current-paragraph
65 * rowpainter.C (paintText): 1) replace painting by caching for
66 the two extra paragraphs, because we can;
67 2) suppress greying out of areas below/above drawn area in case of
69 * lyxfunc.C (dispatch): remove superfluous update
70 * LyXAction.[Ch]: introduce SingleParUpdate
72 2005-10-05 Angus Leeming <leeming@lyx.org>
74 * BufferView_pimpl.C (loadLyXFile): ensure that a pointer is
75 always initialised before use.
77 * text.C (setHeightOfRow): squash warning about comparison
78 of signed and unsigned types.
80 2005-10-03 Martin Vermeer <martin.vermeer@hut.fi>
82 * text.C (cursorX): two fixes involving RtL text drawing
84 2005-10-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
86 * cursor.C (erase): fix 'clever' UI hack. It was activated for all
87 items, not only large ones (part of bug 2057)
89 2005-10-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
91 * text3.C (dispatch): when invoking LFUN_MATH_MACRO with no type
92 argument, use "newcommand".
94 2005-09-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
96 * cursor.C (setSelection): do not open collapsable insets;
97 the insets do by themselves now (autoopen).
99 2005-09-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
101 * buffer.C: format is up to 244.
103 2005-09-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
105 * text.C (redoParagraph): fix calcultation of inset width wrt
106 leftMargin (bug 1957).
108 * text3.C (dispatch): leave inset to the right when hitting ESC
111 2005-09-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
116 * messages.C: include <boost/current_function.hpp>
118 2005-09-12 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
120 * lyxfunc.C (sendDispatchMessage): do not update menubar/toolbar
121 when command is internal. (bug 1941)
123 2005-09-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
125 * text2.C (cursorRight): do not honor boundary when at the end of
126 a paragraph. (bug 2010 again)
128 2005-09-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
130 * cursor.C (paste): do nothing if `data' is empty. (bug 2033)
132 2005-09-19 Martin Vermeer <martin.vermeer@hut.fi>
134 * rowpainter.C (paintText): fix RtL space width display bug (2029)
136 2005-09-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
138 * text2.C (setCursor): remove the unused 'boundary' parameter for
139 the CursorSlice version; adapt the LCursor version.
142 * paragraph_pimpl.C (markErased):
143 * cursor.C (bruteFind2, bruteFond3): fix warnings.
145 2005-09-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
147 * rowpainter.C (paintFirst): use a 'labeladdon' for TOP_* labels,
148 as is already done for "chapter".
150 2005-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
152 * lyxfunc.C (dispatch): LFUN_TEXTCLASS_APPLY: actually set the
153 textclass; do not record undo if nothing is changed.
155 2005-09-16 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
157 * text3.C (dispatch): recordUndo in LFUN_PASTESELECTION (#2011).
159 2005-09-14 Michael Gerz <michael.gerz@teststep.org>
161 * lyxfunc.C: update display after LFUN_ALL_INSETS_TOGGLE
163 2005-09-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
165 * BufferView_pimpl.C (setBuffer): when one wants to set the layout
166 combox, it is necessary to search for the topmost paragraph in the
167 cursor stack (bug 1926)
169 2005-09-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
171 * text2.C (cursorEnd, cursorRight): do not set boundary to true at
172 end of paragraph. (bug 2010)
174 2005-09-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
176 * text.C (leftMargin): check for inInset == 0
178 2005-09-10 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
180 * text.C (leftMargin): test for insetbase's new neverIndent()
181 bool instead of listing each and every inset that does not
182 wish par indendation.
184 2005-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
186 * buffer_funcs.C (setCounter): put the code to compute enum label
187 here (where it belongs).
189 * counters.C (enumLabel): move code to buffer_funcs.C.
191 2005-09-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
193 * outputparams.[Ch]: store local_font instead of local_language
194 * paragraph.C (simpleTeXOnePar): adapt to the change above
196 2005-09-08 Martin Vermeer <martin.vermeer@hut.fi>
199 * counters.[Ch]: clean up special code for Hebrew.
201 2005-09-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
203 * lyxfunc.C (lookupChange): fix code when cursor depth is greater
206 2005-09-08 Angus Leeming <leeming@lyx.org>
209 * lyxrc.C: correct grammar describing invocation of the
212 2005-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
214 * text.C (read): remove unused variable.
215 (readParToken): remove static Change variable (never good in
216 recursive settings...); add it as a parameter instead.
218 * paragraph_pimpl.C (acceptChange): make debug info conditional.
220 * metricsinfo.C (PainterInfo): add new member erased_.
222 * rowpainter.C (RowPainter): add erased_ member, initialized from
224 (paintInset): pass erased_ to Inset::draw.
226 * lyxfunc.C (lookupChange): new function. Tells whether change
227 tracking is disabled at a given postion.
228 (getStatus): disable some actions when in deleted text with change
231 2005-08-03 John Levon <levon@movementarian.org>
233 * tabular.C (appendColumn, setMultiColumn): adapt to change to
236 * paragraph_pimpl.C (markErased): add bool argument and handle it.
237 Also make sure to mark insets recursively.
238 (rejectChange, erase): be recursive
240 * paragraph.C (markErased): add bool argument.
241 2005-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
243 * lyxfind.C (findNextChange): tiny cleanup.
245 * BufferView_pimpl.C (trackChanges): avoid crash when stopping
246 change tracking with the cursor in an inset; make sure the first
247 change is not skipped.
249 2005-09-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
251 * CutAndPaste.[Ch]: new methods dirtyTabularStack and
252 tabularStackDirty to work around bug 1919 (tabular needs
253 to know whether its own cell paste buffer or the one of
255 * CutAndPaste.C: mark tabular_stack_ clean after copy.
257 2005-08-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
259 * text2.C (cursorEnd): check for empty text (fixes bug 1998)
261 2005-08-19 Lars Gullik Bjønnes <larsbj@gullik.net>
263 * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
264 use old deleteion algorithm when changetracking is on.
266 2005-08-18 Martin Vermeer <martin.vermeer@hut.fi>
268 * messages.C (get): add debug output.
270 2005-08-02 Martin Vermeer <martin.vermeer@hut.fi>
272 * text.C (cursorX): fix bug 1965: cursor movement at
273 line end broken in RtL.
274 (drawSelection): fix bug 1970: drawing of single-line
275 selection broken for RtL.
277 2005-07-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
281 * dociterator.h (clear, push_back, pop_back): change from
284 * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
285 and changed to just return the value of the item depth; take a
286 ParIterator as argument; take the itemdepth at outer nesting level
287 in account if necessary; cleanup and comment the code.
288 (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
289 and changed to just return true if reset is needed; take a
290 ParIterator as argument; cleanup and comment the code.
291 (setCounter): adapt to above changes.
293 2005-07-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
295 * text3.C (dispatch): make debug message optional
297 2005-08-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
299 * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
302 2005-08-02 Martin Vermeer <martin.vermeer@hut.fi>
304 * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
306 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
308 * text.C (insertChar):
309 * text2.C (deleteEmptyParagraphMechanism): take care whether
310 a blank has been deleted (in change tracking mode) (bug 1254).
312 2005-07-20 John Levon <levon@movementarian.org>
314 * text2.C (insertStringAsLines): remove old dubious code,
317 2005-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
319 * MenuBackend.C (expandToc): use Floating::listName() as title of
322 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
324 * toc.[Ch]: Do not use translatable strings (bug 1870).
326 2005-07-20 John Levon <levon@movementarian.org>
328 * tabular.C: fix 1748 - setting multicolumn adds
329 left line to the first cell
331 2005-07-19 Lars Gullik Bjønnes <larsbj@lyx.org>
334 * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
337 2005-07-18 Lars Gullik Bjønnes <larsbj@lyx.org>
339 * messages.C: supress some lyxerr messages
341 2005-07-18 Juergen Vigna <jug@lyx.org>
343 * text.C (drawSelection): honor boundary when asking for cursorX.
345 2005-07-17 José Matos <jamatos@fc.up.pt>
347 * tabular.C (recalculateMulticolumns): fix handling of one column
350 2005-07-17 Juergen Vigna <jug@lyx.org>
352 * text.C (Delete, backspace): fixed so that paragraph with the
353 same layout can be merged by Delete/Backspace.
355 2005-07-17 Michael Schmitt <michael.schmitt@teststep.org>
357 * text.C (readParToken): fix spelling.
359 2005-07-17 Martin Vermeer <martin.vermeer@hut.fi>
361 * text2.C: fix counter update for DEPM problem reported by
364 2005-07-17 Juergen Vigna <jug@lyx.org>
366 * BufferView_pimpl.C (setBuffer): save/restore the
367 cursor/selection when switching buffers
370 * buffer.C (saveCursor): add saveDocumentIterators to save the
371 cursor when switching buffer.
373 2005-07-17 Michael Schmitt <michqel.schmitt@teststep.org>
376 * buffer.C: clarify message
378 2005-07-17 Lars Gullik Bjønnes <larsbj@lyx.org>
380 * dociterator.C (DocIterator): fix initialization order
382 2005-07-17 Juergen Vigna <jug@lyx.org>
384 * text2.C (cursorHome):
385 * text.C (drawSelection, cursorX):
386 * dociterator.C (textRow): add boundary to getRow() call
388 * paragraph.C (getRow): implementation of below
390 * paragraph.h: add parameter boundary for getRow() function
392 2005-07-17 José Matos <jamatos@fc.up.pt>
396 * tex-strings.[Ch]: new file format, remove support for a4.sty,
397 a4wide.sty and a4widemargins.
399 2005-07-17 Juergen Vigna <jug@lyx.org>
401 * text2.C (cursorLeft): fix one of error
403 2005-07-17 Juergen Vigna <jug@lyx.org>
405 * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
407 more fixes for boundary handling
409 * text3.C (dispatch): don't reset cursor if boundary has changed
412 2005-07-16 Juergen Vigna <jug@lyx.org>
414 * text2.C (getColumnNearX): hopefully got it right now,
415 check if we are on column 0 for special case.
417 2005-07-16 Juergen Vigna <jug@lyx.org>
419 * text2.C (getColumnNearX): handle special case Newline Inset
421 * text.C (singleWidth): Just remove bogus check
423 2005-07-16 Michael Schmitt <michael.schmitt@teststep.org>
425 * funcrequest.C (split): avoid reading uninitialized char c
427 2005-07-16 José Matos <jamatos@fc.up.pt>
433 * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
434 single papersize variable.
436 2005-07-16 Juergen Vigna <jug@lyx.org>
438 * text3.C (dispatch): honor boundary when checking if a cursor
439 movement has been done
441 * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown)
442 (setCursor, setCursorIntern): fix cursor movement with boundary
444 2005-07-16 Juergen Vigna <jug@lyx.org>
446 * text.C (currentState): output the actual Boundary
448 2005-07-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
450 * factory.C (createInset): fix bad logic for tabular creation
452 2005-07-16 Lars Gullik Bjønnes <larsbj@lyx.org>
454 * lyx_main.C (init): change some reLyX reference to tex2lyx
456 2005-07-16 Juergen Vigna <jug@lyx.org>
458 * dociterator.C (DocIterator): initialize boundary
460 2005-07-16 Juergen Vigna <jug@lyx.org>
462 * text2.C (getColumnNearX): Consider rows without trailing blank.
464 2005-07-16 André Pönitz <poenitz@gmx.net>
466 * lyxfont.h: Change order of declarations to give the compiler
467 a better chance to inline things
469 * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
470 questions on unsaved docs for better scritability
472 2005-07-16 André Pönitz <poenitz@gmx.net>
474 * paragraph.h (getChar): remove asserts as the same kind of security
475 can be achieved by using a suitable standard library implementation
476 and the function was in the critical path (25.9% in profiler)
478 2005-07-16 Juergen Vigna <jug@lyx.org>
480 * cursor.C (bruteFind2):
481 * bufferview_funcs.C (coordOffset):
482 * text.C (cursorX,cursorY): Handle cursor position after last char
483 in row before a inset which uses a whole row.
485 2005-07-15 José Matos <jamatos@lyx.org>
487 * output_plaintext.[Ch] (writeFileAscii): control reference title
489 (asciiParagraph): noparbreak was already deal and was incorrectly
492 2005-07-15 Juergen Vigna <jug@lyx.org>
494 * lyxfunc.C (dispatch): save and restore the cursor after a
497 2005-07-15 Lars Gullik Bjønnes <lgb@tandberg.net>
499 * text.C (backspace): bug 806 for empty keepempty paragraphs we
500 change the layout to default before letting DEPM do its thing.
502 * paragraph_funcs.C (breakParagraph): dont reset the layout on
505 * text.C (setCursorFromCoordinates): add a debug statement
507 * text2.C (getColumnNearX): bug 1825 make sure that we don't
508 return a pos that is not on the row
510 * output_latex.C (TeXDeeper): get rid of potential dereferencing
511 of past the end iterator
513 2005-07-14 André Pönitz <poenitz@gmx.net>
515 * undo.C (recordUndoFullBuffer): implement undo for
518 2005-07-14 André Pönitz <poenitz@gmx.net>
520 * cursor.C (setSelection): open insets when selection is set there
521 to avoid crashs with cold coord cache
523 2005-07-14 André Pönitz <poenitz@gmx.net>
525 * trans_mgr.C (insert): move cursor to the right after inserting
528 2005-07-14 Lars Gullik Bjønnes <larsbj@lyx.org>
530 * BufferView_pimpl.C (update): dampen some of the debug blabbering
531 * factory.C (readInset): ditto
532 * text.C, text2.C: ditto
534 2005-06-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
536 * buffer.C: format incremented to 242. There is no file format per
537 se, but the "frenchb" language has been removed from lib/language
538 and has to be translated to "french" by lyx2lyx.
540 2005-07-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
542 * cursor_slice.h, dociterator.h: add some documentation
543 * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
545 2005-07-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
547 * text.C (leftMargin): do not add identation to display() style
548 insets, because they are always centered (bug 1293).
550 2005-07-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
552 * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
553 formatted_time methods in support/lyxtime.
555 2005-07-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
557 * toc.[Ch]: new method getGuiName, which is used by the frontends
558 to set the toc combo (fixes bug 1870). Make TOC string translatable.
560 2005-07-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
562 * dociterator.[Ch]: implement operator==(StableDocIterator const &,
563 StableDocIterator const &)
564 * undo.C (recordUndo): use the above instead of cell.size() comparison
565 (fixes bug 1808; instructed by Andr�.
567 2005-06-29 Martin Vermeer <martin.vermeer@hut.fi>
570 * dociterator.h: Fix the assert when copying rows/cols in math
572 2005-06-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
574 * BufferView_pimpl.C:
576 * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
578 * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
579 (findInset): new functions, refactored from goto Inset that return
580 the position of a certain inset without setting the buffer's cursor
582 (gotoInset): rewrite to call findInset and then set the cursor
585 2005-06-16 Angus Leeming <leeming@lyx.org>
587 * lyxrc.C (output, read): wrap all input and output of paths with
588 calls to os::internal_path and os::external_path, respectively.
589 (output): wrap bind_file inside quotes.
591 * format.C (view): enable the viewer to use the '$$s' placeholder.
593 2005-06-16 Georg Baum <Georg.Baum@post.rwth-aachen.de>
595 * LColor.[Ch] (getFromLaTeXName): new
597 2005-06-16 Martin Vermeer <martin.vermeer@hut.fi>
599 * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
601 2005-06-14 Angus Leeming <leeming@lyx.org>
603 * lyx_main.C (init): ensure that the LyX binary dir is the first
604 element in the PATH on non-POSIX builds.
606 2005-06-11 Georg Baum <Georg.Baum@post.rwth-aachen.de>
608 * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
610 2005-06-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
612 * rowpainter.C (paintInset, paintHebrewComposeChar)
613 (paintArabicComposeChar, paintChars): add a LyXFont argument.
614 (paintChars): use getFontSpan to reduce calls to getFont to a
615 minimum; use Paragraph::lookupChange instead of isXXXText.
616 (paintForeignMark): rename LyXFont argument.
617 (paintFromPos): pass a LyXFont object to the various paintXXX
620 * FontIterator.C (FontIterator, operator++): use
621 Paragraph::getFontSpan
623 * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
624 version that returns the font span as a pair.
626 2005-06-09 Angus Leeming <leeming@lyx.org>
628 * converter.C (convert): Don't forget "outfile = real_outfile" as
629 the final step in a conversion where the input and output file names
630 are the same. Otherwise, future conversion steps won't work...
632 2005-06-09 Angus Leeming <leeming@lyx.org>
634 * lyxsocket.C: remove stub code as it isn't needed by
635 MinGW/MinSYS anyway. Let's see if the MSVC people scream...
637 2005-06-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
639 * lyx_main.C (parse_execute): Fix last fix: is_gui = false
640 effectively disabled -x
642 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
644 * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
645 when it actually makes sense.
647 2005-06-06 Martin Vermeer <martin.vermeer@hut.fi>
649 * BufferView_pimpl.C: revert to showCursor in connection with
650 Lars's front-end stack
652 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
654 * text.C (redoParagraph): move cursor right after a bibitem
657 * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
659 2005-06-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
661 * buffer_funcs.C (bufferErrors): fix computation of the end of an
664 2005-05-31 Martin Vermeer <martin.vermeer@hut.fi>
666 * BufferView.[Ch] (update):
667 * BufferView_pimpl.[Ch] (update, metrics):
668 * dimension.h (operator==):
669 * lyxfunc.C (dispatch):
670 * metricsinfo.h (ViewMetricsInfo):
671 * rowpainter.C (paintText):
673 * text.C (redoParagraph):
674 * text3.C (dispatch): Make LyX only repaint current paragraph in
675 case of character insert --> speedup. Also fix cursor draw
678 2005-05-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
680 * bufferview_funcs.C (gotoInset): fix the wrap-around code to
681 avoid a crash (bug 1891)
683 2005-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
687 * text2.C (getStringToIndex): constify cur argument.
689 * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
690 argument has been given
691 (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
692 try to invoke LFUN_INSET_APPLY).
694 * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
695 if no inset was created by doInsertInset
696 (doInsertInset): return true if an inset has been inserted.
698 2005-05-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
700 * vspace.C (asGUIName): new method. A version of the space
701 suitable for showing on screen.
703 2005-05-20 Michael Schmitt <michael.schmitt@teststep.org>
706 * lyxrc.C: rename "ASCII" to "Plain Text"
708 2005-05-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
710 * buffer_funcs.C (expandLabel): take a Buffer as argument;
711 translate the labelstring.
712 (setCounter): translate labelstring as needed.
714 * output_docbook.C (makeCommand): fix expandLabel invokation
716 2005-05-14 Michael Schmitt <michael.schmitt@teststep.org>
718 * BufferView.C: fix dialog title
720 2005-05-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
722 * lyx_main.C (priv_exec): fix logic error with help from Angus
723 * lyx_main.C (parse_execute): set is_gui = false and remove now
724 obsolete comment about a segfault
726 2005-05-18 Angus Leeming <leeming@lyx.org>
728 * buffer.C (readFile): Quote all file names passed to lyx2lyx.
730 2005-05-12 Martin Vermeer <martin.vermeer@hut.fi>
732 * tabular.[hC]: added setCellInset to fix tabular paste.
734 2005-05-11 Lars Gullik Bjønnes <larsbj@gullik.net>
736 * buffer.C (save): check if destination is writable before trying
739 2005-05-11 Martin Vermeer <martin.vermeer@hut.fi>
741 * BufferView_pimpl.C (update): fix processEvents -caused update
744 2005-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
746 * buffer_funcs.C (setCounter): fix test for numbering of
749 * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
750 depth correctly; use optional argument when it exists
752 * lyxtextclass.C: remove unused MaxCounterTags enum
753 (Read): compute min_toclevel_ and max_toclevel_ after reading class.
754 (max_toclevel, min_toclevel): new methods.
756 * MenuBackend.C (expandToc2): fix case where depth is smaller than
757 the smallest depth in toc.
759 * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
760 layouts that should not appear in a table of contents.
762 2005-05-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
764 * cursor.h (undispatched, noUpdate): add comments from Andr�
765 2005-05-07 Michael Schmitt <michael.schmitt@teststep.org>
769 * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
771 2005-05-07 André Pönitz <poenitz@gmx.net>
773 * cursor.[Ch] (leaveInset): new function
775 2005-05-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
777 * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
779 2005-05-04 Angus Leeming <leeming@lyx.org>
781 * lyxfunc.C (getStatus): disable the spell checker dialog if
782 none of USE_[AIP]SPELL are defined.
784 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
786 * tabular.C (setWidthOfCell): remove obsolete comment
788 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
790 * paragraph.C (bibitem):
791 * buffer_funcs.C (setCounter):
792 * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
794 2005-05-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
796 * text3.C (getStatus): immediately return after setOnOff
798 * rowpainter.C: fix drawing of appendix start
800 2005-05-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
802 * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
803 SwitchBetweenClasses and remove the unused return value.
804 Handle character styles, too
806 2005-05-03 Martin Vermeer <martin.vermeer@hut.fi>
808 * factory.C (createInset): handle undefined character styles
810 2005-05-02 Angus Leeming <leeming@lyx.org>
812 * buffer.C: protect the #include of utime.h with a preprocessor
815 2005-05-02 Angus Leeming <leeming@lyx.org>
817 * lyx_cb.C: artificially define fork() on Windows as a no-op failing
818 function so that auto-saving works, albeit in a blocking manner.
820 * Makefile.am: make compilation of the client sub directory, of
821 aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
822 on conditionals set at configure time.
824 * SpellBase.[Ch]: no longer an abstract base class. Instead,
825 it can be compiled in its own right but has no-op functionality.
827 * aspell.C, pspell.C: remove preprocessor guards. The files should
828 be compiled only if the necessary functionality exists.
830 * lyxserver.C, lyxsocket.C: disable on Windows.
832 2005-05-01 Martin Vermeer <martin.vermeer@hut.fi>
834 * text.C (leftMargin): Fix the parindent use bug (1764)
837 2005-04-28 Michael Schmitt <michael.schmitt@teststep.org>
839 * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
842 2005-04-25 Angus Leeming <leeming@lyx.org>
850 include <config.h> in .C files, not .h ones.
852 protect headers inside preprocessor guards.
854 2005-04-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
856 * FuncStatus.h (StatusCodes): document
858 2005-04-21 André Pönitz <poenitz@gmx.net>
860 * FuncStatus.h (enabled, onoff): document
862 2005-04-19 Angus Leeming <leeming@lyx.org>
864 * BufferView_pimpl.C (cursorToggle): no longer test whether
865 any child processes have been reaped before calling
866 handleCompletedProcesses().
868 2005-04-19 Martin Vermeer <martin.vermeer@hut.fi>
870 * text3.C (dispatch): fix, finally fix, the language problem in
871 new lyxtexts, without disabling on-the-fly font changes (Helge's
874 2005-04-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
876 * text3.C (dispatch): set cursor on double/triple click events
879 2005-04-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
881 * lyxfunc.C (actOnUpdatedPrefs): avoid warning
882 (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
884 * rowpainter.C (paintFirst): simplify the code a little bit. In
885 particular, remove the test for secnumdepth.
886 * text.C (setHeightOfRow): only allocate space for chapter number
887 when updateCounters provided an actual label, instead of looking
888 at secnumdepth directly.
890 * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
892 * buffer_funcs.C (setCounter): only number LABEL_COUNTER
893 paragraphs when secnumdepth is large enough or, for environments,
894 when they are not the first in a sequence.
896 2005-04-17 Angus Leeming <leeming@lyx.org>
898 * buffer.C (makeLaTeXFile): replace code to manipulate a path
899 containing space and '~' characters with a call to latex_path().
901 2005-04-17 Angus Leeming <leeming@lyx.org>
903 * converter.C (convert): protect all args of convertDefault.sh
906 2005-04-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
908 * text3.C (dispatch): change the layout to "Caption" after inserting
911 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
913 * text3.C (dispatch): fix language problem in newly created
914 textinsets (and main text) in non-english docs
916 2005-04-13 Georg Baum <Georg.Baum@post.rwth-aachen.de>
918 * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
919 * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
920 * text3.C (getStatus): disable LFUN_INSET_MODIFY
922 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
927 * rowpainter.C (getFont): Fix metrics bug introduced by inset
930 2005-04-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
932 * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
933 output of \item arguments without trailing text.
935 2005-04-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
937 * FontIterator.C (operator*): avoid a copy of the font.
939 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
941 * rowpainter.C (getFont): fix language bug from previous fix
943 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
945 * rowpainter.C (RowPainter, getFont): fix font inside inset
948 2005-04-06 Martin Vermeer <martin.vermeer@hut.fi>
950 * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
951 preventing inserted font, deco, delim insets jumping to start of
954 2005-03-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
956 * lyxfunc.C (dispatch): translate message before sending it to the
959 2005-03-29 Angus Leeming <leeming@lyx.org>
961 * lyx_main.C (priv_exec): call os::internal_path on each file passed
962 to LyX on the command line.
964 2005-03-25 Stephan Witt <stephan.witt@beusen.de>
966 * vc-backend.C: use QuoteName to protect file names wherever
969 2005-03-27 Martin Vermeer <martin.vermeer@hut.fi>
972 * BranchList.h: fix bugs 1844,1845: document settings don't
975 2005-03-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
977 * lyxrc.C (setDefaults, read, output, getDescription): add support
978 for tex_allows_spaces.
980 * exporter.C (Export): allows files in directory containing spaces
981 if tex_allows_spaces is true.
983 * buffer.C (makeLaTeXFile): if the document path contains spaces,
984 output it in double quotes.
986 2005-03-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
988 * rowpainter.C: use default text height for drawing change tracker
991 2005-03-21 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
993 * lyx_main.C: fix binding of tabulator key (especially S-Tab).
995 2005-03-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
997 * lyx_main.C (queryUserLyXDir): fix logic when LyX support
998 directory is missing.
1000 2005-03-11 Martin Vermeer <martin.vermeer@hut.fi>
1002 * text2.C: fixed the fix, extended to other case.
1004 2005-03-08 Martin Vermeer <martin.vermeer@hut.fi>
1006 * text2.C: fix for cursor up/down stuck in math [bug 1792]
1008 2005-03-07 Alfredo Braunstein <abraunst@lyx.org>
1010 * text2.C (cursorUp): get rid of a crash
1011 * text.C (x2pos): add an assert
1013 2005-03-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1015 * lyxfunc.C (getStatus): fix warning when assertions are disabled
1019 * dociterator.C: include <boost/current_function.hpp>, which is
1020 needed when assertions are disabled.
1022 2005-03-05 Johnathan Burchill <jkerrb@users.sourceforge.net>
1024 * text2.C: fix for stuck cursor when traversing two
1025 consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
1027 2005-02-25 Andreas Vox <avox@arcor.de>
1029 * output_docbook.C (makeParagraph): suppress trailing newline
1030 after a run of paragraphs
1032 2005-02-28 Johnathan Burchill <jkerrb@users.sourceforge.net>
1034 * paragraph.C: fix for confused change tracker when pasting
1035 text that begins with a lineseparator. [bug 1827]
1036 (setChange(0, Change::INSERTED);)
1038 * paragraph_funcs.C: fix for lost changes on triple-paste
1039 in change tracking mode [bug 1827] (par.setChange()).
1041 2005-02-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1043 * text2.C (updateCounters, setCounter, expandLabel): move to
1046 * buffer_funcs.C (updateCounters): turn into a free standing
1047 function and add a buffer parameter. Remove dead code for tracking
1049 (setCounter): change into a free-standing function which gets a
1050 dociterator as argument. Use this iterator to fix captions in a
1051 simple way. When no float is found above the caption, use the
1052 labelstring of the caption layout as default.
1054 * text.C (breakParagraph, backspace):
1055 * text2.C (init, setLayout, changeDepth):
1056 * text3.C (dispatch):
1057 * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
1060 * dociterator.C (forwardPar): make it much faster by calling
1061 forwardPos() only when really necessary.
1063 * output_docbook.C (makeCommand): adapt to expandLabel move.
1065 * cursor.C: remove unused variable
1067 2005-02-24 Johnathan Burchill <jkerrb@users.sourceforge.net>
1069 * paragraph_funcs.C: fix crash when pasting insets in change
1070 tracking mode [bug 1277] (honour change type in moveItem).
1072 2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1074 * LaTeX.C (scanLogFile): recognize pdfTeX warnings
1076 2005-02-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1078 * BufferView.C (setCursor): change to use a DocIterator.
1079 (gotoLabel): use BufferView::setCursor (other part of bug 781).
1080 (putSelectionAt): adapt to BufferView::setCursor change.
1082 * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
1083 moved here from LyXText and rewritten to use proper cursor
1084 methods. Fixes bug 1787, 616 and 835.
1086 * BufferView_pimpl.C (restorePosition): set the cursor correctly
1087 when inside an inset (part of bug 781).
1088 (dispatch): adapt to change of BufferView::setCursor.
1089 (getStatus, dispatch): handle LFUN_GOTOERROR,
1090 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1092 * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
1093 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1094 * text3.C (gotoNextInset, gotoInset): removed.
1096 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1098 * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
1100 2005-02-15 Angus Leeming <leeming@lyx.org>
1102 * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
1103 can be used meaningfully in a comparison.
1105 2005-02-13 André Pönitz <poenitz@gmx.net>
1107 * bufferview_funcs.C (coordOffset): improve cursor drawing
1109 2005-02-13 André Pönitz <poenitz@gmx.net>
1111 * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
1112 * Cursor.C (dispatch): use fixIfBroken
1113 * lyxfunc.C (getStatus): use fixIfBroken
1115 2005-02-15 Angus Leeming <leeming@lyx.org>
1117 * lyx_main.C (error_handler):
1119 * lyxrc.C (setDefaults):
1121 #include "environment.h".
1123 * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
1125 2005-02-15 Angus Leeming <leeming@lyx.org>
1127 * lyxserver.C (startPipe): squash MSVC warning "local variable
1128 'fd' used without having been initialized".
1130 2005-02-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1132 * BufferView_pimpl.C: revert accidental commit.
1134 2005-02-14 André Pönitz <poenitz@gmx.net>
1136 * dociterator.[Ch]: new member forwardPosNoDescent(),
1137 which doesn't enter nested insets.
1138 * text2.C (setFont): use forwardPosNoDescent() instead
1139 of ForwardPos() (fixes crash on font change).
1141 2005-02-13 Angus Leeming <leeming@lyx.org>
1143 * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
1144 only if lyxrc.path_prefix is not empty.
1146 2005-02-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1148 * bufferparams.C (readGraphicsDriver): prevent crash
1150 2005-02-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1152 * text2.C (setCounter): check for inInset() == 0
1154 2005-02-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1156 * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
1157 but use update() to get correct screen display; use convert
1158 instead of istringstream.
1159 (getStatus): handle LFUN_GOTO_PARAGRAPH
1161 * lyxfunc.C (dispatch, getStatus): do not handle
1162 LFUN_GOTO_PARAGRAPH here.
1164 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1166 * text3.C (dispatch): size() -> depth()
1168 * text2.C: remove some debug output
1170 * paragraph.C: ws changes only
1172 * lyxfunc.C (getStatus): size() -> depth()
1174 * dociterator.h (clear, push_back, pop_back, internalData,
1175 operator[], resize, empty): new functions
1176 Make StableDocIterator and operator== be friends. Don't inherit
1177 from std::vector use a privat class variable slices_ instead.
1180 * dociterator.C: update because of not inheriting from std::vector
1181 anymore. Call explictly to slices_ instead. Use depth() instead of
1182 size() and top() instead of back()
1184 * cursor.C: chagne size() -> depth and back() -> top(). Also
1185 remove some direct operator[](i) calls in favour of foo[i]
1186 (getFont): remove some dead code
1188 * bufferview_funcs.C (coordOffset): size() -> depth()
1190 * buffer.C: ws changes only
1192 * CutAndPaste.C (eraseSelection): back() -> top()
1194 * BufferView_pimpl.C (selectionRequested): back() -> top()
1196 * BufferView.C (setCursor): size() -> depth()
1198 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1200 * text3.C (cursorPrevious): return true if depm changed something
1202 (dispatch): rename sl to oldTopSlice, remove moving use the new
1203 NoUpdate func attrib instead. Make sure that needsUpdate is set
1204 for function that have NoUpdate, but where depm might have changed
1207 * text2.C (cursorLeft): make us return true if depm changed
1209 (cursorRight): ditto
1210 (cursorUpParagraph): ditto
1211 (curosrDownParagraph): ditto
1212 (cursorUp, cursorDown): ditto, make sure to read comments in code
1213 (deleteEmptyParagraphMechanism): remove an assert, also return
1214 true if just a single char was deleted.
1216 * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
1217 cursor that we modify, to avoid modifying an active cursor before
1218 we call setCursor. This allows depm to run. Also return true if
1219 depm deleted something.
1221 * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
1222 cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
1223 cursorDownParagraph, cursorPrevious and cursorNext, return true if
1224 something was changed in the buffer because of them (ie. depm run)
1226 * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
1227 debug messages. Make update by default be false. Make sure that
1228 the result of update is retained throught several calls down to
1231 * LyXAction.h: add a new func_attrib: NoUpdate
1233 * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
1234 LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
1235 LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
1237 (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
1239 2005-02-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1241 * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
1242 bv_->owner(), bv_->buffer() by direct references to the private
1244 (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
1245 (getStatus): isSavedPosition() is in BufferView::Pimpl.
1246 (fitCursor): center() is in BufferView::Pimpl.
1247 (getStatus, trackChanges, dispatch): no need for a temporary buf
1249 (fitCursor, workAreaDispatch): use workarea().workheight()
1251 2005-02-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1253 * CutAndPaste.C (pasteSelectionHelper): fix a crash
1255 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1257 * buffer.C: format up to 241.
1258 * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
1259 break if pasting into ERT
1260 * lyxfunc.C (getStatus): suppress mathpanel and
1261 LFUN_DIALOG_SHOW_NEW_INSET in ERT
1263 2005-02-01 Angus Leeming <leeming@lyx.org>
1265 * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1267 2005-02-01 Angus Leeming <leeming@lyx.org>
1269 * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1270 calling fs::is_directory().
1272 2005-01-31 Angus Leeming <leeming@lyx.org>
1274 * lyx_main.C (priv_exec): specify explicitly the relative location
1275 of the top level build directory when run in-place.
1277 2005-01-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1279 * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1280 LyXText containing the cursor, not the top-level one.
1282 * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1284 (insertStringAsLines): rename par to pit; use temporary variable
1285 par to hold a Paragraph; do not store par.layout() in a variable,
1286 since the pointer may die when breaking paragraphs; pass pars to
1287 breakParagraph() instead of Buffer::paragraphs().
1289 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1291 * lyxlex_pimpl.h: #include <fstream>.
1293 * BufferView.[Ch] (getLyXText): add a const version.
1295 * BufferView_pimpl.C: add debug aids.
1300 * paragraph_funcs.h: add commentary explaining what the class does.
1303 * coordcache.[Ch]: add lots of commentary.
1304 (startUpdating, doneUpdating): debug aids.
1305 (arrays, insets, parPos, getParPos): accessors to private data.
1307 * cursor_slice.[Ch] (text): add a const version.
1308 * dociterator.[Ch] (text, innerText): add const versions.
1310 * lyxtext.h (breakParagraph): change the keep_layout arg to a
1313 * paragraph.C (getRow, pos2ros): add asserts.
1315 * paragraph.h: add commentary. Lots of.
1317 * paragraph.[Ch] (metrucs, draw): removed.
1320 * rowpainter.[Ch]: const-correct changes.
1322 * text.C: various obvious clean-ups. Removal of ancient cruft.
1325 2005-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
1327 * vc-backend.C (find_file): rewrite to use boost.filesystem
1330 * main.C (main): set default name check for boost.filesystem to
1333 * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1336 (actOnUpdatedPrefs): ditto
1338 * lyx_main.C (init): rewrite to use boost.filesystem
1339 (queryUserLyXDir): ditto
1341 * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1342 (getContentsOfAsciiFile): ditto
1344 * lastfiles.C (readFile): rewrite to use boost.filesystem
1346 * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1348 * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1349 (loadLyXFile): ditto
1351 * buffer.C (Buffer): adjust for destroydir
1352 (getLogName): rewrite to use boost.filesystem
1353 (setFileName): ditto
1354 (save): use fs::copy_file (from fs_extras)
1356 * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1358 * LaTeX.C (run): rewrite to use boost.filesystem
1359 (scanAuxFiles): ditto
1360 (handleFoundFile): ditto
1362 2005-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1364 * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1366 * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1368 2005-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1370 * lyxlayout.[Ch]: change some vars from float to double
1372 * buffer.C (readFile): make a local var const
1374 * Several files: use convert<> instead of atoi,strToXXX and friends
1376 2005-01-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1378 * LaTeXFeatures.[Ch]: Add a static list packages_ that
1379 holds the contents of packages.lst. New functions getAvailable
1380 and isAvailable to parse and check that list, resp.
1384 * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1386 * bufferparams.[Ch]: new param output_changes.
1388 * Buffer.C: increase file format to 240.
1389 Use output_changes and isVailable.
1393 * paragraph_pimpl.C: Use output_changes and isVailable.
1395 2005-01-23 Angus Leeming <leeming@lyx.org>
1397 * output_latex.C: #include "insetbibitem.h", rather than
1398 forward declare function bibitemWidest.
1400 2005-01-21 Andreas Vox <vox@isp.uni-luebeck.de>
1402 * lyx_main.C (init): make it compile on the Mac.
1404 2005-01-20 Angus Leeming <leeming@lyx.org>
1406 * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1407 (setLyXMisc): (char string literal) != (char string literal) is
1408 performing a comparison on the addresses. Convert one operand
1409 explicitly to string to guarantee expected behaviour.
1412 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1415 * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1417 * output_plaintext.C: remove unneeded #include gzstream.h.
1419 2005-01-20 Angus Leeming <leeming@lyx.org>
1421 * SpellBase.h: rename some of the elements of the Result enum.
1428 * pspell.C (check): ditto
1430 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1432 * buffer.C: add #include <fstream>.
1434 * lyx_main.C (init): Compile fix.
1436 * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1438 2005-01-20 Angus Leeming <leeming@lyx.org>
1440 * mover.h: change commentary to reflect the changed meaning of
1441 the $$s placeholder.
1443 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1445 * output_linuxdoc.C (linuxdocParagraphs): silence warning
1447 * lyxfind.C (MatchString::operator()): remove bogus semicolon
1449 2005-01-20 Angus Leeming <leeming@lyx.org>
1451 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1452 printing diagnostic data by not dereferecing an iterator past the
1455 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1457 * buffer.C (readHeader): use "&&" rather than "and".
1459 * lyxserver.h (inPipeName, outPipeName): make these const.
1461 2005-01-19 Angus Leeming <leeming@lyx.org>
1463 * lyx_main.C (error_handler, init): protect SIGHUP with
1464 #ifdef SIGHUP guards.
1466 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1468 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1470 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1472 * text.C (setHeightOfRow): add a margin at the top and bottom of
1473 the document (bug 1761)
1475 2005-01-17 Angus Leeming <leeming@lyx.org>
1477 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1478 with "python ". Workaround for a brain-dead Windows.
1480 2005-01-16 Angus Leeming <leeming@lyx.org>
1482 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1483 for MacOSX and Windows to use prependEnvPath.
1484 Strip out the hard-coded block to add elements to the PATH for
1485 MacOSX and replace it with a call to prependEnvPath using the
1486 contents of LyXRC::path_prefix.
1487 (queryUserLyXDir): strip out the code to run reconfigure, instead
1488 returning a boolean indicating the necessity to do so.
1489 (reconfigureUserLyXDir): contains the code to reconfigure the
1490 user support directory. Is now called after the various LyXRC data
1491 files have been read.
1493 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1495 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1497 * converter.[Ch] (convert): take a new parameter try_default. Use
1498 a default converter (imagemagick) if try_default is true.
1500 2005-01-13 Angus Leeming <leeming@lyx.org>
1502 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1503 os::cygwin_path_fix.
1504 (write): output LyXRC::cygwin_path_fix as necessary.
1506 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
1509 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1511 2005-01-12 Angus Leeming <leeming@lyx.org>
1513 * lyx_main.C (init): set the PATH variable to include the
1514 directory containing the LyX binary when running on Mac or Windows.
1516 2005-01-12 Angus Leeming <leeming@lyx.org>
1518 * lyx_main.C (init): remove cruft that purports to set the locale
1519 dir. It doesn't and is not needed anyway.
1521 2005-01-10 Angus Leeming <leeming@lyx.org>
1523 * Makefile.am: remove the lyx_main.C special casing.
1525 * BufferView_pimpl.C:
1531 * messages.C: use support/package.h to provide the paths to the
1532 various directories used by LyX.
1534 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1536 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1537 layout if pasting into an empty paragraph)
1539 2005-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
1541 * tex-accent.C: add <string>
1543 2005-01-06 José Matos <jamatos@lyx.org>
1545 * ParagraphParameters.C (write): put every parameter in its own line.
1546 * paragraph.C (write): reduce number of consecutive empty lines exported.
1547 * buffer.C (LYX_FORMAT): increase file format to 239.
1549 2005-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1551 * everywhere: change support/tostr.h -> support/convert.h
1553 * tabular.C: make all write_attributes templates, tostr -> convert
1555 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1556 (emptyTag): and -> &&, and fix type for ret from getChar
1557 (getFirstWord): fix type for ret from getChar
1558 (onlyText): and -> &&
1559 (simpleDocBookOnePar): and not -> && !, fix type for ret from
1562 * toc.C (goTo, action):
1563 * text3.C (dispatch):
1564 * text.C (currentState):
1565 * tex-accent.C (DoAccent):
1568 * lyxfunc.C (menuNew):
1569 * lyxfinc.C (replace):
1570 * counters.C (laberItem):
1571 * bufferview_funcs.C (font2string):
1572 * bufferparams.C (writeFile):
1573 * buffer.C (readFile):
1575 * MenuBackend.C: tostr -> convert
1577 * LaTeX.C (runMessage): fix format
1578 (scanAuxFiles): tostr -> convert
1580 * BufferView_pimpl.C (savePosition): fix format
1581 (restorePosition): ditto
1584 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1586 * Spacing.[Ch]: New method getValueAsString().
1590 * ParagraphParameters.C:
1593 * text3.C: store/read spacing value as string.
1595 * rowpainter.C: change float value (spacing_val) to double.
1597 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1598 broken custom document spacing).
1600 2005-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
1602 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1603 namespace, also more use of temp references and const
1605 * cursor.[Ch] (getStatus): move to lyxfunc.C
1607 * bufferparams.C: reformat slightly
1609 * bufferview_funcs.C (font2string): constify arg
1615 * buffer_funcs.C: (many funcs): constify arg on function
1616 definitions, also make more local vars const, also add ASSERTS on
1619 * buffer.C (LYX_FORMAT): put const in correct place
1620 (many funcs): constify arg on function definitions, also make
1621 more local vars const
1623 * aspell_local.h: remove "struct" from typdef setup
1625 * aspell.C (check): make word_ok const
1626 (nextMiss): simplify slightly
1629 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1631 * lyxrc.[Ch]: store all float values as strings.
1632 use int (not float) for lyxrc.dpi.
1634 2005-01-04 Angus Leeming <leeming@lyx.org>
1636 * lyx_cb.C (Reconfigure):
1637 * lyx_main.C (queryUserLyXDir):
1638 to run the <system_lyxdir>/configure correctly on Windows, prefix
1639 the path to the script with "sh " when generating the string that
1640 is passed to system().
1642 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1644 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1646 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1648 * lyxlength.C (asLatexString): get rid of setprecision
1650 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1652 * text2.C (setLayout): remove unused variable endpit.
1653 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1655 * paragraph.C (onlyText): remove unused variable style.
1657 * cursor.C (bruteFind): remove unused variables beg and end.
1659 * Makefile.am (dist_noinset_DATA): not needed anymore
1661 * cheaders/*: remove.
1663 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1665 * text3.C: fix LFUN_MATH_MODE.
1667 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1669 * buffer_funcs.C (countWords): new function. Counts words between
1672 * BufferView_pimpl.C (getStatus, dispatch): handle
1675 * LyXAction.C (init):
1676 * lfuns.h: add LFUN_WORDS_COUNT.
1678 2004-12-19 Angus Leeming <leeming@lyx.org>
1680 * buffer.C (save): s/slashify_path/internal_path/.
1682 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1684 * lyxfind.C (findChange): do not search for end of pars, because
1685 the change tracker cannot handle this (fixes bug 1719).
1687 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
1689 * paragraph.[Ch] (autoBreakRows): remove
1691 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1693 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1694 avoid using the paragraph one
1696 * text2.C (LyXText, insertStringAsLines): adjust
1698 2004-12-16 Angus Leeming <leeming@lyx.org>
1702 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1704 2004-12-14 Angus Leeming <leeming@lyx.org>
1706 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1708 * bufferlist.C (emergencyWrite):
1709 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1712 2004-12-14 Angus Leeming <leeming@lyx.org>
1714 * main.C: (main): no longer pass pointers to os::init.
1716 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1718 * undo.C (textUndoOrRedo): simplify logic, fix a crash
1719 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1721 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1724 * text3.C: remove selection_possible global flag
1726 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1728 * text2.C (getSelectionSpan): remove
1729 (changeDepth, changeDepthAllowed): adjust
1731 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
1733 * Makefile.am (BOOST_LIBS): use boost variables
1735 2004-12-03 José Matos <jamatos@lyx.org>
1737 * buffer.C: format up to 238.
1739 2004-12-03 José Matos <jamatos@lyx.org>
1741 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1743 2004-12-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1745 * cursor.C (goUpDown): remove call to idxUpDown2
1747 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1749 * tabular.[Ch]: use size_t-like types for cell, row and column
1752 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1754 * lyxfunc.C (getStatus): do not lose previous information when
1755 calling BufferView::getStatus; do not set a default "Command
1756 disabled" message at the beginning, but just before returning.
1758 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1760 * cursor.h (getStatus): add better comment from src/cursor.C
1762 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1764 * text3.C (getStatus): return false when the lfun is not handled
1766 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1768 * broken_headers.h: remove
1770 * Makefile.am (lyx_SOURCES): remove broken_headers.h
1772 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1774 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1775 offset_ref accessors
1777 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1778 top_y_, merge fitcursor with update
1779 (updateScrollbar, scrollDocView, fitCursor, center, update): new
1781 (metrics): introduce
1782 (workAreaDispatch): adapt to new coord scheme
1783 (redoCurrentBuffer): remove
1785 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1787 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1790 * coordcache.[Ch]: add paragraph cache and helpers
1792 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1795 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1796 (targetX, setTargetX): introduce
1798 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1799 baseline -> ascent, as the rest of lyx
1801 * lyxtext.h: remove redoParagraphs, updateParPositions,
1802 fullRebreak, redoParagraphInternal. move dist to anon namespace in
1803 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1804 have ascent/descent (ascent is ascent of first par)
1806 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1809 * paragraph.[Ch]: unify dimension handling with the rest of lyx
1811 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1813 * pariterator.C: fix infinite loop introduced in par->pit renaming
1815 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1816 in insets and LyXText, draw two off-screen paragraphs using
1817 NullPainter, and adapt to new coord scheme
1821 * text3.C: adapt lfun handlers to the new coord scheme, which
1822 means: there's only guaranteed coord information for onscreen pars
1823 plus one above and one below. This implies that one can do search
1824 from y coordinates in the range [-1,workHeight]
1826 2004-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1828 * rename a lot of InsetOld to InsetBase
1830 2004-11-25 Angus Leeming <leeming@lyx.org>
1832 * BufferView_pimpl.C:
1834 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1836 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1838 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1839 call BufferView::getStatus if LCursor::getStatus did nothing
1840 (setStatusMessage, getStatusMessage): removed.
1842 * FuncStatus.C (message): new methods. Used to provide an error
1843 message indicating why a command is disabled.
1844 (clear, |=, FuncStatus): update for message.
1846 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1848 * lyxfunc.C (dispatch): always call sendDispatchMessage
1850 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1853 * BufferView_pimpl.C:
1858 * cursor_slice.[Ch]:
1861 * paragraph_funcs.C:
1867 * undo.C: par->pit renaming
1869 2004-11-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1871 * tabular.C (cellstruct): use initialization, store a shared_ptr
1872 to insettext instead of the insettext directly, adjust to fit.
1873 (operator=): new function
1874 (swap): new function
1875 (rowstruct): use initialization
1876 (columnstruct): use initialization
1877 (ltType): use initialization
1880 * lyxlength.h (swap): new function
1882 * LColor.[Ch] (operator=): use the common semantics
1884 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1886 * lyxfind.C (findNextChange): update the bufferview after setting
1889 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1891 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1892 number of InsetOptArgs has already been inserted.
1894 * output_latex.C (latexOptArgInsets): new method. This outputs all
1895 the optarg insets, up to the limit defined in the layout file.
1896 (optArgInset): removed
1897 (TeXOnePar): call latexOptArgInsets; correctly update texrow
1899 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1901 * paragraph.C (isLetter): remove special spellchecker-related
1902 code; return true also for digits
1903 (isWord, isKomma): remove
1905 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1906 * lyxfind.C (MatchString()): use isLetter instead of isWord
1908 2004-11-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1910 * pariterator.h (operatir=): comment out un-implemented member
1913 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1916 2004-11-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1918 * lyxfont.h: include LColor.h to satisfy concept checks.
1920 2004-11-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1922 * pariterator.h: add typdefs for value_type, difference_type,
1923 pointer and reference to satisfy concept checks. Also add default
1924 constructor for same reason.
1926 * pariterator.C (operator++): add post-increment operator to
1927 satisfy concept checks.
1929 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1932 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1934 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1935 checks. Also rename base_type to BaseType to follow naming
1938 * FloatList.h: include Floating.h to satisfy concept checks.
1940 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1942 * lyxfunc.C (getStatus): when the origin of the request is menu or
1943 toolbar, and the LyXView does not have focus, do as if there was
1944 no buffer (bug 1720)
1946 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1947 FuncRequest to individual entries of LFUN_SEQUENCE
1949 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1951 * output_latex.C (TeXOnePar): override runparams.moving_arg
1952 according to the needprotect value of the current paragraph (bug
1955 * paragraph.C (simpleTeXOnePar): no need to override
1956 runparams.moving_args here
1958 2004-11-14 John Spray <spray_john@users.sourceforge.net>
1960 * vspace.C: fix off-by-one-error, related to fix #1682
1962 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1964 * lengthcommon.C: a more general fix for bug 1682
1966 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
1968 * text.C (backspace): fix crash
1970 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1972 * format.[Ch] (getFormatFromFile): new method
1973 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1975 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1977 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1979 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1981 * lyxfunc.C (dispatch): remove the verbose argument
1982 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1985 * kbmap.C (defkey): set the origin of func to KEYBOARD
1987 * MenuBackend.C (MenuItem):
1988 * ToolbarBackend.C (add): set the origin of func to UI
1990 * funcrequest.[Ch]: add origin member, which indicates which part
1991 of LyX requests an action
1993 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1995 * converter.C (move): don't lie in the error message
1996 * converter.h (isReachable, move): document
1998 2004-11-07 Lars Gullik Bjønnes <larsbj@gullik.net>
2000 * buffer.C: remove unused using lyx::support::atoi
2001 * paragraph_funcs.C: ditto
2003 2004-11-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2005 * bufferlist.C (exists): use bind and equal_to instead of
2008 * lyxtextclasslist.C (NumberOfClass): ditto
2010 * cursor.C (insert): use for_each instead of explicit for loop
2012 * bufferlist.C (getFileNames): use std::transform and
2013 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
2015 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
2018 * buffer.C (changeLanguage): use for_each instead of explicit for
2020 (hasParWithID): implement using getParFromID
2022 * LaTeXFeatures.C: ws change only
2024 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
2027 * BufferView_pimpl.C (trackChanges): use for_each instead of
2030 2004-11-04 André Pönitz <poenitz@gmx.net>
2033 * undo.C (textUndoOrRedo): fix crash when creating undo information.
2035 * dociterator.C (asDocIterator): use hard assert again.
2037 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2039 * lyxlength.C (asLatexString): rewrite so that it does not use
2042 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2044 * text3.C (specialChar, dispatch): make sure cursor moves to the
2045 right after inserting an inset
2047 2004-11-02 José Matos <jamatos@lyx.org>
2049 * output_docbook.C (docbook):
2050 * paragraph.C (getID):
2051 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
2052 garantee that the output is always legal.
2054 * tabular.C (docbook):
2055 * outputprams.[Ch]: remove mixed contents.
2057 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2059 * text2.C (setCounter): prevent endless loop
2061 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2063 * exporter.C (copyFile): use the mover instead of support::copy()
2064 * exporter.C (Export): pass format and latex name to copyFile()
2065 * exporter.h (addExternalFile): document
2066 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
2068 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2070 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
2072 2004-10-30 José Matos <jamatos@lyx.org>
2074 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
2075 text and no inset or font change. This allows to use CDATA
2076 sections just for the whole paragraph.
2078 2004-10-30 José Matos <jamatos@lyx.org>
2080 * paragraph.C (getFirstWord): remove unused variable.
2082 2004-10-30 José Matos <jamatos@lyx.org>
2084 * paragraph.C (getFirstWord): the content should always be escaped
2086 (simpleDocBookOnePar):
2087 * output_docbook.C (makeEnvironment): replace reference to CDATA
2090 2004-10-30 José Matos <jamatos@lyx.org>
2092 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
2094 2004-10-30 José Matos <jamatos@lyx.org>
2096 * output_docbook.C (makeParagraphs):
2097 * paragraph.[Ch] (emptyTag): for docbook and company, if the
2098 standard paragraph has only a given type of content drop the wrapper.
2100 2004-10-29 José Matos <jamatos@lyx.org>
2102 * output_docbook.C (makeEnvironment):
2104 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
2106 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
2108 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
2109 (cleanID): sanitize any id.
2111 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2113 * buffer.C, lyxlex_pimpl.C:
2114 * lyxlex_pimpl.C (setFile):
2115 s/getExtFromContents/getFormatFromContents/
2117 2004-10-28 José Matos <jamatos@lyx.org>
2119 * output_docbook.C (makeEnvironment): move id to broadest possible
2122 * sgml.C (openTag): apply substitution of <> for all attributes.
2124 2004-10-28 José Matos <jamatos@lyx.org>
2126 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2127 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2128 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
2130 * sgml.[Ch]: new version for open and closeTag for paragraph and
2131 for strings. Now they handle the ids of paragraphs.
2133 2004-10-26 Angus Leeming <leeming@lyx.org>
2135 * Makefile.am: add mover.[Ch].
2137 * converter.C (convert, move): use the new Movers to move external
2138 files to the temp directory.
2140 * lyx_main.C (init): ensure that the global system_movers data
2143 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
2146 * mover.[Ch]: new files, defining a Mover as a utility to move an
2147 external file between directories and, if necessary, manipulate this
2148 file using a helper script.
2150 2004-10-25 José Matos <jamatos@lyx.org>
2152 * output_docbook.C (makeCommand): merge two if's that tested the
2155 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2157 * sgml.C (escapeString): fix warning in a better way
2159 2004-10-25 José Matos <jamatos@lyx.org>
2161 * sgml.C (escapeString): import the require boosts header file for
2162 tie, and avoid a signed unsigned comparison.
2164 2004-10-25 José Matos <jamatos@lyx.org>
2166 * sgml.h: add #include <string>
2168 2004-10-25 José Matos <jamatos@lyx.org>
2170 * sgml.[Ch] (escapeString): new function to escape all the string.
2172 2004-10-24 José Matos <jamatos@lyx.org>
2174 * paragraph.[Ch] (getFirstWord): new function to get the first
2175 word. Useful for description.
2176 (simpleDocBookOnePar): remove depth argument, add another that
2177 says where to start the paragraph.
2179 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2180 use the new functions to fix cleanly the support for descriptions.
2182 2004-10-24 José Matos <jamatos@lyx.org>
2184 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2185 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2186 * output_linuxdoc.C (linuxdocParagraphs):
2187 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
2188 add buffer as argument.
2190 2004-10-24 José Matos <jamatos@lyx.org>
2192 * output_docbook.C (makeEnvironment, searchEnvironment): place
2193 CDATA inside paragraphs and fix scope for listitems.
2195 2004-10-24 José Matos <jamatos@lyx.org>
2197 * output_docbook.C: remove using statement for stack.
2199 2004-10-23 José Matos <jamatos@lyx.org>
2201 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
2202 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
2203 docbook. The new scheme is recursive and makes use of iterators, the
2204 same as latex export works.
2205 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
2206 directly with the paragraph contents. This code was moved up to
2207 output_docbook.C (docbookParagraphs).
2208 * sgml.C (openTag, closeTag): removed unneeded newlines.
2209 (closeEnvTags) removed.
2211 2004-10-23 André Pönitz <poenitz@gmx.net>
2213 * undo.C (textUndoOrRedo):
2214 * dociterator.C (asDocIterator): work around crash
2216 * cursor.C (getStatus): replace ASSERT by more verbose error message
2217 and manual correction of the problem. Should increase stability
2218 while providing more sensible information.
2220 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2222 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
2224 * bufferlist.C (previous, next): new methods
2227 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
2229 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
2231 * buffer.C (makeDocBookFile): add dsssl stylesheet control
2232 entities to preamble.
2234 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2236 * messages.C (Pimpl): strip off translation context information
2238 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2240 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
2241 the cursor is correct (bug 1694)
2243 2004-10-13 José Matos <jamatos@lyx.org>
2245 * output_docbook.C (docbookParagraphs): fix closing tags in the
2246 end of the document.
2248 2004-10-09 José Matos <jamatos@lyx.org>
2250 * buffer.C: format up to 237.
2251 * bufferparams.C (write): use tostr to convert booleans to strings.
2253 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
2255 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
2257 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2259 * LaTeX.C: implement use of babel language in xindy.
2261 2004-10-05 José Matos <jamatos@lyx.org>
2263 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2264 Add new translators to help reading and writing the lyx file.
2266 2004-10-05 José Matos <jamatos@lyx.org>
2268 * ParagraphParameters.C (read):
2269 * text.C (readParToken): replace nexToken by more appropriate lex
2272 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
2274 * LaTeX.C (runMakeIndex):
2275 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2276 (usually 'makeindex') configurable.
2278 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2279 with a variable rather than with a number.
2281 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2283 * output_latex.C (TeXOnePar): make sure font setting is the first
2284 thing that gets output (and the last at the end). Should fix bug
2287 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2289 * pch.h: use proper signal include
2291 * LaTeX.h: Use preferred calling of Boost.Signal
2294 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2296 * pch.h: dont include <boost/function/function0.hpp>
2298 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2300 * paragraph_pimpl.h: remove usage of ShareContainer
2302 * paragraph_pimpl.C: remove initialization of ShareContainer.
2304 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2308 * BufferView.C (putSelectionAt): change the semantics when
2309 backwards == true: now, this just swaps cursor and anchor wrt the
2312 * BufferView.h (putSelectionAt): add some documentation
2314 * lyxfind.C (findBackwards): rewrite using while(). In particular,
2315 make sure backwardChar is done at least once (to avoid getting
2317 (findNextChange): use putSelectionAt in the forward direction
2318 (operator()): use Paragraph::isWord
2320 2004-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2322 * Spacing.C (set): c_str fix
2324 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2326 * lyx_cb.C (Reconfigure): quote the name of configure script in
2327 case it contains spaces
2329 2004-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2333 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2334 (BOOST_LIBS): use top_buildir when looking for the file
2336 2004-08-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2338 * pch.h: do not use include boost/format.hpp, multiple symbols
2339 will result (gcc bug)
2342 2004-08-23 José Matos <jamatos@lyx.org>
2344 * bufferparams.C (readToken): fix reading of the author field.
2346 2004-08-20 José Matos <jamatos@lyx.org>
2348 * lyxrc.C: remove support/translator.h inclusion since it is not used.
2350 2004-08-20 José Matos <jamatos@lyx.org>
2352 * lyxlex.[Ch] (findToken): remove function.
2354 * ParagraphParameters.C (findToken):
2355 * bufferparams.C (findToken): replace call for previous function
2356 with local copy. This local function has one more argument, the
2357 read string argument.
2359 2004-08-16 José Matos <jamatos@lyx.org>
2361 * ParagraphParameters.C (write):
2362 * Spacing.C (writeFile):
2363 * bufferparams.C (writeLaTeX):
2364 * lyx_cb.C (Reconfigure):
2365 * paragraph.C (write):
2366 * tabular.C (write): remove unnecessary space at end of line.
2369 2004-08-16 José Matos <jamatos@lyx.org>
2371 * text.C (readParagraph): remove debug message.
2373 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2375 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2378 * output_plaintext.C (asciiParagraph): set depth correctly
2380 * outputparams.h: add member depth
2382 * paragraph_funcs.C (ownerPar): remove.
2384 * text2.C (setCounter): remove first_pit; comment out some
2385 non-working code that uses ownerPar
2387 * BufferView.C (getParentLanguage): remove. Not used anymore, and
2390 2004-08-16 José Matos <jamatos@lyx.org>
2392 * text.C (readParToken, readParagraph, read): report all unknown tokens.
2393 For the same level of importance use the same chanel to report problems.
2394 (read): add code to deal with \begin_body and \end_body.
2397 2004-08-15 José Matos <jamatos@lyx.org>
2399 * lyxlex.C (getString): fix comment, buffer::readBody is now
2400 buffer:readDocument.
2402 * tex-strings.C (string_papersize): Default -> default,
2403 Custom -> custom, for consistency with other options.
2405 2004-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2409 * Makefile.am: support pch
2411 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2413 * text.C (readParToken): remove the static LyXFont variable and
2414 pass it as a parameter instead. This fixes a nasty bug where an
2415 inset will be inserted with a bad font in some situations
2416 (readParagraph): adapt
2418 * text2.C (setCounter): reduce number of calls to pars_[pit]
2420 * text.C (singleWidth): add an assert, fix a test
2422 * rowpainter.C (paintText): reduce number of calls to singleWidth
2424 * paragraph.C (isHfill):
2425 (isNewline): ws only
2427 2004-08-14 André Pönitz <poenitz@gmx.net>
2432 * lyxtext.h (several functions): use a Paragraph & argument
2435 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2437 * metricsinfo.h: add a new field ltr_pos to PainterInfo
2439 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2441 * text.C (singleWidth): remove useless test
2443 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2445 * tabular.h: remove bogus comments
2447 * tabular.C (getDescentOfRow):
2448 (isPartOfMultiColumn): add assertions
2450 * lyxlength.C (inPixels): remove #warning
2452 2004-08-14 André Pönitz <poenitz@gmx.net>
2454 * paragraph.h: inline getChar()
2456 * BufferView.h: remove unused declarations
2458 2004-08-14 José Matos <jamatos@lyx.org>
2460 * Buffer.[Ch] (readDocument): new name for old readBody.
2461 * Buffer.C: new file format, new keywords: \begin_document,
2462 \begin_header, \begin_body, \end_body.
2464 * bufferparams.C (readToken): replace all calls to lex.nextToken
2465 by lex.next(). Do the same to eatLine except where really needed.
2467 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2468 line when writing to the lyx file.
2470 * output_plaintext.C (asciiParagraph): fix Bibliography style
2473 * text.C (read): fix end of file handling.
2475 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2477 * MenuBackend.C (Menu::operator[]): new method to access
2478 individual menu items
2479 (Menu::hasFunc): new method. search for an item that corresponds
2481 (MenuBackend::specialMenu): new method
2482 (MenuBackend::expand): if a special menu has been set, skip
2483 entries whose func() appears in this menu
2485 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2487 * text3.C: use Debug::DEBUG a bit more
2489 * text.C (leftMargin): try to simplify a tiny bit change var x to
2490 l_margin. Dont output the wide margins always.
2491 (rightMargin): no margin in inner texts
2493 * rowpainter.h (nestMargin): new func
2494 (changebarMargin): new func
2495 (rightMargin): new func
2497 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2501 * factory.C (createInset): modify setDrawFrame
2503 * cursor.C: use Debug::DEBUG a bit more
2505 2004-08-14 André Pönitz <poenitz@gmx.net>
2508 * Makefile.am: new files to accomodate an 'external' (x,y)-position
2509 cache for all insets in (at least partially) visible (top-level)
2512 * BufferView_pimpl.C: reset external coord cache before every update.
2513 This means the coord cache only contains valid entries.
2515 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2518 * BufferView_pimpl.C (getInsetByCode): move function out of class
2519 and change in to a template in anon namespace. Also fix to do what
2522 2004-08-13 Lars Gullik Bjønnes <larsbj@lyx.org>
2525 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2527 (breakParagraph): rename par to par_offset and use a local
2528 reference. Add code to keep the language over a rebreak.
2529 (breakParagraphConservative): rename par to par_offset, use a
2531 (mergeParagraph): ditto
2533 (isFirstInSequence): ditto
2534 (outerFont): rename pit to par_offset
2536 * paragraph.C: ws change
2537 * paragraph.h: ditto
2541 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2543 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2546 * paragraph.C (simpleTeXOnePar): when we have a \item with
2547 optional argument, enclose the argument with curly brackets (in
2548 case it contains a closing square bracket)
2552 * text3.C (checkInsetHit): constify
2554 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2556 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2557 documents (bug 1629)
2559 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2561 Fix toggling of collapsable insets with the mouse (bug 1558)
2563 * lyxfunc.C (dispatch): adapt to LCursor changes
2565 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2566 make sure that dispatch is not invoked twice
2568 * cursor.C (needsUpdate): new method
2569 (dispatch): return void
2570 (result): new method, to access the DispatchResult of the cursor.
2572 2004-08-13 José Matos <jamatos@lyx.org>
2574 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2576 2004-08-13 André Pönitz <poenitz@gmx.net>
2578 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2580 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2583 2004-08-12 André Pönitz <poenitz@gmx.net>
2585 * text3.C: take out the 'cursor right' form insertInset and only
2586 do it in those places when it is really needed. Fixes crash on
2589 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2591 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2593 * BufferView_pimpl.C (setBuffer): initialize the current font of
2594 the underlying LyXText
2596 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2598 * kbsequence.C (print): use UI native formatting for menu
2601 * text.C (insertChar): call Paragraph::insertChar with a font
2604 * paragraph.C (insertInset, insertChar): the version that takes a
2605 LyXFont argument is now a wrapper around the other one (the
2606 opposite used to be true).
2608 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2609 argument. Font setting is done in Paragraph now.
2611 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2613 * outputparams.h: add new members intitle and lang.
2615 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2616 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2618 2004-08-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2620 * text3.C (dispatch): remove special handling of button 4 and 5,
2621 it is now taken care of in the frontend code.
2623 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2625 * Spacing.h: add <string> (STLPort compile fix)
2627 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2629 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2631 2004-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2633 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2636 * converter.C (showMessage): inherit from unary_function, make
2639 * buffer.C (writeFile): initialize retval
2641 * InsetList.h: rename private variable list to list_
2642 * InsetList.[Ch]: adjust accordingly.
2644 2004-07-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2646 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2647 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2648 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2649 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2650 * ParagraphParameters.C, LaTeXFeatures.C: replace
2651 "support/std_sstream.h" with <sstream>
2653 2004-07-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2655 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2656 * lyxsocket.C (LyXServerSocket): ditto
2657 (serverCallback): ditto
2659 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2661 * LaTeXFeatures.C: check release date when loading jurabib.
2663 2004-07-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2665 * lyxserver.C (startPipe): call register_socket_callback
2666 (endPipe): call unregister_socket_callback
2668 2004-07-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2670 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2671 (LyXServerSocket): register the callback
2672 (LyXServerSocket): unregister the callback
2673 (fd): delete function
2674 (serverCallback): improve error checking and setup the callbacks.
2675 (dataCallback): change arg to fd.
2676 (writeln): new func (copied fro the client socket) used for server
2678 (LyXDataSocket): simplify
2679 (~LyXDataSocket): close ann unregiser callback
2680 (server): delete function
2681 (fd): delete function
2682 (readln): small changes, improve some std::string usage
2683 (writeln): constify a bit
2685 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2687 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2690 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2692 * BufferView_pimpl.C (setBuffer): set the layout combox value only
2693 after it has been populated
2695 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2697 * text2.C (insertInset): move cursor when inserting inset.
2699 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2701 * kbmap.C (findbindings): a couple of new methods. returns a
2702 container of kb_sequence objects. The real work is done by the
2703 private recursive version
2704 (printbindings): uses findbindings to print out a bracketed list
2705 of bindings (renamed from findbinding).
2707 * MenuBackend.C (binding): use kb_keymap::findbindings
2709 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2711 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2713 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2715 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2717 * paragraph.C (isWord): return true on insets that report
2720 * text.C (getWord): use Paragraph::isWord to decide what is in a
2721 word and what is not; fix bug 1609.
2723 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2725 * tex-strings.C: add "none" to string_paperpackages[], fixes
2726 off-by-one-error in the paperpackage selection.
2729 * tex-strings.[Ch]: char const * string[n]
2730 -> char const * const string[]
2732 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2734 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2735 command, return early.
2737 2004-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
2739 * debug.h: add DEBUG to enum and fix size of ANY.
2741 * debug.C: add support for Debug::DEBUG
2742 (showTags): cast errorTags.level to unsigned int
2744 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2745 (redoCurrentBuffer): ditto
2746 (updateScrollbar): ditto
2747 * cursor.C (dispatch): ditto
2748 * text2.C (setLayout): ditto
2750 (updateCounters): ditto
2752 (deleteEmptyParagraphMechanism): ditto
2754 2004-06-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2756 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2757 annotations to cleanup the Makefile slightly.
2759 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2761 * lyxrc.C: do not set user_email to a default value but use empty
2762 instead. The entry used to be translated, which does not work
2763 since at the point where lyxrc is constructed there is no
2764 translation service available
2766 * messages.C (getLocaleDir): remove and use directly
2767 lyx_localedir() instead
2769 2004-06-02 Angus Leeming <leeming@lyx.org>
2771 Fix crash caused by dereferencing null pointer 'exportdata' in
2772 OutputParams by creating a new ExportData variable on the heap,
2773 storing it in a boost::shared_ptr.
2774 The crash was triggered when generating an Instant Preview
2775 of an external inset.
2777 * Makefile.am: add outputparams.C
2779 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2780 (c-tor): allocate memory to it.
2782 * exporter.C (c-tor): associated changes.
2784 2004-06-01 Angus Leeming <leeming@lyx.org>
2786 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2787 contains data before calling isInset(0). (Bug 1513.)
2789 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2791 * exporter.C (checkOverwrite): new method
2792 * exporter.C (copyFile): new method
2793 * exporter.C (Export): copy referenced files to the document dir
2794 * exporter.[Ch]: new class ExportedFile
2795 * exporter.[Ch]: new class ExportData. Contains currently the
2796 names of referenced external files
2797 * outputparams.h: add exportdata member.
2799 2004-05-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2801 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2804 2004-05-19 Angus Leeming <leeming@lyx.org>
2809 * lyxfunc.C: small changes due to the introduction of namespace
2810 lyx::frontend and the moving of namespace biblio to lyx::biblio.
2812 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
2814 * text3.C (dispatch): supress update when only moving the cursor
2815 * cursor.C (selHandle): remove commented code
2817 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2819 * paragraph.C (startTeXParParams): correct column count
2820 * CutAndPaste.C (pasteSelection): remove const_cast
2821 * output_docbook.C (docbookParagraphs): remove const_cast
2822 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2823 const_cast and return ParagraphList::const_iterator
2824 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2825 * output_plaintext.C (writeFileAscii): remove const_cast
2826 * paragraph.[Ch] (simpleTeXOnePar): make const
2827 * paragraph_funcs.C (outerPar): use const iterators
2828 * paragraph_pimpl.C (validate): use const iterators
2829 * text.C (setHeightOfRow): use const iterators
2831 2004-05-17 Angus Leeming <leeming@lyx.org>
2834 * LyXAction.C (init): new LFUN_INSET_REFRESH.
2836 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2837 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2838 if the citation engine has changed.
2840 2004-05-14 José Matos <jamatos@lyx.org>
2842 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2843 if the textclass does not provide it. Have it different for sgml and
2845 support the language of document.
2846 * output_docbook.C (docbookParagraphs):
2847 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2848 first anchor as the id of the paragraph, remove special case code.
2849 * sgml.C (escapeChar): escape only < & >.
2851 2004-05-14 Angus Leeming <leeming@lyx.org>
2853 * bufferparams.h: move biblio::CiteEngine enum here to minimize
2854 dependencies on src/frontends/controllers/biblio.h. Define a
2855 CiteEngine_enum wrapper class to enable the enum to be forward
2858 2004-05-12 Angus Leeming <leeming@lyx.org>
2860 * buffer.C: up LYX_FORMAT to 234.
2861 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2862 use_numerical_citations with a single biblio::CiteEngine cite_engine
2864 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2866 2004-05-13 José Matos <jamatos@lyx.org>
2869 * converter.C (Converter, readFlags): add xml member.
2870 * outputparams.h: add XML flavor.
2871 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2873 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2875 * lyxfunc.C (dispatch):
2876 (getStatus): fix handling of LFUN_SEQUENCE
2878 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2880 * debug.C (showLevel): do not forget the end-of-line marker
2882 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2884 * kbmap.C (read): do not stop parsing a bind file when an error
2887 2004-04-29 Angus Leeming <leeming@lyx.org>
2892 * text2.C: wrap a bunch of #warning statements
2893 inside #ifdef WITH_WARNINGS blocks.
2895 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2897 * buffer.C: increment format to 233.
2899 2004-04-28 Angus Leeming <leeming@lyx.org>
2901 * BufferView_pimpl.C:
2904 s/updateToolbar()/updateToolbars()/
2905 s/Toolbar.h/Toolbars.h/
2907 2004-04-28 Angus Leeming <leeming@lyx.org>
2909 * BufferView.[Ch] (c-tor):
2910 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2911 No longer passes these data to the WorkArea generator.
2913 2004-04-28 Angus Leeming <leeming@lyx.org>
2915 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2917 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2919 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2921 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2923 * output_latex.C (TeXEnvironment): make sure that there is a line
2924 break before \end{foo} for the last paragraph of a document
2925 (TeXOnePar): if the paragraph is at the end of the document (or
2926 inset) and the language has to be reset, then make sure that the
2927 line break is _before_ the language command, not after (fixes bug
2928 1225); also make sure that the language reset command is the first
2929 thing after the paragraph (to ensure proper nesting of
2930 environments and thus fix bug 1404)
2932 2004-04-21 John Levon <levon@movementarian.org>
2935 * ToolbarBackend.C: make "name" be a programmatic name
2936 and a gui_name field.
2938 * lyxfunc.C: display the minibuffer on M-x
2940 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2942 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
2945 2004-04-19 Angus Leeming <leeming@lyx.org>
2947 * BufferView_pimpl.C (setBuffer): changed preview interface.
2949 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2952 2004-04-19 John Levon <levon@movementarian.org>
2954 * BufferView_pimpl.C:
2955 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2957 2004-04-05 Angus Leeming <leeming@lyx.org>
2959 * text.C (redoParagraphs): add call to updateCounters(), thereby
2960 fixing the missing "Figure #:" label from the caption of a
2963 2004-04-13 Angus Leeming <leeming@lyx.org>
2965 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2966 cursor is clicked out of an inset.
2968 2004-04-13 Angus Leeming <leeming@lyx.org>
2970 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2971 than an InsetOld one.
2973 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2975 * format.[Ch]: add editor to Format
2976 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2977 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2979 2004-04-08 André Pönitz <poenitz@gmx.net>
2981 * metricsinfo.h: remove PainterInfo::width member
2983 2004-04-08 Angus Leeming <leeming@lyx.org>
2985 * lyx_sty.C (boldsymbol_def): modify so that it outputs
2986 "\providecommand" rather than "\newcommand", thereby preventing
2987 clashes with packages that define "\boldsymbol" themselves.
2990 2004-04-08 Angus Leeming <leeming@lyx.org>
2992 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2993 thereby squashing an unnecessary warning.
2995 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2997 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
3000 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
3002 * BufferView.C (setCursor): call redoParagraph (some insets could
3004 (putSelectionAt): remove the 'double update' trick
3006 * BufferView_pimpl.C (fitCursor): call refreshPar
3007 (workAreaDispatch): remove an uneeded update call
3008 (dispatch): remove some manual update calls
3010 * cursor.[Ch]: remove cached_y_, updatePos
3011 (selHandle): set noUpdate when appropriate
3013 * lyxfunc.C (dispatch): track if we need an update
3015 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
3017 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
3018 (paintSelection): cheap optimization, do not call cursorX when not
3020 (paintPars): change signature
3023 (paintTextInset): adjust
3027 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3029 * lengthcommon.C: compilation fix: remove explicit array size from
3030 unit_name[] and friends
3032 2004-04-05 Angus Leeming <leeming@lyx.org>
3034 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
3036 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
3037 present only for the preferences dialog.
3038 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
3040 2004-04-05 Angus Leeming <leeming@lyx.org>
3042 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
3043 to enable the frontends to export changes to lyxrc correctly.
3045 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
3047 2004-04-07 André Pönitz <poenitz@gmx.net>
3049 * cursor.[Ch] (selClear, adjust): remove math
3051 * cursor_slice.C: more agressive assert
3054 * BufferView_pimpl.C: rework mouse event dispatch
3061 2004-04-05 André Pönitz <poenitz@gmx.net>
3063 * cursor.[Ch] (valign, halign...): remove unneeded functions
3065 2004-04-05 Angus Leeming <leeming@lyx.org>
3067 * lyxlength.[Ch] (unit_name et al.): const-correct.
3069 2004-04-05 Angus Leeming <leeming@lyx.org>
3071 * BufferView_pimpl.C:
3080 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
3082 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3084 * text3.C (getStatus): add LFUN_BEGINNINGBUF
3086 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3088 * lyxfind.C: add a couple of inTexted() tests + other small fixes
3089 * BufferView_pimpl.[Ch] (getStatus)
3090 * BufferView.[Ch] (getStatus): add
3091 * lyxfunc.C (getStatus): move lfuns handled in
3092 BufferView::dispatch to te function above
3093 * Cursor.C (setSelection): set selection() = true
3095 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3097 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
3099 2004-03-31 Angus Leeming <leeming@lyx.org>
3101 * lyxfunc.C (dispatch): Fall through to the generic
3102 Dialogs::show("preamble").
3104 2004-03-31 Angus Leeming <leeming@lyx.org>
3106 * lyxfunc.C (dispatch): Fall through to the generic
3107 Dialogs::show("spellchecker").
3109 2004-03-31 Angus Leeming <leeming@lyx.org>
3111 * lyxfunc.C (getStatus, dispatch): changed invocation of the
3114 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
3119 * insetiterator.[Ch]:
3124 * undo.[Ch]: s/DocumentIterator/DocIterator/g
3126 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
3128 * BufferView.C (setCursor, putSelectionAt): call edit to open the
3129 insets where we are putting the cursor.
3131 2004-03-31 Angus Leeming <leeming@lyx.org>
3134 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
3136 * lyxrc.[Ch] (read, write): overloaded member functions taking
3137 a std::[io]stream arguments.
3139 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
3141 2004-03-31 Angus Leeming <leeming@lyx.org>
3143 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
3144 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
3146 * lyxtextclass.C (load): if the text class couldn't be loaded, then
3147 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
3149 2004-03-31 Angus Leeming <leeming@lyx.org>
3151 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
3152 the LFUN_ALL_INSETS_TOGGLE code.
3154 2004-03-30 Angus Leeming <leeming@lyx.org>
3156 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
3157 has died. Fall through to the generic Dialogs::show("document").
3159 2004-03-30 Angus Leeming <leeming@lyx.org>
3162 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
3163 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
3165 * lyxfunc.C (getStatus, dispatch): define the actions for these
3166 lfuns. Little more than a cut and pste job from ControlDocument.C
3168 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
3170 2004-03-30 Angus Leeming <leeming@lyx.org>
3173 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
3174 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
3176 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
3177 open/closed state of ollapsable insets. Usage:
3179 all-inset-toggle <state> <name>, where
3180 <state> == "open" || "closed" || "toggle" and
3181 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
3183 * lyxtext.h, text2.C (toggleInset): removed.
3185 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
3186 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
3187 now passes LFUN_INSET_TOGGLE to the found inset.
3189 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
3190 is now invoked as "all-insets-toggle toggle branch".
3192 2004-03-30 Angus Leeming <leeming@lyx.org>
3196 * pariterator.[Ch]: added/corrected header blurb.
3198 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
3200 * dociterator.[Ch]: add an inset_ member
3201 (backwardPos): implemented
3202 (backwardPos, forwardPos): use inset_ when the stack is empty.
3203 (doc_iterator_begin, doc_iterator_end): implemented
3204 * pariterator.[Ch]: adjust, add begin, end
3205 * insetiterator.[Ch]: adjust, add begin, end
3209 * BufferView_pimpl.C:
3210 * CutAndPaste.C: adjust
3212 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3214 * buffer.C: increment file format to 232.
3215 * LaTeXFeatures.C: add bibtopic package.
3216 * bufferparams.[Ch]: param \use_bibtopic.
3218 * lyxrc.[Ch]: add lyxrc bibtex_command
3219 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
3221 * buffer.C: increment file format to 231.
3223 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
3225 * dociterator.C: implement forwardPar
3226 * iterators.[Ch]: remove, replaced by
3227 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
3229 * BufferView_pimpl.C:
3232 * bufferview_funcs.C:
3238 * Makefile.am: adjust
3240 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
3242 * CutAndPaste.C (pasteSelection): fix 2 crashes
3243 (eraseSelection): fix a crash
3244 * paragraph_funcs.C: remove a warning
3246 2004-03-28 Angus Leeming <leeming@lyx.org>
3249 * LyXAction.C (init): new LFUN_PRINT.
3251 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
3253 2004-03-27 Angus Leeming <leeming@lyx.org>
3256 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
3258 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
3260 2004-03-27 Angus Leeming <leeming@lyx.org>
3262 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
3263 insetlist always contains non-null pointers to insets.
3265 2004-03-26 Angus Leeming <leeming@lyx.org>
3267 * src/BufferView_pimpl.C:
3268 * src/CutAndPaste.C:
3271 * src/output_plaintext.C:
3272 * src/outputparams.h:
3273 * src/paragraph_funcs.C:
3277 * src/frontends/controllers/ControlErrorList.C:
3278 * src/frontends/gtk/FileDialogPrivate.C:
3279 * src/frontends/gtk/GPainter.C:
3280 * src/frontends/gtk/GToolbar.C:
3281 * src/frontends/qt2/QRef.C:
3282 * src/mathed/math_scriptinset.C: squash compiler warnings.
3284 2004-03-26 Angus Leeming <leeming@lyx.org>
3286 * ispell.C (LaunchIspell::start):
3287 * lyx_cb.C (AutoSaveBuffer::start):
3288 invoke run(DontWait) rather than runNonBlocking().
3290 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
3292 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3294 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3296 * kbsequence.C (print): adjust
3298 * kbmap.C (printKeySym): rename and change signature
3299 (printKey): use LyXKeySym::print()
3301 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
3303 * undo.C: add using std::advance to compile for stlport
3305 2004-03-24 Angus Leeming <leeming@lyx.org>
3307 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3308 it leads to a crash when no buffer is present.
3310 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3311 Martin Vermeer <martin.vermeer@hut.fi>
3313 * lyxfunc.C (dispatch):
3314 * bufferparams.C (readToken): use the new LColor::setColor
3316 * LColor.[Ch] (setColor): new version that takes two strings as
3317 argument and creates a new color entry if necessary
3319 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3321 * buffer.C (makeLaTeXFile): if the main latex file that is
3322 processed is usually a subdocument of some master, then pretend
3323 for a while that it is actually the master
3325 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3327 * buffer.C (getLabelList):
3328 (getBibkeyList): use getMasterBuffer()
3329 (getMasterBuffer): new method. Returns the main document in the
3330 case where one is using included documents.
3332 2004-03-25 André Pönitz <poenitz@gmx.net>
3336 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3338 * ParagraphList_fwd.h: change ParagraphList to a std::vector
3340 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3341 text*.C over here. Rename namespace CutAndPaste to lyx::cap
3343 * ParameterStruct.h: merge with ParagraphParameters
3345 * lyxtext.h: remove LyXText::parOffset() and getPar()
3347 * text3.C: Remove all 'manual' update calls. We do now one per user
3348 interaction which is completely sufficient.
3352 * BufferView_pimpl.C:
3353 * FontIterator.[Ch]:
3355 * ParagraphParameters.[Ch]:
3360 * cursor_slice.[Ch]:
3367 * output_docbook.[Ch]:
3368 * output_latex.[Ch]:
3369 * output_linuxdoc.[Ch]:
3370 * output_plaintext.[Ch]:
3372 * paragraph_funcs.[Ch]:
3373 * paragraph_pimpl.[Ch]:
3381 * frontends/controllers/ControlDocument.C:
3382 * frontends/controllers/ControlErrorList.C:
3383 * frontends/controllers/ControlSpellchecker.C:
3386 * insets/insetbase.h:
3387 * insets/insetbibitem.C:
3388 * insets/insetbox.C:
3389 * insets/insetbranch.C:
3390 * insets/insetcaption.C:
3391 * insets/insetcharstyle.C:
3392 * insets/insetcharstyle.h:
3393 * insets/insetcollapsable.C:
3394 * insets/insetcollapsable.h:
3395 * insets/insetert.C:
3396 * insets/insetfloat.C:
3397 * insets/insetfoot.C:
3398 * insets/insetmarginal.C:
3399 * insets/insetnote.C:
3400 * insets/insetoptarg.C:
3401 * insets/insettabular.C:
3402 * insets/insettext.C:
3403 * insets/insettext.h:
3404 * insets/insetwrap.C:
3405 * mathed/math_mboxinset.C:
3406 * mathed/math_nestinset.C:
3407 * mathed/math_scriptinset.C:
3408 * mathed/math_scriptinset.h:
3411 2004-03-24 Angus Leeming <leeming@lyx.org>
3413 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3414 deal with any child processes that have finished but are waiting to
3415 communicate this fact to the rest of LyX.
3417 2004-03-24 Angus Leeming <leeming@lyx.org>
3419 64-bit compile fixes.
3421 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3422 (c-tor): pass lyx::pos_types rather than ints.
3424 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3427 * text.C (Delete): compile fix.
3428 (getPar): ensure that function declaration is the same as that in
3431 2004-03-23 Angus Leeming <leeming@lyx.org>
3433 * ispell.C (LaunchIspell):
3434 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3435 a boost::shred_ptr rather than a std::auto_ptr.
3437 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3439 * lyxfunc.C (getStatus): handle read-only buffers correctly;
3440 handle LFUN_FILE_INSERT_*
3442 * lyxrc.C (setDefaults, getDescription, output, read):
3443 * lyxrc.h: remove ps_command
3445 2004-03-22 Angus Leeming <leeming@lyx.org>
3447 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3448 Ensure that error_handler is processed once only and that all data
3449 is saved before attempting to output any warning messages.
3451 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3453 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
3455 * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3457 2004-03-19 André Pönitz <poenitz@gmx.net>
3459 * cursor.[Ch] (reset): take main text inset as argument
3461 * BufferView: adjust
3462 * BufferView_pimpl.C: adjust
3464 * paragraph.[Ch]: fix completely broken operator=()
3466 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3468 * LColor.C (getFromLyXName): make sure that the color name is used
3471 2004-03-17 Angus Leeming <leeming@lyx.org>
3474 * LyXAction.C (init): remove LFUN_FORKS_KILL.
3476 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3477 dialog and to kill a forked process.
3479 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3481 * text2.C (setCursorFromCoordinates): fix font problem
3483 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3485 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3486 bogus "rebuild cursor" code
3488 2004-03-11 André Pönitz <poenitz@gmx.net>
3490 * buffer.[Ch]: use InsetText instead of LyXText as container for
3493 * dociterator.[Ch]: drop the BufferView * member which is not needed
3494 anymore after the change to buffer.C
3496 * paragraph_funcs.C:
3500 * BufferView_pimpl.[Ch]:
3502 * cursor_slice.[Ch]: adjust
3504 * text3.C: fix bug in mathDispatch
3506 2004-03-08 André Pönitz <poenitz@gmx.net>
3508 * undo.[Ch]: use 'StableDocumentIterator' as base for
3511 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3514 * bufferparams.[Ch]: add jurabib support and param.
3516 * LaTeX.C: add FIXME/comment.
3518 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3520 * buffer.C: increment file format to 230.
3522 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
3524 * cursor.C (dispatch): avoid infinite loops
3526 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3528 * rowpainter.C (paintSelection): fix x coordinates
3530 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3532 * text.C (rowBreakPoint): fix breaking before displayed insets
3534 2004-03-01 André Pönitz <poenitz@gmx.net>
3536 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3538 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3542 * BufferView_pimpl.C:
3550 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3556 * BufferView_pimpl.C: rename textwidth -> maxwidth,
3557 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3559 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3561 * Bidi.[Ch] (computeTables): const correctness
3562 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3563 fill_hfill, fill_label_hfill and x from Row
3564 * lyxtext.h: prepareToPrint returns a RowMetrics
3565 * rowPainter.C: adjust
3566 * text.C (prepareToPrint): use width, not textWidth. adjust
3567 (redoParagraphInternal, cursorX): adjust
3568 * text2.C (getColumnNearX): adjust
3569 (init): put a default value to the top LyXText::width
3571 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3573 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3575 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3577 * lyxtext.h: add FontIterator class
3579 * text.C (FontIterator, operator*, operator->, operator++): add
3580 (rowBreakPoint, setRowWidth): adjust (fixing a
3583 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3585 * BufferView_pimpl.C (workAreaDispatch): allow also
3586 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3588 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
3590 * text.C (rowBreakPoint): fix a bug showing with very large insets
3592 2004-02-25 André Pönitz <poenitz@gmx.net>
3595 * cursor.[Ch]: move some mathed specific code to mathed
3597 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3599 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3600 use_tempdir in preferences
3601 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3603 * lyx_main.C: ensure that tempdir is valid
3604 * lyxlex.h: correct typo
3605 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3606 * paragraph.[Ch] (isMultiLingual): make const
3607 * cursor.[Ch] (openable): make const
3609 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3611 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3613 2004-02-20 André Pönitz <poenitz@gmx.net>
3615 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3617 * cursor.[Ch]: prepare for localized getStatus()
3623 * text3.C: streamlines the LyXText cursor movement handlers a bit.
3625 2004-02-20 André Pönitz <poenitz@gmx.net>
3627 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3629 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3631 * text2.C (setCursorFromCoordinates): switch to absolute coords
3633 (cursorDown): adjust
3634 * text3.C (dispatch): adjust
3636 2004-02-16 André Pönitz <poenitz@gmx.net>
3638 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3641 * cursor_slice.[Ch]: remove unneeded acessor function
3643 * lyxtext.h: rename rtl() to isRTL()
3651 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3653 * rowpainter.C (paintSelection): coord fix
3655 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3657 * Spacing.C: compile fix
3659 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3661 * cursor.C (dispatch): restore current_ before returning
3663 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3665 * text2.C (cursorUp, cursorDown): fix coords
3668 2004-02-12 André Pönitz <poenitz@gmx.net>
3673 * text3.C: add LCursor & parameter to most cursor movement functions
3674 remove usage of LyXText::cursorRow() and cursorPar()
3676 * cursor.[Ch]: add textRow() needed members
3679 * BufferView_pimpl.C:
3682 * BufferView_pimpl.C: adjust
3684 2004-02-11 André Pönitz <poenitz@gmx.net>
3688 * BufferView_pimpl.C: shift undo/redo handling
3690 * cursor.[Ch]: fix mathed crash
3693 * lyxtext.h: move selectionAsText to LCursor
3701 * rowpainter.C: fix excessive drawing
3703 2004-02-06 André Pönitz <poenitz@gmx.net>
3706 * BufferView_pimpl.[Ch]:
3707 * text3.C: move some text specific LFUN handling
3709 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
3711 * text3.C (checkInsetHit): adjust coords
3712 * text2.C (getColumnNearX): adjust coords
3713 (edit): adjust coords
3714 * text.C (getRowNearY): add two asserts
3716 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
3719 * format.C: add using std::distance to compile on gcc 2.95/stlport
3721 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
3723 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3725 2004-02-04 André Pönitz <poenitz@gmx.net>
3727 * BufferView.[Ch] (insertInset):
3728 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3733 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3735 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3736 on the default clause of the switch
3737 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3738 wasn't catched by LCursor::dispatch
3740 2004-02-03 André Pönitz <poenitz@gmx.net>
3743 * cursor.[Ch]: some additional asserts
3745 * undo.[Ch]: remove LyXText dependency in interface
3749 * lyxtext.h (firstPar, lastPar): remove dead functions
3754 * paragraph.[Ch]: adjust
3756 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3758 * lyxfind.C (find): fix argument order in call to ::find
3760 2004-02-02 André Pönitz <poenitz@gmx.net>
3762 * cursor.[Ch]: remove direct access to anchor
3764 * text.C: remove findText() hack
3766 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3768 * iterators.[Ch] (lockPath): remove in favour of...
3769 * BufferView.[Ch] (setCursor): this addition
3770 * BufferView.C (putSelectionAt): adjust
3771 * undo.C (performUndoOrRedo): adjust
3772 * lyxfunc.C (dispatch): adjust
3774 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3776 * iterators.C (lockPath): add a missing slice
3777 * undo.C (performUndoOrRedo): remove redundant positioning code
3779 2004-02-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3781 * vc-backend.C (scanMaster): ";" -> ';'
3783 2004-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
3785 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3786 std::binary_function
3788 * lyxtextclass.C (compare_name): rename to...
3789 (LayoutNamesEqual): ...this
3791 * lyxlex_pimpl.C (compare_tags): inherit from
3792 std::binary_function, put back into anon namespace
3794 * lyxfind.C (MatchString): inherig from std::binary_function
3795 (findChange): use empty() istead of !size()
3797 * format.C (FormatNamesEqual): new functor
3804 * converter.C (compare_Converter): rename to...
3805 (ConverterEqual): ...this, and fixup a bit.
3806 (getConverter): use it, and make function const
3807 (getNumber): use it, and make function const
3811 * bufferlist.C: add using boost::bind
3813 * MenuBackend.C (MenuNamesEqual): new functor
3814 (hasMenu): use it, and make function const
3815 (hasSubmenu): use nested bind to get rid of compare_memfun.
3817 2004-01-30 André Pönitz <poenitz@gmx.net>
3819 * BufferView_pimpl.C:
3822 * cursor_slice.[Ch]:
3825 * paragraph_funcs.C:
3826 * paragraph_funcs.h:
3830 * text3.C: move some of the edit(x,y) handling to the insets
3831 some coordinate changes.
3833 2004-01-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3835 * text.C: add using statements for std::advance and std::distance
3837 * paragraph.C: add using statement for std::distance
3839 * lyxfind.C: add using statement for std::advance
3841 * cursor.C (region): remove std:: from swap
3842 (openable): use nucleus in stead of operator->
3844 * BufferView.C: add using statements for std::distance and std::swap
3846 2004-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3848 * iterators.C: Remove the pimple, move the needed structures to
3849 the header file. Create accessor for the positions stack.
3850 (asPosIterator): remove function
3852 * PosIterator.C (PosIterator): move constructors to top of file
3853 (PosIterator): reimplement the constructor taking a ParIterator in
3855 (setFrom): new function
3856 (operator!=): inline it
3858 2004-01-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3860 * lyxfind.C (replaceAll): use std::advance
3862 * iterators.h: inherit from std::iterator.
3864 * PosIterator.C (advance, distance): remove
3865 * PosIterator.h: interit from std::iterator.
3867 2004-01-26 André Pönitz <poenitz@gmx.net>
3870 * BufferView_pimpl.[Ch]:
3874 * bufferview_funcs.C:
3884 * output_linuxdoc.C:
3885 * output_plaintext.C:
3887 * paragraph_funcs.[Ch]:
3888 * paragraph_pimpl.[Ch]:
3894 * text3.C: more IU: dumps most of the rest of the mathcursor
3895 implementation into cursor.[Ch]; "globalize" a bit of it.
3897 2004-01-25 Angus Leeming <leeming@lyx.org>
3899 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3901 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3903 * LaTeXFeatures.h: add nice_ and nice() const
3904 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3906 2004-01-20 André Pönitz <poenitz@gmx.net>
3909 * BufferView_pimpl.C:
3911 * bufferview_funcs.C:
3913 * cursor_slice.[Ch]:
3924 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3925 LCursor and mathcursor parts to LCursor and InsetBase.
3927 2004-01-15 André Pönitz <poenitz@gmx.net>
3929 * cursor_slice.[Ch]: add a few covienience functions
3931 * funcrequest.[Ch]: remove BufferView * member
3933 * BufferView_pimpl.C:
3940 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
3942 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
3944 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
3945 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3947 2004-01-13 André Pönitz <poenitz@gmx.net>
3950 * lyxtext.h: hide cursor and selection anchor behind accessor function
3953 * BufferView_pimpl.[Ch]:
3955 * bufferview_funcs.C:
3965 * cursor_slice.[Ch]: some integer type changes for inset unification
3967 * lyxcursor.[hC]: remove, it's CursorSlice now.
3970 * BufferView_pimpl.[Ch]:
3971 * bufferview_funcs.C:
3977 * textcursor.[Ch]: adjust
3979 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
3981 * text2.C (undoSpan): add and use
3982 * text.C (breakParagraph): use undoSpan (fix bug 578)
3985 2004-01-08 Angus Leeming <leeming@lyx.org>
3987 * BufferView_pimpl.C (MenuInsertLyXFile):
3988 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3989 * lyxfunc.C (menuNew, open, doImport):
3990 FileFilterList change to the FileDialog open and save functions.
3992 2004-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
3994 * ShareContainer.h: make isEqual and isUnique adaptable
3996 * CutAndPaste.C: make resetOwnerAndChanges adaptable
3998 2004-01-07 Angus Leeming <leeming@lyx.org>
4001 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
4003 * BufferView_pimpl.C (dispatch): act on these LFUNs.
4005 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
4006 functions replacing find, replace and replaceAll.
4008 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
4009 LFUN_WORDFIND(FORWARD|BACKWARD).
4011 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
4013 * text.C (breakParagraph): remove an outdated #warning
4015 2004-01-07 André Pönitz <poenitz@gmx.net>
4017 * lyxfind.C: somewhat clearer logic
4019 * text.C: prevent crash in cursorX on unitialized row cache
4021 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
4023 * lyxcursor.[Ch] (operator>): add
4024 * textcursor.C (selStart, selEnd): use std::min and std::max
4026 2004-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4028 * Chktex.C: include boost/format.hpp
4030 2004-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
4032 * InsetList.C: replace functor MathcIt with adaptable functor
4034 (insetIterator): modify accordingly
4036 * BranchList.h: move the BranchNamesEqual functor here from...
4037 * BranchList.C: ... to here
4039 * BranchList.C: new BranchListEqual fuctor, use it. Remove
4041 (add): replace a finding loop with std::find_if.
4043 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
4045 * output_docbook.C: moving LatexParam functionality into
4048 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4050 * buffer.C: increment format to 229.
4052 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
4055 * lyx_sty.[Ch]: remove minipageindent_def
4061 * text3.C: remove LFUN_INSET_MINIPAGE
4063 2003-12-28 Angus Leeming <leeming@lyx.org>
4065 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
4067 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
4069 * text2.C (setParagraph): fix off-by-one crash
4071 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
4073 * output_docbook.C: header stuff for AGU
4075 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
4077 * text2.C (redoCursor): remove
4080 * BufferView_pimpl.C: remove calls to redoCursor and
4081 setCursor(cursor.par(), cursor.pos()) all around
4083 2003-12-15 Angus Leeming <leeming@lyx.org>
4085 * buffer.C: up the format to 228.
4087 2003-12-15 André Pönitz <poenitz@gmx.net>
4089 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
4094 * BufferView_pimpl.C:
4103 2003-12-15 Angus Leeming <leeming@lyx.org>
4105 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
4106 than getFromGUIName to manipulate the color.
4108 2003-12-14 Angus Leeming <leeming@lyx.org>
4110 * BranchList.[Ch]: minimize the API.
4111 (Branch::getBranch, getColor): now return a 'const &'.
4112 (Branch::setSelected) now returns a bool set to true if the
4113 selection status changes.
4114 (BranchList::clear, size, getColor, setColor, setSelected,
4115 allBranches, allSelected, separator): removed.
4116 (BranchList::find): new functions, returning the Branch with
4118 (BranchList::add, remove): return a bool indicating that
4119 the operation was successful.
4121 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
4122 new InsetBranch::isBranchSlected member function.
4124 * LColor.[Ch]: mimimize the API.
4125 (fill): renamed as addColor and made private.
4126 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
4127 versions of these functions taking a string arg have been removed.
4129 * bufferparams.C (readToken):
4130 * lyxfunc.C (dispatch):
4131 * lyxrc.C (read): changes due to the altered BranchList and
4134 * factory.C (createInset, readInset): changes due to altered
4137 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4140 * lyxfunc.C: remove insetminipage. "minipage-insert"
4141 now produces a frameless minipage box inset.
4143 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4145 * textcursor.[Ch] (selStart,selEnd): add new methods
4146 remove selection::start, end, use LyXCursor::operator<
4147 * lyxcursor.[Ch] (operator<): add
4148 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
4149 * BufferView.[Ch] (unsetXSel): add
4150 * text2.C (clearSelection): use unsetXSel,adjust
4153 * rowpainter.C: adjust
4154 * bufferview_funcs.C (put_selection_at): adjust
4156 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4158 * BufferView_pimpl.C: small coord. correction
4160 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4162 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
4163 dragging over the splash screen.
4165 2003-12-11 Angus Leeming <leeming@lyx.org>
4167 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
4168 as it is now handled in LyXText::dispatch.
4170 * text3.C (doInsertInset): remove a level of nesting.
4172 2003-12-11 Angus Leeming <leeming@lyx.org>
4174 * factory.C (createInset): changes due to the changed interface to
4175 InsetCommandMailer::string2params.
4177 2003-12-10 Angus Leeming <leeming@lyx.org>
4179 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
4180 'dialog-show-new-inset <inset name>'
4182 2003-12-10 Angus Leeming <leeming@lyx.org>
4184 * buffer.C: up the format to 227.
4186 * factory.C: the box inset is now identified simply by 'Box'.
4188 2003-12-10 Angus Leeming <leeming@lyx.org>
4190 * buffer.C: up the format to 226.
4192 * factory.C: the note inset is now identified simply by 'Note'.
4194 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
4196 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
4197 when a pit is enough. Standarize a couple of loops.
4199 2003-12-05 Angus Leeming <leeming@lyx.org>
4201 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
4202 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
4203 data to the re-worked "log" dialog.
4205 2003-12-03 André Pönitz <poenitz@gmx.net>
4211 * paragraph_funcs.C:
4213 * text2.C: use Inset::getText instead of Inset::getParagraph
4215 2003-12-03 André Pönitz <poenitz@gmx.net>
4219 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
4220 InsetText::read() as LyXText::read()
4222 2003-12-02 Angus Leeming <leeming@lyx.org>
4224 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
4225 type. Add a comment in the implementation that the function uses
4226 the stream's bad() function rather than fail() as the std::streams
4229 2003-12-02 André Pönitz <poenitz@gmx.net>
4231 * lyxlex.[Ch]: make interface more similar to std::stream
4233 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
4235 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
4237 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
4239 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
4241 * vspace.[Ch]: remove VSpace::NONE
4243 2003-12-01 André Pönitz <poenitz@gmx.net>
4246 * lyxtext.h: move ParagraphList member to LyXText
4247 rename LyXText::ownerParagraphs to LyXText::paragraph
4250 * bufferview_funcs.C:
4260 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
4262 * undo.C: fix cursor positioning
4264 2003-12-01 John Levon <levon@movementarian.org>
4266 * BufferView_pimpl.C: fix a crash on exit with
4269 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
4271 * BranchList.C: fix setSelected() method.
4273 2003-11-28 André Pönitz <poenitz@gmx.net>
4275 * ParagraphParameters.[Ch]:
4276 * ParameterStruct.h: remove space above/below from Paragraph to
4279 * BufferView_pimpl.C:
4285 * paragraph_funcs.C:
4291 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
4293 * factory.C: Syntax change for CharStyles
4295 2003-11-28 André Pönitz <poenitz@gmx.net>
4300 * buffer.[Ch]: move LyXText member
4302 2003-11-28 André Pönitz <poenitz@gmx.net>
4304 * BufferView.[Ch]: make LyXText * text a private member
4306 * BufferView_pimpl.C:
4317 * output_plaintext.C: cleanup
4319 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
4322 * lyxtextclass.[Ch]: parametrize SGML document header
4324 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
4327 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4330 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
4332 * text2.C (setFont): rework using PosIterator (no more recursive)
4333 (setCharFont): no more needed
4334 (setLayout): no more selection cursors fiddling (done by redoCursor)
4335 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4336 destroy remaining ones)
4338 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
4340 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4342 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4345 * text3.C: adjust + re-allow multi par depth changes
4346 * textcursor.C: simplify a bit
4348 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
4354 * src/output_docbook.C:
4355 * src/output_latex.C:
4360 * src/text2.C: Introducing a number of tags parametrizing various
4361 XML formats that we may want to support
4363 2003-11-25 André Pönitz <poenitz@gmx.net>
4365 * InsetList.[Ch] (begein, end): inline as suggested by profiler
4367 * lyxtext.h (leftMargin/rightMargin): simplify interface
4374 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4376 * lyxfunc.C (dispatch): propogate the bibtex databases from the
4377 master file to any child files. Fixes bug 546.
4379 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4381 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4383 2003-11-24 André Pönitz <poenitz@gmx.net>
4385 * rowpainter.C: simplification
4387 * text2.C (updateCounters): remove call to redoParagraph on
4388 changed labels as this is far too expensive.
4390 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4392 * converter.C (convert): fix a crash: this function gets
4393 called with buffer == 0 from importer code.
4395 2003-11-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4397 * text3.C (cursorPrevious): make sure that we do not compare
4398 iterators form different containers.
4401 * rowpainter.C (paintSelection): make sure that we do not compare
4402 iterators from different containers.
4404 * text3.C (dispatch): [PRIOR] make sure that we do not compare
4405 iterators from different ParagraphList containers.
4408 * text2.C (LyXText): change order of initialization slightly
4409 (operator=): new function. copy all variables except cache_par_
4410 (moveUp): make sure that we do not compare iterators from
4411 different ParagraphList constainers.
4414 * text.C (firstPar): new function
4415 (lastPar): new function
4416 (endPar): new function
4418 * lyxtext.h: move things around and group public functions, public
4419 variables, private functions, private variables
4421 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
4423 * factory.C: change call to InsetERT constructor to avoid
4424 additional invocation of method status
4425 * text2.C (toggleInset): remove redundant update() call
4426 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4427 instead of a Bufferview pointer
4429 2003-11-21 André Pönitz <poenitz@gmx.net>
4431 * rowpainter.C: simplification
4433 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4435 * text3.C (dispatch): make possible to extend a word/row selection
4438 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4440 * lyxtext.h: x0_,y0_ -> xo_,yo_
4441 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4442 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4443 * rowpainter.C (paintRows): paint full paragraphs
4445 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4447 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4450 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4452 * lyxtext.h: add x0_, y0_
4453 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4454 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4456 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
4458 * text2.C (setCursorIntern): move the x_target update here *
4459 * text3.C: change some bv() to true/false in calls to
4460 cursorUp/Down/Right/Left
4461 * cursor.C: use helper function.
4463 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4465 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4466 * paragraph_funcs.[Ch]: correct comment
4467 * rowpainter.C: do not paint selections away from bv->cursor()
4468 Fix a long standing selection painting bug.
4469 * text3.C: generalize mouse-selection code to LyXTexts other that
4471 * textcursor.C: do not use y coords if we can use par offsets
4473 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4475 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4476 cursor position after e.g. inset insert)
4478 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
4480 * lyxfind.C (replace): adjust to locking removal + some
4483 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
4485 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4488 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
4491 * output_docbook.C: XML sanitation: new layout
4492 parameters InnerTag and CommandDepth
4494 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
4496 * BufferView_pimpl.C:
4498 * text3.C: Fix the insertion and modification of button-style
4501 2003-11-13 André Pönitz <poenitz@gmx.net>
4503 * InsetList.[Ch]: remove deleteLyXText
4505 * paragraph.[Ch]: cache beginOfBody position
4510 * text3.C: remove superfluous update() calls
4514 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
4516 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4517 * BufferView.C (fitLockedInsetCursor): remove
4518 * cursor.[Ch] (getDim): add
4519 * text.C (getRowNearY): add faster version
4520 * text3.C: remove some update calls
4522 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
4534 * text3.C: The Character Style /XML short element patch.
4536 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
4539 * factory.C: Small step to solving 'unable to insert some insets'
4542 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
4544 * cursor.[Ch] (updatePos): new function for updating the y
4545 position of the tip inset
4546 * bufferview_funcs.C (put_selection_at):
4547 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4549 2003-11-11 André Pönitz <poenitz@gmx.net>
4551 * text.C: remove big comment on invalid Paragraph pointers as it is
4554 2003-11-11 André Pönitz <poenitz@gmx.net>
4556 * text_funcs.[Ch]: merge with ...
4564 * Makefile.am: remove text_funcs.[Ch]
4566 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
4568 * cursor.C (getPos): return absolute cached y coord
4570 * BufferView_pimpl.C (fitCursor): new simplistic code
4571 (workAreaDispatch): add a fitCursor call
4573 2003-11-10 André Pönitz <poenitz@gmx.net>
4576 * BufferView_pimpl.[Ch]: merge update() and updateInset()
4578 2003-11-10 André Pönitz <poenitz@gmx.net>
4580 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4581 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4582 indicate that the cursor needs to leave an inset
4584 * lyxtext.h: remove inset locking
4586 * cursor.[Ch]: re-implement functionality provided by inset locking
4589 * BufferView_pimpl.[Ch]:
4591 * bufferview_funcs.[Ch]:
4603 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
4605 * PosIterator.[Ch]: replace the stack with a vector, add inset
4607 * iterators.[C]: adjust
4609 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4611 * lyxfind.C (replaceAll): mark the buffer dirty if something was
4613 * paragraph_funcs.C (readParToken): put the correct id in the
4614 error item, not the id of the top paragraph
4616 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4618 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4619 * bufferview_funcs.C (put_selection_at): use the above
4621 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4623 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4625 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4627 * output_linuxdoc.h:
4628 * output_plaintext.h:
4630 * output_docbook.h: add #include statements
4632 2003-11-05 José Matos <jamatos@lyx.org>
4634 * output_docbook.[Ch]:
4635 * output_latex.[Ch]:
4636 * output_linuxdoc.[Ch]:
4637 * output_plaintext.[Ch]: New files for output formats.
4638 * output.[Ch]: New file for helper functions.
4641 * paragraph_funcs.[Ch]: output functions moved to new files.
4643 * outputparams.h: rename of latexrunparams.h
4651 * paragraph_funcs.[Ch]:
4652 * paragraph_pimpl.[Ch]:
4653 * tabular.[Ch]: rename ascii to plaintext
4654 and LatexRunParams to OutputParams.
4656 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4658 * iterators.[Ch] (text): require bv argument
4659 * undo.C (recordUndo):
4660 * lyxfunc.C (dispatch):
4661 * bufferview_funcs.C (put_selection_at): adjust
4663 2003-11-05 Jo� Luis M. Assirati <assirati@fma.if.usp.br>
4665 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4667 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4669 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4672 2003-11-04 André Pönitz <poenitz@gmx.net>
4674 * cursor.[Ch]: restructure
4677 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4679 * iterators.[Ch] (asCursor): remove
4681 * lfuns.h: remove LFUN_INSET_EDIT
4687 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4689 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4691 * lyxfind.[Ch]: complete overhaul
4692 * BufferView_pimpl.C:
4694 * paragraph.[Ch] (insert): add
4696 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4700 * text.C: remove dead spellcheck code
4702 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4704 * dispatchresult.h: add a val setter
4706 * cursor.C (dispatch): use a tempvar for data_[i]
4708 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4710 * PosIterator.[Ch]: compile fix
4712 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4714 * text.C (cursorPar): deactivate the cursor cache
4716 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4718 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4720 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4722 * text3.C (dispatch): adjust for new DisptchResult semantics.
4724 * lyxfunc.C (dispatch): handle update when return from
4725 Cursor::dispatch, adjust for new DispatchResult semantics.
4727 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4728 DispatchResult(true) mean to not update. Add class functions for
4729 setting dispatched and update, as well as reading.
4731 * cursor.C (dispatch): don't handle update here
4733 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4735 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4736 * trans_mgr.C: adjust
4738 * paragraph_funcs.C (readParToken): exception safety
4740 * lyxvc.h: store the vcs pointer in a scoped_ptr
4743 * lyxsocket.C (serverCallback): exception safety
4745 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4747 * ispell.C (clone): make it return a auto_ptr
4749 * factory.C (createInset): exception safety
4750 (readInset): exception safety
4752 * bufferlist.C (newBuffer): exception safety
4754 * Thesaurus.C (Thesaurus): use initialization for aik_
4756 * MenuBackend.C (expandToc): exception safety.
4758 2003-11-03 André Pönitz <poenitz@gmx.net>
4762 * bufferview_funcs.C: remove getInsetFromId()
4765 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4771 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4773 * PosIterator.C (distance, advance): new
4774 * bufferview_funcs.[Ch] (put_selection_at): new
4775 * iterators.[Ch] (lockPath): new
4777 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
4779 * iterators.[Ch] (asPosIterator): added
4780 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4781 * PosIterator.[Ch]: added
4783 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4787 * cursor.C (dispatch):
4788 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4790 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4791 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4792 contructor, add a class function dispatched. Remove operator>=
4794 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4796 * debug.C: only use the default constructor for debugstream
4799 * main.C (main): include debug.h and setup the lyxerr streambuf
4802 2003-10-31 José Matos <jamatos@lyx.org>
4804 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4806 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4807 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4808 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4809 * paragraph_pimpl.C (simpleTeXSpecialC):
4810 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4811 add LatexRunParams argument.
4813 * exporter.C (Export): change call accordingly.
4815 * latexrunparams.h: add new member to take care of the other backends.
4816 2003-10-30 José Matos <jamatos@lyx.org>
4818 * buffer.C (makeLinuxDocFile, makeDocBookFile):
4819 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4820 factorise code for paragraph output.
4822 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4825 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4827 * text3.C (dispatch):
4828 * lyxfunc.C (dispatch):
4829 * cursor.C (dispatch):
4830 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4832 * dispatchresult.h: make the dispatch_result_t ctor explicit
4834 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
4837 * buffer.C: small refactoring of docbook stuff
4839 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4841 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4844 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4846 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4847 operator dispatch_result_t, and operators for == != and >=
4849 * cursor.C (dispatch): adjust for operator dispatch_result_t
4850 removal. comment out call to update
4852 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4854 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4862 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4865 * dispatchresult.h: new file, DispatchResult broken out of
4868 * Makefile.am (lyx_SOURCES): add dispatchresult.h
4870 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4872 * text.C (rowBreakPoint): put a hack inside #if 0
4874 2003-10-28 André Pönitz <poenitz@gmx.net>
4878 * paragraph_funcs.C:
4881 * text2.C: general cleanup (lots of small stuff)
4883 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4885 * text2.C (cursorEnd): simple fix to the "end key goes to one
4886 before the end on last row" bug
4888 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4890 * text.C (backspace): fix the "zombie characters"
4892 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4894 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4896 2003-10-27 André Pönitz <poenitz@gmx.net>
4898 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4900 * factory.C: handle new InsetPagebreak, InsetLine
4902 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4903 and move handling into new InsetPagebreak, InsetLine
4905 * BufferView_pimpl.C:
4907 * ParagraphParameters.C:
4908 * ParameterStruct.h:
4913 * paragraph_funcs.C:
4914 * paragraph_pimpl.C:
4920 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4923 * lyxrow_funcs.[Ch]:
4929 * text3.C: remove lastPos uses in favour of Row::endpos
4931 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4933 * undo.C (performUndoOrRedo): fix two crashes by setting a
4934 cursor by hand and reordering some calls. Use bv->lockInset instead
4935 of inset->edit because the latter loses cursor information
4937 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
4939 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4941 (rowBreakPoint): fix width. change point to point + 1.
4942 Add a missing check.
4944 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
4947 * lyxfunc.C: fix (at least partly) the problems
4948 with the Nav menu and headers inside branch insets
4951 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
4953 * paragraph.C (getChar): add strong asserts
4955 * lyxrow_funcs.C (lastPos): remove hideous hack
4957 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4958 (fill): adjust to that (avoid an infinite loop)
4960 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
4962 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4964 2003-10-23 André Pönitz <poenitz@gmx.net>
4966 * RowList_fwd.h: change list<> to vector<> to gain speed
4967 after suggestion from Alfredo
4969 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
4971 * lyxtext.h: move the bidi stuff from here...
4974 * Bidi.[Ch]: ... to here
4976 2003-10-23 André Pönitz <poenitz@gmx.net>
4979 * text.C (isLastRow, isFirstRow): new functions
4981 * paragraph.h: new width cache member
4983 * rowpainter.C: replace RowList::iterator with Row & where possible
4985 * lyxfunc.C: replace several view()->text with a single call
4987 * toc.C: fix 'unused' warning
4989 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4991 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4992 when woring with stream::pos_type
4993 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4995 2003-10-22 André Pönitz <poenitz@gmx.net>
4998 * text.C: use Row & instead of RowList::iterator
5000 * lyxrow.h: rename end() to endpos()
5006 2003-10-22 Angus Leeming <leeming@lyx.org>
5008 * buffer.[Ch] (fully_loaded): new member function, returning true
5009 only when the file has been loaded fully.
5010 Used to prevent the premature generation of previews and by the
5011 citation inset to prevent computation of the natbib-style label.
5013 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
5014 templates are all set up.
5016 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
5018 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
5020 * text.C: fixed an "oops" in the "is a bit silly"
5023 2003-10-21 André Pönitz <poenitz@gmx.net>
5025 * FuncStatus.[Ch]: small stuff, whitespace
5027 * lyxfont.[Ch]: operator<<() for debug reasons
5031 * lyxtext.h: whitespace, spelling
5033 * paragraph.C: naming of variables
5036 * text2.C: small stuff
5039 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
5041 * text.C: (1) finish off the inset display() work;
5042 (2) fix the "is a bit silly" bug (accessing char
5045 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
5047 * text.C: re-introduce display() for insets, fixing the
5048 various bugs (stretch of line above, math inset
5051 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5053 * text.C (rightMargin): remove spurious semicolon
5055 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
5058 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
5060 * text3.C: fix one crash due to wrong cursor def
5062 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5064 * vc-backend.C (scanMaster): make the regex static
5066 * LaTeX.C (scanAuxFile): make the regexs static
5068 * text3.C (doInsertInset, dispatch, dispatch):
5069 * text2.C (cursorUp, cursorDown):
5070 * text.C (selectNextWordToSpellcheck):
5071 * BufferView_pimpl.C (dispatch):
5072 * lyxfunc.C (dispatch): localDispatch -> dispatch
5074 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5076 * lyxsocket.C: include <cerrno>
5078 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5080 * lyxfunc.C (dispatch): remove textcache stuff
5082 * bufferlist.C (release): remove textcache stuff
5085 * TextCache.C: delete file
5086 * TextCache.h: delete file
5088 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
5090 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
5091 delete of the bv_->text.
5092 (resizeCurrentBuffer): remove texcache stuff
5093 (workAreaResize): ditto
5095 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5097 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
5100 2003-10-16 André Pönitz <poenitz@gmx.net>
5107 * text3.C: speed up by storing y positions per paragraph plus per-row
5108 offset instead of having a 'full' y position in the row.
5110 2003-10-15 André Pönitz <poenitz@gmx.net>
5114 * undo.[Ch]: make undo aware of inner insets
5116 2003-10-14 Angus Leeming <leeming@lyx.org>
5118 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
5119 static member functions LyX::ref() and LyX::cref.
5120 (lastfiles): new accessor functions for the new lastfiles_ member var.
5121 (addLyXView, views_): add a new LyXView to the list of views_.
5122 (updateInset): loop over all LyXViews to call their own updateInset
5123 member function, returning a pointer to the Buffer owning the inset.
5125 * BufferView_pimpl.C (loadLyXFile):
5126 * MenuBackend.C (expandLastfiles):
5127 * bufferlist.C (MenuWrite, QuitLyX):
5128 lastfiles is no longer a global variable.
5129 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
5131 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
5132 static function. Access through LyX::cref().emergencyCleanup().
5134 2003-10-14 André Pönitz <poenitz@gmx.net>
5136 * iterators.[Ch]: new direct access to innermost LyXText and Inset
5138 * undo.[Ch]: restoring part of 'undo in insets'
5141 * undo_funcs.[Ch]: merge with undo.[Ch]
5143 * tabular.C: small cleansing stuff
5145 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
5147 * paragraph_funcs.C (readParToken): report unknown insets as error
5148 boxes. Use the outer paragraph as location (also for unknown
5151 * factory.C (readInset): do not abort on reading an unknown inset.
5152 Eat it and return 0.
5154 2003-10-13 Angus Leeming <leeming@lyx.org>
5156 * lyx_main.C (LyX): remove call to setDisplayTranslator().
5158 * lyxrc.C: displayTranslator is now a function,
5159 declared in GraphicsTypes.h.
5161 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5163 * format.C: new placeholder $$a to pass the socket address.
5165 * bufferlist.[Ch]: new function getBufferFromTmp.
5167 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
5168 files in the temporary dir.
5170 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5172 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
5174 * Makefile.am: add lyxsocket.[Ch].
5176 * lyx_main.C (error_handler): handle SIGPIPE.
5178 2003-10-13 André Pönitz <poenitz@gmx.net>
5180 * BufferView_pimpl.C:
5185 * undo_funcs.[Ch]: use paroffset_type instead of
5186 ParagraphList::iterators to prevent multiple conversion
5187 (and get a more robust interface)
5189 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5191 * lyxfunc.C (dispatch): RESULT -> dispatch_result
5193 * text3.C (dispatch): ditto
5195 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5197 * LaTeX.C (handleFoundFile): move the static to smaller scope,
5198 move the onlyfile, use onlyfile instead of foundfile in a couple
5201 * DepTable.C (update): flush the error stream a bit more
5203 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5205 * lyxserver.C (callback): adjust
5207 * lyxfunc.C (getStatus): add a missing brace in commented code
5208 (ensureBufferClean): reindent
5209 (dispatch): delete version taking a string
5211 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5213 * LaTeX.C (deplog): move found file handlig from here...
5214 (handleFoundFile): .. to new function here.
5215 (deplog): make sure to discover several files mentioned on the
5218 2003-10-10 André Pönitz <poenitz@gmx.net>
5225 * text3.C: fix some of the tabular crashes
5227 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5229 * MenuBackend.C (binding): put debug message into Debug::KBMAP
5231 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
5233 2003-10-09 André Pönitz <poenitz@gmx.net>
5235 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
5238 * BufferView_pimpl.C:
5239 * bufferview_funcs.C:
5250 * undo_funcs.C: adjust
5252 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5254 * text2.C (incrementItemDepth): new function, use a backtracking
5255 algorithm to discover the correct item depth.
5256 (resetEnumCounterIfNeeded): new function, use a backtracking
5257 algorithm to discover if counter reset is needed.
5258 (setCounter): use them. Simplify a bit. Add different labels for
5259 different item depths for itemize.
5261 * paragraph.C (Paragraph): remove initialization of enumdepth
5264 * paragraph.h: get rid of enumdepth, and use itemdepth both for
5265 enumerate and itemize. Change the type of itemdepth to signed char.
5267 2003-10-08 André Pönitz <poenitz@gmx.net>
5269 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5274 * tabular.[Ch]: fix crash after 'row-insert'
5276 2003-10-08 Angus Leeming <leeming@lyx.org>
5278 Fix doxygen warnings.
5280 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5281 Remove CutAndPaste:: prefix from header file declaration.
5283 * LColor.h (fill): remove LColor:: prefix from declaration.
5285 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5286 use lyx::depth_type rather than Paragraph::depth_type so that
5287 header file and .C file match.
5289 * converter.h (intToFormat): remove Converters:: prefix from declaration.
5291 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5292 * aspell.C: \file aspell_local.C -> \file aspell.C
5293 * gettext.C: \file gettext.C -> \file src/gettext.C
5294 * gettext.h: \file gettext.h -> \file src/gettext.h
5295 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5296 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5297 * text.C: \file text.C -> \file src/text.C
5299 * toc.C: move comment so that doxygen is not confused.
5301 2003-10-07 Angus Leeming <leeming@lyx.org>
5303 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5305 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5308 * aspell_local.h: add forgotten std::string's.
5310 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
5317 * text3.C: The Box patch. Fancybox support, minipage, parbox
5319 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
5325 * ParagraphParameters.h:
5335 * lyxtextclasslist.h:
5338 * paragraph_pimpl.C:
5339 * textcursor.h: add <string> and other small fixes to make Lars'
5340 std::string patch compile with STLport.
5342 2003-10-06 Angus Leeming <leeming@lyx.org>
5344 * LColor.h: Add missing #include <string>.
5346 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5348 * All most all file in all subdirs: Make <string> be the prefered
5349 way of getting to std::string, add using declarations.
5351 2003-10-06 André Pönitz <poenitz@gmx.net>
5353 * metricsinfo.C: initialize LyXFont before changing attribute.
5354 (fixes the 'math in \emph is upright' bug)
5356 2003-10-06 André Pönitz <poenitz@gmx.net>
5358 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5360 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
5363 * paragraph_pimpl.C: Small fixes to build using STLport
5365 2003-10-02 André Pönitz <poenitz@gmx.net>
5368 * text3.C: move handling of LFUN_DEPTH *; fix #1360
5370 2003-10-01 André Pönitz <poenitz@gmx.net>
5372 * factory.C: assert early
5374 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5376 * lyx_main.C: remove the global debug object
5378 * debug.h: adjust for new debugstream
5380 * debug.C: adjust for new debugstream and keep the global debug
5383 2003-09-22 Angus Leeming <leeming@lyx.org>
5385 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5386 of g++ which otherwise complain that the scoped_ptr destructor can't delete
5387 an incomplete class LyXFont.
5389 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
5391 * factory.C: bug fix in branches
5393 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5395 * lyxfunc.C (processKeySym): adjust
5397 (dispatch): change arg name from ev to func, adjust
5398 (sendDispatchMessage): ditto
5400 * lyx_main.C (defaultKeyBindings): adjust keybindings
5401 (deadKeyBindings): ditto
5403 * kbsequence.C (addkey): return a FuncRequest
5405 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5407 * kbmap.C (bind): take a FuncRequest as arg, adjust
5410 (defkey): change to take a FuncRequest as arg, adjust
5411 (findbinding): take a FuncRequest as arg, adjust.
5413 * funcrequest.h (operator=): added
5415 * funcrequest.C (FuncRequest): default kb_action changed from
5416 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5418 * buffer.C (dispatch): simplify
5419 (dispatch): adjust to take a FuncRequest as arg, adjust
5421 * boost.C (assertion_failed): change assertion message slightly
5423 * ToolbarBackend.C (read): simplify
5425 * MenuBackend.C (binding): adjust call to findbinding, add a
5426 message if no binding is found.
5428 (expandToc): correct by adding a empty FuncRequest
5430 * LyXAction.C: include <boost/assert.hpp>
5431 (isPseudoAction): delete function
5432 (LookupFunc): change name to...
5433 (lookupFunc): this. change return type to FuncRequest.
5434 (getActionName): take kb_action as arg, simplify
5435 (funcHasFlag): add an assert, simplify.
5437 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5439 * toc.C (action): return a FuncRequest, simplify
5441 * lyxfunc.C (processKeySym): adjust
5442 (getStatus): delete version that takes an int.
5444 (dispatch): delete version that takes action as int
5446 (sendDispatchMessage): simplify and adjust
5448 * funcrequest.C (getArg): take unsigned int as arg
5450 * ToolbarBackend.C (read): adjust
5451 (add): delete version that takes func as a string.
5452 (getIton): take a FuncRequest as arg
5454 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5457 * MenuBackend.C (MenuItem): add a new construct that only takes a
5458 Kind, simplify the constructor use for submenus.
5460 (expandLastfiles): adjust
5461 (expandDocuments): adjust
5462 (expandFormats): adjust
5463 (expandFloatListInsert): adjust
5464 (expandFloatInsert): adjust
5465 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5467 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5468 Remove class variables lyx_pseudo_map and lyx_arg_map
5470 * LyXAction.C (searchActionArg): delete function
5471 (getPseudoAction): delete function
5472 (retrieveActionArg): delete function
5473 (LookupFunc): make it return kb_action, simplify.
5474 (getActionName): simplify
5476 * factory.C (createInset): fix new bug
5478 2003-09-19 Angus Leeming <leeming@lyx.org>
5480 * CutAndPaste.C (pasteSelection): remove fudge used to set the
5481 masterFilename_ parameter in the include inset.
5483 * factory.C (createInset): changes due to the changes to InsetInclude.
5485 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5487 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5489 2003-09-18 Angus Leeming <leeming@lyx.org>
5492 * BufferView.C: pass the buffer when calling Inset::getLabelList,
5493 Inset::fillWithBibKeys.
5494 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5496 2003-09-18 Angus Leeming <leeming@lyx.org>
5498 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5500 (ctor): pass and store a 'Buffer const &'
5501 (buffer): new member function.
5503 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5504 '*this' to the LaTeXFeatures ctor.
5506 2003-09-18 Angus Leeming <leeming@lyx.org>
5512 * text.C: rename EnumLColor as LColor_color.
5514 2003-09-18 Angus Leeming <leeming@lyx.org>
5516 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5517 remove #include "insets/insetbase.h" from cursor.h.
5519 2003-09-18 Angus Leeming <leeming@lyx.org>
5521 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5522 InsetOld_code to remove #include "inset.h".
5524 * iterators.C: add #include "insets/inset.h"
5526 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
5528 * BufferView.C: remove more locking stuff that apparently doesn't
5529 do anything sensible.
5531 2003-09-16 André Pönitz <poenitz@gmx.net>
5534 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5537 2003-09-16 Angus Leeming <leeming@lyx.org>
5539 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5541 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5544 * paragraph.h: remove #include "lyxfont.h". Forward declare
5547 2003-09-16 Angus Leeming <leeming@lyx.org>
5549 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5550 of support/textutils.h.
5551 (isWord): move the contents of support/textutils.h's IsWordChar here.
5557 * text2.C: add #include "paragraph.h".
5560 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5562 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5568 * LaTeX.C: use namespace alias for lyx::support::os
5570 2003-09-16 Angus Leeming <leeming@lyx.org>
5573 * bufferview_funcs.C:
5576 * paragraph_pimpl.C:
5578 * text.C: add #include "LColor.h".
5580 2003-09-16 Angus Leeming <leeming@lyx.org>
5582 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5583 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5585 Store the FontBits::color variable as an int rather than as an
5586 LColor::colorso that we can move LColor.h out of the lyxfont.h header
5589 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5590 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5591 string calls together.
5593 * lyxrc.C: add #include "LColor.h".
5595 2003-09-15 Angus Leeming <leeming@lyx.org>
5597 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5600 2003-09-15 Angus Leeming <leeming@lyx.org>
5602 * LColor.h: add an EnumLColor wrapper for LColor::color.
5604 * lyxfont.[Ch] (color, setColor, realColor):
5605 * lyxtext.h, text.C (backgroundColor):
5606 pass EnumLColor args to/from the functions, rather than LColor::color
5610 * lyxtext.h: forward declare EnumLColor.
5612 * lyx_main.C: add #include "LColor.h".
5614 2003-09-15 Angus Leeming <leeming@lyx.org>
5616 * .cvsignore: add lyx-gtk.
5618 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5623 * ParagraphParameters.C
5627 * bufferview_funcs.C
5637 * vc-backend.C: remove usage of STRCONV
5639 2003-09-15 Angus Leeming <leeming@lyx.org>
5641 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5642 explicitly define the color passed to the painter.
5644 2003-09-15 Angus Leeming <leeming@lyx.org>
5646 * bufferparams.C (BufferParams): reorder member initializers to avoid
5649 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
5651 * CutAndPaste.C (pasteSelection): remove an outdated #warning
5652 * text.C (updateRowPositions): remove an unusual nop
5654 2003-09-12 André Pönitz <poenitz@gmx.net>
5656 * BufferView_pimpl.C:
5665 * Counters.[Ch]: finish the 'automatic counters' job
5667 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5669 * aspell.C: include <boost/assert.cpp> (compile fix)
5671 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
5673 * boost.C (assertion_failed): use lyx::support::abort instead of
5676 2003-09-10 Angus Leeming <leeming@lyx.org>
5678 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5679 with their _fwd progeny.
5681 2003-09-09 Angus Leeming <leeming@lyx.org>
5683 134 files throughtout the source tree: replace 'using namespace abc;'
5684 directives with the appropriate 'using abc::xyz;' declarations.
5686 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5688 * boost.C (emergencyCleanup): moved here from LAssert.c
5689 (assertion_failed): new function, called by BOOST_ASSERT
5691 * several files: change Assert to BOOST_ASSERT
5693 2003-09-09 Angus Leeming <leeming@lyx.org>
5695 * buffer.[Ch]: Add an Impl class and move Buffer's member
5696 variables into it. As a result move several header files out of
5699 Add header files to lots of .C files all over the tree as a result.
5701 2003-09-09 Angus Leeming <leeming@lyx.org>
5703 * buffer.[Ch]: make Buffer's member variables private. Add
5706 Lots of changes all over the tree as a result.
5708 2003-09-08 Angus Leeming <leeming@lyx.org>
5710 * graph.C: #include <config.h>.
5712 2003-09-08 Angus Leeming <leeming@lyx.org>
5716 * BufferView_pimpl.C:
5745 * toc.C: remove redundant using directives.
5747 2003-09-07 Angus Leeming <leeming@lyx.org>
5749 * LaTeXFeatures.h: remove #include "support/types.h".
5750 * ToolbarBackend.h: remove #include <algorithm>.
5751 * changes.h: remove #include <ctime>.
5752 * debug.h: remove #include <iosfwd>.
5753 * graph.h: remove #include "support/std_string.h".
5754 * lyx_main.h: remove #include <csignal>.
5755 * lyxlex_pimpl.h: remove #include <fstream>.
5756 * sgml.h: remove #include <algorithm>, <utility>.
5757 * toc.h: remove #include "support/std_ostream.h".
5758 Add #include <iosfwd>.
5760 2003-09-07 Angus Leeming <leeming@lyx.org>
5762 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5764 * converter.h: forward declare LatexRunParams.
5765 * encoding.h: remove #include "lyxrc.h".
5766 * lyxtext.h: remove #include "LColor.h".
5767 * lyxtextclass.h: remove #include "support/types.h".
5768 * trans.h: remove #include "tex-accent.h".
5769 * trans_mgr.h: remove #include "tex-accent.h".
5770 * insets/inset.h: remove #include "support/types.h", <vector>.
5771 * insets/insetcollapsable.h: remove #include "LColor.h".
5772 * insets/insetinclude.h: remove #include "dimension.h".
5773 * insets/insetlatexaccent.h: remove #include "dimension.h".
5774 * insets/insetoptarg.h:: remove #include "insettext.h".
5775 * insets/insettext.h: remove #include "dimension.h",
5776 <boost/shared_ptr.hpp>
5778 * insets/renderers.h: add #include "dimension.h".
5779 * insets/updatableinset.h: add #include "support/types.h".
5781 * many .C files: Associated changes.
5783 2003-09-06 Angus Leeming <leeming@lyx.org>
5785 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5786 one, inside testInvariant.
5788 * PrinterParams.C: new file.
5789 * PrinterParams.[Ch]: move the function bodies out of line.
5791 2003-09-06 Angus Leeming <leeming@lyx.org>
5793 * ParagraphParameters.h: forward declare ParameterStruct rather than
5794 including its header file.
5795 (depth): moved out-of-line.
5797 2003-09-06 Angus Leeming <leeming@lyx.org>
5799 * BufferView_pimpl.h:
5802 * lyxfunc.h: forward declare LyXKeySym rather than
5803 #include "frontends/LyXKeySym.h".
5805 * BufferView_pimpl.C:
5808 * lyxfunc.C: associated changes.
5810 2003-09-06 Angus Leeming <leeming@lyx.org>
5812 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5813 As a result, can remove the #include "insets/inset.h" from BufferView.h
5815 2003-09-06 Angus Leeming <leeming@lyx.org>
5817 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5818 As a result, can remove the #include "insets/inset.h" from BufferView.h
5820 2003-09-06 Angus Leeming <leeming@lyx.org>
5826 * bufferview_funcs.C:
5827 * BufferView_pimpl.C:
5832 * ParagraphParameters.C:
5837 * frontends/controllers/ControlDocument.C:
5838 * insets/insetcaption.C: rearrange the #includes into some sort of
5841 * buffer.h: remove #includes ErrorList.h, undo.h
5843 2003-09-06 Angus Leeming <leeming@lyx.org>
5845 * support/types.h: add a 'depth_type' typedef, used to store the
5846 nesting depth of a paragraph.
5849 * ParameterStruct.h: use this lyx::depth_type typedef rather than
5850 defining explicitly.
5853 * paragraph_funcs.h:
5854 * ParagraphParameters.h:
5855 * sgml.h: use lyx::depth_type rather than Paragraph or
5856 ParameterStruct's depth_type.
5859 * paragraph_funcs.h: no need to #include paragraph.h anymore.
5862 * BufferView_pimpl.C:
5864 * ParagraphParameters.C:
5867 * bufferview_funcs.C:
5874 * frontends/LyXView.C:
5875 * frontends/controllers/ControlDocument.C:
5876 * frontends/controllers/ControlErrorList.C:
5877 * insets/insetbibitem.C:
5878 * insets/insetbranch.C:
5879 * insets/insetcaption.C:
5880 * insets/insetcollapsable.C:
5881 * insets/insetenv.C:
5882 * insets/insetert.C:
5883 * insets/insetfloat.C:
5884 * insets/insetfoot.C:
5885 * insets/insetfootlike.C:
5886 * insets/insetnewline.C:
5887 * insets/insetquotes.C:
5888 * insets/insettabular.C:
5889 * insets/insettext.C:
5890 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5892 * frontends/controllers/ControlChanges.C: #include "changes.h".
5894 2003-09-06 Angus Leeming <leeming@lyx.org>
5896 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5897 than #including paragraph.h.
5900 * RowList.h: deleted. Superfluous.
5910 * insets/insettext.h: use ParagraphList_fwd.h rather than
5913 * paragraph.h: don't forward declare ParagraphList.
5916 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5917 rather than ParagraphList.h. paragraph.h is still needed for the
5918 Paragraph::depth_type parameters.
5920 * textcursor.h: enable it to compile stand-alone in light of the
5923 * bufferview_funcs.C:
5935 * frontends/controllers/ControlParagraph.C:
5936 * frontends/controllers/ControlTabular.C:
5937 * insets/insetmarginal.C:
5938 * insets/insetminipage.C:
5939 * insets/insetnote.C:
5940 * insets/insetoptarg.C: add header files needed to compile again.
5942 2003-09-06 Angus Leeming <leeming@lyx.org>
5944 * RowList_fwd.h: new file, forward-declaring Row rather than
5945 #including lyxrow.h.
5950 * insets/insettext.h: use it instead of RowList.h
5952 * bufferview_funcs.C:
5959 * text3.C: #include "RowList.h".
5961 2003-09-05 Angus Leeming <leeming@lyx.org>
5963 * factory.C (createInset):
5964 * vspace.C (c-tor): replace sscanf call with an istringstream.
5965 * ispell.C: re-add missing HP/UX headers.
5966 * lyxserver.C: re-add missing os2 headers.
5968 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
5977 * text3.C: re-add missing system headers, needed for 2.95.2.
5979 2003-09-05 Angus Leeming <leeming@lyx.org>
5981 Changes most place everywhere due to the removal of using directives
5982 from support/std_sstream.h.
5984 2003-09-05 Angus Leeming <leeming@lyx.org>
5986 Replace LString.h with support/std_string.h,
5987 Lsstream.h with support/std_sstream.h,
5988 support/LIstream.h with support/std_istream.h,
5989 support/LOstream.h with support/std_ostream.h.
5991 Changes resulting throughout the tree.
5993 2003-09-05 Angus Leeming <leeming@lyx.org>
5995 * sgml.h: ensure that the header file can be compiled stand-alone.
5996 * *.C: strip out redundant #includes. (320 in total.)
5998 2003-09-04 Angus Leeming <leeming@lyx.org>
6000 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
6001 here (from getPackages).
6003 * debug.[Ch]: add a new EXTERNAL tag.
6005 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6007 * text2.C (cursorEnd): simplify
6009 (getColumnNearX): adjust
6011 * text.C (computeBidiTables): adjust
6014 * rowpainter.C (paintChars): adjust
6015 (paintSelection): adjust
6016 (paintChangeBar): adjust
6019 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
6021 (numberOfSeparators): adjust
6023 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
6029 * text3.C: Restricts the mouse click functionality
6030 of insets like bibtex, include, toc and floatlist to the visible
6031 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
6032 up the dialogs. Cursor has to be in front of the inset (i.e.
6033 start of row) for this to function.
6035 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6037 * bufferview_funcs.C (currentState): output row information
6039 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6041 * bufferview_funcs.C (currentState): output paragraph position
6043 2003-09-04 Angus Leeming <leeming@lyx.org>
6045 * FloatList.h: move out #include "Floating.h".
6046 * LaTeX.h: move out #include "DepTable.h".
6047 * LyXAction.h: move out #include "funcrequest.h".
6048 * buffer.h: move out #include "author.h", "iterators.h".
6049 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
6050 * lyx_main.h: move out #include "errorlist.h".
6051 * lyxfunc.h: move out #include "FuncStatus.h".
6052 * lyxtext: move out #include "lyxcursor.h".
6053 * paragraph_pimpl.h: move out #include "counters.h".
6055 2003-09-03 Angus Leeming <leeming@lyx.org>
6057 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
6058 preamble_snippets list, enabling us to add snippets to the preamble
6059 only if the snippet was not there already.
6061 2003-09-04 Angus Leeming <leeming@lyx.org>
6063 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
6065 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6067 * lyxfunc.C (dispatch): if fitCursor did something be sure to
6070 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
6072 * BranchList.C: point fix, earlier forgotten
6074 2003-09-02 Angus Leeming <leeming@lyx.org>
6076 * box.C (contains): renamed from 'contained' after a fantastic
6079 2003-09-02 John Levon <levon@movementarian.org>
6085 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
6087 2003-09-02 John Levon <levon@movementarian.org>
6089 * text2.C: simplification of cursorEnd(), including partial
6092 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6094 * buffer.C (readFile): add a space
6096 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
6098 * BufferView_pimpl.C (update): remove bogus fitCursor() call
6100 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6102 * buffer.C (readFile): new function, take a filename and a
6103 ParagraphList::iterator
6105 (readFile): adjust, make it private. don't use setStream, make
6106 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
6107 always contain the filename.
6109 * BufferView.C (insertLyXFile): simplify and make it work for
6112 2003-08-30 John Levon <levon@movementarian.org>
6114 * Makefile.am: fix dist (from Kayvan)
6116 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6118 * most files: change to use const Buffer refs
6120 2003-08-27 André Pönitz <poenitz@gmx.net>
6122 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
6123 on top of ownerPar().
6125 2003-08-27 John Levon <levon@movementarian.org>
6127 * funcrequest.C: properly initialise POD members
6129 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
6131 * lyxtext.h (top_y): move top_y from here
6136 * BufferView_pimpl.[Ch]: to here
6137 * frontends/screen.C:
6138 * insets/insettabular.C:
6139 * insets/insettext.C: adjust
6140 * rowpainter.[Ch] (paintRows): remove LyXText & argument
6142 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
6145 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
6147 2003-08-26 André Pönitz <poenitz@gmx.net>
6149 * paragraph_func.[Ch] (outerPar): new function
6152 * paragraph_funcs.C:
6153 * paragraph_funcs.h:
6154 * paragraph_pimpl.C:
6155 * text2.C: remove Inset::par_owner
6157 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
6162 * text2.C: eliminates the needFullRow/display() stuff
6163 altogether, putting the logic in metrics/draw in the insets.
6165 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
6167 * text2.C (redoParagraphInternal, redoParagraphs):
6168 * text.C (redoParagraph): add a call to updateRowPositions at the
6169 end of each 'metrics-like' call. Remove all others.
6170 (getRow): remove the 'y-computing' version.
6171 (getRowNearY): do not compute nor return the real y. Solve the
6172 'y < 0' problem and simplify.
6174 2003-08-22 Angus Leeming <leeming@lyx.org>
6176 * *.[Ch]: clean-up of licence and author blurbs.
6177 Also move config.h out of a few .h files and into a few .C files.
6179 2003-08-22 André Pönitz <poenitz@gmx.net>
6181 * lyxrow.[Ch]: add x_ and *fill_ members
6186 * text2.C: adjust/remove prepareToPrint() calls
6188 2003-08-22 André Pönitz <poenitz@gmx.net>
6190 * lyxrow.[Ch]: add end_ member
6192 * lyxrow_funcs.C: use LyXRow::end_
6194 * lyxtext.h (singleWidth): add LyXFont parameter
6197 * text2.C: adjust LyXText::singleWidth() calls
6199 * text.C (redoParagraph): simplify row breaking logic
6202 2003-08-19 André Pönitz <poenitz@gmx.net>
6204 * funcrequest.C: initialize button_ member
6207 * rowpainter.[Ch]: interface consolidation
6209 2003-08-18 André Pönitz <poenitz@gmx.net>
6212 * BufferView_pimpl.C:
6214 * paragraph_funcs.C:
6216 * text3.C: remove LyXScreen::draw() and fitCursor calls
6218 * BranchList.h: remove spurious semicolons
6220 * MenuBackend.C: fix branchlist related crash
6222 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
6230 * bufferparams.[Ch]:
6234 * text3.C: implements the 'branch inset'
6235 idea. This allows the output of various versions of a document
6236 from a single source version, selectively outputing or suppressing
6237 output of parts of the text.
6238 This implementation contains a 'branch list editor' in a separate
6239 tab of the document settings dialog. Branches are user definable
6240 and have a "display colour" to distinguish them on-screen.
6242 ColorHandler was somewhat cleaned up.
6243 (1) make possible a dynamically growing LColor list by allowing
6244 the graphic context cache to grow along (vector);
6245 (2) eliminate an IMHO unnecessary step in colour allocation.
6247 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
6249 * BufferView_pimpl.C: compile fix
6251 2003-08-15 André Pönitz <poenitz@gmx.net>
6253 * rowpainter.C: remove extra metrics calls
6255 * lyxtext.h: merge the two constructors into a single one,
6256 pass reference to owner's par list
6258 * BufferView_pimpl.C:
6262 2003-08-15 André Pönitz <poenitz@gmx.net>
6264 * lyxrow_funcs.[Ch]:
6267 * paragraph_funcs.C:
6272 * text_funcs.C: split LyXText::rowlist_ into individual
6273 Paragraph::rows_ chunks
6276 * BufferView_pimpl.[Ch]:
6279 * text3.C: remove toggleSelection()
6281 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
6283 * bufferlist.C: beautify two alerts (shorter text of buttons)
6284 * buffer.C: Remove redundant ' ' from message
6286 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6287 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6288 rename VALIGN_CENTER to VALIGN_MIDDLE
6290 2003-08-11 André Pönitz <poenitz@gmx.net>
6292 * lyxtext.h (getPar):
6293 * text.C: new function
6295 2003-08-11 André Pönitz <poenitz@gmx.net>
6298 * tracer.[Ch]: remove unneeded files
6300 * InsetList.[Ch]: remove resizeInsetsLyXText()
6305 * text3.C: merge insertParagraphs() and appendParagraph()
6306 remove breakAgain(), update()
6308 * BufferView_pimpl.[Ch]:
6309 * bufferview_funcs.[Ch]:
6313 * tabular.C: adjust after text & InsetList changes.
6315 2003-08-08 André Pönitz <poenitz@gmx.net>
6317 * text.C (insertChar, backspace): replace rowlist fiddling
6318 with rebreak of full par
6321 * text.C (breakAgainOneRow, redoHeightOfParagraph,
6322 checkParagraph, updateInset): removed
6324 2003-08-07 André Pönitz <poenitz@gmx.net>
6327 * text3.C: merge some LFUN handlers, remove dead code
6329 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6331 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6333 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
6335 * text2.C (DEPM): fix part of bug 1255 and 1256
6337 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6339 * BufferView_pimpl.C (workAreaDispatch): change to use
6340 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6341 that are no mouse related.
6343 2003-08-05 André Pönitz <poenitz@gmx.net>
6346 * BufferView_pimpl.[Ch]:
6347 * bufferview_funcs.C:
6349 * text3.C: rip out "deep update"
6351 * textcursor.[Ch] (last_sel_cursor): remove unused member
6353 2003-08-04 André Pönitz <poenitz@gmx.net>
6356 * BufferView_pimpl.[Ch]:
6357 * ParagraphParameters.C:
6358 * bufferview_funcs.C:
6364 * text3.C: replace "complicated" BufferView::update(...) calls with
6367 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6369 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
6371 * Makefile.am (lyx_SOURCES): add paper.h
6373 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6375 * Makefile.am: move things around so that both lyx-qt and
6376 lyx-xforms can be built (according to --with-frontend). Then lyx
6377 is a symbolic link to lyx-[firstfrontend]
6379 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
6381 * Always use std::endl with lyxerr
6383 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
6385 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6387 2003-08-01 André Pönitz <poenitz@gmx.net>
6390 * BufferView_pimpl.[Ch]:
6392 * text3.C: merge BufferView::repaint() and BufferView::update()
6394 2003-08-01 José Matos <jamatos@lyx.org>
6396 * buffer.[Ch]: file_format is no longer a buffer data element.
6398 2003-08-01 André Pönitz <poenitz@gmx.net>
6403 * text2.C: make redoParagraph more independent of current cursor
6405 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6407 * text2.C: remove unneeded members
6409 2003-07-30 André Pönitz <poenitz@gmx.net>
6411 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6413 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6414 create a single function...
6416 * paragraph_funcs.C (moveItem): ... here.
6419 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6421 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6423 * LColor.[Ch]: Add comment and greyedout logical colors.
6425 2003-07-30 André Pönitz <poenitz@gmx.net>
6427 * tabular.C: don't use Assert too heavily. This crashes where it
6430 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
6432 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6433 is disabled (bug 1232)
6435 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6437 * factory.C: limited 'arg' scope
6439 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6441 * factory.C: fixed Note submenu issues
6443 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6445 * factory.C: submenu for Note/Comment/Greyedout
6447 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
6450 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6452 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
6455 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6456 greyedout. Patch provided by Jürgen Spitzmüller.
6458 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6460 * kbmap.C (read): fix error message when reading bind files
6462 2003-07-29 Angus Leeming <leeming@lyx.org>
6464 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6465 certainly does not do what it purports to do. I am doing it, and
6466 us, a favour by killing it.
6468 2003-07-28 José Matos <jamatos@lyx.org>
6470 * buffer.C (readBody, do_writeFile):
6471 * paragraph.C(readParagraph): \end_document replaces \the_end.
6473 2003-07-29 André Pönitz <poenitz@gmx.net>
6476 * BufferView_pimpl.[Ch]:
6480 * textcursor.[Ch]: remove toggleToggle & Co
6482 2003-07-28 José Matos <jamatos@fep.up.pt>
6484 * buffer.C (readParagraph):
6485 * params_func (readParToken, readParagraph):
6486 * paragraph.C (write): \layout -> \begin_layout.
6488 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6490 * lyxlex_pimpl.C (setFile): clean up slightly.
6492 * bufferparams.h: add compressed var
6494 * buffer_funcs.C (readFile): adjust for LyXLex change
6495 (newFile): ditto + simplify
6497 * buffer.C (writeFile): handle writing of compressed files
6499 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6500 Check if the file is compressed and set a bufferparm if so.
6502 * Makefile.am (lyx_LDADD): remove explicit -lz
6504 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6506 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6507 makeDocBookFile): put the real LyX version in the first line of
6511 * version.C.in: remove lyx_docversion
6513 * tabular.C (write_attribute): add a template-based version to
6514 write enums properly
6516 2003-07-28 André Pönitz <poenitz@gmx.net>
6521 * text3.C: use doubles again for x-coordinates. They are needed.
6523 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6525 * messages.C (getLocaleDir): use lyx_localedir()
6527 * lyxlex_pimpl.C (setFile): compress stuff
6529 * buffer.C (writeFile): add some compression stuff
6530 (do_writeFile): new func, dont call expliti close... will this
6533 * Makefile.am (lyx_LDADD): add -lz
6535 2003-07-28 José Matos <jamatos@fep.up.pt>
6537 * buffer.C: increment file format.
6538 * paragraph_funcs (readParagraph, readParToken):
6539 * paragraph.C (readParagraph): add \end_layout.
6541 2003-07-27 Angus Leeming <leeming@lyx.org>
6543 * Makefile.am: remove special casing for configure-time setting of
6544 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6546 * lyx_main.C (init): remove all Jean-Marc's magic setting of
6547 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6549 2003-07-26 André Pönitz <poenitz@gmx.net>
6551 * paragraph_func.[Ch]:
6552 * paragraph.C (realizeFont): inline it whereever it is used
6557 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6560 2003-07-26 André Pönitz <poenitz@gmx.net>
6564 * text2.C: get rid of LyXText::need_break_row
6566 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6568 * toc.[Ch]: put namespace toc inside namespace lyx
6570 * MenuBackend.C (expandToc2): adjust for lyx::toc
6573 * lyxfunc.C (dispatch): adjust for lyx::find
6575 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6576 lyx::find instead. Reorganize a bit.
6577 (LyXReplace): rename to replace
6578 (LyXFind): rename to find
6580 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6583 2003-07-26 André Pönitz <poenitz@gmx.net>
6585 * text.C (setHeightOfRow): restrict scope of temporary variable
6587 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
6588 code (never has been used?)
6590 2003-07-27 Asger Alstrup <alstrup@local>
6592 * text.C (fill): Optimise algorithm to exploit that we can reuse
6593 the LyXFont for many characters.
6594 (setHeightOfRow): Same thing.
6595 (rowBreakPoint): Same thing.
6597 2003-07-26 Asger Alstrup <alstrup@local>
6599 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6601 * text.C (singleWidth): Spurious font copying in hot-spot
6602 singleWidth avoided. Reorder tests for arabic for efficiency.
6604 * text.C (fill): handle empty paragraphs better.
6606 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6609 * encoding.h: add includes
6611 * lyxrc.C: remove reading of bind files
6613 * lyx_main.C (init): setup bindings and menus only if we have a
6616 * kbmap.C (read): new method. Do the actual reading of bind
6619 * converter.C (dvipdfm_options):
6622 (output): adapt PAPER_* enums.
6624 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6626 * bufferparams.h: remove paper-related enums from there
6628 * paper.h: New file. A trivial header file to hold paper-related
6629 enums. It should later expand to contain many paper-related
6632 * lyxrc.C: declare extern displayTranslator
6634 2003-07-27 José Matos <jamatos@fep.up.pt>
6636 * tabular.[Ch] (linuxdoc): add support for tables and figures
6639 2003-07-27 José Matos <jamatos@fep.up.pt>
6641 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6642 consistency in both functions.
6643 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6645 2003-07-26 Asger Alstrup <alstrup@local>
6647 * rowpainter.C (paintRows): Change algorithm to work directly on
6648 the insets rather than asking every character in the document
6649 whether its an inset.
6651 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
6653 * buffer.C (openFileWrite): factorize some code
6655 2003-07-26 Angus Leeming <leeming@lyx.org>
6658 * lyx_main.[Ch]: replace occurances of system_tempdir with
6661 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6663 * rename Inset to InsetOld
6665 2003-07-25 Asger Alstrup <alstrup@diku.dk>
6667 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6668 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6669 which I think is a bit clearer. EDIT is gone, since it was
6670 premature optimisation, and broken for mathed anyway.
6671 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6672 with cursor positioning in insets as well (math insets still do not
6673 work, but that's a different story anyway.) It mysteriously
6674 crashes sometimes with undo in the first paragraph, but I'm fairly
6675 confident that this is a compiler bug.
6677 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6679 * paragraph.C (Paragraph): adjust for new clone return type
6681 (copyIntoMinibuffer): ditto
6683 2003-07-25 Asger Alstrup <alstrup@lyx.org>
6685 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6686 by not having a special case, and always doing a full rebreak of
6687 the document after undo.
6689 2003-07-23 Angus Leeming <leeming@lyx.org>
6691 * factory.C (createInset): InsetExternal::setParams now takes a
6694 2003-07-23 Angus Leeming <leeming@lyx.org>
6696 * factory.C (createInset): changed interface to the external and
6697 graphics mailers' string2params functions.
6699 2003-07-23 Angus Leeming <leeming@lyx.org>
6701 * factory.C (createInset): pass a
6702 Buffer const * parameter to InsetExternalMailer's string2params.
6704 2003-07-22 John Levon <levon@movementarian.org>
6706 * Thesaurus.h: include the right aiksaurus header
6708 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6710 * MenuBackend.C (expand): check menu shortcuts unconditionally
6712 2003-07-21 Angus Leeming <leeming@lyx.org>
6714 * factory.C (createInset): pass a
6715 buffer_path parameter to InsetGraphicsMailer's string2params.
6717 2003-07-21 Angus Leeming <leeming@lyx.org>
6719 * BufferView_pimpl.C (buffer):
6722 * lyxfunc.C (dispatch):
6723 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6724 rather than the grfx shortcut.
6726 2003-07-21 André Pönitz <poenitz@gmx.net>
6728 * rowpainter.C: remove unused variables
6731 * tabular_funcs.h: move to tabular.C
6732 * Makefile.am: adjust
6734 * tabular.[Ch]: basic optical cleaning
6736 * author.h: pass references, not values
6738 2003-07-18 André Pönitz <poenitz@gmx.net>
6746 * text3.C: two-phase drawing for InsetText and InsetTabular
6747 some float -> int changes.
6749 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6751 * lyx_main.C: fix the fix
6753 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6755 * lyx_main.C: fix a crash in batch mode if no files specified
6758 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
6760 * format.[Ch] (papersize): moved to BufferParams
6761 * converter.[Ch] (dvips_options): moved to BufferParams
6762 (dvipdfm_options): moved to anon namespace
6763 * bufferparams.[Ch]: added above functions.
6765 2003-07-17 André Pönitz <poenitz@gmx.net>
6769 * text2.C: don't call inset->update() anymore
6771 * metricsinfo.[Ch]: add convenience constructor
6773 2003-07-16 André Pönitz <poenitz@gmx.net>
6778 * text2.C: replace the LyXCursor::irow_ member with
6779 on-demand computation of the value
6781 2003-07-16 John Levon <levon@movementarian.org>
6783 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6785 2003-07-15 André Pönitz <poenitz@gmx.net>
6788 * text2.C: remove no more needed refresh_row
6790 2003-07-15 André Pönitz <poenitz@gmx.net>
6795 * text3.C: refresh_status tristate -> need_update bool
6797 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
6799 * lyxtext.h (init): remove reinit argument (act as if always true)
6800 * text2.C: adjust to that
6802 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6804 * bufferview_funcs.[Ch]: introduce function replaceSelection()
6805 * text3.C: use it to delete selections in some cases
6806 (bugs 441, 673, 702, 954).
6808 2003-07-14 André Pönitz <poenitz@gmx.net>
6810 * rowpainter.[Ch]: reduce interface
6812 2003-07-14 André Pönitz <poenitz@gmx.net>
6814 * BufferView_pimpl.C:
6815 * text2.C: adjust after removing unused BufferView * argument
6817 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
6819 * text2.C (init): fix a crash fired on resize
6821 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
6823 * buffer.[Ch]: added new closing signal
6824 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6825 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6826 BufferView::Pimpl via the closing the signal
6828 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
6830 * buffer.[Ch]: take out all bv-related from buffer
6832 * BufferView_pimpl.[Ch]: connect to new signals
6833 * CutAndPaste.C: removed useless asserts
6834 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6837 * lyxfunc.C: moved view-related funciontality from vc here
6838 * paragraph.C: removed outdated comments
6841 2003-07-10 André Pönitz <poenitz@gmx.net>
6843 * BufferView_pimpl.C:
6847 * text2.C: remove InsetText::InnerCache, clean up consequences
6849 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
6851 * ispell.C: fix two typos in error messages
6853 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
6855 * Extend Note inset to other forms of annotation like Comment
6856 and Greyedout. Right button click gives dialog.
6858 Files modified or added (+):
6862 * ControlNote.[Ch] +
6864 * Makefile.am in frontends/xforms, frontends/xforms/forms,
6865 frontends/controllers
6869 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6871 * aspell.C: add missing namespace lyx::support
6873 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
6875 * BufferView.[Ch] (newFile): Add
6876 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6877 * LaTeX.[Ch] (message): added this signal and use it
6878 * buffer.[Ch] (busy, message): added these signals and use them
6879 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6883 * importer.C: use buffer signals instead of direct bv calling
6884 * lyx_cb.[Ch] (ShowMessage): removed
6887 * paragraph_funcs.C:
6888 * text2.C: use buffer signals
6890 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6892 * introduce namespace lyx::graphics
6894 2003-07-02 André Pönitz <poenitz@gmx.net>
6896 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6898 2003-07-01 André Pönitz <poenitz@gmx.net>
6905 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6906 text*.C to text_func.C
6908 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6910 * introduce namespace lyx::support
6912 2003-06-30 André Pönitz <poenitz@gmx.net>
6917 * text.C: re-enable --with-included-string
6919 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6921 * textcursor.C: add <config.h>
6923 * text.C (getWord): remove const from word_location arg
6925 * lyxvc.C (getLogFile): fix const type order
6927 * lyxtext.h: remove const from word_location arg, add arg name
6929 * lyxlayout.h: currect type on labeltype.
6931 * importer.C: correct \file
6933 * converter.C (intToFormat): use std:: on ret val, ws changes
6935 * bufferlist.h: correct \file
6937 * buffer.C (makeLinuxDocFile): fix const type order
6938 (makeDocBookFile): ditto
6939 (fillWithBibKeys): use std:: on stdlib args.
6941 * CutAndPaste.C: fix authors.
6942 (availableSelections): use std:: on return vector
6944 2003-06-27 André Pönitz <poenitz@gmx.net>
6946 * BufferView_pimpl.C:
6947 * bufferview_funcs.C:
6955 * text3.C: remove LyXCursor::row_ member
6958 * text.C: rename fullRebreak() to partialRebreak() and implement
6959 a fullRebreak() that really bereks fully
6961 * textcursor.h: new struct for cursor-related data
6963 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
6965 * lyx_main.C (LyX): get full path of document loaded on the
6968 2003-06-26 André Pönitz <poenitz@gmx.net>
6970 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6971 remove unused/broken operator>,<,>=.
6973 * text.C: remove only use of broken operator<= in an Assert().
6975 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
6977 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6978 moved errorlist_.clear to showErrorList
6980 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
6982 * converter.C (scanLog, runLaTeX):
6983 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
6984 move the bv->showErrorList call to the callers
6985 * lyxfunc.C: i.e. here...
6987 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6988 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6989 namespace, the second to...
6990 * buffer_funcs (BufferFormat, parseErrors): added
6991 * errorlist.C (ErrorList(TeXErrors const &)): removed
6993 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6995 * ToolbarBackend.C (getIcon): complain when icon cannot be found
6997 2003-06-24 "Garst R. Reese" <reese@isn.net>
7001 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7003 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
7005 * version.C.in: change docversion to 1.4
7007 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
7009 * buffer.C: fix a bug just introduced
7011 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
7013 * buffer.[Ch]: added the parseError signal and use it, removed
7015 * BufferView.[Ch] (addError): moved to ...
7016 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
7017 to the Buffer::parseError signal to catch (guess what) parse errors
7018 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
7020 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
7022 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
7023 ability to create a buffer and to return an existing one from
7024 the list. Moved these functions to...
7025 * buffer_funcs.[Ch]: added
7026 * BufferView.[Ch] (loadLyXFile): added
7027 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
7028 job removed from bufferlist::loadLyXFile.
7029 * buffer.C (setReadOnly): make it work without view
7030 (i.e added an if (users))
7032 2003-06-19 Angus Leeming <leeming@lyx.org>
7035 * LyXAction.C (init):
7036 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
7037 with LFUN_DIALOG_SHOW <name> <data>.
7039 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7041 * CutAndPaste.C (availableSelections): small compilation fix for
7042 ancient (gcc 2.9x) compilers
7044 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
7046 * text3.C (cursorNext): add tmp var
7048 * text2.C (updateCounters): for function calling out of for clause
7049 (replaceSelectionWithString): ditto
7050 (insertStringAsParagraphs): ditto
7051 (getColumnNearX): add tmp var
7052 (setCursorFromCoordinates): add tmp var
7053 (cursorDownParagraph): add tmp var
7054 (deleteEmptyParagraphMechanism): add tmp var
7056 * text.C (insertChar): add tmp var
7058 * rowpainter.C (paintDepthBar): add tmp var
7060 * CutAndPaste.C (availableSelections): potentially check all
7061 paragraphs in a cut to fill the shown strings.
7063 2003-06-18 André Pönitz <poenitz@gmx.net>
7065 * kbmap.[Ch]: use vector<> instead of list<>
7067 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
7069 * text3.C (dispatch): handle arg to LFUN_PASTE, call
7070 pasteSelection with index
7072 * text2.C (pasteSelection): modify, call pasteSelection with index
7074 * paragraph.C (asString): reimplement version with no interval to
7075 call the one with interval.
7077 * lyxtext.h: add index arg to pasteSelection
7079 * MenuBackend.C (MenuItem): handle PasteRecent
7080 (Menu::read::Menutags): add md_pasterecent
7082 (expandPasteRecent): new function
7085 * MenuBackend.h: add PasteRecent to MenuItem::Kind
7087 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
7089 (availableSelections): new function
7091 2003-06-17 Angus Leeming <leeming@lyx.org>
7093 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
7095 2003-06-17 Angus Leeming <leeming@lyx.org>
7098 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
7100 * lyxfunc.C (dispatch): invoke it.
7102 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7104 * iterators.C (operator++, ParPosition): reintroduce some
7105 const_cast for the benefit of older compilers.
7107 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7109 * text3.C (dispatch): do not modify clipboard when doing
7110 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
7111 LFUN_DELETE_SKIP on a selection selection
7113 2003-06-16 André Pönitz <poenitz@gmx.net>
7119 * tabular.[Ch]: IU of clone() and getLabelList();
7121 2003-06-13 André Pönitz <poenitz@gmx.net>
7123 * tabular.h: compactification
7125 2003-06-12 André Pönitz <poenitz@gmx.net>
7129 * tabular_funcs.h: some renaming plus whitespace
7131 2003-06-12 André Pönitz <poenitz@gmx.net>
7134 * BufferView_pimpl.C:
7140 * toc.C: Return a Paragraph & for ParIterator::operator*()
7142 2003-06-11 John Levon <levon@movementarian.org>
7146 * ToolbarBackend.C: add "Toolbars" section and
7149 2003-06-10 Angus Leeming <leeming@lyx.org>
7152 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
7154 * lyxfunc.C (dispatch): invoke it.
7156 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7158 * main.C: protect <ios> with HAVE_IOS
7159 (main): protect sync_with_stdio with HAVE_IOS
7161 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
7163 * text2.C (cutSelection): adjust
7164 (pasteSelection): adjust
7166 * messages.C: handle get of empty string
7168 * main.C (main): use sync_with_stdio(false)
7170 * lyxfunc.C (dispatch): adjust
7172 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
7173 (WriteAs): remove unneeded BufferView arg.
7175 * bufferparams.h: use correct types on papersize, papersize2 and
7178 * bufferparams.C (readToken): adjust for type
7179 (writeLaTeX): add missing cases to switch.
7181 * bufferlist.C (quitWriteBuffer): adjust
7184 * buffer.C (asciiParagraph): remove some commented code.
7186 * CutAndPaste.C: remove current_view extern variable.
7187 (cutSelection): add BufferParams arg.
7188 (eraseSelection): add BufferParams arg.
7189 (pasteSelection): add Buffer const & arg
7191 2003-06-07 John Levon <levon@movementarian.org>
7194 * paragraph_funcs.C:
7195 * paragraph_pimpl.C:
7199 * paragraph.C: allow InsetERT to freely space lines,
7200 and some consolidation of code
7202 2003-06-06 José Matos <jamatos@fep.up.pt>
7204 * buffer.C (makeDocBookFile): fix bug #821
7206 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
7208 * BufferView_pimpl.C (dispatch): use Dialogs::visible
7210 2003-06-04 Angus Leeming <leeming@lyx.org>
7212 * buffer.C: bump format to 224.
7214 2003-06-05 André Pönitz <poenitz@gmx.net>
7216 * text2.C (redoParagraphs): remove two const_cast<>
7218 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
7220 * ParagraphList.h: remove last remnants of NO_STD_LIST
7222 2003-06-03 Angus Leeming <leeming@lyx.org>
7224 * factory.C (createInset): small change to the way InsetExternal's params
7227 2003-06-04 André Pönitz <poenitz@gmx.net>
7229 * buffer.h: use Undo directly instead of shared_ptr<Undo>
7231 * paragraph_pimpl.h:
7232 * paragraph.[Ch]: some Inset -> UpdatableInset changes
7234 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
7236 * undo_funcs.C: make some simple cases of undo work again
7238 2003-06-03 John Levon <levon@movementarian.org>
7240 * ispell.C: HPUX doesn't have sys/select.h
7243 2003-06-03 John Levon <levon@movementarian.org>
7245 * CutAndPaste.C: update tabular and include inset
7250 * paragraph.C: remove owningBuffer(), don't pass Buffer
7253 * factory.C: insetGraphicsParams changed
7255 2003-06-02 John Levon <levon@movementarian.org>
7261 * text3.C: remove insetparent
7263 2003-06-02 John Levon <levon@movementarian.org>
7266 * buffer.C: fix inset_iterator.end(), move out of line
7269 2003-06-01 John Levon <levon@movementarian.org>
7271 * text3.C: use a proper cut/paste when doing inset
7272 insert (from Jürgen Spitzmüller)
7274 2003-06-01 John Levon <levon@movementarian.org>
7276 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7278 2003-05-30 André Pönitz <poenitz@gmx.net>
7280 * rowpainter.C: unify second drawing phase
7282 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7284 * trans_mgr.C: remove one case of current_view
7286 * text2.C (cursorBottom): delete NO_STD_LIST stuff
7288 * paragraph_funcs.h: remove paragraph.h include
7290 * paragraph.h: delete NO_STD_LIST stuff
7292 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7294 * buffer.h: remove paragraph.h include
7296 * ParagraphList.C: delete file
7298 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7300 * toc.C (getTocList): adjust
7302 * paragraph_pimpl.C (validate): adjust
7304 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7306 * paragraph.C (Paragraph): adjust
7307 (getPositionOfInset): use const_iterator, adjust
7308 (bibitem): use const_iterator, adjust
7309 (setInsetOwner): adjust
7311 * iterators.C (operator++): adjust
7313 * InsetList.[Ch]: Replace selfmade iterator with standard
7314 vector::iterator also introduce const_iterator. Remove getPos,
7315 getInset and setInset from InsetTable. Adjust accordingly.
7317 * BufferView.C (lockInset): adjust
7318 (ChangeInsets): adjust
7320 * tabular.[Ch]: delete commented same_id functions
7322 2003-05-28 John Levon <levon@movementarian.org>
7324 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7326 2003-05-28 André Pönitz <poenitz@gmx.net>
7328 * metricsinfo.[Ch]: remove 'fullredraw' member
7330 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
7332 * lyxtextclass.C (operator): remove caching.
7334 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7338 * text2.C (cursorBottom): adjust
7339 (setCounter): use ParagraphList::find, adjust
7341 * text.C (workWidth): use ParagraphList::find, adjust
7343 * lyxcursor.C (LyXCursor): adjust
7345 * buffer.C (inset_iterator): adjust
7347 * ParagraphList.h: make iterator(value_type) private, make
7348 ParagraphList a friend of iterator.
7350 * ParagraphList.C (find): new function
7352 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7354 2003-05-27 André Pönitz <poenitz@gmx.net>
7356 * dimension.[Ch]: a -> asc, d -> des, w -> wid
7358 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7360 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7362 2003-05-26 John Levon <levon@movementarian.org>
7364 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7366 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
7368 * remove same_id from function signatures, adjust.
7370 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7372 * undo_funcs.C (createUndo): use the id functions directly, adjust.
7374 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7376 * paragraph.C (Paragraph): get rid of same_ids parameter
7378 * ParagraphList.C (insert): adjust
7381 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7383 * paragraph_funcs.C (breakParagraph): adjust
7384 (breakParagraphConservative): adjust
7386 * buffer.C (readParagraph): adjust
7388 * ParagraphList.C (insert): take a reference instead of a pointer
7391 * paragraph.[Ch] (id): new function
7393 * bufferlist.C (newFile): adjust
7395 * ParagraphList.C (ParagraphList): adjust
7397 (push_back): take a reference instead of a pointer.
7399 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7401 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7404 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7405 set else use old code.
7407 * ParagraphList.C: remove all NO_NEXT code and only compile this
7408 code of NO_STD_LIST is set.
7410 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7412 * BufferView_pimpl.C:
7422 * graphics/GraphicsConverter.C:
7423 * graphics/PreviewLoader.C: header adjustment
7425 2003-05-23 Angus Leeming <leeming@lyx.org>
7427 * LaTeXFeatures.[Ch] (useBabel): new method.
7428 * bufferparams.C (writeLaTeX): use it.
7430 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7432 * ParagraphList.h (set): remove unused function.
7434 2003-05-23 André Pönitz <poenitz@gmx.net>
7437 * BufferView_pimpl.C:
7441 * undo_funcs.C: setUndo reworked
7443 * iterators.[Ch]: add access to topmost ParagraphList
7445 * lyxtext.[Ch] (workWidth): add a const
7447 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7449 * texrow.[Ch] (increasePos): remove function
7450 * exporter.C (export): removed unused var and outdated comment
7452 2003-05-23 Angus Leeming <leeming@lyx.org>
7454 * latexrunparams.h: rename fragile as moving_arg.
7455 * paragraph.C (simpleTeXOnePar): ditto.
7456 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7458 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7460 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7462 (textUndoOrRedo): comment out a currently unused var.
7464 * paragraph.h (NO_NEXT): enable NO_NEXT
7466 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7468 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7470 * exporter.C (Export): adjust for removeAutoInsets removal.
7472 * buffer.C (runChktex): adjust for removeAutoInsets removal.
7474 * LyXAction.C (init): remove LFUN_REMOVEERRORS
7476 * BufferView.[Ch] (removeAutoInsets): delete function
7478 2003-05-22 Angus Leeming <leeming@lyx.org>
7480 * latexrunparams.h: add a free_spacing variable.
7482 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7483 to pass moving_arg, as the data is stored in runparams.fragile.
7485 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7486 to Inset::latexOptional or to simpleTeXOnePar.
7488 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7489 free_spacing arg to Inset::latexOptional.
7491 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7494 2003-05-22 Angus Leeming <leeming@lyx.org>
7496 * latexrunparams.h: add fragile and use_babel variables.
7498 * bufferparams.[Ch] (writeLaTeX): return use_babel.
7499 * buffer.C (makeLaTeXFile): store this returned value in
7500 runparams.use_babel, thus passing it to the inset::latex methods.
7502 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7503 simpleTeXSpecialChars as it is now stored in runparams.fragile.
7505 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7506 longer has a fragile arg, as it is stored in runparams.fragile.
7508 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7509 moving_arg parameter as the data is stored in runparams.fragile.
7511 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7512 a fragile parameter as the data is stored in runparams.fragile.
7514 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7516 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7518 2003-05-22 Angus Leeming <leeming@lyx.org>
7520 * latexrunparams.h: add a 'bool nice' which defaults to false.
7522 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7523 now encapsulated within runparams.
7525 * bufferlist.C (updateIncludedTeXfiles):
7526 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7528 2003-05-22 Angus Leeming <leeming@lyx.org>
7530 * latexrunparams.h: new file containing struct LatexRunParams.
7531 * Makefile.am: add new file.
7533 * LaTeX.[Ch] (c-tor, run):
7534 * buffer.[Ch] (makeLaTeXFile):
7535 * bufferlist.[Ch] (updateIncludedTeXfiles):
7536 * converter.C (convert, scanLog):
7537 * converter.[Ch] (runLaTeX):
7538 * exporter.C (Export):
7539 * paragraph.[Ch] (simpleTeXOnePar):
7540 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7541 * paragraph_funcs.[Ch] (latexParagraphs):
7542 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7543 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7544 pass around a LatexRunParams parameter.
7546 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7548 * paragraph.[Ch]: remove unused constructor
7550 * ParagraphList.C (erase): new function, taking two iterators
7552 2003-05-22 André Pönitz <poenitz@gmx.net>
7554 * undo_funcs.C: remove duplicated code
7556 * iterator.[Ch]: operator=
7558 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7560 * tabular.C (SetMultiColumn): ws changes
7562 * rowpainter.C (paintFirst): get rid of a ->previous
7564 * lyx_cb.C (getPossibleLabel): parlist simplification
7566 * BufferView.C (ChangeInsets): simplify slightly.
7568 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
7570 * LyXAction.C: new lfun space-insert, kill protected-space-insert
7571 * lfuns.h: new LFUN_SPACE
7572 * lyxfunc.C: protected space has a new lfun
7573 * paragraph_funcs.C: read new space insets
7575 * factory.C: handle new space insets
7577 2003-05-22 André Pönitz <poenitz@gmx.net>
7580 * BufferView_pimpl.C:
7583 * undo_funcs.C: return a ParIterator from getParFromID.
7585 * iterators.[Ch]: add two const's
7587 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7589 * toc.C (getTocList): adjust
7591 * iterators.[Ch]: rework for parlist
7593 * buffer.C (par_iterator_begin): adjust
7594 (par_iterator_end): adjust
7596 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7598 * BufferView.C (removeAutoInsets): adjust
7599 (ChangeInsets): adjust
7601 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
7603 * text.C (top_y): fix bug 1110
7605 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
7607 * errorlist.[Ch]: added
7610 * BufferView_pimpl.C:
7611 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7614 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7616 * Makefile.am: ensure that lyx is relinked upon changes to the
7617 various "convenience" libs.
7619 2003-05-20 Angus Leeming <leeming@lyx.org>
7621 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7622 files are compiled in alphabetical order again.
7624 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7626 2003-05-19 Angus Leeming <leeming@lyx.org>
7628 * gettext.[Ch]: remove "char const * _(char const *)".
7630 2003-05-19 André Pönitz <poenitz@gmx.net>
7632 * dimension.[Ch]: promote from mathed/dimension.[Ch]
7641 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7643 2003-05-19 André Pönitz <poenitz@gmx.net>
7647 * lyxtextclass.[Ch]:
7649 * paragraph_funcs.[Ch]:
7651 * text3.C: more insetenv work
7653 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
7655 * ParagraphParameters.C (params2string): small bug fixed
7657 2003-05-16 André Pönitz <poenitz@gmx.net>
7660 * bufferview_funcs.C: patch from Kornel Benko to prevent
7661 crash when _(...) is called twice in a statement
7663 2003-05-16 André Pönitz <poenitz@gmx.net>
7670 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7672 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
7674 * lyx_main.C (init): remove spurious static_cast
7676 2003-05-14 André Pönitz <poenitz@gmx.net>
7678 * BufferView.C: fix format string
7680 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
7682 * BufferView.[Ch] (insertErrors): removed
7683 * BufferView.[Ch] (showErrorList): added
7684 * buffer.C (runChkTeX):
7685 * converter.C (scanLog): call showErrorList instead of inserterrors
7687 2003-05-13 André Pönitz <poenitz@gmx.net>
7689 * BufferView_pimpl.C:
7691 * bufferview_func.C:
7698 * tabular_funcs.h: tostr() from its own header
7700 * ParagraphParameters.C:
7705 * text3.C: STRCONV()
7707 2003-05-12 André Pönitz <poenitz@gmx.net>
7710 * BufferView_pimpl.C:
7714 * ParagraphParameters.C:
7718 * bufferview_funcs.C:
7731 * paragraph_funcs.C:
7735 * text3.C: boost::format -> bformat all over the place
7738 2003-05-09 André Pönitz <poenitz@gmx.net>
7740 * LColor.[Ch]: Pimpl the #include <map> away
7742 2003-05-09 John Levon <levon@movementarian.org>
7744 * bufferlist.C: never remove emergency saves
7746 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7748 * Makefile.am: better lib building
7750 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
7752 * texrow.[Ch]: remove dependency on Paragraph and just store a id
7754 * paragraph_pimpl.C (simpleTeXBlanks): adjust
7755 (simpleTeXSpecialChars): adjust
7756 (simpleTeXSpecialChars): adjust
7757 * paragraph.C (simpleTeXOnePar): adjust
7758 * buffer.C (makeLaTeXFile): adjust
7760 * Makefile.am (BOOST_LIBS): allow boost as system lib.
7762 * text2.C (changeDepth): parlist cleanup
7763 (getColumnNearX): ditto
7765 * rowpainter.C (getLabelFont): parlist cleanup
7767 * bufferlist.C (newFile): parlist cleanup
7769 * CutAndPaste.C (eraseSelection): parlist cleanup
7771 * BufferView_pimpl.C (trackChanges): parlist cleanup
7774 * BufferView.C (lockInset): parlist cleanup.
7775 (ChangeInsets): ditto
7777 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7779 * CutAndPaste.h: Update file header.
7781 * CutAndPaste.C: Update file header.
7782 Store the parts cut out of the Document in a limited_stack.
7783 (copySelection): adjust
7784 (pasteSelection): new function, takes the index in the limited stack.
7785 (nrOfParagraphs): adjust
7786 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7787 simplify error inset insertion.
7788 (checkPastePossible): adjust
7790 2003-05-06 John Levon <levon@movementarian.org>
7792 * text2.C: don't cast wrap inset to float
7794 2003-05-05 André Pönitz <poenitz@gmx.net>
7797 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7799 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7800 few naked Paragraph *.
7802 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
7804 * bufferparams.C: Output warning if a document with missing
7805 TeX document class is loaded
7806 * exporter.C: Disable TeX exports if the document class is missing
7809 * lyxtextclasslist.C: Handle new textclass.lst format; new method
7810 isTeXClassAvailable()
7812 2003-05-03 John Levon <levon@movementarian.org>
7815 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7816 explicit cursor show/hide
7818 * BufferView_pimpl.h:
7819 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7820 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7822 * lyxfunc.C: hide cursor before dispatching.
7827 * text3.C: remove explicit cursor hides
7829 2003-05-02 André Pönitz <poenitz@gmx.net>
7831 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7834 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7837 * text2.C: tiny whitespace
7839 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7841 * undo_funcs.C: almost only ws changes.
7843 * ParagraphList.C (splice): just return if pl is empty.
7845 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7847 * ParagraphList.C (splice): new function.
7849 * CutAndPaste.C (pasteSelection): use it
7851 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7853 * CutAndPaste.C (pasteSelection): remove the last next and
7854 previous from this file.
7856 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7858 * CutAndPaste.C (pasteSelection): more clean up, user proper
7859 ParagraphList functions for pasteing.
7861 * ParagraphList.C (insert): new function, three arg insert
7863 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7865 * ParagraphList.C (insert): new function, three arg insert
7867 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7870 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7872 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7874 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7876 * CutAndPaste.C (pasteSelection): remove some unneeded code.
7878 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7880 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7881 (copySelection): clean up a bit.
7882 (pasteSelection): use make_pair
7884 * ParagraphList.C (ParagraphList): implement copy constructor
7885 (operator=): implement, base on copy constructor.
7888 * paragraph.C (erase): return a bool
7890 * paragraph_pimpl.C (erasePos): remove function, move contents...
7891 (erase): ... here. Return a bool.
7892 (erase): call erase instead of erasePos.
7894 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
7896 * ParagraphList.h: define PitPosPair
7897 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7898 ParagraphList, fix a bug on pasting multiple pars
7899 * text2.C: change interface to C&P
7901 2003-04-30 André Pönitz <poenitz@gmx.net>
7903 * undo_func.C: revert part of yesterday's patch 2
7905 2003-04-30 John Levon <levon@movementarian.org>
7907 * LColor.C: s/tabular/table/
7909 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7911 * text3.C (dispatch): do not convert iterator -> pointer
7912 * undo_funcs.C (setCursorParUndo): ditto
7913 * text_funcs.C (transposeChars): ditto
7915 * text2.C (setLayout): ws changes only
7917 * text.C (breakParagraph): do not convert iterator -> pointer
7919 (acceptChange): ditto
7920 (rejectChange): ditto
7925 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7928 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
7930 * text3.C (gotoInset): YABG (yet another bad getChar)
7932 2003-04-29 André Pönitz <poenitz@gmx.net>
7934 * paragraph.h: make operator= private unimplemented as long as
7937 * ParagraphList.C: whitespace
7940 * paragraph_pimpl.[Ch]:
7941 * paragraph_funcs.C:
7943 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
7946 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7948 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
7950 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7951 * paragraph.[Ch] (erase):
7952 * paragraph_pimpl.[Ch] (erase): change return type and value
7953 * text2.C (cutSelection): some rework
7955 2003-04-28 John Levon <levon@movementarian.org>
7957 * bufferlist.C: changes for unsaved changes dialog
7959 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7961 * bufferlist.C (newFile): set language (messages_) for new
7964 * buffer.C (readFile): ws changes only.
7966 2003-04-28 André Pönitz <poenitz@gmx.net>
7971 * BufferView_pimpl.C:
7972 * BufferView.C: getParFromID related ParagraphList::iterator changes
7974 2003-04-28 André Pönitz <poenitz@gmx.net>
7976 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7979 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7981 * messages.C: remove one more localedir class variable.
7983 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7985 * messages.C (getLocaleDir): singleton generation function
7987 (Messages): add a default constructor.
7989 * main.C (main): do not setup localedir here, do not call
7992 * gettext.C (_): use it.
7993 (gettext_init): delete funciton
7995 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7997 * gettext.C (getLyXMessages): new singleton generating function.
7999 * buffer.C (updateDocLang): adjust
8001 * Makefile.am (messages.o): add target
8002 (main.o): remove target
8004 2003-04-27 John Levon <levon@movementarian.org>
8009 * lyxvc.C: specify cancel button in Alert::prompt
8011 2003-04-26 John Levon <levon@movementarian.org>
8016 * LyXAction.C: add LFUN_INSET_SETTINGS
8018 * lyxfunc.C: don't enable tabular-feature when there's
8019 just any locking inset
8021 2003-04-26 John Levon <levon@movementarian.org>
8023 * bufferlist.C: re-add Cancel to buffer close question
8025 * lyxfunc.C: fix import UI a bit
8027 2003-04-25 John Levon <levon@movementarian.org>
8029 * gettext.C: remove the broken asserts for now
8031 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
8033 * messages.C: make case where setlocale cannot comply work better.
8035 * buffer.C (updateDocLang): new function
8036 (changeLanguage): use it
8039 * text2.C (setCounter): use B_ a bit.
8041 * lyxlayout.C (Read): be sure to trim the label strings.
8043 * messages.C (Messages): fix typo in comment
8045 * buffer.C (readFile): set message_ after file is loaded.
8046 (makeDocBookFile): remove double return
8047 (changeLanguage): reset message_ upon language change.
8048 (B_): new func, use this to get translated buffer strings.
8050 * main.C: add myself and Jean Marc as authors.
8052 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
8054 * messages.[hC]: pimplify Messages, and three different pimpls to be
8055 used in different circumstances.
8057 * gettext.[Ch]: change for use with new message code.
8059 2003-04-24 André Pönitz <poenitz@gmx.net>
8061 * factory.C: support for eqref
8063 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
8065 * messages.[Ch]: add missing char
8067 * Makefile.am (lyx_SOURCES): add messages.[Ch]
8069 * messages.[Ch]: New files
8071 2003-04-18 John Levon <levon@movementarian.org>
8075 * BufferView_pimpl.C:
8079 * text2.C: remove layout-copy/paste (bug 778)
8081 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
8083 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
8085 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
8087 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
8088 if they succeed. Act accordingly.
8090 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8092 * text2.C (setCharFont): adjust
8093 (setCounter): adjust
8094 (insertStringAsLines): adjust
8096 * text.C (leftMargin): adjust
8097 (setHeightOfRow): adjust
8099 * rowpainter.C (paintFirst): adjust
8102 * paragraph_funcs.C (depthHook): ParagraphList::iterators
8104 (isFirstInSequence): ditto
8105 (getEndLabel): ditto
8108 * paragraph.C (getParLanguage): comment out some hard stuff.
8110 * buffer.C (insertStringAsLines): take a ParagraphList as arg
8112 (simpleDocBookOnePar): ditto
8113 (makeDocBookFile): use ParagraphList::iterator
8115 * CutAndPaste.C (pasteSelection): adjust
8117 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8119 * text2.C (getFont): adjust
8120 (getLayoutFont): adjust
8121 (getLabelFont): adjust
8123 * paragraph_funcs.C (TeXOnePar): adjust
8125 * buffer.C (simpleLinuxDocOnePar): adjust
8126 (simpleDocBookOnePar): adjust
8128 * CutAndPaste.C (pasteSelection): adjust
8130 * BufferView.C (getEncoding): adjust
8132 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
8134 2003-04-16 John Levon <levon@movementarian.org>
8136 * lyxfind.C: use parlist stuff for search/changes
8138 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8140 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
8142 * text2.C (deleteEmptyParagraphMechanism): adjust
8144 * text2.[Ch] (ownerParagraph): delete func (both of them
8146 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8148 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
8150 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8152 * ParagraphList.C: prepare for NO_NEXT
8154 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8156 * text2.C (getFont): adjust
8157 (getLayoutFont): adjust
8158 (getLabelFont): adjust
8160 * paragraph.C (getFont): adjust
8161 (getLabelFont): adjust
8162 (getLayoutFont): adjust
8164 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
8166 2003-04-15 John Levon <levon@movementarian.org>
8170 * lyx_main.C: handle Include in .ui files
8172 2003-04-15 John Levon <levon@movementarian.org>
8174 * MenuBackend.C: make the doc files length shorter
8177 * ToolbarBackend.C: handle toolbar placement flags,
8180 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8182 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
8185 * paragraph_funcs.C (TeXOnePar): adjust
8187 * paragraph.C (getLabelFont): add outerfont arg, adjust
8188 (getLayoutFont): ditto
8189 (simpleTeXOnePar): adjust
8191 * paragraph_pimpl.C (realizeFont): delete func
8193 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
8195 * text2.C (beforeFullRowInset): added a bad getchar check, removed
8196 row argument, constify cur argument.
8198 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8200 * text2.C (getFont): adjust
8201 (getLayoutFont): adjust
8202 (getLabelFont): adjust
8204 * paragraph_funcs.C (TeXOnePar): adjust
8205 (outerFont): new func...
8206 (realizeFont): ...moved out from here, changed this to facilitate
8209 * paragraph.C (getFont): take outerfont as arg, adjust
8210 (simpleTeXOnePar): add outerfont arg, adjust
8212 * buffer.C (simpleLinuxDocOnePar): adjust
8213 (simpleDocBookOnePar): adjust
8215 * CutAndPaste.C (pasteSelection): adjust
8217 * BufferView.C (getEncoding): adjust
8219 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8221 * text2.C (setCharFont): adjust
8222 (setCounter): adjust
8224 * text.C (leftMargin): adjust
8225 (setHeightOfRow): adjust
8227 * rowpainter.C (paintFirst): adjust
8230 * paragraph_pimpl.C (realizeFont): adjust
8232 * paragraph.C (isFirstInSequence): move from here...
8233 * paragraph_funcs.C (isFirstInSequence): ...to here
8235 * paragraph.C (outerHook): move from here...
8236 * paragraph_funcs.C (outerHook): ...to here
8238 * paragraph.C (depthHook): move from here...
8239 * paragraph_funcs.C (depthHook): ...to here
8241 * paragraph.C (getEndLabel): move from here...
8242 * paragraph_funcs.C (getEndLabel): ...to here
8244 * text2.C (realizeFont): move from here...
8245 * paragraph_funcs.C (realizeFont): ...to here
8247 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8249 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
8251 2003-04-14 Angus Leeming <leeming@lyx.org>
8253 * LColor.[Ch]: scrap LColor mathcursor.
8255 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8257 * lyxlex.[Ch] (text): delete function
8258 * trans.C (Load): adjust
8259 * paragraph_funcs.C (readParToken): adjust
8261 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8263 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8264 vector<char> instead of a char[].
8266 * lyxlex_pimpl.C (getString): adjust
8268 (lex): use getString
8272 * lyxlex.C (text): use pimpl_->getString()
8276 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8278 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8279 (makeFontEntriesLayoutSpecific): temp var for par.size()
8280 (setLayout): temp var for ownerParagraphs().end()
8281 (fullRebreak): temp var for rows().end()
8282 (selectionAsString): temp var for boost::next(startpit), realize
8283 that the while really is a regular for loop.
8284 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8285 setCursor in one place.
8286 (setParagraph): temp vr for ownerParagraphs().end()
8287 (updateCounters): make the while loop a for loop
8288 (cutSelection): temp var for ownerParagraphs().end()
8289 (updateInset): make the do {} while() a regular for loop
8290 (getCursorX): use temp vars
8291 (setCurrentFont): use temp vars
8292 (getColumnNearX): use temp vars
8294 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8296 * text.C (transformChar): use temp var for getChar
8297 (computeBidiTables): use temp var for row->par()
8298 (fill): move temp vars for row->par() and pit->layout() earlier in
8300 (labelFill): use temp var for row->par()
8301 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8302 asc and desc, realize that pit never changes and that firstpit is
8303 just a duplicate and not needed. Exchange rit->par() with pit in a
8305 (breakAgain): use a temp var for boost::next(rit)
8306 (breakAgainOneRow): ditto
8307 (breakParagraph): use a temp var for rows().begin()
8308 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8309 (cursorRightOneWord): use temp var for cursor.par() and
8310 cursor.pos(), remove usage of tmpcursor.
8311 (cursorLeftOneWord): use temp var for cursor.par() and
8312 cursor.pos() only set cur at end of function.
8314 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8316 * text.C, text2.C: exchange all usage of Paragraph::next with
8317 boost::next(ParagraphList::iterator)
8319 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8321 * text2.C (cursorTop): simplify implementation
8322 (cursorBottom): ditto
8323 (setParagraph): use ParagraphList::iterator
8324 (setCurrentFont): adjust
8325 (getColumnNearX): adjust
8326 (cursorRight): adjust
8327 (cursorLeft): remove usage of Paragraph::previous
8328 (cursorUpParagraph): ditto
8329 (deleteEmptyParagraphMechanism): slight cleanup
8331 * text.C (isBoundary): take a Paragraph const & instead of a
8333 (addressBreakPoint): ditto
8334 (leftMargin): remove usage of Paragraph::previous.
8335 (setHeightOfRow): ditto
8336 (cursorLeftOneWord): ditto
8337 (selectNextWordToSpellcheck): ditto
8340 (breakParagraph): remove one usage of Paragraph::next
8341 (redoParagraph): ditto
8342 (acceptChange): ditto
8343 (insertChar): adjust
8344 (rowBreakPoint): adjust
8346 * bufferview_funcs.C (toggleAndShow): adjust
8348 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
8350 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8351 methods to access it.
8353 * text.C: Added updateRowPositions to compute all row positions.
8354 Make top_y and getRowNearY() to use the cached y position
8356 2003-04-11 John Levon <levon@movementarian.org>
8358 * text.C (rowBreakPoint): reintroduce the labelEnd
8359 checks, code copied from the row fill stuff. Deep voodoo.
8361 * text.C (fill): add a comment and debugging for the
8364 2003-04-11 John Levon <levon@movementarian.org>
8366 * text.C: make sure fullrow insets get wrapped to the next line,
8367 even when they're in a manual label
8369 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
8371 * text2.C (insertParagraph): make it take ParagraphList::iterator
8373 (setLayout): make it return ParagraphList::iterator
8374 (redoParagraphs): ditto
8376 (checkParagraph): ditto
8378 * text.C (getRow): make getrow take ParagraphList::iterator as arg
8380 * text2.C: adjust several funcs.
8381 (realizeFont): take a ParagraphList::iterator as arg.
8382 (getLayoutFont): ditto
8383 (getLabelFont): ditto
8384 (setCharFont): ditto
8386 * text.C: adjust several funcs.
8388 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8390 * text.C (selectNextWordToSpellcheck): don't accidentally
8393 2003-04-10 John Levon <levon@movementarian.org>
8395 * ToolbarBackend.C (getIcon): special handling for
8398 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8400 * text2.C (cursorRight): a getChar assert fixed
8402 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8404 * text2.C (getFont): change to take a ParagraphList::iterator
8405 instead of Paragraph*
8406 Adjust several functions.
8408 * text.C (transformChar): change to take a ParagraphList::iterator
8409 instead of Paragraph*
8410 (singleWidth): ditto
8411 Adjust several functions.
8413 * rowpainter.C: adjust several functions
8414 * rowpainter.h:store a ParagraphList::iterator and not a
8418 2003-04-09 John Levon <levon@movementarian.org>
8423 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8424 and the "help" bits as well
8426 2003-04-09 John Levon <levon@movementarian.org>
8429 * ToolbarBackend.C: allow multiple toolbars
8431 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8433 * undo_funcs.C (setCursorParUndo): adjust
8435 * text_funcs.C (transposeChars): adjust
8437 * text3.C (gotoNextInset): adjust
8440 * text2.C (setLayout): adjust
8441 (changeDepth): adjust
8443 (redoParagraphs): adjust
8444 (selectionAsString): adjust
8445 (setParagraph): adjust
8446 (insertInset): adjust
8447 (cutSelection): adjust
8448 (copySelection): adjust
8449 (pasteSelection): adjust
8450 (insertStringAsLines): adjust
8451 (updateInset): adjust
8452 (setCursor): change to take a ParagraphList::iterator parameter
8453 (setCursorIntern): change to take a ParagraphList::iterator parameter
8454 (setCurrentFont): adjust
8455 (cursorLeft): adjust
8456 (cursorRight): adjust
8457 (deleteEmptyParagraphMechanism): adjust
8459 * text.C (breakParagraph): adjust
8460 (insertChar): adjust
8461 (acceptChange): adjust
8462 (rejectChange): adjust
8463 (selectNextWordToSpellcheck): adjust
8464 (changeCase): adjust
8468 * lyxfind.C (SearchForward): adjust
8469 (SearchBackward): adjust
8470 (nextChange): adjust
8472 * lyxcursor.C (par): adjust
8474 * lyxcursor.h: store a ParagraphList::iterator instead of a
8477 * lyx_cb.C (getPossibleLabel): adjust
8479 * bufferview_funcs.C (toggleAndShow): adjust
8481 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8484 * BufferView.C (removeAutoInsets): adjust
8485 (lockedInsetStoreUndo): adjust
8487 2003-04-09 John Levon <levon@movementarian.org>
8489 * ToolbarBackend.C: try icon without argument
8490 if with argument fails
8492 2003-04-08 John Levon <levon@movementarian.org>
8495 * ToolbarBackend.C: add getIcon(), handle tooltip,
8496 and change from "Icon" to "Item".
8498 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8500 * BufferView.C (lockInset): another bad getchar crunched
8502 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8504 * text2.C (changeDepth): do not setUndo on test_only (make undo work
8507 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
8509 * lyxfind.C (searchForward, searchBackwards): bug 782
8511 2003-04-07 John Levon <levon@movementarian.org>
8513 * paragraph.C: remove dead comment
8515 * text.C: remove troublesome depth-fiddling code
8516 in leftMargin() and rightMargin() (bug 1017)
8518 * text.C: fix breaking of rows in nested lists
8521 * text2.C (updateCounters): fix up depth values
8524 2003-04-07 John Levon <levon@movementarian.org>
8526 * BufferView_pimpl.C: clear message when doc finishes resizing,
8527 and after a mouse event
8529 * lyxfunc.C: clear message after exiting inset
8531 2003-04-07 John Levon <levon@movementarian.org>
8533 * bufferview_funcs.C: show math status not outside
8534 status in the statusbar
8536 2003-04-07 John Levon <levon@movementarian.org>
8538 * lyxfunc.C: note status changed after a depth change
8540 2003-04-04 Angus Leeming <leeming@lyx.org>
8542 * LaTeX.h: move AuxInfo operator==, != out of line.
8543 Remove LaTeX virtual destructor; nothing derives from it.
8544 Move operator()() out of public area and rename it startscript().
8545 Change protected for private.
8547 2003-04-04 Angus Leeming <leeming@lyx.org>
8550 * text2.C: remove unneeded #includes.
8552 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8554 * text2.C (dEPM): fix the heigth of the next row
8556 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8558 * text.C: squashed an invalid getChar requester + some ws changes
8560 2003-04-03 John Levon <levon@movementarian.org>
8562 * bufferview_funcs.h:
8563 * bufferview_funcs.C:
8566 * text2.C: make getStatus work for the env depth lfuns
8568 2003-04-03 John Levon <levon@movementarian.org>
8570 * bufferview_funcs.h:
8571 * bufferview_funcs.C:
8574 * text2.C: parlistize decDepth(), by merging it with incDepth()
8576 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8578 * lyxrow.h: store a ParagraphList::iterator instead of a
8579 Paragraph* and adjust other class functions to suit.
8581 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8584 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8586 * text2.C (setCursor): do not anchor to cursor row for the time being
8588 2003-04-02 John Levon <levon@movementarian.org>
8595 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8597 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8599 * paragraph.h: make ParagraphList and ParagraphList::iterator
8600 friends of Paragraph.
8602 * buffer.C (makeLinuxDocFile): move towards ParagraphList
8604 * ParagraphList.C: Use the private next_ and previous_ from
8607 2003-04-01 John Levon <levon@movementarian.org>
8611 * Makefile.am: rename, remove defaults gunk
8614 * MenuBackend.C: remove defaults gunk
8617 * Languages.C: remove defaults gunk
8620 * lyx_main.C: error out if files couldn't be found.
8622 2003-04-02 John Levon <levon@movementarian.org>
8624 * text2.C: make incDepth() use parlist
8626 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8628 * undo_funcs.C (firstUndoParagraph): adjust
8630 * text3.C (gotoInset): adjust
8631 (dispatch): adjust, and rewrite loop.
8633 * text2.C (init): adjust, and rewrite loop.
8634 (redoParagraphs): adjust
8635 (updateInset): adjust, and rewrite loop.
8636 (deleteEmptyParagraphMechanism): adjust
8638 * tabular.C (LyXTabular): adjust
8639 (SetMultiColumn): adjust
8642 * lyxtext.[Ch] (ownerParagraph): delete function
8643 (ownerParagraphs): new function returns a ParagraphList.
8645 * BufferView.C (removeAutoInsets): adjust
8646 (insertErrors): adjust
8647 (setCursorFromRow): adjust
8649 2003-04-01 Angus Leeming <leeming@lyx.org>
8651 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8654 2003-04-02 John Levon <levon@movementarian.org>
8660 * text_funcs.C: make transposeChars a free function
8662 * lyxrow_funcs.C: remove wrong comment
8664 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8667 * rowpainter.C: adjust
8672 * lyxrow_funcs. [Ch]: new files
8674 * lyxrow.[Ch]: remove next and previous pointers
8675 (next,previous): remove accessor functions
8676 (isParEnd): move to lyxrow_funcs
8677 (lastPos): move to lyxrow_funcs
8678 (nextRowIsAllInset): move to lyxrow_funcs
8679 (lastPrintablePos): move to lyxrow_funcs
8680 (numberOfSeparators): move to lyxrow_funcs
8681 (numberOfHfills): move to lyxrow_funcs
8682 (numberOfLabelHfills): move to lyxrow_funcs
8683 (hfillExpansion): move to lyxrow_funcs
8687 * bufferview_funcs.C (toggleAndShow): adjust
8689 * RowList.h: Remove class RowList from file leave just a
8692 * RowList.C: delete file
8694 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8697 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8699 * text3.C (cursorPrevious): adjust
8700 (cursorNext): adjust
8703 * text2.C (redoHeightOfParagraph): adjust
8704 (redoDrawingOfParagraph): adjust
8707 * text.C (breakParagraph): adjust
8708 (insertChar): adjust
8711 * rowpainter.C (RowPainter): adjust
8712 (leftMargin): simplify and adjust
8713 (most rowpainter functions): adjust.
8715 * rowpainter.h: store the row as RowList::iterator not as Row*
8717 * lyxcursor.C (row): taka RowList::iterator as arg
8720 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8723 2003-04-01 Angus Leeming <leeming@lyx.org>
8725 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8726 stuff like bool Bool.
8728 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8730 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8733 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8735 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8738 * lyxtext.h (rows): drop one version and leve a const variant that
8739 returns a RowList::iterator.
8741 2003-03-31 Angus Leeming <leeming@lyx.org>
8743 * text.C (fill): ensure that the signature is the same as that in the
8746 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
8748 * text2.C (redoParagraphs): adjust
8749 (updateCounters): adjust
8750 (checkParagraph): adjust
8751 (getColumnNearX): adjust and reformat a bit.
8753 * text.C (top_y): adjust
8755 (leftMargin): adjust
8756 (prepareToPrint): adjust
8758 (getRowNearY): adjust
8760 * lyxtext.h: make rowlist_ mutable.
8762 * RowList.h: add const_iterator
8763 * RowList.C: adjust for RowList::const_iterator.
8765 * text2.C (getCursorX): make it take a RowList::iterator as arg,
8768 2003-03-31 John Levon <levon@movementarian.org>
8771 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8773 * lyx_main.C: set default fonts from using lyx_gui funcs
8775 * exporter.C: pdf_mode moved from lyxrc
8778 * lyxfunc.C: changes from above
8780 2003-03-31 John Levon <levon@movementarian.org>
8782 * lyx_main.C: fix to the last fix
8784 2003-03-31 John Levon <levon@movementarian.org>
8786 * bufferlist.C: "Load original" -> "Load Original"
8792 * format.C: more Alert cleanups
8794 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8796 * text2.C (removeParagraph): make it take a RowList::iterator as
8798 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8799 (postRowPaint): make it take a RowList::iterator as arg, adjust.
8801 * text.C (anchor_row): make it take a RowList::iterator as arg,
8803 (computeBidiTables): make it take a const reference to Row instead
8804 of Row pointer, adjust.
8805 (leftMargin): make it take a RowList::iterator as arg, adjust.
8806 (rowBreakPoint): adjust
8807 (breakAgainOneRow): make it take a RowList::iterator as arg,
8809 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8811 * bufferview_funcs.C (toggleAndShow): adjust
8813 2003-03-30 John Levon <levon@movementarian.org>
8817 * boost-inst.C: moved to support
8819 * several files: changes as a result
8821 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8823 * text2.C (LyXText): adjust.
8825 (removeRow): make it take a RowList::iterator as arg, adjust.
8826 (fullRebreak): adjust
8827 (deleteEmptyParagraphMechanism): adjust
8828 (clearPaint): adjust
8831 * text.C (top_y): adjust
8832 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8833 (breakAgain): make it take a RowList::iterator as arg, adjust.
8834 (breakParagraph): adjust
8835 (insertChar): adjust
8838 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8839 need_break_row, and refresh_row.
8841 * text3.C (dispatch): adjust
8843 * text2.C (checkParagraph): adjust
8845 (setCursorFromCoordinates): adjust
8847 * text.C (top_y): adjust
8849 (getRow): make it return a RowList::iterator, adjust
8850 (getRowNearY): make it return a RowList::iterator, adjust
8852 * text2.C (init): adjust
8853 (insertRow): remove function
8854 (insertParagraph): adjust
8855 (redoParagraphs): adjust
8856 (fullRebreak): adjust
8857 (updateCounters): adjust
8859 * text.C (top_y): rewrite to use RowList iterators.
8861 (setHeightOfRow): rewrite to sue RowList iterators.
8862 (appendParagraph): adjust
8863 (breakAgain): adjust
8864 (breakAgainOneRow): adjust
8865 (breakParagraph): adjust
8867 (getRowNearY): adjust, and remove commented code.
8869 * lyxtext.h (firstRow): delete function
8870 (lastRow): delete function
8871 (rows): new function (const and non-const versions.)
8872 (insertRow): delete function
8874 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8876 2003-03-29 John Levon <levon@movementarian.org>
8878 * BufferView_pimpl.C: always update scrollbar top
8879 because pasting text when we're anchored could mean we
8880 miss an update altogether
8882 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8884 * text2.C (init): use rowlist_.end() and not 0.
8885 (insertRow): change to take a RowList::iterator as arg, adjust
8887 (insertParagraph): change to take a RowList::iterator as arg,
8889 (redoParagraphs): remove some debug msgs.
8891 * text.C (appendParagraph): change to take a RowList::iterator
8892 arg, adjust for this.
8893 (breakAgain): add an assert
8894 (breakAgainOneRow): ditto
8896 2003-03-29 John Levon <levon@movementarian.org>
8898 * text2.C: do not clear selection after inc/decDepth
8901 2003-03-29 John Levon <levon@movementarian.org>
8904 * buffer.C: fix broken strerrors according to Lars
8906 2003-03-29 John Levon <levon@movementarian.org>
8908 * converters.C: more Alert cleanups
8910 2003-03-29 John Levon <levon@movementarian.org>
8912 * bufferview_funcs.C: remove pointless Alert
8914 * buffer.C: fix confusing error message when
8915 a template is chmoded 000
8917 2003-03-29 John Levon <levon@movementarian.org>
8921 * BufferView_pimpl.C: Alert fixes
8925 * tabular-old.C: remove unused table compat reading
8927 2003-03-29 John Levon <levon@movementarian.org>
8932 * lyx_cb.C: more Alert cleanups
8934 * lyxfunc.C: don't allow chktex if not latex document
8936 2003-03-29 John Levon <levon@movementarian.org>
8940 * buffer.C: warnings pushed down from support/,
8943 2003-03-29 John Levon <levon@movementarian.org>
8945 * lyxfunc.C: safety check for C-r (revert)
8947 2003-03-29 John Levon <levon@movementarian.org>
8950 * bufferlist.C: several UI fixes using Alert::prompt.
8951 Fix the pointless looping quit code. Fix stupid revert
8956 * lyx_cb.C: use Alert::prompt
8958 * lyx_main.C: remove a silly question
8960 * lyxfunc.C: remove a couple of silly questions,
8963 2003-03-28 John Levon <levon@movementarian.org>
8965 * text2.C: fix bug 974 (End on empty par)
8967 2003-03-28 John Levon <levon@movementarian.org>
8969 * BufferView_pimpl.C:
8971 * lfuns.h: remove do-nothing math greek lfuns
8973 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8975 * lyxgluelength.h (isValidGlueLength): add default arg on
8976 parameter 2. Remove default arg from friend in class.
8978 * lyxlength.h (isValidLength): add default arg on parameter 2.
8979 Remove default arg from friend in class.
8981 * text2.C (LyXText): adjust, initialize refresh_row.
8985 (insertParagraph): adjst
8986 (redoParagraphs): adjust
8987 (fullRebreak): adjust
8988 (updateCounters): adjust
8989 (deleteEmptyParagraphMechanism): first attempt at fixing a
8992 * text.C (top_y): adjust
8993 (setHeightOfRow): adjust
8995 (getRowNearY): adjust
8997 * lyxtext.h: include RowList.h
8998 (~LyXText): not needed anymore, deleted.
8999 (firstRow): modify for RowList
9000 (lastRow): new function
9001 Delete firstrow and lastrow class variables, add a Rowlist
9002 rowlist_ class variable.
9004 * lyxrow.C (lastPos): use empty() and not !size() to check if a
9007 * RowList.C (insert): fix case where it == begin().
9009 2003-03-26 Angus Leeming <leeming@lyx.org>
9011 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
9012 the thesaurus dialog.
9014 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
9016 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
9018 * RowList.[Ch]: new files
9020 * ParagraphList.C (erase): handle the case where it == begin
9023 2003-03-25 John Levon <levon@movementarian.org>
9027 * aspell.C: add new aspell support
9030 * lyxrc.C: Make use_pspell be use_spell_lib. Always
9033 2003-03-25 Angus Leeming <leeming@lyx.org>
9036 * LyXAction.C (init): new LFUN_INSET_INSERT.
9038 * BufferView_pimpl.C (dispatch): split out part of the
9039 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
9041 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
9044 2003-03-25 Angus Leeming <leeming@lyx.org>
9046 * lyxfunc.C (dispatch): changes to the Dialogs interface.
9048 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
9051 * text3.C: remove useless row->height(0)
9053 2003-03-25 John Levon <levon@movementarian.org>
9057 * text3.C: rename the refreshing stuff to better names
9059 2003-03-24 John Levon <levon@movementarian.org>
9061 * BufferView_pimpl.h:
9062 * BufferView_pimpl.C: update layout choice on a mouse
9065 2003-03-23 John Levon <levon@movementarian.org>
9067 * Makefile.am: fix commandtags.h reference
9069 2003-03-22 John Levon <levon@movementarian.org>
9071 * BufferView_pimpl.C:
9076 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
9078 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
9081 * text.C: take the rtl methods out of line
9083 2003-03-21 André Pönitz <poenitz@gmx.net>
9085 * metricsinfo.[Ch]: new files containing structures to be passed around
9086 during the two-phase-drawing...
9088 2003-03-21 André Pönitz <poenitz@gmx.net>
9090 * lyxtextclass.C: read 'environment' tag.
9092 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
9094 * text2.C (removeRow): fix bug 964
9096 2003-03-20 John Levon <levon@movementarian.org>
9100 * text2.C: paint cleanups. Inset::update() dropped font
9103 2003-03-19 John Levon <levon@movementarian.org>
9105 * lyxfunc.C: only fitcursor/markDirty if available()
9107 2003-03-19 John Levon <levon@movementarian.org>
9109 * commandtags.h: rename to ...
9111 * lfuns.h: ... this, and renumber / cleanup
9113 2003-03-19 John Levon <levon@movementarian.org>
9115 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
9116 fit the cursor after an lfun
9120 * BufferView_pimpl.h:
9121 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
9123 * LyXAction.C: layout-character should have ReadOnly
9125 * ParagraphParameters.C:
9127 * bufferview_funcs.C:
9134 * undo_funcs.C: changes from above
9136 2003-03-18 John Levon <levon@movementarian.org>
9138 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
9139 remove it from update()
9141 * lyxfunc.C: update layout choice after an lfun
9143 * text3.C: remove extra updateLayoutChoice()s
9145 2003-03-18 John Levon <levon@movementarian.org>
9147 * text.C: top_y change means full repaint, fix
9148 a drawing bug with cursor movement
9150 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
9154 * text2.C: anchor row on setCursor
9156 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
9158 * lyxtext.h: remove almost all mutable keywords
9161 * text3.C: remove const keywords accordingly
9163 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
9165 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
9167 (TeXEnvironment): ditto
9170 2003-03-17 John Levon <levon@movementarian.org>
9172 * text.C (rowBreakPoint): remove attempt to fix displayed
9173 math insets inside a manual label
9175 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
9177 * lyxtext.h: remove BufferView* as first arg from almost all class
9179 * other files: adjust.
9181 2003-03-17 John Levon <levon@movementarian.org>
9185 * text2.C: more paint cleanups
9187 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
9190 * rowpainter.C: remove "smart" background painting code
9192 2003-03-16 John Levon <levon@movementarian.org>
9197 * text3.C: add helper functions for setting refresh_row/y
9199 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
9201 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
9202 newline inset which *can* get inserted in the pass_thru layouts.
9203 This is primarily for literate documents.
9205 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
9207 * buffer.C: increment LYX_FORMAT to 223
9209 2003-03-14 André Pönitz <poenitz@gmx.net>
9211 * textclass.h: prepare for environment handling, ws changes
9212 * lyxlayout.C: read latexheader and latexfooter tags
9214 2003-03-14 John Levon <levon@movementarian.org>
9216 * text2.C: rewrite ::status() a bit
9218 2003-03-13 John Levon <levon@movementarian.org>
9220 * lyxtext.h: add some docs
9222 2003-03-13 John Levon <levon@movementarian.org>
9227 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
9229 2003-03-13 John Levon <levon@movementarian.org>
9231 * text3.C: fix appendix redrawing
9233 2003-03-13 John Levon <levon@movementarian.org>
9235 * text.C (setHeightOfRow):
9237 * rowpainter.C: make appendix mark have the text
9238 "Appendix" so the user knows what it is
9241 * LColor.C: s/appendixline/appendix/ from above
9243 2003-03-13 John Levon <levon@movementarian.org>
9245 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
9247 * text.C: fix a getChar(pos) bug properly
9249 2003-03-13 Angus Leeming <leeming@lyx.org>
9252 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
9253 Probably only temporary. Let's see how things pan out.
9255 * BufferView.C (unlockInset):
9256 * BufferView_pimpl.C (fitCursor):
9257 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
9259 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
9260 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
9262 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
9263 new functions that convert ParagraphParameters to and from a string.
9265 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9266 BufferView::Pimpl's dispatch.
9267 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9269 2003-03-13 André Pönitz <poenitz@gmx.net>
9273 * factory.C: make it aware of InsetEnv
9275 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
9277 * text2.C (setCursor): never ask for one past last
9278 (setCursor): add some debugging messages.
9280 * text.C (singleWidth): never ask for one past last
9281 (singleWidth): ditto
9283 (rightMargin): ditto
9284 (rowBreakPoint): ditto
9285 (setHeightOfRow): ditto
9286 (prepareToPrint): ditto
9288 * rowpainter.C (paintBackground): never ask for one past last
9289 (paintText): never ask for one past last
9291 * paragraph_pimpl.C (getChar): make the assert stricter, never
9292 allow the one past last pos to be taken
9294 * paragraph.C (getChar): ws changes only
9296 * lyxrow.C (nextRowIsAllInset): never ask for one past last
9297 (numberOfSeparators): ditto
9298 (numberOfHfills): ditto
9300 2003-03-12 John Levon <levon@movementarian.org>
9306 * paragraph_funcs.C: fix per-buffer authorlists
9308 2003-03-12 John Levon <levon@movementarian.org>
9310 * text.C: fix newline in right address
9312 2003-03-12 Angus Leeming <leeming@lyx.org>
9314 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9315 duplicate those in LyXFunc::dispatch.
9319 * ToolbarDefaults.C:
9320 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9321 Add LFUN_FONTFREE_UPDATE.
9323 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9324 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9326 * bufferview_func.[Ch]: several new functions to facilliate
9327 transfer of data to and from the character dialog.
9329 2003-03-12 John Levon <levon@movementarian.org>
9334 * paragraph_funcs.C:
9335 * paragraph_pimpl.C:
9339 * text3.C: remove META_NEWLINE in favour of an inset
9342 * rowpainter.C: remove paintNewline (done by inset)
9344 2003-03-12 John Levon <levon@movementarian.org>
9346 * paragraph_pimpl.C: complain about bad getChar()s
9347 for a while at least
9349 2003-03-12 John Levon <levon@movementarian.org>
9352 * buffer.C: move paragraph read into a separate function,
9353 a little renaming to reflect that.
9356 * bufferparams.C: remove the author_ids map, not necessary now
9359 * factory.C: moved Buffer::readInset to here
9361 * paragraph_funcs.h:
9362 * paragraph_funcs.C: readParagraph free function moved from
9365 * tabular.C: name change
9367 2003-03-12 John Levon <levon@movementarian.org>
9370 * ParagraphParameters.C: move par params input to
9373 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9374 behave like a normal read from the stream wrt reading
9375 a line vs. a \\token
9377 2003-03-12 John Levon <levon@movementarian.org>
9380 * ParagraphParameters.h:
9381 * ParagraphParameters.C: move output code to a
9384 2003-03-12 John Levon <levon@movementarian.org>
9386 * BufferView.C (insertLyXFile):
9389 * tabular.C: use a parlist iterator for creating the
9392 2003-03-12 John Levon <levon@movementarian.org>
9394 * buffer.C: make current_change static local not
9397 2003-03-12 John Levon <levon@movementarian.org>
9399 * buffer.C: fix insertStringAsLines for change tracking
9401 2003-03-12 John Levon <levon@movementarian.org>
9408 * bufferparams.C: move author list into params. Rename some
9409 functions. Move the header reading into a separate token
9410 loop. Move the header token reading into BufferParams.
9412 2003-03-12 John Levon <levon@movementarian.org>
9414 * changes.C: put debug inside lyxerr.debugging() checks
9416 2003-03-11 André Pönitz <poenitz@gmx.net>
9418 * factory.C: make it aware of InsetHFill
9420 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9422 * buffer.C (latexParagraphs): move function from here...
9423 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9426 2003-03-10 Angus Leeming <leeming@lyx.org>
9428 * LyXAction.C (init): fix bug in poplating array with multiple entries
9429 with the same LFUN (spotted by JMarc).
9431 2003-03-10 John Levon <levon@movementarian.org>
9434 * text2.C: move getColumnNearX() near its
9437 2003-03-10 John Levon <levon@movementarian.org>
9439 * text.C: fix break before a minipage
9441 2003-03-10 John Levon <levon@movementarian.org>
9443 * text.C: fix the last commit
9445 2003-03-09 John Levon <levon@movementarian.org>
9449 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9450 bug 365 (don't break before insets unless needed). Don't
9451 return a value > last under any circumstances.
9453 2003-03-09 Angus Leeming <leeming@lyx.org>
9455 * BufferView_pimpl.C (trackChanges, dispatch): call
9456 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9458 2003-03-09 Angus Leeming <leeming@lyx.org>
9460 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9461 than Dialogs::showAboutlyx().
9463 2003-03-09 Angus Leeming <leeming@lyx.org>
9465 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9466 than Dialogs::showTabularCreate().
9468 2003-03-09 John Levon <levon@movementarian.org>
9472 * text2.C: 3rd arg to nextBreakPoint was always the same.
9475 2003-03-08 John Levon <levon@movementarian.org>
9482 * text2.C: Remove the "main" bit from the "main body"
9485 2003-03-08 John Levon <levon@movementarian.org>
9487 * text.C (leftMargin): The left margin of an empty
9488 manual label paragraph should not include the label width
9491 * text.C (prepareToPrint): don't attempt to measure hfills
9492 for empty manual label paragraphs - the answer should be 0
9494 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9496 * CutAndPaste.C: remove commented code and reindent.
9498 2003-03-08 John Levon <levon@movementarian.org>
9501 * lyxfunc.C: move reloadBuffer()
9504 * BufferView.C: to here
9506 * lyxvc.C: add comment
9509 * vc-backend.C: call bv->reload() to avoid
9510 getStatus() check on MENURELOAD
9512 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
9514 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9515 to an old format .dep file.
9517 2003-03-07 Angus Leeming <leeming@lyx.org>
9519 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9520 when the LFUN_MOUSE_RELEASE should have been handled by
9521 inset->localDispatch.
9523 2003-03-07 Angus Leeming <leeming@lyx.org>
9525 * BufferView_pimpl.C (dispatch):
9526 * LyXAction.C (init):
9527 * ToolbarDefaults.C (init):
9529 * lyxfunc.C (getStatus):
9530 remove LFUN_INSET_GRAPHICS.
9532 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9534 2003-03-07 Angus Leeming <leeming@lyx.org>
9537 * LyXAction.C (init):
9538 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9540 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9543 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9545 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9546 localDispatch method LFUN_INSET_DIALOG_UPDATE.
9548 2003-03-07 Angus Leeming <leeming@lyx.org>
9550 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9553 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9555 * ParagraphList.C (front): new function
9558 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
9560 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9561 and top_row_offset_. removed var first_y.
9563 * text2.C (LyXText, removeRow):
9565 * BufferView_pimpl.C:
9566 use these methods instead of using first_y
9568 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9570 * text2.C (pasteSelection): adjust for checkPastePossible
9572 * CutAndPaste.C: remove Paragraph * buf and replace with
9573 ParagraphList paragraphs.
9574 (DeleteBuffer): delete
9575 (cutSelection): change the tc type to textclass_type
9576 (copySelection): change the tc type to textclass_type
9577 (copySelection): adjust for ParagraphList
9578 (pasteSelection): change the tc type to textclass_type
9579 (pasteSelection): adjust for Paragraphlist
9580 (nrOfParagraphs): simplify for ParagraphList
9581 (checkPastePossible): simplify for ParagraphList
9582 (checkPastePossible): remove unused arg
9584 * ParagraphList.C (insert): handle the case where there are no
9587 * CutAndPaste.h: make CutAndPaste a namespace.
9589 * text3.C (dispatch): adjust
9591 * text.C (breakParagraph): add a ParagraphList as arg
9593 * paragraph_funcs.C (breakParagraph): change to take a
9594 BufferParams and a ParagraphList as args.
9595 (breakParagraphConservative): ditto
9596 (mergeParagraph): ditto
9597 (TeXDeeper): add a ParagraphList arg
9598 (TeXEnvironment): ditto
9601 * buffer.C (readLyXformat2): adjust
9602 (insertStringAsLines): adjust
9603 (latexParagraphs): adjust
9605 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9606 (cutSelection): adjust
9607 (pasteSelection): adjust
9609 * BufferView_pimpl.C (insertInset): adjust
9611 2003-03-05 Angus Leeming <leeming@lyx.org>
9614 * LyXAction.C (init):
9615 * BufferView_pimpl.C (dispatch):
9616 * lyxfunc.C (getStatus):
9617 remove LFUN_CHILD_INSERT.
9619 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9621 2003-03-05 Angus Leeming <leeming@lyx.org>
9624 * LyXAction.C (init):
9625 * src/factory.C (createInset):
9626 * lyxfunc.C (getStatus):
9627 * text3.C (dispatch):
9628 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9630 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9632 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9634 * ParagraphList.C (insert): handle insert right before end()
9635 (erase): fix cases where it can be first or last paragraph.
9637 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9639 * paragraph_funcs.C (TeXEnvironment): remove all usage of
9640 Paragraph::next and Paragraph::previous
9643 * text.C (breakParagraph): adjust
9645 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9646 BufferParams& as arg.
9647 (breakParagraph): use ParagraphList::insert
9648 (breakParagraphConservative): take a Buffer* instead of a
9649 BufferParams& as arg.
9650 (breakParagraphConservative): use ParagraphList::insert.
9652 * buffer.C (insertStringAsLines): un-const it
9653 (insertStringAsLines): adjust
9655 * ParagraphList.C (insert): new function
9657 * CutAndPaste.C (pasteSelection): adjust
9659 * text.C (backspace): adjust
9661 * tabular.C (SetMultiColumn): adjust
9663 * CutAndPaste.C (cutSelection): adjust
9664 (pasteSelection): adjust
9666 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9667 Buffer const * as arg
9669 * ParagraphList.C (erase): new function
9670 * paragraph_funcs.C (mergeParagraph): use it
9671 (mergeParagraph): make it take a Buffer* instead of a
9672 BufferParams* as arg
9674 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9676 (breakParagraphConservative): ditto
9678 * paragraph.h: remove the breakParagraph friend
9680 * paragraph.C (eraseIntern): new function
9681 (setChange): new function
9683 * paragraph_funcs.C (mergeParagraph): make it take a
9684 ParagraphList::iterator instead of a Paragraph *, adjust
9687 * paragraph.h: move an #endif so that the change tracking stuff
9688 also works in the NO_NEXT case.
9690 2003-03-04 Angus Leeming <leeming@lyx.org>
9693 * LyXAction.C: new LFUN_INSET_MODIFY.
9695 * BufferView_pimpl.C (dispatch): if an inset is found to be open
9696 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9698 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9700 * several files: ws changes only
9702 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9703 (TeXEnvironment): ditto
9706 * buffer.C (makeLaTeXFile): adjust
9707 (latexParagraphs): make it take ParagraphList::iterator as args
9709 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
9711 * buffer.C (latexParagraphs): adjust
9713 * paragraph.C (TeXOnePar): move function...
9714 (optArgInset): move function...
9715 (TeXEnvironment): move function...
9716 * paragraph_pimpl.C (TeXDeeper): move function...
9717 * paragraph_funcs.C: ...here
9719 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9721 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9723 * buffer.C (readInset): remove compability code for old Figure and
9726 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9728 * buffer.C: ws changes
9731 * BufferView_pimpl.C: ditto
9734 * bufferlist.h: ditto
9738 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
9740 * converter.[Ch]: split into itself +
9743 * Makefile.am: += graph.[Ch] + format.[Ch]
9750 * lyxrc.C: added #include "format.h"
9752 2003-02-27 Angus Leeming <leeming@lyx.org>
9754 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9757 * factory.C (createInset): add "label" to the factory.
9759 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9760 string and do no more.
9762 2003-02-27 Angus Leeming <leeming@lyx.org>
9765 * LyXAction.C (init):
9766 * factory.C (createInset):
9767 * BufferView_pimpl.C (dispatch):
9768 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9770 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9772 * lyxfunc.C (dispatch):
9773 * text3.C (dispatch): pass name to params2string.
9775 2003-02-26 Angus Leeming <leeming@lyx.org>
9777 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9779 Rearrange the ~includes. Strip out the unnecessary ones.
9781 * factory.C (createInset): reformat.
9782 create new insets for the various LFUN_XYZ_APPLY lfuns.
9784 2003-02-26 John Levon <levon@movementarian.org>
9787 * lyxrow.C: add isParStart,isParEnd helpers
9789 * paragraph.h: make isInserted/DeletedText take refs
9791 * paragraph_funcs.h:
9792 * paragraph_funcs.C: remove #if 0'd code
9797 * text.C: use lyxrow helpers above.
9798 Move draw and paint routines to RowPainter.
9799 Make several methods use refs not pointers.
9800 Make backgroundColor() const.
9801 Add markChangeInDraw(), isInInset().
9802 Merge changeRegionCase into changeCase.
9803 Make workWidth() shouldn't-happen code into an Assert.
9806 * rowpainter.C: new class for painting a row.
9809 * vspace.C: make inPixels take a ref
9811 2003-02-26 Angus Leeming <leeming@lyx.org>
9813 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9816 2003-02-25 John Levon <levon@movementarian.org>
9818 * ispell.C: give the forked command a more accurate name
9820 2003-02-22 John Levon <levon@movementarian.org>
9823 * toc.C: make TocItem store an id not a Paragraph *
9826 2003-02-21 Angus Leeming <leeming@lyx.org>
9828 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9829 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9830 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9831 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9832 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9833 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9835 * BufferView_pimpl.C (dispatch):
9836 * LyXAction.C (init):
9837 * factory.C (createInset):
9838 * lyxfunc.C (getStatus, dispatch):
9839 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9841 2003-02-21 Angus Leeming <leeming@lyx.org>
9843 * BufferView_pimpl.C (MenuInsertLyXFile):
9844 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9845 * lyxfunc.C (menuNew, open, doImport):
9846 no longer pass a LyXView & to fileDlg.
9848 2003-02-21 Angus Leeming <leeming@lyx.org>
9850 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9851 * LyXAction.C: change, BIBKEY to BIBITEM.
9852 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9853 Change InsetBibKey to InsetBibitem.
9854 Change BIBKEY_CODE to BIBITEM_CODE.
9855 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9856 * factory.C: replace insetbib.h with insetbibitem.h.
9857 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9858 * paragraph.C: replace insetbib.h with insetbibitem.h.
9859 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9860 Change bibkey() to bibitem().
9861 * text.C: remove insetbib.h.
9862 * text2.C: replace insetbib.h with insetbibitem.h.
9863 change bibkey() to bibitem().
9864 * text3.C: remove insetbib.h.
9865 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9867 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9869 * lyxrc.C (output): enclose user email in quotes (in case there are
9872 2003-02-18 John Levon <levon@movementarian.org>
9874 * buffer.h: add std::
9876 2003-02-17 John Levon <levon@movementarian.org>
9882 * pspell.C: reworking. Especially in ispell, a large
9883 number of clean ups and bug fixes.
9885 * lyxfunc.C: fix revert to behave sensibly
9887 2003-02-17 André Pönitz <poenitz@gmx.net>
9890 * commandtags.h: new LFUN_INSERT_BIBKEY
9900 * paragraph_func.C: remove special bibkey handling
9902 2003-02-17 John Levon <levon@movementarian.org>
9904 * text.C (Delete): fix case where delete at the end of
9905 the very first paragraph would not merge the pars
9907 2003-02-17 John Levon <levon@movementarian.org>
9909 * lyxrow.C: fix lastPrintablePos()
9911 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9913 * bufferparams.C (writeLaTeX): add a std:here
9915 * buffer.C: and remove a using directive there
9917 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9919 * buffer.C (makeLaTeXFile): move the code that generates the
9922 * bufferparams.C (writeLaTeX): ... in this new method
9924 * LaTeXFeatures.C (getEncodingSet): make const
9925 (getLanguages): make const
9927 * MenuBackend.C (binding): returns the binding associated to this
9929 (add): sets the status of each item by calling getStatus. Adds
9931 (read): add support for OptSubMenu
9932 (expand): remove extra separator at the end of expanded menu
9934 2003-02-15 John Levon <levon@movementarian.org>
9937 * BufferView_pimpl.C:
9939 * bufferlist.C: remove pointless BufferStorage bloat. Remove
9940 inset code that had no actual effect. Remove unneeded status
9943 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9945 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9948 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
9950 * text.C (drawLengthMarker): also draw an arrow marker for
9951 symbolic lengths (medskip...)
9953 2003-02-14 John Levon <levon@movementarian.org>
9956 * tabular.C: better method names
9958 2003-02-14 John Levon <levon@movementarian.org>
9960 * BufferView_pimpl.C:
9965 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9966 it's a more accurate name. Remove some pointless uses.
9968 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9970 * text2.C (LyXText): change order of initilizers to shut off
9973 2003-02-14 John Levon <levon@movementarian.org>
9975 * buffer.C: use ParIterator for getParFromID()
9979 * paragraph_pimpl.h:
9980 * paragraph_pimpl.C: remove unused getParFromID()
9982 2003-02-14 John Levon <levon@movementarian.org>
9984 * buffer.C: remove some very old #if 0'd parse code
9986 2003-02-13 John Levon <levon@movementarian.org>
9990 * text2.C: move hfillExpansion(), numberOfSeparators(),
9991 rowLast(), rowLastPrintable(), numberofHfills(),
9992 numberOfLabelHfills() ...
9995 * lyxrow.C: ... to member functions here.
10000 * text.C: remove LyXText::beginningOfMainBody(), and call
10001 p->beginningOfMainBody() directly. Move the check for
10002 LABEL_MANUAL into the latter.
10009 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
10015 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
10016 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
10018 2003-02-13 John Levon <levon@movementarian.org>
10020 * CutAndPaste.C: remove debug
10022 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10024 * paragraph.C (asString): remove two unused variables
10026 * lyxtextclass.C (readTitleType):
10028 (LyXTextClass): handle new members titletype_ and titlename_
10030 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
10032 2003-02-09 John Levon <levon@movementarian.org>
10035 * buffer.C: replace hand-coded list with a map for the dep clean
10037 2003-02-08 John Levon <levon@movementarian.org>
10039 * LaTeX.C: consolidate code into showRunMessage() helper
10041 2003-02-08 John Levon <levon@movementarian.org>
10046 * BufferView.C: change setSelectionOverString() to setSelectionRange()
10047 and pass the size in explicitly
10049 * BufferView_pimpl.h:
10050 * BufferView_pimpl.C:
10052 * BufferView.C: add getCurrentChange()
10054 * BufferView_pimpl.h:
10055 * BufferView_pimpl.C: handle change lfuns
10057 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
10058 for changes. Mark pasted paragraphs as new.
10060 * support/lyxtime.h:
10061 * support/lyxtime.C:
10062 * DepTable.C: abstract time_t as lyx::time_type
10065 * LColor.C: add colours for new text, deleted text, changebars
10067 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
10068 package use "usenames" option.
10072 * LyXAction.C: add change lfuns
10076 * author.C: author handling
10079 * buffer.C: add a per-buffer author list, with first entry as
10080 current author. Handle new .lyx tokens for change tracking. Output
10081 author list to .lyx file. Output dvipost stuff to .tex preamble.
10082 Bump lyx format to 222.
10085 * bufferlist.C: add setCurrentAuthor() to reset current author details
10089 * bufferparams.C: add param for tracking
10091 * bufferview_funcs.C: output change info in minibuffer
10095 * changes.C: add change-tracking structure
10098 * debug.C: add CHANGES debug flag
10101 * lyxfind.C: add code for finding the next change piece
10104 * lyxrc.C: add user_name and user_email
10107 * lyxrow.C: add a metric for the top of the text line
10110 * text.C: implement accept/rejectChange()
10113 * text.C: paint changebars. Paint new/deleted text in the chosen
10114 colours. Strike through deleted text.
10118 * paragraph_pimpl.h:
10119 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
10120 in the current change to the insert functions. Rework erase to
10121 mark text as deleted, adding an eraseIntern() and a range-based
10122 erase(). Implement per-paragraph change lookup and
10125 * paragraph_funcs.C: Fixup paste for change tracking.
10127 * tabular.C: mark added row/columns as new.
10129 * text.C: fix rowLast() to never return -1. Don't allow
10130 spellchecking of deleted text. Track transpose changes. Don't
10131 allow paragraph break or merge where appropriate.
10133 * text2.C: leave cursor at end of selection after a cut.
10135 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10137 * text.C (getLengthMarkerHeight):
10138 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
10139 visible on screen too.
10141 2003-02-07 John Levon <levon@movementarian.org>
10143 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
10145 2003-02-05 Angus Leeming <leeming@lyx.org>
10147 * lyxserver.C (read_ready): revert my patch of 11 September last year
10148 as it sends PC cpu through the roof. Presumably this means that
10149 the lyxserver will no longer run on an Alpha...
10151 2003-01-30 Angus Leeming <leeming@lyx.org>
10153 * factory.C (createInset): create an InsetCommandParam of type "index"
10154 and use it to 'do the right thing'.
10156 * text2.C (getStringToIndex): ensure that cursor position is always
10157 reset to the reset_cursor position.
10159 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10161 * lyxfunc.C (getStatus): "buffer-export custom" should never be
10164 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
10168 * lyxfunc.C: Output messages with identical spelling, punctuation,
10171 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
10173 * MenuBackend.C (expandFormats): List only viewable export formats
10176 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
10179 * lyxfunc.C (getStatus): Make sure that formats other than
10180 "fax" can also be disabled
10182 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10184 * text3.C (dispatch): put the lfuns that insert insets in 3
10185 groups, and call doInsertInset with appropriate arguments.
10186 (doInsertInset): new function, that creates an inset and inserts
10187 it according to some boolean parameters.
10189 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
10191 * buffer.C (readFile): remember to pass on 'par' when calling
10192 readFile recursively.
10194 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10196 * MenuBackend.C (expandFormats): add "..." to import formats.
10198 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
10200 * paragraph.C (asString): Remove XForms RTL hacks.
10202 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
10203 * buffer.C: fix typo
10205 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
10207 * Makefile.am (LIBS): delete var
10208 (lyx_LDADD): add @LIBS@ here instead.
10210 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
10212 * Clarify the meaning of "wheel mouse jump"
10214 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10216 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
10219 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10221 * importer.C (Loaders): do not preallocate 3 elements in the
10222 vector, since one ends up with 6 elements otherwise
10224 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10226 * DepTable.C (write): write the file name as last element of the
10227 .dep file (because it may contain spaces)
10228 (read): read info in the right order
10230 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10232 * paragraph_pimpl.C (simpleTeXBlanks):
10233 (simpleTeXSpecialChars):
10234 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
10236 * tabular.C (latex): add some missing case statements. Reindent.
10238 * MenuBackend.C (expandToc): remove unused variable.
10240 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
10249 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
10252 2003-01-05 John Levon <levon@movementarian.org>
10255 * BufferView.C: add getEncoding()
10258 * kbsequence.C: do not store last keypress
10261 * lyxfunc.C: store last keypress here instead. Pass encoding
10264 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10266 * lyx_main.C (init): remove annoying error message when following
10267 symbolic links (bug #780)
10269 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10271 * text.C (insertChar):
10272 * lyxrc.C (getDescription): remove extra spaces
10274 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10276 * lyxrc.C (getDescription): remove extra spaces
10278 2002-12-20 John Levon <levon@movementarian.org>
10280 * text3.C: hack fix for page up/down across tall rows
10282 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10284 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10287 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10289 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10290 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10291 thesaurus is not compiled in
10293 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
10295 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
10297 2002-12-16 Angus Leeming <leeming@lyx.org>
10300 * lyx_main.C (init): remove override_x_deadkeys stuff.
10302 2002-12-12 John Levon <levon@movementarian.org>
10304 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10305 insert. Only remove shift modifier under strict
10308 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
10310 * MenuBackend.C (expandToc): fix crash.
10312 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
10314 * MenuBackend.C (expandToc): gettext on float names.
10316 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
10318 * lyxlength.[Ch]: set default unit to UNIT_NONE,
10319 implement bool empty() [bug 490]
10321 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
10323 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10325 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
10327 * several files: ws changes
10329 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
10331 * text2.C (setCounter): clean up a bit, use boost.format.
10332 (updateCounters): initialize par upon declaration.
10334 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10335 if the layout exists. We do not just store the layout any more.
10336 (SwitchLayoutsBetweenClasses): use boost.format
10338 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10340 * converter.C (convert): if from and to files are the same, use a
10341 temporary files as intermediary
10343 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10346 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10348 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
10350 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10352 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
10354 * tabular.C (asciiPrintCell): use string(size, char) instead of
10357 * sgml.C (openTag): fix order of arguments to string constructor
10360 * lyxfunc.C (dispatch): use boost.format
10362 * lots of files: change "c" -> 'c'
10364 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
10366 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10368 2002-11-25 Angus Leeming <leeming@lyx.org>
10370 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10372 * lyx_main.C (init): compile fix.
10374 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
10376 * lyx_cb.C (start): boost.formatify
10377 do not include <iostream>
10379 * lengthcommon.C: ws only
10381 * boost-inst.C,BoostFormat.h: add more explict instantations
10383 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
10385 * lots of files: handle USE_BOOST_FORMAT
10387 2002-11-21 John Levon <levon@movementarian.org>
10389 * pspell.C: fix compile
10391 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10393 * lyxfunc.C (dispatch): use boost::format
10397 * lyxfont.C (stateText): use boost::format
10399 * lyx_main.C (LyX): use boost::format
10401 (queryUserLyXDir): ditto
10402 (readRcFile): ditto
10404 (typedef boost::function): use the recommened syntax.
10406 * importer.C (Import): use boost::format
10408 * debug.C (showLevel): use boost::format
10410 * converter.C (view): use boost::format
10415 * bufferview_funcs.C (currentState): use boost::format
10417 * bufferlist.C (emergencyWrite): use boost::format
10419 * buffer.C (readLyXformat2): use boost::format
10420 (parseSingleLyXformat2Token): ditto
10422 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10424 * LaTeX.C (run): use boost::format
10426 * Chktex.C (scanLogFile): use boost::format
10428 * BufferView_pimpl.C (savePosition): use boost::format
10429 (restorePosition): ditto
10430 (MenuInsertLyXFile): ditto
10432 * BoostFormat.h: help file for explicit instation.
10434 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
10436 * tabular.C (latex): Support for block alignment in fixed width
10439 2002-11-17 John Levon <levon@movementarian.org>
10441 * BufferView_pimpl.C:
10443 * lyxfunc.C: split filedialog into open/save
10445 2002-11-08 Juergen Vigna <jug@sad.it>
10447 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10448 by my last patch (hopefully).
10450 2002-11-08 John Levon <levon@movementarian.org>
10459 * toc.C: ParConstIterator, and use it (from Lars)
10461 2002-11-07 Ben Stanley <bds02@uow.edu.au>
10463 * lyxtextclass.[Ch]: revise and add doxygen comments
10465 2002-11-07 John Levon <levon@movementarian.org>
10467 * text.C: fix progress value for spellchecker
10469 * toc.C: fix navigate menu for insetwrap inside minipage
10471 * paragraph_funcs.C: added FIXME for suspect code
10473 2002-11-07 John Levon <levon@movementarian.org>
10475 * BufferView_pimpl.C: fix redrawing of insets
10478 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10480 * text2.C (updateCounters): fix bug 668
10482 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
10484 * text3.C (dispatch): Do not make the buffer dirty when moving the
10487 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10489 * vc-backend.C: STRCONV
10490 (scanMaster): ditto
10492 * text2.C (setCounter): STRCONV
10494 * paragraph.C (asString): STRCONV
10496 * lyxlength.C (asString): STRCONV
10497 (asLatexString): ditto
10499 * lyxgluelength.C (asString): STRCONV
10500 (asLatexString): ditto
10502 * lyxfunc.C (dispatch): STRCONV
10505 * lyxfont.C (stateText): STRCONV
10507 * importer.C (Import): STRCONV
10509 * counters.C (labelItem): STRCONV
10510 (numberLabel): ditto
10511 (numberLabel): remove unused ostringstream o
10516 * bufferview_funcs.C (currentState): STRCONV
10518 * buffer.C (readFile): STRCONV
10519 (asciiParagraph): ditto
10520 (makeLaTeXFile): ditto
10522 * Spacing.C (writeEnvirBegin): STRCONV
10524 * LaTeXFeatures.C (getLanguages): STRCONV
10525 (getPackages): ditto
10527 (getBabelOptions): ditto
10528 (getTClassPreamble): ditto
10529 (getLyXSGMLEntities): ditto
10530 (getIncludedFiles): ditto
10534 (scanAuxFile): ditto
10537 * LString.h: add the STRCONV macros
10539 * BufferView_pimpl.C (savePosition): STRCONV
10540 (restorePosition): ditto
10541 (MenuInsertLyXFile): ditto
10543 * vc-backend.C (scanMaster): change from submatch[...] to
10546 * funcrequest.C: include config.h
10548 * factory.C: include config.h
10550 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10552 * box.C: include config.h
10554 * LaTeX.C (scanAuxFile): change from submatch[...] to
10558 2002-10-25 Angus Leeming <leeming@lyx.org>
10560 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10562 * ispell.[Ch] (setError): new method.
10563 * ispell.C (c-tor): move out child process into new class LaunchIspell.
10564 Use setError() insetead of goto END.
10566 * lyx_cb.C (AutoSave): move out child process into new class
10569 2002-10-30 John Levon <levon@movementarian.org>
10571 * text3.C: make start appendix undoable
10573 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
10575 * lyxlength.C (inPixels): Fix returned value.
10577 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10580 2002-10-24 Angus Leeming <leeming@lyx.org>
10582 * lyxgluelength.h: no need to forward declare BufferParams
10583 or BufferView, so don't.
10585 2002-10-21 John Levon <levon@movementarian.org>
10587 * BufferView.C: menuUndo ->undo, redo
10589 * BufferView.h: document, remove dead, make some methods private
10591 * paragraph_funcs.h:
10592 * paragraph_funcs.C:
10593 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10598 * sgml.C: move sgml open/close tag into sgml.C
10600 * bufferview_funcs.h: unused prototype
10603 * lyxfunc.C: remove unused
10606 * text.C: remove unused
10608 2002-10-21 John Levon <levon@movementarian.org>
10612 * BufferView_pimpl.h:
10613 * BufferView_pimpl.C: fix mouse wheel handling based on
10614 patch from Darren Freeman
10616 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
10618 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10620 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
10622 * lyxlength.C (inPixels): Fix hanfling of negative length.
10623 Fix LyXLength::MU case.
10625 2002-10-16 John Levon <levon@movementarian.org>
10627 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10629 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10631 * converter.C (view): add support for $$i (file name) and $$p
10632 (file path) for the viewer command. If $$i is not specified, then
10633 it is appended to the command (for compatibility with old syntax)
10635 2002-10-14 Juergen Vigna <jug@sad.it>
10637 * undo_funcs.C (textHandleUndo): alter the order in which the
10638 new undopar is added to the LyXText, as we have to set first
10639 the right prev/next and then add it as otherwise the rebuild of
10640 LyXText is not correct. Also reset the cursor to the right paragraph,
10641 with this IMO we could remove the hack in "redoParagraphs()".
10643 2002-10-09 Angus Leeming <leeming@lyx.org>
10645 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10646 to turn off an optimisation if a new inset is to be inserted.
10648 2002-10-11 André Pönitz <poenitz@gmx.net>
10650 * lyxtext.h: make some functions public to allow access
10651 from inset/lyxtext for handling LFUN_PRIOR/NEXT
10653 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10655 * text3.C (dispatch): when changing layout, avoid an infinite loop
10658 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10660 * lyxrc.C (read): treat a viewer or converter command of "none" as
10663 * MenuBackend.C (expandFormats): for an update, also allow the
10664 formats that are not viewable
10666 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10667 script if it is newer than the lyxrc.defaults in user directory
10669 2002-10-07 André Pönitz <poenitz@gmx.net>
10671 * text.C: Vitaly Lipatov's small i18n fix
10673 2002-09-25 Angus Leeming <leeming@lyx.org>
10675 * ispell.h: doxygen fix.
10677 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
10679 * buffer.h (readFile): Add a new argument to the method, to allow
10680 reading of old-format templates.
10682 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
10684 * toc.C (getTocList): Get TOC from InsetWrap.
10686 2002-09-16 John Levon <levon@movementarian.org>
10688 * lyxfunc.C: check tabular for cut/copy too
10690 2002-09-12 John Levon <levon@movementarian.org>
10692 * LyXAction.C: tidy
10695 * factory.C: add header
10697 * paragraph_funcs.h:
10698 * paragraph_funcs.C: cleanup
10700 2002-09-11 John Levon <levon@movementarian.org>
10702 * PrinterParams.h: odd/even default to true
10704 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
10706 * PrinterParams.h: update printer parameters for new xforms dialog
10708 2002-09-11 Angus Leeming <leeming@lyx.org>
10710 * lyxserver.C (read_ready): re-write to make it more transparent
10711 and to make it work in coherent fashion under Tru64 Unix.
10713 2002-09-11 André Pönitz <poenitz@gmx.net>
10717 * text3.C: implement LFUN_WORDSEL
10719 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10721 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10722 make floatlist_ a boost::shared_ptr<FloatList>
10724 * lyxtextclass.C: include FloatList.h
10725 (LyXTextClass): initialize floatlist_
10726 (TextClassTags): add TC_NOFLOAT
10727 (Read): match "nofloat" to TC_NOFLOAT and use it.
10728 (readFloat): modify call to floatlist_
10732 * FloatList.[Ch] (FloatList): remove commented out float
10734 (erase): new function
10736 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10738 * MenuBackend.C (expandToc): fix crash when there is no document
10741 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
10743 * many files: Add insetwrap.
10745 2002-09-09 John Levon <levon@movementarian.org>
10747 * text2.C: remove confusing and awkward depth wraparound
10749 2002-09-09 John Levon <levon@movementarian.org>
10751 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10754 * buffer.C: remove getIncludeonlyList()
10757 * lyxfunc.C: remove headers
10759 2002-09-09 Juergen Vigna <jug@sad.it>
10761 * text.C (getColumnNearX): fix form Michael this is most
10762 probably a cut&paste bug.
10764 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
10766 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10768 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10769 references, ws changes.
10771 * text2.C (init): update counters after init
10772 (insertParagraph): no need to set counter on idividual paragraphs.
10773 (setCounter): access the counters object in the textclass object
10774 on in the buffer object.
10775 (updateCounters): ditto
10777 * lyxtextclass.C: include counters.h, add variable ctrs_ as
10778 shared_ptr<Counters> to avoid loading counters.h in all
10780 (LyXTextClass): initialize ctrs_
10781 (TextClassTags): add TC_COUNTER, and ...
10782 (Read): use it here.
10783 (CounterTags): new tags
10784 (readCounter): new function
10785 (counters): new funtion
10786 (defaultLayoutName): return a const reference
10788 * counters.C (Counters): remove contructor
10789 (newCounter): remove a couple of unneeded statements.
10790 (newCounter): simplify a bit.
10791 (numberLabel): some small formatting changes.
10793 * buffer.[Ch]: remove all traces of counters, move the Counters
10794 object to the LyXTextClass.
10796 2002-09-06 Alain Castera <castera@in2p3.fr>
10798 * tabular.C: uses \tabularnewline; uses >{...} construct from array
10799 package to set the horizontal alignment on fixed width columns.
10802 * lyx_sty.h: added tabularnewline macro def.
10804 * LaTeXFeatures.C: added NeedTabularnewline macro feature
10806 2002-09-06 John Levon <levon@movementarian.org>
10808 * LyXAction.C: tooltips for sub/superscript
10810 * MenuBackend.C: a bit more verbose
10812 * lyxfunc.C: tiny clean
10814 * undo_funcs.C: document undo_frozen
10816 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
10818 * counters.C (Counters): add missing algorithm counter.
10820 * text2.C (setCounter): lookup the counter with layouts latexname
10821 instead of by section number.
10822 (setCounter): use a hackish way to lookup the correct enum
10824 a float name->type change
10825 reset enum couners with counter name directly instead of depth value.
10827 * counters.C (Counters): remove the push_backs, change to use the
10828 float type not the float name.
10829 (labelItem): remove unused string, float name->type change
10831 * counters.h: don't include vector, loose the enums and sects vectors
10833 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10835 * lyxtextclass.C (TextClassTags): add TC_FLOAT
10836 (Read): add float->TC_FLOAT to textclassTags
10837 (Read): and handle it in the switch
10838 (readFloat): new function
10840 * FloatList.C (FloatList): comment out the hardcoded float
10843 * lyxlayout.h: ws change.
10845 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
10847 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10849 2002-09-03 Angus Leeming <leeming@lyx.org>
10851 * BufferView_pimpl.h: qualified name is not allowed in member
10852 declaration: WorkArea & Pimpl::workarea() const;
10854 * factory.C: added using std::endl directive.
10856 * text3.C: added using std::find and std::vector directives.
10858 2002-08-29 André Pönitz <poenitz@gmx.net>
10861 * text2.C: remove unused member number_of_rows
10864 * BufferView2.C: remove file, move contents to...
10865 * BufferView.C: ... here
10867 * BufferView_pimpl.C:
10868 * factory.C: move more inset creation to factory
10870 * vspace.C: avoid direct usage of LyXText, ws changes
10873 don't provide direct access to WorkArea, use two simple
10874 acessors haveSelction() and workHeight() instead
10877 2002-08-29 John Levon <levon@movementarian.org>
10879 * BufferView_pimpl.C (dispatch): do not continue when
10882 2002-08-28 André Pönitz <poenitz@gmx.net>
10884 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10887 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10889 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
10891 * buffer.C: increment LYX_FORMAT to 221
10893 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10894 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10896 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10898 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10900 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10902 * factory.C (createInset): use LyXTextClass::floats
10904 * MenuBackend.C (expandFloatListInsert):
10905 (expandFloatInsert):
10908 * text2.C (setCounter):
10910 * LaTeXFeatures.C (useFloat):
10911 (getFloatDefinitions):
10913 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10915 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10916 floatlist_, with accessor floats().
10918 * FloatList.h: remove global FloatList
10920 2002-08-26 André Pönitz <poenitz@gmx.net>
10922 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10926 * BufferView_pimpl.C:
10927 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10929 2002-08-25 John Levon <levon@movementarian.org>
10931 * LyXAction.C: fix margin note description
10933 2002-08-24 John Levon <levon@movementarian.org>
10937 * bufferview_funcs.C:
10939 * undo_funcs.C: cleanups
10941 * lyxfunc.C: disable CUT/COPY when no selection
10943 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
10945 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
10946 in "enum UNIT"; e.g. PTW for Percent of TextWidth
10948 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10949 Add backward compatibility to "mono", "gray" and "no".
10951 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
10953 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10954 (and file_format >= 200).
10956 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10958 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10960 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10962 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10964 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
10966 * BufferView_pimpl.C:
10973 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10974 inset and code to make it work with the paragraph code. The inset
10975 can be anywhere in the paragraph, but will only do the expected
10976 thing in LaTeX if the layout file contains the parameter line
10978 (or more generally, a nonzero value) for that layout.
10980 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
10982 * paragraph.h: remove the declaration of undefined counters class
10985 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
10987 * text2.C (setCounter): fixed enumeration mis-count as reported by
10988 Dr. Richard Hawkins.
10990 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10992 * paragraph_funcs.h: remove some unneeded includes
10994 * text.C (backspace): pasteParagraph now in global scipe
10996 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
10997 (pasteSelection): ditto
10999 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
11000 * paragraph_funcs.C (pasteParagraph): ... here
11002 2002-08-20 André Pönitz <poenitz@gmx.net>
11004 * commandtags.h: new LFUNs for swapping/copying table row/colums
11007 * lyxfunc.C: support for new lfuns
11009 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
11012 * buffer.[Ch]: remove NO_COMPABILITY stuff
11014 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
11016 * boost.C (throw_exception): new file, with helper function for
11017 boost compiled without exceptions.
11022 * ParameterStruct.h:
11023 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
11025 * bufferlist.C (emergencyWriteAll): use boost bind
11027 * BufferView_pimpl.C (moveCursorUpdate): remove inline
11029 * text.C: include paragraph_funcs.h
11030 (breakParagraph): breakParagraph is now in global scope
11032 * paragraph_funcs.[Ch]: new files
11034 * paragraph.C (breakParagraph,breakParagraphConservative): move to
11037 * buffer.C: include paragraph_funcs.h
11038 (insertStringAsLines): breakParagraph is now in global scope
11040 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
11043 * CutAndPaste.C: include paragraph_funcs.h
11044 (cutSelection): breakParagraphConservative is now in global scope
11045 (pasteSelection): ditto
11047 * buffer.h: declare oprator== and operator!= for
11048 Buffer::inset_iterator
11050 * bufferlist.C (emergencyWrite): don't use fmt(...)
11052 * text3.C: add using std::endl
11054 * BufferView.C (moveCursorUpdate): remove default arg
11056 2002-08-20 André Pönitz <poenitz@gmx.net>
11058 * buffer.[Ch]: move inline functions to .C
11061 * BufferView_pimpl.C:
11063 * buffer.[Ch]: use improved inset_iterator
11066 * paragraph.[Ch]: write one paragraph at a time
11068 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
11070 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
11071 style if style is not specified.
11073 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11075 * text2.C (setCounter): when searching for right label for a
11076 caption, make sure to recurse to parent insets (so that a caption
11077 in a minipage in a figure float works) (bug #568)
11079 2002-08-20 André Pönitz <poenitz@gmx.net>
11081 * text3.C: new file for LyXText::dispatch() and helpers
11083 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
11085 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
11087 2002-08-19 André Pönitz <poenitz@gmx.net>
11090 * text.C: new LyXText::dispatch()
11092 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
11094 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
11096 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
11098 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
11101 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11103 * Makefile.am: use $(variables) instead of @substitutions@
11105 2002-08-15 André Pönitz <poenitz@gmx.net>
11108 * BufferView_pimpl.C: streamlining mathed <-> outer world
11112 * LyXAction.C: remove unused LFUN_MATH
11114 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
11116 * paragraph.[Ch]: add some NO_NEXT ifdefs.
11118 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
11120 * paragraph.C (Paragraph): reformat a bit
11121 (cutIntoMinibuffer): use builtin InsetList function instad of
11125 * buffer.C: include boost/bind.hpp, add using std::for_each
11126 (writeFileAscii): use ParagraphList iterators
11127 (validate): use for_each for validate traversal of paragraphs
11128 (getBibkeyList): use ParagraphList iterators
11129 (resizeInsets): use for_each to resizeInsetsLyXText for all
11131 (getParFromID): use ParagraphList iterators
11133 * BufferView2.C (lockInset): use paragraph list and iterators
11135 2002-08-14 John Levon <levon@movementarian.org>
11137 * lyxserver.C: remove spurious xforms include
11139 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11141 * lyxfunc.C (getStatus): disable math-extern outside of math mode
11143 2002-08-13 André Pönitz <poenitz@gmx.net>
11146 * lyxfunc.C: further cleaning
11148 2002-08-13 André Pönitz <poenitz@gmx.net>
11150 * funcrequest.h: new constructor
11152 * funcrequest.C: move stuff here from .h
11155 * BufferView_pimpl.C:
11158 * lyxfunc.C: subsequent changes
11160 * lyxfunc.h: new view() member function
11162 * lyxfunc.C: subsequent changes
11164 2002-08-13 Angus Leeming <leeming@lyx.org>
11167 * BufferView_pimpl.C:
11175 changes due to the changed LyXView interface that now returns references
11176 to member variables not pointers.
11178 2002-08-13 Angus Leeming <leeming@lyx.org>
11180 * WordLangTuple (word, lang_code): return references to strings,
11185 * lyxtext.h: forward-declare WordLangTuple.
11190 * text.C: #include "WordLangTuple.h".
11193 * text.C: (selectNextWordToSpellcheck): constify return type.
11195 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
11201 * paragraph_pimpl.h:
11204 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
11205 suggested by Angus.
11206 Made updateCounter always count from start of buffer, and removed
11207 second argument (par).
11208 Reverted floats number display to '#'. Perhaps I'll try again when the
11209 code base is sanitized a bit.
11211 2002-08-12 Angus Leeming <leeming@lyx.org>
11213 * buffer.[Ch] (getLabelList): constify.
11215 2002-08-07 André Pönitz <poenitz@gmx.net>
11217 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
11219 * funcrequest.h: extension to keep mouse (x,y) position
11221 2002-08-12 Juergen Vigna <jug@sad.it>
11223 * BufferView2.C (insertErrors): forbid undo when inserting error
11226 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
11228 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
11230 * ParagraphList.[Ch]: new files
11232 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
11234 * BufferView2.C (lockInset): ParagraphList changes
11237 * bufferlist.C: ditto
11241 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11243 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
11244 unused class variable counter_,
11246 * paragraph.[Ch] (getFirstCounter): delete unused function
11248 * counters.C: include LAssert.h
11249 (reset): add a new function with no arg, change other version to
11250 not have def. arg and to not allow empty arg.
11252 * text2.C (setCounter): remove empty arg from call to Counters::reset
11254 2002-08-11 John Levon <levon@movementarian.org>
11256 * Makefile.am: add WordLangTuple.h
11258 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11260 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
11261 lyxfunc.C lyxlex_pimpl.C: ws changes only.
11263 * insets/insettext.C: InsetList changes
11265 * graphics/GraphicsSupport.C (operator()): InsetList changes
11267 * toc.C (getTocList): InsetList changes
11269 * paragraph_pimpl.[Ch]: InsetList changes
11271 * paragraph.[Ch]: InsetList changes
11273 * buffer.C (inset_iterator): InsetList changes
11274 (setParagraph): ditto
11275 * buffer.h (inset_iterator): ditto
11276 * iterators.C (operator++): ditto
11277 * iterators.h: ditto
11279 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11281 * InsetList.[Ch]: new files, most InsetList handling moved out of
11284 * BufferView2.C (removeAutoInsets): InsetList changes
11286 (ChangeInsets): ditto
11288 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
11290 * paragraph_pimpl.h (empty): new function
11292 * paragraph.[Ch] (empty): new function
11294 * other files: use the new Paragraph::empty function
11296 2002-08-09 John Levon <levon@movementarian.org>
11298 * lyxtext.h: remove unused refresh_height
11300 2002-08-09 John Levon <levon@movementarian.org>
11307 * paragraph.C: move sgml char escaping out of paragraph
11310 * paragraph.C: remove id setter
11314 * paragraph_pimpl.C: remove dead tex_code_break_column
11316 * bufferview_funcs.C: small cleanup
11318 * lyxfunc.C: remove dead proto
11320 * lyxtext.h: make some stuff private. Remove some dead stuff.
11322 * lyxgluelength.C: make as[LyX]String() readable
11324 2002-08-08 John Levon <levon@movementarian.org>
11329 * ToolbarDefaults.C:
11332 * toc.C: lyxaction cleanup
11334 2002-08-08 John Levon <levon@movementarian.org>
11336 * BufferView2.C: small cleanup
11339 * lyxfind.C: move unnecessary header into the .C
11341 2002-08-08 John Levon <levon@movementarian.org>
11343 * funcrequest.h: just tedious nonsense
11346 * lyx_main.C: cleanups
11349 * vspace.C: remove dead header lyx_main.h
11351 2002-08-07 Angus Leeming <leeming@lyx.org>
11354 * paragraph_pimpl.h:
11355 Forward declare class Counters in paragraph.h by moving the ctrs member
11356 variable into Paragraph::Pimpl.
11357 (counters): new method, returning a reference to pimpl_->ctrs.
11359 * text2.C: ensuing changes.
11361 2002-08-07 John Levon <levon@movementarian.org>
11363 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11365 * BufferView_pimpl.C: announce X selection on double/triple
11368 * lyx_main.C: use correct bool in batch dispatch
11370 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11372 2002-08-07 André Pönitz <poenitz@gmx.net>
11374 * funcrequest.h: new class to wrap a kb_action and its argument
11377 * BufferView_pimpl[Ch]:
11381 * lyxrc.C: subsequent changes
11384 2002-08-07 John Levon <levon@movementarian.org>
11386 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11387 document options change.
11389 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11394 * makefile.am: move counters functionality over from
11395 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11397 2002-08-06 John Levon <levon@movementarian.org>
11399 * WordLangTuple.h: new file for word + language code tuple
11410 * BufferView2.C: use WordLangTuple
11413 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11415 2002-08-06 John Levon <levon@movementarian.org>
11417 * lyx_main.C: fix cmdline batch handling
11419 2002-08-06 André Pönitz <poenitz@gmx.net>
11421 * lyxrc.C: set default for show_banner to true
11423 2002-08-06 John Levon <levon@movementarian.org>
11425 * pspell.C: fix a crash, and allow new aspell to work
11427 2002-08-06 John Levon <levon@movementarian.org>
11430 * kbmap.C: small cleanup
11433 * vspace.C: add const
11435 2002-08-05 John Levon <levon@movementarian.org>
11437 * LyXAction.C: back to tabular-insert
11439 2002-08-04 John Levon <levon@movementarian.org>
11442 * BufferView.C: cosmetic change
11444 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11454 * BufferView2.C: purge all "Lyx" not "LyX" strings
11457 * lyxcursor.C: attempt to add some documentation
11462 * ToolbarDefaults.C:
11463 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11464 merge with LFUN_TABULAR_INSERT
11471 * pspell.C: split up i/pspell implementations into separate
11472 files, many cleanups
11474 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11476 * text2.C: some cleanup
11478 * lyxfunc.C: don't check for isp_command == "none" any more, it
11479 didn't make any sense
11481 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11486 * makefile.am: move counters functionality over
11487 from text2.C/paragraph.[Ch] to counters.[Ch], and
11489 2002-08-02 John Levon <levon@movementarian.org>
11491 * buffer.C: s/lyxconvert/lyx2lyx/
11493 2002-08-02 Angus Leeming <leeming@lyx.org>
11495 * lyxlex.C: revert John's change as it breaks reading of the user
11498 2002-08-02 Angus Leeming <leeming@lyx.org>
11500 * importer.C (Import):
11501 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11502 changes due to LyXView::view() now returning a boost::shared_ptr.
11504 2002-08-02 John Levon <levon@movementarian.org>
11506 * lyxlex.C: small cleanup
11508 2002-08-02 John Levon <levon@movementarian.org>
11510 * text2.C (status): small cleanup, no logic change
11512 2002-08-01 John Levon <levon@movementarian.org>
11515 * buffer.C (writeFile): don't output alerts, caller
11519 * lyx_cb.C: from above
11521 * lyxfunc.C: allow to open non-existent files
11523 2002-07-31 John Levon <levon@movementarian.org>
11525 * lyxserver.C: don't let incidental errors get
11528 2002-07-30 John Levon <levon@movementarian.org>
11530 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11532 2002-07-30 John Levon <levon@movementarian.org>
11535 * lyxserver.C: remove I/O callback too
11537 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11539 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11542 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
11544 * many files: strip,frontStrip -> trim,ltrim,rtrim
11546 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
11548 * PrinterParams.h: remove extern containsOnly, and include
11549 support/lstrings.h instead.
11551 * LaTeX.C (scanAuxFile): modify because of strip changes
11553 * buffer.C (makeLaTeXFile): ditto
11554 * bufferparams.C (writeFile): ditt
11555 * lyxfont.C (stateText): ditto
11556 * lyxserver.C (read_ready): ditto
11557 * vc-backend.C (scanMaster): ditto
11559 * BufferView_pimpl.h: ws changes
11561 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11563 2002-07-26 André Pönitz <poenitz@gmx.net>
11565 * kb_sequence.C: remove unnedred usings
11567 2002-07-26 Juergen Vigna <jug@sad.it>
11569 * lyxfind.C (LyXReplace): we have to check better if the returned
11570 text is not of theLockingInset()->getLockingInset().
11572 2002-07-25 Juergen Vigna <jug@sad.it>
11574 * lyxfind.C (LyXReplace): don't replace if we don't get the
11577 * undo_funcs.C (createUndo): remove debugging code.
11579 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
11581 * buffer.C (parseSingleLyXformat2Token): Use default placement
11582 when reading old floats.
11584 * FloatList.C (FloatList): Change the default placement of figure
11585 and tables to "tbp".
11587 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
11589 * MenuBackend.C: using std::max
11591 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11593 * MenuBackend.C (expandToc):
11594 (expandToc2): code moved from xforms menu frontend. It is now
11595 generic and TOCs are transparent to menu frontends.
11597 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11599 * toc.C (getTocList): protect against buf=0
11601 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11602 Menu as first parameter. Now, this calls itself recursively to
11603 expand a whole tree (this will be useful for TOC handling)
11604 (expandFloatInsert): remove 'wide' version of floats
11606 * MenuBackend.h (submenuname): returns the name of the submenu.
11607 (submenu): returns the submenu itself, provided it has been
11608 created by MenuBackend::expand
11610 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11612 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11613 insets which have noFontChange == true. (bug #172)
11615 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11617 * BufferView_pimpl.C: add connection objects and use them...
11620 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11622 * MenuBackend.C (expandLastfiles):
11625 (expandFloatListInsert):
11626 (expandFloatInsert):
11627 (expand): split expand in parts
11629 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11631 * lyx_gui.C: use lyx_gui::exit()
11633 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11635 * LyXAction.C: show the failing pseudo action
11637 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
11639 * buffer.C (readFile): Run the lyxconvert script in order to read
11642 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11646 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11648 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11652 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11654 2002-07-22 Herbert Voss <voss@lyx.org>
11657 * lyxlength.[Ch]: add support for the vertical lengths
11659 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
11661 * toc.[Ch]: std:: fixes
11663 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11665 * lyxrc.C: do not include lyx_main.h
11667 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11673 * BufferView2.C: include "lyxlex.h"
11676 * bufferparams.h: do not #include "lyxlex.h"
11678 * lyxtextclasslist.C (Add): remove method
11679 (classlist): renamed to classlist_
11681 * paragraph_pimpl.C:
11685 * bufferview_funcs.C:
11690 * toc.C (getTocList): use BufferParams::getLyXTextClass
11692 * toc.C (getTocList): use InsetFloat::addToToc
11694 * toc.[Ch]: new files, containing helper functions to handle table
11697 * lyxfunc.C (dispatch): no need to remove spaces around command
11699 (getStatus): handle LFUN_SEQUENCE by returning the status of the
11700 first command of the sequence; it is not very clever, but I do not
11701 have a better idea, actually
11703 * LyXAction.C (LookupFunc): make sure to remove space at the
11704 beginning and end of the command
11706 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11708 * MenuBackend.C (getMenubar): new method: return the menubar of
11710 (read): treat differently reading of menu and menubar (in
11711 particular, the menubar has no name now)
11712 (Menu::menubar): remove
11714 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11717 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11719 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11720 a bibitem inset in a RTL paragraph.
11722 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
11724 * paragraph_pimpl.C: constify
11726 * BufferView_pimpl.C:
11728 * lyxfunc.C: fix dispatch in a nicer way
11730 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11732 * lyxfunc.C (dispatch):
11733 * BufferView_pimpl.C:
11734 * BufferView_pimpl.h:
11736 * BufferView.h: rename Dispatch() to dispatch()
11738 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11740 * lyxlayout.C (Read): honor DependsOn tag
11742 * lyxlayout.[Ch] (depends_on): new method
11744 * version.C.in: update lyx_docversion
11746 * LaTeXFeatures.C (getMacros): only define \LyX when needed
11748 * paragraph.C (validate): remove from here...
11749 * paragraph_pimpl.C (validate): ... and move here
11750 (isTextAt): make it const
11752 * buffer.C (getLists): ws cleanup
11754 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11756 * language.C (read): Use iso8859-1 encoding in latex_lang
11757 (this prevents LyX from crashing when using iso10646-1 encoding).
11759 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11761 * text2.C (toggleInset): if cursor is inside an inset, close the
11762 inset and leave cursor _after_ it
11764 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11766 * lyxfunc.C: move minibuffer completion handling out of here
11768 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11770 * BufferView_pimpl.C:
11771 * LaTeX.C: fix dispatch calls
11773 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
11775 * text.C (drawChars): Fix Arabic text rendering.
11777 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
11781 * lyxfunc.C: remove message-push/pop
11785 * lyxfunc.C: rationalise some code by removing verboseDispatch
11786 in favour of a bool argument to dispatch()
11788 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11790 * lyx_main.C (init): make sure to read symlinks as absolute paths
11792 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11795 * lyxfunc.C: no need for commandshortcut to be a member
11797 2002-07-15 André Pönitz <poenitz@gmx.net>
11799 * converter.C: add support for $$s (scripts from lib/scripts dir)
11800 * lyx_main.C: white space
11802 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11806 * lyxrc.C: remove second exit confirmation
11808 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11813 * BufferView_pimpl.h:
11814 * BufferView_pimpl.C:
11815 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11817 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11819 * MenuBackend.C (expand): add numeric shortcuts to document menu
11821 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11823 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11825 * lyxfont.C (setLyXFamily):
11832 * buffer.C (asciiParagraph): use ascii_lowercase
11834 2002-07-15 Mike Fabian <mfabian@suse.de>
11836 * lyxlex_pimpl.C (search_kw):
11837 * lyxlex.C (getLongString):
11838 * converter.h (operator<):
11839 * converter.C (operator<):
11840 * buffer.C (parseSingleLyXformat2Token):
11842 * ToolbarDefaults.C (read):
11843 * MenuBackend.C (checkShortcuts):
11845 * LColor.C (getFromGUIName):
11846 (getFromLyXName): use the compare_ascii_no_case instead of
11847 compare_no_case, because in turkish, 'i' is not the lowercase
11848 version of 'I', and thus turkish locale breaks parsing of tags.
11850 2002-07-16 Angus Leeming <leeming@lyx.org>
11852 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11853 now takes a Buffer const & argument.
11855 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
11857 * BufferView.C (resize): check there's a buffer to resize
11859 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
11861 * lyxfunc.C: remove dead code
11864 * lyxserver.C: use lyx_guii::set_read_callback
11866 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
11868 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11869 an inset in a RTL paragraph.
11871 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11873 * lyxfunc.C: repaint after a font size update
11875 2002-07-15 André Pönitz <poenitz@gmx.net>
11877 * lyxlength.C: inBP should be able to return negative values
11879 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11881 * lyxfunc.C: use lyx_gui::update_fonts()
11883 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11885 * lyxfunc.C: use lyx_gui::update_color()
11887 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11893 * lyxrc.C: remove file->new asks for name option, and let
11894 buffer-new take an argument
11896 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11898 * BufferView_pimpl.C: remove unneeded extra repaint()
11900 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
11902 * LyXAction.C: allow command-sequence with NoBuffer
11904 * lyxfunc.C: don't insist on trailing ';' for command-sequence
11906 2002-07-10 Angus Leeming <leeming@lyx.org>
11908 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11910 2002-07-09 Angus Leeming <leeming@lyx.org>
11912 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11914 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11916 * lengthcommon.h: whitespace
11918 * lyxfunc.C: update scrollbar after goto paragraph
11920 * lyxtext.h: factor out page break drawing, and fix it so
11921 page break/added space paints as selected nicely
11923 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11925 * BufferView_pimpl.C: add FIXMEs, clean up a little
11927 2002-07-09 André Pönitz <poenitz@gmx.net>
11929 * lyxfont.[Ch]: support for wasy symbols
11931 2002-07-08 André Pönitz <poenitz@gmx.net>
11933 * BufferView_pimpl.C: apply John's patch for #93.
11935 2002-07-05 Angus Leeming <leeming@lyx.org>
11937 * BufferView_pimpl.C (buffer): generate previews if desired.
11939 * LColor.h: add "preview" to the color enum.
11941 * LColor.C (LColor): add a corresponding entry to the items array.
11943 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
11946 2002-07-05 Angus Leeming <leeming@lyx.org>
11948 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11949 The body of the code is now in the method that is passed an ostream &
11950 rather than a file name.
11951 Pass an additional only_preamble parameter, useful for the forthcoming
11954 2002-07-03 André Pönitz <poenitz@gmx.net>
11956 * lyxfunc.C: simplify getStatus() a bit for math stuff
11958 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11960 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11962 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11964 * text.C (changeRegionCase): do not change case of all the
11965 document when region ends at paragraph end (bug #461)
11967 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11969 * paragraph.C (startTeXParParams):
11970 (endTeXParParams): add \protect when necessary
11972 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11974 * BufferView_pimpl.C (workAreaExpose): remove warning
11976 2002-06-27 Angus Leeming <leeming@lyx.org>
11978 * Makefile.am: add lyxlayout_ptr_fwd.h.
11980 2002-06-26 André Pönitz <poenitz@gmx.net>
11982 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
11984 2002-06-25 Angus Leeming <leeming@lyx.org>
11986 * lyxfunc.C (dispatch): Comment out the call to
11987 grfx::GCache::changeDisplay. The method no longer exists now that the
11988 pixmap generation part of the graphics loader has been moved into
11991 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11993 * text2.C: layout as layout
11995 * text.C: layout as layout
11997 * tabular.C (OldFormatRead): layout as layout
11999 * paragraph_pimpl.C (TeXDeeper): layout as layout
12000 (realizeFont): layout as layout
12002 * paragraph.C (writeFile): layout as layout
12003 (validate): layout as layout
12004 (getFont): layout as layout
12005 (getLabelFont): layout as layout
12006 (getLayoutFont): layout as layout
12007 (breakParagraph): layout as layout
12008 (stripLeadingSpaces): layout as layout
12009 (getEndLabel): layout as layout
12010 (getMaxDepthAfter): layout as layout
12011 (applyLayout): layout as layout
12012 (TeXOnePar): layout as layout
12013 (simpleTeXOnePar): layout as layout
12014 (TeXEnvironment): layout as layout
12015 (layout): layout as layout
12016 (layout): layout as layout
12018 * lyxtextclass.C (compare_name): new functor to work with
12019 shared_ptr, layout as layout
12020 (Read): layout as layout
12021 (hasLayout): layout as layout
12022 (operator): layout as layout
12023 (delete_layout): layout as layout
12024 (defaultLayout): layout as layout
12026 * lyxlayout_ptr_fwd.h: new file
12028 * lyxlayout.C (Read): layout as layout
12030 * lyx_cb.C (MenuInsertLabel): layout as layout
12032 * bufferlist.C (newFile): layout as layout
12034 * buffer.C (readLyXformat2): layout as layout
12035 (parseSingleLyXformat2Token): layout as layout
12036 (insertStringAsLines): layout as layout
12037 (asciiParagraph): layout as layout
12038 (latexParagraphs): layout as layout
12039 (makeLinuxDocFile): layout as layout
12040 (simpleLinuxDocOnePar): layout as layout
12041 (makeDocBookFile): layout as layout
12042 (simpleDocBookOnePar): layout as layout
12043 (getLists): layout as layout
12045 * LaTeXFeatures.C (getTClassPreamble): layout as layout
12047 * CutAndPaste.C (cutSelection): layout as layout
12048 (pasteSelection): layout as layout
12049 (SwitchLayoutsBetweenClasses): layout as layout
12051 * BufferView_pimpl.C (Dispatch): layout as layout
12052 (smartQuote): layout as layout
12054 * BufferView2.C (unlockInset): layout as layout
12056 2002-06-24 André Pönitz <poenitz@gmx.net>
12058 * lyxfunc.C: fix #487
12060 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12064 * lyxfunc.C: remove display_shortcuts, show_banner
12066 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12068 * Buffer_pimpl.C: oops, update on resize
12070 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12077 * BufferView.C: use repaint()
12079 * BufferView_pimpl.h:
12080 * BufferView_pimpl.C: s/updateScreen()/repaint()/
12081 as it's a clearer description. Remove superfluous
12084 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12086 * text.C: fix bug 488. Not ideal, but getting
12087 getWord() to work properly for the insets that
12088 matter is more difficult ...
12090 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12092 * BufferView_pimpl.C:
12095 * lyxfunc.C: remove the six million index lyxfuncs to just
12096 one, and DTRT (bug 458)
12098 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12102 * BufferView_pimpl.h:
12103 * BufferView_pimpl.C: clean up resize() stuff,
12104 and unnecessary updateScreen()s
12106 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12110 * BufferView_pimpl.h:
12111 * BufferView_pimpl.C:
12114 * minibuffer.C: remove focus management of workarea,
12115 not needed. Use screen's greyOut()
12117 2002-06-17 Herbert Voss <voss@lyx.org>
12119 * converter.C: (convert) do not post a message, when converting
12120 fails, let the calling function decide what to do in this case
12122 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
12124 * lyxfunc.C: tidy up a little
12126 2002-06-16 <alstrup@diku.dk>
12128 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
12129 Got rid of FORMS_H_LOCATION include. Now we are
12132 2002-06-15 LyX Development team <lyx@rilke>
12134 * buffer.[Ch] (sgmlOpenTag):
12135 (sgmlCloseTag): Added support for avoiding pernicious mixed
12136 content. Return number of lines written.
12138 (makeLinuxDocFile):
12139 (makeDocBookFile): Fixed calls to sgml*Tag.
12140 Simple white space clean.
12142 (simpleDocBookOnePar): Simple white space clean.
12144 * tabular.[Ch] (docBook): Renamed to docbook and got another
12145 argument to related with the pernicious mixed content.
12147 (docbookRow): Fixed calls for docbook inset method.
12149 2002-06-15 Lyx Development team <larsbj@birdstep.com>
12151 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
12152 so it's X11 independent.
12156 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
12158 2002-06-15 Lyx Development team <lyx@electronia>
12160 * intl.h: Renamed getTrans to getTransManager.
12162 2002-06-14 Angus Leeming <leeming@lyx.org>
12164 * Makefile.am: nuke forgotten stl_string_fwd.h.
12166 2002-06-12 Angus Leeming <leeming@lyx.org>
12168 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
12170 2002-06-13 Angus Leeming <leeming@lyx.org>
12173 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
12175 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
12177 * kbmap.C (getiso): add support for cyrillic and greek
12179 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12183 * BufferView_pimpl.h:
12184 * BufferView_pimpl.C: move bogus scrolling logic
12187 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12190 * BufferView_pimpl.C: view->resize() change
12192 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12194 * BufferView_pimpl.C: topCursorVisible
12197 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12201 * lyx_gui.C: move to frontends/
12205 * lyx_main.C: changes from above
12207 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12214 * lyx_main.C: minor tidy
12216 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12218 * BufferView_pimpl.h:
12219 * BufferView_pimpl.C:
12221 * BufferView.C: make painter() const,
12224 * BufferView2.C: use screen() accessor
12227 * lyx_main.C: some minor cleanup
12229 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12231 * BufferView_pimpl.h:
12232 * BufferView_pimpl.C: remove enter/leaveView,
12235 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12240 * BufferView_pimpl.h:
12241 * BufferView_pimpl.C: only construct screen once,
12244 * lyxrc.C: remove pointless comment
12246 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
12249 * BufferView.C: remove active() and belowMouse()
12251 * BufferView_pimpl.h:
12252 * BufferView_pimpl.C: use workarea() not workarea_,
12253 and make it use a scoped_ptr instead
12255 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
12257 * lyx_gui.C: add debug message on BadWindow
12259 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12261 * sp_spell.C: fdopen is not part of the C++ standard.
12263 * paragraph.C (InsetIterator): use >= instead of ==
12265 2002-06-07 Angus Leeming <leeming@lyx.org>
12267 Fixes needed to compile with Compaq cxx 6.5.
12268 * BufferView_pimpl.C:
12275 * lyxtextclasslist.C:
12280 all c-library variables have been moved into namespace std. Wrap
12281 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12286 Add a using std::abs declaration.
12288 * kbmap.h (modifier_pair):
12289 * paragraph.h (InsetTable, InsetList):
12290 * lyxfont.h (FontBits):
12291 type definition made public.
12293 * bufferlist.C (emergencyWriteAll): the compiler complains that
12294 there is more than one possible lyx::class_fun template to choose from.
12295 I re-named the void specialisation as lyx::void_class_fun.
12297 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12299 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12300 the compiler is is unable to find tostr in write_attribute.
12302 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12304 * buffer.C (sgmlError): hide #warning
12306 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12308 * xtl/*: get rid of xtl, which is not in use anyway
12310 * LyXAction.C (init):
12311 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12312 were unimplemented xtl experimentation
12314 2002-06-04 André Pönitz <poenitz@gmx.net>
12316 * lyxfunc.C: disable array operation on simple formulae
12318 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
12320 * converter.C: constify a bit
12322 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
12324 * lyx_gui.C: check xforms version correctly
12326 2002-04-30 Herbert Voss <voss@lyx.org>
12328 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12331 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
12333 * lyxvc.C: fix bug 416 (make sure buffer is saved before
12334 attempt to register it with a VCS)
12336 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12338 * lyx_main.C (init): honor variables LYX_DIR_13x and
12341 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12345 * lyx_main.C: fix a crash on bad command line,
12346 and give a useful exit status on error
12348 * lyxfunc.C (doImport): allow -i lyx to work
12350 2002-03-30 André Pönitz <poenitz@gmx.net>
12352 * lyxfunc.C: mathed font changes
12354 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12369 * trans_mgr.h: srcdocs, and some minor cleanups
12371 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12373 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12374 call getFont all the time)
12376 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12378 * switch from SigC signals to boost::signals
12380 2002-05-29 André Pönitz <poenitz@gmx.net>
12382 * paragraph_pimpl.C (getChar): don't call size() too often...
12384 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12386 * paragraph_pimpl.C (insertChar): do not try to update tables when
12387 appending (pos == size())
12389 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12390 in order to reduce drastically the number of comparisons needed to
12391 parse a large document
12393 2002-05-29 André Pönitz <poenitz@gmx.net>
12399 * textclasslist.[Ch]:
12400 * sp_ispell.h: whitespace change
12402 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12404 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12405 lyxaction directly now.
12407 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
12411 * lyxvc.C: remove unused headers
12413 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12420 * undo_funcs.C: some cleanups. Use shared_ptr
12421 and a template for the undo stacks.
12423 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12425 * BufferView_pimpl.h:
12426 * BufferView_pimpl.C:
12433 * text2.C: use key_state/mouse_state
12435 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12437 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12440 * chset.C: change include order
12441 (loadFile): use boost regex and get rid of LRegex and LSubstring
12443 * Makefile.am (BOOST_LIBS): new variable
12444 (lyx_LDADD): use it
12446 * LaTeX.C: change include order.
12447 (scanAuxFile): use boost regex and get rid of LRegex and
12451 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12456 * FontInfo.C: moved to frontends/xforms/
12459 * FontLoader.C: moved into frontends for GUIIzation
12464 * lyxfunc.C: changes from above
12466 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12468 * LColor.C: remove spurious X include
12470 * BufferView_pimpl.C:
12475 * text2.C: move font metrics to frontends/
12477 2002-05-24 Juergen Vigna <jug@sad.it>
12479 * undo_funcs.C (textHandleUndo): fix the cursor selection after
12480 setting the undo_cursor.
12482 * ParagraphParameters.h: include local includes first.
12484 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12486 * BufferView_pimpl.C:
12487 * BufferView_pimpl.h:
12491 * screen.C: move WorkArea into frontends/
12497 * BufferView2.C: move LyXScreen into frontends/
12501 * lyx_gui.C: move lyxlookup into frontends/xforms/
12503 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12506 * BufferView_pimpl.C:
12516 * bufferview_funcs.C:
12529 * vc-backend.C: move LyX/XFormsView into frontends/
12531 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12543 * text2.C: move Painter to frontends/
12545 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
12547 * buffer.C: comment out some some code that depend upon lyx_format
12550 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12551 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12553 * buffer.h (NO_COMPABILITY): turn off compability
12555 * ColorHandler.C: include scoped_array.hpp
12557 * font.C: Use more specific smart_ptr header.
12560 * ShareContainer.h: ditto
12561 * lyx_main.h: ditto
12563 * FontInfo.h: ditto
12564 * BufferView_pimpl.h: ditto
12565 * ColorHandler.h: ditto
12567 * kbmap.C (defkey): change call to shared_ptr::reset
12569 2002-05-21 Juergen Vigna <jug@sad.it>
12571 * buffer.C (insertErtContents): fix to insert ert asis if it is
12572 non empty. Skip it completely if it contains only whitespaces.
12574 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
12576 * BufferView_pimpl.C:
12577 * BufferView2.C: clear selection on paste (bug 393)
12579 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12581 * DepTable.C: include ctime
12583 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
12585 * buffer.C (latexParagraphs): Add new argument (moving_arg).
12587 2002-05-14 Juergen Vigna <jug@sad.it>
12589 * text.C (breakParagraph): fixed function to honor the keepempty
12590 layout in the right maner and also to permit the right breaking
12591 algorithm on empty or non empyt keepempty paragraphs.
12593 * paragraph.C (breakParagraph): we have to check also if the par
12594 is really empty (!size()) for isempty otherwise we do the wrong
12597 2002-05-10 Juergen Vigna <jug@sad.it>
12599 * buffer.[Ch] : The following are only changes to the ert
12600 compatibility read reading old LaTeX layout and font stuff and
12601 convert it to ERTInsets.
12603 * buffer.h: added isErtInset().
12605 * buffer.C (struct ErtComp): add a fromlayout bool to check
12606 if we're inside a LaTeX layout.
12607 (isErtInset): new helper function.
12608 (insertErtContents): look for other ert insets before this one
12609 and insert the contents there, so that we don't have subsequent
12610 ERT insets with nothing between them. This way we create only one
12611 inset with multiple paragraphs. Also check if we don't insert only
12612 spaces ' ' as they are ignored anyway afterwards in the .tex file
12613 so if we have only spaces we will ignore this latex part in the
12615 (parseSingleLyXformat2Token \\layout): better compatibility when
12616 reading layout-latex stuff.
12617 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12619 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12620 stuff after reading the inset only get the information back from
12623 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
12625 * buffer.C (makeLaTeXFile): Put language options after loading babel.
12627 * LaTeXFeatures.C (getBabelOptions): New method.
12629 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12631 * BufferView_pimpl.C (Dispatch): work around missing argument for
12634 2002-05-08 Juergen Vigna <jug@sad.it>
12636 * text.C (leftMargin): handle paragraph leftindent.
12638 * paragraph.C (writeFile): write the new \\leftindent tag.
12639 (validate): handle leftindent code.
12640 (TeXEnvironment): handle paragraphleftindent code again.
12642 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12644 * buffer.C (parseSingleLyXformat2Token): added compatibility code
12645 for paragrap_extra indent code and new token \\leftindent.
12646 (latexParagraphs): handle the leftindent as environment.
12648 * ParameterStruct.h: added leftindent support.
12650 * ParagraphParameters.C (leftIndent): added support functions for
12651 the paragraph left indent.
12653 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12656 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
12658 * paragraph.C (isRightToLeftPar): Return false for a paragraph
12661 * text.C (computeBidiTables): No bidi in insetERT.
12663 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12666 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12668 * version.C.in: pre 5
12670 2002-05-02 José Matos <jamatos@fep.up.pt>
12671 * buffer.C (makeDocBookFile): white space changes, add newline to
12673 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12675 * tabular.C (docBook): fix typo.
12677 2002-05-03 Juergen Vigna <jug@sad.it>
12679 * screen.C (drawFromTo): recalculate the rowpointer if we had a
12680 change in LyXText as we can not be sure it was not freed.
12681 (drawOneRow): remove unused code.
12683 * text.C (drawInset): redo the calculation of the need_break_row as
12684 it could have a row which was already freed.
12685 (draw): look at the return value of drawInset and return false if
12686 it also returned false.
12687 (paintRowText): look at the return value of draw and return false if
12688 it also returned false.
12690 * lyxtext.h: added bool return type to drawInset() and draw() so that
12691 if we have a change in the row so that the rowbreak has to be redone
12692 we abort drawing as it will be called again.
12694 2002-05-02 Juergen Vigna <jug@sad.it>
12696 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12697 a change in the maintext also if we're inside an inset.
12698 (Dispatch): set the cursor again after a break line and after the
12699 screen has been updated as it could be we're in a different row.
12701 * text2.C (fixCursorAfterDelete): check to make sure we don't request
12702 to set the cursor behind the pargraph with > size().
12703 (setCursor): check also for the same paragraph when checking where
12704 to put the cursor if we have a NFR inset.
12706 * buffer.C (parseSingleLyXformat2Token): move the compatibility
12707 parts of layout read further up as it still was in the wrong
12710 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12712 * screen.C (drawFromTo): change sine fullRebreak always return
12715 * buffer.C (parseSingleLyXformat2Token): reindent some
12717 * BufferView_pimpl.C (update): change since fullRebreak always
12719 (Dispatch): git rid of the last hardcoded "Standard"s.
12721 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
12723 * text2.[Ch] (fullRebreak): make it return void now that we always
12726 2002-04-30 Juergen Vigna <jug@sad.it>
12728 * buffer.C (parseSingleLyXformat2Token): reset the font before the
12729 ert compatibility check for "latex" layout.
12731 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
12733 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12734 minipages: use col% instead of p%, and also use the current font.
12735 (makeLaTeXFile): Fix use babel condition.
12736 (parseSingleLyXformat2Token): Correct font when reading old floats.
12738 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
12740 * BufferView_pimpl.C (Dispatch): Check that float type exists when
12741 inserting list of floats.
12743 2002-04-25 Herbert Voss <voss@lyx.org>
12745 * MenuBackend.C (expand): don't add the graphics extensions to the
12748 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12750 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12751 non-existing layout, do not complain if it was the default layout
12752 of the original class (bug #342)
12754 2002-04-24 Juergen Vigna <jug@sad.it>
12756 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12757 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12759 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
12761 * buffer.C (getBibkeyList): If using \bibliography, return the
12762 option field with the reference itself. Enables us to provide natbib
12763 support when using \bibliography.
12765 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
12767 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12769 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12770 natbib is provided by the LaTeX class.
12772 2002-04-23 Juergen Vigna <jug@sad.it>
12774 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12777 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12779 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12781 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12783 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12784 ensuremath around textordmasculine, textordfeminine and
12787 2002-04-19 Juergen Vigna <jug@sad.it>
12789 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12790 reinitializing the buffer otherwise row-dimensions may be wrong.
12791 (update): reset also the selection cursors if they do exits otherwise
12792 their x/y positions may be wrong.
12794 * text2.C (cursorDown): don't enter the inset if we came from a row
12795 above and are one row over the inset.
12797 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12798 really leaving an inset.
12800 2002-04-18 Juergen Vigna <jug@sad.it>
12802 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12803 of the selected paragraph does not have the selected layout also if
12806 * text2.C (setLayout): fixed bug which did not change last selected
12809 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12810 changed the read and substituted \\end_float with \\end_inset!
12812 * BufferView_pimpl.C (cursorPrevious):
12813 (cursorNext): fixed to make it work with rows heigher than the work
12814 area without moving the cursor only the draw of the row.
12815 (workAreaMotionNotify): fix jumping over high rows.
12817 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12819 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12822 2002-04-16 Juergen Vigna <jug@sad.it>
12824 * text2.C (setCursor): set also the irow().
12825 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12827 (cursorDown): support for locking an inset if the x_fix value goes
12828 inside it. That way I can transverse insets too with cursor up/down.
12830 * lyxrow.h: added irow helper function same as other (i) functions.
12832 * BufferView_pimpl.C (cursorPrevious):
12833 (cursorNext): fixed for insets!
12835 2002-04-15 Juergen Vigna <jug@sad.it>
12837 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12838 position otherwise it is wrong in some cases.
12840 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12841 inside the inset before the call.
12843 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
12845 * buffer.[Ch] (getBibkeyList): make it const.
12847 2002-04-12 Juergen Vigna <jug@sad.it>
12849 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12851 * text2.C (getCursorX): new helper function
12852 (setCursor): compute also ix_
12853 (setCursorFromCoordinates): set also ix.
12855 * lyxcursor.h: added ix_ and helper functions.
12857 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12859 * buffer.C (insertStringAsLines): dont break paragraph if the this
12860 paragraph is inside an inset which does not permit it!
12862 * text.C (breakParagraph): honor keepempty flag and break the paragraph
12863 also with no chars on this paragraph.
12864 (paintRowText): only paint stuff if it's inside the workarea!
12866 * paragraph.C (breakParagraph): honor keepempty flag and break the
12867 paragraph always below not above.
12869 * BufferView2.C (unlockInset): update the paragraph layout on inset
12870 unlock as we changed paragraph in such a case.
12872 * lyxfind.C (LyXFind): clear the former selection if not found!
12874 * text2.C (insertInset): freeze Undo after setUndo so that it is not
12875 again called in insertChar().
12877 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12878 an inset which uses the whole row!
12879 (rightMargin): ditto.
12880 (insertChar): force a rebreak if we inserted an inset!
12882 2002-03-28 Herbert Voss <voss@lyx.org>
12884 * lyxlength.[Ch]: add inBP() to get the right PS-point
12885 units (BigPoint). With inPixels we have rounding errors
12887 2002-04-11 Juergen Vigna <jug@sad.it>
12889 * text2.C (setCursorFromCoordinates): set iy to the right value.
12890 (setCursor): add check if row->previous exists!
12892 * buffer.C (parseSingleLyXformat2Token): reset font after read of
12893 an old float_type as this was the case in the old code!
12895 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12897 * BufferView2.C (showLockedInsetCursor): use iy
12898 (fitLockedInsetCursor): ditto
12900 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12901 locked insets as there we have the right value now.
12903 * lyxcursor.C: added iy_ variable and iy functions to set to the
12904 baseline of cursor-y of the locked inset.
12906 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12907 (setCursor): fixed for insets which need a full row.
12909 * text.C (rowLastPrintable): don't ignore the last space when before
12910 an inset which needs a full row.
12911 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12912 as last character of a row when before a inset which needs a full row.
12914 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12916 * version.C.in: update date
12918 * text2.C (fullRebreak): try to always return true and see what
12921 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12923 * MenuBackend.C (expand): use Floating::listName
12925 * FloatList.C (FloatList): add listName argument to the built-in
12928 * Floating.[Ch]: add listName member, which is the 'List of XXX'
12929 text associated with the float.
12931 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12933 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12935 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12937 * ShareContainer.h: add a couple of missing typenames.
12939 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
12941 * lyxrc.C (getDescription): use _() correctly rather than N_().
12943 2002-03-28 Herbert Voss <voss@lyx.org>
12945 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
12946 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12948 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12950 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12951 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12953 2002-03-29 Juergen Vigna <jug@sad.it>
12955 * lyxfunc.C (dispatch): add a missing fitCursor call.
12957 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12958 it was scrolled by a cursor move, so return the bool status.
12960 * BufferView.C (fitCursor): return the bool flag also to the outside
12961 world as this is needed.
12963 * screen.C (toggleToggle): don't subtract the offset if it's positive.
12965 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12966 call the edit() as it is not needed (and wrong) IMO.
12967 (workAreaButtonPress): set the screen_first variable before evt.
12968 unlock the inset as this may change screen_first and then we have
12969 a wrong y position for the click!
12971 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12973 * MenuBackend.C (expand): another translation that I missed
12975 2002-03-28 Juergen Vigna <jug@sad.it>
12977 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12979 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12981 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12983 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12985 * MenuBackend.C (expand): fix export/view/update when there is no
12988 2002-03-27 Herbert Voss <voss@lyx.org>
12990 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12993 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12995 * bufferview_funcs.C (currentState): only show paragraph number
12996 for is DEVEL_VERSION is set.
12998 * lyxfunc.C (dispatch): put warning in INFO channel
13000 * MenuBackend.C (expand): translate the name of floats
13002 * FloatList.C (FloatList): mark the float names for translation
13004 * converter.C (convert): use LibScriptSearch
13006 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13008 * MenuBackend.C (defaults): fix default menu (we might as well get
13011 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13013 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
13016 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13018 * lyxvc.C: reorder includes.
13020 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
13022 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
13025 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
13027 * CutAndPaste.C: change layouts earlier on paste
13028 to avoid crashing when calling getFont()
13030 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
13032 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
13035 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
13037 * WorkArea.C: remove 'Pending' debug message.
13039 * most files: ws cleanup
13041 * buffer.[Ch]: ws changes
13043 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
13045 2002-03-21 Juergen Vigna <jug@sad.it>
13047 * tabular.C (SetMultiColumn): collapse also the contents of the
13048 cells and set the last border right. Added a Buffer const * param.
13050 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
13052 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
13055 2002-03-19 Juergen Vigna <jug@sad.it>
13057 * text2.C (clearSelection): reset also xsel_cache.
13059 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
13060 where it needs to be called (John tells us to do so too :)
13061 (selectionLost): reset sel_cache.
13063 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
13065 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13067 * text2.C (setCursorIntern): put debuging code in INSETS channel
13069 2002-03-19 André Pönitz <poenitz@gmx.net>
13071 * lyxfunc.C: tiny whitespace change
13073 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13075 * ToolbarDefaults.C (init):
13076 * LyXAction.C (init):
13078 * BufferView_pimpl.C (Dispatch):
13079 * lyxfunc.C (dispatch): remove LFUN_DEPTH
13081 2002-03-19 Allan Rae <rae@lyx.org>
13083 * exporter.C (Export): removeAutoInsets before doing anything else.
13084 While I've just introduced a dependency on BufferView this really is
13085 the best place to clean the buffer otherwise you need to cleanup in
13086 a dozen places before calling export or cleanup in a dozen functions
13089 * converter.C (runLaTeX):
13090 (scanLog): Better handling of removeAutoInsets and screen updates.
13092 * lyxfunc.C (dispatch): small whitespace changes
13094 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13096 * WorkArea.C (C_WorkAreaEvent): return a value.
13097 (event_cb): return 1 if we handled the event, 0 otherwise.
13099 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
13101 2002-03-18 Juergen Vigna <jug@sad.it>
13103 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
13104 (GetAdditionalWidth): ditto.
13105 (RightLine): ditto.
13108 * BufferView2.C (copy): use getLyXText() so that we do it inside an
13109 inset if we're there actually (probably not used right now but this
13110 is the direction to go for unifying code).
13111 (paste): disable code to clear the selection.
13113 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
13114 inside an InsetText and move the check further up as it is in the
13117 * text2.C (pasteSelection): set a selection over the pasted text.
13119 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
13121 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
13122 and libgraphics to build on Cygwin.
13124 2002-03-15 Juergen Vigna <jug@sad.it>
13126 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
13127 inserting an Inset into the paragraph. I know this is not the best
13128 fix but we already use current_view in CutAndPaste so we will remove
13129 all of it's using at the same time.
13131 * buffer.C (sgmlError): deactivated function till it is rewritten in
13132 the right mode, now it can create problems.
13134 * paragraph.C (isLineSeparator): check if getInset returns != 0,
13135 before accessing it.
13137 2002-03-14 Juergen Vigna <jug@sad.it>
13139 * undo_funcs.C (textHandleUndo): do the right thing when updating
13140 the inset after the undo/redo.
13142 * text2.C (setCursor): just some testcode for #44 not ready yet.
13144 * undo_funcs.C (textHandleUndo): set the next() and previous()
13145 pointers of the paragraph to 0 before deleting otherwise we have
13146 problems with the Paragraph::[destructor].
13148 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
13149 on a paragraph insertion.
13151 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13153 * buffer.C (asciiParagraph): use += operator for char append to
13156 * paragraph.C (getFontSettings): compare >= not just >
13157 (highestFontInRange): ditto
13160 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13162 * paragraph.C: change several algorithm to be more appripriate for
13163 the problem domain. This is lookip in FontList and in the InsetList.
13165 2002-03-13 André Pönitz <poenitz@gmx.net>
13168 * LyXAction.C: remove unused LFUN_MATH_MACROARG
13170 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
13175 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
13177 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13179 * Painter.C (display): anon helper function, adjust code for this
13181 (pixmap): remove function.
13183 * Painter.h: remove private display variable.
13185 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
13187 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
13189 * WorkArea.[Ch]: remove figinset_canvas cruft.
13191 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13193 * lyxtextclass.C (operator): add one item cache optimization.
13195 * bufferlist.h: doxy changes
13197 * bufferlist.C: ws changes
13199 * DepTable.[Ch] (ext_exist): place const in the right spot.
13201 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
13203 (workAreaExpose): call resizeInsets when the with BufferView changes.
13204 (Dispatch): adjust for protectedBlank removal
13205 (specialChar): call updateInset if the insert went ok.
13207 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
13208 specialChar instead.
13210 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
13212 * BufferView.h: doxy change
13214 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
13216 * lyxtextclass.C (operator[]): remove non-const version
13217 (defaultLayout): remove non-const version
13219 2002-03-12 Juergen Vigna <jug@sad.it>
13221 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
13222 did resize the LyXText too.
13224 * buffer.C (readLyXformat2): set layout information on newly allocated
13227 * tabular.C (OldFormatRead): set layout information on the paragraph.
13229 2002-03-12 Jos�Ab�io Oliveira Matos <jamatos@novalis.fc.up.pt>
13231 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
13233 2002-03-11 Juergen Vigna <jug@sad.it>
13235 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
13237 (resizeCurrentBuffer): force also the insets to resize themselfes.
13238 (moveCursorUpdate): fixed up for InsetText.
13240 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
13243 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
13244 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
13245 value of Dialogs::tooltipsEnabled().
13246 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
13248 2002-03-08 Juergen Vigna <jug@sad.it>
13250 * BufferView_pimpl.C (updateInset): update inset inside inset also
13251 if it isn't inside theLockingInset().
13253 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13255 * buffer.C (asciiParagraph): redo some of the word and line length
13257 (getLists): look for Caption instead of caption.
13259 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13261 * buffer.C (Buffer): initialize niceFile to true
13263 (makeLinuxDocFile):
13264 (makeDocBookFile): make sure niceFile is true on exit
13266 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13268 * buffer.C (makeLaTeXFile): escape ~ in \input@path
13270 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
13272 * LyXSendto.C: remove.
13273 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13274 * lyx_gui.C: remove now-redundant comment.
13275 * ColorHandler.h: remove forward declaration of class WorkArea.
13276 * lyxfunc.C: remove #include "WorkArea.h".
13278 2002-03-07 Juergen Vigna <jug@sad.it>
13280 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13281 got moved away with the DEPM and also set the inset_owner always
13282 right which before could have been omitted.
13284 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13286 * buffer.C (parseSingleLyXformat2Token): use default layout is the
13287 wanted layout is not found.
13289 2002-03-07 Juergen Vigna <jug@sad.it>
13291 * CutAndPaste.C (cutSelection): another layout settings forgotten.
13293 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13295 * paragraph.C (breakParagraph): use default layout not layout of
13297 (Paragraph): clear ParagraphParameters.
13299 2002-03-06 Juergen Vigna <jug@sad.it>
13301 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13302 otherwise it would not be a valid lenght. Fixed a special case in
13303 the minipage compatibility read where we end the document with a
13306 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13307 was set as it could be 0 for InsetTexts first entry.
13309 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13311 * paragraph.C (writeFile): if layout is empty write out
13312 defaultLayoutName().
13314 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13315 file without named layout we set layout to defaultLayoutName().
13317 2002-03-06 Juergen Vigna <jug@sad.it>
13319 * CutAndPaste.C (copySelection): set layout for new paragraph.
13321 * text.C (prepareToPrint): leave ERT inset left aligned
13322 (leftMargin): don't indent paragraphs inside ERT insets
13324 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13326 * paragraph.C (breakParagraph): dont call clear do the work manually
13328 * paragraph.[Ch] (clear): remove function
13330 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13332 * paragraph.C (Paragraph): dont call clear, the work has already
13335 * lyxtextclass.C (operator): assert if n is empty
13337 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13338 work manually instead.
13340 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13342 * BufferView_pimpl.C: protect selectionLost against text == 0
13344 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13346 * text.C (breakParagraph): fix a setting layout to '0' problem.
13348 2002-03-05 Jos�Ab�io Oliveira Matos <jamatos@novalis.fc.up.pt>
13350 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13351 final location of file, for the included files, and graphics.
13353 2002-03-05 Juergen Vigna <jug@sad.it>
13355 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13357 2002-03-04 Juergen Vigna <jug@sad.it>
13359 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13361 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13362 last column of multicolumn cells.
13363 (SetWidthOfMulticolCell): recalculate NMC and real columns.
13365 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
13367 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13368 file if it doesn't go to a temporary file.
13370 * buffer.C (sgmlOpenTag):
13371 (sgmlCloseTag): remove extra newline insertion.
13373 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13375 * text.C (getRowNearY): comment out debug msg
13377 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13379 * text2.C: first -> first_y
13381 * text.C (getRowNearY): add some attemts at a possible
13382 optimization, not working.
13384 * tabular.[Ch]: add BufferParams to several function so that newly
13385 created paragraph can be initialized to he default layotu for the
13388 * tabular-old.C (ReadOld): add buf->params to call of Init
13390 * screen.C: rename text->first to text->first_y
13392 * paragraph.C (breakParagraph): always set layout in the broken
13395 * lyxtextclass.C (Read): remove lowercase
13398 (delete_layout): ditto
13400 * lyxtext.h: rename first -> first_y
13402 * lyxlayout.C (Read): remove lowercase
13405 (obsoleted_by): ditto
13407 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13409 * buffer.C (insertErtContents): add params are to InsetERT
13410 (parseSingleLyXformat2Token): add code to check if a paragraphs
13411 layout really exist.
13412 (parseSingleLyXformat2Token): add params to several inset
13414 (asciiParagraph): remove lowercase, do the layout comparisons with
13417 * BufferView_pimpl.C (cursorNext): first -> first_y
13418 (resizeCurrentBuffer): first -> first_y
13419 (updateScrollbar): first -> first_y
13420 (scrollCB): first -> first_y
13421 (workAreaMotionNotify): first -> first_y
13422 (workAreaButtonPress): first -> first_y
13423 (checkInsetHit): first -> first_y
13424 (cursorPrevious): first -> first_y
13425 (cursorNext): first -> first_y
13426 (Dispatch): add buffer_->params to severl inset contructors
13428 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13430 * lyxlayout.C (Read): remove some debug info that I forgot.
13432 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13433 clean up the code slightly.
13434 (makeLinuxDocFile): ditto
13435 (makeDocBookFile): ditto
13437 * text2.C: layout as string
13439 * text.C: layout as string
13441 * paragraph_pimpl.C: layout as string
13443 * paragraph.[Ch]: layout as string
13445 * lyxtextclasslist.[Ch]: layout as string
13447 * lyxtextclass.[Ch]: layout as string
13449 * lyxtext.h: layout as string
13451 * lyxlayout.[Ch]: layout as string
13453 * lyx_cb.C: layout as string
13455 * bufferview_funcs.C: layout as string
13457 * bufferparams.C: layout as string
13459 * buffer.C: layout as string
13461 * LyXView.[Ch]: layout as string
13463 * LaTeXFeatures.[Ch]: layout as string
13465 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13467 * BufferView_pimpl.C: change current_layout to string, remove
13472 (workAreaButtonRelease): layout as string
13474 * BufferView2.C (unlockInset): adjust
13476 * vspace.C (asLatexCommand): use an explict temp variable.
13478 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13480 * Makefile.am: use FRONTEND_*
13482 2002-03-01 Juergen Vigna <jug@sad.it>
13484 * tabular.C (SetWidthOfMulticolCell): changed to something better
13485 I hope but still work in progress.
13486 (recalculateMulticolumnsOfColumn): renamed function from
13487 recalculateMulticolCells as it is more appropriate now.
13488 (SetWidthOfCell): calculate multicols better.
13490 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13492 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13494 * lyxfunc.C (processKeySym): print sequence also if it is
13495 `deleted' (complete)
13497 * kbsequence.C (print): print sequence even if it is deleted
13498 (complete would be a better word, actually).
13500 * lyxfunc.C (dispatch): print complete options after a prefix key
13502 * vspace.C (asLatexCommand): rewrite in a slightly different form.
13504 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
13506 * text2.C (setCharFont): eliminate setCharFont code duplication.
13508 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13510 * BufferView_pimpl.C (Dispatch): remove bogus handling of
13511 LFUN_TABULAR_FEATURE (bug #177)
13513 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
13515 * Makefile.am: remove figure.h
13517 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
13519 * Bufferview_pimpl.C:
13531 * text2.C: remove #include "lyx_gui_misc.h".
13533 * LaTeX.C: added #include <cstdio>
13535 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13537 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13538 that the paragraph following this one can have.
13540 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13542 * vspace.C (asLatexCommand): fix bogus gcc warning
13544 * Makefile.am (lyx_SOURCES): remove vms_defines.h
13546 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
13548 * text2.C (setLayout): get rid of redundant code
13550 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
13552 * text2.C (incDepth): make sure depth cannot be increased beyond
13555 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
13557 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13558 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13560 * PainterBase.h (image):
13561 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13562 a LyXImage const *.
13564 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13568 * BufferView_pimpl.C:
13569 * BufferView_pimpl.h:
13589 * sp_spell.C: remove fig inset, and the crap house of
13590 cards that follows it
13592 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13597 * os2_errortable.h:
13598 * nt_defines.h: move .h into support/
13600 * vms_defines.h: remove
13602 * WorkArea.C: add space in debug output
13606 * buffer.C: add WITH_WARNINGS
13610 * bufferlist.C: s/retrive/retrieve/, add docs
13619 * chset.C: add docs
13621 * lyxgui.C: add ID to X error handler
13623 * lyxtestclass.c: fix typo
13625 2002-02-26 Juergen Vigna <jug@sad.it>
13627 * tabular_funcs.C (write_attribute): changed so that some default
13628 attributes are not written at all.
13629 (getTokenValue): set default values before trying to read the
13630 value so we have the return value always set as default if we don't
13631 find the token we search for.
13633 * tabular.C (Write): write bools as bools not as strings!
13635 2002-02-22 Juergen Vigna <jug@sad.it>
13637 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13638 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13640 * text.C (leftMargin): don't add an indent for paragraphs inside
13641 tabular cells (fix #208).
13643 2002-02-21 José Matos <jamatos@fep.up.pt>
13645 * tabular.C (docBook): fixed support for long tables.
13647 2002-02-20 Juergen Vigna <jug@sad.it>
13649 * text2.C (getFont): get the drawing font of the Inset if this
13650 paragraph is inside an inset (only important for InsetERT for now).
13652 * buffer.C (insertErtContents): use new lanugage params in ERT
13655 * CutAndPaste.C: commenting out seemingly uneeded code.
13657 2002-02-19 Allan Rae <rae@lyx.org>
13659 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13660 Iterators might be simple to use but they also get invalidated.
13661 (removeAutoInsets): renamed saved cursor tracking variables and added
13662 some comments to clarify what everything does.
13664 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
13671 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13672 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13675 * vc-backend.h: remove #include "support/syscall.h"
13679 * converter.C: rearrange #includes in Lars' approved fashion.
13681 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13682 forward declare class Timeout in the header file.
13684 * XFormsView.C: changes due to the above.
13686 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13687 similar to LyXView.
13689 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13690 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13692 2002-02-18 José Matos <jamatos@fep.up.pt>
13694 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13697 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
13699 * a lot of small ws changes
13700 * add a lot of using std::XXX
13701 * use std construcs some places where approp.
13702 * use some exisint stuff from lyxfunctional where approp.
13703 * Make file changes to use partial linking (lets test this now...)
13705 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13709 remove #include "support/syscontr.h" as it's redundant. Always has been.
13717 change Systemcalls::System to Systemcalls::Wait and
13718 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13719 No change of functionality, just reflects the stripped down Systemcalls
13722 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13724 * debug.[Ch]: add a GRAPHICS type to the enum.
13726 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13728 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13730 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13733 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13735 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13736 match the changes below.
13738 * text2.C (toggleInset): if there is not editable inset at cursor
13739 position, try to see if cursor is _inside_ a collapsable inset
13742 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13744 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13745 document menu has a nice checkbox
13747 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13749 * lyxlength.C (asLatexString): change PW to output as percent of
13752 * lengthcommon.C: change '%' to 't%'
13754 * lyxfunc.C (dispatch): a few comments from Martin
13756 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
13760 * BufferView_pimpl.h:
13761 * BufferView_pimpl.C: clear our selection when X tells us we've lost
13764 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13766 * vspace.C (inPixels): fix compiler warning
13768 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13770 * lyxfunc.C (getStatus): fix status message for disabled commands.
13772 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
13774 * BufferView_pimpl.C: fix crash on close buffer
13775 during selection (#227)
13777 2002-01-27 Herbert Voss <voss@lyx.org>
13779 * buffer.C: link old Figure to new graphic inset
13781 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
13783 * FontLoader.C (getFontinfo): Change the latex font names in order
13784 to match the names of type1inst.
13786 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
13788 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13790 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13791 (extchanged): ditto
13793 (remove_files_with_extension): ditto
13794 (remove_file): ditto
13797 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13798 document is smaller than the work area height. Do not initialize
13799 static variables to 0.
13801 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13803 * lyx_gui.C (init): give the toolbar tooltips a normal font.
13805 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13806 LFUN_LAYOUT_PARAGRAPHS.
13808 * tabular.C (GetCellFromInset): new method. Finds an inset in a
13809 tabular. It is possible to provide a possible cell, which will
13810 typically be the actcell from the corresponding insettabular
13812 * lyxfunc.C (getStatus): small cleanup; disable
13813 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13816 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13818 * tabular.C (Validate): remove broken optimization (fixes bug #201)
13820 * paragraph.C (startTeXParParams):
13821 (endTeXParParams): new methods. The LaTeX code to
13822 start/end paragraph formatting
13823 (simpleTeXOnePar): call startTeXParParams also when paragraph is
13824 empty (fixes bug #200)
13826 * vspace.C (inPixels): adapt to the change below
13827 (inPixels): [later] more cleanups (remove unused variables)
13829 * lyxlength.C (inPixels): change to use a width and a height as
13832 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13834 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13835 Replaced with \paperwidth
13837 * DepTable.C (insert): add std:: qualifier
13839 2002-01-18 Allan Rae <rae@lyx.org>
13841 * text2.C (removeRow): add comment. Should other refresh_?? vars be
13844 * text.C (drawInset): Turned out I didn't know enough about how
13845 rebreaking worked. This fixes most of the redraw problems. I see
13846 an occasional cursor trail when a line is broken now and the cursor
13847 placement can seem out by a few pixels also after a rebreak.
13849 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13851 * buffer.C (parseSingleLyXformat2Token): update because minipage
13852 width is now a LyXLength
13854 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13856 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13859 2002-01-17 Juergen Vigna <jug@sad.it>
13861 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13863 * BufferView2.C (lockInset): call edit() so that theLockingInset()
13864 is set correctly and the inset is updated correctly.
13866 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13868 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13869 the beginning of the loop.
13871 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
13873 * lyxrc.C: improve help for use_scalable_fonts
13875 2002-01-17 Allan Rae <rae@lyx.org>
13877 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13879 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13881 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13882 make sure to set their inset_owner to the right value (bug #171)
13884 2001-12-12 Ben Stanley <bds02@uow.edu.au>
13887 * DepTable.C: Implement mtime checking to reduce time spent doing
13890 2002-01-16 Juergen Vigna <jug@sad.it>
13892 * tabular.C (GetAdditionalHeight): one of error fixed.
13894 * lyxrc.C (output): small fix in writing use_pspell.
13896 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
13898 * sp_base.h: #include LString.h
13900 2002-01-16 Allan Rae <rae@lyx.org>
13902 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
13903 Can someone check this please?
13905 * text.C (drawInset): It was possible that p.row would be removed by
13906 breakAgainOneRow upsetting a few other settings. There may be another
13907 small tweak possible by setting need_break_row = 0 when p.row has been
13908 removed but I don't know enough about the logic here.
13910 2002-01-15 Allan Rae <rae@lyx.org>
13912 * text.C (insertChar): removed conditional truism.
13914 * BufferView2.C (removeAutoInsets): More tweaks.
13915 cur_par_prev could be a stray pointer. Check for trailing empty line
13916 in case last line was cur_par and only had an error inset on it.
13918 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13920 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13923 * vc-backend.C (most methods):
13924 * exporter.C (Export):
13925 * converter.C (convert):
13927 * LyXSendto.C (SendtoApplyCB):
13928 * lyxfunc.C (dispatch):
13932 * lyx_cb.C (AutoSave):
13934 * BufferView_pimpl.C (MenuInsertLyXFile):
13935 * buffer.C (runChktex): use Buffer::filePath().
13937 * buffer.h: rename filename to filename_; rename filepath to
13938 filepath_ and make it private
13939 (filePath): new method
13941 * buffer.C (writeFile): use fileName()
13944 * lyx_main.C (init): fix starting of LyX when the binary is a
13945 link from so,ewhere else.
13947 * minibuffer.C: include <cctype> for isprint
13949 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13951 * buffer.C (parseSingleLyXformat2Token): changes associated with the
13952 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13953 name clash with InsetCollapsable's width function.
13955 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13957 * lastfiles.C: include <iterator>
13959 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13961 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13964 * buffer.C (makeLaTeXFile): ditto.
13965 Also make loop operation more transparent.
13967 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13969 * ToolbarDefaults.C: remove trailing comma closing namespace.
13971 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13973 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13976 * trans.C (Load): comment out unused variable, allowed.
13978 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
13980 * minibuffer.[Ch] (append_char): new method to recieve input from the
13981 drop-down completion browser. If a key was pressed, then recieve this
13982 char and append it to the existing string.
13983 (peek_event): modify the positioning data passed to the completion
13984 browser so that it can be placed above the minibuffer rather than below.
13985 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13987 * LyXAction.C (init): alloe error-next for readonly documents.
13989 * BufferView2.C (ChangeRefsIfUnique): use standard version of
13992 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13994 * bufferlist.C (readFile): create the buffer _after_ checking that
13997 * lyxfunc.C (verboseDispatch): fix handling of arguments
13999 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
14001 * lyxrc.C: use string::erase() instead of initializing to "".
14004 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14006 * BufferView_pimpl.h:
14007 * BufferView_pimpl.C:
14010 * text2.C: tell X when we have made a selection for copying
14012 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14014 * BufferView_pimpl.C (MenuInsertLyXFile):
14015 * lyxfunc.C (menuNew):
14017 (doImport): add shortcuts to directory buttons
14019 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
14022 * lyxfunc.C (setStatusMessage):
14023 (getStatusMessage): new methods
14024 (getStatus):use setStatusMessage instead of setErrorMessage
14025 (dispatch): when function is disabled, set error message here
14026 [instead of in getStatus previously]
14028 * BufferView_pimpl.C (workAreaButtonRelease): update
14029 toolbar/menubar here too.
14031 2002-01-13 Allan Rae <rae@lyx.org>
14033 * BufferView2.C (removeAutoInsets): finished off earlier fix.
14034 Now seems indestructible. Remaining task is to audit all other
14035 code affected by deleteEmptyParagraphMechanism. One small quirk
14036 left is that an empty document with an error in the preamble can
14037 be made to report an error but no error box appears. I don't know
14039 (removeAutoInsets): Improved comments.
14041 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
14044 * Thesaurus.C: update for Aiksaurus 0.14
14046 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
14048 * text2.C (firstParagraph): removed member function, all uses
14049 replaces with ownerParagraph
14050 (redoParagraphs): here
14051 (updateInset): here
14052 (toggleAppendix): here
14053 * BufferView2.C (insertErrors): here
14054 (setCursorFromRow): here
14056 2002-01-13 Allan Rae <rae@lyx.org>
14058 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
14059 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
14060 There is still a way to segfault this although you may have to do this
14061 multiple times: Have an InsetERT with an unknown command in it.
14062 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
14063 <down-arrow>, <Enter> again, View->DVI, BANG!
14065 * text2.C (setCursor):
14066 (deleteEmptyParagraphMechanism):
14067 * lyxtext.h (setCursor):
14068 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
14069 Making use of the return value may help fix other bugs.
14071 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14073 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
14075 * LyXView.C (updateMenubar): call MenuBar::update here
14076 (updateToolbar): but not here
14077 (showState): do not update toolbar/menubar
14079 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
14080 should need to care about that.
14082 * lyxfunc.C (verboseDispatch): simplify a bit
14083 (getStatus): have a version which takes a pseudoaction, and
14084 another which requires a (kb_action,string).
14086 * LyXAction.C (retrieveActionArg): make it work also when action
14087 is not a pseudo-action.
14088 (getActionName): simplify a bit
14091 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14093 * lyxfunc.C (verboseDispatch): new families of methods with
14094 several ways to specify a command and a bool to indicate whether
14095 the command name and shortcut should be displayed in minibuffer
14096 (eventually, we could extend that to a finer bitmask like
14097 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
14098 (dispatch): the pristine dispatch command which just, well,
14099 dispatchs! Note it still sets its result to minibuffer; I'm not
14102 * lyxfunc.h: remove setHintMessage
14104 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
14106 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14108 * BufferView_pimpl.C (specialChar): delete new inset if we have
14109 not been able to insert it.
14111 * kbmap.C: revert to using int instead of kb_action, since all we
14112 are dealing with is pseudo-actions.
14114 * LyXAction.C (searchActionArg): change to return int instead of
14115 kb_action, since the result is a pseudoaction.
14117 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
14119 * buffer.C (insertErtContents): Fix (partially) the font bug.
14121 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
14123 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
14124 as the other one is broken on my machine!
14126 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
14129 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
14131 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
14133 * lyxrc.[Ch]: change names and descriptions of popup font variables to
14134 reflect their actual use. Provide compatibility code for older lyxrc
14137 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
14139 change names of popup font variables in line with the changes to lyxrc.C
14141 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14143 * buffer.C (asciiParagraph): avoid outputing a word twice after
14146 * lyxrc.C (getDescription): document that document_path and
14147 template_path can be empty.
14149 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14151 * LaTeXFeatures.C (getMacros):
14152 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
14154 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
14156 * LaTeXFeatures.C (useFloat): require "float" here instead of in
14158 (getPackages): rename feature "floats" to "float". Use an array to
14159 iterate over 'simple' features (i.e. just a \usepackage). Add
14160 handling of "amsmath" (renamed from "amsstyle").
14162 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
14164 * LaTeXFeatures.C (require): Prevent duplicate entries in the
14167 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
14169 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
14170 FuncStaus::FuncStatus & FuncStaus::some_method().
14172 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
14174 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
14175 of the func_satus stuff. Edited and massaged in various ways by
14178 * lyxfunc.C (getStatus): use FuncStatus
14180 2002-01-08 Juergen Vigna <jug@sad.it>
14182 * text.C (nextBreakPoint): use function Inset::isChar().
14184 * paragraph.C (TeXOnePar): use function
14185 Inset::forceDefaultParagraphs.
14187 * buffer.C (latexParagraphs): use function
14188 Inset::forceDefaultParagraphs.
14190 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14192 * lyx_gui.C (init): set the style of the menu popups to
14193 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
14195 2002-01-07 Juergen Vigna <jug@sad.it>
14197 * text.C (setHeightOfRow): small fix
14198 (prepareToPrint): don't look at alignment if we don't have the place
14201 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14203 * box.C: New file. Move the Box methods and functions out of box.h,
14204 following Lars' suggestion.
14206 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14208 * box.h: #include "support/LOstream.h", needed for inlined function.
14211 * lyxtextclasslist.C: added some using std declarations.
14213 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
14215 * box.h: make signed dimensions to allow insets wider than
14216 the screen (bug #162)
14218 * BufferView_pimpl.C: add some insetHit debug
14220 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
14222 * vc-backend.C: add FIXME
14224 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14226 * lyxfunc.C (getStatus): enable code for showing math font status
14229 2002-01-07 Juergen Vigna <jug@sad.it>
14231 * text.C (nextBreakPoint): removed debug output not needed anymore.
14233 2002-01-06 Juergen Vigna <jug@sad.it>
14235 * text.C (nextBreakPoint): fixed up this function we had this bug
14236 since ever but now hopefully we break row better.
14237 (insertChar): we have to check if an inset is the next char as it
14238 could now happen that a large inset is causing a break.
14240 2002-01-05 Juergen Vigna <jug@sad.it>
14242 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
14243 if it doesn't like to be drawed.
14245 2002-01-04 Juergen Vigna <jug@sad.it>
14247 * BufferView2.C (lockInset): forgot to set a cursor.
14249 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
14251 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
14253 * FormMathsPanel.C:
14256 * form_maths_panel.C:
14257 * form_maths_panel.h:
14258 * form_maths_panel.fd: implemented sub- and super- buttons in math
14261 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
14262 (or ^ space) to be used as in TeX (req'd by Andr�.
14264 * lyxfunc.C: Allow ^ and _ again to be used both as
14265 super/subscript (mathed) and as themselves (in text).
14267 2002-01-03 Allan Rae <rae@lyx.org>
14269 * LyXView.C (updateWindowTitle): Setup a short icon title of either
14270 "LyX" or the filename of the current buffer if it has one. This is a
14271 modified form of John Levon's patch.
14273 * XFormsView.C (setWindowTitle): also set icon title.
14275 * LyXView.h (setWindowTitle): signature changed.
14276 * XFormsView.h (setWindowTitle): ditto.
14278 2002-01-02 Juergen Vigna <jug@sad.it>
14280 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14282 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
14284 * screen.C (topCursorVisible): introduce a temp var for
14285 text->cursor.row(), handle the case where this row is null. (kindo
14288 * text2.C (setCursor): add a couple of asserts.
14290 * paragraph.h (inset_iterator): add -> operator
14292 * paragraph.[Ch] (autoDeleteInsets): remove member function
14294 * BufferView2.C (removeAutoInsets): rewrite to handle the old
14295 cursor pos correctly and handle inset deletion by itself.
14296 (insertErrors): move iterator declaration out of for expression
14298 * lyxtextclass.C: add <algorithm>
14300 * Makefile.am: added the new files to sources, removed layout.C
14302 * layout.C: removed file
14304 * layout.h: remove LYX_DUMMY_LAYOUT
14306 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14310 * lyxtextclass.[Ch]:
14311 * lyxtextclasslist.[Ch]: new files
14313 * include order changes to a lot of files, also changes because of
14316 2001-12-27 Juergen Vigna <jug@sad.it>
14318 * buffer.C (asciiParagraph): more fixes.
14320 * tabular.C (ascii): make ascii export support export of only the
14321 data separated by a column-delimiter.
14322 (ascii): better support for ascii export.
14324 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14326 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14328 * tabular_funcs.C: use a "using std::getline" instead of the
14329 previous fix from Angus (necessary for cxx + lyxstring)
14331 2001-12-24 Juergen Vigna <jug@sad.it>
14333 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14335 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14336 problems. First check a minipage also if we have some ert-contents
14337 (not only on par->size(), second set the right depth of the paragraph
14338 on the relink to the root-paragraph-list!
14340 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14341 which then did not anymore update the main paragraphs on undo/redo!
14343 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14345 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14346 code. Support all font-changing funcs (even those which are not in
14347 menu currently). Support for reporting font settings in
14348 mathed (disabled until Andre provides a function on mathed's side).
14350 * func_status.h (toggle): small helper function to set toggle
14353 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
14355 * tabular_funcs.C: getline -> std::getline
14357 2001-12-21 Juergen Vigna <jug@sad.it>
14359 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14360 accessed and could be 0 (I couldn't generate this but it seems
14363 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
14365 * tabular_funcs.C: add LIstream.h, move write_attribute to..
14366 * tabular_funcs.h: here and include iosfwd
14368 2001-12-20 Juergen Vigna <jug@sad.it>
14370 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14371 inside inset but undo_par was.
14373 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14375 * Thesaurus.C: always include <config.h> in sources.
14379 * box.h: do not include <config.h> in header files
14381 * text.C (paintLastRow): remove unused variable
14383 * text.C (transformChar):
14385 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14387 * Painter.C (text):
14388 * font.C (width): rewrite to use uppercase() instead of
14391 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14393 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
14395 * lyxfind.C: clean up of find failure position change
14397 2001-12-20 Juergen Vigna <jug@sad.it>
14399 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14401 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14402 (TeXRow): added to LaTeX a single tabular row.
14403 (TeXLongtableHeaderFooter): added to output LT-h/f data.
14404 (Latex): simplified and finally good LT-h/f support.
14405 (various_functions): just small adaptions for LT-h/f support.
14407 * tabular_funcs.[hC]: added and moved here all not classfunctions
14410 2001-12-19 Juergen Vigna <jug@sad.it>
14412 * tabular.[Ch]: better support for longtabular options (not finished
14415 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14417 * text.C (paintLastRow): use the label font instead of the font of
14418 the last character to compute the size of *_BOX. This makes more
14419 sense and avoids a crash with empty paragraphs.
14420 Use Painter::rectangle to draw EMPTY_BOX.
14422 2001-12-19 Juergen Vigna <jug@sad.it>
14424 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14425 the paragraphs if the replaced paragraph is not the first one!
14426 Tried to delete not used paragraphs but does not work yet so for
14427 now it's inside #ifdef's and by default off!
14429 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14431 * MenuBackend.C: include "lyx_main.h" instead of declaring
14432 lastfiles (actually was declared as LastFiles* instead of a
14435 2001-12-17 Juergen Vigna <jug@sad.it>
14437 * tabular.C (AppendColumn): applied John's fix
14439 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
14443 * BufferView_pimpl.h:
14444 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14447 * box.h: new start of class for above
14449 * lyxfunc.C: ignore space-only minibuffer dispatches.
14450 Show the command name when it doesn't exist
14452 * minibuffer.C: don't add empty lines to the history
14454 * minibuffer.C: add a space on dropdown completion
14456 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
14458 * text.C: fix line above/below drawing in insets
14460 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14462 * lyxlength.C (LyXLength): Initialize private variables.
14464 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
14466 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14467 when inserting error insets.
14469 2001-12-13 Juergen Vigna <jug@sad.it>
14471 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14472 actually sometimes the before-paragraph.
14473 (setUndo): don't clear the redostack if we're not actually undoing!
14475 2001-12-06 Juergen Vigna <jug@sad.it>
14477 * undo_funcs.C (textHandleUndo): well after John's hint I got here
14478 and fixed redoing of main paragraph, so we can use it now ;)
14480 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14482 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14484 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14487 2001-12-13 André Pönitz <poenitz@gmx.net>
14490 * undo_func.C: minor cleanup
14492 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14494 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14495 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14496 font in urw-fonts package which is marked as -urw-fontspecific and
14497 does not work (incidentally, changing the encoding in the
14498 fonts.dir of this package to -adobe-fontspecific fixes the
14501 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14502 is a crash when undoing first paragraph (Juergen, please take a
14503 look). THis does not mean the undo fix is wrong, just that it
14506 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14507 the (Paragraph*) version when needed instead of duplicating the
14510 * text.C (workWidth): use Inset::parOwner to find out where the
14511 inset has been inserted. This is a huge performance gain for large
14512 documents with lots of insets. If Inset::parOwner is not set, fall
14513 back on the brute force method
14515 * paragraph_pimpl.C (insertInset):
14516 * paragraph.C (Paragraph):
14517 (cutIntoMinibuffer): set parOwner of insets when
14518 inserting/removing them
14520 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14522 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
14528 * mathed/formulabase.C:
14529 * mathed/math_cursor.[Ch]:
14530 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14533 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14535 * lyxlength.[Ch] (operator!=): new function
14537 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14539 * text.C (workWidth): use Inset::parOwner to find out where the
14540 inset has been inserted. This is a huge performance gain for large
14541 documents with lots of insets. If Inset::parOwner is not set, fall
14542 back on the brute force method
14544 * paragraph_pimpl.C (insertInset):
14545 * paragraph.C (Paragraph):
14546 (cutIntoMinibuffer): set parOwner of insets when
14547 inserting/removing them
14549 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14551 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14553 * tabular-old.C (getTokenValue):
14554 * tabular.C (getTokenValue):
14555 (write_attribute): new versions for LyXLength
14556 (everywhere): adjust the use of widths
14558 * tabular.h: change the type of widths from string to LyXLength
14560 2001-12-11 Ben Stanley <bds02@uow.edu.au>
14562 * paragraph.C: fixed missing line number count when exporting
14563 Environments to LaTeX file
14565 * buffer.C: added informational message for checking line numbers.
14567 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14569 * text2.C (deleteEmptyParagraphMechanism): if there is only one
14570 paragraph, do the 'double space' part, but not the 'empty
14573 * text.C (workWidth): small optimization
14574 (getLengthMarkerHeight): use minimal size for negative lengths.
14576 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
14578 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14580 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14582 2001-12-11 André Pönitz <poenitz@gmx.net>
14585 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14587 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14589 * text2.C: keep selection on a setFont()
14591 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14593 * lyx_cb.C: another bv->text misuse, from insert label
14595 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14598 * kbsequence.C: re-instate nmodifier mask
14600 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
14602 * lyx_main.h: make lyxGUI private.
14604 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14606 * lyxfind.C: place the cursor correctly on failed search
14608 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14610 * text.C (getLengthMarkerHeight): for small heights, the arrows
14611 are not always on top/bottom of the text
14612 (drawLengthMarker): smaller arrows; take the left margin in
14613 account; draw also vfills.
14615 (paintLastRow): remove special code for vfill and standard spaces,
14616 since everything is handled in drawLengthMarker now.
14618 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14620 * buffer.C (insertErtContents): try to handle font and language
14621 interaction a bit better.g
14623 * ColorHandler.C (updateColor): change the hash to cover the whole
14624 LColor enum, ws cleanup
14625 (getGCLinepars): ditto
14626 (getGCLinepars): only lookup in the linecache once.
14628 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
14630 * iterators.C (operator++): Make the iterator more robust
14632 * BufferView2.C (removeAutoInsets): Use paragraph iterators
14634 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14636 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14639 * text.C: better added space drawing
14641 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14644 * BufferView2.C: fix layout combo update on inset unlock
14646 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14648 * Makefile.am: don't compile unused files
14650 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14654 * LyXAction.C: remove old LFUN_LAYOUTNO
14656 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14658 * paragraph_pimpl.h:
14659 * paragraph_pimpl.C: isTextAt() doesn't need font param
14661 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14664 * lyxlex.C: little cleanup
14666 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14668 * BufferView_pimpl.C: fix insertAscii for insets
14670 2001-12-05 Juergen Vigna <jug@sad.it>
14672 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14673 set the right font on the "multi" paragraph paste!
14675 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14681 * lyxlength.C: remove out-commented code.
14683 * BufferView_pimpl:
14697 * vc-backend.C: change "while(" to "while ("
14699 * lyxlength.[Ch]: add zero function to check if length is zero or
14701 * lyxgluelength.C: use it
14703 2001-12-05 Allan Rae <rae@lyx.org>
14705 * lyxlength.C: Attempted a fix for the abs(int) header selection.
14706 Works for 2.95.3, from what I understand of Garst's reports this should
14707 work for other g++ versions. We're screwed if the abs(int) definition
14708 changed between bugfix releases of gcc.
14710 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14712 * text.C: fix chapter label offset !
14714 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14717 * text.C: fix hfill at end of line, clean up
14719 2001-12-04 Juergen Vigna <jug@sad.it>
14721 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14722 that we force an update of the inset and it's owners if neccessary.
14724 2001-12-03 Juergen Vigna <jug@sad.it>
14726 * text.C (rowLast): simplified code
14728 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14730 * lyxfunc.C: fix show options on timeout
14732 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14734 * screen.C (topCursorVisible): scroll half a page when the cursor
14735 reached top of bottom of screen
14737 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
14739 * minibuffer.C: deactivate on loss of focus
14741 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14743 * vspace.[Ch] (operator!=): add operator.
14745 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
14747 * BufferView_pimpl.C: refuse to open an inset when
14748 there's a selection.
14750 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
14752 * BufferView_pimpl.C: allow to click on RHS of full row insets
14754 2001-11-30 Juergen Vigna <jug@sad.it>
14756 * tabular.C (LyXTabular): add a same_id to set the same id's in the
14757 insets for undo reasons.
14759 2001-11-28 André Pönitz <poenitz@gmx.net>
14761 * vspace.[Ch]: cosmetical changes
14763 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14773 * kbsequence.C: part re-write of old kb code
14776 * WorkArea.C: remove Lgb_bug_find_hack
14778 2001-11-30 José Matos <jamatos@fep.up.pt>
14780 * buffer.C (makeDocBookFile): add a comment to point a hack.
14781 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14782 Fixed a double write of labels.
14784 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14787 * LaTeX.h Fixed bug in LaTeX class where it would not
14788 re-run latex if no depfiles were changed, but the .dvi was removed.
14790 2001-11-28 André Pönitz <poenitz@gmx.net>
14792 * all the files from the change on 2001/11/26:
14793 use lyx::layout_type instead of LyXTextClass::size_type
14794 use lyx::textclass_type instead of LyXTextClassList::size_type
14796 2001-11-29 Juergen Vigna <jug@sad.it>
14798 * text.C: added support for paragraph::isFreeSpacing()
14800 * buffer.C: same as above
14802 * paragraph.h: inserted isFreeSpacing() function to enable
14803 FreeSpacing inside InsetERT.
14805 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14806 of the paragraph's in the cut/copy buffer to 0!
14808 * text2.C (removeRow): remove the assert as it can!
14810 * lyxtext.h: added helper function firstRow returning firstrow and
14811 made firstrow private again.
14813 * BufferView2.C (lockInset): don't relock if we're already locked!
14815 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14816 the only paragraph.
14817 (removeRow): added Assert::(firstrow)
14819 * debug.C: forgot to add INSETTEXT here.
14821 2001-11-28 Juergen Vigna <jug@sad.it>
14823 * sp_spell.C (initialize): changed error text to more general
14824 spellchecker command use (not only ispell!)
14826 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14828 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14830 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14832 * vspace.C: initialise lyxgluelength on failure
14834 2001-11-28 Allan Rae <rae@lyx.org>
14836 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14837 declaration & definition that looks like a function declaration.
14839 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14841 * BufferView2.C (copy):
14842 (copyEnvironment): do not clear the selection when doing a copy.
14844 * text.C (paintFirstRow): compilation fix
14846 2001-11-27 Ben Stanley <bds02@uow.edu.au>
14848 * tabular.C (Latex): correct line count when writing latex.
14850 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
14852 * paragraph_pimpl.h:
14853 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14856 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14860 * LColor.C: change vfillline->added_space
14862 * text.C: add markers and text for added space
14864 * vspace.C: fix comment
14866 2001-11-28 André Pönitz <poenitz@gmx.net>
14868 * paragraph.C: whitespace changes
14869 * all the other files from the change on 2001/11/26:
14870 change *::pos_type into lyx::pos_type
14872 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
14874 * buffer.C (parseSingleLyXformat2Token): Set the language to the
14875 language of the document when inserting error insets.
14877 2001-11-26 André Pönitz <poenitz@gmx.net>
14879 * BufferView_pimpl.[Ch]:
14887 * paragraph_pimpl.[Ch]:
14890 * text2.C: reduce header dependencies, introduce type for positions
14892 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14894 * <various>: change to use Alert.h
14896 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
14898 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14899 when encountering an unknown token.
14900 (readLyXformat2): Show an error message if there were unknown tokens.
14902 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
14905 * BufferView_pimpl.C:
14909 * text2.C: use par->isInset()
14911 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14913 * paragraph_pimpl.h:
14914 * paragraph_pimpl.C: cleanup
14916 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14918 * text2.C (removeRow):
14919 * text.C (setHeightOfRow): remove useless (and costly) call to
14922 2001-11-20 Allan Rae <rae@lyx.org>
14924 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14925 Now need Inset*::checkInsertChar() to return true for appropriate
14926 cases so that the characters in the minibuffer will actually be
14929 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14931 * text.C: change the order of the includes.
14932 (workWidth): initialize it at once.
14933 (workWidth): make maxw unsigned
14934 (setHeightOfRow): remove unused variable (inset)
14935 (selectSelectedWord): remove unused variable (inset)
14936 (paintRowText): fix drawing of hfill characters, and clean up a bit.
14938 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14940 * lyxserver.C (emergencyCleanup): do not try to close pipes if
14941 server is not running.
14943 (closeConnection): add debug info when server is disabled.
14945 * ColorHandler.C (getGCForeground): send debug message to GUI
14948 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14950 * kbmap.C (bind): modify because return conventions of
14951 kb_sequence::parse have changed.
14953 * kbsequence.C (parse): only ignore spaces and not any stupid
14954 control character. This avoids tests like s[i] <= ' ', which are
14955 guaranteed to fail with 8bit characters and signed chars.
14956 Change return code to string::npos when there have been no error
14957 (0 was a bad idea when error is at first character)
14959 2001-11-14 José Matos <jamatos@fep.up.pt>
14962 * buffer.C (simpleDocBookOnePar): removed unused argument.
14964 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14966 * text.C (selectNextWordToSpellcheck): do not test explicitely for
14967 insets which are part of a word. Paragraph::isLetter takes care of
14968 that now. Use Paragraph::isInset to identify insets.
14969 (selectSelectedWord): do not test for hyphenation break.
14971 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14972 that protected spaces are considered as spaces.
14974 * paragraph.C (isLetter): cleanup the code for ispell extras; use
14977 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
14980 * lyxserver.C: fix it. and small cleanup.
14982 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
14984 * BufferView_pimpl.C: use inline helpers
14987 * LaTeXFeatures.C: fix typos
14990 * Spacing.C: move spacing_string into class
14992 * ToolbarDefaults.C: move stuff into namespace anon
14994 * layout.h: update enum
14996 * lyxfunc.C: use better debug
14998 * minibuffer.h: fix typo
15002 * WorkArea.C: add and use Debug::WORKAREA
15006 * text2.C: code re-organisation, inline helpers
15008 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
15010 * Layout.C: replaced a few cases of std::vector.size() == 0 with
15011 std::vector.empty().
15013 2001-11-09 Allan Rae <rae@lyx.org>
15015 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
15016 '\n's after tables. Tabular and ERT inset work now makes this no
15019 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
15022 * minibuffer.C: fix crash, improve drop-down completion
15024 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
15027 * lyxserver.C: invalidate fd's when doing endPipe()
15029 2001-11-08 José Matos <jamatos@fep.up.pt>
15031 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
15032 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
15035 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
15037 2001-11-07 José Matos <jamatos@fep.up.pt>
15040 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
15043 * buffer.C (sgmlOpenTag):
15044 * buffer.C (sgmlCloseTag): removed debug info.
15046 * buffer.h (sgmlOpenTag):
15047 * buffer.h (sgmlCloseTag): made public.
15049 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15051 * buffer.C (saveParamsAsDefaults):
15052 * lyx_cb.C (MenuLayoutSave): remove
15054 * LyXAction.C (init):
15056 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
15058 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15060 * buffer.C (setPaperStuff): removed from here...
15062 * bufferparams.C (setPaperStuff): ... and moved there.
15064 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
15068 * XFormsView.C: add support for drop-down completion
15070 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
15072 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
15075 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15077 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
15080 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
15082 * lyx_main.C: change ref to known bugs
15084 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
15086 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
15087 to work around older babel problems.
15089 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
15091 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
15093 2001-10-24 Juergen Vigna <jug@sad.it>
15095 * tabular-old.C (ReadOld): below variable changes reflected.
15097 * tabular.[Ch]: added ltType struct for longtable header/footer
15098 defines and changed all instances where they are used. Added
15099 future support for double top/bottom rows.
15101 2001-10-24 José Matos <jamatos@fep.up.pt>
15103 * buffer.h (docbookHandleCaption):
15104 * buffer.C (docbookHandleCaption): removed unused function.
15105 (makeDocBookFile): moved docbook supported version to v4.1.
15107 2001-10-24 José Matos <jamatos@fep.up.pt>
15110 * tabular.C (docbookRow): new function to export docbook code of a row.
15111 (DocBook): now honors the longtable flags.
15113 2001-10-23 José Matos <jamatos@fep.up.pt>
15116 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
15117 of the lyx defined sgml entities used in a docbook/linuxdoc document.
15119 * buffer.C (makeLinuxDocFile):
15120 (makeDocBookFile): reworked the preamble, more clean, and with
15121 support for lyx defined entities. Changed the document declaration
15122 to be more XML friendly.
15124 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
15125 if we need to output XML that should be done with a filter.
15127 2001-10-22 Juergen Vigna <jug@sad.it>
15129 * sp_pspell.h (class PSpell): add alive function needed in the
15130 controller to see if the spellchecker could be started.
15132 2001-10-22 Juergen Vigna <jug@sad.it>
15134 * buffer.C (insertStringAsLines): modify the font for inserting
15135 chars in certain conditions by calling checkInsertChar(font).
15137 2001-10-19 Juergen Vigna <jug@sad.it>
15139 * text.C (workWidth): use getRow instead of wrong algorithm.
15140 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
15142 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
15147 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
15149 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15151 * text.C (workWidth): do not search for the exact row when
15152 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
15153 optimization for big documents.
15155 2001-10-18 Juergen Vigna <jug@sad.it>
15157 * text.C (workWidth): new function with added Inset * parameter.
15159 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15161 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
15163 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
15164 change return type of getColumnNearX.
15167 * text.C (changeRegionCase): use uppercase/lowercase instead of
15170 (rightMargin): simplify code by factoring out the uses of
15175 (appendParagraph): use Paragraph::size_type
15177 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15179 * vspace.C (asLatexString): add a missing break
15181 2001-10-15 Herbert Voss <voss@perce.de>
15183 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
15185 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15187 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
15190 2001-10-10 André Pönitz <poenitz@gmx.net>
15192 * lyxfunc.C: removed greek_kb_flag.
15194 2001-10-10 Herbert Voss <voss@perce.de>
15196 * lyx_main.C: delete global string help_lyxdir.
15198 2001-10-09 Herbert Voss <voss@perce.de>
15200 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
15202 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
15204 * lyx_main.C: added global string help_lyxdir.
15206 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
15208 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
15210 * lyxrc.C (set_font_norm_type): support iso8859-4
15212 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
15214 * LaTeX.C (deplog): add another regex for MikTeX
15216 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
15218 * lyxrc.C (set_font_norm_type): support iso8859-3
15220 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15222 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
15224 * LaTeXFeatures.C: remove special case of french and index
15226 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
15227 before \begin{document}). This solves several incompatibilities.
15229 2001-10-03 Garst Reese <reese@isn.net>
15231 * lyx_cb.C: change CheckTex error msg.
15233 2001-10-03 José Matos <jamatos@fep.up.pt>
15235 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
15237 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15239 * .cvsignore: update
15241 * lyx_main.C (commandLineVersionInfo): use new style version info.
15243 * buffer.C (writeFile):
15245 (makeLinuxDocFile):
15246 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
15248 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
15250 * version.h: update to use stuff in version.C
15252 * version.C.in: new file. Contains version information determined
15253 at compile time. This is a merging of version.h and
15256 2001-10-03 Juergen Vigna <jug@sad.it>
15258 * BufferView_pimpl.C (update): don't change "dirty" status in
15261 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
15263 * WorkArea.C (c-tor): re-position version string slightly.
15265 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
15267 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15268 revert to previous code.
15270 WorkArea.[Ch]: (show, destroySplash): methods removed.
15272 WorkArea.C: rework code so that it's an amalgam of the codes before and
15273 after the splash screen was moved to WorkArea.
15275 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15278 * vspace.C (inPixels):
15281 * buffer.C (insertStringAsLines):
15282 (asciiParagraph): fix types to be large enough
15284 * lyxlex_pimpl.h: change member status from short to int
15286 * layout.h: fix type of endlabeltype
15289 * kbsequence.C (parse): change return type to string::size_type
15291 * LaTeX.C (updateBibtexDependencies): comment out unneeded
15294 * Bullet.C (bulletSize):
15295 (bulletEntry): do not use short ints as parameters
15297 * BufferView2.C (insertLyXFile): change a char to an int.
15299 * WorkArea.C (WorkArea): remove unneeded floats in computation
15301 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
15303 * buffer.C (asciiParagraph): Treat '\\' as other chars.
15305 * paragraph.C (asString): Do not ignore newline/hfill chars when
15306 copying to the clipboard.
15308 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
15310 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15311 after a multi-line inset.
15313 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
15315 * paragraph.C (validate): Set NeedLyXFootnoteCode
15317 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
15319 * lyxfont.C (LyXSizeNames): changed increase-error to increase
15320 and decrease-error to decrease.
15322 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15324 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15325 it more readable (should be equivalent)
15327 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
15329 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15331 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15333 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15334 of a cursor (row, etc.) after a character has been deleted
15335 (deleteEmptyParagraphMechanism): call the method above on _all_
15336 cursors held by the LyXText when a double space has been
15339 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
15341 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15343 (resizeCurrentBuff): remove code to destroy the old splash dialog.
15345 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15346 background. Use greyOut() and the new show() methods to toggle between
15347 the foreground and background. Add code to remove the splash after
15348 its initial showing.
15350 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15351 (create_forms): no longer call Dialogs::showSplash.
15353 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15355 * .cvsignore: add version_info.h
15357 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15359 * version_info.h.in: new file
15361 * Makefile.am: add version_info.h.in
15363 * lyx_main.C (commandLineVersionInfo): use version_info defined in
15364 version_info.h instead of VERSION_INFO
15366 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
15368 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15369 The ERT inset now returns string().
15371 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
15373 * lyxtext.h, text.C (selectNextWord): renamed as
15374 selectNextWordToSpellcheck.
15376 * text.C (selectNextWordToSpellcheck): Modified to not select
15377 words inside an ERT inset.
15379 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15381 * lyx_cb.C (MenuLayoutSave): change a bit the question
15383 * sp_base.h: include <sys/types.h>
15385 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
15387 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15389 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
15391 * several files: fix typos in user-visible strings
15393 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15395 * text2.C (pasteSelection): do not set the selection, since it
15396 will be cleared later. Actually, the intent was to fix the way the
15397 selection was set, but I figured rmoving the code was just as good.
15399 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
15401 * FontLoader.C (available): Check if font is available without
15404 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
15406 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15408 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
15410 * lyxrc.[Ch]: added display_graphics variable and associated code.
15412 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15414 * bufferparams.C (hasClassDefaults): new method. Returns true if
15415 the buffer parameters correspond to known class defaults
15417 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
15419 * XFormsView.C (show): set minimum size to the main window.
15421 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15423 * text2.C (copySelection):
15425 * lyxfind.C (LyXReplace):
15426 * BufferView_pimpl.C (Dispatch): pass the correct flag to
15427 LyXText::selectionAsString.
15429 * paragraph.C (asString): add "label" argument to the second form
15431 * text2.C (selectionAsString): add "label" argument and pass it to
15432 Paragraph::asString.
15434 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15436 * lyx_main.C (commandLineHelp): remove version information
15438 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
15440 * lyx_main.C: add -version commandline option
15442 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15444 * paragraph.h: make the optional constructor arg required instead.
15445 some modifications to other files because of this.
15447 * minibuffer.C (C_MiniBuffer_peek_event): make it static
15449 * lyxserver.C (C_LyXComm_callback): make it static
15451 * lyx_main.C (error_handler): make it static
15453 * lyx_gui.C (LyX_XErrHandler): make it static
15455 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15457 * WorkArea.C: make the extern "C" methods static.
15459 * Makefile.am (lyx_LDADD): simplify
15461 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15463 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15464 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15466 * LyXAction.C (init):
15467 * lyxfunc.C (dispatch): associated code removal.
15469 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15471 * lyxfont.h (isSymbolFont): shut off warning
15473 * text.C (setHeightOfRow):
15474 (getVisibleRow): fix crash with empty paragraphs which have a
15477 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
15479 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15482 2001-09-04 José Matos <jamatos@fep.up.pt>
15485 * tabular.C (docbook): rename docBook method to docbook.
15487 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15489 * Makefile.am: add dependencies to main.o.
15491 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
15493 * FontLoader.C (available): Return false if !lyxrc.use_gui
15495 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
15497 * FontInfo.C (query):
15498 * converter.C (view):
15499 * importer.C (Import):
15500 * exporter.C (Export): Can not -> cannot.
15502 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
15504 * BufferView_pimpl.C: allow to create index inset even if
15507 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15509 * buffer.C (getLists): replace boost::tie code with an explicit pair
15510 as boost::tie can break some compilers.
15512 * iterators.h: Added a std:: declaration to the return type of
15515 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
15517 * lyxrc.C: add help for view_dvi_paper_option, default to safe
15520 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
15522 * iterators.[Ch]: New files. Provide paragraph iterators.
15524 * buffer.C (changeLanguage): Use paragraph iterators.
15525 (isMultiLingual): ditto
15527 * BufferView2.C (ChangeInsets): Use paragraph iterators.
15529 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
15531 * FontLoader.C: Support for cmr font.
15533 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
15535 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15536 (available): New method.
15538 * FontInfo.C (getFontname): Use scalable fonts even when
15539 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15542 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15544 * converter.C (Formats::view): reverted! Incorrect fix.
15546 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15548 * converter.C (Formats::view): only output the -paper option
15549 if the dvi viewer is xdvi, thereby fixing bug #233429.
15551 2001-08-23 Herbert Voss <voss@perce>
15553 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15555 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
15557 * Spacing.h (Spacing): Set space to Default on in the default
15560 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
15562 * vc-backend.h (RCS::versionString): add RCS to version
15563 (CVS::versionString): add CVS to version
15565 * vc-backend.C (scanMaster): do not add CVS to version.
15566 (scanMaster): do not add RCS to version
15568 * lyxvc.C (versionString): new method
15570 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15572 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15574 * Spacing.C (set): initialize fval
15576 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
15578 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15581 2001-08-16 Juergen Vigna <jug@sad.it>
15583 * lyxfunc.C (dispatch): implemented the new FINISHED states.
15585 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15587 * BufferView_pimpl.C:
15590 * text2.C: setParagraph takes linespacing now
15592 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
15594 * LyxAction.C: add internal LFUN_CITATION_INSERT
15596 * LyXView.C: actually apply fix
15598 * bufferlist.C: fix open non-existent file
15600 * lyxfind.C: fix indentation
15602 * lyxfunc.C: remove unneeded assert, fix typo
15604 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15606 * MenuBackend.C: use "Floatname List"
15608 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
15610 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15611 when converting LaTeX layout to insetERT.
15612 Generate a non-collapsed float when reading old float
15614 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15616 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15619 2001-08-13 Juergen Vigna <jug@sad.it>
15621 * text.C (fill): return 0 instead of 20 as this seems to be the more
15624 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15626 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15629 2001-08-13 Juergen Vigna <jug@sad.it>
15631 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15633 (SearchBackward): comment out the unlocking of the inset_owner this
15634 should not be needed!
15636 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
15638 * Many files: Remove inherit_language, and add latex_language
15640 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15641 collapsible insets.
15643 2001-08-10 Juergen Vigna <jug@sad.it>
15645 * text.C (prepareToPrint): fixed hfill-width in draw!
15647 * BufferView2.C (selectLastWord): save the selection cursor as this
15648 now is cleared in the function LyXText::clearSelection!
15650 2001-08-08 Juergen Vigna <jug@sad.it>
15652 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15653 BACKSPACE type functions.
15655 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15656 is only cutted from the document but not put in the cut-buffer, where
15657 still the old stuff should be.
15659 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15661 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15663 * tabular.C (SetWidthOfCell): fixed special case where the width
15665 (LeftLine): handle '|' in align_special.
15667 (LeftAlreadyDrawed): ditto
15668 (SetWidthOfCell): ditto
15670 2001-08-07 Juergen Vigna <jug@sad.it>
15672 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15674 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15676 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15677 * lyxlex.[hC]: ditto
15679 2001-08-06 Juergen Vigna <jug@sad.it>
15681 * text.C (getVisibleRow): fix up row clearing a bit.
15683 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15685 * minibuffer.C: make sure the X server sees the changes in the input.
15687 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15689 * paragraph.C (getFont): split into...
15690 (getLabelFont): this
15691 (getLayoutFont): and this
15692 * paragraph_pimpl.C (realizeFont): calling this
15694 * text2.C (getFont): split into...
15695 (getLayoutFont): this
15696 (getLabelFont): and this
15697 (realizeFont): all three calling this
15699 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15702 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15704 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15706 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
15708 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15709 layouts from the Quote inset insertion.
15711 2001-08-03 Juergen Vigna <jug@sad.it>
15713 * BufferView_pimpl.C (update): do the fitCursor only at the end!
15715 * screen.C (drawFromTo): don't call fitcursor here and do the loop
15716 only if status not is already CHANGED_IN_DRAW (second level).
15718 * text.C (draw): don't set the need_break_row when inside an
15721 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
15723 * buffer.C (parseSingleLyXformat2Token): handle more latex
15726 * bufferview_funcs.[hC]: change function names to
15727 begin with small char, adjust other files.
15729 2001-08-02 André Pönitz <poenitz@gmx.net>
15732 BufferView_pimpl.C: remove broken special code for math-greek
15734 2001-08-02 Juergen Vigna <jug@sad.it>
15736 * BufferView_pimpl.C (update): redone this function so that we
15737 update the text again if there was a CHANGE_IN_DRAW.
15739 * screen.C (cursorToggle): removed LyXText parameter and recoded.
15740 (drawFromTo): added a new internal bool which is used by draw() and
15742 (general): some cursor drawing problems fixed.
15744 2001-08-01 Juergen Vigna <jug@sad.it>
15746 * lyxfind.C (LyXFind): fixed
15747 (SearchForward): ditto
15748 (SearchBackward): ditto
15750 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15751 spurius drawing of the cursor in the main area.
15753 * text2.C (status): small fix which could lead to a segfault!
15754 (clearSelection): remove unneeded BufferView param.
15756 2001-08-01 André Pönitz <poenitz@gmx.net>
15758 * lyxfunc.C: small change due to changed mathed interface
15760 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15762 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15764 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
15766 * lyxfunc.c: fail gracefully if file doesn't exist
15771 * BufferView_pimpl.C: IsDirWriteable() proto changed
15773 * LyXView.C: fix updateWindowTitle() to store the last title
15775 2001-07-31 Juergen Vigna <jug@sad.it>
15777 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15778 the font (wrong since using of Paragraph::highestFontInRange).
15780 * paragraph.C (highestFontInRange): added a default_size parameter.
15782 * text.C (getVisibleRow): minor clear row changes (still not perfect).
15783 (setHeightOfRow): reformat
15785 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15787 * converter.[hC] + affected files: move to (inital-char)lowercase
15790 * ParagraphParameters.C (ParagraphParameters): remove commented code
15792 * PainterBase.[Ch]: remove commented code
15794 * LaTeXFeatures.h: add "bool floats" for float.sty
15796 * LaTeXFeatures.C (LaTeXFeatures): init floats
15797 (require): handle float
15798 (getPackages): do it with floats
15800 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15802 * BufferView_pimpl.C (Dispatch): improve handling of
15803 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15805 * commandtags.h: #include lyxfont.h here temporarily to avoid
15808 * bufferlist.h: include LString.h here.
15810 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15812 * text2.C (getStringToIndex): new method.
15814 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
15816 * *: Reduced header file dependencies all over.
15818 2001-07-30 Baruch Even <baruch@lyx.org>
15820 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15822 2001-07-29 Baruch Even <baruch@lyx.org>
15824 * buffer.C (readInset): Changed GRAPHICS to Graphics.
15826 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15828 * ParameterStruct.h (endif): add a default constructor to make
15829 sure that all variables is initialized.
15831 * ParagraphParameters.C (ParagraphParameters): adjust
15833 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15835 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15836 index; also, check that there is something to index, and that it
15837 does not span over several paragraphs.
15838 (doubleClick): use WHOLE_WORD_STRICT for double click.
15840 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15842 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15845 2001-07-26 Baruch Even <baruch@lyx.org>
15847 * buffer.C (readInset): Changed to call up InsetGraphics when reading
15848 an InsetFig figure, backwards compatible reading of old figure code.
15850 2001-07-27 Juergen Vigna <jug@sad.it>
15852 * text2.C: font.realize function adaption.
15854 * text.C (draw): add a warnings lyxerr text if needed.
15856 * layout.C: font.realize function adaption.
15858 * language.C: add inherit_language and implement it's handlings
15860 * bufferview_funcs.C (StyleReset): remove language parameter from
15861 font creation (should be language_inherit now).
15863 * bufferparams.C (writeFile): handle ignore_language.
15865 * paragraph.C (getFontSettings): the language has to be resolved
15866 otherwise we have problems in LyXFont!
15868 * lyxfont.C (lyxWriteChanges): added document_language parameter
15869 (update): removed unneeded language parameter
15871 * paragraph.C (validate): fixed wrong output of color-package when
15872 using interface colors for certain fonts in certain environments,
15873 which should not seen as that on the final output.
15875 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
15877 * BufferView_pimpl.C:
15882 * LyXAction.C: add thesaurus support
15885 * lyxfind.C: add "once" parameter, for thesaurus, to not
15886 move to the next match
15888 2001-07-26 Juergen Vigna <jug@sad.it>
15890 * lyxfont.C (realize): honor ignore_language too!
15893 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15895 * text.C (draw): one place more for ignore_language to not draw
15898 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
15900 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15902 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15904 * buffer.C (parseSingleLyXformat2Token): a more general fix for
15905 the minipage conversion problem.
15907 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15909 * buffer.C (parseSingleLyXformat2Token): check minipage if we
15912 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15914 * BufferView.h: don't forward declare WorkArea
15916 * BufferView.C: don't include WorkArea.h
15918 2001-07-25 André Pönitz <poenitz@gmx.net>
15922 * lyxfunc.C: new LFUN 'math-space'
15924 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15926 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15928 * text2.C (toggleInset): call open/close
15930 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15932 * lyxfunc.C (dispatch): add debug for the disabled case
15934 * font.C (buttonText): make similar to rectText
15936 * buffer.C (readInset): comment out parsing of insetlist and
15939 * PainterBase.C (rectText): small correction
15941 * BufferView_pimpl.C: comment out insettheorem and insetlist
15942 * LyXAction.C: ditto
15943 * commandtags.h: ditto
15945 2001-07-24 Juergen Vigna <jug@sad.it>
15947 * text.C (draw): honor the ignore_language.
15949 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15951 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15953 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15956 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15958 * lyxtext.h: remove unused (and unimplemented) methods
15960 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15962 * text.C (getVisibleRow): honor background color
15965 * Painter.h: remove default color argument for fillRectangle
15967 * text.C (backgroundColor): new method
15969 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15971 * text.C (getVisibleRow): adjust
15973 * font.[Ch] (rectText): new method, metrics
15974 (buttonText): new method, metrics
15976 * PainterBase.[hC]: make rectText and buttonText always draw and take
15979 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15981 * ToolbarDefaults.C (read):
15982 * MenuBackend.C (read): allow escaping in all strings
15984 * BufferView_pimpl.C (insertAndEditInset): new method.
15985 (Dispatch): use insertAndEditInset whenever appropriate.
15987 * BufferView_pimpl.C (insertNote): removed
15989 * BufferView_pimpl.C (smartQuote): new method, moved from
15990 BufferView; if an insetquote cannot be inserted, insert a '"'
15993 * BufferView2.C: remove insertCorrectQuote();
15995 * lyxfunc.C (getStatus): Add support for all remaingin
15996 inset-insert lfuns.
15998 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
16000 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
16001 command (necessary to pass " as parameter of self-insert.
16003 * text.C (selectWordWhenUnderCursor):
16004 (selectWord): add word_location parameter
16005 (selectWordWhenUnderCursor): same + remove special code for word
16007 (selectNextWord): use kind() to guess type of insetspecialchar,
16010 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
16011 (insertErtContents): create ert insets as collapsed.
16012 (readInset): better compatibility code for Info inset.
16014 2001-07-20 Juergen Vigna <jug@sad.it>
16016 * lyxfunc.C (dispatch): use always LyXFind now!
16018 * text2.C (init): add a reinit flag so that the LyXText can be
16019 reinited instead of deleted and reallocated (used in InsetText).
16021 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
16027 2001-07-18 Juergen Vigna <jug@sad.it>
16029 * text.C (selectNextWord): handle insets inside inset by calling
16030 always the bv->text functions so that we can go up the_locking_inset!
16032 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
16033 in strange locations when inside an inset!
16035 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
16036 handling to include insets.
16038 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
16040 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16042 * LyXAction.C (init):
16044 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
16045 LIGATURE_BREAK, since the name is so stupid.
16047 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
16049 * buffer.C (readInset): enable reading of new InsetNotes as well as old
16052 * FontLoader.C: remove FORMS_H_LOCATION cruft.
16054 * sp_form.[Ch]: remove.
16056 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
16058 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
16061 * src/buffer.C (readInset): ditto.
16063 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16065 * BufferView_pimpl.C (specialChar): new method. Obsoletes
16066 menuSeparator(), endOfSentenceDot(), ldots() and
16067 hyphenationPoint(), which are therefore removed.
16068 (Dispatch): handle LFUN_HYPHENATION_BREAK.
16070 * LyXAction.C (init):
16071 * commandtags.h: add LFUN_HYPHENATION_BREAK.
16073 * paragraph.C (getWord): removed.
16075 * BufferView_pimpl.C (Dispatch): use last word or selection for
16076 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
16078 * lyx_main.C (queryUserLyXDir): do not ask before creating
16079 user_dir, except if it has been named explicitely.
16081 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
16083 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
16084 a document of zero size.
16086 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
16088 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
16089 approriately in the c-tor and in require().
16090 (getPackages): output the appropriate LaTeX for natbib support.
16092 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
16093 variables "use_natbib" and "use_numerical_citations" when reading the
16095 (readInset): read the various natbib cite commands.
16096 (validate): white-space change.
16098 * bufferparams.[Ch]: new variables "bool use_natbib" and
16099 "bool use_numerical_citations".
16100 (writeFile): output them in the LyX file.
16102 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16104 * lyxfunc.C (getStatus): add support for all the inset insertion
16107 * text2.C (insertInset):
16108 * paragraph.C (insetAllowed):
16109 * BufferView_pimpl.C (insertInset): update to take in account the
16110 renaming of insertInsetAllowed
16112 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
16114 * text2.C (getInset): new method. returns inset at cursor position.
16116 * BufferView_pimpl.C (Dispatch): changes because of this.
16118 * LyXAction.C (init): rename open-stuff to inset-toggle.
16120 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
16122 * text2.C (toggleInset): renamed from openStuff; use
16125 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
16127 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
16129 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
16131 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
16133 * buffer.C (readLyXformat2): Add filename to the error dialog
16135 2001-07-18 Juergen Vigna <jug@sad.it>
16137 * tabular.C (GetCellNumber): put an assert here instead of the check!
16139 2001-07-17 Juergen Vigna <jug@sad.it>
16141 * BufferView_pimpl.C (toggleSelection): adapted too.
16143 * text.C (selectNextWord): adapted for use with insets.
16144 (selectSelectedWord): ditto
16146 2001-07-17 Juergen Vigna <jug@sad.it>
16148 * sp_spell.C (PSpell): fix initialitation order.
16150 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16152 * paragraph.C: spacing
16154 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
16156 * sp_spell.C: repair language selection for pspell
16158 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
16160 * lyxfunc.h: change more methods to begin with lower char.
16162 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
16164 * buffer.C (parseSingleLyXformat2Token): Generate error insets
16165 for unknown layouts.
16167 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
16169 * buffer.C (readLyXformat2): Generate an error dialog if there are
16172 2001-07-16 Juergen Vigna <jug@sad.it>
16174 * sp_spell.C: always compile ISpell part.
16176 * lyxrc.C: added use_pspell entry and it's handling.
16178 2001-07-13 Juergen Vigna <jug@sad.it>
16180 * sp_spell.C: removed double includes.
16182 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
16184 Consistent use of Lsstream.h:
16185 * Lsstream.h: added using std::stringstream for consistencies sake.
16187 * buffer.C: removed using std::stringstream
16189 * lyxfont.C (stateText):
16190 * paragraph.C (asString):
16191 * text.C (selectNextWord, selectSelectedWord):
16192 * text2.C (setCounter):
16193 * vspace.C (asString, asLatexString):
16194 std::ostringstream -> ostringstream.
16196 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
16198 * LyXAction.C: add LFUN_HELP_ABOUTLYX
16199 * commandtags.h: add LFUN_HELP_ABOUTLYX
16200 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
16202 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
16204 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
16206 * lyx_gui_misc.C: remove spellchecker
16207 * lyxfunc.C: showSpellchecker
16209 * sp_ispell.h: added
16210 * sp_pspell.h: added
16211 * sp_spell.C: added
16212 * sp_form.[Ch]: removed
16213 * spellchecker.[Ch]: removed
16215 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
16217 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
16219 (simpleTeXSpecialChars): Simply print the input character without
16220 any special translation if pass_thru is set.
16222 * layout.h: Added bool pass_thru to layout class for being able to
16223 implement pass through of a paragraph for Literate Programming.
16225 * layout.C: add LT_PASS_THRU to LayoutTags enum.
16226 * layout.C (LyXLayout): set pass_thru to flase in constructor.
16227 * layout.C (Read): add "passthru" to list of layout tags and add
16228 code to set the pass_thru boolean when it is read.
16230 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
16232 * trans_decl.h: remove allowed from KmodInfo
16234 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
16235 remove allowed code
16238 * paragraph_pimpl.C (erase): use boost::prior
16240 * Painter.C (text): use data() instead of c_str() when length is
16242 * WorkArea.C (putClipboard): ditto
16243 * font.h (width): ditto
16245 * BufferView2.C: use it-> instead of (*it). for iterators
16247 * paragraph_pimpl.C: ditto
16248 * paragraph.C: ditto
16249 * minibuffer.C: ditto
16250 * language.C: ditto
16252 * encoding.C: ditto
16253 * counters.C: ditto
16254 * converter.C: ditto
16256 * Variables.C: ditto
16257 * TextCache.C: ditto
16258 * MenuBackend.C: ditto
16259 * LyXAction.C: ditto
16261 * FloatList.C: ditto
16262 * DepTable.C: ditto
16263 * ColorHandler.C (LyXColorHandler): ditto
16265 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16267 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16269 * text2.C (openStuff): reintroduce this method (which had been
16270 nuked in NEW_INSETS frenzy).
16272 * lyxfunc.C (Dispatch): when an action has not been handled, use
16273 its name in the error message, not its number.
16275 * paragraph.C (inInset): change method name to begin with lowercase.
16278 * text2.C: updates because of this.
16280 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16282 * ToolbarDefaults.C (add): add spaces in error message
16284 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
16286 * buffer.C (readLyXformat2): initialize the ert comp. variables.
16287 (readLyXformat2): rename return_par to first_par, use lyxlex's
16288 pushToken and remove the manual push handling.
16289 (parseSingleLyXformat2Token): add another ert comp. variable:
16290 in_tabular, rename return_par to first_par. handle newlines better
16292 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16294 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16296 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
16298 * text2.C (getParFromID): removed
16300 * buffer.C (getParFromID): new method moved form lyxtext.
16301 * BufferView2.C (insertErrors): adjust
16302 (setCursorFromRow): adjust
16303 * BufferView_pimpl.C (restorePosition): adjust
16304 * lyxfunc.C (Dispatch): adjust
16305 * undo_funcs.C (textUndo): adjust
16307 (textHandleUndo): adjust
16308 (textHandleUndo): adjust
16310 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
16312 * buffer.C: up' the LYX_FORMAT
16314 * lyxfont.h: turn NO_LATEX on as default
16316 * buffer.C (insertErtContents): new methods of tex style compability.
16317 (parseSingleLyXformat2Token): use it several places.
16318 * tabular.C (OldFormatRead): and here
16320 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
16322 * text2.C: remove some commented code.
16325 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16326 * trans.C: changes because of the above.
16328 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
16330 * text2.C (setCounter): Fix counters bug with bibliography layout.
16332 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16334 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16335 own member functions
16336 (simpleTeXSpecialChars): ditto
16338 2001-07-06 Juergen Vigna <jug@sad.it>
16340 * a lot of files: changed the access to LyXText::status and the
16341 call of undo-functions.
16343 * undo.[Ch]: added a inset_id to the undo informations.
16345 * undo_funcs.[Ch]: added and moved here all undo functions.
16347 * lyxtext.h: give the status enum a weight, made status_ a private
16348 variable and made accessor functions for it, removed the whole bunch
16349 of undo-functions as they are now in their own file, make some
16350 functions publically available. Added function ownerParagraph with
16353 * paragraph.[Ch]: added "bool same_ids" to the constructor,
16354 made InInset() a const function, added getParFromID() function.
16356 * buffer.[Ch]: added const version for inset_iterator functions,
16357 added getInsetFromID() function.
16359 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16360 changed undo functions for new version.
16362 2001-07-05 Juergen Vigna <jug@sad.it>
16364 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16365 unknow mechanism does not call the proper constructor but only this
16366 one also if I request the other!?
16368 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16370 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16372 * text2.C (LyXText): use initialization lists.
16374 * lyxtext.h (Selection): initialize set_ and mark_
16375 (init): remove method
16377 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
16379 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16381 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16383 * screen.[Ch]: change method names to begin with lowercase
16385 * BufferView_pimpl.C (updateScrollbar): simplify further and
16386 hopefully make it a bit faster.
16388 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16390 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16391 calling directly xforms functions.
16393 * Painter.C (Painter):
16394 * lyx_cb.C (MenuWrite):
16395 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16398 * lyx_gui.C: remove bogus guiruntime extern declaration.
16400 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16402 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16404 (redoDrawingOfParagraph): ditto
16405 (redoParagraphs): ditto
16406 (cutSelection): don't create a object for CutAndPaste use the
16407 static method directly
16408 (pasteSelection): ditto
16410 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16413 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16415 * modifications to some other files because of this.
16417 * Makefile.am (lyx_SOURCES): add XFormsView
16419 * XFormsView.[Ch]: new files
16421 * LyXView.[Ch]: make LyXView a base class for the gui handling for
16422 the main window. Move the gui dependent stuff to XFormsView
16424 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16426 * tabular.C (GetCellInset): update cur_cell also in the row/col
16427 version of this function.
16429 * lyxfunc.C: no need to include figure_form.h here.
16435 * lyxvc.C: no need to include forms.h here.
16437 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16439 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16441 * lyxfunc.C (Dispatch):
16443 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16444 constructor argument.
16446 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16448 * paragraph.C (Paragraph): dont't clear, and just set layout.
16449 (makeSameLayout): use params's copy contructor.
16451 * ParagraphParameters.[Ch] (makeSame): delete method
16453 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
16455 * Variables.[Ch]: fix indentation, rename set to isSet
16457 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16459 * lyxfunc.C (Dispatch): fix typo
16461 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16463 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16466 * bufferlist.C: include assert.h for emergencyWrite().
16468 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16470 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16471 give up at last (bug #425202) !
16473 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
16479 * spellchecker.C: strip spellchecker options and bring up
16480 preferences tab instead
16482 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16484 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16485 the istringstream constructor
16487 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16489 * paragraph.C (getLayout): fix return value
16491 * paragraph.h: do not declare getLayout as inline.
16493 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16495 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16497 * lyxcursor.h (operator<): new func
16498 (operator>): new func
16499 (operator>=): new func
16500 (operator<=): new func
16502 * text.C (changeCase): use selection.start and selection.end
16503 (changeRegionCase): require from to be <= to. Require par to be a
16506 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16508 2001-06-27 Juergen Vigna <jug@sad.it>
16510 * text.C (cursorLeftOneWord): changed to return the cursor and added
16511 overlay with BufferView * parameter which calls this one.
16513 (selectWord): use new getWord function.
16514 (changeCase): renamed from changeWordCase as and extended to work
16515 also on selections.
16517 * lyxtext.h: added enum word_location
16519 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16520 changeCase as this operates now also on selections.
16522 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
16524 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16526 * many files: send debug output to Debug::INFO instead of
16529 * converter.C (View):
16531 (Move): send debug output to Debug::FILES instead of console.
16533 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
16535 * lyxfunc.C (getStatus): use func_status
16537 * func_status.h: new header, describing the results of
16538 LyXFunc::getStatus;
16540 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16543 2001-06-25 The LyX Project <jug@sad.it>
16545 * buffer.C (sgmlOpenTag):
16547 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
16549 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16551 * text2.C: remove some dead code
16553 * tabular.C (GetCellInset): store the last cell checked (gotten)
16555 * tabular.h: add the helper for the speedup
16557 * lyxtext.h: remove some dead code
16559 2001-06-26 The LyX Project <Asger>
16561 * paragraph.C: Change export to LaTeX of alignment to
16562 \begin{center} and family for better roundtrip work with reLyX.
16564 * Tune the math drawing a bit.
16566 2001-06-25 The LyX Project <Asger>
16568 * LColor.C (LColor): New color for math background. New color
16571 2001-06-25 The LyX Project <jug@sad.it>
16573 * lyxfunc.C (MenuNew): remove extra check for .lyx file
16575 * lyxfunc.C (Open):
16576 * bufferlist.C (newFile): do not restrict to files ending with
16579 * BufferView_pimpl.C (MenuInsertLyXFile):
16581 2001-06-24 The LyX Project <jug@sad.it>
16583 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16586 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16588 * lyxtext.h: rename most methods to begin with a small char.
16589 Lots of changes because of this.
16591 * paragraph.C (Paragraph): do not call fitToSize
16592 (erase): call Pimpl::erase
16593 (insertChar): call Pimpl::insertChar
16594 (insertInset): call Pipl::insertInset
16595 (breakParagraph): do not call fitToSize
16596 (breakParagraphConservative): do not call fitToSize
16597 (fitToSize): remove method
16599 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16601 2001-06-24 The LyX Project <Asger>
16603 * Fix Qt compilation^2
16605 2001-06-24 The LyX Project <jug@sad.it>
16607 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16608 depthHook(getDepth()-1).
16611 * ParagraphParameters.h:
16612 * ParameterStruct.h: change type of depth to unsigned int ==
16613 depth_type. Many adaptations to other files before of that.
16615 2001-06-24 The LyX Project <Asger>
16617 * Fix Qt compilation.
16619 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16621 * paragraph.h: renamed several methods to begin with small letter.
16622 several changes to many parts of the code because of this.
16624 2001-06-23 The LyX Project <jug@sad.it>
16626 * text2.C (InsertStringAsLines): renamed from InsertStringA;
16627 rewritten to discard all double spaces when KeepEmpty is off
16628 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16629 to only handle newlines but not fiddle with spaces and friends.
16631 * lyxfunc.C (MenuNew): when doing 'new from template', use
16632 template_path as default directory
16634 2001-06-23 The LyX Project <Asger>
16636 * Clean-up of header file includes all over
16637 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16639 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16641 * paragraph.h: renamed from lyxparagraph.h
16643 2001-06-23 Asger <lyx@violet.home.sad.it>
16645 * Buffer.h: Removed Buffer::resize
16646 * BufferList.h: Removed BufferList::resize
16647 * LyXView.h: Added LyXView::resize. This way, we will only reflow
16648 the document lazily when we change the width, or the font settings.
16650 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16652 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16654 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16656 * buffer.h: remove out of date comment
16658 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16661 * screen.C: fix "theoretical" GC leak
16663 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16665 * LaTeX.C (scanAuxFile):
16666 (deplog): remove trailing \r when reading stream (useful under
16669 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
16671 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16672 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16673 and BufferView::theLockingInset(Inset*), so should use them and not
16674 access bv_->text->the_locking_inset directly.
16676 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16678 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16681 * tex-defs.h: remove old unused file
16683 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
16685 * BufferView_pimpl.C: fix typo, remove minibuffer message
16686 when buffer has loaded
16688 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
16690 * lyxfunc.C (Dispatch): use stringstream
16691 (MenuNew): use stringstream
16692 (Open): use stringstream
16694 * importer.C (Import): use stringstream
16696 * bufferview_funcs.C (CurrentState): use stringstream
16698 * LaTeX.C (run): use stringstream
16700 * BufferView_pimpl.C (savePosition): use stringstream
16701 (restorePosition): use stringstream
16702 (MenuInsertLyXFile): use stringstream
16704 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
16717 * vspace.C: removed // -*- C++ -*- as first line.
16720 * version.h: added // -*- C++ -*- as first line.
16722 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16724 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16726 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16729 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
16731 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16734 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16736 * gettext.C: include LString.h even when --disable-nls is on.
16738 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
16740 * converter.h (Get): changed argument type from int to
16741 FormatList::size_type to avoid unnecessary conversion.
16743 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16746 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16748 * gettext.h: include LString.h even when --disable-nls is on.
16750 2001-06-07 Juergen Vigna <jug@sad.it>
16752 * text.C (BreakAgain): subst spaces with tabs.
16754 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16755 (resizeInsetsLyXText): set force on resizeLyXText.
16757 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16759 * gettext.h (gettext_init):
16760 (locale_init): use a real definition instead of a macro
16762 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16764 * Bufferview_pimpl.C:
16766 * LColor.C: further lcolor tidies
16768 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
16770 * BufferView_pimpl.C (updateScrollbar): simplify.
16772 * BufferView2.C: don't include insets/insetinfo.h, change
16773 prototype for insertInset and call the Pimpl version. let
16774 updateInset call Pimpl version.
16776 * BufferView.h: move inset_slept to BufferView::Pimpl, move
16777 gotoInset to BufferView::Pimpl
16779 2001-06-01 Juergen Vigna <jug@sad.it>
16781 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16782 inside a LockingInset (is the update needed at all?).
16784 2001-05-31 Juergen Vigna <jug@sad.it>
16786 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16787 here not the old one otherwise how should we compare it afterwards
16790 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16795 * FontInfo.C: bring C functions into global namespace when
16798 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16800 * LString.h: make sure config.h has been loaded before LString.h.
16802 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16803 (one for each char read by EatLine!).
16805 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16808 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
16810 * paragraph.C (BreakParagraph): set the inset_owner in the new par
16811 to the same as the par we break from
16813 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
16815 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16817 * MenuBackend.C (expand): also create menu entries for wide
16818 versions of the floats.
16820 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16822 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16824 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16825 frontends/Makefile.am
16831 * tabular.C (getTokenValue): add std::
16833 * tabular-old.C (getTokenValue): add std::
16834 (getTokenValue): ditto
16835 (getTokenValue): ditto
16837 * screen.C (ToggleSelection): adjust
16839 * lyxtext.h: put selection cursors inside a Selection struct.
16841 * lyxfunc.C (moveCursorUpdate): adjust
16843 * lyxfont.C (latexWriteStartChanges): add std::
16845 * lyxfind.C: adjust
16847 * font.h: delete with(char const *, LyXFont const &)
16849 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16851 * FontInfo.C (getFontname): add std::
16853 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16854 (workAreaButtonPress): adjust
16855 (tripleClick): adjust
16857 (moveCursorUpdate): adjust
16860 * BufferView2.C (gotoInset): adjust
16862 2001-05-30 Juergen Vigna <jug@sad.it>
16864 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16865 to check pspell I add this as default as I now have new pspell
16866 libraries and they seem to use this.
16868 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
16870 * text2.C (CutSelection): make the cursor valid before the call to
16873 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16875 * kbsequence.C (parse): de-uglify a bit the parsing code, which
16876 relied on 0 terminated strings and other horrors. Bug found due to
16877 the new assert in lyxstring!
16879 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16882 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16884 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16887 * lyxfunc.C (processKeySym): change method of getting to the
16890 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16891 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16892 * BufferView_pimpl.[Ch]: here as private methods.
16894 2001-05-28 Juergen Vigna <jug@sad.it>
16896 * text.C (SetHeightOfRow): added the update() call again as it is
16897 needed to initialize inset dimensions!
16899 2001-05-16 Juergen Vigna <jug@sad.it>
16901 * text2.C (SetCharFont): Add new function with BufferView * and
16902 bool toggleall parameters for setting insets internal fonts.
16903 (SetFont): Freeze the undo as we may change fonts in Insets and
16904 all this change should be inside only one Undo!
16906 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16907 setting font's in insets as for them we have the SetFont function!
16909 2001-05-15 Juergen Vigna <jug@sad.it>
16911 * text2.C (ClearSelection): to be sure we REALLY don't have any
16914 * tabular.C (TeXCellPreamble): fixed the left border problem for
16917 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
16919 * LaTeX.C (deplog): Make sure that the main .tex file is in the
16922 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16924 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16925 LFUN_BREAKPARAGRAPH.
16927 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16928 help test to "internal only", similar for LFUN_INSERT_URL
16930 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16931 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16932 auto_region_delete and deadkeys.
16934 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
16937 * LColor.C: remove some dead entries, tidy a little
16939 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
16941 * lyxfunc.C (processKeySym): comment the Escape handling, remove
16943 (Dispatch): implement LFUN_ESCAPE
16945 * commandtags.h: add LFUN_ESCAPE
16947 * LyXAction.C (init): add entry for LFUN_ESCAPE
16949 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16950 Remove commented code.
16951 (insertNote): moved here
16952 (open_new_inset): moved here
16954 * BufferView[2].[Ch]: move insertNote and open_new_inset to
16957 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16959 * kbmap.C (findbinding): clean it up and make it work correctly.
16961 * lyx_main.C (init): do not pass argc and argv as parameters
16963 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
16965 * buffer.C: fix path for OS/2 & Win32
16969 * lyx_main.C: Added os:: class.
16971 * os2_defines.h: update
16973 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16975 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16976 better by trying again with reduced state.
16978 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16980 * lyxrc.C (read): print error about invalid key sequence only when
16981 debugging (because not all latinX keysyms are known to some X
16984 * kbsequence.C (getiso): add a few std:: qualifiers
16985 (getiso): comment out extra return statement.
16987 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
16989 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16991 (Dispatch): enhance the accent inset a bit. (not perfect)
16993 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
16995 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
16997 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16999 * bufferlist.C (emergencyWrite): fix assert() call
17001 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
17003 * text.C (InsertChar): Added trivial patch to only send the "you
17004 can not do multiple spaces this way" message once during a
17007 2001-05-08 Baruch Even <baruch@lyx.org>
17009 * Makefile.am: Changed order of libraries to get LyX to link properly
17010 with the gnome frontend.
17012 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17014 * LaTeXFeatures.h: add a std:: qualifier
17016 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
17018 * paragraph.C (String): use stringstream
17020 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
17022 * paragraph.C (writeFile): remove footflag arg
17024 * buffer.C (makeLaTeXFile): use stringstream
17025 (latexParagraphs): remove footnot gurba
17027 * LaTeXFeatures.C (getPackages): use stringstream
17028 (getMacros): likewise
17029 (getTClassPreamble): likewise
17030 (getFloatDefinitions): new method
17032 * paragraph.C (writeFile): reindent
17035 * WorkArea.h: revert the xpos + etc changes.
17037 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
17039 * lyxparagraph.[Ch]: add copy constructor, remove Clone
17041 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
17042 (pasteSelection): likewise
17043 * text2.C (CreateUndo): likewise
17045 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
17047 * minibuffer.C (peek_event): temporarily reduce the functionality
17048 of the minibuffer (to allow args on lfuns)
17050 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
17051 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
17053 * buffer.C (readInset): add compability reading of old float
17054 lists, add reading of new style float list.
17055 (readInset): avoid reevaluation of inscmd.getCmdName()
17056 (getLists): reindent
17058 * MenuBackend.C (MenuItem): implement parsing of
17059 md_floatlistinsert and md_floatinsert.
17060 (expand::LastFiles): move initalizaton of iterators out of loop,
17061 avoid reevaluation.
17062 (expand::Documents): introduce typdedef vector<string> Strings,
17064 (expand::ExportFormats): introduce typedef vector<Format const *>
17065 Formats, and use it.
17066 (expand): implement FloatListInsert and FloatInsert.
17068 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
17069 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
17070 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
17072 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
17074 (Dispatch::LFUN_FLOAT_LIST): implement
17076 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
17078 * LaTeX.C (run): Fix problem with --export code.
17080 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
17082 * BufferView.[Ch] (workarea): removed.
17083 (getClipboard) new method; wrapper for workarea()->getClipboard()
17085 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
17088 * WorkArea.h (width, height, xpos, ypos): These methods all
17089 returned the dimensions of the work_area sub-area of WorkArea,
17090 resulting in a position error if the WorkArea were resized. Now
17091 return the dimensions of the entire WorkArea.
17093 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
17095 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17097 * LaTeX.C (deplog): correct the syntax of regex reg1
17099 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
17101 * undo.C: remove !NEW_INSETS cruft
17103 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
17105 * text2.C: remove !NEW_INSETS cruft
17107 * text.C: remove !NEW_INSETS cruft
17109 * tabular.C: remove !NEW_INSETS cruft
17111 * spellchecker.C: remove !NEW_INSETS cruft
17113 * lyxtext.h: remove !NEW_INSETS cruft
17115 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
17117 * lyxfunc.C: remove !NEW_INSETS cruft
17119 * lyxfind.C: remove !NEW_INSETS cruft
17121 * lyx_cb.C: remove !NEW_INSETS cruft
17123 * figureForm.C: remove !NEW_INSETS cruft
17125 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
17127 * buffer.[Ch]: remove !NEW_INSETS cruft
17129 * ToolbarDefaults.C: remove !NEW_INSETS cruft
17131 * CutAndPaste.C: remove !NEW_INSETS cruft
17133 * BufferView_pimpl.C: remove !NEW_INSETS cruft
17135 * BufferView2.C: remove !NEW_INSETS cruft
17137 * BufferView.h: remove !NEW_INSETS cruft
17139 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17141 * Lsstream.h: include LString.h before the sstream headers to
17142 fix problem with gcc 2.95.3 and lyxstring
17144 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17146 * lyx_main.C: add using directives when needed for C functions
17147 declared in std:: namespace.
17149 2001-04-27 Juergen Vigna <jug@sad.it>
17151 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
17152 (SetHeightOfRow): comment out the update call should not be needed!
17154 2001-04-13 Juergen Vigna <jug@sad.it>
17156 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
17157 (LyXTabular): tried to minimize operator= operations (and realized
17158 hopfully Lars wish).
17160 2001-04-27 Juergen Vigna <jug@sad.it>
17162 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
17164 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
17166 * lyxfunc.C (Dispatch): hack to make listof algorithm work
17168 * buffer.C (readInset): hack to make listof algorithm work
17170 * BufferView_pimpl.C: hack to make listof algorithm work
17172 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
17174 * LyXAction.C: removed all !NEW_INSETS cruft
17175 (init): moved lfun_item in method
17177 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
17179 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
17181 * BufferView2.C (theLockingInset): white space.
17183 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
17185 * minibuffer.C: include <iostream>
17187 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
17189 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
17191 * commandtags.h: add LFUN_TRANSPOSE_CHARS
17193 * text.[Ch] (TransposeChars): new method
17195 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
17197 * call message directly through LyXView instead of through LyXFunc
17198 * BufferView2.C: adjust
17199 * BufferView_pimpl.C: adjust
17200 * FontLoader.C: adjust
17202 * bufferview_funcs.C: adjust
17203 * converter.C: adjust
17204 * figureForm.C: adjust
17205 * importer.C: adjust
17207 * lyx_gui_misc.C: adjust
17208 * lyxfunc.C: adjust
17211 + more files in subdirs
17213 * lyxparagraph.h (size): move up int file
17216 * adjust all uses of Assert to lyx::Assert.
17218 * BufferView2.C (ChangeCitationsIfUnique): adjust for
17219 lyxfunctional in namespace lyx
17220 * layout.C (hasLayout): ditto
17223 (delete_layout): ditto
17224 (NumberOfClass): ditto
17225 * converter.C (GetFormat): ditto
17230 * bufferlist.C (getFileNames): ditto
17231 (emergencyWriteAll): ditto
17234 * MenuBackend.C (hasSubmenu): ditto
17237 * BufferView_pimpl.C (getInsetByCode): ditto
17239 2001-04-18 Juergen Vigna <jug@sad.it>
17241 * vspace.C (asLatexString): fixed the 100% problem.
17243 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17245 * lyxfunc.C (Dispatch):
17247 * minibuffer.h: add a few std:: qualifiers
17249 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
17251 * minibuffer.[Ch]: reimplement so that commands is initiated and
17252 run from lyxfunc, simplified som handling, and made the completion
17253 and history code for complete. wip.
17255 * lyxfunc.C (processKeySym): call message
17256 (miniDispatch): new temporary method
17257 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
17258 (LFUN_MESSAGE): implement
17259 (LFUN_MESSAGE_PUSH): implement
17260 (LFUN_MESSAGE_POP): implement
17261 (initMiniBuffer): the initial/defualt minibuffer message.
17263 * lyxfont.[Ch]: inline some more getters
17265 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17267 * lyx_gui_misc.[Ch] (WriteStatus): remove method
17269 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17270 (AutoSave): use LFUN_MESSAGE
17271 (Reconfigure): ditto
17273 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17275 * figureForm.C: use LFUN_MESSAGE
17277 * converter.C (runLaTeX): use LFUN_MESSAGE
17279 * bufferview_funcs.C: use LFUN_MESSAGE
17281 (changeDepth): ditto
17283 * bufferparams.h: use boost::
17285 * bufferlist.h: inherit privately from noncopyable
17287 * bufferlist.C (loadLyXFile): remove some commented code.
17289 * buffer.C (runChktex): use LFUN_MESSAGE
17291 * ShareContainer.h: inherit privately from noncopyable
17293 * ParagraphParameters.[hC] (depth): inline it.
17295 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17297 (message): new method
17298 (messagePush): ditto
17299 (messagePop): ditto
17300 (show): init minibuffer
17301 (showState): direct call
17303 * LaTeX.[Ch]: inherit privately from noncopyable
17304 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17305 instead of WriteStatus.
17307 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17309 * BufferView_pimpl.C (buffer): don't init minibuffer
17310 (workAreaButtonPress): use LFUN_MESSAGE
17311 (workAreaButtonRelease): ditto
17312 (savePosition): ditto
17313 (restorePosition): ditto
17314 (MenuInsertLyXFile): ditto
17315 (workAreaExpose): don't init minibuffer
17316 (update): remove commented code, simplify
17318 * BufferView2.C (openStuff): use LFUN_MESSAGE
17319 (toggleFloat): ditto
17322 (copyEnvironment): ditto
17323 (pasteEnvironment): ditto
17328 (updateInset): remove some commented code
17330 * lastfiles.h: inherit privately from noncopyable
17333 * lyx_main.h: ditto
17335 * lyxlex_pimpl.h: ditto
17337 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17338 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17339 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17341 * LyXAction.h: inherit privately from noncopyable, add methods
17342 func_begin, func_end, returning iterators to the func map.
17344 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17345 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17346 (func_begin): new method
17347 (func_end): new method
17349 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17351 (copySelection): ditto
17352 (pasteSelection): ditto
17354 * BufferView.C: whitespace change
17355 * BufferView.h: inherit privately from noncopyable
17357 2001-04-16 Allan Rae <rae@lyx.org>
17359 * tabular-old.C (l_getline):
17360 * spellchecker.C (sc_check_word):
17361 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17362 an unrecognised preprocessor directive. So ensure they're wrapped.
17364 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
17366 * src/exporter.C (Export): Give an error message when path to file
17369 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
17371 * LaTeX.C (deplog): Always check that foundfile exists.
17373 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17376 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17378 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
17380 * tabular.[Ch] (getLabelList): implement new method
17382 * minibuffer.h: comment ouf setTiimer
17384 * minibuffer.C (ExecutingCB): constify res
17385 (peek_event): constify s
17386 (Set): constify ntext
17387 (Init): constify nicename
17389 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17391 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17392 (savePosition): use two params to Minibuffer::Set
17393 (restorePosition): ditto
17395 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17397 * lyx_main.C: include language.h
17399 * Makefile.am (lyx_main.o): add language.h
17401 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17407 * CutAndPaste.C: include gettext.h
17409 * lyxfont.h: remove old hack with ON and OFF.
17412 * lyxfont.h: do not include language.h...
17417 * bufferview_funcs.C:
17423 * paragraph.C: ... but do it here instead
17425 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
17427 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17429 * tabular.C: small reformat
17431 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17434 (BreakParagraph): ditto
17435 (SetOnlyLayout): ditto
17438 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17441 * lastfiles.C: removed most using decl, add std:: where needed
17443 * buffer.C: ws changes
17445 * MenuBackend.C (class compare_format): put into anon namespace
17446 (expand): constify label, names, action, action2
17449 * text.C (SingleWidth): constify font
17450 (IsBoundary): constify rtl2
17451 (GetVisibleRow): constify ww
17453 * LaTeX.C (deplog): constify logfile
17455 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17457 (workAreaExpose): constify widthChange, heightChange
17459 * lyxrow.C (par): moved
17462 * lyxrow.h: as inlines here
17464 * lyxfont.h (shape): moved from lyxfont.C
17465 (emph): moved from lyxfont.C
17467 * lyxfont.C (LyXFont): use initialization list for all
17469 (shape): move to lyxfont.h as inline
17470 (emph): move to lyxfont.h as inline
17473 2001-04-04 Juergen Vigna <jug@sad.it>
17475 * vspace.C: had to include stdio.h for use of sscanf
17477 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
17480 * BufferView_pimpl.h: remove xforms cruft. Both classes are
17481 independent of xforms.
17483 2001-04-02 Juergen Vigna <jug@sad.it>
17485 * spellchecker.C: fixed namespace placing!
17487 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
17489 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17490 the LyXParagraph * is 0.
17492 2001-03-29 Juergen Vigna <jug@sad.it>
17494 * vspace.C: added support for %, c%, p%, l%.
17495 (stringFromUnit): added helper function.
17496 (asLatexString): changed to give right results for the %-values.
17498 * buffer.C: convert the widthp in a width%.
17500 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
17502 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17505 * figureForm.[Ch]: stripped the FD_from_figure manipulation
17506 code out of lux_cb.[Ch], ready for its (imminent?) removal.
17508 * lyx_cb.[Ch]: see above.
17510 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17514 * lyx.[Ch]: replaced by figure_form.[Ch].
17518 * lyxfunc.C: changed headers associated with above changes.
17520 2001-03-27 Juergen Vigna <jug@sad.it>
17522 * BufferView_pimpl.C: set the temporary cursor right!
17524 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
17526 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17528 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
17530 * LString.h: removed "using std::getline"!
17532 * BufferView_pimpl.C (Dispatch): changes due to changes in
17533 InsetInclude::Params.
17535 * buffer.C (tag_name): removed redundant break statements as they were
17536 producing lots of warnings with my compiler.
17538 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17540 * LString.h: add "using std::getline" when using the real <string>.
17542 2001-03-23 Jos�Ab�io Matos <jamatos@fep.up.pt>
17544 * buffer.C: removed bitset usage.
17545 PAR_TAG moved to an anonymous name space.
17546 (tag_name): new funtion, also in the anonymous namespace.
17547 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17548 (makeDocBookFile): clean code. Completed transition from string arrays
17550 (SimpleDocBookOnePar): code clean.
17552 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17554 * tabular.C: add some comments.
17556 2001-03-22 Juergen Vigna <jug@sad.it>
17558 * buffer.C (parseSingleLyXformat2Token): redone the minipage
17559 compatibility read a bit and fixed bug with minipage in different
17562 2001-03-21 Jos�Ab�io Matos <jamatos@fep.up.pt>
17564 * buffer.C (pop_tag): removed.
17565 (push_tag): removed.
17566 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17567 array replaced with vector. Added support for CDATA sections.
17568 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17570 (makeDocBookFile): XML conformant declaration of CDATA section,
17571 fixed bug related to <emphasis> in the first paragraph char.
17572 (sgmlOpenTag): exclude empty tags.
17573 (sgmlCloseTag): ditto.
17575 * buffer.h (pop_tag): removed.
17576 (push_tag): removed.
17578 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
17580 * language.h (Languages): added size_type and size().
17582 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17584 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17585 response on compability reading of minipages. One probliem is that
17586 the old usage of minipages was flertydig
17588 * several files here and in subdirs: don't use static at file
17589 scope use anon namespaces instead.
17591 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
17593 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17594 LaTeX output. This is necessary for Literate document
17597 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17599 * buffer.C: insert hfill when needed.
17601 * tabular.C (l_getline): use string::erase, small whitespace change.
17603 * BufferView_pimpl.C: try the anon namespace.
17604 * WorkArea.C: ditto
17606 2001-03-16 Juergen Vigna <jug@sad.it>
17608 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17609 otherwise it won't open options-dialogs.
17611 * buffer.C: honor pextraWidth(p) on converting minipages.
17613 * tabular.C (l_getline): changed the functions to strip trailing \r.
17615 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
17617 * BufferView_pimpl.C:
17618 * minibuffer..C: added "using SigC::slot" declaration.
17620 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17622 * lyxlex_pimpl.h: noncopyable is in namespace boost.
17628 * paragraph.C: ditto
17630 * lyxtext.h: NO_PEXTRA
17632 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17634 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17635 * ParameterStruct.h: ditto
17636 * ParagraphParameters.h: ditto
17637 * lyxparagraph.h: ditto
17639 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17641 * buffer.C: add compability for minipage alignment.
17642 (latexParagraphs): remove unwanted pextra check.
17644 * several files: remove CXX_WORKING_NAMESPACES
17646 * buffer.C (pop_tag): tie is in namespace boost
17648 * BufferView.h: noncopyable is in namespace boost
17650 * lyx_main.h: ditto
17653 * lastfiles.h: ditto
17654 * bufferlist.h: ditto
17655 * ShareContainer.h: ditto
17657 * LyXAction.h: ditto
17660 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17662 * Merging changes from BRANCH_MVC back into HEAD.
17664 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17666 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
17668 * BufferView_pimpl.C: change from intl.C
17672 * Makefile.am: move combox.*
17678 * intl.C: remove dialog (covered by prefs)
17680 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17682 * lyxfunc.C (Dispatch): removed redundant break statement.
17684 2001-03-14 Juergen Vigna <jug@sad.it>
17686 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17688 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17690 * buffer.C: add hack to fix compability reading of minipages.
17692 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
17694 * buffer.C (getLists): Cleanup.
17696 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17698 * lyxfont.C (update): don't honor toggleall on font size.
17700 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
17704 * Makefile.am: moved to frontends/xforms/
17708 * BufferView_pimpl.C: changes for moved mathpanel
17710 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17712 * gettext.h: fix gettext_init() in --disable-nls
17714 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17716 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17718 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
17721 * lyx.h: strip external form
17723 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17725 * BufferView_pimpl.C: add comment, destroySplash()
17727 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17729 * BufferView_pimpl.C:
17733 * lyxfunc.C: use re-worked insetinclude
17735 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17737 * buffer.C: add using std::stringstream.
17739 * lyx_cb.C: readd using std::ios.
17741 * buffer.C: add using std::map.
17743 * BufferView_pimpl.C: add using std::vector.
17745 * ShareContainer.h: add std:: to swap.
17747 * buffer.h: add some typedefs
17748 * buffer.C (getLists): use them
17749 (getLists): renamed from getTocList.
17750 add a counter for the different float types and use it in the
17752 (getLists): use the same counter for the NEW_INSETS and the "non"
17755 * lyx_cb.h: remove unused items, includes, using etc.
17757 * ShareContainer.h: remove some commented code, add more comments
17758 and "documentation".
17760 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17762 * buffer.C (getTocList): make the list also when NEW_INSETS is
17765 * buffer.h: remove TocType
17767 * buffer.C (getTocList): change to return a map<string,
17768 vector<TocItem> >, implement for dynamic number of list.
17770 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17771 * text2.C (PasteSelection): adjust
17772 * CutAndPaste.C (pasteSelection): adjust
17774 * FloatList.C (FloatList): update from the new_insets branch.
17775 * Floating.[Ch]: ditto
17776 * LaTeXFeatures.C: ditto
17778 * lyxlex_pimpl.C: ditto
17780 * paragraph.C (Last): remove when NEW_INSETS is defined.
17782 * other file: changes because of the above.
17784 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17786 * lyxparagraph.h: rename next to next_, previous to previous_,
17787 make them private for NEW_INSETS. Rename Next() to next(),
17788 Previous() to previous().
17790 * other files: changes because of the above.
17792 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
17795 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17798 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17800 * main.C (main): pass lyx_localedir to gettext_init().
17802 * gettext.h: remove locale_init and gettext_init macros
17804 * gettext.C (locale_init): new function
17805 (gettext_init): new function
17807 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17810 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
17812 * Moved credits to frontends:
17813 * credits.[Ch]: removed
17814 * credits_form.[Ch]: removed
17815 * lyx_gui_misc.C: remove credits stuff
17818 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17820 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17822 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17823 unneeded destructor.
17825 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17826 a standalone pointer again.
17828 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17830 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
17836 * ToolbarDefaults.C:
17845 * BufferView_pimpl.C: use new file dialog in GUII
17848 * lyx_cb.C: remove LayoutsCB to Toolbar
17850 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17852 * ShareContainer.h (get): add std:: qualifier
17854 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17856 * ShareContainer.h: define a proper ShareContainer::value_type
17857 type (and use typename to please compaq cxx)
17859 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17861 * lyxparagraph.h: move serveral local vars to
17862 ParameterStruct/ParagraphParameters., use ShareContainer in
17863 FontTable., make vars in FontTable private and add getter and
17866 * paragraph.C: changes because of the above.
17868 * lyxfont.h: remove copy constructor and copy assignment. (the
17869 default ones is ok), move number inside FontBits. move inlines to
17872 * lyxfont.C: add number to initializaton of statics, move several
17873 inlines here. constify several local vars. some whitespace
17874 cleanup. Dont hide outerscope variables.
17876 * Spacing.h: add two new constructors to match the set methods.
17878 * ShareContainer.h: new file, will perhaps be moved to support
17880 * ParameterStruct.h: new file
17882 * ParagraphParameters.h: new file
17884 * ParagraphParameters.C: new file
17886 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17887 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17889 * BufferView_pimpl.C: ParagraphParameter changes.
17890 * buffer.C: Likewise.
17891 * bufferview_funcs.C: Likewise.
17892 * text.C: Likewise.
17893 * text2.C: Likewise.
17895 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17897 * lyxfind.C (LyXReplace): do not redefine default argument in
17899 (IsStringInText): ditto
17900 (SearchForward): ditto
17901 (SearchBackward): ditto
17903 2001-03-06 Juergen Vigna <jug@sad.it>
17905 * lyxfind.C (IsStringInText): put parentes around expressions.
17907 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
17909 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17911 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
17913 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17915 * stl_string_fwd.h: add comment
17917 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17920 * tabular.C: remove unused DocBook methods
17926 killed DO_USE_DEFAULT_LANGUAGE
17928 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17930 * lyx_gui.C: do not include language.h.
17932 * bufferview_funcs.C (ToggleAndShow): do not provide optional
17933 arguments in function implementation.
17935 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17937 * BufferView_pimpl.C: add <ctime>
17939 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17941 * BufferView_pimpl.C: add using std::find_if
17943 2001-02-27 José Matos <jamatos@fep.up.pt>
17945 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17948 2001-02-11 José Matos <jamatos@fep.up.pt>
17950 * buffer.C (makeDocBookFile): command styles now have a parameter as
17951 "title" by default.
17953 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
17955 * layout_forms.[Ch]: removed
17956 * lyx_cb.[Ch]: out character
17957 * lyx_gui.C: out character
17958 * lyx_gui_misc.C: out character
17959 * bufferview_funcs.C: : out character,
17960 added toggleall as parameter in ToggleAndShow
17962 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
17964 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17966 * text2.C (SetCurrentFont): Disable number property at boundary.
17968 2001-02-26 Juergen Vigna <jug@sad.it>
17970 * lyxfunc.C (getStatus): added a string argument override function so
17971 that this is correctly called from LyXFunc::Dispatch if it contains a
17972 do_not_use_argument which is used!
17973 (Dispatch): added check for "custom" export and call appropriate func.
17975 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
17977 * lyxrc.C: Add language_command_local, language_use_babel and
17978 language_global_options.
17980 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
17982 * buffer.C (makeLaTeXFile): Use language_use_babel and
17983 language_global_options.
17985 2001-02-23 Juergen Vigna <jug@sad.it>
17987 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17988 which works with LyXText and putted it inside BufferView. Here now we
17989 only call for that part the BufferView::Dispatch() function.
17991 * BufferView.C (Dispatch): added.
17993 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17994 functions which needs to use a LyXText over from LyXFunc.
17995 (MenuInsertLyXFile): added
17996 (getInsetByCode): added
17997 (moveCursorUpdate): added
17998 (static TEXT): added
18000 2001-02-22 Juergen Vigna <jug@sad.it>
18002 * BufferView_pimpl.C (update): call a status update to see if LyXText
18005 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18007 * vc-backend.C (revert): implement for CVS
18008 (getLog): implement for CVS
18010 2001-02-20 Juergen Vigna <jug@sad.it>
18012 * text2.C (ClearSelection): added BufferView param for inset_owner call
18014 * lyxfunc.C (TEXT): added this function and use it instead of
18015 directly owner->view()-text of getLyXText().
18017 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
18019 * src/layout_forms.C: out preamble
18020 * src/layout_forms.h: out preamble
18021 * src/lyx_cb.C: out preamble
18022 * src/lyx_cb.h: out preamble
18023 * src/lyx_gui.C: out preamble
18024 * src/lyx_gui_misc.C: out preamble
18025 * src/lyxfunc.C: connect with guii preamble
18027 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
18029 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
18031 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
18033 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
18034 whether to run bibtex.
18036 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
18038 * Makefile.am (lyx_SOURCES): Remove BackStack.h
18040 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
18042 * Makefile.am (lyx_SOURCES): removed bibforms.h
18044 * vspace.h: doxygen
18046 * text.C (GetVisibleRow): make several local vars const
18048 * tabular.C: small cleanup.
18050 * lyxserver.C (callback): use compare instead of strncmp
18052 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
18053 inlines to after class or to paragraph.C
18055 * lyxfont.h: remove friend operator!=
18057 * converter.h: move friend bool operator< to non friend and after
18060 * combox.h: small cleanup
18062 * buffer.h: doxygen, remove unused constructor, move inclas inlies
18063 to inlines after class def.
18065 * buffer.C (pop_tag): use string operations instead of strcmp
18067 * bmtable.c: doxygen, small cleanup
18069 * LaTeX.h: remove friend operator==
18071 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
18083 * BufferView_pimpl.C:
18084 * BufferView.[Ch]: remove cruft
18086 2001-02-14 Juergen Vigna <jug@sad.it>
18088 * lyxfunc.C: removed #if 0 unused code
18090 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
18092 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
18094 * text2.C (SetSelection): added a BufferView * parameter
18096 2001-02-13 Juergen Vigna <jug@sad.it>
18098 * lyxfunc.C (Dispatch): fixed protected blank problem.
18099 * BufferView2.C (protectedBlank): added LyxText * parameter.
18101 * tabular.C (AppendRow): forgot to set row_info of newly added row.
18102 (AppendColumn): same as above for column_info.
18104 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
18105 (moveCursorUpdate): use a LyXText param for support of InsetText.
18107 * BufferView_pimpl.C (doubleClick): added support for InsetText.
18108 (tripleClick): ditto
18110 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
18112 * BufferView_pimpl.C (update): added LyXText param to honor insets.
18114 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
18116 * text2.C (SetSelection): set correct update status if inset_owner
18117 (ToggleFree): ditto
18119 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
18121 * tabular.C: remove some commented code.
18123 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
18125 * BufferView_pimpl.C: call hideSplash()
18127 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
18130 * bibforms.h: remove
18133 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
18134 add LFUN_CHILD_CREATE
18136 * counters.h: fix tiny typo
18141 * lyx.C: move splash to frontends/xforms/
18143 * lyx_gui_misc.C: move Include and Bibform to frontends
18145 * lyxvc.h: clarify comment
18147 * vspace.C: tiny housekeeping
18149 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
18151 * text.C (PrepareToPrint): RTL Fix.
18153 * paragraph.C (GetUChar): New method.
18154 (String): Use GetUChar.
18156 * buffer.C (asciiParagraph): Use GetUChar.
18158 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
18160 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
18162 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
18165 * buffer.C: rename to getLogName(), handle
18166 build log / latex log nicely
18168 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18171 * MenuBackend.h: remove support for reference menuitem type.
18173 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
18175 * BufferView_pimpl.C: housekeeping
18176 * BufferView_pimpl.h:
18181 * minibuffer.h: move Timeout GUI-I
18183 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
18185 * lyxrc.C (read): Update converters data-structures.
18187 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
18189 * LaTeX.h (operator!=): add operator != for Aux_Info
18191 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
18193 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
18195 * LaTeXLog.C: deleted, useful code moved to Buffer
18198 * buffer.C: new function getLatexLogName()
18204 * lyxfunc.C: use frontends for LaTeX and VC logs
18206 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18208 * LaTeX.h: yet another std:: that Allan forgot.
18210 * Variables.C (set): renamed from isset(), because this clashes
18211 with some HP-UX macros (grr).
18213 2001-02-06 Allan Rae <rae@lyx.org>
18215 * LaTeX.h: Another bug fix. Missing std:: this time.
18217 2001-02-04 Allan Rae <rae@lyx.org>
18219 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
18220 floats problem. I've left it commented out because it's not quite
18221 correct. It should also test that the current object is a table or
18222 figure inset. But I haven't gotten around to figuring out how to do
18223 that. I *think* it'll be something like: "table" == inset.type()
18225 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
18228 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
18230 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
18231 all the citation/databases/styles in the auxilary file.
18232 (run): Rerun latex if there was a babel language error.
18234 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
18236 * text.C (Backspace): Preserve the font when changing newline char
18238 (BreakParagraph): If the cursor is before a space, delete the space.
18240 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
18242 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
18244 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
18245 new argument (code).
18246 (ChangeCitationsIfUnique): New method.
18248 * paragraph.C (GetPositionOfInset): Handle bibkey.
18250 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18252 * BufferView_pimpl.h: change type of Position::par_pos to
18253 LyXParagraph::size_type.
18255 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
18257 * BufferView_pimpl.C (savePosition, restorePosition): Write
18258 messages to minibuffer.
18260 2001-01-28 José Matos <jamatos@fep.up.pt>
18262 * buffer.C (makeDocBookFile): adds support for document language.
18263 A silly restriction on the name of LatexCommand types where removed.
18264 Added support for CDATA sections, allows to chars unescaped, used
18265 among others in code, to avoid escape < and >.
18267 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
18269 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18270 saved positions instrad of a stack. Furthermore, a position is
18271 stored using paragraph id/paragraph position.
18273 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18274 Remove LFUN_REF_BACK.
18276 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
18278 * converter.C (dvipdfm_options): New method.
18280 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
18282 * vspace.C (isValidLength): Fix for empty input string.
18284 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18286 * LyXAction.C (init): change description of LFUN_FIGURE to
18289 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18291 * LaTeX.C: add using directive
18293 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
18295 * MenuBackend.C (expand): Fix the sorting of the formats.
18297 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
18299 * lyx_main.C: tiny error message fix
18301 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18303 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18304 calling fl_initialize(). This fixes the problem with ',' as
18305 decimal separator in text files.
18307 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
18309 * trans.C (process): Fix the keymap bug.
18311 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
18313 * LaTeX.C (scanAuxFiles): New method. Provides support for
18314 multiple bibliographies (when using the bibtopic/bibunits pacakges).
18315 (scanLogFile) Scan for "run BibTeX" messages.
18317 * buffer.C (makeLaTeXFile): Do not load the ae package when using
18318 OT1 font encoding. Also, load the aecompl package if the ae
18321 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18323 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18325 * texrow.C (increasePos): turn two error messages into debug
18328 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
18330 * LaTeX.C (scanAux): Handle the \@input macro.
18331 (runBibTeX): Use scanAux().
18333 * language.C (latex_options_): New field.
18335 * LaTeXFeatures.C (getMacros): Add language macros.
18337 * buffer.C (makeLaTeXFile): Small fix.
18339 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18341 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18343 * text2.C: add a using directive.
18345 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
18350 * lyxfunc.C: kill LyXBell.
18352 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
18354 * text.C (IsBoundary): Remove the error message
18356 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18358 * lyxrc.C (setDefaults): Correct initialization value for
18361 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
18363 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18366 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18367 and GotoNextNote().
18369 * src/LyXAction.C: Added reference-next.
18371 * text.C (InsertChar): Use contains instead of strchr.
18373 * lyx_cb.C (MenuInsertLabel): Enable default value code.
18375 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
18377 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18378 alignment commands (when needed).
18380 * text.C (InsertChar): Add ':' to number separator chars.