1 2005-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3 * BufferView.C (mouseSetCursor): new method. Calls
4 deleteEmptyParagraphMechanism if necessary.
6 * lyxtext.h: make deleteEmptyParagraphMechanism public.
8 * text3.C (dispatch/LFUN_MOUSE_PRESS): use
9 BufferView::mouseSetCursor (bug 2109).
10 (dispatch/LFUN_PASTE): remove #warning that is now irrelevant.
12 2005-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14 * text3.C (dispatch/LFUN_INDEX_INSERT): when a selection is set,
15 do not remove it (this inset behaves differently from the others).
17 2005-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
21 * BufferView_pimpl.C (getStatus): it is only possible to insert a
24 * buffer.C (readDocument): remove pit argument and code releated
25 to it; set the inset owner correctly (unrelated, but useful).
26 (readFile): get rid of pit argument.
28 * CutAndPaste.C (pasteSelectionHelper): use a ParagraphList and a
29 textclass instead of a selection index.
30 (pasteParagraphList): new function.
31 (pasteSelection): make it a wrapper around pasteParagraphList.
33 * BufferView_pimpl.C (MenuInsertLyXFile): use
34 cap::pasteParagraphList to insert a file.
36 2005-11-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
38 * buffer_funcs.C (bufferErrors): prevent endless loop (bug 2121)
40 2005-11-17 Michael Gerz <michael.gerz@teststep.org>
42 * exporter.C: fix typo in text message
44 2005-11-28 Georg Baum <Georg.Baum@post.rwth-aachen.de>
46 * text2.C (setLayout): move recUndo call to other setLayout method
47 * tabular.C (toggleFixedWidth): new, handle cell width changes
48 * tabular.C (setColumnPWidth): move some code from insettabular.C here
49 and use toggleFixedWidth
50 * tabular.C (setMColumnPWidth): ditto
52 2005-11-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
54 * paragraph.C (asString): use new inset->textString method (fix
57 2005-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
59 * CutAndPaste.C (numberOfSelections): new helper function.
61 * lyxfunc.C (getStatus): remove support for LFUN_COPY and LFUN_CUT.
63 * text3.C (getStatus): move code for LFUN_CUT and LFUN_COPY from
64 LyXFunc::getStatus; implement LFUN_PASTE.
66 2005-11-17 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
68 * dociterator.[Ch]: new member realInset() that returns the cell
69 for tabulars and the inset for the rest (bug 1952).
70 * undo.C (textUndoOrRedo): use realInset when resetting insetOwner
73 2005-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
75 * text.C (leftMargin): honor the NextNoIndent tag in layouts.
77 2005-11-17 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
81 * text3.C: InsetBase::forceDefaultParagraphs now takes a cell as
84 2005-11-07 Martin Vermeer <martin.vermeer@hut.fi>
86 * text.C (redoParagraph): Fix bug 1966: cursor doesn't go to next
87 line after typing ctrl-enter
89 2005-11-10 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
91 * bufferview_funcs.C (coordOffset): fix the fix for bug 2094, as
92 math insets do not return a proper editable() state yet (bug 2124).
94 2005-11-07 Martin Vermeer <martin.vermeer@hut.fi>
96 * BufferView_pimpl.[Ch]: Fix bug 1814: better scroll behaviour for
97 docs containing very large paragraphs.
99 2005-11-07 Martin Vermeer <martin.vermeer@hut.fi>
101 * cursor.C (selectionBegin, selectionEnd):
102 * text.C (drawSelection): Fix bug 2115: assertion when anchor and
103 cursor at different depths.
105 2005-11-03 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
107 * bufferview_funcs.C (coordOffset): do not call cursorPos
108 for collapsed collapsables (fix bug 2094).
110 2005-11-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
112 * paragraph.C (fontSpan): make sure that the FontSpan does not
113 span across beginOfBody (bug 1947).
115 2005-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
117 * lyxlength.h: undefine macros that clash with solaris/x86 (bug 992)
119 2005-11-03 Michael Gerz <michael.gerz@teststep.org>
121 * messages.C: fix crash and localization on MinGW/Windows platform
123 2005-11-02 Angus Leeming <leeming@lyx.org>
126 * lyxtextclass.C: trivial fixes to some MSVS warnings.
128 2005-10-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
130 * text3.C (getStatus): re-enable disabled code. (bug 2081)
132 * BranchList.h (empty): constify.
134 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
136 * text3.C (getStatus):
137 * MenuBackend.C (expandBranches): take the branch list from the
138 master document (bug 2092).
140 * MenuBackend.C (expandBranches):
141 * bufferparams.C (writeFile): use BranchList type.
143 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
145 * text3.C (dispatch, getStatus):
146 * LyXAction.C (init):
147 * lfuns.h: get rid of LFUN_KEYMAP_TOGGLE
149 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
151 * toc.C (getTocList): skip paragraphs which toclevel is NOT_IN_TOC.
153 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
155 * text.C (insertChar): do not reset boundary (bug 2061)
157 2005-10-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
159 * dociterator.C (updateInsets): new method. Updates the inset_
160 cache of all the slices of the iterator.
162 * text2.C (deleteEmptyParagraphMechanism): compare also containing
163 insets when comparing pit/pos; pass the right cursor to
164 recordUndo; when a paragraph has been deleted, compare `old.top()' to
165 the right cursor slice of `cur'; use updateInsets on cur to make
166 sure that the inset caches are correct; general cleanup.
168 2005-10-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
170 * text3.C (dispatch): LFUN_NEXT_INSET_TOGGLE: first try to
171 dispatch LFUN_INSET_TOGGLE to inset at cursor, and then to
172 containg inset. If this does not work, the same command will be
173 sent to other insets down the queue by LCursor::dispatch. (bug 2066)
175 * lyxfunc.C (dispatch): make sure the cursor is correct when doing
178 2005-10-20 Georg Baum <Georg.Baum@post.rwth-aachen.de>
180 * lyxtextclass.C (Read): convert layout file if the format is wrong
181 * lyxtextclass.C (layout2layout): new, needed for the above
183 2005-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
185 * messages.C: do not forget to include <cerrno>.
187 2005-10-12 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
189 * dociterator.h (StableDocIterator): add access to pos().
190 * undo.C (samePar): new method to check if two
191 iterators are in the same paragraph
192 * undo.C (recordUndo): check for samePar instead of cell identity
193 (which includes pos() and is too strict) (fixes bug 2097)
195 2005-10-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
197 * text.C (setCursorFromCoordinates): return a bool telling whether
200 * text3.C (cursorPrevious): update if needed after
201 setCursorFromCoordinates (when dEPM triggered).
203 * text2.C (cursorDown, cursorUp): make sure to reset the anchor
204 (otherwise the anchor may be completely wrong and make dEPM assert).
206 2005-10-12 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
208 * buffer.C: version upgrade to 245.
209 * bufferparams.C: remove \quotes_times (bug 2090).
210 * text3.C (doDispatch): LFUN_QUOTE_INSERT has to output double
211 quotation marks as default.
213 2005-10-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
215 * CutAndPaste.C (nrOfParagraphs): remove (unused)
216 * CutAndPaste.C (cutSelection): Remove debug message
217 * CutAndPaste.C (cutSelection): Use the real cursor in mathed, record
218 undo information and only copy if this is a real cut
219 * CutAndPaste.C (pasteSelection): remove superflous cur.resetAnchor()
221 * CutAndPaste.C (pasteSelection): remove now superflous mathed warning
223 * CutAndPaste.C (eraseSelection): prevent cursor corruption
224 * CutAndPaste.C (grabAndEraseSelection, selDel): remove now
225 superflous cur.selection() setting
226 * CutAndPaste.[Ch] (grabSelection): take a const cursor
227 * cursor.C (selectionAsString): implement mathed case ((bug 2059)
229 2005-10-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
231 * text3.C (mathDispatch, dispatch): Dont' record undo steps that don't
234 2005-10-11 Martin Vermeer <martin.vermeer@hut.fi>
236 * BufferView_pimpl.C: comment layout change
238 2005-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
242 * lyxfunc.C: reimplement LFUN_INSERT_CITATION, which is needed
243 by bibliography managers (bug 2071).
245 2005-10-07 Martin Vermeer <martin.vermeer@hut.fi>
247 * BufferView_pimpl.C (update): choose arguments to update call so
248 that single-par update works most times
249 * text3.C (dispatch): carefully tune updating separately for
250 whole-screen and current-paragraph
251 * rowpainter.C (paintText): 1) replace painting by caching for
252 the two extra paragraphs, because we can;
253 2) suppress greying out of areas below/above drawn area in case of
255 * lyxfunc.C (dispatch): remove superfluous update
256 * LyXAction.[Ch]: introduce SingleParUpdate
258 2005-10-05 Angus Leeming <leeming@lyx.org>
260 * BufferView_pimpl.C (loadLyXFile): ensure that a pointer is
261 always initialised before use.
263 * text.C (setHeightOfRow): squash warning about comparison
264 of signed and unsigned types.
266 2005-10-03 Martin Vermeer <martin.vermeer@hut.fi>
268 * text.C (cursorX): two fixes involving RtL text drawing
270 2005-10-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
272 * cursor.C (erase): fix 'clever' UI hack. It was activated for all
273 items, not only large ones (part of bug 2057)
275 2005-10-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
277 * text3.C (dispatch): when invoking LFUN_MATH_MACRO with no type
278 argument, use "newcommand".
280 2005-09-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
282 * cursor.C (setSelection): do not open collapsable insets;
283 the insets do by themselves now (autoopen).
285 2005-09-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
287 * buffer.C: format is up to 244.
289 2005-09-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
291 * text.C (redoParagraph): fix calcultation of inset width wrt
292 leftMargin (bug 1957).
294 * text3.C (dispatch): leave inset to the right when hitting ESC
297 2005-09-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
302 * messages.C: include <boost/current_function.hpp>
304 2005-09-12 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
306 * lyxfunc.C (sendDispatchMessage): do not update menubar/toolbar
307 when command is internal. (bug 1941)
309 2005-09-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
311 * text2.C (cursorRight): do not honor boundary when at the end of
312 a paragraph. (bug 2010 again)
314 2005-09-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
316 * cursor.C (paste): do nothing if `data' is empty. (bug 2033)
318 2005-09-19 Martin Vermeer <martin.vermeer@hut.fi>
320 * rowpainter.C (paintText): fix RtL space width display bug (2029)
322 2005-09-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
324 * text2.C (setCursor): remove the unused 'boundary' parameter for
325 the CursorSlice version; adapt the LCursor version.
328 * paragraph_pimpl.C (markErased):
329 * cursor.C (bruteFind2, bruteFond3): fix warnings.
331 2005-09-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
333 * rowpainter.C (paintFirst): use a 'labeladdon' for TOP_* labels,
334 as is already done for "chapter".
336 2005-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
338 * lyxfunc.C (dispatch): LFUN_TEXTCLASS_APPLY: actually set the
339 textclass; do not record undo if nothing is changed.
341 2005-09-16 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
343 * text3.C (dispatch): recordUndo in LFUN_PASTESELECTION (#2011).
345 2005-09-14 Michael Gerz <michael.gerz@teststep.org>
347 * lyxfunc.C: update display after LFUN_ALL_INSETS_TOGGLE
349 2005-09-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
351 * BufferView_pimpl.C (setBuffer): when one wants to set the layout
352 combox, it is necessary to search for the topmost paragraph in the
353 cursor stack (bug 1926)
355 2005-09-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
357 * text2.C (cursorEnd, cursorRight): do not set boundary to true at
358 end of paragraph. (bug 2010)
360 2005-09-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
362 * text.C (leftMargin): check for inInset == 0
364 2005-09-10 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
366 * text.C (leftMargin): test for insetbase's new neverIndent()
367 bool instead of listing each and every inset that does not
368 wish par indendation.
370 2005-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
372 * buffer_funcs.C (setCounter): put the code to compute enum label
373 here (where it belongs).
375 * counters.C (enumLabel): move code to buffer_funcs.C.
377 2005-09-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
379 * outputparams.[Ch]: store local_font instead of local_language
380 * paragraph.C (simpleTeXOnePar): adapt to the change above
382 2005-09-08 Martin Vermeer <martin.vermeer@hut.fi>
385 * counters.[Ch]: clean up special code for Hebrew.
387 2005-09-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
389 * lyxfunc.C (lookupChange): fix code when cursor depth is greater
392 2005-09-08 Angus Leeming <leeming@lyx.org>
395 * lyxrc.C: correct grammar describing invocation of the
398 2005-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
400 * text.C (read): remove unused variable.
401 (readParToken): remove static Change variable (never good in
402 recursive settings...); add it as a parameter instead.
404 * paragraph_pimpl.C (acceptChange): make debug info conditional.
406 * metricsinfo.C (PainterInfo): add new member erased_.
408 * rowpainter.C (RowPainter): add erased_ member, initialized from
410 (paintInset): pass erased_ to Inset::draw.
412 * lyxfunc.C (lookupChange): new function. Tells whether change
413 tracking is disabled at a given postion.
414 (getStatus): disable some actions when in deleted text with change
417 2005-08-03 John Levon <levon@movementarian.org>
419 * tabular.C (appendColumn, setMultiColumn): adapt to change to
422 * paragraph_pimpl.C (markErased): add bool argument and handle it.
423 Also make sure to mark insets recursively.
424 (rejectChange, erase): be recursive
426 * paragraph.C (markErased): add bool argument.
427 2005-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
429 * lyxfind.C (findNextChange): tiny cleanup.
431 * BufferView_pimpl.C (trackChanges): avoid crash when stopping
432 change tracking with the cursor in an inset; make sure the first
433 change is not skipped.
435 2005-09-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
437 * CutAndPaste.[Ch]: new methods dirtyTabularStack and
438 tabularStackDirty to work around bug 1919 (tabular needs
439 to know whether its own cell paste buffer or the one of
441 * CutAndPaste.C: mark tabular_stack_ clean after copy.
443 2005-08-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
445 * text2.C (cursorEnd): check for empty text (fixes bug 1998)
447 2005-08-19 Lars Gullik Bjønnes <larsbj@gullik.net>
449 * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
450 use old deleteion algorithm when changetracking is on.
452 2005-08-18 Martin Vermeer <martin.vermeer@hut.fi>
454 * messages.C (get): add debug output.
456 2005-08-02 Martin Vermeer <martin.vermeer@hut.fi>
458 * text.C (cursorX): fix bug 1965: cursor movement at
459 line end broken in RtL.
460 (drawSelection): fix bug 1970: drawing of single-line
461 selection broken for RtL.
463 2005-07-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
467 * dociterator.h (clear, push_back, pop_back): change from
470 * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
471 and changed to just return the value of the item depth; take a
472 ParIterator as argument; take the itemdepth at outer nesting level
473 in account if necessary; cleanup and comment the code.
474 (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
475 and changed to just return true if reset is needed; take a
476 ParIterator as argument; cleanup and comment the code.
477 (setCounter): adapt to above changes.
479 2005-07-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
481 * text3.C (dispatch): make debug message optional
483 2005-08-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
485 * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
488 2005-08-02 Martin Vermeer <martin.vermeer@hut.fi>
490 * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
492 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
494 * text.C (insertChar):
495 * text2.C (deleteEmptyParagraphMechanism): take care whether
496 a blank has been deleted (in change tracking mode) (bug 1254).
498 2005-07-20 John Levon <levon@movementarian.org>
500 * text2.C (insertStringAsLines): remove old dubious code,
503 2005-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
505 * MenuBackend.C (expandToc): use Floating::listName() as title of
508 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
510 * toc.[Ch]: Do not use translatable strings (bug 1870).
512 2005-07-20 John Levon <levon@movementarian.org>
514 * tabular.C: fix 1748 - setting multicolumn adds
515 left line to the first cell
517 2005-07-19 Lars Gullik Bjønnes <larsbj@lyx.org>
520 * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
523 2005-07-18 Lars Gullik Bjønnes <larsbj@lyx.org>
525 * messages.C: supress some lyxerr messages
527 2005-07-18 Juergen Vigna <jug@lyx.org>
529 * text.C (drawSelection): honor boundary when asking for cursorX.
531 2005-07-17 José Matos <jamatos@fc.up.pt>
533 * tabular.C (recalculateMulticolumns): fix handling of one column
536 2005-07-17 Juergen Vigna <jug@lyx.org>
538 * text.C (Delete, backspace): fixed so that paragraph with the
539 same layout can be merged by Delete/Backspace.
541 2005-07-17 Michael Schmitt <michael.schmitt@teststep.org>
543 * text.C (readParToken): fix spelling.
545 2005-07-17 Martin Vermeer <martin.vermeer@hut.fi>
547 * text2.C: fix counter update for DEPM problem reported by
550 2005-07-17 Juergen Vigna <jug@lyx.org>
552 * BufferView_pimpl.C (setBuffer): save/restore the
553 cursor/selection when switching buffers
556 * buffer.C (saveCursor): add saveDocumentIterators to save the
557 cursor when switching buffer.
559 2005-07-17 Michael Schmitt <michqel.schmitt@teststep.org>
562 * buffer.C: clarify message
564 2005-07-17 Lars Gullik Bjønnes <larsbj@lyx.org>
566 * dociterator.C (DocIterator): fix initialization order
568 2005-07-17 Juergen Vigna <jug@lyx.org>
570 * text2.C (cursorHome):
571 * text.C (drawSelection, cursorX):
572 * dociterator.C (textRow): add boundary to getRow() call
574 * paragraph.C (getRow): implementation of below
576 * paragraph.h: add parameter boundary for getRow() function
578 2005-07-17 José Matos <jamatos@fc.up.pt>
582 * tex-strings.[Ch]: new file format, remove support for a4.sty,
583 a4wide.sty and a4widemargins.
585 2005-07-17 Juergen Vigna <jug@lyx.org>
587 * text2.C (cursorLeft): fix one of error
589 2005-07-17 Juergen Vigna <jug@lyx.org>
591 * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
593 more fixes for boundary handling
595 * text3.C (dispatch): don't reset cursor if boundary has changed
598 2005-07-16 Juergen Vigna <jug@lyx.org>
600 * text2.C (getColumnNearX): hopefully got it right now,
601 check if we are on column 0 for special case.
603 2005-07-16 Juergen Vigna <jug@lyx.org>
605 * text2.C (getColumnNearX): handle special case Newline Inset
607 * text.C (singleWidth): Just remove bogus check
609 2005-07-16 Michael Schmitt <michael.schmitt@teststep.org>
611 * funcrequest.C (split): avoid reading uninitialized char c
613 2005-07-16 José Matos <jamatos@fc.up.pt>
619 * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
620 single papersize variable.
622 2005-07-16 Juergen Vigna <jug@lyx.org>
624 * text3.C (dispatch): honor boundary when checking if a cursor
625 movement has been done
627 * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown)
628 (setCursor, setCursorIntern): fix cursor movement with boundary
630 2005-07-16 Juergen Vigna <jug@lyx.org>
632 * text.C (currentState): output the actual Boundary
634 2005-07-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
636 * factory.C (createInset): fix bad logic for tabular creation
638 2005-07-16 Lars Gullik Bjønnes <larsbj@lyx.org>
640 * lyx_main.C (init): change some reLyX reference to tex2lyx
642 2005-07-16 Juergen Vigna <jug@lyx.org>
644 * dociterator.C (DocIterator): initialize boundary
646 2005-07-16 Juergen Vigna <jug@lyx.org>
648 * text2.C (getColumnNearX): Consider rows without trailing blank.
650 2005-07-16 André Pönitz <poenitz@gmx.net>
652 * lyxfont.h: Change order of declarations to give the compiler
653 a better chance to inline things
655 * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
656 questions on unsaved docs for better scritability
658 2005-07-16 André Pönitz <poenitz@gmx.net>
660 * paragraph.h (getChar): remove asserts as the same kind of security
661 can be achieved by using a suitable standard library implementation
662 and the function was in the critical path (25.9% in profiler)
664 2005-07-16 Juergen Vigna <jug@lyx.org>
666 * cursor.C (bruteFind2):
667 * bufferview_funcs.C (coordOffset):
668 * text.C (cursorX,cursorY): Handle cursor position after last char
669 in row before a inset which uses a whole row.
671 2005-07-15 José Matos <jamatos@lyx.org>
673 * output_plaintext.[Ch] (writeFileAscii): control reference title
675 (asciiParagraph): noparbreak was already deal and was incorrectly
678 2005-07-15 Juergen Vigna <jug@lyx.org>
680 * lyxfunc.C (dispatch): save and restore the cursor after a
683 2005-07-15 Lars Gullik Bjønnes <lgb@tandberg.net>
685 * text.C (backspace): bug 806 for empty keepempty paragraphs we
686 change the layout to default before letting DEPM do its thing.
688 * paragraph_funcs.C (breakParagraph): dont reset the layout on
691 * text.C (setCursorFromCoordinates): add a debug statement
693 * text2.C (getColumnNearX): bug 1825 make sure that we don't
694 return a pos that is not on the row
696 * output_latex.C (TeXDeeper): get rid of potential dereferencing
697 of past the end iterator
699 2005-07-14 André Pönitz <poenitz@gmx.net>
701 * undo.C (recordUndoFullBuffer): implement undo for
704 2005-07-14 André Pönitz <poenitz@gmx.net>
706 * cursor.C (setSelection): open insets when selection is set there
707 to avoid crashs with cold coord cache
709 2005-07-14 André Pönitz <poenitz@gmx.net>
711 * trans_mgr.C (insert): move cursor to the right after inserting
714 2005-07-14 Lars Gullik Bjønnes <larsbj@lyx.org>
716 * BufferView_pimpl.C (update): dampen some of the debug blabbering
717 * factory.C (readInset): ditto
718 * text.C, text2.C: ditto
720 2005-06-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
722 * buffer.C: format incremented to 242. There is no file format per
723 se, but the "frenchb" language has been removed from lib/language
724 and has to be translated to "french" by lyx2lyx.
726 2005-07-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
728 * cursor_slice.h, dociterator.h: add some documentation
729 * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
731 2005-07-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
733 * text.C (leftMargin): do not add identation to display() style
734 insets, because they are always centered (bug 1293).
736 2005-07-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
738 * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
739 formatted_time methods in support/lyxtime.
741 2005-07-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
743 * toc.[Ch]: new method getGuiName, which is used by the frontends
744 to set the toc combo (fixes bug 1870). Make TOC string translatable.
746 2005-07-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
748 * dociterator.[Ch]: implement operator==(StableDocIterator const &,
749 StableDocIterator const &)
750 * undo.C (recordUndo): use the above instead of cell.size() comparison
751 (fixes bug 1808; instructed by Andr�.
753 2005-06-29 Martin Vermeer <martin.vermeer@hut.fi>
756 * dociterator.h: Fix the assert when copying rows/cols in math
758 2005-06-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
760 * BufferView_pimpl.C:
762 * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
764 * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
765 (findInset): new functions, refactored from goto Inset that return
766 the position of a certain inset without setting the buffer's cursor
768 (gotoInset): rewrite to call findInset and then set the cursor
771 2005-06-16 Angus Leeming <leeming@lyx.org>
773 * lyxrc.C (output, read): wrap all input and output of paths with
774 calls to os::internal_path and os::external_path, respectively.
775 (output): wrap bind_file inside quotes.
777 * format.C (view): enable the viewer to use the '$$s' placeholder.
779 2005-06-16 Georg Baum <Georg.Baum@post.rwth-aachen.de>
781 * LColor.[Ch] (getFromLaTeXName): new
783 2005-06-16 Martin Vermeer <martin.vermeer@hut.fi>
785 * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
787 2005-06-14 Angus Leeming <leeming@lyx.org>
789 * lyx_main.C (init): ensure that the LyX binary dir is the first
790 element in the PATH on non-POSIX builds.
792 2005-06-11 Georg Baum <Georg.Baum@post.rwth-aachen.de>
794 * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
796 2005-06-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
798 * rowpainter.C (paintInset, paintHebrewComposeChar)
799 (paintArabicComposeChar, paintChars): add a LyXFont argument.
800 (paintChars): use getFontSpan to reduce calls to getFont to a
801 minimum; use Paragraph::lookupChange instead of isXXXText.
802 (paintForeignMark): rename LyXFont argument.
803 (paintFromPos): pass a LyXFont object to the various paintXXX
806 * FontIterator.C (FontIterator, operator++): use
807 Paragraph::getFontSpan
809 * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
810 version that returns the font span as a pair.
812 2005-06-09 Angus Leeming <leeming@lyx.org>
814 * converter.C (convert): Don't forget "outfile = real_outfile" as
815 the final step in a conversion where the input and output file names
816 are the same. Otherwise, future conversion steps won't work...
818 2005-06-09 Angus Leeming <leeming@lyx.org>
820 * lyxsocket.C: remove stub code as it isn't needed by
821 MinGW/MinSYS anyway. Let's see if the MSVC people scream...
823 2005-06-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
825 * lyx_main.C (parse_execute): Fix last fix: is_gui = false
826 effectively disabled -x
828 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
830 * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
831 when it actually makes sense.
833 2005-06-06 Martin Vermeer <martin.vermeer@hut.fi>
835 * BufferView_pimpl.C: revert to showCursor in connection with
836 Lars's front-end stack
838 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
840 * text.C (redoParagraph): move cursor right after a bibitem
843 * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
845 2005-06-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
847 * buffer_funcs.C (bufferErrors): fix computation of the end of an
850 2005-05-31 Martin Vermeer <martin.vermeer@hut.fi>
852 * BufferView.[Ch] (update):
853 * BufferView_pimpl.[Ch] (update, metrics):
854 * dimension.h (operator==):
855 * lyxfunc.C (dispatch):
856 * metricsinfo.h (ViewMetricsInfo):
857 * rowpainter.C (paintText):
859 * text.C (redoParagraph):
860 * text3.C (dispatch): Make LyX only repaint current paragraph in
861 case of character insert --> speedup. Also fix cursor draw
864 2005-05-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
866 * bufferview_funcs.C (gotoInset): fix the wrap-around code to
867 avoid a crash (bug 1891)
869 2005-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
873 * text2.C (getStringToIndex): constify cur argument.
875 * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
876 argument has been given
877 (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
878 try to invoke LFUN_INSET_APPLY).
880 * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
881 if no inset was created by doInsertInset
882 (doInsertInset): return true if an inset has been inserted.
884 2005-05-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
886 * vspace.C (asGUIName): new method. A version of the space
887 suitable for showing on screen.
889 2005-05-20 Michael Schmitt <michael.schmitt@teststep.org>
892 * lyxrc.C: rename "ASCII" to "Plain Text"
894 2005-05-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
896 * buffer_funcs.C (expandLabel): take a Buffer as argument;
897 translate the labelstring.
898 (setCounter): translate labelstring as needed.
900 * output_docbook.C (makeCommand): fix expandLabel invokation
902 2005-05-14 Michael Schmitt <michael.schmitt@teststep.org>
904 * BufferView.C: fix dialog title
906 2005-05-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
908 * lyx_main.C (priv_exec): fix logic error with help from Angus
909 * lyx_main.C (parse_execute): set is_gui = false and remove now
910 obsolete comment about a segfault
912 2005-05-18 Angus Leeming <leeming@lyx.org>
914 * buffer.C (readFile): Quote all file names passed to lyx2lyx.
916 2005-05-12 Martin Vermeer <martin.vermeer@hut.fi>
918 * tabular.[hC]: added setCellInset to fix tabular paste.
920 2005-05-11 Lars Gullik Bjønnes <larsbj@gullik.net>
922 * buffer.C (save): check if destination is writable before trying
925 2005-05-11 Martin Vermeer <martin.vermeer@hut.fi>
927 * BufferView_pimpl.C (update): fix processEvents -caused update
930 2005-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
932 * buffer_funcs.C (setCounter): fix test for numbering of
935 * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
936 depth correctly; use optional argument when it exists
938 * lyxtextclass.C: remove unused MaxCounterTags enum
939 (Read): compute min_toclevel_ and max_toclevel_ after reading class.
940 (max_toclevel, min_toclevel): new methods.
942 * MenuBackend.C (expandToc2): fix case where depth is smaller than
943 the smallest depth in toc.
945 * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
946 layouts that should not appear in a table of contents.
948 2005-05-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
950 * cursor.h (undispatched, noUpdate): add comments from Andr�
951 2005-05-07 Michael Schmitt <michael.schmitt@teststep.org>
955 * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
957 2005-05-07 André Pönitz <poenitz@gmx.net>
959 * cursor.[Ch] (leaveInset): new function
961 2005-05-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
963 * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
965 2005-05-04 Angus Leeming <leeming@lyx.org>
967 * lyxfunc.C (getStatus): disable the spell checker dialog if
968 none of USE_[AIP]SPELL are defined.
970 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
972 * tabular.C (setWidthOfCell): remove obsolete comment
974 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
976 * paragraph.C (bibitem):
977 * buffer_funcs.C (setCounter):
978 * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
980 2005-05-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
982 * text3.C (getStatus): immediately return after setOnOff
984 * rowpainter.C: fix drawing of appendix start
986 2005-05-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
988 * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
989 SwitchBetweenClasses and remove the unused return value.
990 Handle character styles, too
992 2005-05-03 Martin Vermeer <martin.vermeer@hut.fi>
994 * factory.C (createInset): handle undefined character styles
996 2005-05-02 Angus Leeming <leeming@lyx.org>
998 * buffer.C: protect the #include of utime.h with a preprocessor
1001 2005-05-02 Angus Leeming <leeming@lyx.org>
1003 * lyx_cb.C: artificially define fork() on Windows as a no-op failing
1004 function so that auto-saving works, albeit in a blocking manner.
1006 * Makefile.am: make compilation of the client sub directory, of
1007 aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
1008 on conditionals set at configure time.
1010 * SpellBase.[Ch]: no longer an abstract base class. Instead,
1011 it can be compiled in its own right but has no-op functionality.
1013 * aspell.C, pspell.C: remove preprocessor guards. The files should
1014 be compiled only if the necessary functionality exists.
1016 * lyxserver.C, lyxsocket.C: disable on Windows.
1018 2005-05-01 Martin Vermeer <martin.vermeer@hut.fi>
1020 * text.C (leftMargin): Fix the parindent use bug (1764)
1023 2005-04-28 Michael Schmitt <michael.schmitt@teststep.org>
1025 * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
1028 2005-04-25 Angus Leeming <leeming@lyx.org>
1036 include <config.h> in .C files, not .h ones.
1038 protect headers inside preprocessor guards.
1040 2005-04-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1042 * FuncStatus.h (StatusCodes): document
1044 2005-04-21 André Pönitz <poenitz@gmx.net>
1046 * FuncStatus.h (enabled, onoff): document
1048 2005-04-19 Angus Leeming <leeming@lyx.org>
1050 * BufferView_pimpl.C (cursorToggle): no longer test whether
1051 any child processes have been reaped before calling
1052 handleCompletedProcesses().
1054 2005-04-19 Martin Vermeer <martin.vermeer@hut.fi>
1056 * text3.C (dispatch): fix, finally fix, the language problem in
1057 new lyxtexts, without disabling on-the-fly font changes (Helge's
1060 2005-04-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1062 * text3.C (dispatch): set cursor on double/triple click events
1065 2005-04-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1067 * lyxfunc.C (actOnUpdatedPrefs): avoid warning
1068 (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
1070 * rowpainter.C (paintFirst): simplify the code a little bit. In
1071 particular, remove the test for secnumdepth.
1072 * text.C (setHeightOfRow): only allocate space for chapter number
1073 when updateCounters provided an actual label, instead of looking
1074 at secnumdepth directly.
1076 * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
1078 * buffer_funcs.C (setCounter): only number LABEL_COUNTER
1079 paragraphs when secnumdepth is large enough or, for environments,
1080 when they are not the first in a sequence.
1082 2005-04-17 Angus Leeming <leeming@lyx.org>
1084 * buffer.C (makeLaTeXFile): replace code to manipulate a path
1085 containing space and '~' characters with a call to latex_path().
1087 2005-04-17 Angus Leeming <leeming@lyx.org>
1089 * converter.C (convert): protect all args of convertDefault.sh
1092 2005-04-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1094 * text3.C (dispatch): change the layout to "Caption" after inserting
1097 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
1099 * text3.C (dispatch): fix language problem in newly created
1100 textinsets (and main text) in non-english docs
1102 2005-04-13 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1104 * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
1105 * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
1106 * text3.C (getStatus): disable LFUN_INSET_MODIFY
1108 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
1112 * text2.C (getFont):
1113 * rowpainter.C (getFont): Fix metrics bug introduced by inset
1116 2005-04-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1118 * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
1119 output of \item arguments without trailing text.
1121 2005-04-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1123 * FontIterator.C (operator*): avoid a copy of the font.
1125 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
1127 * rowpainter.C (getFont): fix language bug from previous fix
1129 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
1131 * rowpainter.C (RowPainter, getFont): fix font inside inset
1134 2005-04-06 Martin Vermeer <martin.vermeer@hut.fi>
1136 * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
1137 preventing inserted font, deco, delim insets jumping to start of
1140 2005-03-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1142 * lyxfunc.C (dispatch): translate message before sending it to the
1145 2005-03-29 Angus Leeming <leeming@lyx.org>
1147 * lyx_main.C (priv_exec): call os::internal_path on each file passed
1148 to LyX on the command line.
1150 2005-03-25 Stephan Witt <stephan.witt@beusen.de>
1152 * vc-backend.C: use QuoteName to protect file names wherever
1155 2005-03-27 Martin Vermeer <martin.vermeer@hut.fi>
1158 * BranchList.h: fix bugs 1844,1845: document settings don't
1161 2005-03-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1163 * lyxrc.C (setDefaults, read, output, getDescription): add support
1164 for tex_allows_spaces.
1166 * exporter.C (Export): allows files in directory containing spaces
1167 if tex_allows_spaces is true.
1169 * buffer.C (makeLaTeXFile): if the document path contains spaces,
1170 output it in double quotes.
1172 2005-03-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1174 * rowpainter.C: use default text height for drawing change tracker
1177 2005-03-21 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1179 * lyx_main.C: fix binding of tabulator key (especially S-Tab).
1181 2005-03-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1183 * lyx_main.C (queryUserLyXDir): fix logic when LyX support
1184 directory is missing.
1186 2005-03-11 Martin Vermeer <martin.vermeer@hut.fi>
1188 * text2.C: fixed the fix, extended to other case.
1190 2005-03-08 Martin Vermeer <martin.vermeer@hut.fi>
1192 * text2.C: fix for cursor up/down stuck in math [bug 1792]
1194 2005-03-07 Alfredo Braunstein <abraunst@lyx.org>
1196 * text2.C (cursorUp): get rid of a crash
1197 * text.C (x2pos): add an assert
1199 2005-03-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1201 * lyxfunc.C (getStatus): fix warning when assertions are disabled
1205 * dociterator.C: include <boost/current_function.hpp>, which is
1206 needed when assertions are disabled.
1208 2005-03-05 Johnathan Burchill <jkerrb@users.sourceforge.net>
1210 * text2.C: fix for stuck cursor when traversing two
1211 consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
1213 2005-02-25 Andreas Vox <avox@arcor.de>
1215 * output_docbook.C (makeParagraph): suppress trailing newline
1216 after a run of paragraphs
1218 2005-02-28 Johnathan Burchill <jkerrb@users.sourceforge.net>
1220 * paragraph.C: fix for confused change tracker when pasting
1221 text that begins with a lineseparator. [bug 1827]
1222 (setChange(0, Change::INSERTED);)
1224 * paragraph_funcs.C: fix for lost changes on triple-paste
1225 in change tracking mode [bug 1827] (par.setChange()).
1227 2005-02-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1229 * text2.C (updateCounters, setCounter, expandLabel): move to
1232 * buffer_funcs.C (updateCounters): turn into a free standing
1233 function and add a buffer parameter. Remove dead code for tracking
1235 (setCounter): change into a free-standing function which gets a
1236 dociterator as argument. Use this iterator to fix captions in a
1237 simple way. When no float is found above the caption, use the
1238 labelstring of the caption layout as default.
1240 * text.C (breakParagraph, backspace):
1241 * text2.C (init, setLayout, changeDepth):
1242 * text3.C (dispatch):
1243 * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
1246 * dociterator.C (forwardPar): make it much faster by calling
1247 forwardPos() only when really necessary.
1249 * output_docbook.C (makeCommand): adapt to expandLabel move.
1251 * cursor.C: remove unused variable
1253 2005-02-24 Johnathan Burchill <jkerrb@users.sourceforge.net>
1255 * paragraph_funcs.C: fix crash when pasting insets in change
1256 tracking mode [bug 1277] (honour change type in moveItem).
1258 2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1260 * LaTeX.C (scanLogFile): recognize pdfTeX warnings
1262 2005-02-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1264 * BufferView.C (setCursor): change to use a DocIterator.
1265 (gotoLabel): use BufferView::setCursor (other part of bug 781).
1266 (putSelectionAt): adapt to BufferView::setCursor change.
1268 * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
1269 moved here from LyXText and rewritten to use proper cursor
1270 methods. Fixes bug 1787, 616 and 835.
1272 * BufferView_pimpl.C (restorePosition): set the cursor correctly
1273 when inside an inset (part of bug 781).
1274 (dispatch): adapt to change of BufferView::setCursor.
1275 (getStatus, dispatch): handle LFUN_GOTOERROR,
1276 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1278 * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
1279 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1280 * text3.C (gotoNextInset, gotoInset): removed.
1282 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1284 * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
1286 2005-02-15 Angus Leeming <leeming@lyx.org>
1288 * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
1289 can be used meaningfully in a comparison.
1291 2005-02-13 André Pönitz <poenitz@gmx.net>
1293 * bufferview_funcs.C (coordOffset): improve cursor drawing
1295 2005-02-13 André Pönitz <poenitz@gmx.net>
1297 * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
1298 * Cursor.C (dispatch): use fixIfBroken
1299 * lyxfunc.C (getStatus): use fixIfBroken
1301 2005-02-15 Angus Leeming <leeming@lyx.org>
1303 * lyx_main.C (error_handler):
1305 * lyxrc.C (setDefaults):
1307 #include "environment.h".
1309 * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
1311 2005-02-15 Angus Leeming <leeming@lyx.org>
1313 * lyxserver.C (startPipe): squash MSVC warning "local variable
1314 'fd' used without having been initialized".
1316 2005-02-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1318 * BufferView_pimpl.C: revert accidental commit.
1320 2005-02-14 André Pönitz <poenitz@gmx.net>
1322 * dociterator.[Ch]: new member forwardPosNoDescent(),
1323 which doesn't enter nested insets.
1324 * text2.C (setFont): use forwardPosNoDescent() instead
1325 of ForwardPos() (fixes crash on font change).
1327 2005-02-13 Angus Leeming <leeming@lyx.org>
1329 * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
1330 only if lyxrc.path_prefix is not empty.
1332 2005-02-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1334 * bufferparams.C (readGraphicsDriver): prevent crash
1336 2005-02-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1338 * text2.C (setCounter): check for inInset() == 0
1340 2005-02-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1342 * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
1343 but use update() to get correct screen display; use convert
1344 instead of istringstream.
1345 (getStatus): handle LFUN_GOTO_PARAGRAPH
1347 * lyxfunc.C (dispatch, getStatus): do not handle
1348 LFUN_GOTO_PARAGRAPH here.
1350 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1352 * text3.C (dispatch): size() -> depth()
1354 * text2.C: remove some debug output
1356 * paragraph.C: ws changes only
1358 * lyxfunc.C (getStatus): size() -> depth()
1360 * dociterator.h (clear, push_back, pop_back, internalData,
1361 operator[], resize, empty): new functions
1362 Make StableDocIterator and operator== be friends. Don't inherit
1363 from std::vector use a privat class variable slices_ instead.
1366 * dociterator.C: update because of not inheriting from std::vector
1367 anymore. Call explictly to slices_ instead. Use depth() instead of
1368 size() and top() instead of back()
1370 * cursor.C: chagne size() -> depth and back() -> top(). Also
1371 remove some direct operator[](i) calls in favour of foo[i]
1372 (getFont): remove some dead code
1374 * bufferview_funcs.C (coordOffset): size() -> depth()
1376 * buffer.C: ws changes only
1378 * CutAndPaste.C (eraseSelection): back() -> top()
1380 * BufferView_pimpl.C (selectionRequested): back() -> top()
1382 * BufferView.C (setCursor): size() -> depth()
1384 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1386 * text3.C (cursorPrevious): return true if depm changed something
1388 (dispatch): rename sl to oldTopSlice, remove moving use the new
1389 NoUpdate func attrib instead. Make sure that needsUpdate is set
1390 for function that have NoUpdate, but where depm might have changed
1393 * text2.C (cursorLeft): make us return true if depm changed
1395 (cursorRight): ditto
1396 (cursorUpParagraph): ditto
1397 (curosrDownParagraph): ditto
1398 (cursorUp, cursorDown): ditto, make sure to read comments in code
1399 (deleteEmptyParagraphMechanism): remove an assert, also return
1400 true if just a single char was deleted.
1402 * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
1403 cursor that we modify, to avoid modifying an active cursor before
1404 we call setCursor. This allows depm to run. Also return true if
1405 depm deleted something.
1407 * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
1408 cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
1409 cursorDownParagraph, cursorPrevious and cursorNext, return true if
1410 something was changed in the buffer because of them (ie. depm run)
1412 * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
1413 debug messages. Make update by default be false. Make sure that
1414 the result of update is retained throught several calls down to
1417 * LyXAction.h: add a new func_attrib: NoUpdate
1419 * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
1420 LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
1421 LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
1423 (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
1425 2005-02-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1427 * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
1428 bv_->owner(), bv_->buffer() by direct references to the private
1430 (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
1431 (getStatus): isSavedPosition() is in BufferView::Pimpl.
1432 (fitCursor): center() is in BufferView::Pimpl.
1433 (getStatus, trackChanges, dispatch): no need for a temporary buf
1435 (fitCursor, workAreaDispatch): use workarea().workheight()
1437 2005-02-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1439 * CutAndPaste.C (pasteSelectionHelper): fix a crash
1441 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1443 * buffer.C: format up to 241.
1444 * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
1445 break if pasting into ERT
1446 * lyxfunc.C (getStatus): suppress mathpanel and
1447 LFUN_DIALOG_SHOW_NEW_INSET in ERT
1449 2005-02-01 Angus Leeming <leeming@lyx.org>
1451 * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1453 2005-02-01 Angus Leeming <leeming@lyx.org>
1455 * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1456 calling fs::is_directory().
1458 2005-01-31 Angus Leeming <leeming@lyx.org>
1460 * lyx_main.C (priv_exec): specify explicitly the relative location
1461 of the top level build directory when run in-place.
1463 2005-01-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1465 * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1466 LyXText containing the cursor, not the top-level one.
1468 * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1470 (insertStringAsLines): rename par to pit; use temporary variable
1471 par to hold a Paragraph; do not store par.layout() in a variable,
1472 since the pointer may die when breaking paragraphs; pass pars to
1473 breakParagraph() instead of Buffer::paragraphs().
1475 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1477 * lyxlex_pimpl.h: #include <fstream>.
1479 * BufferView.[Ch] (getLyXText): add a const version.
1481 * BufferView_pimpl.C: add debug aids.
1486 * paragraph_funcs.h: add commentary explaining what the class does.
1489 * coordcache.[Ch]: add lots of commentary.
1490 (startUpdating, doneUpdating): debug aids.
1491 (arrays, insets, parPos, getParPos): accessors to private data.
1493 * cursor_slice.[Ch] (text): add a const version.
1494 * dociterator.[Ch] (text, innerText): add const versions.
1496 * lyxtext.h (breakParagraph): change the keep_layout arg to a
1499 * paragraph.C (getRow, pos2ros): add asserts.
1501 * paragraph.h: add commentary. Lots of.
1503 * paragraph.[Ch] (metrucs, draw): removed.
1506 * rowpainter.[Ch]: const-correct changes.
1508 * text.C: various obvious clean-ups. Removal of ancient cruft.
1511 2005-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
1513 * vc-backend.C (find_file): rewrite to use boost.filesystem
1516 * main.C (main): set default name check for boost.filesystem to
1519 * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1522 (actOnUpdatedPrefs): ditto
1524 * lyx_main.C (init): rewrite to use boost.filesystem
1525 (queryUserLyXDir): ditto
1527 * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1528 (getContentsOfAsciiFile): ditto
1530 * lastfiles.C (readFile): rewrite to use boost.filesystem
1532 * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1534 * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1535 (loadLyXFile): ditto
1537 * buffer.C (Buffer): adjust for destroydir
1538 (getLogName): rewrite to use boost.filesystem
1539 (setFileName): ditto
1540 (save): use fs::copy_file (from fs_extras)
1542 * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1544 * LaTeX.C (run): rewrite to use boost.filesystem
1545 (scanAuxFiles): ditto
1546 (handleFoundFile): ditto
1548 2005-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1550 * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1552 * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1554 2005-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1556 * lyxlayout.[Ch]: change some vars from float to double
1558 * buffer.C (readFile): make a local var const
1560 * Several files: use convert<> instead of atoi,strToXXX and friends
1562 2005-01-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1564 * LaTeXFeatures.[Ch]: Add a static list packages_ that
1565 holds the contents of packages.lst. New functions getAvailable
1566 and isAvailable to parse and check that list, resp.
1570 * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1572 * bufferparams.[Ch]: new param output_changes.
1574 * Buffer.C: increase file format to 240.
1575 Use output_changes and isVailable.
1579 * paragraph_pimpl.C: Use output_changes and isVailable.
1581 2005-01-23 Angus Leeming <leeming@lyx.org>
1583 * output_latex.C: #include "insetbibitem.h", rather than
1584 forward declare function bibitemWidest.
1586 2005-01-21 Andreas Vox <vox@isp.uni-luebeck.de>
1588 * lyx_main.C (init): make it compile on the Mac.
1590 2005-01-20 Angus Leeming <leeming@lyx.org>
1592 * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1593 (setLyXMisc): (char string literal) != (char string literal) is
1594 performing a comparison on the addresses. Convert one operand
1595 explicitly to string to guarantee expected behaviour.
1598 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1601 * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1603 * output_plaintext.C: remove unneeded #include gzstream.h.
1605 2005-01-20 Angus Leeming <leeming@lyx.org>
1607 * SpellBase.h: rename some of the elements of the Result enum.
1614 * pspell.C (check): ditto
1616 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1618 * buffer.C: add #include <fstream>.
1620 * lyx_main.C (init): Compile fix.
1622 * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1624 2005-01-20 Angus Leeming <leeming@lyx.org>
1626 * mover.h: change commentary to reflect the changed meaning of
1627 the $$s placeholder.
1629 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1631 * output_linuxdoc.C (linuxdocParagraphs): silence warning
1633 * lyxfind.C (MatchString::operator()): remove bogus semicolon
1635 2005-01-20 Angus Leeming <leeming@lyx.org>
1637 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1638 printing diagnostic data by not dereferecing an iterator past the
1641 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1643 * buffer.C (readHeader): use "&&" rather than "and".
1645 * lyxserver.h (inPipeName, outPipeName): make these const.
1647 2005-01-19 Angus Leeming <leeming@lyx.org>
1649 * lyx_main.C (error_handler, init): protect SIGHUP with
1650 #ifdef SIGHUP guards.
1652 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1654 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1656 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1658 * text.C (setHeightOfRow): add a margin at the top and bottom of
1659 the document (bug 1761)
1661 2005-01-17 Angus Leeming <leeming@lyx.org>
1663 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1664 with "python ". Workaround for a brain-dead Windows.
1666 2005-01-16 Angus Leeming <leeming@lyx.org>
1668 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1669 for MacOSX and Windows to use prependEnvPath.
1670 Strip out the hard-coded block to add elements to the PATH for
1671 MacOSX and replace it with a call to prependEnvPath using the
1672 contents of LyXRC::path_prefix.
1673 (queryUserLyXDir): strip out the code to run reconfigure, instead
1674 returning a boolean indicating the necessity to do so.
1675 (reconfigureUserLyXDir): contains the code to reconfigure the
1676 user support directory. Is now called after the various LyXRC data
1677 files have been read.
1679 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1681 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1683 * converter.[Ch] (convert): take a new parameter try_default. Use
1684 a default converter (imagemagick) if try_default is true.
1686 2005-01-13 Angus Leeming <leeming@lyx.org>
1688 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1689 os::cygwin_path_fix.
1690 (write): output LyXRC::cygwin_path_fix as necessary.
1692 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
1695 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1697 2005-01-12 Angus Leeming <leeming@lyx.org>
1699 * lyx_main.C (init): set the PATH variable to include the
1700 directory containing the LyX binary when running on Mac or Windows.
1702 2005-01-12 Angus Leeming <leeming@lyx.org>
1704 * lyx_main.C (init): remove cruft that purports to set the locale
1705 dir. It doesn't and is not needed anyway.
1707 2005-01-10 Angus Leeming <leeming@lyx.org>
1709 * Makefile.am: remove the lyx_main.C special casing.
1711 * BufferView_pimpl.C:
1717 * messages.C: use support/package.h to provide the paths to the
1718 various directories used by LyX.
1720 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1722 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1723 layout if pasting into an empty paragraph)
1725 2005-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
1727 * tex-accent.C: add <string>
1729 2005-01-06 José Matos <jamatos@lyx.org>
1731 * ParagraphParameters.C (write): put every parameter in its own line.
1732 * paragraph.C (write): reduce number of consecutive empty lines exported.
1733 * buffer.C (LYX_FORMAT): increase file format to 239.
1735 2005-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1737 * everywhere: change support/tostr.h -> support/convert.h
1739 * tabular.C: make all write_attributes templates, tostr -> convert
1741 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1742 (emptyTag): and -> &&, and fix type for ret from getChar
1743 (getFirstWord): fix type for ret from getChar
1744 (onlyText): and -> &&
1745 (simpleDocBookOnePar): and not -> && !, fix type for ret from
1748 * toc.C (goTo, action):
1749 * text3.C (dispatch):
1750 * text.C (currentState):
1751 * tex-accent.C (DoAccent):
1754 * lyxfunc.C (menuNew):
1755 * lyxfinc.C (replace):
1756 * counters.C (laberItem):
1757 * bufferview_funcs.C (font2string):
1758 * bufferparams.C (writeFile):
1759 * buffer.C (readFile):
1761 * MenuBackend.C: tostr -> convert
1763 * LaTeX.C (runMessage): fix format
1764 (scanAuxFiles): tostr -> convert
1766 * BufferView_pimpl.C (savePosition): fix format
1767 (restorePosition): ditto
1770 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1772 * Spacing.[Ch]: New method getValueAsString().
1776 * ParagraphParameters.C:
1779 * text3.C: store/read spacing value as string.
1781 * rowpainter.C: change float value (spacing_val) to double.
1783 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1784 broken custom document spacing).
1786 2005-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
1788 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1789 namespace, also more use of temp references and const
1791 * cursor.[Ch] (getStatus): move to lyxfunc.C
1793 * bufferparams.C: reformat slightly
1795 * bufferview_funcs.C (font2string): constify arg
1801 * buffer_funcs.C: (many funcs): constify arg on function
1802 definitions, also make more local vars const, also add ASSERTS on
1805 * buffer.C (LYX_FORMAT): put const in correct place
1806 (many funcs): constify arg on function definitions, also make
1807 more local vars const
1809 * aspell_local.h: remove "struct" from typdef setup
1811 * aspell.C (check): make word_ok const
1812 (nextMiss): simplify slightly
1815 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1817 * lyxrc.[Ch]: store all float values as strings.
1818 use int (not float) for lyxrc.dpi.
1820 2005-01-04 Angus Leeming <leeming@lyx.org>
1822 * lyx_cb.C (Reconfigure):
1823 * lyx_main.C (queryUserLyXDir):
1824 to run the <system_lyxdir>/configure correctly on Windows, prefix
1825 the path to the script with "sh " when generating the string that
1826 is passed to system().
1828 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1830 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1832 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1834 * lyxlength.C (asLatexString): get rid of setprecision
1836 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1838 * text2.C (setLayout): remove unused variable endpit.
1839 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1841 * paragraph.C (onlyText): remove unused variable style.
1843 * cursor.C (bruteFind): remove unused variables beg and end.
1845 * Makefile.am (dist_noinset_DATA): not needed anymore
1847 * cheaders/*: remove.
1849 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1851 * text3.C: fix LFUN_MATH_MODE.
1853 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1855 * buffer_funcs.C (countWords): new function. Counts words between
1858 * BufferView_pimpl.C (getStatus, dispatch): handle
1861 * LyXAction.C (init):
1862 * lfuns.h: add LFUN_WORDS_COUNT.
1864 2004-12-19 Angus Leeming <leeming@lyx.org>
1866 * buffer.C (save): s/slashify_path/internal_path/.
1868 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1870 * lyxfind.C (findChange): do not search for end of pars, because
1871 the change tracker cannot handle this (fixes bug 1719).
1873 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
1875 * paragraph.[Ch] (autoBreakRows): remove
1877 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1879 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1880 avoid using the paragraph one
1882 * text2.C (LyXText, insertStringAsLines): adjust
1884 2004-12-16 Angus Leeming <leeming@lyx.org>
1888 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1890 2004-12-14 Angus Leeming <leeming@lyx.org>
1892 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1894 * bufferlist.C (emergencyWrite):
1895 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1898 2004-12-14 Angus Leeming <leeming@lyx.org>
1900 * main.C: (main): no longer pass pointers to os::init.
1902 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1904 * undo.C (textUndoOrRedo): simplify logic, fix a crash
1905 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1907 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1910 * text3.C: remove selection_possible global flag
1912 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1914 * text2.C (getSelectionSpan): remove
1915 (changeDepth, changeDepthAllowed): adjust
1917 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
1919 * Makefile.am (BOOST_LIBS): use boost variables
1921 2004-12-03 José Matos <jamatos@lyx.org>
1923 * buffer.C: format up to 238.
1925 2004-12-03 José Matos <jamatos@lyx.org>
1927 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1929 2004-12-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1931 * cursor.C (goUpDown): remove call to idxUpDown2
1933 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1935 * tabular.[Ch]: use size_t-like types for cell, row and column
1938 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1940 * lyxfunc.C (getStatus): do not lose previous information when
1941 calling BufferView::getStatus; do not set a default "Command
1942 disabled" message at the beginning, but just before returning.
1944 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1946 * cursor.h (getStatus): add better comment from src/cursor.C
1948 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1950 * text3.C (getStatus): return false when the lfun is not handled
1952 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1954 * broken_headers.h: remove
1956 * Makefile.am (lyx_SOURCES): remove broken_headers.h
1958 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1960 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1961 offset_ref accessors
1963 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1964 top_y_, merge fitcursor with update
1965 (updateScrollbar, scrollDocView, fitCursor, center, update): new
1967 (metrics): introduce
1968 (workAreaDispatch): adapt to new coord scheme
1969 (redoCurrentBuffer): remove
1971 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1973 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1976 * coordcache.[Ch]: add paragraph cache and helpers
1978 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1981 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1982 (targetX, setTargetX): introduce
1984 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1985 baseline -> ascent, as the rest of lyx
1987 * lyxtext.h: remove redoParagraphs, updateParPositions,
1988 fullRebreak, redoParagraphInternal. move dist to anon namespace in
1989 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1990 have ascent/descent (ascent is ascent of first par)
1992 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1995 * paragraph.[Ch]: unify dimension handling with the rest of lyx
1997 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1999 * pariterator.C: fix infinite loop introduced in par->pit renaming
2001 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
2002 in insets and LyXText, draw two off-screen paragraphs using
2003 NullPainter, and adapt to new coord scheme
2007 * text3.C: adapt lfun handlers to the new coord scheme, which
2008 means: there's only guaranteed coord information for onscreen pars
2009 plus one above and one below. This implies that one can do search
2010 from y coordinates in the range [-1,workHeight]
2012 2004-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2014 * rename a lot of InsetOld to InsetBase
2016 2004-11-25 Angus Leeming <leeming@lyx.org>
2018 * BufferView_pimpl.C:
2020 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
2022 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2024 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
2025 call BufferView::getStatus if LCursor::getStatus did nothing
2026 (setStatusMessage, getStatusMessage): removed.
2028 * FuncStatus.C (message): new methods. Used to provide an error
2029 message indicating why a command is disabled.
2030 (clear, |=, FuncStatus): update for message.
2032 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2034 * lyxfunc.C (dispatch): always call sendDispatchMessage
2036 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
2039 * BufferView_pimpl.C:
2044 * cursor_slice.[Ch]:
2047 * paragraph_funcs.C:
2053 * undo.C: par->pit renaming
2055 2004-11-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2057 * tabular.C (cellstruct): use initialization, store a shared_ptr
2058 to insettext instead of the insettext directly, adjust to fit.
2059 (operator=): new function
2060 (swap): new function
2061 (rowstruct): use initialization
2062 (columnstruct): use initialization
2063 (ltType): use initialization
2066 * lyxlength.h (swap): new function
2068 * LColor.[Ch] (operator=): use the common semantics
2070 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2072 * lyxfind.C (findNextChange): update the bufferview after setting
2075 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2077 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
2078 number of InsetOptArgs has already been inserted.
2080 * output_latex.C (latexOptArgInsets): new method. This outputs all
2081 the optarg insets, up to the limit defined in the layout file.
2082 (optArgInset): removed
2083 (TeXOnePar): call latexOptArgInsets; correctly update texrow
2085 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2087 * paragraph.C (isLetter): remove special spellchecker-related
2088 code; return true also for digits
2089 (isWord, isKomma): remove
2091 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
2092 * lyxfind.C (MatchString()): use isLetter instead of isWord
2094 2004-11-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2096 * pariterator.h (operatir=): comment out un-implemented member
2099 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
2102 2004-11-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2104 * lyxfont.h: include LColor.h to satisfy concept checks.
2106 2004-11-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2108 * pariterator.h: add typdefs for value_type, difference_type,
2109 pointer and reference to satisfy concept checks. Also add default
2110 constructor for same reason.
2112 * pariterator.C (operator++): add post-increment operator to
2113 satisfy concept checks.
2115 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
2118 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
2120 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
2121 checks. Also rename base_type to BaseType to follow naming
2124 * FloatList.h: include Floating.h to satisfy concept checks.
2126 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2128 * lyxfunc.C (getStatus): when the origin of the request is menu or
2129 toolbar, and the LyXView does not have focus, do as if there was
2130 no buffer (bug 1720)
2132 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
2133 FuncRequest to individual entries of LFUN_SEQUENCE
2135 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2137 * output_latex.C (TeXOnePar): override runparams.moving_arg
2138 according to the needprotect value of the current paragraph (bug
2141 * paragraph.C (simpleTeXOnePar): no need to override
2142 runparams.moving_args here
2144 2004-11-14 John Spray <spray_john@users.sourceforge.net>
2146 * vspace.C: fix off-by-one-error, related to fix #1682
2148 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2150 * lengthcommon.C: a more general fix for bug 1682
2152 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
2154 * text.C (backspace): fix crash
2156 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2158 * format.[Ch] (getFormatFromFile): new method
2159 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
2161 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2163 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
2165 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2167 * lyxfunc.C (dispatch): remove the verbose argument
2168 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
2171 * kbmap.C (defkey): set the origin of func to KEYBOARD
2173 * MenuBackend.C (MenuItem):
2174 * ToolbarBackend.C (add): set the origin of func to UI
2176 * funcrequest.[Ch]: add origin member, which indicates which part
2177 of LyX requests an action
2179 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2181 * converter.C (move): don't lie in the error message
2182 * converter.h (isReachable, move): document
2184 2004-11-07 Lars Gullik Bjønnes <larsbj@gullik.net>
2186 * buffer.C: remove unused using lyx::support::atoi
2187 * paragraph_funcs.C: ditto
2189 2004-11-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2191 * bufferlist.C (exists): use bind and equal_to instead of
2194 * lyxtextclasslist.C (NumberOfClass): ditto
2196 * cursor.C (insert): use for_each instead of explicit for loop
2198 * bufferlist.C (getFileNames): use std::transform and
2199 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
2201 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
2204 * buffer.C (changeLanguage): use for_each instead of explicit for
2206 (hasParWithID): implement using getParFromID
2208 * LaTeXFeatures.C: ws change only
2210 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
2213 * BufferView_pimpl.C (trackChanges): use for_each instead of
2216 2004-11-04 André Pönitz <poenitz@gmx.net>
2219 * undo.C (textUndoOrRedo): fix crash when creating undo information.
2221 * dociterator.C (asDocIterator): use hard assert again.
2223 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2225 * lyxlength.C (asLatexString): rewrite so that it does not use
2228 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2230 * text3.C (specialChar, dispatch): make sure cursor moves to the
2231 right after inserting an inset
2233 2004-11-02 José Matos <jamatos@lyx.org>
2235 * output_docbook.C (docbook):
2236 * paragraph.C (getID):
2237 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
2238 garantee that the output is always legal.
2240 * tabular.C (docbook):
2241 * outputprams.[Ch]: remove mixed contents.
2243 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2245 * text2.C (setCounter): prevent endless loop
2247 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2249 * exporter.C (copyFile): use the mover instead of support::copy()
2250 * exporter.C (Export): pass format and latex name to copyFile()
2251 * exporter.h (addExternalFile): document
2252 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
2254 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2256 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
2258 2004-10-30 José Matos <jamatos@lyx.org>
2260 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
2261 text and no inset or font change. This allows to use CDATA
2262 sections just for the whole paragraph.
2264 2004-10-30 José Matos <jamatos@lyx.org>
2266 * paragraph.C (getFirstWord): remove unused variable.
2268 2004-10-30 José Matos <jamatos@lyx.org>
2270 * paragraph.C (getFirstWord): the content should always be escaped
2272 (simpleDocBookOnePar):
2273 * output_docbook.C (makeEnvironment): replace reference to CDATA
2276 2004-10-30 José Matos <jamatos@lyx.org>
2278 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
2280 2004-10-30 José Matos <jamatos@lyx.org>
2282 * output_docbook.C (makeParagraphs):
2283 * paragraph.[Ch] (emptyTag): for docbook and company, if the
2284 standard paragraph has only a given type of content drop the wrapper.
2286 2004-10-29 José Matos <jamatos@lyx.org>
2288 * output_docbook.C (makeEnvironment):
2290 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
2292 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
2294 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
2295 (cleanID): sanitize any id.
2297 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2299 * buffer.C, lyxlex_pimpl.C:
2300 * lyxlex_pimpl.C (setFile):
2301 s/getExtFromContents/getFormatFromContents/
2303 2004-10-28 José Matos <jamatos@lyx.org>
2305 * output_docbook.C (makeEnvironment): move id to broadest possible
2308 * sgml.C (openTag): apply substitution of <> for all attributes.
2310 2004-10-28 José Matos <jamatos@lyx.org>
2312 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2313 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2314 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
2316 * sgml.[Ch]: new version for open and closeTag for paragraph and
2317 for strings. Now they handle the ids of paragraphs.
2319 2004-10-26 Angus Leeming <leeming@lyx.org>
2321 * Makefile.am: add mover.[Ch].
2323 * converter.C (convert, move): use the new Movers to move external
2324 files to the temp directory.
2326 * lyx_main.C (init): ensure that the global system_movers data
2329 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
2332 * mover.[Ch]: new files, defining a Mover as a utility to move an
2333 external file between directories and, if necessary, manipulate this
2334 file using a helper script.
2336 2004-10-25 José Matos <jamatos@lyx.org>
2338 * output_docbook.C (makeCommand): merge two if's that tested the
2341 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2343 * sgml.C (escapeString): fix warning in a better way
2345 2004-10-25 José Matos <jamatos@lyx.org>
2347 * sgml.C (escapeString): import the require boosts header file for
2348 tie, and avoid a signed unsigned comparison.
2350 2004-10-25 José Matos <jamatos@lyx.org>
2352 * sgml.h: add #include <string>
2354 2004-10-25 José Matos <jamatos@lyx.org>
2356 * sgml.[Ch] (escapeString): new function to escape all the string.
2358 2004-10-24 José Matos <jamatos@lyx.org>
2360 * paragraph.[Ch] (getFirstWord): new function to get the first
2361 word. Useful for description.
2362 (simpleDocBookOnePar): remove depth argument, add another that
2363 says where to start the paragraph.
2365 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2366 use the new functions to fix cleanly the support for descriptions.
2368 2004-10-24 José Matos <jamatos@lyx.org>
2370 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2371 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2372 * output_linuxdoc.C (linuxdocParagraphs):
2373 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
2374 add buffer as argument.
2376 2004-10-24 José Matos <jamatos@lyx.org>
2378 * output_docbook.C (makeEnvironment, searchEnvironment): place
2379 CDATA inside paragraphs and fix scope for listitems.
2381 2004-10-24 José Matos <jamatos@lyx.org>
2383 * output_docbook.C: remove using statement for stack.
2385 2004-10-23 José Matos <jamatos@lyx.org>
2387 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
2388 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
2389 docbook. The new scheme is recursive and makes use of iterators, the
2390 same as latex export works.
2391 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
2392 directly with the paragraph contents. This code was moved up to
2393 output_docbook.C (docbookParagraphs).
2394 * sgml.C (openTag, closeTag): removed unneeded newlines.
2395 (closeEnvTags) removed.
2397 2004-10-23 André Pönitz <poenitz@gmx.net>
2399 * undo.C (textUndoOrRedo):
2400 * dociterator.C (asDocIterator): work around crash
2402 * cursor.C (getStatus): replace ASSERT by more verbose error message
2403 and manual correction of the problem. Should increase stability
2404 while providing more sensible information.
2406 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2408 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
2410 * bufferlist.C (previous, next): new methods
2413 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
2415 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
2417 * buffer.C (makeDocBookFile): add dsssl stylesheet control
2418 entities to preamble.
2420 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2422 * messages.C (Pimpl): strip off translation context information
2424 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2426 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
2427 the cursor is correct (bug 1694)
2429 2004-10-13 José Matos <jamatos@lyx.org>
2431 * output_docbook.C (docbookParagraphs): fix closing tags in the
2432 end of the document.
2434 2004-10-09 José Matos <jamatos@lyx.org>
2436 * buffer.C: format up to 237.
2437 * bufferparams.C (write): use tostr to convert booleans to strings.
2439 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
2441 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
2443 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2445 * LaTeX.C: implement use of babel language in xindy.
2447 2004-10-05 José Matos <jamatos@lyx.org>
2449 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2450 Add new translators to help reading and writing the lyx file.
2452 2004-10-05 José Matos <jamatos@lyx.org>
2454 * ParagraphParameters.C (read):
2455 * text.C (readParToken): replace nexToken by more appropriate lex
2458 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
2460 * LaTeX.C (runMakeIndex):
2461 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2462 (usually 'makeindex') configurable.
2464 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2465 with a variable rather than with a number.
2467 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2469 * output_latex.C (TeXOnePar): make sure font setting is the first
2470 thing that gets output (and the last at the end). Should fix bug
2473 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2475 * pch.h: use proper signal include
2477 * LaTeX.h: Use preferred calling of Boost.Signal
2480 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2482 * pch.h: dont include <boost/function/function0.hpp>
2484 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2486 * paragraph_pimpl.h: remove usage of ShareContainer
2488 * paragraph_pimpl.C: remove initialization of ShareContainer.
2490 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2494 * BufferView.C (putSelectionAt): change the semantics when
2495 backwards == true: now, this just swaps cursor and anchor wrt the
2498 * BufferView.h (putSelectionAt): add some documentation
2500 * lyxfind.C (findBackwards): rewrite using while(). In particular,
2501 make sure backwardChar is done at least once (to avoid getting
2503 (findNextChange): use putSelectionAt in the forward direction
2504 (operator()): use Paragraph::isWord
2506 2004-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2508 * Spacing.C (set): c_str fix
2510 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2512 * lyx_cb.C (Reconfigure): quote the name of configure script in
2513 case it contains spaces
2515 2004-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2519 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2520 (BOOST_LIBS): use top_buildir when looking for the file
2522 2004-08-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2524 * pch.h: do not use include boost/format.hpp, multiple symbols
2525 will result (gcc bug)
2528 2004-08-23 José Matos <jamatos@lyx.org>
2530 * bufferparams.C (readToken): fix reading of the author field.
2532 2004-08-20 José Matos <jamatos@lyx.org>
2534 * lyxrc.C: remove support/translator.h inclusion since it is not used.
2536 2004-08-20 José Matos <jamatos@lyx.org>
2538 * lyxlex.[Ch] (findToken): remove function.
2540 * ParagraphParameters.C (findToken):
2541 * bufferparams.C (findToken): replace call for previous function
2542 with local copy. This local function has one more argument, the
2543 read string argument.
2545 2004-08-16 José Matos <jamatos@lyx.org>
2547 * ParagraphParameters.C (write):
2548 * Spacing.C (writeFile):
2549 * bufferparams.C (writeLaTeX):
2550 * lyx_cb.C (Reconfigure):
2551 * paragraph.C (write):
2552 * tabular.C (write): remove unnecessary space at end of line.
2555 2004-08-16 José Matos <jamatos@lyx.org>
2557 * text.C (readParagraph): remove debug message.
2559 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2561 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2564 * output_plaintext.C (asciiParagraph): set depth correctly
2566 * outputparams.h: add member depth
2568 * paragraph_funcs.C (ownerPar): remove.
2570 * text2.C (setCounter): remove first_pit; comment out some
2571 non-working code that uses ownerPar
2573 * BufferView.C (getParentLanguage): remove. Not used anymore, and
2576 2004-08-16 José Matos <jamatos@lyx.org>
2578 * text.C (readParToken, readParagraph, read): report all unknown tokens.
2579 For the same level of importance use the same chanel to report problems.
2580 (read): add code to deal with \begin_body and \end_body.
2583 2004-08-15 José Matos <jamatos@lyx.org>
2585 * lyxlex.C (getString): fix comment, buffer::readBody is now
2586 buffer:readDocument.
2588 * tex-strings.C (string_papersize): Default -> default,
2589 Custom -> custom, for consistency with other options.
2591 2004-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2595 * Makefile.am: support pch
2597 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2599 * text.C (readParToken): remove the static LyXFont variable and
2600 pass it as a parameter instead. This fixes a nasty bug where an
2601 inset will be inserted with a bad font in some situations
2602 (readParagraph): adapt
2604 * text2.C (setCounter): reduce number of calls to pars_[pit]
2606 * text.C (singleWidth): add an assert, fix a test
2608 * rowpainter.C (paintText): reduce number of calls to singleWidth
2610 * paragraph.C (isHfill):
2611 (isNewline): ws only
2613 2004-08-14 André Pönitz <poenitz@gmx.net>
2618 * lyxtext.h (several functions): use a Paragraph & argument
2621 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2623 * metricsinfo.h: add a new field ltr_pos to PainterInfo
2625 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2627 * text.C (singleWidth): remove useless test
2629 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2631 * tabular.h: remove bogus comments
2633 * tabular.C (getDescentOfRow):
2634 (isPartOfMultiColumn): add assertions
2636 * lyxlength.C (inPixels): remove #warning
2638 2004-08-14 André Pönitz <poenitz@gmx.net>
2640 * paragraph.h: inline getChar()
2642 * BufferView.h: remove unused declarations
2644 2004-08-14 José Matos <jamatos@lyx.org>
2646 * Buffer.[Ch] (readDocument): new name for old readBody.
2647 * Buffer.C: new file format, new keywords: \begin_document,
2648 \begin_header, \begin_body, \end_body.
2650 * bufferparams.C (readToken): replace all calls to lex.nextToken
2651 by lex.next(). Do the same to eatLine except where really needed.
2653 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2654 line when writing to the lyx file.
2656 * output_plaintext.C (asciiParagraph): fix Bibliography style
2659 * text.C (read): fix end of file handling.
2661 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2663 * MenuBackend.C (Menu::operator[]): new method to access
2664 individual menu items
2665 (Menu::hasFunc): new method. search for an item that corresponds
2667 (MenuBackend::specialMenu): new method
2668 (MenuBackend::expand): if a special menu has been set, skip
2669 entries whose func() appears in this menu
2671 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2673 * text3.C: use Debug::DEBUG a bit more
2675 * text.C (leftMargin): try to simplify a tiny bit change var x to
2676 l_margin. Dont output the wide margins always.
2677 (rightMargin): no margin in inner texts
2679 * rowpainter.h (nestMargin): new func
2680 (changebarMargin): new func
2681 (rightMargin): new func
2683 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2687 * factory.C (createInset): modify setDrawFrame
2689 * cursor.C: use Debug::DEBUG a bit more
2691 2004-08-14 André Pönitz <poenitz@gmx.net>
2694 * Makefile.am: new files to accomodate an 'external' (x,y)-position
2695 cache for all insets in (at least partially) visible (top-level)
2698 * BufferView_pimpl.C: reset external coord cache before every update.
2699 This means the coord cache only contains valid entries.
2701 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2704 * BufferView_pimpl.C (getInsetByCode): move function out of class
2705 and change in to a template in anon namespace. Also fix to do what
2708 2004-08-13 Lars Gullik Bjønnes <larsbj@lyx.org>
2711 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2713 (breakParagraph): rename par to par_offset and use a local
2714 reference. Add code to keep the language over a rebreak.
2715 (breakParagraphConservative): rename par to par_offset, use a
2717 (mergeParagraph): ditto
2719 (isFirstInSequence): ditto
2720 (outerFont): rename pit to par_offset
2722 * paragraph.C: ws change
2723 * paragraph.h: ditto
2727 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2729 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2732 * paragraph.C (simpleTeXOnePar): when we have a \item with
2733 optional argument, enclose the argument with curly brackets (in
2734 case it contains a closing square bracket)
2738 * text3.C (checkInsetHit): constify
2740 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2742 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2743 documents (bug 1629)
2745 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2747 Fix toggling of collapsable insets with the mouse (bug 1558)
2749 * lyxfunc.C (dispatch): adapt to LCursor changes
2751 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2752 make sure that dispatch is not invoked twice
2754 * cursor.C (needsUpdate): new method
2755 (dispatch): return void
2756 (result): new method, to access the DispatchResult of the cursor.
2758 2004-08-13 José Matos <jamatos@lyx.org>
2760 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2762 2004-08-13 André Pönitz <poenitz@gmx.net>
2764 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2766 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2769 2004-08-12 André Pönitz <poenitz@gmx.net>
2771 * text3.C: take out the 'cursor right' form insertInset and only
2772 do it in those places when it is really needed. Fixes crash on
2775 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2777 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2779 * BufferView_pimpl.C (setBuffer): initialize the current font of
2780 the underlying LyXText
2782 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2784 * kbsequence.C (print): use UI native formatting for menu
2787 * text.C (insertChar): call Paragraph::insertChar with a font
2790 * paragraph.C (insertInset, insertChar): the version that takes a
2791 LyXFont argument is now a wrapper around the other one (the
2792 opposite used to be true).
2794 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2795 argument. Font setting is done in Paragraph now.
2797 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2799 * outputparams.h: add new members intitle and lang.
2801 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2802 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2804 2004-08-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2806 * text3.C (dispatch): remove special handling of button 4 and 5,
2807 it is now taken care of in the frontend code.
2809 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2811 * Spacing.h: add <string> (STLPort compile fix)
2813 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2815 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2817 2004-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2819 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2822 * converter.C (showMessage): inherit from unary_function, make
2825 * buffer.C (writeFile): initialize retval
2827 * InsetList.h: rename private variable list to list_
2828 * InsetList.[Ch]: adjust accordingly.
2830 2004-07-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2832 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2833 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2834 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2835 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2836 * ParagraphParameters.C, LaTeXFeatures.C: replace
2837 "support/std_sstream.h" with <sstream>
2839 2004-07-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2841 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2842 * lyxsocket.C (LyXServerSocket): ditto
2843 (serverCallback): ditto
2845 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2847 * LaTeXFeatures.C: check release date when loading jurabib.
2849 2004-07-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2851 * lyxserver.C (startPipe): call register_socket_callback
2852 (endPipe): call unregister_socket_callback
2854 2004-07-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2856 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2857 (LyXServerSocket): register the callback
2858 (LyXServerSocket): unregister the callback
2859 (fd): delete function
2860 (serverCallback): improve error checking and setup the callbacks.
2861 (dataCallback): change arg to fd.
2862 (writeln): new func (copied fro the client socket) used for server
2864 (LyXDataSocket): simplify
2865 (~LyXDataSocket): close ann unregiser callback
2866 (server): delete function
2867 (fd): delete function
2868 (readln): small changes, improve some std::string usage
2869 (writeln): constify a bit
2871 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2873 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2876 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2878 * BufferView_pimpl.C (setBuffer): set the layout combox value only
2879 after it has been populated
2881 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2883 * text2.C (insertInset): move cursor when inserting inset.
2885 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2887 * kbmap.C (findbindings): a couple of new methods. returns a
2888 container of kb_sequence objects. The real work is done by the
2889 private recursive version
2890 (printbindings): uses findbindings to print out a bracketed list
2891 of bindings (renamed from findbinding).
2893 * MenuBackend.C (binding): use kb_keymap::findbindings
2895 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2897 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2899 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2901 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2903 * paragraph.C (isWord): return true on insets that report
2906 * text.C (getWord): use Paragraph::isWord to decide what is in a
2907 word and what is not; fix bug 1609.
2909 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2911 * tex-strings.C: add "none" to string_paperpackages[], fixes
2912 off-by-one-error in the paperpackage selection.
2915 * tex-strings.[Ch]: char const * string[n]
2916 -> char const * const string[]
2918 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2920 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2921 command, return early.
2923 2004-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
2925 * debug.h: add DEBUG to enum and fix size of ANY.
2927 * debug.C: add support for Debug::DEBUG
2928 (showTags): cast errorTags.level to unsigned int
2930 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2931 (redoCurrentBuffer): ditto
2932 (updateScrollbar): ditto
2933 * cursor.C (dispatch): ditto
2934 * text2.C (setLayout): ditto
2936 (updateCounters): ditto
2938 (deleteEmptyParagraphMechanism): ditto
2940 2004-06-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2942 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2943 annotations to cleanup the Makefile slightly.
2945 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2947 * lyxrc.C: do not set user_email to a default value but use empty
2948 instead. The entry used to be translated, which does not work
2949 since at the point where lyxrc is constructed there is no
2950 translation service available
2952 * messages.C (getLocaleDir): remove and use directly
2953 lyx_localedir() instead
2955 2004-06-02 Angus Leeming <leeming@lyx.org>
2957 Fix crash caused by dereferencing null pointer 'exportdata' in
2958 OutputParams by creating a new ExportData variable on the heap,
2959 storing it in a boost::shared_ptr.
2960 The crash was triggered when generating an Instant Preview
2961 of an external inset.
2963 * Makefile.am: add outputparams.C
2965 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2966 (c-tor): allocate memory to it.
2968 * exporter.C (c-tor): associated changes.
2970 2004-06-01 Angus Leeming <leeming@lyx.org>
2972 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2973 contains data before calling isInset(0). (Bug 1513.)
2975 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2977 * exporter.C (checkOverwrite): new method
2978 * exporter.C (copyFile): new method
2979 * exporter.C (Export): copy referenced files to the document dir
2980 * exporter.[Ch]: new class ExportedFile
2981 * exporter.[Ch]: new class ExportData. Contains currently the
2982 names of referenced external files
2983 * outputparams.h: add exportdata member.
2985 2004-05-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2987 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2990 2004-05-19 Angus Leeming <leeming@lyx.org>
2995 * lyxfunc.C: small changes due to the introduction of namespace
2996 lyx::frontend and the moving of namespace biblio to lyx::biblio.
2998 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
3000 * text3.C (dispatch): supress update when only moving the cursor
3001 * cursor.C (selHandle): remove commented code
3003 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3005 * paragraph.C (startTeXParParams): correct column count
3006 * CutAndPaste.C (pasteSelection): remove const_cast
3007 * output_docbook.C (docbookParagraphs): remove const_cast
3008 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
3009 const_cast and return ParagraphList::const_iterator
3010 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
3011 * output_plaintext.C (writeFileAscii): remove const_cast
3012 * paragraph.[Ch] (simpleTeXOnePar): make const
3013 * paragraph_funcs.C (outerPar): use const iterators
3014 * paragraph_pimpl.C (validate): use const iterators
3015 * text.C (setHeightOfRow): use const iterators
3017 2004-05-17 Angus Leeming <leeming@lyx.org>
3020 * LyXAction.C (init): new LFUN_INSET_REFRESH.
3022 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
3023 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
3024 if the citation engine has changed.
3026 2004-05-14 José Matos <jamatos@lyx.org>
3028 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
3029 if the textclass does not provide it. Have it different for sgml and
3031 support the language of document.
3032 * output_docbook.C (docbookParagraphs):
3033 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
3034 first anchor as the id of the paragraph, remove special case code.
3035 * sgml.C (escapeChar): escape only < & >.
3037 2004-05-14 Angus Leeming <leeming@lyx.org>
3039 * bufferparams.h: move biblio::CiteEngine enum here to minimize
3040 dependencies on src/frontends/controllers/biblio.h. Define a
3041 CiteEngine_enum wrapper class to enable the enum to be forward
3044 2004-05-12 Angus Leeming <leeming@lyx.org>
3046 * buffer.C: up LYX_FORMAT to 234.
3047 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
3048 use_numerical_citations with a single biblio::CiteEngine cite_engine
3050 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
3052 2004-05-13 José Matos <jamatos@lyx.org>
3055 * converter.C (Converter, readFlags): add xml member.
3056 * outputparams.h: add XML flavor.
3057 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
3059 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3061 * lyxfunc.C (dispatch):
3062 (getStatus): fix handling of LFUN_SEQUENCE
3064 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3066 * debug.C (showLevel): do not forget the end-of-line marker
3068 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3070 * kbmap.C (read): do not stop parsing a bind file when an error
3073 2004-04-29 Angus Leeming <leeming@lyx.org>
3078 * text2.C: wrap a bunch of #warning statements
3079 inside #ifdef WITH_WARNINGS blocks.
3081 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3083 * buffer.C: increment format to 233.
3085 2004-04-28 Angus Leeming <leeming@lyx.org>
3087 * BufferView_pimpl.C:
3090 s/updateToolbar()/updateToolbars()/
3091 s/Toolbar.h/Toolbars.h/
3093 2004-04-28 Angus Leeming <leeming@lyx.org>
3095 * BufferView.[Ch] (c-tor):
3096 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
3097 No longer passes these data to the WorkArea generator.
3099 2004-04-28 Angus Leeming <leeming@lyx.org>
3101 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
3103 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3105 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
3107 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3109 * output_latex.C (TeXEnvironment): make sure that there is a line
3110 break before \end{foo} for the last paragraph of a document
3111 (TeXOnePar): if the paragraph is at the end of the document (or
3112 inset) and the language has to be reset, then make sure that the
3113 line break is _before_ the language command, not after (fixes bug
3114 1225); also make sure that the language reset command is the first
3115 thing after the paragraph (to ensure proper nesting of
3116 environments and thus fix bug 1404)
3118 2004-04-21 John Levon <levon@movementarian.org>
3121 * ToolbarBackend.C: make "name" be a programmatic name
3122 and a gui_name field.
3124 * lyxfunc.C: display the minibuffer on M-x
3126 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3128 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
3131 2004-04-19 Angus Leeming <leeming@lyx.org>
3133 * BufferView_pimpl.C (setBuffer): changed preview interface.
3135 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
3138 2004-04-19 John Levon <levon@movementarian.org>
3140 * BufferView_pimpl.C:
3141 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
3143 2004-04-05 Angus Leeming <leeming@lyx.org>
3145 * text.C (redoParagraphs): add call to updateCounters(), thereby
3146 fixing the missing "Figure #:" label from the caption of a
3149 2004-04-13 Angus Leeming <leeming@lyx.org>
3151 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
3152 cursor is clicked out of an inset.
3154 2004-04-13 Angus Leeming <leeming@lyx.org>
3156 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
3157 than an InsetOld one.
3159 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3161 * format.[Ch]: add editor to Format
3162 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
3163 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
3165 2004-04-08 André Pönitz <poenitz@gmx.net>
3167 * metricsinfo.h: remove PainterInfo::width member
3169 2004-04-08 Angus Leeming <leeming@lyx.org>
3171 * lyx_sty.C (boldsymbol_def): modify so that it outputs
3172 "\providecommand" rather than "\newcommand", thereby preventing
3173 clashes with packages that define "\boldsymbol" themselves.
3176 2004-04-08 Angus Leeming <leeming@lyx.org>
3178 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
3179 thereby squashing an unnecessary warning.
3181 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3183 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
3186 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
3188 * BufferView.C (setCursor): call redoParagraph (some insets could
3190 (putSelectionAt): remove the 'double update' trick
3192 * BufferView_pimpl.C (fitCursor): call refreshPar
3193 (workAreaDispatch): remove an uneeded update call
3194 (dispatch): remove some manual update calls
3196 * cursor.[Ch]: remove cached_y_, updatePos
3197 (selHandle): set noUpdate when appropriate
3199 * lyxfunc.C (dispatch): track if we need an update
3201 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
3203 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
3204 (paintSelection): cheap optimization, do not call cursorX when not
3206 (paintPars): change signature
3209 (paintTextInset): adjust
3213 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3215 * lengthcommon.C: compilation fix: remove explicit array size from
3216 unit_name[] and friends
3218 2004-04-05 Angus Leeming <leeming@lyx.org>
3220 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
3222 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
3223 present only for the preferences dialog.
3224 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
3226 2004-04-05 Angus Leeming <leeming@lyx.org>
3228 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
3229 to enable the frontends to export changes to lyxrc correctly.
3231 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
3233 2004-04-07 André Pönitz <poenitz@gmx.net>
3235 * cursor.[Ch] (selClear, adjust): remove math
3237 * cursor_slice.C: more agressive assert
3240 * BufferView_pimpl.C: rework mouse event dispatch
3247 2004-04-05 André Pönitz <poenitz@gmx.net>
3249 * cursor.[Ch] (valign, halign...): remove unneeded functions
3251 2004-04-05 Angus Leeming <leeming@lyx.org>
3253 * lyxlength.[Ch] (unit_name et al.): const-correct.
3255 2004-04-05 Angus Leeming <leeming@lyx.org>
3257 * BufferView_pimpl.C:
3266 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
3268 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3270 * text3.C (getStatus): add LFUN_BEGINNINGBUF
3272 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3274 * lyxfind.C: add a couple of inTexted() tests + other small fixes
3275 * BufferView_pimpl.[Ch] (getStatus)
3276 * BufferView.[Ch] (getStatus): add
3277 * lyxfunc.C (getStatus): move lfuns handled in
3278 BufferView::dispatch to te function above
3279 * Cursor.C (setSelection): set selection() = true
3281 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3283 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
3285 2004-03-31 Angus Leeming <leeming@lyx.org>
3287 * lyxfunc.C (dispatch): Fall through to the generic
3288 Dialogs::show("preamble").
3290 2004-03-31 Angus Leeming <leeming@lyx.org>
3292 * lyxfunc.C (dispatch): Fall through to the generic
3293 Dialogs::show("spellchecker").
3295 2004-03-31 Angus Leeming <leeming@lyx.org>
3297 * lyxfunc.C (getStatus, dispatch): changed invocation of the
3300 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
3305 * insetiterator.[Ch]:
3310 * undo.[Ch]: s/DocumentIterator/DocIterator/g
3312 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
3314 * BufferView.C (setCursor, putSelectionAt): call edit to open the
3315 insets where we are putting the cursor.
3317 2004-03-31 Angus Leeming <leeming@lyx.org>
3320 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
3322 * lyxrc.[Ch] (read, write): overloaded member functions taking
3323 a std::[io]stream arguments.
3325 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
3327 2004-03-31 Angus Leeming <leeming@lyx.org>
3329 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
3330 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
3332 * lyxtextclass.C (load): if the text class couldn't be loaded, then
3333 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
3335 2004-03-31 Angus Leeming <leeming@lyx.org>
3337 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
3338 the LFUN_ALL_INSETS_TOGGLE code.
3340 2004-03-30 Angus Leeming <leeming@lyx.org>
3342 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
3343 has died. Fall through to the generic Dialogs::show("document").
3345 2004-03-30 Angus Leeming <leeming@lyx.org>
3348 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
3349 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
3351 * lyxfunc.C (getStatus, dispatch): define the actions for these
3352 lfuns. Little more than a cut and pste job from ControlDocument.C
3354 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
3356 2004-03-30 Angus Leeming <leeming@lyx.org>
3359 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
3360 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
3362 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
3363 open/closed state of ollapsable insets. Usage:
3365 all-inset-toggle <state> <name>, where
3366 <state> == "open" || "closed" || "toggle" and
3367 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
3369 * lyxtext.h, text2.C (toggleInset): removed.
3371 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
3372 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
3373 now passes LFUN_INSET_TOGGLE to the found inset.
3375 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
3376 is now invoked as "all-insets-toggle toggle branch".
3378 2004-03-30 Angus Leeming <leeming@lyx.org>
3382 * pariterator.[Ch]: added/corrected header blurb.
3384 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
3386 * dociterator.[Ch]: add an inset_ member
3387 (backwardPos): implemented
3388 (backwardPos, forwardPos): use inset_ when the stack is empty.
3389 (doc_iterator_begin, doc_iterator_end): implemented
3390 * pariterator.[Ch]: adjust, add begin, end
3391 * insetiterator.[Ch]: adjust, add begin, end
3395 * BufferView_pimpl.C:
3396 * CutAndPaste.C: adjust
3398 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3400 * buffer.C: increment file format to 232.
3401 * LaTeXFeatures.C: add bibtopic package.
3402 * bufferparams.[Ch]: param \use_bibtopic.
3404 * lyxrc.[Ch]: add lyxrc bibtex_command
3405 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
3407 * buffer.C: increment file format to 231.
3409 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
3411 * dociterator.C: implement forwardPar
3412 * iterators.[Ch]: remove, replaced by
3413 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
3415 * BufferView_pimpl.C:
3418 * bufferview_funcs.C:
3424 * Makefile.am: adjust
3426 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
3428 * CutAndPaste.C (pasteSelection): fix 2 crashes
3429 (eraseSelection): fix a crash
3430 * paragraph_funcs.C: remove a warning
3432 2004-03-28 Angus Leeming <leeming@lyx.org>
3435 * LyXAction.C (init): new LFUN_PRINT.
3437 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
3439 2004-03-27 Angus Leeming <leeming@lyx.org>
3442 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
3444 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
3446 2004-03-27 Angus Leeming <leeming@lyx.org>
3448 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
3449 insetlist always contains non-null pointers to insets.
3451 2004-03-26 Angus Leeming <leeming@lyx.org>
3453 * src/BufferView_pimpl.C:
3454 * src/CutAndPaste.C:
3457 * src/output_plaintext.C:
3458 * src/outputparams.h:
3459 * src/paragraph_funcs.C:
3463 * src/frontends/controllers/ControlErrorList.C:
3464 * src/frontends/gtk/FileDialogPrivate.C:
3465 * src/frontends/gtk/GPainter.C:
3466 * src/frontends/gtk/GToolbar.C:
3467 * src/frontends/qt2/QRef.C:
3468 * src/mathed/math_scriptinset.C: squash compiler warnings.
3470 2004-03-26 Angus Leeming <leeming@lyx.org>
3472 * ispell.C (LaunchIspell::start):
3473 * lyx_cb.C (AutoSaveBuffer::start):
3474 invoke run(DontWait) rather than runNonBlocking().
3476 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
3478 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3480 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3482 * kbsequence.C (print): adjust
3484 * kbmap.C (printKeySym): rename and change signature
3485 (printKey): use LyXKeySym::print()
3487 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
3489 * undo.C: add using std::advance to compile for stlport
3491 2004-03-24 Angus Leeming <leeming@lyx.org>
3493 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3494 it leads to a crash when no buffer is present.
3496 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3497 Martin Vermeer <martin.vermeer@hut.fi>
3499 * lyxfunc.C (dispatch):
3500 * bufferparams.C (readToken): use the new LColor::setColor
3502 * LColor.[Ch] (setColor): new version that takes two strings as
3503 argument and creates a new color entry if necessary
3505 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3507 * buffer.C (makeLaTeXFile): if the main latex file that is
3508 processed is usually a subdocument of some master, then pretend
3509 for a while that it is actually the master
3511 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3513 * buffer.C (getLabelList):
3514 (getBibkeyList): use getMasterBuffer()
3515 (getMasterBuffer): new method. Returns the main document in the
3516 case where one is using included documents.
3518 2004-03-25 André Pönitz <poenitz@gmx.net>
3522 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3524 * ParagraphList_fwd.h: change ParagraphList to a std::vector
3526 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3527 text*.C over here. Rename namespace CutAndPaste to lyx::cap
3529 * ParameterStruct.h: merge with ParagraphParameters
3531 * lyxtext.h: remove LyXText::parOffset() and getPar()
3533 * text3.C: Remove all 'manual' update calls. We do now one per user
3534 interaction which is completely sufficient.
3538 * BufferView_pimpl.C:
3539 * FontIterator.[Ch]:
3541 * ParagraphParameters.[Ch]:
3546 * cursor_slice.[Ch]:
3553 * output_docbook.[Ch]:
3554 * output_latex.[Ch]:
3555 * output_linuxdoc.[Ch]:
3556 * output_plaintext.[Ch]:
3558 * paragraph_funcs.[Ch]:
3559 * paragraph_pimpl.[Ch]:
3567 * frontends/controllers/ControlDocument.C:
3568 * frontends/controllers/ControlErrorList.C:
3569 * frontends/controllers/ControlSpellchecker.C:
3572 * insets/insetbase.h:
3573 * insets/insetbibitem.C:
3574 * insets/insetbox.C:
3575 * insets/insetbranch.C:
3576 * insets/insetcaption.C:
3577 * insets/insetcharstyle.C:
3578 * insets/insetcharstyle.h:
3579 * insets/insetcollapsable.C:
3580 * insets/insetcollapsable.h:
3581 * insets/insetert.C:
3582 * insets/insetfloat.C:
3583 * insets/insetfoot.C:
3584 * insets/insetmarginal.C:
3585 * insets/insetnote.C:
3586 * insets/insetoptarg.C:
3587 * insets/insettabular.C:
3588 * insets/insettext.C:
3589 * insets/insettext.h:
3590 * insets/insetwrap.C:
3591 * mathed/math_mboxinset.C:
3592 * mathed/math_nestinset.C:
3593 * mathed/math_scriptinset.C:
3594 * mathed/math_scriptinset.h:
3597 2004-03-24 Angus Leeming <leeming@lyx.org>
3599 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3600 deal with any child processes that have finished but are waiting to
3601 communicate this fact to the rest of LyX.
3603 2004-03-24 Angus Leeming <leeming@lyx.org>
3605 64-bit compile fixes.
3607 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3608 (c-tor): pass lyx::pos_types rather than ints.
3610 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3613 * text.C (Delete): compile fix.
3614 (getPar): ensure that function declaration is the same as that in
3617 2004-03-23 Angus Leeming <leeming@lyx.org>
3619 * ispell.C (LaunchIspell):
3620 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3621 a boost::shred_ptr rather than a std::auto_ptr.
3623 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3625 * lyxfunc.C (getStatus): handle read-only buffers correctly;
3626 handle LFUN_FILE_INSERT_*
3628 * lyxrc.C (setDefaults, getDescription, output, read):
3629 * lyxrc.h: remove ps_command
3631 2004-03-22 Angus Leeming <leeming@lyx.org>
3633 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3634 Ensure that error_handler is processed once only and that all data
3635 is saved before attempting to output any warning messages.
3637 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3639 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
3641 * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3643 2004-03-19 André Pönitz <poenitz@gmx.net>
3645 * cursor.[Ch] (reset): take main text inset as argument
3647 * BufferView: adjust
3648 * BufferView_pimpl.C: adjust
3650 * paragraph.[Ch]: fix completely broken operator=()
3652 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3654 * LColor.C (getFromLyXName): make sure that the color name is used
3657 2004-03-17 Angus Leeming <leeming@lyx.org>
3660 * LyXAction.C (init): remove LFUN_FORKS_KILL.
3662 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3663 dialog and to kill a forked process.
3665 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3667 * text2.C (setCursorFromCoordinates): fix font problem
3669 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3671 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3672 bogus "rebuild cursor" code
3674 2004-03-11 André Pönitz <poenitz@gmx.net>
3676 * buffer.[Ch]: use InsetText instead of LyXText as container for
3679 * dociterator.[Ch]: drop the BufferView * member which is not needed
3680 anymore after the change to buffer.C
3682 * paragraph_funcs.C:
3686 * BufferView_pimpl.[Ch]:
3688 * cursor_slice.[Ch]: adjust
3690 * text3.C: fix bug in mathDispatch
3692 2004-03-08 André Pönitz <poenitz@gmx.net>
3694 * undo.[Ch]: use 'StableDocumentIterator' as base for
3697 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3700 * bufferparams.[Ch]: add jurabib support and param.
3702 * LaTeX.C: add FIXME/comment.
3704 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3706 * buffer.C: increment file format to 230.
3708 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
3710 * cursor.C (dispatch): avoid infinite loops
3712 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3714 * rowpainter.C (paintSelection): fix x coordinates
3716 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3718 * text.C (rowBreakPoint): fix breaking before displayed insets
3720 2004-03-01 André Pönitz <poenitz@gmx.net>
3722 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3724 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3728 * BufferView_pimpl.C:
3736 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3742 * BufferView_pimpl.C: rename textwidth -> maxwidth,
3743 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3745 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3747 * Bidi.[Ch] (computeTables): const correctness
3748 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3749 fill_hfill, fill_label_hfill and x from Row
3750 * lyxtext.h: prepareToPrint returns a RowMetrics
3751 * rowPainter.C: adjust
3752 * text.C (prepareToPrint): use width, not textWidth. adjust
3753 (redoParagraphInternal, cursorX): adjust
3754 * text2.C (getColumnNearX): adjust
3755 (init): put a default value to the top LyXText::width
3757 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3759 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3761 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3763 * lyxtext.h: add FontIterator class
3765 * text.C (FontIterator, operator*, operator->, operator++): add
3766 (rowBreakPoint, setRowWidth): adjust (fixing a
3769 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3771 * BufferView_pimpl.C (workAreaDispatch): allow also
3772 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3774 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
3776 * text.C (rowBreakPoint): fix a bug showing with very large insets
3778 2004-02-25 André Pönitz <poenitz@gmx.net>
3781 * cursor.[Ch]: move some mathed specific code to mathed
3783 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3785 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3786 use_tempdir in preferences
3787 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3789 * lyx_main.C: ensure that tempdir is valid
3790 * lyxlex.h: correct typo
3791 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3792 * paragraph.[Ch] (isMultiLingual): make const
3793 * cursor.[Ch] (openable): make const
3795 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3797 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3799 2004-02-20 André Pönitz <poenitz@gmx.net>
3801 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3803 * cursor.[Ch]: prepare for localized getStatus()
3809 * text3.C: streamlines the LyXText cursor movement handlers a bit.
3811 2004-02-20 André Pönitz <poenitz@gmx.net>
3813 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3815 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3817 * text2.C (setCursorFromCoordinates): switch to absolute coords
3819 (cursorDown): adjust
3820 * text3.C (dispatch): adjust
3822 2004-02-16 André Pönitz <poenitz@gmx.net>
3824 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3827 * cursor_slice.[Ch]: remove unneeded acessor function
3829 * lyxtext.h: rename rtl() to isRTL()
3837 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3839 * rowpainter.C (paintSelection): coord fix
3841 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3843 * Spacing.C: compile fix
3845 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3847 * cursor.C (dispatch): restore current_ before returning
3849 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3851 * text2.C (cursorUp, cursorDown): fix coords
3854 2004-02-12 André Pönitz <poenitz@gmx.net>
3859 * text3.C: add LCursor & parameter to most cursor movement functions
3860 remove usage of LyXText::cursorRow() and cursorPar()
3862 * cursor.[Ch]: add textRow() needed members
3865 * BufferView_pimpl.C:
3868 * BufferView_pimpl.C: adjust
3870 2004-02-11 André Pönitz <poenitz@gmx.net>
3874 * BufferView_pimpl.C: shift undo/redo handling
3876 * cursor.[Ch]: fix mathed crash
3879 * lyxtext.h: move selectionAsText to LCursor
3887 * rowpainter.C: fix excessive drawing
3889 2004-02-06 André Pönitz <poenitz@gmx.net>
3892 * BufferView_pimpl.[Ch]:
3893 * text3.C: move some text specific LFUN handling
3895 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
3897 * text3.C (checkInsetHit): adjust coords
3898 * text2.C (getColumnNearX): adjust coords
3899 (edit): adjust coords
3900 * text.C (getRowNearY): add two asserts
3902 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
3905 * format.C: add using std::distance to compile on gcc 2.95/stlport
3907 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
3909 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3911 2004-02-04 André Pönitz <poenitz@gmx.net>
3913 * BufferView.[Ch] (insertInset):
3914 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3919 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3921 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3922 on the default clause of the switch
3923 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3924 wasn't catched by LCursor::dispatch
3926 2004-02-03 André Pönitz <poenitz@gmx.net>
3929 * cursor.[Ch]: some additional asserts
3931 * undo.[Ch]: remove LyXText dependency in interface
3935 * lyxtext.h (firstPar, lastPar): remove dead functions
3940 * paragraph.[Ch]: adjust
3942 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3944 * lyxfind.C (find): fix argument order in call to ::find
3946 2004-02-02 André Pönitz <poenitz@gmx.net>
3948 * cursor.[Ch]: remove direct access to anchor
3950 * text.C: remove findText() hack
3952 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3954 * iterators.[Ch] (lockPath): remove in favour of...
3955 * BufferView.[Ch] (setCursor): this addition
3956 * BufferView.C (putSelectionAt): adjust
3957 * undo.C (performUndoOrRedo): adjust
3958 * lyxfunc.C (dispatch): adjust
3960 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3962 * iterators.C (lockPath): add a missing slice
3963 * undo.C (performUndoOrRedo): remove redundant positioning code
3965 2004-02-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3967 * vc-backend.C (scanMaster): ";" -> ';'
3969 2004-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
3971 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3972 std::binary_function
3974 * lyxtextclass.C (compare_name): rename to...
3975 (LayoutNamesEqual): ...this
3977 * lyxlex_pimpl.C (compare_tags): inherit from
3978 std::binary_function, put back into anon namespace
3980 * lyxfind.C (MatchString): inherig from std::binary_function
3981 (findChange): use empty() istead of !size()
3983 * format.C (FormatNamesEqual): new functor
3990 * converter.C (compare_Converter): rename to...
3991 (ConverterEqual): ...this, and fixup a bit.
3992 (getConverter): use it, and make function const
3993 (getNumber): use it, and make function const
3997 * bufferlist.C: add using boost::bind
3999 * MenuBackend.C (MenuNamesEqual): new functor
4000 (hasMenu): use it, and make function const
4001 (hasSubmenu): use nested bind to get rid of compare_memfun.
4003 2004-01-30 André Pönitz <poenitz@gmx.net>
4005 * BufferView_pimpl.C:
4008 * cursor_slice.[Ch]:
4011 * paragraph_funcs.C:
4012 * paragraph_funcs.h:
4016 * text3.C: move some of the edit(x,y) handling to the insets
4017 some coordinate changes.
4019 2004-01-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4021 * text.C: add using statements for std::advance and std::distance
4023 * paragraph.C: add using statement for std::distance
4025 * lyxfind.C: add using statement for std::advance
4027 * cursor.C (region): remove std:: from swap
4028 (openable): use nucleus in stead of operator->
4030 * BufferView.C: add using statements for std::distance and std::swap
4032 2004-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4034 * iterators.C: Remove the pimple, move the needed structures to
4035 the header file. Create accessor for the positions stack.
4036 (asPosIterator): remove function
4038 * PosIterator.C (PosIterator): move constructors to top of file
4039 (PosIterator): reimplement the constructor taking a ParIterator in
4041 (setFrom): new function
4042 (operator!=): inline it
4044 2004-01-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4046 * lyxfind.C (replaceAll): use std::advance
4048 * iterators.h: inherit from std::iterator.
4050 * PosIterator.C (advance, distance): remove
4051 * PosIterator.h: interit from std::iterator.
4053 2004-01-26 André Pönitz <poenitz@gmx.net>
4056 * BufferView_pimpl.[Ch]:
4060 * bufferview_funcs.C:
4070 * output_linuxdoc.C:
4071 * output_plaintext.C:
4073 * paragraph_funcs.[Ch]:
4074 * paragraph_pimpl.[Ch]:
4080 * text3.C: more IU: dumps most of the rest of the mathcursor
4081 implementation into cursor.[Ch]; "globalize" a bit of it.
4083 2004-01-25 Angus Leeming <leeming@lyx.org>
4085 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
4087 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4089 * LaTeXFeatures.h: add nice_ and nice() const
4090 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
4092 2004-01-20 André Pönitz <poenitz@gmx.net>
4095 * BufferView_pimpl.C:
4097 * bufferview_funcs.C:
4099 * cursor_slice.[Ch]:
4110 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
4111 LCursor and mathcursor parts to LCursor and InsetBase.
4113 2004-01-15 André Pönitz <poenitz@gmx.net>
4115 * cursor_slice.[Ch]: add a few covienience functions
4117 * funcrequest.[Ch]: remove BufferView * member
4119 * BufferView_pimpl.C:
4126 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
4128 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
4130 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
4131 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
4133 2004-01-13 André Pönitz <poenitz@gmx.net>
4136 * lyxtext.h: hide cursor and selection anchor behind accessor function
4139 * BufferView_pimpl.[Ch]:
4141 * bufferview_funcs.C:
4151 * cursor_slice.[Ch]: some integer type changes for inset unification
4153 * lyxcursor.[hC]: remove, it's CursorSlice now.
4156 * BufferView_pimpl.[Ch]:
4157 * bufferview_funcs.C:
4163 * textcursor.[Ch]: adjust
4165 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
4167 * text2.C (undoSpan): add and use
4168 * text.C (breakParagraph): use undoSpan (fix bug 578)
4171 2004-01-08 Angus Leeming <leeming@lyx.org>
4173 * BufferView_pimpl.C (MenuInsertLyXFile):
4174 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4175 * lyxfunc.C (menuNew, open, doImport):
4176 FileFilterList change to the FileDialog open and save functions.
4178 2004-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
4180 * ShareContainer.h: make isEqual and isUnique adaptable
4182 * CutAndPaste.C: make resetOwnerAndChanges adaptable
4184 2004-01-07 Angus Leeming <leeming@lyx.org>
4187 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
4189 * BufferView_pimpl.C (dispatch): act on these LFUNs.
4191 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
4192 functions replacing find, replace and replaceAll.
4194 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
4195 LFUN_WORDFIND(FORWARD|BACKWARD).
4197 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
4199 * text.C (breakParagraph): remove an outdated #warning
4201 2004-01-07 André Pönitz <poenitz@gmx.net>
4203 * lyxfind.C: somewhat clearer logic
4205 * text.C: prevent crash in cursorX on unitialized row cache
4207 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
4209 * lyxcursor.[Ch] (operator>): add
4210 * textcursor.C (selStart, selEnd): use std::min and std::max
4212 2004-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4214 * Chktex.C: include boost/format.hpp
4216 2004-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
4218 * InsetList.C: replace functor MathcIt with adaptable functor
4220 (insetIterator): modify accordingly
4222 * BranchList.h: move the BranchNamesEqual functor here from...
4223 * BranchList.C: ... to here
4225 * BranchList.C: new BranchListEqual fuctor, use it. Remove
4227 (add): replace a finding loop with std::find_if.
4229 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
4231 * output_docbook.C: moving LatexParam functionality into
4234 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4236 * buffer.C: increment format to 229.
4238 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
4241 * lyx_sty.[Ch]: remove minipageindent_def
4247 * text3.C: remove LFUN_INSET_MINIPAGE
4249 2003-12-28 Angus Leeming <leeming@lyx.org>
4251 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
4253 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
4255 * text2.C (setParagraph): fix off-by-one crash
4257 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
4259 * output_docbook.C: header stuff for AGU
4261 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
4263 * text2.C (redoCursor): remove
4266 * BufferView_pimpl.C: remove calls to redoCursor and
4267 setCursor(cursor.par(), cursor.pos()) all around
4269 2003-12-15 Angus Leeming <leeming@lyx.org>
4271 * buffer.C: up the format to 228.
4273 2003-12-15 André Pönitz <poenitz@gmx.net>
4275 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
4280 * BufferView_pimpl.C:
4289 2003-12-15 Angus Leeming <leeming@lyx.org>
4291 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
4292 than getFromGUIName to manipulate the color.
4294 2003-12-14 Angus Leeming <leeming@lyx.org>
4296 * BranchList.[Ch]: minimize the API.
4297 (Branch::getBranch, getColor): now return a 'const &'.
4298 (Branch::setSelected) now returns a bool set to true if the
4299 selection status changes.
4300 (BranchList::clear, size, getColor, setColor, setSelected,
4301 allBranches, allSelected, separator): removed.
4302 (BranchList::find): new functions, returning the Branch with
4304 (BranchList::add, remove): return a bool indicating that
4305 the operation was successful.
4307 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
4308 new InsetBranch::isBranchSlected member function.
4310 * LColor.[Ch]: mimimize the API.
4311 (fill): renamed as addColor and made private.
4312 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
4313 versions of these functions taking a string arg have been removed.
4315 * bufferparams.C (readToken):
4316 * lyxfunc.C (dispatch):
4317 * lyxrc.C (read): changes due to the altered BranchList and
4320 * factory.C (createInset, readInset): changes due to altered
4323 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4326 * lyxfunc.C: remove insetminipage. "minipage-insert"
4327 now produces a frameless minipage box inset.
4329 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4331 * textcursor.[Ch] (selStart,selEnd): add new methods
4332 remove selection::start, end, use LyXCursor::operator<
4333 * lyxcursor.[Ch] (operator<): add
4334 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
4335 * BufferView.[Ch] (unsetXSel): add
4336 * text2.C (clearSelection): use unsetXSel,adjust
4339 * rowpainter.C: adjust
4340 * bufferview_funcs.C (put_selection_at): adjust
4342 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4344 * BufferView_pimpl.C: small coord. correction
4346 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4348 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
4349 dragging over the splash screen.
4351 2003-12-11 Angus Leeming <leeming@lyx.org>
4353 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
4354 as it is now handled in LyXText::dispatch.
4356 * text3.C (doInsertInset): remove a level of nesting.
4358 2003-12-11 Angus Leeming <leeming@lyx.org>
4360 * factory.C (createInset): changes due to the changed interface to
4361 InsetCommandMailer::string2params.
4363 2003-12-10 Angus Leeming <leeming@lyx.org>
4365 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
4366 'dialog-show-new-inset <inset name>'
4368 2003-12-10 Angus Leeming <leeming@lyx.org>
4370 * buffer.C: up the format to 227.
4372 * factory.C: the box inset is now identified simply by 'Box'.
4374 2003-12-10 Angus Leeming <leeming@lyx.org>
4376 * buffer.C: up the format to 226.
4378 * factory.C: the note inset is now identified simply by 'Note'.
4380 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
4382 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
4383 when a pit is enough. Standarize a couple of loops.
4385 2003-12-05 Angus Leeming <leeming@lyx.org>
4387 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
4388 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
4389 data to the re-worked "log" dialog.
4391 2003-12-03 André Pönitz <poenitz@gmx.net>
4397 * paragraph_funcs.C:
4399 * text2.C: use Inset::getText instead of Inset::getParagraph
4401 2003-12-03 André Pönitz <poenitz@gmx.net>
4405 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
4406 InsetText::read() as LyXText::read()
4408 2003-12-02 Angus Leeming <leeming@lyx.org>
4410 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
4411 type. Add a comment in the implementation that the function uses
4412 the stream's bad() function rather than fail() as the std::streams
4415 2003-12-02 André Pönitz <poenitz@gmx.net>
4417 * lyxlex.[Ch]: make interface more similar to std::stream
4419 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
4421 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
4423 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
4425 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
4427 * vspace.[Ch]: remove VSpace::NONE
4429 2003-12-01 André Pönitz <poenitz@gmx.net>
4432 * lyxtext.h: move ParagraphList member to LyXText
4433 rename LyXText::ownerParagraphs to LyXText::paragraph
4436 * bufferview_funcs.C:
4446 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
4448 * undo.C: fix cursor positioning
4450 2003-12-01 John Levon <levon@movementarian.org>
4452 * BufferView_pimpl.C: fix a crash on exit with
4455 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
4457 * BranchList.C: fix setSelected() method.
4459 2003-11-28 André Pönitz <poenitz@gmx.net>
4461 * ParagraphParameters.[Ch]:
4462 * ParameterStruct.h: remove space above/below from Paragraph to
4465 * BufferView_pimpl.C:
4471 * paragraph_funcs.C:
4477 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
4479 * factory.C: Syntax change for CharStyles
4481 2003-11-28 André Pönitz <poenitz@gmx.net>
4486 * buffer.[Ch]: move LyXText member
4488 2003-11-28 André Pönitz <poenitz@gmx.net>
4490 * BufferView.[Ch]: make LyXText * text a private member
4492 * BufferView_pimpl.C:
4503 * output_plaintext.C: cleanup
4505 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
4508 * lyxtextclass.[Ch]: parametrize SGML document header
4510 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
4513 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4516 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
4518 * text2.C (setFont): rework using PosIterator (no more recursive)
4519 (setCharFont): no more needed
4520 (setLayout): no more selection cursors fiddling (done by redoCursor)
4521 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4522 destroy remaining ones)
4524 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
4526 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4528 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4531 * text3.C: adjust + re-allow multi par depth changes
4532 * textcursor.C: simplify a bit
4534 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
4540 * src/output_docbook.C:
4541 * src/output_latex.C:
4546 * src/text2.C: Introducing a number of tags parametrizing various
4547 XML formats that we may want to support
4549 2003-11-25 André Pönitz <poenitz@gmx.net>
4551 * InsetList.[Ch] (begein, end): inline as suggested by profiler
4553 * lyxtext.h (leftMargin/rightMargin): simplify interface
4560 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4562 * lyxfunc.C (dispatch): propogate the bibtex databases from the
4563 master file to any child files. Fixes bug 546.
4565 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4567 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4569 2003-11-24 André Pönitz <poenitz@gmx.net>
4571 * rowpainter.C: simplification
4573 * text2.C (updateCounters): remove call to redoParagraph on
4574 changed labels as this is far too expensive.
4576 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4578 * converter.C (convert): fix a crash: this function gets
4579 called with buffer == 0 from importer code.
4581 2003-11-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4583 * text3.C (cursorPrevious): make sure that we do not compare
4584 iterators form different containers.
4587 * rowpainter.C (paintSelection): make sure that we do not compare
4588 iterators from different containers.
4590 * text3.C (dispatch): [PRIOR] make sure that we do not compare
4591 iterators from different ParagraphList containers.
4594 * text2.C (LyXText): change order of initialization slightly
4595 (operator=): new function. copy all variables except cache_par_
4596 (moveUp): make sure that we do not compare iterators from
4597 different ParagraphList constainers.
4600 * text.C (firstPar): new function
4601 (lastPar): new function
4602 (endPar): new function
4604 * lyxtext.h: move things around and group public functions, public
4605 variables, private functions, private variables
4607 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
4609 * factory.C: change call to InsetERT constructor to avoid
4610 additional invocation of method status
4611 * text2.C (toggleInset): remove redundant update() call
4612 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4613 instead of a Bufferview pointer
4615 2003-11-21 André Pönitz <poenitz@gmx.net>
4617 * rowpainter.C: simplification
4619 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4621 * text3.C (dispatch): make possible to extend a word/row selection
4624 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4626 * lyxtext.h: x0_,y0_ -> xo_,yo_
4627 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4628 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4629 * rowpainter.C (paintRows): paint full paragraphs
4631 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4633 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4636 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4638 * lyxtext.h: add x0_, y0_
4639 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4640 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4642 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
4644 * text2.C (setCursorIntern): move the x_target update here *
4645 * text3.C: change some bv() to true/false in calls to
4646 cursorUp/Down/Right/Left
4647 * cursor.C: use helper function.
4649 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4651 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4652 * paragraph_funcs.[Ch]: correct comment
4653 * rowpainter.C: do not paint selections away from bv->cursor()
4654 Fix a long standing selection painting bug.
4655 * text3.C: generalize mouse-selection code to LyXTexts other that
4657 * textcursor.C: do not use y coords if we can use par offsets
4659 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4661 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4662 cursor position after e.g. inset insert)
4664 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
4666 * lyxfind.C (replace): adjust to locking removal + some
4669 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
4671 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4674 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
4677 * output_docbook.C: XML sanitation: new layout
4678 parameters InnerTag and CommandDepth
4680 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
4682 * BufferView_pimpl.C:
4684 * text3.C: Fix the insertion and modification of button-style
4687 2003-11-13 André Pönitz <poenitz@gmx.net>
4689 * InsetList.[Ch]: remove deleteLyXText
4691 * paragraph.[Ch]: cache beginOfBody position
4696 * text3.C: remove superfluous update() calls
4700 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
4702 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4703 * BufferView.C (fitLockedInsetCursor): remove
4704 * cursor.[Ch] (getDim): add
4705 * text.C (getRowNearY): add faster version
4706 * text3.C: remove some update calls
4708 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
4720 * text3.C: The Character Style /XML short element patch.
4722 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
4725 * factory.C: Small step to solving 'unable to insert some insets'
4728 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
4730 * cursor.[Ch] (updatePos): new function for updating the y
4731 position of the tip inset
4732 * bufferview_funcs.C (put_selection_at):
4733 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4735 2003-11-11 André Pönitz <poenitz@gmx.net>
4737 * text.C: remove big comment on invalid Paragraph pointers as it is
4740 2003-11-11 André Pönitz <poenitz@gmx.net>
4742 * text_funcs.[Ch]: merge with ...
4750 * Makefile.am: remove text_funcs.[Ch]
4752 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
4754 * cursor.C (getPos): return absolute cached y coord
4756 * BufferView_pimpl.C (fitCursor): new simplistic code
4757 (workAreaDispatch): add a fitCursor call
4759 2003-11-10 André Pönitz <poenitz@gmx.net>
4762 * BufferView_pimpl.[Ch]: merge update() and updateInset()
4764 2003-11-10 André Pönitz <poenitz@gmx.net>
4766 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4767 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4768 indicate that the cursor needs to leave an inset
4770 * lyxtext.h: remove inset locking
4772 * cursor.[Ch]: re-implement functionality provided by inset locking
4775 * BufferView_pimpl.[Ch]:
4777 * bufferview_funcs.[Ch]:
4789 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
4791 * PosIterator.[Ch]: replace the stack with a vector, add inset
4793 * iterators.[C]: adjust
4795 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4797 * lyxfind.C (replaceAll): mark the buffer dirty if something was
4799 * paragraph_funcs.C (readParToken): put the correct id in the
4800 error item, not the id of the top paragraph
4802 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4804 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4805 * bufferview_funcs.C (put_selection_at): use the above
4807 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4809 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4811 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4813 * output_linuxdoc.h:
4814 * output_plaintext.h:
4816 * output_docbook.h: add #include statements
4818 2003-11-05 José Matos <jamatos@lyx.org>
4820 * output_docbook.[Ch]:
4821 * output_latex.[Ch]:
4822 * output_linuxdoc.[Ch]:
4823 * output_plaintext.[Ch]: New files for output formats.
4824 * output.[Ch]: New file for helper functions.
4827 * paragraph_funcs.[Ch]: output functions moved to new files.
4829 * outputparams.h: rename of latexrunparams.h
4837 * paragraph_funcs.[Ch]:
4838 * paragraph_pimpl.[Ch]:
4839 * tabular.[Ch]: rename ascii to plaintext
4840 and LatexRunParams to OutputParams.
4842 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4844 * iterators.[Ch] (text): require bv argument
4845 * undo.C (recordUndo):
4846 * lyxfunc.C (dispatch):
4847 * bufferview_funcs.C (put_selection_at): adjust
4849 2003-11-05 Jo� Luis M. Assirati <assirati@fma.if.usp.br>
4851 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4853 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4855 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4858 2003-11-04 André Pönitz <poenitz@gmx.net>
4860 * cursor.[Ch]: restructure
4863 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4865 * iterators.[Ch] (asCursor): remove
4867 * lfuns.h: remove LFUN_INSET_EDIT
4873 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4875 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4877 * lyxfind.[Ch]: complete overhaul
4878 * BufferView_pimpl.C:
4880 * paragraph.[Ch] (insert): add
4882 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4886 * text.C: remove dead spellcheck code
4888 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4890 * dispatchresult.h: add a val setter
4892 * cursor.C (dispatch): use a tempvar for data_[i]
4894 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4896 * PosIterator.[Ch]: compile fix
4898 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4900 * text.C (cursorPar): deactivate the cursor cache
4902 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4904 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4906 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4908 * text3.C (dispatch): adjust for new DisptchResult semantics.
4910 * lyxfunc.C (dispatch): handle update when return from
4911 Cursor::dispatch, adjust for new DispatchResult semantics.
4913 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4914 DispatchResult(true) mean to not update. Add class functions for
4915 setting dispatched and update, as well as reading.
4917 * cursor.C (dispatch): don't handle update here
4919 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4921 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4922 * trans_mgr.C: adjust
4924 * paragraph_funcs.C (readParToken): exception safety
4926 * lyxvc.h: store the vcs pointer in a scoped_ptr
4929 * lyxsocket.C (serverCallback): exception safety
4931 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4933 * ispell.C (clone): make it return a auto_ptr
4935 * factory.C (createInset): exception safety
4936 (readInset): exception safety
4938 * bufferlist.C (newBuffer): exception safety
4940 * Thesaurus.C (Thesaurus): use initialization for aik_
4942 * MenuBackend.C (expandToc): exception safety.
4944 2003-11-03 André Pönitz <poenitz@gmx.net>
4948 * bufferview_funcs.C: remove getInsetFromId()
4951 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4957 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4959 * PosIterator.C (distance, advance): new
4960 * bufferview_funcs.[Ch] (put_selection_at): new
4961 * iterators.[Ch] (lockPath): new
4963 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
4965 * iterators.[Ch] (asPosIterator): added
4966 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4967 * PosIterator.[Ch]: added
4969 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4973 * cursor.C (dispatch):
4974 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4976 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4977 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4978 contructor, add a class function dispatched. Remove operator>=
4980 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4982 * debug.C: only use the default constructor for debugstream
4985 * main.C (main): include debug.h and setup the lyxerr streambuf
4988 2003-10-31 José Matos <jamatos@lyx.org>
4990 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4992 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4993 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4994 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4995 * paragraph_pimpl.C (simpleTeXSpecialC):
4996 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4997 add LatexRunParams argument.
4999 * exporter.C (Export): change call accordingly.
5001 * latexrunparams.h: add new member to take care of the other backends.
5002 2003-10-30 José Matos <jamatos@lyx.org>
5004 * buffer.C (makeLinuxDocFile, makeDocBookFile):
5005 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5006 factorise code for paragraph output.
5008 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
5011 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5013 * text3.C (dispatch):
5014 * lyxfunc.C (dispatch):
5015 * cursor.C (dispatch):
5016 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
5018 * dispatchresult.h: make the dispatch_result_t ctor explicit
5020 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
5023 * buffer.C: small refactoring of docbook stuff
5025 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5027 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
5030 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5032 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
5033 operator dispatch_result_t, and operators for == != and >=
5035 * cursor.C (dispatch): adjust for operator dispatch_result_t
5036 removal. comment out call to update
5038 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
5040 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5048 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
5051 * dispatchresult.h: new file, DispatchResult broken out of
5054 * Makefile.am (lyx_SOURCES): add dispatchresult.h
5056 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
5058 * text.C (rowBreakPoint): put a hack inside #if 0
5060 2003-10-28 André Pönitz <poenitz@gmx.net>
5064 * paragraph_funcs.C:
5067 * text2.C: general cleanup (lots of small stuff)
5069 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
5071 * text2.C (cursorEnd): simple fix to the "end key goes to one
5072 before the end on last row" bug
5074 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5076 * text.C (backspace): fix the "zombie characters"
5078 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5080 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
5082 2003-10-27 André Pönitz <poenitz@gmx.net>
5084 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
5086 * factory.C: handle new InsetPagebreak, InsetLine
5088 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
5089 and move handling into new InsetPagebreak, InsetLine
5091 * BufferView_pimpl.C:
5093 * ParagraphParameters.C:
5094 * ParameterStruct.h:
5099 * paragraph_funcs.C:
5100 * paragraph_pimpl.C:
5106 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5109 * lyxrow_funcs.[Ch]:
5115 * text3.C: remove lastPos uses in favour of Row::endpos
5117 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5119 * undo.C (performUndoOrRedo): fix two crashes by setting a
5120 cursor by hand and reordering some calls. Use bv->lockInset instead
5121 of inset->edit because the latter loses cursor information
5123 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
5125 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
5127 (rowBreakPoint): fix width. change point to point + 1.
5128 Add a missing check.
5130 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
5133 * lyxfunc.C: fix (at least partly) the problems
5134 with the Nav menu and headers inside branch insets
5137 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
5139 * paragraph.C (getChar): add strong asserts
5141 * lyxrow_funcs.C (lastPos): remove hideous hack
5143 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
5144 (fill): adjust to that (avoid an infinite loop)
5146 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
5148 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
5150 2003-10-23 André Pönitz <poenitz@gmx.net>
5152 * RowList_fwd.h: change list<> to vector<> to gain speed
5153 after suggestion from Alfredo
5155 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
5157 * lyxtext.h: move the bidi stuff from here...
5160 * Bidi.[Ch]: ... to here
5162 2003-10-23 André Pönitz <poenitz@gmx.net>
5165 * text.C (isLastRow, isFirstRow): new functions
5167 * paragraph.h: new width cache member
5169 * rowpainter.C: replace RowList::iterator with Row & where possible
5171 * lyxfunc.C: replace several view()->text with a single call
5173 * toc.C: fix 'unused' warning
5175 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5177 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
5178 when woring with stream::pos_type
5179 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
5181 2003-10-22 André Pönitz <poenitz@gmx.net>
5184 * text.C: use Row & instead of RowList::iterator
5186 * lyxrow.h: rename end() to endpos()
5192 2003-10-22 Angus Leeming <leeming@lyx.org>
5194 * buffer.[Ch] (fully_loaded): new member function, returning true
5195 only when the file has been loaded fully.
5196 Used to prevent the premature generation of previews and by the
5197 citation inset to prevent computation of the natbib-style label.
5199 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
5200 templates are all set up.
5202 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
5204 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
5206 * text.C: fixed an "oops" in the "is a bit silly"
5209 2003-10-21 André Pönitz <poenitz@gmx.net>
5211 * FuncStatus.[Ch]: small stuff, whitespace
5213 * lyxfont.[Ch]: operator<<() for debug reasons
5217 * lyxtext.h: whitespace, spelling
5219 * paragraph.C: naming of variables
5222 * text2.C: small stuff
5225 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
5227 * text.C: (1) finish off the inset display() work;
5228 (2) fix the "is a bit silly" bug (accessing char
5231 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
5233 * text.C: re-introduce display() for insets, fixing the
5234 various bugs (stretch of line above, math inset
5237 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5239 * text.C (rightMargin): remove spurious semicolon
5241 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
5244 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
5246 * text3.C: fix one crash due to wrong cursor def
5248 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5250 * vc-backend.C (scanMaster): make the regex static
5252 * LaTeX.C (scanAuxFile): make the regexs static
5254 * text3.C (doInsertInset, dispatch, dispatch):
5255 * text2.C (cursorUp, cursorDown):
5256 * text.C (selectNextWordToSpellcheck):
5257 * BufferView_pimpl.C (dispatch):
5258 * lyxfunc.C (dispatch): localDispatch -> dispatch
5260 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5262 * lyxsocket.C: include <cerrno>
5264 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5266 * lyxfunc.C (dispatch): remove textcache stuff
5268 * bufferlist.C (release): remove textcache stuff
5271 * TextCache.C: delete file
5272 * TextCache.h: delete file
5274 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
5276 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
5277 delete of the bv_->text.
5278 (resizeCurrentBuffer): remove texcache stuff
5279 (workAreaResize): ditto
5281 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5283 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
5286 2003-10-16 André Pönitz <poenitz@gmx.net>
5293 * text3.C: speed up by storing y positions per paragraph plus per-row
5294 offset instead of having a 'full' y position in the row.
5296 2003-10-15 André Pönitz <poenitz@gmx.net>
5300 * undo.[Ch]: make undo aware of inner insets
5302 2003-10-14 Angus Leeming <leeming@lyx.org>
5304 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
5305 static member functions LyX::ref() and LyX::cref.
5306 (lastfiles): new accessor functions for the new lastfiles_ member var.
5307 (addLyXView, views_): add a new LyXView to the list of views_.
5308 (updateInset): loop over all LyXViews to call their own updateInset
5309 member function, returning a pointer to the Buffer owning the inset.
5311 * BufferView_pimpl.C (loadLyXFile):
5312 * MenuBackend.C (expandLastfiles):
5313 * bufferlist.C (MenuWrite, QuitLyX):
5314 lastfiles is no longer a global variable.
5315 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
5317 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
5318 static function. Access through LyX::cref().emergencyCleanup().
5320 2003-10-14 André Pönitz <poenitz@gmx.net>
5322 * iterators.[Ch]: new direct access to innermost LyXText and Inset
5324 * undo.[Ch]: restoring part of 'undo in insets'
5327 * undo_funcs.[Ch]: merge with undo.[Ch]
5329 * tabular.C: small cleansing stuff
5331 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
5333 * paragraph_funcs.C (readParToken): report unknown insets as error
5334 boxes. Use the outer paragraph as location (also for unknown
5337 * factory.C (readInset): do not abort on reading an unknown inset.
5338 Eat it and return 0.
5340 2003-10-13 Angus Leeming <leeming@lyx.org>
5342 * lyx_main.C (LyX): remove call to setDisplayTranslator().
5344 * lyxrc.C: displayTranslator is now a function,
5345 declared in GraphicsTypes.h.
5347 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5349 * format.C: new placeholder $$a to pass the socket address.
5351 * bufferlist.[Ch]: new function getBufferFromTmp.
5353 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
5354 files in the temporary dir.
5356 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5358 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
5360 * Makefile.am: add lyxsocket.[Ch].
5362 * lyx_main.C (error_handler): handle SIGPIPE.
5364 2003-10-13 André Pönitz <poenitz@gmx.net>
5366 * BufferView_pimpl.C:
5371 * undo_funcs.[Ch]: use paroffset_type instead of
5372 ParagraphList::iterators to prevent multiple conversion
5373 (and get a more robust interface)
5375 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5377 * lyxfunc.C (dispatch): RESULT -> dispatch_result
5379 * text3.C (dispatch): ditto
5381 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5383 * LaTeX.C (handleFoundFile): move the static to smaller scope,
5384 move the onlyfile, use onlyfile instead of foundfile in a couple
5387 * DepTable.C (update): flush the error stream a bit more
5389 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5391 * lyxserver.C (callback): adjust
5393 * lyxfunc.C (getStatus): add a missing brace in commented code
5394 (ensureBufferClean): reindent
5395 (dispatch): delete version taking a string
5397 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5399 * LaTeX.C (deplog): move found file handlig from here...
5400 (handleFoundFile): .. to new function here.
5401 (deplog): make sure to discover several files mentioned on the
5404 2003-10-10 André Pönitz <poenitz@gmx.net>
5411 * text3.C: fix some of the tabular crashes
5413 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5415 * MenuBackend.C (binding): put debug message into Debug::KBMAP
5417 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
5419 2003-10-09 André Pönitz <poenitz@gmx.net>
5421 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
5424 * BufferView_pimpl.C:
5425 * bufferview_funcs.C:
5436 * undo_funcs.C: adjust
5438 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5440 * text2.C (incrementItemDepth): new function, use a backtracking
5441 algorithm to discover the correct item depth.
5442 (resetEnumCounterIfNeeded): new function, use a backtracking
5443 algorithm to discover if counter reset is needed.
5444 (setCounter): use them. Simplify a bit. Add different labels for
5445 different item depths for itemize.
5447 * paragraph.C (Paragraph): remove initialization of enumdepth
5450 * paragraph.h: get rid of enumdepth, and use itemdepth both for
5451 enumerate and itemize. Change the type of itemdepth to signed char.
5453 2003-10-08 André Pönitz <poenitz@gmx.net>
5455 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5460 * tabular.[Ch]: fix crash after 'row-insert'
5462 2003-10-08 Angus Leeming <leeming@lyx.org>
5464 Fix doxygen warnings.
5466 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5467 Remove CutAndPaste:: prefix from header file declaration.
5469 * LColor.h (fill): remove LColor:: prefix from declaration.
5471 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5472 use lyx::depth_type rather than Paragraph::depth_type so that
5473 header file and .C file match.
5475 * converter.h (intToFormat): remove Converters:: prefix from declaration.
5477 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5478 * aspell.C: \file aspell_local.C -> \file aspell.C
5479 * gettext.C: \file gettext.C -> \file src/gettext.C
5480 * gettext.h: \file gettext.h -> \file src/gettext.h
5481 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5482 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5483 * text.C: \file text.C -> \file src/text.C
5485 * toc.C: move comment so that doxygen is not confused.
5487 2003-10-07 Angus Leeming <leeming@lyx.org>
5489 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5491 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5494 * aspell_local.h: add forgotten std::string's.
5496 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
5503 * text3.C: The Box patch. Fancybox support, minipage, parbox
5505 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
5511 * ParagraphParameters.h:
5521 * lyxtextclasslist.h:
5524 * paragraph_pimpl.C:
5525 * textcursor.h: add <string> and other small fixes to make Lars'
5526 std::string patch compile with STLport.
5528 2003-10-06 Angus Leeming <leeming@lyx.org>
5530 * LColor.h: Add missing #include <string>.
5532 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5534 * All most all file in all subdirs: Make <string> be the prefered
5535 way of getting to std::string, add using declarations.
5537 2003-10-06 André Pönitz <poenitz@gmx.net>
5539 * metricsinfo.C: initialize LyXFont before changing attribute.
5540 (fixes the 'math in \emph is upright' bug)
5542 2003-10-06 André Pönitz <poenitz@gmx.net>
5544 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5546 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
5549 * paragraph_pimpl.C: Small fixes to build using STLport
5551 2003-10-02 André Pönitz <poenitz@gmx.net>
5554 * text3.C: move handling of LFUN_DEPTH *; fix #1360
5556 2003-10-01 André Pönitz <poenitz@gmx.net>
5558 * factory.C: assert early
5560 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5562 * lyx_main.C: remove the global debug object
5564 * debug.h: adjust for new debugstream
5566 * debug.C: adjust for new debugstream and keep the global debug
5569 2003-09-22 Angus Leeming <leeming@lyx.org>
5571 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5572 of g++ which otherwise complain that the scoped_ptr destructor can't delete
5573 an incomplete class LyXFont.
5575 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
5577 * factory.C: bug fix in branches
5579 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5581 * lyxfunc.C (processKeySym): adjust
5583 (dispatch): change arg name from ev to func, adjust
5584 (sendDispatchMessage): ditto
5586 * lyx_main.C (defaultKeyBindings): adjust keybindings
5587 (deadKeyBindings): ditto
5589 * kbsequence.C (addkey): return a FuncRequest
5591 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5593 * kbmap.C (bind): take a FuncRequest as arg, adjust
5596 (defkey): change to take a FuncRequest as arg, adjust
5597 (findbinding): take a FuncRequest as arg, adjust.
5599 * funcrequest.h (operator=): added
5601 * funcrequest.C (FuncRequest): default kb_action changed from
5602 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5604 * buffer.C (dispatch): simplify
5605 (dispatch): adjust to take a FuncRequest as arg, adjust
5607 * boost.C (assertion_failed): change assertion message slightly
5609 * ToolbarBackend.C (read): simplify
5611 * MenuBackend.C (binding): adjust call to findbinding, add a
5612 message if no binding is found.
5614 (expandToc): correct by adding a empty FuncRequest
5616 * LyXAction.C: include <boost/assert.hpp>
5617 (isPseudoAction): delete function
5618 (LookupFunc): change name to...
5619 (lookupFunc): this. change return type to FuncRequest.
5620 (getActionName): take kb_action as arg, simplify
5621 (funcHasFlag): add an assert, simplify.
5623 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5625 * toc.C (action): return a FuncRequest, simplify
5627 * lyxfunc.C (processKeySym): adjust
5628 (getStatus): delete version that takes an int.
5630 (dispatch): delete version that takes action as int
5632 (sendDispatchMessage): simplify and adjust
5634 * funcrequest.C (getArg): take unsigned int as arg
5636 * ToolbarBackend.C (read): adjust
5637 (add): delete version that takes func as a string.
5638 (getIton): take a FuncRequest as arg
5640 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5643 * MenuBackend.C (MenuItem): add a new construct that only takes a
5644 Kind, simplify the constructor use for submenus.
5646 (expandLastfiles): adjust
5647 (expandDocuments): adjust
5648 (expandFormats): adjust
5649 (expandFloatListInsert): adjust
5650 (expandFloatInsert): adjust
5651 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5653 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5654 Remove class variables lyx_pseudo_map and lyx_arg_map
5656 * LyXAction.C (searchActionArg): delete function
5657 (getPseudoAction): delete function
5658 (retrieveActionArg): delete function
5659 (LookupFunc): make it return kb_action, simplify.
5660 (getActionName): simplify
5662 * factory.C (createInset): fix new bug
5664 2003-09-19 Angus Leeming <leeming@lyx.org>
5666 * CutAndPaste.C (pasteSelection): remove fudge used to set the
5667 masterFilename_ parameter in the include inset.
5669 * factory.C (createInset): changes due to the changes to InsetInclude.
5671 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5673 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5675 2003-09-18 Angus Leeming <leeming@lyx.org>
5678 * BufferView.C: pass the buffer when calling Inset::getLabelList,
5679 Inset::fillWithBibKeys.
5680 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5682 2003-09-18 Angus Leeming <leeming@lyx.org>
5684 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5686 (ctor): pass and store a 'Buffer const &'
5687 (buffer): new member function.
5689 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5690 '*this' to the LaTeXFeatures ctor.
5692 2003-09-18 Angus Leeming <leeming@lyx.org>
5698 * text.C: rename EnumLColor as LColor_color.
5700 2003-09-18 Angus Leeming <leeming@lyx.org>
5702 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5703 remove #include "insets/insetbase.h" from cursor.h.
5705 2003-09-18 Angus Leeming <leeming@lyx.org>
5707 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5708 InsetOld_code to remove #include "inset.h".
5710 * iterators.C: add #include "insets/inset.h"
5712 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
5714 * BufferView.C: remove more locking stuff that apparently doesn't
5715 do anything sensible.
5717 2003-09-16 André Pönitz <poenitz@gmx.net>
5720 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5723 2003-09-16 Angus Leeming <leeming@lyx.org>
5725 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5727 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5730 * paragraph.h: remove #include "lyxfont.h". Forward declare
5733 2003-09-16 Angus Leeming <leeming@lyx.org>
5735 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5736 of support/textutils.h.
5737 (isWord): move the contents of support/textutils.h's IsWordChar here.
5743 * text2.C: add #include "paragraph.h".
5746 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5748 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5754 * LaTeX.C: use namespace alias for lyx::support::os
5756 2003-09-16 Angus Leeming <leeming@lyx.org>
5759 * bufferview_funcs.C:
5762 * paragraph_pimpl.C:
5764 * text.C: add #include "LColor.h".
5766 2003-09-16 Angus Leeming <leeming@lyx.org>
5768 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5769 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5771 Store the FontBits::color variable as an int rather than as an
5772 LColor::colorso that we can move LColor.h out of the lyxfont.h header
5775 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5776 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5777 string calls together.
5779 * lyxrc.C: add #include "LColor.h".
5781 2003-09-15 Angus Leeming <leeming@lyx.org>
5783 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5786 2003-09-15 Angus Leeming <leeming@lyx.org>
5788 * LColor.h: add an EnumLColor wrapper for LColor::color.
5790 * lyxfont.[Ch] (color, setColor, realColor):
5791 * lyxtext.h, text.C (backgroundColor):
5792 pass EnumLColor args to/from the functions, rather than LColor::color
5796 * lyxtext.h: forward declare EnumLColor.
5798 * lyx_main.C: add #include "LColor.h".
5800 2003-09-15 Angus Leeming <leeming@lyx.org>
5802 * .cvsignore: add lyx-gtk.
5804 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5809 * ParagraphParameters.C
5813 * bufferview_funcs.C
5823 * vc-backend.C: remove usage of STRCONV
5825 2003-09-15 Angus Leeming <leeming@lyx.org>
5827 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5828 explicitly define the color passed to the painter.
5830 2003-09-15 Angus Leeming <leeming@lyx.org>
5832 * bufferparams.C (BufferParams): reorder member initializers to avoid
5835 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
5837 * CutAndPaste.C (pasteSelection): remove an outdated #warning
5838 * text.C (updateRowPositions): remove an unusual nop
5840 2003-09-12 André Pönitz <poenitz@gmx.net>
5842 * BufferView_pimpl.C:
5851 * Counters.[Ch]: finish the 'automatic counters' job
5853 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5855 * aspell.C: include <boost/assert.cpp> (compile fix)
5857 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
5859 * boost.C (assertion_failed): use lyx::support::abort instead of
5862 2003-09-10 Angus Leeming <leeming@lyx.org>
5864 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5865 with their _fwd progeny.
5867 2003-09-09 Angus Leeming <leeming@lyx.org>
5869 134 files throughtout the source tree: replace 'using namespace abc;'
5870 directives with the appropriate 'using abc::xyz;' declarations.
5872 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5874 * boost.C (emergencyCleanup): moved here from LAssert.c
5875 (assertion_failed): new function, called by BOOST_ASSERT
5877 * several files: change Assert to BOOST_ASSERT
5879 2003-09-09 Angus Leeming <leeming@lyx.org>
5881 * buffer.[Ch]: Add an Impl class and move Buffer's member
5882 variables into it. As a result move several header files out of
5885 Add header files to lots of .C files all over the tree as a result.
5887 2003-09-09 Angus Leeming <leeming@lyx.org>
5889 * buffer.[Ch]: make Buffer's member variables private. Add
5892 Lots of changes all over the tree as a result.
5894 2003-09-08 Angus Leeming <leeming@lyx.org>
5896 * graph.C: #include <config.h>.
5898 2003-09-08 Angus Leeming <leeming@lyx.org>
5902 * BufferView_pimpl.C:
5931 * toc.C: remove redundant using directives.
5933 2003-09-07 Angus Leeming <leeming@lyx.org>
5935 * LaTeXFeatures.h: remove #include "support/types.h".
5936 * ToolbarBackend.h: remove #include <algorithm>.
5937 * changes.h: remove #include <ctime>.
5938 * debug.h: remove #include <iosfwd>.
5939 * graph.h: remove #include "support/std_string.h".
5940 * lyx_main.h: remove #include <csignal>.
5941 * lyxlex_pimpl.h: remove #include <fstream>.
5942 * sgml.h: remove #include <algorithm>, <utility>.
5943 * toc.h: remove #include "support/std_ostream.h".
5944 Add #include <iosfwd>.
5946 2003-09-07 Angus Leeming <leeming@lyx.org>
5948 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5950 * converter.h: forward declare LatexRunParams.
5951 * encoding.h: remove #include "lyxrc.h".
5952 * lyxtext.h: remove #include "LColor.h".
5953 * lyxtextclass.h: remove #include "support/types.h".
5954 * trans.h: remove #include "tex-accent.h".
5955 * trans_mgr.h: remove #include "tex-accent.h".
5956 * insets/inset.h: remove #include "support/types.h", <vector>.
5957 * insets/insetcollapsable.h: remove #include "LColor.h".
5958 * insets/insetinclude.h: remove #include "dimension.h".
5959 * insets/insetlatexaccent.h: remove #include "dimension.h".
5960 * insets/insetoptarg.h:: remove #include "insettext.h".
5961 * insets/insettext.h: remove #include "dimension.h",
5962 <boost/shared_ptr.hpp>
5964 * insets/renderers.h: add #include "dimension.h".
5965 * insets/updatableinset.h: add #include "support/types.h".
5967 * many .C files: Associated changes.
5969 2003-09-06 Angus Leeming <leeming@lyx.org>
5971 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5972 one, inside testInvariant.
5974 * PrinterParams.C: new file.
5975 * PrinterParams.[Ch]: move the function bodies out of line.
5977 2003-09-06 Angus Leeming <leeming@lyx.org>
5979 * ParagraphParameters.h: forward declare ParameterStruct rather than
5980 including its header file.
5981 (depth): moved out-of-line.
5983 2003-09-06 Angus Leeming <leeming@lyx.org>
5985 * BufferView_pimpl.h:
5988 * lyxfunc.h: forward declare LyXKeySym rather than
5989 #include "frontends/LyXKeySym.h".
5991 * BufferView_pimpl.C:
5994 * lyxfunc.C: associated changes.
5996 2003-09-06 Angus Leeming <leeming@lyx.org>
5998 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5999 As a result, can remove the #include "insets/inset.h" from BufferView.h
6001 2003-09-06 Angus Leeming <leeming@lyx.org>
6003 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
6004 As a result, can remove the #include "insets/inset.h" from BufferView.h
6006 2003-09-06 Angus Leeming <leeming@lyx.org>
6012 * bufferview_funcs.C:
6013 * BufferView_pimpl.C:
6018 * ParagraphParameters.C:
6023 * frontends/controllers/ControlDocument.C:
6024 * insets/insetcaption.C: rearrange the #includes into some sort of
6027 * buffer.h: remove #includes ErrorList.h, undo.h
6029 2003-09-06 Angus Leeming <leeming@lyx.org>
6031 * support/types.h: add a 'depth_type' typedef, used to store the
6032 nesting depth of a paragraph.
6035 * ParameterStruct.h: use this lyx::depth_type typedef rather than
6036 defining explicitly.
6039 * paragraph_funcs.h:
6040 * ParagraphParameters.h:
6041 * sgml.h: use lyx::depth_type rather than Paragraph or
6042 ParameterStruct's depth_type.
6045 * paragraph_funcs.h: no need to #include paragraph.h anymore.
6048 * BufferView_pimpl.C:
6050 * ParagraphParameters.C:
6053 * bufferview_funcs.C:
6060 * frontends/LyXView.C:
6061 * frontends/controllers/ControlDocument.C:
6062 * frontends/controllers/ControlErrorList.C:
6063 * insets/insetbibitem.C:
6064 * insets/insetbranch.C:
6065 * insets/insetcaption.C:
6066 * insets/insetcollapsable.C:
6067 * insets/insetenv.C:
6068 * insets/insetert.C:
6069 * insets/insetfloat.C:
6070 * insets/insetfoot.C:
6071 * insets/insetfootlike.C:
6072 * insets/insetnewline.C:
6073 * insets/insetquotes.C:
6074 * insets/insettabular.C:
6075 * insets/insettext.C:
6076 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
6078 * frontends/controllers/ControlChanges.C: #include "changes.h".
6080 2003-09-06 Angus Leeming <leeming@lyx.org>
6082 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
6083 than #including paragraph.h.
6086 * RowList.h: deleted. Superfluous.
6096 * insets/insettext.h: use ParagraphList_fwd.h rather than
6099 * paragraph.h: don't forward declare ParagraphList.
6102 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
6103 rather than ParagraphList.h. paragraph.h is still needed for the
6104 Paragraph::depth_type parameters.
6106 * textcursor.h: enable it to compile stand-alone in light of the
6109 * bufferview_funcs.C:
6121 * frontends/controllers/ControlParagraph.C:
6122 * frontends/controllers/ControlTabular.C:
6123 * insets/insetmarginal.C:
6124 * insets/insetminipage.C:
6125 * insets/insetnote.C:
6126 * insets/insetoptarg.C: add header files needed to compile again.
6128 2003-09-06 Angus Leeming <leeming@lyx.org>
6130 * RowList_fwd.h: new file, forward-declaring Row rather than
6131 #including lyxrow.h.
6136 * insets/insettext.h: use it instead of RowList.h
6138 * bufferview_funcs.C:
6145 * text3.C: #include "RowList.h".
6147 2003-09-05 Angus Leeming <leeming@lyx.org>
6149 * factory.C (createInset):
6150 * vspace.C (c-tor): replace sscanf call with an istringstream.
6151 * ispell.C: re-add missing HP/UX headers.
6152 * lyxserver.C: re-add missing os2 headers.
6154 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
6163 * text3.C: re-add missing system headers, needed for 2.95.2.
6165 2003-09-05 Angus Leeming <leeming@lyx.org>
6167 Changes most place everywhere due to the removal of using directives
6168 from support/std_sstream.h.
6170 2003-09-05 Angus Leeming <leeming@lyx.org>
6172 Replace LString.h with support/std_string.h,
6173 Lsstream.h with support/std_sstream.h,
6174 support/LIstream.h with support/std_istream.h,
6175 support/LOstream.h with support/std_ostream.h.
6177 Changes resulting throughout the tree.
6179 2003-09-05 Angus Leeming <leeming@lyx.org>
6181 * sgml.h: ensure that the header file can be compiled stand-alone.
6182 * *.C: strip out redundant #includes. (320 in total.)
6184 2003-09-04 Angus Leeming <leeming@lyx.org>
6186 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
6187 here (from getPackages).
6189 * debug.[Ch]: add a new EXTERNAL tag.
6191 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6193 * text2.C (cursorEnd): simplify
6195 (getColumnNearX): adjust
6197 * text.C (computeBidiTables): adjust
6200 * rowpainter.C (paintChars): adjust
6201 (paintSelection): adjust
6202 (paintChangeBar): adjust
6205 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
6207 (numberOfSeparators): adjust
6209 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
6215 * text3.C: Restricts the mouse click functionality
6216 of insets like bibtex, include, toc and floatlist to the visible
6217 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
6218 up the dialogs. Cursor has to be in front of the inset (i.e.
6219 start of row) for this to function.
6221 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6223 * bufferview_funcs.C (currentState): output row information
6225 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6227 * bufferview_funcs.C (currentState): output paragraph position
6229 2003-09-04 Angus Leeming <leeming@lyx.org>
6231 * FloatList.h: move out #include "Floating.h".
6232 * LaTeX.h: move out #include "DepTable.h".
6233 * LyXAction.h: move out #include "funcrequest.h".
6234 * buffer.h: move out #include "author.h", "iterators.h".
6235 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
6236 * lyx_main.h: move out #include "errorlist.h".
6237 * lyxfunc.h: move out #include "FuncStatus.h".
6238 * lyxtext: move out #include "lyxcursor.h".
6239 * paragraph_pimpl.h: move out #include "counters.h".
6241 2003-09-03 Angus Leeming <leeming@lyx.org>
6243 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
6244 preamble_snippets list, enabling us to add snippets to the preamble
6245 only if the snippet was not there already.
6247 2003-09-04 Angus Leeming <leeming@lyx.org>
6249 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
6251 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6253 * lyxfunc.C (dispatch): if fitCursor did something be sure to
6256 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
6258 * BranchList.C: point fix, earlier forgotten
6260 2003-09-02 Angus Leeming <leeming@lyx.org>
6262 * box.C (contains): renamed from 'contained' after a fantastic
6265 2003-09-02 John Levon <levon@movementarian.org>
6271 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
6273 2003-09-02 John Levon <levon@movementarian.org>
6275 * text2.C: simplification of cursorEnd(), including partial
6278 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6280 * buffer.C (readFile): add a space
6282 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
6284 * BufferView_pimpl.C (update): remove bogus fitCursor() call
6286 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6288 * buffer.C (readFile): new function, take a filename and a
6289 ParagraphList::iterator
6291 (readFile): adjust, make it private. don't use setStream, make
6292 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
6293 always contain the filename.
6295 * BufferView.C (insertLyXFile): simplify and make it work for
6298 2003-08-30 John Levon <levon@movementarian.org>
6300 * Makefile.am: fix dist (from Kayvan)
6302 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6304 * most files: change to use const Buffer refs
6306 2003-08-27 André Pönitz <poenitz@gmx.net>
6308 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
6309 on top of ownerPar().
6311 2003-08-27 John Levon <levon@movementarian.org>
6313 * funcrequest.C: properly initialise POD members
6315 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
6317 * lyxtext.h (top_y): move top_y from here
6322 * BufferView_pimpl.[Ch]: to here
6323 * frontends/screen.C:
6324 * insets/insettabular.C:
6325 * insets/insettext.C: adjust
6326 * rowpainter.[Ch] (paintRows): remove LyXText & argument
6328 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
6331 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
6333 2003-08-26 André Pönitz <poenitz@gmx.net>
6335 * paragraph_func.[Ch] (outerPar): new function
6338 * paragraph_funcs.C:
6339 * paragraph_funcs.h:
6340 * paragraph_pimpl.C:
6341 * text2.C: remove Inset::par_owner
6343 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
6348 * text2.C: eliminates the needFullRow/display() stuff
6349 altogether, putting the logic in metrics/draw in the insets.
6351 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
6353 * text2.C (redoParagraphInternal, redoParagraphs):
6354 * text.C (redoParagraph): add a call to updateRowPositions at the
6355 end of each 'metrics-like' call. Remove all others.
6356 (getRow): remove the 'y-computing' version.
6357 (getRowNearY): do not compute nor return the real y. Solve the
6358 'y < 0' problem and simplify.
6360 2003-08-22 Angus Leeming <leeming@lyx.org>
6362 * *.[Ch]: clean-up of licence and author blurbs.
6363 Also move config.h out of a few .h files and into a few .C files.
6365 2003-08-22 André Pönitz <poenitz@gmx.net>
6367 * lyxrow.[Ch]: add x_ and *fill_ members
6372 * text2.C: adjust/remove prepareToPrint() calls
6374 2003-08-22 André Pönitz <poenitz@gmx.net>
6376 * lyxrow.[Ch]: add end_ member
6378 * lyxrow_funcs.C: use LyXRow::end_
6380 * lyxtext.h (singleWidth): add LyXFont parameter
6383 * text2.C: adjust LyXText::singleWidth() calls
6385 * text.C (redoParagraph): simplify row breaking logic
6388 2003-08-19 André Pönitz <poenitz@gmx.net>
6390 * funcrequest.C: initialize button_ member
6393 * rowpainter.[Ch]: interface consolidation
6395 2003-08-18 André Pönitz <poenitz@gmx.net>
6398 * BufferView_pimpl.C:
6400 * paragraph_funcs.C:
6402 * text3.C: remove LyXScreen::draw() and fitCursor calls
6404 * BranchList.h: remove spurious semicolons
6406 * MenuBackend.C: fix branchlist related crash
6408 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
6416 * bufferparams.[Ch]:
6420 * text3.C: implements the 'branch inset'
6421 idea. This allows the output of various versions of a document
6422 from a single source version, selectively outputing or suppressing
6423 output of parts of the text.
6424 This implementation contains a 'branch list editor' in a separate
6425 tab of the document settings dialog. Branches are user definable
6426 and have a "display colour" to distinguish them on-screen.
6428 ColorHandler was somewhat cleaned up.
6429 (1) make possible a dynamically growing LColor list by allowing
6430 the graphic context cache to grow along (vector);
6431 (2) eliminate an IMHO unnecessary step in colour allocation.
6433 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
6435 * BufferView_pimpl.C: compile fix
6437 2003-08-15 André Pönitz <poenitz@gmx.net>
6439 * rowpainter.C: remove extra metrics calls
6441 * lyxtext.h: merge the two constructors into a single one,
6442 pass reference to owner's par list
6444 * BufferView_pimpl.C:
6448 2003-08-15 André Pönitz <poenitz@gmx.net>
6450 * lyxrow_funcs.[Ch]:
6453 * paragraph_funcs.C:
6458 * text_funcs.C: split LyXText::rowlist_ into individual
6459 Paragraph::rows_ chunks
6462 * BufferView_pimpl.[Ch]:
6465 * text3.C: remove toggleSelection()
6467 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
6469 * bufferlist.C: beautify two alerts (shorter text of buttons)
6470 * buffer.C: Remove redundant ' ' from message
6472 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6473 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6474 rename VALIGN_CENTER to VALIGN_MIDDLE
6476 2003-08-11 André Pönitz <poenitz@gmx.net>
6478 * lyxtext.h (getPar):
6479 * text.C: new function
6481 2003-08-11 André Pönitz <poenitz@gmx.net>
6484 * tracer.[Ch]: remove unneeded files
6486 * InsetList.[Ch]: remove resizeInsetsLyXText()
6491 * text3.C: merge insertParagraphs() and appendParagraph()
6492 remove breakAgain(), update()
6494 * BufferView_pimpl.[Ch]:
6495 * bufferview_funcs.[Ch]:
6499 * tabular.C: adjust after text & InsetList changes.
6501 2003-08-08 André Pönitz <poenitz@gmx.net>
6503 * text.C (insertChar, backspace): replace rowlist fiddling
6504 with rebreak of full par
6507 * text.C (breakAgainOneRow, redoHeightOfParagraph,
6508 checkParagraph, updateInset): removed
6510 2003-08-07 André Pönitz <poenitz@gmx.net>
6513 * text3.C: merge some LFUN handlers, remove dead code
6515 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6517 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6519 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
6521 * text2.C (DEPM): fix part of bug 1255 and 1256
6523 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6525 * BufferView_pimpl.C (workAreaDispatch): change to use
6526 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6527 that are no mouse related.
6529 2003-08-05 André Pönitz <poenitz@gmx.net>
6532 * BufferView_pimpl.[Ch]:
6533 * bufferview_funcs.C:
6535 * text3.C: rip out "deep update"
6537 * textcursor.[Ch] (last_sel_cursor): remove unused member
6539 2003-08-04 André Pönitz <poenitz@gmx.net>
6542 * BufferView_pimpl.[Ch]:
6543 * ParagraphParameters.C:
6544 * bufferview_funcs.C:
6550 * text3.C: replace "complicated" BufferView::update(...) calls with
6553 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6555 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
6557 * Makefile.am (lyx_SOURCES): add paper.h
6559 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6561 * Makefile.am: move things around so that both lyx-qt and
6562 lyx-xforms can be built (according to --with-frontend). Then lyx
6563 is a symbolic link to lyx-[firstfrontend]
6565 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
6567 * Always use std::endl with lyxerr
6569 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
6571 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6573 2003-08-01 André Pönitz <poenitz@gmx.net>
6576 * BufferView_pimpl.[Ch]:
6578 * text3.C: merge BufferView::repaint() and BufferView::update()
6580 2003-08-01 José Matos <jamatos@lyx.org>
6582 * buffer.[Ch]: file_format is no longer a buffer data element.
6584 2003-08-01 André Pönitz <poenitz@gmx.net>
6589 * text2.C: make redoParagraph more independent of current cursor
6591 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6593 * text2.C: remove unneeded members
6595 2003-07-30 André Pönitz <poenitz@gmx.net>
6597 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6599 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6600 create a single function...
6602 * paragraph_funcs.C (moveItem): ... here.
6605 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6607 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6609 * LColor.[Ch]: Add comment and greyedout logical colors.
6611 2003-07-30 André Pönitz <poenitz@gmx.net>
6613 * tabular.C: don't use Assert too heavily. This crashes where it
6616 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
6618 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6619 is disabled (bug 1232)
6621 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6623 * factory.C: limited 'arg' scope
6625 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6627 * factory.C: fixed Note submenu issues
6629 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6631 * factory.C: submenu for Note/Comment/Greyedout
6633 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
6636 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6638 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
6641 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6642 greyedout. Patch provided by Jürgen Spitzmüller.
6644 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6646 * kbmap.C (read): fix error message when reading bind files
6648 2003-07-29 Angus Leeming <leeming@lyx.org>
6650 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6651 certainly does not do what it purports to do. I am doing it, and
6652 us, a favour by killing it.
6654 2003-07-28 José Matos <jamatos@lyx.org>
6656 * buffer.C (readBody, do_writeFile):
6657 * paragraph.C(readParagraph): \end_document replaces \the_end.
6659 2003-07-29 André Pönitz <poenitz@gmx.net>
6662 * BufferView_pimpl.[Ch]:
6666 * textcursor.[Ch]: remove toggleToggle & Co
6668 2003-07-28 José Matos <jamatos@fep.up.pt>
6670 * buffer.C (readParagraph):
6671 * params_func (readParToken, readParagraph):
6672 * paragraph.C (write): \layout -> \begin_layout.
6674 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6676 * lyxlex_pimpl.C (setFile): clean up slightly.
6678 * bufferparams.h: add compressed var
6680 * buffer_funcs.C (readFile): adjust for LyXLex change
6681 (newFile): ditto + simplify
6683 * buffer.C (writeFile): handle writing of compressed files
6685 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6686 Check if the file is compressed and set a bufferparm if so.
6688 * Makefile.am (lyx_LDADD): remove explicit -lz
6690 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6692 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6693 makeDocBookFile): put the real LyX version in the first line of
6697 * version.C.in: remove lyx_docversion
6699 * tabular.C (write_attribute): add a template-based version to
6700 write enums properly
6702 2003-07-28 André Pönitz <poenitz@gmx.net>
6707 * text3.C: use doubles again for x-coordinates. They are needed.
6709 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6711 * messages.C (getLocaleDir): use lyx_localedir()
6713 * lyxlex_pimpl.C (setFile): compress stuff
6715 * buffer.C (writeFile): add some compression stuff
6716 (do_writeFile): new func, dont call expliti close... will this
6719 * Makefile.am (lyx_LDADD): add -lz
6721 2003-07-28 José Matos <jamatos@fep.up.pt>
6723 * buffer.C: increment file format.
6724 * paragraph_funcs (readParagraph, readParToken):
6725 * paragraph.C (readParagraph): add \end_layout.
6727 2003-07-27 Angus Leeming <leeming@lyx.org>
6729 * Makefile.am: remove special casing for configure-time setting of
6730 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6732 * lyx_main.C (init): remove all Jean-Marc's magic setting of
6733 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6735 2003-07-26 André Pönitz <poenitz@gmx.net>
6737 * paragraph_func.[Ch]:
6738 * paragraph.C (realizeFont): inline it whereever it is used
6743 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6746 2003-07-26 André Pönitz <poenitz@gmx.net>
6750 * text2.C: get rid of LyXText::need_break_row
6752 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6754 * toc.[Ch]: put namespace toc inside namespace lyx
6756 * MenuBackend.C (expandToc2): adjust for lyx::toc
6759 * lyxfunc.C (dispatch): adjust for lyx::find
6761 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6762 lyx::find instead. Reorganize a bit.
6763 (LyXReplace): rename to replace
6764 (LyXFind): rename to find
6766 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6769 2003-07-26 André Pönitz <poenitz@gmx.net>
6771 * text.C (setHeightOfRow): restrict scope of temporary variable
6773 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
6774 code (never has been used?)
6776 2003-07-27 Asger Alstrup <alstrup@local>
6778 * text.C (fill): Optimise algorithm to exploit that we can reuse
6779 the LyXFont for many characters.
6780 (setHeightOfRow): Same thing.
6781 (rowBreakPoint): Same thing.
6783 2003-07-26 Asger Alstrup <alstrup@local>
6785 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6787 * text.C (singleWidth): Spurious font copying in hot-spot
6788 singleWidth avoided. Reorder tests for arabic for efficiency.
6790 * text.C (fill): handle empty paragraphs better.
6792 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6795 * encoding.h: add includes
6797 * lyxrc.C: remove reading of bind files
6799 * lyx_main.C (init): setup bindings and menus only if we have a
6802 * kbmap.C (read): new method. Do the actual reading of bind
6805 * converter.C (dvipdfm_options):
6808 (output): adapt PAPER_* enums.
6810 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6812 * bufferparams.h: remove paper-related enums from there
6814 * paper.h: New file. A trivial header file to hold paper-related
6815 enums. It should later expand to contain many paper-related
6818 * lyxrc.C: declare extern displayTranslator
6820 2003-07-27 José Matos <jamatos@fep.up.pt>
6822 * tabular.[Ch] (linuxdoc): add support for tables and figures
6825 2003-07-27 José Matos <jamatos@fep.up.pt>
6827 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6828 consistency in both functions.
6829 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6831 2003-07-26 Asger Alstrup <alstrup@local>
6833 * rowpainter.C (paintRows): Change algorithm to work directly on
6834 the insets rather than asking every character in the document
6835 whether its an inset.
6837 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
6839 * buffer.C (openFileWrite): factorize some code
6841 2003-07-26 Angus Leeming <leeming@lyx.org>
6844 * lyx_main.[Ch]: replace occurances of system_tempdir with
6847 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6849 * rename Inset to InsetOld
6851 2003-07-25 Asger Alstrup <alstrup@diku.dk>
6853 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6854 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6855 which I think is a bit clearer. EDIT is gone, since it was
6856 premature optimisation, and broken for mathed anyway.
6857 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6858 with cursor positioning in insets as well (math insets still do not
6859 work, but that's a different story anyway.) It mysteriously
6860 crashes sometimes with undo in the first paragraph, but I'm fairly
6861 confident that this is a compiler bug.
6863 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6865 * paragraph.C (Paragraph): adjust for new clone return type
6867 (copyIntoMinibuffer): ditto
6869 2003-07-25 Asger Alstrup <alstrup@lyx.org>
6871 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6872 by not having a special case, and always doing a full rebreak of
6873 the document after undo.
6875 2003-07-23 Angus Leeming <leeming@lyx.org>
6877 * factory.C (createInset): InsetExternal::setParams now takes a
6880 2003-07-23 Angus Leeming <leeming@lyx.org>
6882 * factory.C (createInset): changed interface to the external and
6883 graphics mailers' string2params functions.
6885 2003-07-23 Angus Leeming <leeming@lyx.org>
6887 * factory.C (createInset): pass a
6888 Buffer const * parameter to InsetExternalMailer's string2params.
6890 2003-07-22 John Levon <levon@movementarian.org>
6892 * Thesaurus.h: include the right aiksaurus header
6894 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6896 * MenuBackend.C (expand): check menu shortcuts unconditionally
6898 2003-07-21 Angus Leeming <leeming@lyx.org>
6900 * factory.C (createInset): pass a
6901 buffer_path parameter to InsetGraphicsMailer's string2params.
6903 2003-07-21 Angus Leeming <leeming@lyx.org>
6905 * BufferView_pimpl.C (buffer):
6908 * lyxfunc.C (dispatch):
6909 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6910 rather than the grfx shortcut.
6912 2003-07-21 André Pönitz <poenitz@gmx.net>
6914 * rowpainter.C: remove unused variables
6917 * tabular_funcs.h: move to tabular.C
6918 * Makefile.am: adjust
6920 * tabular.[Ch]: basic optical cleaning
6922 * author.h: pass references, not values
6924 2003-07-18 André Pönitz <poenitz@gmx.net>
6932 * text3.C: two-phase drawing for InsetText and InsetTabular
6933 some float -> int changes.
6935 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6937 * lyx_main.C: fix the fix
6939 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6941 * lyx_main.C: fix a crash in batch mode if no files specified
6944 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
6946 * format.[Ch] (papersize): moved to BufferParams
6947 * converter.[Ch] (dvips_options): moved to BufferParams
6948 (dvipdfm_options): moved to anon namespace
6949 * bufferparams.[Ch]: added above functions.
6951 2003-07-17 André Pönitz <poenitz@gmx.net>
6955 * text2.C: don't call inset->update() anymore
6957 * metricsinfo.[Ch]: add convenience constructor
6959 2003-07-16 André Pönitz <poenitz@gmx.net>
6964 * text2.C: replace the LyXCursor::irow_ member with
6965 on-demand computation of the value
6967 2003-07-16 John Levon <levon@movementarian.org>
6969 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6971 2003-07-15 André Pönitz <poenitz@gmx.net>
6974 * text2.C: remove no more needed refresh_row
6976 2003-07-15 André Pönitz <poenitz@gmx.net>
6981 * text3.C: refresh_status tristate -> need_update bool
6983 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
6985 * lyxtext.h (init): remove reinit argument (act as if always true)
6986 * text2.C: adjust to that
6988 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6990 * bufferview_funcs.[Ch]: introduce function replaceSelection()
6991 * text3.C: use it to delete selections in some cases
6992 (bugs 441, 673, 702, 954).
6994 2003-07-14 André Pönitz <poenitz@gmx.net>
6996 * rowpainter.[Ch]: reduce interface
6998 2003-07-14 André Pönitz <poenitz@gmx.net>
7000 * BufferView_pimpl.C:
7001 * text2.C: adjust after removing unused BufferView * argument
7003 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
7005 * text2.C (init): fix a crash fired on resize
7007 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
7009 * buffer.[Ch]: added new closing signal
7010 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
7011 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
7012 BufferView::Pimpl via the closing the signal
7014 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
7016 * buffer.[Ch]: take out all bv-related from buffer
7018 * BufferView_pimpl.[Ch]: connect to new signals
7019 * CutAndPaste.C: removed useless asserts
7020 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
7023 * lyxfunc.C: moved view-related funciontality from vc here
7024 * paragraph.C: removed outdated comments
7027 2003-07-10 André Pönitz <poenitz@gmx.net>
7029 * BufferView_pimpl.C:
7033 * text2.C: remove InsetText::InnerCache, clean up consequences
7035 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
7037 * ispell.C: fix two typos in error messages
7039 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
7041 * Extend Note inset to other forms of annotation like Comment
7042 and Greyedout. Right button click gives dialog.
7044 Files modified or added (+):
7048 * ControlNote.[Ch] +
7050 * Makefile.am in frontends/xforms, frontends/xforms/forms,
7051 frontends/controllers
7055 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
7057 * aspell.C: add missing namespace lyx::support
7059 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
7061 * BufferView.[Ch] (newFile): Add
7062 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
7063 * LaTeX.[Ch] (message): added this signal and use it
7064 * buffer.[Ch] (busy, message): added these signals and use them
7065 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
7069 * importer.C: use buffer signals instead of direct bv calling
7070 * lyx_cb.[Ch] (ShowMessage): removed
7073 * paragraph_funcs.C:
7074 * text2.C: use buffer signals
7076 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7078 * introduce namespace lyx::graphics
7080 2003-07-02 André Pönitz <poenitz@gmx.net>
7082 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
7084 2003-07-01 André Pönitz <poenitz@gmx.net>
7091 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
7092 text*.C to text_func.C
7094 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7096 * introduce namespace lyx::support
7098 2003-06-30 André Pönitz <poenitz@gmx.net>
7103 * text.C: re-enable --with-included-string
7105 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7107 * textcursor.C: add <config.h>
7109 * text.C (getWord): remove const from word_location arg
7111 * lyxvc.C (getLogFile): fix const type order
7113 * lyxtext.h: remove const from word_location arg, add arg name
7115 * lyxlayout.h: currect type on labeltype.
7117 * importer.C: correct \file
7119 * converter.C (intToFormat): use std:: on ret val, ws changes
7121 * bufferlist.h: correct \file
7123 * buffer.C (makeLinuxDocFile): fix const type order
7124 (makeDocBookFile): ditto
7125 (fillWithBibKeys): use std:: on stdlib args.
7127 * CutAndPaste.C: fix authors.
7128 (availableSelections): use std:: on return vector
7130 2003-06-27 André Pönitz <poenitz@gmx.net>
7132 * BufferView_pimpl.C:
7133 * bufferview_funcs.C:
7141 * text3.C: remove LyXCursor::row_ member
7144 * text.C: rename fullRebreak() to partialRebreak() and implement
7145 a fullRebreak() that really bereks fully
7147 * textcursor.h: new struct for cursor-related data
7149 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
7151 * lyx_main.C (LyX): get full path of document loaded on the
7154 2003-06-26 André Pönitz <poenitz@gmx.net>
7156 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
7157 remove unused/broken operator>,<,>=.
7159 * text.C: remove only use of broken operator<= in an Assert().
7161 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
7163 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
7164 moved errorlist_.clear to showErrorList
7166 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
7168 * converter.C (scanLog, runLaTeX):
7169 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
7170 move the bv->showErrorList call to the callers
7171 * lyxfunc.C: i.e. here...
7173 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
7174 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
7175 namespace, the second to...
7176 * buffer_funcs (BufferFormat, parseErrors): added
7177 * errorlist.C (ErrorList(TeXErrors const &)): removed
7179 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7181 * ToolbarBackend.C (getIcon): complain when icon cannot be found
7183 2003-06-24 "Garst R. Reese" <reese@isn.net>
7187 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7189 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
7191 * version.C.in: change docversion to 1.4
7193 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
7195 * buffer.C: fix a bug just introduced
7197 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
7199 * buffer.[Ch]: added the parseError signal and use it, removed
7201 * BufferView.[Ch] (addError): moved to ...
7202 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
7203 to the Buffer::parseError signal to catch (guess what) parse errors
7204 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
7206 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
7208 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
7209 ability to create a buffer and to return an existing one from
7210 the list. Moved these functions to...
7211 * buffer_funcs.[Ch]: added
7212 * BufferView.[Ch] (loadLyXFile): added
7213 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
7214 job removed from bufferlist::loadLyXFile.
7215 * buffer.C (setReadOnly): make it work without view
7216 (i.e added an if (users))
7218 2003-06-19 Angus Leeming <leeming@lyx.org>
7221 * LyXAction.C (init):
7222 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
7223 with LFUN_DIALOG_SHOW <name> <data>.
7225 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7227 * CutAndPaste.C (availableSelections): small compilation fix for
7228 ancient (gcc 2.9x) compilers
7230 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
7232 * text3.C (cursorNext): add tmp var
7234 * text2.C (updateCounters): for function calling out of for clause
7235 (replaceSelectionWithString): ditto
7236 (insertStringAsParagraphs): ditto
7237 (getColumnNearX): add tmp var
7238 (setCursorFromCoordinates): add tmp var
7239 (cursorDownParagraph): add tmp var
7240 (deleteEmptyParagraphMechanism): add tmp var
7242 * text.C (insertChar): add tmp var
7244 * rowpainter.C (paintDepthBar): add tmp var
7246 * CutAndPaste.C (availableSelections): potentially check all
7247 paragraphs in a cut to fill the shown strings.
7249 2003-06-18 André Pönitz <poenitz@gmx.net>
7251 * kbmap.[Ch]: use vector<> instead of list<>
7253 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
7255 * text3.C (dispatch): handle arg to LFUN_PASTE, call
7256 pasteSelection with index
7258 * text2.C (pasteSelection): modify, call pasteSelection with index
7260 * paragraph.C (asString): reimplement version with no interval to
7261 call the one with interval.
7263 * lyxtext.h: add index arg to pasteSelection
7265 * MenuBackend.C (MenuItem): handle PasteRecent
7266 (Menu::read::Menutags): add md_pasterecent
7268 (expandPasteRecent): new function
7271 * MenuBackend.h: add PasteRecent to MenuItem::Kind
7273 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
7275 (availableSelections): new function
7277 2003-06-17 Angus Leeming <leeming@lyx.org>
7279 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
7281 2003-06-17 Angus Leeming <leeming@lyx.org>
7284 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
7286 * lyxfunc.C (dispatch): invoke it.
7288 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7290 * iterators.C (operator++, ParPosition): reintroduce some
7291 const_cast for the benefit of older compilers.
7293 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7295 * text3.C (dispatch): do not modify clipboard when doing
7296 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
7297 LFUN_DELETE_SKIP on a selection selection
7299 2003-06-16 André Pönitz <poenitz@gmx.net>
7305 * tabular.[Ch]: IU of clone() and getLabelList();
7307 2003-06-13 André Pönitz <poenitz@gmx.net>
7309 * tabular.h: compactification
7311 2003-06-12 André Pönitz <poenitz@gmx.net>
7315 * tabular_funcs.h: some renaming plus whitespace
7317 2003-06-12 André Pönitz <poenitz@gmx.net>
7320 * BufferView_pimpl.C:
7326 * toc.C: Return a Paragraph & for ParIterator::operator*()
7328 2003-06-11 John Levon <levon@movementarian.org>
7332 * ToolbarBackend.C: add "Toolbars" section and
7335 2003-06-10 Angus Leeming <leeming@lyx.org>
7338 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
7340 * lyxfunc.C (dispatch): invoke it.
7342 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7344 * main.C: protect <ios> with HAVE_IOS
7345 (main): protect sync_with_stdio with HAVE_IOS
7347 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
7349 * text2.C (cutSelection): adjust
7350 (pasteSelection): adjust
7352 * messages.C: handle get of empty string
7354 * main.C (main): use sync_with_stdio(false)
7356 * lyxfunc.C (dispatch): adjust
7358 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
7359 (WriteAs): remove unneeded BufferView arg.
7361 * bufferparams.h: use correct types on papersize, papersize2 and
7364 * bufferparams.C (readToken): adjust for type
7365 (writeLaTeX): add missing cases to switch.
7367 * bufferlist.C (quitWriteBuffer): adjust
7370 * buffer.C (asciiParagraph): remove some commented code.
7372 * CutAndPaste.C: remove current_view extern variable.
7373 (cutSelection): add BufferParams arg.
7374 (eraseSelection): add BufferParams arg.
7375 (pasteSelection): add Buffer const & arg
7377 2003-06-07 John Levon <levon@movementarian.org>
7380 * paragraph_funcs.C:
7381 * paragraph_pimpl.C:
7385 * paragraph.C: allow InsetERT to freely space lines,
7386 and some consolidation of code
7388 2003-06-06 José Matos <jamatos@fep.up.pt>
7390 * buffer.C (makeDocBookFile): fix bug #821
7392 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
7394 * BufferView_pimpl.C (dispatch): use Dialogs::visible
7396 2003-06-04 Angus Leeming <leeming@lyx.org>
7398 * buffer.C: bump format to 224.
7400 2003-06-05 André Pönitz <poenitz@gmx.net>
7402 * text2.C (redoParagraphs): remove two const_cast<>
7404 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
7406 * ParagraphList.h: remove last remnants of NO_STD_LIST
7408 2003-06-03 Angus Leeming <leeming@lyx.org>
7410 * factory.C (createInset): small change to the way InsetExternal's params
7413 2003-06-04 André Pönitz <poenitz@gmx.net>
7415 * buffer.h: use Undo directly instead of shared_ptr<Undo>
7417 * paragraph_pimpl.h:
7418 * paragraph.[Ch]: some Inset -> UpdatableInset changes
7420 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
7422 * undo_funcs.C: make some simple cases of undo work again
7424 2003-06-03 John Levon <levon@movementarian.org>
7426 * ispell.C: HPUX doesn't have sys/select.h
7429 2003-06-03 John Levon <levon@movementarian.org>
7431 * CutAndPaste.C: update tabular and include inset
7436 * paragraph.C: remove owningBuffer(), don't pass Buffer
7439 * factory.C: insetGraphicsParams changed
7441 2003-06-02 John Levon <levon@movementarian.org>
7447 * text3.C: remove insetparent
7449 2003-06-02 John Levon <levon@movementarian.org>
7452 * buffer.C: fix inset_iterator.end(), move out of line
7455 2003-06-01 John Levon <levon@movementarian.org>
7457 * text3.C: use a proper cut/paste when doing inset
7458 insert (from Jürgen Spitzmüller)
7460 2003-06-01 John Levon <levon@movementarian.org>
7462 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7464 2003-05-30 André Pönitz <poenitz@gmx.net>
7466 * rowpainter.C: unify second drawing phase
7468 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7470 * trans_mgr.C: remove one case of current_view
7472 * text2.C (cursorBottom): delete NO_STD_LIST stuff
7474 * paragraph_funcs.h: remove paragraph.h include
7476 * paragraph.h: delete NO_STD_LIST stuff
7478 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7480 * buffer.h: remove paragraph.h include
7482 * ParagraphList.C: delete file
7484 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7486 * toc.C (getTocList): adjust
7488 * paragraph_pimpl.C (validate): adjust
7490 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7492 * paragraph.C (Paragraph): adjust
7493 (getPositionOfInset): use const_iterator, adjust
7494 (bibitem): use const_iterator, adjust
7495 (setInsetOwner): adjust
7497 * iterators.C (operator++): adjust
7499 * InsetList.[Ch]: Replace selfmade iterator with standard
7500 vector::iterator also introduce const_iterator. Remove getPos,
7501 getInset and setInset from InsetTable. Adjust accordingly.
7503 * BufferView.C (lockInset): adjust
7504 (ChangeInsets): adjust
7506 * tabular.[Ch]: delete commented same_id functions
7508 2003-05-28 John Levon <levon@movementarian.org>
7510 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7512 2003-05-28 André Pönitz <poenitz@gmx.net>
7514 * metricsinfo.[Ch]: remove 'fullredraw' member
7516 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
7518 * lyxtextclass.C (operator): remove caching.
7520 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7524 * text2.C (cursorBottom): adjust
7525 (setCounter): use ParagraphList::find, adjust
7527 * text.C (workWidth): use ParagraphList::find, adjust
7529 * lyxcursor.C (LyXCursor): adjust
7531 * buffer.C (inset_iterator): adjust
7533 * ParagraphList.h: make iterator(value_type) private, make
7534 ParagraphList a friend of iterator.
7536 * ParagraphList.C (find): new function
7538 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7540 2003-05-27 André Pönitz <poenitz@gmx.net>
7542 * dimension.[Ch]: a -> asc, d -> des, w -> wid
7544 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7546 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7548 2003-05-26 John Levon <levon@movementarian.org>
7550 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7552 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
7554 * remove same_id from function signatures, adjust.
7556 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7558 * undo_funcs.C (createUndo): use the id functions directly, adjust.
7560 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7562 * paragraph.C (Paragraph): get rid of same_ids parameter
7564 * ParagraphList.C (insert): adjust
7567 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7569 * paragraph_funcs.C (breakParagraph): adjust
7570 (breakParagraphConservative): adjust
7572 * buffer.C (readParagraph): adjust
7574 * ParagraphList.C (insert): take a reference instead of a pointer
7577 * paragraph.[Ch] (id): new function
7579 * bufferlist.C (newFile): adjust
7581 * ParagraphList.C (ParagraphList): adjust
7583 (push_back): take a reference instead of a pointer.
7585 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7587 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7590 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7591 set else use old code.
7593 * ParagraphList.C: remove all NO_NEXT code and only compile this
7594 code of NO_STD_LIST is set.
7596 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7598 * BufferView_pimpl.C:
7608 * graphics/GraphicsConverter.C:
7609 * graphics/PreviewLoader.C: header adjustment
7611 2003-05-23 Angus Leeming <leeming@lyx.org>
7613 * LaTeXFeatures.[Ch] (useBabel): new method.
7614 * bufferparams.C (writeLaTeX): use it.
7616 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7618 * ParagraphList.h (set): remove unused function.
7620 2003-05-23 André Pönitz <poenitz@gmx.net>
7623 * BufferView_pimpl.C:
7627 * undo_funcs.C: setUndo reworked
7629 * iterators.[Ch]: add access to topmost ParagraphList
7631 * lyxtext.[Ch] (workWidth): add a const
7633 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7635 * texrow.[Ch] (increasePos): remove function
7636 * exporter.C (export): removed unused var and outdated comment
7638 2003-05-23 Angus Leeming <leeming@lyx.org>
7640 * latexrunparams.h: rename fragile as moving_arg.
7641 * paragraph.C (simpleTeXOnePar): ditto.
7642 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7644 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7646 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7648 (textUndoOrRedo): comment out a currently unused var.
7650 * paragraph.h (NO_NEXT): enable NO_NEXT
7652 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7654 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7656 * exporter.C (Export): adjust for removeAutoInsets removal.
7658 * buffer.C (runChktex): adjust for removeAutoInsets removal.
7660 * LyXAction.C (init): remove LFUN_REMOVEERRORS
7662 * BufferView.[Ch] (removeAutoInsets): delete function
7664 2003-05-22 Angus Leeming <leeming@lyx.org>
7666 * latexrunparams.h: add a free_spacing variable.
7668 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7669 to pass moving_arg, as the data is stored in runparams.fragile.
7671 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7672 to Inset::latexOptional or to simpleTeXOnePar.
7674 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7675 free_spacing arg to Inset::latexOptional.
7677 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7680 2003-05-22 Angus Leeming <leeming@lyx.org>
7682 * latexrunparams.h: add fragile and use_babel variables.
7684 * bufferparams.[Ch] (writeLaTeX): return use_babel.
7685 * buffer.C (makeLaTeXFile): store this returned value in
7686 runparams.use_babel, thus passing it to the inset::latex methods.
7688 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7689 simpleTeXSpecialChars as it is now stored in runparams.fragile.
7691 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7692 longer has a fragile arg, as it is stored in runparams.fragile.
7694 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7695 moving_arg parameter as the data is stored in runparams.fragile.
7697 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7698 a fragile parameter as the data is stored in runparams.fragile.
7700 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7702 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7704 2003-05-22 Angus Leeming <leeming@lyx.org>
7706 * latexrunparams.h: add a 'bool nice' which defaults to false.
7708 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7709 now encapsulated within runparams.
7711 * bufferlist.C (updateIncludedTeXfiles):
7712 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7714 2003-05-22 Angus Leeming <leeming@lyx.org>
7716 * latexrunparams.h: new file containing struct LatexRunParams.
7717 * Makefile.am: add new file.
7719 * LaTeX.[Ch] (c-tor, run):
7720 * buffer.[Ch] (makeLaTeXFile):
7721 * bufferlist.[Ch] (updateIncludedTeXfiles):
7722 * converter.C (convert, scanLog):
7723 * converter.[Ch] (runLaTeX):
7724 * exporter.C (Export):
7725 * paragraph.[Ch] (simpleTeXOnePar):
7726 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7727 * paragraph_funcs.[Ch] (latexParagraphs):
7728 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7729 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7730 pass around a LatexRunParams parameter.
7732 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7734 * paragraph.[Ch]: remove unused constructor
7736 * ParagraphList.C (erase): new function, taking two iterators
7738 2003-05-22 André Pönitz <poenitz@gmx.net>
7740 * undo_funcs.C: remove duplicated code
7742 * iterator.[Ch]: operator=
7744 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7746 * tabular.C (SetMultiColumn): ws changes
7748 * rowpainter.C (paintFirst): get rid of a ->previous
7750 * lyx_cb.C (getPossibleLabel): parlist simplification
7752 * BufferView.C (ChangeInsets): simplify slightly.
7754 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
7756 * LyXAction.C: new lfun space-insert, kill protected-space-insert
7757 * lfuns.h: new LFUN_SPACE
7758 * lyxfunc.C: protected space has a new lfun
7759 * paragraph_funcs.C: read new space insets
7761 * factory.C: handle new space insets
7763 2003-05-22 André Pönitz <poenitz@gmx.net>
7766 * BufferView_pimpl.C:
7769 * undo_funcs.C: return a ParIterator from getParFromID.
7771 * iterators.[Ch]: add two const's
7773 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7775 * toc.C (getTocList): adjust
7777 * iterators.[Ch]: rework for parlist
7779 * buffer.C (par_iterator_begin): adjust
7780 (par_iterator_end): adjust
7782 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7784 * BufferView.C (removeAutoInsets): adjust
7785 (ChangeInsets): adjust
7787 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
7789 * text.C (top_y): fix bug 1110
7791 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
7793 * errorlist.[Ch]: added
7796 * BufferView_pimpl.C:
7797 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7800 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7802 * Makefile.am: ensure that lyx is relinked upon changes to the
7803 various "convenience" libs.
7805 2003-05-20 Angus Leeming <leeming@lyx.org>
7807 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7808 files are compiled in alphabetical order again.
7810 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7812 2003-05-19 Angus Leeming <leeming@lyx.org>
7814 * gettext.[Ch]: remove "char const * _(char const *)".
7816 2003-05-19 André Pönitz <poenitz@gmx.net>
7818 * dimension.[Ch]: promote from mathed/dimension.[Ch]
7827 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7829 2003-05-19 André Pönitz <poenitz@gmx.net>
7833 * lyxtextclass.[Ch]:
7835 * paragraph_funcs.[Ch]:
7837 * text3.C: more insetenv work
7839 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
7841 * ParagraphParameters.C (params2string): small bug fixed
7843 2003-05-16 André Pönitz <poenitz@gmx.net>
7846 * bufferview_funcs.C: patch from Kornel Benko to prevent
7847 crash when _(...) is called twice in a statement
7849 2003-05-16 André Pönitz <poenitz@gmx.net>
7856 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7858 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
7860 * lyx_main.C (init): remove spurious static_cast
7862 2003-05-14 André Pönitz <poenitz@gmx.net>
7864 * BufferView.C: fix format string
7866 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
7868 * BufferView.[Ch] (insertErrors): removed
7869 * BufferView.[Ch] (showErrorList): added
7870 * buffer.C (runChkTeX):
7871 * converter.C (scanLog): call showErrorList instead of inserterrors
7873 2003-05-13 André Pönitz <poenitz@gmx.net>
7875 * BufferView_pimpl.C:
7877 * bufferview_func.C:
7884 * tabular_funcs.h: tostr() from its own header
7886 * ParagraphParameters.C:
7891 * text3.C: STRCONV()
7893 2003-05-12 André Pönitz <poenitz@gmx.net>
7896 * BufferView_pimpl.C:
7900 * ParagraphParameters.C:
7904 * bufferview_funcs.C:
7917 * paragraph_funcs.C:
7921 * text3.C: boost::format -> bformat all over the place
7924 2003-05-09 André Pönitz <poenitz@gmx.net>
7926 * LColor.[Ch]: Pimpl the #include <map> away
7928 2003-05-09 John Levon <levon@movementarian.org>
7930 * bufferlist.C: never remove emergency saves
7932 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7934 * Makefile.am: better lib building
7936 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
7938 * texrow.[Ch]: remove dependency on Paragraph and just store a id
7940 * paragraph_pimpl.C (simpleTeXBlanks): adjust
7941 (simpleTeXSpecialChars): adjust
7942 (simpleTeXSpecialChars): adjust
7943 * paragraph.C (simpleTeXOnePar): adjust
7944 * buffer.C (makeLaTeXFile): adjust
7946 * Makefile.am (BOOST_LIBS): allow boost as system lib.
7948 * text2.C (changeDepth): parlist cleanup
7949 (getColumnNearX): ditto
7951 * rowpainter.C (getLabelFont): parlist cleanup
7953 * bufferlist.C (newFile): parlist cleanup
7955 * CutAndPaste.C (eraseSelection): parlist cleanup
7957 * BufferView_pimpl.C (trackChanges): parlist cleanup
7960 * BufferView.C (lockInset): parlist cleanup.
7961 (ChangeInsets): ditto
7963 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7965 * CutAndPaste.h: Update file header.
7967 * CutAndPaste.C: Update file header.
7968 Store the parts cut out of the Document in a limited_stack.
7969 (copySelection): adjust
7970 (pasteSelection): new function, takes the index in the limited stack.
7971 (nrOfParagraphs): adjust
7972 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7973 simplify error inset insertion.
7974 (checkPastePossible): adjust
7976 2003-05-06 John Levon <levon@movementarian.org>
7978 * text2.C: don't cast wrap inset to float
7980 2003-05-05 André Pönitz <poenitz@gmx.net>
7983 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7985 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7986 few naked Paragraph *.
7988 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
7990 * bufferparams.C: Output warning if a document with missing
7991 TeX document class is loaded
7992 * exporter.C: Disable TeX exports if the document class is missing
7995 * lyxtextclasslist.C: Handle new textclass.lst format; new method
7996 isTeXClassAvailable()
7998 2003-05-03 John Levon <levon@movementarian.org>
8001 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
8002 explicit cursor show/hide
8004 * BufferView_pimpl.h:
8005 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
8006 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
8008 * lyxfunc.C: hide cursor before dispatching.
8013 * text3.C: remove explicit cursor hides
8015 2003-05-02 André Pönitz <poenitz@gmx.net>
8017 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
8020 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
8023 * text2.C: tiny whitespace
8025 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8027 * undo_funcs.C: almost only ws changes.
8029 * ParagraphList.C (splice): just return if pl is empty.
8031 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8033 * ParagraphList.C (splice): new function.
8035 * CutAndPaste.C (pasteSelection): use it
8037 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8039 * CutAndPaste.C (pasteSelection): remove the last next and
8040 previous from this file.
8042 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8044 * CutAndPaste.C (pasteSelection): more clean up, user proper
8045 ParagraphList functions for pasteing.
8047 * ParagraphList.C (insert): new function, three arg insert
8049 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8051 * ParagraphList.C (insert): new function, three arg insert
8053 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
8056 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8058 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
8060 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8062 * CutAndPaste.C (pasteSelection): remove some unneeded code.
8064 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8066 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
8067 (copySelection): clean up a bit.
8068 (pasteSelection): use make_pair
8070 * ParagraphList.C (ParagraphList): implement copy constructor
8071 (operator=): implement, base on copy constructor.
8074 * paragraph.C (erase): return a bool
8076 * paragraph_pimpl.C (erasePos): remove function, move contents...
8077 (erase): ... here. Return a bool.
8078 (erase): call erase instead of erasePos.
8080 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
8082 * ParagraphList.h: define PitPosPair
8083 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
8084 ParagraphList, fix a bug on pasting multiple pars
8085 * text2.C: change interface to C&P
8087 2003-04-30 André Pönitz <poenitz@gmx.net>
8089 * undo_func.C: revert part of yesterday's patch 2
8091 2003-04-30 John Levon <levon@movementarian.org>
8093 * LColor.C: s/tabular/table/
8095 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8097 * text3.C (dispatch): do not convert iterator -> pointer
8098 * undo_funcs.C (setCursorParUndo): ditto
8099 * text_funcs.C (transposeChars): ditto
8101 * text2.C (setLayout): ws changes only
8103 * text.C (breakParagraph): do not convert iterator -> pointer
8105 (acceptChange): ditto
8106 (rejectChange): ditto
8111 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
8114 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
8116 * text3.C (gotoInset): YABG (yet another bad getChar)
8118 2003-04-29 André Pönitz <poenitz@gmx.net>
8120 * paragraph.h: make operator= private unimplemented as long as
8123 * ParagraphList.C: whitespace
8126 * paragraph_pimpl.[Ch]:
8127 * paragraph_funcs.C:
8129 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
8132 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
8134 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
8136 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
8137 * paragraph.[Ch] (erase):
8138 * paragraph_pimpl.[Ch] (erase): change return type and value
8139 * text2.C (cutSelection): some rework
8141 2003-04-28 John Levon <levon@movementarian.org>
8143 * bufferlist.C: changes for unsaved changes dialog
8145 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8147 * bufferlist.C (newFile): set language (messages_) for new
8150 * buffer.C (readFile): ws changes only.
8152 2003-04-28 André Pönitz <poenitz@gmx.net>
8157 * BufferView_pimpl.C:
8158 * BufferView.C: getParFromID related ParagraphList::iterator changes
8160 2003-04-28 André Pönitz <poenitz@gmx.net>
8162 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
8165 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8167 * messages.C: remove one more localedir class variable.
8169 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8171 * messages.C (getLocaleDir): singleton generation function
8173 (Messages): add a default constructor.
8175 * main.C (main): do not setup localedir here, do not call
8178 * gettext.C (_): use it.
8179 (gettext_init): delete funciton
8181 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8183 * gettext.C (getLyXMessages): new singleton generating function.
8185 * buffer.C (updateDocLang): adjust
8187 * Makefile.am (messages.o): add target
8188 (main.o): remove target
8190 2003-04-27 John Levon <levon@movementarian.org>
8195 * lyxvc.C: specify cancel button in Alert::prompt
8197 2003-04-26 John Levon <levon@movementarian.org>
8202 * LyXAction.C: add LFUN_INSET_SETTINGS
8204 * lyxfunc.C: don't enable tabular-feature when there's
8205 just any locking inset
8207 2003-04-26 John Levon <levon@movementarian.org>
8209 * bufferlist.C: re-add Cancel to buffer close question
8211 * lyxfunc.C: fix import UI a bit
8213 2003-04-25 John Levon <levon@movementarian.org>
8215 * gettext.C: remove the broken asserts for now
8217 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
8219 * messages.C: make case where setlocale cannot comply work better.
8221 * buffer.C (updateDocLang): new function
8222 (changeLanguage): use it
8225 * text2.C (setCounter): use B_ a bit.
8227 * lyxlayout.C (Read): be sure to trim the label strings.
8229 * messages.C (Messages): fix typo in comment
8231 * buffer.C (readFile): set message_ after file is loaded.
8232 (makeDocBookFile): remove double return
8233 (changeLanguage): reset message_ upon language change.
8234 (B_): new func, use this to get translated buffer strings.
8236 * main.C: add myself and Jean Marc as authors.
8238 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
8240 * messages.[hC]: pimplify Messages, and three different pimpls to be
8241 used in different circumstances.
8243 * gettext.[Ch]: change for use with new message code.
8245 2003-04-24 André Pönitz <poenitz@gmx.net>
8247 * factory.C: support for eqref
8249 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
8251 * messages.[Ch]: add missing char
8253 * Makefile.am (lyx_SOURCES): add messages.[Ch]
8255 * messages.[Ch]: New files
8257 2003-04-18 John Levon <levon@movementarian.org>
8261 * BufferView_pimpl.C:
8265 * text2.C: remove layout-copy/paste (bug 778)
8267 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
8269 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
8271 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
8273 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
8274 if they succeed. Act accordingly.
8276 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8278 * text2.C (setCharFont): adjust
8279 (setCounter): adjust
8280 (insertStringAsLines): adjust
8282 * text.C (leftMargin): adjust
8283 (setHeightOfRow): adjust
8285 * rowpainter.C (paintFirst): adjust
8288 * paragraph_funcs.C (depthHook): ParagraphList::iterators
8290 (isFirstInSequence): ditto
8291 (getEndLabel): ditto
8294 * paragraph.C (getParLanguage): comment out some hard stuff.
8296 * buffer.C (insertStringAsLines): take a ParagraphList as arg
8298 (simpleDocBookOnePar): ditto
8299 (makeDocBookFile): use ParagraphList::iterator
8301 * CutAndPaste.C (pasteSelection): adjust
8303 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8305 * text2.C (getFont): adjust
8306 (getLayoutFont): adjust
8307 (getLabelFont): adjust
8309 * paragraph_funcs.C (TeXOnePar): adjust
8311 * buffer.C (simpleLinuxDocOnePar): adjust
8312 (simpleDocBookOnePar): adjust
8314 * CutAndPaste.C (pasteSelection): adjust
8316 * BufferView.C (getEncoding): adjust
8318 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
8320 2003-04-16 John Levon <levon@movementarian.org>
8322 * lyxfind.C: use parlist stuff for search/changes
8324 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8326 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
8328 * text2.C (deleteEmptyParagraphMechanism): adjust
8330 * text2.[Ch] (ownerParagraph): delete func (both of them
8332 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8334 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
8336 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8338 * ParagraphList.C: prepare for NO_NEXT
8340 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8342 * text2.C (getFont): adjust
8343 (getLayoutFont): adjust
8344 (getLabelFont): adjust
8346 * paragraph.C (getFont): adjust
8347 (getLabelFont): adjust
8348 (getLayoutFont): adjust
8350 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
8352 2003-04-15 John Levon <levon@movementarian.org>
8356 * lyx_main.C: handle Include in .ui files
8358 2003-04-15 John Levon <levon@movementarian.org>
8360 * MenuBackend.C: make the doc files length shorter
8363 * ToolbarBackend.C: handle toolbar placement flags,
8366 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8368 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
8371 * paragraph_funcs.C (TeXOnePar): adjust
8373 * paragraph.C (getLabelFont): add outerfont arg, adjust
8374 (getLayoutFont): ditto
8375 (simpleTeXOnePar): adjust
8377 * paragraph_pimpl.C (realizeFont): delete func
8379 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
8381 * text2.C (beforeFullRowInset): added a bad getchar check, removed
8382 row argument, constify cur argument.
8384 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8386 * text2.C (getFont): adjust
8387 (getLayoutFont): adjust
8388 (getLabelFont): adjust
8390 * paragraph_funcs.C (TeXOnePar): adjust
8391 (outerFont): new func...
8392 (realizeFont): ...moved out from here, changed this to facilitate
8395 * paragraph.C (getFont): take outerfont as arg, adjust
8396 (simpleTeXOnePar): add outerfont arg, adjust
8398 * buffer.C (simpleLinuxDocOnePar): adjust
8399 (simpleDocBookOnePar): adjust
8401 * CutAndPaste.C (pasteSelection): adjust
8403 * BufferView.C (getEncoding): adjust
8405 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8407 * text2.C (setCharFont): adjust
8408 (setCounter): adjust
8410 * text.C (leftMargin): adjust
8411 (setHeightOfRow): adjust
8413 * rowpainter.C (paintFirst): adjust
8416 * paragraph_pimpl.C (realizeFont): adjust
8418 * paragraph.C (isFirstInSequence): move from here...
8419 * paragraph_funcs.C (isFirstInSequence): ...to here
8421 * paragraph.C (outerHook): move from here...
8422 * paragraph_funcs.C (outerHook): ...to here
8424 * paragraph.C (depthHook): move from here...
8425 * paragraph_funcs.C (depthHook): ...to here
8427 * paragraph.C (getEndLabel): move from here...
8428 * paragraph_funcs.C (getEndLabel): ...to here
8430 * text2.C (realizeFont): move from here...
8431 * paragraph_funcs.C (realizeFont): ...to here
8433 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8435 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
8437 2003-04-14 Angus Leeming <leeming@lyx.org>
8439 * LColor.[Ch]: scrap LColor mathcursor.
8441 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8443 * lyxlex.[Ch] (text): delete function
8444 * trans.C (Load): adjust
8445 * paragraph_funcs.C (readParToken): adjust
8447 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8449 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8450 vector<char> instead of a char[].
8452 * lyxlex_pimpl.C (getString): adjust
8454 (lex): use getString
8458 * lyxlex.C (text): use pimpl_->getString()
8462 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8464 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8465 (makeFontEntriesLayoutSpecific): temp var for par.size()
8466 (setLayout): temp var for ownerParagraphs().end()
8467 (fullRebreak): temp var for rows().end()
8468 (selectionAsString): temp var for boost::next(startpit), realize
8469 that the while really is a regular for loop.
8470 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8471 setCursor in one place.
8472 (setParagraph): temp vr for ownerParagraphs().end()
8473 (updateCounters): make the while loop a for loop
8474 (cutSelection): temp var for ownerParagraphs().end()
8475 (updateInset): make the do {} while() a regular for loop
8476 (getCursorX): use temp vars
8477 (setCurrentFont): use temp vars
8478 (getColumnNearX): use temp vars
8480 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8482 * text.C (transformChar): use temp var for getChar
8483 (computeBidiTables): use temp var for row->par()
8484 (fill): move temp vars for row->par() and pit->layout() earlier in
8486 (labelFill): use temp var for row->par()
8487 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8488 asc and desc, realize that pit never changes and that firstpit is
8489 just a duplicate and not needed. Exchange rit->par() with pit in a
8491 (breakAgain): use a temp var for boost::next(rit)
8492 (breakAgainOneRow): ditto
8493 (breakParagraph): use a temp var for rows().begin()
8494 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8495 (cursorRightOneWord): use temp var for cursor.par() and
8496 cursor.pos(), remove usage of tmpcursor.
8497 (cursorLeftOneWord): use temp var for cursor.par() and
8498 cursor.pos() only set cur at end of function.
8500 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8502 * text.C, text2.C: exchange all usage of Paragraph::next with
8503 boost::next(ParagraphList::iterator)
8505 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8507 * text2.C (cursorTop): simplify implementation
8508 (cursorBottom): ditto
8509 (setParagraph): use ParagraphList::iterator
8510 (setCurrentFont): adjust
8511 (getColumnNearX): adjust
8512 (cursorRight): adjust
8513 (cursorLeft): remove usage of Paragraph::previous
8514 (cursorUpParagraph): ditto
8515 (deleteEmptyParagraphMechanism): slight cleanup
8517 * text.C (isBoundary): take a Paragraph const & instead of a
8519 (addressBreakPoint): ditto
8520 (leftMargin): remove usage of Paragraph::previous.
8521 (setHeightOfRow): ditto
8522 (cursorLeftOneWord): ditto
8523 (selectNextWordToSpellcheck): ditto
8526 (breakParagraph): remove one usage of Paragraph::next
8527 (redoParagraph): ditto
8528 (acceptChange): ditto
8529 (insertChar): adjust
8530 (rowBreakPoint): adjust
8532 * bufferview_funcs.C (toggleAndShow): adjust
8534 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
8536 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8537 methods to access it.
8539 * text.C: Added updateRowPositions to compute all row positions.
8540 Make top_y and getRowNearY() to use the cached y position
8542 2003-04-11 John Levon <levon@movementarian.org>
8544 * text.C (rowBreakPoint): reintroduce the labelEnd
8545 checks, code copied from the row fill stuff. Deep voodoo.
8547 * text.C (fill): add a comment and debugging for the
8550 2003-04-11 John Levon <levon@movementarian.org>
8552 * text.C: make sure fullrow insets get wrapped to the next line,
8553 even when they're in a manual label
8555 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
8557 * text2.C (insertParagraph): make it take ParagraphList::iterator
8559 (setLayout): make it return ParagraphList::iterator
8560 (redoParagraphs): ditto
8562 (checkParagraph): ditto
8564 * text.C (getRow): make getrow take ParagraphList::iterator as arg
8566 * text2.C: adjust several funcs.
8567 (realizeFont): take a ParagraphList::iterator as arg.
8568 (getLayoutFont): ditto
8569 (getLabelFont): ditto
8570 (setCharFont): ditto
8572 * text.C: adjust several funcs.
8574 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8576 * text.C (selectNextWordToSpellcheck): don't accidentally
8579 2003-04-10 John Levon <levon@movementarian.org>
8581 * ToolbarBackend.C (getIcon): special handling for
8584 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8586 * text2.C (cursorRight): a getChar assert fixed
8588 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8590 * text2.C (getFont): change to take a ParagraphList::iterator
8591 instead of Paragraph*
8592 Adjust several functions.
8594 * text.C (transformChar): change to take a ParagraphList::iterator
8595 instead of Paragraph*
8596 (singleWidth): ditto
8597 Adjust several functions.
8599 * rowpainter.C: adjust several functions
8600 * rowpainter.h:store a ParagraphList::iterator and not a
8604 2003-04-09 John Levon <levon@movementarian.org>
8609 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8610 and the "help" bits as well
8612 2003-04-09 John Levon <levon@movementarian.org>
8615 * ToolbarBackend.C: allow multiple toolbars
8617 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8619 * undo_funcs.C (setCursorParUndo): adjust
8621 * text_funcs.C (transposeChars): adjust
8623 * text3.C (gotoNextInset): adjust
8626 * text2.C (setLayout): adjust
8627 (changeDepth): adjust
8629 (redoParagraphs): adjust
8630 (selectionAsString): adjust
8631 (setParagraph): adjust
8632 (insertInset): adjust
8633 (cutSelection): adjust
8634 (copySelection): adjust
8635 (pasteSelection): adjust
8636 (insertStringAsLines): adjust
8637 (updateInset): adjust
8638 (setCursor): change to take a ParagraphList::iterator parameter
8639 (setCursorIntern): change to take a ParagraphList::iterator parameter
8640 (setCurrentFont): adjust
8641 (cursorLeft): adjust
8642 (cursorRight): adjust
8643 (deleteEmptyParagraphMechanism): adjust
8645 * text.C (breakParagraph): adjust
8646 (insertChar): adjust
8647 (acceptChange): adjust
8648 (rejectChange): adjust
8649 (selectNextWordToSpellcheck): adjust
8650 (changeCase): adjust
8654 * lyxfind.C (SearchForward): adjust
8655 (SearchBackward): adjust
8656 (nextChange): adjust
8658 * lyxcursor.C (par): adjust
8660 * lyxcursor.h: store a ParagraphList::iterator instead of a
8663 * lyx_cb.C (getPossibleLabel): adjust
8665 * bufferview_funcs.C (toggleAndShow): adjust
8667 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8670 * BufferView.C (removeAutoInsets): adjust
8671 (lockedInsetStoreUndo): adjust
8673 2003-04-09 John Levon <levon@movementarian.org>
8675 * ToolbarBackend.C: try icon without argument
8676 if with argument fails
8678 2003-04-08 John Levon <levon@movementarian.org>
8681 * ToolbarBackend.C: add getIcon(), handle tooltip,
8682 and change from "Icon" to "Item".
8684 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8686 * BufferView.C (lockInset): another bad getchar crunched
8688 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8690 * text2.C (changeDepth): do not setUndo on test_only (make undo work
8693 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
8695 * lyxfind.C (searchForward, searchBackwards): bug 782
8697 2003-04-07 John Levon <levon@movementarian.org>
8699 * paragraph.C: remove dead comment
8701 * text.C: remove troublesome depth-fiddling code
8702 in leftMargin() and rightMargin() (bug 1017)
8704 * text.C: fix breaking of rows in nested lists
8707 * text2.C (updateCounters): fix up depth values
8710 2003-04-07 John Levon <levon@movementarian.org>
8712 * BufferView_pimpl.C: clear message when doc finishes resizing,
8713 and after a mouse event
8715 * lyxfunc.C: clear message after exiting inset
8717 2003-04-07 John Levon <levon@movementarian.org>
8719 * bufferview_funcs.C: show math status not outside
8720 status in the statusbar
8722 2003-04-07 John Levon <levon@movementarian.org>
8724 * lyxfunc.C: note status changed after a depth change
8726 2003-04-04 Angus Leeming <leeming@lyx.org>
8728 * LaTeX.h: move AuxInfo operator==, != out of line.
8729 Remove LaTeX virtual destructor; nothing derives from it.
8730 Move operator()() out of public area and rename it startscript().
8731 Change protected for private.
8733 2003-04-04 Angus Leeming <leeming@lyx.org>
8736 * text2.C: remove unneeded #includes.
8738 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8740 * text2.C (dEPM): fix the heigth of the next row
8742 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8744 * text.C: squashed an invalid getChar requester + some ws changes
8746 2003-04-03 John Levon <levon@movementarian.org>
8748 * bufferview_funcs.h:
8749 * bufferview_funcs.C:
8752 * text2.C: make getStatus work for the env depth lfuns
8754 2003-04-03 John Levon <levon@movementarian.org>
8756 * bufferview_funcs.h:
8757 * bufferview_funcs.C:
8760 * text2.C: parlistize decDepth(), by merging it with incDepth()
8762 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8764 * lyxrow.h: store a ParagraphList::iterator instead of a
8765 Paragraph* and adjust other class functions to suit.
8767 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8770 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8772 * text2.C (setCursor): do not anchor to cursor row for the time being
8774 2003-04-02 John Levon <levon@movementarian.org>
8781 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8783 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8785 * paragraph.h: make ParagraphList and ParagraphList::iterator
8786 friends of Paragraph.
8788 * buffer.C (makeLinuxDocFile): move towards ParagraphList
8790 * ParagraphList.C: Use the private next_ and previous_ from
8793 2003-04-01 John Levon <levon@movementarian.org>
8797 * Makefile.am: rename, remove defaults gunk
8800 * MenuBackend.C: remove defaults gunk
8803 * Languages.C: remove defaults gunk
8806 * lyx_main.C: error out if files couldn't be found.
8808 2003-04-02 John Levon <levon@movementarian.org>
8810 * text2.C: make incDepth() use parlist
8812 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8814 * undo_funcs.C (firstUndoParagraph): adjust
8816 * text3.C (gotoInset): adjust
8817 (dispatch): adjust, and rewrite loop.
8819 * text2.C (init): adjust, and rewrite loop.
8820 (redoParagraphs): adjust
8821 (updateInset): adjust, and rewrite loop.
8822 (deleteEmptyParagraphMechanism): adjust
8824 * tabular.C (LyXTabular): adjust
8825 (SetMultiColumn): adjust
8828 * lyxtext.[Ch] (ownerParagraph): delete function
8829 (ownerParagraphs): new function returns a ParagraphList.
8831 * BufferView.C (removeAutoInsets): adjust
8832 (insertErrors): adjust
8833 (setCursorFromRow): adjust
8835 2003-04-01 Angus Leeming <leeming@lyx.org>
8837 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8840 2003-04-02 John Levon <levon@movementarian.org>
8846 * text_funcs.C: make transposeChars a free function
8848 * lyxrow_funcs.C: remove wrong comment
8850 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8853 * rowpainter.C: adjust
8858 * lyxrow_funcs. [Ch]: new files
8860 * lyxrow.[Ch]: remove next and previous pointers
8861 (next,previous): remove accessor functions
8862 (isParEnd): move to lyxrow_funcs
8863 (lastPos): move to lyxrow_funcs
8864 (nextRowIsAllInset): move to lyxrow_funcs
8865 (lastPrintablePos): move to lyxrow_funcs
8866 (numberOfSeparators): move to lyxrow_funcs
8867 (numberOfHfills): move to lyxrow_funcs
8868 (numberOfLabelHfills): move to lyxrow_funcs
8869 (hfillExpansion): move to lyxrow_funcs
8873 * bufferview_funcs.C (toggleAndShow): adjust
8875 * RowList.h: Remove class RowList from file leave just a
8878 * RowList.C: delete file
8880 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8883 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8885 * text3.C (cursorPrevious): adjust
8886 (cursorNext): adjust
8889 * text2.C (redoHeightOfParagraph): adjust
8890 (redoDrawingOfParagraph): adjust
8893 * text.C (breakParagraph): adjust
8894 (insertChar): adjust
8897 * rowpainter.C (RowPainter): adjust
8898 (leftMargin): simplify and adjust
8899 (most rowpainter functions): adjust.
8901 * rowpainter.h: store the row as RowList::iterator not as Row*
8903 * lyxcursor.C (row): taka RowList::iterator as arg
8906 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8909 2003-04-01 Angus Leeming <leeming@lyx.org>
8911 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8912 stuff like bool Bool.
8914 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8916 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8919 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8921 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8924 * lyxtext.h (rows): drop one version and leve a const variant that
8925 returns a RowList::iterator.
8927 2003-03-31 Angus Leeming <leeming@lyx.org>
8929 * text.C (fill): ensure that the signature is the same as that in the
8932 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
8934 * text2.C (redoParagraphs): adjust
8935 (updateCounters): adjust
8936 (checkParagraph): adjust
8937 (getColumnNearX): adjust and reformat a bit.
8939 * text.C (top_y): adjust
8941 (leftMargin): adjust
8942 (prepareToPrint): adjust
8944 (getRowNearY): adjust
8946 * lyxtext.h: make rowlist_ mutable.
8948 * RowList.h: add const_iterator
8949 * RowList.C: adjust for RowList::const_iterator.
8951 * text2.C (getCursorX): make it take a RowList::iterator as arg,
8954 2003-03-31 John Levon <levon@movementarian.org>
8957 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8959 * lyx_main.C: set default fonts from using lyx_gui funcs
8961 * exporter.C: pdf_mode moved from lyxrc
8964 * lyxfunc.C: changes from above
8966 2003-03-31 John Levon <levon@movementarian.org>
8968 * lyx_main.C: fix to the last fix
8970 2003-03-31 John Levon <levon@movementarian.org>
8972 * bufferlist.C: "Load original" -> "Load Original"
8978 * format.C: more Alert cleanups
8980 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8982 * text2.C (removeParagraph): make it take a RowList::iterator as
8984 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8985 (postRowPaint): make it take a RowList::iterator as arg, adjust.
8987 * text.C (anchor_row): make it take a RowList::iterator as arg,
8989 (computeBidiTables): make it take a const reference to Row instead
8990 of Row pointer, adjust.
8991 (leftMargin): make it take a RowList::iterator as arg, adjust.
8992 (rowBreakPoint): adjust
8993 (breakAgainOneRow): make it take a RowList::iterator as arg,
8995 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8997 * bufferview_funcs.C (toggleAndShow): adjust
8999 2003-03-30 John Levon <levon@movementarian.org>
9003 * boost-inst.C: moved to support
9005 * several files: changes as a result
9007 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
9009 * text2.C (LyXText): adjust.
9011 (removeRow): make it take a RowList::iterator as arg, adjust.
9012 (fullRebreak): adjust
9013 (deleteEmptyParagraphMechanism): adjust
9014 (clearPaint): adjust
9017 * text.C (top_y): adjust
9018 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
9019 (breakAgain): make it take a RowList::iterator as arg, adjust.
9020 (breakParagraph): adjust
9021 (insertChar): adjust
9024 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
9025 need_break_row, and refresh_row.
9027 * text3.C (dispatch): adjust
9029 * text2.C (checkParagraph): adjust
9031 (setCursorFromCoordinates): adjust
9033 * text.C (top_y): adjust
9035 (getRow): make it return a RowList::iterator, adjust
9036 (getRowNearY): make it return a RowList::iterator, adjust
9038 * text2.C (init): adjust
9039 (insertRow): remove function
9040 (insertParagraph): adjust
9041 (redoParagraphs): adjust
9042 (fullRebreak): adjust
9043 (updateCounters): adjust
9045 * text.C (top_y): rewrite to use RowList iterators.
9047 (setHeightOfRow): rewrite to sue RowList iterators.
9048 (appendParagraph): adjust
9049 (breakAgain): adjust
9050 (breakAgainOneRow): adjust
9051 (breakParagraph): adjust
9053 (getRowNearY): adjust, and remove commented code.
9055 * lyxtext.h (firstRow): delete function
9056 (lastRow): delete function
9057 (rows): new function (const and non-const versions.)
9058 (insertRow): delete function
9060 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
9062 2003-03-29 John Levon <levon@movementarian.org>
9064 * BufferView_pimpl.C: always update scrollbar top
9065 because pasting text when we're anchored could mean we
9066 miss an update altogether
9068 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
9070 * text2.C (init): use rowlist_.end() and not 0.
9071 (insertRow): change to take a RowList::iterator as arg, adjust
9073 (insertParagraph): change to take a RowList::iterator as arg,
9075 (redoParagraphs): remove some debug msgs.
9077 * text.C (appendParagraph): change to take a RowList::iterator
9078 arg, adjust for this.
9079 (breakAgain): add an assert
9080 (breakAgainOneRow): ditto
9082 2003-03-29 John Levon <levon@movementarian.org>
9084 * text2.C: do not clear selection after inc/decDepth
9087 2003-03-29 John Levon <levon@movementarian.org>
9090 * buffer.C: fix broken strerrors according to Lars
9092 2003-03-29 John Levon <levon@movementarian.org>
9094 * converters.C: more Alert cleanups
9096 2003-03-29 John Levon <levon@movementarian.org>
9098 * bufferview_funcs.C: remove pointless Alert
9100 * buffer.C: fix confusing error message when
9101 a template is chmoded 000
9103 2003-03-29 John Levon <levon@movementarian.org>
9107 * BufferView_pimpl.C: Alert fixes
9111 * tabular-old.C: remove unused table compat reading
9113 2003-03-29 John Levon <levon@movementarian.org>
9118 * lyx_cb.C: more Alert cleanups
9120 * lyxfunc.C: don't allow chktex if not latex document
9122 2003-03-29 John Levon <levon@movementarian.org>
9126 * buffer.C: warnings pushed down from support/,
9129 2003-03-29 John Levon <levon@movementarian.org>
9131 * lyxfunc.C: safety check for C-r (revert)
9133 2003-03-29 John Levon <levon@movementarian.org>
9136 * bufferlist.C: several UI fixes using Alert::prompt.
9137 Fix the pointless looping quit code. Fix stupid revert
9142 * lyx_cb.C: use Alert::prompt
9144 * lyx_main.C: remove a silly question
9146 * lyxfunc.C: remove a couple of silly questions,
9149 2003-03-28 John Levon <levon@movementarian.org>
9151 * text2.C: fix bug 974 (End on empty par)
9153 2003-03-28 John Levon <levon@movementarian.org>
9155 * BufferView_pimpl.C:
9157 * lfuns.h: remove do-nothing math greek lfuns
9159 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
9161 * lyxgluelength.h (isValidGlueLength): add default arg on
9162 parameter 2. Remove default arg from friend in class.
9164 * lyxlength.h (isValidLength): add default arg on parameter 2.
9165 Remove default arg from friend in class.
9167 * text2.C (LyXText): adjust, initialize refresh_row.
9171 (insertParagraph): adjst
9172 (redoParagraphs): adjust
9173 (fullRebreak): adjust
9174 (updateCounters): adjust
9175 (deleteEmptyParagraphMechanism): first attempt at fixing a
9178 * text.C (top_y): adjust
9179 (setHeightOfRow): adjust
9181 (getRowNearY): adjust
9183 * lyxtext.h: include RowList.h
9184 (~LyXText): not needed anymore, deleted.
9185 (firstRow): modify for RowList
9186 (lastRow): new function
9187 Delete firstrow and lastrow class variables, add a Rowlist
9188 rowlist_ class variable.
9190 * lyxrow.C (lastPos): use empty() and not !size() to check if a
9193 * RowList.C (insert): fix case where it == begin().
9195 2003-03-26 Angus Leeming <leeming@lyx.org>
9197 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
9198 the thesaurus dialog.
9200 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
9202 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
9204 * RowList.[Ch]: new files
9206 * ParagraphList.C (erase): handle the case where it == begin
9209 2003-03-25 John Levon <levon@movementarian.org>
9213 * aspell.C: add new aspell support
9216 * lyxrc.C: Make use_pspell be use_spell_lib. Always
9219 2003-03-25 Angus Leeming <leeming@lyx.org>
9222 * LyXAction.C (init): new LFUN_INSET_INSERT.
9224 * BufferView_pimpl.C (dispatch): split out part of the
9225 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
9227 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
9230 2003-03-25 Angus Leeming <leeming@lyx.org>
9232 * lyxfunc.C (dispatch): changes to the Dialogs interface.
9234 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
9237 * text3.C: remove useless row->height(0)
9239 2003-03-25 John Levon <levon@movementarian.org>
9243 * text3.C: rename the refreshing stuff to better names
9245 2003-03-24 John Levon <levon@movementarian.org>
9247 * BufferView_pimpl.h:
9248 * BufferView_pimpl.C: update layout choice on a mouse
9251 2003-03-23 John Levon <levon@movementarian.org>
9253 * Makefile.am: fix commandtags.h reference
9255 2003-03-22 John Levon <levon@movementarian.org>
9257 * BufferView_pimpl.C:
9262 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
9264 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
9267 * text.C: take the rtl methods out of line
9269 2003-03-21 André Pönitz <poenitz@gmx.net>
9271 * metricsinfo.[Ch]: new files containing structures to be passed around
9272 during the two-phase-drawing...
9274 2003-03-21 André Pönitz <poenitz@gmx.net>
9276 * lyxtextclass.C: read 'environment' tag.
9278 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
9280 * text2.C (removeRow): fix bug 964
9282 2003-03-20 John Levon <levon@movementarian.org>
9286 * text2.C: paint cleanups. Inset::update() dropped font
9289 2003-03-19 John Levon <levon@movementarian.org>
9291 * lyxfunc.C: only fitcursor/markDirty if available()
9293 2003-03-19 John Levon <levon@movementarian.org>
9295 * commandtags.h: rename to ...
9297 * lfuns.h: ... this, and renumber / cleanup
9299 2003-03-19 John Levon <levon@movementarian.org>
9301 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
9302 fit the cursor after an lfun
9306 * BufferView_pimpl.h:
9307 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
9309 * LyXAction.C: layout-character should have ReadOnly
9311 * ParagraphParameters.C:
9313 * bufferview_funcs.C:
9320 * undo_funcs.C: changes from above
9322 2003-03-18 John Levon <levon@movementarian.org>
9324 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
9325 remove it from update()
9327 * lyxfunc.C: update layout choice after an lfun
9329 * text3.C: remove extra updateLayoutChoice()s
9331 2003-03-18 John Levon <levon@movementarian.org>
9333 * text.C: top_y change means full repaint, fix
9334 a drawing bug with cursor movement
9336 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
9340 * text2.C: anchor row on setCursor
9342 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
9344 * lyxtext.h: remove almost all mutable keywords
9347 * text3.C: remove const keywords accordingly
9349 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
9351 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
9353 (TeXEnvironment): ditto
9356 2003-03-17 John Levon <levon@movementarian.org>
9358 * text.C (rowBreakPoint): remove attempt to fix displayed
9359 math insets inside a manual label
9361 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
9363 * lyxtext.h: remove BufferView* as first arg from almost all class
9365 * other files: adjust.
9367 2003-03-17 John Levon <levon@movementarian.org>
9371 * text2.C: more paint cleanups
9373 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
9376 * rowpainter.C: remove "smart" background painting code
9378 2003-03-16 John Levon <levon@movementarian.org>
9383 * text3.C: add helper functions for setting refresh_row/y
9385 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
9387 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
9388 newline inset which *can* get inserted in the pass_thru layouts.
9389 This is primarily for literate documents.
9391 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
9393 * buffer.C: increment LYX_FORMAT to 223
9395 2003-03-14 André Pönitz <poenitz@gmx.net>
9397 * textclass.h: prepare for environment handling, ws changes
9398 * lyxlayout.C: read latexheader and latexfooter tags
9400 2003-03-14 John Levon <levon@movementarian.org>
9402 * text2.C: rewrite ::status() a bit
9404 2003-03-13 John Levon <levon@movementarian.org>
9406 * lyxtext.h: add some docs
9408 2003-03-13 John Levon <levon@movementarian.org>
9413 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
9415 2003-03-13 John Levon <levon@movementarian.org>
9417 * text3.C: fix appendix redrawing
9419 2003-03-13 John Levon <levon@movementarian.org>
9421 * text.C (setHeightOfRow):
9423 * rowpainter.C: make appendix mark have the text
9424 "Appendix" so the user knows what it is
9427 * LColor.C: s/appendixline/appendix/ from above
9429 2003-03-13 John Levon <levon@movementarian.org>
9431 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
9433 * text.C: fix a getChar(pos) bug properly
9435 2003-03-13 Angus Leeming <leeming@lyx.org>
9438 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
9439 Probably only temporary. Let's see how things pan out.
9441 * BufferView.C (unlockInset):
9442 * BufferView_pimpl.C (fitCursor):
9443 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
9445 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
9446 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
9448 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
9449 new functions that convert ParagraphParameters to and from a string.
9451 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9452 BufferView::Pimpl's dispatch.
9453 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9455 2003-03-13 André Pönitz <poenitz@gmx.net>
9459 * factory.C: make it aware of InsetEnv
9461 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
9463 * text2.C (setCursor): never ask for one past last
9464 (setCursor): add some debugging messages.
9466 * text.C (singleWidth): never ask for one past last
9467 (singleWidth): ditto
9469 (rightMargin): ditto
9470 (rowBreakPoint): ditto
9471 (setHeightOfRow): ditto
9472 (prepareToPrint): ditto
9474 * rowpainter.C (paintBackground): never ask for one past last
9475 (paintText): never ask for one past last
9477 * paragraph_pimpl.C (getChar): make the assert stricter, never
9478 allow the one past last pos to be taken
9480 * paragraph.C (getChar): ws changes only
9482 * lyxrow.C (nextRowIsAllInset): never ask for one past last
9483 (numberOfSeparators): ditto
9484 (numberOfHfills): ditto
9486 2003-03-12 John Levon <levon@movementarian.org>
9492 * paragraph_funcs.C: fix per-buffer authorlists
9494 2003-03-12 John Levon <levon@movementarian.org>
9496 * text.C: fix newline in right address
9498 2003-03-12 Angus Leeming <leeming@lyx.org>
9500 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9501 duplicate those in LyXFunc::dispatch.
9505 * ToolbarDefaults.C:
9506 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9507 Add LFUN_FONTFREE_UPDATE.
9509 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9510 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9512 * bufferview_func.[Ch]: several new functions to facilliate
9513 transfer of data to and from the character dialog.
9515 2003-03-12 John Levon <levon@movementarian.org>
9520 * paragraph_funcs.C:
9521 * paragraph_pimpl.C:
9525 * text3.C: remove META_NEWLINE in favour of an inset
9528 * rowpainter.C: remove paintNewline (done by inset)
9530 2003-03-12 John Levon <levon@movementarian.org>
9532 * paragraph_pimpl.C: complain about bad getChar()s
9533 for a while at least
9535 2003-03-12 John Levon <levon@movementarian.org>
9538 * buffer.C: move paragraph read into a separate function,
9539 a little renaming to reflect that.
9542 * bufferparams.C: remove the author_ids map, not necessary now
9545 * factory.C: moved Buffer::readInset to here
9547 * paragraph_funcs.h:
9548 * paragraph_funcs.C: readParagraph free function moved from
9551 * tabular.C: name change
9553 2003-03-12 John Levon <levon@movementarian.org>
9556 * ParagraphParameters.C: move par params input to
9559 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9560 behave like a normal read from the stream wrt reading
9561 a line vs. a \\token
9563 2003-03-12 John Levon <levon@movementarian.org>
9566 * ParagraphParameters.h:
9567 * ParagraphParameters.C: move output code to a
9570 2003-03-12 John Levon <levon@movementarian.org>
9572 * BufferView.C (insertLyXFile):
9575 * tabular.C: use a parlist iterator for creating the
9578 2003-03-12 John Levon <levon@movementarian.org>
9580 * buffer.C: make current_change static local not
9583 2003-03-12 John Levon <levon@movementarian.org>
9585 * buffer.C: fix insertStringAsLines for change tracking
9587 2003-03-12 John Levon <levon@movementarian.org>
9594 * bufferparams.C: move author list into params. Rename some
9595 functions. Move the header reading into a separate token
9596 loop. Move the header token reading into BufferParams.
9598 2003-03-12 John Levon <levon@movementarian.org>
9600 * changes.C: put debug inside lyxerr.debugging() checks
9602 2003-03-11 André Pönitz <poenitz@gmx.net>
9604 * factory.C: make it aware of InsetHFill
9606 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9608 * buffer.C (latexParagraphs): move function from here...
9609 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9612 2003-03-10 Angus Leeming <leeming@lyx.org>
9614 * LyXAction.C (init): fix bug in poplating array with multiple entries
9615 with the same LFUN (spotted by JMarc).
9617 2003-03-10 John Levon <levon@movementarian.org>
9620 * text2.C: move getColumnNearX() near its
9623 2003-03-10 John Levon <levon@movementarian.org>
9625 * text.C: fix break before a minipage
9627 2003-03-10 John Levon <levon@movementarian.org>
9629 * text.C: fix the last commit
9631 2003-03-09 John Levon <levon@movementarian.org>
9635 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9636 bug 365 (don't break before insets unless needed). Don't
9637 return a value > last under any circumstances.
9639 2003-03-09 Angus Leeming <leeming@lyx.org>
9641 * BufferView_pimpl.C (trackChanges, dispatch): call
9642 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9644 2003-03-09 Angus Leeming <leeming@lyx.org>
9646 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9647 than Dialogs::showAboutlyx().
9649 2003-03-09 Angus Leeming <leeming@lyx.org>
9651 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9652 than Dialogs::showTabularCreate().
9654 2003-03-09 John Levon <levon@movementarian.org>
9658 * text2.C: 3rd arg to nextBreakPoint was always the same.
9661 2003-03-08 John Levon <levon@movementarian.org>
9668 * text2.C: Remove the "main" bit from the "main body"
9671 2003-03-08 John Levon <levon@movementarian.org>
9673 * text.C (leftMargin): The left margin of an empty
9674 manual label paragraph should not include the label width
9677 * text.C (prepareToPrint): don't attempt to measure hfills
9678 for empty manual label paragraphs - the answer should be 0
9680 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9682 * CutAndPaste.C: remove commented code and reindent.
9684 2003-03-08 John Levon <levon@movementarian.org>
9687 * lyxfunc.C: move reloadBuffer()
9690 * BufferView.C: to here
9692 * lyxvc.C: add comment
9695 * vc-backend.C: call bv->reload() to avoid
9696 getStatus() check on MENURELOAD
9698 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
9700 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9701 to an old format .dep file.
9703 2003-03-07 Angus Leeming <leeming@lyx.org>
9705 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9706 when the LFUN_MOUSE_RELEASE should have been handled by
9707 inset->localDispatch.
9709 2003-03-07 Angus Leeming <leeming@lyx.org>
9711 * BufferView_pimpl.C (dispatch):
9712 * LyXAction.C (init):
9713 * ToolbarDefaults.C (init):
9715 * lyxfunc.C (getStatus):
9716 remove LFUN_INSET_GRAPHICS.
9718 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9720 2003-03-07 Angus Leeming <leeming@lyx.org>
9723 * LyXAction.C (init):
9724 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9726 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9729 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9731 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9732 localDispatch method LFUN_INSET_DIALOG_UPDATE.
9734 2003-03-07 Angus Leeming <leeming@lyx.org>
9736 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9739 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9741 * ParagraphList.C (front): new function
9744 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
9746 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9747 and top_row_offset_. removed var first_y.
9749 * text2.C (LyXText, removeRow):
9751 * BufferView_pimpl.C:
9752 use these methods instead of using first_y
9754 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9756 * text2.C (pasteSelection): adjust for checkPastePossible
9758 * CutAndPaste.C: remove Paragraph * buf and replace with
9759 ParagraphList paragraphs.
9760 (DeleteBuffer): delete
9761 (cutSelection): change the tc type to textclass_type
9762 (copySelection): change the tc type to textclass_type
9763 (copySelection): adjust for ParagraphList
9764 (pasteSelection): change the tc type to textclass_type
9765 (pasteSelection): adjust for Paragraphlist
9766 (nrOfParagraphs): simplify for ParagraphList
9767 (checkPastePossible): simplify for ParagraphList
9768 (checkPastePossible): remove unused arg
9770 * ParagraphList.C (insert): handle the case where there are no
9773 * CutAndPaste.h: make CutAndPaste a namespace.
9775 * text3.C (dispatch): adjust
9777 * text.C (breakParagraph): add a ParagraphList as arg
9779 * paragraph_funcs.C (breakParagraph): change to take a
9780 BufferParams and a ParagraphList as args.
9781 (breakParagraphConservative): ditto
9782 (mergeParagraph): ditto
9783 (TeXDeeper): add a ParagraphList arg
9784 (TeXEnvironment): ditto
9787 * buffer.C (readLyXformat2): adjust
9788 (insertStringAsLines): adjust
9789 (latexParagraphs): adjust
9791 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9792 (cutSelection): adjust
9793 (pasteSelection): adjust
9795 * BufferView_pimpl.C (insertInset): adjust
9797 2003-03-05 Angus Leeming <leeming@lyx.org>
9800 * LyXAction.C (init):
9801 * BufferView_pimpl.C (dispatch):
9802 * lyxfunc.C (getStatus):
9803 remove LFUN_CHILD_INSERT.
9805 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9807 2003-03-05 Angus Leeming <leeming@lyx.org>
9810 * LyXAction.C (init):
9811 * src/factory.C (createInset):
9812 * lyxfunc.C (getStatus):
9813 * text3.C (dispatch):
9814 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9816 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9818 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9820 * ParagraphList.C (insert): handle insert right before end()
9821 (erase): fix cases where it can be first or last paragraph.
9823 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9825 * paragraph_funcs.C (TeXEnvironment): remove all usage of
9826 Paragraph::next and Paragraph::previous
9829 * text.C (breakParagraph): adjust
9831 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9832 BufferParams& as arg.
9833 (breakParagraph): use ParagraphList::insert
9834 (breakParagraphConservative): take a Buffer* instead of a
9835 BufferParams& as arg.
9836 (breakParagraphConservative): use ParagraphList::insert.
9838 * buffer.C (insertStringAsLines): un-const it
9839 (insertStringAsLines): adjust
9841 * ParagraphList.C (insert): new function
9843 * CutAndPaste.C (pasteSelection): adjust
9845 * text.C (backspace): adjust
9847 * tabular.C (SetMultiColumn): adjust
9849 * CutAndPaste.C (cutSelection): adjust
9850 (pasteSelection): adjust
9852 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9853 Buffer const * as arg
9855 * ParagraphList.C (erase): new function
9856 * paragraph_funcs.C (mergeParagraph): use it
9857 (mergeParagraph): make it take a Buffer* instead of a
9858 BufferParams* as arg
9860 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9862 (breakParagraphConservative): ditto
9864 * paragraph.h: remove the breakParagraph friend
9866 * paragraph.C (eraseIntern): new function
9867 (setChange): new function
9869 * paragraph_funcs.C (mergeParagraph): make it take a
9870 ParagraphList::iterator instead of a Paragraph *, adjust
9873 * paragraph.h: move an #endif so that the change tracking stuff
9874 also works in the NO_NEXT case.
9876 2003-03-04 Angus Leeming <leeming@lyx.org>
9879 * LyXAction.C: new LFUN_INSET_MODIFY.
9881 * BufferView_pimpl.C (dispatch): if an inset is found to be open
9882 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9884 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9886 * several files: ws changes only
9888 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9889 (TeXEnvironment): ditto
9892 * buffer.C (makeLaTeXFile): adjust
9893 (latexParagraphs): make it take ParagraphList::iterator as args
9895 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
9897 * buffer.C (latexParagraphs): adjust
9899 * paragraph.C (TeXOnePar): move function...
9900 (optArgInset): move function...
9901 (TeXEnvironment): move function...
9902 * paragraph_pimpl.C (TeXDeeper): move function...
9903 * paragraph_funcs.C: ...here
9905 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9907 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9909 * buffer.C (readInset): remove compability code for old Figure and
9912 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9914 * buffer.C: ws changes
9917 * BufferView_pimpl.C: ditto
9920 * bufferlist.h: ditto
9924 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
9926 * converter.[Ch]: split into itself +
9929 * Makefile.am: += graph.[Ch] + format.[Ch]
9936 * lyxrc.C: added #include "format.h"
9938 2003-02-27 Angus Leeming <leeming@lyx.org>
9940 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9943 * factory.C (createInset): add "label" to the factory.
9945 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9946 string and do no more.
9948 2003-02-27 Angus Leeming <leeming@lyx.org>
9951 * LyXAction.C (init):
9952 * factory.C (createInset):
9953 * BufferView_pimpl.C (dispatch):
9954 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9956 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9958 * lyxfunc.C (dispatch):
9959 * text3.C (dispatch): pass name to params2string.
9961 2003-02-26 Angus Leeming <leeming@lyx.org>
9963 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9965 Rearrange the ~includes. Strip out the unnecessary ones.
9967 * factory.C (createInset): reformat.
9968 create new insets for the various LFUN_XYZ_APPLY lfuns.
9970 2003-02-26 John Levon <levon@movementarian.org>
9973 * lyxrow.C: add isParStart,isParEnd helpers
9975 * paragraph.h: make isInserted/DeletedText take refs
9977 * paragraph_funcs.h:
9978 * paragraph_funcs.C: remove #if 0'd code
9983 * text.C: use lyxrow helpers above.
9984 Move draw and paint routines to RowPainter.
9985 Make several methods use refs not pointers.
9986 Make backgroundColor() const.
9987 Add markChangeInDraw(), isInInset().
9988 Merge changeRegionCase into changeCase.
9989 Make workWidth() shouldn't-happen code into an Assert.
9992 * rowpainter.C: new class for painting a row.
9995 * vspace.C: make inPixels take a ref
9997 2003-02-26 Angus Leeming <leeming@lyx.org>
9999 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
10002 2003-02-25 John Levon <levon@movementarian.org>
10004 * ispell.C: give the forked command a more accurate name
10006 2003-02-22 John Levon <levon@movementarian.org>
10009 * toc.C: make TocItem store an id not a Paragraph *
10012 2003-02-21 Angus Leeming <leeming@lyx.org>
10014 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
10015 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
10016 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
10017 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
10018 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
10019 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
10021 * BufferView_pimpl.C (dispatch):
10022 * LyXAction.C (init):
10023 * factory.C (createInset):
10024 * lyxfunc.C (getStatus, dispatch):
10025 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
10027 2003-02-21 Angus Leeming <leeming@lyx.org>
10029 * BufferView_pimpl.C (MenuInsertLyXFile):
10030 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
10031 * lyxfunc.C (menuNew, open, doImport):
10032 no longer pass a LyXView & to fileDlg.
10034 2003-02-21 Angus Leeming <leeming@lyx.org>
10036 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
10037 * LyXAction.C: change, BIBKEY to BIBITEM.
10038 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
10039 Change InsetBibKey to InsetBibitem.
10040 Change BIBKEY_CODE to BIBITEM_CODE.
10041 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10042 * factory.C: replace insetbib.h with insetbibitem.h.
10043 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10044 * paragraph.C: replace insetbib.h with insetbibitem.h.
10045 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
10046 Change bibkey() to bibitem().
10047 * text.C: remove insetbib.h.
10048 * text2.C: replace insetbib.h with insetbibitem.h.
10049 change bibkey() to bibitem().
10050 * text3.C: remove insetbib.h.
10051 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10053 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10055 * lyxrc.C (output): enclose user email in quotes (in case there are
10058 2003-02-18 John Levon <levon@movementarian.org>
10060 * buffer.h: add std::
10062 2003-02-17 John Levon <levon@movementarian.org>
10068 * pspell.C: reworking. Especially in ispell, a large
10069 number of clean ups and bug fixes.
10071 * lyxfunc.C: fix revert to behave sensibly
10073 2003-02-17 André Pönitz <poenitz@gmx.net>
10076 * commandtags.h: new LFUN_INSERT_BIBKEY
10086 * paragraph_func.C: remove special bibkey handling
10088 2003-02-17 John Levon <levon@movementarian.org>
10090 * text.C (Delete): fix case where delete at the end of
10091 the very first paragraph would not merge the pars
10093 2003-02-17 John Levon <levon@movementarian.org>
10095 * lyxrow.C: fix lastPrintablePos()
10097 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10099 * bufferparams.C (writeLaTeX): add a std:here
10101 * buffer.C: and remove a using directive there
10103 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10105 * buffer.C (makeLaTeXFile): move the code that generates the
10108 * bufferparams.C (writeLaTeX): ... in this new method
10110 * LaTeXFeatures.C (getEncodingSet): make const
10111 (getLanguages): make const
10113 * MenuBackend.C (binding): returns the binding associated to this
10115 (add): sets the status of each item by calling getStatus. Adds
10117 (read): add support for OptSubMenu
10118 (expand): remove extra separator at the end of expanded menu
10120 2003-02-15 John Levon <levon@movementarian.org>
10123 * BufferView_pimpl.C:
10125 * bufferlist.C: remove pointless BufferStorage bloat. Remove
10126 inset code that had no actual effect. Remove unneeded status
10129 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10131 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
10134 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
10136 * text.C (drawLengthMarker): also draw an arrow marker for
10137 symbolic lengths (medskip...)
10139 2003-02-14 John Levon <levon@movementarian.org>
10142 * tabular.C: better method names
10144 2003-02-14 John Levon <levon@movementarian.org>
10146 * BufferView_pimpl.C:
10151 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
10152 it's a more accurate name. Remove some pointless uses.
10154 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10156 * text2.C (LyXText): change order of initilizers to shut off
10159 2003-02-14 John Levon <levon@movementarian.org>
10161 * buffer.C: use ParIterator for getParFromID()
10165 * paragraph_pimpl.h:
10166 * paragraph_pimpl.C: remove unused getParFromID()
10168 2003-02-14 John Levon <levon@movementarian.org>
10170 * buffer.C: remove some very old #if 0'd parse code
10172 2003-02-13 John Levon <levon@movementarian.org>
10176 * text2.C: move hfillExpansion(), numberOfSeparators(),
10177 rowLast(), rowLastPrintable(), numberofHfills(),
10178 numberOfLabelHfills() ...
10181 * lyxrow.C: ... to member functions here.
10186 * text.C: remove LyXText::beginningOfMainBody(), and call
10187 p->beginningOfMainBody() directly. Move the check for
10188 LABEL_MANUAL into the latter.
10195 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
10201 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
10202 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
10204 2003-02-13 John Levon <levon@movementarian.org>
10206 * CutAndPaste.C: remove debug
10208 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10210 * paragraph.C (asString): remove two unused variables
10212 * lyxtextclass.C (readTitleType):
10214 (LyXTextClass): handle new members titletype_ and titlename_
10216 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
10218 2003-02-09 John Levon <levon@movementarian.org>
10221 * buffer.C: replace hand-coded list with a map for the dep clean
10223 2003-02-08 John Levon <levon@movementarian.org>
10225 * LaTeX.C: consolidate code into showRunMessage() helper
10227 2003-02-08 John Levon <levon@movementarian.org>
10232 * BufferView.C: change setSelectionOverString() to setSelectionRange()
10233 and pass the size in explicitly
10235 * BufferView_pimpl.h:
10236 * BufferView_pimpl.C:
10238 * BufferView.C: add getCurrentChange()
10240 * BufferView_pimpl.h:
10241 * BufferView_pimpl.C: handle change lfuns
10243 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
10244 for changes. Mark pasted paragraphs as new.
10246 * support/lyxtime.h:
10247 * support/lyxtime.C:
10248 * DepTable.C: abstract time_t as lyx::time_type
10251 * LColor.C: add colours for new text, deleted text, changebars
10253 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
10254 package use "usenames" option.
10258 * LyXAction.C: add change lfuns
10262 * author.C: author handling
10265 * buffer.C: add a per-buffer author list, with first entry as
10266 current author. Handle new .lyx tokens for change tracking. Output
10267 author list to .lyx file. Output dvipost stuff to .tex preamble.
10268 Bump lyx format to 222.
10271 * bufferlist.C: add setCurrentAuthor() to reset current author details
10275 * bufferparams.C: add param for tracking
10277 * bufferview_funcs.C: output change info in minibuffer
10281 * changes.C: add change-tracking structure
10284 * debug.C: add CHANGES debug flag
10287 * lyxfind.C: add code for finding the next change piece
10290 * lyxrc.C: add user_name and user_email
10293 * lyxrow.C: add a metric for the top of the text line
10296 * text.C: implement accept/rejectChange()
10299 * text.C: paint changebars. Paint new/deleted text in the chosen
10300 colours. Strike through deleted text.
10304 * paragraph_pimpl.h:
10305 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
10306 in the current change to the insert functions. Rework erase to
10307 mark text as deleted, adding an eraseIntern() and a range-based
10308 erase(). Implement per-paragraph change lookup and
10311 * paragraph_funcs.C: Fixup paste for change tracking.
10313 * tabular.C: mark added row/columns as new.
10315 * text.C: fix rowLast() to never return -1. Don't allow
10316 spellchecking of deleted text. Track transpose changes. Don't
10317 allow paragraph break or merge where appropriate.
10319 * text2.C: leave cursor at end of selection after a cut.
10321 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10323 * text.C (getLengthMarkerHeight):
10324 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
10325 visible on screen too.
10327 2003-02-07 John Levon <levon@movementarian.org>
10329 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
10331 2003-02-05 Angus Leeming <leeming@lyx.org>
10333 * lyxserver.C (read_ready): revert my patch of 11 September last year
10334 as it sends PC cpu through the roof. Presumably this means that
10335 the lyxserver will no longer run on an Alpha...
10337 2003-01-30 Angus Leeming <leeming@lyx.org>
10339 * factory.C (createInset): create an InsetCommandParam of type "index"
10340 and use it to 'do the right thing'.
10342 * text2.C (getStringToIndex): ensure that cursor position is always
10343 reset to the reset_cursor position.
10345 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10347 * lyxfunc.C (getStatus): "buffer-export custom" should never be
10350 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
10354 * lyxfunc.C: Output messages with identical spelling, punctuation,
10357 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
10359 * MenuBackend.C (expandFormats): List only viewable export formats
10362 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
10365 * lyxfunc.C (getStatus): Make sure that formats other than
10366 "fax" can also be disabled
10368 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10370 * text3.C (dispatch): put the lfuns that insert insets in 3
10371 groups, and call doInsertInset with appropriate arguments.
10372 (doInsertInset): new function, that creates an inset and inserts
10373 it according to some boolean parameters.
10375 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
10377 * buffer.C (readFile): remember to pass on 'par' when calling
10378 readFile recursively.
10380 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10382 * MenuBackend.C (expandFormats): add "..." to import formats.
10384 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
10386 * paragraph.C (asString): Remove XForms RTL hacks.
10388 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
10389 * buffer.C: fix typo
10391 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
10393 * Makefile.am (LIBS): delete var
10394 (lyx_LDADD): add @LIBS@ here instead.
10396 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
10398 * Clarify the meaning of "wheel mouse jump"
10400 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10402 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
10405 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10407 * importer.C (Loaders): do not preallocate 3 elements in the
10408 vector, since one ends up with 6 elements otherwise
10410 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10412 * DepTable.C (write): write the file name as last element of the
10413 .dep file (because it may contain spaces)
10414 (read): read info in the right order
10416 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10418 * paragraph_pimpl.C (simpleTeXBlanks):
10419 (simpleTeXSpecialChars):
10420 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
10422 * tabular.C (latex): add some missing case statements. Reindent.
10424 * MenuBackend.C (expandToc): remove unused variable.
10426 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
10435 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
10438 2003-01-05 John Levon <levon@movementarian.org>
10441 * BufferView.C: add getEncoding()
10444 * kbsequence.C: do not store last keypress
10447 * lyxfunc.C: store last keypress here instead. Pass encoding
10450 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10452 * lyx_main.C (init): remove annoying error message when following
10453 symbolic links (bug #780)
10455 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10457 * text.C (insertChar):
10458 * lyxrc.C (getDescription): remove extra spaces
10460 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10462 * lyxrc.C (getDescription): remove extra spaces
10464 2002-12-20 John Levon <levon@movementarian.org>
10466 * text3.C: hack fix for page up/down across tall rows
10468 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10470 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10473 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10475 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10476 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10477 thesaurus is not compiled in
10479 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
10481 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
10483 2002-12-16 Angus Leeming <leeming@lyx.org>
10486 * lyx_main.C (init): remove override_x_deadkeys stuff.
10488 2002-12-12 John Levon <levon@movementarian.org>
10490 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10491 insert. Only remove shift modifier under strict
10494 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
10496 * MenuBackend.C (expandToc): fix crash.
10498 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
10500 * MenuBackend.C (expandToc): gettext on float names.
10502 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
10504 * lyxlength.[Ch]: set default unit to UNIT_NONE,
10505 implement bool empty() [bug 490]
10507 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
10509 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10511 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
10513 * several files: ws changes
10515 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
10517 * text2.C (setCounter): clean up a bit, use boost.format.
10518 (updateCounters): initialize par upon declaration.
10520 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10521 if the layout exists. We do not just store the layout any more.
10522 (SwitchLayoutsBetweenClasses): use boost.format
10524 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10526 * converter.C (convert): if from and to files are the same, use a
10527 temporary files as intermediary
10529 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10532 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10534 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
10536 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10538 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
10540 * tabular.C (asciiPrintCell): use string(size, char) instead of
10543 * sgml.C (openTag): fix order of arguments to string constructor
10546 * lyxfunc.C (dispatch): use boost.format
10548 * lots of files: change "c" -> 'c'
10550 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
10552 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10554 2002-11-25 Angus Leeming <leeming@lyx.org>
10556 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10558 * lyx_main.C (init): compile fix.
10560 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
10562 * lyx_cb.C (start): boost.formatify
10563 do not include <iostream>
10565 * lengthcommon.C: ws only
10567 * boost-inst.C,BoostFormat.h: add more explict instantations
10569 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
10571 * lots of files: handle USE_BOOST_FORMAT
10573 2002-11-21 John Levon <levon@movementarian.org>
10575 * pspell.C: fix compile
10577 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10579 * lyxfunc.C (dispatch): use boost::format
10583 * lyxfont.C (stateText): use boost::format
10585 * lyx_main.C (LyX): use boost::format
10587 (queryUserLyXDir): ditto
10588 (readRcFile): ditto
10590 (typedef boost::function): use the recommened syntax.
10592 * importer.C (Import): use boost::format
10594 * debug.C (showLevel): use boost::format
10596 * converter.C (view): use boost::format
10601 * bufferview_funcs.C (currentState): use boost::format
10603 * bufferlist.C (emergencyWrite): use boost::format
10605 * buffer.C (readLyXformat2): use boost::format
10606 (parseSingleLyXformat2Token): ditto
10608 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10610 * LaTeX.C (run): use boost::format
10612 * Chktex.C (scanLogFile): use boost::format
10614 * BufferView_pimpl.C (savePosition): use boost::format
10615 (restorePosition): ditto
10616 (MenuInsertLyXFile): ditto
10618 * BoostFormat.h: help file for explicit instation.
10620 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
10622 * tabular.C (latex): Support for block alignment in fixed width
10625 2002-11-17 John Levon <levon@movementarian.org>
10627 * BufferView_pimpl.C:
10629 * lyxfunc.C: split filedialog into open/save
10631 2002-11-08 Juergen Vigna <jug@sad.it>
10633 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10634 by my last patch (hopefully).
10636 2002-11-08 John Levon <levon@movementarian.org>
10645 * toc.C: ParConstIterator, and use it (from Lars)
10647 2002-11-07 Ben Stanley <bds02@uow.edu.au>
10649 * lyxtextclass.[Ch]: revise and add doxygen comments
10651 2002-11-07 John Levon <levon@movementarian.org>
10653 * text.C: fix progress value for spellchecker
10655 * toc.C: fix navigate menu for insetwrap inside minipage
10657 * paragraph_funcs.C: added FIXME for suspect code
10659 2002-11-07 John Levon <levon@movementarian.org>
10661 * BufferView_pimpl.C: fix redrawing of insets
10664 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10666 * text2.C (updateCounters): fix bug 668
10668 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
10670 * text3.C (dispatch): Do not make the buffer dirty when moving the
10673 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10675 * vc-backend.C: STRCONV
10676 (scanMaster): ditto
10678 * text2.C (setCounter): STRCONV
10680 * paragraph.C (asString): STRCONV
10682 * lyxlength.C (asString): STRCONV
10683 (asLatexString): ditto
10685 * lyxgluelength.C (asString): STRCONV
10686 (asLatexString): ditto
10688 * lyxfunc.C (dispatch): STRCONV
10691 * lyxfont.C (stateText): STRCONV
10693 * importer.C (Import): STRCONV
10695 * counters.C (labelItem): STRCONV
10696 (numberLabel): ditto
10697 (numberLabel): remove unused ostringstream o
10702 * bufferview_funcs.C (currentState): STRCONV
10704 * buffer.C (readFile): STRCONV
10705 (asciiParagraph): ditto
10706 (makeLaTeXFile): ditto
10708 * Spacing.C (writeEnvirBegin): STRCONV
10710 * LaTeXFeatures.C (getLanguages): STRCONV
10711 (getPackages): ditto
10713 (getBabelOptions): ditto
10714 (getTClassPreamble): ditto
10715 (getLyXSGMLEntities): ditto
10716 (getIncludedFiles): ditto
10720 (scanAuxFile): ditto
10723 * LString.h: add the STRCONV macros
10725 * BufferView_pimpl.C (savePosition): STRCONV
10726 (restorePosition): ditto
10727 (MenuInsertLyXFile): ditto
10729 * vc-backend.C (scanMaster): change from submatch[...] to
10732 * funcrequest.C: include config.h
10734 * factory.C: include config.h
10736 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10738 * box.C: include config.h
10740 * LaTeX.C (scanAuxFile): change from submatch[...] to
10744 2002-10-25 Angus Leeming <leeming@lyx.org>
10746 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10748 * ispell.[Ch] (setError): new method.
10749 * ispell.C (c-tor): move out child process into new class LaunchIspell.
10750 Use setError() insetead of goto END.
10752 * lyx_cb.C (AutoSave): move out child process into new class
10755 2002-10-30 John Levon <levon@movementarian.org>
10757 * text3.C: make start appendix undoable
10759 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
10761 * lyxlength.C (inPixels): Fix returned value.
10763 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10766 2002-10-24 Angus Leeming <leeming@lyx.org>
10768 * lyxgluelength.h: no need to forward declare BufferParams
10769 or BufferView, so don't.
10771 2002-10-21 John Levon <levon@movementarian.org>
10773 * BufferView.C: menuUndo ->undo, redo
10775 * BufferView.h: document, remove dead, make some methods private
10777 * paragraph_funcs.h:
10778 * paragraph_funcs.C:
10779 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10784 * sgml.C: move sgml open/close tag into sgml.C
10786 * bufferview_funcs.h: unused prototype
10789 * lyxfunc.C: remove unused
10792 * text.C: remove unused
10794 2002-10-21 John Levon <levon@movementarian.org>
10798 * BufferView_pimpl.h:
10799 * BufferView_pimpl.C: fix mouse wheel handling based on
10800 patch from Darren Freeman
10802 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
10804 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10806 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
10808 * lyxlength.C (inPixels): Fix hanfling of negative length.
10809 Fix LyXLength::MU case.
10811 2002-10-16 John Levon <levon@movementarian.org>
10813 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10815 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10817 * converter.C (view): add support for $$i (file name) and $$p
10818 (file path) for the viewer command. If $$i is not specified, then
10819 it is appended to the command (for compatibility with old syntax)
10821 2002-10-14 Juergen Vigna <jug@sad.it>
10823 * undo_funcs.C (textHandleUndo): alter the order in which the
10824 new undopar is added to the LyXText, as we have to set first
10825 the right prev/next and then add it as otherwise the rebuild of
10826 LyXText is not correct. Also reset the cursor to the right paragraph,
10827 with this IMO we could remove the hack in "redoParagraphs()".
10829 2002-10-09 Angus Leeming <leeming@lyx.org>
10831 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10832 to turn off an optimisation if a new inset is to be inserted.
10834 2002-10-11 André Pönitz <poenitz@gmx.net>
10836 * lyxtext.h: make some functions public to allow access
10837 from inset/lyxtext for handling LFUN_PRIOR/NEXT
10839 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10841 * text3.C (dispatch): when changing layout, avoid an infinite loop
10844 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10846 * lyxrc.C (read): treat a viewer or converter command of "none" as
10849 * MenuBackend.C (expandFormats): for an update, also allow the
10850 formats that are not viewable
10852 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10853 script if it is newer than the lyxrc.defaults in user directory
10855 2002-10-07 André Pönitz <poenitz@gmx.net>
10857 * text.C: Vitaly Lipatov's small i18n fix
10859 2002-09-25 Angus Leeming <leeming@lyx.org>
10861 * ispell.h: doxygen fix.
10863 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
10865 * buffer.h (readFile): Add a new argument to the method, to allow
10866 reading of old-format templates.
10868 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
10870 * toc.C (getTocList): Get TOC from InsetWrap.
10872 2002-09-16 John Levon <levon@movementarian.org>
10874 * lyxfunc.C: check tabular for cut/copy too
10876 2002-09-12 John Levon <levon@movementarian.org>
10878 * LyXAction.C: tidy
10881 * factory.C: add header
10883 * paragraph_funcs.h:
10884 * paragraph_funcs.C: cleanup
10886 2002-09-11 John Levon <levon@movementarian.org>
10888 * PrinterParams.h: odd/even default to true
10890 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
10892 * PrinterParams.h: update printer parameters for new xforms dialog
10894 2002-09-11 Angus Leeming <leeming@lyx.org>
10896 * lyxserver.C (read_ready): re-write to make it more transparent
10897 and to make it work in coherent fashion under Tru64 Unix.
10899 2002-09-11 André Pönitz <poenitz@gmx.net>
10903 * text3.C: implement LFUN_WORDSEL
10905 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10907 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10908 make floatlist_ a boost::shared_ptr<FloatList>
10910 * lyxtextclass.C: include FloatList.h
10911 (LyXTextClass): initialize floatlist_
10912 (TextClassTags): add TC_NOFLOAT
10913 (Read): match "nofloat" to TC_NOFLOAT and use it.
10914 (readFloat): modify call to floatlist_
10918 * FloatList.[Ch] (FloatList): remove commented out float
10920 (erase): new function
10922 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10924 * MenuBackend.C (expandToc): fix crash when there is no document
10927 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
10929 * many files: Add insetwrap.
10931 2002-09-09 John Levon <levon@movementarian.org>
10933 * text2.C: remove confusing and awkward depth wraparound
10935 2002-09-09 John Levon <levon@movementarian.org>
10937 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10940 * buffer.C: remove getIncludeonlyList()
10943 * lyxfunc.C: remove headers
10945 2002-09-09 Juergen Vigna <jug@sad.it>
10947 * text.C (getColumnNearX): fix form Michael this is most
10948 probably a cut&paste bug.
10950 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
10952 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10954 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10955 references, ws changes.
10957 * text2.C (init): update counters after init
10958 (insertParagraph): no need to set counter on idividual paragraphs.
10959 (setCounter): access the counters object in the textclass object
10960 on in the buffer object.
10961 (updateCounters): ditto
10963 * lyxtextclass.C: include counters.h, add variable ctrs_ as
10964 shared_ptr<Counters> to avoid loading counters.h in all
10966 (LyXTextClass): initialize ctrs_
10967 (TextClassTags): add TC_COUNTER, and ...
10968 (Read): use it here.
10969 (CounterTags): new tags
10970 (readCounter): new function
10971 (counters): new funtion
10972 (defaultLayoutName): return a const reference
10974 * counters.C (Counters): remove contructor
10975 (newCounter): remove a couple of unneeded statements.
10976 (newCounter): simplify a bit.
10977 (numberLabel): some small formatting changes.
10979 * buffer.[Ch]: remove all traces of counters, move the Counters
10980 object to the LyXTextClass.
10982 2002-09-06 Alain Castera <castera@in2p3.fr>
10984 * tabular.C: uses \tabularnewline; uses >{...} construct from array
10985 package to set the horizontal alignment on fixed width columns.
10988 * lyx_sty.h: added tabularnewline macro def.
10990 * LaTeXFeatures.C: added NeedTabularnewline macro feature
10992 2002-09-06 John Levon <levon@movementarian.org>
10994 * LyXAction.C: tooltips for sub/superscript
10996 * MenuBackend.C: a bit more verbose
10998 * lyxfunc.C: tiny clean
11000 * undo_funcs.C: document undo_frozen
11002 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
11004 * counters.C (Counters): add missing algorithm counter.
11006 * text2.C (setCounter): lookup the counter with layouts latexname
11007 instead of by section number.
11008 (setCounter): use a hackish way to lookup the correct enum
11010 a float name->type change
11011 reset enum couners with counter name directly instead of depth value.
11013 * counters.C (Counters): remove the push_backs, change to use the
11014 float type not the float name.
11015 (labelItem): remove unused string, float name->type change
11017 * counters.h: don't include vector, loose the enums and sects vectors
11019 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
11021 * lyxtextclass.C (TextClassTags): add TC_FLOAT
11022 (Read): add float->TC_FLOAT to textclassTags
11023 (Read): and handle it in the switch
11024 (readFloat): new function
11026 * FloatList.C (FloatList): comment out the hardcoded float
11029 * lyxlayout.h: ws change.
11031 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
11033 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
11035 2002-09-03 Angus Leeming <leeming@lyx.org>
11037 * BufferView_pimpl.h: qualified name is not allowed in member
11038 declaration: WorkArea & Pimpl::workarea() const;
11040 * factory.C: added using std::endl directive.
11042 * text3.C: added using std::find and std::vector directives.
11044 2002-08-29 André Pönitz <poenitz@gmx.net>
11047 * text2.C: remove unused member number_of_rows
11050 * BufferView2.C: remove file, move contents to...
11051 * BufferView.C: ... here
11053 * BufferView_pimpl.C:
11054 * factory.C: move more inset creation to factory
11056 * vspace.C: avoid direct usage of LyXText, ws changes
11059 don't provide direct access to WorkArea, use two simple
11060 acessors haveSelction() and workHeight() instead
11063 2002-08-29 John Levon <levon@movementarian.org>
11065 * BufferView_pimpl.C (dispatch): do not continue when
11068 2002-08-28 André Pönitz <poenitz@gmx.net>
11070 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
11073 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
11075 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
11077 * buffer.C: increment LYX_FORMAT to 221
11079 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
11080 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
11082 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
11084 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
11086 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11088 * factory.C (createInset): use LyXTextClass::floats
11090 * MenuBackend.C (expandFloatListInsert):
11091 (expandFloatInsert):
11094 * text2.C (setCounter):
11096 * LaTeXFeatures.C (useFloat):
11097 (getFloatDefinitions):
11099 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
11101 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
11102 floatlist_, with accessor floats().
11104 * FloatList.h: remove global FloatList
11106 2002-08-26 André Pönitz <poenitz@gmx.net>
11108 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
11112 * BufferView_pimpl.C:
11113 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
11115 2002-08-25 John Levon <levon@movementarian.org>
11117 * LyXAction.C: fix margin note description
11119 2002-08-24 John Levon <levon@movementarian.org>
11123 * bufferview_funcs.C:
11125 * undo_funcs.C: cleanups
11127 * lyxfunc.C: disable CUT/COPY when no selection
11129 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
11131 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
11132 in "enum UNIT"; e.g. PTW for Percent of TextWidth
11134 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
11135 Add backward compatibility to "mono", "gray" and "no".
11137 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
11139 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
11140 (and file_format >= 200).
11142 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11144 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
11146 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11148 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
11150 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
11152 * BufferView_pimpl.C:
11159 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
11160 inset and code to make it work with the paragraph code. The inset
11161 can be anywhere in the paragraph, but will only do the expected
11162 thing in LaTeX if the layout file contains the parameter line
11164 (or more generally, a nonzero value) for that layout.
11166 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
11168 * paragraph.h: remove the declaration of undefined counters class
11171 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
11173 * text2.C (setCounter): fixed enumeration mis-count as reported by
11174 Dr. Richard Hawkins.
11176 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11178 * paragraph_funcs.h: remove some unneeded includes
11180 * text.C (backspace): pasteParagraph now in global scipe
11182 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
11183 (pasteSelection): ditto
11185 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
11186 * paragraph_funcs.C (pasteParagraph): ... here
11188 2002-08-20 André Pönitz <poenitz@gmx.net>
11190 * commandtags.h: new LFUNs for swapping/copying table row/colums
11193 * lyxfunc.C: support for new lfuns
11195 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
11198 * buffer.[Ch]: remove NO_COMPABILITY stuff
11200 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
11202 * boost.C (throw_exception): new file, with helper function for
11203 boost compiled without exceptions.
11208 * ParameterStruct.h:
11209 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
11211 * bufferlist.C (emergencyWriteAll): use boost bind
11213 * BufferView_pimpl.C (moveCursorUpdate): remove inline
11215 * text.C: include paragraph_funcs.h
11216 (breakParagraph): breakParagraph is now in global scope
11218 * paragraph_funcs.[Ch]: new files
11220 * paragraph.C (breakParagraph,breakParagraphConservative): move to
11223 * buffer.C: include paragraph_funcs.h
11224 (insertStringAsLines): breakParagraph is now in global scope
11226 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
11229 * CutAndPaste.C: include paragraph_funcs.h
11230 (cutSelection): breakParagraphConservative is now in global scope
11231 (pasteSelection): ditto
11233 * buffer.h: declare oprator== and operator!= for
11234 Buffer::inset_iterator
11236 * bufferlist.C (emergencyWrite): don't use fmt(...)
11238 * text3.C: add using std::endl
11240 * BufferView.C (moveCursorUpdate): remove default arg
11242 2002-08-20 André Pönitz <poenitz@gmx.net>
11244 * buffer.[Ch]: move inline functions to .C
11247 * BufferView_pimpl.C:
11249 * buffer.[Ch]: use improved inset_iterator
11252 * paragraph.[Ch]: write one paragraph at a time
11254 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
11256 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
11257 style if style is not specified.
11259 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11261 * text2.C (setCounter): when searching for right label for a
11262 caption, make sure to recurse to parent insets (so that a caption
11263 in a minipage in a figure float works) (bug #568)
11265 2002-08-20 André Pönitz <poenitz@gmx.net>
11267 * text3.C: new file for LyXText::dispatch() and helpers
11269 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
11271 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
11273 2002-08-19 André Pönitz <poenitz@gmx.net>
11276 * text.C: new LyXText::dispatch()
11278 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
11280 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
11282 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
11284 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
11287 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11289 * Makefile.am: use $(variables) instead of @substitutions@
11291 2002-08-15 André Pönitz <poenitz@gmx.net>
11294 * BufferView_pimpl.C: streamlining mathed <-> outer world
11298 * LyXAction.C: remove unused LFUN_MATH
11300 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
11302 * paragraph.[Ch]: add some NO_NEXT ifdefs.
11304 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
11306 * paragraph.C (Paragraph): reformat a bit
11307 (cutIntoMinibuffer): use builtin InsetList function instad of
11311 * buffer.C: include boost/bind.hpp, add using std::for_each
11312 (writeFileAscii): use ParagraphList iterators
11313 (validate): use for_each for validate traversal of paragraphs
11314 (getBibkeyList): use ParagraphList iterators
11315 (resizeInsets): use for_each to resizeInsetsLyXText for all
11317 (getParFromID): use ParagraphList iterators
11319 * BufferView2.C (lockInset): use paragraph list and iterators
11321 2002-08-14 John Levon <levon@movementarian.org>
11323 * lyxserver.C: remove spurious xforms include
11325 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11327 * lyxfunc.C (getStatus): disable math-extern outside of math mode
11329 2002-08-13 André Pönitz <poenitz@gmx.net>
11332 * lyxfunc.C: further cleaning
11334 2002-08-13 André Pönitz <poenitz@gmx.net>
11336 * funcrequest.h: new constructor
11338 * funcrequest.C: move stuff here from .h
11341 * BufferView_pimpl.C:
11344 * lyxfunc.C: subsequent changes
11346 * lyxfunc.h: new view() member function
11348 * lyxfunc.C: subsequent changes
11350 2002-08-13 Angus Leeming <leeming@lyx.org>
11353 * BufferView_pimpl.C:
11361 changes due to the changed LyXView interface that now returns references
11362 to member variables not pointers.
11364 2002-08-13 Angus Leeming <leeming@lyx.org>
11366 * WordLangTuple (word, lang_code): return references to strings,
11371 * lyxtext.h: forward-declare WordLangTuple.
11376 * text.C: #include "WordLangTuple.h".
11379 * text.C: (selectNextWordToSpellcheck): constify return type.
11381 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
11387 * paragraph_pimpl.h:
11390 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
11391 suggested by Angus.
11392 Made updateCounter always count from start of buffer, and removed
11393 second argument (par).
11394 Reverted floats number display to '#'. Perhaps I'll try again when the
11395 code base is sanitized a bit.
11397 2002-08-12 Angus Leeming <leeming@lyx.org>
11399 * buffer.[Ch] (getLabelList): constify.
11401 2002-08-07 André Pönitz <poenitz@gmx.net>
11403 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
11405 * funcrequest.h: extension to keep mouse (x,y) position
11407 2002-08-12 Juergen Vigna <jug@sad.it>
11409 * BufferView2.C (insertErrors): forbid undo when inserting error
11412 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
11414 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
11416 * ParagraphList.[Ch]: new files
11418 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
11420 * BufferView2.C (lockInset): ParagraphList changes
11423 * bufferlist.C: ditto
11427 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11429 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
11430 unused class variable counter_,
11432 * paragraph.[Ch] (getFirstCounter): delete unused function
11434 * counters.C: include LAssert.h
11435 (reset): add a new function with no arg, change other version to
11436 not have def. arg and to not allow empty arg.
11438 * text2.C (setCounter): remove empty arg from call to Counters::reset
11440 2002-08-11 John Levon <levon@movementarian.org>
11442 * Makefile.am: add WordLangTuple.h
11444 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11446 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
11447 lyxfunc.C lyxlex_pimpl.C: ws changes only.
11449 * insets/insettext.C: InsetList changes
11451 * graphics/GraphicsSupport.C (operator()): InsetList changes
11453 * toc.C (getTocList): InsetList changes
11455 * paragraph_pimpl.[Ch]: InsetList changes
11457 * paragraph.[Ch]: InsetList changes
11459 * buffer.C (inset_iterator): InsetList changes
11460 (setParagraph): ditto
11461 * buffer.h (inset_iterator): ditto
11462 * iterators.C (operator++): ditto
11463 * iterators.h: ditto
11465 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11467 * InsetList.[Ch]: new files, most InsetList handling moved out of
11470 * BufferView2.C (removeAutoInsets): InsetList changes
11472 (ChangeInsets): ditto
11474 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
11476 * paragraph_pimpl.h (empty): new function
11478 * paragraph.[Ch] (empty): new function
11480 * other files: use the new Paragraph::empty function
11482 2002-08-09 John Levon <levon@movementarian.org>
11484 * lyxtext.h: remove unused refresh_height
11486 2002-08-09 John Levon <levon@movementarian.org>
11493 * paragraph.C: move sgml char escaping out of paragraph
11496 * paragraph.C: remove id setter
11500 * paragraph_pimpl.C: remove dead tex_code_break_column
11502 * bufferview_funcs.C: small cleanup
11504 * lyxfunc.C: remove dead proto
11506 * lyxtext.h: make some stuff private. Remove some dead stuff.
11508 * lyxgluelength.C: make as[LyX]String() readable
11510 2002-08-08 John Levon <levon@movementarian.org>
11515 * ToolbarDefaults.C:
11518 * toc.C: lyxaction cleanup
11520 2002-08-08 John Levon <levon@movementarian.org>
11522 * BufferView2.C: small cleanup
11525 * lyxfind.C: move unnecessary header into the .C
11527 2002-08-08 John Levon <levon@movementarian.org>
11529 * funcrequest.h: just tedious nonsense
11532 * lyx_main.C: cleanups
11535 * vspace.C: remove dead header lyx_main.h
11537 2002-08-07 Angus Leeming <leeming@lyx.org>
11540 * paragraph_pimpl.h:
11541 Forward declare class Counters in paragraph.h by moving the ctrs member
11542 variable into Paragraph::Pimpl.
11543 (counters): new method, returning a reference to pimpl_->ctrs.
11545 * text2.C: ensuing changes.
11547 2002-08-07 John Levon <levon@movementarian.org>
11549 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11551 * BufferView_pimpl.C: announce X selection on double/triple
11554 * lyx_main.C: use correct bool in batch dispatch
11556 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11558 2002-08-07 André Pönitz <poenitz@gmx.net>
11560 * funcrequest.h: new class to wrap a kb_action and its argument
11563 * BufferView_pimpl[Ch]:
11567 * lyxrc.C: subsequent changes
11570 2002-08-07 John Levon <levon@movementarian.org>
11572 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11573 document options change.
11575 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11580 * makefile.am: move counters functionality over from
11581 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11583 2002-08-06 John Levon <levon@movementarian.org>
11585 * WordLangTuple.h: new file for word + language code tuple
11596 * BufferView2.C: use WordLangTuple
11599 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11601 2002-08-06 John Levon <levon@movementarian.org>
11603 * lyx_main.C: fix cmdline batch handling
11605 2002-08-06 André Pönitz <poenitz@gmx.net>
11607 * lyxrc.C: set default for show_banner to true
11609 2002-08-06 John Levon <levon@movementarian.org>
11611 * pspell.C: fix a crash, and allow new aspell to work
11613 2002-08-06 John Levon <levon@movementarian.org>
11616 * kbmap.C: small cleanup
11619 * vspace.C: add const
11621 2002-08-05 John Levon <levon@movementarian.org>
11623 * LyXAction.C: back to tabular-insert
11625 2002-08-04 John Levon <levon@movementarian.org>
11628 * BufferView.C: cosmetic change
11630 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11640 * BufferView2.C: purge all "Lyx" not "LyX" strings
11643 * lyxcursor.C: attempt to add some documentation
11648 * ToolbarDefaults.C:
11649 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11650 merge with LFUN_TABULAR_INSERT
11657 * pspell.C: split up i/pspell implementations into separate
11658 files, many cleanups
11660 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11662 * text2.C: some cleanup
11664 * lyxfunc.C: don't check for isp_command == "none" any more, it
11665 didn't make any sense
11667 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11672 * makefile.am: move counters functionality over
11673 from text2.C/paragraph.[Ch] to counters.[Ch], and
11675 2002-08-02 John Levon <levon@movementarian.org>
11677 * buffer.C: s/lyxconvert/lyx2lyx/
11679 2002-08-02 Angus Leeming <leeming@lyx.org>
11681 * lyxlex.C: revert John's change as it breaks reading of the user
11684 2002-08-02 Angus Leeming <leeming@lyx.org>
11686 * importer.C (Import):
11687 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11688 changes due to LyXView::view() now returning a boost::shared_ptr.
11690 2002-08-02 John Levon <levon@movementarian.org>
11692 * lyxlex.C: small cleanup
11694 2002-08-02 John Levon <levon@movementarian.org>
11696 * text2.C (status): small cleanup, no logic change
11698 2002-08-01 John Levon <levon@movementarian.org>
11701 * buffer.C (writeFile): don't output alerts, caller
11705 * lyx_cb.C: from above
11707 * lyxfunc.C: allow to open non-existent files
11709 2002-07-31 John Levon <levon@movementarian.org>
11711 * lyxserver.C: don't let incidental errors get
11714 2002-07-30 John Levon <levon@movementarian.org>
11716 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11718 2002-07-30 John Levon <levon@movementarian.org>
11721 * lyxserver.C: remove I/O callback too
11723 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11725 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11728 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
11730 * many files: strip,frontStrip -> trim,ltrim,rtrim
11732 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
11734 * PrinterParams.h: remove extern containsOnly, and include
11735 support/lstrings.h instead.
11737 * LaTeX.C (scanAuxFile): modify because of strip changes
11739 * buffer.C (makeLaTeXFile): ditto
11740 * bufferparams.C (writeFile): ditt
11741 * lyxfont.C (stateText): ditto
11742 * lyxserver.C (read_ready): ditto
11743 * vc-backend.C (scanMaster): ditto
11745 * BufferView_pimpl.h: ws changes
11747 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11749 2002-07-26 André Pönitz <poenitz@gmx.net>
11751 * kb_sequence.C: remove unnedred usings
11753 2002-07-26 Juergen Vigna <jug@sad.it>
11755 * lyxfind.C (LyXReplace): we have to check better if the returned
11756 text is not of theLockingInset()->getLockingInset().
11758 2002-07-25 Juergen Vigna <jug@sad.it>
11760 * lyxfind.C (LyXReplace): don't replace if we don't get the
11763 * undo_funcs.C (createUndo): remove debugging code.
11765 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
11767 * buffer.C (parseSingleLyXformat2Token): Use default placement
11768 when reading old floats.
11770 * FloatList.C (FloatList): Change the default placement of figure
11771 and tables to "tbp".
11773 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
11775 * MenuBackend.C: using std::max
11777 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11779 * MenuBackend.C (expandToc):
11780 (expandToc2): code moved from xforms menu frontend. It is now
11781 generic and TOCs are transparent to menu frontends.
11783 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11785 * toc.C (getTocList): protect against buf=0
11787 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11788 Menu as first parameter. Now, this calls itself recursively to
11789 expand a whole tree (this will be useful for TOC handling)
11790 (expandFloatInsert): remove 'wide' version of floats
11792 * MenuBackend.h (submenuname): returns the name of the submenu.
11793 (submenu): returns the submenu itself, provided it has been
11794 created by MenuBackend::expand
11796 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11798 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11799 insets which have noFontChange == true. (bug #172)
11801 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11803 * BufferView_pimpl.C: add connection objects and use them...
11806 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11808 * MenuBackend.C (expandLastfiles):
11811 (expandFloatListInsert):
11812 (expandFloatInsert):
11813 (expand): split expand in parts
11815 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11817 * lyx_gui.C: use lyx_gui::exit()
11819 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11821 * LyXAction.C: show the failing pseudo action
11823 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
11825 * buffer.C (readFile): Run the lyxconvert script in order to read
11828 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11832 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11834 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11838 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11840 2002-07-22 Herbert Voss <voss@lyx.org>
11843 * lyxlength.[Ch]: add support for the vertical lengths
11845 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
11847 * toc.[Ch]: std:: fixes
11849 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11851 * lyxrc.C: do not include lyx_main.h
11853 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11859 * BufferView2.C: include "lyxlex.h"
11862 * bufferparams.h: do not #include "lyxlex.h"
11864 * lyxtextclasslist.C (Add): remove method
11865 (classlist): renamed to classlist_
11867 * paragraph_pimpl.C:
11871 * bufferview_funcs.C:
11876 * toc.C (getTocList): use BufferParams::getLyXTextClass
11878 * toc.C (getTocList): use InsetFloat::addToToc
11880 * toc.[Ch]: new files, containing helper functions to handle table
11883 * lyxfunc.C (dispatch): no need to remove spaces around command
11885 (getStatus): handle LFUN_SEQUENCE by returning the status of the
11886 first command of the sequence; it is not very clever, but I do not
11887 have a better idea, actually
11889 * LyXAction.C (LookupFunc): make sure to remove space at the
11890 beginning and end of the command
11892 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11894 * MenuBackend.C (getMenubar): new method: return the menubar of
11896 (read): treat differently reading of menu and menubar (in
11897 particular, the menubar has no name now)
11898 (Menu::menubar): remove
11900 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11903 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11905 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11906 a bibitem inset in a RTL paragraph.
11908 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
11910 * paragraph_pimpl.C: constify
11912 * BufferView_pimpl.C:
11914 * lyxfunc.C: fix dispatch in a nicer way
11916 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11918 * lyxfunc.C (dispatch):
11919 * BufferView_pimpl.C:
11920 * BufferView_pimpl.h:
11922 * BufferView.h: rename Dispatch() to dispatch()
11924 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11926 * lyxlayout.C (Read): honor DependsOn tag
11928 * lyxlayout.[Ch] (depends_on): new method
11930 * version.C.in: update lyx_docversion
11932 * LaTeXFeatures.C (getMacros): only define \LyX when needed
11934 * paragraph.C (validate): remove from here...
11935 * paragraph_pimpl.C (validate): ... and move here
11936 (isTextAt): make it const
11938 * buffer.C (getLists): ws cleanup
11940 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11942 * language.C (read): Use iso8859-1 encoding in latex_lang
11943 (this prevents LyX from crashing when using iso10646-1 encoding).
11945 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11947 * text2.C (toggleInset): if cursor is inside an inset, close the
11948 inset and leave cursor _after_ it
11950 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11952 * lyxfunc.C: move minibuffer completion handling out of here
11954 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11956 * BufferView_pimpl.C:
11957 * LaTeX.C: fix dispatch calls
11959 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
11961 * text.C (drawChars): Fix Arabic text rendering.
11963 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
11967 * lyxfunc.C: remove message-push/pop
11971 * lyxfunc.C: rationalise some code by removing verboseDispatch
11972 in favour of a bool argument to dispatch()
11974 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11976 * lyx_main.C (init): make sure to read symlinks as absolute paths
11978 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11981 * lyxfunc.C: no need for commandshortcut to be a member
11983 2002-07-15 André Pönitz <poenitz@gmx.net>
11985 * converter.C: add support for $$s (scripts from lib/scripts dir)
11986 * lyx_main.C: white space
11988 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11992 * lyxrc.C: remove second exit confirmation
11994 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11999 * BufferView_pimpl.h:
12000 * BufferView_pimpl.C:
12001 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
12003 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12005 * MenuBackend.C (expand): add numeric shortcuts to document menu
12007 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
12009 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12011 * lyxfont.C (setLyXFamily):
12018 * buffer.C (asciiParagraph): use ascii_lowercase
12020 2002-07-15 Mike Fabian <mfabian@suse.de>
12022 * lyxlex_pimpl.C (search_kw):
12023 * lyxlex.C (getLongString):
12024 * converter.h (operator<):
12025 * converter.C (operator<):
12026 * buffer.C (parseSingleLyXformat2Token):
12028 * ToolbarDefaults.C (read):
12029 * MenuBackend.C (checkShortcuts):
12031 * LColor.C (getFromGUIName):
12032 (getFromLyXName): use the compare_ascii_no_case instead of
12033 compare_no_case, because in turkish, 'i' is not the lowercase
12034 version of 'I', and thus turkish locale breaks parsing of tags.
12036 2002-07-16 Angus Leeming <leeming@lyx.org>
12038 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
12039 now takes a Buffer const & argument.
12041 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
12043 * BufferView.C (resize): check there's a buffer to resize
12045 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
12047 * lyxfunc.C: remove dead code
12050 * lyxserver.C: use lyx_guii::set_read_callback
12052 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
12054 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
12055 an inset in a RTL paragraph.
12057 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
12059 * lyxfunc.C: repaint after a font size update
12061 2002-07-15 André Pönitz <poenitz@gmx.net>
12063 * lyxlength.C: inBP should be able to return negative values
12065 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
12067 * lyxfunc.C: use lyx_gui::update_fonts()
12069 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
12071 * lyxfunc.C: use lyx_gui::update_color()
12073 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
12079 * lyxrc.C: remove file->new asks for name option, and let
12080 buffer-new take an argument
12082 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
12084 * BufferView_pimpl.C: remove unneeded extra repaint()
12086 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
12088 * LyXAction.C: allow command-sequence with NoBuffer
12090 * lyxfunc.C: don't insist on trailing ';' for command-sequence
12092 2002-07-10 Angus Leeming <leeming@lyx.org>
12094 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
12096 2002-07-09 Angus Leeming <leeming@lyx.org>
12098 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
12100 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
12102 * lengthcommon.h: whitespace
12104 * lyxfunc.C: update scrollbar after goto paragraph
12106 * lyxtext.h: factor out page break drawing, and fix it so
12107 page break/added space paints as selected nicely
12109 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
12111 * BufferView_pimpl.C: add FIXMEs, clean up a little
12113 2002-07-09 André Pönitz <poenitz@gmx.net>
12115 * lyxfont.[Ch]: support for wasy symbols
12117 2002-07-08 André Pönitz <poenitz@gmx.net>
12119 * BufferView_pimpl.C: apply John's patch for #93.
12121 2002-07-05 Angus Leeming <leeming@lyx.org>
12123 * BufferView_pimpl.C (buffer): generate previews if desired.
12125 * LColor.h: add "preview" to the color enum.
12127 * LColor.C (LColor): add a corresponding entry to the items array.
12129 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
12132 2002-07-05 Angus Leeming <leeming@lyx.org>
12134 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
12135 The body of the code is now in the method that is passed an ostream &
12136 rather than a file name.
12137 Pass an additional only_preamble parameter, useful for the forthcoming
12140 2002-07-03 André Pönitz <poenitz@gmx.net>
12142 * lyxfunc.C: simplify getStatus() a bit for math stuff
12144 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12146 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
12148 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12150 * text.C (changeRegionCase): do not change case of all the
12151 document when region ends at paragraph end (bug #461)
12153 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12155 * paragraph.C (startTeXParParams):
12156 (endTeXParParams): add \protect when necessary
12158 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12160 * BufferView_pimpl.C (workAreaExpose): remove warning
12162 2002-06-27 Angus Leeming <leeming@lyx.org>
12164 * Makefile.am: add lyxlayout_ptr_fwd.h.
12166 2002-06-26 André Pönitz <poenitz@gmx.net>
12168 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
12170 2002-06-25 Angus Leeming <leeming@lyx.org>
12172 * lyxfunc.C (dispatch): Comment out the call to
12173 grfx::GCache::changeDisplay. The method no longer exists now that the
12174 pixmap generation part of the graphics loader has been moved into
12177 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12179 * text2.C: layout as layout
12181 * text.C: layout as layout
12183 * tabular.C (OldFormatRead): layout as layout
12185 * paragraph_pimpl.C (TeXDeeper): layout as layout
12186 (realizeFont): layout as layout
12188 * paragraph.C (writeFile): layout as layout
12189 (validate): layout as layout
12190 (getFont): layout as layout
12191 (getLabelFont): layout as layout
12192 (getLayoutFont): layout as layout
12193 (breakParagraph): layout as layout
12194 (stripLeadingSpaces): layout as layout
12195 (getEndLabel): layout as layout
12196 (getMaxDepthAfter): layout as layout
12197 (applyLayout): layout as layout
12198 (TeXOnePar): layout as layout
12199 (simpleTeXOnePar): layout as layout
12200 (TeXEnvironment): layout as layout
12201 (layout): layout as layout
12202 (layout): layout as layout
12204 * lyxtextclass.C (compare_name): new functor to work with
12205 shared_ptr, layout as layout
12206 (Read): layout as layout
12207 (hasLayout): layout as layout
12208 (operator): layout as layout
12209 (delete_layout): layout as layout
12210 (defaultLayout): layout as layout
12212 * lyxlayout_ptr_fwd.h: new file
12214 * lyxlayout.C (Read): layout as layout
12216 * lyx_cb.C (MenuInsertLabel): layout as layout
12218 * bufferlist.C (newFile): layout as layout
12220 * buffer.C (readLyXformat2): layout as layout
12221 (parseSingleLyXformat2Token): layout as layout
12222 (insertStringAsLines): layout as layout
12223 (asciiParagraph): layout as layout
12224 (latexParagraphs): layout as layout
12225 (makeLinuxDocFile): layout as layout
12226 (simpleLinuxDocOnePar): layout as layout
12227 (makeDocBookFile): layout as layout
12228 (simpleDocBookOnePar): layout as layout
12229 (getLists): layout as layout
12231 * LaTeXFeatures.C (getTClassPreamble): layout as layout
12233 * CutAndPaste.C (cutSelection): layout as layout
12234 (pasteSelection): layout as layout
12235 (SwitchLayoutsBetweenClasses): layout as layout
12237 * BufferView_pimpl.C (Dispatch): layout as layout
12238 (smartQuote): layout as layout
12240 * BufferView2.C (unlockInset): layout as layout
12242 2002-06-24 André Pönitz <poenitz@gmx.net>
12244 * lyxfunc.C: fix #487
12246 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12250 * lyxfunc.C: remove display_shortcuts, show_banner
12252 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12254 * Buffer_pimpl.C: oops, update on resize
12256 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12263 * BufferView.C: use repaint()
12265 * BufferView_pimpl.h:
12266 * BufferView_pimpl.C: s/updateScreen()/repaint()/
12267 as it's a clearer description. Remove superfluous
12270 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12272 * text.C: fix bug 488. Not ideal, but getting
12273 getWord() to work properly for the insets that
12274 matter is more difficult ...
12276 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12278 * BufferView_pimpl.C:
12281 * lyxfunc.C: remove the six million index lyxfuncs to just
12282 one, and DTRT (bug 458)
12284 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12288 * BufferView_pimpl.h:
12289 * BufferView_pimpl.C: clean up resize() stuff,
12290 and unnecessary updateScreen()s
12292 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12296 * BufferView_pimpl.h:
12297 * BufferView_pimpl.C:
12300 * minibuffer.C: remove focus management of workarea,
12301 not needed. Use screen's greyOut()
12303 2002-06-17 Herbert Voss <voss@lyx.org>
12305 * converter.C: (convert) do not post a message, when converting
12306 fails, let the calling function decide what to do in this case
12308 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
12310 * lyxfunc.C: tidy up a little
12312 2002-06-16 <alstrup@diku.dk>
12314 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
12315 Got rid of FORMS_H_LOCATION include. Now we are
12318 2002-06-15 LyX Development team <lyx@rilke>
12320 * buffer.[Ch] (sgmlOpenTag):
12321 (sgmlCloseTag): Added support for avoiding pernicious mixed
12322 content. Return number of lines written.
12324 (makeLinuxDocFile):
12325 (makeDocBookFile): Fixed calls to sgml*Tag.
12326 Simple white space clean.
12328 (simpleDocBookOnePar): Simple white space clean.
12330 * tabular.[Ch] (docBook): Renamed to docbook and got another
12331 argument to related with the pernicious mixed content.
12333 (docbookRow): Fixed calls for docbook inset method.
12335 2002-06-15 Lyx Development team <larsbj@birdstep.com>
12337 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
12338 so it's X11 independent.
12342 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
12344 2002-06-15 Lyx Development team <lyx@electronia>
12346 * intl.h: Renamed getTrans to getTransManager.
12348 2002-06-14 Angus Leeming <leeming@lyx.org>
12350 * Makefile.am: nuke forgotten stl_string_fwd.h.
12352 2002-06-12 Angus Leeming <leeming@lyx.org>
12354 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
12356 2002-06-13 Angus Leeming <leeming@lyx.org>
12359 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
12361 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
12363 * kbmap.C (getiso): add support for cyrillic and greek
12365 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12369 * BufferView_pimpl.h:
12370 * BufferView_pimpl.C: move bogus scrolling logic
12373 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12376 * BufferView_pimpl.C: view->resize() change
12378 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12380 * BufferView_pimpl.C: topCursorVisible
12383 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12387 * lyx_gui.C: move to frontends/
12391 * lyx_main.C: changes from above
12393 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12400 * lyx_main.C: minor tidy
12402 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12404 * BufferView_pimpl.h:
12405 * BufferView_pimpl.C:
12407 * BufferView.C: make painter() const,
12410 * BufferView2.C: use screen() accessor
12413 * lyx_main.C: some minor cleanup
12415 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12417 * BufferView_pimpl.h:
12418 * BufferView_pimpl.C: remove enter/leaveView,
12421 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12426 * BufferView_pimpl.h:
12427 * BufferView_pimpl.C: only construct screen once,
12430 * lyxrc.C: remove pointless comment
12432 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
12435 * BufferView.C: remove active() and belowMouse()
12437 * BufferView_pimpl.h:
12438 * BufferView_pimpl.C: use workarea() not workarea_,
12439 and make it use a scoped_ptr instead
12441 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
12443 * lyx_gui.C: add debug message on BadWindow
12445 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12447 * sp_spell.C: fdopen is not part of the C++ standard.
12449 * paragraph.C (InsetIterator): use >= instead of ==
12451 2002-06-07 Angus Leeming <leeming@lyx.org>
12453 Fixes needed to compile with Compaq cxx 6.5.
12454 * BufferView_pimpl.C:
12461 * lyxtextclasslist.C:
12466 all c-library variables have been moved into namespace std. Wrap
12467 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12472 Add a using std::abs declaration.
12474 * kbmap.h (modifier_pair):
12475 * paragraph.h (InsetTable, InsetList):
12476 * lyxfont.h (FontBits):
12477 type definition made public.
12479 * bufferlist.C (emergencyWriteAll): the compiler complains that
12480 there is more than one possible lyx::class_fun template to choose from.
12481 I re-named the void specialisation as lyx::void_class_fun.
12483 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12485 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12486 the compiler is is unable to find tostr in write_attribute.
12488 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12490 * buffer.C (sgmlError): hide #warning
12492 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12494 * xtl/*: get rid of xtl, which is not in use anyway
12496 * LyXAction.C (init):
12497 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12498 were unimplemented xtl experimentation
12500 2002-06-04 André Pönitz <poenitz@gmx.net>
12502 * lyxfunc.C: disable array operation on simple formulae
12504 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
12506 * converter.C: constify a bit
12508 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
12510 * lyx_gui.C: check xforms version correctly
12512 2002-04-30 Herbert Voss <voss@lyx.org>
12514 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12517 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
12519 * lyxvc.C: fix bug 416 (make sure buffer is saved before
12520 attempt to register it with a VCS)
12522 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12524 * lyx_main.C (init): honor variables LYX_DIR_13x and
12527 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12531 * lyx_main.C: fix a crash on bad command line,
12532 and give a useful exit status on error
12534 * lyxfunc.C (doImport): allow -i lyx to work
12536 2002-03-30 André Pönitz <poenitz@gmx.net>
12538 * lyxfunc.C: mathed font changes
12540 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12555 * trans_mgr.h: srcdocs, and some minor cleanups
12557 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12559 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12560 call getFont all the time)
12562 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12564 * switch from SigC signals to boost::signals
12566 2002-05-29 André Pönitz <poenitz@gmx.net>
12568 * paragraph_pimpl.C (getChar): don't call size() too often...
12570 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12572 * paragraph_pimpl.C (insertChar): do not try to update tables when
12573 appending (pos == size())
12575 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12576 in order to reduce drastically the number of comparisons needed to
12577 parse a large document
12579 2002-05-29 André Pönitz <poenitz@gmx.net>
12585 * textclasslist.[Ch]:
12586 * sp_ispell.h: whitespace change
12588 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12590 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12591 lyxaction directly now.
12593 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
12597 * lyxvc.C: remove unused headers
12599 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12606 * undo_funcs.C: some cleanups. Use shared_ptr
12607 and a template for the undo stacks.
12609 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12611 * BufferView_pimpl.h:
12612 * BufferView_pimpl.C:
12619 * text2.C: use key_state/mouse_state
12621 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12623 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12626 * chset.C: change include order
12627 (loadFile): use boost regex and get rid of LRegex and LSubstring
12629 * Makefile.am (BOOST_LIBS): new variable
12630 (lyx_LDADD): use it
12632 * LaTeX.C: change include order.
12633 (scanAuxFile): use boost regex and get rid of LRegex and
12637 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12642 * FontInfo.C: moved to frontends/xforms/
12645 * FontLoader.C: moved into frontends for GUIIzation
12650 * lyxfunc.C: changes from above
12652 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12654 * LColor.C: remove spurious X include
12656 * BufferView_pimpl.C:
12661 * text2.C: move font metrics to frontends/
12663 2002-05-24 Juergen Vigna <jug@sad.it>
12665 * undo_funcs.C (textHandleUndo): fix the cursor selection after
12666 setting the undo_cursor.
12668 * ParagraphParameters.h: include local includes first.
12670 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12672 * BufferView_pimpl.C:
12673 * BufferView_pimpl.h:
12677 * screen.C: move WorkArea into frontends/
12683 * BufferView2.C: move LyXScreen into frontends/
12687 * lyx_gui.C: move lyxlookup into frontends/xforms/
12689 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12692 * BufferView_pimpl.C:
12702 * bufferview_funcs.C:
12715 * vc-backend.C: move LyX/XFormsView into frontends/
12717 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12729 * text2.C: move Painter to frontends/
12731 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
12733 * buffer.C: comment out some some code that depend upon lyx_format
12736 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12737 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12739 * buffer.h (NO_COMPABILITY): turn off compability
12741 * ColorHandler.C: include scoped_array.hpp
12743 * font.C: Use more specific smart_ptr header.
12746 * ShareContainer.h: ditto
12747 * lyx_main.h: ditto
12749 * FontInfo.h: ditto
12750 * BufferView_pimpl.h: ditto
12751 * ColorHandler.h: ditto
12753 * kbmap.C (defkey): change call to shared_ptr::reset
12755 2002-05-21 Juergen Vigna <jug@sad.it>
12757 * buffer.C (insertErtContents): fix to insert ert asis if it is
12758 non empty. Skip it completely if it contains only whitespaces.
12760 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
12762 * BufferView_pimpl.C:
12763 * BufferView2.C: clear selection on paste (bug 393)
12765 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12767 * DepTable.C: include ctime
12769 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
12771 * buffer.C (latexParagraphs): Add new argument (moving_arg).
12773 2002-05-14 Juergen Vigna <jug@sad.it>
12775 * text.C (breakParagraph): fixed function to honor the keepempty
12776 layout in the right maner and also to permit the right breaking
12777 algorithm on empty or non empyt keepempty paragraphs.
12779 * paragraph.C (breakParagraph): we have to check also if the par
12780 is really empty (!size()) for isempty otherwise we do the wrong
12783 2002-05-10 Juergen Vigna <jug@sad.it>
12785 * buffer.[Ch] : The following are only changes to the ert
12786 compatibility read reading old LaTeX layout and font stuff and
12787 convert it to ERTInsets.
12789 * buffer.h: added isErtInset().
12791 * buffer.C (struct ErtComp): add a fromlayout bool to check
12792 if we're inside a LaTeX layout.
12793 (isErtInset): new helper function.
12794 (insertErtContents): look for other ert insets before this one
12795 and insert the contents there, so that we don't have subsequent
12796 ERT insets with nothing between them. This way we create only one
12797 inset with multiple paragraphs. Also check if we don't insert only
12798 spaces ' ' as they are ignored anyway afterwards in the .tex file
12799 so if we have only spaces we will ignore this latex part in the
12801 (parseSingleLyXformat2Token \\layout): better compatibility when
12802 reading layout-latex stuff.
12803 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12805 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12806 stuff after reading the inset only get the information back from
12809 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
12811 * buffer.C (makeLaTeXFile): Put language options after loading babel.
12813 * LaTeXFeatures.C (getBabelOptions): New method.
12815 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12817 * BufferView_pimpl.C (Dispatch): work around missing argument for
12820 2002-05-08 Juergen Vigna <jug@sad.it>
12822 * text.C (leftMargin): handle paragraph leftindent.
12824 * paragraph.C (writeFile): write the new \\leftindent tag.
12825 (validate): handle leftindent code.
12826 (TeXEnvironment): handle paragraphleftindent code again.
12828 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12830 * buffer.C (parseSingleLyXformat2Token): added compatibility code
12831 for paragrap_extra indent code and new token \\leftindent.
12832 (latexParagraphs): handle the leftindent as environment.
12834 * ParameterStruct.h: added leftindent support.
12836 * ParagraphParameters.C (leftIndent): added support functions for
12837 the paragraph left indent.
12839 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12842 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
12844 * paragraph.C (isRightToLeftPar): Return false for a paragraph
12847 * text.C (computeBidiTables): No bidi in insetERT.
12849 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12852 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12854 * version.C.in: pre 5
12856 2002-05-02 José Matos <jamatos@fep.up.pt>
12857 * buffer.C (makeDocBookFile): white space changes, add newline to
12859 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12861 * tabular.C (docBook): fix typo.
12863 2002-05-03 Juergen Vigna <jug@sad.it>
12865 * screen.C (drawFromTo): recalculate the rowpointer if we had a
12866 change in LyXText as we can not be sure it was not freed.
12867 (drawOneRow): remove unused code.
12869 * text.C (drawInset): redo the calculation of the need_break_row as
12870 it could have a row which was already freed.
12871 (draw): look at the return value of drawInset and return false if
12872 it also returned false.
12873 (paintRowText): look at the return value of draw and return false if
12874 it also returned false.
12876 * lyxtext.h: added bool return type to drawInset() and draw() so that
12877 if we have a change in the row so that the rowbreak has to be redone
12878 we abort drawing as it will be called again.
12880 2002-05-02 Juergen Vigna <jug@sad.it>
12882 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12883 a change in the maintext also if we're inside an inset.
12884 (Dispatch): set the cursor again after a break line and after the
12885 screen has been updated as it could be we're in a different row.
12887 * text2.C (fixCursorAfterDelete): check to make sure we don't request
12888 to set the cursor behind the pargraph with > size().
12889 (setCursor): check also for the same paragraph when checking where
12890 to put the cursor if we have a NFR inset.
12892 * buffer.C (parseSingleLyXformat2Token): move the compatibility
12893 parts of layout read further up as it still was in the wrong
12896 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12898 * screen.C (drawFromTo): change sine fullRebreak always return
12901 * buffer.C (parseSingleLyXformat2Token): reindent some
12903 * BufferView_pimpl.C (update): change since fullRebreak always
12905 (Dispatch): git rid of the last hardcoded "Standard"s.
12907 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
12909 * text2.[Ch] (fullRebreak): make it return void now that we always
12912 2002-04-30 Juergen Vigna <jug@sad.it>
12914 * buffer.C (parseSingleLyXformat2Token): reset the font before the
12915 ert compatibility check for "latex" layout.
12917 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
12919 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12920 minipages: use col% instead of p%, and also use the current font.
12921 (makeLaTeXFile): Fix use babel condition.
12922 (parseSingleLyXformat2Token): Correct font when reading old floats.
12924 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
12926 * BufferView_pimpl.C (Dispatch): Check that float type exists when
12927 inserting list of floats.
12929 2002-04-25 Herbert Voss <voss@lyx.org>
12931 * MenuBackend.C (expand): don't add the graphics extensions to the
12934 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12936 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12937 non-existing layout, do not complain if it was the default layout
12938 of the original class (bug #342)
12940 2002-04-24 Juergen Vigna <jug@sad.it>
12942 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12943 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12945 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
12947 * buffer.C (getBibkeyList): If using \bibliography, return the
12948 option field with the reference itself. Enables us to provide natbib
12949 support when using \bibliography.
12951 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
12953 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12955 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12956 natbib is provided by the LaTeX class.
12958 2002-04-23 Juergen Vigna <jug@sad.it>
12960 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12963 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12965 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12967 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12969 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12970 ensuremath around textordmasculine, textordfeminine and
12973 2002-04-19 Juergen Vigna <jug@sad.it>
12975 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12976 reinitializing the buffer otherwise row-dimensions may be wrong.
12977 (update): reset also the selection cursors if they do exits otherwise
12978 their x/y positions may be wrong.
12980 * text2.C (cursorDown): don't enter the inset if we came from a row
12981 above and are one row over the inset.
12983 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12984 really leaving an inset.
12986 2002-04-18 Juergen Vigna <jug@sad.it>
12988 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12989 of the selected paragraph does not have the selected layout also if
12992 * text2.C (setLayout): fixed bug which did not change last selected
12995 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12996 changed the read and substituted \\end_float with \\end_inset!
12998 * BufferView_pimpl.C (cursorPrevious):
12999 (cursorNext): fixed to make it work with rows heigher than the work
13000 area without moving the cursor only the draw of the row.
13001 (workAreaMotionNotify): fix jumping over high rows.
13003 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13005 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
13008 2002-04-16 Juergen Vigna <jug@sad.it>
13010 * text2.C (setCursor): set also the irow().
13011 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
13013 (cursorDown): support for locking an inset if the x_fix value goes
13014 inside it. That way I can transverse insets too with cursor up/down.
13016 * lyxrow.h: added irow helper function same as other (i) functions.
13018 * BufferView_pimpl.C (cursorPrevious):
13019 (cursorNext): fixed for insets!
13021 2002-04-15 Juergen Vigna <jug@sad.it>
13023 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
13024 position otherwise it is wrong in some cases.
13026 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
13027 inside the inset before the call.
13029 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
13031 * buffer.[Ch] (getBibkeyList): make it const.
13033 2002-04-12 Juergen Vigna <jug@sad.it>
13035 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
13037 * text2.C (getCursorX): new helper function
13038 (setCursor): compute also ix_
13039 (setCursorFromCoordinates): set also ix.
13041 * lyxcursor.h: added ix_ and helper functions.
13043 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
13045 * buffer.C (insertStringAsLines): dont break paragraph if the this
13046 paragraph is inside an inset which does not permit it!
13048 * text.C (breakParagraph): honor keepempty flag and break the paragraph
13049 also with no chars on this paragraph.
13050 (paintRowText): only paint stuff if it's inside the workarea!
13052 * paragraph.C (breakParagraph): honor keepempty flag and break the
13053 paragraph always below not above.
13055 * BufferView2.C (unlockInset): update the paragraph layout on inset
13056 unlock as we changed paragraph in such a case.
13058 * lyxfind.C (LyXFind): clear the former selection if not found!
13060 * text2.C (insertInset): freeze Undo after setUndo so that it is not
13061 again called in insertChar().
13063 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
13064 an inset which uses the whole row!
13065 (rightMargin): ditto.
13066 (insertChar): force a rebreak if we inserted an inset!
13068 2002-03-28 Herbert Voss <voss@lyx.org>
13070 * lyxlength.[Ch]: add inBP() to get the right PS-point
13071 units (BigPoint). With inPixels we have rounding errors
13073 2002-04-11 Juergen Vigna <jug@sad.it>
13075 * text2.C (setCursorFromCoordinates): set iy to the right value.
13076 (setCursor): add check if row->previous exists!
13078 * buffer.C (parseSingleLyXformat2Token): reset font after read of
13079 an old float_type as this was the case in the old code!
13081 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
13083 * BufferView2.C (showLockedInsetCursor): use iy
13084 (fitLockedInsetCursor): ditto
13086 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
13087 locked insets as there we have the right value now.
13089 * lyxcursor.C: added iy_ variable and iy functions to set to the
13090 baseline of cursor-y of the locked inset.
13092 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
13093 (setCursor): fixed for insets which need a full row.
13095 * text.C (rowLastPrintable): don't ignore the last space when before
13096 an inset which needs a full row.
13097 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
13098 as last character of a row when before a inset which needs a full row.
13100 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13102 * version.C.in: update date
13104 * text2.C (fullRebreak): try to always return true and see what
13107 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13109 * MenuBackend.C (expand): use Floating::listName
13111 * FloatList.C (FloatList): add listName argument to the built-in
13114 * Floating.[Ch]: add listName member, which is the 'List of XXX'
13115 text associated with the float.
13117 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13119 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
13121 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13123 * ShareContainer.h: add a couple of missing typenames.
13125 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
13127 * lyxrc.C (getDescription): use _() correctly rather than N_().
13129 2002-03-28 Herbert Voss <voss@lyx.org>
13131 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
13132 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
13134 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13136 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
13137 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
13139 2002-03-29 Juergen Vigna <jug@sad.it>
13141 * lyxfunc.C (dispatch): add a missing fitCursor call.
13143 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
13144 it was scrolled by a cursor move, so return the bool status.
13146 * BufferView.C (fitCursor): return the bool flag also to the outside
13147 world as this is needed.
13149 * screen.C (toggleToggle): don't subtract the offset if it's positive.
13151 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
13152 call the edit() as it is not needed (and wrong) IMO.
13153 (workAreaButtonPress): set the screen_first variable before evt.
13154 unlock the inset as this may change screen_first and then we have
13155 a wrong y position for the click!
13157 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13159 * MenuBackend.C (expand): another translation that I missed
13161 2002-03-28 Juergen Vigna <jug@sad.it>
13163 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
13165 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
13167 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13169 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
13171 * MenuBackend.C (expand): fix export/view/update when there is no
13174 2002-03-27 Herbert Voss <voss@lyx.org>
13176 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
13179 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13181 * bufferview_funcs.C (currentState): only show paragraph number
13182 for is DEVEL_VERSION is set.
13184 * lyxfunc.C (dispatch): put warning in INFO channel
13186 * MenuBackend.C (expand): translate the name of floats
13188 * FloatList.C (FloatList): mark the float names for translation
13190 * converter.C (convert): use LibScriptSearch
13192 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13194 * MenuBackend.C (defaults): fix default menu (we might as well get
13197 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13199 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
13202 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13204 * lyxvc.C: reorder includes.
13206 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
13208 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
13211 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
13213 * CutAndPaste.C: change layouts earlier on paste
13214 to avoid crashing when calling getFont()
13216 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
13218 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
13221 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
13223 * WorkArea.C: remove 'Pending' debug message.
13225 * most files: ws cleanup
13227 * buffer.[Ch]: ws changes
13229 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
13231 2002-03-21 Juergen Vigna <jug@sad.it>
13233 * tabular.C (SetMultiColumn): collapse also the contents of the
13234 cells and set the last border right. Added a Buffer const * param.
13236 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
13238 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
13241 2002-03-19 Juergen Vigna <jug@sad.it>
13243 * text2.C (clearSelection): reset also xsel_cache.
13245 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
13246 where it needs to be called (John tells us to do so too :)
13247 (selectionLost): reset sel_cache.
13249 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
13251 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13253 * text2.C (setCursorIntern): put debuging code in INSETS channel
13255 2002-03-19 André Pönitz <poenitz@gmx.net>
13257 * lyxfunc.C: tiny whitespace change
13259 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13261 * ToolbarDefaults.C (init):
13262 * LyXAction.C (init):
13264 * BufferView_pimpl.C (Dispatch):
13265 * lyxfunc.C (dispatch): remove LFUN_DEPTH
13267 2002-03-19 Allan Rae <rae@lyx.org>
13269 * exporter.C (Export): removeAutoInsets before doing anything else.
13270 While I've just introduced a dependency on BufferView this really is
13271 the best place to clean the buffer otherwise you need to cleanup in
13272 a dozen places before calling export or cleanup in a dozen functions
13275 * converter.C (runLaTeX):
13276 (scanLog): Better handling of removeAutoInsets and screen updates.
13278 * lyxfunc.C (dispatch): small whitespace changes
13280 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13282 * WorkArea.C (C_WorkAreaEvent): return a value.
13283 (event_cb): return 1 if we handled the event, 0 otherwise.
13285 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
13287 2002-03-18 Juergen Vigna <jug@sad.it>
13289 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
13290 (GetAdditionalWidth): ditto.
13291 (RightLine): ditto.
13294 * BufferView2.C (copy): use getLyXText() so that we do it inside an
13295 inset if we're there actually (probably not used right now but this
13296 is the direction to go for unifying code).
13297 (paste): disable code to clear the selection.
13299 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
13300 inside an InsetText and move the check further up as it is in the
13303 * text2.C (pasteSelection): set a selection over the pasted text.
13305 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
13307 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
13308 and libgraphics to build on Cygwin.
13310 2002-03-15 Juergen Vigna <jug@sad.it>
13312 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
13313 inserting an Inset into the paragraph. I know this is not the best
13314 fix but we already use current_view in CutAndPaste so we will remove
13315 all of it's using at the same time.
13317 * buffer.C (sgmlError): deactivated function till it is rewritten in
13318 the right mode, now it can create problems.
13320 * paragraph.C (isLineSeparator): check if getInset returns != 0,
13321 before accessing it.
13323 2002-03-14 Juergen Vigna <jug@sad.it>
13325 * undo_funcs.C (textHandleUndo): do the right thing when updating
13326 the inset after the undo/redo.
13328 * text2.C (setCursor): just some testcode for #44 not ready yet.
13330 * undo_funcs.C (textHandleUndo): set the next() and previous()
13331 pointers of the paragraph to 0 before deleting otherwise we have
13332 problems with the Paragraph::[destructor].
13334 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
13335 on a paragraph insertion.
13337 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13339 * buffer.C (asciiParagraph): use += operator for char append to
13342 * paragraph.C (getFontSettings): compare >= not just >
13343 (highestFontInRange): ditto
13346 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13348 * paragraph.C: change several algorithm to be more appripriate for
13349 the problem domain. This is lookip in FontList and in the InsetList.
13351 2002-03-13 André Pönitz <poenitz@gmx.net>
13354 * LyXAction.C: remove unused LFUN_MATH_MACROARG
13356 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
13361 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
13363 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13365 * Painter.C (display): anon helper function, adjust code for this
13367 (pixmap): remove function.
13369 * Painter.h: remove private display variable.
13371 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
13373 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
13375 * WorkArea.[Ch]: remove figinset_canvas cruft.
13377 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13379 * lyxtextclass.C (operator): add one item cache optimization.
13381 * bufferlist.h: doxy changes
13383 * bufferlist.C: ws changes
13385 * DepTable.[Ch] (ext_exist): place const in the right spot.
13387 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
13389 (workAreaExpose): call resizeInsets when the with BufferView changes.
13390 (Dispatch): adjust for protectedBlank removal
13391 (specialChar): call updateInset if the insert went ok.
13393 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
13394 specialChar instead.
13396 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
13398 * BufferView.h: doxy change
13400 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
13402 * lyxtextclass.C (operator[]): remove non-const version
13403 (defaultLayout): remove non-const version
13405 2002-03-12 Juergen Vigna <jug@sad.it>
13407 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
13408 did resize the LyXText too.
13410 * buffer.C (readLyXformat2): set layout information on newly allocated
13413 * tabular.C (OldFormatRead): set layout information on the paragraph.
13415 2002-03-12 Jos�Ab�io Oliveira Matos <jamatos@novalis.fc.up.pt>
13417 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
13419 2002-03-11 Juergen Vigna <jug@sad.it>
13421 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
13423 (resizeCurrentBuffer): force also the insets to resize themselfes.
13424 (moveCursorUpdate): fixed up for InsetText.
13426 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
13429 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
13430 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
13431 value of Dialogs::tooltipsEnabled().
13432 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
13434 2002-03-08 Juergen Vigna <jug@sad.it>
13436 * BufferView_pimpl.C (updateInset): update inset inside inset also
13437 if it isn't inside theLockingInset().
13439 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13441 * buffer.C (asciiParagraph): redo some of the word and line length
13443 (getLists): look for Caption instead of caption.
13445 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13447 * buffer.C (Buffer): initialize niceFile to true
13449 (makeLinuxDocFile):
13450 (makeDocBookFile): make sure niceFile is true on exit
13452 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13454 * buffer.C (makeLaTeXFile): escape ~ in \input@path
13456 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
13458 * LyXSendto.C: remove.
13459 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13460 * lyx_gui.C: remove now-redundant comment.
13461 * ColorHandler.h: remove forward declaration of class WorkArea.
13462 * lyxfunc.C: remove #include "WorkArea.h".
13464 2002-03-07 Juergen Vigna <jug@sad.it>
13466 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13467 got moved away with the DEPM and also set the inset_owner always
13468 right which before could have been omitted.
13470 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13472 * buffer.C (parseSingleLyXformat2Token): use default layout is the
13473 wanted layout is not found.
13475 2002-03-07 Juergen Vigna <jug@sad.it>
13477 * CutAndPaste.C (cutSelection): another layout settings forgotten.
13479 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13481 * paragraph.C (breakParagraph): use default layout not layout of
13483 (Paragraph): clear ParagraphParameters.
13485 2002-03-06 Juergen Vigna <jug@sad.it>
13487 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13488 otherwise it would not be a valid lenght. Fixed a special case in
13489 the minipage compatibility read where we end the document with a
13492 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13493 was set as it could be 0 for InsetTexts first entry.
13495 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13497 * paragraph.C (writeFile): if layout is empty write out
13498 defaultLayoutName().
13500 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13501 file without named layout we set layout to defaultLayoutName().
13503 2002-03-06 Juergen Vigna <jug@sad.it>
13505 * CutAndPaste.C (copySelection): set layout for new paragraph.
13507 * text.C (prepareToPrint): leave ERT inset left aligned
13508 (leftMargin): don't indent paragraphs inside ERT insets
13510 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13512 * paragraph.C (breakParagraph): dont call clear do the work manually
13514 * paragraph.[Ch] (clear): remove function
13516 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13518 * paragraph.C (Paragraph): dont call clear, the work has already
13521 * lyxtextclass.C (operator): assert if n is empty
13523 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13524 work manually instead.
13526 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13528 * BufferView_pimpl.C: protect selectionLost against text == 0
13530 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13532 * text.C (breakParagraph): fix a setting layout to '0' problem.
13534 2002-03-05 Jos�Ab�io Oliveira Matos <jamatos@novalis.fc.up.pt>
13536 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13537 final location of file, for the included files, and graphics.
13539 2002-03-05 Juergen Vigna <jug@sad.it>
13541 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13543 2002-03-04 Juergen Vigna <jug@sad.it>
13545 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13547 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13548 last column of multicolumn cells.
13549 (SetWidthOfMulticolCell): recalculate NMC and real columns.
13551 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
13553 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13554 file if it doesn't go to a temporary file.
13556 * buffer.C (sgmlOpenTag):
13557 (sgmlCloseTag): remove extra newline insertion.
13559 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13561 * text.C (getRowNearY): comment out debug msg
13563 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13565 * text2.C: first -> first_y
13567 * text.C (getRowNearY): add some attemts at a possible
13568 optimization, not working.
13570 * tabular.[Ch]: add BufferParams to several function so that newly
13571 created paragraph can be initialized to he default layotu for the
13574 * tabular-old.C (ReadOld): add buf->params to call of Init
13576 * screen.C: rename text->first to text->first_y
13578 * paragraph.C (breakParagraph): always set layout in the broken
13581 * lyxtextclass.C (Read): remove lowercase
13584 (delete_layout): ditto
13586 * lyxtext.h: rename first -> first_y
13588 * lyxlayout.C (Read): remove lowercase
13591 (obsoleted_by): ditto
13593 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13595 * buffer.C (insertErtContents): add params are to InsetERT
13596 (parseSingleLyXformat2Token): add code to check if a paragraphs
13597 layout really exist.
13598 (parseSingleLyXformat2Token): add params to several inset
13600 (asciiParagraph): remove lowercase, do the layout comparisons with
13603 * BufferView_pimpl.C (cursorNext): first -> first_y
13604 (resizeCurrentBuffer): first -> first_y
13605 (updateScrollbar): first -> first_y
13606 (scrollCB): first -> first_y
13607 (workAreaMotionNotify): first -> first_y
13608 (workAreaButtonPress): first -> first_y
13609 (checkInsetHit): first -> first_y
13610 (cursorPrevious): first -> first_y
13611 (cursorNext): first -> first_y
13612 (Dispatch): add buffer_->params to severl inset contructors
13614 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13616 * lyxlayout.C (Read): remove some debug info that I forgot.
13618 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13619 clean up the code slightly.
13620 (makeLinuxDocFile): ditto
13621 (makeDocBookFile): ditto
13623 * text2.C: layout as string
13625 * text.C: layout as string
13627 * paragraph_pimpl.C: layout as string
13629 * paragraph.[Ch]: layout as string
13631 * lyxtextclasslist.[Ch]: layout as string
13633 * lyxtextclass.[Ch]: layout as string
13635 * lyxtext.h: layout as string
13637 * lyxlayout.[Ch]: layout as string
13639 * lyx_cb.C: layout as string
13641 * bufferview_funcs.C: layout as string
13643 * bufferparams.C: layout as string
13645 * buffer.C: layout as string
13647 * LyXView.[Ch]: layout as string
13649 * LaTeXFeatures.[Ch]: layout as string
13651 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13653 * BufferView_pimpl.C: change current_layout to string, remove
13658 (workAreaButtonRelease): layout as string
13660 * BufferView2.C (unlockInset): adjust
13662 * vspace.C (asLatexCommand): use an explict temp variable.
13664 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13666 * Makefile.am: use FRONTEND_*
13668 2002-03-01 Juergen Vigna <jug@sad.it>
13670 * tabular.C (SetWidthOfMulticolCell): changed to something better
13671 I hope but still work in progress.
13672 (recalculateMulticolumnsOfColumn): renamed function from
13673 recalculateMulticolCells as it is more appropriate now.
13674 (SetWidthOfCell): calculate multicols better.
13676 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13678 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13680 * lyxfunc.C (processKeySym): print sequence also if it is
13681 `deleted' (complete)
13683 * kbsequence.C (print): print sequence even if it is deleted
13684 (complete would be a better word, actually).
13686 * lyxfunc.C (dispatch): print complete options after a prefix key
13688 * vspace.C (asLatexCommand): rewrite in a slightly different form.
13690 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
13692 * text2.C (setCharFont): eliminate setCharFont code duplication.
13694 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13696 * BufferView_pimpl.C (Dispatch): remove bogus handling of
13697 LFUN_TABULAR_FEATURE (bug #177)
13699 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
13701 * Makefile.am: remove figure.h
13703 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
13705 * Bufferview_pimpl.C:
13717 * text2.C: remove #include "lyx_gui_misc.h".
13719 * LaTeX.C: added #include <cstdio>
13721 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13723 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13724 that the paragraph following this one can have.
13726 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13728 * vspace.C (asLatexCommand): fix bogus gcc warning
13730 * Makefile.am (lyx_SOURCES): remove vms_defines.h
13732 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
13734 * text2.C (setLayout): get rid of redundant code
13736 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
13738 * text2.C (incDepth): make sure depth cannot be increased beyond
13741 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
13743 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13744 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13746 * PainterBase.h (image):
13747 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13748 a LyXImage const *.
13750 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13754 * BufferView_pimpl.C:
13755 * BufferView_pimpl.h:
13775 * sp_spell.C: remove fig inset, and the crap house of
13776 cards that follows it
13778 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13783 * os2_errortable.h:
13784 * nt_defines.h: move .h into support/
13786 * vms_defines.h: remove
13788 * WorkArea.C: add space in debug output
13792 * buffer.C: add WITH_WARNINGS
13796 * bufferlist.C: s/retrive/retrieve/, add docs
13805 * chset.C: add docs
13807 * lyxgui.C: add ID to X error handler
13809 * lyxtestclass.c: fix typo
13811 2002-02-26 Juergen Vigna <jug@sad.it>
13813 * tabular_funcs.C (write_attribute): changed so that some default
13814 attributes are not written at all.
13815 (getTokenValue): set default values before trying to read the
13816 value so we have the return value always set as default if we don't
13817 find the token we search for.
13819 * tabular.C (Write): write bools as bools not as strings!
13821 2002-02-22 Juergen Vigna <jug@sad.it>
13823 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13824 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13826 * text.C (leftMargin): don't add an indent for paragraphs inside
13827 tabular cells (fix #208).
13829 2002-02-21 José Matos <jamatos@fep.up.pt>
13831 * tabular.C (docBook): fixed support for long tables.
13833 2002-02-20 Juergen Vigna <jug@sad.it>
13835 * text2.C (getFont): get the drawing font of the Inset if this
13836 paragraph is inside an inset (only important for InsetERT for now).
13838 * buffer.C (insertErtContents): use new lanugage params in ERT
13841 * CutAndPaste.C: commenting out seemingly uneeded code.
13843 2002-02-19 Allan Rae <rae@lyx.org>
13845 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13846 Iterators might be simple to use but they also get invalidated.
13847 (removeAutoInsets): renamed saved cursor tracking variables and added
13848 some comments to clarify what everything does.
13850 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
13857 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13858 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13861 * vc-backend.h: remove #include "support/syscall.h"
13865 * converter.C: rearrange #includes in Lars' approved fashion.
13867 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13868 forward declare class Timeout in the header file.
13870 * XFormsView.C: changes due to the above.
13872 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13873 similar to LyXView.
13875 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13876 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13878 2002-02-18 José Matos <jamatos@fep.up.pt>
13880 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13883 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
13885 * a lot of small ws changes
13886 * add a lot of using std::XXX
13887 * use std construcs some places where approp.
13888 * use some exisint stuff from lyxfunctional where approp.
13889 * Make file changes to use partial linking (lets test this now...)
13891 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13895 remove #include "support/syscontr.h" as it's redundant. Always has been.
13903 change Systemcalls::System to Systemcalls::Wait and
13904 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13905 No change of functionality, just reflects the stripped down Systemcalls
13908 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13910 * debug.[Ch]: add a GRAPHICS type to the enum.
13912 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13914 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13916 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13919 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13921 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13922 match the changes below.
13924 * text2.C (toggleInset): if there is not editable inset at cursor
13925 position, try to see if cursor is _inside_ a collapsable inset
13928 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13930 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13931 document menu has a nice checkbox
13933 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13935 * lyxlength.C (asLatexString): change PW to output as percent of
13938 * lengthcommon.C: change '%' to 't%'
13940 * lyxfunc.C (dispatch): a few comments from Martin
13942 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
13946 * BufferView_pimpl.h:
13947 * BufferView_pimpl.C: clear our selection when X tells us we've lost
13950 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13952 * vspace.C (inPixels): fix compiler warning
13954 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13956 * lyxfunc.C (getStatus): fix status message for disabled commands.
13958 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
13960 * BufferView_pimpl.C: fix crash on close buffer
13961 during selection (#227)
13963 2002-01-27 Herbert Voss <voss@lyx.org>
13965 * buffer.C: link old Figure to new graphic inset
13967 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
13969 * FontLoader.C (getFontinfo): Change the latex font names in order
13970 to match the names of type1inst.
13972 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
13974 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13976 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13977 (extchanged): ditto
13979 (remove_files_with_extension): ditto
13980 (remove_file): ditto
13983 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13984 document is smaller than the work area height. Do not initialize
13985 static variables to 0.
13987 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13989 * lyx_gui.C (init): give the toolbar tooltips a normal font.
13991 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13992 LFUN_LAYOUT_PARAGRAPHS.
13994 * tabular.C (GetCellFromInset): new method. Finds an inset in a
13995 tabular. It is possible to provide a possible cell, which will
13996 typically be the actcell from the corresponding insettabular
13998 * lyxfunc.C (getStatus): small cleanup; disable
13999 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
14002 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14004 * tabular.C (Validate): remove broken optimization (fixes bug #201)
14006 * paragraph.C (startTeXParParams):
14007 (endTeXParParams): new methods. The LaTeX code to
14008 start/end paragraph formatting
14009 (simpleTeXOnePar): call startTeXParParams also when paragraph is
14010 empty (fixes bug #200)
14012 * vspace.C (inPixels): adapt to the change below
14013 (inPixels): [later] more cleanups (remove unused variables)
14015 * lyxlength.C (inPixels): change to use a width and a height as
14018 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14020 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
14021 Replaced with \paperwidth
14023 * DepTable.C (insert): add std:: qualifier
14025 2002-01-18 Allan Rae <rae@lyx.org>
14027 * text2.C (removeRow): add comment. Should other refresh_?? vars be
14030 * text.C (drawInset): Turned out I didn't know enough about how
14031 rebreaking worked. This fixes most of the redraw problems. I see
14032 an occasional cursor trail when a line is broken now and the cursor
14033 placement can seem out by a few pixels also after a rebreak.
14035 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14037 * buffer.C (parseSingleLyXformat2Token): update because minipage
14038 width is now a LyXLength
14040 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
14042 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
14045 2002-01-17 Juergen Vigna <jug@sad.it>
14047 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
14049 * BufferView2.C (lockInset): call edit() so that theLockingInset()
14050 is set correctly and the inset is updated correctly.
14052 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14054 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
14055 the beginning of the loop.
14057 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
14059 * lyxrc.C: improve help for use_scalable_fonts
14061 2002-01-17 Allan Rae <rae@lyx.org>
14063 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
14065 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14067 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
14068 make sure to set their inset_owner to the right value (bug #171)
14070 2001-12-12 Ben Stanley <bds02@uow.edu.au>
14073 * DepTable.C: Implement mtime checking to reduce time spent doing
14076 2002-01-16 Juergen Vigna <jug@sad.it>
14078 * tabular.C (GetAdditionalHeight): one of error fixed.
14080 * lyxrc.C (output): small fix in writing use_pspell.
14082 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
14084 * sp_base.h: #include LString.h
14086 2002-01-16 Allan Rae <rae@lyx.org>
14088 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
14089 Can someone check this please?
14091 * text.C (drawInset): It was possible that p.row would be removed by
14092 breakAgainOneRow upsetting a few other settings. There may be another
14093 small tweak possible by setting need_break_row = 0 when p.row has been
14094 removed but I don't know enough about the logic here.
14096 2002-01-15 Allan Rae <rae@lyx.org>
14098 * text.C (insertChar): removed conditional truism.
14100 * BufferView2.C (removeAutoInsets): More tweaks.
14101 cur_par_prev could be a stray pointer. Check for trailing empty line
14102 in case last line was cur_par and only had an error inset on it.
14104 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14106 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
14109 * vc-backend.C (most methods):
14110 * exporter.C (Export):
14111 * converter.C (convert):
14113 * LyXSendto.C (SendtoApplyCB):
14114 * lyxfunc.C (dispatch):
14118 * lyx_cb.C (AutoSave):
14120 * BufferView_pimpl.C (MenuInsertLyXFile):
14121 * buffer.C (runChktex): use Buffer::filePath().
14123 * buffer.h: rename filename to filename_; rename filepath to
14124 filepath_ and make it private
14125 (filePath): new method
14127 * buffer.C (writeFile): use fileName()
14130 * lyx_main.C (init): fix starting of LyX when the binary is a
14131 link from so,ewhere else.
14133 * minibuffer.C: include <cctype> for isprint
14135 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
14137 * buffer.C (parseSingleLyXformat2Token): changes associated with the
14138 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
14139 name clash with InsetCollapsable's width function.
14141 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14143 * lastfiles.C: include <iterator>
14145 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
14147 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
14150 * buffer.C (makeLaTeXFile): ditto.
14151 Also make loop operation more transparent.
14153 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
14155 * ToolbarDefaults.C: remove trailing comma closing namespace.
14157 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
14159 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
14162 * trans.C (Load): comment out unused variable, allowed.
14164 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
14166 * minibuffer.[Ch] (append_char): new method to recieve input from the
14167 drop-down completion browser. If a key was pressed, then recieve this
14168 char and append it to the existing string.
14169 (peek_event): modify the positioning data passed to the completion
14170 browser so that it can be placed above the minibuffer rather than below.
14171 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14173 * LyXAction.C (init): alloe error-next for readonly documents.
14175 * BufferView2.C (ChangeRefsIfUnique): use standard version of
14178 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14180 * bufferlist.C (readFile): create the buffer _after_ checking that
14183 * lyxfunc.C (verboseDispatch): fix handling of arguments
14185 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
14187 * lyxrc.C: use string::erase() instead of initializing to "".
14190 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14192 * BufferView_pimpl.h:
14193 * BufferView_pimpl.C:
14196 * text2.C: tell X when we have made a selection for copying
14198 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14200 * BufferView_pimpl.C (MenuInsertLyXFile):
14201 * lyxfunc.C (menuNew):
14203 (doImport): add shortcuts to directory buttons
14205 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
14208 * lyxfunc.C (setStatusMessage):
14209 (getStatusMessage): new methods
14210 (getStatus):use setStatusMessage instead of setErrorMessage
14211 (dispatch): when function is disabled, set error message here
14212 [instead of in getStatus previously]
14214 * BufferView_pimpl.C (workAreaButtonRelease): update
14215 toolbar/menubar here too.
14217 2002-01-13 Allan Rae <rae@lyx.org>
14219 * BufferView2.C (removeAutoInsets): finished off earlier fix.
14220 Now seems indestructible. Remaining task is to audit all other
14221 code affected by deleteEmptyParagraphMechanism. One small quirk
14222 left is that an empty document with an error in the preamble can
14223 be made to report an error but no error box appears. I don't know
14225 (removeAutoInsets): Improved comments.
14227 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
14230 * Thesaurus.C: update for Aiksaurus 0.14
14232 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
14234 * text2.C (firstParagraph): removed member function, all uses
14235 replaces with ownerParagraph
14236 (redoParagraphs): here
14237 (updateInset): here
14238 (toggleAppendix): here
14239 * BufferView2.C (insertErrors): here
14240 (setCursorFromRow): here
14242 2002-01-13 Allan Rae <rae@lyx.org>
14244 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
14245 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
14246 There is still a way to segfault this although you may have to do this
14247 multiple times: Have an InsetERT with an unknown command in it.
14248 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
14249 <down-arrow>, <Enter> again, View->DVI, BANG!
14251 * text2.C (setCursor):
14252 (deleteEmptyParagraphMechanism):
14253 * lyxtext.h (setCursor):
14254 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
14255 Making use of the return value may help fix other bugs.
14257 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14259 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
14261 * LyXView.C (updateMenubar): call MenuBar::update here
14262 (updateToolbar): but not here
14263 (showState): do not update toolbar/menubar
14265 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
14266 should need to care about that.
14268 * lyxfunc.C (verboseDispatch): simplify a bit
14269 (getStatus): have a version which takes a pseudoaction, and
14270 another which requires a (kb_action,string).
14272 * LyXAction.C (retrieveActionArg): make it work also when action
14273 is not a pseudo-action.
14274 (getActionName): simplify a bit
14277 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14279 * lyxfunc.C (verboseDispatch): new families of methods with
14280 several ways to specify a command and a bool to indicate whether
14281 the command name and shortcut should be displayed in minibuffer
14282 (eventually, we could extend that to a finer bitmask like
14283 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
14284 (dispatch): the pristine dispatch command which just, well,
14285 dispatchs! Note it still sets its result to minibuffer; I'm not
14288 * lyxfunc.h: remove setHintMessage
14290 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
14292 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14294 * BufferView_pimpl.C (specialChar): delete new inset if we have
14295 not been able to insert it.
14297 * kbmap.C: revert to using int instead of kb_action, since all we
14298 are dealing with is pseudo-actions.
14300 * LyXAction.C (searchActionArg): change to return int instead of
14301 kb_action, since the result is a pseudoaction.
14303 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
14305 * buffer.C (insertErtContents): Fix (partially) the font bug.
14307 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
14309 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
14310 as the other one is broken on my machine!
14312 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
14315 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
14317 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
14319 * lyxrc.[Ch]: change names and descriptions of popup font variables to
14320 reflect their actual use. Provide compatibility code for older lyxrc
14323 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
14325 change names of popup font variables in line with the changes to lyxrc.C
14327 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14329 * buffer.C (asciiParagraph): avoid outputing a word twice after
14332 * lyxrc.C (getDescription): document that document_path and
14333 template_path can be empty.
14335 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14337 * LaTeXFeatures.C (getMacros):
14338 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
14340 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
14342 * LaTeXFeatures.C (useFloat): require "float" here instead of in
14344 (getPackages): rename feature "floats" to "float". Use an array to
14345 iterate over 'simple' features (i.e. just a \usepackage). Add
14346 handling of "amsmath" (renamed from "amsstyle").
14348 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
14350 * LaTeXFeatures.C (require): Prevent duplicate entries in the
14353 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
14355 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
14356 FuncStaus::FuncStatus & FuncStaus::some_method().
14358 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
14360 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
14361 of the func_satus stuff. Edited and massaged in various ways by
14364 * lyxfunc.C (getStatus): use FuncStatus
14366 2002-01-08 Juergen Vigna <jug@sad.it>
14368 * text.C (nextBreakPoint): use function Inset::isChar().
14370 * paragraph.C (TeXOnePar): use function
14371 Inset::forceDefaultParagraphs.
14373 * buffer.C (latexParagraphs): use function
14374 Inset::forceDefaultParagraphs.
14376 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14378 * lyx_gui.C (init): set the style of the menu popups to
14379 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
14381 2002-01-07 Juergen Vigna <jug@sad.it>
14383 * text.C (setHeightOfRow): small fix
14384 (prepareToPrint): don't look at alignment if we don't have the place
14387 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14389 * box.C: New file. Move the Box methods and functions out of box.h,
14390 following Lars' suggestion.
14392 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14394 * box.h: #include "support/LOstream.h", needed for inlined function.
14397 * lyxtextclasslist.C: added some using std declarations.
14399 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
14401 * box.h: make signed dimensions to allow insets wider than
14402 the screen (bug #162)
14404 * BufferView_pimpl.C: add some insetHit debug
14406 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
14408 * vc-backend.C: add FIXME
14410 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14412 * lyxfunc.C (getStatus): enable code for showing math font status
14415 2002-01-07 Juergen Vigna <jug@sad.it>
14417 * text.C (nextBreakPoint): removed debug output not needed anymore.
14419 2002-01-06 Juergen Vigna <jug@sad.it>
14421 * text.C (nextBreakPoint): fixed up this function we had this bug
14422 since ever but now hopefully we break row better.
14423 (insertChar): we have to check if an inset is the next char as it
14424 could now happen that a large inset is causing a break.
14426 2002-01-05 Juergen Vigna <jug@sad.it>
14428 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
14429 if it doesn't like to be drawed.
14431 2002-01-04 Juergen Vigna <jug@sad.it>
14433 * BufferView2.C (lockInset): forgot to set a cursor.
14435 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
14437 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
14439 * FormMathsPanel.C:
14442 * form_maths_panel.C:
14443 * form_maths_panel.h:
14444 * form_maths_panel.fd: implemented sub- and super- buttons in math
14447 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
14448 (or ^ space) to be used as in TeX (req'd by Andr�.
14450 * lyxfunc.C: Allow ^ and _ again to be used both as
14451 super/subscript (mathed) and as themselves (in text).
14453 2002-01-03 Allan Rae <rae@lyx.org>
14455 * LyXView.C (updateWindowTitle): Setup a short icon title of either
14456 "LyX" or the filename of the current buffer if it has one. This is a
14457 modified form of John Levon's patch.
14459 * XFormsView.C (setWindowTitle): also set icon title.
14461 * LyXView.h (setWindowTitle): signature changed.
14462 * XFormsView.h (setWindowTitle): ditto.
14464 2002-01-02 Juergen Vigna <jug@sad.it>
14466 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14468 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
14470 * screen.C (topCursorVisible): introduce a temp var for
14471 text->cursor.row(), handle the case where this row is null. (kindo
14474 * text2.C (setCursor): add a couple of asserts.
14476 * paragraph.h (inset_iterator): add -> operator
14478 * paragraph.[Ch] (autoDeleteInsets): remove member function
14480 * BufferView2.C (removeAutoInsets): rewrite to handle the old
14481 cursor pos correctly and handle inset deletion by itself.
14482 (insertErrors): move iterator declaration out of for expression
14484 * lyxtextclass.C: add <algorithm>
14486 * Makefile.am: added the new files to sources, removed layout.C
14488 * layout.C: removed file
14490 * layout.h: remove LYX_DUMMY_LAYOUT
14492 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14496 * lyxtextclass.[Ch]:
14497 * lyxtextclasslist.[Ch]: new files
14499 * include order changes to a lot of files, also changes because of
14502 2001-12-27 Juergen Vigna <jug@sad.it>
14504 * buffer.C (asciiParagraph): more fixes.
14506 * tabular.C (ascii): make ascii export support export of only the
14507 data separated by a column-delimiter.
14508 (ascii): better support for ascii export.
14510 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14512 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14514 * tabular_funcs.C: use a "using std::getline" instead of the
14515 previous fix from Angus (necessary for cxx + lyxstring)
14517 2001-12-24 Juergen Vigna <jug@sad.it>
14519 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14521 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14522 problems. First check a minipage also if we have some ert-contents
14523 (not only on par->size(), second set the right depth of the paragraph
14524 on the relink to the root-paragraph-list!
14526 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14527 which then did not anymore update the main paragraphs on undo/redo!
14529 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14531 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14532 code. Support all font-changing funcs (even those which are not in
14533 menu currently). Support for reporting font settings in
14534 mathed (disabled until Andre provides a function on mathed's side).
14536 * func_status.h (toggle): small helper function to set toggle
14539 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
14541 * tabular_funcs.C: getline -> std::getline
14543 2001-12-21 Juergen Vigna <jug@sad.it>
14545 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14546 accessed and could be 0 (I couldn't generate this but it seems
14549 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
14551 * tabular_funcs.C: add LIstream.h, move write_attribute to..
14552 * tabular_funcs.h: here and include iosfwd
14554 2001-12-20 Juergen Vigna <jug@sad.it>
14556 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14557 inside inset but undo_par was.
14559 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14561 * Thesaurus.C: always include <config.h> in sources.
14565 * box.h: do not include <config.h> in header files
14567 * text.C (paintLastRow): remove unused variable
14569 * text.C (transformChar):
14571 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14573 * Painter.C (text):
14574 * font.C (width): rewrite to use uppercase() instead of
14577 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14579 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
14581 * lyxfind.C: clean up of find failure position change
14583 2001-12-20 Juergen Vigna <jug@sad.it>
14585 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14587 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14588 (TeXRow): added to LaTeX a single tabular row.
14589 (TeXLongtableHeaderFooter): added to output LT-h/f data.
14590 (Latex): simplified and finally good LT-h/f support.
14591 (various_functions): just small adaptions for LT-h/f support.
14593 * tabular_funcs.[hC]: added and moved here all not classfunctions
14596 2001-12-19 Juergen Vigna <jug@sad.it>
14598 * tabular.[Ch]: better support for longtabular options (not finished
14601 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14603 * text.C (paintLastRow): use the label font instead of the font of
14604 the last character to compute the size of *_BOX. This makes more
14605 sense and avoids a crash with empty paragraphs.
14606 Use Painter::rectangle to draw EMPTY_BOX.
14608 2001-12-19 Juergen Vigna <jug@sad.it>
14610 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14611 the paragraphs if the replaced paragraph is not the first one!
14612 Tried to delete not used paragraphs but does not work yet so for
14613 now it's inside #ifdef's and by default off!
14615 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14617 * MenuBackend.C: include "lyx_main.h" instead of declaring
14618 lastfiles (actually was declared as LastFiles* instead of a
14621 2001-12-17 Juergen Vigna <jug@sad.it>
14623 * tabular.C (AppendColumn): applied John's fix
14625 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
14629 * BufferView_pimpl.h:
14630 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14633 * box.h: new start of class for above
14635 * lyxfunc.C: ignore space-only minibuffer dispatches.
14636 Show the command name when it doesn't exist
14638 * minibuffer.C: don't add empty lines to the history
14640 * minibuffer.C: add a space on dropdown completion
14642 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
14644 * text.C: fix line above/below drawing in insets
14646 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14648 * lyxlength.C (LyXLength): Initialize private variables.
14650 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
14652 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14653 when inserting error insets.
14655 2001-12-13 Juergen Vigna <jug@sad.it>
14657 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14658 actually sometimes the before-paragraph.
14659 (setUndo): don't clear the redostack if we're not actually undoing!
14661 2001-12-06 Juergen Vigna <jug@sad.it>
14663 * undo_funcs.C (textHandleUndo): well after John's hint I got here
14664 and fixed redoing of main paragraph, so we can use it now ;)
14666 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14668 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14670 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14673 2001-12-13 André Pönitz <poenitz@gmx.net>
14676 * undo_func.C: minor cleanup
14678 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14680 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14681 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14682 font in urw-fonts package which is marked as -urw-fontspecific and
14683 does not work (incidentally, changing the encoding in the
14684 fonts.dir of this package to -adobe-fontspecific fixes the
14687 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14688 is a crash when undoing first paragraph (Juergen, please take a
14689 look). THis does not mean the undo fix is wrong, just that it
14692 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14693 the (Paragraph*) version when needed instead of duplicating the
14696 * text.C (workWidth): use Inset::parOwner to find out where the
14697 inset has been inserted. This is a huge performance gain for large
14698 documents with lots of insets. If Inset::parOwner is not set, fall
14699 back on the brute force method
14701 * paragraph_pimpl.C (insertInset):
14702 * paragraph.C (Paragraph):
14703 (cutIntoMinibuffer): set parOwner of insets when
14704 inserting/removing them
14706 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14708 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
14714 * mathed/formulabase.C:
14715 * mathed/math_cursor.[Ch]:
14716 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14719 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14721 * lyxlength.[Ch] (operator!=): new function
14723 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14725 * text.C (workWidth): use Inset::parOwner to find out where the
14726 inset has been inserted. This is a huge performance gain for large
14727 documents with lots of insets. If Inset::parOwner is not set, fall
14728 back on the brute force method
14730 * paragraph_pimpl.C (insertInset):
14731 * paragraph.C (Paragraph):
14732 (cutIntoMinibuffer): set parOwner of insets when
14733 inserting/removing them
14735 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14737 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14739 * tabular-old.C (getTokenValue):
14740 * tabular.C (getTokenValue):
14741 (write_attribute): new versions for LyXLength
14742 (everywhere): adjust the use of widths
14744 * tabular.h: change the type of widths from string to LyXLength
14746 2001-12-11 Ben Stanley <bds02@uow.edu.au>
14748 * paragraph.C: fixed missing line number count when exporting
14749 Environments to LaTeX file
14751 * buffer.C: added informational message for checking line numbers.
14753 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14755 * text2.C (deleteEmptyParagraphMechanism): if there is only one
14756 paragraph, do the 'double space' part, but not the 'empty
14759 * text.C (workWidth): small optimization
14760 (getLengthMarkerHeight): use minimal size for negative lengths.
14762 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
14764 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14766 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14768 2001-12-11 André Pönitz <poenitz@gmx.net>
14771 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14773 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14775 * text2.C: keep selection on a setFont()
14777 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14779 * lyx_cb.C: another bv->text misuse, from insert label
14781 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14784 * kbsequence.C: re-instate nmodifier mask
14786 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
14788 * lyx_main.h: make lyxGUI private.
14790 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14792 * lyxfind.C: place the cursor correctly on failed search
14794 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14796 * text.C (getLengthMarkerHeight): for small heights, the arrows
14797 are not always on top/bottom of the text
14798 (drawLengthMarker): smaller arrows; take the left margin in
14799 account; draw also vfills.
14801 (paintLastRow): remove special code for vfill and standard spaces,
14802 since everything is handled in drawLengthMarker now.
14804 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14806 * buffer.C (insertErtContents): try to handle font and language
14807 interaction a bit better.g
14809 * ColorHandler.C (updateColor): change the hash to cover the whole
14810 LColor enum, ws cleanup
14811 (getGCLinepars): ditto
14812 (getGCLinepars): only lookup in the linecache once.
14814 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
14816 * iterators.C (operator++): Make the iterator more robust
14818 * BufferView2.C (removeAutoInsets): Use paragraph iterators
14820 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14822 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14825 * text.C: better added space drawing
14827 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14830 * BufferView2.C: fix layout combo update on inset unlock
14832 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14834 * Makefile.am: don't compile unused files
14836 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14840 * LyXAction.C: remove old LFUN_LAYOUTNO
14842 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14844 * paragraph_pimpl.h:
14845 * paragraph_pimpl.C: isTextAt() doesn't need font param
14847 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14850 * lyxlex.C: little cleanup
14852 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14854 * BufferView_pimpl.C: fix insertAscii for insets
14856 2001-12-05 Juergen Vigna <jug@sad.it>
14858 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14859 set the right font on the "multi" paragraph paste!
14861 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14867 * lyxlength.C: remove out-commented code.
14869 * BufferView_pimpl:
14883 * vc-backend.C: change "while(" to "while ("
14885 * lyxlength.[Ch]: add zero function to check if length is zero or
14887 * lyxgluelength.C: use it
14889 2001-12-05 Allan Rae <rae@lyx.org>
14891 * lyxlength.C: Attempted a fix for the abs(int) header selection.
14892 Works for 2.95.3, from what I understand of Garst's reports this should
14893 work for other g++ versions. We're screwed if the abs(int) definition
14894 changed between bugfix releases of gcc.
14896 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14898 * text.C: fix chapter label offset !
14900 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14903 * text.C: fix hfill at end of line, clean up
14905 2001-12-04 Juergen Vigna <jug@sad.it>
14907 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14908 that we force an update of the inset and it's owners if neccessary.
14910 2001-12-03 Juergen Vigna <jug@sad.it>
14912 * text.C (rowLast): simplified code
14914 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14916 * lyxfunc.C: fix show options on timeout
14918 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14920 * screen.C (topCursorVisible): scroll half a page when the cursor
14921 reached top of bottom of screen
14923 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
14925 * minibuffer.C: deactivate on loss of focus
14927 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14929 * vspace.[Ch] (operator!=): add operator.
14931 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
14933 * BufferView_pimpl.C: refuse to open an inset when
14934 there's a selection.
14936 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
14938 * BufferView_pimpl.C: allow to click on RHS of full row insets
14940 2001-11-30 Juergen Vigna <jug@sad.it>
14942 * tabular.C (LyXTabular): add a same_id to set the same id's in the
14943 insets for undo reasons.
14945 2001-11-28 André Pönitz <poenitz@gmx.net>
14947 * vspace.[Ch]: cosmetical changes
14949 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14959 * kbsequence.C: part re-write of old kb code
14962 * WorkArea.C: remove Lgb_bug_find_hack
14964 2001-11-30 José Matos <jamatos@fep.up.pt>
14966 * buffer.C (makeDocBookFile): add a comment to point a hack.
14967 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14968 Fixed a double write of labels.
14970 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14973 * LaTeX.h Fixed bug in LaTeX class where it would not
14974 re-run latex if no depfiles were changed, but the .dvi was removed.
14976 2001-11-28 André Pönitz <poenitz@gmx.net>
14978 * all the files from the change on 2001/11/26:
14979 use lyx::layout_type instead of LyXTextClass::size_type
14980 use lyx::textclass_type instead of LyXTextClassList::size_type
14982 2001-11-29 Juergen Vigna <jug@sad.it>
14984 * text.C: added support for paragraph::isFreeSpacing()
14986 * buffer.C: same as above
14988 * paragraph.h: inserted isFreeSpacing() function to enable
14989 FreeSpacing inside InsetERT.
14991 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14992 of the paragraph's in the cut/copy buffer to 0!
14994 * text2.C (removeRow): remove the assert as it can!
14996 * lyxtext.h: added helper function firstRow returning firstrow and
14997 made firstrow private again.
14999 * BufferView2.C (lockInset): don't relock if we're already locked!
15001 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
15002 the only paragraph.
15003 (removeRow): added Assert::(firstrow)
15005 * debug.C: forgot to add INSETTEXT here.
15007 2001-11-28 Juergen Vigna <jug@sad.it>
15009 * sp_spell.C (initialize): changed error text to more general
15010 spellchecker command use (not only ispell!)
15012 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
15014 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
15016 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
15018 * vspace.C: initialise lyxgluelength on failure
15020 2001-11-28 Allan Rae <rae@lyx.org>
15022 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
15023 declaration & definition that looks like a function declaration.
15025 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15027 * BufferView2.C (copy):
15028 (copyEnvironment): do not clear the selection when doing a copy.
15030 * text.C (paintFirstRow): compilation fix
15032 2001-11-27 Ben Stanley <bds02@uow.edu.au>
15034 * tabular.C (Latex): correct line count when writing latex.
15036 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
15038 * paragraph_pimpl.h:
15039 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
15042 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
15046 * LColor.C: change vfillline->added_space
15048 * text.C: add markers and text for added space
15050 * vspace.C: fix comment
15052 2001-11-28 André Pönitz <poenitz@gmx.net>
15054 * paragraph.C: whitespace changes
15055 * all the other files from the change on 2001/11/26:
15056 change *::pos_type into lyx::pos_type
15058 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
15060 * buffer.C (parseSingleLyXformat2Token): Set the language to the
15061 language of the document when inserting error insets.
15063 2001-11-26 André Pönitz <poenitz@gmx.net>
15065 * BufferView_pimpl.[Ch]:
15073 * paragraph_pimpl.[Ch]:
15076 * text2.C: reduce header dependencies, introduce type for positions
15078 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
15080 * <various>: change to use Alert.h
15082 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
15084 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
15085 when encountering an unknown token.
15086 (readLyXformat2): Show an error message if there were unknown tokens.
15088 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
15091 * BufferView_pimpl.C:
15095 * text2.C: use par->isInset()
15097 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
15099 * paragraph_pimpl.h:
15100 * paragraph_pimpl.C: cleanup
15102 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15104 * text2.C (removeRow):
15105 * text.C (setHeightOfRow): remove useless (and costly) call to
15108 2001-11-20 Allan Rae <rae@lyx.org>
15110 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
15111 Now need Inset*::checkInsertChar() to return true for appropriate
15112 cases so that the characters in the minibuffer will actually be
15115 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
15117 * text.C: change the order of the includes.
15118 (workWidth): initialize it at once.
15119 (workWidth): make maxw unsigned
15120 (setHeightOfRow): remove unused variable (inset)
15121 (selectSelectedWord): remove unused variable (inset)
15122 (paintRowText): fix drawing of hfill characters, and clean up a bit.
15124 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15126 * lyxserver.C (emergencyCleanup): do not try to close pipes if
15127 server is not running.
15129 (closeConnection): add debug info when server is disabled.
15131 * ColorHandler.C (getGCForeground): send debug message to GUI
15134 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
15136 * kbmap.C (bind): modify because return conventions of
15137 kb_sequence::parse have changed.
15139 * kbsequence.C (parse): only ignore spaces and not any stupid
15140 control character. This avoids tests like s[i] <= ' ', which are
15141 guaranteed to fail with 8bit characters and signed chars.
15142 Change return code to string::npos when there have been no error
15143 (0 was a bad idea when error is at first character)
15145 2001-11-14 José Matos <jamatos@fep.up.pt>
15148 * buffer.C (simpleDocBookOnePar): removed unused argument.
15150 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15152 * text.C (selectNextWordToSpellcheck): do not test explicitely for
15153 insets which are part of a word. Paragraph::isLetter takes care of
15154 that now. Use Paragraph::isInset to identify insets.
15155 (selectSelectedWord): do not test for hyphenation break.
15157 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
15158 that protected spaces are considered as spaces.
15160 * paragraph.C (isLetter): cleanup the code for ispell extras; use
15163 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
15166 * lyxserver.C: fix it. and small cleanup.
15168 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
15170 * BufferView_pimpl.C: use inline helpers
15173 * LaTeXFeatures.C: fix typos
15176 * Spacing.C: move spacing_string into class
15178 * ToolbarDefaults.C: move stuff into namespace anon
15180 * layout.h: update enum
15182 * lyxfunc.C: use better debug
15184 * minibuffer.h: fix typo
15188 * WorkArea.C: add and use Debug::WORKAREA
15192 * text2.C: code re-organisation, inline helpers
15194 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
15196 * Layout.C: replaced a few cases of std::vector.size() == 0 with
15197 std::vector.empty().
15199 2001-11-09 Allan Rae <rae@lyx.org>
15201 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
15202 '\n's after tables. Tabular and ERT inset work now makes this no
15205 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
15208 * minibuffer.C: fix crash, improve drop-down completion
15210 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
15213 * lyxserver.C: invalidate fd's when doing endPipe()
15215 2001-11-08 José Matos <jamatos@fep.up.pt>
15217 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
15218 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
15221 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
15223 2001-11-07 José Matos <jamatos@fep.up.pt>
15226 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
15229 * buffer.C (sgmlOpenTag):
15230 * buffer.C (sgmlCloseTag): removed debug info.
15232 * buffer.h (sgmlOpenTag):
15233 * buffer.h (sgmlCloseTag): made public.
15235 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15237 * buffer.C (saveParamsAsDefaults):
15238 * lyx_cb.C (MenuLayoutSave): remove
15240 * LyXAction.C (init):
15242 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
15244 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15246 * buffer.C (setPaperStuff): removed from here...
15248 * bufferparams.C (setPaperStuff): ... and moved there.
15250 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
15254 * XFormsView.C: add support for drop-down completion
15256 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
15258 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
15261 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15263 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
15266 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
15268 * lyx_main.C: change ref to known bugs
15270 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
15272 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
15273 to work around older babel problems.
15275 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
15277 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
15279 2001-10-24 Juergen Vigna <jug@sad.it>
15281 * tabular-old.C (ReadOld): below variable changes reflected.
15283 * tabular.[Ch]: added ltType struct for longtable header/footer
15284 defines and changed all instances where they are used. Added
15285 future support for double top/bottom rows.
15287 2001-10-24 José Matos <jamatos@fep.up.pt>
15289 * buffer.h (docbookHandleCaption):
15290 * buffer.C (docbookHandleCaption): removed unused function.
15291 (makeDocBookFile): moved docbook supported version to v4.1.
15293 2001-10-24 José Matos <jamatos@fep.up.pt>
15296 * tabular.C (docbookRow): new function to export docbook code of a row.
15297 (DocBook): now honors the longtable flags.
15299 2001-10-23 José Matos <jamatos@fep.up.pt>
15302 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
15303 of the lyx defined sgml entities used in a docbook/linuxdoc document.
15305 * buffer.C (makeLinuxDocFile):
15306 (makeDocBookFile): reworked the preamble, more clean, and with
15307 support for lyx defined entities. Changed the document declaration
15308 to be more XML friendly.
15310 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
15311 if we need to output XML that should be done with a filter.
15313 2001-10-22 Juergen Vigna <jug@sad.it>
15315 * sp_pspell.h (class PSpell): add alive function needed in the
15316 controller to see if the spellchecker could be started.
15318 2001-10-22 Juergen Vigna <jug@sad.it>
15320 * buffer.C (insertStringAsLines): modify the font for inserting
15321 chars in certain conditions by calling checkInsertChar(font).
15323 2001-10-19 Juergen Vigna <jug@sad.it>
15325 * text.C (workWidth): use getRow instead of wrong algorithm.
15326 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
15328 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
15333 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
15335 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15337 * text.C (workWidth): do not search for the exact row when
15338 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
15339 optimization for big documents.
15341 2001-10-18 Juergen Vigna <jug@sad.it>
15343 * text.C (workWidth): new function with added Inset * parameter.
15345 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15347 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
15349 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
15350 change return type of getColumnNearX.
15353 * text.C (changeRegionCase): use uppercase/lowercase instead of
15356 (rightMargin): simplify code by factoring out the uses of
15361 (appendParagraph): use Paragraph::size_type
15363 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15365 * vspace.C (asLatexString): add a missing break
15367 2001-10-15 Herbert Voss <voss@perce.de>
15369 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
15371 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15373 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
15376 2001-10-10 André Pönitz <poenitz@gmx.net>
15378 * lyxfunc.C: removed greek_kb_flag.
15380 2001-10-10 Herbert Voss <voss@perce.de>
15382 * lyx_main.C: delete global string help_lyxdir.
15384 2001-10-09 Herbert Voss <voss@perce.de>
15386 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
15388 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
15390 * lyx_main.C: added global string help_lyxdir.
15392 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
15394 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
15396 * lyxrc.C (set_font_norm_type): support iso8859-4
15398 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
15400 * LaTeX.C (deplog): add another regex for MikTeX
15402 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
15404 * lyxrc.C (set_font_norm_type): support iso8859-3
15406 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15408 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
15410 * LaTeXFeatures.C: remove special case of french and index
15412 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
15413 before \begin{document}). This solves several incompatibilities.
15415 2001-10-03 Garst Reese <reese@isn.net>
15417 * lyx_cb.C: change CheckTex error msg.
15419 2001-10-03 José Matos <jamatos@fep.up.pt>
15421 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
15423 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15425 * .cvsignore: update
15427 * lyx_main.C (commandLineVersionInfo): use new style version info.
15429 * buffer.C (writeFile):
15431 (makeLinuxDocFile):
15432 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
15434 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
15436 * version.h: update to use stuff in version.C
15438 * version.C.in: new file. Contains version information determined
15439 at compile time. This is a merging of version.h and
15442 2001-10-03 Juergen Vigna <jug@sad.it>
15444 * BufferView_pimpl.C (update): don't change "dirty" status in
15447 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
15449 * WorkArea.C (c-tor): re-position version string slightly.
15451 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
15453 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15454 revert to previous code.
15456 WorkArea.[Ch]: (show, destroySplash): methods removed.
15458 WorkArea.C: rework code so that it's an amalgam of the codes before and
15459 after the splash screen was moved to WorkArea.
15461 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15464 * vspace.C (inPixels):
15467 * buffer.C (insertStringAsLines):
15468 (asciiParagraph): fix types to be large enough
15470 * lyxlex_pimpl.h: change member status from short to int
15472 * layout.h: fix type of endlabeltype
15475 * kbsequence.C (parse): change return type to string::size_type
15477 * LaTeX.C (updateBibtexDependencies): comment out unneeded
15480 * Bullet.C (bulletSize):
15481 (bulletEntry): do not use short ints as parameters
15483 * BufferView2.C (insertLyXFile): change a char to an int.
15485 * WorkArea.C (WorkArea): remove unneeded floats in computation
15487 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
15489 * buffer.C (asciiParagraph): Treat '\\' as other chars.
15491 * paragraph.C (asString): Do not ignore newline/hfill chars when
15492 copying to the clipboard.
15494 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
15496 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15497 after a multi-line inset.
15499 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
15501 * paragraph.C (validate): Set NeedLyXFootnoteCode
15503 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
15505 * lyxfont.C (LyXSizeNames): changed increase-error to increase
15506 and decrease-error to decrease.
15508 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15510 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15511 it more readable (should be equivalent)
15513 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
15515 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15517 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15519 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15520 of a cursor (row, etc.) after a character has been deleted
15521 (deleteEmptyParagraphMechanism): call the method above on _all_
15522 cursors held by the LyXText when a double space has been
15525 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
15527 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15529 (resizeCurrentBuff): remove code to destroy the old splash dialog.
15531 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15532 background. Use greyOut() and the new show() methods to toggle between
15533 the foreground and background. Add code to remove the splash after
15534 its initial showing.
15536 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15537 (create_forms): no longer call Dialogs::showSplash.
15539 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15541 * .cvsignore: add version_info.h
15543 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15545 * version_info.h.in: new file
15547 * Makefile.am: add version_info.h.in
15549 * lyx_main.C (commandLineVersionInfo): use version_info defined in
15550 version_info.h instead of VERSION_INFO
15552 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
15554 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15555 The ERT inset now returns string().
15557 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
15559 * lyxtext.h, text.C (selectNextWord): renamed as
15560 selectNextWordToSpellcheck.
15562 * text.C (selectNextWordToSpellcheck): Modified to not select
15563 words inside an ERT inset.
15565 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15567 * lyx_cb.C (MenuLayoutSave): change a bit the question
15569 * sp_base.h: include <sys/types.h>
15571 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
15573 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15575 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
15577 * several files: fix typos in user-visible strings
15579 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15581 * text2.C (pasteSelection): do not set the selection, since it
15582 will be cleared later. Actually, the intent was to fix the way the
15583 selection was set, but I figured rmoving the code was just as good.
15585 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
15587 * FontLoader.C (available): Check if font is available without
15590 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
15592 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15594 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
15596 * lyxrc.[Ch]: added display_graphics variable and associated code.
15598 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15600 * bufferparams.C (hasClassDefaults): new method. Returns true if
15601 the buffer parameters correspond to known class defaults
15603 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
15605 * XFormsView.C (show): set minimum size to the main window.
15607 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15609 * text2.C (copySelection):
15611 * lyxfind.C (LyXReplace):
15612 * BufferView_pimpl.C (Dispatch): pass the correct flag to
15613 LyXText::selectionAsString.
15615 * paragraph.C (asString): add "label" argument to the second form
15617 * text2.C (selectionAsString): add "label" argument and pass it to
15618 Paragraph::asString.
15620 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15622 * lyx_main.C (commandLineHelp): remove version information
15624 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
15626 * lyx_main.C: add -version commandline option
15628 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15630 * paragraph.h: make the optional constructor arg required instead.
15631 some modifications to other files because of this.
15633 * minibuffer.C (C_MiniBuffer_peek_event): make it static
15635 * lyxserver.C (C_LyXComm_callback): make it static
15637 * lyx_main.C (error_handler): make it static
15639 * lyx_gui.C (LyX_XErrHandler): make it static
15641 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15643 * WorkArea.C: make the extern "C" methods static.
15645 * Makefile.am (lyx_LDADD): simplify
15647 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15649 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15650 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15652 * LyXAction.C (init):
15653 * lyxfunc.C (dispatch): associated code removal.
15655 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15657 * lyxfont.h (isSymbolFont): shut off warning
15659 * text.C (setHeightOfRow):
15660 (getVisibleRow): fix crash with empty paragraphs which have a
15663 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
15665 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15668 2001-09-04 José Matos <jamatos@fep.up.pt>
15671 * tabular.C (docbook): rename docBook method to docbook.
15673 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15675 * Makefile.am: add dependencies to main.o.
15677 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
15679 * FontLoader.C (available): Return false if !lyxrc.use_gui
15681 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
15683 * FontInfo.C (query):
15684 * converter.C (view):
15685 * importer.C (Import):
15686 * exporter.C (Export): Can not -> cannot.
15688 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
15690 * BufferView_pimpl.C: allow to create index inset even if
15693 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15695 * buffer.C (getLists): replace boost::tie code with an explicit pair
15696 as boost::tie can break some compilers.
15698 * iterators.h: Added a std:: declaration to the return type of
15701 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
15703 * lyxrc.C: add help for view_dvi_paper_option, default to safe
15706 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
15708 * iterators.[Ch]: New files. Provide paragraph iterators.
15710 * buffer.C (changeLanguage): Use paragraph iterators.
15711 (isMultiLingual): ditto
15713 * BufferView2.C (ChangeInsets): Use paragraph iterators.
15715 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
15717 * FontLoader.C: Support for cmr font.
15719 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
15721 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15722 (available): New method.
15724 * FontInfo.C (getFontname): Use scalable fonts even when
15725 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15728 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15730 * converter.C (Formats::view): reverted! Incorrect fix.
15732 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15734 * converter.C (Formats::view): only output the -paper option
15735 if the dvi viewer is xdvi, thereby fixing bug #233429.
15737 2001-08-23 Herbert Voss <voss@perce>
15739 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15741 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
15743 * Spacing.h (Spacing): Set space to Default on in the default
15746 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
15748 * vc-backend.h (RCS::versionString): add RCS to version
15749 (CVS::versionString): add CVS to version
15751 * vc-backend.C (scanMaster): do not add CVS to version.
15752 (scanMaster): do not add RCS to version
15754 * lyxvc.C (versionString): new method
15756 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15758 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15760 * Spacing.C (set): initialize fval
15762 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
15764 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15767 2001-08-16 Juergen Vigna <jug@sad.it>
15769 * lyxfunc.C (dispatch): implemented the new FINISHED states.
15771 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15773 * BufferView_pimpl.C:
15776 * text2.C: setParagraph takes linespacing now
15778 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
15780 * LyxAction.C: add internal LFUN_CITATION_INSERT
15782 * LyXView.C: actually apply fix
15784 * bufferlist.C: fix open non-existent file
15786 * lyxfind.C: fix indentation
15788 * lyxfunc.C: remove unneeded assert, fix typo
15790 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15792 * MenuBackend.C: use "Floatname List"
15794 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
15796 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15797 when converting LaTeX layout to insetERT.
15798 Generate a non-collapsed float when reading old float
15800 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15802 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15805 2001-08-13 Juergen Vigna <jug@sad.it>
15807 * text.C (fill): return 0 instead of 20 as this seems to be the more
15810 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15812 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15815 2001-08-13 Juergen Vigna <jug@sad.it>
15817 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15819 (SearchBackward): comment out the unlocking of the inset_owner this
15820 should not be needed!
15822 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
15824 * Many files: Remove inherit_language, and add latex_language
15826 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15827 collapsible insets.
15829 2001-08-10 Juergen Vigna <jug@sad.it>
15831 * text.C (prepareToPrint): fixed hfill-width in draw!
15833 * BufferView2.C (selectLastWord): save the selection cursor as this
15834 now is cleared in the function LyXText::clearSelection!
15836 2001-08-08 Juergen Vigna <jug@sad.it>
15838 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15839 BACKSPACE type functions.
15841 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15842 is only cutted from the document but not put in the cut-buffer, where
15843 still the old stuff should be.
15845 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15847 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15849 * tabular.C (SetWidthOfCell): fixed special case where the width
15851 (LeftLine): handle '|' in align_special.
15853 (LeftAlreadyDrawed): ditto
15854 (SetWidthOfCell): ditto
15856 2001-08-07 Juergen Vigna <jug@sad.it>
15858 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15860 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15862 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15863 * lyxlex.[hC]: ditto
15865 2001-08-06 Juergen Vigna <jug@sad.it>
15867 * text.C (getVisibleRow): fix up row clearing a bit.
15869 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15871 * minibuffer.C: make sure the X server sees the changes in the input.
15873 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15875 * paragraph.C (getFont): split into...
15876 (getLabelFont): this
15877 (getLayoutFont): and this
15878 * paragraph_pimpl.C (realizeFont): calling this
15880 * text2.C (getFont): split into...
15881 (getLayoutFont): this
15882 (getLabelFont): and this
15883 (realizeFont): all three calling this
15885 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15888 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15890 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15892 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
15894 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15895 layouts from the Quote inset insertion.
15897 2001-08-03 Juergen Vigna <jug@sad.it>
15899 * BufferView_pimpl.C (update): do the fitCursor only at the end!
15901 * screen.C (drawFromTo): don't call fitcursor here and do the loop
15902 only if status not is already CHANGED_IN_DRAW (second level).
15904 * text.C (draw): don't set the need_break_row when inside an
15907 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
15909 * buffer.C (parseSingleLyXformat2Token): handle more latex
15912 * bufferview_funcs.[hC]: change function names to
15913 begin with small char, adjust other files.
15915 2001-08-02 André Pönitz <poenitz@gmx.net>
15918 BufferView_pimpl.C: remove broken special code for math-greek
15920 2001-08-02 Juergen Vigna <jug@sad.it>
15922 * BufferView_pimpl.C (update): redone this function so that we
15923 update the text again if there was a CHANGE_IN_DRAW.
15925 * screen.C (cursorToggle): removed LyXText parameter and recoded.
15926 (drawFromTo): added a new internal bool which is used by draw() and
15928 (general): some cursor drawing problems fixed.
15930 2001-08-01 Juergen Vigna <jug@sad.it>
15932 * lyxfind.C (LyXFind): fixed
15933 (SearchForward): ditto
15934 (SearchBackward): ditto
15936 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15937 spurius drawing of the cursor in the main area.
15939 * text2.C (status): small fix which could lead to a segfault!
15940 (clearSelection): remove unneeded BufferView param.
15942 2001-08-01 André Pönitz <poenitz@gmx.net>
15944 * lyxfunc.C: small change due to changed mathed interface
15946 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15948 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15950 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
15952 * lyxfunc.c: fail gracefully if file doesn't exist
15957 * BufferView_pimpl.C: IsDirWriteable() proto changed
15959 * LyXView.C: fix updateWindowTitle() to store the last title
15961 2001-07-31 Juergen Vigna <jug@sad.it>
15963 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15964 the font (wrong since using of Paragraph::highestFontInRange).
15966 * paragraph.C (highestFontInRange): added a default_size parameter.
15968 * text.C (getVisibleRow): minor clear row changes (still not perfect).
15969 (setHeightOfRow): reformat
15971 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15973 * converter.[hC] + affected files: move to (inital-char)lowercase
15976 * ParagraphParameters.C (ParagraphParameters): remove commented code
15978 * PainterBase.[Ch]: remove commented code
15980 * LaTeXFeatures.h: add "bool floats" for float.sty
15982 * LaTeXFeatures.C (LaTeXFeatures): init floats
15983 (require): handle float
15984 (getPackages): do it with floats
15986 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15988 * BufferView_pimpl.C (Dispatch): improve handling of
15989 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15991 * commandtags.h: #include lyxfont.h here temporarily to avoid
15994 * bufferlist.h: include LString.h here.
15996 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15998 * text2.C (getStringToIndex): new method.
16000 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
16002 * *: Reduced header file dependencies all over.
16004 2001-07-30 Baruch Even <baruch@lyx.org>
16006 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
16008 2001-07-29 Baruch Even <baruch@lyx.org>
16010 * buffer.C (readInset): Changed GRAPHICS to Graphics.
16012 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16014 * ParameterStruct.h (endif): add a default constructor to make
16015 sure that all variables is initialized.
16017 * ParagraphParameters.C (ParagraphParameters): adjust
16019 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16021 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
16022 index; also, check that there is something to index, and that it
16023 does not span over several paragraphs.
16024 (doubleClick): use WHOLE_WORD_STRICT for double click.
16026 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
16028 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
16031 2001-07-26 Baruch Even <baruch@lyx.org>
16033 * buffer.C (readInset): Changed to call up InsetGraphics when reading
16034 an InsetFig figure, backwards compatible reading of old figure code.
16036 2001-07-27 Juergen Vigna <jug@sad.it>
16038 * text2.C: font.realize function adaption.
16040 * text.C (draw): add a warnings lyxerr text if needed.
16042 * layout.C: font.realize function adaption.
16044 * language.C: add inherit_language and implement it's handlings
16046 * bufferview_funcs.C (StyleReset): remove language parameter from
16047 font creation (should be language_inherit now).
16049 * bufferparams.C (writeFile): handle ignore_language.
16051 * paragraph.C (getFontSettings): the language has to be resolved
16052 otherwise we have problems in LyXFont!
16054 * lyxfont.C (lyxWriteChanges): added document_language parameter
16055 (update): removed unneeded language parameter
16057 * paragraph.C (validate): fixed wrong output of color-package when
16058 using interface colors for certain fonts in certain environments,
16059 which should not seen as that on the final output.
16061 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
16063 * BufferView_pimpl.C:
16068 * LyXAction.C: add thesaurus support
16071 * lyxfind.C: add "once" parameter, for thesaurus, to not
16072 move to the next match
16074 2001-07-26 Juergen Vigna <jug@sad.it>
16076 * lyxfont.C (realize): honor ignore_language too!
16079 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
16081 * text.C (draw): one place more for ignore_language to not draw
16084 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
16086 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
16088 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16090 * buffer.C (parseSingleLyXformat2Token): a more general fix for
16091 the minipage conversion problem.
16093 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16095 * buffer.C (parseSingleLyXformat2Token): check minipage if we
16098 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16100 * BufferView.h: don't forward declare WorkArea
16102 * BufferView.C: don't include WorkArea.h
16104 2001-07-25 André Pönitz <poenitz@gmx.net>
16108 * lyxfunc.C: new LFUN 'math-space'
16110 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
16112 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16114 * text2.C (toggleInset): call open/close
16116 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16118 * lyxfunc.C (dispatch): add debug for the disabled case
16120 * font.C (buttonText): make similar to rectText
16122 * buffer.C (readInset): comment out parsing of insetlist and
16125 * PainterBase.C (rectText): small correction
16127 * BufferView_pimpl.C: comment out insettheorem and insetlist
16128 * LyXAction.C: ditto
16129 * commandtags.h: ditto
16131 2001-07-24 Juergen Vigna <jug@sad.it>
16133 * text.C (draw): honor the ignore_language.
16135 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
16137 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16139 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
16142 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16144 * lyxtext.h: remove unused (and unimplemented) methods
16146 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16148 * text.C (getVisibleRow): honor background color
16151 * Painter.h: remove default color argument for fillRectangle
16153 * text.C (backgroundColor): new method
16155 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16157 * text.C (getVisibleRow): adjust
16159 * font.[Ch] (rectText): new method, metrics
16160 (buttonText): new method, metrics
16162 * PainterBase.[hC]: make rectText and buttonText always draw and take
16165 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16167 * ToolbarDefaults.C (read):
16168 * MenuBackend.C (read): allow escaping in all strings
16170 * BufferView_pimpl.C (insertAndEditInset): new method.
16171 (Dispatch): use insertAndEditInset whenever appropriate.
16173 * BufferView_pimpl.C (insertNote): removed
16175 * BufferView_pimpl.C (smartQuote): new method, moved from
16176 BufferView; if an insetquote cannot be inserted, insert a '"'
16179 * BufferView2.C: remove insertCorrectQuote();
16181 * lyxfunc.C (getStatus): Add support for all remaingin
16182 inset-insert lfuns.
16184 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
16186 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
16187 command (necessary to pass " as parameter of self-insert.
16189 * text.C (selectWordWhenUnderCursor):
16190 (selectWord): add word_location parameter
16191 (selectWordWhenUnderCursor): same + remove special code for word
16193 (selectNextWord): use kind() to guess type of insetspecialchar,
16196 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
16197 (insertErtContents): create ert insets as collapsed.
16198 (readInset): better compatibility code for Info inset.
16200 2001-07-20 Juergen Vigna <jug@sad.it>
16202 * lyxfunc.C (dispatch): use always LyXFind now!
16204 * text2.C (init): add a reinit flag so that the LyXText can be
16205 reinited instead of deleted and reallocated (used in InsetText).
16207 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
16213 2001-07-18 Juergen Vigna <jug@sad.it>
16215 * text.C (selectNextWord): handle insets inside inset by calling
16216 always the bv->text functions so that we can go up the_locking_inset!
16218 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
16219 in strange locations when inside an inset!
16221 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
16222 handling to include insets.
16224 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
16226 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16228 * LyXAction.C (init):
16230 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
16231 LIGATURE_BREAK, since the name is so stupid.
16233 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
16235 * buffer.C (readInset): enable reading of new InsetNotes as well as old
16238 * FontLoader.C: remove FORMS_H_LOCATION cruft.
16240 * sp_form.[Ch]: remove.
16242 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
16244 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
16247 * src/buffer.C (readInset): ditto.
16249 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16251 * BufferView_pimpl.C (specialChar): new method. Obsoletes
16252 menuSeparator(), endOfSentenceDot(), ldots() and
16253 hyphenationPoint(), which are therefore removed.
16254 (Dispatch): handle LFUN_HYPHENATION_BREAK.
16256 * LyXAction.C (init):
16257 * commandtags.h: add LFUN_HYPHENATION_BREAK.
16259 * paragraph.C (getWord): removed.
16261 * BufferView_pimpl.C (Dispatch): use last word or selection for
16262 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
16264 * lyx_main.C (queryUserLyXDir): do not ask before creating
16265 user_dir, except if it has been named explicitely.
16267 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
16269 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
16270 a document of zero size.
16272 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
16274 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
16275 approriately in the c-tor and in require().
16276 (getPackages): output the appropriate LaTeX for natbib support.
16278 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
16279 variables "use_natbib" and "use_numerical_citations" when reading the
16281 (readInset): read the various natbib cite commands.
16282 (validate): white-space change.
16284 * bufferparams.[Ch]: new variables "bool use_natbib" and
16285 "bool use_numerical_citations".
16286 (writeFile): output them in the LyX file.
16288 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16290 * lyxfunc.C (getStatus): add support for all the inset insertion
16293 * text2.C (insertInset):
16294 * paragraph.C (insetAllowed):
16295 * BufferView_pimpl.C (insertInset): update to take in account the
16296 renaming of insertInsetAllowed
16298 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
16300 * text2.C (getInset): new method. returns inset at cursor position.
16302 * BufferView_pimpl.C (Dispatch): changes because of this.
16304 * LyXAction.C (init): rename open-stuff to inset-toggle.
16306 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
16308 * text2.C (toggleInset): renamed from openStuff; use
16311 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
16313 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
16315 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
16317 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
16319 * buffer.C (readLyXformat2): Add filename to the error dialog
16321 2001-07-18 Juergen Vigna <jug@sad.it>
16323 * tabular.C (GetCellNumber): put an assert here instead of the check!
16325 2001-07-17 Juergen Vigna <jug@sad.it>
16327 * BufferView_pimpl.C (toggleSelection): adapted too.
16329 * text.C (selectNextWord): adapted for use with insets.
16330 (selectSelectedWord): ditto
16332 2001-07-17 Juergen Vigna <jug@sad.it>
16334 * sp_spell.C (PSpell): fix initialitation order.
16336 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16338 * paragraph.C: spacing
16340 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
16342 * sp_spell.C: repair language selection for pspell
16344 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
16346 * lyxfunc.h: change more methods to begin with lower char.
16348 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
16350 * buffer.C (parseSingleLyXformat2Token): Generate error insets
16351 for unknown layouts.
16353 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
16355 * buffer.C (readLyXformat2): Generate an error dialog if there are
16358 2001-07-16 Juergen Vigna <jug@sad.it>
16360 * sp_spell.C: always compile ISpell part.
16362 * lyxrc.C: added use_pspell entry and it's handling.
16364 2001-07-13 Juergen Vigna <jug@sad.it>
16366 * sp_spell.C: removed double includes.
16368 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
16370 Consistent use of Lsstream.h:
16371 * Lsstream.h: added using std::stringstream for consistencies sake.
16373 * buffer.C: removed using std::stringstream
16375 * lyxfont.C (stateText):
16376 * paragraph.C (asString):
16377 * text.C (selectNextWord, selectSelectedWord):
16378 * text2.C (setCounter):
16379 * vspace.C (asString, asLatexString):
16380 std::ostringstream -> ostringstream.
16382 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
16384 * LyXAction.C: add LFUN_HELP_ABOUTLYX
16385 * commandtags.h: add LFUN_HELP_ABOUTLYX
16386 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
16388 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
16390 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
16392 * lyx_gui_misc.C: remove spellchecker
16393 * lyxfunc.C: showSpellchecker
16395 * sp_ispell.h: added
16396 * sp_pspell.h: added
16397 * sp_spell.C: added
16398 * sp_form.[Ch]: removed
16399 * spellchecker.[Ch]: removed
16401 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
16403 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
16405 (simpleTeXSpecialChars): Simply print the input character without
16406 any special translation if pass_thru is set.
16408 * layout.h: Added bool pass_thru to layout class for being able to
16409 implement pass through of a paragraph for Literate Programming.
16411 * layout.C: add LT_PASS_THRU to LayoutTags enum.
16412 * layout.C (LyXLayout): set pass_thru to flase in constructor.
16413 * layout.C (Read): add "passthru" to list of layout tags and add
16414 code to set the pass_thru boolean when it is read.
16416 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
16418 * trans_decl.h: remove allowed from KmodInfo
16420 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
16421 remove allowed code
16424 * paragraph_pimpl.C (erase): use boost::prior
16426 * Painter.C (text): use data() instead of c_str() when length is
16428 * WorkArea.C (putClipboard): ditto
16429 * font.h (width): ditto
16431 * BufferView2.C: use it-> instead of (*it). for iterators
16433 * paragraph_pimpl.C: ditto
16434 * paragraph.C: ditto
16435 * minibuffer.C: ditto
16436 * language.C: ditto
16438 * encoding.C: ditto
16439 * counters.C: ditto
16440 * converter.C: ditto
16442 * Variables.C: ditto
16443 * TextCache.C: ditto
16444 * MenuBackend.C: ditto
16445 * LyXAction.C: ditto
16447 * FloatList.C: ditto
16448 * DepTable.C: ditto
16449 * ColorHandler.C (LyXColorHandler): ditto
16451 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16453 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16455 * text2.C (openStuff): reintroduce this method (which had been
16456 nuked in NEW_INSETS frenzy).
16458 * lyxfunc.C (Dispatch): when an action has not been handled, use
16459 its name in the error message, not its number.
16461 * paragraph.C (inInset): change method name to begin with lowercase.
16464 * text2.C: updates because of this.
16466 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16468 * ToolbarDefaults.C (add): add spaces in error message
16470 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
16472 * buffer.C (readLyXformat2): initialize the ert comp. variables.
16473 (readLyXformat2): rename return_par to first_par, use lyxlex's
16474 pushToken and remove the manual push handling.
16475 (parseSingleLyXformat2Token): add another ert comp. variable:
16476 in_tabular, rename return_par to first_par. handle newlines better
16478 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16480 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16482 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
16484 * text2.C (getParFromID): removed
16486 * buffer.C (getParFromID): new method moved form lyxtext.
16487 * BufferView2.C (insertErrors): adjust
16488 (setCursorFromRow): adjust
16489 * BufferView_pimpl.C (restorePosition): adjust
16490 * lyxfunc.C (Dispatch): adjust
16491 * undo_funcs.C (textUndo): adjust
16493 (textHandleUndo): adjust
16494 (textHandleUndo): adjust
16496 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
16498 * buffer.C: up' the LYX_FORMAT
16500 * lyxfont.h: turn NO_LATEX on as default
16502 * buffer.C (insertErtContents): new methods of tex style compability.
16503 (parseSingleLyXformat2Token): use it several places.
16504 * tabular.C (OldFormatRead): and here
16506 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
16508 * text2.C: remove some commented code.
16511 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16512 * trans.C: changes because of the above.
16514 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
16516 * text2.C (setCounter): Fix counters bug with bibliography layout.
16518 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16520 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16521 own member functions
16522 (simpleTeXSpecialChars): ditto
16524 2001-07-06 Juergen Vigna <jug@sad.it>
16526 * a lot of files: changed the access to LyXText::status and the
16527 call of undo-functions.
16529 * undo.[Ch]: added a inset_id to the undo informations.
16531 * undo_funcs.[Ch]: added and moved here all undo functions.
16533 * lyxtext.h: give the status enum a weight, made status_ a private
16534 variable and made accessor functions for it, removed the whole bunch
16535 of undo-functions as they are now in their own file, make some
16536 functions publically available. Added function ownerParagraph with
16539 * paragraph.[Ch]: added "bool same_ids" to the constructor,
16540 made InInset() a const function, added getParFromID() function.
16542 * buffer.[Ch]: added const version for inset_iterator functions,
16543 added getInsetFromID() function.
16545 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16546 changed undo functions for new version.
16548 2001-07-05 Juergen Vigna <jug@sad.it>
16550 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16551 unknow mechanism does not call the proper constructor but only this
16552 one also if I request the other!?
16554 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16556 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16558 * text2.C (LyXText): use initialization lists.
16560 * lyxtext.h (Selection): initialize set_ and mark_
16561 (init): remove method
16563 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
16565 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16567 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16569 * screen.[Ch]: change method names to begin with lowercase
16571 * BufferView_pimpl.C (updateScrollbar): simplify further and
16572 hopefully make it a bit faster.
16574 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16576 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16577 calling directly xforms functions.
16579 * Painter.C (Painter):
16580 * lyx_cb.C (MenuWrite):
16581 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16584 * lyx_gui.C: remove bogus guiruntime extern declaration.
16586 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16588 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16590 (redoDrawingOfParagraph): ditto
16591 (redoParagraphs): ditto
16592 (cutSelection): don't create a object for CutAndPaste use the
16593 static method directly
16594 (pasteSelection): ditto
16596 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16599 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16601 * modifications to some other files because of this.
16603 * Makefile.am (lyx_SOURCES): add XFormsView
16605 * XFormsView.[Ch]: new files
16607 * LyXView.[Ch]: make LyXView a base class for the gui handling for
16608 the main window. Move the gui dependent stuff to XFormsView
16610 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16612 * tabular.C (GetCellInset): update cur_cell also in the row/col
16613 version of this function.
16615 * lyxfunc.C: no need to include figure_form.h here.
16621 * lyxvc.C: no need to include forms.h here.
16623 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16625 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16627 * lyxfunc.C (Dispatch):
16629 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16630 constructor argument.
16632 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16634 * paragraph.C (Paragraph): dont't clear, and just set layout.
16635 (makeSameLayout): use params's copy contructor.
16637 * ParagraphParameters.[Ch] (makeSame): delete method
16639 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
16641 * Variables.[Ch]: fix indentation, rename set to isSet
16643 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16645 * lyxfunc.C (Dispatch): fix typo
16647 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16649 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16652 * bufferlist.C: include assert.h for emergencyWrite().
16654 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16656 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16657 give up at last (bug #425202) !
16659 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
16665 * spellchecker.C: strip spellchecker options and bring up
16666 preferences tab instead
16668 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16670 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16671 the istringstream constructor
16673 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16675 * paragraph.C (getLayout): fix return value
16677 * paragraph.h: do not declare getLayout as inline.
16679 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16681 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16683 * lyxcursor.h (operator<): new func
16684 (operator>): new func
16685 (operator>=): new func
16686 (operator<=): new func
16688 * text.C (changeCase): use selection.start and selection.end
16689 (changeRegionCase): require from to be <= to. Require par to be a
16692 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16694 2001-06-27 Juergen Vigna <jug@sad.it>
16696 * text.C (cursorLeftOneWord): changed to return the cursor and added
16697 overlay with BufferView * parameter which calls this one.
16699 (selectWord): use new getWord function.
16700 (changeCase): renamed from changeWordCase as and extended to work
16701 also on selections.
16703 * lyxtext.h: added enum word_location
16705 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16706 changeCase as this operates now also on selections.
16708 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
16710 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16712 * many files: send debug output to Debug::INFO instead of
16715 * converter.C (View):
16717 (Move): send debug output to Debug::FILES instead of console.
16719 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
16721 * lyxfunc.C (getStatus): use func_status
16723 * func_status.h: new header, describing the results of
16724 LyXFunc::getStatus;
16726 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16729 2001-06-25 The LyX Project <jug@sad.it>
16731 * buffer.C (sgmlOpenTag):
16733 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
16735 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16737 * text2.C: remove some dead code
16739 * tabular.C (GetCellInset): store the last cell checked (gotten)
16741 * tabular.h: add the helper for the speedup
16743 * lyxtext.h: remove some dead code
16745 2001-06-26 The LyX Project <Asger>
16747 * paragraph.C: Change export to LaTeX of alignment to
16748 \begin{center} and family for better roundtrip work with reLyX.
16750 * Tune the math drawing a bit.
16752 2001-06-25 The LyX Project <Asger>
16754 * LColor.C (LColor): New color for math background. New color
16757 2001-06-25 The LyX Project <jug@sad.it>
16759 * lyxfunc.C (MenuNew): remove extra check for .lyx file
16761 * lyxfunc.C (Open):
16762 * bufferlist.C (newFile): do not restrict to files ending with
16765 * BufferView_pimpl.C (MenuInsertLyXFile):
16767 2001-06-24 The LyX Project <jug@sad.it>
16769 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16772 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16774 * lyxtext.h: rename most methods to begin with a small char.
16775 Lots of changes because of this.
16777 * paragraph.C (Paragraph): do not call fitToSize
16778 (erase): call Pimpl::erase
16779 (insertChar): call Pimpl::insertChar
16780 (insertInset): call Pipl::insertInset
16781 (breakParagraph): do not call fitToSize
16782 (breakParagraphConservative): do not call fitToSize
16783 (fitToSize): remove method
16785 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16787 2001-06-24 The LyX Project <Asger>
16789 * Fix Qt compilation^2
16791 2001-06-24 The LyX Project <jug@sad.it>
16793 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16794 depthHook(getDepth()-1).
16797 * ParagraphParameters.h:
16798 * ParameterStruct.h: change type of depth to unsigned int ==
16799 depth_type. Many adaptations to other files before of that.
16801 2001-06-24 The LyX Project <Asger>
16803 * Fix Qt compilation.
16805 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16807 * paragraph.h: renamed several methods to begin with small letter.
16808 several changes to many parts of the code because of this.
16810 2001-06-23 The LyX Project <jug@sad.it>
16812 * text2.C (InsertStringAsLines): renamed from InsertStringA;
16813 rewritten to discard all double spaces when KeepEmpty is off
16814 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16815 to only handle newlines but not fiddle with spaces and friends.
16817 * lyxfunc.C (MenuNew): when doing 'new from template', use
16818 template_path as default directory
16820 2001-06-23 The LyX Project <Asger>
16822 * Clean-up of header file includes all over
16823 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16825 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16827 * paragraph.h: renamed from lyxparagraph.h
16829 2001-06-23 Asger <lyx@violet.home.sad.it>
16831 * Buffer.h: Removed Buffer::resize
16832 * BufferList.h: Removed BufferList::resize
16833 * LyXView.h: Added LyXView::resize. This way, we will only reflow
16834 the document lazily when we change the width, or the font settings.
16836 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16838 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16840 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16842 * buffer.h: remove out of date comment
16844 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16847 * screen.C: fix "theoretical" GC leak
16849 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16851 * LaTeX.C (scanAuxFile):
16852 (deplog): remove trailing \r when reading stream (useful under
16855 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
16857 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16858 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16859 and BufferView::theLockingInset(Inset*), so should use them and not
16860 access bv_->text->the_locking_inset directly.
16862 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16864 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16867 * tex-defs.h: remove old unused file
16869 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
16871 * BufferView_pimpl.C: fix typo, remove minibuffer message
16872 when buffer has loaded
16874 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
16876 * lyxfunc.C (Dispatch): use stringstream
16877 (MenuNew): use stringstream
16878 (Open): use stringstream
16880 * importer.C (Import): use stringstream
16882 * bufferview_funcs.C (CurrentState): use stringstream
16884 * LaTeX.C (run): use stringstream
16886 * BufferView_pimpl.C (savePosition): use stringstream
16887 (restorePosition): use stringstream
16888 (MenuInsertLyXFile): use stringstream
16890 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
16903 * vspace.C: removed // -*- C++ -*- as first line.
16906 * version.h: added // -*- C++ -*- as first line.
16908 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16910 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16912 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16915 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
16917 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16920 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16922 * gettext.C: include LString.h even when --disable-nls is on.
16924 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
16926 * converter.h (Get): changed argument type from int to
16927 FormatList::size_type to avoid unnecessary conversion.
16929 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16932 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16934 * gettext.h: include LString.h even when --disable-nls is on.
16936 2001-06-07 Juergen Vigna <jug@sad.it>
16938 * text.C (BreakAgain): subst spaces with tabs.
16940 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16941 (resizeInsetsLyXText): set force on resizeLyXText.
16943 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16945 * gettext.h (gettext_init):
16946 (locale_init): use a real definition instead of a macro
16948 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16950 * Bufferview_pimpl.C:
16952 * LColor.C: further lcolor tidies
16954 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
16956 * BufferView_pimpl.C (updateScrollbar): simplify.
16958 * BufferView2.C: don't include insets/insetinfo.h, change
16959 prototype for insertInset and call the Pimpl version. let
16960 updateInset call Pimpl version.
16962 * BufferView.h: move inset_slept to BufferView::Pimpl, move
16963 gotoInset to BufferView::Pimpl
16965 2001-06-01 Juergen Vigna <jug@sad.it>
16967 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16968 inside a LockingInset (is the update needed at all?).
16970 2001-05-31 Juergen Vigna <jug@sad.it>
16972 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16973 here not the old one otherwise how should we compare it afterwards
16976 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16981 * FontInfo.C: bring C functions into global namespace when
16984 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16986 * LString.h: make sure config.h has been loaded before LString.h.
16988 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16989 (one for each char read by EatLine!).
16991 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16994 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
16996 * paragraph.C (BreakParagraph): set the inset_owner in the new par
16997 to the same as the par we break from
16999 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
17001 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
17003 * MenuBackend.C (expand): also create menu entries for wide
17004 versions of the floats.
17006 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
17008 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
17010 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
17011 frontends/Makefile.am
17017 * tabular.C (getTokenValue): add std::
17019 * tabular-old.C (getTokenValue): add std::
17020 (getTokenValue): ditto
17021 (getTokenValue): ditto
17023 * screen.C (ToggleSelection): adjust
17025 * lyxtext.h: put selection cursors inside a Selection struct.
17027 * lyxfunc.C (moveCursorUpdate): adjust
17029 * lyxfont.C (latexWriteStartChanges): add std::
17031 * lyxfind.C: adjust
17033 * font.h: delete with(char const *, LyXFont const &)
17035 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
17037 * FontInfo.C (getFontname): add std::
17039 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
17040 (workAreaButtonPress): adjust
17041 (tripleClick): adjust
17043 (moveCursorUpdate): adjust
17046 * BufferView2.C (gotoInset): adjust
17048 2001-05-30 Juergen Vigna <jug@sad.it>
17050 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
17051 to check pspell I add this as default as I now have new pspell
17052 libraries and they seem to use this.
17054 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
17056 * text2.C (CutSelection): make the cursor valid before the call to
17059 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17061 * kbsequence.C (parse): de-uglify a bit the parsing code, which
17062 relied on 0 terminated strings and other horrors. Bug found due to
17063 the new assert in lyxstring!
17065 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
17068 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
17070 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
17073 * lyxfunc.C (processKeySym): change method of getting to the
17076 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
17077 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
17078 * BufferView_pimpl.[Ch]: here as private methods.
17080 2001-05-28 Juergen Vigna <jug@sad.it>
17082 * text.C (SetHeightOfRow): added the update() call again as it is
17083 needed to initialize inset dimensions!
17085 2001-05-16 Juergen Vigna <jug@sad.it>
17087 * text2.C (SetCharFont): Add new function with BufferView * and
17088 bool toggleall parameters for setting insets internal fonts.
17089 (SetFont): Freeze the undo as we may change fonts in Insets and
17090 all this change should be inside only one Undo!
17092 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
17093 setting font's in insets as for them we have the SetFont function!
17095 2001-05-15 Juergen Vigna <jug@sad.it>
17097 * text2.C (ClearSelection): to be sure we REALLY don't have any
17100 * tabular.C (TeXCellPreamble): fixed the left border problem for
17103 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
17105 * LaTeX.C (deplog): Make sure that the main .tex file is in the
17108 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
17110 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
17111 LFUN_BREAKPARAGRAPH.
17113 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
17114 help test to "internal only", similar for LFUN_INSERT_URL
17116 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
17117 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
17118 auto_region_delete and deadkeys.
17120 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
17123 * LColor.C: remove some dead entries, tidy a little
17125 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
17127 * lyxfunc.C (processKeySym): comment the Escape handling, remove
17129 (Dispatch): implement LFUN_ESCAPE
17131 * commandtags.h: add LFUN_ESCAPE
17133 * LyXAction.C (init): add entry for LFUN_ESCAPE
17135 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
17136 Remove commented code.
17137 (insertNote): moved here
17138 (open_new_inset): moved here
17140 * BufferView[2].[Ch]: move insertNote and open_new_inset to
17143 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17145 * kbmap.C (findbinding): clean it up and make it work correctly.
17147 * lyx_main.C (init): do not pass argc and argv as parameters
17149 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
17151 * buffer.C: fix path for OS/2 & Win32
17155 * lyx_main.C: Added os:: class.
17157 * os2_defines.h: update
17159 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
17161 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
17162 better by trying again with reduced state.
17164 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17166 * lyxrc.C (read): print error about invalid key sequence only when
17167 debugging (because not all latinX keysyms are known to some X
17170 * kbsequence.C (getiso): add a few std:: qualifiers
17171 (getiso): comment out extra return statement.
17173 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
17175 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
17177 (Dispatch): enhance the accent inset a bit. (not perfect)
17179 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
17181 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
17183 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17185 * bufferlist.C (emergencyWrite): fix assert() call
17187 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
17189 * text.C (InsertChar): Added trivial patch to only send the "you
17190 can not do multiple spaces this way" message once during a
17193 2001-05-08 Baruch Even <baruch@lyx.org>
17195 * Makefile.am: Changed order of libraries to get LyX to link properly
17196 with the gnome frontend.
17198 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17200 * LaTeXFeatures.h: add a std:: qualifier
17202 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
17204 * paragraph.C (String): use stringstream
17206 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
17208 * paragraph.C (writeFile): remove footflag arg
17210 * buffer.C (makeLaTeXFile): use stringstream
17211 (latexParagraphs): remove footnot gurba
17213 * LaTeXFeatures.C (getPackages): use stringstream
17214 (getMacros): likewise
17215 (getTClassPreamble): likewise
17216 (getFloatDefinitions): new method
17218 * paragraph.C (writeFile): reindent
17221 * WorkArea.h: revert the xpos + etc changes.
17223 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
17225 * lyxparagraph.[Ch]: add copy constructor, remove Clone
17227 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
17228 (pasteSelection): likewise
17229 * text2.C (CreateUndo): likewise
17231 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
17233 * minibuffer.C (peek_event): temporarily reduce the functionality
17234 of the minibuffer (to allow args on lfuns)
17236 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
17237 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
17239 * buffer.C (readInset): add compability reading of old float
17240 lists, add reading of new style float list.
17241 (readInset): avoid reevaluation of inscmd.getCmdName()
17242 (getLists): reindent
17244 * MenuBackend.C (MenuItem): implement parsing of
17245 md_floatlistinsert and md_floatinsert.
17246 (expand::LastFiles): move initalizaton of iterators out of loop,
17247 avoid reevaluation.
17248 (expand::Documents): introduce typdedef vector<string> Strings,
17250 (expand::ExportFormats): introduce typedef vector<Format const *>
17251 Formats, and use it.
17252 (expand): implement FloatListInsert and FloatInsert.
17254 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
17255 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
17256 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
17258 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
17260 (Dispatch::LFUN_FLOAT_LIST): implement
17262 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
17264 * LaTeX.C (run): Fix problem with --export code.
17266 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
17268 * BufferView.[Ch] (workarea): removed.
17269 (getClipboard) new method; wrapper for workarea()->getClipboard()
17271 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
17274 * WorkArea.h (width, height, xpos, ypos): These methods all
17275 returned the dimensions of the work_area sub-area of WorkArea,
17276 resulting in a position error if the WorkArea were resized. Now
17277 return the dimensions of the entire WorkArea.
17279 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
17281 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17283 * LaTeX.C (deplog): correct the syntax of regex reg1
17285 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
17287 * undo.C: remove !NEW_INSETS cruft
17289 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
17291 * text2.C: remove !NEW_INSETS cruft
17293 * text.C: remove !NEW_INSETS cruft
17295 * tabular.C: remove !NEW_INSETS cruft
17297 * spellchecker.C: remove !NEW_INSETS cruft
17299 * lyxtext.h: remove !NEW_INSETS cruft
17301 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
17303 * lyxfunc.C: remove !NEW_INSETS cruft
17305 * lyxfind.C: remove !NEW_INSETS cruft
17307 * lyx_cb.C: remove !NEW_INSETS cruft
17309 * figureForm.C: remove !NEW_INSETS cruft
17311 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
17313 * buffer.[Ch]: remove !NEW_INSETS cruft
17315 * ToolbarDefaults.C: remove !NEW_INSETS cruft
17317 * CutAndPaste.C: remove !NEW_INSETS cruft
17319 * BufferView_pimpl.C: remove !NEW_INSETS cruft
17321 * BufferView2.C: remove !NEW_INSETS cruft
17323 * BufferView.h: remove !NEW_INSETS cruft
17325 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17327 * Lsstream.h: include LString.h before the sstream headers to
17328 fix problem with gcc 2.95.3 and lyxstring
17330 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17332 * lyx_main.C: add using directives when needed for C functions
17333 declared in std:: namespace.
17335 2001-04-27 Juergen Vigna <jug@sad.it>
17337 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
17338 (SetHeightOfRow): comment out the update call should not be needed!
17340 2001-04-13 Juergen Vigna <jug@sad.it>
17342 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
17343 (LyXTabular): tried to minimize operator= operations (and realized
17344 hopfully Lars wish).
17346 2001-04-27 Juergen Vigna <jug@sad.it>
17348 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
17350 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
17352 * lyxfunc.C (Dispatch): hack to make listof algorithm work
17354 * buffer.C (readInset): hack to make listof algorithm work
17356 * BufferView_pimpl.C: hack to make listof algorithm work
17358 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
17360 * LyXAction.C: removed all !NEW_INSETS cruft
17361 (init): moved lfun_item in method
17363 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
17365 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
17367 * BufferView2.C (theLockingInset): white space.
17369 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
17371 * minibuffer.C: include <iostream>
17373 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
17375 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
17377 * commandtags.h: add LFUN_TRANSPOSE_CHARS
17379 * text.[Ch] (TransposeChars): new method
17381 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
17383 * call message directly through LyXView instead of through LyXFunc
17384 * BufferView2.C: adjust
17385 * BufferView_pimpl.C: adjust
17386 * FontLoader.C: adjust
17388 * bufferview_funcs.C: adjust
17389 * converter.C: adjust
17390 * figureForm.C: adjust
17391 * importer.C: adjust
17393 * lyx_gui_misc.C: adjust
17394 * lyxfunc.C: adjust
17397 + more files in subdirs
17399 * lyxparagraph.h (size): move up int file
17402 * adjust all uses of Assert to lyx::Assert.
17404 * BufferView2.C (ChangeCitationsIfUnique): adjust for
17405 lyxfunctional in namespace lyx
17406 * layout.C (hasLayout): ditto
17409 (delete_layout): ditto
17410 (NumberOfClass): ditto
17411 * converter.C (GetFormat): ditto
17416 * bufferlist.C (getFileNames): ditto
17417 (emergencyWriteAll): ditto
17420 * MenuBackend.C (hasSubmenu): ditto
17423 * BufferView_pimpl.C (getInsetByCode): ditto
17425 2001-04-18 Juergen Vigna <jug@sad.it>
17427 * vspace.C (asLatexString): fixed the 100% problem.
17429 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17431 * lyxfunc.C (Dispatch):
17433 * minibuffer.h: add a few std:: qualifiers
17435 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
17437 * minibuffer.[Ch]: reimplement so that commands is initiated and
17438 run from lyxfunc, simplified som handling, and made the completion
17439 and history code for complete. wip.
17441 * lyxfunc.C (processKeySym): call message
17442 (miniDispatch): new temporary method
17443 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
17444 (LFUN_MESSAGE): implement
17445 (LFUN_MESSAGE_PUSH): implement
17446 (LFUN_MESSAGE_POP): implement
17447 (initMiniBuffer): the initial/defualt minibuffer message.
17449 * lyxfont.[Ch]: inline some more getters
17451 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17453 * lyx_gui_misc.[Ch] (WriteStatus): remove method
17455 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17456 (AutoSave): use LFUN_MESSAGE
17457 (Reconfigure): ditto
17459 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17461 * figureForm.C: use LFUN_MESSAGE
17463 * converter.C (runLaTeX): use LFUN_MESSAGE
17465 * bufferview_funcs.C: use LFUN_MESSAGE
17467 (changeDepth): ditto
17469 * bufferparams.h: use boost::
17471 * bufferlist.h: inherit privately from noncopyable
17473 * bufferlist.C (loadLyXFile): remove some commented code.
17475 * buffer.C (runChktex): use LFUN_MESSAGE
17477 * ShareContainer.h: inherit privately from noncopyable
17479 * ParagraphParameters.[hC] (depth): inline it.
17481 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17483 (message): new method
17484 (messagePush): ditto
17485 (messagePop): ditto
17486 (show): init minibuffer
17487 (showState): direct call
17489 * LaTeX.[Ch]: inherit privately from noncopyable
17490 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17491 instead of WriteStatus.
17493 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17495 * BufferView_pimpl.C (buffer): don't init minibuffer
17496 (workAreaButtonPress): use LFUN_MESSAGE
17497 (workAreaButtonRelease): ditto
17498 (savePosition): ditto
17499 (restorePosition): ditto
17500 (MenuInsertLyXFile): ditto
17501 (workAreaExpose): don't init minibuffer
17502 (update): remove commented code, simplify
17504 * BufferView2.C (openStuff): use LFUN_MESSAGE
17505 (toggleFloat): ditto
17508 (copyEnvironment): ditto
17509 (pasteEnvironment): ditto
17514 (updateInset): remove some commented code
17516 * lastfiles.h: inherit privately from noncopyable
17519 * lyx_main.h: ditto
17521 * lyxlex_pimpl.h: ditto
17523 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17524 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17525 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17527 * LyXAction.h: inherit privately from noncopyable, add methods
17528 func_begin, func_end, returning iterators to the func map.
17530 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17531 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17532 (func_begin): new method
17533 (func_end): new method
17535 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17537 (copySelection): ditto
17538 (pasteSelection): ditto
17540 * BufferView.C: whitespace change
17541 * BufferView.h: inherit privately from noncopyable
17543 2001-04-16 Allan Rae <rae@lyx.org>
17545 * tabular-old.C (l_getline):
17546 * spellchecker.C (sc_check_word):
17547 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17548 an unrecognised preprocessor directive. So ensure they're wrapped.
17550 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
17552 * src/exporter.C (Export): Give an error message when path to file
17555 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
17557 * LaTeX.C (deplog): Always check that foundfile exists.
17559 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17562 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17564 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
17566 * tabular.[Ch] (getLabelList): implement new method
17568 * minibuffer.h: comment ouf setTiimer
17570 * minibuffer.C (ExecutingCB): constify res
17571 (peek_event): constify s
17572 (Set): constify ntext
17573 (Init): constify nicename
17575 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17577 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17578 (savePosition): use two params to Minibuffer::Set
17579 (restorePosition): ditto
17581 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17583 * lyx_main.C: include language.h
17585 * Makefile.am (lyx_main.o): add language.h
17587 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17593 * CutAndPaste.C: include gettext.h
17595 * lyxfont.h: remove old hack with ON and OFF.
17598 * lyxfont.h: do not include language.h...
17603 * bufferview_funcs.C:
17609 * paragraph.C: ... but do it here instead
17611 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
17613 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17615 * tabular.C: small reformat
17617 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17620 (BreakParagraph): ditto
17621 (SetOnlyLayout): ditto
17624 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17627 * lastfiles.C: removed most using decl, add std:: where needed
17629 * buffer.C: ws changes
17631 * MenuBackend.C (class compare_format): put into anon namespace
17632 (expand): constify label, names, action, action2
17635 * text.C (SingleWidth): constify font
17636 (IsBoundary): constify rtl2
17637 (GetVisibleRow): constify ww
17639 * LaTeX.C (deplog): constify logfile
17641 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17643 (workAreaExpose): constify widthChange, heightChange
17645 * lyxrow.C (par): moved
17648 * lyxrow.h: as inlines here
17650 * lyxfont.h (shape): moved from lyxfont.C
17651 (emph): moved from lyxfont.C
17653 * lyxfont.C (LyXFont): use initialization list for all
17655 (shape): move to lyxfont.h as inline
17656 (emph): move to lyxfont.h as inline
17659 2001-04-04 Juergen Vigna <jug@sad.it>
17661 * vspace.C: had to include stdio.h for use of sscanf
17663 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
17666 * BufferView_pimpl.h: remove xforms cruft. Both classes are
17667 independent of xforms.
17669 2001-04-02 Juergen Vigna <jug@sad.it>
17671 * spellchecker.C: fixed namespace placing!
17673 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
17675 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17676 the LyXParagraph * is 0.
17678 2001-03-29 Juergen Vigna <jug@sad.it>
17680 * vspace.C: added support for %, c%, p%, l%.
17681 (stringFromUnit): added helper function.
17682 (asLatexString): changed to give right results for the %-values.
17684 * buffer.C: convert the widthp in a width%.
17686 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
17688 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17691 * figureForm.[Ch]: stripped the FD_from_figure manipulation
17692 code out of lux_cb.[Ch], ready for its (imminent?) removal.
17694 * lyx_cb.[Ch]: see above.
17696 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17700 * lyx.[Ch]: replaced by figure_form.[Ch].
17704 * lyxfunc.C: changed headers associated with above changes.
17706 2001-03-27 Juergen Vigna <jug@sad.it>
17708 * BufferView_pimpl.C: set the temporary cursor right!
17710 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
17712 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17714 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
17716 * LString.h: removed "using std::getline"!
17718 * BufferView_pimpl.C (Dispatch): changes due to changes in
17719 InsetInclude::Params.
17721 * buffer.C (tag_name): removed redundant break statements as they were
17722 producing lots of warnings with my compiler.
17724 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17726 * LString.h: add "using std::getline" when using the real <string>.
17728 2001-03-23 Jos�Ab�io Matos <jamatos@fep.up.pt>
17730 * buffer.C: removed bitset usage.
17731 PAR_TAG moved to an anonymous name space.
17732 (tag_name): new funtion, also in the anonymous namespace.
17733 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17734 (makeDocBookFile): clean code. Completed transition from string arrays
17736 (SimpleDocBookOnePar): code clean.
17738 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17740 * tabular.C: add some comments.
17742 2001-03-22 Juergen Vigna <jug@sad.it>
17744 * buffer.C (parseSingleLyXformat2Token): redone the minipage
17745 compatibility read a bit and fixed bug with minipage in different
17748 2001-03-21 Jos�Ab�io Matos <jamatos@fep.up.pt>
17750 * buffer.C (pop_tag): removed.
17751 (push_tag): removed.
17752 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17753 array replaced with vector. Added support for CDATA sections.
17754 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17756 (makeDocBookFile): XML conformant declaration of CDATA section,
17757 fixed bug related to <emphasis> in the first paragraph char.
17758 (sgmlOpenTag): exclude empty tags.
17759 (sgmlCloseTag): ditto.
17761 * buffer.h (pop_tag): removed.
17762 (push_tag): removed.
17764 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
17766 * language.h (Languages): added size_type and size().
17768 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17770 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17771 response on compability reading of minipages. One probliem is that
17772 the old usage of minipages was flertydig
17774 * several files here and in subdirs: don't use static at file
17775 scope use anon namespaces instead.
17777 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
17779 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17780 LaTeX output. This is necessary for Literate document
17783 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17785 * buffer.C: insert hfill when needed.
17787 * tabular.C (l_getline): use string::erase, small whitespace change.
17789 * BufferView_pimpl.C: try the anon namespace.
17790 * WorkArea.C: ditto
17792 2001-03-16 Juergen Vigna <jug@sad.it>
17794 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17795 otherwise it won't open options-dialogs.
17797 * buffer.C: honor pextraWidth(p) on converting minipages.
17799 * tabular.C (l_getline): changed the functions to strip trailing \r.
17801 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
17803 * BufferView_pimpl.C:
17804 * minibuffer..C: added "using SigC::slot" declaration.
17806 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17808 * lyxlex_pimpl.h: noncopyable is in namespace boost.
17814 * paragraph.C: ditto
17816 * lyxtext.h: NO_PEXTRA
17818 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17820 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17821 * ParameterStruct.h: ditto
17822 * ParagraphParameters.h: ditto
17823 * lyxparagraph.h: ditto
17825 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17827 * buffer.C: add compability for minipage alignment.
17828 (latexParagraphs): remove unwanted pextra check.
17830 * several files: remove CXX_WORKING_NAMESPACES
17832 * buffer.C (pop_tag): tie is in namespace boost
17834 * BufferView.h: noncopyable is in namespace boost
17836 * lyx_main.h: ditto
17839 * lastfiles.h: ditto
17840 * bufferlist.h: ditto
17841 * ShareContainer.h: ditto
17843 * LyXAction.h: ditto
17846 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17848 * Merging changes from BRANCH_MVC back into HEAD.
17850 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17852 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
17854 * BufferView_pimpl.C: change from intl.C
17858 * Makefile.am: move combox.*
17864 * intl.C: remove dialog (covered by prefs)
17866 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17868 * lyxfunc.C (Dispatch): removed redundant break statement.
17870 2001-03-14 Juergen Vigna <jug@sad.it>
17872 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17874 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17876 * buffer.C: add hack to fix compability reading of minipages.
17878 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
17880 * buffer.C (getLists): Cleanup.
17882 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17884 * lyxfont.C (update): don't honor toggleall on font size.
17886 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
17890 * Makefile.am: moved to frontends/xforms/
17894 * BufferView_pimpl.C: changes for moved mathpanel
17896 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17898 * gettext.h: fix gettext_init() in --disable-nls
17900 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17902 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17904 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
17907 * lyx.h: strip external form
17909 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17911 * BufferView_pimpl.C: add comment, destroySplash()
17913 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17915 * BufferView_pimpl.C:
17919 * lyxfunc.C: use re-worked insetinclude
17921 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17923 * buffer.C: add using std::stringstream.
17925 * lyx_cb.C: readd using std::ios.
17927 * buffer.C: add using std::map.
17929 * BufferView_pimpl.C: add using std::vector.
17931 * ShareContainer.h: add std:: to swap.
17933 * buffer.h: add some typedefs
17934 * buffer.C (getLists): use them
17935 (getLists): renamed from getTocList.
17936 add a counter for the different float types and use it in the
17938 (getLists): use the same counter for the NEW_INSETS and the "non"
17941 * lyx_cb.h: remove unused items, includes, using etc.
17943 * ShareContainer.h: remove some commented code, add more comments
17944 and "documentation".
17946 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17948 * buffer.C (getTocList): make the list also when NEW_INSETS is
17951 * buffer.h: remove TocType
17953 * buffer.C (getTocList): change to return a map<string,
17954 vector<TocItem> >, implement for dynamic number of list.
17956 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17957 * text2.C (PasteSelection): adjust
17958 * CutAndPaste.C (pasteSelection): adjust
17960 * FloatList.C (FloatList): update from the new_insets branch.
17961 * Floating.[Ch]: ditto
17962 * LaTeXFeatures.C: ditto
17964 * lyxlex_pimpl.C: ditto
17966 * paragraph.C (Last): remove when NEW_INSETS is defined.
17968 * other file: changes because of the above.
17970 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17972 * lyxparagraph.h: rename next to next_, previous to previous_,
17973 make them private for NEW_INSETS. Rename Next() to next(),
17974 Previous() to previous().
17976 * other files: changes because of the above.
17978 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
17981 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17984 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17986 * main.C (main): pass lyx_localedir to gettext_init().
17988 * gettext.h: remove locale_init and gettext_init macros
17990 * gettext.C (locale_init): new function
17991 (gettext_init): new function
17993 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17996 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
17998 * Moved credits to frontends:
17999 * credits.[Ch]: removed
18000 * credits_form.[Ch]: removed
18001 * lyx_gui_misc.C: remove credits stuff
18004 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18006 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
18008 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
18009 unneeded destructor.
18011 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
18012 a standalone pointer again.
18014 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
18016 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
18022 * ToolbarDefaults.C:
18031 * BufferView_pimpl.C: use new file dialog in GUII
18034 * lyx_cb.C: remove LayoutsCB to Toolbar
18036 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18038 * ShareContainer.h (get): add std:: qualifier
18040 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18042 * ShareContainer.h: define a proper ShareContainer::value_type
18043 type (and use typename to please compaq cxx)
18045 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18047 * lyxparagraph.h: move serveral local vars to
18048 ParameterStruct/ParagraphParameters., use ShareContainer in
18049 FontTable., make vars in FontTable private and add getter and
18052 * paragraph.C: changes because of the above.
18054 * lyxfont.h: remove copy constructor and copy assignment. (the
18055 default ones is ok), move number inside FontBits. move inlines to
18058 * lyxfont.C: add number to initializaton of statics, move several
18059 inlines here. constify several local vars. some whitespace
18060 cleanup. Dont hide outerscope variables.
18062 * Spacing.h: add two new constructors to match the set methods.
18064 * ShareContainer.h: new file, will perhaps be moved to support
18066 * ParameterStruct.h: new file
18068 * ParagraphParameters.h: new file
18070 * ParagraphParameters.C: new file
18072 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
18073 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
18075 * BufferView_pimpl.C: ParagraphParameter changes.
18076 * buffer.C: Likewise.
18077 * bufferview_funcs.C: Likewise.
18078 * text.C: Likewise.
18079 * text2.C: Likewise.
18081 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18083 * lyxfind.C (LyXReplace): do not redefine default argument in
18085 (IsStringInText): ditto
18086 (SearchForward): ditto
18087 (SearchBackward): ditto
18089 2001-03-06 Juergen Vigna <jug@sad.it>
18091 * lyxfind.C (IsStringInText): put parentes around expressions.
18093 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
18095 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
18097 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
18099 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
18101 * stl_string_fwd.h: add comment
18103 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
18106 * tabular.C: remove unused DocBook methods
18112 killed DO_USE_DEFAULT_LANGUAGE
18114 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18116 * lyx_gui.C: do not include language.h.
18118 * bufferview_funcs.C (ToggleAndShow): do not provide optional
18119 arguments in function implementation.
18121 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18123 * BufferView_pimpl.C: add <ctime>
18125 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18127 * BufferView_pimpl.C: add using std::find_if
18129 2001-02-27 José Matos <jamatos@fep.up.pt>
18131 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
18134 2001-02-11 José Matos <jamatos@fep.up.pt>
18136 * buffer.C (makeDocBookFile): command styles now have a parameter as
18137 "title" by default.
18139 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
18141 * layout_forms.[Ch]: removed
18142 * lyx_cb.[Ch]: out character
18143 * lyx_gui.C: out character
18144 * lyx_gui_misc.C: out character
18145 * bufferview_funcs.C: : out character,
18146 added toggleall as parameter in ToggleAndShow
18148 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
18150 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
18152 * text2.C (SetCurrentFont): Disable number property at boundary.
18154 2001-02-26 Juergen Vigna <jug@sad.it>
18156 * lyxfunc.C (getStatus): added a string argument override function so
18157 that this is correctly called from LyXFunc::Dispatch if it contains a
18158 do_not_use_argument which is used!
18159 (Dispatch): added check for "custom" export and call appropriate func.
18161 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
18163 * lyxrc.C: Add language_command_local, language_use_babel and
18164 language_global_options.
18166 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
18168 * buffer.C (makeLaTeXFile): Use language_use_babel and
18169 language_global_options.
18171 2001-02-23 Juergen Vigna <jug@sad.it>
18173 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
18174 which works with LyXText and putted it inside BufferView. Here now we
18175 only call for that part the BufferView::Dispatch() function.
18177 * BufferView.C (Dispatch): added.
18179 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
18180 functions which needs to use a LyXText over from LyXFunc.
18181 (MenuInsertLyXFile): added
18182 (getInsetByCode): added
18183 (moveCursorUpdate): added
18184 (static TEXT): added
18186 2001-02-22 Juergen Vigna <jug@sad.it>
18188 * BufferView_pimpl.C (update): call a status update to see if LyXText
18191 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18193 * vc-backend.C (revert): implement for CVS
18194 (getLog): implement for CVS
18196 2001-02-20 Juergen Vigna <jug@sad.it>
18198 * text2.C (ClearSelection): added BufferView param for inset_owner call
18200 * lyxfunc.C (TEXT): added this function and use it instead of
18201 directly owner->view()-text of getLyXText().
18203 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
18205 * src/layout_forms.C: out preamble
18206 * src/layout_forms.h: out preamble
18207 * src/lyx_cb.C: out preamble
18208 * src/lyx_cb.h: out preamble
18209 * src/lyx_gui.C: out preamble
18210 * src/lyx_gui_misc.C: out preamble
18211 * src/lyxfunc.C: connect with guii preamble
18213 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
18215 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
18217 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
18219 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
18220 whether to run bibtex.
18222 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
18224 * Makefile.am (lyx_SOURCES): Remove BackStack.h
18226 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
18228 * Makefile.am (lyx_SOURCES): removed bibforms.h
18230 * vspace.h: doxygen
18232 * text.C (GetVisibleRow): make several local vars const
18234 * tabular.C: small cleanup.
18236 * lyxserver.C (callback): use compare instead of strncmp
18238 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
18239 inlines to after class or to paragraph.C
18241 * lyxfont.h: remove friend operator!=
18243 * converter.h: move friend bool operator< to non friend and after
18246 * combox.h: small cleanup
18248 * buffer.h: doxygen, remove unused constructor, move inclas inlies
18249 to inlines after class def.
18251 * buffer.C (pop_tag): use string operations instead of strcmp
18253 * bmtable.c: doxygen, small cleanup
18255 * LaTeX.h: remove friend operator==
18257 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
18269 * BufferView_pimpl.C:
18270 * BufferView.[Ch]: remove cruft
18272 2001-02-14 Juergen Vigna <jug@sad.it>
18274 * lyxfunc.C: removed #if 0 unused code
18276 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
18278 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
18280 * text2.C (SetSelection): added a BufferView * parameter
18282 2001-02-13 Juergen Vigna <jug@sad.it>
18284 * lyxfunc.C (Dispatch): fixed protected blank problem.
18285 * BufferView2.C (protectedBlank): added LyxText * parameter.
18287 * tabular.C (AppendRow): forgot to set row_info of newly added row.
18288 (AppendColumn): same as above for column_info.
18290 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
18291 (moveCursorUpdate): use a LyXText param for support of InsetText.
18293 * BufferView_pimpl.C (doubleClick): added support for InsetText.
18294 (tripleClick): ditto
18296 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
18298 * BufferView_pimpl.C (update): added LyXText param to honor insets.
18300 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
18302 * text2.C (SetSelection): set correct update status if inset_owner
18303 (ToggleFree): ditto
18305 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
18307 * tabular.C: remove some commented code.
18309 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
18311 * BufferView_pimpl.C: call hideSplash()
18313 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
18316 * bibforms.h: remove
18319 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
18320 add LFUN_CHILD_CREATE
18322 * counters.h: fix tiny typo
18327 * lyx.C: move splash to frontends/xforms/
18329 * lyx_gui_misc.C: move Include and Bibform to frontends
18331 * lyxvc.h: clarify comment
18333 * vspace.C: tiny housekeeping
18335 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
18337 * text.C (PrepareToPrint): RTL Fix.
18339 * paragraph.C (GetUChar): New method.
18340 (String): Use GetUChar.
18342 * buffer.C (asciiParagraph): Use GetUChar.
18344 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
18346 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
18348 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
18351 * buffer.C: rename to getLogName(), handle
18352 build log / latex log nicely
18354 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18357 * MenuBackend.h: remove support for reference menuitem type.
18359 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
18361 * BufferView_pimpl.C: housekeeping
18362 * BufferView_pimpl.h:
18367 * minibuffer.h: move Timeout GUI-I
18369 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
18371 * lyxrc.C (read): Update converters data-structures.
18373 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
18375 * LaTeX.h (operator!=): add operator != for Aux_Info
18377 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
18379 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
18381 * LaTeXLog.C: deleted, useful code moved to Buffer
18384 * buffer.C: new function getLatexLogName()
18390 * lyxfunc.C: use frontends for LaTeX and VC logs
18392 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18394 * LaTeX.h: yet another std:: that Allan forgot.
18396 * Variables.C (set): renamed from isset(), because this clashes
18397 with some HP-UX macros (grr).
18399 2001-02-06 Allan Rae <rae@lyx.org>
18401 * LaTeX.h: Another bug fix. Missing std:: this time.
18403 2001-02-04 Allan Rae <rae@lyx.org>
18405 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
18406 floats problem. I've left it commented out because it's not quite
18407 correct. It should also test that the current object is a table or
18408 figure inset. But I haven't gotten around to figuring out how to do
18409 that. I *think* it'll be something like: "table" == inset.type()
18411 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
18414 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
18416 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
18417 all the citation/databases/styles in the auxilary file.
18418 (run): Rerun latex if there was a babel language error.
18420 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
18422 * text.C (Backspace): Preserve the font when changing newline char
18424 (BreakParagraph): If the cursor is before a space, delete the space.
18426 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
18428 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
18430 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
18431 new argument (code).
18432 (ChangeCitationsIfUnique): New method.
18434 * paragraph.C (GetPositionOfInset): Handle bibkey.
18436 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18438 * BufferView_pimpl.h: change type of Position::par_pos to
18439 LyXParagraph::size_type.
18441 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
18443 * BufferView_pimpl.C (savePosition, restorePosition): Write
18444 messages to minibuffer.
18446 2001-01-28 José Matos <jamatos@fep.up.pt>
18448 * buffer.C (makeDocBookFile): adds support for document language.
18449 A silly restriction on the name of LatexCommand types where removed.
18450 Added support for CDATA sections, allows to chars unescaped, used
18451 among others in code, to avoid escape < and >.
18453 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
18455 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18456 saved positions instrad of a stack. Furthermore, a position is
18457 stored using paragraph id/paragraph position.
18459 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18460 Remove LFUN_REF_BACK.
18462 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
18464 * converter.C (dvipdfm_options): New method.
18466 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
18468 * vspace.C (isValidLength): Fix for empty input string.
18470 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18472 * LyXAction.C (init): change description of LFUN_FIGURE to
18475 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18477 * LaTeX.C: add using directive
18479 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
18481 * MenuBackend.C (expand): Fix the sorting of the formats.
18483 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
18485 * lyx_main.C: tiny error message fix
18487 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18489 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18490 calling fl_initialize(). This fixes the problem with ',' as
18491 decimal separator in text files.
18493 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
18495 * trans.C (process): Fix the keymap bug.
18497 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
18499 * LaTeX.C (scanAuxFiles): New method. Provides support for
18500 multiple bibliographies (when using the bibtopic/bibunits pacakges).
18501 (scanLogFile) Scan for "run BibTeX" messages.
18503 * buffer.C (makeLaTeXFile): Do not load the ae package when using
18504 OT1 font encoding. Also, load the aecompl package if the ae
18507 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18509 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18511 * texrow.C (increasePos): turn two error messages into debug
18514 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
18516 * LaTeX.C (scanAux): Handle the \@input macro.
18517 (runBibTeX): Use scanAux().
18519 * language.C (latex_options_): New field.
18521 * LaTeXFeatures.C (getMacros): Add language macros.
18523 * buffer.C (makeLaTeXFile): Small fix.
18525 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18527 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18529 * text2.C: add a using directive.
18531 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
18536 * lyxfunc.C: kill LyXBell.
18538 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
18540 * text.C (IsBoundary): Remove the error message
18542 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18544 * lyxrc.C (setDefaults): Correct initialization value for
18547 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
18549 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18552 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18553 and GotoNextNote().
18555 * src/LyXAction.C: Added reference-next.
18557 * text.C (InsertChar): Use contains instead of strchr.
18559 * lyx_cb.C (MenuInsertLabel): Enable default value code.
18561 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
18563 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18564 alignment commands (when needed).
18566 * text.C (InsertChar): Add ':' to number separator chars.