1 2005-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3 * rowpainter.C (paintFirst): fix centering of
4 LABEL_CENTERED_TOP_ENVIRONMENT.
6 2005-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8 * BufferView.C (mouseSetCursor): new method. Calls
9 deleteEmptyParagraphMechanism if necessary.
11 * lyxtext.h: make deleteEmptyParagraphMechanism public.
13 * text3.C (dispatch/LFUN_MOUSE_PRESS): use
14 BufferView::mouseSetCursor (bug 2109).
15 (dispatch/LFUN_PASTE): remove #warning that is now irrelevant.
17 2005-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
19 * text3.C (dispatch/LFUN_INDEX_INSERT): when a selection is set,
20 do not remove it (this inset behaves differently from the others).
22 2005-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
26 * BufferView_pimpl.C (getStatus): it is only possible to insert a
29 * buffer.C (readDocument): remove pit argument and code releated
30 to it; set the inset owner correctly (unrelated, but useful).
31 (readFile): get rid of pit argument.
33 * CutAndPaste.C (pasteSelectionHelper): use a ParagraphList and a
34 textclass instead of a selection index.
35 (pasteParagraphList): new function.
36 (pasteSelection): make it a wrapper around pasteParagraphList.
38 * BufferView_pimpl.C (MenuInsertLyXFile): use
39 cap::pasteParagraphList to insert a file.
41 2005-11-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
43 * buffer_funcs.C (bufferErrors): prevent endless loop (bug 2121)
45 2005-11-17 Michael Gerz <michael.gerz@teststep.org>
47 * exporter.C: fix typo in text message
49 2005-11-28 Georg Baum <Georg.Baum@post.rwth-aachen.de>
51 * text2.C (setLayout): move recUndo call to other setLayout method
52 * tabular.C (toggleFixedWidth): new, handle cell width changes
53 * tabular.C (setColumnPWidth): move some code from insettabular.C here
54 and use toggleFixedWidth
55 * tabular.C (setMColumnPWidth): ditto
57 2005-11-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
59 * paragraph.C (asString): use new inset->textString method (fix
62 2005-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
64 * CutAndPaste.C (numberOfSelections): new helper function.
66 * lyxfunc.C (getStatus): remove support for LFUN_COPY and LFUN_CUT.
68 * text3.C (getStatus): move code for LFUN_CUT and LFUN_COPY from
69 LyXFunc::getStatus; implement LFUN_PASTE.
71 2005-11-17 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
73 * dociterator.[Ch]: new member realInset() that returns the cell
74 for tabulars and the inset for the rest (bug 1952).
75 * undo.C (textUndoOrRedo): use realInset when resetting insetOwner
78 2005-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
80 * text.C (leftMargin): honor the NextNoIndent tag in layouts.
82 2005-11-17 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
86 * text3.C: InsetBase::forceDefaultParagraphs now takes a cell as
89 2005-11-07 Martin Vermeer <martin.vermeer@hut.fi>
91 * text.C (redoParagraph): Fix bug 1966: cursor doesn't go to next
92 line after typing ctrl-enter
94 2005-11-10 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
96 * bufferview_funcs.C (coordOffset): fix the fix for bug 2094, as
97 math insets do not return a proper editable() state yet (bug 2124).
99 2005-11-07 Martin Vermeer <martin.vermeer@hut.fi>
101 * BufferView_pimpl.[Ch]: Fix bug 1814: better scroll behaviour for
102 docs containing very large paragraphs.
104 2005-11-07 Martin Vermeer <martin.vermeer@hut.fi>
106 * cursor.C (selectionBegin, selectionEnd):
107 * text.C (drawSelection): Fix bug 2115: assertion when anchor and
108 cursor at different depths.
110 2005-11-03 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
112 * bufferview_funcs.C (coordOffset): do not call cursorPos
113 for collapsed collapsables (fix bug 2094).
115 2005-11-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
117 * paragraph.C (fontSpan): make sure that the FontSpan does not
118 span across beginOfBody (bug 1947).
120 2005-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
122 * lyxlength.h: undefine macros that clash with solaris/x86 (bug 992)
124 2005-11-03 Michael Gerz <michael.gerz@teststep.org>
126 * messages.C: fix crash and localization on MinGW/Windows platform
128 2005-11-02 Angus Leeming <leeming@lyx.org>
131 * lyxtextclass.C: trivial fixes to some MSVS warnings.
133 2005-10-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
135 * text3.C (getStatus): re-enable disabled code. (bug 2081)
137 * BranchList.h (empty): constify.
139 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
141 * text3.C (getStatus):
142 * MenuBackend.C (expandBranches): take the branch list from the
143 master document (bug 2092).
145 * MenuBackend.C (expandBranches):
146 * bufferparams.C (writeFile): use BranchList type.
148 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
150 * text3.C (dispatch, getStatus):
151 * LyXAction.C (init):
152 * lfuns.h: get rid of LFUN_KEYMAP_TOGGLE
154 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
156 * toc.C (getTocList): skip paragraphs which toclevel is NOT_IN_TOC.
158 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
160 * text.C (insertChar): do not reset boundary (bug 2061)
162 2005-10-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
164 * dociterator.C (updateInsets): new method. Updates the inset_
165 cache of all the slices of the iterator.
167 * text2.C (deleteEmptyParagraphMechanism): compare also containing
168 insets when comparing pit/pos; pass the right cursor to
169 recordUndo; when a paragraph has been deleted, compare `old.top()' to
170 the right cursor slice of `cur'; use updateInsets on cur to make
171 sure that the inset caches are correct; general cleanup.
173 2005-10-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
175 * text3.C (dispatch): LFUN_NEXT_INSET_TOGGLE: first try to
176 dispatch LFUN_INSET_TOGGLE to inset at cursor, and then to
177 containg inset. If this does not work, the same command will be
178 sent to other insets down the queue by LCursor::dispatch. (bug 2066)
180 * lyxfunc.C (dispatch): make sure the cursor is correct when doing
183 2005-10-20 Georg Baum <Georg.Baum@post.rwth-aachen.de>
185 * lyxtextclass.C (Read): convert layout file if the format is wrong
186 * lyxtextclass.C (layout2layout): new, needed for the above
188 2005-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
190 * messages.C: do not forget to include <cerrno>.
192 2005-10-12 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
194 * dociterator.h (StableDocIterator): add access to pos().
195 * undo.C (samePar): new method to check if two
196 iterators are in the same paragraph
197 * undo.C (recordUndo): check for samePar instead of cell identity
198 (which includes pos() and is too strict) (fixes bug 2097)
200 2005-10-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
202 * text.C (setCursorFromCoordinates): return a bool telling whether
205 * text3.C (cursorPrevious): update if needed after
206 setCursorFromCoordinates (when dEPM triggered).
208 * text2.C (cursorDown, cursorUp): make sure to reset the anchor
209 (otherwise the anchor may be completely wrong and make dEPM assert).
211 2005-10-12 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
213 * buffer.C: version upgrade to 245.
214 * bufferparams.C: remove \quotes_times (bug 2090).
215 * text3.C (doDispatch): LFUN_QUOTE_INSERT has to output double
216 quotation marks as default.
218 2005-10-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
220 * CutAndPaste.C (nrOfParagraphs): remove (unused)
221 * CutAndPaste.C (cutSelection): Remove debug message
222 * CutAndPaste.C (cutSelection): Use the real cursor in mathed, record
223 undo information and only copy if this is a real cut
224 * CutAndPaste.C (pasteSelection): remove superflous cur.resetAnchor()
226 * CutAndPaste.C (pasteSelection): remove now superflous mathed warning
228 * CutAndPaste.C (eraseSelection): prevent cursor corruption
229 * CutAndPaste.C (grabAndEraseSelection, selDel): remove now
230 superflous cur.selection() setting
231 * CutAndPaste.[Ch] (grabSelection): take a const cursor
232 * cursor.C (selectionAsString): implement mathed case ((bug 2059)
234 2005-10-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
236 * text3.C (mathDispatch, dispatch): Dont' record undo steps that don't
239 2005-10-11 Martin Vermeer <martin.vermeer@hut.fi>
241 * BufferView_pimpl.C: comment layout change
243 2005-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
247 * lyxfunc.C: reimplement LFUN_INSERT_CITATION, which is needed
248 by bibliography managers (bug 2071).
250 2005-10-07 Martin Vermeer <martin.vermeer@hut.fi>
252 * BufferView_pimpl.C (update): choose arguments to update call so
253 that single-par update works most times
254 * text3.C (dispatch): carefully tune updating separately for
255 whole-screen and current-paragraph
256 * rowpainter.C (paintText): 1) replace painting by caching for
257 the two extra paragraphs, because we can;
258 2) suppress greying out of areas below/above drawn area in case of
260 * lyxfunc.C (dispatch): remove superfluous update
261 * LyXAction.[Ch]: introduce SingleParUpdate
263 2005-10-05 Angus Leeming <leeming@lyx.org>
265 * BufferView_pimpl.C (loadLyXFile): ensure that a pointer is
266 always initialised before use.
268 * text.C (setHeightOfRow): squash warning about comparison
269 of signed and unsigned types.
271 2005-10-03 Martin Vermeer <martin.vermeer@hut.fi>
273 * text.C (cursorX): two fixes involving RtL text drawing
275 2005-10-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
277 * cursor.C (erase): fix 'clever' UI hack. It was activated for all
278 items, not only large ones (part of bug 2057)
280 2005-10-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
282 * text3.C (dispatch): when invoking LFUN_MATH_MACRO with no type
283 argument, use "newcommand".
285 2005-09-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
287 * cursor.C (setSelection): do not open collapsable insets;
288 the insets do by themselves now (autoopen).
290 2005-09-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
292 * buffer.C: format is up to 244.
294 2005-09-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
296 * text.C (redoParagraph): fix calcultation of inset width wrt
297 leftMargin (bug 1957).
299 * text3.C (dispatch): leave inset to the right when hitting ESC
302 2005-09-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
307 * messages.C: include <boost/current_function.hpp>
309 2005-09-12 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
311 * lyxfunc.C (sendDispatchMessage): do not update menubar/toolbar
312 when command is internal. (bug 1941)
314 2005-09-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
316 * text2.C (cursorRight): do not honor boundary when at the end of
317 a paragraph. (bug 2010 again)
319 2005-09-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
321 * cursor.C (paste): do nothing if `data' is empty. (bug 2033)
323 2005-09-19 Martin Vermeer <martin.vermeer@hut.fi>
325 * rowpainter.C (paintText): fix RtL space width display bug (2029)
327 2005-09-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
329 * text2.C (setCursor): remove the unused 'boundary' parameter for
330 the CursorSlice version; adapt the LCursor version.
333 * paragraph_pimpl.C (markErased):
334 * cursor.C (bruteFind2, bruteFond3): fix warnings.
336 2005-09-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
338 * rowpainter.C (paintFirst): use a 'labeladdon' for TOP_* labels,
339 as is already done for "chapter".
341 2005-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
343 * lyxfunc.C (dispatch): LFUN_TEXTCLASS_APPLY: actually set the
344 textclass; do not record undo if nothing is changed.
346 2005-09-16 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
348 * text3.C (dispatch): recordUndo in LFUN_PASTESELECTION (#2011).
350 2005-09-14 Michael Gerz <michael.gerz@teststep.org>
352 * lyxfunc.C: update display after LFUN_ALL_INSETS_TOGGLE
354 2005-09-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
356 * BufferView_pimpl.C (setBuffer): when one wants to set the layout
357 combox, it is necessary to search for the topmost paragraph in the
358 cursor stack (bug 1926)
360 2005-09-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
362 * text2.C (cursorEnd, cursorRight): do not set boundary to true at
363 end of paragraph. (bug 2010)
365 2005-09-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
367 * text.C (leftMargin): check for inInset == 0
369 2005-09-10 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
371 * text.C (leftMargin): test for insetbase's new neverIndent()
372 bool instead of listing each and every inset that does not
373 wish par indendation.
375 2005-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
377 * buffer_funcs.C (setCounter): put the code to compute enum label
378 here (where it belongs).
380 * counters.C (enumLabel): move code to buffer_funcs.C.
382 2005-09-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
384 * outputparams.[Ch]: store local_font instead of local_language
385 * paragraph.C (simpleTeXOnePar): adapt to the change above
387 2005-09-08 Martin Vermeer <martin.vermeer@hut.fi>
390 * counters.[Ch]: clean up special code for Hebrew.
392 2005-09-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
394 * lyxfunc.C (lookupChange): fix code when cursor depth is greater
397 2005-09-08 Angus Leeming <leeming@lyx.org>
400 * lyxrc.C: correct grammar describing invocation of the
403 2005-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
405 * text.C (read): remove unused variable.
406 (readParToken): remove static Change variable (never good in
407 recursive settings...); add it as a parameter instead.
409 * paragraph_pimpl.C (acceptChange): make debug info conditional.
411 * metricsinfo.C (PainterInfo): add new member erased_.
413 * rowpainter.C (RowPainter): add erased_ member, initialized from
415 (paintInset): pass erased_ to Inset::draw.
417 * lyxfunc.C (lookupChange): new function. Tells whether change
418 tracking is disabled at a given postion.
419 (getStatus): disable some actions when in deleted text with change
422 2005-08-03 John Levon <levon@movementarian.org>
424 * tabular.C (appendColumn, setMultiColumn): adapt to change to
427 * paragraph_pimpl.C (markErased): add bool argument and handle it.
428 Also make sure to mark insets recursively.
429 (rejectChange, erase): be recursive
431 * paragraph.C (markErased): add bool argument.
432 2005-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
434 * lyxfind.C (findNextChange): tiny cleanup.
436 * BufferView_pimpl.C (trackChanges): avoid crash when stopping
437 change tracking with the cursor in an inset; make sure the first
438 change is not skipped.
440 2005-09-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
442 * CutAndPaste.[Ch]: new methods dirtyTabularStack and
443 tabularStackDirty to work around bug 1919 (tabular needs
444 to know whether its own cell paste buffer or the one of
446 * CutAndPaste.C: mark tabular_stack_ clean after copy.
448 2005-08-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
450 * text2.C (cursorEnd): check for empty text (fixes bug 1998)
452 2005-08-19 Lars Gullik Bjønnes <larsbj@gullik.net>
454 * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
455 use old deleteion algorithm when changetracking is on.
457 2005-08-18 Martin Vermeer <martin.vermeer@hut.fi>
459 * messages.C (get): add debug output.
461 2005-08-02 Martin Vermeer <martin.vermeer@hut.fi>
463 * text.C (cursorX): fix bug 1965: cursor movement at
464 line end broken in RtL.
465 (drawSelection): fix bug 1970: drawing of single-line
466 selection broken for RtL.
468 2005-07-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
472 * dociterator.h (clear, push_back, pop_back): change from
475 * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
476 and changed to just return the value of the item depth; take a
477 ParIterator as argument; take the itemdepth at outer nesting level
478 in account if necessary; cleanup and comment the code.
479 (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
480 and changed to just return true if reset is needed; take a
481 ParIterator as argument; cleanup and comment the code.
482 (setCounter): adapt to above changes.
484 2005-07-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
486 * text3.C (dispatch): make debug message optional
488 2005-08-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
490 * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
493 2005-08-02 Martin Vermeer <martin.vermeer@hut.fi>
495 * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
497 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
499 * text.C (insertChar):
500 * text2.C (deleteEmptyParagraphMechanism): take care whether
501 a blank has been deleted (in change tracking mode) (bug 1254).
503 2005-07-20 John Levon <levon@movementarian.org>
505 * text2.C (insertStringAsLines): remove old dubious code,
508 2005-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
510 * MenuBackend.C (expandToc): use Floating::listName() as title of
513 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
515 * toc.[Ch]: Do not use translatable strings (bug 1870).
517 2005-07-20 John Levon <levon@movementarian.org>
519 * tabular.C: fix 1748 - setting multicolumn adds
520 left line to the first cell
522 2005-07-19 Lars Gullik Bjønnes <larsbj@lyx.org>
525 * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
528 2005-07-18 Lars Gullik Bjønnes <larsbj@lyx.org>
530 * messages.C: supress some lyxerr messages
532 2005-07-18 Juergen Vigna <jug@lyx.org>
534 * text.C (drawSelection): honor boundary when asking for cursorX.
536 2005-07-17 José Matos <jamatos@fc.up.pt>
538 * tabular.C (recalculateMulticolumns): fix handling of one column
541 2005-07-17 Juergen Vigna <jug@lyx.org>
543 * text.C (Delete, backspace): fixed so that paragraph with the
544 same layout can be merged by Delete/Backspace.
546 2005-07-17 Michael Schmitt <michael.schmitt@teststep.org>
548 * text.C (readParToken): fix spelling.
550 2005-07-17 Martin Vermeer <martin.vermeer@hut.fi>
552 * text2.C: fix counter update for DEPM problem reported by
555 2005-07-17 Juergen Vigna <jug@lyx.org>
557 * BufferView_pimpl.C (setBuffer): save/restore the
558 cursor/selection when switching buffers
561 * buffer.C (saveCursor): add saveDocumentIterators to save the
562 cursor when switching buffer.
564 2005-07-17 Michael Schmitt <michqel.schmitt@teststep.org>
567 * buffer.C: clarify message
569 2005-07-17 Lars Gullik Bjønnes <larsbj@lyx.org>
571 * dociterator.C (DocIterator): fix initialization order
573 2005-07-17 Juergen Vigna <jug@lyx.org>
575 * text2.C (cursorHome):
576 * text.C (drawSelection, cursorX):
577 * dociterator.C (textRow): add boundary to getRow() call
579 * paragraph.C (getRow): implementation of below
581 * paragraph.h: add parameter boundary for getRow() function
583 2005-07-17 José Matos <jamatos@fc.up.pt>
587 * tex-strings.[Ch]: new file format, remove support for a4.sty,
588 a4wide.sty and a4widemargins.
590 2005-07-17 Juergen Vigna <jug@lyx.org>
592 * text2.C (cursorLeft): fix one of error
594 2005-07-17 Juergen Vigna <jug@lyx.org>
596 * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
598 more fixes for boundary handling
600 * text3.C (dispatch): don't reset cursor if boundary has changed
603 2005-07-16 Juergen Vigna <jug@lyx.org>
605 * text2.C (getColumnNearX): hopefully got it right now,
606 check if we are on column 0 for special case.
608 2005-07-16 Juergen Vigna <jug@lyx.org>
610 * text2.C (getColumnNearX): handle special case Newline Inset
612 * text.C (singleWidth): Just remove bogus check
614 2005-07-16 Michael Schmitt <michael.schmitt@teststep.org>
616 * funcrequest.C (split): avoid reading uninitialized char c
618 2005-07-16 José Matos <jamatos@fc.up.pt>
624 * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
625 single papersize variable.
627 2005-07-16 Juergen Vigna <jug@lyx.org>
629 * text3.C (dispatch): honor boundary when checking if a cursor
630 movement has been done
632 * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown)
633 (setCursor, setCursorIntern): fix cursor movement with boundary
635 2005-07-16 Juergen Vigna <jug@lyx.org>
637 * text.C (currentState): output the actual Boundary
639 2005-07-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
641 * factory.C (createInset): fix bad logic for tabular creation
643 2005-07-16 Lars Gullik Bjønnes <larsbj@lyx.org>
645 * lyx_main.C (init): change some reLyX reference to tex2lyx
647 2005-07-16 Juergen Vigna <jug@lyx.org>
649 * dociterator.C (DocIterator): initialize boundary
651 2005-07-16 Juergen Vigna <jug@lyx.org>
653 * text2.C (getColumnNearX): Consider rows without trailing blank.
655 2005-07-16 André Pönitz <poenitz@gmx.net>
657 * lyxfont.h: Change order of declarations to give the compiler
658 a better chance to inline things
660 * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
661 questions on unsaved docs for better scritability
663 2005-07-16 André Pönitz <poenitz@gmx.net>
665 * paragraph.h (getChar): remove asserts as the same kind of security
666 can be achieved by using a suitable standard library implementation
667 and the function was in the critical path (25.9% in profiler)
669 2005-07-16 Juergen Vigna <jug@lyx.org>
671 * cursor.C (bruteFind2):
672 * bufferview_funcs.C (coordOffset):
673 * text.C (cursorX,cursorY): Handle cursor position after last char
674 in row before a inset which uses a whole row.
676 2005-07-15 José Matos <jamatos@lyx.org>
678 * output_plaintext.[Ch] (writeFileAscii): control reference title
680 (asciiParagraph): noparbreak was already deal and was incorrectly
683 2005-07-15 Juergen Vigna <jug@lyx.org>
685 * lyxfunc.C (dispatch): save and restore the cursor after a
688 2005-07-15 Lars Gullik Bjønnes <lgb@tandberg.net>
690 * text.C (backspace): bug 806 for empty keepempty paragraphs we
691 change the layout to default before letting DEPM do its thing.
693 * paragraph_funcs.C (breakParagraph): dont reset the layout on
696 * text.C (setCursorFromCoordinates): add a debug statement
698 * text2.C (getColumnNearX): bug 1825 make sure that we don't
699 return a pos that is not on the row
701 * output_latex.C (TeXDeeper): get rid of potential dereferencing
702 of past the end iterator
704 2005-07-14 André Pönitz <poenitz@gmx.net>
706 * undo.C (recordUndoFullBuffer): implement undo for
709 2005-07-14 André Pönitz <poenitz@gmx.net>
711 * cursor.C (setSelection): open insets when selection is set there
712 to avoid crashs with cold coord cache
714 2005-07-14 André Pönitz <poenitz@gmx.net>
716 * trans_mgr.C (insert): move cursor to the right after inserting
719 2005-07-14 Lars Gullik Bjønnes <larsbj@lyx.org>
721 * BufferView_pimpl.C (update): dampen some of the debug blabbering
722 * factory.C (readInset): ditto
723 * text.C, text2.C: ditto
725 2005-06-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
727 * buffer.C: format incremented to 242. There is no file format per
728 se, but the "frenchb" language has been removed from lib/language
729 and has to be translated to "french" by lyx2lyx.
731 2005-07-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
733 * cursor_slice.h, dociterator.h: add some documentation
734 * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
736 2005-07-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
738 * text.C (leftMargin): do not add identation to display() style
739 insets, because they are always centered (bug 1293).
741 2005-07-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
743 * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
744 formatted_time methods in support/lyxtime.
746 2005-07-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
748 * toc.[Ch]: new method getGuiName, which is used by the frontends
749 to set the toc combo (fixes bug 1870). Make TOC string translatable.
751 2005-07-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
753 * dociterator.[Ch]: implement operator==(StableDocIterator const &,
754 StableDocIterator const &)
755 * undo.C (recordUndo): use the above instead of cell.size() comparison
756 (fixes bug 1808; instructed by Andr�.
758 2005-06-29 Martin Vermeer <martin.vermeer@hut.fi>
761 * dociterator.h: Fix the assert when copying rows/cols in math
763 2005-06-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
765 * BufferView_pimpl.C:
767 * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
769 * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
770 (findInset): new functions, refactored from goto Inset that return
771 the position of a certain inset without setting the buffer's cursor
773 (gotoInset): rewrite to call findInset and then set the cursor
776 2005-06-16 Angus Leeming <leeming@lyx.org>
778 * lyxrc.C (output, read): wrap all input and output of paths with
779 calls to os::internal_path and os::external_path, respectively.
780 (output): wrap bind_file inside quotes.
782 * format.C (view): enable the viewer to use the '$$s' placeholder.
784 2005-06-16 Georg Baum <Georg.Baum@post.rwth-aachen.de>
786 * LColor.[Ch] (getFromLaTeXName): new
788 2005-06-16 Martin Vermeer <martin.vermeer@hut.fi>
790 * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
792 2005-06-14 Angus Leeming <leeming@lyx.org>
794 * lyx_main.C (init): ensure that the LyX binary dir is the first
795 element in the PATH on non-POSIX builds.
797 2005-06-11 Georg Baum <Georg.Baum@post.rwth-aachen.de>
799 * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
801 2005-06-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
803 * rowpainter.C (paintInset, paintHebrewComposeChar)
804 (paintArabicComposeChar, paintChars): add a LyXFont argument.
805 (paintChars): use getFontSpan to reduce calls to getFont to a
806 minimum; use Paragraph::lookupChange instead of isXXXText.
807 (paintForeignMark): rename LyXFont argument.
808 (paintFromPos): pass a LyXFont object to the various paintXXX
811 * FontIterator.C (FontIterator, operator++): use
812 Paragraph::getFontSpan
814 * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
815 version that returns the font span as a pair.
817 2005-06-09 Angus Leeming <leeming@lyx.org>
819 * converter.C (convert): Don't forget "outfile = real_outfile" as
820 the final step in a conversion where the input and output file names
821 are the same. Otherwise, future conversion steps won't work...
823 2005-06-09 Angus Leeming <leeming@lyx.org>
825 * lyxsocket.C: remove stub code as it isn't needed by
826 MinGW/MinSYS anyway. Let's see if the MSVC people scream...
828 2005-06-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
830 * lyx_main.C (parse_execute): Fix last fix: is_gui = false
831 effectively disabled -x
833 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
835 * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
836 when it actually makes sense.
838 2005-06-06 Martin Vermeer <martin.vermeer@hut.fi>
840 * BufferView_pimpl.C: revert to showCursor in connection with
841 Lars's front-end stack
843 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
845 * text.C (redoParagraph): move cursor right after a bibitem
848 * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
850 2005-06-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
852 * buffer_funcs.C (bufferErrors): fix computation of the end of an
855 2005-05-31 Martin Vermeer <martin.vermeer@hut.fi>
857 * BufferView.[Ch] (update):
858 * BufferView_pimpl.[Ch] (update, metrics):
859 * dimension.h (operator==):
860 * lyxfunc.C (dispatch):
861 * metricsinfo.h (ViewMetricsInfo):
862 * rowpainter.C (paintText):
864 * text.C (redoParagraph):
865 * text3.C (dispatch): Make LyX only repaint current paragraph in
866 case of character insert --> speedup. Also fix cursor draw
869 2005-05-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
871 * bufferview_funcs.C (gotoInset): fix the wrap-around code to
872 avoid a crash (bug 1891)
874 2005-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
878 * text2.C (getStringToIndex): constify cur argument.
880 * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
881 argument has been given
882 (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
883 try to invoke LFUN_INSET_APPLY).
885 * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
886 if no inset was created by doInsertInset
887 (doInsertInset): return true if an inset has been inserted.
889 2005-05-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
891 * vspace.C (asGUIName): new method. A version of the space
892 suitable for showing on screen.
894 2005-05-20 Michael Schmitt <michael.schmitt@teststep.org>
897 * lyxrc.C: rename "ASCII" to "Plain Text"
899 2005-05-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
901 * buffer_funcs.C (expandLabel): take a Buffer as argument;
902 translate the labelstring.
903 (setCounter): translate labelstring as needed.
905 * output_docbook.C (makeCommand): fix expandLabel invokation
907 2005-05-14 Michael Schmitt <michael.schmitt@teststep.org>
909 * BufferView.C: fix dialog title
911 2005-05-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
913 * lyx_main.C (priv_exec): fix logic error with help from Angus
914 * lyx_main.C (parse_execute): set is_gui = false and remove now
915 obsolete comment about a segfault
917 2005-05-18 Angus Leeming <leeming@lyx.org>
919 * buffer.C (readFile): Quote all file names passed to lyx2lyx.
921 2005-05-12 Martin Vermeer <martin.vermeer@hut.fi>
923 * tabular.[hC]: added setCellInset to fix tabular paste.
925 2005-05-11 Lars Gullik Bjønnes <larsbj@gullik.net>
927 * buffer.C (save): check if destination is writable before trying
930 2005-05-11 Martin Vermeer <martin.vermeer@hut.fi>
932 * BufferView_pimpl.C (update): fix processEvents -caused update
935 2005-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
937 * buffer_funcs.C (setCounter): fix test for numbering of
940 * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
941 depth correctly; use optional argument when it exists
943 * lyxtextclass.C: remove unused MaxCounterTags enum
944 (Read): compute min_toclevel_ and max_toclevel_ after reading class.
945 (max_toclevel, min_toclevel): new methods.
947 * MenuBackend.C (expandToc2): fix case where depth is smaller than
948 the smallest depth in toc.
950 * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
951 layouts that should not appear in a table of contents.
953 2005-05-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
955 * cursor.h (undispatched, noUpdate): add comments from Andr�
956 2005-05-07 Michael Schmitt <michael.schmitt@teststep.org>
960 * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
962 2005-05-07 André Pönitz <poenitz@gmx.net>
964 * cursor.[Ch] (leaveInset): new function
966 2005-05-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
968 * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
970 2005-05-04 Angus Leeming <leeming@lyx.org>
972 * lyxfunc.C (getStatus): disable the spell checker dialog if
973 none of USE_[AIP]SPELL are defined.
975 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
977 * tabular.C (setWidthOfCell): remove obsolete comment
979 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
981 * paragraph.C (bibitem):
982 * buffer_funcs.C (setCounter):
983 * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
985 2005-05-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
987 * text3.C (getStatus): immediately return after setOnOff
989 * rowpainter.C: fix drawing of appendix start
991 2005-05-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
993 * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
994 SwitchBetweenClasses and remove the unused return value.
995 Handle character styles, too
997 2005-05-03 Martin Vermeer <martin.vermeer@hut.fi>
999 * factory.C (createInset): handle undefined character styles
1001 2005-05-02 Angus Leeming <leeming@lyx.org>
1003 * buffer.C: protect the #include of utime.h with a preprocessor
1006 2005-05-02 Angus Leeming <leeming@lyx.org>
1008 * lyx_cb.C: artificially define fork() on Windows as a no-op failing
1009 function so that auto-saving works, albeit in a blocking manner.
1011 * Makefile.am: make compilation of the client sub directory, of
1012 aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
1013 on conditionals set at configure time.
1015 * SpellBase.[Ch]: no longer an abstract base class. Instead,
1016 it can be compiled in its own right but has no-op functionality.
1018 * aspell.C, pspell.C: remove preprocessor guards. The files should
1019 be compiled only if the necessary functionality exists.
1021 * lyxserver.C, lyxsocket.C: disable on Windows.
1023 2005-05-01 Martin Vermeer <martin.vermeer@hut.fi>
1025 * text.C (leftMargin): Fix the parindent use bug (1764)
1028 2005-04-28 Michael Schmitt <michael.schmitt@teststep.org>
1030 * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
1033 2005-04-25 Angus Leeming <leeming@lyx.org>
1041 include <config.h> in .C files, not .h ones.
1043 protect headers inside preprocessor guards.
1045 2005-04-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1047 * FuncStatus.h (StatusCodes): document
1049 2005-04-21 André Pönitz <poenitz@gmx.net>
1051 * FuncStatus.h (enabled, onoff): document
1053 2005-04-19 Angus Leeming <leeming@lyx.org>
1055 * BufferView_pimpl.C (cursorToggle): no longer test whether
1056 any child processes have been reaped before calling
1057 handleCompletedProcesses().
1059 2005-04-19 Martin Vermeer <martin.vermeer@hut.fi>
1061 * text3.C (dispatch): fix, finally fix, the language problem in
1062 new lyxtexts, without disabling on-the-fly font changes (Helge's
1065 2005-04-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1067 * text3.C (dispatch): set cursor on double/triple click events
1070 2005-04-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1072 * lyxfunc.C (actOnUpdatedPrefs): avoid warning
1073 (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
1075 * rowpainter.C (paintFirst): simplify the code a little bit. In
1076 particular, remove the test for secnumdepth.
1077 * text.C (setHeightOfRow): only allocate space for chapter number
1078 when updateCounters provided an actual label, instead of looking
1079 at secnumdepth directly.
1081 * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
1083 * buffer_funcs.C (setCounter): only number LABEL_COUNTER
1084 paragraphs when secnumdepth is large enough or, for environments,
1085 when they are not the first in a sequence.
1087 2005-04-17 Angus Leeming <leeming@lyx.org>
1089 * buffer.C (makeLaTeXFile): replace code to manipulate a path
1090 containing space and '~' characters with a call to latex_path().
1092 2005-04-17 Angus Leeming <leeming@lyx.org>
1094 * converter.C (convert): protect all args of convertDefault.sh
1097 2005-04-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1099 * text3.C (dispatch): change the layout to "Caption" after inserting
1102 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
1104 * text3.C (dispatch): fix language problem in newly created
1105 textinsets (and main text) in non-english docs
1107 2005-04-13 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1109 * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
1110 * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
1111 * text3.C (getStatus): disable LFUN_INSET_MODIFY
1113 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
1117 * text2.C (getFont):
1118 * rowpainter.C (getFont): Fix metrics bug introduced by inset
1121 2005-04-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1123 * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
1124 output of \item arguments without trailing text.
1126 2005-04-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1128 * FontIterator.C (operator*): avoid a copy of the font.
1130 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
1132 * rowpainter.C (getFont): fix language bug from previous fix
1134 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
1136 * rowpainter.C (RowPainter, getFont): fix font inside inset
1139 2005-04-06 Martin Vermeer <martin.vermeer@hut.fi>
1141 * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
1142 preventing inserted font, deco, delim insets jumping to start of
1145 2005-03-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1147 * lyxfunc.C (dispatch): translate message before sending it to the
1150 2005-03-29 Angus Leeming <leeming@lyx.org>
1152 * lyx_main.C (priv_exec): call os::internal_path on each file passed
1153 to LyX on the command line.
1155 2005-03-25 Stephan Witt <stephan.witt@beusen.de>
1157 * vc-backend.C: use QuoteName to protect file names wherever
1160 2005-03-27 Martin Vermeer <martin.vermeer@hut.fi>
1163 * BranchList.h: fix bugs 1844,1845: document settings don't
1166 2005-03-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1168 * lyxrc.C (setDefaults, read, output, getDescription): add support
1169 for tex_allows_spaces.
1171 * exporter.C (Export): allows files in directory containing spaces
1172 if tex_allows_spaces is true.
1174 * buffer.C (makeLaTeXFile): if the document path contains spaces,
1175 output it in double quotes.
1177 2005-03-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1179 * rowpainter.C: use default text height for drawing change tracker
1182 2005-03-21 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1184 * lyx_main.C: fix binding of tabulator key (especially S-Tab).
1186 2005-03-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1188 * lyx_main.C (queryUserLyXDir): fix logic when LyX support
1189 directory is missing.
1191 2005-03-11 Martin Vermeer <martin.vermeer@hut.fi>
1193 * text2.C: fixed the fix, extended to other case.
1195 2005-03-08 Martin Vermeer <martin.vermeer@hut.fi>
1197 * text2.C: fix for cursor up/down stuck in math [bug 1792]
1199 2005-03-07 Alfredo Braunstein <abraunst@lyx.org>
1201 * text2.C (cursorUp): get rid of a crash
1202 * text.C (x2pos): add an assert
1204 2005-03-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1206 * lyxfunc.C (getStatus): fix warning when assertions are disabled
1210 * dociterator.C: include <boost/current_function.hpp>, which is
1211 needed when assertions are disabled.
1213 2005-03-05 Johnathan Burchill <jkerrb@users.sourceforge.net>
1215 * text2.C: fix for stuck cursor when traversing two
1216 consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
1218 2005-02-25 Andreas Vox <avox@arcor.de>
1220 * output_docbook.C (makeParagraph): suppress trailing newline
1221 after a run of paragraphs
1223 2005-02-28 Johnathan Burchill <jkerrb@users.sourceforge.net>
1225 * paragraph.C: fix for confused change tracker when pasting
1226 text that begins with a lineseparator. [bug 1827]
1227 (setChange(0, Change::INSERTED);)
1229 * paragraph_funcs.C: fix for lost changes on triple-paste
1230 in change tracking mode [bug 1827] (par.setChange()).
1232 2005-02-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1234 * text2.C (updateCounters, setCounter, expandLabel): move to
1237 * buffer_funcs.C (updateCounters): turn into a free standing
1238 function and add a buffer parameter. Remove dead code for tracking
1240 (setCounter): change into a free-standing function which gets a
1241 dociterator as argument. Use this iterator to fix captions in a
1242 simple way. When no float is found above the caption, use the
1243 labelstring of the caption layout as default.
1245 * text.C (breakParagraph, backspace):
1246 * text2.C (init, setLayout, changeDepth):
1247 * text3.C (dispatch):
1248 * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
1251 * dociterator.C (forwardPar): make it much faster by calling
1252 forwardPos() only when really necessary.
1254 * output_docbook.C (makeCommand): adapt to expandLabel move.
1256 * cursor.C: remove unused variable
1258 2005-02-24 Johnathan Burchill <jkerrb@users.sourceforge.net>
1260 * paragraph_funcs.C: fix crash when pasting insets in change
1261 tracking mode [bug 1277] (honour change type in moveItem).
1263 2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1265 * LaTeX.C (scanLogFile): recognize pdfTeX warnings
1267 2005-02-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1269 * BufferView.C (setCursor): change to use a DocIterator.
1270 (gotoLabel): use BufferView::setCursor (other part of bug 781).
1271 (putSelectionAt): adapt to BufferView::setCursor change.
1273 * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
1274 moved here from LyXText and rewritten to use proper cursor
1275 methods. Fixes bug 1787, 616 and 835.
1277 * BufferView_pimpl.C (restorePosition): set the cursor correctly
1278 when inside an inset (part of bug 781).
1279 (dispatch): adapt to change of BufferView::setCursor.
1280 (getStatus, dispatch): handle LFUN_GOTOERROR,
1281 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1283 * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
1284 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1285 * text3.C (gotoNextInset, gotoInset): removed.
1287 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1289 * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
1291 2005-02-15 Angus Leeming <leeming@lyx.org>
1293 * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
1294 can be used meaningfully in a comparison.
1296 2005-02-13 André Pönitz <poenitz@gmx.net>
1298 * bufferview_funcs.C (coordOffset): improve cursor drawing
1300 2005-02-13 André Pönitz <poenitz@gmx.net>
1302 * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
1303 * Cursor.C (dispatch): use fixIfBroken
1304 * lyxfunc.C (getStatus): use fixIfBroken
1306 2005-02-15 Angus Leeming <leeming@lyx.org>
1308 * lyx_main.C (error_handler):
1310 * lyxrc.C (setDefaults):
1312 #include "environment.h".
1314 * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
1316 2005-02-15 Angus Leeming <leeming@lyx.org>
1318 * lyxserver.C (startPipe): squash MSVC warning "local variable
1319 'fd' used without having been initialized".
1321 2005-02-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1323 * BufferView_pimpl.C: revert accidental commit.
1325 2005-02-14 André Pönitz <poenitz@gmx.net>
1327 * dociterator.[Ch]: new member forwardPosNoDescent(),
1328 which doesn't enter nested insets.
1329 * text2.C (setFont): use forwardPosNoDescent() instead
1330 of ForwardPos() (fixes crash on font change).
1332 2005-02-13 Angus Leeming <leeming@lyx.org>
1334 * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
1335 only if lyxrc.path_prefix is not empty.
1337 2005-02-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1339 * bufferparams.C (readGraphicsDriver): prevent crash
1341 2005-02-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1343 * text2.C (setCounter): check for inInset() == 0
1345 2005-02-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1347 * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
1348 but use update() to get correct screen display; use convert
1349 instead of istringstream.
1350 (getStatus): handle LFUN_GOTO_PARAGRAPH
1352 * lyxfunc.C (dispatch, getStatus): do not handle
1353 LFUN_GOTO_PARAGRAPH here.
1355 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1357 * text3.C (dispatch): size() -> depth()
1359 * text2.C: remove some debug output
1361 * paragraph.C: ws changes only
1363 * lyxfunc.C (getStatus): size() -> depth()
1365 * dociterator.h (clear, push_back, pop_back, internalData,
1366 operator[], resize, empty): new functions
1367 Make StableDocIterator and operator== be friends. Don't inherit
1368 from std::vector use a privat class variable slices_ instead.
1371 * dociterator.C: update because of not inheriting from std::vector
1372 anymore. Call explictly to slices_ instead. Use depth() instead of
1373 size() and top() instead of back()
1375 * cursor.C: chagne size() -> depth and back() -> top(). Also
1376 remove some direct operator[](i) calls in favour of foo[i]
1377 (getFont): remove some dead code
1379 * bufferview_funcs.C (coordOffset): size() -> depth()
1381 * buffer.C: ws changes only
1383 * CutAndPaste.C (eraseSelection): back() -> top()
1385 * BufferView_pimpl.C (selectionRequested): back() -> top()
1387 * BufferView.C (setCursor): size() -> depth()
1389 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1391 * text3.C (cursorPrevious): return true if depm changed something
1393 (dispatch): rename sl to oldTopSlice, remove moving use the new
1394 NoUpdate func attrib instead. Make sure that needsUpdate is set
1395 for function that have NoUpdate, but where depm might have changed
1398 * text2.C (cursorLeft): make us return true if depm changed
1400 (cursorRight): ditto
1401 (cursorUpParagraph): ditto
1402 (curosrDownParagraph): ditto
1403 (cursorUp, cursorDown): ditto, make sure to read comments in code
1404 (deleteEmptyParagraphMechanism): remove an assert, also return
1405 true if just a single char was deleted.
1407 * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
1408 cursor that we modify, to avoid modifying an active cursor before
1409 we call setCursor. This allows depm to run. Also return true if
1410 depm deleted something.
1412 * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
1413 cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
1414 cursorDownParagraph, cursorPrevious and cursorNext, return true if
1415 something was changed in the buffer because of them (ie. depm run)
1417 * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
1418 debug messages. Make update by default be false. Make sure that
1419 the result of update is retained throught several calls down to
1422 * LyXAction.h: add a new func_attrib: NoUpdate
1424 * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
1425 LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
1426 LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
1428 (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
1430 2005-02-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1432 * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
1433 bv_->owner(), bv_->buffer() by direct references to the private
1435 (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
1436 (getStatus): isSavedPosition() is in BufferView::Pimpl.
1437 (fitCursor): center() is in BufferView::Pimpl.
1438 (getStatus, trackChanges, dispatch): no need for a temporary buf
1440 (fitCursor, workAreaDispatch): use workarea().workheight()
1442 2005-02-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1444 * CutAndPaste.C (pasteSelectionHelper): fix a crash
1446 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1448 * buffer.C: format up to 241.
1449 * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
1450 break if pasting into ERT
1451 * lyxfunc.C (getStatus): suppress mathpanel and
1452 LFUN_DIALOG_SHOW_NEW_INSET in ERT
1454 2005-02-01 Angus Leeming <leeming@lyx.org>
1456 * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1458 2005-02-01 Angus Leeming <leeming@lyx.org>
1460 * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1461 calling fs::is_directory().
1463 2005-01-31 Angus Leeming <leeming@lyx.org>
1465 * lyx_main.C (priv_exec): specify explicitly the relative location
1466 of the top level build directory when run in-place.
1468 2005-01-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1470 * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1471 LyXText containing the cursor, not the top-level one.
1473 * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1475 (insertStringAsLines): rename par to pit; use temporary variable
1476 par to hold a Paragraph; do not store par.layout() in a variable,
1477 since the pointer may die when breaking paragraphs; pass pars to
1478 breakParagraph() instead of Buffer::paragraphs().
1480 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1482 * lyxlex_pimpl.h: #include <fstream>.
1484 * BufferView.[Ch] (getLyXText): add a const version.
1486 * BufferView_pimpl.C: add debug aids.
1491 * paragraph_funcs.h: add commentary explaining what the class does.
1494 * coordcache.[Ch]: add lots of commentary.
1495 (startUpdating, doneUpdating): debug aids.
1496 (arrays, insets, parPos, getParPos): accessors to private data.
1498 * cursor_slice.[Ch] (text): add a const version.
1499 * dociterator.[Ch] (text, innerText): add const versions.
1501 * lyxtext.h (breakParagraph): change the keep_layout arg to a
1504 * paragraph.C (getRow, pos2ros): add asserts.
1506 * paragraph.h: add commentary. Lots of.
1508 * paragraph.[Ch] (metrucs, draw): removed.
1511 * rowpainter.[Ch]: const-correct changes.
1513 * text.C: various obvious clean-ups. Removal of ancient cruft.
1516 2005-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
1518 * vc-backend.C (find_file): rewrite to use boost.filesystem
1521 * main.C (main): set default name check for boost.filesystem to
1524 * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1527 (actOnUpdatedPrefs): ditto
1529 * lyx_main.C (init): rewrite to use boost.filesystem
1530 (queryUserLyXDir): ditto
1532 * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1533 (getContentsOfAsciiFile): ditto
1535 * lastfiles.C (readFile): rewrite to use boost.filesystem
1537 * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1539 * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1540 (loadLyXFile): ditto
1542 * buffer.C (Buffer): adjust for destroydir
1543 (getLogName): rewrite to use boost.filesystem
1544 (setFileName): ditto
1545 (save): use fs::copy_file (from fs_extras)
1547 * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1549 * LaTeX.C (run): rewrite to use boost.filesystem
1550 (scanAuxFiles): ditto
1551 (handleFoundFile): ditto
1553 2005-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1555 * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1557 * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1559 2005-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1561 * lyxlayout.[Ch]: change some vars from float to double
1563 * buffer.C (readFile): make a local var const
1565 * Several files: use convert<> instead of atoi,strToXXX and friends
1567 2005-01-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1569 * LaTeXFeatures.[Ch]: Add a static list packages_ that
1570 holds the contents of packages.lst. New functions getAvailable
1571 and isAvailable to parse and check that list, resp.
1575 * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1577 * bufferparams.[Ch]: new param output_changes.
1579 * Buffer.C: increase file format to 240.
1580 Use output_changes and isVailable.
1584 * paragraph_pimpl.C: Use output_changes and isVailable.
1586 2005-01-23 Angus Leeming <leeming@lyx.org>
1588 * output_latex.C: #include "insetbibitem.h", rather than
1589 forward declare function bibitemWidest.
1591 2005-01-21 Andreas Vox <vox@isp.uni-luebeck.de>
1593 * lyx_main.C (init): make it compile on the Mac.
1595 2005-01-20 Angus Leeming <leeming@lyx.org>
1597 * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1598 (setLyXMisc): (char string literal) != (char string literal) is
1599 performing a comparison on the addresses. Convert one operand
1600 explicitly to string to guarantee expected behaviour.
1603 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1606 * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1608 * output_plaintext.C: remove unneeded #include gzstream.h.
1610 2005-01-20 Angus Leeming <leeming@lyx.org>
1612 * SpellBase.h: rename some of the elements of the Result enum.
1619 * pspell.C (check): ditto
1621 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1623 * buffer.C: add #include <fstream>.
1625 * lyx_main.C (init): Compile fix.
1627 * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1629 2005-01-20 Angus Leeming <leeming@lyx.org>
1631 * mover.h: change commentary to reflect the changed meaning of
1632 the $$s placeholder.
1634 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1636 * output_linuxdoc.C (linuxdocParagraphs): silence warning
1638 * lyxfind.C (MatchString::operator()): remove bogus semicolon
1640 2005-01-20 Angus Leeming <leeming@lyx.org>
1642 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1643 printing diagnostic data by not dereferecing an iterator past the
1646 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1648 * buffer.C (readHeader): use "&&" rather than "and".
1650 * lyxserver.h (inPipeName, outPipeName): make these const.
1652 2005-01-19 Angus Leeming <leeming@lyx.org>
1654 * lyx_main.C (error_handler, init): protect SIGHUP with
1655 #ifdef SIGHUP guards.
1657 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1659 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1661 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1663 * text.C (setHeightOfRow): add a margin at the top and bottom of
1664 the document (bug 1761)
1666 2005-01-17 Angus Leeming <leeming@lyx.org>
1668 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1669 with "python ". Workaround for a brain-dead Windows.
1671 2005-01-16 Angus Leeming <leeming@lyx.org>
1673 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1674 for MacOSX and Windows to use prependEnvPath.
1675 Strip out the hard-coded block to add elements to the PATH for
1676 MacOSX and replace it with a call to prependEnvPath using the
1677 contents of LyXRC::path_prefix.
1678 (queryUserLyXDir): strip out the code to run reconfigure, instead
1679 returning a boolean indicating the necessity to do so.
1680 (reconfigureUserLyXDir): contains the code to reconfigure the
1681 user support directory. Is now called after the various LyXRC data
1682 files have been read.
1684 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1686 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1688 * converter.[Ch] (convert): take a new parameter try_default. Use
1689 a default converter (imagemagick) if try_default is true.
1691 2005-01-13 Angus Leeming <leeming@lyx.org>
1693 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1694 os::cygwin_path_fix.
1695 (write): output LyXRC::cygwin_path_fix as necessary.
1697 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
1700 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1702 2005-01-12 Angus Leeming <leeming@lyx.org>
1704 * lyx_main.C (init): set the PATH variable to include the
1705 directory containing the LyX binary when running on Mac or Windows.
1707 2005-01-12 Angus Leeming <leeming@lyx.org>
1709 * lyx_main.C (init): remove cruft that purports to set the locale
1710 dir. It doesn't and is not needed anyway.
1712 2005-01-10 Angus Leeming <leeming@lyx.org>
1714 * Makefile.am: remove the lyx_main.C special casing.
1716 * BufferView_pimpl.C:
1722 * messages.C: use support/package.h to provide the paths to the
1723 various directories used by LyX.
1725 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1727 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1728 layout if pasting into an empty paragraph)
1730 2005-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
1732 * tex-accent.C: add <string>
1734 2005-01-06 José Matos <jamatos@lyx.org>
1736 * ParagraphParameters.C (write): put every parameter in its own line.
1737 * paragraph.C (write): reduce number of consecutive empty lines exported.
1738 * buffer.C (LYX_FORMAT): increase file format to 239.
1740 2005-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1742 * everywhere: change support/tostr.h -> support/convert.h
1744 * tabular.C: make all write_attributes templates, tostr -> convert
1746 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1747 (emptyTag): and -> &&, and fix type for ret from getChar
1748 (getFirstWord): fix type for ret from getChar
1749 (onlyText): and -> &&
1750 (simpleDocBookOnePar): and not -> && !, fix type for ret from
1753 * toc.C (goTo, action):
1754 * text3.C (dispatch):
1755 * text.C (currentState):
1756 * tex-accent.C (DoAccent):
1759 * lyxfunc.C (menuNew):
1760 * lyxfinc.C (replace):
1761 * counters.C (laberItem):
1762 * bufferview_funcs.C (font2string):
1763 * bufferparams.C (writeFile):
1764 * buffer.C (readFile):
1766 * MenuBackend.C: tostr -> convert
1768 * LaTeX.C (runMessage): fix format
1769 (scanAuxFiles): tostr -> convert
1771 * BufferView_pimpl.C (savePosition): fix format
1772 (restorePosition): ditto
1775 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1777 * Spacing.[Ch]: New method getValueAsString().
1781 * ParagraphParameters.C:
1784 * text3.C: store/read spacing value as string.
1786 * rowpainter.C: change float value (spacing_val) to double.
1788 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1789 broken custom document spacing).
1791 2005-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
1793 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1794 namespace, also more use of temp references and const
1796 * cursor.[Ch] (getStatus): move to lyxfunc.C
1798 * bufferparams.C: reformat slightly
1800 * bufferview_funcs.C (font2string): constify arg
1806 * buffer_funcs.C: (many funcs): constify arg on function
1807 definitions, also make more local vars const, also add ASSERTS on
1810 * buffer.C (LYX_FORMAT): put const in correct place
1811 (many funcs): constify arg on function definitions, also make
1812 more local vars const
1814 * aspell_local.h: remove "struct" from typdef setup
1816 * aspell.C (check): make word_ok const
1817 (nextMiss): simplify slightly
1820 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1822 * lyxrc.[Ch]: store all float values as strings.
1823 use int (not float) for lyxrc.dpi.
1825 2005-01-04 Angus Leeming <leeming@lyx.org>
1827 * lyx_cb.C (Reconfigure):
1828 * lyx_main.C (queryUserLyXDir):
1829 to run the <system_lyxdir>/configure correctly on Windows, prefix
1830 the path to the script with "sh " when generating the string that
1831 is passed to system().
1833 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1835 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1837 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1839 * lyxlength.C (asLatexString): get rid of setprecision
1841 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1843 * text2.C (setLayout): remove unused variable endpit.
1844 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1846 * paragraph.C (onlyText): remove unused variable style.
1848 * cursor.C (bruteFind): remove unused variables beg and end.
1850 * Makefile.am (dist_noinset_DATA): not needed anymore
1852 * cheaders/*: remove.
1854 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1856 * text3.C: fix LFUN_MATH_MODE.
1858 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1860 * buffer_funcs.C (countWords): new function. Counts words between
1863 * BufferView_pimpl.C (getStatus, dispatch): handle
1866 * LyXAction.C (init):
1867 * lfuns.h: add LFUN_WORDS_COUNT.
1869 2004-12-19 Angus Leeming <leeming@lyx.org>
1871 * buffer.C (save): s/slashify_path/internal_path/.
1873 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1875 * lyxfind.C (findChange): do not search for end of pars, because
1876 the change tracker cannot handle this (fixes bug 1719).
1878 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
1880 * paragraph.[Ch] (autoBreakRows): remove
1882 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1884 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1885 avoid using the paragraph one
1887 * text2.C (LyXText, insertStringAsLines): adjust
1889 2004-12-16 Angus Leeming <leeming@lyx.org>
1893 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1895 2004-12-14 Angus Leeming <leeming@lyx.org>
1897 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1899 * bufferlist.C (emergencyWrite):
1900 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1903 2004-12-14 Angus Leeming <leeming@lyx.org>
1905 * main.C: (main): no longer pass pointers to os::init.
1907 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1909 * undo.C (textUndoOrRedo): simplify logic, fix a crash
1910 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1912 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1915 * text3.C: remove selection_possible global flag
1917 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1919 * text2.C (getSelectionSpan): remove
1920 (changeDepth, changeDepthAllowed): adjust
1922 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
1924 * Makefile.am (BOOST_LIBS): use boost variables
1926 2004-12-03 José Matos <jamatos@lyx.org>
1928 * buffer.C: format up to 238.
1930 2004-12-03 José Matos <jamatos@lyx.org>
1932 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1934 2004-12-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1936 * cursor.C (goUpDown): remove call to idxUpDown2
1938 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1940 * tabular.[Ch]: use size_t-like types for cell, row and column
1943 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1945 * lyxfunc.C (getStatus): do not lose previous information when
1946 calling BufferView::getStatus; do not set a default "Command
1947 disabled" message at the beginning, but just before returning.
1949 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1951 * cursor.h (getStatus): add better comment from src/cursor.C
1953 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1955 * text3.C (getStatus): return false when the lfun is not handled
1957 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1959 * broken_headers.h: remove
1961 * Makefile.am (lyx_SOURCES): remove broken_headers.h
1963 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1965 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1966 offset_ref accessors
1968 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1969 top_y_, merge fitcursor with update
1970 (updateScrollbar, scrollDocView, fitCursor, center, update): new
1972 (metrics): introduce
1973 (workAreaDispatch): adapt to new coord scheme
1974 (redoCurrentBuffer): remove
1976 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1978 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1981 * coordcache.[Ch]: add paragraph cache and helpers
1983 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1986 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1987 (targetX, setTargetX): introduce
1989 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1990 baseline -> ascent, as the rest of lyx
1992 * lyxtext.h: remove redoParagraphs, updateParPositions,
1993 fullRebreak, redoParagraphInternal. move dist to anon namespace in
1994 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1995 have ascent/descent (ascent is ascent of first par)
1997 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
2000 * paragraph.[Ch]: unify dimension handling with the rest of lyx
2002 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
2004 * pariterator.C: fix infinite loop introduced in par->pit renaming
2006 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
2007 in insets and LyXText, draw two off-screen paragraphs using
2008 NullPainter, and adapt to new coord scheme
2012 * text3.C: adapt lfun handlers to the new coord scheme, which
2013 means: there's only guaranteed coord information for onscreen pars
2014 plus one above and one below. This implies that one can do search
2015 from y coordinates in the range [-1,workHeight]
2017 2004-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2019 * rename a lot of InsetOld to InsetBase
2021 2004-11-25 Angus Leeming <leeming@lyx.org>
2023 * BufferView_pimpl.C:
2025 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
2027 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2029 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
2030 call BufferView::getStatus if LCursor::getStatus did nothing
2031 (setStatusMessage, getStatusMessage): removed.
2033 * FuncStatus.C (message): new methods. Used to provide an error
2034 message indicating why a command is disabled.
2035 (clear, |=, FuncStatus): update for message.
2037 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2039 * lyxfunc.C (dispatch): always call sendDispatchMessage
2041 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
2044 * BufferView_pimpl.C:
2049 * cursor_slice.[Ch]:
2052 * paragraph_funcs.C:
2058 * undo.C: par->pit renaming
2060 2004-11-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2062 * tabular.C (cellstruct): use initialization, store a shared_ptr
2063 to insettext instead of the insettext directly, adjust to fit.
2064 (operator=): new function
2065 (swap): new function
2066 (rowstruct): use initialization
2067 (columnstruct): use initialization
2068 (ltType): use initialization
2071 * lyxlength.h (swap): new function
2073 * LColor.[Ch] (operator=): use the common semantics
2075 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2077 * lyxfind.C (findNextChange): update the bufferview after setting
2080 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2082 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
2083 number of InsetOptArgs has already been inserted.
2085 * output_latex.C (latexOptArgInsets): new method. This outputs all
2086 the optarg insets, up to the limit defined in the layout file.
2087 (optArgInset): removed
2088 (TeXOnePar): call latexOptArgInsets; correctly update texrow
2090 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2092 * paragraph.C (isLetter): remove special spellchecker-related
2093 code; return true also for digits
2094 (isWord, isKomma): remove
2096 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
2097 * lyxfind.C (MatchString()): use isLetter instead of isWord
2099 2004-11-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2101 * pariterator.h (operatir=): comment out un-implemented member
2104 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
2107 2004-11-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2109 * lyxfont.h: include LColor.h to satisfy concept checks.
2111 2004-11-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2113 * pariterator.h: add typdefs for value_type, difference_type,
2114 pointer and reference to satisfy concept checks. Also add default
2115 constructor for same reason.
2117 * pariterator.C (operator++): add post-increment operator to
2118 satisfy concept checks.
2120 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
2123 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
2125 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
2126 checks. Also rename base_type to BaseType to follow naming
2129 * FloatList.h: include Floating.h to satisfy concept checks.
2131 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2133 * lyxfunc.C (getStatus): when the origin of the request is menu or
2134 toolbar, and the LyXView does not have focus, do as if there was
2135 no buffer (bug 1720)
2137 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
2138 FuncRequest to individual entries of LFUN_SEQUENCE
2140 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2142 * output_latex.C (TeXOnePar): override runparams.moving_arg
2143 according to the needprotect value of the current paragraph (bug
2146 * paragraph.C (simpleTeXOnePar): no need to override
2147 runparams.moving_args here
2149 2004-11-14 John Spray <spray_john@users.sourceforge.net>
2151 * vspace.C: fix off-by-one-error, related to fix #1682
2153 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2155 * lengthcommon.C: a more general fix for bug 1682
2157 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
2159 * text.C (backspace): fix crash
2161 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2163 * format.[Ch] (getFormatFromFile): new method
2164 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
2166 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2168 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
2170 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2172 * lyxfunc.C (dispatch): remove the verbose argument
2173 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
2176 * kbmap.C (defkey): set the origin of func to KEYBOARD
2178 * MenuBackend.C (MenuItem):
2179 * ToolbarBackend.C (add): set the origin of func to UI
2181 * funcrequest.[Ch]: add origin member, which indicates which part
2182 of LyX requests an action
2184 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2186 * converter.C (move): don't lie in the error message
2187 * converter.h (isReachable, move): document
2189 2004-11-07 Lars Gullik Bjønnes <larsbj@gullik.net>
2191 * buffer.C: remove unused using lyx::support::atoi
2192 * paragraph_funcs.C: ditto
2194 2004-11-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2196 * bufferlist.C (exists): use bind and equal_to instead of
2199 * lyxtextclasslist.C (NumberOfClass): ditto
2201 * cursor.C (insert): use for_each instead of explicit for loop
2203 * bufferlist.C (getFileNames): use std::transform and
2204 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
2206 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
2209 * buffer.C (changeLanguage): use for_each instead of explicit for
2211 (hasParWithID): implement using getParFromID
2213 * LaTeXFeatures.C: ws change only
2215 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
2218 * BufferView_pimpl.C (trackChanges): use for_each instead of
2221 2004-11-04 André Pönitz <poenitz@gmx.net>
2224 * undo.C (textUndoOrRedo): fix crash when creating undo information.
2226 * dociterator.C (asDocIterator): use hard assert again.
2228 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2230 * lyxlength.C (asLatexString): rewrite so that it does not use
2233 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2235 * text3.C (specialChar, dispatch): make sure cursor moves to the
2236 right after inserting an inset
2238 2004-11-02 José Matos <jamatos@lyx.org>
2240 * output_docbook.C (docbook):
2241 * paragraph.C (getID):
2242 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
2243 garantee that the output is always legal.
2245 * tabular.C (docbook):
2246 * outputprams.[Ch]: remove mixed contents.
2248 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2250 * text2.C (setCounter): prevent endless loop
2252 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2254 * exporter.C (copyFile): use the mover instead of support::copy()
2255 * exporter.C (Export): pass format and latex name to copyFile()
2256 * exporter.h (addExternalFile): document
2257 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
2259 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2261 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
2263 2004-10-30 José Matos <jamatos@lyx.org>
2265 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
2266 text and no inset or font change. This allows to use CDATA
2267 sections just for the whole paragraph.
2269 2004-10-30 José Matos <jamatos@lyx.org>
2271 * paragraph.C (getFirstWord): remove unused variable.
2273 2004-10-30 José Matos <jamatos@lyx.org>
2275 * paragraph.C (getFirstWord): the content should always be escaped
2277 (simpleDocBookOnePar):
2278 * output_docbook.C (makeEnvironment): replace reference to CDATA
2281 2004-10-30 José Matos <jamatos@lyx.org>
2283 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
2285 2004-10-30 José Matos <jamatos@lyx.org>
2287 * output_docbook.C (makeParagraphs):
2288 * paragraph.[Ch] (emptyTag): for docbook and company, if the
2289 standard paragraph has only a given type of content drop the wrapper.
2291 2004-10-29 José Matos <jamatos@lyx.org>
2293 * output_docbook.C (makeEnvironment):
2295 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
2297 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
2299 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
2300 (cleanID): sanitize any id.
2302 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2304 * buffer.C, lyxlex_pimpl.C:
2305 * lyxlex_pimpl.C (setFile):
2306 s/getExtFromContents/getFormatFromContents/
2308 2004-10-28 José Matos <jamatos@lyx.org>
2310 * output_docbook.C (makeEnvironment): move id to broadest possible
2313 * sgml.C (openTag): apply substitution of <> for all attributes.
2315 2004-10-28 José Matos <jamatos@lyx.org>
2317 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2318 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2319 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
2321 * sgml.[Ch]: new version for open and closeTag for paragraph and
2322 for strings. Now they handle the ids of paragraphs.
2324 2004-10-26 Angus Leeming <leeming@lyx.org>
2326 * Makefile.am: add mover.[Ch].
2328 * converter.C (convert, move): use the new Movers to move external
2329 files to the temp directory.
2331 * lyx_main.C (init): ensure that the global system_movers data
2334 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
2337 * mover.[Ch]: new files, defining a Mover as a utility to move an
2338 external file between directories and, if necessary, manipulate this
2339 file using a helper script.
2341 2004-10-25 José Matos <jamatos@lyx.org>
2343 * output_docbook.C (makeCommand): merge two if's that tested the
2346 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2348 * sgml.C (escapeString): fix warning in a better way
2350 2004-10-25 José Matos <jamatos@lyx.org>
2352 * sgml.C (escapeString): import the require boosts header file for
2353 tie, and avoid a signed unsigned comparison.
2355 2004-10-25 José Matos <jamatos@lyx.org>
2357 * sgml.h: add #include <string>
2359 2004-10-25 José Matos <jamatos@lyx.org>
2361 * sgml.[Ch] (escapeString): new function to escape all the string.
2363 2004-10-24 José Matos <jamatos@lyx.org>
2365 * paragraph.[Ch] (getFirstWord): new function to get the first
2366 word. Useful for description.
2367 (simpleDocBookOnePar): remove depth argument, add another that
2368 says where to start the paragraph.
2370 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2371 use the new functions to fix cleanly the support for descriptions.
2373 2004-10-24 José Matos <jamatos@lyx.org>
2375 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2376 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2377 * output_linuxdoc.C (linuxdocParagraphs):
2378 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
2379 add buffer as argument.
2381 2004-10-24 José Matos <jamatos@lyx.org>
2383 * output_docbook.C (makeEnvironment, searchEnvironment): place
2384 CDATA inside paragraphs and fix scope for listitems.
2386 2004-10-24 José Matos <jamatos@lyx.org>
2388 * output_docbook.C: remove using statement for stack.
2390 2004-10-23 José Matos <jamatos@lyx.org>
2392 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
2393 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
2394 docbook. The new scheme is recursive and makes use of iterators, the
2395 same as latex export works.
2396 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
2397 directly with the paragraph contents. This code was moved up to
2398 output_docbook.C (docbookParagraphs).
2399 * sgml.C (openTag, closeTag): removed unneeded newlines.
2400 (closeEnvTags) removed.
2402 2004-10-23 André Pönitz <poenitz@gmx.net>
2404 * undo.C (textUndoOrRedo):
2405 * dociterator.C (asDocIterator): work around crash
2407 * cursor.C (getStatus): replace ASSERT by more verbose error message
2408 and manual correction of the problem. Should increase stability
2409 while providing more sensible information.
2411 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2413 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
2415 * bufferlist.C (previous, next): new methods
2418 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
2420 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
2422 * buffer.C (makeDocBookFile): add dsssl stylesheet control
2423 entities to preamble.
2425 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2427 * messages.C (Pimpl): strip off translation context information
2429 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2431 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
2432 the cursor is correct (bug 1694)
2434 2004-10-13 José Matos <jamatos@lyx.org>
2436 * output_docbook.C (docbookParagraphs): fix closing tags in the
2437 end of the document.
2439 2004-10-09 José Matos <jamatos@lyx.org>
2441 * buffer.C: format up to 237.
2442 * bufferparams.C (write): use tostr to convert booleans to strings.
2444 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
2446 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
2448 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2450 * LaTeX.C: implement use of babel language in xindy.
2452 2004-10-05 José Matos <jamatos@lyx.org>
2454 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2455 Add new translators to help reading and writing the lyx file.
2457 2004-10-05 José Matos <jamatos@lyx.org>
2459 * ParagraphParameters.C (read):
2460 * text.C (readParToken): replace nexToken by more appropriate lex
2463 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
2465 * LaTeX.C (runMakeIndex):
2466 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2467 (usually 'makeindex') configurable.
2469 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2470 with a variable rather than with a number.
2472 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2474 * output_latex.C (TeXOnePar): make sure font setting is the first
2475 thing that gets output (and the last at the end). Should fix bug
2478 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2480 * pch.h: use proper signal include
2482 * LaTeX.h: Use preferred calling of Boost.Signal
2485 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2487 * pch.h: dont include <boost/function/function0.hpp>
2489 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2491 * paragraph_pimpl.h: remove usage of ShareContainer
2493 * paragraph_pimpl.C: remove initialization of ShareContainer.
2495 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2499 * BufferView.C (putSelectionAt): change the semantics when
2500 backwards == true: now, this just swaps cursor and anchor wrt the
2503 * BufferView.h (putSelectionAt): add some documentation
2505 * lyxfind.C (findBackwards): rewrite using while(). In particular,
2506 make sure backwardChar is done at least once (to avoid getting
2508 (findNextChange): use putSelectionAt in the forward direction
2509 (operator()): use Paragraph::isWord
2511 2004-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2513 * Spacing.C (set): c_str fix
2515 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2517 * lyx_cb.C (Reconfigure): quote the name of configure script in
2518 case it contains spaces
2520 2004-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2524 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2525 (BOOST_LIBS): use top_buildir when looking for the file
2527 2004-08-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2529 * pch.h: do not use include boost/format.hpp, multiple symbols
2530 will result (gcc bug)
2533 2004-08-23 José Matos <jamatos@lyx.org>
2535 * bufferparams.C (readToken): fix reading of the author field.
2537 2004-08-20 José Matos <jamatos@lyx.org>
2539 * lyxrc.C: remove support/translator.h inclusion since it is not used.
2541 2004-08-20 José Matos <jamatos@lyx.org>
2543 * lyxlex.[Ch] (findToken): remove function.
2545 * ParagraphParameters.C (findToken):
2546 * bufferparams.C (findToken): replace call for previous function
2547 with local copy. This local function has one more argument, the
2548 read string argument.
2550 2004-08-16 José Matos <jamatos@lyx.org>
2552 * ParagraphParameters.C (write):
2553 * Spacing.C (writeFile):
2554 * bufferparams.C (writeLaTeX):
2555 * lyx_cb.C (Reconfigure):
2556 * paragraph.C (write):
2557 * tabular.C (write): remove unnecessary space at end of line.
2560 2004-08-16 José Matos <jamatos@lyx.org>
2562 * text.C (readParagraph): remove debug message.
2564 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2566 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2569 * output_plaintext.C (asciiParagraph): set depth correctly
2571 * outputparams.h: add member depth
2573 * paragraph_funcs.C (ownerPar): remove.
2575 * text2.C (setCounter): remove first_pit; comment out some
2576 non-working code that uses ownerPar
2578 * BufferView.C (getParentLanguage): remove. Not used anymore, and
2581 2004-08-16 José Matos <jamatos@lyx.org>
2583 * text.C (readParToken, readParagraph, read): report all unknown tokens.
2584 For the same level of importance use the same chanel to report problems.
2585 (read): add code to deal with \begin_body and \end_body.
2588 2004-08-15 José Matos <jamatos@lyx.org>
2590 * lyxlex.C (getString): fix comment, buffer::readBody is now
2591 buffer:readDocument.
2593 * tex-strings.C (string_papersize): Default -> default,
2594 Custom -> custom, for consistency with other options.
2596 2004-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2600 * Makefile.am: support pch
2602 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2604 * text.C (readParToken): remove the static LyXFont variable and
2605 pass it as a parameter instead. This fixes a nasty bug where an
2606 inset will be inserted with a bad font in some situations
2607 (readParagraph): adapt
2609 * text2.C (setCounter): reduce number of calls to pars_[pit]
2611 * text.C (singleWidth): add an assert, fix a test
2613 * rowpainter.C (paintText): reduce number of calls to singleWidth
2615 * paragraph.C (isHfill):
2616 (isNewline): ws only
2618 2004-08-14 André Pönitz <poenitz@gmx.net>
2623 * lyxtext.h (several functions): use a Paragraph & argument
2626 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2628 * metricsinfo.h: add a new field ltr_pos to PainterInfo
2630 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2632 * text.C (singleWidth): remove useless test
2634 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2636 * tabular.h: remove bogus comments
2638 * tabular.C (getDescentOfRow):
2639 (isPartOfMultiColumn): add assertions
2641 * lyxlength.C (inPixels): remove #warning
2643 2004-08-14 André Pönitz <poenitz@gmx.net>
2645 * paragraph.h: inline getChar()
2647 * BufferView.h: remove unused declarations
2649 2004-08-14 José Matos <jamatos@lyx.org>
2651 * Buffer.[Ch] (readDocument): new name for old readBody.
2652 * Buffer.C: new file format, new keywords: \begin_document,
2653 \begin_header, \begin_body, \end_body.
2655 * bufferparams.C (readToken): replace all calls to lex.nextToken
2656 by lex.next(). Do the same to eatLine except where really needed.
2658 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2659 line when writing to the lyx file.
2661 * output_plaintext.C (asciiParagraph): fix Bibliography style
2664 * text.C (read): fix end of file handling.
2666 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2668 * MenuBackend.C (Menu::operator[]): new method to access
2669 individual menu items
2670 (Menu::hasFunc): new method. search for an item that corresponds
2672 (MenuBackend::specialMenu): new method
2673 (MenuBackend::expand): if a special menu has been set, skip
2674 entries whose func() appears in this menu
2676 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2678 * text3.C: use Debug::DEBUG a bit more
2680 * text.C (leftMargin): try to simplify a tiny bit change var x to
2681 l_margin. Dont output the wide margins always.
2682 (rightMargin): no margin in inner texts
2684 * rowpainter.h (nestMargin): new func
2685 (changebarMargin): new func
2686 (rightMargin): new func
2688 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2692 * factory.C (createInset): modify setDrawFrame
2694 * cursor.C: use Debug::DEBUG a bit more
2696 2004-08-14 André Pönitz <poenitz@gmx.net>
2699 * Makefile.am: new files to accomodate an 'external' (x,y)-position
2700 cache for all insets in (at least partially) visible (top-level)
2703 * BufferView_pimpl.C: reset external coord cache before every update.
2704 This means the coord cache only contains valid entries.
2706 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2709 * BufferView_pimpl.C (getInsetByCode): move function out of class
2710 and change in to a template in anon namespace. Also fix to do what
2713 2004-08-13 Lars Gullik Bjønnes <larsbj@lyx.org>
2716 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2718 (breakParagraph): rename par to par_offset and use a local
2719 reference. Add code to keep the language over a rebreak.
2720 (breakParagraphConservative): rename par to par_offset, use a
2722 (mergeParagraph): ditto
2724 (isFirstInSequence): ditto
2725 (outerFont): rename pit to par_offset
2727 * paragraph.C: ws change
2728 * paragraph.h: ditto
2732 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2734 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2737 * paragraph.C (simpleTeXOnePar): when we have a \item with
2738 optional argument, enclose the argument with curly brackets (in
2739 case it contains a closing square bracket)
2743 * text3.C (checkInsetHit): constify
2745 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2747 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2748 documents (bug 1629)
2750 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2752 Fix toggling of collapsable insets with the mouse (bug 1558)
2754 * lyxfunc.C (dispatch): adapt to LCursor changes
2756 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2757 make sure that dispatch is not invoked twice
2759 * cursor.C (needsUpdate): new method
2760 (dispatch): return void
2761 (result): new method, to access the DispatchResult of the cursor.
2763 2004-08-13 José Matos <jamatos@lyx.org>
2765 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2767 2004-08-13 André Pönitz <poenitz@gmx.net>
2769 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2771 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2774 2004-08-12 André Pönitz <poenitz@gmx.net>
2776 * text3.C: take out the 'cursor right' form insertInset and only
2777 do it in those places when it is really needed. Fixes crash on
2780 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2782 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2784 * BufferView_pimpl.C (setBuffer): initialize the current font of
2785 the underlying LyXText
2787 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2789 * kbsequence.C (print): use UI native formatting for menu
2792 * text.C (insertChar): call Paragraph::insertChar with a font
2795 * paragraph.C (insertInset, insertChar): the version that takes a
2796 LyXFont argument is now a wrapper around the other one (the
2797 opposite used to be true).
2799 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2800 argument. Font setting is done in Paragraph now.
2802 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2804 * outputparams.h: add new members intitle and lang.
2806 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2807 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2809 2004-08-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2811 * text3.C (dispatch): remove special handling of button 4 and 5,
2812 it is now taken care of in the frontend code.
2814 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2816 * Spacing.h: add <string> (STLPort compile fix)
2818 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2820 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2822 2004-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2824 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2827 * converter.C (showMessage): inherit from unary_function, make
2830 * buffer.C (writeFile): initialize retval
2832 * InsetList.h: rename private variable list to list_
2833 * InsetList.[Ch]: adjust accordingly.
2835 2004-07-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2837 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2838 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2839 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2840 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2841 * ParagraphParameters.C, LaTeXFeatures.C: replace
2842 "support/std_sstream.h" with <sstream>
2844 2004-07-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2846 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2847 * lyxsocket.C (LyXServerSocket): ditto
2848 (serverCallback): ditto
2850 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2852 * LaTeXFeatures.C: check release date when loading jurabib.
2854 2004-07-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2856 * lyxserver.C (startPipe): call register_socket_callback
2857 (endPipe): call unregister_socket_callback
2859 2004-07-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2861 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2862 (LyXServerSocket): register the callback
2863 (LyXServerSocket): unregister the callback
2864 (fd): delete function
2865 (serverCallback): improve error checking and setup the callbacks.
2866 (dataCallback): change arg to fd.
2867 (writeln): new func (copied fro the client socket) used for server
2869 (LyXDataSocket): simplify
2870 (~LyXDataSocket): close ann unregiser callback
2871 (server): delete function
2872 (fd): delete function
2873 (readln): small changes, improve some std::string usage
2874 (writeln): constify a bit
2876 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2878 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2881 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2883 * BufferView_pimpl.C (setBuffer): set the layout combox value only
2884 after it has been populated
2886 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2888 * text2.C (insertInset): move cursor when inserting inset.
2890 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2892 * kbmap.C (findbindings): a couple of new methods. returns a
2893 container of kb_sequence objects. The real work is done by the
2894 private recursive version
2895 (printbindings): uses findbindings to print out a bracketed list
2896 of bindings (renamed from findbinding).
2898 * MenuBackend.C (binding): use kb_keymap::findbindings
2900 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2902 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2904 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2906 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2908 * paragraph.C (isWord): return true on insets that report
2911 * text.C (getWord): use Paragraph::isWord to decide what is in a
2912 word and what is not; fix bug 1609.
2914 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2916 * tex-strings.C: add "none" to string_paperpackages[], fixes
2917 off-by-one-error in the paperpackage selection.
2920 * tex-strings.[Ch]: char const * string[n]
2921 -> char const * const string[]
2923 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2925 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2926 command, return early.
2928 2004-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
2930 * debug.h: add DEBUG to enum and fix size of ANY.
2932 * debug.C: add support for Debug::DEBUG
2933 (showTags): cast errorTags.level to unsigned int
2935 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2936 (redoCurrentBuffer): ditto
2937 (updateScrollbar): ditto
2938 * cursor.C (dispatch): ditto
2939 * text2.C (setLayout): ditto
2941 (updateCounters): ditto
2943 (deleteEmptyParagraphMechanism): ditto
2945 2004-06-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2947 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2948 annotations to cleanup the Makefile slightly.
2950 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2952 * lyxrc.C: do not set user_email to a default value but use empty
2953 instead. The entry used to be translated, which does not work
2954 since at the point where lyxrc is constructed there is no
2955 translation service available
2957 * messages.C (getLocaleDir): remove and use directly
2958 lyx_localedir() instead
2960 2004-06-02 Angus Leeming <leeming@lyx.org>
2962 Fix crash caused by dereferencing null pointer 'exportdata' in
2963 OutputParams by creating a new ExportData variable on the heap,
2964 storing it in a boost::shared_ptr.
2965 The crash was triggered when generating an Instant Preview
2966 of an external inset.
2968 * Makefile.am: add outputparams.C
2970 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2971 (c-tor): allocate memory to it.
2973 * exporter.C (c-tor): associated changes.
2975 2004-06-01 Angus Leeming <leeming@lyx.org>
2977 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2978 contains data before calling isInset(0). (Bug 1513.)
2980 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2982 * exporter.C (checkOverwrite): new method
2983 * exporter.C (copyFile): new method
2984 * exporter.C (Export): copy referenced files to the document dir
2985 * exporter.[Ch]: new class ExportedFile
2986 * exporter.[Ch]: new class ExportData. Contains currently the
2987 names of referenced external files
2988 * outputparams.h: add exportdata member.
2990 2004-05-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2992 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2995 2004-05-19 Angus Leeming <leeming@lyx.org>
3000 * lyxfunc.C: small changes due to the introduction of namespace
3001 lyx::frontend and the moving of namespace biblio to lyx::biblio.
3003 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
3005 * text3.C (dispatch): supress update when only moving the cursor
3006 * cursor.C (selHandle): remove commented code
3008 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3010 * paragraph.C (startTeXParParams): correct column count
3011 * CutAndPaste.C (pasteSelection): remove const_cast
3012 * output_docbook.C (docbookParagraphs): remove const_cast
3013 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
3014 const_cast and return ParagraphList::const_iterator
3015 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
3016 * output_plaintext.C (writeFileAscii): remove const_cast
3017 * paragraph.[Ch] (simpleTeXOnePar): make const
3018 * paragraph_funcs.C (outerPar): use const iterators
3019 * paragraph_pimpl.C (validate): use const iterators
3020 * text.C (setHeightOfRow): use const iterators
3022 2004-05-17 Angus Leeming <leeming@lyx.org>
3025 * LyXAction.C (init): new LFUN_INSET_REFRESH.
3027 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
3028 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
3029 if the citation engine has changed.
3031 2004-05-14 José Matos <jamatos@lyx.org>
3033 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
3034 if the textclass does not provide it. Have it different for sgml and
3036 support the language of document.
3037 * output_docbook.C (docbookParagraphs):
3038 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
3039 first anchor as the id of the paragraph, remove special case code.
3040 * sgml.C (escapeChar): escape only < & >.
3042 2004-05-14 Angus Leeming <leeming@lyx.org>
3044 * bufferparams.h: move biblio::CiteEngine enum here to minimize
3045 dependencies on src/frontends/controllers/biblio.h. Define a
3046 CiteEngine_enum wrapper class to enable the enum to be forward
3049 2004-05-12 Angus Leeming <leeming@lyx.org>
3051 * buffer.C: up LYX_FORMAT to 234.
3052 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
3053 use_numerical_citations with a single biblio::CiteEngine cite_engine
3055 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
3057 2004-05-13 José Matos <jamatos@lyx.org>
3060 * converter.C (Converter, readFlags): add xml member.
3061 * outputparams.h: add XML flavor.
3062 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
3064 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3066 * lyxfunc.C (dispatch):
3067 (getStatus): fix handling of LFUN_SEQUENCE
3069 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3071 * debug.C (showLevel): do not forget the end-of-line marker
3073 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3075 * kbmap.C (read): do not stop parsing a bind file when an error
3078 2004-04-29 Angus Leeming <leeming@lyx.org>
3083 * text2.C: wrap a bunch of #warning statements
3084 inside #ifdef WITH_WARNINGS blocks.
3086 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3088 * buffer.C: increment format to 233.
3090 2004-04-28 Angus Leeming <leeming@lyx.org>
3092 * BufferView_pimpl.C:
3095 s/updateToolbar()/updateToolbars()/
3096 s/Toolbar.h/Toolbars.h/
3098 2004-04-28 Angus Leeming <leeming@lyx.org>
3100 * BufferView.[Ch] (c-tor):
3101 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
3102 No longer passes these data to the WorkArea generator.
3104 2004-04-28 Angus Leeming <leeming@lyx.org>
3106 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
3108 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3110 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
3112 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3114 * output_latex.C (TeXEnvironment): make sure that there is a line
3115 break before \end{foo} for the last paragraph of a document
3116 (TeXOnePar): if the paragraph is at the end of the document (or
3117 inset) and the language has to be reset, then make sure that the
3118 line break is _before_ the language command, not after (fixes bug
3119 1225); also make sure that the language reset command is the first
3120 thing after the paragraph (to ensure proper nesting of
3121 environments and thus fix bug 1404)
3123 2004-04-21 John Levon <levon@movementarian.org>
3126 * ToolbarBackend.C: make "name" be a programmatic name
3127 and a gui_name field.
3129 * lyxfunc.C: display the minibuffer on M-x
3131 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3133 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
3136 2004-04-19 Angus Leeming <leeming@lyx.org>
3138 * BufferView_pimpl.C (setBuffer): changed preview interface.
3140 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
3143 2004-04-19 John Levon <levon@movementarian.org>
3145 * BufferView_pimpl.C:
3146 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
3148 2004-04-05 Angus Leeming <leeming@lyx.org>
3150 * text.C (redoParagraphs): add call to updateCounters(), thereby
3151 fixing the missing "Figure #:" label from the caption of a
3154 2004-04-13 Angus Leeming <leeming@lyx.org>
3156 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
3157 cursor is clicked out of an inset.
3159 2004-04-13 Angus Leeming <leeming@lyx.org>
3161 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
3162 than an InsetOld one.
3164 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3166 * format.[Ch]: add editor to Format
3167 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
3168 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
3170 2004-04-08 André Pönitz <poenitz@gmx.net>
3172 * metricsinfo.h: remove PainterInfo::width member
3174 2004-04-08 Angus Leeming <leeming@lyx.org>
3176 * lyx_sty.C (boldsymbol_def): modify so that it outputs
3177 "\providecommand" rather than "\newcommand", thereby preventing
3178 clashes with packages that define "\boldsymbol" themselves.
3181 2004-04-08 Angus Leeming <leeming@lyx.org>
3183 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
3184 thereby squashing an unnecessary warning.
3186 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3188 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
3191 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
3193 * BufferView.C (setCursor): call redoParagraph (some insets could
3195 (putSelectionAt): remove the 'double update' trick
3197 * BufferView_pimpl.C (fitCursor): call refreshPar
3198 (workAreaDispatch): remove an uneeded update call
3199 (dispatch): remove some manual update calls
3201 * cursor.[Ch]: remove cached_y_, updatePos
3202 (selHandle): set noUpdate when appropriate
3204 * lyxfunc.C (dispatch): track if we need an update
3206 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
3208 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
3209 (paintSelection): cheap optimization, do not call cursorX when not
3211 (paintPars): change signature
3214 (paintTextInset): adjust
3218 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3220 * lengthcommon.C: compilation fix: remove explicit array size from
3221 unit_name[] and friends
3223 2004-04-05 Angus Leeming <leeming@lyx.org>
3225 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
3227 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
3228 present only for the preferences dialog.
3229 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
3231 2004-04-05 Angus Leeming <leeming@lyx.org>
3233 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
3234 to enable the frontends to export changes to lyxrc correctly.
3236 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
3238 2004-04-07 André Pönitz <poenitz@gmx.net>
3240 * cursor.[Ch] (selClear, adjust): remove math
3242 * cursor_slice.C: more agressive assert
3245 * BufferView_pimpl.C: rework mouse event dispatch
3252 2004-04-05 André Pönitz <poenitz@gmx.net>
3254 * cursor.[Ch] (valign, halign...): remove unneeded functions
3256 2004-04-05 Angus Leeming <leeming@lyx.org>
3258 * lyxlength.[Ch] (unit_name et al.): const-correct.
3260 2004-04-05 Angus Leeming <leeming@lyx.org>
3262 * BufferView_pimpl.C:
3271 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
3273 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3275 * text3.C (getStatus): add LFUN_BEGINNINGBUF
3277 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3279 * lyxfind.C: add a couple of inTexted() tests + other small fixes
3280 * BufferView_pimpl.[Ch] (getStatus)
3281 * BufferView.[Ch] (getStatus): add
3282 * lyxfunc.C (getStatus): move lfuns handled in
3283 BufferView::dispatch to te function above
3284 * Cursor.C (setSelection): set selection() = true
3286 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3288 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
3290 2004-03-31 Angus Leeming <leeming@lyx.org>
3292 * lyxfunc.C (dispatch): Fall through to the generic
3293 Dialogs::show("preamble").
3295 2004-03-31 Angus Leeming <leeming@lyx.org>
3297 * lyxfunc.C (dispatch): Fall through to the generic
3298 Dialogs::show("spellchecker").
3300 2004-03-31 Angus Leeming <leeming@lyx.org>
3302 * lyxfunc.C (getStatus, dispatch): changed invocation of the
3305 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
3310 * insetiterator.[Ch]:
3315 * undo.[Ch]: s/DocumentIterator/DocIterator/g
3317 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
3319 * BufferView.C (setCursor, putSelectionAt): call edit to open the
3320 insets where we are putting the cursor.
3322 2004-03-31 Angus Leeming <leeming@lyx.org>
3325 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
3327 * lyxrc.[Ch] (read, write): overloaded member functions taking
3328 a std::[io]stream arguments.
3330 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
3332 2004-03-31 Angus Leeming <leeming@lyx.org>
3334 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
3335 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
3337 * lyxtextclass.C (load): if the text class couldn't be loaded, then
3338 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
3340 2004-03-31 Angus Leeming <leeming@lyx.org>
3342 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
3343 the LFUN_ALL_INSETS_TOGGLE code.
3345 2004-03-30 Angus Leeming <leeming@lyx.org>
3347 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
3348 has died. Fall through to the generic Dialogs::show("document").
3350 2004-03-30 Angus Leeming <leeming@lyx.org>
3353 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
3354 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
3356 * lyxfunc.C (getStatus, dispatch): define the actions for these
3357 lfuns. Little more than a cut and pste job from ControlDocument.C
3359 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
3361 2004-03-30 Angus Leeming <leeming@lyx.org>
3364 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
3365 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
3367 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
3368 open/closed state of ollapsable insets. Usage:
3370 all-inset-toggle <state> <name>, where
3371 <state> == "open" || "closed" || "toggle" and
3372 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
3374 * lyxtext.h, text2.C (toggleInset): removed.
3376 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
3377 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
3378 now passes LFUN_INSET_TOGGLE to the found inset.
3380 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
3381 is now invoked as "all-insets-toggle toggle branch".
3383 2004-03-30 Angus Leeming <leeming@lyx.org>
3387 * pariterator.[Ch]: added/corrected header blurb.
3389 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
3391 * dociterator.[Ch]: add an inset_ member
3392 (backwardPos): implemented
3393 (backwardPos, forwardPos): use inset_ when the stack is empty.
3394 (doc_iterator_begin, doc_iterator_end): implemented
3395 * pariterator.[Ch]: adjust, add begin, end
3396 * insetiterator.[Ch]: adjust, add begin, end
3400 * BufferView_pimpl.C:
3401 * CutAndPaste.C: adjust
3403 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3405 * buffer.C: increment file format to 232.
3406 * LaTeXFeatures.C: add bibtopic package.
3407 * bufferparams.[Ch]: param \use_bibtopic.
3409 * lyxrc.[Ch]: add lyxrc bibtex_command
3410 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
3412 * buffer.C: increment file format to 231.
3414 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
3416 * dociterator.C: implement forwardPar
3417 * iterators.[Ch]: remove, replaced by
3418 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
3420 * BufferView_pimpl.C:
3423 * bufferview_funcs.C:
3429 * Makefile.am: adjust
3431 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
3433 * CutAndPaste.C (pasteSelection): fix 2 crashes
3434 (eraseSelection): fix a crash
3435 * paragraph_funcs.C: remove a warning
3437 2004-03-28 Angus Leeming <leeming@lyx.org>
3440 * LyXAction.C (init): new LFUN_PRINT.
3442 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
3444 2004-03-27 Angus Leeming <leeming@lyx.org>
3447 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
3449 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
3451 2004-03-27 Angus Leeming <leeming@lyx.org>
3453 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
3454 insetlist always contains non-null pointers to insets.
3456 2004-03-26 Angus Leeming <leeming@lyx.org>
3458 * src/BufferView_pimpl.C:
3459 * src/CutAndPaste.C:
3462 * src/output_plaintext.C:
3463 * src/outputparams.h:
3464 * src/paragraph_funcs.C:
3468 * src/frontends/controllers/ControlErrorList.C:
3469 * src/frontends/gtk/FileDialogPrivate.C:
3470 * src/frontends/gtk/GPainter.C:
3471 * src/frontends/gtk/GToolbar.C:
3472 * src/frontends/qt2/QRef.C:
3473 * src/mathed/math_scriptinset.C: squash compiler warnings.
3475 2004-03-26 Angus Leeming <leeming@lyx.org>
3477 * ispell.C (LaunchIspell::start):
3478 * lyx_cb.C (AutoSaveBuffer::start):
3479 invoke run(DontWait) rather than runNonBlocking().
3481 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
3483 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3485 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3487 * kbsequence.C (print): adjust
3489 * kbmap.C (printKeySym): rename and change signature
3490 (printKey): use LyXKeySym::print()
3492 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
3494 * undo.C: add using std::advance to compile for stlport
3496 2004-03-24 Angus Leeming <leeming@lyx.org>
3498 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3499 it leads to a crash when no buffer is present.
3501 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3502 Martin Vermeer <martin.vermeer@hut.fi>
3504 * lyxfunc.C (dispatch):
3505 * bufferparams.C (readToken): use the new LColor::setColor
3507 * LColor.[Ch] (setColor): new version that takes two strings as
3508 argument and creates a new color entry if necessary
3510 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3512 * buffer.C (makeLaTeXFile): if the main latex file that is
3513 processed is usually a subdocument of some master, then pretend
3514 for a while that it is actually the master
3516 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3518 * buffer.C (getLabelList):
3519 (getBibkeyList): use getMasterBuffer()
3520 (getMasterBuffer): new method. Returns the main document in the
3521 case where one is using included documents.
3523 2004-03-25 André Pönitz <poenitz@gmx.net>
3527 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3529 * ParagraphList_fwd.h: change ParagraphList to a std::vector
3531 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3532 text*.C over here. Rename namespace CutAndPaste to lyx::cap
3534 * ParameterStruct.h: merge with ParagraphParameters
3536 * lyxtext.h: remove LyXText::parOffset() and getPar()
3538 * text3.C: Remove all 'manual' update calls. We do now one per user
3539 interaction which is completely sufficient.
3543 * BufferView_pimpl.C:
3544 * FontIterator.[Ch]:
3546 * ParagraphParameters.[Ch]:
3551 * cursor_slice.[Ch]:
3558 * output_docbook.[Ch]:
3559 * output_latex.[Ch]:
3560 * output_linuxdoc.[Ch]:
3561 * output_plaintext.[Ch]:
3563 * paragraph_funcs.[Ch]:
3564 * paragraph_pimpl.[Ch]:
3572 * frontends/controllers/ControlDocument.C:
3573 * frontends/controllers/ControlErrorList.C:
3574 * frontends/controllers/ControlSpellchecker.C:
3577 * insets/insetbase.h:
3578 * insets/insetbibitem.C:
3579 * insets/insetbox.C:
3580 * insets/insetbranch.C:
3581 * insets/insetcaption.C:
3582 * insets/insetcharstyle.C:
3583 * insets/insetcharstyle.h:
3584 * insets/insetcollapsable.C:
3585 * insets/insetcollapsable.h:
3586 * insets/insetert.C:
3587 * insets/insetfloat.C:
3588 * insets/insetfoot.C:
3589 * insets/insetmarginal.C:
3590 * insets/insetnote.C:
3591 * insets/insetoptarg.C:
3592 * insets/insettabular.C:
3593 * insets/insettext.C:
3594 * insets/insettext.h:
3595 * insets/insetwrap.C:
3596 * mathed/math_mboxinset.C:
3597 * mathed/math_nestinset.C:
3598 * mathed/math_scriptinset.C:
3599 * mathed/math_scriptinset.h:
3602 2004-03-24 Angus Leeming <leeming@lyx.org>
3604 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3605 deal with any child processes that have finished but are waiting to
3606 communicate this fact to the rest of LyX.
3608 2004-03-24 Angus Leeming <leeming@lyx.org>
3610 64-bit compile fixes.
3612 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3613 (c-tor): pass lyx::pos_types rather than ints.
3615 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3618 * text.C (Delete): compile fix.
3619 (getPar): ensure that function declaration is the same as that in
3622 2004-03-23 Angus Leeming <leeming@lyx.org>
3624 * ispell.C (LaunchIspell):
3625 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3626 a boost::shred_ptr rather than a std::auto_ptr.
3628 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3630 * lyxfunc.C (getStatus): handle read-only buffers correctly;
3631 handle LFUN_FILE_INSERT_*
3633 * lyxrc.C (setDefaults, getDescription, output, read):
3634 * lyxrc.h: remove ps_command
3636 2004-03-22 Angus Leeming <leeming@lyx.org>
3638 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3639 Ensure that error_handler is processed once only and that all data
3640 is saved before attempting to output any warning messages.
3642 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3644 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
3646 * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3648 2004-03-19 André Pönitz <poenitz@gmx.net>
3650 * cursor.[Ch] (reset): take main text inset as argument
3652 * BufferView: adjust
3653 * BufferView_pimpl.C: adjust
3655 * paragraph.[Ch]: fix completely broken operator=()
3657 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3659 * LColor.C (getFromLyXName): make sure that the color name is used
3662 2004-03-17 Angus Leeming <leeming@lyx.org>
3665 * LyXAction.C (init): remove LFUN_FORKS_KILL.
3667 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3668 dialog and to kill a forked process.
3670 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3672 * text2.C (setCursorFromCoordinates): fix font problem
3674 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3676 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3677 bogus "rebuild cursor" code
3679 2004-03-11 André Pönitz <poenitz@gmx.net>
3681 * buffer.[Ch]: use InsetText instead of LyXText as container for
3684 * dociterator.[Ch]: drop the BufferView * member which is not needed
3685 anymore after the change to buffer.C
3687 * paragraph_funcs.C:
3691 * BufferView_pimpl.[Ch]:
3693 * cursor_slice.[Ch]: adjust
3695 * text3.C: fix bug in mathDispatch
3697 2004-03-08 André Pönitz <poenitz@gmx.net>
3699 * undo.[Ch]: use 'StableDocumentIterator' as base for
3702 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3705 * bufferparams.[Ch]: add jurabib support and param.
3707 * LaTeX.C: add FIXME/comment.
3709 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3711 * buffer.C: increment file format to 230.
3713 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
3715 * cursor.C (dispatch): avoid infinite loops
3717 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3719 * rowpainter.C (paintSelection): fix x coordinates
3721 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3723 * text.C (rowBreakPoint): fix breaking before displayed insets
3725 2004-03-01 André Pönitz <poenitz@gmx.net>
3727 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3729 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3733 * BufferView_pimpl.C:
3741 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3747 * BufferView_pimpl.C: rename textwidth -> maxwidth,
3748 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3750 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3752 * Bidi.[Ch] (computeTables): const correctness
3753 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3754 fill_hfill, fill_label_hfill and x from Row
3755 * lyxtext.h: prepareToPrint returns a RowMetrics
3756 * rowPainter.C: adjust
3757 * text.C (prepareToPrint): use width, not textWidth. adjust
3758 (redoParagraphInternal, cursorX): adjust
3759 * text2.C (getColumnNearX): adjust
3760 (init): put a default value to the top LyXText::width
3762 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3764 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3766 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3768 * lyxtext.h: add FontIterator class
3770 * text.C (FontIterator, operator*, operator->, operator++): add
3771 (rowBreakPoint, setRowWidth): adjust (fixing a
3774 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3776 * BufferView_pimpl.C (workAreaDispatch): allow also
3777 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3779 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
3781 * text.C (rowBreakPoint): fix a bug showing with very large insets
3783 2004-02-25 André Pönitz <poenitz@gmx.net>
3786 * cursor.[Ch]: move some mathed specific code to mathed
3788 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3790 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3791 use_tempdir in preferences
3792 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3794 * lyx_main.C: ensure that tempdir is valid
3795 * lyxlex.h: correct typo
3796 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3797 * paragraph.[Ch] (isMultiLingual): make const
3798 * cursor.[Ch] (openable): make const
3800 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3802 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3804 2004-02-20 André Pönitz <poenitz@gmx.net>
3806 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3808 * cursor.[Ch]: prepare for localized getStatus()
3814 * text3.C: streamlines the LyXText cursor movement handlers a bit.
3816 2004-02-20 André Pönitz <poenitz@gmx.net>
3818 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3820 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3822 * text2.C (setCursorFromCoordinates): switch to absolute coords
3824 (cursorDown): adjust
3825 * text3.C (dispatch): adjust
3827 2004-02-16 André Pönitz <poenitz@gmx.net>
3829 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3832 * cursor_slice.[Ch]: remove unneeded acessor function
3834 * lyxtext.h: rename rtl() to isRTL()
3842 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3844 * rowpainter.C (paintSelection): coord fix
3846 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3848 * Spacing.C: compile fix
3850 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3852 * cursor.C (dispatch): restore current_ before returning
3854 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3856 * text2.C (cursorUp, cursorDown): fix coords
3859 2004-02-12 André Pönitz <poenitz@gmx.net>
3864 * text3.C: add LCursor & parameter to most cursor movement functions
3865 remove usage of LyXText::cursorRow() and cursorPar()
3867 * cursor.[Ch]: add textRow() needed members
3870 * BufferView_pimpl.C:
3873 * BufferView_pimpl.C: adjust
3875 2004-02-11 André Pönitz <poenitz@gmx.net>
3879 * BufferView_pimpl.C: shift undo/redo handling
3881 * cursor.[Ch]: fix mathed crash
3884 * lyxtext.h: move selectionAsText to LCursor
3892 * rowpainter.C: fix excessive drawing
3894 2004-02-06 André Pönitz <poenitz@gmx.net>
3897 * BufferView_pimpl.[Ch]:
3898 * text3.C: move some text specific LFUN handling
3900 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
3902 * text3.C (checkInsetHit): adjust coords
3903 * text2.C (getColumnNearX): adjust coords
3904 (edit): adjust coords
3905 * text.C (getRowNearY): add two asserts
3907 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
3910 * format.C: add using std::distance to compile on gcc 2.95/stlport
3912 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
3914 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3916 2004-02-04 André Pönitz <poenitz@gmx.net>
3918 * BufferView.[Ch] (insertInset):
3919 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3924 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3926 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3927 on the default clause of the switch
3928 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3929 wasn't catched by LCursor::dispatch
3931 2004-02-03 André Pönitz <poenitz@gmx.net>
3934 * cursor.[Ch]: some additional asserts
3936 * undo.[Ch]: remove LyXText dependency in interface
3940 * lyxtext.h (firstPar, lastPar): remove dead functions
3945 * paragraph.[Ch]: adjust
3947 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3949 * lyxfind.C (find): fix argument order in call to ::find
3951 2004-02-02 André Pönitz <poenitz@gmx.net>
3953 * cursor.[Ch]: remove direct access to anchor
3955 * text.C: remove findText() hack
3957 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3959 * iterators.[Ch] (lockPath): remove in favour of...
3960 * BufferView.[Ch] (setCursor): this addition
3961 * BufferView.C (putSelectionAt): adjust
3962 * undo.C (performUndoOrRedo): adjust
3963 * lyxfunc.C (dispatch): adjust
3965 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3967 * iterators.C (lockPath): add a missing slice
3968 * undo.C (performUndoOrRedo): remove redundant positioning code
3970 2004-02-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3972 * vc-backend.C (scanMaster): ";" -> ';'
3974 2004-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
3976 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3977 std::binary_function
3979 * lyxtextclass.C (compare_name): rename to...
3980 (LayoutNamesEqual): ...this
3982 * lyxlex_pimpl.C (compare_tags): inherit from
3983 std::binary_function, put back into anon namespace
3985 * lyxfind.C (MatchString): inherig from std::binary_function
3986 (findChange): use empty() istead of !size()
3988 * format.C (FormatNamesEqual): new functor
3995 * converter.C (compare_Converter): rename to...
3996 (ConverterEqual): ...this, and fixup a bit.
3997 (getConverter): use it, and make function const
3998 (getNumber): use it, and make function const
4002 * bufferlist.C: add using boost::bind
4004 * MenuBackend.C (MenuNamesEqual): new functor
4005 (hasMenu): use it, and make function const
4006 (hasSubmenu): use nested bind to get rid of compare_memfun.
4008 2004-01-30 André Pönitz <poenitz@gmx.net>
4010 * BufferView_pimpl.C:
4013 * cursor_slice.[Ch]:
4016 * paragraph_funcs.C:
4017 * paragraph_funcs.h:
4021 * text3.C: move some of the edit(x,y) handling to the insets
4022 some coordinate changes.
4024 2004-01-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4026 * text.C: add using statements for std::advance and std::distance
4028 * paragraph.C: add using statement for std::distance
4030 * lyxfind.C: add using statement for std::advance
4032 * cursor.C (region): remove std:: from swap
4033 (openable): use nucleus in stead of operator->
4035 * BufferView.C: add using statements for std::distance and std::swap
4037 2004-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4039 * iterators.C: Remove the pimple, move the needed structures to
4040 the header file. Create accessor for the positions stack.
4041 (asPosIterator): remove function
4043 * PosIterator.C (PosIterator): move constructors to top of file
4044 (PosIterator): reimplement the constructor taking a ParIterator in
4046 (setFrom): new function
4047 (operator!=): inline it
4049 2004-01-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4051 * lyxfind.C (replaceAll): use std::advance
4053 * iterators.h: inherit from std::iterator.
4055 * PosIterator.C (advance, distance): remove
4056 * PosIterator.h: interit from std::iterator.
4058 2004-01-26 André Pönitz <poenitz@gmx.net>
4061 * BufferView_pimpl.[Ch]:
4065 * bufferview_funcs.C:
4075 * output_linuxdoc.C:
4076 * output_plaintext.C:
4078 * paragraph_funcs.[Ch]:
4079 * paragraph_pimpl.[Ch]:
4085 * text3.C: more IU: dumps most of the rest of the mathcursor
4086 implementation into cursor.[Ch]; "globalize" a bit of it.
4088 2004-01-25 Angus Leeming <leeming@lyx.org>
4090 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
4092 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4094 * LaTeXFeatures.h: add nice_ and nice() const
4095 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
4097 2004-01-20 André Pönitz <poenitz@gmx.net>
4100 * BufferView_pimpl.C:
4102 * bufferview_funcs.C:
4104 * cursor_slice.[Ch]:
4115 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
4116 LCursor and mathcursor parts to LCursor and InsetBase.
4118 2004-01-15 André Pönitz <poenitz@gmx.net>
4120 * cursor_slice.[Ch]: add a few covienience functions
4122 * funcrequest.[Ch]: remove BufferView * member
4124 * BufferView_pimpl.C:
4131 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
4133 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
4135 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
4136 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
4138 2004-01-13 André Pönitz <poenitz@gmx.net>
4141 * lyxtext.h: hide cursor and selection anchor behind accessor function
4144 * BufferView_pimpl.[Ch]:
4146 * bufferview_funcs.C:
4156 * cursor_slice.[Ch]: some integer type changes for inset unification
4158 * lyxcursor.[hC]: remove, it's CursorSlice now.
4161 * BufferView_pimpl.[Ch]:
4162 * bufferview_funcs.C:
4168 * textcursor.[Ch]: adjust
4170 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
4172 * text2.C (undoSpan): add and use
4173 * text.C (breakParagraph): use undoSpan (fix bug 578)
4176 2004-01-08 Angus Leeming <leeming@lyx.org>
4178 * BufferView_pimpl.C (MenuInsertLyXFile):
4179 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4180 * lyxfunc.C (menuNew, open, doImport):
4181 FileFilterList change to the FileDialog open and save functions.
4183 2004-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
4185 * ShareContainer.h: make isEqual and isUnique adaptable
4187 * CutAndPaste.C: make resetOwnerAndChanges adaptable
4189 2004-01-07 Angus Leeming <leeming@lyx.org>
4192 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
4194 * BufferView_pimpl.C (dispatch): act on these LFUNs.
4196 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
4197 functions replacing find, replace and replaceAll.
4199 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
4200 LFUN_WORDFIND(FORWARD|BACKWARD).
4202 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
4204 * text.C (breakParagraph): remove an outdated #warning
4206 2004-01-07 André Pönitz <poenitz@gmx.net>
4208 * lyxfind.C: somewhat clearer logic
4210 * text.C: prevent crash in cursorX on unitialized row cache
4212 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
4214 * lyxcursor.[Ch] (operator>): add
4215 * textcursor.C (selStart, selEnd): use std::min and std::max
4217 2004-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4219 * Chktex.C: include boost/format.hpp
4221 2004-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
4223 * InsetList.C: replace functor MathcIt with adaptable functor
4225 (insetIterator): modify accordingly
4227 * BranchList.h: move the BranchNamesEqual functor here from...
4228 * BranchList.C: ... to here
4230 * BranchList.C: new BranchListEqual fuctor, use it. Remove
4232 (add): replace a finding loop with std::find_if.
4234 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
4236 * output_docbook.C: moving LatexParam functionality into
4239 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4241 * buffer.C: increment format to 229.
4243 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
4246 * lyx_sty.[Ch]: remove minipageindent_def
4252 * text3.C: remove LFUN_INSET_MINIPAGE
4254 2003-12-28 Angus Leeming <leeming@lyx.org>
4256 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
4258 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
4260 * text2.C (setParagraph): fix off-by-one crash
4262 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
4264 * output_docbook.C: header stuff for AGU
4266 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
4268 * text2.C (redoCursor): remove
4271 * BufferView_pimpl.C: remove calls to redoCursor and
4272 setCursor(cursor.par(), cursor.pos()) all around
4274 2003-12-15 Angus Leeming <leeming@lyx.org>
4276 * buffer.C: up the format to 228.
4278 2003-12-15 André Pönitz <poenitz@gmx.net>
4280 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
4285 * BufferView_pimpl.C:
4294 2003-12-15 Angus Leeming <leeming@lyx.org>
4296 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
4297 than getFromGUIName to manipulate the color.
4299 2003-12-14 Angus Leeming <leeming@lyx.org>
4301 * BranchList.[Ch]: minimize the API.
4302 (Branch::getBranch, getColor): now return a 'const &'.
4303 (Branch::setSelected) now returns a bool set to true if the
4304 selection status changes.
4305 (BranchList::clear, size, getColor, setColor, setSelected,
4306 allBranches, allSelected, separator): removed.
4307 (BranchList::find): new functions, returning the Branch with
4309 (BranchList::add, remove): return a bool indicating that
4310 the operation was successful.
4312 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
4313 new InsetBranch::isBranchSlected member function.
4315 * LColor.[Ch]: mimimize the API.
4316 (fill): renamed as addColor and made private.
4317 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
4318 versions of these functions taking a string arg have been removed.
4320 * bufferparams.C (readToken):
4321 * lyxfunc.C (dispatch):
4322 * lyxrc.C (read): changes due to the altered BranchList and
4325 * factory.C (createInset, readInset): changes due to altered
4328 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4331 * lyxfunc.C: remove insetminipage. "minipage-insert"
4332 now produces a frameless minipage box inset.
4334 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4336 * textcursor.[Ch] (selStart,selEnd): add new methods
4337 remove selection::start, end, use LyXCursor::operator<
4338 * lyxcursor.[Ch] (operator<): add
4339 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
4340 * BufferView.[Ch] (unsetXSel): add
4341 * text2.C (clearSelection): use unsetXSel,adjust
4344 * rowpainter.C: adjust
4345 * bufferview_funcs.C (put_selection_at): adjust
4347 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4349 * BufferView_pimpl.C: small coord. correction
4351 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4353 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
4354 dragging over the splash screen.
4356 2003-12-11 Angus Leeming <leeming@lyx.org>
4358 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
4359 as it is now handled in LyXText::dispatch.
4361 * text3.C (doInsertInset): remove a level of nesting.
4363 2003-12-11 Angus Leeming <leeming@lyx.org>
4365 * factory.C (createInset): changes due to the changed interface to
4366 InsetCommandMailer::string2params.
4368 2003-12-10 Angus Leeming <leeming@lyx.org>
4370 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
4371 'dialog-show-new-inset <inset name>'
4373 2003-12-10 Angus Leeming <leeming@lyx.org>
4375 * buffer.C: up the format to 227.
4377 * factory.C: the box inset is now identified simply by 'Box'.
4379 2003-12-10 Angus Leeming <leeming@lyx.org>
4381 * buffer.C: up the format to 226.
4383 * factory.C: the note inset is now identified simply by 'Note'.
4385 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
4387 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
4388 when a pit is enough. Standarize a couple of loops.
4390 2003-12-05 Angus Leeming <leeming@lyx.org>
4392 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
4393 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
4394 data to the re-worked "log" dialog.
4396 2003-12-03 André Pönitz <poenitz@gmx.net>
4402 * paragraph_funcs.C:
4404 * text2.C: use Inset::getText instead of Inset::getParagraph
4406 2003-12-03 André Pönitz <poenitz@gmx.net>
4410 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
4411 InsetText::read() as LyXText::read()
4413 2003-12-02 Angus Leeming <leeming@lyx.org>
4415 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
4416 type. Add a comment in the implementation that the function uses
4417 the stream's bad() function rather than fail() as the std::streams
4420 2003-12-02 André Pönitz <poenitz@gmx.net>
4422 * lyxlex.[Ch]: make interface more similar to std::stream
4424 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
4426 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
4428 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
4430 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
4432 * vspace.[Ch]: remove VSpace::NONE
4434 2003-12-01 André Pönitz <poenitz@gmx.net>
4437 * lyxtext.h: move ParagraphList member to LyXText
4438 rename LyXText::ownerParagraphs to LyXText::paragraph
4441 * bufferview_funcs.C:
4451 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
4453 * undo.C: fix cursor positioning
4455 2003-12-01 John Levon <levon@movementarian.org>
4457 * BufferView_pimpl.C: fix a crash on exit with
4460 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
4462 * BranchList.C: fix setSelected() method.
4464 2003-11-28 André Pönitz <poenitz@gmx.net>
4466 * ParagraphParameters.[Ch]:
4467 * ParameterStruct.h: remove space above/below from Paragraph to
4470 * BufferView_pimpl.C:
4476 * paragraph_funcs.C:
4482 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
4484 * factory.C: Syntax change for CharStyles
4486 2003-11-28 André Pönitz <poenitz@gmx.net>
4491 * buffer.[Ch]: move LyXText member
4493 2003-11-28 André Pönitz <poenitz@gmx.net>
4495 * BufferView.[Ch]: make LyXText * text a private member
4497 * BufferView_pimpl.C:
4508 * output_plaintext.C: cleanup
4510 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
4513 * lyxtextclass.[Ch]: parametrize SGML document header
4515 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
4518 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4521 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
4523 * text2.C (setFont): rework using PosIterator (no more recursive)
4524 (setCharFont): no more needed
4525 (setLayout): no more selection cursors fiddling (done by redoCursor)
4526 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4527 destroy remaining ones)
4529 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
4531 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4533 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4536 * text3.C: adjust + re-allow multi par depth changes
4537 * textcursor.C: simplify a bit
4539 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
4545 * src/output_docbook.C:
4546 * src/output_latex.C:
4551 * src/text2.C: Introducing a number of tags parametrizing various
4552 XML formats that we may want to support
4554 2003-11-25 André Pönitz <poenitz@gmx.net>
4556 * InsetList.[Ch] (begein, end): inline as suggested by profiler
4558 * lyxtext.h (leftMargin/rightMargin): simplify interface
4565 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4567 * lyxfunc.C (dispatch): propogate the bibtex databases from the
4568 master file to any child files. Fixes bug 546.
4570 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4572 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4574 2003-11-24 André Pönitz <poenitz@gmx.net>
4576 * rowpainter.C: simplification
4578 * text2.C (updateCounters): remove call to redoParagraph on
4579 changed labels as this is far too expensive.
4581 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4583 * converter.C (convert): fix a crash: this function gets
4584 called with buffer == 0 from importer code.
4586 2003-11-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4588 * text3.C (cursorPrevious): make sure that we do not compare
4589 iterators form different containers.
4592 * rowpainter.C (paintSelection): make sure that we do not compare
4593 iterators from different containers.
4595 * text3.C (dispatch): [PRIOR] make sure that we do not compare
4596 iterators from different ParagraphList containers.
4599 * text2.C (LyXText): change order of initialization slightly
4600 (operator=): new function. copy all variables except cache_par_
4601 (moveUp): make sure that we do not compare iterators from
4602 different ParagraphList constainers.
4605 * text.C (firstPar): new function
4606 (lastPar): new function
4607 (endPar): new function
4609 * lyxtext.h: move things around and group public functions, public
4610 variables, private functions, private variables
4612 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
4614 * factory.C: change call to InsetERT constructor to avoid
4615 additional invocation of method status
4616 * text2.C (toggleInset): remove redundant update() call
4617 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4618 instead of a Bufferview pointer
4620 2003-11-21 André Pönitz <poenitz@gmx.net>
4622 * rowpainter.C: simplification
4624 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4626 * text3.C (dispatch): make possible to extend a word/row selection
4629 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4631 * lyxtext.h: x0_,y0_ -> xo_,yo_
4632 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4633 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4634 * rowpainter.C (paintRows): paint full paragraphs
4636 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4638 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4641 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4643 * lyxtext.h: add x0_, y0_
4644 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4645 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4647 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
4649 * text2.C (setCursorIntern): move the x_target update here *
4650 * text3.C: change some bv() to true/false in calls to
4651 cursorUp/Down/Right/Left
4652 * cursor.C: use helper function.
4654 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4656 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4657 * paragraph_funcs.[Ch]: correct comment
4658 * rowpainter.C: do not paint selections away from bv->cursor()
4659 Fix a long standing selection painting bug.
4660 * text3.C: generalize mouse-selection code to LyXTexts other that
4662 * textcursor.C: do not use y coords if we can use par offsets
4664 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4666 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4667 cursor position after e.g. inset insert)
4669 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
4671 * lyxfind.C (replace): adjust to locking removal + some
4674 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
4676 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4679 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
4682 * output_docbook.C: XML sanitation: new layout
4683 parameters InnerTag and CommandDepth
4685 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
4687 * BufferView_pimpl.C:
4689 * text3.C: Fix the insertion and modification of button-style
4692 2003-11-13 André Pönitz <poenitz@gmx.net>
4694 * InsetList.[Ch]: remove deleteLyXText
4696 * paragraph.[Ch]: cache beginOfBody position
4701 * text3.C: remove superfluous update() calls
4705 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
4707 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4708 * BufferView.C (fitLockedInsetCursor): remove
4709 * cursor.[Ch] (getDim): add
4710 * text.C (getRowNearY): add faster version
4711 * text3.C: remove some update calls
4713 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
4725 * text3.C: The Character Style /XML short element patch.
4727 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
4730 * factory.C: Small step to solving 'unable to insert some insets'
4733 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
4735 * cursor.[Ch] (updatePos): new function for updating the y
4736 position of the tip inset
4737 * bufferview_funcs.C (put_selection_at):
4738 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4740 2003-11-11 André Pönitz <poenitz@gmx.net>
4742 * text.C: remove big comment on invalid Paragraph pointers as it is
4745 2003-11-11 André Pönitz <poenitz@gmx.net>
4747 * text_funcs.[Ch]: merge with ...
4755 * Makefile.am: remove text_funcs.[Ch]
4757 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
4759 * cursor.C (getPos): return absolute cached y coord
4761 * BufferView_pimpl.C (fitCursor): new simplistic code
4762 (workAreaDispatch): add a fitCursor call
4764 2003-11-10 André Pönitz <poenitz@gmx.net>
4767 * BufferView_pimpl.[Ch]: merge update() and updateInset()
4769 2003-11-10 André Pönitz <poenitz@gmx.net>
4771 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4772 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4773 indicate that the cursor needs to leave an inset
4775 * lyxtext.h: remove inset locking
4777 * cursor.[Ch]: re-implement functionality provided by inset locking
4780 * BufferView_pimpl.[Ch]:
4782 * bufferview_funcs.[Ch]:
4794 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
4796 * PosIterator.[Ch]: replace the stack with a vector, add inset
4798 * iterators.[C]: adjust
4800 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4802 * lyxfind.C (replaceAll): mark the buffer dirty if something was
4804 * paragraph_funcs.C (readParToken): put the correct id in the
4805 error item, not the id of the top paragraph
4807 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4809 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4810 * bufferview_funcs.C (put_selection_at): use the above
4812 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4814 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4816 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4818 * output_linuxdoc.h:
4819 * output_plaintext.h:
4821 * output_docbook.h: add #include statements
4823 2003-11-05 José Matos <jamatos@lyx.org>
4825 * output_docbook.[Ch]:
4826 * output_latex.[Ch]:
4827 * output_linuxdoc.[Ch]:
4828 * output_plaintext.[Ch]: New files for output formats.
4829 * output.[Ch]: New file for helper functions.
4832 * paragraph_funcs.[Ch]: output functions moved to new files.
4834 * outputparams.h: rename of latexrunparams.h
4842 * paragraph_funcs.[Ch]:
4843 * paragraph_pimpl.[Ch]:
4844 * tabular.[Ch]: rename ascii to plaintext
4845 and LatexRunParams to OutputParams.
4847 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4849 * iterators.[Ch] (text): require bv argument
4850 * undo.C (recordUndo):
4851 * lyxfunc.C (dispatch):
4852 * bufferview_funcs.C (put_selection_at): adjust
4854 2003-11-05 Jo� Luis M. Assirati <assirati@fma.if.usp.br>
4856 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4858 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4860 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4863 2003-11-04 André Pönitz <poenitz@gmx.net>
4865 * cursor.[Ch]: restructure
4868 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4870 * iterators.[Ch] (asCursor): remove
4872 * lfuns.h: remove LFUN_INSET_EDIT
4878 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4880 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4882 * lyxfind.[Ch]: complete overhaul
4883 * BufferView_pimpl.C:
4885 * paragraph.[Ch] (insert): add
4887 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4891 * text.C: remove dead spellcheck code
4893 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4895 * dispatchresult.h: add a val setter
4897 * cursor.C (dispatch): use a tempvar for data_[i]
4899 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4901 * PosIterator.[Ch]: compile fix
4903 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4905 * text.C (cursorPar): deactivate the cursor cache
4907 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4909 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4911 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4913 * text3.C (dispatch): adjust for new DisptchResult semantics.
4915 * lyxfunc.C (dispatch): handle update when return from
4916 Cursor::dispatch, adjust for new DispatchResult semantics.
4918 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4919 DispatchResult(true) mean to not update. Add class functions for
4920 setting dispatched and update, as well as reading.
4922 * cursor.C (dispatch): don't handle update here
4924 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4926 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4927 * trans_mgr.C: adjust
4929 * paragraph_funcs.C (readParToken): exception safety
4931 * lyxvc.h: store the vcs pointer in a scoped_ptr
4934 * lyxsocket.C (serverCallback): exception safety
4936 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4938 * ispell.C (clone): make it return a auto_ptr
4940 * factory.C (createInset): exception safety
4941 (readInset): exception safety
4943 * bufferlist.C (newBuffer): exception safety
4945 * Thesaurus.C (Thesaurus): use initialization for aik_
4947 * MenuBackend.C (expandToc): exception safety.
4949 2003-11-03 André Pönitz <poenitz@gmx.net>
4953 * bufferview_funcs.C: remove getInsetFromId()
4956 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4962 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4964 * PosIterator.C (distance, advance): new
4965 * bufferview_funcs.[Ch] (put_selection_at): new
4966 * iterators.[Ch] (lockPath): new
4968 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
4970 * iterators.[Ch] (asPosIterator): added
4971 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4972 * PosIterator.[Ch]: added
4974 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4978 * cursor.C (dispatch):
4979 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4981 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4982 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4983 contructor, add a class function dispatched. Remove operator>=
4985 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4987 * debug.C: only use the default constructor for debugstream
4990 * main.C (main): include debug.h and setup the lyxerr streambuf
4993 2003-10-31 José Matos <jamatos@lyx.org>
4995 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4997 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4998 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4999 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5000 * paragraph_pimpl.C (simpleTeXSpecialC):
5001 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
5002 add LatexRunParams argument.
5004 * exporter.C (Export): change call accordingly.
5006 * latexrunparams.h: add new member to take care of the other backends.
5007 2003-10-30 José Matos <jamatos@lyx.org>
5009 * buffer.C (makeLinuxDocFile, makeDocBookFile):
5010 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5011 factorise code for paragraph output.
5013 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
5016 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5018 * text3.C (dispatch):
5019 * lyxfunc.C (dispatch):
5020 * cursor.C (dispatch):
5021 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
5023 * dispatchresult.h: make the dispatch_result_t ctor explicit
5025 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
5028 * buffer.C: small refactoring of docbook stuff
5030 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5032 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
5035 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5037 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
5038 operator dispatch_result_t, and operators for == != and >=
5040 * cursor.C (dispatch): adjust for operator dispatch_result_t
5041 removal. comment out call to update
5043 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
5045 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5053 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
5056 * dispatchresult.h: new file, DispatchResult broken out of
5059 * Makefile.am (lyx_SOURCES): add dispatchresult.h
5061 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
5063 * text.C (rowBreakPoint): put a hack inside #if 0
5065 2003-10-28 André Pönitz <poenitz@gmx.net>
5069 * paragraph_funcs.C:
5072 * text2.C: general cleanup (lots of small stuff)
5074 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
5076 * text2.C (cursorEnd): simple fix to the "end key goes to one
5077 before the end on last row" bug
5079 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5081 * text.C (backspace): fix the "zombie characters"
5083 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5085 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
5087 2003-10-27 André Pönitz <poenitz@gmx.net>
5089 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
5091 * factory.C: handle new InsetPagebreak, InsetLine
5093 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
5094 and move handling into new InsetPagebreak, InsetLine
5096 * BufferView_pimpl.C:
5098 * ParagraphParameters.C:
5099 * ParameterStruct.h:
5104 * paragraph_funcs.C:
5105 * paragraph_pimpl.C:
5111 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5114 * lyxrow_funcs.[Ch]:
5120 * text3.C: remove lastPos uses in favour of Row::endpos
5122 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5124 * undo.C (performUndoOrRedo): fix two crashes by setting a
5125 cursor by hand and reordering some calls. Use bv->lockInset instead
5126 of inset->edit because the latter loses cursor information
5128 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
5130 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
5132 (rowBreakPoint): fix width. change point to point + 1.
5133 Add a missing check.
5135 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
5138 * lyxfunc.C: fix (at least partly) the problems
5139 with the Nav menu and headers inside branch insets
5142 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
5144 * paragraph.C (getChar): add strong asserts
5146 * lyxrow_funcs.C (lastPos): remove hideous hack
5148 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
5149 (fill): adjust to that (avoid an infinite loop)
5151 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
5153 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
5155 2003-10-23 André Pönitz <poenitz@gmx.net>
5157 * RowList_fwd.h: change list<> to vector<> to gain speed
5158 after suggestion from Alfredo
5160 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
5162 * lyxtext.h: move the bidi stuff from here...
5165 * Bidi.[Ch]: ... to here
5167 2003-10-23 André Pönitz <poenitz@gmx.net>
5170 * text.C (isLastRow, isFirstRow): new functions
5172 * paragraph.h: new width cache member
5174 * rowpainter.C: replace RowList::iterator with Row & where possible
5176 * lyxfunc.C: replace several view()->text with a single call
5178 * toc.C: fix 'unused' warning
5180 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5182 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
5183 when woring with stream::pos_type
5184 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
5186 2003-10-22 André Pönitz <poenitz@gmx.net>
5189 * text.C: use Row & instead of RowList::iterator
5191 * lyxrow.h: rename end() to endpos()
5197 2003-10-22 Angus Leeming <leeming@lyx.org>
5199 * buffer.[Ch] (fully_loaded): new member function, returning true
5200 only when the file has been loaded fully.
5201 Used to prevent the premature generation of previews and by the
5202 citation inset to prevent computation of the natbib-style label.
5204 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
5205 templates are all set up.
5207 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
5209 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
5211 * text.C: fixed an "oops" in the "is a bit silly"
5214 2003-10-21 André Pönitz <poenitz@gmx.net>
5216 * FuncStatus.[Ch]: small stuff, whitespace
5218 * lyxfont.[Ch]: operator<<() for debug reasons
5222 * lyxtext.h: whitespace, spelling
5224 * paragraph.C: naming of variables
5227 * text2.C: small stuff
5230 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
5232 * text.C: (1) finish off the inset display() work;
5233 (2) fix the "is a bit silly" bug (accessing char
5236 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
5238 * text.C: re-introduce display() for insets, fixing the
5239 various bugs (stretch of line above, math inset
5242 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5244 * text.C (rightMargin): remove spurious semicolon
5246 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
5249 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
5251 * text3.C: fix one crash due to wrong cursor def
5253 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5255 * vc-backend.C (scanMaster): make the regex static
5257 * LaTeX.C (scanAuxFile): make the regexs static
5259 * text3.C (doInsertInset, dispatch, dispatch):
5260 * text2.C (cursorUp, cursorDown):
5261 * text.C (selectNextWordToSpellcheck):
5262 * BufferView_pimpl.C (dispatch):
5263 * lyxfunc.C (dispatch): localDispatch -> dispatch
5265 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5267 * lyxsocket.C: include <cerrno>
5269 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5271 * lyxfunc.C (dispatch): remove textcache stuff
5273 * bufferlist.C (release): remove textcache stuff
5276 * TextCache.C: delete file
5277 * TextCache.h: delete file
5279 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
5281 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
5282 delete of the bv_->text.
5283 (resizeCurrentBuffer): remove texcache stuff
5284 (workAreaResize): ditto
5286 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5288 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
5291 2003-10-16 André Pönitz <poenitz@gmx.net>
5298 * text3.C: speed up by storing y positions per paragraph plus per-row
5299 offset instead of having a 'full' y position in the row.
5301 2003-10-15 André Pönitz <poenitz@gmx.net>
5305 * undo.[Ch]: make undo aware of inner insets
5307 2003-10-14 Angus Leeming <leeming@lyx.org>
5309 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
5310 static member functions LyX::ref() and LyX::cref.
5311 (lastfiles): new accessor functions for the new lastfiles_ member var.
5312 (addLyXView, views_): add a new LyXView to the list of views_.
5313 (updateInset): loop over all LyXViews to call their own updateInset
5314 member function, returning a pointer to the Buffer owning the inset.
5316 * BufferView_pimpl.C (loadLyXFile):
5317 * MenuBackend.C (expandLastfiles):
5318 * bufferlist.C (MenuWrite, QuitLyX):
5319 lastfiles is no longer a global variable.
5320 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
5322 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
5323 static function. Access through LyX::cref().emergencyCleanup().
5325 2003-10-14 André Pönitz <poenitz@gmx.net>
5327 * iterators.[Ch]: new direct access to innermost LyXText and Inset
5329 * undo.[Ch]: restoring part of 'undo in insets'
5332 * undo_funcs.[Ch]: merge with undo.[Ch]
5334 * tabular.C: small cleansing stuff
5336 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
5338 * paragraph_funcs.C (readParToken): report unknown insets as error
5339 boxes. Use the outer paragraph as location (also for unknown
5342 * factory.C (readInset): do not abort on reading an unknown inset.
5343 Eat it and return 0.
5345 2003-10-13 Angus Leeming <leeming@lyx.org>
5347 * lyx_main.C (LyX): remove call to setDisplayTranslator().
5349 * lyxrc.C: displayTranslator is now a function,
5350 declared in GraphicsTypes.h.
5352 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5354 * format.C: new placeholder $$a to pass the socket address.
5356 * bufferlist.[Ch]: new function getBufferFromTmp.
5358 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
5359 files in the temporary dir.
5361 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5363 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
5365 * Makefile.am: add lyxsocket.[Ch].
5367 * lyx_main.C (error_handler): handle SIGPIPE.
5369 2003-10-13 André Pönitz <poenitz@gmx.net>
5371 * BufferView_pimpl.C:
5376 * undo_funcs.[Ch]: use paroffset_type instead of
5377 ParagraphList::iterators to prevent multiple conversion
5378 (and get a more robust interface)
5380 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5382 * lyxfunc.C (dispatch): RESULT -> dispatch_result
5384 * text3.C (dispatch): ditto
5386 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5388 * LaTeX.C (handleFoundFile): move the static to smaller scope,
5389 move the onlyfile, use onlyfile instead of foundfile in a couple
5392 * DepTable.C (update): flush the error stream a bit more
5394 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5396 * lyxserver.C (callback): adjust
5398 * lyxfunc.C (getStatus): add a missing brace in commented code
5399 (ensureBufferClean): reindent
5400 (dispatch): delete version taking a string
5402 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5404 * LaTeX.C (deplog): move found file handlig from here...
5405 (handleFoundFile): .. to new function here.
5406 (deplog): make sure to discover several files mentioned on the
5409 2003-10-10 André Pönitz <poenitz@gmx.net>
5416 * text3.C: fix some of the tabular crashes
5418 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5420 * MenuBackend.C (binding): put debug message into Debug::KBMAP
5422 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
5424 2003-10-09 André Pönitz <poenitz@gmx.net>
5426 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
5429 * BufferView_pimpl.C:
5430 * bufferview_funcs.C:
5441 * undo_funcs.C: adjust
5443 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5445 * text2.C (incrementItemDepth): new function, use a backtracking
5446 algorithm to discover the correct item depth.
5447 (resetEnumCounterIfNeeded): new function, use a backtracking
5448 algorithm to discover if counter reset is needed.
5449 (setCounter): use them. Simplify a bit. Add different labels for
5450 different item depths for itemize.
5452 * paragraph.C (Paragraph): remove initialization of enumdepth
5455 * paragraph.h: get rid of enumdepth, and use itemdepth both for
5456 enumerate and itemize. Change the type of itemdepth to signed char.
5458 2003-10-08 André Pönitz <poenitz@gmx.net>
5460 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5465 * tabular.[Ch]: fix crash after 'row-insert'
5467 2003-10-08 Angus Leeming <leeming@lyx.org>
5469 Fix doxygen warnings.
5471 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5472 Remove CutAndPaste:: prefix from header file declaration.
5474 * LColor.h (fill): remove LColor:: prefix from declaration.
5476 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5477 use lyx::depth_type rather than Paragraph::depth_type so that
5478 header file and .C file match.
5480 * converter.h (intToFormat): remove Converters:: prefix from declaration.
5482 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5483 * aspell.C: \file aspell_local.C -> \file aspell.C
5484 * gettext.C: \file gettext.C -> \file src/gettext.C
5485 * gettext.h: \file gettext.h -> \file src/gettext.h
5486 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5487 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5488 * text.C: \file text.C -> \file src/text.C
5490 * toc.C: move comment so that doxygen is not confused.
5492 2003-10-07 Angus Leeming <leeming@lyx.org>
5494 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5496 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5499 * aspell_local.h: add forgotten std::string's.
5501 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
5508 * text3.C: The Box patch. Fancybox support, minipage, parbox
5510 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
5516 * ParagraphParameters.h:
5526 * lyxtextclasslist.h:
5529 * paragraph_pimpl.C:
5530 * textcursor.h: add <string> and other small fixes to make Lars'
5531 std::string patch compile with STLport.
5533 2003-10-06 Angus Leeming <leeming@lyx.org>
5535 * LColor.h: Add missing #include <string>.
5537 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5539 * All most all file in all subdirs: Make <string> be the prefered
5540 way of getting to std::string, add using declarations.
5542 2003-10-06 André Pönitz <poenitz@gmx.net>
5544 * metricsinfo.C: initialize LyXFont before changing attribute.
5545 (fixes the 'math in \emph is upright' bug)
5547 2003-10-06 André Pönitz <poenitz@gmx.net>
5549 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5551 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
5554 * paragraph_pimpl.C: Small fixes to build using STLport
5556 2003-10-02 André Pönitz <poenitz@gmx.net>
5559 * text3.C: move handling of LFUN_DEPTH *; fix #1360
5561 2003-10-01 André Pönitz <poenitz@gmx.net>
5563 * factory.C: assert early
5565 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5567 * lyx_main.C: remove the global debug object
5569 * debug.h: adjust for new debugstream
5571 * debug.C: adjust for new debugstream and keep the global debug
5574 2003-09-22 Angus Leeming <leeming@lyx.org>
5576 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5577 of g++ which otherwise complain that the scoped_ptr destructor can't delete
5578 an incomplete class LyXFont.
5580 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
5582 * factory.C: bug fix in branches
5584 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5586 * lyxfunc.C (processKeySym): adjust
5588 (dispatch): change arg name from ev to func, adjust
5589 (sendDispatchMessage): ditto
5591 * lyx_main.C (defaultKeyBindings): adjust keybindings
5592 (deadKeyBindings): ditto
5594 * kbsequence.C (addkey): return a FuncRequest
5596 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5598 * kbmap.C (bind): take a FuncRequest as arg, adjust
5601 (defkey): change to take a FuncRequest as arg, adjust
5602 (findbinding): take a FuncRequest as arg, adjust.
5604 * funcrequest.h (operator=): added
5606 * funcrequest.C (FuncRequest): default kb_action changed from
5607 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5609 * buffer.C (dispatch): simplify
5610 (dispatch): adjust to take a FuncRequest as arg, adjust
5612 * boost.C (assertion_failed): change assertion message slightly
5614 * ToolbarBackend.C (read): simplify
5616 * MenuBackend.C (binding): adjust call to findbinding, add a
5617 message if no binding is found.
5619 (expandToc): correct by adding a empty FuncRequest
5621 * LyXAction.C: include <boost/assert.hpp>
5622 (isPseudoAction): delete function
5623 (LookupFunc): change name to...
5624 (lookupFunc): this. change return type to FuncRequest.
5625 (getActionName): take kb_action as arg, simplify
5626 (funcHasFlag): add an assert, simplify.
5628 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5630 * toc.C (action): return a FuncRequest, simplify
5632 * lyxfunc.C (processKeySym): adjust
5633 (getStatus): delete version that takes an int.
5635 (dispatch): delete version that takes action as int
5637 (sendDispatchMessage): simplify and adjust
5639 * funcrequest.C (getArg): take unsigned int as arg
5641 * ToolbarBackend.C (read): adjust
5642 (add): delete version that takes func as a string.
5643 (getIton): take a FuncRequest as arg
5645 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5648 * MenuBackend.C (MenuItem): add a new construct that only takes a
5649 Kind, simplify the constructor use for submenus.
5651 (expandLastfiles): adjust
5652 (expandDocuments): adjust
5653 (expandFormats): adjust
5654 (expandFloatListInsert): adjust
5655 (expandFloatInsert): adjust
5656 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5658 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5659 Remove class variables lyx_pseudo_map and lyx_arg_map
5661 * LyXAction.C (searchActionArg): delete function
5662 (getPseudoAction): delete function
5663 (retrieveActionArg): delete function
5664 (LookupFunc): make it return kb_action, simplify.
5665 (getActionName): simplify
5667 * factory.C (createInset): fix new bug
5669 2003-09-19 Angus Leeming <leeming@lyx.org>
5671 * CutAndPaste.C (pasteSelection): remove fudge used to set the
5672 masterFilename_ parameter in the include inset.
5674 * factory.C (createInset): changes due to the changes to InsetInclude.
5676 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5678 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5680 2003-09-18 Angus Leeming <leeming@lyx.org>
5683 * BufferView.C: pass the buffer when calling Inset::getLabelList,
5684 Inset::fillWithBibKeys.
5685 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5687 2003-09-18 Angus Leeming <leeming@lyx.org>
5689 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5691 (ctor): pass and store a 'Buffer const &'
5692 (buffer): new member function.
5694 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5695 '*this' to the LaTeXFeatures ctor.
5697 2003-09-18 Angus Leeming <leeming@lyx.org>
5703 * text.C: rename EnumLColor as LColor_color.
5705 2003-09-18 Angus Leeming <leeming@lyx.org>
5707 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5708 remove #include "insets/insetbase.h" from cursor.h.
5710 2003-09-18 Angus Leeming <leeming@lyx.org>
5712 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5713 InsetOld_code to remove #include "inset.h".
5715 * iterators.C: add #include "insets/inset.h"
5717 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
5719 * BufferView.C: remove more locking stuff that apparently doesn't
5720 do anything sensible.
5722 2003-09-16 André Pönitz <poenitz@gmx.net>
5725 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5728 2003-09-16 Angus Leeming <leeming@lyx.org>
5730 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5732 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5735 * paragraph.h: remove #include "lyxfont.h". Forward declare
5738 2003-09-16 Angus Leeming <leeming@lyx.org>
5740 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5741 of support/textutils.h.
5742 (isWord): move the contents of support/textutils.h's IsWordChar here.
5748 * text2.C: add #include "paragraph.h".
5751 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5753 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5759 * LaTeX.C: use namespace alias for lyx::support::os
5761 2003-09-16 Angus Leeming <leeming@lyx.org>
5764 * bufferview_funcs.C:
5767 * paragraph_pimpl.C:
5769 * text.C: add #include "LColor.h".
5771 2003-09-16 Angus Leeming <leeming@lyx.org>
5773 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5774 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5776 Store the FontBits::color variable as an int rather than as an
5777 LColor::colorso that we can move LColor.h out of the lyxfont.h header
5780 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5781 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5782 string calls together.
5784 * lyxrc.C: add #include "LColor.h".
5786 2003-09-15 Angus Leeming <leeming@lyx.org>
5788 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5791 2003-09-15 Angus Leeming <leeming@lyx.org>
5793 * LColor.h: add an EnumLColor wrapper for LColor::color.
5795 * lyxfont.[Ch] (color, setColor, realColor):
5796 * lyxtext.h, text.C (backgroundColor):
5797 pass EnumLColor args to/from the functions, rather than LColor::color
5801 * lyxtext.h: forward declare EnumLColor.
5803 * lyx_main.C: add #include "LColor.h".
5805 2003-09-15 Angus Leeming <leeming@lyx.org>
5807 * .cvsignore: add lyx-gtk.
5809 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5814 * ParagraphParameters.C
5818 * bufferview_funcs.C
5828 * vc-backend.C: remove usage of STRCONV
5830 2003-09-15 Angus Leeming <leeming@lyx.org>
5832 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5833 explicitly define the color passed to the painter.
5835 2003-09-15 Angus Leeming <leeming@lyx.org>
5837 * bufferparams.C (BufferParams): reorder member initializers to avoid
5840 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
5842 * CutAndPaste.C (pasteSelection): remove an outdated #warning
5843 * text.C (updateRowPositions): remove an unusual nop
5845 2003-09-12 André Pönitz <poenitz@gmx.net>
5847 * BufferView_pimpl.C:
5856 * Counters.[Ch]: finish the 'automatic counters' job
5858 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5860 * aspell.C: include <boost/assert.cpp> (compile fix)
5862 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
5864 * boost.C (assertion_failed): use lyx::support::abort instead of
5867 2003-09-10 Angus Leeming <leeming@lyx.org>
5869 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5870 with their _fwd progeny.
5872 2003-09-09 Angus Leeming <leeming@lyx.org>
5874 134 files throughtout the source tree: replace 'using namespace abc;'
5875 directives with the appropriate 'using abc::xyz;' declarations.
5877 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5879 * boost.C (emergencyCleanup): moved here from LAssert.c
5880 (assertion_failed): new function, called by BOOST_ASSERT
5882 * several files: change Assert to BOOST_ASSERT
5884 2003-09-09 Angus Leeming <leeming@lyx.org>
5886 * buffer.[Ch]: Add an Impl class and move Buffer's member
5887 variables into it. As a result move several header files out of
5890 Add header files to lots of .C files all over the tree as a result.
5892 2003-09-09 Angus Leeming <leeming@lyx.org>
5894 * buffer.[Ch]: make Buffer's member variables private. Add
5897 Lots of changes all over the tree as a result.
5899 2003-09-08 Angus Leeming <leeming@lyx.org>
5901 * graph.C: #include <config.h>.
5903 2003-09-08 Angus Leeming <leeming@lyx.org>
5907 * BufferView_pimpl.C:
5936 * toc.C: remove redundant using directives.
5938 2003-09-07 Angus Leeming <leeming@lyx.org>
5940 * LaTeXFeatures.h: remove #include "support/types.h".
5941 * ToolbarBackend.h: remove #include <algorithm>.
5942 * changes.h: remove #include <ctime>.
5943 * debug.h: remove #include <iosfwd>.
5944 * graph.h: remove #include "support/std_string.h".
5945 * lyx_main.h: remove #include <csignal>.
5946 * lyxlex_pimpl.h: remove #include <fstream>.
5947 * sgml.h: remove #include <algorithm>, <utility>.
5948 * toc.h: remove #include "support/std_ostream.h".
5949 Add #include <iosfwd>.
5951 2003-09-07 Angus Leeming <leeming@lyx.org>
5953 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5955 * converter.h: forward declare LatexRunParams.
5956 * encoding.h: remove #include "lyxrc.h".
5957 * lyxtext.h: remove #include "LColor.h".
5958 * lyxtextclass.h: remove #include "support/types.h".
5959 * trans.h: remove #include "tex-accent.h".
5960 * trans_mgr.h: remove #include "tex-accent.h".
5961 * insets/inset.h: remove #include "support/types.h", <vector>.
5962 * insets/insetcollapsable.h: remove #include "LColor.h".
5963 * insets/insetinclude.h: remove #include "dimension.h".
5964 * insets/insetlatexaccent.h: remove #include "dimension.h".
5965 * insets/insetoptarg.h:: remove #include "insettext.h".
5966 * insets/insettext.h: remove #include "dimension.h",
5967 <boost/shared_ptr.hpp>
5969 * insets/renderers.h: add #include "dimension.h".
5970 * insets/updatableinset.h: add #include "support/types.h".
5972 * many .C files: Associated changes.
5974 2003-09-06 Angus Leeming <leeming@lyx.org>
5976 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5977 one, inside testInvariant.
5979 * PrinterParams.C: new file.
5980 * PrinterParams.[Ch]: move the function bodies out of line.
5982 2003-09-06 Angus Leeming <leeming@lyx.org>
5984 * ParagraphParameters.h: forward declare ParameterStruct rather than
5985 including its header file.
5986 (depth): moved out-of-line.
5988 2003-09-06 Angus Leeming <leeming@lyx.org>
5990 * BufferView_pimpl.h:
5993 * lyxfunc.h: forward declare LyXKeySym rather than
5994 #include "frontends/LyXKeySym.h".
5996 * BufferView_pimpl.C:
5999 * lyxfunc.C: associated changes.
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>
6008 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
6009 As a result, can remove the #include "insets/inset.h" from BufferView.h
6011 2003-09-06 Angus Leeming <leeming@lyx.org>
6017 * bufferview_funcs.C:
6018 * BufferView_pimpl.C:
6023 * ParagraphParameters.C:
6028 * frontends/controllers/ControlDocument.C:
6029 * insets/insetcaption.C: rearrange the #includes into some sort of
6032 * buffer.h: remove #includes ErrorList.h, undo.h
6034 2003-09-06 Angus Leeming <leeming@lyx.org>
6036 * support/types.h: add a 'depth_type' typedef, used to store the
6037 nesting depth of a paragraph.
6040 * ParameterStruct.h: use this lyx::depth_type typedef rather than
6041 defining explicitly.
6044 * paragraph_funcs.h:
6045 * ParagraphParameters.h:
6046 * sgml.h: use lyx::depth_type rather than Paragraph or
6047 ParameterStruct's depth_type.
6050 * paragraph_funcs.h: no need to #include paragraph.h anymore.
6053 * BufferView_pimpl.C:
6055 * ParagraphParameters.C:
6058 * bufferview_funcs.C:
6065 * frontends/LyXView.C:
6066 * frontends/controllers/ControlDocument.C:
6067 * frontends/controllers/ControlErrorList.C:
6068 * insets/insetbibitem.C:
6069 * insets/insetbranch.C:
6070 * insets/insetcaption.C:
6071 * insets/insetcollapsable.C:
6072 * insets/insetenv.C:
6073 * insets/insetert.C:
6074 * insets/insetfloat.C:
6075 * insets/insetfoot.C:
6076 * insets/insetfootlike.C:
6077 * insets/insetnewline.C:
6078 * insets/insetquotes.C:
6079 * insets/insettabular.C:
6080 * insets/insettext.C:
6081 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
6083 * frontends/controllers/ControlChanges.C: #include "changes.h".
6085 2003-09-06 Angus Leeming <leeming@lyx.org>
6087 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
6088 than #including paragraph.h.
6091 * RowList.h: deleted. Superfluous.
6101 * insets/insettext.h: use ParagraphList_fwd.h rather than
6104 * paragraph.h: don't forward declare ParagraphList.
6107 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
6108 rather than ParagraphList.h. paragraph.h is still needed for the
6109 Paragraph::depth_type parameters.
6111 * textcursor.h: enable it to compile stand-alone in light of the
6114 * bufferview_funcs.C:
6126 * frontends/controllers/ControlParagraph.C:
6127 * frontends/controllers/ControlTabular.C:
6128 * insets/insetmarginal.C:
6129 * insets/insetminipage.C:
6130 * insets/insetnote.C:
6131 * insets/insetoptarg.C: add header files needed to compile again.
6133 2003-09-06 Angus Leeming <leeming@lyx.org>
6135 * RowList_fwd.h: new file, forward-declaring Row rather than
6136 #including lyxrow.h.
6141 * insets/insettext.h: use it instead of RowList.h
6143 * bufferview_funcs.C:
6150 * text3.C: #include "RowList.h".
6152 2003-09-05 Angus Leeming <leeming@lyx.org>
6154 * factory.C (createInset):
6155 * vspace.C (c-tor): replace sscanf call with an istringstream.
6156 * ispell.C: re-add missing HP/UX headers.
6157 * lyxserver.C: re-add missing os2 headers.
6159 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
6168 * text3.C: re-add missing system headers, needed for 2.95.2.
6170 2003-09-05 Angus Leeming <leeming@lyx.org>
6172 Changes most place everywhere due to the removal of using directives
6173 from support/std_sstream.h.
6175 2003-09-05 Angus Leeming <leeming@lyx.org>
6177 Replace LString.h with support/std_string.h,
6178 Lsstream.h with support/std_sstream.h,
6179 support/LIstream.h with support/std_istream.h,
6180 support/LOstream.h with support/std_ostream.h.
6182 Changes resulting throughout the tree.
6184 2003-09-05 Angus Leeming <leeming@lyx.org>
6186 * sgml.h: ensure that the header file can be compiled stand-alone.
6187 * *.C: strip out redundant #includes. (320 in total.)
6189 2003-09-04 Angus Leeming <leeming@lyx.org>
6191 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
6192 here (from getPackages).
6194 * debug.[Ch]: add a new EXTERNAL tag.
6196 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6198 * text2.C (cursorEnd): simplify
6200 (getColumnNearX): adjust
6202 * text.C (computeBidiTables): adjust
6205 * rowpainter.C (paintChars): adjust
6206 (paintSelection): adjust
6207 (paintChangeBar): adjust
6210 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
6212 (numberOfSeparators): adjust
6214 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
6220 * text3.C: Restricts the mouse click functionality
6221 of insets like bibtex, include, toc and floatlist to the visible
6222 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
6223 up the dialogs. Cursor has to be in front of the inset (i.e.
6224 start of row) for this to function.
6226 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6228 * bufferview_funcs.C (currentState): output row information
6230 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6232 * bufferview_funcs.C (currentState): output paragraph position
6234 2003-09-04 Angus Leeming <leeming@lyx.org>
6236 * FloatList.h: move out #include "Floating.h".
6237 * LaTeX.h: move out #include "DepTable.h".
6238 * LyXAction.h: move out #include "funcrequest.h".
6239 * buffer.h: move out #include "author.h", "iterators.h".
6240 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
6241 * lyx_main.h: move out #include "errorlist.h".
6242 * lyxfunc.h: move out #include "FuncStatus.h".
6243 * lyxtext: move out #include "lyxcursor.h".
6244 * paragraph_pimpl.h: move out #include "counters.h".
6246 2003-09-03 Angus Leeming <leeming@lyx.org>
6248 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
6249 preamble_snippets list, enabling us to add snippets to the preamble
6250 only if the snippet was not there already.
6252 2003-09-04 Angus Leeming <leeming@lyx.org>
6254 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
6256 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6258 * lyxfunc.C (dispatch): if fitCursor did something be sure to
6261 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
6263 * BranchList.C: point fix, earlier forgotten
6265 2003-09-02 Angus Leeming <leeming@lyx.org>
6267 * box.C (contains): renamed from 'contained' after a fantastic
6270 2003-09-02 John Levon <levon@movementarian.org>
6276 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
6278 2003-09-02 John Levon <levon@movementarian.org>
6280 * text2.C: simplification of cursorEnd(), including partial
6283 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6285 * buffer.C (readFile): add a space
6287 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
6289 * BufferView_pimpl.C (update): remove bogus fitCursor() call
6291 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6293 * buffer.C (readFile): new function, take a filename and a
6294 ParagraphList::iterator
6296 (readFile): adjust, make it private. don't use setStream, make
6297 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
6298 always contain the filename.
6300 * BufferView.C (insertLyXFile): simplify and make it work for
6303 2003-08-30 John Levon <levon@movementarian.org>
6305 * Makefile.am: fix dist (from Kayvan)
6307 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6309 * most files: change to use const Buffer refs
6311 2003-08-27 André Pönitz <poenitz@gmx.net>
6313 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
6314 on top of ownerPar().
6316 2003-08-27 John Levon <levon@movementarian.org>
6318 * funcrequest.C: properly initialise POD members
6320 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
6322 * lyxtext.h (top_y): move top_y from here
6327 * BufferView_pimpl.[Ch]: to here
6328 * frontends/screen.C:
6329 * insets/insettabular.C:
6330 * insets/insettext.C: adjust
6331 * rowpainter.[Ch] (paintRows): remove LyXText & argument
6333 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
6336 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
6338 2003-08-26 André Pönitz <poenitz@gmx.net>
6340 * paragraph_func.[Ch] (outerPar): new function
6343 * paragraph_funcs.C:
6344 * paragraph_funcs.h:
6345 * paragraph_pimpl.C:
6346 * text2.C: remove Inset::par_owner
6348 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
6353 * text2.C: eliminates the needFullRow/display() stuff
6354 altogether, putting the logic in metrics/draw in the insets.
6356 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
6358 * text2.C (redoParagraphInternal, redoParagraphs):
6359 * text.C (redoParagraph): add a call to updateRowPositions at the
6360 end of each 'metrics-like' call. Remove all others.
6361 (getRow): remove the 'y-computing' version.
6362 (getRowNearY): do not compute nor return the real y. Solve the
6363 'y < 0' problem and simplify.
6365 2003-08-22 Angus Leeming <leeming@lyx.org>
6367 * *.[Ch]: clean-up of licence and author blurbs.
6368 Also move config.h out of a few .h files and into a few .C files.
6370 2003-08-22 André Pönitz <poenitz@gmx.net>
6372 * lyxrow.[Ch]: add x_ and *fill_ members
6377 * text2.C: adjust/remove prepareToPrint() calls
6379 2003-08-22 André Pönitz <poenitz@gmx.net>
6381 * lyxrow.[Ch]: add end_ member
6383 * lyxrow_funcs.C: use LyXRow::end_
6385 * lyxtext.h (singleWidth): add LyXFont parameter
6388 * text2.C: adjust LyXText::singleWidth() calls
6390 * text.C (redoParagraph): simplify row breaking logic
6393 2003-08-19 André Pönitz <poenitz@gmx.net>
6395 * funcrequest.C: initialize button_ member
6398 * rowpainter.[Ch]: interface consolidation
6400 2003-08-18 André Pönitz <poenitz@gmx.net>
6403 * BufferView_pimpl.C:
6405 * paragraph_funcs.C:
6407 * text3.C: remove LyXScreen::draw() and fitCursor calls
6409 * BranchList.h: remove spurious semicolons
6411 * MenuBackend.C: fix branchlist related crash
6413 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
6421 * bufferparams.[Ch]:
6425 * text3.C: implements the 'branch inset'
6426 idea. This allows the output of various versions of a document
6427 from a single source version, selectively outputing or suppressing
6428 output of parts of the text.
6429 This implementation contains a 'branch list editor' in a separate
6430 tab of the document settings dialog. Branches are user definable
6431 and have a "display colour" to distinguish them on-screen.
6433 ColorHandler was somewhat cleaned up.
6434 (1) make possible a dynamically growing LColor list by allowing
6435 the graphic context cache to grow along (vector);
6436 (2) eliminate an IMHO unnecessary step in colour allocation.
6438 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
6440 * BufferView_pimpl.C: compile fix
6442 2003-08-15 André Pönitz <poenitz@gmx.net>
6444 * rowpainter.C: remove extra metrics calls
6446 * lyxtext.h: merge the two constructors into a single one,
6447 pass reference to owner's par list
6449 * BufferView_pimpl.C:
6453 2003-08-15 André Pönitz <poenitz@gmx.net>
6455 * lyxrow_funcs.[Ch]:
6458 * paragraph_funcs.C:
6463 * text_funcs.C: split LyXText::rowlist_ into individual
6464 Paragraph::rows_ chunks
6467 * BufferView_pimpl.[Ch]:
6470 * text3.C: remove toggleSelection()
6472 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
6474 * bufferlist.C: beautify two alerts (shorter text of buttons)
6475 * buffer.C: Remove redundant ' ' from message
6477 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6478 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6479 rename VALIGN_CENTER to VALIGN_MIDDLE
6481 2003-08-11 André Pönitz <poenitz@gmx.net>
6483 * lyxtext.h (getPar):
6484 * text.C: new function
6486 2003-08-11 André Pönitz <poenitz@gmx.net>
6489 * tracer.[Ch]: remove unneeded files
6491 * InsetList.[Ch]: remove resizeInsetsLyXText()
6496 * text3.C: merge insertParagraphs() and appendParagraph()
6497 remove breakAgain(), update()
6499 * BufferView_pimpl.[Ch]:
6500 * bufferview_funcs.[Ch]:
6504 * tabular.C: adjust after text & InsetList changes.
6506 2003-08-08 André Pönitz <poenitz@gmx.net>
6508 * text.C (insertChar, backspace): replace rowlist fiddling
6509 with rebreak of full par
6512 * text.C (breakAgainOneRow, redoHeightOfParagraph,
6513 checkParagraph, updateInset): removed
6515 2003-08-07 André Pönitz <poenitz@gmx.net>
6518 * text3.C: merge some LFUN handlers, remove dead code
6520 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6522 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6524 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
6526 * text2.C (DEPM): fix part of bug 1255 and 1256
6528 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6530 * BufferView_pimpl.C (workAreaDispatch): change to use
6531 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6532 that are no mouse related.
6534 2003-08-05 André Pönitz <poenitz@gmx.net>
6537 * BufferView_pimpl.[Ch]:
6538 * bufferview_funcs.C:
6540 * text3.C: rip out "deep update"
6542 * textcursor.[Ch] (last_sel_cursor): remove unused member
6544 2003-08-04 André Pönitz <poenitz@gmx.net>
6547 * BufferView_pimpl.[Ch]:
6548 * ParagraphParameters.C:
6549 * bufferview_funcs.C:
6555 * text3.C: replace "complicated" BufferView::update(...) calls with
6558 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6560 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
6562 * Makefile.am (lyx_SOURCES): add paper.h
6564 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6566 * Makefile.am: move things around so that both lyx-qt and
6567 lyx-xforms can be built (according to --with-frontend). Then lyx
6568 is a symbolic link to lyx-[firstfrontend]
6570 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
6572 * Always use std::endl with lyxerr
6574 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
6576 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6578 2003-08-01 André Pönitz <poenitz@gmx.net>
6581 * BufferView_pimpl.[Ch]:
6583 * text3.C: merge BufferView::repaint() and BufferView::update()
6585 2003-08-01 José Matos <jamatos@lyx.org>
6587 * buffer.[Ch]: file_format is no longer a buffer data element.
6589 2003-08-01 André Pönitz <poenitz@gmx.net>
6594 * text2.C: make redoParagraph more independent of current cursor
6596 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6598 * text2.C: remove unneeded members
6600 2003-07-30 André Pönitz <poenitz@gmx.net>
6602 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6604 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6605 create a single function...
6607 * paragraph_funcs.C (moveItem): ... here.
6610 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6612 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6614 * LColor.[Ch]: Add comment and greyedout logical colors.
6616 2003-07-30 André Pönitz <poenitz@gmx.net>
6618 * tabular.C: don't use Assert too heavily. This crashes where it
6621 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
6623 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6624 is disabled (bug 1232)
6626 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6628 * factory.C: limited 'arg' scope
6630 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6632 * factory.C: fixed Note submenu issues
6634 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6636 * factory.C: submenu for Note/Comment/Greyedout
6638 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
6641 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6643 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
6646 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6647 greyedout. Patch provided by Jürgen Spitzmüller.
6649 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6651 * kbmap.C (read): fix error message when reading bind files
6653 2003-07-29 Angus Leeming <leeming@lyx.org>
6655 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6656 certainly does not do what it purports to do. I am doing it, and
6657 us, a favour by killing it.
6659 2003-07-28 José Matos <jamatos@lyx.org>
6661 * buffer.C (readBody, do_writeFile):
6662 * paragraph.C(readParagraph): \end_document replaces \the_end.
6664 2003-07-29 André Pönitz <poenitz@gmx.net>
6667 * BufferView_pimpl.[Ch]:
6671 * textcursor.[Ch]: remove toggleToggle & Co
6673 2003-07-28 José Matos <jamatos@fep.up.pt>
6675 * buffer.C (readParagraph):
6676 * params_func (readParToken, readParagraph):
6677 * paragraph.C (write): \layout -> \begin_layout.
6679 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6681 * lyxlex_pimpl.C (setFile): clean up slightly.
6683 * bufferparams.h: add compressed var
6685 * buffer_funcs.C (readFile): adjust for LyXLex change
6686 (newFile): ditto + simplify
6688 * buffer.C (writeFile): handle writing of compressed files
6690 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6691 Check if the file is compressed and set a bufferparm if so.
6693 * Makefile.am (lyx_LDADD): remove explicit -lz
6695 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6697 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6698 makeDocBookFile): put the real LyX version in the first line of
6702 * version.C.in: remove lyx_docversion
6704 * tabular.C (write_attribute): add a template-based version to
6705 write enums properly
6707 2003-07-28 André Pönitz <poenitz@gmx.net>
6712 * text3.C: use doubles again for x-coordinates. They are needed.
6714 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6716 * messages.C (getLocaleDir): use lyx_localedir()
6718 * lyxlex_pimpl.C (setFile): compress stuff
6720 * buffer.C (writeFile): add some compression stuff
6721 (do_writeFile): new func, dont call expliti close... will this
6724 * Makefile.am (lyx_LDADD): add -lz
6726 2003-07-28 José Matos <jamatos@fep.up.pt>
6728 * buffer.C: increment file format.
6729 * paragraph_funcs (readParagraph, readParToken):
6730 * paragraph.C (readParagraph): add \end_layout.
6732 2003-07-27 Angus Leeming <leeming@lyx.org>
6734 * Makefile.am: remove special casing for configure-time setting of
6735 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6737 * lyx_main.C (init): remove all Jean-Marc's magic setting of
6738 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6740 2003-07-26 André Pönitz <poenitz@gmx.net>
6742 * paragraph_func.[Ch]:
6743 * paragraph.C (realizeFont): inline it whereever it is used
6748 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6751 2003-07-26 André Pönitz <poenitz@gmx.net>
6755 * text2.C: get rid of LyXText::need_break_row
6757 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6759 * toc.[Ch]: put namespace toc inside namespace lyx
6761 * MenuBackend.C (expandToc2): adjust for lyx::toc
6764 * lyxfunc.C (dispatch): adjust for lyx::find
6766 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6767 lyx::find instead. Reorganize a bit.
6768 (LyXReplace): rename to replace
6769 (LyXFind): rename to find
6771 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6774 2003-07-26 André Pönitz <poenitz@gmx.net>
6776 * text.C (setHeightOfRow): restrict scope of temporary variable
6778 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
6779 code (never has been used?)
6781 2003-07-27 Asger Alstrup <alstrup@local>
6783 * text.C (fill): Optimise algorithm to exploit that we can reuse
6784 the LyXFont for many characters.
6785 (setHeightOfRow): Same thing.
6786 (rowBreakPoint): Same thing.
6788 2003-07-26 Asger Alstrup <alstrup@local>
6790 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6792 * text.C (singleWidth): Spurious font copying in hot-spot
6793 singleWidth avoided. Reorder tests for arabic for efficiency.
6795 * text.C (fill): handle empty paragraphs better.
6797 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6800 * encoding.h: add includes
6802 * lyxrc.C: remove reading of bind files
6804 * lyx_main.C (init): setup bindings and menus only if we have a
6807 * kbmap.C (read): new method. Do the actual reading of bind
6810 * converter.C (dvipdfm_options):
6813 (output): adapt PAPER_* enums.
6815 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6817 * bufferparams.h: remove paper-related enums from there
6819 * paper.h: New file. A trivial header file to hold paper-related
6820 enums. It should later expand to contain many paper-related
6823 * lyxrc.C: declare extern displayTranslator
6825 2003-07-27 José Matos <jamatos@fep.up.pt>
6827 * tabular.[Ch] (linuxdoc): add support for tables and figures
6830 2003-07-27 José Matos <jamatos@fep.up.pt>
6832 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6833 consistency in both functions.
6834 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6836 2003-07-26 Asger Alstrup <alstrup@local>
6838 * rowpainter.C (paintRows): Change algorithm to work directly on
6839 the insets rather than asking every character in the document
6840 whether its an inset.
6842 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
6844 * buffer.C (openFileWrite): factorize some code
6846 2003-07-26 Angus Leeming <leeming@lyx.org>
6849 * lyx_main.[Ch]: replace occurances of system_tempdir with
6852 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6854 * rename Inset to InsetOld
6856 2003-07-25 Asger Alstrup <alstrup@diku.dk>
6858 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6859 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6860 which I think is a bit clearer. EDIT is gone, since it was
6861 premature optimisation, and broken for mathed anyway.
6862 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6863 with cursor positioning in insets as well (math insets still do not
6864 work, but that's a different story anyway.) It mysteriously
6865 crashes sometimes with undo in the first paragraph, but I'm fairly
6866 confident that this is a compiler bug.
6868 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6870 * paragraph.C (Paragraph): adjust for new clone return type
6872 (copyIntoMinibuffer): ditto
6874 2003-07-25 Asger Alstrup <alstrup@lyx.org>
6876 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6877 by not having a special case, and always doing a full rebreak of
6878 the document after undo.
6880 2003-07-23 Angus Leeming <leeming@lyx.org>
6882 * factory.C (createInset): InsetExternal::setParams now takes a
6885 2003-07-23 Angus Leeming <leeming@lyx.org>
6887 * factory.C (createInset): changed interface to the external and
6888 graphics mailers' string2params functions.
6890 2003-07-23 Angus Leeming <leeming@lyx.org>
6892 * factory.C (createInset): pass a
6893 Buffer const * parameter to InsetExternalMailer's string2params.
6895 2003-07-22 John Levon <levon@movementarian.org>
6897 * Thesaurus.h: include the right aiksaurus header
6899 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6901 * MenuBackend.C (expand): check menu shortcuts unconditionally
6903 2003-07-21 Angus Leeming <leeming@lyx.org>
6905 * factory.C (createInset): pass a
6906 buffer_path parameter to InsetGraphicsMailer's string2params.
6908 2003-07-21 Angus Leeming <leeming@lyx.org>
6910 * BufferView_pimpl.C (buffer):
6913 * lyxfunc.C (dispatch):
6914 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6915 rather than the grfx shortcut.
6917 2003-07-21 André Pönitz <poenitz@gmx.net>
6919 * rowpainter.C: remove unused variables
6922 * tabular_funcs.h: move to tabular.C
6923 * Makefile.am: adjust
6925 * tabular.[Ch]: basic optical cleaning
6927 * author.h: pass references, not values
6929 2003-07-18 André Pönitz <poenitz@gmx.net>
6937 * text3.C: two-phase drawing for InsetText and InsetTabular
6938 some float -> int changes.
6940 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6942 * lyx_main.C: fix the fix
6944 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6946 * lyx_main.C: fix a crash in batch mode if no files specified
6949 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
6951 * format.[Ch] (papersize): moved to BufferParams
6952 * converter.[Ch] (dvips_options): moved to BufferParams
6953 (dvipdfm_options): moved to anon namespace
6954 * bufferparams.[Ch]: added above functions.
6956 2003-07-17 André Pönitz <poenitz@gmx.net>
6960 * text2.C: don't call inset->update() anymore
6962 * metricsinfo.[Ch]: add convenience constructor
6964 2003-07-16 André Pönitz <poenitz@gmx.net>
6969 * text2.C: replace the LyXCursor::irow_ member with
6970 on-demand computation of the value
6972 2003-07-16 John Levon <levon@movementarian.org>
6974 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6976 2003-07-15 André Pönitz <poenitz@gmx.net>
6979 * text2.C: remove no more needed refresh_row
6981 2003-07-15 André Pönitz <poenitz@gmx.net>
6986 * text3.C: refresh_status tristate -> need_update bool
6988 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
6990 * lyxtext.h (init): remove reinit argument (act as if always true)
6991 * text2.C: adjust to that
6993 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6995 * bufferview_funcs.[Ch]: introduce function replaceSelection()
6996 * text3.C: use it to delete selections in some cases
6997 (bugs 441, 673, 702, 954).
6999 2003-07-14 André Pönitz <poenitz@gmx.net>
7001 * rowpainter.[Ch]: reduce interface
7003 2003-07-14 André Pönitz <poenitz@gmx.net>
7005 * BufferView_pimpl.C:
7006 * text2.C: adjust after removing unused BufferView * argument
7008 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
7010 * text2.C (init): fix a crash fired on resize
7012 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
7014 * buffer.[Ch]: added new closing signal
7015 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
7016 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
7017 BufferView::Pimpl via the closing the signal
7019 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
7021 * buffer.[Ch]: take out all bv-related from buffer
7023 * BufferView_pimpl.[Ch]: connect to new signals
7024 * CutAndPaste.C: removed useless asserts
7025 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
7028 * lyxfunc.C: moved view-related funciontality from vc here
7029 * paragraph.C: removed outdated comments
7032 2003-07-10 André Pönitz <poenitz@gmx.net>
7034 * BufferView_pimpl.C:
7038 * text2.C: remove InsetText::InnerCache, clean up consequences
7040 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
7042 * ispell.C: fix two typos in error messages
7044 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
7046 * Extend Note inset to other forms of annotation like Comment
7047 and Greyedout. Right button click gives dialog.
7049 Files modified or added (+):
7053 * ControlNote.[Ch] +
7055 * Makefile.am in frontends/xforms, frontends/xforms/forms,
7056 frontends/controllers
7060 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
7062 * aspell.C: add missing namespace lyx::support
7064 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
7066 * BufferView.[Ch] (newFile): Add
7067 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
7068 * LaTeX.[Ch] (message): added this signal and use it
7069 * buffer.[Ch] (busy, message): added these signals and use them
7070 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
7074 * importer.C: use buffer signals instead of direct bv calling
7075 * lyx_cb.[Ch] (ShowMessage): removed
7078 * paragraph_funcs.C:
7079 * text2.C: use buffer signals
7081 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7083 * introduce namespace lyx::graphics
7085 2003-07-02 André Pönitz <poenitz@gmx.net>
7087 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
7089 2003-07-01 André Pönitz <poenitz@gmx.net>
7096 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
7097 text*.C to text_func.C
7099 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7101 * introduce namespace lyx::support
7103 2003-06-30 André Pönitz <poenitz@gmx.net>
7108 * text.C: re-enable --with-included-string
7110 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7112 * textcursor.C: add <config.h>
7114 * text.C (getWord): remove const from word_location arg
7116 * lyxvc.C (getLogFile): fix const type order
7118 * lyxtext.h: remove const from word_location arg, add arg name
7120 * lyxlayout.h: currect type on labeltype.
7122 * importer.C: correct \file
7124 * converter.C (intToFormat): use std:: on ret val, ws changes
7126 * bufferlist.h: correct \file
7128 * buffer.C (makeLinuxDocFile): fix const type order
7129 (makeDocBookFile): ditto
7130 (fillWithBibKeys): use std:: on stdlib args.
7132 * CutAndPaste.C: fix authors.
7133 (availableSelections): use std:: on return vector
7135 2003-06-27 André Pönitz <poenitz@gmx.net>
7137 * BufferView_pimpl.C:
7138 * bufferview_funcs.C:
7146 * text3.C: remove LyXCursor::row_ member
7149 * text.C: rename fullRebreak() to partialRebreak() and implement
7150 a fullRebreak() that really bereks fully
7152 * textcursor.h: new struct for cursor-related data
7154 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
7156 * lyx_main.C (LyX): get full path of document loaded on the
7159 2003-06-26 André Pönitz <poenitz@gmx.net>
7161 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
7162 remove unused/broken operator>,<,>=.
7164 * text.C: remove only use of broken operator<= in an Assert().
7166 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
7168 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
7169 moved errorlist_.clear to showErrorList
7171 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
7173 * converter.C (scanLog, runLaTeX):
7174 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
7175 move the bv->showErrorList call to the callers
7176 * lyxfunc.C: i.e. here...
7178 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
7179 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
7180 namespace, the second to...
7181 * buffer_funcs (BufferFormat, parseErrors): added
7182 * errorlist.C (ErrorList(TeXErrors const &)): removed
7184 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7186 * ToolbarBackend.C (getIcon): complain when icon cannot be found
7188 2003-06-24 "Garst R. Reese" <reese@isn.net>
7192 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7194 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
7196 * version.C.in: change docversion to 1.4
7198 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
7200 * buffer.C: fix a bug just introduced
7202 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
7204 * buffer.[Ch]: added the parseError signal and use it, removed
7206 * BufferView.[Ch] (addError): moved to ...
7207 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
7208 to the Buffer::parseError signal to catch (guess what) parse errors
7209 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
7211 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
7213 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
7214 ability to create a buffer and to return an existing one from
7215 the list. Moved these functions to...
7216 * buffer_funcs.[Ch]: added
7217 * BufferView.[Ch] (loadLyXFile): added
7218 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
7219 job removed from bufferlist::loadLyXFile.
7220 * buffer.C (setReadOnly): make it work without view
7221 (i.e added an if (users))
7223 2003-06-19 Angus Leeming <leeming@lyx.org>
7226 * LyXAction.C (init):
7227 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
7228 with LFUN_DIALOG_SHOW <name> <data>.
7230 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7232 * CutAndPaste.C (availableSelections): small compilation fix for
7233 ancient (gcc 2.9x) compilers
7235 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
7237 * text3.C (cursorNext): add tmp var
7239 * text2.C (updateCounters): for function calling out of for clause
7240 (replaceSelectionWithString): ditto
7241 (insertStringAsParagraphs): ditto
7242 (getColumnNearX): add tmp var
7243 (setCursorFromCoordinates): add tmp var
7244 (cursorDownParagraph): add tmp var
7245 (deleteEmptyParagraphMechanism): add tmp var
7247 * text.C (insertChar): add tmp var
7249 * rowpainter.C (paintDepthBar): add tmp var
7251 * CutAndPaste.C (availableSelections): potentially check all
7252 paragraphs in a cut to fill the shown strings.
7254 2003-06-18 André Pönitz <poenitz@gmx.net>
7256 * kbmap.[Ch]: use vector<> instead of list<>
7258 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
7260 * text3.C (dispatch): handle arg to LFUN_PASTE, call
7261 pasteSelection with index
7263 * text2.C (pasteSelection): modify, call pasteSelection with index
7265 * paragraph.C (asString): reimplement version with no interval to
7266 call the one with interval.
7268 * lyxtext.h: add index arg to pasteSelection
7270 * MenuBackend.C (MenuItem): handle PasteRecent
7271 (Menu::read::Menutags): add md_pasterecent
7273 (expandPasteRecent): new function
7276 * MenuBackend.h: add PasteRecent to MenuItem::Kind
7278 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
7280 (availableSelections): new function
7282 2003-06-17 Angus Leeming <leeming@lyx.org>
7284 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
7286 2003-06-17 Angus Leeming <leeming@lyx.org>
7289 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
7291 * lyxfunc.C (dispatch): invoke it.
7293 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7295 * iterators.C (operator++, ParPosition): reintroduce some
7296 const_cast for the benefit of older compilers.
7298 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7300 * text3.C (dispatch): do not modify clipboard when doing
7301 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
7302 LFUN_DELETE_SKIP on a selection selection
7304 2003-06-16 André Pönitz <poenitz@gmx.net>
7310 * tabular.[Ch]: IU of clone() and getLabelList();
7312 2003-06-13 André Pönitz <poenitz@gmx.net>
7314 * tabular.h: compactification
7316 2003-06-12 André Pönitz <poenitz@gmx.net>
7320 * tabular_funcs.h: some renaming plus whitespace
7322 2003-06-12 André Pönitz <poenitz@gmx.net>
7325 * BufferView_pimpl.C:
7331 * toc.C: Return a Paragraph & for ParIterator::operator*()
7333 2003-06-11 John Levon <levon@movementarian.org>
7337 * ToolbarBackend.C: add "Toolbars" section and
7340 2003-06-10 Angus Leeming <leeming@lyx.org>
7343 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
7345 * lyxfunc.C (dispatch): invoke it.
7347 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7349 * main.C: protect <ios> with HAVE_IOS
7350 (main): protect sync_with_stdio with HAVE_IOS
7352 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
7354 * text2.C (cutSelection): adjust
7355 (pasteSelection): adjust
7357 * messages.C: handle get of empty string
7359 * main.C (main): use sync_with_stdio(false)
7361 * lyxfunc.C (dispatch): adjust
7363 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
7364 (WriteAs): remove unneeded BufferView arg.
7366 * bufferparams.h: use correct types on papersize, papersize2 and
7369 * bufferparams.C (readToken): adjust for type
7370 (writeLaTeX): add missing cases to switch.
7372 * bufferlist.C (quitWriteBuffer): adjust
7375 * buffer.C (asciiParagraph): remove some commented code.
7377 * CutAndPaste.C: remove current_view extern variable.
7378 (cutSelection): add BufferParams arg.
7379 (eraseSelection): add BufferParams arg.
7380 (pasteSelection): add Buffer const & arg
7382 2003-06-07 John Levon <levon@movementarian.org>
7385 * paragraph_funcs.C:
7386 * paragraph_pimpl.C:
7390 * paragraph.C: allow InsetERT to freely space lines,
7391 and some consolidation of code
7393 2003-06-06 José Matos <jamatos@fep.up.pt>
7395 * buffer.C (makeDocBookFile): fix bug #821
7397 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
7399 * BufferView_pimpl.C (dispatch): use Dialogs::visible
7401 2003-06-04 Angus Leeming <leeming@lyx.org>
7403 * buffer.C: bump format to 224.
7405 2003-06-05 André Pönitz <poenitz@gmx.net>
7407 * text2.C (redoParagraphs): remove two const_cast<>
7409 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
7411 * ParagraphList.h: remove last remnants of NO_STD_LIST
7413 2003-06-03 Angus Leeming <leeming@lyx.org>
7415 * factory.C (createInset): small change to the way InsetExternal's params
7418 2003-06-04 André Pönitz <poenitz@gmx.net>
7420 * buffer.h: use Undo directly instead of shared_ptr<Undo>
7422 * paragraph_pimpl.h:
7423 * paragraph.[Ch]: some Inset -> UpdatableInset changes
7425 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
7427 * undo_funcs.C: make some simple cases of undo work again
7429 2003-06-03 John Levon <levon@movementarian.org>
7431 * ispell.C: HPUX doesn't have sys/select.h
7434 2003-06-03 John Levon <levon@movementarian.org>
7436 * CutAndPaste.C: update tabular and include inset
7441 * paragraph.C: remove owningBuffer(), don't pass Buffer
7444 * factory.C: insetGraphicsParams changed
7446 2003-06-02 John Levon <levon@movementarian.org>
7452 * text3.C: remove insetparent
7454 2003-06-02 John Levon <levon@movementarian.org>
7457 * buffer.C: fix inset_iterator.end(), move out of line
7460 2003-06-01 John Levon <levon@movementarian.org>
7462 * text3.C: use a proper cut/paste when doing inset
7463 insert (from Jürgen Spitzmüller)
7465 2003-06-01 John Levon <levon@movementarian.org>
7467 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7469 2003-05-30 André Pönitz <poenitz@gmx.net>
7471 * rowpainter.C: unify second drawing phase
7473 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7475 * trans_mgr.C: remove one case of current_view
7477 * text2.C (cursorBottom): delete NO_STD_LIST stuff
7479 * paragraph_funcs.h: remove paragraph.h include
7481 * paragraph.h: delete NO_STD_LIST stuff
7483 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7485 * buffer.h: remove paragraph.h include
7487 * ParagraphList.C: delete file
7489 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7491 * toc.C (getTocList): adjust
7493 * paragraph_pimpl.C (validate): adjust
7495 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7497 * paragraph.C (Paragraph): adjust
7498 (getPositionOfInset): use const_iterator, adjust
7499 (bibitem): use const_iterator, adjust
7500 (setInsetOwner): adjust
7502 * iterators.C (operator++): adjust
7504 * InsetList.[Ch]: Replace selfmade iterator with standard
7505 vector::iterator also introduce const_iterator. Remove getPos,
7506 getInset and setInset from InsetTable. Adjust accordingly.
7508 * BufferView.C (lockInset): adjust
7509 (ChangeInsets): adjust
7511 * tabular.[Ch]: delete commented same_id functions
7513 2003-05-28 John Levon <levon@movementarian.org>
7515 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7517 2003-05-28 André Pönitz <poenitz@gmx.net>
7519 * metricsinfo.[Ch]: remove 'fullredraw' member
7521 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
7523 * lyxtextclass.C (operator): remove caching.
7525 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7529 * text2.C (cursorBottom): adjust
7530 (setCounter): use ParagraphList::find, adjust
7532 * text.C (workWidth): use ParagraphList::find, adjust
7534 * lyxcursor.C (LyXCursor): adjust
7536 * buffer.C (inset_iterator): adjust
7538 * ParagraphList.h: make iterator(value_type) private, make
7539 ParagraphList a friend of iterator.
7541 * ParagraphList.C (find): new function
7543 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7545 2003-05-27 André Pönitz <poenitz@gmx.net>
7547 * dimension.[Ch]: a -> asc, d -> des, w -> wid
7549 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7551 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7553 2003-05-26 John Levon <levon@movementarian.org>
7555 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7557 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
7559 * remove same_id from function signatures, adjust.
7561 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7563 * undo_funcs.C (createUndo): use the id functions directly, adjust.
7565 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7567 * paragraph.C (Paragraph): get rid of same_ids parameter
7569 * ParagraphList.C (insert): adjust
7572 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7574 * paragraph_funcs.C (breakParagraph): adjust
7575 (breakParagraphConservative): adjust
7577 * buffer.C (readParagraph): adjust
7579 * ParagraphList.C (insert): take a reference instead of a pointer
7582 * paragraph.[Ch] (id): new function
7584 * bufferlist.C (newFile): adjust
7586 * ParagraphList.C (ParagraphList): adjust
7588 (push_back): take a reference instead of a pointer.
7590 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7592 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7595 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7596 set else use old code.
7598 * ParagraphList.C: remove all NO_NEXT code and only compile this
7599 code of NO_STD_LIST is set.
7601 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7603 * BufferView_pimpl.C:
7613 * graphics/GraphicsConverter.C:
7614 * graphics/PreviewLoader.C: header adjustment
7616 2003-05-23 Angus Leeming <leeming@lyx.org>
7618 * LaTeXFeatures.[Ch] (useBabel): new method.
7619 * bufferparams.C (writeLaTeX): use it.
7621 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7623 * ParagraphList.h (set): remove unused function.
7625 2003-05-23 André Pönitz <poenitz@gmx.net>
7628 * BufferView_pimpl.C:
7632 * undo_funcs.C: setUndo reworked
7634 * iterators.[Ch]: add access to topmost ParagraphList
7636 * lyxtext.[Ch] (workWidth): add a const
7638 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7640 * texrow.[Ch] (increasePos): remove function
7641 * exporter.C (export): removed unused var and outdated comment
7643 2003-05-23 Angus Leeming <leeming@lyx.org>
7645 * latexrunparams.h: rename fragile as moving_arg.
7646 * paragraph.C (simpleTeXOnePar): ditto.
7647 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7649 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7651 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7653 (textUndoOrRedo): comment out a currently unused var.
7655 * paragraph.h (NO_NEXT): enable NO_NEXT
7657 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7659 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7661 * exporter.C (Export): adjust for removeAutoInsets removal.
7663 * buffer.C (runChktex): adjust for removeAutoInsets removal.
7665 * LyXAction.C (init): remove LFUN_REMOVEERRORS
7667 * BufferView.[Ch] (removeAutoInsets): delete function
7669 2003-05-22 Angus Leeming <leeming@lyx.org>
7671 * latexrunparams.h: add a free_spacing variable.
7673 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7674 to pass moving_arg, as the data is stored in runparams.fragile.
7676 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7677 to Inset::latexOptional or to simpleTeXOnePar.
7679 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7680 free_spacing arg to Inset::latexOptional.
7682 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7685 2003-05-22 Angus Leeming <leeming@lyx.org>
7687 * latexrunparams.h: add fragile and use_babel variables.
7689 * bufferparams.[Ch] (writeLaTeX): return use_babel.
7690 * buffer.C (makeLaTeXFile): store this returned value in
7691 runparams.use_babel, thus passing it to the inset::latex methods.
7693 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7694 simpleTeXSpecialChars as it is now stored in runparams.fragile.
7696 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7697 longer has a fragile arg, as it is stored in runparams.fragile.
7699 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7700 moving_arg parameter as the data is stored in runparams.fragile.
7702 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7703 a fragile parameter as the data is stored in runparams.fragile.
7705 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7707 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7709 2003-05-22 Angus Leeming <leeming@lyx.org>
7711 * latexrunparams.h: add a 'bool nice' which defaults to false.
7713 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7714 now encapsulated within runparams.
7716 * bufferlist.C (updateIncludedTeXfiles):
7717 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7719 2003-05-22 Angus Leeming <leeming@lyx.org>
7721 * latexrunparams.h: new file containing struct LatexRunParams.
7722 * Makefile.am: add new file.
7724 * LaTeX.[Ch] (c-tor, run):
7725 * buffer.[Ch] (makeLaTeXFile):
7726 * bufferlist.[Ch] (updateIncludedTeXfiles):
7727 * converter.C (convert, scanLog):
7728 * converter.[Ch] (runLaTeX):
7729 * exporter.C (Export):
7730 * paragraph.[Ch] (simpleTeXOnePar):
7731 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7732 * paragraph_funcs.[Ch] (latexParagraphs):
7733 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7734 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7735 pass around a LatexRunParams parameter.
7737 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7739 * paragraph.[Ch]: remove unused constructor
7741 * ParagraphList.C (erase): new function, taking two iterators
7743 2003-05-22 André Pönitz <poenitz@gmx.net>
7745 * undo_funcs.C: remove duplicated code
7747 * iterator.[Ch]: operator=
7749 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7751 * tabular.C (SetMultiColumn): ws changes
7753 * rowpainter.C (paintFirst): get rid of a ->previous
7755 * lyx_cb.C (getPossibleLabel): parlist simplification
7757 * BufferView.C (ChangeInsets): simplify slightly.
7759 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
7761 * LyXAction.C: new lfun space-insert, kill protected-space-insert
7762 * lfuns.h: new LFUN_SPACE
7763 * lyxfunc.C: protected space has a new lfun
7764 * paragraph_funcs.C: read new space insets
7766 * factory.C: handle new space insets
7768 2003-05-22 André Pönitz <poenitz@gmx.net>
7771 * BufferView_pimpl.C:
7774 * undo_funcs.C: return a ParIterator from getParFromID.
7776 * iterators.[Ch]: add two const's
7778 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7780 * toc.C (getTocList): adjust
7782 * iterators.[Ch]: rework for parlist
7784 * buffer.C (par_iterator_begin): adjust
7785 (par_iterator_end): adjust
7787 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7789 * BufferView.C (removeAutoInsets): adjust
7790 (ChangeInsets): adjust
7792 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
7794 * text.C (top_y): fix bug 1110
7796 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
7798 * errorlist.[Ch]: added
7801 * BufferView_pimpl.C:
7802 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7805 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7807 * Makefile.am: ensure that lyx is relinked upon changes to the
7808 various "convenience" libs.
7810 2003-05-20 Angus Leeming <leeming@lyx.org>
7812 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7813 files are compiled in alphabetical order again.
7815 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7817 2003-05-19 Angus Leeming <leeming@lyx.org>
7819 * gettext.[Ch]: remove "char const * _(char const *)".
7821 2003-05-19 André Pönitz <poenitz@gmx.net>
7823 * dimension.[Ch]: promote from mathed/dimension.[Ch]
7832 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7834 2003-05-19 André Pönitz <poenitz@gmx.net>
7838 * lyxtextclass.[Ch]:
7840 * paragraph_funcs.[Ch]:
7842 * text3.C: more insetenv work
7844 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
7846 * ParagraphParameters.C (params2string): small bug fixed
7848 2003-05-16 André Pönitz <poenitz@gmx.net>
7851 * bufferview_funcs.C: patch from Kornel Benko to prevent
7852 crash when _(...) is called twice in a statement
7854 2003-05-16 André Pönitz <poenitz@gmx.net>
7861 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7863 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
7865 * lyx_main.C (init): remove spurious static_cast
7867 2003-05-14 André Pönitz <poenitz@gmx.net>
7869 * BufferView.C: fix format string
7871 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
7873 * BufferView.[Ch] (insertErrors): removed
7874 * BufferView.[Ch] (showErrorList): added
7875 * buffer.C (runChkTeX):
7876 * converter.C (scanLog): call showErrorList instead of inserterrors
7878 2003-05-13 André Pönitz <poenitz@gmx.net>
7880 * BufferView_pimpl.C:
7882 * bufferview_func.C:
7889 * tabular_funcs.h: tostr() from its own header
7891 * ParagraphParameters.C:
7896 * text3.C: STRCONV()
7898 2003-05-12 André Pönitz <poenitz@gmx.net>
7901 * BufferView_pimpl.C:
7905 * ParagraphParameters.C:
7909 * bufferview_funcs.C:
7922 * paragraph_funcs.C:
7926 * text3.C: boost::format -> bformat all over the place
7929 2003-05-09 André Pönitz <poenitz@gmx.net>
7931 * LColor.[Ch]: Pimpl the #include <map> away
7933 2003-05-09 John Levon <levon@movementarian.org>
7935 * bufferlist.C: never remove emergency saves
7937 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7939 * Makefile.am: better lib building
7941 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
7943 * texrow.[Ch]: remove dependency on Paragraph and just store a id
7945 * paragraph_pimpl.C (simpleTeXBlanks): adjust
7946 (simpleTeXSpecialChars): adjust
7947 (simpleTeXSpecialChars): adjust
7948 * paragraph.C (simpleTeXOnePar): adjust
7949 * buffer.C (makeLaTeXFile): adjust
7951 * Makefile.am (BOOST_LIBS): allow boost as system lib.
7953 * text2.C (changeDepth): parlist cleanup
7954 (getColumnNearX): ditto
7956 * rowpainter.C (getLabelFont): parlist cleanup
7958 * bufferlist.C (newFile): parlist cleanup
7960 * CutAndPaste.C (eraseSelection): parlist cleanup
7962 * BufferView_pimpl.C (trackChanges): parlist cleanup
7965 * BufferView.C (lockInset): parlist cleanup.
7966 (ChangeInsets): ditto
7968 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7970 * CutAndPaste.h: Update file header.
7972 * CutAndPaste.C: Update file header.
7973 Store the parts cut out of the Document in a limited_stack.
7974 (copySelection): adjust
7975 (pasteSelection): new function, takes the index in the limited stack.
7976 (nrOfParagraphs): adjust
7977 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7978 simplify error inset insertion.
7979 (checkPastePossible): adjust
7981 2003-05-06 John Levon <levon@movementarian.org>
7983 * text2.C: don't cast wrap inset to float
7985 2003-05-05 André Pönitz <poenitz@gmx.net>
7988 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7990 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7991 few naked Paragraph *.
7993 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
7995 * bufferparams.C: Output warning if a document with missing
7996 TeX document class is loaded
7997 * exporter.C: Disable TeX exports if the document class is missing
8000 * lyxtextclasslist.C: Handle new textclass.lst format; new method
8001 isTeXClassAvailable()
8003 2003-05-03 John Levon <levon@movementarian.org>
8006 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
8007 explicit cursor show/hide
8009 * BufferView_pimpl.h:
8010 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
8011 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
8013 * lyxfunc.C: hide cursor before dispatching.
8018 * text3.C: remove explicit cursor hides
8020 2003-05-02 André Pönitz <poenitz@gmx.net>
8022 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
8025 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
8028 * text2.C: tiny whitespace
8030 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8032 * undo_funcs.C: almost only ws changes.
8034 * ParagraphList.C (splice): just return if pl is empty.
8036 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8038 * ParagraphList.C (splice): new function.
8040 * CutAndPaste.C (pasteSelection): use it
8042 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8044 * CutAndPaste.C (pasteSelection): remove the last next and
8045 previous from this file.
8047 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8049 * CutAndPaste.C (pasteSelection): more clean up, user proper
8050 ParagraphList functions for pasteing.
8052 * ParagraphList.C (insert): new function, three arg insert
8054 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8056 * ParagraphList.C (insert): new function, three arg insert
8058 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
8061 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8063 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
8065 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8067 * CutAndPaste.C (pasteSelection): remove some unneeded code.
8069 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8071 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
8072 (copySelection): clean up a bit.
8073 (pasteSelection): use make_pair
8075 * ParagraphList.C (ParagraphList): implement copy constructor
8076 (operator=): implement, base on copy constructor.
8079 * paragraph.C (erase): return a bool
8081 * paragraph_pimpl.C (erasePos): remove function, move contents...
8082 (erase): ... here. Return a bool.
8083 (erase): call erase instead of erasePos.
8085 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
8087 * ParagraphList.h: define PitPosPair
8088 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
8089 ParagraphList, fix a bug on pasting multiple pars
8090 * text2.C: change interface to C&P
8092 2003-04-30 André Pönitz <poenitz@gmx.net>
8094 * undo_func.C: revert part of yesterday's patch 2
8096 2003-04-30 John Levon <levon@movementarian.org>
8098 * LColor.C: s/tabular/table/
8100 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8102 * text3.C (dispatch): do not convert iterator -> pointer
8103 * undo_funcs.C (setCursorParUndo): ditto
8104 * text_funcs.C (transposeChars): ditto
8106 * text2.C (setLayout): ws changes only
8108 * text.C (breakParagraph): do not convert iterator -> pointer
8110 (acceptChange): ditto
8111 (rejectChange): ditto
8116 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
8119 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
8121 * text3.C (gotoInset): YABG (yet another bad getChar)
8123 2003-04-29 André Pönitz <poenitz@gmx.net>
8125 * paragraph.h: make operator= private unimplemented as long as
8128 * ParagraphList.C: whitespace
8131 * paragraph_pimpl.[Ch]:
8132 * paragraph_funcs.C:
8134 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
8137 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
8139 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
8141 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
8142 * paragraph.[Ch] (erase):
8143 * paragraph_pimpl.[Ch] (erase): change return type and value
8144 * text2.C (cutSelection): some rework
8146 2003-04-28 John Levon <levon@movementarian.org>
8148 * bufferlist.C: changes for unsaved changes dialog
8150 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8152 * bufferlist.C (newFile): set language (messages_) for new
8155 * buffer.C (readFile): ws changes only.
8157 2003-04-28 André Pönitz <poenitz@gmx.net>
8162 * BufferView_pimpl.C:
8163 * BufferView.C: getParFromID related ParagraphList::iterator changes
8165 2003-04-28 André Pönitz <poenitz@gmx.net>
8167 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
8170 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8172 * messages.C: remove one more localedir class variable.
8174 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8176 * messages.C (getLocaleDir): singleton generation function
8178 (Messages): add a default constructor.
8180 * main.C (main): do not setup localedir here, do not call
8183 * gettext.C (_): use it.
8184 (gettext_init): delete funciton
8186 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8188 * gettext.C (getLyXMessages): new singleton generating function.
8190 * buffer.C (updateDocLang): adjust
8192 * Makefile.am (messages.o): add target
8193 (main.o): remove target
8195 2003-04-27 John Levon <levon@movementarian.org>
8200 * lyxvc.C: specify cancel button in Alert::prompt
8202 2003-04-26 John Levon <levon@movementarian.org>
8207 * LyXAction.C: add LFUN_INSET_SETTINGS
8209 * lyxfunc.C: don't enable tabular-feature when there's
8210 just any locking inset
8212 2003-04-26 John Levon <levon@movementarian.org>
8214 * bufferlist.C: re-add Cancel to buffer close question
8216 * lyxfunc.C: fix import UI a bit
8218 2003-04-25 John Levon <levon@movementarian.org>
8220 * gettext.C: remove the broken asserts for now
8222 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
8224 * messages.C: make case where setlocale cannot comply work better.
8226 * buffer.C (updateDocLang): new function
8227 (changeLanguage): use it
8230 * text2.C (setCounter): use B_ a bit.
8232 * lyxlayout.C (Read): be sure to trim the label strings.
8234 * messages.C (Messages): fix typo in comment
8236 * buffer.C (readFile): set message_ after file is loaded.
8237 (makeDocBookFile): remove double return
8238 (changeLanguage): reset message_ upon language change.
8239 (B_): new func, use this to get translated buffer strings.
8241 * main.C: add myself and Jean Marc as authors.
8243 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
8245 * messages.[hC]: pimplify Messages, and three different pimpls to be
8246 used in different circumstances.
8248 * gettext.[Ch]: change for use with new message code.
8250 2003-04-24 André Pönitz <poenitz@gmx.net>
8252 * factory.C: support for eqref
8254 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
8256 * messages.[Ch]: add missing char
8258 * Makefile.am (lyx_SOURCES): add messages.[Ch]
8260 * messages.[Ch]: New files
8262 2003-04-18 John Levon <levon@movementarian.org>
8266 * BufferView_pimpl.C:
8270 * text2.C: remove layout-copy/paste (bug 778)
8272 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
8274 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
8276 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
8278 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
8279 if they succeed. Act accordingly.
8281 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8283 * text2.C (setCharFont): adjust
8284 (setCounter): adjust
8285 (insertStringAsLines): adjust
8287 * text.C (leftMargin): adjust
8288 (setHeightOfRow): adjust
8290 * rowpainter.C (paintFirst): adjust
8293 * paragraph_funcs.C (depthHook): ParagraphList::iterators
8295 (isFirstInSequence): ditto
8296 (getEndLabel): ditto
8299 * paragraph.C (getParLanguage): comment out some hard stuff.
8301 * buffer.C (insertStringAsLines): take a ParagraphList as arg
8303 (simpleDocBookOnePar): ditto
8304 (makeDocBookFile): use ParagraphList::iterator
8306 * CutAndPaste.C (pasteSelection): adjust
8308 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8310 * text2.C (getFont): adjust
8311 (getLayoutFont): adjust
8312 (getLabelFont): adjust
8314 * paragraph_funcs.C (TeXOnePar): adjust
8316 * buffer.C (simpleLinuxDocOnePar): adjust
8317 (simpleDocBookOnePar): adjust
8319 * CutAndPaste.C (pasteSelection): adjust
8321 * BufferView.C (getEncoding): adjust
8323 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
8325 2003-04-16 John Levon <levon@movementarian.org>
8327 * lyxfind.C: use parlist stuff for search/changes
8329 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8331 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
8333 * text2.C (deleteEmptyParagraphMechanism): adjust
8335 * text2.[Ch] (ownerParagraph): delete func (both of them
8337 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8339 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
8341 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8343 * ParagraphList.C: prepare for NO_NEXT
8345 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8347 * text2.C (getFont): adjust
8348 (getLayoutFont): adjust
8349 (getLabelFont): adjust
8351 * paragraph.C (getFont): adjust
8352 (getLabelFont): adjust
8353 (getLayoutFont): adjust
8355 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
8357 2003-04-15 John Levon <levon@movementarian.org>
8361 * lyx_main.C: handle Include in .ui files
8363 2003-04-15 John Levon <levon@movementarian.org>
8365 * MenuBackend.C: make the doc files length shorter
8368 * ToolbarBackend.C: handle toolbar placement flags,
8371 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8373 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
8376 * paragraph_funcs.C (TeXOnePar): adjust
8378 * paragraph.C (getLabelFont): add outerfont arg, adjust
8379 (getLayoutFont): ditto
8380 (simpleTeXOnePar): adjust
8382 * paragraph_pimpl.C (realizeFont): delete func
8384 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
8386 * text2.C (beforeFullRowInset): added a bad getchar check, removed
8387 row argument, constify cur argument.
8389 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8391 * text2.C (getFont): adjust
8392 (getLayoutFont): adjust
8393 (getLabelFont): adjust
8395 * paragraph_funcs.C (TeXOnePar): adjust
8396 (outerFont): new func...
8397 (realizeFont): ...moved out from here, changed this to facilitate
8400 * paragraph.C (getFont): take outerfont as arg, adjust
8401 (simpleTeXOnePar): add outerfont arg, adjust
8403 * buffer.C (simpleLinuxDocOnePar): adjust
8404 (simpleDocBookOnePar): adjust
8406 * CutAndPaste.C (pasteSelection): adjust
8408 * BufferView.C (getEncoding): adjust
8410 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8412 * text2.C (setCharFont): adjust
8413 (setCounter): adjust
8415 * text.C (leftMargin): adjust
8416 (setHeightOfRow): adjust
8418 * rowpainter.C (paintFirst): adjust
8421 * paragraph_pimpl.C (realizeFont): adjust
8423 * paragraph.C (isFirstInSequence): move from here...
8424 * paragraph_funcs.C (isFirstInSequence): ...to here
8426 * paragraph.C (outerHook): move from here...
8427 * paragraph_funcs.C (outerHook): ...to here
8429 * paragraph.C (depthHook): move from here...
8430 * paragraph_funcs.C (depthHook): ...to here
8432 * paragraph.C (getEndLabel): move from here...
8433 * paragraph_funcs.C (getEndLabel): ...to here
8435 * text2.C (realizeFont): move from here...
8436 * paragraph_funcs.C (realizeFont): ...to here
8438 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8440 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
8442 2003-04-14 Angus Leeming <leeming@lyx.org>
8444 * LColor.[Ch]: scrap LColor mathcursor.
8446 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8448 * lyxlex.[Ch] (text): delete function
8449 * trans.C (Load): adjust
8450 * paragraph_funcs.C (readParToken): adjust
8452 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8454 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8455 vector<char> instead of a char[].
8457 * lyxlex_pimpl.C (getString): adjust
8459 (lex): use getString
8463 * lyxlex.C (text): use pimpl_->getString()
8467 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8469 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8470 (makeFontEntriesLayoutSpecific): temp var for par.size()
8471 (setLayout): temp var for ownerParagraphs().end()
8472 (fullRebreak): temp var for rows().end()
8473 (selectionAsString): temp var for boost::next(startpit), realize
8474 that the while really is a regular for loop.
8475 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8476 setCursor in one place.
8477 (setParagraph): temp vr for ownerParagraphs().end()
8478 (updateCounters): make the while loop a for loop
8479 (cutSelection): temp var for ownerParagraphs().end()
8480 (updateInset): make the do {} while() a regular for loop
8481 (getCursorX): use temp vars
8482 (setCurrentFont): use temp vars
8483 (getColumnNearX): use temp vars
8485 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8487 * text.C (transformChar): use temp var for getChar
8488 (computeBidiTables): use temp var for row->par()
8489 (fill): move temp vars for row->par() and pit->layout() earlier in
8491 (labelFill): use temp var for row->par()
8492 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8493 asc and desc, realize that pit never changes and that firstpit is
8494 just a duplicate and not needed. Exchange rit->par() with pit in a
8496 (breakAgain): use a temp var for boost::next(rit)
8497 (breakAgainOneRow): ditto
8498 (breakParagraph): use a temp var for rows().begin()
8499 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8500 (cursorRightOneWord): use temp var for cursor.par() and
8501 cursor.pos(), remove usage of tmpcursor.
8502 (cursorLeftOneWord): use temp var for cursor.par() and
8503 cursor.pos() only set cur at end of function.
8505 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8507 * text.C, text2.C: exchange all usage of Paragraph::next with
8508 boost::next(ParagraphList::iterator)
8510 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8512 * text2.C (cursorTop): simplify implementation
8513 (cursorBottom): ditto
8514 (setParagraph): use ParagraphList::iterator
8515 (setCurrentFont): adjust
8516 (getColumnNearX): adjust
8517 (cursorRight): adjust
8518 (cursorLeft): remove usage of Paragraph::previous
8519 (cursorUpParagraph): ditto
8520 (deleteEmptyParagraphMechanism): slight cleanup
8522 * text.C (isBoundary): take a Paragraph const & instead of a
8524 (addressBreakPoint): ditto
8525 (leftMargin): remove usage of Paragraph::previous.
8526 (setHeightOfRow): ditto
8527 (cursorLeftOneWord): ditto
8528 (selectNextWordToSpellcheck): ditto
8531 (breakParagraph): remove one usage of Paragraph::next
8532 (redoParagraph): ditto
8533 (acceptChange): ditto
8534 (insertChar): adjust
8535 (rowBreakPoint): adjust
8537 * bufferview_funcs.C (toggleAndShow): adjust
8539 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
8541 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8542 methods to access it.
8544 * text.C: Added updateRowPositions to compute all row positions.
8545 Make top_y and getRowNearY() to use the cached y position
8547 2003-04-11 John Levon <levon@movementarian.org>
8549 * text.C (rowBreakPoint): reintroduce the labelEnd
8550 checks, code copied from the row fill stuff. Deep voodoo.
8552 * text.C (fill): add a comment and debugging for the
8555 2003-04-11 John Levon <levon@movementarian.org>
8557 * text.C: make sure fullrow insets get wrapped to the next line,
8558 even when they're in a manual label
8560 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
8562 * text2.C (insertParagraph): make it take ParagraphList::iterator
8564 (setLayout): make it return ParagraphList::iterator
8565 (redoParagraphs): ditto
8567 (checkParagraph): ditto
8569 * text.C (getRow): make getrow take ParagraphList::iterator as arg
8571 * text2.C: adjust several funcs.
8572 (realizeFont): take a ParagraphList::iterator as arg.
8573 (getLayoutFont): ditto
8574 (getLabelFont): ditto
8575 (setCharFont): ditto
8577 * text.C: adjust several funcs.
8579 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8581 * text.C (selectNextWordToSpellcheck): don't accidentally
8584 2003-04-10 John Levon <levon@movementarian.org>
8586 * ToolbarBackend.C (getIcon): special handling for
8589 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8591 * text2.C (cursorRight): a getChar assert fixed
8593 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8595 * text2.C (getFont): change to take a ParagraphList::iterator
8596 instead of Paragraph*
8597 Adjust several functions.
8599 * text.C (transformChar): change to take a ParagraphList::iterator
8600 instead of Paragraph*
8601 (singleWidth): ditto
8602 Adjust several functions.
8604 * rowpainter.C: adjust several functions
8605 * rowpainter.h:store a ParagraphList::iterator and not a
8609 2003-04-09 John Levon <levon@movementarian.org>
8614 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8615 and the "help" bits as well
8617 2003-04-09 John Levon <levon@movementarian.org>
8620 * ToolbarBackend.C: allow multiple toolbars
8622 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8624 * undo_funcs.C (setCursorParUndo): adjust
8626 * text_funcs.C (transposeChars): adjust
8628 * text3.C (gotoNextInset): adjust
8631 * text2.C (setLayout): adjust
8632 (changeDepth): adjust
8634 (redoParagraphs): adjust
8635 (selectionAsString): adjust
8636 (setParagraph): adjust
8637 (insertInset): adjust
8638 (cutSelection): adjust
8639 (copySelection): adjust
8640 (pasteSelection): adjust
8641 (insertStringAsLines): adjust
8642 (updateInset): adjust
8643 (setCursor): change to take a ParagraphList::iterator parameter
8644 (setCursorIntern): change to take a ParagraphList::iterator parameter
8645 (setCurrentFont): adjust
8646 (cursorLeft): adjust
8647 (cursorRight): adjust
8648 (deleteEmptyParagraphMechanism): adjust
8650 * text.C (breakParagraph): adjust
8651 (insertChar): adjust
8652 (acceptChange): adjust
8653 (rejectChange): adjust
8654 (selectNextWordToSpellcheck): adjust
8655 (changeCase): adjust
8659 * lyxfind.C (SearchForward): adjust
8660 (SearchBackward): adjust
8661 (nextChange): adjust
8663 * lyxcursor.C (par): adjust
8665 * lyxcursor.h: store a ParagraphList::iterator instead of a
8668 * lyx_cb.C (getPossibleLabel): adjust
8670 * bufferview_funcs.C (toggleAndShow): adjust
8672 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8675 * BufferView.C (removeAutoInsets): adjust
8676 (lockedInsetStoreUndo): adjust
8678 2003-04-09 John Levon <levon@movementarian.org>
8680 * ToolbarBackend.C: try icon without argument
8681 if with argument fails
8683 2003-04-08 John Levon <levon@movementarian.org>
8686 * ToolbarBackend.C: add getIcon(), handle tooltip,
8687 and change from "Icon" to "Item".
8689 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8691 * BufferView.C (lockInset): another bad getchar crunched
8693 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8695 * text2.C (changeDepth): do not setUndo on test_only (make undo work
8698 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
8700 * lyxfind.C (searchForward, searchBackwards): bug 782
8702 2003-04-07 John Levon <levon@movementarian.org>
8704 * paragraph.C: remove dead comment
8706 * text.C: remove troublesome depth-fiddling code
8707 in leftMargin() and rightMargin() (bug 1017)
8709 * text.C: fix breaking of rows in nested lists
8712 * text2.C (updateCounters): fix up depth values
8715 2003-04-07 John Levon <levon@movementarian.org>
8717 * BufferView_pimpl.C: clear message when doc finishes resizing,
8718 and after a mouse event
8720 * lyxfunc.C: clear message after exiting inset
8722 2003-04-07 John Levon <levon@movementarian.org>
8724 * bufferview_funcs.C: show math status not outside
8725 status in the statusbar
8727 2003-04-07 John Levon <levon@movementarian.org>
8729 * lyxfunc.C: note status changed after a depth change
8731 2003-04-04 Angus Leeming <leeming@lyx.org>
8733 * LaTeX.h: move AuxInfo operator==, != out of line.
8734 Remove LaTeX virtual destructor; nothing derives from it.
8735 Move operator()() out of public area and rename it startscript().
8736 Change protected for private.
8738 2003-04-04 Angus Leeming <leeming@lyx.org>
8741 * text2.C: remove unneeded #includes.
8743 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8745 * text2.C (dEPM): fix the heigth of the next row
8747 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8749 * text.C: squashed an invalid getChar requester + some ws changes
8751 2003-04-03 John Levon <levon@movementarian.org>
8753 * bufferview_funcs.h:
8754 * bufferview_funcs.C:
8757 * text2.C: make getStatus work for the env depth lfuns
8759 2003-04-03 John Levon <levon@movementarian.org>
8761 * bufferview_funcs.h:
8762 * bufferview_funcs.C:
8765 * text2.C: parlistize decDepth(), by merging it with incDepth()
8767 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8769 * lyxrow.h: store a ParagraphList::iterator instead of a
8770 Paragraph* and adjust other class functions to suit.
8772 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8775 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8777 * text2.C (setCursor): do not anchor to cursor row for the time being
8779 2003-04-02 John Levon <levon@movementarian.org>
8786 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8788 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8790 * paragraph.h: make ParagraphList and ParagraphList::iterator
8791 friends of Paragraph.
8793 * buffer.C (makeLinuxDocFile): move towards ParagraphList
8795 * ParagraphList.C: Use the private next_ and previous_ from
8798 2003-04-01 John Levon <levon@movementarian.org>
8802 * Makefile.am: rename, remove defaults gunk
8805 * MenuBackend.C: remove defaults gunk
8808 * Languages.C: remove defaults gunk
8811 * lyx_main.C: error out if files couldn't be found.
8813 2003-04-02 John Levon <levon@movementarian.org>
8815 * text2.C: make incDepth() use parlist
8817 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8819 * undo_funcs.C (firstUndoParagraph): adjust
8821 * text3.C (gotoInset): adjust
8822 (dispatch): adjust, and rewrite loop.
8824 * text2.C (init): adjust, and rewrite loop.
8825 (redoParagraphs): adjust
8826 (updateInset): adjust, and rewrite loop.
8827 (deleteEmptyParagraphMechanism): adjust
8829 * tabular.C (LyXTabular): adjust
8830 (SetMultiColumn): adjust
8833 * lyxtext.[Ch] (ownerParagraph): delete function
8834 (ownerParagraphs): new function returns a ParagraphList.
8836 * BufferView.C (removeAutoInsets): adjust
8837 (insertErrors): adjust
8838 (setCursorFromRow): adjust
8840 2003-04-01 Angus Leeming <leeming@lyx.org>
8842 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8845 2003-04-02 John Levon <levon@movementarian.org>
8851 * text_funcs.C: make transposeChars a free function
8853 * lyxrow_funcs.C: remove wrong comment
8855 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8858 * rowpainter.C: adjust
8863 * lyxrow_funcs. [Ch]: new files
8865 * lyxrow.[Ch]: remove next and previous pointers
8866 (next,previous): remove accessor functions
8867 (isParEnd): move to lyxrow_funcs
8868 (lastPos): move to lyxrow_funcs
8869 (nextRowIsAllInset): move to lyxrow_funcs
8870 (lastPrintablePos): move to lyxrow_funcs
8871 (numberOfSeparators): move to lyxrow_funcs
8872 (numberOfHfills): move to lyxrow_funcs
8873 (numberOfLabelHfills): move to lyxrow_funcs
8874 (hfillExpansion): move to lyxrow_funcs
8878 * bufferview_funcs.C (toggleAndShow): adjust
8880 * RowList.h: Remove class RowList from file leave just a
8883 * RowList.C: delete file
8885 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8888 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8890 * text3.C (cursorPrevious): adjust
8891 (cursorNext): adjust
8894 * text2.C (redoHeightOfParagraph): adjust
8895 (redoDrawingOfParagraph): adjust
8898 * text.C (breakParagraph): adjust
8899 (insertChar): adjust
8902 * rowpainter.C (RowPainter): adjust
8903 (leftMargin): simplify and adjust
8904 (most rowpainter functions): adjust.
8906 * rowpainter.h: store the row as RowList::iterator not as Row*
8908 * lyxcursor.C (row): taka RowList::iterator as arg
8911 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8914 2003-04-01 Angus Leeming <leeming@lyx.org>
8916 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8917 stuff like bool Bool.
8919 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8921 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8924 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8926 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8929 * lyxtext.h (rows): drop one version and leve a const variant that
8930 returns a RowList::iterator.
8932 2003-03-31 Angus Leeming <leeming@lyx.org>
8934 * text.C (fill): ensure that the signature is the same as that in the
8937 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
8939 * text2.C (redoParagraphs): adjust
8940 (updateCounters): adjust
8941 (checkParagraph): adjust
8942 (getColumnNearX): adjust and reformat a bit.
8944 * text.C (top_y): adjust
8946 (leftMargin): adjust
8947 (prepareToPrint): adjust
8949 (getRowNearY): adjust
8951 * lyxtext.h: make rowlist_ mutable.
8953 * RowList.h: add const_iterator
8954 * RowList.C: adjust for RowList::const_iterator.
8956 * text2.C (getCursorX): make it take a RowList::iterator as arg,
8959 2003-03-31 John Levon <levon@movementarian.org>
8962 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8964 * lyx_main.C: set default fonts from using lyx_gui funcs
8966 * exporter.C: pdf_mode moved from lyxrc
8969 * lyxfunc.C: changes from above
8971 2003-03-31 John Levon <levon@movementarian.org>
8973 * lyx_main.C: fix to the last fix
8975 2003-03-31 John Levon <levon@movementarian.org>
8977 * bufferlist.C: "Load original" -> "Load Original"
8983 * format.C: more Alert cleanups
8985 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8987 * text2.C (removeParagraph): make it take a RowList::iterator as
8989 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8990 (postRowPaint): make it take a RowList::iterator as arg, adjust.
8992 * text.C (anchor_row): make it take a RowList::iterator as arg,
8994 (computeBidiTables): make it take a const reference to Row instead
8995 of Row pointer, adjust.
8996 (leftMargin): make it take a RowList::iterator as arg, adjust.
8997 (rowBreakPoint): adjust
8998 (breakAgainOneRow): make it take a RowList::iterator as arg,
9000 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
9002 * bufferview_funcs.C (toggleAndShow): adjust
9004 2003-03-30 John Levon <levon@movementarian.org>
9008 * boost-inst.C: moved to support
9010 * several files: changes as a result
9012 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
9014 * text2.C (LyXText): adjust.
9016 (removeRow): make it take a RowList::iterator as arg, adjust.
9017 (fullRebreak): adjust
9018 (deleteEmptyParagraphMechanism): adjust
9019 (clearPaint): adjust
9022 * text.C (top_y): adjust
9023 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
9024 (breakAgain): make it take a RowList::iterator as arg, adjust.
9025 (breakParagraph): adjust
9026 (insertChar): adjust
9029 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
9030 need_break_row, and refresh_row.
9032 * text3.C (dispatch): adjust
9034 * text2.C (checkParagraph): adjust
9036 (setCursorFromCoordinates): adjust
9038 * text.C (top_y): adjust
9040 (getRow): make it return a RowList::iterator, adjust
9041 (getRowNearY): make it return a RowList::iterator, adjust
9043 * text2.C (init): adjust
9044 (insertRow): remove function
9045 (insertParagraph): adjust
9046 (redoParagraphs): adjust
9047 (fullRebreak): adjust
9048 (updateCounters): adjust
9050 * text.C (top_y): rewrite to use RowList iterators.
9052 (setHeightOfRow): rewrite to sue RowList iterators.
9053 (appendParagraph): adjust
9054 (breakAgain): adjust
9055 (breakAgainOneRow): adjust
9056 (breakParagraph): adjust
9058 (getRowNearY): adjust, and remove commented code.
9060 * lyxtext.h (firstRow): delete function
9061 (lastRow): delete function
9062 (rows): new function (const and non-const versions.)
9063 (insertRow): delete function
9065 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
9067 2003-03-29 John Levon <levon@movementarian.org>
9069 * BufferView_pimpl.C: always update scrollbar top
9070 because pasting text when we're anchored could mean we
9071 miss an update altogether
9073 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
9075 * text2.C (init): use rowlist_.end() and not 0.
9076 (insertRow): change to take a RowList::iterator as arg, adjust
9078 (insertParagraph): change to take a RowList::iterator as arg,
9080 (redoParagraphs): remove some debug msgs.
9082 * text.C (appendParagraph): change to take a RowList::iterator
9083 arg, adjust for this.
9084 (breakAgain): add an assert
9085 (breakAgainOneRow): ditto
9087 2003-03-29 John Levon <levon@movementarian.org>
9089 * text2.C: do not clear selection after inc/decDepth
9092 2003-03-29 John Levon <levon@movementarian.org>
9095 * buffer.C: fix broken strerrors according to Lars
9097 2003-03-29 John Levon <levon@movementarian.org>
9099 * converters.C: more Alert cleanups
9101 2003-03-29 John Levon <levon@movementarian.org>
9103 * bufferview_funcs.C: remove pointless Alert
9105 * buffer.C: fix confusing error message when
9106 a template is chmoded 000
9108 2003-03-29 John Levon <levon@movementarian.org>
9112 * BufferView_pimpl.C: Alert fixes
9116 * tabular-old.C: remove unused table compat reading
9118 2003-03-29 John Levon <levon@movementarian.org>
9123 * lyx_cb.C: more Alert cleanups
9125 * lyxfunc.C: don't allow chktex if not latex document
9127 2003-03-29 John Levon <levon@movementarian.org>
9131 * buffer.C: warnings pushed down from support/,
9134 2003-03-29 John Levon <levon@movementarian.org>
9136 * lyxfunc.C: safety check for C-r (revert)
9138 2003-03-29 John Levon <levon@movementarian.org>
9141 * bufferlist.C: several UI fixes using Alert::prompt.
9142 Fix the pointless looping quit code. Fix stupid revert
9147 * lyx_cb.C: use Alert::prompt
9149 * lyx_main.C: remove a silly question
9151 * lyxfunc.C: remove a couple of silly questions,
9154 2003-03-28 John Levon <levon@movementarian.org>
9156 * text2.C: fix bug 974 (End on empty par)
9158 2003-03-28 John Levon <levon@movementarian.org>
9160 * BufferView_pimpl.C:
9162 * lfuns.h: remove do-nothing math greek lfuns
9164 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
9166 * lyxgluelength.h (isValidGlueLength): add default arg on
9167 parameter 2. Remove default arg from friend in class.
9169 * lyxlength.h (isValidLength): add default arg on parameter 2.
9170 Remove default arg from friend in class.
9172 * text2.C (LyXText): adjust, initialize refresh_row.
9176 (insertParagraph): adjst
9177 (redoParagraphs): adjust
9178 (fullRebreak): adjust
9179 (updateCounters): adjust
9180 (deleteEmptyParagraphMechanism): first attempt at fixing a
9183 * text.C (top_y): adjust
9184 (setHeightOfRow): adjust
9186 (getRowNearY): adjust
9188 * lyxtext.h: include RowList.h
9189 (~LyXText): not needed anymore, deleted.
9190 (firstRow): modify for RowList
9191 (lastRow): new function
9192 Delete firstrow and lastrow class variables, add a Rowlist
9193 rowlist_ class variable.
9195 * lyxrow.C (lastPos): use empty() and not !size() to check if a
9198 * RowList.C (insert): fix case where it == begin().
9200 2003-03-26 Angus Leeming <leeming@lyx.org>
9202 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
9203 the thesaurus dialog.
9205 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
9207 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
9209 * RowList.[Ch]: new files
9211 * ParagraphList.C (erase): handle the case where it == begin
9214 2003-03-25 John Levon <levon@movementarian.org>
9218 * aspell.C: add new aspell support
9221 * lyxrc.C: Make use_pspell be use_spell_lib. Always
9224 2003-03-25 Angus Leeming <leeming@lyx.org>
9227 * LyXAction.C (init): new LFUN_INSET_INSERT.
9229 * BufferView_pimpl.C (dispatch): split out part of the
9230 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
9232 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
9235 2003-03-25 Angus Leeming <leeming@lyx.org>
9237 * lyxfunc.C (dispatch): changes to the Dialogs interface.
9239 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
9242 * text3.C: remove useless row->height(0)
9244 2003-03-25 John Levon <levon@movementarian.org>
9248 * text3.C: rename the refreshing stuff to better names
9250 2003-03-24 John Levon <levon@movementarian.org>
9252 * BufferView_pimpl.h:
9253 * BufferView_pimpl.C: update layout choice on a mouse
9256 2003-03-23 John Levon <levon@movementarian.org>
9258 * Makefile.am: fix commandtags.h reference
9260 2003-03-22 John Levon <levon@movementarian.org>
9262 * BufferView_pimpl.C:
9267 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
9269 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
9272 * text.C: take the rtl methods out of line
9274 2003-03-21 André Pönitz <poenitz@gmx.net>
9276 * metricsinfo.[Ch]: new files containing structures to be passed around
9277 during the two-phase-drawing...
9279 2003-03-21 André Pönitz <poenitz@gmx.net>
9281 * lyxtextclass.C: read 'environment' tag.
9283 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
9285 * text2.C (removeRow): fix bug 964
9287 2003-03-20 John Levon <levon@movementarian.org>
9291 * text2.C: paint cleanups. Inset::update() dropped font
9294 2003-03-19 John Levon <levon@movementarian.org>
9296 * lyxfunc.C: only fitcursor/markDirty if available()
9298 2003-03-19 John Levon <levon@movementarian.org>
9300 * commandtags.h: rename to ...
9302 * lfuns.h: ... this, and renumber / cleanup
9304 2003-03-19 John Levon <levon@movementarian.org>
9306 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
9307 fit the cursor after an lfun
9311 * BufferView_pimpl.h:
9312 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
9314 * LyXAction.C: layout-character should have ReadOnly
9316 * ParagraphParameters.C:
9318 * bufferview_funcs.C:
9325 * undo_funcs.C: changes from above
9327 2003-03-18 John Levon <levon@movementarian.org>
9329 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
9330 remove it from update()
9332 * lyxfunc.C: update layout choice after an lfun
9334 * text3.C: remove extra updateLayoutChoice()s
9336 2003-03-18 John Levon <levon@movementarian.org>
9338 * text.C: top_y change means full repaint, fix
9339 a drawing bug with cursor movement
9341 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
9345 * text2.C: anchor row on setCursor
9347 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
9349 * lyxtext.h: remove almost all mutable keywords
9352 * text3.C: remove const keywords accordingly
9354 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
9356 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
9358 (TeXEnvironment): ditto
9361 2003-03-17 John Levon <levon@movementarian.org>
9363 * text.C (rowBreakPoint): remove attempt to fix displayed
9364 math insets inside a manual label
9366 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
9368 * lyxtext.h: remove BufferView* as first arg from almost all class
9370 * other files: adjust.
9372 2003-03-17 John Levon <levon@movementarian.org>
9376 * text2.C: more paint cleanups
9378 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
9381 * rowpainter.C: remove "smart" background painting code
9383 2003-03-16 John Levon <levon@movementarian.org>
9388 * text3.C: add helper functions for setting refresh_row/y
9390 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
9392 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
9393 newline inset which *can* get inserted in the pass_thru layouts.
9394 This is primarily for literate documents.
9396 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
9398 * buffer.C: increment LYX_FORMAT to 223
9400 2003-03-14 André Pönitz <poenitz@gmx.net>
9402 * textclass.h: prepare for environment handling, ws changes
9403 * lyxlayout.C: read latexheader and latexfooter tags
9405 2003-03-14 John Levon <levon@movementarian.org>
9407 * text2.C: rewrite ::status() a bit
9409 2003-03-13 John Levon <levon@movementarian.org>
9411 * lyxtext.h: add some docs
9413 2003-03-13 John Levon <levon@movementarian.org>
9418 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
9420 2003-03-13 John Levon <levon@movementarian.org>
9422 * text3.C: fix appendix redrawing
9424 2003-03-13 John Levon <levon@movementarian.org>
9426 * text.C (setHeightOfRow):
9428 * rowpainter.C: make appendix mark have the text
9429 "Appendix" so the user knows what it is
9432 * LColor.C: s/appendixline/appendix/ from above
9434 2003-03-13 John Levon <levon@movementarian.org>
9436 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
9438 * text.C: fix a getChar(pos) bug properly
9440 2003-03-13 Angus Leeming <leeming@lyx.org>
9443 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
9444 Probably only temporary. Let's see how things pan out.
9446 * BufferView.C (unlockInset):
9447 * BufferView_pimpl.C (fitCursor):
9448 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
9450 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
9451 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
9453 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
9454 new functions that convert ParagraphParameters to and from a string.
9456 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9457 BufferView::Pimpl's dispatch.
9458 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9460 2003-03-13 André Pönitz <poenitz@gmx.net>
9464 * factory.C: make it aware of InsetEnv
9466 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
9468 * text2.C (setCursor): never ask for one past last
9469 (setCursor): add some debugging messages.
9471 * text.C (singleWidth): never ask for one past last
9472 (singleWidth): ditto
9474 (rightMargin): ditto
9475 (rowBreakPoint): ditto
9476 (setHeightOfRow): ditto
9477 (prepareToPrint): ditto
9479 * rowpainter.C (paintBackground): never ask for one past last
9480 (paintText): never ask for one past last
9482 * paragraph_pimpl.C (getChar): make the assert stricter, never
9483 allow the one past last pos to be taken
9485 * paragraph.C (getChar): ws changes only
9487 * lyxrow.C (nextRowIsAllInset): never ask for one past last
9488 (numberOfSeparators): ditto
9489 (numberOfHfills): ditto
9491 2003-03-12 John Levon <levon@movementarian.org>
9497 * paragraph_funcs.C: fix per-buffer authorlists
9499 2003-03-12 John Levon <levon@movementarian.org>
9501 * text.C: fix newline in right address
9503 2003-03-12 Angus Leeming <leeming@lyx.org>
9505 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9506 duplicate those in LyXFunc::dispatch.
9510 * ToolbarDefaults.C:
9511 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9512 Add LFUN_FONTFREE_UPDATE.
9514 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9515 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9517 * bufferview_func.[Ch]: several new functions to facilliate
9518 transfer of data to and from the character dialog.
9520 2003-03-12 John Levon <levon@movementarian.org>
9525 * paragraph_funcs.C:
9526 * paragraph_pimpl.C:
9530 * text3.C: remove META_NEWLINE in favour of an inset
9533 * rowpainter.C: remove paintNewline (done by inset)
9535 2003-03-12 John Levon <levon@movementarian.org>
9537 * paragraph_pimpl.C: complain about bad getChar()s
9538 for a while at least
9540 2003-03-12 John Levon <levon@movementarian.org>
9543 * buffer.C: move paragraph read into a separate function,
9544 a little renaming to reflect that.
9547 * bufferparams.C: remove the author_ids map, not necessary now
9550 * factory.C: moved Buffer::readInset to here
9552 * paragraph_funcs.h:
9553 * paragraph_funcs.C: readParagraph free function moved from
9556 * tabular.C: name change
9558 2003-03-12 John Levon <levon@movementarian.org>
9561 * ParagraphParameters.C: move par params input to
9564 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9565 behave like a normal read from the stream wrt reading
9566 a line vs. a \\token
9568 2003-03-12 John Levon <levon@movementarian.org>
9571 * ParagraphParameters.h:
9572 * ParagraphParameters.C: move output code to a
9575 2003-03-12 John Levon <levon@movementarian.org>
9577 * BufferView.C (insertLyXFile):
9580 * tabular.C: use a parlist iterator for creating the
9583 2003-03-12 John Levon <levon@movementarian.org>
9585 * buffer.C: make current_change static local not
9588 2003-03-12 John Levon <levon@movementarian.org>
9590 * buffer.C: fix insertStringAsLines for change tracking
9592 2003-03-12 John Levon <levon@movementarian.org>
9599 * bufferparams.C: move author list into params. Rename some
9600 functions. Move the header reading into a separate token
9601 loop. Move the header token reading into BufferParams.
9603 2003-03-12 John Levon <levon@movementarian.org>
9605 * changes.C: put debug inside lyxerr.debugging() checks
9607 2003-03-11 André Pönitz <poenitz@gmx.net>
9609 * factory.C: make it aware of InsetHFill
9611 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9613 * buffer.C (latexParagraphs): move function from here...
9614 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9617 2003-03-10 Angus Leeming <leeming@lyx.org>
9619 * LyXAction.C (init): fix bug in poplating array with multiple entries
9620 with the same LFUN (spotted by JMarc).
9622 2003-03-10 John Levon <levon@movementarian.org>
9625 * text2.C: move getColumnNearX() near its
9628 2003-03-10 John Levon <levon@movementarian.org>
9630 * text.C: fix break before a minipage
9632 2003-03-10 John Levon <levon@movementarian.org>
9634 * text.C: fix the last commit
9636 2003-03-09 John Levon <levon@movementarian.org>
9640 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9641 bug 365 (don't break before insets unless needed). Don't
9642 return a value > last under any circumstances.
9644 2003-03-09 Angus Leeming <leeming@lyx.org>
9646 * BufferView_pimpl.C (trackChanges, dispatch): call
9647 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9649 2003-03-09 Angus Leeming <leeming@lyx.org>
9651 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9652 than Dialogs::showAboutlyx().
9654 2003-03-09 Angus Leeming <leeming@lyx.org>
9656 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9657 than Dialogs::showTabularCreate().
9659 2003-03-09 John Levon <levon@movementarian.org>
9663 * text2.C: 3rd arg to nextBreakPoint was always the same.
9666 2003-03-08 John Levon <levon@movementarian.org>
9673 * text2.C: Remove the "main" bit from the "main body"
9676 2003-03-08 John Levon <levon@movementarian.org>
9678 * text.C (leftMargin): The left margin of an empty
9679 manual label paragraph should not include the label width
9682 * text.C (prepareToPrint): don't attempt to measure hfills
9683 for empty manual label paragraphs - the answer should be 0
9685 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9687 * CutAndPaste.C: remove commented code and reindent.
9689 2003-03-08 John Levon <levon@movementarian.org>
9692 * lyxfunc.C: move reloadBuffer()
9695 * BufferView.C: to here
9697 * lyxvc.C: add comment
9700 * vc-backend.C: call bv->reload() to avoid
9701 getStatus() check on MENURELOAD
9703 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
9705 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9706 to an old format .dep file.
9708 2003-03-07 Angus Leeming <leeming@lyx.org>
9710 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9711 when the LFUN_MOUSE_RELEASE should have been handled by
9712 inset->localDispatch.
9714 2003-03-07 Angus Leeming <leeming@lyx.org>
9716 * BufferView_pimpl.C (dispatch):
9717 * LyXAction.C (init):
9718 * ToolbarDefaults.C (init):
9720 * lyxfunc.C (getStatus):
9721 remove LFUN_INSET_GRAPHICS.
9723 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9725 2003-03-07 Angus Leeming <leeming@lyx.org>
9728 * LyXAction.C (init):
9729 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9731 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9734 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9736 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9737 localDispatch method LFUN_INSET_DIALOG_UPDATE.
9739 2003-03-07 Angus Leeming <leeming@lyx.org>
9741 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9744 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9746 * ParagraphList.C (front): new function
9749 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
9751 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9752 and top_row_offset_. removed var first_y.
9754 * text2.C (LyXText, removeRow):
9756 * BufferView_pimpl.C:
9757 use these methods instead of using first_y
9759 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9761 * text2.C (pasteSelection): adjust for checkPastePossible
9763 * CutAndPaste.C: remove Paragraph * buf and replace with
9764 ParagraphList paragraphs.
9765 (DeleteBuffer): delete
9766 (cutSelection): change the tc type to textclass_type
9767 (copySelection): change the tc type to textclass_type
9768 (copySelection): adjust for ParagraphList
9769 (pasteSelection): change the tc type to textclass_type
9770 (pasteSelection): adjust for Paragraphlist
9771 (nrOfParagraphs): simplify for ParagraphList
9772 (checkPastePossible): simplify for ParagraphList
9773 (checkPastePossible): remove unused arg
9775 * ParagraphList.C (insert): handle the case where there are no
9778 * CutAndPaste.h: make CutAndPaste a namespace.
9780 * text3.C (dispatch): adjust
9782 * text.C (breakParagraph): add a ParagraphList as arg
9784 * paragraph_funcs.C (breakParagraph): change to take a
9785 BufferParams and a ParagraphList as args.
9786 (breakParagraphConservative): ditto
9787 (mergeParagraph): ditto
9788 (TeXDeeper): add a ParagraphList arg
9789 (TeXEnvironment): ditto
9792 * buffer.C (readLyXformat2): adjust
9793 (insertStringAsLines): adjust
9794 (latexParagraphs): adjust
9796 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9797 (cutSelection): adjust
9798 (pasteSelection): adjust
9800 * BufferView_pimpl.C (insertInset): adjust
9802 2003-03-05 Angus Leeming <leeming@lyx.org>
9805 * LyXAction.C (init):
9806 * BufferView_pimpl.C (dispatch):
9807 * lyxfunc.C (getStatus):
9808 remove LFUN_CHILD_INSERT.
9810 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9812 2003-03-05 Angus Leeming <leeming@lyx.org>
9815 * LyXAction.C (init):
9816 * src/factory.C (createInset):
9817 * lyxfunc.C (getStatus):
9818 * text3.C (dispatch):
9819 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9821 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9823 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9825 * ParagraphList.C (insert): handle insert right before end()
9826 (erase): fix cases where it can be first or last paragraph.
9828 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9830 * paragraph_funcs.C (TeXEnvironment): remove all usage of
9831 Paragraph::next and Paragraph::previous
9834 * text.C (breakParagraph): adjust
9836 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9837 BufferParams& as arg.
9838 (breakParagraph): use ParagraphList::insert
9839 (breakParagraphConservative): take a Buffer* instead of a
9840 BufferParams& as arg.
9841 (breakParagraphConservative): use ParagraphList::insert.
9843 * buffer.C (insertStringAsLines): un-const it
9844 (insertStringAsLines): adjust
9846 * ParagraphList.C (insert): new function
9848 * CutAndPaste.C (pasteSelection): adjust
9850 * text.C (backspace): adjust
9852 * tabular.C (SetMultiColumn): adjust
9854 * CutAndPaste.C (cutSelection): adjust
9855 (pasteSelection): adjust
9857 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9858 Buffer const * as arg
9860 * ParagraphList.C (erase): new function
9861 * paragraph_funcs.C (mergeParagraph): use it
9862 (mergeParagraph): make it take a Buffer* instead of a
9863 BufferParams* as arg
9865 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9867 (breakParagraphConservative): ditto
9869 * paragraph.h: remove the breakParagraph friend
9871 * paragraph.C (eraseIntern): new function
9872 (setChange): new function
9874 * paragraph_funcs.C (mergeParagraph): make it take a
9875 ParagraphList::iterator instead of a Paragraph *, adjust
9878 * paragraph.h: move an #endif so that the change tracking stuff
9879 also works in the NO_NEXT case.
9881 2003-03-04 Angus Leeming <leeming@lyx.org>
9884 * LyXAction.C: new LFUN_INSET_MODIFY.
9886 * BufferView_pimpl.C (dispatch): if an inset is found to be open
9887 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9889 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9891 * several files: ws changes only
9893 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9894 (TeXEnvironment): ditto
9897 * buffer.C (makeLaTeXFile): adjust
9898 (latexParagraphs): make it take ParagraphList::iterator as args
9900 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
9902 * buffer.C (latexParagraphs): adjust
9904 * paragraph.C (TeXOnePar): move function...
9905 (optArgInset): move function...
9906 (TeXEnvironment): move function...
9907 * paragraph_pimpl.C (TeXDeeper): move function...
9908 * paragraph_funcs.C: ...here
9910 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9912 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9914 * buffer.C (readInset): remove compability code for old Figure and
9917 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9919 * buffer.C: ws changes
9922 * BufferView_pimpl.C: ditto
9925 * bufferlist.h: ditto
9929 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
9931 * converter.[Ch]: split into itself +
9934 * Makefile.am: += graph.[Ch] + format.[Ch]
9941 * lyxrc.C: added #include "format.h"
9943 2003-02-27 Angus Leeming <leeming@lyx.org>
9945 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9948 * factory.C (createInset): add "label" to the factory.
9950 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9951 string and do no more.
9953 2003-02-27 Angus Leeming <leeming@lyx.org>
9956 * LyXAction.C (init):
9957 * factory.C (createInset):
9958 * BufferView_pimpl.C (dispatch):
9959 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9961 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9963 * lyxfunc.C (dispatch):
9964 * text3.C (dispatch): pass name to params2string.
9966 2003-02-26 Angus Leeming <leeming@lyx.org>
9968 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9970 Rearrange the ~includes. Strip out the unnecessary ones.
9972 * factory.C (createInset): reformat.
9973 create new insets for the various LFUN_XYZ_APPLY lfuns.
9975 2003-02-26 John Levon <levon@movementarian.org>
9978 * lyxrow.C: add isParStart,isParEnd helpers
9980 * paragraph.h: make isInserted/DeletedText take refs
9982 * paragraph_funcs.h:
9983 * paragraph_funcs.C: remove #if 0'd code
9988 * text.C: use lyxrow helpers above.
9989 Move draw and paint routines to RowPainter.
9990 Make several methods use refs not pointers.
9991 Make backgroundColor() const.
9992 Add markChangeInDraw(), isInInset().
9993 Merge changeRegionCase into changeCase.
9994 Make workWidth() shouldn't-happen code into an Assert.
9997 * rowpainter.C: new class for painting a row.
10000 * vspace.C: make inPixels take a ref
10002 2003-02-26 Angus Leeming <leeming@lyx.org>
10004 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
10007 2003-02-25 John Levon <levon@movementarian.org>
10009 * ispell.C: give the forked command a more accurate name
10011 2003-02-22 John Levon <levon@movementarian.org>
10014 * toc.C: make TocItem store an id not a Paragraph *
10017 2003-02-21 Angus Leeming <leeming@lyx.org>
10019 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
10020 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
10021 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
10022 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
10023 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
10024 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
10026 * BufferView_pimpl.C (dispatch):
10027 * LyXAction.C (init):
10028 * factory.C (createInset):
10029 * lyxfunc.C (getStatus, dispatch):
10030 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
10032 2003-02-21 Angus Leeming <leeming@lyx.org>
10034 * BufferView_pimpl.C (MenuInsertLyXFile):
10035 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
10036 * lyxfunc.C (menuNew, open, doImport):
10037 no longer pass a LyXView & to fileDlg.
10039 2003-02-21 Angus Leeming <leeming@lyx.org>
10041 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
10042 * LyXAction.C: change, BIBKEY to BIBITEM.
10043 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
10044 Change InsetBibKey to InsetBibitem.
10045 Change BIBKEY_CODE to BIBITEM_CODE.
10046 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10047 * factory.C: replace insetbib.h with insetbibitem.h.
10048 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10049 * paragraph.C: replace insetbib.h with insetbibitem.h.
10050 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
10051 Change bibkey() to bibitem().
10052 * text.C: remove insetbib.h.
10053 * text2.C: replace insetbib.h with insetbibitem.h.
10054 change bibkey() to bibitem().
10055 * text3.C: remove insetbib.h.
10056 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10058 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10060 * lyxrc.C (output): enclose user email in quotes (in case there are
10063 2003-02-18 John Levon <levon@movementarian.org>
10065 * buffer.h: add std::
10067 2003-02-17 John Levon <levon@movementarian.org>
10073 * pspell.C: reworking. Especially in ispell, a large
10074 number of clean ups and bug fixes.
10076 * lyxfunc.C: fix revert to behave sensibly
10078 2003-02-17 André Pönitz <poenitz@gmx.net>
10081 * commandtags.h: new LFUN_INSERT_BIBKEY
10091 * paragraph_func.C: remove special bibkey handling
10093 2003-02-17 John Levon <levon@movementarian.org>
10095 * text.C (Delete): fix case where delete at the end of
10096 the very first paragraph would not merge the pars
10098 2003-02-17 John Levon <levon@movementarian.org>
10100 * lyxrow.C: fix lastPrintablePos()
10102 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10104 * bufferparams.C (writeLaTeX): add a std:here
10106 * buffer.C: and remove a using directive there
10108 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10110 * buffer.C (makeLaTeXFile): move the code that generates the
10113 * bufferparams.C (writeLaTeX): ... in this new method
10115 * LaTeXFeatures.C (getEncodingSet): make const
10116 (getLanguages): make const
10118 * MenuBackend.C (binding): returns the binding associated to this
10120 (add): sets the status of each item by calling getStatus. Adds
10122 (read): add support for OptSubMenu
10123 (expand): remove extra separator at the end of expanded menu
10125 2003-02-15 John Levon <levon@movementarian.org>
10128 * BufferView_pimpl.C:
10130 * bufferlist.C: remove pointless BufferStorage bloat. Remove
10131 inset code that had no actual effect. Remove unneeded status
10134 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10136 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
10139 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
10141 * text.C (drawLengthMarker): also draw an arrow marker for
10142 symbolic lengths (medskip...)
10144 2003-02-14 John Levon <levon@movementarian.org>
10147 * tabular.C: better method names
10149 2003-02-14 John Levon <levon@movementarian.org>
10151 * BufferView_pimpl.C:
10156 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
10157 it's a more accurate name. Remove some pointless uses.
10159 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10161 * text2.C (LyXText): change order of initilizers to shut off
10164 2003-02-14 John Levon <levon@movementarian.org>
10166 * buffer.C: use ParIterator for getParFromID()
10170 * paragraph_pimpl.h:
10171 * paragraph_pimpl.C: remove unused getParFromID()
10173 2003-02-14 John Levon <levon@movementarian.org>
10175 * buffer.C: remove some very old #if 0'd parse code
10177 2003-02-13 John Levon <levon@movementarian.org>
10181 * text2.C: move hfillExpansion(), numberOfSeparators(),
10182 rowLast(), rowLastPrintable(), numberofHfills(),
10183 numberOfLabelHfills() ...
10186 * lyxrow.C: ... to member functions here.
10191 * text.C: remove LyXText::beginningOfMainBody(), and call
10192 p->beginningOfMainBody() directly. Move the check for
10193 LABEL_MANUAL into the latter.
10200 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
10206 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
10207 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
10209 2003-02-13 John Levon <levon@movementarian.org>
10211 * CutAndPaste.C: remove debug
10213 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10215 * paragraph.C (asString): remove two unused variables
10217 * lyxtextclass.C (readTitleType):
10219 (LyXTextClass): handle new members titletype_ and titlename_
10221 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
10223 2003-02-09 John Levon <levon@movementarian.org>
10226 * buffer.C: replace hand-coded list with a map for the dep clean
10228 2003-02-08 John Levon <levon@movementarian.org>
10230 * LaTeX.C: consolidate code into showRunMessage() helper
10232 2003-02-08 John Levon <levon@movementarian.org>
10237 * BufferView.C: change setSelectionOverString() to setSelectionRange()
10238 and pass the size in explicitly
10240 * BufferView_pimpl.h:
10241 * BufferView_pimpl.C:
10243 * BufferView.C: add getCurrentChange()
10245 * BufferView_pimpl.h:
10246 * BufferView_pimpl.C: handle change lfuns
10248 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
10249 for changes. Mark pasted paragraphs as new.
10251 * support/lyxtime.h:
10252 * support/lyxtime.C:
10253 * DepTable.C: abstract time_t as lyx::time_type
10256 * LColor.C: add colours for new text, deleted text, changebars
10258 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
10259 package use "usenames" option.
10263 * LyXAction.C: add change lfuns
10267 * author.C: author handling
10270 * buffer.C: add a per-buffer author list, with first entry as
10271 current author. Handle new .lyx tokens for change tracking. Output
10272 author list to .lyx file. Output dvipost stuff to .tex preamble.
10273 Bump lyx format to 222.
10276 * bufferlist.C: add setCurrentAuthor() to reset current author details
10280 * bufferparams.C: add param for tracking
10282 * bufferview_funcs.C: output change info in minibuffer
10286 * changes.C: add change-tracking structure
10289 * debug.C: add CHANGES debug flag
10292 * lyxfind.C: add code for finding the next change piece
10295 * lyxrc.C: add user_name and user_email
10298 * lyxrow.C: add a metric for the top of the text line
10301 * text.C: implement accept/rejectChange()
10304 * text.C: paint changebars. Paint new/deleted text in the chosen
10305 colours. Strike through deleted text.
10309 * paragraph_pimpl.h:
10310 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
10311 in the current change to the insert functions. Rework erase to
10312 mark text as deleted, adding an eraseIntern() and a range-based
10313 erase(). Implement per-paragraph change lookup and
10316 * paragraph_funcs.C: Fixup paste for change tracking.
10318 * tabular.C: mark added row/columns as new.
10320 * text.C: fix rowLast() to never return -1. Don't allow
10321 spellchecking of deleted text. Track transpose changes. Don't
10322 allow paragraph break or merge where appropriate.
10324 * text2.C: leave cursor at end of selection after a cut.
10326 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10328 * text.C (getLengthMarkerHeight):
10329 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
10330 visible on screen too.
10332 2003-02-07 John Levon <levon@movementarian.org>
10334 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
10336 2003-02-05 Angus Leeming <leeming@lyx.org>
10338 * lyxserver.C (read_ready): revert my patch of 11 September last year
10339 as it sends PC cpu through the roof. Presumably this means that
10340 the lyxserver will no longer run on an Alpha...
10342 2003-01-30 Angus Leeming <leeming@lyx.org>
10344 * factory.C (createInset): create an InsetCommandParam of type "index"
10345 and use it to 'do the right thing'.
10347 * text2.C (getStringToIndex): ensure that cursor position is always
10348 reset to the reset_cursor position.
10350 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10352 * lyxfunc.C (getStatus): "buffer-export custom" should never be
10355 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
10359 * lyxfunc.C: Output messages with identical spelling, punctuation,
10362 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
10364 * MenuBackend.C (expandFormats): List only viewable export formats
10367 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
10370 * lyxfunc.C (getStatus): Make sure that formats other than
10371 "fax" can also be disabled
10373 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10375 * text3.C (dispatch): put the lfuns that insert insets in 3
10376 groups, and call doInsertInset with appropriate arguments.
10377 (doInsertInset): new function, that creates an inset and inserts
10378 it according to some boolean parameters.
10380 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
10382 * buffer.C (readFile): remember to pass on 'par' when calling
10383 readFile recursively.
10385 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10387 * MenuBackend.C (expandFormats): add "..." to import formats.
10389 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
10391 * paragraph.C (asString): Remove XForms RTL hacks.
10393 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
10394 * buffer.C: fix typo
10396 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
10398 * Makefile.am (LIBS): delete var
10399 (lyx_LDADD): add @LIBS@ here instead.
10401 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
10403 * Clarify the meaning of "wheel mouse jump"
10405 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10407 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
10410 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10412 * importer.C (Loaders): do not preallocate 3 elements in the
10413 vector, since one ends up with 6 elements otherwise
10415 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10417 * DepTable.C (write): write the file name as last element of the
10418 .dep file (because it may contain spaces)
10419 (read): read info in the right order
10421 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10423 * paragraph_pimpl.C (simpleTeXBlanks):
10424 (simpleTeXSpecialChars):
10425 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
10427 * tabular.C (latex): add some missing case statements. Reindent.
10429 * MenuBackend.C (expandToc): remove unused variable.
10431 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
10440 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
10443 2003-01-05 John Levon <levon@movementarian.org>
10446 * BufferView.C: add getEncoding()
10449 * kbsequence.C: do not store last keypress
10452 * lyxfunc.C: store last keypress here instead. Pass encoding
10455 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10457 * lyx_main.C (init): remove annoying error message when following
10458 symbolic links (bug #780)
10460 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10462 * text.C (insertChar):
10463 * lyxrc.C (getDescription): remove extra spaces
10465 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10467 * lyxrc.C (getDescription): remove extra spaces
10469 2002-12-20 John Levon <levon@movementarian.org>
10471 * text3.C: hack fix for page up/down across tall rows
10473 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10475 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10478 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10480 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10481 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10482 thesaurus is not compiled in
10484 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
10486 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
10488 2002-12-16 Angus Leeming <leeming@lyx.org>
10491 * lyx_main.C (init): remove override_x_deadkeys stuff.
10493 2002-12-12 John Levon <levon@movementarian.org>
10495 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10496 insert. Only remove shift modifier under strict
10499 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
10501 * MenuBackend.C (expandToc): fix crash.
10503 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
10505 * MenuBackend.C (expandToc): gettext on float names.
10507 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
10509 * lyxlength.[Ch]: set default unit to UNIT_NONE,
10510 implement bool empty() [bug 490]
10512 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
10514 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10516 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
10518 * several files: ws changes
10520 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
10522 * text2.C (setCounter): clean up a bit, use boost.format.
10523 (updateCounters): initialize par upon declaration.
10525 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10526 if the layout exists. We do not just store the layout any more.
10527 (SwitchLayoutsBetweenClasses): use boost.format
10529 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10531 * converter.C (convert): if from and to files are the same, use a
10532 temporary files as intermediary
10534 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10537 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10539 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
10541 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10543 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
10545 * tabular.C (asciiPrintCell): use string(size, char) instead of
10548 * sgml.C (openTag): fix order of arguments to string constructor
10551 * lyxfunc.C (dispatch): use boost.format
10553 * lots of files: change "c" -> 'c'
10555 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
10557 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10559 2002-11-25 Angus Leeming <leeming@lyx.org>
10561 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10563 * lyx_main.C (init): compile fix.
10565 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
10567 * lyx_cb.C (start): boost.formatify
10568 do not include <iostream>
10570 * lengthcommon.C: ws only
10572 * boost-inst.C,BoostFormat.h: add more explict instantations
10574 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
10576 * lots of files: handle USE_BOOST_FORMAT
10578 2002-11-21 John Levon <levon@movementarian.org>
10580 * pspell.C: fix compile
10582 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10584 * lyxfunc.C (dispatch): use boost::format
10588 * lyxfont.C (stateText): use boost::format
10590 * lyx_main.C (LyX): use boost::format
10592 (queryUserLyXDir): ditto
10593 (readRcFile): ditto
10595 (typedef boost::function): use the recommened syntax.
10597 * importer.C (Import): use boost::format
10599 * debug.C (showLevel): use boost::format
10601 * converter.C (view): use boost::format
10606 * bufferview_funcs.C (currentState): use boost::format
10608 * bufferlist.C (emergencyWrite): use boost::format
10610 * buffer.C (readLyXformat2): use boost::format
10611 (parseSingleLyXformat2Token): ditto
10613 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10615 * LaTeX.C (run): use boost::format
10617 * Chktex.C (scanLogFile): use boost::format
10619 * BufferView_pimpl.C (savePosition): use boost::format
10620 (restorePosition): ditto
10621 (MenuInsertLyXFile): ditto
10623 * BoostFormat.h: help file for explicit instation.
10625 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
10627 * tabular.C (latex): Support for block alignment in fixed width
10630 2002-11-17 John Levon <levon@movementarian.org>
10632 * BufferView_pimpl.C:
10634 * lyxfunc.C: split filedialog into open/save
10636 2002-11-08 Juergen Vigna <jug@sad.it>
10638 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10639 by my last patch (hopefully).
10641 2002-11-08 John Levon <levon@movementarian.org>
10650 * toc.C: ParConstIterator, and use it (from Lars)
10652 2002-11-07 Ben Stanley <bds02@uow.edu.au>
10654 * lyxtextclass.[Ch]: revise and add doxygen comments
10656 2002-11-07 John Levon <levon@movementarian.org>
10658 * text.C: fix progress value for spellchecker
10660 * toc.C: fix navigate menu for insetwrap inside minipage
10662 * paragraph_funcs.C: added FIXME for suspect code
10664 2002-11-07 John Levon <levon@movementarian.org>
10666 * BufferView_pimpl.C: fix redrawing of insets
10669 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10671 * text2.C (updateCounters): fix bug 668
10673 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
10675 * text3.C (dispatch): Do not make the buffer dirty when moving the
10678 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10680 * vc-backend.C: STRCONV
10681 (scanMaster): ditto
10683 * text2.C (setCounter): STRCONV
10685 * paragraph.C (asString): STRCONV
10687 * lyxlength.C (asString): STRCONV
10688 (asLatexString): ditto
10690 * lyxgluelength.C (asString): STRCONV
10691 (asLatexString): ditto
10693 * lyxfunc.C (dispatch): STRCONV
10696 * lyxfont.C (stateText): STRCONV
10698 * importer.C (Import): STRCONV
10700 * counters.C (labelItem): STRCONV
10701 (numberLabel): ditto
10702 (numberLabel): remove unused ostringstream o
10707 * bufferview_funcs.C (currentState): STRCONV
10709 * buffer.C (readFile): STRCONV
10710 (asciiParagraph): ditto
10711 (makeLaTeXFile): ditto
10713 * Spacing.C (writeEnvirBegin): STRCONV
10715 * LaTeXFeatures.C (getLanguages): STRCONV
10716 (getPackages): ditto
10718 (getBabelOptions): ditto
10719 (getTClassPreamble): ditto
10720 (getLyXSGMLEntities): ditto
10721 (getIncludedFiles): ditto
10725 (scanAuxFile): ditto
10728 * LString.h: add the STRCONV macros
10730 * BufferView_pimpl.C (savePosition): STRCONV
10731 (restorePosition): ditto
10732 (MenuInsertLyXFile): ditto
10734 * vc-backend.C (scanMaster): change from submatch[...] to
10737 * funcrequest.C: include config.h
10739 * factory.C: include config.h
10741 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10743 * box.C: include config.h
10745 * LaTeX.C (scanAuxFile): change from submatch[...] to
10749 2002-10-25 Angus Leeming <leeming@lyx.org>
10751 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10753 * ispell.[Ch] (setError): new method.
10754 * ispell.C (c-tor): move out child process into new class LaunchIspell.
10755 Use setError() insetead of goto END.
10757 * lyx_cb.C (AutoSave): move out child process into new class
10760 2002-10-30 John Levon <levon@movementarian.org>
10762 * text3.C: make start appendix undoable
10764 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
10766 * lyxlength.C (inPixels): Fix returned value.
10768 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10771 2002-10-24 Angus Leeming <leeming@lyx.org>
10773 * lyxgluelength.h: no need to forward declare BufferParams
10774 or BufferView, so don't.
10776 2002-10-21 John Levon <levon@movementarian.org>
10778 * BufferView.C: menuUndo ->undo, redo
10780 * BufferView.h: document, remove dead, make some methods private
10782 * paragraph_funcs.h:
10783 * paragraph_funcs.C:
10784 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10789 * sgml.C: move sgml open/close tag into sgml.C
10791 * bufferview_funcs.h: unused prototype
10794 * lyxfunc.C: remove unused
10797 * text.C: remove unused
10799 2002-10-21 John Levon <levon@movementarian.org>
10803 * BufferView_pimpl.h:
10804 * BufferView_pimpl.C: fix mouse wheel handling based on
10805 patch from Darren Freeman
10807 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
10809 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10811 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
10813 * lyxlength.C (inPixels): Fix hanfling of negative length.
10814 Fix LyXLength::MU case.
10816 2002-10-16 John Levon <levon@movementarian.org>
10818 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10820 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10822 * converter.C (view): add support for $$i (file name) and $$p
10823 (file path) for the viewer command. If $$i is not specified, then
10824 it is appended to the command (for compatibility with old syntax)
10826 2002-10-14 Juergen Vigna <jug@sad.it>
10828 * undo_funcs.C (textHandleUndo): alter the order in which the
10829 new undopar is added to the LyXText, as we have to set first
10830 the right prev/next and then add it as otherwise the rebuild of
10831 LyXText is not correct. Also reset the cursor to the right paragraph,
10832 with this IMO we could remove the hack in "redoParagraphs()".
10834 2002-10-09 Angus Leeming <leeming@lyx.org>
10836 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10837 to turn off an optimisation if a new inset is to be inserted.
10839 2002-10-11 André Pönitz <poenitz@gmx.net>
10841 * lyxtext.h: make some functions public to allow access
10842 from inset/lyxtext for handling LFUN_PRIOR/NEXT
10844 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10846 * text3.C (dispatch): when changing layout, avoid an infinite loop
10849 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10851 * lyxrc.C (read): treat a viewer or converter command of "none" as
10854 * MenuBackend.C (expandFormats): for an update, also allow the
10855 formats that are not viewable
10857 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10858 script if it is newer than the lyxrc.defaults in user directory
10860 2002-10-07 André Pönitz <poenitz@gmx.net>
10862 * text.C: Vitaly Lipatov's small i18n fix
10864 2002-09-25 Angus Leeming <leeming@lyx.org>
10866 * ispell.h: doxygen fix.
10868 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
10870 * buffer.h (readFile): Add a new argument to the method, to allow
10871 reading of old-format templates.
10873 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
10875 * toc.C (getTocList): Get TOC from InsetWrap.
10877 2002-09-16 John Levon <levon@movementarian.org>
10879 * lyxfunc.C: check tabular for cut/copy too
10881 2002-09-12 John Levon <levon@movementarian.org>
10883 * LyXAction.C: tidy
10886 * factory.C: add header
10888 * paragraph_funcs.h:
10889 * paragraph_funcs.C: cleanup
10891 2002-09-11 John Levon <levon@movementarian.org>
10893 * PrinterParams.h: odd/even default to true
10895 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
10897 * PrinterParams.h: update printer parameters for new xforms dialog
10899 2002-09-11 Angus Leeming <leeming@lyx.org>
10901 * lyxserver.C (read_ready): re-write to make it more transparent
10902 and to make it work in coherent fashion under Tru64 Unix.
10904 2002-09-11 André Pönitz <poenitz@gmx.net>
10908 * text3.C: implement LFUN_WORDSEL
10910 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10912 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10913 make floatlist_ a boost::shared_ptr<FloatList>
10915 * lyxtextclass.C: include FloatList.h
10916 (LyXTextClass): initialize floatlist_
10917 (TextClassTags): add TC_NOFLOAT
10918 (Read): match "nofloat" to TC_NOFLOAT and use it.
10919 (readFloat): modify call to floatlist_
10923 * FloatList.[Ch] (FloatList): remove commented out float
10925 (erase): new function
10927 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10929 * MenuBackend.C (expandToc): fix crash when there is no document
10932 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
10934 * many files: Add insetwrap.
10936 2002-09-09 John Levon <levon@movementarian.org>
10938 * text2.C: remove confusing and awkward depth wraparound
10940 2002-09-09 John Levon <levon@movementarian.org>
10942 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10945 * buffer.C: remove getIncludeonlyList()
10948 * lyxfunc.C: remove headers
10950 2002-09-09 Juergen Vigna <jug@sad.it>
10952 * text.C (getColumnNearX): fix form Michael this is most
10953 probably a cut&paste bug.
10955 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
10957 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10959 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10960 references, ws changes.
10962 * text2.C (init): update counters after init
10963 (insertParagraph): no need to set counter on idividual paragraphs.
10964 (setCounter): access the counters object in the textclass object
10965 on in the buffer object.
10966 (updateCounters): ditto
10968 * lyxtextclass.C: include counters.h, add variable ctrs_ as
10969 shared_ptr<Counters> to avoid loading counters.h in all
10971 (LyXTextClass): initialize ctrs_
10972 (TextClassTags): add TC_COUNTER, and ...
10973 (Read): use it here.
10974 (CounterTags): new tags
10975 (readCounter): new function
10976 (counters): new funtion
10977 (defaultLayoutName): return a const reference
10979 * counters.C (Counters): remove contructor
10980 (newCounter): remove a couple of unneeded statements.
10981 (newCounter): simplify a bit.
10982 (numberLabel): some small formatting changes.
10984 * buffer.[Ch]: remove all traces of counters, move the Counters
10985 object to the LyXTextClass.
10987 2002-09-06 Alain Castera <castera@in2p3.fr>
10989 * tabular.C: uses \tabularnewline; uses >{...} construct from array
10990 package to set the horizontal alignment on fixed width columns.
10993 * lyx_sty.h: added tabularnewline macro def.
10995 * LaTeXFeatures.C: added NeedTabularnewline macro feature
10997 2002-09-06 John Levon <levon@movementarian.org>
10999 * LyXAction.C: tooltips for sub/superscript
11001 * MenuBackend.C: a bit more verbose
11003 * lyxfunc.C: tiny clean
11005 * undo_funcs.C: document undo_frozen
11007 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
11009 * counters.C (Counters): add missing algorithm counter.
11011 * text2.C (setCounter): lookup the counter with layouts latexname
11012 instead of by section number.
11013 (setCounter): use a hackish way to lookup the correct enum
11015 a float name->type change
11016 reset enum couners with counter name directly instead of depth value.
11018 * counters.C (Counters): remove the push_backs, change to use the
11019 float type not the float name.
11020 (labelItem): remove unused string, float name->type change
11022 * counters.h: don't include vector, loose the enums and sects vectors
11024 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
11026 * lyxtextclass.C (TextClassTags): add TC_FLOAT
11027 (Read): add float->TC_FLOAT to textclassTags
11028 (Read): and handle it in the switch
11029 (readFloat): new function
11031 * FloatList.C (FloatList): comment out the hardcoded float
11034 * lyxlayout.h: ws change.
11036 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
11038 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
11040 2002-09-03 Angus Leeming <leeming@lyx.org>
11042 * BufferView_pimpl.h: qualified name is not allowed in member
11043 declaration: WorkArea & Pimpl::workarea() const;
11045 * factory.C: added using std::endl directive.
11047 * text3.C: added using std::find and std::vector directives.
11049 2002-08-29 André Pönitz <poenitz@gmx.net>
11052 * text2.C: remove unused member number_of_rows
11055 * BufferView2.C: remove file, move contents to...
11056 * BufferView.C: ... here
11058 * BufferView_pimpl.C:
11059 * factory.C: move more inset creation to factory
11061 * vspace.C: avoid direct usage of LyXText, ws changes
11064 don't provide direct access to WorkArea, use two simple
11065 acessors haveSelction() and workHeight() instead
11068 2002-08-29 John Levon <levon@movementarian.org>
11070 * BufferView_pimpl.C (dispatch): do not continue when
11073 2002-08-28 André Pönitz <poenitz@gmx.net>
11075 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
11078 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
11080 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
11082 * buffer.C: increment LYX_FORMAT to 221
11084 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
11085 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
11087 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
11089 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
11091 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11093 * factory.C (createInset): use LyXTextClass::floats
11095 * MenuBackend.C (expandFloatListInsert):
11096 (expandFloatInsert):
11099 * text2.C (setCounter):
11101 * LaTeXFeatures.C (useFloat):
11102 (getFloatDefinitions):
11104 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
11106 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
11107 floatlist_, with accessor floats().
11109 * FloatList.h: remove global FloatList
11111 2002-08-26 André Pönitz <poenitz@gmx.net>
11113 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
11117 * BufferView_pimpl.C:
11118 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
11120 2002-08-25 John Levon <levon@movementarian.org>
11122 * LyXAction.C: fix margin note description
11124 2002-08-24 John Levon <levon@movementarian.org>
11128 * bufferview_funcs.C:
11130 * undo_funcs.C: cleanups
11132 * lyxfunc.C: disable CUT/COPY when no selection
11134 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
11136 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
11137 in "enum UNIT"; e.g. PTW for Percent of TextWidth
11139 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
11140 Add backward compatibility to "mono", "gray" and "no".
11142 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
11144 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
11145 (and file_format >= 200).
11147 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11149 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
11151 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11153 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
11155 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
11157 * BufferView_pimpl.C:
11164 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
11165 inset and code to make it work with the paragraph code. The inset
11166 can be anywhere in the paragraph, but will only do the expected
11167 thing in LaTeX if the layout file contains the parameter line
11169 (or more generally, a nonzero value) for that layout.
11171 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
11173 * paragraph.h: remove the declaration of undefined counters class
11176 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
11178 * text2.C (setCounter): fixed enumeration mis-count as reported by
11179 Dr. Richard Hawkins.
11181 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11183 * paragraph_funcs.h: remove some unneeded includes
11185 * text.C (backspace): pasteParagraph now in global scipe
11187 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
11188 (pasteSelection): ditto
11190 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
11191 * paragraph_funcs.C (pasteParagraph): ... here
11193 2002-08-20 André Pönitz <poenitz@gmx.net>
11195 * commandtags.h: new LFUNs for swapping/copying table row/colums
11198 * lyxfunc.C: support for new lfuns
11200 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
11203 * buffer.[Ch]: remove NO_COMPABILITY stuff
11205 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
11207 * boost.C (throw_exception): new file, with helper function for
11208 boost compiled without exceptions.
11213 * ParameterStruct.h:
11214 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
11216 * bufferlist.C (emergencyWriteAll): use boost bind
11218 * BufferView_pimpl.C (moveCursorUpdate): remove inline
11220 * text.C: include paragraph_funcs.h
11221 (breakParagraph): breakParagraph is now in global scope
11223 * paragraph_funcs.[Ch]: new files
11225 * paragraph.C (breakParagraph,breakParagraphConservative): move to
11228 * buffer.C: include paragraph_funcs.h
11229 (insertStringAsLines): breakParagraph is now in global scope
11231 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
11234 * CutAndPaste.C: include paragraph_funcs.h
11235 (cutSelection): breakParagraphConservative is now in global scope
11236 (pasteSelection): ditto
11238 * buffer.h: declare oprator== and operator!= for
11239 Buffer::inset_iterator
11241 * bufferlist.C (emergencyWrite): don't use fmt(...)
11243 * text3.C: add using std::endl
11245 * BufferView.C (moveCursorUpdate): remove default arg
11247 2002-08-20 André Pönitz <poenitz@gmx.net>
11249 * buffer.[Ch]: move inline functions to .C
11252 * BufferView_pimpl.C:
11254 * buffer.[Ch]: use improved inset_iterator
11257 * paragraph.[Ch]: write one paragraph at a time
11259 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
11261 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
11262 style if style is not specified.
11264 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11266 * text2.C (setCounter): when searching for right label for a
11267 caption, make sure to recurse to parent insets (so that a caption
11268 in a minipage in a figure float works) (bug #568)
11270 2002-08-20 André Pönitz <poenitz@gmx.net>
11272 * text3.C: new file for LyXText::dispatch() and helpers
11274 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
11276 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
11278 2002-08-19 André Pönitz <poenitz@gmx.net>
11281 * text.C: new LyXText::dispatch()
11283 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
11285 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
11287 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
11289 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
11292 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11294 * Makefile.am: use $(variables) instead of @substitutions@
11296 2002-08-15 André Pönitz <poenitz@gmx.net>
11299 * BufferView_pimpl.C: streamlining mathed <-> outer world
11303 * LyXAction.C: remove unused LFUN_MATH
11305 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
11307 * paragraph.[Ch]: add some NO_NEXT ifdefs.
11309 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
11311 * paragraph.C (Paragraph): reformat a bit
11312 (cutIntoMinibuffer): use builtin InsetList function instad of
11316 * buffer.C: include boost/bind.hpp, add using std::for_each
11317 (writeFileAscii): use ParagraphList iterators
11318 (validate): use for_each for validate traversal of paragraphs
11319 (getBibkeyList): use ParagraphList iterators
11320 (resizeInsets): use for_each to resizeInsetsLyXText for all
11322 (getParFromID): use ParagraphList iterators
11324 * BufferView2.C (lockInset): use paragraph list and iterators
11326 2002-08-14 John Levon <levon@movementarian.org>
11328 * lyxserver.C: remove spurious xforms include
11330 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11332 * lyxfunc.C (getStatus): disable math-extern outside of math mode
11334 2002-08-13 André Pönitz <poenitz@gmx.net>
11337 * lyxfunc.C: further cleaning
11339 2002-08-13 André Pönitz <poenitz@gmx.net>
11341 * funcrequest.h: new constructor
11343 * funcrequest.C: move stuff here from .h
11346 * BufferView_pimpl.C:
11349 * lyxfunc.C: subsequent changes
11351 * lyxfunc.h: new view() member function
11353 * lyxfunc.C: subsequent changes
11355 2002-08-13 Angus Leeming <leeming@lyx.org>
11358 * BufferView_pimpl.C:
11366 changes due to the changed LyXView interface that now returns references
11367 to member variables not pointers.
11369 2002-08-13 Angus Leeming <leeming@lyx.org>
11371 * WordLangTuple (word, lang_code): return references to strings,
11376 * lyxtext.h: forward-declare WordLangTuple.
11381 * text.C: #include "WordLangTuple.h".
11384 * text.C: (selectNextWordToSpellcheck): constify return type.
11386 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
11392 * paragraph_pimpl.h:
11395 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
11396 suggested by Angus.
11397 Made updateCounter always count from start of buffer, and removed
11398 second argument (par).
11399 Reverted floats number display to '#'. Perhaps I'll try again when the
11400 code base is sanitized a bit.
11402 2002-08-12 Angus Leeming <leeming@lyx.org>
11404 * buffer.[Ch] (getLabelList): constify.
11406 2002-08-07 André Pönitz <poenitz@gmx.net>
11408 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
11410 * funcrequest.h: extension to keep mouse (x,y) position
11412 2002-08-12 Juergen Vigna <jug@sad.it>
11414 * BufferView2.C (insertErrors): forbid undo when inserting error
11417 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
11419 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
11421 * ParagraphList.[Ch]: new files
11423 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
11425 * BufferView2.C (lockInset): ParagraphList changes
11428 * bufferlist.C: ditto
11432 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11434 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
11435 unused class variable counter_,
11437 * paragraph.[Ch] (getFirstCounter): delete unused function
11439 * counters.C: include LAssert.h
11440 (reset): add a new function with no arg, change other version to
11441 not have def. arg and to not allow empty arg.
11443 * text2.C (setCounter): remove empty arg from call to Counters::reset
11445 2002-08-11 John Levon <levon@movementarian.org>
11447 * Makefile.am: add WordLangTuple.h
11449 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11451 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
11452 lyxfunc.C lyxlex_pimpl.C: ws changes only.
11454 * insets/insettext.C: InsetList changes
11456 * graphics/GraphicsSupport.C (operator()): InsetList changes
11458 * toc.C (getTocList): InsetList changes
11460 * paragraph_pimpl.[Ch]: InsetList changes
11462 * paragraph.[Ch]: InsetList changes
11464 * buffer.C (inset_iterator): InsetList changes
11465 (setParagraph): ditto
11466 * buffer.h (inset_iterator): ditto
11467 * iterators.C (operator++): ditto
11468 * iterators.h: ditto
11470 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11472 * InsetList.[Ch]: new files, most InsetList handling moved out of
11475 * BufferView2.C (removeAutoInsets): InsetList changes
11477 (ChangeInsets): ditto
11479 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
11481 * paragraph_pimpl.h (empty): new function
11483 * paragraph.[Ch] (empty): new function
11485 * other files: use the new Paragraph::empty function
11487 2002-08-09 John Levon <levon@movementarian.org>
11489 * lyxtext.h: remove unused refresh_height
11491 2002-08-09 John Levon <levon@movementarian.org>
11498 * paragraph.C: move sgml char escaping out of paragraph
11501 * paragraph.C: remove id setter
11505 * paragraph_pimpl.C: remove dead tex_code_break_column
11507 * bufferview_funcs.C: small cleanup
11509 * lyxfunc.C: remove dead proto
11511 * lyxtext.h: make some stuff private. Remove some dead stuff.
11513 * lyxgluelength.C: make as[LyX]String() readable
11515 2002-08-08 John Levon <levon@movementarian.org>
11520 * ToolbarDefaults.C:
11523 * toc.C: lyxaction cleanup
11525 2002-08-08 John Levon <levon@movementarian.org>
11527 * BufferView2.C: small cleanup
11530 * lyxfind.C: move unnecessary header into the .C
11532 2002-08-08 John Levon <levon@movementarian.org>
11534 * funcrequest.h: just tedious nonsense
11537 * lyx_main.C: cleanups
11540 * vspace.C: remove dead header lyx_main.h
11542 2002-08-07 Angus Leeming <leeming@lyx.org>
11545 * paragraph_pimpl.h:
11546 Forward declare class Counters in paragraph.h by moving the ctrs member
11547 variable into Paragraph::Pimpl.
11548 (counters): new method, returning a reference to pimpl_->ctrs.
11550 * text2.C: ensuing changes.
11552 2002-08-07 John Levon <levon@movementarian.org>
11554 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11556 * BufferView_pimpl.C: announce X selection on double/triple
11559 * lyx_main.C: use correct bool in batch dispatch
11561 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11563 2002-08-07 André Pönitz <poenitz@gmx.net>
11565 * funcrequest.h: new class to wrap a kb_action and its argument
11568 * BufferView_pimpl[Ch]:
11572 * lyxrc.C: subsequent changes
11575 2002-08-07 John Levon <levon@movementarian.org>
11577 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11578 document options change.
11580 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11585 * makefile.am: move counters functionality over from
11586 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11588 2002-08-06 John Levon <levon@movementarian.org>
11590 * WordLangTuple.h: new file for word + language code tuple
11601 * BufferView2.C: use WordLangTuple
11604 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11606 2002-08-06 John Levon <levon@movementarian.org>
11608 * lyx_main.C: fix cmdline batch handling
11610 2002-08-06 André Pönitz <poenitz@gmx.net>
11612 * lyxrc.C: set default for show_banner to true
11614 2002-08-06 John Levon <levon@movementarian.org>
11616 * pspell.C: fix a crash, and allow new aspell to work
11618 2002-08-06 John Levon <levon@movementarian.org>
11621 * kbmap.C: small cleanup
11624 * vspace.C: add const
11626 2002-08-05 John Levon <levon@movementarian.org>
11628 * LyXAction.C: back to tabular-insert
11630 2002-08-04 John Levon <levon@movementarian.org>
11633 * BufferView.C: cosmetic change
11635 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11645 * BufferView2.C: purge all "Lyx" not "LyX" strings
11648 * lyxcursor.C: attempt to add some documentation
11653 * ToolbarDefaults.C:
11654 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11655 merge with LFUN_TABULAR_INSERT
11662 * pspell.C: split up i/pspell implementations into separate
11663 files, many cleanups
11665 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11667 * text2.C: some cleanup
11669 * lyxfunc.C: don't check for isp_command == "none" any more, it
11670 didn't make any sense
11672 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11677 * makefile.am: move counters functionality over
11678 from text2.C/paragraph.[Ch] to counters.[Ch], and
11680 2002-08-02 John Levon <levon@movementarian.org>
11682 * buffer.C: s/lyxconvert/lyx2lyx/
11684 2002-08-02 Angus Leeming <leeming@lyx.org>
11686 * lyxlex.C: revert John's change as it breaks reading of the user
11689 2002-08-02 Angus Leeming <leeming@lyx.org>
11691 * importer.C (Import):
11692 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11693 changes due to LyXView::view() now returning a boost::shared_ptr.
11695 2002-08-02 John Levon <levon@movementarian.org>
11697 * lyxlex.C: small cleanup
11699 2002-08-02 John Levon <levon@movementarian.org>
11701 * text2.C (status): small cleanup, no logic change
11703 2002-08-01 John Levon <levon@movementarian.org>
11706 * buffer.C (writeFile): don't output alerts, caller
11710 * lyx_cb.C: from above
11712 * lyxfunc.C: allow to open non-existent files
11714 2002-07-31 John Levon <levon@movementarian.org>
11716 * lyxserver.C: don't let incidental errors get
11719 2002-07-30 John Levon <levon@movementarian.org>
11721 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11723 2002-07-30 John Levon <levon@movementarian.org>
11726 * lyxserver.C: remove I/O callback too
11728 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11730 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11733 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
11735 * many files: strip,frontStrip -> trim,ltrim,rtrim
11737 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
11739 * PrinterParams.h: remove extern containsOnly, and include
11740 support/lstrings.h instead.
11742 * LaTeX.C (scanAuxFile): modify because of strip changes
11744 * buffer.C (makeLaTeXFile): ditto
11745 * bufferparams.C (writeFile): ditt
11746 * lyxfont.C (stateText): ditto
11747 * lyxserver.C (read_ready): ditto
11748 * vc-backend.C (scanMaster): ditto
11750 * BufferView_pimpl.h: ws changes
11752 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11754 2002-07-26 André Pönitz <poenitz@gmx.net>
11756 * kb_sequence.C: remove unnedred usings
11758 2002-07-26 Juergen Vigna <jug@sad.it>
11760 * lyxfind.C (LyXReplace): we have to check better if the returned
11761 text is not of theLockingInset()->getLockingInset().
11763 2002-07-25 Juergen Vigna <jug@sad.it>
11765 * lyxfind.C (LyXReplace): don't replace if we don't get the
11768 * undo_funcs.C (createUndo): remove debugging code.
11770 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
11772 * buffer.C (parseSingleLyXformat2Token): Use default placement
11773 when reading old floats.
11775 * FloatList.C (FloatList): Change the default placement of figure
11776 and tables to "tbp".
11778 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
11780 * MenuBackend.C: using std::max
11782 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11784 * MenuBackend.C (expandToc):
11785 (expandToc2): code moved from xforms menu frontend. It is now
11786 generic and TOCs are transparent to menu frontends.
11788 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11790 * toc.C (getTocList): protect against buf=0
11792 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11793 Menu as first parameter. Now, this calls itself recursively to
11794 expand a whole tree (this will be useful for TOC handling)
11795 (expandFloatInsert): remove 'wide' version of floats
11797 * MenuBackend.h (submenuname): returns the name of the submenu.
11798 (submenu): returns the submenu itself, provided it has been
11799 created by MenuBackend::expand
11801 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11803 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11804 insets which have noFontChange == true. (bug #172)
11806 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11808 * BufferView_pimpl.C: add connection objects and use them...
11811 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11813 * MenuBackend.C (expandLastfiles):
11816 (expandFloatListInsert):
11817 (expandFloatInsert):
11818 (expand): split expand in parts
11820 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11822 * lyx_gui.C: use lyx_gui::exit()
11824 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11826 * LyXAction.C: show the failing pseudo action
11828 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
11830 * buffer.C (readFile): Run the lyxconvert script in order to read
11833 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11837 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11839 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11843 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11845 2002-07-22 Herbert Voss <voss@lyx.org>
11848 * lyxlength.[Ch]: add support for the vertical lengths
11850 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
11852 * toc.[Ch]: std:: fixes
11854 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11856 * lyxrc.C: do not include lyx_main.h
11858 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11864 * BufferView2.C: include "lyxlex.h"
11867 * bufferparams.h: do not #include "lyxlex.h"
11869 * lyxtextclasslist.C (Add): remove method
11870 (classlist): renamed to classlist_
11872 * paragraph_pimpl.C:
11876 * bufferview_funcs.C:
11881 * toc.C (getTocList): use BufferParams::getLyXTextClass
11883 * toc.C (getTocList): use InsetFloat::addToToc
11885 * toc.[Ch]: new files, containing helper functions to handle table
11888 * lyxfunc.C (dispatch): no need to remove spaces around command
11890 (getStatus): handle LFUN_SEQUENCE by returning the status of the
11891 first command of the sequence; it is not very clever, but I do not
11892 have a better idea, actually
11894 * LyXAction.C (LookupFunc): make sure to remove space at the
11895 beginning and end of the command
11897 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11899 * MenuBackend.C (getMenubar): new method: return the menubar of
11901 (read): treat differently reading of menu and menubar (in
11902 particular, the menubar has no name now)
11903 (Menu::menubar): remove
11905 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11908 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11910 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11911 a bibitem inset in a RTL paragraph.
11913 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
11915 * paragraph_pimpl.C: constify
11917 * BufferView_pimpl.C:
11919 * lyxfunc.C: fix dispatch in a nicer way
11921 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11923 * lyxfunc.C (dispatch):
11924 * BufferView_pimpl.C:
11925 * BufferView_pimpl.h:
11927 * BufferView.h: rename Dispatch() to dispatch()
11929 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11931 * lyxlayout.C (Read): honor DependsOn tag
11933 * lyxlayout.[Ch] (depends_on): new method
11935 * version.C.in: update lyx_docversion
11937 * LaTeXFeatures.C (getMacros): only define \LyX when needed
11939 * paragraph.C (validate): remove from here...
11940 * paragraph_pimpl.C (validate): ... and move here
11941 (isTextAt): make it const
11943 * buffer.C (getLists): ws cleanup
11945 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11947 * language.C (read): Use iso8859-1 encoding in latex_lang
11948 (this prevents LyX from crashing when using iso10646-1 encoding).
11950 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11952 * text2.C (toggleInset): if cursor is inside an inset, close the
11953 inset and leave cursor _after_ it
11955 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11957 * lyxfunc.C: move minibuffer completion handling out of here
11959 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11961 * BufferView_pimpl.C:
11962 * LaTeX.C: fix dispatch calls
11964 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
11966 * text.C (drawChars): Fix Arabic text rendering.
11968 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
11972 * lyxfunc.C: remove message-push/pop
11976 * lyxfunc.C: rationalise some code by removing verboseDispatch
11977 in favour of a bool argument to dispatch()
11979 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11981 * lyx_main.C (init): make sure to read symlinks as absolute paths
11983 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11986 * lyxfunc.C: no need for commandshortcut to be a member
11988 2002-07-15 André Pönitz <poenitz@gmx.net>
11990 * converter.C: add support for $$s (scripts from lib/scripts dir)
11991 * lyx_main.C: white space
11993 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11997 * lyxrc.C: remove second exit confirmation
11999 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
12004 * BufferView_pimpl.h:
12005 * BufferView_pimpl.C:
12006 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
12008 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12010 * MenuBackend.C (expand): add numeric shortcuts to document menu
12012 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
12014 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12016 * lyxfont.C (setLyXFamily):
12023 * buffer.C (asciiParagraph): use ascii_lowercase
12025 2002-07-15 Mike Fabian <mfabian@suse.de>
12027 * lyxlex_pimpl.C (search_kw):
12028 * lyxlex.C (getLongString):
12029 * converter.h (operator<):
12030 * converter.C (operator<):
12031 * buffer.C (parseSingleLyXformat2Token):
12033 * ToolbarDefaults.C (read):
12034 * MenuBackend.C (checkShortcuts):
12036 * LColor.C (getFromGUIName):
12037 (getFromLyXName): use the compare_ascii_no_case instead of
12038 compare_no_case, because in turkish, 'i' is not the lowercase
12039 version of 'I', and thus turkish locale breaks parsing of tags.
12041 2002-07-16 Angus Leeming <leeming@lyx.org>
12043 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
12044 now takes a Buffer const & argument.
12046 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
12048 * BufferView.C (resize): check there's a buffer to resize
12050 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
12052 * lyxfunc.C: remove dead code
12055 * lyxserver.C: use lyx_guii::set_read_callback
12057 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
12059 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
12060 an inset in a RTL paragraph.
12062 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
12064 * lyxfunc.C: repaint after a font size update
12066 2002-07-15 André Pönitz <poenitz@gmx.net>
12068 * lyxlength.C: inBP should be able to return negative values
12070 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
12072 * lyxfunc.C: use lyx_gui::update_fonts()
12074 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
12076 * lyxfunc.C: use lyx_gui::update_color()
12078 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
12084 * lyxrc.C: remove file->new asks for name option, and let
12085 buffer-new take an argument
12087 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
12089 * BufferView_pimpl.C: remove unneeded extra repaint()
12091 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
12093 * LyXAction.C: allow command-sequence with NoBuffer
12095 * lyxfunc.C: don't insist on trailing ';' for command-sequence
12097 2002-07-10 Angus Leeming <leeming@lyx.org>
12099 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
12101 2002-07-09 Angus Leeming <leeming@lyx.org>
12103 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
12105 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
12107 * lengthcommon.h: whitespace
12109 * lyxfunc.C: update scrollbar after goto paragraph
12111 * lyxtext.h: factor out page break drawing, and fix it so
12112 page break/added space paints as selected nicely
12114 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
12116 * BufferView_pimpl.C: add FIXMEs, clean up a little
12118 2002-07-09 André Pönitz <poenitz@gmx.net>
12120 * lyxfont.[Ch]: support for wasy symbols
12122 2002-07-08 André Pönitz <poenitz@gmx.net>
12124 * BufferView_pimpl.C: apply John's patch for #93.
12126 2002-07-05 Angus Leeming <leeming@lyx.org>
12128 * BufferView_pimpl.C (buffer): generate previews if desired.
12130 * LColor.h: add "preview" to the color enum.
12132 * LColor.C (LColor): add a corresponding entry to the items array.
12134 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
12137 2002-07-05 Angus Leeming <leeming@lyx.org>
12139 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
12140 The body of the code is now in the method that is passed an ostream &
12141 rather than a file name.
12142 Pass an additional only_preamble parameter, useful for the forthcoming
12145 2002-07-03 André Pönitz <poenitz@gmx.net>
12147 * lyxfunc.C: simplify getStatus() a bit for math stuff
12149 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12151 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
12153 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12155 * text.C (changeRegionCase): do not change case of all the
12156 document when region ends at paragraph end (bug #461)
12158 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12160 * paragraph.C (startTeXParParams):
12161 (endTeXParParams): add \protect when necessary
12163 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12165 * BufferView_pimpl.C (workAreaExpose): remove warning
12167 2002-06-27 Angus Leeming <leeming@lyx.org>
12169 * Makefile.am: add lyxlayout_ptr_fwd.h.
12171 2002-06-26 André Pönitz <poenitz@gmx.net>
12173 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
12175 2002-06-25 Angus Leeming <leeming@lyx.org>
12177 * lyxfunc.C (dispatch): Comment out the call to
12178 grfx::GCache::changeDisplay. The method no longer exists now that the
12179 pixmap generation part of the graphics loader has been moved into
12182 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12184 * text2.C: layout as layout
12186 * text.C: layout as layout
12188 * tabular.C (OldFormatRead): layout as layout
12190 * paragraph_pimpl.C (TeXDeeper): layout as layout
12191 (realizeFont): layout as layout
12193 * paragraph.C (writeFile): layout as layout
12194 (validate): layout as layout
12195 (getFont): layout as layout
12196 (getLabelFont): layout as layout
12197 (getLayoutFont): layout as layout
12198 (breakParagraph): layout as layout
12199 (stripLeadingSpaces): layout as layout
12200 (getEndLabel): layout as layout
12201 (getMaxDepthAfter): layout as layout
12202 (applyLayout): layout as layout
12203 (TeXOnePar): layout as layout
12204 (simpleTeXOnePar): layout as layout
12205 (TeXEnvironment): layout as layout
12206 (layout): layout as layout
12207 (layout): layout as layout
12209 * lyxtextclass.C (compare_name): new functor to work with
12210 shared_ptr, layout as layout
12211 (Read): layout as layout
12212 (hasLayout): layout as layout
12213 (operator): layout as layout
12214 (delete_layout): layout as layout
12215 (defaultLayout): layout as layout
12217 * lyxlayout_ptr_fwd.h: new file
12219 * lyxlayout.C (Read): layout as layout
12221 * lyx_cb.C (MenuInsertLabel): layout as layout
12223 * bufferlist.C (newFile): layout as layout
12225 * buffer.C (readLyXformat2): layout as layout
12226 (parseSingleLyXformat2Token): layout as layout
12227 (insertStringAsLines): layout as layout
12228 (asciiParagraph): layout as layout
12229 (latexParagraphs): layout as layout
12230 (makeLinuxDocFile): layout as layout
12231 (simpleLinuxDocOnePar): layout as layout
12232 (makeDocBookFile): layout as layout
12233 (simpleDocBookOnePar): layout as layout
12234 (getLists): layout as layout
12236 * LaTeXFeatures.C (getTClassPreamble): layout as layout
12238 * CutAndPaste.C (cutSelection): layout as layout
12239 (pasteSelection): layout as layout
12240 (SwitchLayoutsBetweenClasses): layout as layout
12242 * BufferView_pimpl.C (Dispatch): layout as layout
12243 (smartQuote): layout as layout
12245 * BufferView2.C (unlockInset): layout as layout
12247 2002-06-24 André Pönitz <poenitz@gmx.net>
12249 * lyxfunc.C: fix #487
12251 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12255 * lyxfunc.C: remove display_shortcuts, show_banner
12257 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12259 * Buffer_pimpl.C: oops, update on resize
12261 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12268 * BufferView.C: use repaint()
12270 * BufferView_pimpl.h:
12271 * BufferView_pimpl.C: s/updateScreen()/repaint()/
12272 as it's a clearer description. Remove superfluous
12275 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12277 * text.C: fix bug 488. Not ideal, but getting
12278 getWord() to work properly for the insets that
12279 matter is more difficult ...
12281 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12283 * BufferView_pimpl.C:
12286 * lyxfunc.C: remove the six million index lyxfuncs to just
12287 one, and DTRT (bug 458)
12289 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12293 * BufferView_pimpl.h:
12294 * BufferView_pimpl.C: clean up resize() stuff,
12295 and unnecessary updateScreen()s
12297 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12301 * BufferView_pimpl.h:
12302 * BufferView_pimpl.C:
12305 * minibuffer.C: remove focus management of workarea,
12306 not needed. Use screen's greyOut()
12308 2002-06-17 Herbert Voss <voss@lyx.org>
12310 * converter.C: (convert) do not post a message, when converting
12311 fails, let the calling function decide what to do in this case
12313 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
12315 * lyxfunc.C: tidy up a little
12317 2002-06-16 <alstrup@diku.dk>
12319 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
12320 Got rid of FORMS_H_LOCATION include. Now we are
12323 2002-06-15 LyX Development team <lyx@rilke>
12325 * buffer.[Ch] (sgmlOpenTag):
12326 (sgmlCloseTag): Added support for avoiding pernicious mixed
12327 content. Return number of lines written.
12329 (makeLinuxDocFile):
12330 (makeDocBookFile): Fixed calls to sgml*Tag.
12331 Simple white space clean.
12333 (simpleDocBookOnePar): Simple white space clean.
12335 * tabular.[Ch] (docBook): Renamed to docbook and got another
12336 argument to related with the pernicious mixed content.
12338 (docbookRow): Fixed calls for docbook inset method.
12340 2002-06-15 Lyx Development team <larsbj@birdstep.com>
12342 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
12343 so it's X11 independent.
12347 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
12349 2002-06-15 Lyx Development team <lyx@electronia>
12351 * intl.h: Renamed getTrans to getTransManager.
12353 2002-06-14 Angus Leeming <leeming@lyx.org>
12355 * Makefile.am: nuke forgotten stl_string_fwd.h.
12357 2002-06-12 Angus Leeming <leeming@lyx.org>
12359 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
12361 2002-06-13 Angus Leeming <leeming@lyx.org>
12364 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
12366 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
12368 * kbmap.C (getiso): add support for cyrillic and greek
12370 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12374 * BufferView_pimpl.h:
12375 * BufferView_pimpl.C: move bogus scrolling logic
12378 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12381 * BufferView_pimpl.C: view->resize() change
12383 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12385 * BufferView_pimpl.C: topCursorVisible
12388 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12392 * lyx_gui.C: move to frontends/
12396 * lyx_main.C: changes from above
12398 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12405 * lyx_main.C: minor tidy
12407 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12409 * BufferView_pimpl.h:
12410 * BufferView_pimpl.C:
12412 * BufferView.C: make painter() const,
12415 * BufferView2.C: use screen() accessor
12418 * lyx_main.C: some minor cleanup
12420 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12422 * BufferView_pimpl.h:
12423 * BufferView_pimpl.C: remove enter/leaveView,
12426 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12431 * BufferView_pimpl.h:
12432 * BufferView_pimpl.C: only construct screen once,
12435 * lyxrc.C: remove pointless comment
12437 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
12440 * BufferView.C: remove active() and belowMouse()
12442 * BufferView_pimpl.h:
12443 * BufferView_pimpl.C: use workarea() not workarea_,
12444 and make it use a scoped_ptr instead
12446 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
12448 * lyx_gui.C: add debug message on BadWindow
12450 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12452 * sp_spell.C: fdopen is not part of the C++ standard.
12454 * paragraph.C (InsetIterator): use >= instead of ==
12456 2002-06-07 Angus Leeming <leeming@lyx.org>
12458 Fixes needed to compile with Compaq cxx 6.5.
12459 * BufferView_pimpl.C:
12466 * lyxtextclasslist.C:
12471 all c-library variables have been moved into namespace std. Wrap
12472 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12477 Add a using std::abs declaration.
12479 * kbmap.h (modifier_pair):
12480 * paragraph.h (InsetTable, InsetList):
12481 * lyxfont.h (FontBits):
12482 type definition made public.
12484 * bufferlist.C (emergencyWriteAll): the compiler complains that
12485 there is more than one possible lyx::class_fun template to choose from.
12486 I re-named the void specialisation as lyx::void_class_fun.
12488 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12490 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12491 the compiler is is unable to find tostr in write_attribute.
12493 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12495 * buffer.C (sgmlError): hide #warning
12497 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12499 * xtl/*: get rid of xtl, which is not in use anyway
12501 * LyXAction.C (init):
12502 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12503 were unimplemented xtl experimentation
12505 2002-06-04 André Pönitz <poenitz@gmx.net>
12507 * lyxfunc.C: disable array operation on simple formulae
12509 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
12511 * converter.C: constify a bit
12513 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
12515 * lyx_gui.C: check xforms version correctly
12517 2002-04-30 Herbert Voss <voss@lyx.org>
12519 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12522 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
12524 * lyxvc.C: fix bug 416 (make sure buffer is saved before
12525 attempt to register it with a VCS)
12527 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12529 * lyx_main.C (init): honor variables LYX_DIR_13x and
12532 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12536 * lyx_main.C: fix a crash on bad command line,
12537 and give a useful exit status on error
12539 * lyxfunc.C (doImport): allow -i lyx to work
12541 2002-03-30 André Pönitz <poenitz@gmx.net>
12543 * lyxfunc.C: mathed font changes
12545 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12560 * trans_mgr.h: srcdocs, and some minor cleanups
12562 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12564 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12565 call getFont all the time)
12567 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12569 * switch from SigC signals to boost::signals
12571 2002-05-29 André Pönitz <poenitz@gmx.net>
12573 * paragraph_pimpl.C (getChar): don't call size() too often...
12575 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12577 * paragraph_pimpl.C (insertChar): do not try to update tables when
12578 appending (pos == size())
12580 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12581 in order to reduce drastically the number of comparisons needed to
12582 parse a large document
12584 2002-05-29 André Pönitz <poenitz@gmx.net>
12590 * textclasslist.[Ch]:
12591 * sp_ispell.h: whitespace change
12593 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12595 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12596 lyxaction directly now.
12598 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
12602 * lyxvc.C: remove unused headers
12604 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12611 * undo_funcs.C: some cleanups. Use shared_ptr
12612 and a template for the undo stacks.
12614 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12616 * BufferView_pimpl.h:
12617 * BufferView_pimpl.C:
12624 * text2.C: use key_state/mouse_state
12626 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12628 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12631 * chset.C: change include order
12632 (loadFile): use boost regex and get rid of LRegex and LSubstring
12634 * Makefile.am (BOOST_LIBS): new variable
12635 (lyx_LDADD): use it
12637 * LaTeX.C: change include order.
12638 (scanAuxFile): use boost regex and get rid of LRegex and
12642 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12647 * FontInfo.C: moved to frontends/xforms/
12650 * FontLoader.C: moved into frontends for GUIIzation
12655 * lyxfunc.C: changes from above
12657 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12659 * LColor.C: remove spurious X include
12661 * BufferView_pimpl.C:
12666 * text2.C: move font metrics to frontends/
12668 2002-05-24 Juergen Vigna <jug@sad.it>
12670 * undo_funcs.C (textHandleUndo): fix the cursor selection after
12671 setting the undo_cursor.
12673 * ParagraphParameters.h: include local includes first.
12675 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12677 * BufferView_pimpl.C:
12678 * BufferView_pimpl.h:
12682 * screen.C: move WorkArea into frontends/
12688 * BufferView2.C: move LyXScreen into frontends/
12692 * lyx_gui.C: move lyxlookup into frontends/xforms/
12694 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12697 * BufferView_pimpl.C:
12707 * bufferview_funcs.C:
12720 * vc-backend.C: move LyX/XFormsView into frontends/
12722 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12734 * text2.C: move Painter to frontends/
12736 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
12738 * buffer.C: comment out some some code that depend upon lyx_format
12741 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12742 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12744 * buffer.h (NO_COMPABILITY): turn off compability
12746 * ColorHandler.C: include scoped_array.hpp
12748 * font.C: Use more specific smart_ptr header.
12751 * ShareContainer.h: ditto
12752 * lyx_main.h: ditto
12754 * FontInfo.h: ditto
12755 * BufferView_pimpl.h: ditto
12756 * ColorHandler.h: ditto
12758 * kbmap.C (defkey): change call to shared_ptr::reset
12760 2002-05-21 Juergen Vigna <jug@sad.it>
12762 * buffer.C (insertErtContents): fix to insert ert asis if it is
12763 non empty. Skip it completely if it contains only whitespaces.
12765 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
12767 * BufferView_pimpl.C:
12768 * BufferView2.C: clear selection on paste (bug 393)
12770 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12772 * DepTable.C: include ctime
12774 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
12776 * buffer.C (latexParagraphs): Add new argument (moving_arg).
12778 2002-05-14 Juergen Vigna <jug@sad.it>
12780 * text.C (breakParagraph): fixed function to honor the keepempty
12781 layout in the right maner and also to permit the right breaking
12782 algorithm on empty or non empyt keepempty paragraphs.
12784 * paragraph.C (breakParagraph): we have to check also if the par
12785 is really empty (!size()) for isempty otherwise we do the wrong
12788 2002-05-10 Juergen Vigna <jug@sad.it>
12790 * buffer.[Ch] : The following are only changes to the ert
12791 compatibility read reading old LaTeX layout and font stuff and
12792 convert it to ERTInsets.
12794 * buffer.h: added isErtInset().
12796 * buffer.C (struct ErtComp): add a fromlayout bool to check
12797 if we're inside a LaTeX layout.
12798 (isErtInset): new helper function.
12799 (insertErtContents): look for other ert insets before this one
12800 and insert the contents there, so that we don't have subsequent
12801 ERT insets with nothing between them. This way we create only one
12802 inset with multiple paragraphs. Also check if we don't insert only
12803 spaces ' ' as they are ignored anyway afterwards in the .tex file
12804 so if we have only spaces we will ignore this latex part in the
12806 (parseSingleLyXformat2Token \\layout): better compatibility when
12807 reading layout-latex stuff.
12808 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12810 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12811 stuff after reading the inset only get the information back from
12814 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
12816 * buffer.C (makeLaTeXFile): Put language options after loading babel.
12818 * LaTeXFeatures.C (getBabelOptions): New method.
12820 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12822 * BufferView_pimpl.C (Dispatch): work around missing argument for
12825 2002-05-08 Juergen Vigna <jug@sad.it>
12827 * text.C (leftMargin): handle paragraph leftindent.
12829 * paragraph.C (writeFile): write the new \\leftindent tag.
12830 (validate): handle leftindent code.
12831 (TeXEnvironment): handle paragraphleftindent code again.
12833 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12835 * buffer.C (parseSingleLyXformat2Token): added compatibility code
12836 for paragrap_extra indent code and new token \\leftindent.
12837 (latexParagraphs): handle the leftindent as environment.
12839 * ParameterStruct.h: added leftindent support.
12841 * ParagraphParameters.C (leftIndent): added support functions for
12842 the paragraph left indent.
12844 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12847 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
12849 * paragraph.C (isRightToLeftPar): Return false for a paragraph
12852 * text.C (computeBidiTables): No bidi in insetERT.
12854 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12857 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12859 * version.C.in: pre 5
12861 2002-05-02 José Matos <jamatos@fep.up.pt>
12862 * buffer.C (makeDocBookFile): white space changes, add newline to
12864 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12866 * tabular.C (docBook): fix typo.
12868 2002-05-03 Juergen Vigna <jug@sad.it>
12870 * screen.C (drawFromTo): recalculate the rowpointer if we had a
12871 change in LyXText as we can not be sure it was not freed.
12872 (drawOneRow): remove unused code.
12874 * text.C (drawInset): redo the calculation of the need_break_row as
12875 it could have a row which was already freed.
12876 (draw): look at the return value of drawInset and return false if
12877 it also returned false.
12878 (paintRowText): look at the return value of draw and return false if
12879 it also returned false.
12881 * lyxtext.h: added bool return type to drawInset() and draw() so that
12882 if we have a change in the row so that the rowbreak has to be redone
12883 we abort drawing as it will be called again.
12885 2002-05-02 Juergen Vigna <jug@sad.it>
12887 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12888 a change in the maintext also if we're inside an inset.
12889 (Dispatch): set the cursor again after a break line and after the
12890 screen has been updated as it could be we're in a different row.
12892 * text2.C (fixCursorAfterDelete): check to make sure we don't request
12893 to set the cursor behind the pargraph with > size().
12894 (setCursor): check also for the same paragraph when checking where
12895 to put the cursor if we have a NFR inset.
12897 * buffer.C (parseSingleLyXformat2Token): move the compatibility
12898 parts of layout read further up as it still was in the wrong
12901 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12903 * screen.C (drawFromTo): change sine fullRebreak always return
12906 * buffer.C (parseSingleLyXformat2Token): reindent some
12908 * BufferView_pimpl.C (update): change since fullRebreak always
12910 (Dispatch): git rid of the last hardcoded "Standard"s.
12912 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
12914 * text2.[Ch] (fullRebreak): make it return void now that we always
12917 2002-04-30 Juergen Vigna <jug@sad.it>
12919 * buffer.C (parseSingleLyXformat2Token): reset the font before the
12920 ert compatibility check for "latex" layout.
12922 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
12924 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12925 minipages: use col% instead of p%, and also use the current font.
12926 (makeLaTeXFile): Fix use babel condition.
12927 (parseSingleLyXformat2Token): Correct font when reading old floats.
12929 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
12931 * BufferView_pimpl.C (Dispatch): Check that float type exists when
12932 inserting list of floats.
12934 2002-04-25 Herbert Voss <voss@lyx.org>
12936 * MenuBackend.C (expand): don't add the graphics extensions to the
12939 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12941 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12942 non-existing layout, do not complain if it was the default layout
12943 of the original class (bug #342)
12945 2002-04-24 Juergen Vigna <jug@sad.it>
12947 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12948 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12950 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
12952 * buffer.C (getBibkeyList): If using \bibliography, return the
12953 option field with the reference itself. Enables us to provide natbib
12954 support when using \bibliography.
12956 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
12958 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12960 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12961 natbib is provided by the LaTeX class.
12963 2002-04-23 Juergen Vigna <jug@sad.it>
12965 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12968 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12970 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12972 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12974 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12975 ensuremath around textordmasculine, textordfeminine and
12978 2002-04-19 Juergen Vigna <jug@sad.it>
12980 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12981 reinitializing the buffer otherwise row-dimensions may be wrong.
12982 (update): reset also the selection cursors if they do exits otherwise
12983 their x/y positions may be wrong.
12985 * text2.C (cursorDown): don't enter the inset if we came from a row
12986 above and are one row over the inset.
12988 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12989 really leaving an inset.
12991 2002-04-18 Juergen Vigna <jug@sad.it>
12993 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12994 of the selected paragraph does not have the selected layout also if
12997 * text2.C (setLayout): fixed bug which did not change last selected
13000 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
13001 changed the read and substituted \\end_float with \\end_inset!
13003 * BufferView_pimpl.C (cursorPrevious):
13004 (cursorNext): fixed to make it work with rows heigher than the work
13005 area without moving the cursor only the draw of the row.
13006 (workAreaMotionNotify): fix jumping over high rows.
13008 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13010 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
13013 2002-04-16 Juergen Vigna <jug@sad.it>
13015 * text2.C (setCursor): set also the irow().
13016 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
13018 (cursorDown): support for locking an inset if the x_fix value goes
13019 inside it. That way I can transverse insets too with cursor up/down.
13021 * lyxrow.h: added irow helper function same as other (i) functions.
13023 * BufferView_pimpl.C (cursorPrevious):
13024 (cursorNext): fixed for insets!
13026 2002-04-15 Juergen Vigna <jug@sad.it>
13028 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
13029 position otherwise it is wrong in some cases.
13031 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
13032 inside the inset before the call.
13034 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
13036 * buffer.[Ch] (getBibkeyList): make it const.
13038 2002-04-12 Juergen Vigna <jug@sad.it>
13040 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
13042 * text2.C (getCursorX): new helper function
13043 (setCursor): compute also ix_
13044 (setCursorFromCoordinates): set also ix.
13046 * lyxcursor.h: added ix_ and helper functions.
13048 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
13050 * buffer.C (insertStringAsLines): dont break paragraph if the this
13051 paragraph is inside an inset which does not permit it!
13053 * text.C (breakParagraph): honor keepempty flag and break the paragraph
13054 also with no chars on this paragraph.
13055 (paintRowText): only paint stuff if it's inside the workarea!
13057 * paragraph.C (breakParagraph): honor keepempty flag and break the
13058 paragraph always below not above.
13060 * BufferView2.C (unlockInset): update the paragraph layout on inset
13061 unlock as we changed paragraph in such a case.
13063 * lyxfind.C (LyXFind): clear the former selection if not found!
13065 * text2.C (insertInset): freeze Undo after setUndo so that it is not
13066 again called in insertChar().
13068 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
13069 an inset which uses the whole row!
13070 (rightMargin): ditto.
13071 (insertChar): force a rebreak if we inserted an inset!
13073 2002-03-28 Herbert Voss <voss@lyx.org>
13075 * lyxlength.[Ch]: add inBP() to get the right PS-point
13076 units (BigPoint). With inPixels we have rounding errors
13078 2002-04-11 Juergen Vigna <jug@sad.it>
13080 * text2.C (setCursorFromCoordinates): set iy to the right value.
13081 (setCursor): add check if row->previous exists!
13083 * buffer.C (parseSingleLyXformat2Token): reset font after read of
13084 an old float_type as this was the case in the old code!
13086 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
13088 * BufferView2.C (showLockedInsetCursor): use iy
13089 (fitLockedInsetCursor): ditto
13091 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
13092 locked insets as there we have the right value now.
13094 * lyxcursor.C: added iy_ variable and iy functions to set to the
13095 baseline of cursor-y of the locked inset.
13097 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
13098 (setCursor): fixed for insets which need a full row.
13100 * text.C (rowLastPrintable): don't ignore the last space when before
13101 an inset which needs a full row.
13102 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
13103 as last character of a row when before a inset which needs a full row.
13105 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13107 * version.C.in: update date
13109 * text2.C (fullRebreak): try to always return true and see what
13112 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13114 * MenuBackend.C (expand): use Floating::listName
13116 * FloatList.C (FloatList): add listName argument to the built-in
13119 * Floating.[Ch]: add listName member, which is the 'List of XXX'
13120 text associated with the float.
13122 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13124 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
13126 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13128 * ShareContainer.h: add a couple of missing typenames.
13130 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
13132 * lyxrc.C (getDescription): use _() correctly rather than N_().
13134 2002-03-28 Herbert Voss <voss@lyx.org>
13136 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
13137 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
13139 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13141 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
13142 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
13144 2002-03-29 Juergen Vigna <jug@sad.it>
13146 * lyxfunc.C (dispatch): add a missing fitCursor call.
13148 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
13149 it was scrolled by a cursor move, so return the bool status.
13151 * BufferView.C (fitCursor): return the bool flag also to the outside
13152 world as this is needed.
13154 * screen.C (toggleToggle): don't subtract the offset if it's positive.
13156 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
13157 call the edit() as it is not needed (and wrong) IMO.
13158 (workAreaButtonPress): set the screen_first variable before evt.
13159 unlock the inset as this may change screen_first and then we have
13160 a wrong y position for the click!
13162 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13164 * MenuBackend.C (expand): another translation that I missed
13166 2002-03-28 Juergen Vigna <jug@sad.it>
13168 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
13170 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
13172 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13174 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
13176 * MenuBackend.C (expand): fix export/view/update when there is no
13179 2002-03-27 Herbert Voss <voss@lyx.org>
13181 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
13184 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13186 * bufferview_funcs.C (currentState): only show paragraph number
13187 for is DEVEL_VERSION is set.
13189 * lyxfunc.C (dispatch): put warning in INFO channel
13191 * MenuBackend.C (expand): translate the name of floats
13193 * FloatList.C (FloatList): mark the float names for translation
13195 * converter.C (convert): use LibScriptSearch
13197 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13199 * MenuBackend.C (defaults): fix default menu (we might as well get
13202 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13204 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
13207 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13209 * lyxvc.C: reorder includes.
13211 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
13213 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
13216 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
13218 * CutAndPaste.C: change layouts earlier on paste
13219 to avoid crashing when calling getFont()
13221 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
13223 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
13226 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
13228 * WorkArea.C: remove 'Pending' debug message.
13230 * most files: ws cleanup
13232 * buffer.[Ch]: ws changes
13234 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
13236 2002-03-21 Juergen Vigna <jug@sad.it>
13238 * tabular.C (SetMultiColumn): collapse also the contents of the
13239 cells and set the last border right. Added a Buffer const * param.
13241 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
13243 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
13246 2002-03-19 Juergen Vigna <jug@sad.it>
13248 * text2.C (clearSelection): reset also xsel_cache.
13250 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
13251 where it needs to be called (John tells us to do so too :)
13252 (selectionLost): reset sel_cache.
13254 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
13256 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13258 * text2.C (setCursorIntern): put debuging code in INSETS channel
13260 2002-03-19 André Pönitz <poenitz@gmx.net>
13262 * lyxfunc.C: tiny whitespace change
13264 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13266 * ToolbarDefaults.C (init):
13267 * LyXAction.C (init):
13269 * BufferView_pimpl.C (Dispatch):
13270 * lyxfunc.C (dispatch): remove LFUN_DEPTH
13272 2002-03-19 Allan Rae <rae@lyx.org>
13274 * exporter.C (Export): removeAutoInsets before doing anything else.
13275 While I've just introduced a dependency on BufferView this really is
13276 the best place to clean the buffer otherwise you need to cleanup in
13277 a dozen places before calling export or cleanup in a dozen functions
13280 * converter.C (runLaTeX):
13281 (scanLog): Better handling of removeAutoInsets and screen updates.
13283 * lyxfunc.C (dispatch): small whitespace changes
13285 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13287 * WorkArea.C (C_WorkAreaEvent): return a value.
13288 (event_cb): return 1 if we handled the event, 0 otherwise.
13290 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
13292 2002-03-18 Juergen Vigna <jug@sad.it>
13294 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
13295 (GetAdditionalWidth): ditto.
13296 (RightLine): ditto.
13299 * BufferView2.C (copy): use getLyXText() so that we do it inside an
13300 inset if we're there actually (probably not used right now but this
13301 is the direction to go for unifying code).
13302 (paste): disable code to clear the selection.
13304 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
13305 inside an InsetText and move the check further up as it is in the
13308 * text2.C (pasteSelection): set a selection over the pasted text.
13310 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
13312 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
13313 and libgraphics to build on Cygwin.
13315 2002-03-15 Juergen Vigna <jug@sad.it>
13317 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
13318 inserting an Inset into the paragraph. I know this is not the best
13319 fix but we already use current_view in CutAndPaste so we will remove
13320 all of it's using at the same time.
13322 * buffer.C (sgmlError): deactivated function till it is rewritten in
13323 the right mode, now it can create problems.
13325 * paragraph.C (isLineSeparator): check if getInset returns != 0,
13326 before accessing it.
13328 2002-03-14 Juergen Vigna <jug@sad.it>
13330 * undo_funcs.C (textHandleUndo): do the right thing when updating
13331 the inset after the undo/redo.
13333 * text2.C (setCursor): just some testcode for #44 not ready yet.
13335 * undo_funcs.C (textHandleUndo): set the next() and previous()
13336 pointers of the paragraph to 0 before deleting otherwise we have
13337 problems with the Paragraph::[destructor].
13339 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
13340 on a paragraph insertion.
13342 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13344 * buffer.C (asciiParagraph): use += operator for char append to
13347 * paragraph.C (getFontSettings): compare >= not just >
13348 (highestFontInRange): ditto
13351 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13353 * paragraph.C: change several algorithm to be more appripriate for
13354 the problem domain. This is lookip in FontList and in the InsetList.
13356 2002-03-13 André Pönitz <poenitz@gmx.net>
13359 * LyXAction.C: remove unused LFUN_MATH_MACROARG
13361 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
13366 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
13368 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13370 * Painter.C (display): anon helper function, adjust code for this
13372 (pixmap): remove function.
13374 * Painter.h: remove private display variable.
13376 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
13378 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
13380 * WorkArea.[Ch]: remove figinset_canvas cruft.
13382 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13384 * lyxtextclass.C (operator): add one item cache optimization.
13386 * bufferlist.h: doxy changes
13388 * bufferlist.C: ws changes
13390 * DepTable.[Ch] (ext_exist): place const in the right spot.
13392 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
13394 (workAreaExpose): call resizeInsets when the with BufferView changes.
13395 (Dispatch): adjust for protectedBlank removal
13396 (specialChar): call updateInset if the insert went ok.
13398 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
13399 specialChar instead.
13401 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
13403 * BufferView.h: doxy change
13405 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
13407 * lyxtextclass.C (operator[]): remove non-const version
13408 (defaultLayout): remove non-const version
13410 2002-03-12 Juergen Vigna <jug@sad.it>
13412 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
13413 did resize the LyXText too.
13415 * buffer.C (readLyXformat2): set layout information on newly allocated
13418 * tabular.C (OldFormatRead): set layout information on the paragraph.
13420 2002-03-12 Jos�Ab�io Oliveira Matos <jamatos@novalis.fc.up.pt>
13422 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
13424 2002-03-11 Juergen Vigna <jug@sad.it>
13426 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
13428 (resizeCurrentBuffer): force also the insets to resize themselfes.
13429 (moveCursorUpdate): fixed up for InsetText.
13431 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
13434 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
13435 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
13436 value of Dialogs::tooltipsEnabled().
13437 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
13439 2002-03-08 Juergen Vigna <jug@sad.it>
13441 * BufferView_pimpl.C (updateInset): update inset inside inset also
13442 if it isn't inside theLockingInset().
13444 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13446 * buffer.C (asciiParagraph): redo some of the word and line length
13448 (getLists): look for Caption instead of caption.
13450 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13452 * buffer.C (Buffer): initialize niceFile to true
13454 (makeLinuxDocFile):
13455 (makeDocBookFile): make sure niceFile is true on exit
13457 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13459 * buffer.C (makeLaTeXFile): escape ~ in \input@path
13461 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
13463 * LyXSendto.C: remove.
13464 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13465 * lyx_gui.C: remove now-redundant comment.
13466 * ColorHandler.h: remove forward declaration of class WorkArea.
13467 * lyxfunc.C: remove #include "WorkArea.h".
13469 2002-03-07 Juergen Vigna <jug@sad.it>
13471 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13472 got moved away with the DEPM and also set the inset_owner always
13473 right which before could have been omitted.
13475 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13477 * buffer.C (parseSingleLyXformat2Token): use default layout is the
13478 wanted layout is not found.
13480 2002-03-07 Juergen Vigna <jug@sad.it>
13482 * CutAndPaste.C (cutSelection): another layout settings forgotten.
13484 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13486 * paragraph.C (breakParagraph): use default layout not layout of
13488 (Paragraph): clear ParagraphParameters.
13490 2002-03-06 Juergen Vigna <jug@sad.it>
13492 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13493 otherwise it would not be a valid lenght. Fixed a special case in
13494 the minipage compatibility read where we end the document with a
13497 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13498 was set as it could be 0 for InsetTexts first entry.
13500 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13502 * paragraph.C (writeFile): if layout is empty write out
13503 defaultLayoutName().
13505 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13506 file without named layout we set layout to defaultLayoutName().
13508 2002-03-06 Juergen Vigna <jug@sad.it>
13510 * CutAndPaste.C (copySelection): set layout for new paragraph.
13512 * text.C (prepareToPrint): leave ERT inset left aligned
13513 (leftMargin): don't indent paragraphs inside ERT insets
13515 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13517 * paragraph.C (breakParagraph): dont call clear do the work manually
13519 * paragraph.[Ch] (clear): remove function
13521 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13523 * paragraph.C (Paragraph): dont call clear, the work has already
13526 * lyxtextclass.C (operator): assert if n is empty
13528 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13529 work manually instead.
13531 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13533 * BufferView_pimpl.C: protect selectionLost against text == 0
13535 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13537 * text.C (breakParagraph): fix a setting layout to '0' problem.
13539 2002-03-05 Jos�Ab�io Oliveira Matos <jamatos@novalis.fc.up.pt>
13541 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13542 final location of file, for the included files, and graphics.
13544 2002-03-05 Juergen Vigna <jug@sad.it>
13546 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13548 2002-03-04 Juergen Vigna <jug@sad.it>
13550 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13552 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13553 last column of multicolumn cells.
13554 (SetWidthOfMulticolCell): recalculate NMC and real columns.
13556 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
13558 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13559 file if it doesn't go to a temporary file.
13561 * buffer.C (sgmlOpenTag):
13562 (sgmlCloseTag): remove extra newline insertion.
13564 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13566 * text.C (getRowNearY): comment out debug msg
13568 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13570 * text2.C: first -> first_y
13572 * text.C (getRowNearY): add some attemts at a possible
13573 optimization, not working.
13575 * tabular.[Ch]: add BufferParams to several function so that newly
13576 created paragraph can be initialized to he default layotu for the
13579 * tabular-old.C (ReadOld): add buf->params to call of Init
13581 * screen.C: rename text->first to text->first_y
13583 * paragraph.C (breakParagraph): always set layout in the broken
13586 * lyxtextclass.C (Read): remove lowercase
13589 (delete_layout): ditto
13591 * lyxtext.h: rename first -> first_y
13593 * lyxlayout.C (Read): remove lowercase
13596 (obsoleted_by): ditto
13598 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13600 * buffer.C (insertErtContents): add params are to InsetERT
13601 (parseSingleLyXformat2Token): add code to check if a paragraphs
13602 layout really exist.
13603 (parseSingleLyXformat2Token): add params to several inset
13605 (asciiParagraph): remove lowercase, do the layout comparisons with
13608 * BufferView_pimpl.C (cursorNext): first -> first_y
13609 (resizeCurrentBuffer): first -> first_y
13610 (updateScrollbar): first -> first_y
13611 (scrollCB): first -> first_y
13612 (workAreaMotionNotify): first -> first_y
13613 (workAreaButtonPress): first -> first_y
13614 (checkInsetHit): first -> first_y
13615 (cursorPrevious): first -> first_y
13616 (cursorNext): first -> first_y
13617 (Dispatch): add buffer_->params to severl inset contructors
13619 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13621 * lyxlayout.C (Read): remove some debug info that I forgot.
13623 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13624 clean up the code slightly.
13625 (makeLinuxDocFile): ditto
13626 (makeDocBookFile): ditto
13628 * text2.C: layout as string
13630 * text.C: layout as string
13632 * paragraph_pimpl.C: layout as string
13634 * paragraph.[Ch]: layout as string
13636 * lyxtextclasslist.[Ch]: layout as string
13638 * lyxtextclass.[Ch]: layout as string
13640 * lyxtext.h: layout as string
13642 * lyxlayout.[Ch]: layout as string
13644 * lyx_cb.C: layout as string
13646 * bufferview_funcs.C: layout as string
13648 * bufferparams.C: layout as string
13650 * buffer.C: layout as string
13652 * LyXView.[Ch]: layout as string
13654 * LaTeXFeatures.[Ch]: layout as string
13656 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13658 * BufferView_pimpl.C: change current_layout to string, remove
13663 (workAreaButtonRelease): layout as string
13665 * BufferView2.C (unlockInset): adjust
13667 * vspace.C (asLatexCommand): use an explict temp variable.
13669 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13671 * Makefile.am: use FRONTEND_*
13673 2002-03-01 Juergen Vigna <jug@sad.it>
13675 * tabular.C (SetWidthOfMulticolCell): changed to something better
13676 I hope but still work in progress.
13677 (recalculateMulticolumnsOfColumn): renamed function from
13678 recalculateMulticolCells as it is more appropriate now.
13679 (SetWidthOfCell): calculate multicols better.
13681 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13683 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13685 * lyxfunc.C (processKeySym): print sequence also if it is
13686 `deleted' (complete)
13688 * kbsequence.C (print): print sequence even if it is deleted
13689 (complete would be a better word, actually).
13691 * lyxfunc.C (dispatch): print complete options after a prefix key
13693 * vspace.C (asLatexCommand): rewrite in a slightly different form.
13695 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
13697 * text2.C (setCharFont): eliminate setCharFont code duplication.
13699 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13701 * BufferView_pimpl.C (Dispatch): remove bogus handling of
13702 LFUN_TABULAR_FEATURE (bug #177)
13704 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
13706 * Makefile.am: remove figure.h
13708 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
13710 * Bufferview_pimpl.C:
13722 * text2.C: remove #include "lyx_gui_misc.h".
13724 * LaTeX.C: added #include <cstdio>
13726 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13728 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13729 that the paragraph following this one can have.
13731 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13733 * vspace.C (asLatexCommand): fix bogus gcc warning
13735 * Makefile.am (lyx_SOURCES): remove vms_defines.h
13737 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
13739 * text2.C (setLayout): get rid of redundant code
13741 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
13743 * text2.C (incDepth): make sure depth cannot be increased beyond
13746 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
13748 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13749 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13751 * PainterBase.h (image):
13752 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13753 a LyXImage const *.
13755 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13759 * BufferView_pimpl.C:
13760 * BufferView_pimpl.h:
13780 * sp_spell.C: remove fig inset, and the crap house of
13781 cards that follows it
13783 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13788 * os2_errortable.h:
13789 * nt_defines.h: move .h into support/
13791 * vms_defines.h: remove
13793 * WorkArea.C: add space in debug output
13797 * buffer.C: add WITH_WARNINGS
13801 * bufferlist.C: s/retrive/retrieve/, add docs
13810 * chset.C: add docs
13812 * lyxgui.C: add ID to X error handler
13814 * lyxtestclass.c: fix typo
13816 2002-02-26 Juergen Vigna <jug@sad.it>
13818 * tabular_funcs.C (write_attribute): changed so that some default
13819 attributes are not written at all.
13820 (getTokenValue): set default values before trying to read the
13821 value so we have the return value always set as default if we don't
13822 find the token we search for.
13824 * tabular.C (Write): write bools as bools not as strings!
13826 2002-02-22 Juergen Vigna <jug@sad.it>
13828 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13829 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13831 * text.C (leftMargin): don't add an indent for paragraphs inside
13832 tabular cells (fix #208).
13834 2002-02-21 José Matos <jamatos@fep.up.pt>
13836 * tabular.C (docBook): fixed support for long tables.
13838 2002-02-20 Juergen Vigna <jug@sad.it>
13840 * text2.C (getFont): get the drawing font of the Inset if this
13841 paragraph is inside an inset (only important for InsetERT for now).
13843 * buffer.C (insertErtContents): use new lanugage params in ERT
13846 * CutAndPaste.C: commenting out seemingly uneeded code.
13848 2002-02-19 Allan Rae <rae@lyx.org>
13850 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13851 Iterators might be simple to use but they also get invalidated.
13852 (removeAutoInsets): renamed saved cursor tracking variables and added
13853 some comments to clarify what everything does.
13855 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
13862 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13863 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13866 * vc-backend.h: remove #include "support/syscall.h"
13870 * converter.C: rearrange #includes in Lars' approved fashion.
13872 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13873 forward declare class Timeout in the header file.
13875 * XFormsView.C: changes due to the above.
13877 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13878 similar to LyXView.
13880 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13881 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13883 2002-02-18 José Matos <jamatos@fep.up.pt>
13885 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13888 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
13890 * a lot of small ws changes
13891 * add a lot of using std::XXX
13892 * use std construcs some places where approp.
13893 * use some exisint stuff from lyxfunctional where approp.
13894 * Make file changes to use partial linking (lets test this now...)
13896 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13900 remove #include "support/syscontr.h" as it's redundant. Always has been.
13908 change Systemcalls::System to Systemcalls::Wait and
13909 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13910 No change of functionality, just reflects the stripped down Systemcalls
13913 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13915 * debug.[Ch]: add a GRAPHICS type to the enum.
13917 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13919 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13921 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13924 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13926 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13927 match the changes below.
13929 * text2.C (toggleInset): if there is not editable inset at cursor
13930 position, try to see if cursor is _inside_ a collapsable inset
13933 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13935 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13936 document menu has a nice checkbox
13938 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13940 * lyxlength.C (asLatexString): change PW to output as percent of
13943 * lengthcommon.C: change '%' to 't%'
13945 * lyxfunc.C (dispatch): a few comments from Martin
13947 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
13951 * BufferView_pimpl.h:
13952 * BufferView_pimpl.C: clear our selection when X tells us we've lost
13955 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13957 * vspace.C (inPixels): fix compiler warning
13959 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13961 * lyxfunc.C (getStatus): fix status message for disabled commands.
13963 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
13965 * BufferView_pimpl.C: fix crash on close buffer
13966 during selection (#227)
13968 2002-01-27 Herbert Voss <voss@lyx.org>
13970 * buffer.C: link old Figure to new graphic inset
13972 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
13974 * FontLoader.C (getFontinfo): Change the latex font names in order
13975 to match the names of type1inst.
13977 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
13979 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13981 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13982 (extchanged): ditto
13984 (remove_files_with_extension): ditto
13985 (remove_file): ditto
13988 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13989 document is smaller than the work area height. Do not initialize
13990 static variables to 0.
13992 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13994 * lyx_gui.C (init): give the toolbar tooltips a normal font.
13996 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13997 LFUN_LAYOUT_PARAGRAPHS.
13999 * tabular.C (GetCellFromInset): new method. Finds an inset in a
14000 tabular. It is possible to provide a possible cell, which will
14001 typically be the actcell from the corresponding insettabular
14003 * lyxfunc.C (getStatus): small cleanup; disable
14004 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
14007 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14009 * tabular.C (Validate): remove broken optimization (fixes bug #201)
14011 * paragraph.C (startTeXParParams):
14012 (endTeXParParams): new methods. The LaTeX code to
14013 start/end paragraph formatting
14014 (simpleTeXOnePar): call startTeXParParams also when paragraph is
14015 empty (fixes bug #200)
14017 * vspace.C (inPixels): adapt to the change below
14018 (inPixels): [later] more cleanups (remove unused variables)
14020 * lyxlength.C (inPixels): change to use a width and a height as
14023 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14025 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
14026 Replaced with \paperwidth
14028 * DepTable.C (insert): add std:: qualifier
14030 2002-01-18 Allan Rae <rae@lyx.org>
14032 * text2.C (removeRow): add comment. Should other refresh_?? vars be
14035 * text.C (drawInset): Turned out I didn't know enough about how
14036 rebreaking worked. This fixes most of the redraw problems. I see
14037 an occasional cursor trail when a line is broken now and the cursor
14038 placement can seem out by a few pixels also after a rebreak.
14040 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14042 * buffer.C (parseSingleLyXformat2Token): update because minipage
14043 width is now a LyXLength
14045 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
14047 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
14050 2002-01-17 Juergen Vigna <jug@sad.it>
14052 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
14054 * BufferView2.C (lockInset): call edit() so that theLockingInset()
14055 is set correctly and the inset is updated correctly.
14057 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14059 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
14060 the beginning of the loop.
14062 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
14064 * lyxrc.C: improve help for use_scalable_fonts
14066 2002-01-17 Allan Rae <rae@lyx.org>
14068 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
14070 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14072 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
14073 make sure to set their inset_owner to the right value (bug #171)
14075 2001-12-12 Ben Stanley <bds02@uow.edu.au>
14078 * DepTable.C: Implement mtime checking to reduce time spent doing
14081 2002-01-16 Juergen Vigna <jug@sad.it>
14083 * tabular.C (GetAdditionalHeight): one of error fixed.
14085 * lyxrc.C (output): small fix in writing use_pspell.
14087 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
14089 * sp_base.h: #include LString.h
14091 2002-01-16 Allan Rae <rae@lyx.org>
14093 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
14094 Can someone check this please?
14096 * text.C (drawInset): It was possible that p.row would be removed by
14097 breakAgainOneRow upsetting a few other settings. There may be another
14098 small tweak possible by setting need_break_row = 0 when p.row has been
14099 removed but I don't know enough about the logic here.
14101 2002-01-15 Allan Rae <rae@lyx.org>
14103 * text.C (insertChar): removed conditional truism.
14105 * BufferView2.C (removeAutoInsets): More tweaks.
14106 cur_par_prev could be a stray pointer. Check for trailing empty line
14107 in case last line was cur_par and only had an error inset on it.
14109 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14111 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
14114 * vc-backend.C (most methods):
14115 * exporter.C (Export):
14116 * converter.C (convert):
14118 * LyXSendto.C (SendtoApplyCB):
14119 * lyxfunc.C (dispatch):
14123 * lyx_cb.C (AutoSave):
14125 * BufferView_pimpl.C (MenuInsertLyXFile):
14126 * buffer.C (runChktex): use Buffer::filePath().
14128 * buffer.h: rename filename to filename_; rename filepath to
14129 filepath_ and make it private
14130 (filePath): new method
14132 * buffer.C (writeFile): use fileName()
14135 * lyx_main.C (init): fix starting of LyX when the binary is a
14136 link from so,ewhere else.
14138 * minibuffer.C: include <cctype> for isprint
14140 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
14142 * buffer.C (parseSingleLyXformat2Token): changes associated with the
14143 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
14144 name clash with InsetCollapsable's width function.
14146 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14148 * lastfiles.C: include <iterator>
14150 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
14152 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
14155 * buffer.C (makeLaTeXFile): ditto.
14156 Also make loop operation more transparent.
14158 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
14160 * ToolbarDefaults.C: remove trailing comma closing namespace.
14162 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
14164 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
14167 * trans.C (Load): comment out unused variable, allowed.
14169 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
14171 * minibuffer.[Ch] (append_char): new method to recieve input from the
14172 drop-down completion browser. If a key was pressed, then recieve this
14173 char and append it to the existing string.
14174 (peek_event): modify the positioning data passed to the completion
14175 browser so that it can be placed above the minibuffer rather than below.
14176 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14178 * LyXAction.C (init): alloe error-next for readonly documents.
14180 * BufferView2.C (ChangeRefsIfUnique): use standard version of
14183 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14185 * bufferlist.C (readFile): create the buffer _after_ checking that
14188 * lyxfunc.C (verboseDispatch): fix handling of arguments
14190 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
14192 * lyxrc.C: use string::erase() instead of initializing to "".
14195 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14197 * BufferView_pimpl.h:
14198 * BufferView_pimpl.C:
14201 * text2.C: tell X when we have made a selection for copying
14203 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14205 * BufferView_pimpl.C (MenuInsertLyXFile):
14206 * lyxfunc.C (menuNew):
14208 (doImport): add shortcuts to directory buttons
14210 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
14213 * lyxfunc.C (setStatusMessage):
14214 (getStatusMessage): new methods
14215 (getStatus):use setStatusMessage instead of setErrorMessage
14216 (dispatch): when function is disabled, set error message here
14217 [instead of in getStatus previously]
14219 * BufferView_pimpl.C (workAreaButtonRelease): update
14220 toolbar/menubar here too.
14222 2002-01-13 Allan Rae <rae@lyx.org>
14224 * BufferView2.C (removeAutoInsets): finished off earlier fix.
14225 Now seems indestructible. Remaining task is to audit all other
14226 code affected by deleteEmptyParagraphMechanism. One small quirk
14227 left is that an empty document with an error in the preamble can
14228 be made to report an error but no error box appears. I don't know
14230 (removeAutoInsets): Improved comments.
14232 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
14235 * Thesaurus.C: update for Aiksaurus 0.14
14237 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
14239 * text2.C (firstParagraph): removed member function, all uses
14240 replaces with ownerParagraph
14241 (redoParagraphs): here
14242 (updateInset): here
14243 (toggleAppendix): here
14244 * BufferView2.C (insertErrors): here
14245 (setCursorFromRow): here
14247 2002-01-13 Allan Rae <rae@lyx.org>
14249 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
14250 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
14251 There is still a way to segfault this although you may have to do this
14252 multiple times: Have an InsetERT with an unknown command in it.
14253 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
14254 <down-arrow>, <Enter> again, View->DVI, BANG!
14256 * text2.C (setCursor):
14257 (deleteEmptyParagraphMechanism):
14258 * lyxtext.h (setCursor):
14259 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
14260 Making use of the return value may help fix other bugs.
14262 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14264 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
14266 * LyXView.C (updateMenubar): call MenuBar::update here
14267 (updateToolbar): but not here
14268 (showState): do not update toolbar/menubar
14270 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
14271 should need to care about that.
14273 * lyxfunc.C (verboseDispatch): simplify a bit
14274 (getStatus): have a version which takes a pseudoaction, and
14275 another which requires a (kb_action,string).
14277 * LyXAction.C (retrieveActionArg): make it work also when action
14278 is not a pseudo-action.
14279 (getActionName): simplify a bit
14282 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14284 * lyxfunc.C (verboseDispatch): new families of methods with
14285 several ways to specify a command and a bool to indicate whether
14286 the command name and shortcut should be displayed in minibuffer
14287 (eventually, we could extend that to a finer bitmask like
14288 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
14289 (dispatch): the pristine dispatch command which just, well,
14290 dispatchs! Note it still sets its result to minibuffer; I'm not
14293 * lyxfunc.h: remove setHintMessage
14295 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
14297 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14299 * BufferView_pimpl.C (specialChar): delete new inset if we have
14300 not been able to insert it.
14302 * kbmap.C: revert to using int instead of kb_action, since all we
14303 are dealing with is pseudo-actions.
14305 * LyXAction.C (searchActionArg): change to return int instead of
14306 kb_action, since the result is a pseudoaction.
14308 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
14310 * buffer.C (insertErtContents): Fix (partially) the font bug.
14312 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
14314 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
14315 as the other one is broken on my machine!
14317 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
14320 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
14322 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
14324 * lyxrc.[Ch]: change names and descriptions of popup font variables to
14325 reflect their actual use. Provide compatibility code for older lyxrc
14328 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
14330 change names of popup font variables in line with the changes to lyxrc.C
14332 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14334 * buffer.C (asciiParagraph): avoid outputing a word twice after
14337 * lyxrc.C (getDescription): document that document_path and
14338 template_path can be empty.
14340 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14342 * LaTeXFeatures.C (getMacros):
14343 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
14345 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
14347 * LaTeXFeatures.C (useFloat): require "float" here instead of in
14349 (getPackages): rename feature "floats" to "float". Use an array to
14350 iterate over 'simple' features (i.e. just a \usepackage). Add
14351 handling of "amsmath" (renamed from "amsstyle").
14353 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
14355 * LaTeXFeatures.C (require): Prevent duplicate entries in the
14358 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
14360 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
14361 FuncStaus::FuncStatus & FuncStaus::some_method().
14363 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
14365 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
14366 of the func_satus stuff. Edited and massaged in various ways by
14369 * lyxfunc.C (getStatus): use FuncStatus
14371 2002-01-08 Juergen Vigna <jug@sad.it>
14373 * text.C (nextBreakPoint): use function Inset::isChar().
14375 * paragraph.C (TeXOnePar): use function
14376 Inset::forceDefaultParagraphs.
14378 * buffer.C (latexParagraphs): use function
14379 Inset::forceDefaultParagraphs.
14381 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14383 * lyx_gui.C (init): set the style of the menu popups to
14384 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
14386 2002-01-07 Juergen Vigna <jug@sad.it>
14388 * text.C (setHeightOfRow): small fix
14389 (prepareToPrint): don't look at alignment if we don't have the place
14392 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14394 * box.C: New file. Move the Box methods and functions out of box.h,
14395 following Lars' suggestion.
14397 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14399 * box.h: #include "support/LOstream.h", needed for inlined function.
14402 * lyxtextclasslist.C: added some using std declarations.
14404 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
14406 * box.h: make signed dimensions to allow insets wider than
14407 the screen (bug #162)
14409 * BufferView_pimpl.C: add some insetHit debug
14411 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
14413 * vc-backend.C: add FIXME
14415 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14417 * lyxfunc.C (getStatus): enable code for showing math font status
14420 2002-01-07 Juergen Vigna <jug@sad.it>
14422 * text.C (nextBreakPoint): removed debug output not needed anymore.
14424 2002-01-06 Juergen Vigna <jug@sad.it>
14426 * text.C (nextBreakPoint): fixed up this function we had this bug
14427 since ever but now hopefully we break row better.
14428 (insertChar): we have to check if an inset is the next char as it
14429 could now happen that a large inset is causing a break.
14431 2002-01-05 Juergen Vigna <jug@sad.it>
14433 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
14434 if it doesn't like to be drawed.
14436 2002-01-04 Juergen Vigna <jug@sad.it>
14438 * BufferView2.C (lockInset): forgot to set a cursor.
14440 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
14442 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
14444 * FormMathsPanel.C:
14447 * form_maths_panel.C:
14448 * form_maths_panel.h:
14449 * form_maths_panel.fd: implemented sub- and super- buttons in math
14452 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
14453 (or ^ space) to be used as in TeX (req'd by Andr�.
14455 * lyxfunc.C: Allow ^ and _ again to be used both as
14456 super/subscript (mathed) and as themselves (in text).
14458 2002-01-03 Allan Rae <rae@lyx.org>
14460 * LyXView.C (updateWindowTitle): Setup a short icon title of either
14461 "LyX" or the filename of the current buffer if it has one. This is a
14462 modified form of John Levon's patch.
14464 * XFormsView.C (setWindowTitle): also set icon title.
14466 * LyXView.h (setWindowTitle): signature changed.
14467 * XFormsView.h (setWindowTitle): ditto.
14469 2002-01-02 Juergen Vigna <jug@sad.it>
14471 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14473 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
14475 * screen.C (topCursorVisible): introduce a temp var for
14476 text->cursor.row(), handle the case where this row is null. (kindo
14479 * text2.C (setCursor): add a couple of asserts.
14481 * paragraph.h (inset_iterator): add -> operator
14483 * paragraph.[Ch] (autoDeleteInsets): remove member function
14485 * BufferView2.C (removeAutoInsets): rewrite to handle the old
14486 cursor pos correctly and handle inset deletion by itself.
14487 (insertErrors): move iterator declaration out of for expression
14489 * lyxtextclass.C: add <algorithm>
14491 * Makefile.am: added the new files to sources, removed layout.C
14493 * layout.C: removed file
14495 * layout.h: remove LYX_DUMMY_LAYOUT
14497 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14501 * lyxtextclass.[Ch]:
14502 * lyxtextclasslist.[Ch]: new files
14504 * include order changes to a lot of files, also changes because of
14507 2001-12-27 Juergen Vigna <jug@sad.it>
14509 * buffer.C (asciiParagraph): more fixes.
14511 * tabular.C (ascii): make ascii export support export of only the
14512 data separated by a column-delimiter.
14513 (ascii): better support for ascii export.
14515 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14517 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14519 * tabular_funcs.C: use a "using std::getline" instead of the
14520 previous fix from Angus (necessary for cxx + lyxstring)
14522 2001-12-24 Juergen Vigna <jug@sad.it>
14524 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14526 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14527 problems. First check a minipage also if we have some ert-contents
14528 (not only on par->size(), second set the right depth of the paragraph
14529 on the relink to the root-paragraph-list!
14531 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14532 which then did not anymore update the main paragraphs on undo/redo!
14534 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14536 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14537 code. Support all font-changing funcs (even those which are not in
14538 menu currently). Support for reporting font settings in
14539 mathed (disabled until Andre provides a function on mathed's side).
14541 * func_status.h (toggle): small helper function to set toggle
14544 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
14546 * tabular_funcs.C: getline -> std::getline
14548 2001-12-21 Juergen Vigna <jug@sad.it>
14550 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14551 accessed and could be 0 (I couldn't generate this but it seems
14554 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
14556 * tabular_funcs.C: add LIstream.h, move write_attribute to..
14557 * tabular_funcs.h: here and include iosfwd
14559 2001-12-20 Juergen Vigna <jug@sad.it>
14561 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14562 inside inset but undo_par was.
14564 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14566 * Thesaurus.C: always include <config.h> in sources.
14570 * box.h: do not include <config.h> in header files
14572 * text.C (paintLastRow): remove unused variable
14574 * text.C (transformChar):
14576 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14578 * Painter.C (text):
14579 * font.C (width): rewrite to use uppercase() instead of
14582 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14584 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
14586 * lyxfind.C: clean up of find failure position change
14588 2001-12-20 Juergen Vigna <jug@sad.it>
14590 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14592 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14593 (TeXRow): added to LaTeX a single tabular row.
14594 (TeXLongtableHeaderFooter): added to output LT-h/f data.
14595 (Latex): simplified and finally good LT-h/f support.
14596 (various_functions): just small adaptions for LT-h/f support.
14598 * tabular_funcs.[hC]: added and moved here all not classfunctions
14601 2001-12-19 Juergen Vigna <jug@sad.it>
14603 * tabular.[Ch]: better support for longtabular options (not finished
14606 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14608 * text.C (paintLastRow): use the label font instead of the font of
14609 the last character to compute the size of *_BOX. This makes more
14610 sense and avoids a crash with empty paragraphs.
14611 Use Painter::rectangle to draw EMPTY_BOX.
14613 2001-12-19 Juergen Vigna <jug@sad.it>
14615 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14616 the paragraphs if the replaced paragraph is not the first one!
14617 Tried to delete not used paragraphs but does not work yet so for
14618 now it's inside #ifdef's and by default off!
14620 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14622 * MenuBackend.C: include "lyx_main.h" instead of declaring
14623 lastfiles (actually was declared as LastFiles* instead of a
14626 2001-12-17 Juergen Vigna <jug@sad.it>
14628 * tabular.C (AppendColumn): applied John's fix
14630 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
14634 * BufferView_pimpl.h:
14635 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14638 * box.h: new start of class for above
14640 * lyxfunc.C: ignore space-only minibuffer dispatches.
14641 Show the command name when it doesn't exist
14643 * minibuffer.C: don't add empty lines to the history
14645 * minibuffer.C: add a space on dropdown completion
14647 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
14649 * text.C: fix line above/below drawing in insets
14651 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14653 * lyxlength.C (LyXLength): Initialize private variables.
14655 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
14657 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14658 when inserting error insets.
14660 2001-12-13 Juergen Vigna <jug@sad.it>
14662 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14663 actually sometimes the before-paragraph.
14664 (setUndo): don't clear the redostack if we're not actually undoing!
14666 2001-12-06 Juergen Vigna <jug@sad.it>
14668 * undo_funcs.C (textHandleUndo): well after John's hint I got here
14669 and fixed redoing of main paragraph, so we can use it now ;)
14671 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14673 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14675 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14678 2001-12-13 André Pönitz <poenitz@gmx.net>
14681 * undo_func.C: minor cleanup
14683 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14685 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14686 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14687 font in urw-fonts package which is marked as -urw-fontspecific and
14688 does not work (incidentally, changing the encoding in the
14689 fonts.dir of this package to -adobe-fontspecific fixes the
14692 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14693 is a crash when undoing first paragraph (Juergen, please take a
14694 look). THis does not mean the undo fix is wrong, just that it
14697 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14698 the (Paragraph*) version when needed instead of duplicating the
14701 * text.C (workWidth): use Inset::parOwner to find out where the
14702 inset has been inserted. This is a huge performance gain for large
14703 documents with lots of insets. If Inset::parOwner is not set, fall
14704 back on the brute force method
14706 * paragraph_pimpl.C (insertInset):
14707 * paragraph.C (Paragraph):
14708 (cutIntoMinibuffer): set parOwner of insets when
14709 inserting/removing them
14711 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14713 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
14719 * mathed/formulabase.C:
14720 * mathed/math_cursor.[Ch]:
14721 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14724 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14726 * lyxlength.[Ch] (operator!=): new function
14728 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14730 * text.C (workWidth): use Inset::parOwner to find out where the
14731 inset has been inserted. This is a huge performance gain for large
14732 documents with lots of insets. If Inset::parOwner is not set, fall
14733 back on the brute force method
14735 * paragraph_pimpl.C (insertInset):
14736 * paragraph.C (Paragraph):
14737 (cutIntoMinibuffer): set parOwner of insets when
14738 inserting/removing them
14740 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14742 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14744 * tabular-old.C (getTokenValue):
14745 * tabular.C (getTokenValue):
14746 (write_attribute): new versions for LyXLength
14747 (everywhere): adjust the use of widths
14749 * tabular.h: change the type of widths from string to LyXLength
14751 2001-12-11 Ben Stanley <bds02@uow.edu.au>
14753 * paragraph.C: fixed missing line number count when exporting
14754 Environments to LaTeX file
14756 * buffer.C: added informational message for checking line numbers.
14758 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14760 * text2.C (deleteEmptyParagraphMechanism): if there is only one
14761 paragraph, do the 'double space' part, but not the 'empty
14764 * text.C (workWidth): small optimization
14765 (getLengthMarkerHeight): use minimal size for negative lengths.
14767 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
14769 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14771 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14773 2001-12-11 André Pönitz <poenitz@gmx.net>
14776 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14778 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14780 * text2.C: keep selection on a setFont()
14782 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14784 * lyx_cb.C: another bv->text misuse, from insert label
14786 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14789 * kbsequence.C: re-instate nmodifier mask
14791 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
14793 * lyx_main.h: make lyxGUI private.
14795 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14797 * lyxfind.C: place the cursor correctly on failed search
14799 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14801 * text.C (getLengthMarkerHeight): for small heights, the arrows
14802 are not always on top/bottom of the text
14803 (drawLengthMarker): smaller arrows; take the left margin in
14804 account; draw also vfills.
14806 (paintLastRow): remove special code for vfill and standard spaces,
14807 since everything is handled in drawLengthMarker now.
14809 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14811 * buffer.C (insertErtContents): try to handle font and language
14812 interaction a bit better.g
14814 * ColorHandler.C (updateColor): change the hash to cover the whole
14815 LColor enum, ws cleanup
14816 (getGCLinepars): ditto
14817 (getGCLinepars): only lookup in the linecache once.
14819 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
14821 * iterators.C (operator++): Make the iterator more robust
14823 * BufferView2.C (removeAutoInsets): Use paragraph iterators
14825 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14827 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14830 * text.C: better added space drawing
14832 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14835 * BufferView2.C: fix layout combo update on inset unlock
14837 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14839 * Makefile.am: don't compile unused files
14841 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14845 * LyXAction.C: remove old LFUN_LAYOUTNO
14847 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14849 * paragraph_pimpl.h:
14850 * paragraph_pimpl.C: isTextAt() doesn't need font param
14852 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14855 * lyxlex.C: little cleanup
14857 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14859 * BufferView_pimpl.C: fix insertAscii for insets
14861 2001-12-05 Juergen Vigna <jug@sad.it>
14863 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14864 set the right font on the "multi" paragraph paste!
14866 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14872 * lyxlength.C: remove out-commented code.
14874 * BufferView_pimpl:
14888 * vc-backend.C: change "while(" to "while ("
14890 * lyxlength.[Ch]: add zero function to check if length is zero or
14892 * lyxgluelength.C: use it
14894 2001-12-05 Allan Rae <rae@lyx.org>
14896 * lyxlength.C: Attempted a fix for the abs(int) header selection.
14897 Works for 2.95.3, from what I understand of Garst's reports this should
14898 work for other g++ versions. We're screwed if the abs(int) definition
14899 changed between bugfix releases of gcc.
14901 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14903 * text.C: fix chapter label offset !
14905 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14908 * text.C: fix hfill at end of line, clean up
14910 2001-12-04 Juergen Vigna <jug@sad.it>
14912 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14913 that we force an update of the inset and it's owners if neccessary.
14915 2001-12-03 Juergen Vigna <jug@sad.it>
14917 * text.C (rowLast): simplified code
14919 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14921 * lyxfunc.C: fix show options on timeout
14923 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14925 * screen.C (topCursorVisible): scroll half a page when the cursor
14926 reached top of bottom of screen
14928 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
14930 * minibuffer.C: deactivate on loss of focus
14932 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14934 * vspace.[Ch] (operator!=): add operator.
14936 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
14938 * BufferView_pimpl.C: refuse to open an inset when
14939 there's a selection.
14941 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
14943 * BufferView_pimpl.C: allow to click on RHS of full row insets
14945 2001-11-30 Juergen Vigna <jug@sad.it>
14947 * tabular.C (LyXTabular): add a same_id to set the same id's in the
14948 insets for undo reasons.
14950 2001-11-28 André Pönitz <poenitz@gmx.net>
14952 * vspace.[Ch]: cosmetical changes
14954 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14964 * kbsequence.C: part re-write of old kb code
14967 * WorkArea.C: remove Lgb_bug_find_hack
14969 2001-11-30 José Matos <jamatos@fep.up.pt>
14971 * buffer.C (makeDocBookFile): add a comment to point a hack.
14972 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14973 Fixed a double write of labels.
14975 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14978 * LaTeX.h Fixed bug in LaTeX class where it would not
14979 re-run latex if no depfiles were changed, but the .dvi was removed.
14981 2001-11-28 André Pönitz <poenitz@gmx.net>
14983 * all the files from the change on 2001/11/26:
14984 use lyx::layout_type instead of LyXTextClass::size_type
14985 use lyx::textclass_type instead of LyXTextClassList::size_type
14987 2001-11-29 Juergen Vigna <jug@sad.it>
14989 * text.C: added support for paragraph::isFreeSpacing()
14991 * buffer.C: same as above
14993 * paragraph.h: inserted isFreeSpacing() function to enable
14994 FreeSpacing inside InsetERT.
14996 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14997 of the paragraph's in the cut/copy buffer to 0!
14999 * text2.C (removeRow): remove the assert as it can!
15001 * lyxtext.h: added helper function firstRow returning firstrow and
15002 made firstrow private again.
15004 * BufferView2.C (lockInset): don't relock if we're already locked!
15006 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
15007 the only paragraph.
15008 (removeRow): added Assert::(firstrow)
15010 * debug.C: forgot to add INSETTEXT here.
15012 2001-11-28 Juergen Vigna <jug@sad.it>
15014 * sp_spell.C (initialize): changed error text to more general
15015 spellchecker command use (not only ispell!)
15017 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
15019 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
15021 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
15023 * vspace.C: initialise lyxgluelength on failure
15025 2001-11-28 Allan Rae <rae@lyx.org>
15027 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
15028 declaration & definition that looks like a function declaration.
15030 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15032 * BufferView2.C (copy):
15033 (copyEnvironment): do not clear the selection when doing a copy.
15035 * text.C (paintFirstRow): compilation fix
15037 2001-11-27 Ben Stanley <bds02@uow.edu.au>
15039 * tabular.C (Latex): correct line count when writing latex.
15041 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
15043 * paragraph_pimpl.h:
15044 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
15047 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
15051 * LColor.C: change vfillline->added_space
15053 * text.C: add markers and text for added space
15055 * vspace.C: fix comment
15057 2001-11-28 André Pönitz <poenitz@gmx.net>
15059 * paragraph.C: whitespace changes
15060 * all the other files from the change on 2001/11/26:
15061 change *::pos_type into lyx::pos_type
15063 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
15065 * buffer.C (parseSingleLyXformat2Token): Set the language to the
15066 language of the document when inserting error insets.
15068 2001-11-26 André Pönitz <poenitz@gmx.net>
15070 * BufferView_pimpl.[Ch]:
15078 * paragraph_pimpl.[Ch]:
15081 * text2.C: reduce header dependencies, introduce type for positions
15083 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
15085 * <various>: change to use Alert.h
15087 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
15089 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
15090 when encountering an unknown token.
15091 (readLyXformat2): Show an error message if there were unknown tokens.
15093 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
15096 * BufferView_pimpl.C:
15100 * text2.C: use par->isInset()
15102 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
15104 * paragraph_pimpl.h:
15105 * paragraph_pimpl.C: cleanup
15107 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15109 * text2.C (removeRow):
15110 * text.C (setHeightOfRow): remove useless (and costly) call to
15113 2001-11-20 Allan Rae <rae@lyx.org>
15115 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
15116 Now need Inset*::checkInsertChar() to return true for appropriate
15117 cases so that the characters in the minibuffer will actually be
15120 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
15122 * text.C: change the order of the includes.
15123 (workWidth): initialize it at once.
15124 (workWidth): make maxw unsigned
15125 (setHeightOfRow): remove unused variable (inset)
15126 (selectSelectedWord): remove unused variable (inset)
15127 (paintRowText): fix drawing of hfill characters, and clean up a bit.
15129 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15131 * lyxserver.C (emergencyCleanup): do not try to close pipes if
15132 server is not running.
15134 (closeConnection): add debug info when server is disabled.
15136 * ColorHandler.C (getGCForeground): send debug message to GUI
15139 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
15141 * kbmap.C (bind): modify because return conventions of
15142 kb_sequence::parse have changed.
15144 * kbsequence.C (parse): only ignore spaces and not any stupid
15145 control character. This avoids tests like s[i] <= ' ', which are
15146 guaranteed to fail with 8bit characters and signed chars.
15147 Change return code to string::npos when there have been no error
15148 (0 was a bad idea when error is at first character)
15150 2001-11-14 José Matos <jamatos@fep.up.pt>
15153 * buffer.C (simpleDocBookOnePar): removed unused argument.
15155 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15157 * text.C (selectNextWordToSpellcheck): do not test explicitely for
15158 insets which are part of a word. Paragraph::isLetter takes care of
15159 that now. Use Paragraph::isInset to identify insets.
15160 (selectSelectedWord): do not test for hyphenation break.
15162 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
15163 that protected spaces are considered as spaces.
15165 * paragraph.C (isLetter): cleanup the code for ispell extras; use
15168 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
15171 * lyxserver.C: fix it. and small cleanup.
15173 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
15175 * BufferView_pimpl.C: use inline helpers
15178 * LaTeXFeatures.C: fix typos
15181 * Spacing.C: move spacing_string into class
15183 * ToolbarDefaults.C: move stuff into namespace anon
15185 * layout.h: update enum
15187 * lyxfunc.C: use better debug
15189 * minibuffer.h: fix typo
15193 * WorkArea.C: add and use Debug::WORKAREA
15197 * text2.C: code re-organisation, inline helpers
15199 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
15201 * Layout.C: replaced a few cases of std::vector.size() == 0 with
15202 std::vector.empty().
15204 2001-11-09 Allan Rae <rae@lyx.org>
15206 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
15207 '\n's after tables. Tabular and ERT inset work now makes this no
15210 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
15213 * minibuffer.C: fix crash, improve drop-down completion
15215 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
15218 * lyxserver.C: invalidate fd's when doing endPipe()
15220 2001-11-08 José Matos <jamatos@fep.up.pt>
15222 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
15223 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
15226 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
15228 2001-11-07 José Matos <jamatos@fep.up.pt>
15231 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
15234 * buffer.C (sgmlOpenTag):
15235 * buffer.C (sgmlCloseTag): removed debug info.
15237 * buffer.h (sgmlOpenTag):
15238 * buffer.h (sgmlCloseTag): made public.
15240 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15242 * buffer.C (saveParamsAsDefaults):
15243 * lyx_cb.C (MenuLayoutSave): remove
15245 * LyXAction.C (init):
15247 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
15249 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15251 * buffer.C (setPaperStuff): removed from here...
15253 * bufferparams.C (setPaperStuff): ... and moved there.
15255 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
15259 * XFormsView.C: add support for drop-down completion
15261 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
15263 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
15266 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15268 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
15271 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
15273 * lyx_main.C: change ref to known bugs
15275 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
15277 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
15278 to work around older babel problems.
15280 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
15282 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
15284 2001-10-24 Juergen Vigna <jug@sad.it>
15286 * tabular-old.C (ReadOld): below variable changes reflected.
15288 * tabular.[Ch]: added ltType struct for longtable header/footer
15289 defines and changed all instances where they are used. Added
15290 future support for double top/bottom rows.
15292 2001-10-24 José Matos <jamatos@fep.up.pt>
15294 * buffer.h (docbookHandleCaption):
15295 * buffer.C (docbookHandleCaption): removed unused function.
15296 (makeDocBookFile): moved docbook supported version to v4.1.
15298 2001-10-24 José Matos <jamatos@fep.up.pt>
15301 * tabular.C (docbookRow): new function to export docbook code of a row.
15302 (DocBook): now honors the longtable flags.
15304 2001-10-23 José Matos <jamatos@fep.up.pt>
15307 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
15308 of the lyx defined sgml entities used in a docbook/linuxdoc document.
15310 * buffer.C (makeLinuxDocFile):
15311 (makeDocBookFile): reworked the preamble, more clean, and with
15312 support for lyx defined entities. Changed the document declaration
15313 to be more XML friendly.
15315 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
15316 if we need to output XML that should be done with a filter.
15318 2001-10-22 Juergen Vigna <jug@sad.it>
15320 * sp_pspell.h (class PSpell): add alive function needed in the
15321 controller to see if the spellchecker could be started.
15323 2001-10-22 Juergen Vigna <jug@sad.it>
15325 * buffer.C (insertStringAsLines): modify the font for inserting
15326 chars in certain conditions by calling checkInsertChar(font).
15328 2001-10-19 Juergen Vigna <jug@sad.it>
15330 * text.C (workWidth): use getRow instead of wrong algorithm.
15331 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
15333 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
15338 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
15340 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15342 * text.C (workWidth): do not search for the exact row when
15343 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
15344 optimization for big documents.
15346 2001-10-18 Juergen Vigna <jug@sad.it>
15348 * text.C (workWidth): new function with added Inset * parameter.
15350 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15352 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
15354 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
15355 change return type of getColumnNearX.
15358 * text.C (changeRegionCase): use uppercase/lowercase instead of
15361 (rightMargin): simplify code by factoring out the uses of
15366 (appendParagraph): use Paragraph::size_type
15368 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15370 * vspace.C (asLatexString): add a missing break
15372 2001-10-15 Herbert Voss <voss@perce.de>
15374 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
15376 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15378 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
15381 2001-10-10 André Pönitz <poenitz@gmx.net>
15383 * lyxfunc.C: removed greek_kb_flag.
15385 2001-10-10 Herbert Voss <voss@perce.de>
15387 * lyx_main.C: delete global string help_lyxdir.
15389 2001-10-09 Herbert Voss <voss@perce.de>
15391 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
15393 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
15395 * lyx_main.C: added global string help_lyxdir.
15397 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
15399 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
15401 * lyxrc.C (set_font_norm_type): support iso8859-4
15403 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
15405 * LaTeX.C (deplog): add another regex for MikTeX
15407 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
15409 * lyxrc.C (set_font_norm_type): support iso8859-3
15411 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15413 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
15415 * LaTeXFeatures.C: remove special case of french and index
15417 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
15418 before \begin{document}). This solves several incompatibilities.
15420 2001-10-03 Garst Reese <reese@isn.net>
15422 * lyx_cb.C: change CheckTex error msg.
15424 2001-10-03 José Matos <jamatos@fep.up.pt>
15426 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
15428 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15430 * .cvsignore: update
15432 * lyx_main.C (commandLineVersionInfo): use new style version info.
15434 * buffer.C (writeFile):
15436 (makeLinuxDocFile):
15437 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
15439 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
15441 * version.h: update to use stuff in version.C
15443 * version.C.in: new file. Contains version information determined
15444 at compile time. This is a merging of version.h and
15447 2001-10-03 Juergen Vigna <jug@sad.it>
15449 * BufferView_pimpl.C (update): don't change "dirty" status in
15452 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
15454 * WorkArea.C (c-tor): re-position version string slightly.
15456 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
15458 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15459 revert to previous code.
15461 WorkArea.[Ch]: (show, destroySplash): methods removed.
15463 WorkArea.C: rework code so that it's an amalgam of the codes before and
15464 after the splash screen was moved to WorkArea.
15466 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15469 * vspace.C (inPixels):
15472 * buffer.C (insertStringAsLines):
15473 (asciiParagraph): fix types to be large enough
15475 * lyxlex_pimpl.h: change member status from short to int
15477 * layout.h: fix type of endlabeltype
15480 * kbsequence.C (parse): change return type to string::size_type
15482 * LaTeX.C (updateBibtexDependencies): comment out unneeded
15485 * Bullet.C (bulletSize):
15486 (bulletEntry): do not use short ints as parameters
15488 * BufferView2.C (insertLyXFile): change a char to an int.
15490 * WorkArea.C (WorkArea): remove unneeded floats in computation
15492 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
15494 * buffer.C (asciiParagraph): Treat '\\' as other chars.
15496 * paragraph.C (asString): Do not ignore newline/hfill chars when
15497 copying to the clipboard.
15499 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
15501 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15502 after a multi-line inset.
15504 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
15506 * paragraph.C (validate): Set NeedLyXFootnoteCode
15508 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
15510 * lyxfont.C (LyXSizeNames): changed increase-error to increase
15511 and decrease-error to decrease.
15513 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15515 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15516 it more readable (should be equivalent)
15518 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
15520 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15522 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15524 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15525 of a cursor (row, etc.) after a character has been deleted
15526 (deleteEmptyParagraphMechanism): call the method above on _all_
15527 cursors held by the LyXText when a double space has been
15530 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
15532 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15534 (resizeCurrentBuff): remove code to destroy the old splash dialog.
15536 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15537 background. Use greyOut() and the new show() methods to toggle between
15538 the foreground and background. Add code to remove the splash after
15539 its initial showing.
15541 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15542 (create_forms): no longer call Dialogs::showSplash.
15544 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15546 * .cvsignore: add version_info.h
15548 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15550 * version_info.h.in: new file
15552 * Makefile.am: add version_info.h.in
15554 * lyx_main.C (commandLineVersionInfo): use version_info defined in
15555 version_info.h instead of VERSION_INFO
15557 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
15559 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15560 The ERT inset now returns string().
15562 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
15564 * lyxtext.h, text.C (selectNextWord): renamed as
15565 selectNextWordToSpellcheck.
15567 * text.C (selectNextWordToSpellcheck): Modified to not select
15568 words inside an ERT inset.
15570 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15572 * lyx_cb.C (MenuLayoutSave): change a bit the question
15574 * sp_base.h: include <sys/types.h>
15576 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
15578 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15580 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
15582 * several files: fix typos in user-visible strings
15584 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15586 * text2.C (pasteSelection): do not set the selection, since it
15587 will be cleared later. Actually, the intent was to fix the way the
15588 selection was set, but I figured rmoving the code was just as good.
15590 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
15592 * FontLoader.C (available): Check if font is available without
15595 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
15597 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15599 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
15601 * lyxrc.[Ch]: added display_graphics variable and associated code.
15603 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15605 * bufferparams.C (hasClassDefaults): new method. Returns true if
15606 the buffer parameters correspond to known class defaults
15608 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
15610 * XFormsView.C (show): set minimum size to the main window.
15612 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15614 * text2.C (copySelection):
15616 * lyxfind.C (LyXReplace):
15617 * BufferView_pimpl.C (Dispatch): pass the correct flag to
15618 LyXText::selectionAsString.
15620 * paragraph.C (asString): add "label" argument to the second form
15622 * text2.C (selectionAsString): add "label" argument and pass it to
15623 Paragraph::asString.
15625 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15627 * lyx_main.C (commandLineHelp): remove version information
15629 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
15631 * lyx_main.C: add -version commandline option
15633 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15635 * paragraph.h: make the optional constructor arg required instead.
15636 some modifications to other files because of this.
15638 * minibuffer.C (C_MiniBuffer_peek_event): make it static
15640 * lyxserver.C (C_LyXComm_callback): make it static
15642 * lyx_main.C (error_handler): make it static
15644 * lyx_gui.C (LyX_XErrHandler): make it static
15646 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15648 * WorkArea.C: make the extern "C" methods static.
15650 * Makefile.am (lyx_LDADD): simplify
15652 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15654 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15655 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15657 * LyXAction.C (init):
15658 * lyxfunc.C (dispatch): associated code removal.
15660 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15662 * lyxfont.h (isSymbolFont): shut off warning
15664 * text.C (setHeightOfRow):
15665 (getVisibleRow): fix crash with empty paragraphs which have a
15668 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
15670 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15673 2001-09-04 José Matos <jamatos@fep.up.pt>
15676 * tabular.C (docbook): rename docBook method to docbook.
15678 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15680 * Makefile.am: add dependencies to main.o.
15682 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
15684 * FontLoader.C (available): Return false if !lyxrc.use_gui
15686 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
15688 * FontInfo.C (query):
15689 * converter.C (view):
15690 * importer.C (Import):
15691 * exporter.C (Export): Can not -> cannot.
15693 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
15695 * BufferView_pimpl.C: allow to create index inset even if
15698 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15700 * buffer.C (getLists): replace boost::tie code with an explicit pair
15701 as boost::tie can break some compilers.
15703 * iterators.h: Added a std:: declaration to the return type of
15706 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
15708 * lyxrc.C: add help for view_dvi_paper_option, default to safe
15711 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
15713 * iterators.[Ch]: New files. Provide paragraph iterators.
15715 * buffer.C (changeLanguage): Use paragraph iterators.
15716 (isMultiLingual): ditto
15718 * BufferView2.C (ChangeInsets): Use paragraph iterators.
15720 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
15722 * FontLoader.C: Support for cmr font.
15724 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
15726 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15727 (available): New method.
15729 * FontInfo.C (getFontname): Use scalable fonts even when
15730 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15733 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15735 * converter.C (Formats::view): reverted! Incorrect fix.
15737 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15739 * converter.C (Formats::view): only output the -paper option
15740 if the dvi viewer is xdvi, thereby fixing bug #233429.
15742 2001-08-23 Herbert Voss <voss@perce>
15744 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15746 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
15748 * Spacing.h (Spacing): Set space to Default on in the default
15751 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
15753 * vc-backend.h (RCS::versionString): add RCS to version
15754 (CVS::versionString): add CVS to version
15756 * vc-backend.C (scanMaster): do not add CVS to version.
15757 (scanMaster): do not add RCS to version
15759 * lyxvc.C (versionString): new method
15761 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15763 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15765 * Spacing.C (set): initialize fval
15767 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
15769 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15772 2001-08-16 Juergen Vigna <jug@sad.it>
15774 * lyxfunc.C (dispatch): implemented the new FINISHED states.
15776 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15778 * BufferView_pimpl.C:
15781 * text2.C: setParagraph takes linespacing now
15783 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
15785 * LyxAction.C: add internal LFUN_CITATION_INSERT
15787 * LyXView.C: actually apply fix
15789 * bufferlist.C: fix open non-existent file
15791 * lyxfind.C: fix indentation
15793 * lyxfunc.C: remove unneeded assert, fix typo
15795 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15797 * MenuBackend.C: use "Floatname List"
15799 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
15801 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15802 when converting LaTeX layout to insetERT.
15803 Generate a non-collapsed float when reading old float
15805 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15807 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15810 2001-08-13 Juergen Vigna <jug@sad.it>
15812 * text.C (fill): return 0 instead of 20 as this seems to be the more
15815 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15817 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15820 2001-08-13 Juergen Vigna <jug@sad.it>
15822 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15824 (SearchBackward): comment out the unlocking of the inset_owner this
15825 should not be needed!
15827 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
15829 * Many files: Remove inherit_language, and add latex_language
15831 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15832 collapsible insets.
15834 2001-08-10 Juergen Vigna <jug@sad.it>
15836 * text.C (prepareToPrint): fixed hfill-width in draw!
15838 * BufferView2.C (selectLastWord): save the selection cursor as this
15839 now is cleared in the function LyXText::clearSelection!
15841 2001-08-08 Juergen Vigna <jug@sad.it>
15843 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15844 BACKSPACE type functions.
15846 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15847 is only cutted from the document but not put in the cut-buffer, where
15848 still the old stuff should be.
15850 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15852 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15854 * tabular.C (SetWidthOfCell): fixed special case where the width
15856 (LeftLine): handle '|' in align_special.
15858 (LeftAlreadyDrawed): ditto
15859 (SetWidthOfCell): ditto
15861 2001-08-07 Juergen Vigna <jug@sad.it>
15863 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15865 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15867 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15868 * lyxlex.[hC]: ditto
15870 2001-08-06 Juergen Vigna <jug@sad.it>
15872 * text.C (getVisibleRow): fix up row clearing a bit.
15874 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15876 * minibuffer.C: make sure the X server sees the changes in the input.
15878 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15880 * paragraph.C (getFont): split into...
15881 (getLabelFont): this
15882 (getLayoutFont): and this
15883 * paragraph_pimpl.C (realizeFont): calling this
15885 * text2.C (getFont): split into...
15886 (getLayoutFont): this
15887 (getLabelFont): and this
15888 (realizeFont): all three calling this
15890 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15893 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15895 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15897 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
15899 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15900 layouts from the Quote inset insertion.
15902 2001-08-03 Juergen Vigna <jug@sad.it>
15904 * BufferView_pimpl.C (update): do the fitCursor only at the end!
15906 * screen.C (drawFromTo): don't call fitcursor here and do the loop
15907 only if status not is already CHANGED_IN_DRAW (second level).
15909 * text.C (draw): don't set the need_break_row when inside an
15912 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
15914 * buffer.C (parseSingleLyXformat2Token): handle more latex
15917 * bufferview_funcs.[hC]: change function names to
15918 begin with small char, adjust other files.
15920 2001-08-02 André Pönitz <poenitz@gmx.net>
15923 BufferView_pimpl.C: remove broken special code for math-greek
15925 2001-08-02 Juergen Vigna <jug@sad.it>
15927 * BufferView_pimpl.C (update): redone this function so that we
15928 update the text again if there was a CHANGE_IN_DRAW.
15930 * screen.C (cursorToggle): removed LyXText parameter and recoded.
15931 (drawFromTo): added a new internal bool which is used by draw() and
15933 (general): some cursor drawing problems fixed.
15935 2001-08-01 Juergen Vigna <jug@sad.it>
15937 * lyxfind.C (LyXFind): fixed
15938 (SearchForward): ditto
15939 (SearchBackward): ditto
15941 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15942 spurius drawing of the cursor in the main area.
15944 * text2.C (status): small fix which could lead to a segfault!
15945 (clearSelection): remove unneeded BufferView param.
15947 2001-08-01 André Pönitz <poenitz@gmx.net>
15949 * lyxfunc.C: small change due to changed mathed interface
15951 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15953 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15955 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
15957 * lyxfunc.c: fail gracefully if file doesn't exist
15962 * BufferView_pimpl.C: IsDirWriteable() proto changed
15964 * LyXView.C: fix updateWindowTitle() to store the last title
15966 2001-07-31 Juergen Vigna <jug@sad.it>
15968 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15969 the font (wrong since using of Paragraph::highestFontInRange).
15971 * paragraph.C (highestFontInRange): added a default_size parameter.
15973 * text.C (getVisibleRow): minor clear row changes (still not perfect).
15974 (setHeightOfRow): reformat
15976 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15978 * converter.[hC] + affected files: move to (inital-char)lowercase
15981 * ParagraphParameters.C (ParagraphParameters): remove commented code
15983 * PainterBase.[Ch]: remove commented code
15985 * LaTeXFeatures.h: add "bool floats" for float.sty
15987 * LaTeXFeatures.C (LaTeXFeatures): init floats
15988 (require): handle float
15989 (getPackages): do it with floats
15991 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15993 * BufferView_pimpl.C (Dispatch): improve handling of
15994 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15996 * commandtags.h: #include lyxfont.h here temporarily to avoid
15999 * bufferlist.h: include LString.h here.
16001 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16003 * text2.C (getStringToIndex): new method.
16005 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
16007 * *: Reduced header file dependencies all over.
16009 2001-07-30 Baruch Even <baruch@lyx.org>
16011 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
16013 2001-07-29 Baruch Even <baruch@lyx.org>
16015 * buffer.C (readInset): Changed GRAPHICS to Graphics.
16017 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16019 * ParameterStruct.h (endif): add a default constructor to make
16020 sure that all variables is initialized.
16022 * ParagraphParameters.C (ParagraphParameters): adjust
16024 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16026 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
16027 index; also, check that there is something to index, and that it
16028 does not span over several paragraphs.
16029 (doubleClick): use WHOLE_WORD_STRICT for double click.
16031 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
16033 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
16036 2001-07-26 Baruch Even <baruch@lyx.org>
16038 * buffer.C (readInset): Changed to call up InsetGraphics when reading
16039 an InsetFig figure, backwards compatible reading of old figure code.
16041 2001-07-27 Juergen Vigna <jug@sad.it>
16043 * text2.C: font.realize function adaption.
16045 * text.C (draw): add a warnings lyxerr text if needed.
16047 * layout.C: font.realize function adaption.
16049 * language.C: add inherit_language and implement it's handlings
16051 * bufferview_funcs.C (StyleReset): remove language parameter from
16052 font creation (should be language_inherit now).
16054 * bufferparams.C (writeFile): handle ignore_language.
16056 * paragraph.C (getFontSettings): the language has to be resolved
16057 otherwise we have problems in LyXFont!
16059 * lyxfont.C (lyxWriteChanges): added document_language parameter
16060 (update): removed unneeded language parameter
16062 * paragraph.C (validate): fixed wrong output of color-package when
16063 using interface colors for certain fonts in certain environments,
16064 which should not seen as that on the final output.
16066 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
16068 * BufferView_pimpl.C:
16073 * LyXAction.C: add thesaurus support
16076 * lyxfind.C: add "once" parameter, for thesaurus, to not
16077 move to the next match
16079 2001-07-26 Juergen Vigna <jug@sad.it>
16081 * lyxfont.C (realize): honor ignore_language too!
16084 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
16086 * text.C (draw): one place more for ignore_language to not draw
16089 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
16091 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
16093 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16095 * buffer.C (parseSingleLyXformat2Token): a more general fix for
16096 the minipage conversion problem.
16098 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16100 * buffer.C (parseSingleLyXformat2Token): check minipage if we
16103 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16105 * BufferView.h: don't forward declare WorkArea
16107 * BufferView.C: don't include WorkArea.h
16109 2001-07-25 André Pönitz <poenitz@gmx.net>
16113 * lyxfunc.C: new LFUN 'math-space'
16115 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
16117 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16119 * text2.C (toggleInset): call open/close
16121 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16123 * lyxfunc.C (dispatch): add debug for the disabled case
16125 * font.C (buttonText): make similar to rectText
16127 * buffer.C (readInset): comment out parsing of insetlist and
16130 * PainterBase.C (rectText): small correction
16132 * BufferView_pimpl.C: comment out insettheorem and insetlist
16133 * LyXAction.C: ditto
16134 * commandtags.h: ditto
16136 2001-07-24 Juergen Vigna <jug@sad.it>
16138 * text.C (draw): honor the ignore_language.
16140 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
16142 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16144 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
16147 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16149 * lyxtext.h: remove unused (and unimplemented) methods
16151 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16153 * text.C (getVisibleRow): honor background color
16156 * Painter.h: remove default color argument for fillRectangle
16158 * text.C (backgroundColor): new method
16160 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16162 * text.C (getVisibleRow): adjust
16164 * font.[Ch] (rectText): new method, metrics
16165 (buttonText): new method, metrics
16167 * PainterBase.[hC]: make rectText and buttonText always draw and take
16170 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16172 * ToolbarDefaults.C (read):
16173 * MenuBackend.C (read): allow escaping in all strings
16175 * BufferView_pimpl.C (insertAndEditInset): new method.
16176 (Dispatch): use insertAndEditInset whenever appropriate.
16178 * BufferView_pimpl.C (insertNote): removed
16180 * BufferView_pimpl.C (smartQuote): new method, moved from
16181 BufferView; if an insetquote cannot be inserted, insert a '"'
16184 * BufferView2.C: remove insertCorrectQuote();
16186 * lyxfunc.C (getStatus): Add support for all remaingin
16187 inset-insert lfuns.
16189 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
16191 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
16192 command (necessary to pass " as parameter of self-insert.
16194 * text.C (selectWordWhenUnderCursor):
16195 (selectWord): add word_location parameter
16196 (selectWordWhenUnderCursor): same + remove special code for word
16198 (selectNextWord): use kind() to guess type of insetspecialchar,
16201 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
16202 (insertErtContents): create ert insets as collapsed.
16203 (readInset): better compatibility code for Info inset.
16205 2001-07-20 Juergen Vigna <jug@sad.it>
16207 * lyxfunc.C (dispatch): use always LyXFind now!
16209 * text2.C (init): add a reinit flag so that the LyXText can be
16210 reinited instead of deleted and reallocated (used in InsetText).
16212 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
16218 2001-07-18 Juergen Vigna <jug@sad.it>
16220 * text.C (selectNextWord): handle insets inside inset by calling
16221 always the bv->text functions so that we can go up the_locking_inset!
16223 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
16224 in strange locations when inside an inset!
16226 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
16227 handling to include insets.
16229 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
16231 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16233 * LyXAction.C (init):
16235 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
16236 LIGATURE_BREAK, since the name is so stupid.
16238 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
16240 * buffer.C (readInset): enable reading of new InsetNotes as well as old
16243 * FontLoader.C: remove FORMS_H_LOCATION cruft.
16245 * sp_form.[Ch]: remove.
16247 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
16249 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
16252 * src/buffer.C (readInset): ditto.
16254 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16256 * BufferView_pimpl.C (specialChar): new method. Obsoletes
16257 menuSeparator(), endOfSentenceDot(), ldots() and
16258 hyphenationPoint(), which are therefore removed.
16259 (Dispatch): handle LFUN_HYPHENATION_BREAK.
16261 * LyXAction.C (init):
16262 * commandtags.h: add LFUN_HYPHENATION_BREAK.
16264 * paragraph.C (getWord): removed.
16266 * BufferView_pimpl.C (Dispatch): use last word or selection for
16267 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
16269 * lyx_main.C (queryUserLyXDir): do not ask before creating
16270 user_dir, except if it has been named explicitely.
16272 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
16274 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
16275 a document of zero size.
16277 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
16279 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
16280 approriately in the c-tor and in require().
16281 (getPackages): output the appropriate LaTeX for natbib support.
16283 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
16284 variables "use_natbib" and "use_numerical_citations" when reading the
16286 (readInset): read the various natbib cite commands.
16287 (validate): white-space change.
16289 * bufferparams.[Ch]: new variables "bool use_natbib" and
16290 "bool use_numerical_citations".
16291 (writeFile): output them in the LyX file.
16293 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16295 * lyxfunc.C (getStatus): add support for all the inset insertion
16298 * text2.C (insertInset):
16299 * paragraph.C (insetAllowed):
16300 * BufferView_pimpl.C (insertInset): update to take in account the
16301 renaming of insertInsetAllowed
16303 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
16305 * text2.C (getInset): new method. returns inset at cursor position.
16307 * BufferView_pimpl.C (Dispatch): changes because of this.
16309 * LyXAction.C (init): rename open-stuff to inset-toggle.
16311 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
16313 * text2.C (toggleInset): renamed from openStuff; use
16316 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
16318 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
16320 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
16322 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
16324 * buffer.C (readLyXformat2): Add filename to the error dialog
16326 2001-07-18 Juergen Vigna <jug@sad.it>
16328 * tabular.C (GetCellNumber): put an assert here instead of the check!
16330 2001-07-17 Juergen Vigna <jug@sad.it>
16332 * BufferView_pimpl.C (toggleSelection): adapted too.
16334 * text.C (selectNextWord): adapted for use with insets.
16335 (selectSelectedWord): ditto
16337 2001-07-17 Juergen Vigna <jug@sad.it>
16339 * sp_spell.C (PSpell): fix initialitation order.
16341 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16343 * paragraph.C: spacing
16345 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
16347 * sp_spell.C: repair language selection for pspell
16349 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
16351 * lyxfunc.h: change more methods to begin with lower char.
16353 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
16355 * buffer.C (parseSingleLyXformat2Token): Generate error insets
16356 for unknown layouts.
16358 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
16360 * buffer.C (readLyXformat2): Generate an error dialog if there are
16363 2001-07-16 Juergen Vigna <jug@sad.it>
16365 * sp_spell.C: always compile ISpell part.
16367 * lyxrc.C: added use_pspell entry and it's handling.
16369 2001-07-13 Juergen Vigna <jug@sad.it>
16371 * sp_spell.C: removed double includes.
16373 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
16375 Consistent use of Lsstream.h:
16376 * Lsstream.h: added using std::stringstream for consistencies sake.
16378 * buffer.C: removed using std::stringstream
16380 * lyxfont.C (stateText):
16381 * paragraph.C (asString):
16382 * text.C (selectNextWord, selectSelectedWord):
16383 * text2.C (setCounter):
16384 * vspace.C (asString, asLatexString):
16385 std::ostringstream -> ostringstream.
16387 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
16389 * LyXAction.C: add LFUN_HELP_ABOUTLYX
16390 * commandtags.h: add LFUN_HELP_ABOUTLYX
16391 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
16393 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
16395 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
16397 * lyx_gui_misc.C: remove spellchecker
16398 * lyxfunc.C: showSpellchecker
16400 * sp_ispell.h: added
16401 * sp_pspell.h: added
16402 * sp_spell.C: added
16403 * sp_form.[Ch]: removed
16404 * spellchecker.[Ch]: removed
16406 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
16408 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
16410 (simpleTeXSpecialChars): Simply print the input character without
16411 any special translation if pass_thru is set.
16413 * layout.h: Added bool pass_thru to layout class for being able to
16414 implement pass through of a paragraph for Literate Programming.
16416 * layout.C: add LT_PASS_THRU to LayoutTags enum.
16417 * layout.C (LyXLayout): set pass_thru to flase in constructor.
16418 * layout.C (Read): add "passthru" to list of layout tags and add
16419 code to set the pass_thru boolean when it is read.
16421 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
16423 * trans_decl.h: remove allowed from KmodInfo
16425 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
16426 remove allowed code
16429 * paragraph_pimpl.C (erase): use boost::prior
16431 * Painter.C (text): use data() instead of c_str() when length is
16433 * WorkArea.C (putClipboard): ditto
16434 * font.h (width): ditto
16436 * BufferView2.C: use it-> instead of (*it). for iterators
16438 * paragraph_pimpl.C: ditto
16439 * paragraph.C: ditto
16440 * minibuffer.C: ditto
16441 * language.C: ditto
16443 * encoding.C: ditto
16444 * counters.C: ditto
16445 * converter.C: ditto
16447 * Variables.C: ditto
16448 * TextCache.C: ditto
16449 * MenuBackend.C: ditto
16450 * LyXAction.C: ditto
16452 * FloatList.C: ditto
16453 * DepTable.C: ditto
16454 * ColorHandler.C (LyXColorHandler): ditto
16456 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16458 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16460 * text2.C (openStuff): reintroduce this method (which had been
16461 nuked in NEW_INSETS frenzy).
16463 * lyxfunc.C (Dispatch): when an action has not been handled, use
16464 its name in the error message, not its number.
16466 * paragraph.C (inInset): change method name to begin with lowercase.
16469 * text2.C: updates because of this.
16471 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16473 * ToolbarDefaults.C (add): add spaces in error message
16475 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
16477 * buffer.C (readLyXformat2): initialize the ert comp. variables.
16478 (readLyXformat2): rename return_par to first_par, use lyxlex's
16479 pushToken and remove the manual push handling.
16480 (parseSingleLyXformat2Token): add another ert comp. variable:
16481 in_tabular, rename return_par to first_par. handle newlines better
16483 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16485 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16487 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
16489 * text2.C (getParFromID): removed
16491 * buffer.C (getParFromID): new method moved form lyxtext.
16492 * BufferView2.C (insertErrors): adjust
16493 (setCursorFromRow): adjust
16494 * BufferView_pimpl.C (restorePosition): adjust
16495 * lyxfunc.C (Dispatch): adjust
16496 * undo_funcs.C (textUndo): adjust
16498 (textHandleUndo): adjust
16499 (textHandleUndo): adjust
16501 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
16503 * buffer.C: up' the LYX_FORMAT
16505 * lyxfont.h: turn NO_LATEX on as default
16507 * buffer.C (insertErtContents): new methods of tex style compability.
16508 (parseSingleLyXformat2Token): use it several places.
16509 * tabular.C (OldFormatRead): and here
16511 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
16513 * text2.C: remove some commented code.
16516 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16517 * trans.C: changes because of the above.
16519 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
16521 * text2.C (setCounter): Fix counters bug with bibliography layout.
16523 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16525 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16526 own member functions
16527 (simpleTeXSpecialChars): ditto
16529 2001-07-06 Juergen Vigna <jug@sad.it>
16531 * a lot of files: changed the access to LyXText::status and the
16532 call of undo-functions.
16534 * undo.[Ch]: added a inset_id to the undo informations.
16536 * undo_funcs.[Ch]: added and moved here all undo functions.
16538 * lyxtext.h: give the status enum a weight, made status_ a private
16539 variable and made accessor functions for it, removed the whole bunch
16540 of undo-functions as they are now in their own file, make some
16541 functions publically available. Added function ownerParagraph with
16544 * paragraph.[Ch]: added "bool same_ids" to the constructor,
16545 made InInset() a const function, added getParFromID() function.
16547 * buffer.[Ch]: added const version for inset_iterator functions,
16548 added getInsetFromID() function.
16550 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16551 changed undo functions for new version.
16553 2001-07-05 Juergen Vigna <jug@sad.it>
16555 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16556 unknow mechanism does not call the proper constructor but only this
16557 one also if I request the other!?
16559 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16561 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16563 * text2.C (LyXText): use initialization lists.
16565 * lyxtext.h (Selection): initialize set_ and mark_
16566 (init): remove method
16568 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
16570 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16572 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16574 * screen.[Ch]: change method names to begin with lowercase
16576 * BufferView_pimpl.C (updateScrollbar): simplify further and
16577 hopefully make it a bit faster.
16579 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16581 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16582 calling directly xforms functions.
16584 * Painter.C (Painter):
16585 * lyx_cb.C (MenuWrite):
16586 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16589 * lyx_gui.C: remove bogus guiruntime extern declaration.
16591 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16593 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16595 (redoDrawingOfParagraph): ditto
16596 (redoParagraphs): ditto
16597 (cutSelection): don't create a object for CutAndPaste use the
16598 static method directly
16599 (pasteSelection): ditto
16601 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16604 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16606 * modifications to some other files because of this.
16608 * Makefile.am (lyx_SOURCES): add XFormsView
16610 * XFormsView.[Ch]: new files
16612 * LyXView.[Ch]: make LyXView a base class for the gui handling for
16613 the main window. Move the gui dependent stuff to XFormsView
16615 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16617 * tabular.C (GetCellInset): update cur_cell also in the row/col
16618 version of this function.
16620 * lyxfunc.C: no need to include figure_form.h here.
16626 * lyxvc.C: no need to include forms.h here.
16628 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16630 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16632 * lyxfunc.C (Dispatch):
16634 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16635 constructor argument.
16637 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16639 * paragraph.C (Paragraph): dont't clear, and just set layout.
16640 (makeSameLayout): use params's copy contructor.
16642 * ParagraphParameters.[Ch] (makeSame): delete method
16644 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
16646 * Variables.[Ch]: fix indentation, rename set to isSet
16648 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16650 * lyxfunc.C (Dispatch): fix typo
16652 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16654 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16657 * bufferlist.C: include assert.h for emergencyWrite().
16659 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16661 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16662 give up at last (bug #425202) !
16664 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
16670 * spellchecker.C: strip spellchecker options and bring up
16671 preferences tab instead
16673 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16675 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16676 the istringstream constructor
16678 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16680 * paragraph.C (getLayout): fix return value
16682 * paragraph.h: do not declare getLayout as inline.
16684 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16686 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16688 * lyxcursor.h (operator<): new func
16689 (operator>): new func
16690 (operator>=): new func
16691 (operator<=): new func
16693 * text.C (changeCase): use selection.start and selection.end
16694 (changeRegionCase): require from to be <= to. Require par to be a
16697 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16699 2001-06-27 Juergen Vigna <jug@sad.it>
16701 * text.C (cursorLeftOneWord): changed to return the cursor and added
16702 overlay with BufferView * parameter which calls this one.
16704 (selectWord): use new getWord function.
16705 (changeCase): renamed from changeWordCase as and extended to work
16706 also on selections.
16708 * lyxtext.h: added enum word_location
16710 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16711 changeCase as this operates now also on selections.
16713 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
16715 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16717 * many files: send debug output to Debug::INFO instead of
16720 * converter.C (View):
16722 (Move): send debug output to Debug::FILES instead of console.
16724 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
16726 * lyxfunc.C (getStatus): use func_status
16728 * func_status.h: new header, describing the results of
16729 LyXFunc::getStatus;
16731 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16734 2001-06-25 The LyX Project <jug@sad.it>
16736 * buffer.C (sgmlOpenTag):
16738 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
16740 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16742 * text2.C: remove some dead code
16744 * tabular.C (GetCellInset): store the last cell checked (gotten)
16746 * tabular.h: add the helper for the speedup
16748 * lyxtext.h: remove some dead code
16750 2001-06-26 The LyX Project <Asger>
16752 * paragraph.C: Change export to LaTeX of alignment to
16753 \begin{center} and family for better roundtrip work with reLyX.
16755 * Tune the math drawing a bit.
16757 2001-06-25 The LyX Project <Asger>
16759 * LColor.C (LColor): New color for math background. New color
16762 2001-06-25 The LyX Project <jug@sad.it>
16764 * lyxfunc.C (MenuNew): remove extra check for .lyx file
16766 * lyxfunc.C (Open):
16767 * bufferlist.C (newFile): do not restrict to files ending with
16770 * BufferView_pimpl.C (MenuInsertLyXFile):
16772 2001-06-24 The LyX Project <jug@sad.it>
16774 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16777 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16779 * lyxtext.h: rename most methods to begin with a small char.
16780 Lots of changes because of this.
16782 * paragraph.C (Paragraph): do not call fitToSize
16783 (erase): call Pimpl::erase
16784 (insertChar): call Pimpl::insertChar
16785 (insertInset): call Pipl::insertInset
16786 (breakParagraph): do not call fitToSize
16787 (breakParagraphConservative): do not call fitToSize
16788 (fitToSize): remove method
16790 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16792 2001-06-24 The LyX Project <Asger>
16794 * Fix Qt compilation^2
16796 2001-06-24 The LyX Project <jug@sad.it>
16798 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16799 depthHook(getDepth()-1).
16802 * ParagraphParameters.h:
16803 * ParameterStruct.h: change type of depth to unsigned int ==
16804 depth_type. Many adaptations to other files before of that.
16806 2001-06-24 The LyX Project <Asger>
16808 * Fix Qt compilation.
16810 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16812 * paragraph.h: renamed several methods to begin with small letter.
16813 several changes to many parts of the code because of this.
16815 2001-06-23 The LyX Project <jug@sad.it>
16817 * text2.C (InsertStringAsLines): renamed from InsertStringA;
16818 rewritten to discard all double spaces when KeepEmpty is off
16819 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16820 to only handle newlines but not fiddle with spaces and friends.
16822 * lyxfunc.C (MenuNew): when doing 'new from template', use
16823 template_path as default directory
16825 2001-06-23 The LyX Project <Asger>
16827 * Clean-up of header file includes all over
16828 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16830 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16832 * paragraph.h: renamed from lyxparagraph.h
16834 2001-06-23 Asger <lyx@violet.home.sad.it>
16836 * Buffer.h: Removed Buffer::resize
16837 * BufferList.h: Removed BufferList::resize
16838 * LyXView.h: Added LyXView::resize. This way, we will only reflow
16839 the document lazily when we change the width, or the font settings.
16841 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16843 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16845 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16847 * buffer.h: remove out of date comment
16849 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16852 * screen.C: fix "theoretical" GC leak
16854 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16856 * LaTeX.C (scanAuxFile):
16857 (deplog): remove trailing \r when reading stream (useful under
16860 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
16862 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16863 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16864 and BufferView::theLockingInset(Inset*), so should use them and not
16865 access bv_->text->the_locking_inset directly.
16867 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16869 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16872 * tex-defs.h: remove old unused file
16874 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
16876 * BufferView_pimpl.C: fix typo, remove minibuffer message
16877 when buffer has loaded
16879 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
16881 * lyxfunc.C (Dispatch): use stringstream
16882 (MenuNew): use stringstream
16883 (Open): use stringstream
16885 * importer.C (Import): use stringstream
16887 * bufferview_funcs.C (CurrentState): use stringstream
16889 * LaTeX.C (run): use stringstream
16891 * BufferView_pimpl.C (savePosition): use stringstream
16892 (restorePosition): use stringstream
16893 (MenuInsertLyXFile): use stringstream
16895 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
16908 * vspace.C: removed // -*- C++ -*- as first line.
16911 * version.h: added // -*- C++ -*- as first line.
16913 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16915 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16917 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16920 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
16922 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16925 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16927 * gettext.C: include LString.h even when --disable-nls is on.
16929 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
16931 * converter.h (Get): changed argument type from int to
16932 FormatList::size_type to avoid unnecessary conversion.
16934 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16937 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16939 * gettext.h: include LString.h even when --disable-nls is on.
16941 2001-06-07 Juergen Vigna <jug@sad.it>
16943 * text.C (BreakAgain): subst spaces with tabs.
16945 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16946 (resizeInsetsLyXText): set force on resizeLyXText.
16948 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16950 * gettext.h (gettext_init):
16951 (locale_init): use a real definition instead of a macro
16953 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16955 * Bufferview_pimpl.C:
16957 * LColor.C: further lcolor tidies
16959 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
16961 * BufferView_pimpl.C (updateScrollbar): simplify.
16963 * BufferView2.C: don't include insets/insetinfo.h, change
16964 prototype for insertInset and call the Pimpl version. let
16965 updateInset call Pimpl version.
16967 * BufferView.h: move inset_slept to BufferView::Pimpl, move
16968 gotoInset to BufferView::Pimpl
16970 2001-06-01 Juergen Vigna <jug@sad.it>
16972 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16973 inside a LockingInset (is the update needed at all?).
16975 2001-05-31 Juergen Vigna <jug@sad.it>
16977 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16978 here not the old one otherwise how should we compare it afterwards
16981 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16986 * FontInfo.C: bring C functions into global namespace when
16989 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16991 * LString.h: make sure config.h has been loaded before LString.h.
16993 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16994 (one for each char read by EatLine!).
16996 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16999 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
17001 * paragraph.C (BreakParagraph): set the inset_owner in the new par
17002 to the same as the par we break from
17004 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
17006 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
17008 * MenuBackend.C (expand): also create menu entries for wide
17009 versions of the floats.
17011 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
17013 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
17015 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
17016 frontends/Makefile.am
17022 * tabular.C (getTokenValue): add std::
17024 * tabular-old.C (getTokenValue): add std::
17025 (getTokenValue): ditto
17026 (getTokenValue): ditto
17028 * screen.C (ToggleSelection): adjust
17030 * lyxtext.h: put selection cursors inside a Selection struct.
17032 * lyxfunc.C (moveCursorUpdate): adjust
17034 * lyxfont.C (latexWriteStartChanges): add std::
17036 * lyxfind.C: adjust
17038 * font.h: delete with(char const *, LyXFont const &)
17040 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
17042 * FontInfo.C (getFontname): add std::
17044 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
17045 (workAreaButtonPress): adjust
17046 (tripleClick): adjust
17048 (moveCursorUpdate): adjust
17051 * BufferView2.C (gotoInset): adjust
17053 2001-05-30 Juergen Vigna <jug@sad.it>
17055 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
17056 to check pspell I add this as default as I now have new pspell
17057 libraries and they seem to use this.
17059 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
17061 * text2.C (CutSelection): make the cursor valid before the call to
17064 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17066 * kbsequence.C (parse): de-uglify a bit the parsing code, which
17067 relied on 0 terminated strings and other horrors. Bug found due to
17068 the new assert in lyxstring!
17070 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
17073 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
17075 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
17078 * lyxfunc.C (processKeySym): change method of getting to the
17081 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
17082 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
17083 * BufferView_pimpl.[Ch]: here as private methods.
17085 2001-05-28 Juergen Vigna <jug@sad.it>
17087 * text.C (SetHeightOfRow): added the update() call again as it is
17088 needed to initialize inset dimensions!
17090 2001-05-16 Juergen Vigna <jug@sad.it>
17092 * text2.C (SetCharFont): Add new function with BufferView * and
17093 bool toggleall parameters for setting insets internal fonts.
17094 (SetFont): Freeze the undo as we may change fonts in Insets and
17095 all this change should be inside only one Undo!
17097 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
17098 setting font's in insets as for them we have the SetFont function!
17100 2001-05-15 Juergen Vigna <jug@sad.it>
17102 * text2.C (ClearSelection): to be sure we REALLY don't have any
17105 * tabular.C (TeXCellPreamble): fixed the left border problem for
17108 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
17110 * LaTeX.C (deplog): Make sure that the main .tex file is in the
17113 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
17115 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
17116 LFUN_BREAKPARAGRAPH.
17118 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
17119 help test to "internal only", similar for LFUN_INSERT_URL
17121 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
17122 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
17123 auto_region_delete and deadkeys.
17125 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
17128 * LColor.C: remove some dead entries, tidy a little
17130 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
17132 * lyxfunc.C (processKeySym): comment the Escape handling, remove
17134 (Dispatch): implement LFUN_ESCAPE
17136 * commandtags.h: add LFUN_ESCAPE
17138 * LyXAction.C (init): add entry for LFUN_ESCAPE
17140 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
17141 Remove commented code.
17142 (insertNote): moved here
17143 (open_new_inset): moved here
17145 * BufferView[2].[Ch]: move insertNote and open_new_inset to
17148 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17150 * kbmap.C (findbinding): clean it up and make it work correctly.
17152 * lyx_main.C (init): do not pass argc and argv as parameters
17154 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
17156 * buffer.C: fix path for OS/2 & Win32
17160 * lyx_main.C: Added os:: class.
17162 * os2_defines.h: update
17164 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
17166 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
17167 better by trying again with reduced state.
17169 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17171 * lyxrc.C (read): print error about invalid key sequence only when
17172 debugging (because not all latinX keysyms are known to some X
17175 * kbsequence.C (getiso): add a few std:: qualifiers
17176 (getiso): comment out extra return statement.
17178 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
17180 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
17182 (Dispatch): enhance the accent inset a bit. (not perfect)
17184 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
17186 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
17188 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17190 * bufferlist.C (emergencyWrite): fix assert() call
17192 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
17194 * text.C (InsertChar): Added trivial patch to only send the "you
17195 can not do multiple spaces this way" message once during a
17198 2001-05-08 Baruch Even <baruch@lyx.org>
17200 * Makefile.am: Changed order of libraries to get LyX to link properly
17201 with the gnome frontend.
17203 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17205 * LaTeXFeatures.h: add a std:: qualifier
17207 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
17209 * paragraph.C (String): use stringstream
17211 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
17213 * paragraph.C (writeFile): remove footflag arg
17215 * buffer.C (makeLaTeXFile): use stringstream
17216 (latexParagraphs): remove footnot gurba
17218 * LaTeXFeatures.C (getPackages): use stringstream
17219 (getMacros): likewise
17220 (getTClassPreamble): likewise
17221 (getFloatDefinitions): new method
17223 * paragraph.C (writeFile): reindent
17226 * WorkArea.h: revert the xpos + etc changes.
17228 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
17230 * lyxparagraph.[Ch]: add copy constructor, remove Clone
17232 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
17233 (pasteSelection): likewise
17234 * text2.C (CreateUndo): likewise
17236 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
17238 * minibuffer.C (peek_event): temporarily reduce the functionality
17239 of the minibuffer (to allow args on lfuns)
17241 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
17242 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
17244 * buffer.C (readInset): add compability reading of old float
17245 lists, add reading of new style float list.
17246 (readInset): avoid reevaluation of inscmd.getCmdName()
17247 (getLists): reindent
17249 * MenuBackend.C (MenuItem): implement parsing of
17250 md_floatlistinsert and md_floatinsert.
17251 (expand::LastFiles): move initalizaton of iterators out of loop,
17252 avoid reevaluation.
17253 (expand::Documents): introduce typdedef vector<string> Strings,
17255 (expand::ExportFormats): introduce typedef vector<Format const *>
17256 Formats, and use it.
17257 (expand): implement FloatListInsert and FloatInsert.
17259 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
17260 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
17261 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
17263 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
17265 (Dispatch::LFUN_FLOAT_LIST): implement
17267 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
17269 * LaTeX.C (run): Fix problem with --export code.
17271 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
17273 * BufferView.[Ch] (workarea): removed.
17274 (getClipboard) new method; wrapper for workarea()->getClipboard()
17276 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
17279 * WorkArea.h (width, height, xpos, ypos): These methods all
17280 returned the dimensions of the work_area sub-area of WorkArea,
17281 resulting in a position error if the WorkArea were resized. Now
17282 return the dimensions of the entire WorkArea.
17284 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
17286 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17288 * LaTeX.C (deplog): correct the syntax of regex reg1
17290 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
17292 * undo.C: remove !NEW_INSETS cruft
17294 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
17296 * text2.C: remove !NEW_INSETS cruft
17298 * text.C: remove !NEW_INSETS cruft
17300 * tabular.C: remove !NEW_INSETS cruft
17302 * spellchecker.C: remove !NEW_INSETS cruft
17304 * lyxtext.h: remove !NEW_INSETS cruft
17306 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
17308 * lyxfunc.C: remove !NEW_INSETS cruft
17310 * lyxfind.C: remove !NEW_INSETS cruft
17312 * lyx_cb.C: remove !NEW_INSETS cruft
17314 * figureForm.C: remove !NEW_INSETS cruft
17316 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
17318 * buffer.[Ch]: remove !NEW_INSETS cruft
17320 * ToolbarDefaults.C: remove !NEW_INSETS cruft
17322 * CutAndPaste.C: remove !NEW_INSETS cruft
17324 * BufferView_pimpl.C: remove !NEW_INSETS cruft
17326 * BufferView2.C: remove !NEW_INSETS cruft
17328 * BufferView.h: remove !NEW_INSETS cruft
17330 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17332 * Lsstream.h: include LString.h before the sstream headers to
17333 fix problem with gcc 2.95.3 and lyxstring
17335 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17337 * lyx_main.C: add using directives when needed for C functions
17338 declared in std:: namespace.
17340 2001-04-27 Juergen Vigna <jug@sad.it>
17342 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
17343 (SetHeightOfRow): comment out the update call should not be needed!
17345 2001-04-13 Juergen Vigna <jug@sad.it>
17347 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
17348 (LyXTabular): tried to minimize operator= operations (and realized
17349 hopfully Lars wish).
17351 2001-04-27 Juergen Vigna <jug@sad.it>
17353 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
17355 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
17357 * lyxfunc.C (Dispatch): hack to make listof algorithm work
17359 * buffer.C (readInset): hack to make listof algorithm work
17361 * BufferView_pimpl.C: hack to make listof algorithm work
17363 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
17365 * LyXAction.C: removed all !NEW_INSETS cruft
17366 (init): moved lfun_item in method
17368 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
17370 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
17372 * BufferView2.C (theLockingInset): white space.
17374 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
17376 * minibuffer.C: include <iostream>
17378 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
17380 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
17382 * commandtags.h: add LFUN_TRANSPOSE_CHARS
17384 * text.[Ch] (TransposeChars): new method
17386 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
17388 * call message directly through LyXView instead of through LyXFunc
17389 * BufferView2.C: adjust
17390 * BufferView_pimpl.C: adjust
17391 * FontLoader.C: adjust
17393 * bufferview_funcs.C: adjust
17394 * converter.C: adjust
17395 * figureForm.C: adjust
17396 * importer.C: adjust
17398 * lyx_gui_misc.C: adjust
17399 * lyxfunc.C: adjust
17402 + more files in subdirs
17404 * lyxparagraph.h (size): move up int file
17407 * adjust all uses of Assert to lyx::Assert.
17409 * BufferView2.C (ChangeCitationsIfUnique): adjust for
17410 lyxfunctional in namespace lyx
17411 * layout.C (hasLayout): ditto
17414 (delete_layout): ditto
17415 (NumberOfClass): ditto
17416 * converter.C (GetFormat): ditto
17421 * bufferlist.C (getFileNames): ditto
17422 (emergencyWriteAll): ditto
17425 * MenuBackend.C (hasSubmenu): ditto
17428 * BufferView_pimpl.C (getInsetByCode): ditto
17430 2001-04-18 Juergen Vigna <jug@sad.it>
17432 * vspace.C (asLatexString): fixed the 100% problem.
17434 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17436 * lyxfunc.C (Dispatch):
17438 * minibuffer.h: add a few std:: qualifiers
17440 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
17442 * minibuffer.[Ch]: reimplement so that commands is initiated and
17443 run from lyxfunc, simplified som handling, and made the completion
17444 and history code for complete. wip.
17446 * lyxfunc.C (processKeySym): call message
17447 (miniDispatch): new temporary method
17448 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
17449 (LFUN_MESSAGE): implement
17450 (LFUN_MESSAGE_PUSH): implement
17451 (LFUN_MESSAGE_POP): implement
17452 (initMiniBuffer): the initial/defualt minibuffer message.
17454 * lyxfont.[Ch]: inline some more getters
17456 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17458 * lyx_gui_misc.[Ch] (WriteStatus): remove method
17460 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17461 (AutoSave): use LFUN_MESSAGE
17462 (Reconfigure): ditto
17464 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17466 * figureForm.C: use LFUN_MESSAGE
17468 * converter.C (runLaTeX): use LFUN_MESSAGE
17470 * bufferview_funcs.C: use LFUN_MESSAGE
17472 (changeDepth): ditto
17474 * bufferparams.h: use boost::
17476 * bufferlist.h: inherit privately from noncopyable
17478 * bufferlist.C (loadLyXFile): remove some commented code.
17480 * buffer.C (runChktex): use LFUN_MESSAGE
17482 * ShareContainer.h: inherit privately from noncopyable
17484 * ParagraphParameters.[hC] (depth): inline it.
17486 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17488 (message): new method
17489 (messagePush): ditto
17490 (messagePop): ditto
17491 (show): init minibuffer
17492 (showState): direct call
17494 * LaTeX.[Ch]: inherit privately from noncopyable
17495 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17496 instead of WriteStatus.
17498 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17500 * BufferView_pimpl.C (buffer): don't init minibuffer
17501 (workAreaButtonPress): use LFUN_MESSAGE
17502 (workAreaButtonRelease): ditto
17503 (savePosition): ditto
17504 (restorePosition): ditto
17505 (MenuInsertLyXFile): ditto
17506 (workAreaExpose): don't init minibuffer
17507 (update): remove commented code, simplify
17509 * BufferView2.C (openStuff): use LFUN_MESSAGE
17510 (toggleFloat): ditto
17513 (copyEnvironment): ditto
17514 (pasteEnvironment): ditto
17519 (updateInset): remove some commented code
17521 * lastfiles.h: inherit privately from noncopyable
17524 * lyx_main.h: ditto
17526 * lyxlex_pimpl.h: ditto
17528 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17529 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17530 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17532 * LyXAction.h: inherit privately from noncopyable, add methods
17533 func_begin, func_end, returning iterators to the func map.
17535 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17536 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17537 (func_begin): new method
17538 (func_end): new method
17540 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17542 (copySelection): ditto
17543 (pasteSelection): ditto
17545 * BufferView.C: whitespace change
17546 * BufferView.h: inherit privately from noncopyable
17548 2001-04-16 Allan Rae <rae@lyx.org>
17550 * tabular-old.C (l_getline):
17551 * spellchecker.C (sc_check_word):
17552 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17553 an unrecognised preprocessor directive. So ensure they're wrapped.
17555 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
17557 * src/exporter.C (Export): Give an error message when path to file
17560 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
17562 * LaTeX.C (deplog): Always check that foundfile exists.
17564 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17567 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17569 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
17571 * tabular.[Ch] (getLabelList): implement new method
17573 * minibuffer.h: comment ouf setTiimer
17575 * minibuffer.C (ExecutingCB): constify res
17576 (peek_event): constify s
17577 (Set): constify ntext
17578 (Init): constify nicename
17580 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17582 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17583 (savePosition): use two params to Minibuffer::Set
17584 (restorePosition): ditto
17586 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17588 * lyx_main.C: include language.h
17590 * Makefile.am (lyx_main.o): add language.h
17592 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17598 * CutAndPaste.C: include gettext.h
17600 * lyxfont.h: remove old hack with ON and OFF.
17603 * lyxfont.h: do not include language.h...
17608 * bufferview_funcs.C:
17614 * paragraph.C: ... but do it here instead
17616 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
17618 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17620 * tabular.C: small reformat
17622 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17625 (BreakParagraph): ditto
17626 (SetOnlyLayout): ditto
17629 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17632 * lastfiles.C: removed most using decl, add std:: where needed
17634 * buffer.C: ws changes
17636 * MenuBackend.C (class compare_format): put into anon namespace
17637 (expand): constify label, names, action, action2
17640 * text.C (SingleWidth): constify font
17641 (IsBoundary): constify rtl2
17642 (GetVisibleRow): constify ww
17644 * LaTeX.C (deplog): constify logfile
17646 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17648 (workAreaExpose): constify widthChange, heightChange
17650 * lyxrow.C (par): moved
17653 * lyxrow.h: as inlines here
17655 * lyxfont.h (shape): moved from lyxfont.C
17656 (emph): moved from lyxfont.C
17658 * lyxfont.C (LyXFont): use initialization list for all
17660 (shape): move to lyxfont.h as inline
17661 (emph): move to lyxfont.h as inline
17664 2001-04-04 Juergen Vigna <jug@sad.it>
17666 * vspace.C: had to include stdio.h for use of sscanf
17668 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
17671 * BufferView_pimpl.h: remove xforms cruft. Both classes are
17672 independent of xforms.
17674 2001-04-02 Juergen Vigna <jug@sad.it>
17676 * spellchecker.C: fixed namespace placing!
17678 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
17680 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17681 the LyXParagraph * is 0.
17683 2001-03-29 Juergen Vigna <jug@sad.it>
17685 * vspace.C: added support for %, c%, p%, l%.
17686 (stringFromUnit): added helper function.
17687 (asLatexString): changed to give right results for the %-values.
17689 * buffer.C: convert the widthp in a width%.
17691 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
17693 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17696 * figureForm.[Ch]: stripped the FD_from_figure manipulation
17697 code out of lux_cb.[Ch], ready for its (imminent?) removal.
17699 * lyx_cb.[Ch]: see above.
17701 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17705 * lyx.[Ch]: replaced by figure_form.[Ch].
17709 * lyxfunc.C: changed headers associated with above changes.
17711 2001-03-27 Juergen Vigna <jug@sad.it>
17713 * BufferView_pimpl.C: set the temporary cursor right!
17715 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
17717 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17719 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
17721 * LString.h: removed "using std::getline"!
17723 * BufferView_pimpl.C (Dispatch): changes due to changes in
17724 InsetInclude::Params.
17726 * buffer.C (tag_name): removed redundant break statements as they were
17727 producing lots of warnings with my compiler.
17729 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17731 * LString.h: add "using std::getline" when using the real <string>.
17733 2001-03-23 Jos�Ab�io Matos <jamatos@fep.up.pt>
17735 * buffer.C: removed bitset usage.
17736 PAR_TAG moved to an anonymous name space.
17737 (tag_name): new funtion, also in the anonymous namespace.
17738 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17739 (makeDocBookFile): clean code. Completed transition from string arrays
17741 (SimpleDocBookOnePar): code clean.
17743 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17745 * tabular.C: add some comments.
17747 2001-03-22 Juergen Vigna <jug@sad.it>
17749 * buffer.C (parseSingleLyXformat2Token): redone the minipage
17750 compatibility read a bit and fixed bug with minipage in different
17753 2001-03-21 Jos�Ab�io Matos <jamatos@fep.up.pt>
17755 * buffer.C (pop_tag): removed.
17756 (push_tag): removed.
17757 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17758 array replaced with vector. Added support for CDATA sections.
17759 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17761 (makeDocBookFile): XML conformant declaration of CDATA section,
17762 fixed bug related to <emphasis> in the first paragraph char.
17763 (sgmlOpenTag): exclude empty tags.
17764 (sgmlCloseTag): ditto.
17766 * buffer.h (pop_tag): removed.
17767 (push_tag): removed.
17769 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
17771 * language.h (Languages): added size_type and size().
17773 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17775 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17776 response on compability reading of minipages. One probliem is that
17777 the old usage of minipages was flertydig
17779 * several files here and in subdirs: don't use static at file
17780 scope use anon namespaces instead.
17782 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
17784 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17785 LaTeX output. This is necessary for Literate document
17788 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17790 * buffer.C: insert hfill when needed.
17792 * tabular.C (l_getline): use string::erase, small whitespace change.
17794 * BufferView_pimpl.C: try the anon namespace.
17795 * WorkArea.C: ditto
17797 2001-03-16 Juergen Vigna <jug@sad.it>
17799 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17800 otherwise it won't open options-dialogs.
17802 * buffer.C: honor pextraWidth(p) on converting minipages.
17804 * tabular.C (l_getline): changed the functions to strip trailing \r.
17806 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
17808 * BufferView_pimpl.C:
17809 * minibuffer..C: added "using SigC::slot" declaration.
17811 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17813 * lyxlex_pimpl.h: noncopyable is in namespace boost.
17819 * paragraph.C: ditto
17821 * lyxtext.h: NO_PEXTRA
17823 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17825 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17826 * ParameterStruct.h: ditto
17827 * ParagraphParameters.h: ditto
17828 * lyxparagraph.h: ditto
17830 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17832 * buffer.C: add compability for minipage alignment.
17833 (latexParagraphs): remove unwanted pextra check.
17835 * several files: remove CXX_WORKING_NAMESPACES
17837 * buffer.C (pop_tag): tie is in namespace boost
17839 * BufferView.h: noncopyable is in namespace boost
17841 * lyx_main.h: ditto
17844 * lastfiles.h: ditto
17845 * bufferlist.h: ditto
17846 * ShareContainer.h: ditto
17848 * LyXAction.h: ditto
17851 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17853 * Merging changes from BRANCH_MVC back into HEAD.
17855 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17857 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
17859 * BufferView_pimpl.C: change from intl.C
17863 * Makefile.am: move combox.*
17869 * intl.C: remove dialog (covered by prefs)
17871 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17873 * lyxfunc.C (Dispatch): removed redundant break statement.
17875 2001-03-14 Juergen Vigna <jug@sad.it>
17877 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17879 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17881 * buffer.C: add hack to fix compability reading of minipages.
17883 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
17885 * buffer.C (getLists): Cleanup.
17887 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17889 * lyxfont.C (update): don't honor toggleall on font size.
17891 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
17895 * Makefile.am: moved to frontends/xforms/
17899 * BufferView_pimpl.C: changes for moved mathpanel
17901 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17903 * gettext.h: fix gettext_init() in --disable-nls
17905 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17907 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17909 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
17912 * lyx.h: strip external form
17914 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17916 * BufferView_pimpl.C: add comment, destroySplash()
17918 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17920 * BufferView_pimpl.C:
17924 * lyxfunc.C: use re-worked insetinclude
17926 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17928 * buffer.C: add using std::stringstream.
17930 * lyx_cb.C: readd using std::ios.
17932 * buffer.C: add using std::map.
17934 * BufferView_pimpl.C: add using std::vector.
17936 * ShareContainer.h: add std:: to swap.
17938 * buffer.h: add some typedefs
17939 * buffer.C (getLists): use them
17940 (getLists): renamed from getTocList.
17941 add a counter for the different float types and use it in the
17943 (getLists): use the same counter for the NEW_INSETS and the "non"
17946 * lyx_cb.h: remove unused items, includes, using etc.
17948 * ShareContainer.h: remove some commented code, add more comments
17949 and "documentation".
17951 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17953 * buffer.C (getTocList): make the list also when NEW_INSETS is
17956 * buffer.h: remove TocType
17958 * buffer.C (getTocList): change to return a map<string,
17959 vector<TocItem> >, implement for dynamic number of list.
17961 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17962 * text2.C (PasteSelection): adjust
17963 * CutAndPaste.C (pasteSelection): adjust
17965 * FloatList.C (FloatList): update from the new_insets branch.
17966 * Floating.[Ch]: ditto
17967 * LaTeXFeatures.C: ditto
17969 * lyxlex_pimpl.C: ditto
17971 * paragraph.C (Last): remove when NEW_INSETS is defined.
17973 * other file: changes because of the above.
17975 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17977 * lyxparagraph.h: rename next to next_, previous to previous_,
17978 make them private for NEW_INSETS. Rename Next() to next(),
17979 Previous() to previous().
17981 * other files: changes because of the above.
17983 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
17986 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17989 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17991 * main.C (main): pass lyx_localedir to gettext_init().
17993 * gettext.h: remove locale_init and gettext_init macros
17995 * gettext.C (locale_init): new function
17996 (gettext_init): new function
17998 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
18001 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
18003 * Moved credits to frontends:
18004 * credits.[Ch]: removed
18005 * credits_form.[Ch]: removed
18006 * lyx_gui_misc.C: remove credits stuff
18009 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18011 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
18013 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
18014 unneeded destructor.
18016 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
18017 a standalone pointer again.
18019 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
18021 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
18027 * ToolbarDefaults.C:
18036 * BufferView_pimpl.C: use new file dialog in GUII
18039 * lyx_cb.C: remove LayoutsCB to Toolbar
18041 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18043 * ShareContainer.h (get): add std:: qualifier
18045 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18047 * ShareContainer.h: define a proper ShareContainer::value_type
18048 type (and use typename to please compaq cxx)
18050 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18052 * lyxparagraph.h: move serveral local vars to
18053 ParameterStruct/ParagraphParameters., use ShareContainer in
18054 FontTable., make vars in FontTable private and add getter and
18057 * paragraph.C: changes because of the above.
18059 * lyxfont.h: remove copy constructor and copy assignment. (the
18060 default ones is ok), move number inside FontBits. move inlines to
18063 * lyxfont.C: add number to initializaton of statics, move several
18064 inlines here. constify several local vars. some whitespace
18065 cleanup. Dont hide outerscope variables.
18067 * Spacing.h: add two new constructors to match the set methods.
18069 * ShareContainer.h: new file, will perhaps be moved to support
18071 * ParameterStruct.h: new file
18073 * ParagraphParameters.h: new file
18075 * ParagraphParameters.C: new file
18077 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
18078 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
18080 * BufferView_pimpl.C: ParagraphParameter changes.
18081 * buffer.C: Likewise.
18082 * bufferview_funcs.C: Likewise.
18083 * text.C: Likewise.
18084 * text2.C: Likewise.
18086 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18088 * lyxfind.C (LyXReplace): do not redefine default argument in
18090 (IsStringInText): ditto
18091 (SearchForward): ditto
18092 (SearchBackward): ditto
18094 2001-03-06 Juergen Vigna <jug@sad.it>
18096 * lyxfind.C (IsStringInText): put parentes around expressions.
18098 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
18100 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
18102 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
18104 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
18106 * stl_string_fwd.h: add comment
18108 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
18111 * tabular.C: remove unused DocBook methods
18117 killed DO_USE_DEFAULT_LANGUAGE
18119 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18121 * lyx_gui.C: do not include language.h.
18123 * bufferview_funcs.C (ToggleAndShow): do not provide optional
18124 arguments in function implementation.
18126 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18128 * BufferView_pimpl.C: add <ctime>
18130 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18132 * BufferView_pimpl.C: add using std::find_if
18134 2001-02-27 José Matos <jamatos@fep.up.pt>
18136 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
18139 2001-02-11 José Matos <jamatos@fep.up.pt>
18141 * buffer.C (makeDocBookFile): command styles now have a parameter as
18142 "title" by default.
18144 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
18146 * layout_forms.[Ch]: removed
18147 * lyx_cb.[Ch]: out character
18148 * lyx_gui.C: out character
18149 * lyx_gui_misc.C: out character
18150 * bufferview_funcs.C: : out character,
18151 added toggleall as parameter in ToggleAndShow
18153 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
18155 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
18157 * text2.C (SetCurrentFont): Disable number property at boundary.
18159 2001-02-26 Juergen Vigna <jug@sad.it>
18161 * lyxfunc.C (getStatus): added a string argument override function so
18162 that this is correctly called from LyXFunc::Dispatch if it contains a
18163 do_not_use_argument which is used!
18164 (Dispatch): added check for "custom" export and call appropriate func.
18166 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
18168 * lyxrc.C: Add language_command_local, language_use_babel and
18169 language_global_options.
18171 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
18173 * buffer.C (makeLaTeXFile): Use language_use_babel and
18174 language_global_options.
18176 2001-02-23 Juergen Vigna <jug@sad.it>
18178 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
18179 which works with LyXText and putted it inside BufferView. Here now we
18180 only call for that part the BufferView::Dispatch() function.
18182 * BufferView.C (Dispatch): added.
18184 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
18185 functions which needs to use a LyXText over from LyXFunc.
18186 (MenuInsertLyXFile): added
18187 (getInsetByCode): added
18188 (moveCursorUpdate): added
18189 (static TEXT): added
18191 2001-02-22 Juergen Vigna <jug@sad.it>
18193 * BufferView_pimpl.C (update): call a status update to see if LyXText
18196 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18198 * vc-backend.C (revert): implement for CVS
18199 (getLog): implement for CVS
18201 2001-02-20 Juergen Vigna <jug@sad.it>
18203 * text2.C (ClearSelection): added BufferView param for inset_owner call
18205 * lyxfunc.C (TEXT): added this function and use it instead of
18206 directly owner->view()-text of getLyXText().
18208 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
18210 * src/layout_forms.C: out preamble
18211 * src/layout_forms.h: out preamble
18212 * src/lyx_cb.C: out preamble
18213 * src/lyx_cb.h: out preamble
18214 * src/lyx_gui.C: out preamble
18215 * src/lyx_gui_misc.C: out preamble
18216 * src/lyxfunc.C: connect with guii preamble
18218 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
18220 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
18222 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
18224 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
18225 whether to run bibtex.
18227 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
18229 * Makefile.am (lyx_SOURCES): Remove BackStack.h
18231 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
18233 * Makefile.am (lyx_SOURCES): removed bibforms.h
18235 * vspace.h: doxygen
18237 * text.C (GetVisibleRow): make several local vars const
18239 * tabular.C: small cleanup.
18241 * lyxserver.C (callback): use compare instead of strncmp
18243 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
18244 inlines to after class or to paragraph.C
18246 * lyxfont.h: remove friend operator!=
18248 * converter.h: move friend bool operator< to non friend and after
18251 * combox.h: small cleanup
18253 * buffer.h: doxygen, remove unused constructor, move inclas inlies
18254 to inlines after class def.
18256 * buffer.C (pop_tag): use string operations instead of strcmp
18258 * bmtable.c: doxygen, small cleanup
18260 * LaTeX.h: remove friend operator==
18262 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
18274 * BufferView_pimpl.C:
18275 * BufferView.[Ch]: remove cruft
18277 2001-02-14 Juergen Vigna <jug@sad.it>
18279 * lyxfunc.C: removed #if 0 unused code
18281 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
18283 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
18285 * text2.C (SetSelection): added a BufferView * parameter
18287 2001-02-13 Juergen Vigna <jug@sad.it>
18289 * lyxfunc.C (Dispatch): fixed protected blank problem.
18290 * BufferView2.C (protectedBlank): added LyxText * parameter.
18292 * tabular.C (AppendRow): forgot to set row_info of newly added row.
18293 (AppendColumn): same as above for column_info.
18295 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
18296 (moveCursorUpdate): use a LyXText param for support of InsetText.
18298 * BufferView_pimpl.C (doubleClick): added support for InsetText.
18299 (tripleClick): ditto
18301 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
18303 * BufferView_pimpl.C (update): added LyXText param to honor insets.
18305 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
18307 * text2.C (SetSelection): set correct update status if inset_owner
18308 (ToggleFree): ditto
18310 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
18312 * tabular.C: remove some commented code.
18314 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
18316 * BufferView_pimpl.C: call hideSplash()
18318 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
18321 * bibforms.h: remove
18324 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
18325 add LFUN_CHILD_CREATE
18327 * counters.h: fix tiny typo
18332 * lyx.C: move splash to frontends/xforms/
18334 * lyx_gui_misc.C: move Include and Bibform to frontends
18336 * lyxvc.h: clarify comment
18338 * vspace.C: tiny housekeeping
18340 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
18342 * text.C (PrepareToPrint): RTL Fix.
18344 * paragraph.C (GetUChar): New method.
18345 (String): Use GetUChar.
18347 * buffer.C (asciiParagraph): Use GetUChar.
18349 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
18351 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
18353 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
18356 * buffer.C: rename to getLogName(), handle
18357 build log / latex log nicely
18359 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18362 * MenuBackend.h: remove support for reference menuitem type.
18364 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
18366 * BufferView_pimpl.C: housekeeping
18367 * BufferView_pimpl.h:
18372 * minibuffer.h: move Timeout GUI-I
18374 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
18376 * lyxrc.C (read): Update converters data-structures.
18378 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
18380 * LaTeX.h (operator!=): add operator != for Aux_Info
18382 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
18384 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
18386 * LaTeXLog.C: deleted, useful code moved to Buffer
18389 * buffer.C: new function getLatexLogName()
18395 * lyxfunc.C: use frontends for LaTeX and VC logs
18397 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18399 * LaTeX.h: yet another std:: that Allan forgot.
18401 * Variables.C (set): renamed from isset(), because this clashes
18402 with some HP-UX macros (grr).
18404 2001-02-06 Allan Rae <rae@lyx.org>
18406 * LaTeX.h: Another bug fix. Missing std:: this time.
18408 2001-02-04 Allan Rae <rae@lyx.org>
18410 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
18411 floats problem. I've left it commented out because it's not quite
18412 correct. It should also test that the current object is a table or
18413 figure inset. But I haven't gotten around to figuring out how to do
18414 that. I *think* it'll be something like: "table" == inset.type()
18416 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
18419 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
18421 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
18422 all the citation/databases/styles in the auxilary file.
18423 (run): Rerun latex if there was a babel language error.
18425 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
18427 * text.C (Backspace): Preserve the font when changing newline char
18429 (BreakParagraph): If the cursor is before a space, delete the space.
18431 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
18433 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
18435 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
18436 new argument (code).
18437 (ChangeCitationsIfUnique): New method.
18439 * paragraph.C (GetPositionOfInset): Handle bibkey.
18441 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18443 * BufferView_pimpl.h: change type of Position::par_pos to
18444 LyXParagraph::size_type.
18446 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
18448 * BufferView_pimpl.C (savePosition, restorePosition): Write
18449 messages to minibuffer.
18451 2001-01-28 José Matos <jamatos@fep.up.pt>
18453 * buffer.C (makeDocBookFile): adds support for document language.
18454 A silly restriction on the name of LatexCommand types where removed.
18455 Added support for CDATA sections, allows to chars unescaped, used
18456 among others in code, to avoid escape < and >.
18458 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
18460 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18461 saved positions instrad of a stack. Furthermore, a position is
18462 stored using paragraph id/paragraph position.
18464 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18465 Remove LFUN_REF_BACK.
18467 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
18469 * converter.C (dvipdfm_options): New method.
18471 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
18473 * vspace.C (isValidLength): Fix for empty input string.
18475 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18477 * LyXAction.C (init): change description of LFUN_FIGURE to
18480 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18482 * LaTeX.C: add using directive
18484 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
18486 * MenuBackend.C (expand): Fix the sorting of the formats.
18488 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
18490 * lyx_main.C: tiny error message fix
18492 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18494 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18495 calling fl_initialize(). This fixes the problem with ',' as
18496 decimal separator in text files.
18498 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
18500 * trans.C (process): Fix the keymap bug.
18502 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
18504 * LaTeX.C (scanAuxFiles): New method. Provides support for
18505 multiple bibliographies (when using the bibtopic/bibunits pacakges).
18506 (scanLogFile) Scan for "run BibTeX" messages.
18508 * buffer.C (makeLaTeXFile): Do not load the ae package when using
18509 OT1 font encoding. Also, load the aecompl package if the ae
18512 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18514 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18516 * texrow.C (increasePos): turn two error messages into debug
18519 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
18521 * LaTeX.C (scanAux): Handle the \@input macro.
18522 (runBibTeX): Use scanAux().
18524 * language.C (latex_options_): New field.
18526 * LaTeXFeatures.C (getMacros): Add language macros.
18528 * buffer.C (makeLaTeXFile): Small fix.
18530 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18532 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18534 * text2.C: add a using directive.
18536 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
18541 * lyxfunc.C: kill LyXBell.
18543 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
18545 * text.C (IsBoundary): Remove the error message
18547 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18549 * lyxrc.C (setDefaults): Correct initialization value for
18552 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
18554 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18557 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18558 and GotoNextNote().
18560 * src/LyXAction.C: Added reference-next.
18562 * text.C (InsertChar): Use contains instead of strchr.
18564 * lyx_cb.C (MenuInsertLabel): Enable default value code.
18566 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
18568 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18569 alignment commands (when needed).
18571 * text.C (InsertChar): Add ':' to number separator chars.