1 2005-12-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3 * text2.C (makeFontEntriesLayoutSpecific): remove.
6 * text.C (insertChar): remove bogus caching of fonts (did not do
9 * text2.C (LyXText): initialize current_font to ALL_INHERIT (was
12 2005-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14 * rowpainter.C (paintFirst): fix centering of
15 LABEL_CENTERED_TOP_ENVIRONMENT.
17 2005-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
19 * BufferView.C (mouseSetCursor): new method. Calls
20 deleteEmptyParagraphMechanism if necessary.
22 * lyxtext.h: make deleteEmptyParagraphMechanism public.
24 * text3.C (dispatch/LFUN_MOUSE_PRESS): use
25 BufferView::mouseSetCursor (bug 2109).
26 (dispatch/LFUN_PASTE): remove #warning that is now irrelevant.
28 2005-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
30 * text3.C (dispatch/LFUN_INDEX_INSERT): when a selection is set,
31 do not remove it (this inset behaves differently from the others).
33 2005-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
37 * BufferView_pimpl.C (getStatus): it is only possible to insert a
40 * buffer.C (readDocument): remove pit argument and code releated
41 to it; set the inset owner correctly (unrelated, but useful).
42 (readFile): get rid of pit argument.
44 * CutAndPaste.C (pasteSelectionHelper): use a ParagraphList and a
45 textclass instead of a selection index.
46 (pasteParagraphList): new function.
47 (pasteSelection): make it a wrapper around pasteParagraphList.
49 * BufferView_pimpl.C (MenuInsertLyXFile): use
50 cap::pasteParagraphList to insert a file.
52 2005-11-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
54 * buffer_funcs.C (bufferErrors): prevent endless loop (bug 2121)
56 2005-11-17 Michael Gerz <michael.gerz@teststep.org>
58 * exporter.C: fix typo in text message
60 2005-11-28 Georg Baum <Georg.Baum@post.rwth-aachen.de>
62 * text2.C (setLayout): move recUndo call to other setLayout method
63 * tabular.C (toggleFixedWidth): new, handle cell width changes
64 * tabular.C (setColumnPWidth): move some code from insettabular.C here
65 and use toggleFixedWidth
66 * tabular.C (setMColumnPWidth): ditto
68 2005-11-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
70 * paragraph.C (asString): use new inset->textString method (fix
73 2005-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
75 * CutAndPaste.C (numberOfSelections): new helper function.
77 * lyxfunc.C (getStatus): remove support for LFUN_COPY and LFUN_CUT.
79 * text3.C (getStatus): move code for LFUN_CUT and LFUN_COPY from
80 LyXFunc::getStatus; implement LFUN_PASTE.
82 2005-11-17 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
84 * dociterator.[Ch]: new member realInset() that returns the cell
85 for tabulars and the inset for the rest (bug 1952).
86 * undo.C (textUndoOrRedo): use realInset when resetting insetOwner
89 2005-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
91 * text.C (leftMargin): honor the NextNoIndent tag in layouts.
93 2005-11-17 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
97 * text3.C: InsetBase::forceDefaultParagraphs now takes a cell as
100 2005-11-07 Martin Vermeer <martin.vermeer@hut.fi>
102 * text.C (redoParagraph): Fix bug 1966: cursor doesn't go to next
103 line after typing ctrl-enter
105 2005-11-10 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
107 * bufferview_funcs.C (coordOffset): fix the fix for bug 2094, as
108 math insets do not return a proper editable() state yet (bug 2124).
110 2005-11-07 Martin Vermeer <martin.vermeer@hut.fi>
112 * BufferView_pimpl.[Ch]: Fix bug 1814: better scroll behaviour for
113 docs containing very large paragraphs.
115 2005-11-07 Martin Vermeer <martin.vermeer@hut.fi>
117 * cursor.C (selectionBegin, selectionEnd):
118 * text.C (drawSelection): Fix bug 2115: assertion when anchor and
119 cursor at different depths.
121 2005-11-03 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
123 * bufferview_funcs.C (coordOffset): do not call cursorPos
124 for collapsed collapsables (fix bug 2094).
126 2005-11-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
128 * paragraph.C (fontSpan): make sure that the FontSpan does not
129 span across beginOfBody (bug 1947).
131 2005-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
133 * lyxlength.h: undefine macros that clash with solaris/x86 (bug 992)
135 2005-11-03 Michael Gerz <michael.gerz@teststep.org>
137 * messages.C: fix crash and localization on MinGW/Windows platform
139 2005-11-02 Angus Leeming <leeming@lyx.org>
142 * lyxtextclass.C: trivial fixes to some MSVS warnings.
144 2005-10-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
146 * text3.C (getStatus): re-enable disabled code. (bug 2081)
148 * BranchList.h (empty): constify.
150 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
152 * text3.C (getStatus):
153 * MenuBackend.C (expandBranches): take the branch list from the
154 master document (bug 2092).
156 * MenuBackend.C (expandBranches):
157 * bufferparams.C (writeFile): use BranchList type.
159 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
161 * text3.C (dispatch, getStatus):
162 * LyXAction.C (init):
163 * lfuns.h: get rid of LFUN_KEYMAP_TOGGLE
165 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
167 * toc.C (getTocList): skip paragraphs which toclevel is NOT_IN_TOC.
169 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
171 * text.C (insertChar): do not reset boundary (bug 2061)
173 2005-10-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
175 * dociterator.C (updateInsets): new method. Updates the inset_
176 cache of all the slices of the iterator.
178 * text2.C (deleteEmptyParagraphMechanism): compare also containing
179 insets when comparing pit/pos; pass the right cursor to
180 recordUndo; when a paragraph has been deleted, compare `old.top()' to
181 the right cursor slice of `cur'; use updateInsets on cur to make
182 sure that the inset caches are correct; general cleanup.
184 2005-10-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
186 * text3.C (dispatch): LFUN_NEXT_INSET_TOGGLE: first try to
187 dispatch LFUN_INSET_TOGGLE to inset at cursor, and then to
188 containg inset. If this does not work, the same command will be
189 sent to other insets down the queue by LCursor::dispatch. (bug 2066)
191 * lyxfunc.C (dispatch): make sure the cursor is correct when doing
194 2005-10-20 Georg Baum <Georg.Baum@post.rwth-aachen.de>
196 * lyxtextclass.C (Read): convert layout file if the format is wrong
197 * lyxtextclass.C (layout2layout): new, needed for the above
199 2005-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
201 * messages.C: do not forget to include <cerrno>.
203 2005-10-12 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
205 * dociterator.h (StableDocIterator): add access to pos().
206 * undo.C (samePar): new method to check if two
207 iterators are in the same paragraph
208 * undo.C (recordUndo): check for samePar instead of cell identity
209 (which includes pos() and is too strict) (fixes bug 2097)
211 2005-10-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
213 * text.C (setCursorFromCoordinates): return a bool telling whether
216 * text3.C (cursorPrevious): update if needed after
217 setCursorFromCoordinates (when dEPM triggered).
219 * text2.C (cursorDown, cursorUp): make sure to reset the anchor
220 (otherwise the anchor may be completely wrong and make dEPM assert).
222 2005-10-12 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
224 * buffer.C: version upgrade to 245.
225 * bufferparams.C: remove \quotes_times (bug 2090).
226 * text3.C (doDispatch): LFUN_QUOTE_INSERT has to output double
227 quotation marks as default.
229 2005-10-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
231 * CutAndPaste.C (nrOfParagraphs): remove (unused)
232 * CutAndPaste.C (cutSelection): Remove debug message
233 * CutAndPaste.C (cutSelection): Use the real cursor in mathed, record
234 undo information and only copy if this is a real cut
235 * CutAndPaste.C (pasteSelection): remove superflous cur.resetAnchor()
237 * CutAndPaste.C (pasteSelection): remove now superflous mathed warning
239 * CutAndPaste.C (eraseSelection): prevent cursor corruption
240 * CutAndPaste.C (grabAndEraseSelection, selDel): remove now
241 superflous cur.selection() setting
242 * CutAndPaste.[Ch] (grabSelection): take a const cursor
243 * cursor.C (selectionAsString): implement mathed case ((bug 2059)
245 2005-10-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
247 * text3.C (mathDispatch, dispatch): Dont' record undo steps that don't
250 2005-10-11 Martin Vermeer <martin.vermeer@hut.fi>
252 * BufferView_pimpl.C: comment layout change
254 2005-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
258 * lyxfunc.C: reimplement LFUN_INSERT_CITATION, which is needed
259 by bibliography managers (bug 2071).
261 2005-10-07 Martin Vermeer <martin.vermeer@hut.fi>
263 * BufferView_pimpl.C (update): choose arguments to update call so
264 that single-par update works most times
265 * text3.C (dispatch): carefully tune updating separately for
266 whole-screen and current-paragraph
267 * rowpainter.C (paintText): 1) replace painting by caching for
268 the two extra paragraphs, because we can;
269 2) suppress greying out of areas below/above drawn area in case of
271 * lyxfunc.C (dispatch): remove superfluous update
272 * LyXAction.[Ch]: introduce SingleParUpdate
274 2005-10-05 Angus Leeming <leeming@lyx.org>
276 * BufferView_pimpl.C (loadLyXFile): ensure that a pointer is
277 always initialised before use.
279 * text.C (setHeightOfRow): squash warning about comparison
280 of signed and unsigned types.
282 2005-10-03 Martin Vermeer <martin.vermeer@hut.fi>
284 * text.C (cursorX): two fixes involving RtL text drawing
286 2005-10-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
288 * cursor.C (erase): fix 'clever' UI hack. It was activated for all
289 items, not only large ones (part of bug 2057)
291 2005-10-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
293 * text3.C (dispatch): when invoking LFUN_MATH_MACRO with no type
294 argument, use "newcommand".
296 2005-09-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
298 * cursor.C (setSelection): do not open collapsable insets;
299 the insets do by themselves now (autoopen).
301 2005-09-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
303 * buffer.C: format is up to 244.
305 2005-09-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
307 * text.C (redoParagraph): fix calcultation of inset width wrt
308 leftMargin (bug 1957).
310 * text3.C (dispatch): leave inset to the right when hitting ESC
313 2005-09-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
318 * messages.C: include <boost/current_function.hpp>
320 2005-09-12 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
322 * lyxfunc.C (sendDispatchMessage): do not update menubar/toolbar
323 when command is internal. (bug 1941)
325 2005-09-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
327 * text2.C (cursorRight): do not honor boundary when at the end of
328 a paragraph. (bug 2010 again)
330 2005-09-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
332 * cursor.C (paste): do nothing if `data' is empty. (bug 2033)
334 2005-09-19 Martin Vermeer <martin.vermeer@hut.fi>
336 * rowpainter.C (paintText): fix RtL space width display bug (2029)
338 2005-09-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
340 * text2.C (setCursor): remove the unused 'boundary' parameter for
341 the CursorSlice version; adapt the LCursor version.
344 * paragraph_pimpl.C (markErased):
345 * cursor.C (bruteFind2, bruteFond3): fix warnings.
347 2005-09-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
349 * rowpainter.C (paintFirst): use a 'labeladdon' for TOP_* labels,
350 as is already done for "chapter".
352 2005-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
354 * lyxfunc.C (dispatch): LFUN_TEXTCLASS_APPLY: actually set the
355 textclass; do not record undo if nothing is changed.
357 2005-09-16 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
359 * text3.C (dispatch): recordUndo in LFUN_PASTESELECTION (#2011).
361 2005-09-14 Michael Gerz <michael.gerz@teststep.org>
363 * lyxfunc.C: update display after LFUN_ALL_INSETS_TOGGLE
365 2005-09-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
367 * BufferView_pimpl.C (setBuffer): when one wants to set the layout
368 combox, it is necessary to search for the topmost paragraph in the
369 cursor stack (bug 1926)
371 2005-09-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
373 * text2.C (cursorEnd, cursorRight): do not set boundary to true at
374 end of paragraph. (bug 2010)
376 2005-09-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
378 * text.C (leftMargin): check for inInset == 0
380 2005-09-10 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
382 * text.C (leftMargin): test for insetbase's new neverIndent()
383 bool instead of listing each and every inset that does not
384 wish par indendation.
386 2005-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
388 * buffer_funcs.C (setCounter): put the code to compute enum label
389 here (where it belongs).
391 * counters.C (enumLabel): move code to buffer_funcs.C.
393 2005-09-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
395 * outputparams.[Ch]: store local_font instead of local_language
396 * paragraph.C (simpleTeXOnePar): adapt to the change above
398 2005-09-08 Martin Vermeer <martin.vermeer@hut.fi>
401 * counters.[Ch]: clean up special code for Hebrew.
403 2005-09-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
405 * lyxfunc.C (lookupChange): fix code when cursor depth is greater
408 2005-09-08 Angus Leeming <leeming@lyx.org>
411 * lyxrc.C: correct grammar describing invocation of the
414 2005-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
416 * text.C (read): remove unused variable.
417 (readParToken): remove static Change variable (never good in
418 recursive settings...); add it as a parameter instead.
420 * paragraph_pimpl.C (acceptChange): make debug info conditional.
422 * metricsinfo.C (PainterInfo): add new member erased_.
424 * rowpainter.C (RowPainter): add erased_ member, initialized from
426 (paintInset): pass erased_ to Inset::draw.
428 * lyxfunc.C (lookupChange): new function. Tells whether change
429 tracking is disabled at a given postion.
430 (getStatus): disable some actions when in deleted text with change
433 2005-08-03 John Levon <levon@movementarian.org>
435 * tabular.C (appendColumn, setMultiColumn): adapt to change to
438 * paragraph_pimpl.C (markErased): add bool argument and handle it.
439 Also make sure to mark insets recursively.
440 (rejectChange, erase): be recursive
442 * paragraph.C (markErased): add bool argument.
443 2005-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
445 * lyxfind.C (findNextChange): tiny cleanup.
447 * BufferView_pimpl.C (trackChanges): avoid crash when stopping
448 change tracking with the cursor in an inset; make sure the first
449 change is not skipped.
451 2005-09-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
453 * CutAndPaste.[Ch]: new methods dirtyTabularStack and
454 tabularStackDirty to work around bug 1919 (tabular needs
455 to know whether its own cell paste buffer or the one of
457 * CutAndPaste.C: mark tabular_stack_ clean after copy.
459 2005-08-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
461 * text2.C (cursorEnd): check for empty text (fixes bug 1998)
463 2005-08-19 Lars Gullik Bjønnes <larsbj@gullik.net>
465 * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
466 use old deleteion algorithm when changetracking is on.
468 2005-08-18 Martin Vermeer <martin.vermeer@hut.fi>
470 * messages.C (get): add debug output.
472 2005-08-02 Martin Vermeer <martin.vermeer@hut.fi>
474 * text.C (cursorX): fix bug 1965: cursor movement at
475 line end broken in RtL.
476 (drawSelection): fix bug 1970: drawing of single-line
477 selection broken for RtL.
479 2005-07-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
483 * dociterator.h (clear, push_back, pop_back): change from
486 * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
487 and changed to just return the value of the item depth; take a
488 ParIterator as argument; take the itemdepth at outer nesting level
489 in account if necessary; cleanup and comment the code.
490 (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
491 and changed to just return true if reset is needed; take a
492 ParIterator as argument; cleanup and comment the code.
493 (setCounter): adapt to above changes.
495 2005-07-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
497 * text3.C (dispatch): make debug message optional
499 2005-08-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
501 * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
504 2005-08-02 Martin Vermeer <martin.vermeer@hut.fi>
506 * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
508 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
510 * text.C (insertChar):
511 * text2.C (deleteEmptyParagraphMechanism): take care whether
512 a blank has been deleted (in change tracking mode) (bug 1254).
514 2005-07-20 John Levon <levon@movementarian.org>
516 * text2.C (insertStringAsLines): remove old dubious code,
519 2005-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
521 * MenuBackend.C (expandToc): use Floating::listName() as title of
524 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
526 * toc.[Ch]: Do not use translatable strings (bug 1870).
528 2005-07-20 John Levon <levon@movementarian.org>
530 * tabular.C: fix 1748 - setting multicolumn adds
531 left line to the first cell
533 2005-07-19 Lars Gullik Bjønnes <larsbj@lyx.org>
536 * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
539 2005-07-18 Lars Gullik Bjønnes <larsbj@lyx.org>
541 * messages.C: supress some lyxerr messages
543 2005-07-18 Juergen Vigna <jug@lyx.org>
545 * text.C (drawSelection): honor boundary when asking for cursorX.
547 2005-07-17 José Matos <jamatos@fc.up.pt>
549 * tabular.C (recalculateMulticolumns): fix handling of one column
552 2005-07-17 Juergen Vigna <jug@lyx.org>
554 * text.C (Delete, backspace): fixed so that paragraph with the
555 same layout can be merged by Delete/Backspace.
557 2005-07-17 Michael Schmitt <michael.schmitt@teststep.org>
559 * text.C (readParToken): fix spelling.
561 2005-07-17 Martin Vermeer <martin.vermeer@hut.fi>
563 * text2.C: fix counter update for DEPM problem reported by
566 2005-07-17 Juergen Vigna <jug@lyx.org>
568 * BufferView_pimpl.C (setBuffer): save/restore the
569 cursor/selection when switching buffers
572 * buffer.C (saveCursor): add saveDocumentIterators to save the
573 cursor when switching buffer.
575 2005-07-17 Michael Schmitt <michqel.schmitt@teststep.org>
578 * buffer.C: clarify message
580 2005-07-17 Lars Gullik Bjønnes <larsbj@lyx.org>
582 * dociterator.C (DocIterator): fix initialization order
584 2005-07-17 Juergen Vigna <jug@lyx.org>
586 * text2.C (cursorHome):
587 * text.C (drawSelection, cursorX):
588 * dociterator.C (textRow): add boundary to getRow() call
590 * paragraph.C (getRow): implementation of below
592 * paragraph.h: add parameter boundary for getRow() function
594 2005-07-17 José Matos <jamatos@fc.up.pt>
598 * tex-strings.[Ch]: new file format, remove support for a4.sty,
599 a4wide.sty and a4widemargins.
601 2005-07-17 Juergen Vigna <jug@lyx.org>
603 * text2.C (cursorLeft): fix one of error
605 2005-07-17 Juergen Vigna <jug@lyx.org>
607 * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
609 more fixes for boundary handling
611 * text3.C (dispatch): don't reset cursor if boundary has changed
614 2005-07-16 Juergen Vigna <jug@lyx.org>
616 * text2.C (getColumnNearX): hopefully got it right now,
617 check if we are on column 0 for special case.
619 2005-07-16 Juergen Vigna <jug@lyx.org>
621 * text2.C (getColumnNearX): handle special case Newline Inset
623 * text.C (singleWidth): Just remove bogus check
625 2005-07-16 Michael Schmitt <michael.schmitt@teststep.org>
627 * funcrequest.C (split): avoid reading uninitialized char c
629 2005-07-16 José Matos <jamatos@fc.up.pt>
635 * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
636 single papersize variable.
638 2005-07-16 Juergen Vigna <jug@lyx.org>
640 * text3.C (dispatch): honor boundary when checking if a cursor
641 movement has been done
643 * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown)
644 (setCursor, setCursorIntern): fix cursor movement with boundary
646 2005-07-16 Juergen Vigna <jug@lyx.org>
648 * text.C (currentState): output the actual Boundary
650 2005-07-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
652 * factory.C (createInset): fix bad logic for tabular creation
654 2005-07-16 Lars Gullik Bjønnes <larsbj@lyx.org>
656 * lyx_main.C (init): change some reLyX reference to tex2lyx
658 2005-07-16 Juergen Vigna <jug@lyx.org>
660 * dociterator.C (DocIterator): initialize boundary
662 2005-07-16 Juergen Vigna <jug@lyx.org>
664 * text2.C (getColumnNearX): Consider rows without trailing blank.
666 2005-07-16 André Pönitz <poenitz@gmx.net>
668 * lyxfont.h: Change order of declarations to give the compiler
669 a better chance to inline things
671 * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
672 questions on unsaved docs for better scritability
674 2005-07-16 André Pönitz <poenitz@gmx.net>
676 * paragraph.h (getChar): remove asserts as the same kind of security
677 can be achieved by using a suitable standard library implementation
678 and the function was in the critical path (25.9% in profiler)
680 2005-07-16 Juergen Vigna <jug@lyx.org>
682 * cursor.C (bruteFind2):
683 * bufferview_funcs.C (coordOffset):
684 * text.C (cursorX,cursorY): Handle cursor position after last char
685 in row before a inset which uses a whole row.
687 2005-07-15 José Matos <jamatos@lyx.org>
689 * output_plaintext.[Ch] (writeFileAscii): control reference title
691 (asciiParagraph): noparbreak was already deal and was incorrectly
694 2005-07-15 Juergen Vigna <jug@lyx.org>
696 * lyxfunc.C (dispatch): save and restore the cursor after a
699 2005-07-15 Lars Gullik Bjønnes <lgb@tandberg.net>
701 * text.C (backspace): bug 806 for empty keepempty paragraphs we
702 change the layout to default before letting DEPM do its thing.
704 * paragraph_funcs.C (breakParagraph): dont reset the layout on
707 * text.C (setCursorFromCoordinates): add a debug statement
709 * text2.C (getColumnNearX): bug 1825 make sure that we don't
710 return a pos that is not on the row
712 * output_latex.C (TeXDeeper): get rid of potential dereferencing
713 of past the end iterator
715 2005-07-14 André Pönitz <poenitz@gmx.net>
717 * undo.C (recordUndoFullBuffer): implement undo for
720 2005-07-14 André Pönitz <poenitz@gmx.net>
722 * cursor.C (setSelection): open insets when selection is set there
723 to avoid crashs with cold coord cache
725 2005-07-14 André Pönitz <poenitz@gmx.net>
727 * trans_mgr.C (insert): move cursor to the right after inserting
730 2005-07-14 Lars Gullik Bjønnes <larsbj@lyx.org>
732 * BufferView_pimpl.C (update): dampen some of the debug blabbering
733 * factory.C (readInset): ditto
734 * text.C, text2.C: ditto
736 2005-06-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
738 * buffer.C: format incremented to 242. There is no file format per
739 se, but the "frenchb" language has been removed from lib/language
740 and has to be translated to "french" by lyx2lyx.
742 2005-07-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
744 * cursor_slice.h, dociterator.h: add some documentation
745 * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
747 2005-07-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
749 * text.C (leftMargin): do not add identation to display() style
750 insets, because they are always centered (bug 1293).
752 2005-07-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
754 * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
755 formatted_time methods in support/lyxtime.
757 2005-07-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
759 * toc.[Ch]: new method getGuiName, which is used by the frontends
760 to set the toc combo (fixes bug 1870). Make TOC string translatable.
762 2005-07-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
764 * dociterator.[Ch]: implement operator==(StableDocIterator const &,
765 StableDocIterator const &)
766 * undo.C (recordUndo): use the above instead of cell.size() comparison
767 (fixes bug 1808; instructed by Andr�.
769 2005-06-29 Martin Vermeer <martin.vermeer@hut.fi>
772 * dociterator.h: Fix the assert when copying rows/cols in math
774 2005-06-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
776 * BufferView_pimpl.C:
778 * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
780 * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
781 (findInset): new functions, refactored from goto Inset that return
782 the position of a certain inset without setting the buffer's cursor
784 (gotoInset): rewrite to call findInset and then set the cursor
787 2005-06-16 Angus Leeming <leeming@lyx.org>
789 * lyxrc.C (output, read): wrap all input and output of paths with
790 calls to os::internal_path and os::external_path, respectively.
791 (output): wrap bind_file inside quotes.
793 * format.C (view): enable the viewer to use the '$$s' placeholder.
795 2005-06-16 Georg Baum <Georg.Baum@post.rwth-aachen.de>
797 * LColor.[Ch] (getFromLaTeXName): new
799 2005-06-16 Martin Vermeer <martin.vermeer@hut.fi>
801 * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
803 2005-06-14 Angus Leeming <leeming@lyx.org>
805 * lyx_main.C (init): ensure that the LyX binary dir is the first
806 element in the PATH on non-POSIX builds.
808 2005-06-11 Georg Baum <Georg.Baum@post.rwth-aachen.de>
810 * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
812 2005-06-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
814 * rowpainter.C (paintInset, paintHebrewComposeChar)
815 (paintArabicComposeChar, paintChars): add a LyXFont argument.
816 (paintChars): use getFontSpan to reduce calls to getFont to a
817 minimum; use Paragraph::lookupChange instead of isXXXText.
818 (paintForeignMark): rename LyXFont argument.
819 (paintFromPos): pass a LyXFont object to the various paintXXX
822 * FontIterator.C (FontIterator, operator++): use
823 Paragraph::getFontSpan
825 * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
826 version that returns the font span as a pair.
828 2005-06-09 Angus Leeming <leeming@lyx.org>
830 * converter.C (convert): Don't forget "outfile = real_outfile" as
831 the final step in a conversion where the input and output file names
832 are the same. Otherwise, future conversion steps won't work...
834 2005-06-09 Angus Leeming <leeming@lyx.org>
836 * lyxsocket.C: remove stub code as it isn't needed by
837 MinGW/MinSYS anyway. Let's see if the MSVC people scream...
839 2005-06-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
841 * lyx_main.C (parse_execute): Fix last fix: is_gui = false
842 effectively disabled -x
844 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
846 * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
847 when it actually makes sense.
849 2005-06-06 Martin Vermeer <martin.vermeer@hut.fi>
851 * BufferView_pimpl.C: revert to showCursor in connection with
852 Lars's front-end stack
854 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
856 * text.C (redoParagraph): move cursor right after a bibitem
859 * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
861 2005-06-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
863 * buffer_funcs.C (bufferErrors): fix computation of the end of an
866 2005-05-31 Martin Vermeer <martin.vermeer@hut.fi>
868 * BufferView.[Ch] (update):
869 * BufferView_pimpl.[Ch] (update, metrics):
870 * dimension.h (operator==):
871 * lyxfunc.C (dispatch):
872 * metricsinfo.h (ViewMetricsInfo):
873 * rowpainter.C (paintText):
875 * text.C (redoParagraph):
876 * text3.C (dispatch): Make LyX only repaint current paragraph in
877 case of character insert --> speedup. Also fix cursor draw
880 2005-05-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
882 * bufferview_funcs.C (gotoInset): fix the wrap-around code to
883 avoid a crash (bug 1891)
885 2005-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
889 * text2.C (getStringToIndex): constify cur argument.
891 * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
892 argument has been given
893 (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
894 try to invoke LFUN_INSET_APPLY).
896 * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
897 if no inset was created by doInsertInset
898 (doInsertInset): return true if an inset has been inserted.
900 2005-05-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
902 * vspace.C (asGUIName): new method. A version of the space
903 suitable for showing on screen.
905 2005-05-20 Michael Schmitt <michael.schmitt@teststep.org>
908 * lyxrc.C: rename "ASCII" to "Plain Text"
910 2005-05-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
912 * buffer_funcs.C (expandLabel): take a Buffer as argument;
913 translate the labelstring.
914 (setCounter): translate labelstring as needed.
916 * output_docbook.C (makeCommand): fix expandLabel invokation
918 2005-05-14 Michael Schmitt <michael.schmitt@teststep.org>
920 * BufferView.C: fix dialog title
922 2005-05-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
924 * lyx_main.C (priv_exec): fix logic error with help from Angus
925 * lyx_main.C (parse_execute): set is_gui = false and remove now
926 obsolete comment about a segfault
928 2005-05-18 Angus Leeming <leeming@lyx.org>
930 * buffer.C (readFile): Quote all file names passed to lyx2lyx.
932 2005-05-12 Martin Vermeer <martin.vermeer@hut.fi>
934 * tabular.[hC]: added setCellInset to fix tabular paste.
936 2005-05-11 Lars Gullik Bjønnes <larsbj@gullik.net>
938 * buffer.C (save): check if destination is writable before trying
941 2005-05-11 Martin Vermeer <martin.vermeer@hut.fi>
943 * BufferView_pimpl.C (update): fix processEvents -caused update
946 2005-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
948 * buffer_funcs.C (setCounter): fix test for numbering of
951 * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
952 depth correctly; use optional argument when it exists
954 * lyxtextclass.C: remove unused MaxCounterTags enum
955 (Read): compute min_toclevel_ and max_toclevel_ after reading class.
956 (max_toclevel, min_toclevel): new methods.
958 * MenuBackend.C (expandToc2): fix case where depth is smaller than
959 the smallest depth in toc.
961 * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
962 layouts that should not appear in a table of contents.
964 2005-05-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
966 * cursor.h (undispatched, noUpdate): add comments from Andr�
967 2005-05-07 Michael Schmitt <michael.schmitt@teststep.org>
971 * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
973 2005-05-07 André Pönitz <poenitz@gmx.net>
975 * cursor.[Ch] (leaveInset): new function
977 2005-05-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
979 * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
981 2005-05-04 Angus Leeming <leeming@lyx.org>
983 * lyxfunc.C (getStatus): disable the spell checker dialog if
984 none of USE_[AIP]SPELL are defined.
986 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
988 * tabular.C (setWidthOfCell): remove obsolete comment
990 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
992 * paragraph.C (bibitem):
993 * buffer_funcs.C (setCounter):
994 * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
996 2005-05-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
998 * text3.C (getStatus): immediately return after setOnOff
1000 * rowpainter.C: fix drawing of appendix start
1002 2005-05-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1004 * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
1005 SwitchBetweenClasses and remove the unused return value.
1006 Handle character styles, too
1008 2005-05-03 Martin Vermeer <martin.vermeer@hut.fi>
1010 * factory.C (createInset): handle undefined character styles
1012 2005-05-02 Angus Leeming <leeming@lyx.org>
1014 * buffer.C: protect the #include of utime.h with a preprocessor
1017 2005-05-02 Angus Leeming <leeming@lyx.org>
1019 * lyx_cb.C: artificially define fork() on Windows as a no-op failing
1020 function so that auto-saving works, albeit in a blocking manner.
1022 * Makefile.am: make compilation of the client sub directory, of
1023 aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
1024 on conditionals set at configure time.
1026 * SpellBase.[Ch]: no longer an abstract base class. Instead,
1027 it can be compiled in its own right but has no-op functionality.
1029 * aspell.C, pspell.C: remove preprocessor guards. The files should
1030 be compiled only if the necessary functionality exists.
1032 * lyxserver.C, lyxsocket.C: disable on Windows.
1034 2005-05-01 Martin Vermeer <martin.vermeer@hut.fi>
1036 * text.C (leftMargin): Fix the parindent use bug (1764)
1039 2005-04-28 Michael Schmitt <michael.schmitt@teststep.org>
1041 * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
1044 2005-04-25 Angus Leeming <leeming@lyx.org>
1052 include <config.h> in .C files, not .h ones.
1054 protect headers inside preprocessor guards.
1056 2005-04-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1058 * FuncStatus.h (StatusCodes): document
1060 2005-04-21 André Pönitz <poenitz@gmx.net>
1062 * FuncStatus.h (enabled, onoff): document
1064 2005-04-19 Angus Leeming <leeming@lyx.org>
1066 * BufferView_pimpl.C (cursorToggle): no longer test whether
1067 any child processes have been reaped before calling
1068 handleCompletedProcesses().
1070 2005-04-19 Martin Vermeer <martin.vermeer@hut.fi>
1072 * text3.C (dispatch): fix, finally fix, the language problem in
1073 new lyxtexts, without disabling on-the-fly font changes (Helge's
1076 2005-04-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1078 * text3.C (dispatch): set cursor on double/triple click events
1081 2005-04-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1083 * lyxfunc.C (actOnUpdatedPrefs): avoid warning
1084 (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
1086 * rowpainter.C (paintFirst): simplify the code a little bit. In
1087 particular, remove the test for secnumdepth.
1088 * text.C (setHeightOfRow): only allocate space for chapter number
1089 when updateCounters provided an actual label, instead of looking
1090 at secnumdepth directly.
1092 * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
1094 * buffer_funcs.C (setCounter): only number LABEL_COUNTER
1095 paragraphs when secnumdepth is large enough or, for environments,
1096 when they are not the first in a sequence.
1098 2005-04-17 Angus Leeming <leeming@lyx.org>
1100 * buffer.C (makeLaTeXFile): replace code to manipulate a path
1101 containing space and '~' characters with a call to latex_path().
1103 2005-04-17 Angus Leeming <leeming@lyx.org>
1105 * converter.C (convert): protect all args of convertDefault.sh
1108 2005-04-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1110 * text3.C (dispatch): change the layout to "Caption" after inserting
1113 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
1115 * text3.C (dispatch): fix language problem in newly created
1116 textinsets (and main text) in non-english docs
1118 2005-04-13 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1120 * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
1121 * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
1122 * text3.C (getStatus): disable LFUN_INSET_MODIFY
1124 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
1128 * text2.C (getFont):
1129 * rowpainter.C (getFont): Fix metrics bug introduced by inset
1132 2005-04-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1134 * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
1135 output of \item arguments without trailing text.
1137 2005-04-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1139 * FontIterator.C (operator*): avoid a copy of the font.
1141 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
1143 * rowpainter.C (getFont): fix language bug from previous fix
1145 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
1147 * rowpainter.C (RowPainter, getFont): fix font inside inset
1150 2005-04-06 Martin Vermeer <martin.vermeer@hut.fi>
1152 * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
1153 preventing inserted font, deco, delim insets jumping to start of
1156 2005-03-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1158 * lyxfunc.C (dispatch): translate message before sending it to the
1161 2005-03-29 Angus Leeming <leeming@lyx.org>
1163 * lyx_main.C (priv_exec): call os::internal_path on each file passed
1164 to LyX on the command line.
1166 2005-03-25 Stephan Witt <stephan.witt@beusen.de>
1168 * vc-backend.C: use QuoteName to protect file names wherever
1171 2005-03-27 Martin Vermeer <martin.vermeer@hut.fi>
1174 * BranchList.h: fix bugs 1844,1845: document settings don't
1177 2005-03-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1179 * lyxrc.C (setDefaults, read, output, getDescription): add support
1180 for tex_allows_spaces.
1182 * exporter.C (Export): allows files in directory containing spaces
1183 if tex_allows_spaces is true.
1185 * buffer.C (makeLaTeXFile): if the document path contains spaces,
1186 output it in double quotes.
1188 2005-03-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1190 * rowpainter.C: use default text height for drawing change tracker
1193 2005-03-21 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1195 * lyx_main.C: fix binding of tabulator key (especially S-Tab).
1197 2005-03-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1199 * lyx_main.C (queryUserLyXDir): fix logic when LyX support
1200 directory is missing.
1202 2005-03-11 Martin Vermeer <martin.vermeer@hut.fi>
1204 * text2.C: fixed the fix, extended to other case.
1206 2005-03-08 Martin Vermeer <martin.vermeer@hut.fi>
1208 * text2.C: fix for cursor up/down stuck in math [bug 1792]
1210 2005-03-07 Alfredo Braunstein <abraunst@lyx.org>
1212 * text2.C (cursorUp): get rid of a crash
1213 * text.C (x2pos): add an assert
1215 2005-03-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1217 * lyxfunc.C (getStatus): fix warning when assertions are disabled
1221 * dociterator.C: include <boost/current_function.hpp>, which is
1222 needed when assertions are disabled.
1224 2005-03-05 Johnathan Burchill <jkerrb@users.sourceforge.net>
1226 * text2.C: fix for stuck cursor when traversing two
1227 consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
1229 2005-02-25 Andreas Vox <avox@arcor.de>
1231 * output_docbook.C (makeParagraph): suppress trailing newline
1232 after a run of paragraphs
1234 2005-02-28 Johnathan Burchill <jkerrb@users.sourceforge.net>
1236 * paragraph.C: fix for confused change tracker when pasting
1237 text that begins with a lineseparator. [bug 1827]
1238 (setChange(0, Change::INSERTED);)
1240 * paragraph_funcs.C: fix for lost changes on triple-paste
1241 in change tracking mode [bug 1827] (par.setChange()).
1243 2005-02-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1245 * text2.C (updateCounters, setCounter, expandLabel): move to
1248 * buffer_funcs.C (updateCounters): turn into a free standing
1249 function and add a buffer parameter. Remove dead code for tracking
1251 (setCounter): change into a free-standing function which gets a
1252 dociterator as argument. Use this iterator to fix captions in a
1253 simple way. When no float is found above the caption, use the
1254 labelstring of the caption layout as default.
1256 * text.C (breakParagraph, backspace):
1257 * text2.C (init, setLayout, changeDepth):
1258 * text3.C (dispatch):
1259 * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
1262 * dociterator.C (forwardPar): make it much faster by calling
1263 forwardPos() only when really necessary.
1265 * output_docbook.C (makeCommand): adapt to expandLabel move.
1267 * cursor.C: remove unused variable
1269 2005-02-24 Johnathan Burchill <jkerrb@users.sourceforge.net>
1271 * paragraph_funcs.C: fix crash when pasting insets in change
1272 tracking mode [bug 1277] (honour change type in moveItem).
1274 2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1276 * LaTeX.C (scanLogFile): recognize pdfTeX warnings
1278 2005-02-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1280 * BufferView.C (setCursor): change to use a DocIterator.
1281 (gotoLabel): use BufferView::setCursor (other part of bug 781).
1282 (putSelectionAt): adapt to BufferView::setCursor change.
1284 * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
1285 moved here from LyXText and rewritten to use proper cursor
1286 methods. Fixes bug 1787, 616 and 835.
1288 * BufferView_pimpl.C (restorePosition): set the cursor correctly
1289 when inside an inset (part of bug 781).
1290 (dispatch): adapt to change of BufferView::setCursor.
1291 (getStatus, dispatch): handle LFUN_GOTOERROR,
1292 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1294 * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
1295 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1296 * text3.C (gotoNextInset, gotoInset): removed.
1298 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1300 * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
1302 2005-02-15 Angus Leeming <leeming@lyx.org>
1304 * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
1305 can be used meaningfully in a comparison.
1307 2005-02-13 André Pönitz <poenitz@gmx.net>
1309 * bufferview_funcs.C (coordOffset): improve cursor drawing
1311 2005-02-13 André Pönitz <poenitz@gmx.net>
1313 * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
1314 * Cursor.C (dispatch): use fixIfBroken
1315 * lyxfunc.C (getStatus): use fixIfBroken
1317 2005-02-15 Angus Leeming <leeming@lyx.org>
1319 * lyx_main.C (error_handler):
1321 * lyxrc.C (setDefaults):
1323 #include "environment.h".
1325 * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
1327 2005-02-15 Angus Leeming <leeming@lyx.org>
1329 * lyxserver.C (startPipe): squash MSVC warning "local variable
1330 'fd' used without having been initialized".
1332 2005-02-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1334 * BufferView_pimpl.C: revert accidental commit.
1336 2005-02-14 André Pönitz <poenitz@gmx.net>
1338 * dociterator.[Ch]: new member forwardPosNoDescent(),
1339 which doesn't enter nested insets.
1340 * text2.C (setFont): use forwardPosNoDescent() instead
1341 of ForwardPos() (fixes crash on font change).
1343 2005-02-13 Angus Leeming <leeming@lyx.org>
1345 * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
1346 only if lyxrc.path_prefix is not empty.
1348 2005-02-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1350 * bufferparams.C (readGraphicsDriver): prevent crash
1352 2005-02-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1354 * text2.C (setCounter): check for inInset() == 0
1356 2005-02-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1358 * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
1359 but use update() to get correct screen display; use convert
1360 instead of istringstream.
1361 (getStatus): handle LFUN_GOTO_PARAGRAPH
1363 * lyxfunc.C (dispatch, getStatus): do not handle
1364 LFUN_GOTO_PARAGRAPH here.
1366 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1368 * text3.C (dispatch): size() -> depth()
1370 * text2.C: remove some debug output
1372 * paragraph.C: ws changes only
1374 * lyxfunc.C (getStatus): size() -> depth()
1376 * dociterator.h (clear, push_back, pop_back, internalData,
1377 operator[], resize, empty): new functions
1378 Make StableDocIterator and operator== be friends. Don't inherit
1379 from std::vector use a privat class variable slices_ instead.
1382 * dociterator.C: update because of not inheriting from std::vector
1383 anymore. Call explictly to slices_ instead. Use depth() instead of
1384 size() and top() instead of back()
1386 * cursor.C: chagne size() -> depth and back() -> top(). Also
1387 remove some direct operator[](i) calls in favour of foo[i]
1388 (getFont): remove some dead code
1390 * bufferview_funcs.C (coordOffset): size() -> depth()
1392 * buffer.C: ws changes only
1394 * CutAndPaste.C (eraseSelection): back() -> top()
1396 * BufferView_pimpl.C (selectionRequested): back() -> top()
1398 * BufferView.C (setCursor): size() -> depth()
1400 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1402 * text3.C (cursorPrevious): return true if depm changed something
1404 (dispatch): rename sl to oldTopSlice, remove moving use the new
1405 NoUpdate func attrib instead. Make sure that needsUpdate is set
1406 for function that have NoUpdate, but where depm might have changed
1409 * text2.C (cursorLeft): make us return true if depm changed
1411 (cursorRight): ditto
1412 (cursorUpParagraph): ditto
1413 (curosrDownParagraph): ditto
1414 (cursorUp, cursorDown): ditto, make sure to read comments in code
1415 (deleteEmptyParagraphMechanism): remove an assert, also return
1416 true if just a single char was deleted.
1418 * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
1419 cursor that we modify, to avoid modifying an active cursor before
1420 we call setCursor. This allows depm to run. Also return true if
1421 depm deleted something.
1423 * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
1424 cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
1425 cursorDownParagraph, cursorPrevious and cursorNext, return true if
1426 something was changed in the buffer because of them (ie. depm run)
1428 * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
1429 debug messages. Make update by default be false. Make sure that
1430 the result of update is retained throught several calls down to
1433 * LyXAction.h: add a new func_attrib: NoUpdate
1435 * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
1436 LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
1437 LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
1439 (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
1441 2005-02-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1443 * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
1444 bv_->owner(), bv_->buffer() by direct references to the private
1446 (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
1447 (getStatus): isSavedPosition() is in BufferView::Pimpl.
1448 (fitCursor): center() is in BufferView::Pimpl.
1449 (getStatus, trackChanges, dispatch): no need for a temporary buf
1451 (fitCursor, workAreaDispatch): use workarea().workheight()
1453 2005-02-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1455 * CutAndPaste.C (pasteSelectionHelper): fix a crash
1457 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1459 * buffer.C: format up to 241.
1460 * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
1461 break if pasting into ERT
1462 * lyxfunc.C (getStatus): suppress mathpanel and
1463 LFUN_DIALOG_SHOW_NEW_INSET in ERT
1465 2005-02-01 Angus Leeming <leeming@lyx.org>
1467 * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1469 2005-02-01 Angus Leeming <leeming@lyx.org>
1471 * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1472 calling fs::is_directory().
1474 2005-01-31 Angus Leeming <leeming@lyx.org>
1476 * lyx_main.C (priv_exec): specify explicitly the relative location
1477 of the top level build directory when run in-place.
1479 2005-01-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1481 * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1482 LyXText containing the cursor, not the top-level one.
1484 * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1486 (insertStringAsLines): rename par to pit; use temporary variable
1487 par to hold a Paragraph; do not store par.layout() in a variable,
1488 since the pointer may die when breaking paragraphs; pass pars to
1489 breakParagraph() instead of Buffer::paragraphs().
1491 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1493 * lyxlex_pimpl.h: #include <fstream>.
1495 * BufferView.[Ch] (getLyXText): add a const version.
1497 * BufferView_pimpl.C: add debug aids.
1502 * paragraph_funcs.h: add commentary explaining what the class does.
1505 * coordcache.[Ch]: add lots of commentary.
1506 (startUpdating, doneUpdating): debug aids.
1507 (arrays, insets, parPos, getParPos): accessors to private data.
1509 * cursor_slice.[Ch] (text): add a const version.
1510 * dociterator.[Ch] (text, innerText): add const versions.
1512 * lyxtext.h (breakParagraph): change the keep_layout arg to a
1515 * paragraph.C (getRow, pos2ros): add asserts.
1517 * paragraph.h: add commentary. Lots of.
1519 * paragraph.[Ch] (metrucs, draw): removed.
1522 * rowpainter.[Ch]: const-correct changes.
1524 * text.C: various obvious clean-ups. Removal of ancient cruft.
1527 2005-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
1529 * vc-backend.C (find_file): rewrite to use boost.filesystem
1532 * main.C (main): set default name check for boost.filesystem to
1535 * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1538 (actOnUpdatedPrefs): ditto
1540 * lyx_main.C (init): rewrite to use boost.filesystem
1541 (queryUserLyXDir): ditto
1543 * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1544 (getContentsOfAsciiFile): ditto
1546 * lastfiles.C (readFile): rewrite to use boost.filesystem
1548 * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1550 * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1551 (loadLyXFile): ditto
1553 * buffer.C (Buffer): adjust for destroydir
1554 (getLogName): rewrite to use boost.filesystem
1555 (setFileName): ditto
1556 (save): use fs::copy_file (from fs_extras)
1558 * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1560 * LaTeX.C (run): rewrite to use boost.filesystem
1561 (scanAuxFiles): ditto
1562 (handleFoundFile): ditto
1564 2005-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1566 * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1568 * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1570 2005-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1572 * lyxlayout.[Ch]: change some vars from float to double
1574 * buffer.C (readFile): make a local var const
1576 * Several files: use convert<> instead of atoi,strToXXX and friends
1578 2005-01-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1580 * LaTeXFeatures.[Ch]: Add a static list packages_ that
1581 holds the contents of packages.lst. New functions getAvailable
1582 and isAvailable to parse and check that list, resp.
1586 * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1588 * bufferparams.[Ch]: new param output_changes.
1590 * Buffer.C: increase file format to 240.
1591 Use output_changes and isVailable.
1595 * paragraph_pimpl.C: Use output_changes and isVailable.
1597 2005-01-23 Angus Leeming <leeming@lyx.org>
1599 * output_latex.C: #include "insetbibitem.h", rather than
1600 forward declare function bibitemWidest.
1602 2005-01-21 Andreas Vox <vox@isp.uni-luebeck.de>
1604 * lyx_main.C (init): make it compile on the Mac.
1606 2005-01-20 Angus Leeming <leeming@lyx.org>
1608 * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1609 (setLyXMisc): (char string literal) != (char string literal) is
1610 performing a comparison on the addresses. Convert one operand
1611 explicitly to string to guarantee expected behaviour.
1614 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1617 * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1619 * output_plaintext.C: remove unneeded #include gzstream.h.
1621 2005-01-20 Angus Leeming <leeming@lyx.org>
1623 * SpellBase.h: rename some of the elements of the Result enum.
1630 * pspell.C (check): ditto
1632 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1634 * buffer.C: add #include <fstream>.
1636 * lyx_main.C (init): Compile fix.
1638 * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1640 2005-01-20 Angus Leeming <leeming@lyx.org>
1642 * mover.h: change commentary to reflect the changed meaning of
1643 the $$s placeholder.
1645 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1647 * output_linuxdoc.C (linuxdocParagraphs): silence warning
1649 * lyxfind.C (MatchString::operator()): remove bogus semicolon
1651 2005-01-20 Angus Leeming <leeming@lyx.org>
1653 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1654 printing diagnostic data by not dereferecing an iterator past the
1657 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1659 * buffer.C (readHeader): use "&&" rather than "and".
1661 * lyxserver.h (inPipeName, outPipeName): make these const.
1663 2005-01-19 Angus Leeming <leeming@lyx.org>
1665 * lyx_main.C (error_handler, init): protect SIGHUP with
1666 #ifdef SIGHUP guards.
1668 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1670 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1672 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1674 * text.C (setHeightOfRow): add a margin at the top and bottom of
1675 the document (bug 1761)
1677 2005-01-17 Angus Leeming <leeming@lyx.org>
1679 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1680 with "python ". Workaround for a brain-dead Windows.
1682 2005-01-16 Angus Leeming <leeming@lyx.org>
1684 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1685 for MacOSX and Windows to use prependEnvPath.
1686 Strip out the hard-coded block to add elements to the PATH for
1687 MacOSX and replace it with a call to prependEnvPath using the
1688 contents of LyXRC::path_prefix.
1689 (queryUserLyXDir): strip out the code to run reconfigure, instead
1690 returning a boolean indicating the necessity to do so.
1691 (reconfigureUserLyXDir): contains the code to reconfigure the
1692 user support directory. Is now called after the various LyXRC data
1693 files have been read.
1695 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1697 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1699 * converter.[Ch] (convert): take a new parameter try_default. Use
1700 a default converter (imagemagick) if try_default is true.
1702 2005-01-13 Angus Leeming <leeming@lyx.org>
1704 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1705 os::cygwin_path_fix.
1706 (write): output LyXRC::cygwin_path_fix as necessary.
1708 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
1711 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1713 2005-01-12 Angus Leeming <leeming@lyx.org>
1715 * lyx_main.C (init): set the PATH variable to include the
1716 directory containing the LyX binary when running on Mac or Windows.
1718 2005-01-12 Angus Leeming <leeming@lyx.org>
1720 * lyx_main.C (init): remove cruft that purports to set the locale
1721 dir. It doesn't and is not needed anyway.
1723 2005-01-10 Angus Leeming <leeming@lyx.org>
1725 * Makefile.am: remove the lyx_main.C special casing.
1727 * BufferView_pimpl.C:
1733 * messages.C: use support/package.h to provide the paths to the
1734 various directories used by LyX.
1736 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1738 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1739 layout if pasting into an empty paragraph)
1741 2005-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
1743 * tex-accent.C: add <string>
1745 2005-01-06 José Matos <jamatos@lyx.org>
1747 * ParagraphParameters.C (write): put every parameter in its own line.
1748 * paragraph.C (write): reduce number of consecutive empty lines exported.
1749 * buffer.C (LYX_FORMAT): increase file format to 239.
1751 2005-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1753 * everywhere: change support/tostr.h -> support/convert.h
1755 * tabular.C: make all write_attributes templates, tostr -> convert
1757 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1758 (emptyTag): and -> &&, and fix type for ret from getChar
1759 (getFirstWord): fix type for ret from getChar
1760 (onlyText): and -> &&
1761 (simpleDocBookOnePar): and not -> && !, fix type for ret from
1764 * toc.C (goTo, action):
1765 * text3.C (dispatch):
1766 * text.C (currentState):
1767 * tex-accent.C (DoAccent):
1770 * lyxfunc.C (menuNew):
1771 * lyxfinc.C (replace):
1772 * counters.C (laberItem):
1773 * bufferview_funcs.C (font2string):
1774 * bufferparams.C (writeFile):
1775 * buffer.C (readFile):
1777 * MenuBackend.C: tostr -> convert
1779 * LaTeX.C (runMessage): fix format
1780 (scanAuxFiles): tostr -> convert
1782 * BufferView_pimpl.C (savePosition): fix format
1783 (restorePosition): ditto
1786 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1788 * Spacing.[Ch]: New method getValueAsString().
1792 * ParagraphParameters.C:
1795 * text3.C: store/read spacing value as string.
1797 * rowpainter.C: change float value (spacing_val) to double.
1799 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1800 broken custom document spacing).
1802 2005-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
1804 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1805 namespace, also more use of temp references and const
1807 * cursor.[Ch] (getStatus): move to lyxfunc.C
1809 * bufferparams.C: reformat slightly
1811 * bufferview_funcs.C (font2string): constify arg
1817 * buffer_funcs.C: (many funcs): constify arg on function
1818 definitions, also make more local vars const, also add ASSERTS on
1821 * buffer.C (LYX_FORMAT): put const in correct place
1822 (many funcs): constify arg on function definitions, also make
1823 more local vars const
1825 * aspell_local.h: remove "struct" from typdef setup
1827 * aspell.C (check): make word_ok const
1828 (nextMiss): simplify slightly
1831 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1833 * lyxrc.[Ch]: store all float values as strings.
1834 use int (not float) for lyxrc.dpi.
1836 2005-01-04 Angus Leeming <leeming@lyx.org>
1838 * lyx_cb.C (Reconfigure):
1839 * lyx_main.C (queryUserLyXDir):
1840 to run the <system_lyxdir>/configure correctly on Windows, prefix
1841 the path to the script with "sh " when generating the string that
1842 is passed to system().
1844 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1846 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1848 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1850 * lyxlength.C (asLatexString): get rid of setprecision
1852 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1854 * text2.C (setLayout): remove unused variable endpit.
1855 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1857 * paragraph.C (onlyText): remove unused variable style.
1859 * cursor.C (bruteFind): remove unused variables beg and end.
1861 * Makefile.am (dist_noinset_DATA): not needed anymore
1863 * cheaders/*: remove.
1865 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1867 * text3.C: fix LFUN_MATH_MODE.
1869 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1871 * buffer_funcs.C (countWords): new function. Counts words between
1874 * BufferView_pimpl.C (getStatus, dispatch): handle
1877 * LyXAction.C (init):
1878 * lfuns.h: add LFUN_WORDS_COUNT.
1880 2004-12-19 Angus Leeming <leeming@lyx.org>
1882 * buffer.C (save): s/slashify_path/internal_path/.
1884 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1886 * lyxfind.C (findChange): do not search for end of pars, because
1887 the change tracker cannot handle this (fixes bug 1719).
1889 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
1891 * paragraph.[Ch] (autoBreakRows): remove
1893 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1895 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1896 avoid using the paragraph one
1898 * text2.C (LyXText, insertStringAsLines): adjust
1900 2004-12-16 Angus Leeming <leeming@lyx.org>
1904 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1906 2004-12-14 Angus Leeming <leeming@lyx.org>
1908 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1910 * bufferlist.C (emergencyWrite):
1911 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1914 2004-12-14 Angus Leeming <leeming@lyx.org>
1916 * main.C: (main): no longer pass pointers to os::init.
1918 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1920 * undo.C (textUndoOrRedo): simplify logic, fix a crash
1921 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1923 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1926 * text3.C: remove selection_possible global flag
1928 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1930 * text2.C (getSelectionSpan): remove
1931 (changeDepth, changeDepthAllowed): adjust
1933 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
1935 * Makefile.am (BOOST_LIBS): use boost variables
1937 2004-12-03 José Matos <jamatos@lyx.org>
1939 * buffer.C: format up to 238.
1941 2004-12-03 José Matos <jamatos@lyx.org>
1943 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1945 2004-12-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1947 * cursor.C (goUpDown): remove call to idxUpDown2
1949 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1951 * tabular.[Ch]: use size_t-like types for cell, row and column
1954 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1956 * lyxfunc.C (getStatus): do not lose previous information when
1957 calling BufferView::getStatus; do not set a default "Command
1958 disabled" message at the beginning, but just before returning.
1960 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1962 * cursor.h (getStatus): add better comment from src/cursor.C
1964 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1966 * text3.C (getStatus): return false when the lfun is not handled
1968 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1970 * broken_headers.h: remove
1972 * Makefile.am (lyx_SOURCES): remove broken_headers.h
1974 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1976 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1977 offset_ref accessors
1979 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1980 top_y_, merge fitcursor with update
1981 (updateScrollbar, scrollDocView, fitCursor, center, update): new
1983 (metrics): introduce
1984 (workAreaDispatch): adapt to new coord scheme
1985 (redoCurrentBuffer): remove
1987 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1989 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1992 * coordcache.[Ch]: add paragraph cache and helpers
1994 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1997 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1998 (targetX, setTargetX): introduce
2000 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
2001 baseline -> ascent, as the rest of lyx
2003 * lyxtext.h: remove redoParagraphs, updateParPositions,
2004 fullRebreak, redoParagraphInternal. move dist to anon namespace in
2005 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
2006 have ascent/descent (ascent is ascent of first par)
2008 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
2011 * paragraph.[Ch]: unify dimension handling with the rest of lyx
2013 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
2015 * pariterator.C: fix infinite loop introduced in par->pit renaming
2017 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
2018 in insets and LyXText, draw two off-screen paragraphs using
2019 NullPainter, and adapt to new coord scheme
2023 * text3.C: adapt lfun handlers to the new coord scheme, which
2024 means: there's only guaranteed coord information for onscreen pars
2025 plus one above and one below. This implies that one can do search
2026 from y coordinates in the range [-1,workHeight]
2028 2004-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2030 * rename a lot of InsetOld to InsetBase
2032 2004-11-25 Angus Leeming <leeming@lyx.org>
2034 * BufferView_pimpl.C:
2036 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
2038 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2040 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
2041 call BufferView::getStatus if LCursor::getStatus did nothing
2042 (setStatusMessage, getStatusMessage): removed.
2044 * FuncStatus.C (message): new methods. Used to provide an error
2045 message indicating why a command is disabled.
2046 (clear, |=, FuncStatus): update for message.
2048 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2050 * lyxfunc.C (dispatch): always call sendDispatchMessage
2052 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
2055 * BufferView_pimpl.C:
2060 * cursor_slice.[Ch]:
2063 * paragraph_funcs.C:
2069 * undo.C: par->pit renaming
2071 2004-11-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2073 * tabular.C (cellstruct): use initialization, store a shared_ptr
2074 to insettext instead of the insettext directly, adjust to fit.
2075 (operator=): new function
2076 (swap): new function
2077 (rowstruct): use initialization
2078 (columnstruct): use initialization
2079 (ltType): use initialization
2082 * lyxlength.h (swap): new function
2084 * LColor.[Ch] (operator=): use the common semantics
2086 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2088 * lyxfind.C (findNextChange): update the bufferview after setting
2091 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2093 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
2094 number of InsetOptArgs has already been inserted.
2096 * output_latex.C (latexOptArgInsets): new method. This outputs all
2097 the optarg insets, up to the limit defined in the layout file.
2098 (optArgInset): removed
2099 (TeXOnePar): call latexOptArgInsets; correctly update texrow
2101 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2103 * paragraph.C (isLetter): remove special spellchecker-related
2104 code; return true also for digits
2105 (isWord, isKomma): remove
2107 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
2108 * lyxfind.C (MatchString()): use isLetter instead of isWord
2110 2004-11-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2112 * pariterator.h (operatir=): comment out un-implemented member
2115 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
2118 2004-11-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2120 * lyxfont.h: include LColor.h to satisfy concept checks.
2122 2004-11-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2124 * pariterator.h: add typdefs for value_type, difference_type,
2125 pointer and reference to satisfy concept checks. Also add default
2126 constructor for same reason.
2128 * pariterator.C (operator++): add post-increment operator to
2129 satisfy concept checks.
2131 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
2134 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
2136 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
2137 checks. Also rename base_type to BaseType to follow naming
2140 * FloatList.h: include Floating.h to satisfy concept checks.
2142 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2144 * lyxfunc.C (getStatus): when the origin of the request is menu or
2145 toolbar, and the LyXView does not have focus, do as if there was
2146 no buffer (bug 1720)
2148 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
2149 FuncRequest to individual entries of LFUN_SEQUENCE
2151 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2153 * output_latex.C (TeXOnePar): override runparams.moving_arg
2154 according to the needprotect value of the current paragraph (bug
2157 * paragraph.C (simpleTeXOnePar): no need to override
2158 runparams.moving_args here
2160 2004-11-14 John Spray <spray_john@users.sourceforge.net>
2162 * vspace.C: fix off-by-one-error, related to fix #1682
2164 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2166 * lengthcommon.C: a more general fix for bug 1682
2168 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
2170 * text.C (backspace): fix crash
2172 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2174 * format.[Ch] (getFormatFromFile): new method
2175 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
2177 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2179 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
2181 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2183 * lyxfunc.C (dispatch): remove the verbose argument
2184 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
2187 * kbmap.C (defkey): set the origin of func to KEYBOARD
2189 * MenuBackend.C (MenuItem):
2190 * ToolbarBackend.C (add): set the origin of func to UI
2192 * funcrequest.[Ch]: add origin member, which indicates which part
2193 of LyX requests an action
2195 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2197 * converter.C (move): don't lie in the error message
2198 * converter.h (isReachable, move): document
2200 2004-11-07 Lars Gullik Bjønnes <larsbj@gullik.net>
2202 * buffer.C: remove unused using lyx::support::atoi
2203 * paragraph_funcs.C: ditto
2205 2004-11-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2207 * bufferlist.C (exists): use bind and equal_to instead of
2210 * lyxtextclasslist.C (NumberOfClass): ditto
2212 * cursor.C (insert): use for_each instead of explicit for loop
2214 * bufferlist.C (getFileNames): use std::transform and
2215 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
2217 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
2220 * buffer.C (changeLanguage): use for_each instead of explicit for
2222 (hasParWithID): implement using getParFromID
2224 * LaTeXFeatures.C: ws change only
2226 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
2229 * BufferView_pimpl.C (trackChanges): use for_each instead of
2232 2004-11-04 André Pönitz <poenitz@gmx.net>
2235 * undo.C (textUndoOrRedo): fix crash when creating undo information.
2237 * dociterator.C (asDocIterator): use hard assert again.
2239 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2241 * lyxlength.C (asLatexString): rewrite so that it does not use
2244 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2246 * text3.C (specialChar, dispatch): make sure cursor moves to the
2247 right after inserting an inset
2249 2004-11-02 José Matos <jamatos@lyx.org>
2251 * output_docbook.C (docbook):
2252 * paragraph.C (getID):
2253 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
2254 garantee that the output is always legal.
2256 * tabular.C (docbook):
2257 * outputprams.[Ch]: remove mixed contents.
2259 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2261 * text2.C (setCounter): prevent endless loop
2263 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2265 * exporter.C (copyFile): use the mover instead of support::copy()
2266 * exporter.C (Export): pass format and latex name to copyFile()
2267 * exporter.h (addExternalFile): document
2268 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
2270 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2272 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
2274 2004-10-30 José Matos <jamatos@lyx.org>
2276 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
2277 text and no inset or font change. This allows to use CDATA
2278 sections just for the whole paragraph.
2280 2004-10-30 José Matos <jamatos@lyx.org>
2282 * paragraph.C (getFirstWord): remove unused variable.
2284 2004-10-30 José Matos <jamatos@lyx.org>
2286 * paragraph.C (getFirstWord): the content should always be escaped
2288 (simpleDocBookOnePar):
2289 * output_docbook.C (makeEnvironment): replace reference to CDATA
2292 2004-10-30 José Matos <jamatos@lyx.org>
2294 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
2296 2004-10-30 José Matos <jamatos@lyx.org>
2298 * output_docbook.C (makeParagraphs):
2299 * paragraph.[Ch] (emptyTag): for docbook and company, if the
2300 standard paragraph has only a given type of content drop the wrapper.
2302 2004-10-29 José Matos <jamatos@lyx.org>
2304 * output_docbook.C (makeEnvironment):
2306 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
2308 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
2310 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
2311 (cleanID): sanitize any id.
2313 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2315 * buffer.C, lyxlex_pimpl.C:
2316 * lyxlex_pimpl.C (setFile):
2317 s/getExtFromContents/getFormatFromContents/
2319 2004-10-28 José Matos <jamatos@lyx.org>
2321 * output_docbook.C (makeEnvironment): move id to broadest possible
2324 * sgml.C (openTag): apply substitution of <> for all attributes.
2326 2004-10-28 José Matos <jamatos@lyx.org>
2328 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2329 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2330 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
2332 * sgml.[Ch]: new version for open and closeTag for paragraph and
2333 for strings. Now they handle the ids of paragraphs.
2335 2004-10-26 Angus Leeming <leeming@lyx.org>
2337 * Makefile.am: add mover.[Ch].
2339 * converter.C (convert, move): use the new Movers to move external
2340 files to the temp directory.
2342 * lyx_main.C (init): ensure that the global system_movers data
2345 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
2348 * mover.[Ch]: new files, defining a Mover as a utility to move an
2349 external file between directories and, if necessary, manipulate this
2350 file using a helper script.
2352 2004-10-25 José Matos <jamatos@lyx.org>
2354 * output_docbook.C (makeCommand): merge two if's that tested the
2357 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2359 * sgml.C (escapeString): fix warning in a better way
2361 2004-10-25 José Matos <jamatos@lyx.org>
2363 * sgml.C (escapeString): import the require boosts header file for
2364 tie, and avoid a signed unsigned comparison.
2366 2004-10-25 José Matos <jamatos@lyx.org>
2368 * sgml.h: add #include <string>
2370 2004-10-25 José Matos <jamatos@lyx.org>
2372 * sgml.[Ch] (escapeString): new function to escape all the string.
2374 2004-10-24 José Matos <jamatos@lyx.org>
2376 * paragraph.[Ch] (getFirstWord): new function to get the first
2377 word. Useful for description.
2378 (simpleDocBookOnePar): remove depth argument, add another that
2379 says where to start the paragraph.
2381 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2382 use the new functions to fix cleanly the support for descriptions.
2384 2004-10-24 José Matos <jamatos@lyx.org>
2386 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2387 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2388 * output_linuxdoc.C (linuxdocParagraphs):
2389 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
2390 add buffer as argument.
2392 2004-10-24 José Matos <jamatos@lyx.org>
2394 * output_docbook.C (makeEnvironment, searchEnvironment): place
2395 CDATA inside paragraphs and fix scope for listitems.
2397 2004-10-24 José Matos <jamatos@lyx.org>
2399 * output_docbook.C: remove using statement for stack.
2401 2004-10-23 José Matos <jamatos@lyx.org>
2403 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
2404 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
2405 docbook. The new scheme is recursive and makes use of iterators, the
2406 same as latex export works.
2407 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
2408 directly with the paragraph contents. This code was moved up to
2409 output_docbook.C (docbookParagraphs).
2410 * sgml.C (openTag, closeTag): removed unneeded newlines.
2411 (closeEnvTags) removed.
2413 2004-10-23 André Pönitz <poenitz@gmx.net>
2415 * undo.C (textUndoOrRedo):
2416 * dociterator.C (asDocIterator): work around crash
2418 * cursor.C (getStatus): replace ASSERT by more verbose error message
2419 and manual correction of the problem. Should increase stability
2420 while providing more sensible information.
2422 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2424 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
2426 * bufferlist.C (previous, next): new methods
2429 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
2431 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
2433 * buffer.C (makeDocBookFile): add dsssl stylesheet control
2434 entities to preamble.
2436 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2438 * messages.C (Pimpl): strip off translation context information
2440 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2442 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
2443 the cursor is correct (bug 1694)
2445 2004-10-13 José Matos <jamatos@lyx.org>
2447 * output_docbook.C (docbookParagraphs): fix closing tags in the
2448 end of the document.
2450 2004-10-09 José Matos <jamatos@lyx.org>
2452 * buffer.C: format up to 237.
2453 * bufferparams.C (write): use tostr to convert booleans to strings.
2455 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
2457 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
2459 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2461 * LaTeX.C: implement use of babel language in xindy.
2463 2004-10-05 José Matos <jamatos@lyx.org>
2465 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2466 Add new translators to help reading and writing the lyx file.
2468 2004-10-05 José Matos <jamatos@lyx.org>
2470 * ParagraphParameters.C (read):
2471 * text.C (readParToken): replace nexToken by more appropriate lex
2474 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
2476 * LaTeX.C (runMakeIndex):
2477 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2478 (usually 'makeindex') configurable.
2480 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2481 with a variable rather than with a number.
2483 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2485 * output_latex.C (TeXOnePar): make sure font setting is the first
2486 thing that gets output (and the last at the end). Should fix bug
2489 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2491 * pch.h: use proper signal include
2493 * LaTeX.h: Use preferred calling of Boost.Signal
2496 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2498 * pch.h: dont include <boost/function/function0.hpp>
2500 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2502 * paragraph_pimpl.h: remove usage of ShareContainer
2504 * paragraph_pimpl.C: remove initialization of ShareContainer.
2506 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2510 * BufferView.C (putSelectionAt): change the semantics when
2511 backwards == true: now, this just swaps cursor and anchor wrt the
2514 * BufferView.h (putSelectionAt): add some documentation
2516 * lyxfind.C (findBackwards): rewrite using while(). In particular,
2517 make sure backwardChar is done at least once (to avoid getting
2519 (findNextChange): use putSelectionAt in the forward direction
2520 (operator()): use Paragraph::isWord
2522 2004-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2524 * Spacing.C (set): c_str fix
2526 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2528 * lyx_cb.C (Reconfigure): quote the name of configure script in
2529 case it contains spaces
2531 2004-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2535 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2536 (BOOST_LIBS): use top_buildir when looking for the file
2538 2004-08-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2540 * pch.h: do not use include boost/format.hpp, multiple symbols
2541 will result (gcc bug)
2544 2004-08-23 José Matos <jamatos@lyx.org>
2546 * bufferparams.C (readToken): fix reading of the author field.
2548 2004-08-20 José Matos <jamatos@lyx.org>
2550 * lyxrc.C: remove support/translator.h inclusion since it is not used.
2552 2004-08-20 José Matos <jamatos@lyx.org>
2554 * lyxlex.[Ch] (findToken): remove function.
2556 * ParagraphParameters.C (findToken):
2557 * bufferparams.C (findToken): replace call for previous function
2558 with local copy. This local function has one more argument, the
2559 read string argument.
2561 2004-08-16 José Matos <jamatos@lyx.org>
2563 * ParagraphParameters.C (write):
2564 * Spacing.C (writeFile):
2565 * bufferparams.C (writeLaTeX):
2566 * lyx_cb.C (Reconfigure):
2567 * paragraph.C (write):
2568 * tabular.C (write): remove unnecessary space at end of line.
2571 2004-08-16 José Matos <jamatos@lyx.org>
2573 * text.C (readParagraph): remove debug message.
2575 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2577 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2580 * output_plaintext.C (asciiParagraph): set depth correctly
2582 * outputparams.h: add member depth
2584 * paragraph_funcs.C (ownerPar): remove.
2586 * text2.C (setCounter): remove first_pit; comment out some
2587 non-working code that uses ownerPar
2589 * BufferView.C (getParentLanguage): remove. Not used anymore, and
2592 2004-08-16 José Matos <jamatos@lyx.org>
2594 * text.C (readParToken, readParagraph, read): report all unknown tokens.
2595 For the same level of importance use the same chanel to report problems.
2596 (read): add code to deal with \begin_body and \end_body.
2599 2004-08-15 José Matos <jamatos@lyx.org>
2601 * lyxlex.C (getString): fix comment, buffer::readBody is now
2602 buffer:readDocument.
2604 * tex-strings.C (string_papersize): Default -> default,
2605 Custom -> custom, for consistency with other options.
2607 2004-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2611 * Makefile.am: support pch
2613 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2615 * text.C (readParToken): remove the static LyXFont variable and
2616 pass it as a parameter instead. This fixes a nasty bug where an
2617 inset will be inserted with a bad font in some situations
2618 (readParagraph): adapt
2620 * text2.C (setCounter): reduce number of calls to pars_[pit]
2622 * text.C (singleWidth): add an assert, fix a test
2624 * rowpainter.C (paintText): reduce number of calls to singleWidth
2626 * paragraph.C (isHfill):
2627 (isNewline): ws only
2629 2004-08-14 André Pönitz <poenitz@gmx.net>
2634 * lyxtext.h (several functions): use a Paragraph & argument
2637 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2639 * metricsinfo.h: add a new field ltr_pos to PainterInfo
2641 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2643 * text.C (singleWidth): remove useless test
2645 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2647 * tabular.h: remove bogus comments
2649 * tabular.C (getDescentOfRow):
2650 (isPartOfMultiColumn): add assertions
2652 * lyxlength.C (inPixels): remove #warning
2654 2004-08-14 André Pönitz <poenitz@gmx.net>
2656 * paragraph.h: inline getChar()
2658 * BufferView.h: remove unused declarations
2660 2004-08-14 José Matos <jamatos@lyx.org>
2662 * Buffer.[Ch] (readDocument): new name for old readBody.
2663 * Buffer.C: new file format, new keywords: \begin_document,
2664 \begin_header, \begin_body, \end_body.
2666 * bufferparams.C (readToken): replace all calls to lex.nextToken
2667 by lex.next(). Do the same to eatLine except where really needed.
2669 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2670 line when writing to the lyx file.
2672 * output_plaintext.C (asciiParagraph): fix Bibliography style
2675 * text.C (read): fix end of file handling.
2677 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2679 * MenuBackend.C (Menu::operator[]): new method to access
2680 individual menu items
2681 (Menu::hasFunc): new method. search for an item that corresponds
2683 (MenuBackend::specialMenu): new method
2684 (MenuBackend::expand): if a special menu has been set, skip
2685 entries whose func() appears in this menu
2687 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2689 * text3.C: use Debug::DEBUG a bit more
2691 * text.C (leftMargin): try to simplify a tiny bit change var x to
2692 l_margin. Dont output the wide margins always.
2693 (rightMargin): no margin in inner texts
2695 * rowpainter.h (nestMargin): new func
2696 (changebarMargin): new func
2697 (rightMargin): new func
2699 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2703 * factory.C (createInset): modify setDrawFrame
2705 * cursor.C: use Debug::DEBUG a bit more
2707 2004-08-14 André Pönitz <poenitz@gmx.net>
2710 * Makefile.am: new files to accomodate an 'external' (x,y)-position
2711 cache for all insets in (at least partially) visible (top-level)
2714 * BufferView_pimpl.C: reset external coord cache before every update.
2715 This means the coord cache only contains valid entries.
2717 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2720 * BufferView_pimpl.C (getInsetByCode): move function out of class
2721 and change in to a template in anon namespace. Also fix to do what
2724 2004-08-13 Lars Gullik Bjønnes <larsbj@lyx.org>
2727 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2729 (breakParagraph): rename par to par_offset and use a local
2730 reference. Add code to keep the language over a rebreak.
2731 (breakParagraphConservative): rename par to par_offset, use a
2733 (mergeParagraph): ditto
2735 (isFirstInSequence): ditto
2736 (outerFont): rename pit to par_offset
2738 * paragraph.C: ws change
2739 * paragraph.h: ditto
2743 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2745 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2748 * paragraph.C (simpleTeXOnePar): when we have a \item with
2749 optional argument, enclose the argument with curly brackets (in
2750 case it contains a closing square bracket)
2754 * text3.C (checkInsetHit): constify
2756 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2758 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2759 documents (bug 1629)
2761 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2763 Fix toggling of collapsable insets with the mouse (bug 1558)
2765 * lyxfunc.C (dispatch): adapt to LCursor changes
2767 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2768 make sure that dispatch is not invoked twice
2770 * cursor.C (needsUpdate): new method
2771 (dispatch): return void
2772 (result): new method, to access the DispatchResult of the cursor.
2774 2004-08-13 José Matos <jamatos@lyx.org>
2776 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2778 2004-08-13 André Pönitz <poenitz@gmx.net>
2780 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2782 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2785 2004-08-12 André Pönitz <poenitz@gmx.net>
2787 * text3.C: take out the 'cursor right' form insertInset and only
2788 do it in those places when it is really needed. Fixes crash on
2791 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2793 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2795 * BufferView_pimpl.C (setBuffer): initialize the current font of
2796 the underlying LyXText
2798 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2800 * kbsequence.C (print): use UI native formatting for menu
2803 * text.C (insertChar): call Paragraph::insertChar with a font
2806 * paragraph.C (insertInset, insertChar): the version that takes a
2807 LyXFont argument is now a wrapper around the other one (the
2808 opposite used to be true).
2810 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2811 argument. Font setting is done in Paragraph now.
2813 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2815 * outputparams.h: add new members intitle and lang.
2817 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2818 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2820 2004-08-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2822 * text3.C (dispatch): remove special handling of button 4 and 5,
2823 it is now taken care of in the frontend code.
2825 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2827 * Spacing.h: add <string> (STLPort compile fix)
2829 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2831 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2833 2004-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2835 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2838 * converter.C (showMessage): inherit from unary_function, make
2841 * buffer.C (writeFile): initialize retval
2843 * InsetList.h: rename private variable list to list_
2844 * InsetList.[Ch]: adjust accordingly.
2846 2004-07-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2848 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2849 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2850 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2851 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2852 * ParagraphParameters.C, LaTeXFeatures.C: replace
2853 "support/std_sstream.h" with <sstream>
2855 2004-07-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2857 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2858 * lyxsocket.C (LyXServerSocket): ditto
2859 (serverCallback): ditto
2861 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2863 * LaTeXFeatures.C: check release date when loading jurabib.
2865 2004-07-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2867 * lyxserver.C (startPipe): call register_socket_callback
2868 (endPipe): call unregister_socket_callback
2870 2004-07-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2872 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2873 (LyXServerSocket): register the callback
2874 (LyXServerSocket): unregister the callback
2875 (fd): delete function
2876 (serverCallback): improve error checking and setup the callbacks.
2877 (dataCallback): change arg to fd.
2878 (writeln): new func (copied fro the client socket) used for server
2880 (LyXDataSocket): simplify
2881 (~LyXDataSocket): close ann unregiser callback
2882 (server): delete function
2883 (fd): delete function
2884 (readln): small changes, improve some std::string usage
2885 (writeln): constify a bit
2887 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2889 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2892 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2894 * BufferView_pimpl.C (setBuffer): set the layout combox value only
2895 after it has been populated
2897 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2899 * text2.C (insertInset): move cursor when inserting inset.
2901 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2903 * kbmap.C (findbindings): a couple of new methods. returns a
2904 container of kb_sequence objects. The real work is done by the
2905 private recursive version
2906 (printbindings): uses findbindings to print out a bracketed list
2907 of bindings (renamed from findbinding).
2909 * MenuBackend.C (binding): use kb_keymap::findbindings
2911 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2913 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2915 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2917 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2919 * paragraph.C (isWord): return true on insets that report
2922 * text.C (getWord): use Paragraph::isWord to decide what is in a
2923 word and what is not; fix bug 1609.
2925 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2927 * tex-strings.C: add "none" to string_paperpackages[], fixes
2928 off-by-one-error in the paperpackage selection.
2931 * tex-strings.[Ch]: char const * string[n]
2932 -> char const * const string[]
2934 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2936 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2937 command, return early.
2939 2004-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
2941 * debug.h: add DEBUG to enum and fix size of ANY.
2943 * debug.C: add support for Debug::DEBUG
2944 (showTags): cast errorTags.level to unsigned int
2946 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2947 (redoCurrentBuffer): ditto
2948 (updateScrollbar): ditto
2949 * cursor.C (dispatch): ditto
2950 * text2.C (setLayout): ditto
2952 (updateCounters): ditto
2954 (deleteEmptyParagraphMechanism): ditto
2956 2004-06-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2958 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2959 annotations to cleanup the Makefile slightly.
2961 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2963 * lyxrc.C: do not set user_email to a default value but use empty
2964 instead. The entry used to be translated, which does not work
2965 since at the point where lyxrc is constructed there is no
2966 translation service available
2968 * messages.C (getLocaleDir): remove and use directly
2969 lyx_localedir() instead
2971 2004-06-02 Angus Leeming <leeming@lyx.org>
2973 Fix crash caused by dereferencing null pointer 'exportdata' in
2974 OutputParams by creating a new ExportData variable on the heap,
2975 storing it in a boost::shared_ptr.
2976 The crash was triggered when generating an Instant Preview
2977 of an external inset.
2979 * Makefile.am: add outputparams.C
2981 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2982 (c-tor): allocate memory to it.
2984 * exporter.C (c-tor): associated changes.
2986 2004-06-01 Angus Leeming <leeming@lyx.org>
2988 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2989 contains data before calling isInset(0). (Bug 1513.)
2991 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2993 * exporter.C (checkOverwrite): new method
2994 * exporter.C (copyFile): new method
2995 * exporter.C (Export): copy referenced files to the document dir
2996 * exporter.[Ch]: new class ExportedFile
2997 * exporter.[Ch]: new class ExportData. Contains currently the
2998 names of referenced external files
2999 * outputparams.h: add exportdata member.
3001 2004-05-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3003 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
3006 2004-05-19 Angus Leeming <leeming@lyx.org>
3011 * lyxfunc.C: small changes due to the introduction of namespace
3012 lyx::frontend and the moving of namespace biblio to lyx::biblio.
3014 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
3016 * text3.C (dispatch): supress update when only moving the cursor
3017 * cursor.C (selHandle): remove commented code
3019 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3021 * paragraph.C (startTeXParParams): correct column count
3022 * CutAndPaste.C (pasteSelection): remove const_cast
3023 * output_docbook.C (docbookParagraphs): remove const_cast
3024 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
3025 const_cast and return ParagraphList::const_iterator
3026 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
3027 * output_plaintext.C (writeFileAscii): remove const_cast
3028 * paragraph.[Ch] (simpleTeXOnePar): make const
3029 * paragraph_funcs.C (outerPar): use const iterators
3030 * paragraph_pimpl.C (validate): use const iterators
3031 * text.C (setHeightOfRow): use const iterators
3033 2004-05-17 Angus Leeming <leeming@lyx.org>
3036 * LyXAction.C (init): new LFUN_INSET_REFRESH.
3038 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
3039 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
3040 if the citation engine has changed.
3042 2004-05-14 José Matos <jamatos@lyx.org>
3044 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
3045 if the textclass does not provide it. Have it different for sgml and
3047 support the language of document.
3048 * output_docbook.C (docbookParagraphs):
3049 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
3050 first anchor as the id of the paragraph, remove special case code.
3051 * sgml.C (escapeChar): escape only < & >.
3053 2004-05-14 Angus Leeming <leeming@lyx.org>
3055 * bufferparams.h: move biblio::CiteEngine enum here to minimize
3056 dependencies on src/frontends/controllers/biblio.h. Define a
3057 CiteEngine_enum wrapper class to enable the enum to be forward
3060 2004-05-12 Angus Leeming <leeming@lyx.org>
3062 * buffer.C: up LYX_FORMAT to 234.
3063 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
3064 use_numerical_citations with a single biblio::CiteEngine cite_engine
3066 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
3068 2004-05-13 José Matos <jamatos@lyx.org>
3071 * converter.C (Converter, readFlags): add xml member.
3072 * outputparams.h: add XML flavor.
3073 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
3075 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3077 * lyxfunc.C (dispatch):
3078 (getStatus): fix handling of LFUN_SEQUENCE
3080 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3082 * debug.C (showLevel): do not forget the end-of-line marker
3084 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3086 * kbmap.C (read): do not stop parsing a bind file when an error
3089 2004-04-29 Angus Leeming <leeming@lyx.org>
3094 * text2.C: wrap a bunch of #warning statements
3095 inside #ifdef WITH_WARNINGS blocks.
3097 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3099 * buffer.C: increment format to 233.
3101 2004-04-28 Angus Leeming <leeming@lyx.org>
3103 * BufferView_pimpl.C:
3106 s/updateToolbar()/updateToolbars()/
3107 s/Toolbar.h/Toolbars.h/
3109 2004-04-28 Angus Leeming <leeming@lyx.org>
3111 * BufferView.[Ch] (c-tor):
3112 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
3113 No longer passes these data to the WorkArea generator.
3115 2004-04-28 Angus Leeming <leeming@lyx.org>
3117 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
3119 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3121 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
3123 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3125 * output_latex.C (TeXEnvironment): make sure that there is a line
3126 break before \end{foo} for the last paragraph of a document
3127 (TeXOnePar): if the paragraph is at the end of the document (or
3128 inset) and the language has to be reset, then make sure that the
3129 line break is _before_ the language command, not after (fixes bug
3130 1225); also make sure that the language reset command is the first
3131 thing after the paragraph (to ensure proper nesting of
3132 environments and thus fix bug 1404)
3134 2004-04-21 John Levon <levon@movementarian.org>
3137 * ToolbarBackend.C: make "name" be a programmatic name
3138 and a gui_name field.
3140 * lyxfunc.C: display the minibuffer on M-x
3142 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3144 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
3147 2004-04-19 Angus Leeming <leeming@lyx.org>
3149 * BufferView_pimpl.C (setBuffer): changed preview interface.
3151 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
3154 2004-04-19 John Levon <levon@movementarian.org>
3156 * BufferView_pimpl.C:
3157 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
3159 2004-04-05 Angus Leeming <leeming@lyx.org>
3161 * text.C (redoParagraphs): add call to updateCounters(), thereby
3162 fixing the missing "Figure #:" label from the caption of a
3165 2004-04-13 Angus Leeming <leeming@lyx.org>
3167 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
3168 cursor is clicked out of an inset.
3170 2004-04-13 Angus Leeming <leeming@lyx.org>
3172 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
3173 than an InsetOld one.
3175 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3177 * format.[Ch]: add editor to Format
3178 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
3179 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
3181 2004-04-08 André Pönitz <poenitz@gmx.net>
3183 * metricsinfo.h: remove PainterInfo::width member
3185 2004-04-08 Angus Leeming <leeming@lyx.org>
3187 * lyx_sty.C (boldsymbol_def): modify so that it outputs
3188 "\providecommand" rather than "\newcommand", thereby preventing
3189 clashes with packages that define "\boldsymbol" themselves.
3192 2004-04-08 Angus Leeming <leeming@lyx.org>
3194 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
3195 thereby squashing an unnecessary warning.
3197 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3199 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
3202 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
3204 * BufferView.C (setCursor): call redoParagraph (some insets could
3206 (putSelectionAt): remove the 'double update' trick
3208 * BufferView_pimpl.C (fitCursor): call refreshPar
3209 (workAreaDispatch): remove an uneeded update call
3210 (dispatch): remove some manual update calls
3212 * cursor.[Ch]: remove cached_y_, updatePos
3213 (selHandle): set noUpdate when appropriate
3215 * lyxfunc.C (dispatch): track if we need an update
3217 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
3219 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
3220 (paintSelection): cheap optimization, do not call cursorX when not
3222 (paintPars): change signature
3225 (paintTextInset): adjust
3229 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3231 * lengthcommon.C: compilation fix: remove explicit array size from
3232 unit_name[] and friends
3234 2004-04-05 Angus Leeming <leeming@lyx.org>
3236 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
3238 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
3239 present only for the preferences dialog.
3240 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
3242 2004-04-05 Angus Leeming <leeming@lyx.org>
3244 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
3245 to enable the frontends to export changes to lyxrc correctly.
3247 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
3249 2004-04-07 André Pönitz <poenitz@gmx.net>
3251 * cursor.[Ch] (selClear, adjust): remove math
3253 * cursor_slice.C: more agressive assert
3256 * BufferView_pimpl.C: rework mouse event dispatch
3263 2004-04-05 André Pönitz <poenitz@gmx.net>
3265 * cursor.[Ch] (valign, halign...): remove unneeded functions
3267 2004-04-05 Angus Leeming <leeming@lyx.org>
3269 * lyxlength.[Ch] (unit_name et al.): const-correct.
3271 2004-04-05 Angus Leeming <leeming@lyx.org>
3273 * BufferView_pimpl.C:
3282 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
3284 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3286 * text3.C (getStatus): add LFUN_BEGINNINGBUF
3288 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3290 * lyxfind.C: add a couple of inTexted() tests + other small fixes
3291 * BufferView_pimpl.[Ch] (getStatus)
3292 * BufferView.[Ch] (getStatus): add
3293 * lyxfunc.C (getStatus): move lfuns handled in
3294 BufferView::dispatch to te function above
3295 * Cursor.C (setSelection): set selection() = true
3297 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3299 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
3301 2004-03-31 Angus Leeming <leeming@lyx.org>
3303 * lyxfunc.C (dispatch): Fall through to the generic
3304 Dialogs::show("preamble").
3306 2004-03-31 Angus Leeming <leeming@lyx.org>
3308 * lyxfunc.C (dispatch): Fall through to the generic
3309 Dialogs::show("spellchecker").
3311 2004-03-31 Angus Leeming <leeming@lyx.org>
3313 * lyxfunc.C (getStatus, dispatch): changed invocation of the
3316 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
3321 * insetiterator.[Ch]:
3326 * undo.[Ch]: s/DocumentIterator/DocIterator/g
3328 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
3330 * BufferView.C (setCursor, putSelectionAt): call edit to open the
3331 insets where we are putting the cursor.
3333 2004-03-31 Angus Leeming <leeming@lyx.org>
3336 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
3338 * lyxrc.[Ch] (read, write): overloaded member functions taking
3339 a std::[io]stream arguments.
3341 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
3343 2004-03-31 Angus Leeming <leeming@lyx.org>
3345 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
3346 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
3348 * lyxtextclass.C (load): if the text class couldn't be loaded, then
3349 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
3351 2004-03-31 Angus Leeming <leeming@lyx.org>
3353 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
3354 the LFUN_ALL_INSETS_TOGGLE code.
3356 2004-03-30 Angus Leeming <leeming@lyx.org>
3358 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
3359 has died. Fall through to the generic Dialogs::show("document").
3361 2004-03-30 Angus Leeming <leeming@lyx.org>
3364 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
3365 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
3367 * lyxfunc.C (getStatus, dispatch): define the actions for these
3368 lfuns. Little more than a cut and pste job from ControlDocument.C
3370 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
3372 2004-03-30 Angus Leeming <leeming@lyx.org>
3375 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
3376 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
3378 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
3379 open/closed state of ollapsable insets. Usage:
3381 all-inset-toggle <state> <name>, where
3382 <state> == "open" || "closed" || "toggle" and
3383 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
3385 * lyxtext.h, text2.C (toggleInset): removed.
3387 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
3388 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
3389 now passes LFUN_INSET_TOGGLE to the found inset.
3391 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
3392 is now invoked as "all-insets-toggle toggle branch".
3394 2004-03-30 Angus Leeming <leeming@lyx.org>
3398 * pariterator.[Ch]: added/corrected header blurb.
3400 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
3402 * dociterator.[Ch]: add an inset_ member
3403 (backwardPos): implemented
3404 (backwardPos, forwardPos): use inset_ when the stack is empty.
3405 (doc_iterator_begin, doc_iterator_end): implemented
3406 * pariterator.[Ch]: adjust, add begin, end
3407 * insetiterator.[Ch]: adjust, add begin, end
3411 * BufferView_pimpl.C:
3412 * CutAndPaste.C: adjust
3414 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3416 * buffer.C: increment file format to 232.
3417 * LaTeXFeatures.C: add bibtopic package.
3418 * bufferparams.[Ch]: param \use_bibtopic.
3420 * lyxrc.[Ch]: add lyxrc bibtex_command
3421 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
3423 * buffer.C: increment file format to 231.
3425 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
3427 * dociterator.C: implement forwardPar
3428 * iterators.[Ch]: remove, replaced by
3429 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
3431 * BufferView_pimpl.C:
3434 * bufferview_funcs.C:
3440 * Makefile.am: adjust
3442 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
3444 * CutAndPaste.C (pasteSelection): fix 2 crashes
3445 (eraseSelection): fix a crash
3446 * paragraph_funcs.C: remove a warning
3448 2004-03-28 Angus Leeming <leeming@lyx.org>
3451 * LyXAction.C (init): new LFUN_PRINT.
3453 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
3455 2004-03-27 Angus Leeming <leeming@lyx.org>
3458 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
3460 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
3462 2004-03-27 Angus Leeming <leeming@lyx.org>
3464 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
3465 insetlist always contains non-null pointers to insets.
3467 2004-03-26 Angus Leeming <leeming@lyx.org>
3469 * src/BufferView_pimpl.C:
3470 * src/CutAndPaste.C:
3473 * src/output_plaintext.C:
3474 * src/outputparams.h:
3475 * src/paragraph_funcs.C:
3479 * src/frontends/controllers/ControlErrorList.C:
3480 * src/frontends/gtk/FileDialogPrivate.C:
3481 * src/frontends/gtk/GPainter.C:
3482 * src/frontends/gtk/GToolbar.C:
3483 * src/frontends/qt2/QRef.C:
3484 * src/mathed/math_scriptinset.C: squash compiler warnings.
3486 2004-03-26 Angus Leeming <leeming@lyx.org>
3488 * ispell.C (LaunchIspell::start):
3489 * lyx_cb.C (AutoSaveBuffer::start):
3490 invoke run(DontWait) rather than runNonBlocking().
3492 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
3494 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3496 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3498 * kbsequence.C (print): adjust
3500 * kbmap.C (printKeySym): rename and change signature
3501 (printKey): use LyXKeySym::print()
3503 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
3505 * undo.C: add using std::advance to compile for stlport
3507 2004-03-24 Angus Leeming <leeming@lyx.org>
3509 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3510 it leads to a crash when no buffer is present.
3512 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3513 Martin Vermeer <martin.vermeer@hut.fi>
3515 * lyxfunc.C (dispatch):
3516 * bufferparams.C (readToken): use the new LColor::setColor
3518 * LColor.[Ch] (setColor): new version that takes two strings as
3519 argument and creates a new color entry if necessary
3521 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3523 * buffer.C (makeLaTeXFile): if the main latex file that is
3524 processed is usually a subdocument of some master, then pretend
3525 for a while that it is actually the master
3527 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3529 * buffer.C (getLabelList):
3530 (getBibkeyList): use getMasterBuffer()
3531 (getMasterBuffer): new method. Returns the main document in the
3532 case where one is using included documents.
3534 2004-03-25 André Pönitz <poenitz@gmx.net>
3538 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3540 * ParagraphList_fwd.h: change ParagraphList to a std::vector
3542 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3543 text*.C over here. Rename namespace CutAndPaste to lyx::cap
3545 * ParameterStruct.h: merge with ParagraphParameters
3547 * lyxtext.h: remove LyXText::parOffset() and getPar()
3549 * text3.C: Remove all 'manual' update calls. We do now one per user
3550 interaction which is completely sufficient.
3554 * BufferView_pimpl.C:
3555 * FontIterator.[Ch]:
3557 * ParagraphParameters.[Ch]:
3562 * cursor_slice.[Ch]:
3569 * output_docbook.[Ch]:
3570 * output_latex.[Ch]:
3571 * output_linuxdoc.[Ch]:
3572 * output_plaintext.[Ch]:
3574 * paragraph_funcs.[Ch]:
3575 * paragraph_pimpl.[Ch]:
3583 * frontends/controllers/ControlDocument.C:
3584 * frontends/controllers/ControlErrorList.C:
3585 * frontends/controllers/ControlSpellchecker.C:
3588 * insets/insetbase.h:
3589 * insets/insetbibitem.C:
3590 * insets/insetbox.C:
3591 * insets/insetbranch.C:
3592 * insets/insetcaption.C:
3593 * insets/insetcharstyle.C:
3594 * insets/insetcharstyle.h:
3595 * insets/insetcollapsable.C:
3596 * insets/insetcollapsable.h:
3597 * insets/insetert.C:
3598 * insets/insetfloat.C:
3599 * insets/insetfoot.C:
3600 * insets/insetmarginal.C:
3601 * insets/insetnote.C:
3602 * insets/insetoptarg.C:
3603 * insets/insettabular.C:
3604 * insets/insettext.C:
3605 * insets/insettext.h:
3606 * insets/insetwrap.C:
3607 * mathed/math_mboxinset.C:
3608 * mathed/math_nestinset.C:
3609 * mathed/math_scriptinset.C:
3610 * mathed/math_scriptinset.h:
3613 2004-03-24 Angus Leeming <leeming@lyx.org>
3615 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3616 deal with any child processes that have finished but are waiting to
3617 communicate this fact to the rest of LyX.
3619 2004-03-24 Angus Leeming <leeming@lyx.org>
3621 64-bit compile fixes.
3623 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3624 (c-tor): pass lyx::pos_types rather than ints.
3626 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3629 * text.C (Delete): compile fix.
3630 (getPar): ensure that function declaration is the same as that in
3633 2004-03-23 Angus Leeming <leeming@lyx.org>
3635 * ispell.C (LaunchIspell):
3636 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3637 a boost::shred_ptr rather than a std::auto_ptr.
3639 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3641 * lyxfunc.C (getStatus): handle read-only buffers correctly;
3642 handle LFUN_FILE_INSERT_*
3644 * lyxrc.C (setDefaults, getDescription, output, read):
3645 * lyxrc.h: remove ps_command
3647 2004-03-22 Angus Leeming <leeming@lyx.org>
3649 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3650 Ensure that error_handler is processed once only and that all data
3651 is saved before attempting to output any warning messages.
3653 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3655 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
3657 * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3659 2004-03-19 André Pönitz <poenitz@gmx.net>
3661 * cursor.[Ch] (reset): take main text inset as argument
3663 * BufferView: adjust
3664 * BufferView_pimpl.C: adjust
3666 * paragraph.[Ch]: fix completely broken operator=()
3668 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3670 * LColor.C (getFromLyXName): make sure that the color name is used
3673 2004-03-17 Angus Leeming <leeming@lyx.org>
3676 * LyXAction.C (init): remove LFUN_FORKS_KILL.
3678 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3679 dialog and to kill a forked process.
3681 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3683 * text2.C (setCursorFromCoordinates): fix font problem
3685 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3687 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3688 bogus "rebuild cursor" code
3690 2004-03-11 André Pönitz <poenitz@gmx.net>
3692 * buffer.[Ch]: use InsetText instead of LyXText as container for
3695 * dociterator.[Ch]: drop the BufferView * member which is not needed
3696 anymore after the change to buffer.C
3698 * paragraph_funcs.C:
3702 * BufferView_pimpl.[Ch]:
3704 * cursor_slice.[Ch]: adjust
3706 * text3.C: fix bug in mathDispatch
3708 2004-03-08 André Pönitz <poenitz@gmx.net>
3710 * undo.[Ch]: use 'StableDocumentIterator' as base for
3713 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3716 * bufferparams.[Ch]: add jurabib support and param.
3718 * LaTeX.C: add FIXME/comment.
3720 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3722 * buffer.C: increment file format to 230.
3724 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
3726 * cursor.C (dispatch): avoid infinite loops
3728 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3730 * rowpainter.C (paintSelection): fix x coordinates
3732 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3734 * text.C (rowBreakPoint): fix breaking before displayed insets
3736 2004-03-01 André Pönitz <poenitz@gmx.net>
3738 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3740 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3744 * BufferView_pimpl.C:
3752 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3758 * BufferView_pimpl.C: rename textwidth -> maxwidth,
3759 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3761 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3763 * Bidi.[Ch] (computeTables): const correctness
3764 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3765 fill_hfill, fill_label_hfill and x from Row
3766 * lyxtext.h: prepareToPrint returns a RowMetrics
3767 * rowPainter.C: adjust
3768 * text.C (prepareToPrint): use width, not textWidth. adjust
3769 (redoParagraphInternal, cursorX): adjust
3770 * text2.C (getColumnNearX): adjust
3771 (init): put a default value to the top LyXText::width
3773 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3775 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3777 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3779 * lyxtext.h: add FontIterator class
3781 * text.C (FontIterator, operator*, operator->, operator++): add
3782 (rowBreakPoint, setRowWidth): adjust (fixing a
3785 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3787 * BufferView_pimpl.C (workAreaDispatch): allow also
3788 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3790 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
3792 * text.C (rowBreakPoint): fix a bug showing with very large insets
3794 2004-02-25 André Pönitz <poenitz@gmx.net>
3797 * cursor.[Ch]: move some mathed specific code to mathed
3799 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3801 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3802 use_tempdir in preferences
3803 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3805 * lyx_main.C: ensure that tempdir is valid
3806 * lyxlex.h: correct typo
3807 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3808 * paragraph.[Ch] (isMultiLingual): make const
3809 * cursor.[Ch] (openable): make const
3811 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3813 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3815 2004-02-20 André Pönitz <poenitz@gmx.net>
3817 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3819 * cursor.[Ch]: prepare for localized getStatus()
3825 * text3.C: streamlines the LyXText cursor movement handlers a bit.
3827 2004-02-20 André Pönitz <poenitz@gmx.net>
3829 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3831 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3833 * text2.C (setCursorFromCoordinates): switch to absolute coords
3835 (cursorDown): adjust
3836 * text3.C (dispatch): adjust
3838 2004-02-16 André Pönitz <poenitz@gmx.net>
3840 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3843 * cursor_slice.[Ch]: remove unneeded acessor function
3845 * lyxtext.h: rename rtl() to isRTL()
3853 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3855 * rowpainter.C (paintSelection): coord fix
3857 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3859 * Spacing.C: compile fix
3861 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3863 * cursor.C (dispatch): restore current_ before returning
3865 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3867 * text2.C (cursorUp, cursorDown): fix coords
3870 2004-02-12 André Pönitz <poenitz@gmx.net>
3875 * text3.C: add LCursor & parameter to most cursor movement functions
3876 remove usage of LyXText::cursorRow() and cursorPar()
3878 * cursor.[Ch]: add textRow() needed members
3881 * BufferView_pimpl.C:
3884 * BufferView_pimpl.C: adjust
3886 2004-02-11 André Pönitz <poenitz@gmx.net>
3890 * BufferView_pimpl.C: shift undo/redo handling
3892 * cursor.[Ch]: fix mathed crash
3895 * lyxtext.h: move selectionAsText to LCursor
3903 * rowpainter.C: fix excessive drawing
3905 2004-02-06 André Pönitz <poenitz@gmx.net>
3908 * BufferView_pimpl.[Ch]:
3909 * text3.C: move some text specific LFUN handling
3911 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
3913 * text3.C (checkInsetHit): adjust coords
3914 * text2.C (getColumnNearX): adjust coords
3915 (edit): adjust coords
3916 * text.C (getRowNearY): add two asserts
3918 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
3921 * format.C: add using std::distance to compile on gcc 2.95/stlport
3923 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
3925 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3927 2004-02-04 André Pönitz <poenitz@gmx.net>
3929 * BufferView.[Ch] (insertInset):
3930 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3935 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3937 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3938 on the default clause of the switch
3939 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3940 wasn't catched by LCursor::dispatch
3942 2004-02-03 André Pönitz <poenitz@gmx.net>
3945 * cursor.[Ch]: some additional asserts
3947 * undo.[Ch]: remove LyXText dependency in interface
3951 * lyxtext.h (firstPar, lastPar): remove dead functions
3956 * paragraph.[Ch]: adjust
3958 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3960 * lyxfind.C (find): fix argument order in call to ::find
3962 2004-02-02 André Pönitz <poenitz@gmx.net>
3964 * cursor.[Ch]: remove direct access to anchor
3966 * text.C: remove findText() hack
3968 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3970 * iterators.[Ch] (lockPath): remove in favour of...
3971 * BufferView.[Ch] (setCursor): this addition
3972 * BufferView.C (putSelectionAt): adjust
3973 * undo.C (performUndoOrRedo): adjust
3974 * lyxfunc.C (dispatch): adjust
3976 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3978 * iterators.C (lockPath): add a missing slice
3979 * undo.C (performUndoOrRedo): remove redundant positioning code
3981 2004-02-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3983 * vc-backend.C (scanMaster): ";" -> ';'
3985 2004-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
3987 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3988 std::binary_function
3990 * lyxtextclass.C (compare_name): rename to...
3991 (LayoutNamesEqual): ...this
3993 * lyxlex_pimpl.C (compare_tags): inherit from
3994 std::binary_function, put back into anon namespace
3996 * lyxfind.C (MatchString): inherig from std::binary_function
3997 (findChange): use empty() istead of !size()
3999 * format.C (FormatNamesEqual): new functor
4006 * converter.C (compare_Converter): rename to...
4007 (ConverterEqual): ...this, and fixup a bit.
4008 (getConverter): use it, and make function const
4009 (getNumber): use it, and make function const
4013 * bufferlist.C: add using boost::bind
4015 * MenuBackend.C (MenuNamesEqual): new functor
4016 (hasMenu): use it, and make function const
4017 (hasSubmenu): use nested bind to get rid of compare_memfun.
4019 2004-01-30 André Pönitz <poenitz@gmx.net>
4021 * BufferView_pimpl.C:
4024 * cursor_slice.[Ch]:
4027 * paragraph_funcs.C:
4028 * paragraph_funcs.h:
4032 * text3.C: move some of the edit(x,y) handling to the insets
4033 some coordinate changes.
4035 2004-01-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4037 * text.C: add using statements for std::advance and std::distance
4039 * paragraph.C: add using statement for std::distance
4041 * lyxfind.C: add using statement for std::advance
4043 * cursor.C (region): remove std:: from swap
4044 (openable): use nucleus in stead of operator->
4046 * BufferView.C: add using statements for std::distance and std::swap
4048 2004-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4050 * iterators.C: Remove the pimple, move the needed structures to
4051 the header file. Create accessor for the positions stack.
4052 (asPosIterator): remove function
4054 * PosIterator.C (PosIterator): move constructors to top of file
4055 (PosIterator): reimplement the constructor taking a ParIterator in
4057 (setFrom): new function
4058 (operator!=): inline it
4060 2004-01-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4062 * lyxfind.C (replaceAll): use std::advance
4064 * iterators.h: inherit from std::iterator.
4066 * PosIterator.C (advance, distance): remove
4067 * PosIterator.h: interit from std::iterator.
4069 2004-01-26 André Pönitz <poenitz@gmx.net>
4072 * BufferView_pimpl.[Ch]:
4076 * bufferview_funcs.C:
4086 * output_linuxdoc.C:
4087 * output_plaintext.C:
4089 * paragraph_funcs.[Ch]:
4090 * paragraph_pimpl.[Ch]:
4096 * text3.C: more IU: dumps most of the rest of the mathcursor
4097 implementation into cursor.[Ch]; "globalize" a bit of it.
4099 2004-01-25 Angus Leeming <leeming@lyx.org>
4101 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
4103 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4105 * LaTeXFeatures.h: add nice_ and nice() const
4106 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
4108 2004-01-20 André Pönitz <poenitz@gmx.net>
4111 * BufferView_pimpl.C:
4113 * bufferview_funcs.C:
4115 * cursor_slice.[Ch]:
4126 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
4127 LCursor and mathcursor parts to LCursor and InsetBase.
4129 2004-01-15 André Pönitz <poenitz@gmx.net>
4131 * cursor_slice.[Ch]: add a few covienience functions
4133 * funcrequest.[Ch]: remove BufferView * member
4135 * BufferView_pimpl.C:
4142 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
4144 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
4146 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
4147 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
4149 2004-01-13 André Pönitz <poenitz@gmx.net>
4152 * lyxtext.h: hide cursor and selection anchor behind accessor function
4155 * BufferView_pimpl.[Ch]:
4157 * bufferview_funcs.C:
4167 * cursor_slice.[Ch]: some integer type changes for inset unification
4169 * lyxcursor.[hC]: remove, it's CursorSlice now.
4172 * BufferView_pimpl.[Ch]:
4173 * bufferview_funcs.C:
4179 * textcursor.[Ch]: adjust
4181 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
4183 * text2.C (undoSpan): add and use
4184 * text.C (breakParagraph): use undoSpan (fix bug 578)
4187 2004-01-08 Angus Leeming <leeming@lyx.org>
4189 * BufferView_pimpl.C (MenuInsertLyXFile):
4190 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4191 * lyxfunc.C (menuNew, open, doImport):
4192 FileFilterList change to the FileDialog open and save functions.
4194 2004-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
4196 * ShareContainer.h: make isEqual and isUnique adaptable
4198 * CutAndPaste.C: make resetOwnerAndChanges adaptable
4200 2004-01-07 Angus Leeming <leeming@lyx.org>
4203 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
4205 * BufferView_pimpl.C (dispatch): act on these LFUNs.
4207 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
4208 functions replacing find, replace and replaceAll.
4210 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
4211 LFUN_WORDFIND(FORWARD|BACKWARD).
4213 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
4215 * text.C (breakParagraph): remove an outdated #warning
4217 2004-01-07 André Pönitz <poenitz@gmx.net>
4219 * lyxfind.C: somewhat clearer logic
4221 * text.C: prevent crash in cursorX on unitialized row cache
4223 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
4225 * lyxcursor.[Ch] (operator>): add
4226 * textcursor.C (selStart, selEnd): use std::min and std::max
4228 2004-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4230 * Chktex.C: include boost/format.hpp
4232 2004-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
4234 * InsetList.C: replace functor MathcIt with adaptable functor
4236 (insetIterator): modify accordingly
4238 * BranchList.h: move the BranchNamesEqual functor here from...
4239 * BranchList.C: ... to here
4241 * BranchList.C: new BranchListEqual fuctor, use it. Remove
4243 (add): replace a finding loop with std::find_if.
4245 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
4247 * output_docbook.C: moving LatexParam functionality into
4250 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4252 * buffer.C: increment format to 229.
4254 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
4257 * lyx_sty.[Ch]: remove minipageindent_def
4263 * text3.C: remove LFUN_INSET_MINIPAGE
4265 2003-12-28 Angus Leeming <leeming@lyx.org>
4267 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
4269 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
4271 * text2.C (setParagraph): fix off-by-one crash
4273 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
4275 * output_docbook.C: header stuff for AGU
4277 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
4279 * text2.C (redoCursor): remove
4282 * BufferView_pimpl.C: remove calls to redoCursor and
4283 setCursor(cursor.par(), cursor.pos()) all around
4285 2003-12-15 Angus Leeming <leeming@lyx.org>
4287 * buffer.C: up the format to 228.
4289 2003-12-15 André Pönitz <poenitz@gmx.net>
4291 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
4296 * BufferView_pimpl.C:
4305 2003-12-15 Angus Leeming <leeming@lyx.org>
4307 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
4308 than getFromGUIName to manipulate the color.
4310 2003-12-14 Angus Leeming <leeming@lyx.org>
4312 * BranchList.[Ch]: minimize the API.
4313 (Branch::getBranch, getColor): now return a 'const &'.
4314 (Branch::setSelected) now returns a bool set to true if the
4315 selection status changes.
4316 (BranchList::clear, size, getColor, setColor, setSelected,
4317 allBranches, allSelected, separator): removed.
4318 (BranchList::find): new functions, returning the Branch with
4320 (BranchList::add, remove): return a bool indicating that
4321 the operation was successful.
4323 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
4324 new InsetBranch::isBranchSlected member function.
4326 * LColor.[Ch]: mimimize the API.
4327 (fill): renamed as addColor and made private.
4328 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
4329 versions of these functions taking a string arg have been removed.
4331 * bufferparams.C (readToken):
4332 * lyxfunc.C (dispatch):
4333 * lyxrc.C (read): changes due to the altered BranchList and
4336 * factory.C (createInset, readInset): changes due to altered
4339 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4342 * lyxfunc.C: remove insetminipage. "minipage-insert"
4343 now produces a frameless minipage box inset.
4345 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4347 * textcursor.[Ch] (selStart,selEnd): add new methods
4348 remove selection::start, end, use LyXCursor::operator<
4349 * lyxcursor.[Ch] (operator<): add
4350 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
4351 * BufferView.[Ch] (unsetXSel): add
4352 * text2.C (clearSelection): use unsetXSel,adjust
4355 * rowpainter.C: adjust
4356 * bufferview_funcs.C (put_selection_at): adjust
4358 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4360 * BufferView_pimpl.C: small coord. correction
4362 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4364 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
4365 dragging over the splash screen.
4367 2003-12-11 Angus Leeming <leeming@lyx.org>
4369 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
4370 as it is now handled in LyXText::dispatch.
4372 * text3.C (doInsertInset): remove a level of nesting.
4374 2003-12-11 Angus Leeming <leeming@lyx.org>
4376 * factory.C (createInset): changes due to the changed interface to
4377 InsetCommandMailer::string2params.
4379 2003-12-10 Angus Leeming <leeming@lyx.org>
4381 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
4382 'dialog-show-new-inset <inset name>'
4384 2003-12-10 Angus Leeming <leeming@lyx.org>
4386 * buffer.C: up the format to 227.
4388 * factory.C: the box inset is now identified simply by 'Box'.
4390 2003-12-10 Angus Leeming <leeming@lyx.org>
4392 * buffer.C: up the format to 226.
4394 * factory.C: the note inset is now identified simply by 'Note'.
4396 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
4398 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
4399 when a pit is enough. Standarize a couple of loops.
4401 2003-12-05 Angus Leeming <leeming@lyx.org>
4403 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
4404 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
4405 data to the re-worked "log" dialog.
4407 2003-12-03 André Pönitz <poenitz@gmx.net>
4413 * paragraph_funcs.C:
4415 * text2.C: use Inset::getText instead of Inset::getParagraph
4417 2003-12-03 André Pönitz <poenitz@gmx.net>
4421 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
4422 InsetText::read() as LyXText::read()
4424 2003-12-02 Angus Leeming <leeming@lyx.org>
4426 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
4427 type. Add a comment in the implementation that the function uses
4428 the stream's bad() function rather than fail() as the std::streams
4431 2003-12-02 André Pönitz <poenitz@gmx.net>
4433 * lyxlex.[Ch]: make interface more similar to std::stream
4435 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
4437 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
4439 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
4441 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
4443 * vspace.[Ch]: remove VSpace::NONE
4445 2003-12-01 André Pönitz <poenitz@gmx.net>
4448 * lyxtext.h: move ParagraphList member to LyXText
4449 rename LyXText::ownerParagraphs to LyXText::paragraph
4452 * bufferview_funcs.C:
4462 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
4464 * undo.C: fix cursor positioning
4466 2003-12-01 John Levon <levon@movementarian.org>
4468 * BufferView_pimpl.C: fix a crash on exit with
4471 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
4473 * BranchList.C: fix setSelected() method.
4475 2003-11-28 André Pönitz <poenitz@gmx.net>
4477 * ParagraphParameters.[Ch]:
4478 * ParameterStruct.h: remove space above/below from Paragraph to
4481 * BufferView_pimpl.C:
4487 * paragraph_funcs.C:
4493 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
4495 * factory.C: Syntax change for CharStyles
4497 2003-11-28 André Pönitz <poenitz@gmx.net>
4502 * buffer.[Ch]: move LyXText member
4504 2003-11-28 André Pönitz <poenitz@gmx.net>
4506 * BufferView.[Ch]: make LyXText * text a private member
4508 * BufferView_pimpl.C:
4519 * output_plaintext.C: cleanup
4521 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
4524 * lyxtextclass.[Ch]: parametrize SGML document header
4526 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
4529 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4532 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
4534 * text2.C (setFont): rework using PosIterator (no more recursive)
4535 (setCharFont): no more needed
4536 (setLayout): no more selection cursors fiddling (done by redoCursor)
4537 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4538 destroy remaining ones)
4540 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
4542 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4544 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4547 * text3.C: adjust + re-allow multi par depth changes
4548 * textcursor.C: simplify a bit
4550 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
4556 * src/output_docbook.C:
4557 * src/output_latex.C:
4562 * src/text2.C: Introducing a number of tags parametrizing various
4563 XML formats that we may want to support
4565 2003-11-25 André Pönitz <poenitz@gmx.net>
4567 * InsetList.[Ch] (begein, end): inline as suggested by profiler
4569 * lyxtext.h (leftMargin/rightMargin): simplify interface
4576 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4578 * lyxfunc.C (dispatch): propogate the bibtex databases from the
4579 master file to any child files. Fixes bug 546.
4581 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4583 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4585 2003-11-24 André Pönitz <poenitz@gmx.net>
4587 * rowpainter.C: simplification
4589 * text2.C (updateCounters): remove call to redoParagraph on
4590 changed labels as this is far too expensive.
4592 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4594 * converter.C (convert): fix a crash: this function gets
4595 called with buffer == 0 from importer code.
4597 2003-11-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4599 * text3.C (cursorPrevious): make sure that we do not compare
4600 iterators form different containers.
4603 * rowpainter.C (paintSelection): make sure that we do not compare
4604 iterators from different containers.
4606 * text3.C (dispatch): [PRIOR] make sure that we do not compare
4607 iterators from different ParagraphList containers.
4610 * text2.C (LyXText): change order of initialization slightly
4611 (operator=): new function. copy all variables except cache_par_
4612 (moveUp): make sure that we do not compare iterators from
4613 different ParagraphList constainers.
4616 * text.C (firstPar): new function
4617 (lastPar): new function
4618 (endPar): new function
4620 * lyxtext.h: move things around and group public functions, public
4621 variables, private functions, private variables
4623 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
4625 * factory.C: change call to InsetERT constructor to avoid
4626 additional invocation of method status
4627 * text2.C (toggleInset): remove redundant update() call
4628 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4629 instead of a Bufferview pointer
4631 2003-11-21 André Pönitz <poenitz@gmx.net>
4633 * rowpainter.C: simplification
4635 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4637 * text3.C (dispatch): make possible to extend a word/row selection
4640 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4642 * lyxtext.h: x0_,y0_ -> xo_,yo_
4643 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4644 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4645 * rowpainter.C (paintRows): paint full paragraphs
4647 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4649 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4652 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4654 * lyxtext.h: add x0_, y0_
4655 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4656 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4658 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
4660 * text2.C (setCursorIntern): move the x_target update here *
4661 * text3.C: change some bv() to true/false in calls to
4662 cursorUp/Down/Right/Left
4663 * cursor.C: use helper function.
4665 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4667 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4668 * paragraph_funcs.[Ch]: correct comment
4669 * rowpainter.C: do not paint selections away from bv->cursor()
4670 Fix a long standing selection painting bug.
4671 * text3.C: generalize mouse-selection code to LyXTexts other that
4673 * textcursor.C: do not use y coords if we can use par offsets
4675 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4677 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4678 cursor position after e.g. inset insert)
4680 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
4682 * lyxfind.C (replace): adjust to locking removal + some
4685 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
4687 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4690 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
4693 * output_docbook.C: XML sanitation: new layout
4694 parameters InnerTag and CommandDepth
4696 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
4698 * BufferView_pimpl.C:
4700 * text3.C: Fix the insertion and modification of button-style
4703 2003-11-13 André Pönitz <poenitz@gmx.net>
4705 * InsetList.[Ch]: remove deleteLyXText
4707 * paragraph.[Ch]: cache beginOfBody position
4712 * text3.C: remove superfluous update() calls
4716 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
4718 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4719 * BufferView.C (fitLockedInsetCursor): remove
4720 * cursor.[Ch] (getDim): add
4721 * text.C (getRowNearY): add faster version
4722 * text3.C: remove some update calls
4724 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
4736 * text3.C: The Character Style /XML short element patch.
4738 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
4741 * factory.C: Small step to solving 'unable to insert some insets'
4744 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
4746 * cursor.[Ch] (updatePos): new function for updating the y
4747 position of the tip inset
4748 * bufferview_funcs.C (put_selection_at):
4749 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4751 2003-11-11 André Pönitz <poenitz@gmx.net>
4753 * text.C: remove big comment on invalid Paragraph pointers as it is
4756 2003-11-11 André Pönitz <poenitz@gmx.net>
4758 * text_funcs.[Ch]: merge with ...
4766 * Makefile.am: remove text_funcs.[Ch]
4768 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
4770 * cursor.C (getPos): return absolute cached y coord
4772 * BufferView_pimpl.C (fitCursor): new simplistic code
4773 (workAreaDispatch): add a fitCursor call
4775 2003-11-10 André Pönitz <poenitz@gmx.net>
4778 * BufferView_pimpl.[Ch]: merge update() and updateInset()
4780 2003-11-10 André Pönitz <poenitz@gmx.net>
4782 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4783 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4784 indicate that the cursor needs to leave an inset
4786 * lyxtext.h: remove inset locking
4788 * cursor.[Ch]: re-implement functionality provided by inset locking
4791 * BufferView_pimpl.[Ch]:
4793 * bufferview_funcs.[Ch]:
4805 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
4807 * PosIterator.[Ch]: replace the stack with a vector, add inset
4809 * iterators.[C]: adjust
4811 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4813 * lyxfind.C (replaceAll): mark the buffer dirty if something was
4815 * paragraph_funcs.C (readParToken): put the correct id in the
4816 error item, not the id of the top paragraph
4818 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4820 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4821 * bufferview_funcs.C (put_selection_at): use the above
4823 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4825 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4827 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4829 * output_linuxdoc.h:
4830 * output_plaintext.h:
4832 * output_docbook.h: add #include statements
4834 2003-11-05 José Matos <jamatos@lyx.org>
4836 * output_docbook.[Ch]:
4837 * output_latex.[Ch]:
4838 * output_linuxdoc.[Ch]:
4839 * output_plaintext.[Ch]: New files for output formats.
4840 * output.[Ch]: New file for helper functions.
4843 * paragraph_funcs.[Ch]: output functions moved to new files.
4845 * outputparams.h: rename of latexrunparams.h
4853 * paragraph_funcs.[Ch]:
4854 * paragraph_pimpl.[Ch]:
4855 * tabular.[Ch]: rename ascii to plaintext
4856 and LatexRunParams to OutputParams.
4858 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4860 * iterators.[Ch] (text): require bv argument
4861 * undo.C (recordUndo):
4862 * lyxfunc.C (dispatch):
4863 * bufferview_funcs.C (put_selection_at): adjust
4865 2003-11-05 Jo� Luis M. Assirati <assirati@fma.if.usp.br>
4867 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4869 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4871 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4874 2003-11-04 André Pönitz <poenitz@gmx.net>
4876 * cursor.[Ch]: restructure
4879 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4881 * iterators.[Ch] (asCursor): remove
4883 * lfuns.h: remove LFUN_INSET_EDIT
4889 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4891 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4893 * lyxfind.[Ch]: complete overhaul
4894 * BufferView_pimpl.C:
4896 * paragraph.[Ch] (insert): add
4898 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4902 * text.C: remove dead spellcheck code
4904 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4906 * dispatchresult.h: add a val setter
4908 * cursor.C (dispatch): use a tempvar for data_[i]
4910 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4912 * PosIterator.[Ch]: compile fix
4914 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4916 * text.C (cursorPar): deactivate the cursor cache
4918 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4920 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4922 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4924 * text3.C (dispatch): adjust for new DisptchResult semantics.
4926 * lyxfunc.C (dispatch): handle update when return from
4927 Cursor::dispatch, adjust for new DispatchResult semantics.
4929 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4930 DispatchResult(true) mean to not update. Add class functions for
4931 setting dispatched and update, as well as reading.
4933 * cursor.C (dispatch): don't handle update here
4935 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4937 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4938 * trans_mgr.C: adjust
4940 * paragraph_funcs.C (readParToken): exception safety
4942 * lyxvc.h: store the vcs pointer in a scoped_ptr
4945 * lyxsocket.C (serverCallback): exception safety
4947 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4949 * ispell.C (clone): make it return a auto_ptr
4951 * factory.C (createInset): exception safety
4952 (readInset): exception safety
4954 * bufferlist.C (newBuffer): exception safety
4956 * Thesaurus.C (Thesaurus): use initialization for aik_
4958 * MenuBackend.C (expandToc): exception safety.
4960 2003-11-03 André Pönitz <poenitz@gmx.net>
4964 * bufferview_funcs.C: remove getInsetFromId()
4967 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4973 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4975 * PosIterator.C (distance, advance): new
4976 * bufferview_funcs.[Ch] (put_selection_at): new
4977 * iterators.[Ch] (lockPath): new
4979 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
4981 * iterators.[Ch] (asPosIterator): added
4982 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4983 * PosIterator.[Ch]: added
4985 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4989 * cursor.C (dispatch):
4990 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4992 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4993 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4994 contructor, add a class function dispatched. Remove operator>=
4996 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4998 * debug.C: only use the default constructor for debugstream
5001 * main.C (main): include debug.h and setup the lyxerr streambuf
5004 2003-10-31 José Matos <jamatos@lyx.org>
5006 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
5008 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
5009 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
5010 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5011 * paragraph_pimpl.C (simpleTeXSpecialC):
5012 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
5013 add LatexRunParams argument.
5015 * exporter.C (Export): change call accordingly.
5017 * latexrunparams.h: add new member to take care of the other backends.
5018 2003-10-30 José Matos <jamatos@lyx.org>
5020 * buffer.C (makeLinuxDocFile, makeDocBookFile):
5021 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5022 factorise code for paragraph output.
5024 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
5027 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5029 * text3.C (dispatch):
5030 * lyxfunc.C (dispatch):
5031 * cursor.C (dispatch):
5032 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
5034 * dispatchresult.h: make the dispatch_result_t ctor explicit
5036 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
5039 * buffer.C: small refactoring of docbook stuff
5041 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5043 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
5046 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5048 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
5049 operator dispatch_result_t, and operators for == != and >=
5051 * cursor.C (dispatch): adjust for operator dispatch_result_t
5052 removal. comment out call to update
5054 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
5056 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5064 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
5067 * dispatchresult.h: new file, DispatchResult broken out of
5070 * Makefile.am (lyx_SOURCES): add dispatchresult.h
5072 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
5074 * text.C (rowBreakPoint): put a hack inside #if 0
5076 2003-10-28 André Pönitz <poenitz@gmx.net>
5080 * paragraph_funcs.C:
5083 * text2.C: general cleanup (lots of small stuff)
5085 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
5087 * text2.C (cursorEnd): simple fix to the "end key goes to one
5088 before the end on last row" bug
5090 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5092 * text.C (backspace): fix the "zombie characters"
5094 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5096 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
5098 2003-10-27 André Pönitz <poenitz@gmx.net>
5100 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
5102 * factory.C: handle new InsetPagebreak, InsetLine
5104 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
5105 and move handling into new InsetPagebreak, InsetLine
5107 * BufferView_pimpl.C:
5109 * ParagraphParameters.C:
5110 * ParameterStruct.h:
5115 * paragraph_funcs.C:
5116 * paragraph_pimpl.C:
5122 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5125 * lyxrow_funcs.[Ch]:
5131 * text3.C: remove lastPos uses in favour of Row::endpos
5133 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5135 * undo.C (performUndoOrRedo): fix two crashes by setting a
5136 cursor by hand and reordering some calls. Use bv->lockInset instead
5137 of inset->edit because the latter loses cursor information
5139 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
5141 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
5143 (rowBreakPoint): fix width. change point to point + 1.
5144 Add a missing check.
5146 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
5149 * lyxfunc.C: fix (at least partly) the problems
5150 with the Nav menu and headers inside branch insets
5153 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
5155 * paragraph.C (getChar): add strong asserts
5157 * lyxrow_funcs.C (lastPos): remove hideous hack
5159 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
5160 (fill): adjust to that (avoid an infinite loop)
5162 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
5164 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
5166 2003-10-23 André Pönitz <poenitz@gmx.net>
5168 * RowList_fwd.h: change list<> to vector<> to gain speed
5169 after suggestion from Alfredo
5171 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
5173 * lyxtext.h: move the bidi stuff from here...
5176 * Bidi.[Ch]: ... to here
5178 2003-10-23 André Pönitz <poenitz@gmx.net>
5181 * text.C (isLastRow, isFirstRow): new functions
5183 * paragraph.h: new width cache member
5185 * rowpainter.C: replace RowList::iterator with Row & where possible
5187 * lyxfunc.C: replace several view()->text with a single call
5189 * toc.C: fix 'unused' warning
5191 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5193 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
5194 when woring with stream::pos_type
5195 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
5197 2003-10-22 André Pönitz <poenitz@gmx.net>
5200 * text.C: use Row & instead of RowList::iterator
5202 * lyxrow.h: rename end() to endpos()
5208 2003-10-22 Angus Leeming <leeming@lyx.org>
5210 * buffer.[Ch] (fully_loaded): new member function, returning true
5211 only when the file has been loaded fully.
5212 Used to prevent the premature generation of previews and by the
5213 citation inset to prevent computation of the natbib-style label.
5215 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
5216 templates are all set up.
5218 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
5220 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
5222 * text.C: fixed an "oops" in the "is a bit silly"
5225 2003-10-21 André Pönitz <poenitz@gmx.net>
5227 * FuncStatus.[Ch]: small stuff, whitespace
5229 * lyxfont.[Ch]: operator<<() for debug reasons
5233 * lyxtext.h: whitespace, spelling
5235 * paragraph.C: naming of variables
5238 * text2.C: small stuff
5241 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
5243 * text.C: (1) finish off the inset display() work;
5244 (2) fix the "is a bit silly" bug (accessing char
5247 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
5249 * text.C: re-introduce display() for insets, fixing the
5250 various bugs (stretch of line above, math inset
5253 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5255 * text.C (rightMargin): remove spurious semicolon
5257 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
5260 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
5262 * text3.C: fix one crash due to wrong cursor def
5264 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5266 * vc-backend.C (scanMaster): make the regex static
5268 * LaTeX.C (scanAuxFile): make the regexs static
5270 * text3.C (doInsertInset, dispatch, dispatch):
5271 * text2.C (cursorUp, cursorDown):
5272 * text.C (selectNextWordToSpellcheck):
5273 * BufferView_pimpl.C (dispatch):
5274 * lyxfunc.C (dispatch): localDispatch -> dispatch
5276 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5278 * lyxsocket.C: include <cerrno>
5280 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5282 * lyxfunc.C (dispatch): remove textcache stuff
5284 * bufferlist.C (release): remove textcache stuff
5287 * TextCache.C: delete file
5288 * TextCache.h: delete file
5290 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
5292 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
5293 delete of the bv_->text.
5294 (resizeCurrentBuffer): remove texcache stuff
5295 (workAreaResize): ditto
5297 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5299 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
5302 2003-10-16 André Pönitz <poenitz@gmx.net>
5309 * text3.C: speed up by storing y positions per paragraph plus per-row
5310 offset instead of having a 'full' y position in the row.
5312 2003-10-15 André Pönitz <poenitz@gmx.net>
5316 * undo.[Ch]: make undo aware of inner insets
5318 2003-10-14 Angus Leeming <leeming@lyx.org>
5320 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
5321 static member functions LyX::ref() and LyX::cref.
5322 (lastfiles): new accessor functions for the new lastfiles_ member var.
5323 (addLyXView, views_): add a new LyXView to the list of views_.
5324 (updateInset): loop over all LyXViews to call their own updateInset
5325 member function, returning a pointer to the Buffer owning the inset.
5327 * BufferView_pimpl.C (loadLyXFile):
5328 * MenuBackend.C (expandLastfiles):
5329 * bufferlist.C (MenuWrite, QuitLyX):
5330 lastfiles is no longer a global variable.
5331 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
5333 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
5334 static function. Access through LyX::cref().emergencyCleanup().
5336 2003-10-14 André Pönitz <poenitz@gmx.net>
5338 * iterators.[Ch]: new direct access to innermost LyXText and Inset
5340 * undo.[Ch]: restoring part of 'undo in insets'
5343 * undo_funcs.[Ch]: merge with undo.[Ch]
5345 * tabular.C: small cleansing stuff
5347 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
5349 * paragraph_funcs.C (readParToken): report unknown insets as error
5350 boxes. Use the outer paragraph as location (also for unknown
5353 * factory.C (readInset): do not abort on reading an unknown inset.
5354 Eat it and return 0.
5356 2003-10-13 Angus Leeming <leeming@lyx.org>
5358 * lyx_main.C (LyX): remove call to setDisplayTranslator().
5360 * lyxrc.C: displayTranslator is now a function,
5361 declared in GraphicsTypes.h.
5363 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5365 * format.C: new placeholder $$a to pass the socket address.
5367 * bufferlist.[Ch]: new function getBufferFromTmp.
5369 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
5370 files in the temporary dir.
5372 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5374 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
5376 * Makefile.am: add lyxsocket.[Ch].
5378 * lyx_main.C (error_handler): handle SIGPIPE.
5380 2003-10-13 André Pönitz <poenitz@gmx.net>
5382 * BufferView_pimpl.C:
5387 * undo_funcs.[Ch]: use paroffset_type instead of
5388 ParagraphList::iterators to prevent multiple conversion
5389 (and get a more robust interface)
5391 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5393 * lyxfunc.C (dispatch): RESULT -> dispatch_result
5395 * text3.C (dispatch): ditto
5397 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5399 * LaTeX.C (handleFoundFile): move the static to smaller scope,
5400 move the onlyfile, use onlyfile instead of foundfile in a couple
5403 * DepTable.C (update): flush the error stream a bit more
5405 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5407 * lyxserver.C (callback): adjust
5409 * lyxfunc.C (getStatus): add a missing brace in commented code
5410 (ensureBufferClean): reindent
5411 (dispatch): delete version taking a string
5413 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5415 * LaTeX.C (deplog): move found file handlig from here...
5416 (handleFoundFile): .. to new function here.
5417 (deplog): make sure to discover several files mentioned on the
5420 2003-10-10 André Pönitz <poenitz@gmx.net>
5427 * text3.C: fix some of the tabular crashes
5429 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5431 * MenuBackend.C (binding): put debug message into Debug::KBMAP
5433 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
5435 2003-10-09 André Pönitz <poenitz@gmx.net>
5437 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
5440 * BufferView_pimpl.C:
5441 * bufferview_funcs.C:
5452 * undo_funcs.C: adjust
5454 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5456 * text2.C (incrementItemDepth): new function, use a backtracking
5457 algorithm to discover the correct item depth.
5458 (resetEnumCounterIfNeeded): new function, use a backtracking
5459 algorithm to discover if counter reset is needed.
5460 (setCounter): use them. Simplify a bit. Add different labels for
5461 different item depths for itemize.
5463 * paragraph.C (Paragraph): remove initialization of enumdepth
5466 * paragraph.h: get rid of enumdepth, and use itemdepth both for
5467 enumerate and itemize. Change the type of itemdepth to signed char.
5469 2003-10-08 André Pönitz <poenitz@gmx.net>
5471 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5476 * tabular.[Ch]: fix crash after 'row-insert'
5478 2003-10-08 Angus Leeming <leeming@lyx.org>
5480 Fix doxygen warnings.
5482 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5483 Remove CutAndPaste:: prefix from header file declaration.
5485 * LColor.h (fill): remove LColor:: prefix from declaration.
5487 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5488 use lyx::depth_type rather than Paragraph::depth_type so that
5489 header file and .C file match.
5491 * converter.h (intToFormat): remove Converters:: prefix from declaration.
5493 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5494 * aspell.C: \file aspell_local.C -> \file aspell.C
5495 * gettext.C: \file gettext.C -> \file src/gettext.C
5496 * gettext.h: \file gettext.h -> \file src/gettext.h
5497 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5498 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5499 * text.C: \file text.C -> \file src/text.C
5501 * toc.C: move comment so that doxygen is not confused.
5503 2003-10-07 Angus Leeming <leeming@lyx.org>
5505 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5507 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5510 * aspell_local.h: add forgotten std::string's.
5512 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
5519 * text3.C: The Box patch. Fancybox support, minipage, parbox
5521 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
5527 * ParagraphParameters.h:
5537 * lyxtextclasslist.h:
5540 * paragraph_pimpl.C:
5541 * textcursor.h: add <string> and other small fixes to make Lars'
5542 std::string patch compile with STLport.
5544 2003-10-06 Angus Leeming <leeming@lyx.org>
5546 * LColor.h: Add missing #include <string>.
5548 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5550 * All most all file in all subdirs: Make <string> be the prefered
5551 way of getting to std::string, add using declarations.
5553 2003-10-06 André Pönitz <poenitz@gmx.net>
5555 * metricsinfo.C: initialize LyXFont before changing attribute.
5556 (fixes the 'math in \emph is upright' bug)
5558 2003-10-06 André Pönitz <poenitz@gmx.net>
5560 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5562 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
5565 * paragraph_pimpl.C: Small fixes to build using STLport
5567 2003-10-02 André Pönitz <poenitz@gmx.net>
5570 * text3.C: move handling of LFUN_DEPTH *; fix #1360
5572 2003-10-01 André Pönitz <poenitz@gmx.net>
5574 * factory.C: assert early
5576 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5578 * lyx_main.C: remove the global debug object
5580 * debug.h: adjust for new debugstream
5582 * debug.C: adjust for new debugstream and keep the global debug
5585 2003-09-22 Angus Leeming <leeming@lyx.org>
5587 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5588 of g++ which otherwise complain that the scoped_ptr destructor can't delete
5589 an incomplete class LyXFont.
5591 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
5593 * factory.C: bug fix in branches
5595 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5597 * lyxfunc.C (processKeySym): adjust
5599 (dispatch): change arg name from ev to func, adjust
5600 (sendDispatchMessage): ditto
5602 * lyx_main.C (defaultKeyBindings): adjust keybindings
5603 (deadKeyBindings): ditto
5605 * kbsequence.C (addkey): return a FuncRequest
5607 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5609 * kbmap.C (bind): take a FuncRequest as arg, adjust
5612 (defkey): change to take a FuncRequest as arg, adjust
5613 (findbinding): take a FuncRequest as arg, adjust.
5615 * funcrequest.h (operator=): added
5617 * funcrequest.C (FuncRequest): default kb_action changed from
5618 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5620 * buffer.C (dispatch): simplify
5621 (dispatch): adjust to take a FuncRequest as arg, adjust
5623 * boost.C (assertion_failed): change assertion message slightly
5625 * ToolbarBackend.C (read): simplify
5627 * MenuBackend.C (binding): adjust call to findbinding, add a
5628 message if no binding is found.
5630 (expandToc): correct by adding a empty FuncRequest
5632 * LyXAction.C: include <boost/assert.hpp>
5633 (isPseudoAction): delete function
5634 (LookupFunc): change name to...
5635 (lookupFunc): this. change return type to FuncRequest.
5636 (getActionName): take kb_action as arg, simplify
5637 (funcHasFlag): add an assert, simplify.
5639 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5641 * toc.C (action): return a FuncRequest, simplify
5643 * lyxfunc.C (processKeySym): adjust
5644 (getStatus): delete version that takes an int.
5646 (dispatch): delete version that takes action as int
5648 (sendDispatchMessage): simplify and adjust
5650 * funcrequest.C (getArg): take unsigned int as arg
5652 * ToolbarBackend.C (read): adjust
5653 (add): delete version that takes func as a string.
5654 (getIton): take a FuncRequest as arg
5656 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5659 * MenuBackend.C (MenuItem): add a new construct that only takes a
5660 Kind, simplify the constructor use for submenus.
5662 (expandLastfiles): adjust
5663 (expandDocuments): adjust
5664 (expandFormats): adjust
5665 (expandFloatListInsert): adjust
5666 (expandFloatInsert): adjust
5667 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5669 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5670 Remove class variables lyx_pseudo_map and lyx_arg_map
5672 * LyXAction.C (searchActionArg): delete function
5673 (getPseudoAction): delete function
5674 (retrieveActionArg): delete function
5675 (LookupFunc): make it return kb_action, simplify.
5676 (getActionName): simplify
5678 * factory.C (createInset): fix new bug
5680 2003-09-19 Angus Leeming <leeming@lyx.org>
5682 * CutAndPaste.C (pasteSelection): remove fudge used to set the
5683 masterFilename_ parameter in the include inset.
5685 * factory.C (createInset): changes due to the changes to InsetInclude.
5687 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5689 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5691 2003-09-18 Angus Leeming <leeming@lyx.org>
5694 * BufferView.C: pass the buffer when calling Inset::getLabelList,
5695 Inset::fillWithBibKeys.
5696 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5698 2003-09-18 Angus Leeming <leeming@lyx.org>
5700 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5702 (ctor): pass and store a 'Buffer const &'
5703 (buffer): new member function.
5705 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5706 '*this' to the LaTeXFeatures ctor.
5708 2003-09-18 Angus Leeming <leeming@lyx.org>
5714 * text.C: rename EnumLColor as LColor_color.
5716 2003-09-18 Angus Leeming <leeming@lyx.org>
5718 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5719 remove #include "insets/insetbase.h" from cursor.h.
5721 2003-09-18 Angus Leeming <leeming@lyx.org>
5723 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5724 InsetOld_code to remove #include "inset.h".
5726 * iterators.C: add #include "insets/inset.h"
5728 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
5730 * BufferView.C: remove more locking stuff that apparently doesn't
5731 do anything sensible.
5733 2003-09-16 André Pönitz <poenitz@gmx.net>
5736 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5739 2003-09-16 Angus Leeming <leeming@lyx.org>
5741 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5743 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5746 * paragraph.h: remove #include "lyxfont.h". Forward declare
5749 2003-09-16 Angus Leeming <leeming@lyx.org>
5751 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5752 of support/textutils.h.
5753 (isWord): move the contents of support/textutils.h's IsWordChar here.
5759 * text2.C: add #include "paragraph.h".
5762 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5764 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5770 * LaTeX.C: use namespace alias for lyx::support::os
5772 2003-09-16 Angus Leeming <leeming@lyx.org>
5775 * bufferview_funcs.C:
5778 * paragraph_pimpl.C:
5780 * text.C: add #include "LColor.h".
5782 2003-09-16 Angus Leeming <leeming@lyx.org>
5784 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5785 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5787 Store the FontBits::color variable as an int rather than as an
5788 LColor::colorso that we can move LColor.h out of the lyxfont.h header
5791 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5792 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5793 string calls together.
5795 * lyxrc.C: add #include "LColor.h".
5797 2003-09-15 Angus Leeming <leeming@lyx.org>
5799 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5802 2003-09-15 Angus Leeming <leeming@lyx.org>
5804 * LColor.h: add an EnumLColor wrapper for LColor::color.
5806 * lyxfont.[Ch] (color, setColor, realColor):
5807 * lyxtext.h, text.C (backgroundColor):
5808 pass EnumLColor args to/from the functions, rather than LColor::color
5812 * lyxtext.h: forward declare EnumLColor.
5814 * lyx_main.C: add #include "LColor.h".
5816 2003-09-15 Angus Leeming <leeming@lyx.org>
5818 * .cvsignore: add lyx-gtk.
5820 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5825 * ParagraphParameters.C
5829 * bufferview_funcs.C
5839 * vc-backend.C: remove usage of STRCONV
5841 2003-09-15 Angus Leeming <leeming@lyx.org>
5843 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5844 explicitly define the color passed to the painter.
5846 2003-09-15 Angus Leeming <leeming@lyx.org>
5848 * bufferparams.C (BufferParams): reorder member initializers to avoid
5851 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
5853 * CutAndPaste.C (pasteSelection): remove an outdated #warning
5854 * text.C (updateRowPositions): remove an unusual nop
5856 2003-09-12 André Pönitz <poenitz@gmx.net>
5858 * BufferView_pimpl.C:
5867 * Counters.[Ch]: finish the 'automatic counters' job
5869 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5871 * aspell.C: include <boost/assert.cpp> (compile fix)
5873 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
5875 * boost.C (assertion_failed): use lyx::support::abort instead of
5878 2003-09-10 Angus Leeming <leeming@lyx.org>
5880 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5881 with their _fwd progeny.
5883 2003-09-09 Angus Leeming <leeming@lyx.org>
5885 134 files throughtout the source tree: replace 'using namespace abc;'
5886 directives with the appropriate 'using abc::xyz;' declarations.
5888 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5890 * boost.C (emergencyCleanup): moved here from LAssert.c
5891 (assertion_failed): new function, called by BOOST_ASSERT
5893 * several files: change Assert to BOOST_ASSERT
5895 2003-09-09 Angus Leeming <leeming@lyx.org>
5897 * buffer.[Ch]: Add an Impl class and move Buffer's member
5898 variables into it. As a result move several header files out of
5901 Add header files to lots of .C files all over the tree as a result.
5903 2003-09-09 Angus Leeming <leeming@lyx.org>
5905 * buffer.[Ch]: make Buffer's member variables private. Add
5908 Lots of changes all over the tree as a result.
5910 2003-09-08 Angus Leeming <leeming@lyx.org>
5912 * graph.C: #include <config.h>.
5914 2003-09-08 Angus Leeming <leeming@lyx.org>
5918 * BufferView_pimpl.C:
5947 * toc.C: remove redundant using directives.
5949 2003-09-07 Angus Leeming <leeming@lyx.org>
5951 * LaTeXFeatures.h: remove #include "support/types.h".
5952 * ToolbarBackend.h: remove #include <algorithm>.
5953 * changes.h: remove #include <ctime>.
5954 * debug.h: remove #include <iosfwd>.
5955 * graph.h: remove #include "support/std_string.h".
5956 * lyx_main.h: remove #include <csignal>.
5957 * lyxlex_pimpl.h: remove #include <fstream>.
5958 * sgml.h: remove #include <algorithm>, <utility>.
5959 * toc.h: remove #include "support/std_ostream.h".
5960 Add #include <iosfwd>.
5962 2003-09-07 Angus Leeming <leeming@lyx.org>
5964 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5966 * converter.h: forward declare LatexRunParams.
5967 * encoding.h: remove #include "lyxrc.h".
5968 * lyxtext.h: remove #include "LColor.h".
5969 * lyxtextclass.h: remove #include "support/types.h".
5970 * trans.h: remove #include "tex-accent.h".
5971 * trans_mgr.h: remove #include "tex-accent.h".
5972 * insets/inset.h: remove #include "support/types.h", <vector>.
5973 * insets/insetcollapsable.h: remove #include "LColor.h".
5974 * insets/insetinclude.h: remove #include "dimension.h".
5975 * insets/insetlatexaccent.h: remove #include "dimension.h".
5976 * insets/insetoptarg.h:: remove #include "insettext.h".
5977 * insets/insettext.h: remove #include "dimension.h",
5978 <boost/shared_ptr.hpp>
5980 * insets/renderers.h: add #include "dimension.h".
5981 * insets/updatableinset.h: add #include "support/types.h".
5983 * many .C files: Associated changes.
5985 2003-09-06 Angus Leeming <leeming@lyx.org>
5987 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5988 one, inside testInvariant.
5990 * PrinterParams.C: new file.
5991 * PrinterParams.[Ch]: move the function bodies out of line.
5993 2003-09-06 Angus Leeming <leeming@lyx.org>
5995 * ParagraphParameters.h: forward declare ParameterStruct rather than
5996 including its header file.
5997 (depth): moved out-of-line.
5999 2003-09-06 Angus Leeming <leeming@lyx.org>
6001 * BufferView_pimpl.h:
6004 * lyxfunc.h: forward declare LyXKeySym rather than
6005 #include "frontends/LyXKeySym.h".
6007 * BufferView_pimpl.C:
6010 * lyxfunc.C: associated changes.
6012 2003-09-06 Angus Leeming <leeming@lyx.org>
6014 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
6015 As a result, can remove the #include "insets/inset.h" from BufferView.h
6017 2003-09-06 Angus Leeming <leeming@lyx.org>
6019 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
6020 As a result, can remove the #include "insets/inset.h" from BufferView.h
6022 2003-09-06 Angus Leeming <leeming@lyx.org>
6028 * bufferview_funcs.C:
6029 * BufferView_pimpl.C:
6034 * ParagraphParameters.C:
6039 * frontends/controllers/ControlDocument.C:
6040 * insets/insetcaption.C: rearrange the #includes into some sort of
6043 * buffer.h: remove #includes ErrorList.h, undo.h
6045 2003-09-06 Angus Leeming <leeming@lyx.org>
6047 * support/types.h: add a 'depth_type' typedef, used to store the
6048 nesting depth of a paragraph.
6051 * ParameterStruct.h: use this lyx::depth_type typedef rather than
6052 defining explicitly.
6055 * paragraph_funcs.h:
6056 * ParagraphParameters.h:
6057 * sgml.h: use lyx::depth_type rather than Paragraph or
6058 ParameterStruct's depth_type.
6061 * paragraph_funcs.h: no need to #include paragraph.h anymore.
6064 * BufferView_pimpl.C:
6066 * ParagraphParameters.C:
6069 * bufferview_funcs.C:
6076 * frontends/LyXView.C:
6077 * frontends/controllers/ControlDocument.C:
6078 * frontends/controllers/ControlErrorList.C:
6079 * insets/insetbibitem.C:
6080 * insets/insetbranch.C:
6081 * insets/insetcaption.C:
6082 * insets/insetcollapsable.C:
6083 * insets/insetenv.C:
6084 * insets/insetert.C:
6085 * insets/insetfloat.C:
6086 * insets/insetfoot.C:
6087 * insets/insetfootlike.C:
6088 * insets/insetnewline.C:
6089 * insets/insetquotes.C:
6090 * insets/insettabular.C:
6091 * insets/insettext.C:
6092 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
6094 * frontends/controllers/ControlChanges.C: #include "changes.h".
6096 2003-09-06 Angus Leeming <leeming@lyx.org>
6098 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
6099 than #including paragraph.h.
6102 * RowList.h: deleted. Superfluous.
6112 * insets/insettext.h: use ParagraphList_fwd.h rather than
6115 * paragraph.h: don't forward declare ParagraphList.
6118 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
6119 rather than ParagraphList.h. paragraph.h is still needed for the
6120 Paragraph::depth_type parameters.
6122 * textcursor.h: enable it to compile stand-alone in light of the
6125 * bufferview_funcs.C:
6137 * frontends/controllers/ControlParagraph.C:
6138 * frontends/controllers/ControlTabular.C:
6139 * insets/insetmarginal.C:
6140 * insets/insetminipage.C:
6141 * insets/insetnote.C:
6142 * insets/insetoptarg.C: add header files needed to compile again.
6144 2003-09-06 Angus Leeming <leeming@lyx.org>
6146 * RowList_fwd.h: new file, forward-declaring Row rather than
6147 #including lyxrow.h.
6152 * insets/insettext.h: use it instead of RowList.h
6154 * bufferview_funcs.C:
6161 * text3.C: #include "RowList.h".
6163 2003-09-05 Angus Leeming <leeming@lyx.org>
6165 * factory.C (createInset):
6166 * vspace.C (c-tor): replace sscanf call with an istringstream.
6167 * ispell.C: re-add missing HP/UX headers.
6168 * lyxserver.C: re-add missing os2 headers.
6170 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
6179 * text3.C: re-add missing system headers, needed for 2.95.2.
6181 2003-09-05 Angus Leeming <leeming@lyx.org>
6183 Changes most place everywhere due to the removal of using directives
6184 from support/std_sstream.h.
6186 2003-09-05 Angus Leeming <leeming@lyx.org>
6188 Replace LString.h with support/std_string.h,
6189 Lsstream.h with support/std_sstream.h,
6190 support/LIstream.h with support/std_istream.h,
6191 support/LOstream.h with support/std_ostream.h.
6193 Changes resulting throughout the tree.
6195 2003-09-05 Angus Leeming <leeming@lyx.org>
6197 * sgml.h: ensure that the header file can be compiled stand-alone.
6198 * *.C: strip out redundant #includes. (320 in total.)
6200 2003-09-04 Angus Leeming <leeming@lyx.org>
6202 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
6203 here (from getPackages).
6205 * debug.[Ch]: add a new EXTERNAL tag.
6207 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6209 * text2.C (cursorEnd): simplify
6211 (getColumnNearX): adjust
6213 * text.C (computeBidiTables): adjust
6216 * rowpainter.C (paintChars): adjust
6217 (paintSelection): adjust
6218 (paintChangeBar): adjust
6221 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
6223 (numberOfSeparators): adjust
6225 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
6231 * text3.C: Restricts the mouse click functionality
6232 of insets like bibtex, include, toc and floatlist to the visible
6233 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
6234 up the dialogs. Cursor has to be in front of the inset (i.e.
6235 start of row) for this to function.
6237 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6239 * bufferview_funcs.C (currentState): output row information
6241 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6243 * bufferview_funcs.C (currentState): output paragraph position
6245 2003-09-04 Angus Leeming <leeming@lyx.org>
6247 * FloatList.h: move out #include "Floating.h".
6248 * LaTeX.h: move out #include "DepTable.h".
6249 * LyXAction.h: move out #include "funcrequest.h".
6250 * buffer.h: move out #include "author.h", "iterators.h".
6251 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
6252 * lyx_main.h: move out #include "errorlist.h".
6253 * lyxfunc.h: move out #include "FuncStatus.h".
6254 * lyxtext: move out #include "lyxcursor.h".
6255 * paragraph_pimpl.h: move out #include "counters.h".
6257 2003-09-03 Angus Leeming <leeming@lyx.org>
6259 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
6260 preamble_snippets list, enabling us to add snippets to the preamble
6261 only if the snippet was not there already.
6263 2003-09-04 Angus Leeming <leeming@lyx.org>
6265 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
6267 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6269 * lyxfunc.C (dispatch): if fitCursor did something be sure to
6272 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
6274 * BranchList.C: point fix, earlier forgotten
6276 2003-09-02 Angus Leeming <leeming@lyx.org>
6278 * box.C (contains): renamed from 'contained' after a fantastic
6281 2003-09-02 John Levon <levon@movementarian.org>
6287 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
6289 2003-09-02 John Levon <levon@movementarian.org>
6291 * text2.C: simplification of cursorEnd(), including partial
6294 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6296 * buffer.C (readFile): add a space
6298 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
6300 * BufferView_pimpl.C (update): remove bogus fitCursor() call
6302 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6304 * buffer.C (readFile): new function, take a filename and a
6305 ParagraphList::iterator
6307 (readFile): adjust, make it private. don't use setStream, make
6308 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
6309 always contain the filename.
6311 * BufferView.C (insertLyXFile): simplify and make it work for
6314 2003-08-30 John Levon <levon@movementarian.org>
6316 * Makefile.am: fix dist (from Kayvan)
6318 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6320 * most files: change to use const Buffer refs
6322 2003-08-27 André Pönitz <poenitz@gmx.net>
6324 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
6325 on top of ownerPar().
6327 2003-08-27 John Levon <levon@movementarian.org>
6329 * funcrequest.C: properly initialise POD members
6331 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
6333 * lyxtext.h (top_y): move top_y from here
6338 * BufferView_pimpl.[Ch]: to here
6339 * frontends/screen.C:
6340 * insets/insettabular.C:
6341 * insets/insettext.C: adjust
6342 * rowpainter.[Ch] (paintRows): remove LyXText & argument
6344 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
6347 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
6349 2003-08-26 André Pönitz <poenitz@gmx.net>
6351 * paragraph_func.[Ch] (outerPar): new function
6354 * paragraph_funcs.C:
6355 * paragraph_funcs.h:
6356 * paragraph_pimpl.C:
6357 * text2.C: remove Inset::par_owner
6359 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
6364 * text2.C: eliminates the needFullRow/display() stuff
6365 altogether, putting the logic in metrics/draw in the insets.
6367 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
6369 * text2.C (redoParagraphInternal, redoParagraphs):
6370 * text.C (redoParagraph): add a call to updateRowPositions at the
6371 end of each 'metrics-like' call. Remove all others.
6372 (getRow): remove the 'y-computing' version.
6373 (getRowNearY): do not compute nor return the real y. Solve the
6374 'y < 0' problem and simplify.
6376 2003-08-22 Angus Leeming <leeming@lyx.org>
6378 * *.[Ch]: clean-up of licence and author blurbs.
6379 Also move config.h out of a few .h files and into a few .C files.
6381 2003-08-22 André Pönitz <poenitz@gmx.net>
6383 * lyxrow.[Ch]: add x_ and *fill_ members
6388 * text2.C: adjust/remove prepareToPrint() calls
6390 2003-08-22 André Pönitz <poenitz@gmx.net>
6392 * lyxrow.[Ch]: add end_ member
6394 * lyxrow_funcs.C: use LyXRow::end_
6396 * lyxtext.h (singleWidth): add LyXFont parameter
6399 * text2.C: adjust LyXText::singleWidth() calls
6401 * text.C (redoParagraph): simplify row breaking logic
6404 2003-08-19 André Pönitz <poenitz@gmx.net>
6406 * funcrequest.C: initialize button_ member
6409 * rowpainter.[Ch]: interface consolidation
6411 2003-08-18 André Pönitz <poenitz@gmx.net>
6414 * BufferView_pimpl.C:
6416 * paragraph_funcs.C:
6418 * text3.C: remove LyXScreen::draw() and fitCursor calls
6420 * BranchList.h: remove spurious semicolons
6422 * MenuBackend.C: fix branchlist related crash
6424 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
6432 * bufferparams.[Ch]:
6436 * text3.C: implements the 'branch inset'
6437 idea. This allows the output of various versions of a document
6438 from a single source version, selectively outputing or suppressing
6439 output of parts of the text.
6440 This implementation contains a 'branch list editor' in a separate
6441 tab of the document settings dialog. Branches are user definable
6442 and have a "display colour" to distinguish them on-screen.
6444 ColorHandler was somewhat cleaned up.
6445 (1) make possible a dynamically growing LColor list by allowing
6446 the graphic context cache to grow along (vector);
6447 (2) eliminate an IMHO unnecessary step in colour allocation.
6449 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
6451 * BufferView_pimpl.C: compile fix
6453 2003-08-15 André Pönitz <poenitz@gmx.net>
6455 * rowpainter.C: remove extra metrics calls
6457 * lyxtext.h: merge the two constructors into a single one,
6458 pass reference to owner's par list
6460 * BufferView_pimpl.C:
6464 2003-08-15 André Pönitz <poenitz@gmx.net>
6466 * lyxrow_funcs.[Ch]:
6469 * paragraph_funcs.C:
6474 * text_funcs.C: split LyXText::rowlist_ into individual
6475 Paragraph::rows_ chunks
6478 * BufferView_pimpl.[Ch]:
6481 * text3.C: remove toggleSelection()
6483 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
6485 * bufferlist.C: beautify two alerts (shorter text of buttons)
6486 * buffer.C: Remove redundant ' ' from message
6488 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6489 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6490 rename VALIGN_CENTER to VALIGN_MIDDLE
6492 2003-08-11 André Pönitz <poenitz@gmx.net>
6494 * lyxtext.h (getPar):
6495 * text.C: new function
6497 2003-08-11 André Pönitz <poenitz@gmx.net>
6500 * tracer.[Ch]: remove unneeded files
6502 * InsetList.[Ch]: remove resizeInsetsLyXText()
6507 * text3.C: merge insertParagraphs() and appendParagraph()
6508 remove breakAgain(), update()
6510 * BufferView_pimpl.[Ch]:
6511 * bufferview_funcs.[Ch]:
6515 * tabular.C: adjust after text & InsetList changes.
6517 2003-08-08 André Pönitz <poenitz@gmx.net>
6519 * text.C (insertChar, backspace): replace rowlist fiddling
6520 with rebreak of full par
6523 * text.C (breakAgainOneRow, redoHeightOfParagraph,
6524 checkParagraph, updateInset): removed
6526 2003-08-07 André Pönitz <poenitz@gmx.net>
6529 * text3.C: merge some LFUN handlers, remove dead code
6531 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6533 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6535 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
6537 * text2.C (DEPM): fix part of bug 1255 and 1256
6539 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6541 * BufferView_pimpl.C (workAreaDispatch): change to use
6542 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6543 that are no mouse related.
6545 2003-08-05 André Pönitz <poenitz@gmx.net>
6548 * BufferView_pimpl.[Ch]:
6549 * bufferview_funcs.C:
6551 * text3.C: rip out "deep update"
6553 * textcursor.[Ch] (last_sel_cursor): remove unused member
6555 2003-08-04 André Pönitz <poenitz@gmx.net>
6558 * BufferView_pimpl.[Ch]:
6559 * ParagraphParameters.C:
6560 * bufferview_funcs.C:
6566 * text3.C: replace "complicated" BufferView::update(...) calls with
6569 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6571 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
6573 * Makefile.am (lyx_SOURCES): add paper.h
6575 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6577 * Makefile.am: move things around so that both lyx-qt and
6578 lyx-xforms can be built (according to --with-frontend). Then lyx
6579 is a symbolic link to lyx-[firstfrontend]
6581 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
6583 * Always use std::endl with lyxerr
6585 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
6587 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6589 2003-08-01 André Pönitz <poenitz@gmx.net>
6592 * BufferView_pimpl.[Ch]:
6594 * text3.C: merge BufferView::repaint() and BufferView::update()
6596 2003-08-01 José Matos <jamatos@lyx.org>
6598 * buffer.[Ch]: file_format is no longer a buffer data element.
6600 2003-08-01 André Pönitz <poenitz@gmx.net>
6605 * text2.C: make redoParagraph more independent of current cursor
6607 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6609 * text2.C: remove unneeded members
6611 2003-07-30 André Pönitz <poenitz@gmx.net>
6613 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6615 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6616 create a single function...
6618 * paragraph_funcs.C (moveItem): ... here.
6621 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6623 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6625 * LColor.[Ch]: Add comment and greyedout logical colors.
6627 2003-07-30 André Pönitz <poenitz@gmx.net>
6629 * tabular.C: don't use Assert too heavily. This crashes where it
6632 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
6634 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6635 is disabled (bug 1232)
6637 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6639 * factory.C: limited 'arg' scope
6641 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6643 * factory.C: fixed Note submenu issues
6645 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6647 * factory.C: submenu for Note/Comment/Greyedout
6649 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
6652 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6654 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
6657 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6658 greyedout. Patch provided by Jürgen Spitzmüller.
6660 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6662 * kbmap.C (read): fix error message when reading bind files
6664 2003-07-29 Angus Leeming <leeming@lyx.org>
6666 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6667 certainly does not do what it purports to do. I am doing it, and
6668 us, a favour by killing it.
6670 2003-07-28 José Matos <jamatos@lyx.org>
6672 * buffer.C (readBody, do_writeFile):
6673 * paragraph.C(readParagraph): \end_document replaces \the_end.
6675 2003-07-29 André Pönitz <poenitz@gmx.net>
6678 * BufferView_pimpl.[Ch]:
6682 * textcursor.[Ch]: remove toggleToggle & Co
6684 2003-07-28 José Matos <jamatos@fep.up.pt>
6686 * buffer.C (readParagraph):
6687 * params_func (readParToken, readParagraph):
6688 * paragraph.C (write): \layout -> \begin_layout.
6690 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6692 * lyxlex_pimpl.C (setFile): clean up slightly.
6694 * bufferparams.h: add compressed var
6696 * buffer_funcs.C (readFile): adjust for LyXLex change
6697 (newFile): ditto + simplify
6699 * buffer.C (writeFile): handle writing of compressed files
6701 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6702 Check if the file is compressed and set a bufferparm if so.
6704 * Makefile.am (lyx_LDADD): remove explicit -lz
6706 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6708 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6709 makeDocBookFile): put the real LyX version in the first line of
6713 * version.C.in: remove lyx_docversion
6715 * tabular.C (write_attribute): add a template-based version to
6716 write enums properly
6718 2003-07-28 André Pönitz <poenitz@gmx.net>
6723 * text3.C: use doubles again for x-coordinates. They are needed.
6725 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6727 * messages.C (getLocaleDir): use lyx_localedir()
6729 * lyxlex_pimpl.C (setFile): compress stuff
6731 * buffer.C (writeFile): add some compression stuff
6732 (do_writeFile): new func, dont call expliti close... will this
6735 * Makefile.am (lyx_LDADD): add -lz
6737 2003-07-28 José Matos <jamatos@fep.up.pt>
6739 * buffer.C: increment file format.
6740 * paragraph_funcs (readParagraph, readParToken):
6741 * paragraph.C (readParagraph): add \end_layout.
6743 2003-07-27 Angus Leeming <leeming@lyx.org>
6745 * Makefile.am: remove special casing for configure-time setting of
6746 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6748 * lyx_main.C (init): remove all Jean-Marc's magic setting of
6749 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6751 2003-07-26 André Pönitz <poenitz@gmx.net>
6753 * paragraph_func.[Ch]:
6754 * paragraph.C (realizeFont): inline it whereever it is used
6759 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6762 2003-07-26 André Pönitz <poenitz@gmx.net>
6766 * text2.C: get rid of LyXText::need_break_row
6768 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6770 * toc.[Ch]: put namespace toc inside namespace lyx
6772 * MenuBackend.C (expandToc2): adjust for lyx::toc
6775 * lyxfunc.C (dispatch): adjust for lyx::find
6777 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6778 lyx::find instead. Reorganize a bit.
6779 (LyXReplace): rename to replace
6780 (LyXFind): rename to find
6782 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6785 2003-07-26 André Pönitz <poenitz@gmx.net>
6787 * text.C (setHeightOfRow): restrict scope of temporary variable
6789 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
6790 code (never has been used?)
6792 2003-07-27 Asger Alstrup <alstrup@local>
6794 * text.C (fill): Optimise algorithm to exploit that we can reuse
6795 the LyXFont for many characters.
6796 (setHeightOfRow): Same thing.
6797 (rowBreakPoint): Same thing.
6799 2003-07-26 Asger Alstrup <alstrup@local>
6801 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6803 * text.C (singleWidth): Spurious font copying in hot-spot
6804 singleWidth avoided. Reorder tests for arabic for efficiency.
6806 * text.C (fill): handle empty paragraphs better.
6808 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6811 * encoding.h: add includes
6813 * lyxrc.C: remove reading of bind files
6815 * lyx_main.C (init): setup bindings and menus only if we have a
6818 * kbmap.C (read): new method. Do the actual reading of bind
6821 * converter.C (dvipdfm_options):
6824 (output): adapt PAPER_* enums.
6826 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6828 * bufferparams.h: remove paper-related enums from there
6830 * paper.h: New file. A trivial header file to hold paper-related
6831 enums. It should later expand to contain many paper-related
6834 * lyxrc.C: declare extern displayTranslator
6836 2003-07-27 José Matos <jamatos@fep.up.pt>
6838 * tabular.[Ch] (linuxdoc): add support for tables and figures
6841 2003-07-27 José Matos <jamatos@fep.up.pt>
6843 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6844 consistency in both functions.
6845 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6847 2003-07-26 Asger Alstrup <alstrup@local>
6849 * rowpainter.C (paintRows): Change algorithm to work directly on
6850 the insets rather than asking every character in the document
6851 whether its an inset.
6853 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
6855 * buffer.C (openFileWrite): factorize some code
6857 2003-07-26 Angus Leeming <leeming@lyx.org>
6860 * lyx_main.[Ch]: replace occurances of system_tempdir with
6863 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6865 * rename Inset to InsetOld
6867 2003-07-25 Asger Alstrup <alstrup@diku.dk>
6869 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6870 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6871 which I think is a bit clearer. EDIT is gone, since it was
6872 premature optimisation, and broken for mathed anyway.
6873 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6874 with cursor positioning in insets as well (math insets still do not
6875 work, but that's a different story anyway.) It mysteriously
6876 crashes sometimes with undo in the first paragraph, but I'm fairly
6877 confident that this is a compiler bug.
6879 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6881 * paragraph.C (Paragraph): adjust for new clone return type
6883 (copyIntoMinibuffer): ditto
6885 2003-07-25 Asger Alstrup <alstrup@lyx.org>
6887 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6888 by not having a special case, and always doing a full rebreak of
6889 the document after undo.
6891 2003-07-23 Angus Leeming <leeming@lyx.org>
6893 * factory.C (createInset): InsetExternal::setParams now takes a
6896 2003-07-23 Angus Leeming <leeming@lyx.org>
6898 * factory.C (createInset): changed interface to the external and
6899 graphics mailers' string2params functions.
6901 2003-07-23 Angus Leeming <leeming@lyx.org>
6903 * factory.C (createInset): pass a
6904 Buffer const * parameter to InsetExternalMailer's string2params.
6906 2003-07-22 John Levon <levon@movementarian.org>
6908 * Thesaurus.h: include the right aiksaurus header
6910 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6912 * MenuBackend.C (expand): check menu shortcuts unconditionally
6914 2003-07-21 Angus Leeming <leeming@lyx.org>
6916 * factory.C (createInset): pass a
6917 buffer_path parameter to InsetGraphicsMailer's string2params.
6919 2003-07-21 Angus Leeming <leeming@lyx.org>
6921 * BufferView_pimpl.C (buffer):
6924 * lyxfunc.C (dispatch):
6925 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6926 rather than the grfx shortcut.
6928 2003-07-21 André Pönitz <poenitz@gmx.net>
6930 * rowpainter.C: remove unused variables
6933 * tabular_funcs.h: move to tabular.C
6934 * Makefile.am: adjust
6936 * tabular.[Ch]: basic optical cleaning
6938 * author.h: pass references, not values
6940 2003-07-18 André Pönitz <poenitz@gmx.net>
6948 * text3.C: two-phase drawing for InsetText and InsetTabular
6949 some float -> int changes.
6951 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6953 * lyx_main.C: fix the fix
6955 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6957 * lyx_main.C: fix a crash in batch mode if no files specified
6960 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
6962 * format.[Ch] (papersize): moved to BufferParams
6963 * converter.[Ch] (dvips_options): moved to BufferParams
6964 (dvipdfm_options): moved to anon namespace
6965 * bufferparams.[Ch]: added above functions.
6967 2003-07-17 André Pönitz <poenitz@gmx.net>
6971 * text2.C: don't call inset->update() anymore
6973 * metricsinfo.[Ch]: add convenience constructor
6975 2003-07-16 André Pönitz <poenitz@gmx.net>
6980 * text2.C: replace the LyXCursor::irow_ member with
6981 on-demand computation of the value
6983 2003-07-16 John Levon <levon@movementarian.org>
6985 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6987 2003-07-15 André Pönitz <poenitz@gmx.net>
6990 * text2.C: remove no more needed refresh_row
6992 2003-07-15 André Pönitz <poenitz@gmx.net>
6997 * text3.C: refresh_status tristate -> need_update bool
6999 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
7001 * lyxtext.h (init): remove reinit argument (act as if always true)
7002 * text2.C: adjust to that
7004 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
7006 * bufferview_funcs.[Ch]: introduce function replaceSelection()
7007 * text3.C: use it to delete selections in some cases
7008 (bugs 441, 673, 702, 954).
7010 2003-07-14 André Pönitz <poenitz@gmx.net>
7012 * rowpainter.[Ch]: reduce interface
7014 2003-07-14 André Pönitz <poenitz@gmx.net>
7016 * BufferView_pimpl.C:
7017 * text2.C: adjust after removing unused BufferView * argument
7019 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
7021 * text2.C (init): fix a crash fired on resize
7023 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
7025 * buffer.[Ch]: added new closing signal
7026 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
7027 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
7028 BufferView::Pimpl via the closing the signal
7030 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
7032 * buffer.[Ch]: take out all bv-related from buffer
7034 * BufferView_pimpl.[Ch]: connect to new signals
7035 * CutAndPaste.C: removed useless asserts
7036 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
7039 * lyxfunc.C: moved view-related funciontality from vc here
7040 * paragraph.C: removed outdated comments
7043 2003-07-10 André Pönitz <poenitz@gmx.net>
7045 * BufferView_pimpl.C:
7049 * text2.C: remove InsetText::InnerCache, clean up consequences
7051 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
7053 * ispell.C: fix two typos in error messages
7055 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
7057 * Extend Note inset to other forms of annotation like Comment
7058 and Greyedout. Right button click gives dialog.
7060 Files modified or added (+):
7064 * ControlNote.[Ch] +
7066 * Makefile.am in frontends/xforms, frontends/xforms/forms,
7067 frontends/controllers
7071 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
7073 * aspell.C: add missing namespace lyx::support
7075 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
7077 * BufferView.[Ch] (newFile): Add
7078 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
7079 * LaTeX.[Ch] (message): added this signal and use it
7080 * buffer.[Ch] (busy, message): added these signals and use them
7081 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
7085 * importer.C: use buffer signals instead of direct bv calling
7086 * lyx_cb.[Ch] (ShowMessage): removed
7089 * paragraph_funcs.C:
7090 * text2.C: use buffer signals
7092 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7094 * introduce namespace lyx::graphics
7096 2003-07-02 André Pönitz <poenitz@gmx.net>
7098 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
7100 2003-07-01 André Pönitz <poenitz@gmx.net>
7107 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
7108 text*.C to text_func.C
7110 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7112 * introduce namespace lyx::support
7114 2003-06-30 André Pönitz <poenitz@gmx.net>
7119 * text.C: re-enable --with-included-string
7121 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7123 * textcursor.C: add <config.h>
7125 * text.C (getWord): remove const from word_location arg
7127 * lyxvc.C (getLogFile): fix const type order
7129 * lyxtext.h: remove const from word_location arg, add arg name
7131 * lyxlayout.h: currect type on labeltype.
7133 * importer.C: correct \file
7135 * converter.C (intToFormat): use std:: on ret val, ws changes
7137 * bufferlist.h: correct \file
7139 * buffer.C (makeLinuxDocFile): fix const type order
7140 (makeDocBookFile): ditto
7141 (fillWithBibKeys): use std:: on stdlib args.
7143 * CutAndPaste.C: fix authors.
7144 (availableSelections): use std:: on return vector
7146 2003-06-27 André Pönitz <poenitz@gmx.net>
7148 * BufferView_pimpl.C:
7149 * bufferview_funcs.C:
7157 * text3.C: remove LyXCursor::row_ member
7160 * text.C: rename fullRebreak() to partialRebreak() and implement
7161 a fullRebreak() that really bereks fully
7163 * textcursor.h: new struct for cursor-related data
7165 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
7167 * lyx_main.C (LyX): get full path of document loaded on the
7170 2003-06-26 André Pönitz <poenitz@gmx.net>
7172 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
7173 remove unused/broken operator>,<,>=.
7175 * text.C: remove only use of broken operator<= in an Assert().
7177 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
7179 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
7180 moved errorlist_.clear to showErrorList
7182 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
7184 * converter.C (scanLog, runLaTeX):
7185 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
7186 move the bv->showErrorList call to the callers
7187 * lyxfunc.C: i.e. here...
7189 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
7190 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
7191 namespace, the second to...
7192 * buffer_funcs (BufferFormat, parseErrors): added
7193 * errorlist.C (ErrorList(TeXErrors const &)): removed
7195 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7197 * ToolbarBackend.C (getIcon): complain when icon cannot be found
7199 2003-06-24 "Garst R. Reese" <reese@isn.net>
7203 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7205 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
7207 * version.C.in: change docversion to 1.4
7209 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
7211 * buffer.C: fix a bug just introduced
7213 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
7215 * buffer.[Ch]: added the parseError signal and use it, removed
7217 * BufferView.[Ch] (addError): moved to ...
7218 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
7219 to the Buffer::parseError signal to catch (guess what) parse errors
7220 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
7222 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
7224 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
7225 ability to create a buffer and to return an existing one from
7226 the list. Moved these functions to...
7227 * buffer_funcs.[Ch]: added
7228 * BufferView.[Ch] (loadLyXFile): added
7229 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
7230 job removed from bufferlist::loadLyXFile.
7231 * buffer.C (setReadOnly): make it work without view
7232 (i.e added an if (users))
7234 2003-06-19 Angus Leeming <leeming@lyx.org>
7237 * LyXAction.C (init):
7238 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
7239 with LFUN_DIALOG_SHOW <name> <data>.
7241 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7243 * CutAndPaste.C (availableSelections): small compilation fix for
7244 ancient (gcc 2.9x) compilers
7246 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
7248 * text3.C (cursorNext): add tmp var
7250 * text2.C (updateCounters): for function calling out of for clause
7251 (replaceSelectionWithString): ditto
7252 (insertStringAsParagraphs): ditto
7253 (getColumnNearX): add tmp var
7254 (setCursorFromCoordinates): add tmp var
7255 (cursorDownParagraph): add tmp var
7256 (deleteEmptyParagraphMechanism): add tmp var
7258 * text.C (insertChar): add tmp var
7260 * rowpainter.C (paintDepthBar): add tmp var
7262 * CutAndPaste.C (availableSelections): potentially check all
7263 paragraphs in a cut to fill the shown strings.
7265 2003-06-18 André Pönitz <poenitz@gmx.net>
7267 * kbmap.[Ch]: use vector<> instead of list<>
7269 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
7271 * text3.C (dispatch): handle arg to LFUN_PASTE, call
7272 pasteSelection with index
7274 * text2.C (pasteSelection): modify, call pasteSelection with index
7276 * paragraph.C (asString): reimplement version with no interval to
7277 call the one with interval.
7279 * lyxtext.h: add index arg to pasteSelection
7281 * MenuBackend.C (MenuItem): handle PasteRecent
7282 (Menu::read::Menutags): add md_pasterecent
7284 (expandPasteRecent): new function
7287 * MenuBackend.h: add PasteRecent to MenuItem::Kind
7289 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
7291 (availableSelections): new function
7293 2003-06-17 Angus Leeming <leeming@lyx.org>
7295 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
7297 2003-06-17 Angus Leeming <leeming@lyx.org>
7300 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
7302 * lyxfunc.C (dispatch): invoke it.
7304 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7306 * iterators.C (operator++, ParPosition): reintroduce some
7307 const_cast for the benefit of older compilers.
7309 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7311 * text3.C (dispatch): do not modify clipboard when doing
7312 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
7313 LFUN_DELETE_SKIP on a selection selection
7315 2003-06-16 André Pönitz <poenitz@gmx.net>
7321 * tabular.[Ch]: IU of clone() and getLabelList();
7323 2003-06-13 André Pönitz <poenitz@gmx.net>
7325 * tabular.h: compactification
7327 2003-06-12 André Pönitz <poenitz@gmx.net>
7331 * tabular_funcs.h: some renaming plus whitespace
7333 2003-06-12 André Pönitz <poenitz@gmx.net>
7336 * BufferView_pimpl.C:
7342 * toc.C: Return a Paragraph & for ParIterator::operator*()
7344 2003-06-11 John Levon <levon@movementarian.org>
7348 * ToolbarBackend.C: add "Toolbars" section and
7351 2003-06-10 Angus Leeming <leeming@lyx.org>
7354 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
7356 * lyxfunc.C (dispatch): invoke it.
7358 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7360 * main.C: protect <ios> with HAVE_IOS
7361 (main): protect sync_with_stdio with HAVE_IOS
7363 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
7365 * text2.C (cutSelection): adjust
7366 (pasteSelection): adjust
7368 * messages.C: handle get of empty string
7370 * main.C (main): use sync_with_stdio(false)
7372 * lyxfunc.C (dispatch): adjust
7374 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
7375 (WriteAs): remove unneeded BufferView arg.
7377 * bufferparams.h: use correct types on papersize, papersize2 and
7380 * bufferparams.C (readToken): adjust for type
7381 (writeLaTeX): add missing cases to switch.
7383 * bufferlist.C (quitWriteBuffer): adjust
7386 * buffer.C (asciiParagraph): remove some commented code.
7388 * CutAndPaste.C: remove current_view extern variable.
7389 (cutSelection): add BufferParams arg.
7390 (eraseSelection): add BufferParams arg.
7391 (pasteSelection): add Buffer const & arg
7393 2003-06-07 John Levon <levon@movementarian.org>
7396 * paragraph_funcs.C:
7397 * paragraph_pimpl.C:
7401 * paragraph.C: allow InsetERT to freely space lines,
7402 and some consolidation of code
7404 2003-06-06 José Matos <jamatos@fep.up.pt>
7406 * buffer.C (makeDocBookFile): fix bug #821
7408 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
7410 * BufferView_pimpl.C (dispatch): use Dialogs::visible
7412 2003-06-04 Angus Leeming <leeming@lyx.org>
7414 * buffer.C: bump format to 224.
7416 2003-06-05 André Pönitz <poenitz@gmx.net>
7418 * text2.C (redoParagraphs): remove two const_cast<>
7420 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
7422 * ParagraphList.h: remove last remnants of NO_STD_LIST
7424 2003-06-03 Angus Leeming <leeming@lyx.org>
7426 * factory.C (createInset): small change to the way InsetExternal's params
7429 2003-06-04 André Pönitz <poenitz@gmx.net>
7431 * buffer.h: use Undo directly instead of shared_ptr<Undo>
7433 * paragraph_pimpl.h:
7434 * paragraph.[Ch]: some Inset -> UpdatableInset changes
7436 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
7438 * undo_funcs.C: make some simple cases of undo work again
7440 2003-06-03 John Levon <levon@movementarian.org>
7442 * ispell.C: HPUX doesn't have sys/select.h
7445 2003-06-03 John Levon <levon@movementarian.org>
7447 * CutAndPaste.C: update tabular and include inset
7452 * paragraph.C: remove owningBuffer(), don't pass Buffer
7455 * factory.C: insetGraphicsParams changed
7457 2003-06-02 John Levon <levon@movementarian.org>
7463 * text3.C: remove insetparent
7465 2003-06-02 John Levon <levon@movementarian.org>
7468 * buffer.C: fix inset_iterator.end(), move out of line
7471 2003-06-01 John Levon <levon@movementarian.org>
7473 * text3.C: use a proper cut/paste when doing inset
7474 insert (from Jürgen Spitzmüller)
7476 2003-06-01 John Levon <levon@movementarian.org>
7478 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7480 2003-05-30 André Pönitz <poenitz@gmx.net>
7482 * rowpainter.C: unify second drawing phase
7484 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7486 * trans_mgr.C: remove one case of current_view
7488 * text2.C (cursorBottom): delete NO_STD_LIST stuff
7490 * paragraph_funcs.h: remove paragraph.h include
7492 * paragraph.h: delete NO_STD_LIST stuff
7494 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7496 * buffer.h: remove paragraph.h include
7498 * ParagraphList.C: delete file
7500 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7502 * toc.C (getTocList): adjust
7504 * paragraph_pimpl.C (validate): adjust
7506 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7508 * paragraph.C (Paragraph): adjust
7509 (getPositionOfInset): use const_iterator, adjust
7510 (bibitem): use const_iterator, adjust
7511 (setInsetOwner): adjust
7513 * iterators.C (operator++): adjust
7515 * InsetList.[Ch]: Replace selfmade iterator with standard
7516 vector::iterator also introduce const_iterator. Remove getPos,
7517 getInset and setInset from InsetTable. Adjust accordingly.
7519 * BufferView.C (lockInset): adjust
7520 (ChangeInsets): adjust
7522 * tabular.[Ch]: delete commented same_id functions
7524 2003-05-28 John Levon <levon@movementarian.org>
7526 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7528 2003-05-28 André Pönitz <poenitz@gmx.net>
7530 * metricsinfo.[Ch]: remove 'fullredraw' member
7532 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
7534 * lyxtextclass.C (operator): remove caching.
7536 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7540 * text2.C (cursorBottom): adjust
7541 (setCounter): use ParagraphList::find, adjust
7543 * text.C (workWidth): use ParagraphList::find, adjust
7545 * lyxcursor.C (LyXCursor): adjust
7547 * buffer.C (inset_iterator): adjust
7549 * ParagraphList.h: make iterator(value_type) private, make
7550 ParagraphList a friend of iterator.
7552 * ParagraphList.C (find): new function
7554 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7556 2003-05-27 André Pönitz <poenitz@gmx.net>
7558 * dimension.[Ch]: a -> asc, d -> des, w -> wid
7560 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7562 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7564 2003-05-26 John Levon <levon@movementarian.org>
7566 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7568 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
7570 * remove same_id from function signatures, adjust.
7572 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7574 * undo_funcs.C (createUndo): use the id functions directly, adjust.
7576 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7578 * paragraph.C (Paragraph): get rid of same_ids parameter
7580 * ParagraphList.C (insert): adjust
7583 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7585 * paragraph_funcs.C (breakParagraph): adjust
7586 (breakParagraphConservative): adjust
7588 * buffer.C (readParagraph): adjust
7590 * ParagraphList.C (insert): take a reference instead of a pointer
7593 * paragraph.[Ch] (id): new function
7595 * bufferlist.C (newFile): adjust
7597 * ParagraphList.C (ParagraphList): adjust
7599 (push_back): take a reference instead of a pointer.
7601 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7603 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7606 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7607 set else use old code.
7609 * ParagraphList.C: remove all NO_NEXT code and only compile this
7610 code of NO_STD_LIST is set.
7612 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7614 * BufferView_pimpl.C:
7624 * graphics/GraphicsConverter.C:
7625 * graphics/PreviewLoader.C: header adjustment
7627 2003-05-23 Angus Leeming <leeming@lyx.org>
7629 * LaTeXFeatures.[Ch] (useBabel): new method.
7630 * bufferparams.C (writeLaTeX): use it.
7632 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7634 * ParagraphList.h (set): remove unused function.
7636 2003-05-23 André Pönitz <poenitz@gmx.net>
7639 * BufferView_pimpl.C:
7643 * undo_funcs.C: setUndo reworked
7645 * iterators.[Ch]: add access to topmost ParagraphList
7647 * lyxtext.[Ch] (workWidth): add a const
7649 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7651 * texrow.[Ch] (increasePos): remove function
7652 * exporter.C (export): removed unused var and outdated comment
7654 2003-05-23 Angus Leeming <leeming@lyx.org>
7656 * latexrunparams.h: rename fragile as moving_arg.
7657 * paragraph.C (simpleTeXOnePar): ditto.
7658 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7660 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7662 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7664 (textUndoOrRedo): comment out a currently unused var.
7666 * paragraph.h (NO_NEXT): enable NO_NEXT
7668 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7670 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7672 * exporter.C (Export): adjust for removeAutoInsets removal.
7674 * buffer.C (runChktex): adjust for removeAutoInsets removal.
7676 * LyXAction.C (init): remove LFUN_REMOVEERRORS
7678 * BufferView.[Ch] (removeAutoInsets): delete function
7680 2003-05-22 Angus Leeming <leeming@lyx.org>
7682 * latexrunparams.h: add a free_spacing variable.
7684 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7685 to pass moving_arg, as the data is stored in runparams.fragile.
7687 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7688 to Inset::latexOptional or to simpleTeXOnePar.
7690 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7691 free_spacing arg to Inset::latexOptional.
7693 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7696 2003-05-22 Angus Leeming <leeming@lyx.org>
7698 * latexrunparams.h: add fragile and use_babel variables.
7700 * bufferparams.[Ch] (writeLaTeX): return use_babel.
7701 * buffer.C (makeLaTeXFile): store this returned value in
7702 runparams.use_babel, thus passing it to the inset::latex methods.
7704 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7705 simpleTeXSpecialChars as it is now stored in runparams.fragile.
7707 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7708 longer has a fragile arg, as it is stored in runparams.fragile.
7710 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7711 moving_arg parameter as the data is stored in runparams.fragile.
7713 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7714 a fragile parameter as the data is stored in runparams.fragile.
7716 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7718 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7720 2003-05-22 Angus Leeming <leeming@lyx.org>
7722 * latexrunparams.h: add a 'bool nice' which defaults to false.
7724 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7725 now encapsulated within runparams.
7727 * bufferlist.C (updateIncludedTeXfiles):
7728 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7730 2003-05-22 Angus Leeming <leeming@lyx.org>
7732 * latexrunparams.h: new file containing struct LatexRunParams.
7733 * Makefile.am: add new file.
7735 * LaTeX.[Ch] (c-tor, run):
7736 * buffer.[Ch] (makeLaTeXFile):
7737 * bufferlist.[Ch] (updateIncludedTeXfiles):
7738 * converter.C (convert, scanLog):
7739 * converter.[Ch] (runLaTeX):
7740 * exporter.C (Export):
7741 * paragraph.[Ch] (simpleTeXOnePar):
7742 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7743 * paragraph_funcs.[Ch] (latexParagraphs):
7744 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7745 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7746 pass around a LatexRunParams parameter.
7748 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7750 * paragraph.[Ch]: remove unused constructor
7752 * ParagraphList.C (erase): new function, taking two iterators
7754 2003-05-22 André Pönitz <poenitz@gmx.net>
7756 * undo_funcs.C: remove duplicated code
7758 * iterator.[Ch]: operator=
7760 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7762 * tabular.C (SetMultiColumn): ws changes
7764 * rowpainter.C (paintFirst): get rid of a ->previous
7766 * lyx_cb.C (getPossibleLabel): parlist simplification
7768 * BufferView.C (ChangeInsets): simplify slightly.
7770 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
7772 * LyXAction.C: new lfun space-insert, kill protected-space-insert
7773 * lfuns.h: new LFUN_SPACE
7774 * lyxfunc.C: protected space has a new lfun
7775 * paragraph_funcs.C: read new space insets
7777 * factory.C: handle new space insets
7779 2003-05-22 André Pönitz <poenitz@gmx.net>
7782 * BufferView_pimpl.C:
7785 * undo_funcs.C: return a ParIterator from getParFromID.
7787 * iterators.[Ch]: add two const's
7789 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7791 * toc.C (getTocList): adjust
7793 * iterators.[Ch]: rework for parlist
7795 * buffer.C (par_iterator_begin): adjust
7796 (par_iterator_end): adjust
7798 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7800 * BufferView.C (removeAutoInsets): adjust
7801 (ChangeInsets): adjust
7803 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
7805 * text.C (top_y): fix bug 1110
7807 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
7809 * errorlist.[Ch]: added
7812 * BufferView_pimpl.C:
7813 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7816 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7818 * Makefile.am: ensure that lyx is relinked upon changes to the
7819 various "convenience" libs.
7821 2003-05-20 Angus Leeming <leeming@lyx.org>
7823 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7824 files are compiled in alphabetical order again.
7826 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7828 2003-05-19 Angus Leeming <leeming@lyx.org>
7830 * gettext.[Ch]: remove "char const * _(char const *)".
7832 2003-05-19 André Pönitz <poenitz@gmx.net>
7834 * dimension.[Ch]: promote from mathed/dimension.[Ch]
7843 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7845 2003-05-19 André Pönitz <poenitz@gmx.net>
7849 * lyxtextclass.[Ch]:
7851 * paragraph_funcs.[Ch]:
7853 * text3.C: more insetenv work
7855 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
7857 * ParagraphParameters.C (params2string): small bug fixed
7859 2003-05-16 André Pönitz <poenitz@gmx.net>
7862 * bufferview_funcs.C: patch from Kornel Benko to prevent
7863 crash when _(...) is called twice in a statement
7865 2003-05-16 André Pönitz <poenitz@gmx.net>
7872 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7874 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
7876 * lyx_main.C (init): remove spurious static_cast
7878 2003-05-14 André Pönitz <poenitz@gmx.net>
7880 * BufferView.C: fix format string
7882 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
7884 * BufferView.[Ch] (insertErrors): removed
7885 * BufferView.[Ch] (showErrorList): added
7886 * buffer.C (runChkTeX):
7887 * converter.C (scanLog): call showErrorList instead of inserterrors
7889 2003-05-13 André Pönitz <poenitz@gmx.net>
7891 * BufferView_pimpl.C:
7893 * bufferview_func.C:
7900 * tabular_funcs.h: tostr() from its own header
7902 * ParagraphParameters.C:
7907 * text3.C: STRCONV()
7909 2003-05-12 André Pönitz <poenitz@gmx.net>
7912 * BufferView_pimpl.C:
7916 * ParagraphParameters.C:
7920 * bufferview_funcs.C:
7933 * paragraph_funcs.C:
7937 * text3.C: boost::format -> bformat all over the place
7940 2003-05-09 André Pönitz <poenitz@gmx.net>
7942 * LColor.[Ch]: Pimpl the #include <map> away
7944 2003-05-09 John Levon <levon@movementarian.org>
7946 * bufferlist.C: never remove emergency saves
7948 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7950 * Makefile.am: better lib building
7952 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
7954 * texrow.[Ch]: remove dependency on Paragraph and just store a id
7956 * paragraph_pimpl.C (simpleTeXBlanks): adjust
7957 (simpleTeXSpecialChars): adjust
7958 (simpleTeXSpecialChars): adjust
7959 * paragraph.C (simpleTeXOnePar): adjust
7960 * buffer.C (makeLaTeXFile): adjust
7962 * Makefile.am (BOOST_LIBS): allow boost as system lib.
7964 * text2.C (changeDepth): parlist cleanup
7965 (getColumnNearX): ditto
7967 * rowpainter.C (getLabelFont): parlist cleanup
7969 * bufferlist.C (newFile): parlist cleanup
7971 * CutAndPaste.C (eraseSelection): parlist cleanup
7973 * BufferView_pimpl.C (trackChanges): parlist cleanup
7976 * BufferView.C (lockInset): parlist cleanup.
7977 (ChangeInsets): ditto
7979 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7981 * CutAndPaste.h: Update file header.
7983 * CutAndPaste.C: Update file header.
7984 Store the parts cut out of the Document in a limited_stack.
7985 (copySelection): adjust
7986 (pasteSelection): new function, takes the index in the limited stack.
7987 (nrOfParagraphs): adjust
7988 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7989 simplify error inset insertion.
7990 (checkPastePossible): adjust
7992 2003-05-06 John Levon <levon@movementarian.org>
7994 * text2.C: don't cast wrap inset to float
7996 2003-05-05 André Pönitz <poenitz@gmx.net>
7999 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
8001 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
8002 few naked Paragraph *.
8004 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
8006 * bufferparams.C: Output warning if a document with missing
8007 TeX document class is loaded
8008 * exporter.C: Disable TeX exports if the document class is missing
8011 * lyxtextclasslist.C: Handle new textclass.lst format; new method
8012 isTeXClassAvailable()
8014 2003-05-03 John Levon <levon@movementarian.org>
8017 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
8018 explicit cursor show/hide
8020 * BufferView_pimpl.h:
8021 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
8022 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
8024 * lyxfunc.C: hide cursor before dispatching.
8029 * text3.C: remove explicit cursor hides
8031 2003-05-02 André Pönitz <poenitz@gmx.net>
8033 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
8036 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
8039 * text2.C: tiny whitespace
8041 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8043 * undo_funcs.C: almost only ws changes.
8045 * ParagraphList.C (splice): just return if pl is empty.
8047 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8049 * ParagraphList.C (splice): new function.
8051 * CutAndPaste.C (pasteSelection): use it
8053 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8055 * CutAndPaste.C (pasteSelection): remove the last next and
8056 previous from this file.
8058 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8060 * CutAndPaste.C (pasteSelection): more clean up, user proper
8061 ParagraphList functions for pasteing.
8063 * ParagraphList.C (insert): new function, three arg insert
8065 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8067 * ParagraphList.C (insert): new function, three arg insert
8069 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
8072 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8074 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
8076 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8078 * CutAndPaste.C (pasteSelection): remove some unneeded code.
8080 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8082 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
8083 (copySelection): clean up a bit.
8084 (pasteSelection): use make_pair
8086 * ParagraphList.C (ParagraphList): implement copy constructor
8087 (operator=): implement, base on copy constructor.
8090 * paragraph.C (erase): return a bool
8092 * paragraph_pimpl.C (erasePos): remove function, move contents...
8093 (erase): ... here. Return a bool.
8094 (erase): call erase instead of erasePos.
8096 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
8098 * ParagraphList.h: define PitPosPair
8099 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
8100 ParagraphList, fix a bug on pasting multiple pars
8101 * text2.C: change interface to C&P
8103 2003-04-30 André Pönitz <poenitz@gmx.net>
8105 * undo_func.C: revert part of yesterday's patch 2
8107 2003-04-30 John Levon <levon@movementarian.org>
8109 * LColor.C: s/tabular/table/
8111 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8113 * text3.C (dispatch): do not convert iterator -> pointer
8114 * undo_funcs.C (setCursorParUndo): ditto
8115 * text_funcs.C (transposeChars): ditto
8117 * text2.C (setLayout): ws changes only
8119 * text.C (breakParagraph): do not convert iterator -> pointer
8121 (acceptChange): ditto
8122 (rejectChange): ditto
8127 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
8130 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
8132 * text3.C (gotoInset): YABG (yet another bad getChar)
8134 2003-04-29 André Pönitz <poenitz@gmx.net>
8136 * paragraph.h: make operator= private unimplemented as long as
8139 * ParagraphList.C: whitespace
8142 * paragraph_pimpl.[Ch]:
8143 * paragraph_funcs.C:
8145 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
8148 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
8150 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
8152 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
8153 * paragraph.[Ch] (erase):
8154 * paragraph_pimpl.[Ch] (erase): change return type and value
8155 * text2.C (cutSelection): some rework
8157 2003-04-28 John Levon <levon@movementarian.org>
8159 * bufferlist.C: changes for unsaved changes dialog
8161 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8163 * bufferlist.C (newFile): set language (messages_) for new
8166 * buffer.C (readFile): ws changes only.
8168 2003-04-28 André Pönitz <poenitz@gmx.net>
8173 * BufferView_pimpl.C:
8174 * BufferView.C: getParFromID related ParagraphList::iterator changes
8176 2003-04-28 André Pönitz <poenitz@gmx.net>
8178 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
8181 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8183 * messages.C: remove one more localedir class variable.
8185 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8187 * messages.C (getLocaleDir): singleton generation function
8189 (Messages): add a default constructor.
8191 * main.C (main): do not setup localedir here, do not call
8194 * gettext.C (_): use it.
8195 (gettext_init): delete funciton
8197 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8199 * gettext.C (getLyXMessages): new singleton generating function.
8201 * buffer.C (updateDocLang): adjust
8203 * Makefile.am (messages.o): add target
8204 (main.o): remove target
8206 2003-04-27 John Levon <levon@movementarian.org>
8211 * lyxvc.C: specify cancel button in Alert::prompt
8213 2003-04-26 John Levon <levon@movementarian.org>
8218 * LyXAction.C: add LFUN_INSET_SETTINGS
8220 * lyxfunc.C: don't enable tabular-feature when there's
8221 just any locking inset
8223 2003-04-26 John Levon <levon@movementarian.org>
8225 * bufferlist.C: re-add Cancel to buffer close question
8227 * lyxfunc.C: fix import UI a bit
8229 2003-04-25 John Levon <levon@movementarian.org>
8231 * gettext.C: remove the broken asserts for now
8233 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
8235 * messages.C: make case where setlocale cannot comply work better.
8237 * buffer.C (updateDocLang): new function
8238 (changeLanguage): use it
8241 * text2.C (setCounter): use B_ a bit.
8243 * lyxlayout.C (Read): be sure to trim the label strings.
8245 * messages.C (Messages): fix typo in comment
8247 * buffer.C (readFile): set message_ after file is loaded.
8248 (makeDocBookFile): remove double return
8249 (changeLanguage): reset message_ upon language change.
8250 (B_): new func, use this to get translated buffer strings.
8252 * main.C: add myself and Jean Marc as authors.
8254 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
8256 * messages.[hC]: pimplify Messages, and three different pimpls to be
8257 used in different circumstances.
8259 * gettext.[Ch]: change for use with new message code.
8261 2003-04-24 André Pönitz <poenitz@gmx.net>
8263 * factory.C: support for eqref
8265 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
8267 * messages.[Ch]: add missing char
8269 * Makefile.am (lyx_SOURCES): add messages.[Ch]
8271 * messages.[Ch]: New files
8273 2003-04-18 John Levon <levon@movementarian.org>
8277 * BufferView_pimpl.C:
8281 * text2.C: remove layout-copy/paste (bug 778)
8283 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
8285 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
8287 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
8289 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
8290 if they succeed. Act accordingly.
8292 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8294 * text2.C (setCharFont): adjust
8295 (setCounter): adjust
8296 (insertStringAsLines): adjust
8298 * text.C (leftMargin): adjust
8299 (setHeightOfRow): adjust
8301 * rowpainter.C (paintFirst): adjust
8304 * paragraph_funcs.C (depthHook): ParagraphList::iterators
8306 (isFirstInSequence): ditto
8307 (getEndLabel): ditto
8310 * paragraph.C (getParLanguage): comment out some hard stuff.
8312 * buffer.C (insertStringAsLines): take a ParagraphList as arg
8314 (simpleDocBookOnePar): ditto
8315 (makeDocBookFile): use ParagraphList::iterator
8317 * CutAndPaste.C (pasteSelection): adjust
8319 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8321 * text2.C (getFont): adjust
8322 (getLayoutFont): adjust
8323 (getLabelFont): adjust
8325 * paragraph_funcs.C (TeXOnePar): adjust
8327 * buffer.C (simpleLinuxDocOnePar): adjust
8328 (simpleDocBookOnePar): adjust
8330 * CutAndPaste.C (pasteSelection): adjust
8332 * BufferView.C (getEncoding): adjust
8334 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
8336 2003-04-16 John Levon <levon@movementarian.org>
8338 * lyxfind.C: use parlist stuff for search/changes
8340 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8342 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
8344 * text2.C (deleteEmptyParagraphMechanism): adjust
8346 * text2.[Ch] (ownerParagraph): delete func (both of them
8348 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8350 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
8352 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8354 * ParagraphList.C: prepare for NO_NEXT
8356 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8358 * text2.C (getFont): adjust
8359 (getLayoutFont): adjust
8360 (getLabelFont): adjust
8362 * paragraph.C (getFont): adjust
8363 (getLabelFont): adjust
8364 (getLayoutFont): adjust
8366 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
8368 2003-04-15 John Levon <levon@movementarian.org>
8372 * lyx_main.C: handle Include in .ui files
8374 2003-04-15 John Levon <levon@movementarian.org>
8376 * MenuBackend.C: make the doc files length shorter
8379 * ToolbarBackend.C: handle toolbar placement flags,
8382 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8384 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
8387 * paragraph_funcs.C (TeXOnePar): adjust
8389 * paragraph.C (getLabelFont): add outerfont arg, adjust
8390 (getLayoutFont): ditto
8391 (simpleTeXOnePar): adjust
8393 * paragraph_pimpl.C (realizeFont): delete func
8395 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
8397 * text2.C (beforeFullRowInset): added a bad getchar check, removed
8398 row argument, constify cur argument.
8400 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8402 * text2.C (getFont): adjust
8403 (getLayoutFont): adjust
8404 (getLabelFont): adjust
8406 * paragraph_funcs.C (TeXOnePar): adjust
8407 (outerFont): new func...
8408 (realizeFont): ...moved out from here, changed this to facilitate
8411 * paragraph.C (getFont): take outerfont as arg, adjust
8412 (simpleTeXOnePar): add outerfont arg, adjust
8414 * buffer.C (simpleLinuxDocOnePar): adjust
8415 (simpleDocBookOnePar): adjust
8417 * CutAndPaste.C (pasteSelection): adjust
8419 * BufferView.C (getEncoding): adjust
8421 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8423 * text2.C (setCharFont): adjust
8424 (setCounter): adjust
8426 * text.C (leftMargin): adjust
8427 (setHeightOfRow): adjust
8429 * rowpainter.C (paintFirst): adjust
8432 * paragraph_pimpl.C (realizeFont): adjust
8434 * paragraph.C (isFirstInSequence): move from here...
8435 * paragraph_funcs.C (isFirstInSequence): ...to here
8437 * paragraph.C (outerHook): move from here...
8438 * paragraph_funcs.C (outerHook): ...to here
8440 * paragraph.C (depthHook): move from here...
8441 * paragraph_funcs.C (depthHook): ...to here
8443 * paragraph.C (getEndLabel): move from here...
8444 * paragraph_funcs.C (getEndLabel): ...to here
8446 * text2.C (realizeFont): move from here...
8447 * paragraph_funcs.C (realizeFont): ...to here
8449 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8451 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
8453 2003-04-14 Angus Leeming <leeming@lyx.org>
8455 * LColor.[Ch]: scrap LColor mathcursor.
8457 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8459 * lyxlex.[Ch] (text): delete function
8460 * trans.C (Load): adjust
8461 * paragraph_funcs.C (readParToken): adjust
8463 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8465 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8466 vector<char> instead of a char[].
8468 * lyxlex_pimpl.C (getString): adjust
8470 (lex): use getString
8474 * lyxlex.C (text): use pimpl_->getString()
8478 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8480 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8481 (makeFontEntriesLayoutSpecific): temp var for par.size()
8482 (setLayout): temp var for ownerParagraphs().end()
8483 (fullRebreak): temp var for rows().end()
8484 (selectionAsString): temp var for boost::next(startpit), realize
8485 that the while really is a regular for loop.
8486 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8487 setCursor in one place.
8488 (setParagraph): temp vr for ownerParagraphs().end()
8489 (updateCounters): make the while loop a for loop
8490 (cutSelection): temp var for ownerParagraphs().end()
8491 (updateInset): make the do {} while() a regular for loop
8492 (getCursorX): use temp vars
8493 (setCurrentFont): use temp vars
8494 (getColumnNearX): use temp vars
8496 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8498 * text.C (transformChar): use temp var for getChar
8499 (computeBidiTables): use temp var for row->par()
8500 (fill): move temp vars for row->par() and pit->layout() earlier in
8502 (labelFill): use temp var for row->par()
8503 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8504 asc and desc, realize that pit never changes and that firstpit is
8505 just a duplicate and not needed. Exchange rit->par() with pit in a
8507 (breakAgain): use a temp var for boost::next(rit)
8508 (breakAgainOneRow): ditto
8509 (breakParagraph): use a temp var for rows().begin()
8510 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8511 (cursorRightOneWord): use temp var for cursor.par() and
8512 cursor.pos(), remove usage of tmpcursor.
8513 (cursorLeftOneWord): use temp var for cursor.par() and
8514 cursor.pos() only set cur at end of function.
8516 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8518 * text.C, text2.C: exchange all usage of Paragraph::next with
8519 boost::next(ParagraphList::iterator)
8521 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8523 * text2.C (cursorTop): simplify implementation
8524 (cursorBottom): ditto
8525 (setParagraph): use ParagraphList::iterator
8526 (setCurrentFont): adjust
8527 (getColumnNearX): adjust
8528 (cursorRight): adjust
8529 (cursorLeft): remove usage of Paragraph::previous
8530 (cursorUpParagraph): ditto
8531 (deleteEmptyParagraphMechanism): slight cleanup
8533 * text.C (isBoundary): take a Paragraph const & instead of a
8535 (addressBreakPoint): ditto
8536 (leftMargin): remove usage of Paragraph::previous.
8537 (setHeightOfRow): ditto
8538 (cursorLeftOneWord): ditto
8539 (selectNextWordToSpellcheck): ditto
8542 (breakParagraph): remove one usage of Paragraph::next
8543 (redoParagraph): ditto
8544 (acceptChange): ditto
8545 (insertChar): adjust
8546 (rowBreakPoint): adjust
8548 * bufferview_funcs.C (toggleAndShow): adjust
8550 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
8552 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8553 methods to access it.
8555 * text.C: Added updateRowPositions to compute all row positions.
8556 Make top_y and getRowNearY() to use the cached y position
8558 2003-04-11 John Levon <levon@movementarian.org>
8560 * text.C (rowBreakPoint): reintroduce the labelEnd
8561 checks, code copied from the row fill stuff. Deep voodoo.
8563 * text.C (fill): add a comment and debugging for the
8566 2003-04-11 John Levon <levon@movementarian.org>
8568 * text.C: make sure fullrow insets get wrapped to the next line,
8569 even when they're in a manual label
8571 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
8573 * text2.C (insertParagraph): make it take ParagraphList::iterator
8575 (setLayout): make it return ParagraphList::iterator
8576 (redoParagraphs): ditto
8578 (checkParagraph): ditto
8580 * text.C (getRow): make getrow take ParagraphList::iterator as arg
8582 * text2.C: adjust several funcs.
8583 (realizeFont): take a ParagraphList::iterator as arg.
8584 (getLayoutFont): ditto
8585 (getLabelFont): ditto
8586 (setCharFont): ditto
8588 * text.C: adjust several funcs.
8590 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8592 * text.C (selectNextWordToSpellcheck): don't accidentally
8595 2003-04-10 John Levon <levon@movementarian.org>
8597 * ToolbarBackend.C (getIcon): special handling for
8600 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8602 * text2.C (cursorRight): a getChar assert fixed
8604 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8606 * text2.C (getFont): change to take a ParagraphList::iterator
8607 instead of Paragraph*
8608 Adjust several functions.
8610 * text.C (transformChar): change to take a ParagraphList::iterator
8611 instead of Paragraph*
8612 (singleWidth): ditto
8613 Adjust several functions.
8615 * rowpainter.C: adjust several functions
8616 * rowpainter.h:store a ParagraphList::iterator and not a
8620 2003-04-09 John Levon <levon@movementarian.org>
8625 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8626 and the "help" bits as well
8628 2003-04-09 John Levon <levon@movementarian.org>
8631 * ToolbarBackend.C: allow multiple toolbars
8633 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8635 * undo_funcs.C (setCursorParUndo): adjust
8637 * text_funcs.C (transposeChars): adjust
8639 * text3.C (gotoNextInset): adjust
8642 * text2.C (setLayout): adjust
8643 (changeDepth): adjust
8645 (redoParagraphs): adjust
8646 (selectionAsString): adjust
8647 (setParagraph): adjust
8648 (insertInset): adjust
8649 (cutSelection): adjust
8650 (copySelection): adjust
8651 (pasteSelection): adjust
8652 (insertStringAsLines): adjust
8653 (updateInset): adjust
8654 (setCursor): change to take a ParagraphList::iterator parameter
8655 (setCursorIntern): change to take a ParagraphList::iterator parameter
8656 (setCurrentFont): adjust
8657 (cursorLeft): adjust
8658 (cursorRight): adjust
8659 (deleteEmptyParagraphMechanism): adjust
8661 * text.C (breakParagraph): adjust
8662 (insertChar): adjust
8663 (acceptChange): adjust
8664 (rejectChange): adjust
8665 (selectNextWordToSpellcheck): adjust
8666 (changeCase): adjust
8670 * lyxfind.C (SearchForward): adjust
8671 (SearchBackward): adjust
8672 (nextChange): adjust
8674 * lyxcursor.C (par): adjust
8676 * lyxcursor.h: store a ParagraphList::iterator instead of a
8679 * lyx_cb.C (getPossibleLabel): adjust
8681 * bufferview_funcs.C (toggleAndShow): adjust
8683 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8686 * BufferView.C (removeAutoInsets): adjust
8687 (lockedInsetStoreUndo): adjust
8689 2003-04-09 John Levon <levon@movementarian.org>
8691 * ToolbarBackend.C: try icon without argument
8692 if with argument fails
8694 2003-04-08 John Levon <levon@movementarian.org>
8697 * ToolbarBackend.C: add getIcon(), handle tooltip,
8698 and change from "Icon" to "Item".
8700 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8702 * BufferView.C (lockInset): another bad getchar crunched
8704 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8706 * text2.C (changeDepth): do not setUndo on test_only (make undo work
8709 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
8711 * lyxfind.C (searchForward, searchBackwards): bug 782
8713 2003-04-07 John Levon <levon@movementarian.org>
8715 * paragraph.C: remove dead comment
8717 * text.C: remove troublesome depth-fiddling code
8718 in leftMargin() and rightMargin() (bug 1017)
8720 * text.C: fix breaking of rows in nested lists
8723 * text2.C (updateCounters): fix up depth values
8726 2003-04-07 John Levon <levon@movementarian.org>
8728 * BufferView_pimpl.C: clear message when doc finishes resizing,
8729 and after a mouse event
8731 * lyxfunc.C: clear message after exiting inset
8733 2003-04-07 John Levon <levon@movementarian.org>
8735 * bufferview_funcs.C: show math status not outside
8736 status in the statusbar
8738 2003-04-07 John Levon <levon@movementarian.org>
8740 * lyxfunc.C: note status changed after a depth change
8742 2003-04-04 Angus Leeming <leeming@lyx.org>
8744 * LaTeX.h: move AuxInfo operator==, != out of line.
8745 Remove LaTeX virtual destructor; nothing derives from it.
8746 Move operator()() out of public area and rename it startscript().
8747 Change protected for private.
8749 2003-04-04 Angus Leeming <leeming@lyx.org>
8752 * text2.C: remove unneeded #includes.
8754 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8756 * text2.C (dEPM): fix the heigth of the next row
8758 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8760 * text.C: squashed an invalid getChar requester + some ws changes
8762 2003-04-03 John Levon <levon@movementarian.org>
8764 * bufferview_funcs.h:
8765 * bufferview_funcs.C:
8768 * text2.C: make getStatus work for the env depth lfuns
8770 2003-04-03 John Levon <levon@movementarian.org>
8772 * bufferview_funcs.h:
8773 * bufferview_funcs.C:
8776 * text2.C: parlistize decDepth(), by merging it with incDepth()
8778 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8780 * lyxrow.h: store a ParagraphList::iterator instead of a
8781 Paragraph* and adjust other class functions to suit.
8783 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8786 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8788 * text2.C (setCursor): do not anchor to cursor row for the time being
8790 2003-04-02 John Levon <levon@movementarian.org>
8797 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8799 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8801 * paragraph.h: make ParagraphList and ParagraphList::iterator
8802 friends of Paragraph.
8804 * buffer.C (makeLinuxDocFile): move towards ParagraphList
8806 * ParagraphList.C: Use the private next_ and previous_ from
8809 2003-04-01 John Levon <levon@movementarian.org>
8813 * Makefile.am: rename, remove defaults gunk
8816 * MenuBackend.C: remove defaults gunk
8819 * Languages.C: remove defaults gunk
8822 * lyx_main.C: error out if files couldn't be found.
8824 2003-04-02 John Levon <levon@movementarian.org>
8826 * text2.C: make incDepth() use parlist
8828 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8830 * undo_funcs.C (firstUndoParagraph): adjust
8832 * text3.C (gotoInset): adjust
8833 (dispatch): adjust, and rewrite loop.
8835 * text2.C (init): adjust, and rewrite loop.
8836 (redoParagraphs): adjust
8837 (updateInset): adjust, and rewrite loop.
8838 (deleteEmptyParagraphMechanism): adjust
8840 * tabular.C (LyXTabular): adjust
8841 (SetMultiColumn): adjust
8844 * lyxtext.[Ch] (ownerParagraph): delete function
8845 (ownerParagraphs): new function returns a ParagraphList.
8847 * BufferView.C (removeAutoInsets): adjust
8848 (insertErrors): adjust
8849 (setCursorFromRow): adjust
8851 2003-04-01 Angus Leeming <leeming@lyx.org>
8853 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8856 2003-04-02 John Levon <levon@movementarian.org>
8862 * text_funcs.C: make transposeChars a free function
8864 * lyxrow_funcs.C: remove wrong comment
8866 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8869 * rowpainter.C: adjust
8874 * lyxrow_funcs. [Ch]: new files
8876 * lyxrow.[Ch]: remove next and previous pointers
8877 (next,previous): remove accessor functions
8878 (isParEnd): move to lyxrow_funcs
8879 (lastPos): move to lyxrow_funcs
8880 (nextRowIsAllInset): move to lyxrow_funcs
8881 (lastPrintablePos): move to lyxrow_funcs
8882 (numberOfSeparators): move to lyxrow_funcs
8883 (numberOfHfills): move to lyxrow_funcs
8884 (numberOfLabelHfills): move to lyxrow_funcs
8885 (hfillExpansion): move to lyxrow_funcs
8889 * bufferview_funcs.C (toggleAndShow): adjust
8891 * RowList.h: Remove class RowList from file leave just a
8894 * RowList.C: delete file
8896 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8899 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8901 * text3.C (cursorPrevious): adjust
8902 (cursorNext): adjust
8905 * text2.C (redoHeightOfParagraph): adjust
8906 (redoDrawingOfParagraph): adjust
8909 * text.C (breakParagraph): adjust
8910 (insertChar): adjust
8913 * rowpainter.C (RowPainter): adjust
8914 (leftMargin): simplify and adjust
8915 (most rowpainter functions): adjust.
8917 * rowpainter.h: store the row as RowList::iterator not as Row*
8919 * lyxcursor.C (row): taka RowList::iterator as arg
8922 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8925 2003-04-01 Angus Leeming <leeming@lyx.org>
8927 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8928 stuff like bool Bool.
8930 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8932 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8935 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8937 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8940 * lyxtext.h (rows): drop one version and leve a const variant that
8941 returns a RowList::iterator.
8943 2003-03-31 Angus Leeming <leeming@lyx.org>
8945 * text.C (fill): ensure that the signature is the same as that in the
8948 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
8950 * text2.C (redoParagraphs): adjust
8951 (updateCounters): adjust
8952 (checkParagraph): adjust
8953 (getColumnNearX): adjust and reformat a bit.
8955 * text.C (top_y): adjust
8957 (leftMargin): adjust
8958 (prepareToPrint): adjust
8960 (getRowNearY): adjust
8962 * lyxtext.h: make rowlist_ mutable.
8964 * RowList.h: add const_iterator
8965 * RowList.C: adjust for RowList::const_iterator.
8967 * text2.C (getCursorX): make it take a RowList::iterator as arg,
8970 2003-03-31 John Levon <levon@movementarian.org>
8973 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8975 * lyx_main.C: set default fonts from using lyx_gui funcs
8977 * exporter.C: pdf_mode moved from lyxrc
8980 * lyxfunc.C: changes from above
8982 2003-03-31 John Levon <levon@movementarian.org>
8984 * lyx_main.C: fix to the last fix
8986 2003-03-31 John Levon <levon@movementarian.org>
8988 * bufferlist.C: "Load original" -> "Load Original"
8994 * format.C: more Alert cleanups
8996 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8998 * text2.C (removeParagraph): make it take a RowList::iterator as
9000 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
9001 (postRowPaint): make it take a RowList::iterator as arg, adjust.
9003 * text.C (anchor_row): make it take a RowList::iterator as arg,
9005 (computeBidiTables): make it take a const reference to Row instead
9006 of Row pointer, adjust.
9007 (leftMargin): make it take a RowList::iterator as arg, adjust.
9008 (rowBreakPoint): adjust
9009 (breakAgainOneRow): make it take a RowList::iterator as arg,
9011 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
9013 * bufferview_funcs.C (toggleAndShow): adjust
9015 2003-03-30 John Levon <levon@movementarian.org>
9019 * boost-inst.C: moved to support
9021 * several files: changes as a result
9023 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
9025 * text2.C (LyXText): adjust.
9027 (removeRow): make it take a RowList::iterator as arg, adjust.
9028 (fullRebreak): adjust
9029 (deleteEmptyParagraphMechanism): adjust
9030 (clearPaint): adjust
9033 * text.C (top_y): adjust
9034 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
9035 (breakAgain): make it take a RowList::iterator as arg, adjust.
9036 (breakParagraph): adjust
9037 (insertChar): adjust
9040 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
9041 need_break_row, and refresh_row.
9043 * text3.C (dispatch): adjust
9045 * text2.C (checkParagraph): adjust
9047 (setCursorFromCoordinates): adjust
9049 * text.C (top_y): adjust
9051 (getRow): make it return a RowList::iterator, adjust
9052 (getRowNearY): make it return a RowList::iterator, adjust
9054 * text2.C (init): adjust
9055 (insertRow): remove function
9056 (insertParagraph): adjust
9057 (redoParagraphs): adjust
9058 (fullRebreak): adjust
9059 (updateCounters): adjust
9061 * text.C (top_y): rewrite to use RowList iterators.
9063 (setHeightOfRow): rewrite to sue RowList iterators.
9064 (appendParagraph): adjust
9065 (breakAgain): adjust
9066 (breakAgainOneRow): adjust
9067 (breakParagraph): adjust
9069 (getRowNearY): adjust, and remove commented code.
9071 * lyxtext.h (firstRow): delete function
9072 (lastRow): delete function
9073 (rows): new function (const and non-const versions.)
9074 (insertRow): delete function
9076 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
9078 2003-03-29 John Levon <levon@movementarian.org>
9080 * BufferView_pimpl.C: always update scrollbar top
9081 because pasting text when we're anchored could mean we
9082 miss an update altogether
9084 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
9086 * text2.C (init): use rowlist_.end() and not 0.
9087 (insertRow): change to take a RowList::iterator as arg, adjust
9089 (insertParagraph): change to take a RowList::iterator as arg,
9091 (redoParagraphs): remove some debug msgs.
9093 * text.C (appendParagraph): change to take a RowList::iterator
9094 arg, adjust for this.
9095 (breakAgain): add an assert
9096 (breakAgainOneRow): ditto
9098 2003-03-29 John Levon <levon@movementarian.org>
9100 * text2.C: do not clear selection after inc/decDepth
9103 2003-03-29 John Levon <levon@movementarian.org>
9106 * buffer.C: fix broken strerrors according to Lars
9108 2003-03-29 John Levon <levon@movementarian.org>
9110 * converters.C: more Alert cleanups
9112 2003-03-29 John Levon <levon@movementarian.org>
9114 * bufferview_funcs.C: remove pointless Alert
9116 * buffer.C: fix confusing error message when
9117 a template is chmoded 000
9119 2003-03-29 John Levon <levon@movementarian.org>
9123 * BufferView_pimpl.C: Alert fixes
9127 * tabular-old.C: remove unused table compat reading
9129 2003-03-29 John Levon <levon@movementarian.org>
9134 * lyx_cb.C: more Alert cleanups
9136 * lyxfunc.C: don't allow chktex if not latex document
9138 2003-03-29 John Levon <levon@movementarian.org>
9142 * buffer.C: warnings pushed down from support/,
9145 2003-03-29 John Levon <levon@movementarian.org>
9147 * lyxfunc.C: safety check for C-r (revert)
9149 2003-03-29 John Levon <levon@movementarian.org>
9152 * bufferlist.C: several UI fixes using Alert::prompt.
9153 Fix the pointless looping quit code. Fix stupid revert
9158 * lyx_cb.C: use Alert::prompt
9160 * lyx_main.C: remove a silly question
9162 * lyxfunc.C: remove a couple of silly questions,
9165 2003-03-28 John Levon <levon@movementarian.org>
9167 * text2.C: fix bug 974 (End on empty par)
9169 2003-03-28 John Levon <levon@movementarian.org>
9171 * BufferView_pimpl.C:
9173 * lfuns.h: remove do-nothing math greek lfuns
9175 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
9177 * lyxgluelength.h (isValidGlueLength): add default arg on
9178 parameter 2. Remove default arg from friend in class.
9180 * lyxlength.h (isValidLength): add default arg on parameter 2.
9181 Remove default arg from friend in class.
9183 * text2.C (LyXText): adjust, initialize refresh_row.
9187 (insertParagraph): adjst
9188 (redoParagraphs): adjust
9189 (fullRebreak): adjust
9190 (updateCounters): adjust
9191 (deleteEmptyParagraphMechanism): first attempt at fixing a
9194 * text.C (top_y): adjust
9195 (setHeightOfRow): adjust
9197 (getRowNearY): adjust
9199 * lyxtext.h: include RowList.h
9200 (~LyXText): not needed anymore, deleted.
9201 (firstRow): modify for RowList
9202 (lastRow): new function
9203 Delete firstrow and lastrow class variables, add a Rowlist
9204 rowlist_ class variable.
9206 * lyxrow.C (lastPos): use empty() and not !size() to check if a
9209 * RowList.C (insert): fix case where it == begin().
9211 2003-03-26 Angus Leeming <leeming@lyx.org>
9213 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
9214 the thesaurus dialog.
9216 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
9218 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
9220 * RowList.[Ch]: new files
9222 * ParagraphList.C (erase): handle the case where it == begin
9225 2003-03-25 John Levon <levon@movementarian.org>
9229 * aspell.C: add new aspell support
9232 * lyxrc.C: Make use_pspell be use_spell_lib. Always
9235 2003-03-25 Angus Leeming <leeming@lyx.org>
9238 * LyXAction.C (init): new LFUN_INSET_INSERT.
9240 * BufferView_pimpl.C (dispatch): split out part of the
9241 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
9243 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
9246 2003-03-25 Angus Leeming <leeming@lyx.org>
9248 * lyxfunc.C (dispatch): changes to the Dialogs interface.
9250 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
9253 * text3.C: remove useless row->height(0)
9255 2003-03-25 John Levon <levon@movementarian.org>
9259 * text3.C: rename the refreshing stuff to better names
9261 2003-03-24 John Levon <levon@movementarian.org>
9263 * BufferView_pimpl.h:
9264 * BufferView_pimpl.C: update layout choice on a mouse
9267 2003-03-23 John Levon <levon@movementarian.org>
9269 * Makefile.am: fix commandtags.h reference
9271 2003-03-22 John Levon <levon@movementarian.org>
9273 * BufferView_pimpl.C:
9278 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
9280 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
9283 * text.C: take the rtl methods out of line
9285 2003-03-21 André Pönitz <poenitz@gmx.net>
9287 * metricsinfo.[Ch]: new files containing structures to be passed around
9288 during the two-phase-drawing...
9290 2003-03-21 André Pönitz <poenitz@gmx.net>
9292 * lyxtextclass.C: read 'environment' tag.
9294 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
9296 * text2.C (removeRow): fix bug 964
9298 2003-03-20 John Levon <levon@movementarian.org>
9302 * text2.C: paint cleanups. Inset::update() dropped font
9305 2003-03-19 John Levon <levon@movementarian.org>
9307 * lyxfunc.C: only fitcursor/markDirty if available()
9309 2003-03-19 John Levon <levon@movementarian.org>
9311 * commandtags.h: rename to ...
9313 * lfuns.h: ... this, and renumber / cleanup
9315 2003-03-19 John Levon <levon@movementarian.org>
9317 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
9318 fit the cursor after an lfun
9322 * BufferView_pimpl.h:
9323 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
9325 * LyXAction.C: layout-character should have ReadOnly
9327 * ParagraphParameters.C:
9329 * bufferview_funcs.C:
9336 * undo_funcs.C: changes from above
9338 2003-03-18 John Levon <levon@movementarian.org>
9340 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
9341 remove it from update()
9343 * lyxfunc.C: update layout choice after an lfun
9345 * text3.C: remove extra updateLayoutChoice()s
9347 2003-03-18 John Levon <levon@movementarian.org>
9349 * text.C: top_y change means full repaint, fix
9350 a drawing bug with cursor movement
9352 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
9356 * text2.C: anchor row on setCursor
9358 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
9360 * lyxtext.h: remove almost all mutable keywords
9363 * text3.C: remove const keywords accordingly
9365 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
9367 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
9369 (TeXEnvironment): ditto
9372 2003-03-17 John Levon <levon@movementarian.org>
9374 * text.C (rowBreakPoint): remove attempt to fix displayed
9375 math insets inside a manual label
9377 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
9379 * lyxtext.h: remove BufferView* as first arg from almost all class
9381 * other files: adjust.
9383 2003-03-17 John Levon <levon@movementarian.org>
9387 * text2.C: more paint cleanups
9389 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
9392 * rowpainter.C: remove "smart" background painting code
9394 2003-03-16 John Levon <levon@movementarian.org>
9399 * text3.C: add helper functions for setting refresh_row/y
9401 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
9403 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
9404 newline inset which *can* get inserted in the pass_thru layouts.
9405 This is primarily for literate documents.
9407 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
9409 * buffer.C: increment LYX_FORMAT to 223
9411 2003-03-14 André Pönitz <poenitz@gmx.net>
9413 * textclass.h: prepare for environment handling, ws changes
9414 * lyxlayout.C: read latexheader and latexfooter tags
9416 2003-03-14 John Levon <levon@movementarian.org>
9418 * text2.C: rewrite ::status() a bit
9420 2003-03-13 John Levon <levon@movementarian.org>
9422 * lyxtext.h: add some docs
9424 2003-03-13 John Levon <levon@movementarian.org>
9429 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
9431 2003-03-13 John Levon <levon@movementarian.org>
9433 * text3.C: fix appendix redrawing
9435 2003-03-13 John Levon <levon@movementarian.org>
9437 * text.C (setHeightOfRow):
9439 * rowpainter.C: make appendix mark have the text
9440 "Appendix" so the user knows what it is
9443 * LColor.C: s/appendixline/appendix/ from above
9445 2003-03-13 John Levon <levon@movementarian.org>
9447 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
9449 * text.C: fix a getChar(pos) bug properly
9451 2003-03-13 Angus Leeming <leeming@lyx.org>
9454 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
9455 Probably only temporary. Let's see how things pan out.
9457 * BufferView.C (unlockInset):
9458 * BufferView_pimpl.C (fitCursor):
9459 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
9461 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
9462 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
9464 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
9465 new functions that convert ParagraphParameters to and from a string.
9467 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9468 BufferView::Pimpl's dispatch.
9469 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9471 2003-03-13 André Pönitz <poenitz@gmx.net>
9475 * factory.C: make it aware of InsetEnv
9477 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
9479 * text2.C (setCursor): never ask for one past last
9480 (setCursor): add some debugging messages.
9482 * text.C (singleWidth): never ask for one past last
9483 (singleWidth): ditto
9485 (rightMargin): ditto
9486 (rowBreakPoint): ditto
9487 (setHeightOfRow): ditto
9488 (prepareToPrint): ditto
9490 * rowpainter.C (paintBackground): never ask for one past last
9491 (paintText): never ask for one past last
9493 * paragraph_pimpl.C (getChar): make the assert stricter, never
9494 allow the one past last pos to be taken
9496 * paragraph.C (getChar): ws changes only
9498 * lyxrow.C (nextRowIsAllInset): never ask for one past last
9499 (numberOfSeparators): ditto
9500 (numberOfHfills): ditto
9502 2003-03-12 John Levon <levon@movementarian.org>
9508 * paragraph_funcs.C: fix per-buffer authorlists
9510 2003-03-12 John Levon <levon@movementarian.org>
9512 * text.C: fix newline in right address
9514 2003-03-12 Angus Leeming <leeming@lyx.org>
9516 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9517 duplicate those in LyXFunc::dispatch.
9521 * ToolbarDefaults.C:
9522 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9523 Add LFUN_FONTFREE_UPDATE.
9525 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9526 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9528 * bufferview_func.[Ch]: several new functions to facilliate
9529 transfer of data to and from the character dialog.
9531 2003-03-12 John Levon <levon@movementarian.org>
9536 * paragraph_funcs.C:
9537 * paragraph_pimpl.C:
9541 * text3.C: remove META_NEWLINE in favour of an inset
9544 * rowpainter.C: remove paintNewline (done by inset)
9546 2003-03-12 John Levon <levon@movementarian.org>
9548 * paragraph_pimpl.C: complain about bad getChar()s
9549 for a while at least
9551 2003-03-12 John Levon <levon@movementarian.org>
9554 * buffer.C: move paragraph read into a separate function,
9555 a little renaming to reflect that.
9558 * bufferparams.C: remove the author_ids map, not necessary now
9561 * factory.C: moved Buffer::readInset to here
9563 * paragraph_funcs.h:
9564 * paragraph_funcs.C: readParagraph free function moved from
9567 * tabular.C: name change
9569 2003-03-12 John Levon <levon@movementarian.org>
9572 * ParagraphParameters.C: move par params input to
9575 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9576 behave like a normal read from the stream wrt reading
9577 a line vs. a \\token
9579 2003-03-12 John Levon <levon@movementarian.org>
9582 * ParagraphParameters.h:
9583 * ParagraphParameters.C: move output code to a
9586 2003-03-12 John Levon <levon@movementarian.org>
9588 * BufferView.C (insertLyXFile):
9591 * tabular.C: use a parlist iterator for creating the
9594 2003-03-12 John Levon <levon@movementarian.org>
9596 * buffer.C: make current_change static local not
9599 2003-03-12 John Levon <levon@movementarian.org>
9601 * buffer.C: fix insertStringAsLines for change tracking
9603 2003-03-12 John Levon <levon@movementarian.org>
9610 * bufferparams.C: move author list into params. Rename some
9611 functions. Move the header reading into a separate token
9612 loop. Move the header token reading into BufferParams.
9614 2003-03-12 John Levon <levon@movementarian.org>
9616 * changes.C: put debug inside lyxerr.debugging() checks
9618 2003-03-11 André Pönitz <poenitz@gmx.net>
9620 * factory.C: make it aware of InsetHFill
9622 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9624 * buffer.C (latexParagraphs): move function from here...
9625 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9628 2003-03-10 Angus Leeming <leeming@lyx.org>
9630 * LyXAction.C (init): fix bug in poplating array with multiple entries
9631 with the same LFUN (spotted by JMarc).
9633 2003-03-10 John Levon <levon@movementarian.org>
9636 * text2.C: move getColumnNearX() near its
9639 2003-03-10 John Levon <levon@movementarian.org>
9641 * text.C: fix break before a minipage
9643 2003-03-10 John Levon <levon@movementarian.org>
9645 * text.C: fix the last commit
9647 2003-03-09 John Levon <levon@movementarian.org>
9651 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9652 bug 365 (don't break before insets unless needed). Don't
9653 return a value > last under any circumstances.
9655 2003-03-09 Angus Leeming <leeming@lyx.org>
9657 * BufferView_pimpl.C (trackChanges, dispatch): call
9658 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9660 2003-03-09 Angus Leeming <leeming@lyx.org>
9662 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9663 than Dialogs::showAboutlyx().
9665 2003-03-09 Angus Leeming <leeming@lyx.org>
9667 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9668 than Dialogs::showTabularCreate().
9670 2003-03-09 John Levon <levon@movementarian.org>
9674 * text2.C: 3rd arg to nextBreakPoint was always the same.
9677 2003-03-08 John Levon <levon@movementarian.org>
9684 * text2.C: Remove the "main" bit from the "main body"
9687 2003-03-08 John Levon <levon@movementarian.org>
9689 * text.C (leftMargin): The left margin of an empty
9690 manual label paragraph should not include the label width
9693 * text.C (prepareToPrint): don't attempt to measure hfills
9694 for empty manual label paragraphs - the answer should be 0
9696 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9698 * CutAndPaste.C: remove commented code and reindent.
9700 2003-03-08 John Levon <levon@movementarian.org>
9703 * lyxfunc.C: move reloadBuffer()
9706 * BufferView.C: to here
9708 * lyxvc.C: add comment
9711 * vc-backend.C: call bv->reload() to avoid
9712 getStatus() check on MENURELOAD
9714 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
9716 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9717 to an old format .dep file.
9719 2003-03-07 Angus Leeming <leeming@lyx.org>
9721 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9722 when the LFUN_MOUSE_RELEASE should have been handled by
9723 inset->localDispatch.
9725 2003-03-07 Angus Leeming <leeming@lyx.org>
9727 * BufferView_pimpl.C (dispatch):
9728 * LyXAction.C (init):
9729 * ToolbarDefaults.C (init):
9731 * lyxfunc.C (getStatus):
9732 remove LFUN_INSET_GRAPHICS.
9734 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9736 2003-03-07 Angus Leeming <leeming@lyx.org>
9739 * LyXAction.C (init):
9740 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9742 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9745 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9747 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9748 localDispatch method LFUN_INSET_DIALOG_UPDATE.
9750 2003-03-07 Angus Leeming <leeming@lyx.org>
9752 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9755 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9757 * ParagraphList.C (front): new function
9760 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
9762 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9763 and top_row_offset_. removed var first_y.
9765 * text2.C (LyXText, removeRow):
9767 * BufferView_pimpl.C:
9768 use these methods instead of using first_y
9770 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9772 * text2.C (pasteSelection): adjust for checkPastePossible
9774 * CutAndPaste.C: remove Paragraph * buf and replace with
9775 ParagraphList paragraphs.
9776 (DeleteBuffer): delete
9777 (cutSelection): change the tc type to textclass_type
9778 (copySelection): change the tc type to textclass_type
9779 (copySelection): adjust for ParagraphList
9780 (pasteSelection): change the tc type to textclass_type
9781 (pasteSelection): adjust for Paragraphlist
9782 (nrOfParagraphs): simplify for ParagraphList
9783 (checkPastePossible): simplify for ParagraphList
9784 (checkPastePossible): remove unused arg
9786 * ParagraphList.C (insert): handle the case where there are no
9789 * CutAndPaste.h: make CutAndPaste a namespace.
9791 * text3.C (dispatch): adjust
9793 * text.C (breakParagraph): add a ParagraphList as arg
9795 * paragraph_funcs.C (breakParagraph): change to take a
9796 BufferParams and a ParagraphList as args.
9797 (breakParagraphConservative): ditto
9798 (mergeParagraph): ditto
9799 (TeXDeeper): add a ParagraphList arg
9800 (TeXEnvironment): ditto
9803 * buffer.C (readLyXformat2): adjust
9804 (insertStringAsLines): adjust
9805 (latexParagraphs): adjust
9807 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9808 (cutSelection): adjust
9809 (pasteSelection): adjust
9811 * BufferView_pimpl.C (insertInset): adjust
9813 2003-03-05 Angus Leeming <leeming@lyx.org>
9816 * LyXAction.C (init):
9817 * BufferView_pimpl.C (dispatch):
9818 * lyxfunc.C (getStatus):
9819 remove LFUN_CHILD_INSERT.
9821 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9823 2003-03-05 Angus Leeming <leeming@lyx.org>
9826 * LyXAction.C (init):
9827 * src/factory.C (createInset):
9828 * lyxfunc.C (getStatus):
9829 * text3.C (dispatch):
9830 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9832 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9834 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9836 * ParagraphList.C (insert): handle insert right before end()
9837 (erase): fix cases where it can be first or last paragraph.
9839 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9841 * paragraph_funcs.C (TeXEnvironment): remove all usage of
9842 Paragraph::next and Paragraph::previous
9845 * text.C (breakParagraph): adjust
9847 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9848 BufferParams& as arg.
9849 (breakParagraph): use ParagraphList::insert
9850 (breakParagraphConservative): take a Buffer* instead of a
9851 BufferParams& as arg.
9852 (breakParagraphConservative): use ParagraphList::insert.
9854 * buffer.C (insertStringAsLines): un-const it
9855 (insertStringAsLines): adjust
9857 * ParagraphList.C (insert): new function
9859 * CutAndPaste.C (pasteSelection): adjust
9861 * text.C (backspace): adjust
9863 * tabular.C (SetMultiColumn): adjust
9865 * CutAndPaste.C (cutSelection): adjust
9866 (pasteSelection): adjust
9868 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9869 Buffer const * as arg
9871 * ParagraphList.C (erase): new function
9872 * paragraph_funcs.C (mergeParagraph): use it
9873 (mergeParagraph): make it take a Buffer* instead of a
9874 BufferParams* as arg
9876 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9878 (breakParagraphConservative): ditto
9880 * paragraph.h: remove the breakParagraph friend
9882 * paragraph.C (eraseIntern): new function
9883 (setChange): new function
9885 * paragraph_funcs.C (mergeParagraph): make it take a
9886 ParagraphList::iterator instead of a Paragraph *, adjust
9889 * paragraph.h: move an #endif so that the change tracking stuff
9890 also works in the NO_NEXT case.
9892 2003-03-04 Angus Leeming <leeming@lyx.org>
9895 * LyXAction.C: new LFUN_INSET_MODIFY.
9897 * BufferView_pimpl.C (dispatch): if an inset is found to be open
9898 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9900 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9902 * several files: ws changes only
9904 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9905 (TeXEnvironment): ditto
9908 * buffer.C (makeLaTeXFile): adjust
9909 (latexParagraphs): make it take ParagraphList::iterator as args
9911 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
9913 * buffer.C (latexParagraphs): adjust
9915 * paragraph.C (TeXOnePar): move function...
9916 (optArgInset): move function...
9917 (TeXEnvironment): move function...
9918 * paragraph_pimpl.C (TeXDeeper): move function...
9919 * paragraph_funcs.C: ...here
9921 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9923 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9925 * buffer.C (readInset): remove compability code for old Figure and
9928 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9930 * buffer.C: ws changes
9933 * BufferView_pimpl.C: ditto
9936 * bufferlist.h: ditto
9940 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
9942 * converter.[Ch]: split into itself +
9945 * Makefile.am: += graph.[Ch] + format.[Ch]
9952 * lyxrc.C: added #include "format.h"
9954 2003-02-27 Angus Leeming <leeming@lyx.org>
9956 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9959 * factory.C (createInset): add "label" to the factory.
9961 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9962 string and do no more.
9964 2003-02-27 Angus Leeming <leeming@lyx.org>
9967 * LyXAction.C (init):
9968 * factory.C (createInset):
9969 * BufferView_pimpl.C (dispatch):
9970 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9972 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9974 * lyxfunc.C (dispatch):
9975 * text3.C (dispatch): pass name to params2string.
9977 2003-02-26 Angus Leeming <leeming@lyx.org>
9979 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9981 Rearrange the ~includes. Strip out the unnecessary ones.
9983 * factory.C (createInset): reformat.
9984 create new insets for the various LFUN_XYZ_APPLY lfuns.
9986 2003-02-26 John Levon <levon@movementarian.org>
9989 * lyxrow.C: add isParStart,isParEnd helpers
9991 * paragraph.h: make isInserted/DeletedText take refs
9993 * paragraph_funcs.h:
9994 * paragraph_funcs.C: remove #if 0'd code
9999 * text.C: use lyxrow helpers above.
10000 Move draw and paint routines to RowPainter.
10001 Make several methods use refs not pointers.
10002 Make backgroundColor() const.
10003 Add markChangeInDraw(), isInInset().
10004 Merge changeRegionCase into changeCase.
10005 Make workWidth() shouldn't-happen code into an Assert.
10008 * rowpainter.C: new class for painting a row.
10011 * vspace.C: make inPixels take a ref
10013 2003-02-26 Angus Leeming <leeming@lyx.org>
10015 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
10018 2003-02-25 John Levon <levon@movementarian.org>
10020 * ispell.C: give the forked command a more accurate name
10022 2003-02-22 John Levon <levon@movementarian.org>
10025 * toc.C: make TocItem store an id not a Paragraph *
10028 2003-02-21 Angus Leeming <leeming@lyx.org>
10030 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
10031 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
10032 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
10033 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
10034 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
10035 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
10037 * BufferView_pimpl.C (dispatch):
10038 * LyXAction.C (init):
10039 * factory.C (createInset):
10040 * lyxfunc.C (getStatus, dispatch):
10041 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
10043 2003-02-21 Angus Leeming <leeming@lyx.org>
10045 * BufferView_pimpl.C (MenuInsertLyXFile):
10046 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
10047 * lyxfunc.C (menuNew, open, doImport):
10048 no longer pass a LyXView & to fileDlg.
10050 2003-02-21 Angus Leeming <leeming@lyx.org>
10052 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
10053 * LyXAction.C: change, BIBKEY to BIBITEM.
10054 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
10055 Change InsetBibKey to InsetBibitem.
10056 Change BIBKEY_CODE to BIBITEM_CODE.
10057 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10058 * factory.C: replace insetbib.h with insetbibitem.h.
10059 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10060 * paragraph.C: replace insetbib.h with insetbibitem.h.
10061 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
10062 Change bibkey() to bibitem().
10063 * text.C: remove insetbib.h.
10064 * text2.C: replace insetbib.h with insetbibitem.h.
10065 change bibkey() to bibitem().
10066 * text3.C: remove insetbib.h.
10067 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10069 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10071 * lyxrc.C (output): enclose user email in quotes (in case there are
10074 2003-02-18 John Levon <levon@movementarian.org>
10076 * buffer.h: add std::
10078 2003-02-17 John Levon <levon@movementarian.org>
10084 * pspell.C: reworking. Especially in ispell, a large
10085 number of clean ups and bug fixes.
10087 * lyxfunc.C: fix revert to behave sensibly
10089 2003-02-17 André Pönitz <poenitz@gmx.net>
10092 * commandtags.h: new LFUN_INSERT_BIBKEY
10102 * paragraph_func.C: remove special bibkey handling
10104 2003-02-17 John Levon <levon@movementarian.org>
10106 * text.C (Delete): fix case where delete at the end of
10107 the very first paragraph would not merge the pars
10109 2003-02-17 John Levon <levon@movementarian.org>
10111 * lyxrow.C: fix lastPrintablePos()
10113 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10115 * bufferparams.C (writeLaTeX): add a std:here
10117 * buffer.C: and remove a using directive there
10119 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10121 * buffer.C (makeLaTeXFile): move the code that generates the
10124 * bufferparams.C (writeLaTeX): ... in this new method
10126 * LaTeXFeatures.C (getEncodingSet): make const
10127 (getLanguages): make const
10129 * MenuBackend.C (binding): returns the binding associated to this
10131 (add): sets the status of each item by calling getStatus. Adds
10133 (read): add support for OptSubMenu
10134 (expand): remove extra separator at the end of expanded menu
10136 2003-02-15 John Levon <levon@movementarian.org>
10139 * BufferView_pimpl.C:
10141 * bufferlist.C: remove pointless BufferStorage bloat. Remove
10142 inset code that had no actual effect. Remove unneeded status
10145 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10147 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
10150 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
10152 * text.C (drawLengthMarker): also draw an arrow marker for
10153 symbolic lengths (medskip...)
10155 2003-02-14 John Levon <levon@movementarian.org>
10158 * tabular.C: better method names
10160 2003-02-14 John Levon <levon@movementarian.org>
10162 * BufferView_pimpl.C:
10167 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
10168 it's a more accurate name. Remove some pointless uses.
10170 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10172 * text2.C (LyXText): change order of initilizers to shut off
10175 2003-02-14 John Levon <levon@movementarian.org>
10177 * buffer.C: use ParIterator for getParFromID()
10181 * paragraph_pimpl.h:
10182 * paragraph_pimpl.C: remove unused getParFromID()
10184 2003-02-14 John Levon <levon@movementarian.org>
10186 * buffer.C: remove some very old #if 0'd parse code
10188 2003-02-13 John Levon <levon@movementarian.org>
10192 * text2.C: move hfillExpansion(), numberOfSeparators(),
10193 rowLast(), rowLastPrintable(), numberofHfills(),
10194 numberOfLabelHfills() ...
10197 * lyxrow.C: ... to member functions here.
10202 * text.C: remove LyXText::beginningOfMainBody(), and call
10203 p->beginningOfMainBody() directly. Move the check for
10204 LABEL_MANUAL into the latter.
10211 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
10217 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
10218 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
10220 2003-02-13 John Levon <levon@movementarian.org>
10222 * CutAndPaste.C: remove debug
10224 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10226 * paragraph.C (asString): remove two unused variables
10228 * lyxtextclass.C (readTitleType):
10230 (LyXTextClass): handle new members titletype_ and titlename_
10232 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
10234 2003-02-09 John Levon <levon@movementarian.org>
10237 * buffer.C: replace hand-coded list with a map for the dep clean
10239 2003-02-08 John Levon <levon@movementarian.org>
10241 * LaTeX.C: consolidate code into showRunMessage() helper
10243 2003-02-08 John Levon <levon@movementarian.org>
10248 * BufferView.C: change setSelectionOverString() to setSelectionRange()
10249 and pass the size in explicitly
10251 * BufferView_pimpl.h:
10252 * BufferView_pimpl.C:
10254 * BufferView.C: add getCurrentChange()
10256 * BufferView_pimpl.h:
10257 * BufferView_pimpl.C: handle change lfuns
10259 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
10260 for changes. Mark pasted paragraphs as new.
10262 * support/lyxtime.h:
10263 * support/lyxtime.C:
10264 * DepTable.C: abstract time_t as lyx::time_type
10267 * LColor.C: add colours for new text, deleted text, changebars
10269 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
10270 package use "usenames" option.
10274 * LyXAction.C: add change lfuns
10278 * author.C: author handling
10281 * buffer.C: add a per-buffer author list, with first entry as
10282 current author. Handle new .lyx tokens for change tracking. Output
10283 author list to .lyx file. Output dvipost stuff to .tex preamble.
10284 Bump lyx format to 222.
10287 * bufferlist.C: add setCurrentAuthor() to reset current author details
10291 * bufferparams.C: add param for tracking
10293 * bufferview_funcs.C: output change info in minibuffer
10297 * changes.C: add change-tracking structure
10300 * debug.C: add CHANGES debug flag
10303 * lyxfind.C: add code for finding the next change piece
10306 * lyxrc.C: add user_name and user_email
10309 * lyxrow.C: add a metric for the top of the text line
10312 * text.C: implement accept/rejectChange()
10315 * text.C: paint changebars. Paint new/deleted text in the chosen
10316 colours. Strike through deleted text.
10320 * paragraph_pimpl.h:
10321 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
10322 in the current change to the insert functions. Rework erase to
10323 mark text as deleted, adding an eraseIntern() and a range-based
10324 erase(). Implement per-paragraph change lookup and
10327 * paragraph_funcs.C: Fixup paste for change tracking.
10329 * tabular.C: mark added row/columns as new.
10331 * text.C: fix rowLast() to never return -1. Don't allow
10332 spellchecking of deleted text. Track transpose changes. Don't
10333 allow paragraph break or merge where appropriate.
10335 * text2.C: leave cursor at end of selection after a cut.
10337 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10339 * text.C (getLengthMarkerHeight):
10340 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
10341 visible on screen too.
10343 2003-02-07 John Levon <levon@movementarian.org>
10345 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
10347 2003-02-05 Angus Leeming <leeming@lyx.org>
10349 * lyxserver.C (read_ready): revert my patch of 11 September last year
10350 as it sends PC cpu through the roof. Presumably this means that
10351 the lyxserver will no longer run on an Alpha...
10353 2003-01-30 Angus Leeming <leeming@lyx.org>
10355 * factory.C (createInset): create an InsetCommandParam of type "index"
10356 and use it to 'do the right thing'.
10358 * text2.C (getStringToIndex): ensure that cursor position is always
10359 reset to the reset_cursor position.
10361 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10363 * lyxfunc.C (getStatus): "buffer-export custom" should never be
10366 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
10370 * lyxfunc.C: Output messages with identical spelling, punctuation,
10373 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
10375 * MenuBackend.C (expandFormats): List only viewable export formats
10378 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
10381 * lyxfunc.C (getStatus): Make sure that formats other than
10382 "fax" can also be disabled
10384 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10386 * text3.C (dispatch): put the lfuns that insert insets in 3
10387 groups, and call doInsertInset with appropriate arguments.
10388 (doInsertInset): new function, that creates an inset and inserts
10389 it according to some boolean parameters.
10391 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
10393 * buffer.C (readFile): remember to pass on 'par' when calling
10394 readFile recursively.
10396 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10398 * MenuBackend.C (expandFormats): add "..." to import formats.
10400 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
10402 * paragraph.C (asString): Remove XForms RTL hacks.
10404 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
10405 * buffer.C: fix typo
10407 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
10409 * Makefile.am (LIBS): delete var
10410 (lyx_LDADD): add @LIBS@ here instead.
10412 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
10414 * Clarify the meaning of "wheel mouse jump"
10416 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10418 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
10421 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10423 * importer.C (Loaders): do not preallocate 3 elements in the
10424 vector, since one ends up with 6 elements otherwise
10426 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10428 * DepTable.C (write): write the file name as last element of the
10429 .dep file (because it may contain spaces)
10430 (read): read info in the right order
10432 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10434 * paragraph_pimpl.C (simpleTeXBlanks):
10435 (simpleTeXSpecialChars):
10436 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
10438 * tabular.C (latex): add some missing case statements. Reindent.
10440 * MenuBackend.C (expandToc): remove unused variable.
10442 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
10451 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
10454 2003-01-05 John Levon <levon@movementarian.org>
10457 * BufferView.C: add getEncoding()
10460 * kbsequence.C: do not store last keypress
10463 * lyxfunc.C: store last keypress here instead. Pass encoding
10466 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10468 * lyx_main.C (init): remove annoying error message when following
10469 symbolic links (bug #780)
10471 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10473 * text.C (insertChar):
10474 * lyxrc.C (getDescription): remove extra spaces
10476 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10478 * lyxrc.C (getDescription): remove extra spaces
10480 2002-12-20 John Levon <levon@movementarian.org>
10482 * text3.C: hack fix for page up/down across tall rows
10484 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10486 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10489 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10491 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10492 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10493 thesaurus is not compiled in
10495 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
10497 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
10499 2002-12-16 Angus Leeming <leeming@lyx.org>
10502 * lyx_main.C (init): remove override_x_deadkeys stuff.
10504 2002-12-12 John Levon <levon@movementarian.org>
10506 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10507 insert. Only remove shift modifier under strict
10510 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
10512 * MenuBackend.C (expandToc): fix crash.
10514 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
10516 * MenuBackend.C (expandToc): gettext on float names.
10518 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
10520 * lyxlength.[Ch]: set default unit to UNIT_NONE,
10521 implement bool empty() [bug 490]
10523 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
10525 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10527 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
10529 * several files: ws changes
10531 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
10533 * text2.C (setCounter): clean up a bit, use boost.format.
10534 (updateCounters): initialize par upon declaration.
10536 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10537 if the layout exists. We do not just store the layout any more.
10538 (SwitchLayoutsBetweenClasses): use boost.format
10540 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10542 * converter.C (convert): if from and to files are the same, use a
10543 temporary files as intermediary
10545 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10548 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10550 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
10552 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10554 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
10556 * tabular.C (asciiPrintCell): use string(size, char) instead of
10559 * sgml.C (openTag): fix order of arguments to string constructor
10562 * lyxfunc.C (dispatch): use boost.format
10564 * lots of files: change "c" -> 'c'
10566 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
10568 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10570 2002-11-25 Angus Leeming <leeming@lyx.org>
10572 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10574 * lyx_main.C (init): compile fix.
10576 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
10578 * lyx_cb.C (start): boost.formatify
10579 do not include <iostream>
10581 * lengthcommon.C: ws only
10583 * boost-inst.C,BoostFormat.h: add more explict instantations
10585 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
10587 * lots of files: handle USE_BOOST_FORMAT
10589 2002-11-21 John Levon <levon@movementarian.org>
10591 * pspell.C: fix compile
10593 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10595 * lyxfunc.C (dispatch): use boost::format
10599 * lyxfont.C (stateText): use boost::format
10601 * lyx_main.C (LyX): use boost::format
10603 (queryUserLyXDir): ditto
10604 (readRcFile): ditto
10606 (typedef boost::function): use the recommened syntax.
10608 * importer.C (Import): use boost::format
10610 * debug.C (showLevel): use boost::format
10612 * converter.C (view): use boost::format
10617 * bufferview_funcs.C (currentState): use boost::format
10619 * bufferlist.C (emergencyWrite): use boost::format
10621 * buffer.C (readLyXformat2): use boost::format
10622 (parseSingleLyXformat2Token): ditto
10624 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10626 * LaTeX.C (run): use boost::format
10628 * Chktex.C (scanLogFile): use boost::format
10630 * BufferView_pimpl.C (savePosition): use boost::format
10631 (restorePosition): ditto
10632 (MenuInsertLyXFile): ditto
10634 * BoostFormat.h: help file for explicit instation.
10636 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
10638 * tabular.C (latex): Support for block alignment in fixed width
10641 2002-11-17 John Levon <levon@movementarian.org>
10643 * BufferView_pimpl.C:
10645 * lyxfunc.C: split filedialog into open/save
10647 2002-11-08 Juergen Vigna <jug@sad.it>
10649 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10650 by my last patch (hopefully).
10652 2002-11-08 John Levon <levon@movementarian.org>
10661 * toc.C: ParConstIterator, and use it (from Lars)
10663 2002-11-07 Ben Stanley <bds02@uow.edu.au>
10665 * lyxtextclass.[Ch]: revise and add doxygen comments
10667 2002-11-07 John Levon <levon@movementarian.org>
10669 * text.C: fix progress value for spellchecker
10671 * toc.C: fix navigate menu for insetwrap inside minipage
10673 * paragraph_funcs.C: added FIXME for suspect code
10675 2002-11-07 John Levon <levon@movementarian.org>
10677 * BufferView_pimpl.C: fix redrawing of insets
10680 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10682 * text2.C (updateCounters): fix bug 668
10684 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
10686 * text3.C (dispatch): Do not make the buffer dirty when moving the
10689 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10691 * vc-backend.C: STRCONV
10692 (scanMaster): ditto
10694 * text2.C (setCounter): STRCONV
10696 * paragraph.C (asString): STRCONV
10698 * lyxlength.C (asString): STRCONV
10699 (asLatexString): ditto
10701 * lyxgluelength.C (asString): STRCONV
10702 (asLatexString): ditto
10704 * lyxfunc.C (dispatch): STRCONV
10707 * lyxfont.C (stateText): STRCONV
10709 * importer.C (Import): STRCONV
10711 * counters.C (labelItem): STRCONV
10712 (numberLabel): ditto
10713 (numberLabel): remove unused ostringstream o
10718 * bufferview_funcs.C (currentState): STRCONV
10720 * buffer.C (readFile): STRCONV
10721 (asciiParagraph): ditto
10722 (makeLaTeXFile): ditto
10724 * Spacing.C (writeEnvirBegin): STRCONV
10726 * LaTeXFeatures.C (getLanguages): STRCONV
10727 (getPackages): ditto
10729 (getBabelOptions): ditto
10730 (getTClassPreamble): ditto
10731 (getLyXSGMLEntities): ditto
10732 (getIncludedFiles): ditto
10736 (scanAuxFile): ditto
10739 * LString.h: add the STRCONV macros
10741 * BufferView_pimpl.C (savePosition): STRCONV
10742 (restorePosition): ditto
10743 (MenuInsertLyXFile): ditto
10745 * vc-backend.C (scanMaster): change from submatch[...] to
10748 * funcrequest.C: include config.h
10750 * factory.C: include config.h
10752 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10754 * box.C: include config.h
10756 * LaTeX.C (scanAuxFile): change from submatch[...] to
10760 2002-10-25 Angus Leeming <leeming@lyx.org>
10762 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10764 * ispell.[Ch] (setError): new method.
10765 * ispell.C (c-tor): move out child process into new class LaunchIspell.
10766 Use setError() insetead of goto END.
10768 * lyx_cb.C (AutoSave): move out child process into new class
10771 2002-10-30 John Levon <levon@movementarian.org>
10773 * text3.C: make start appendix undoable
10775 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
10777 * lyxlength.C (inPixels): Fix returned value.
10779 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10782 2002-10-24 Angus Leeming <leeming@lyx.org>
10784 * lyxgluelength.h: no need to forward declare BufferParams
10785 or BufferView, so don't.
10787 2002-10-21 John Levon <levon@movementarian.org>
10789 * BufferView.C: menuUndo ->undo, redo
10791 * BufferView.h: document, remove dead, make some methods private
10793 * paragraph_funcs.h:
10794 * paragraph_funcs.C:
10795 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10800 * sgml.C: move sgml open/close tag into sgml.C
10802 * bufferview_funcs.h: unused prototype
10805 * lyxfunc.C: remove unused
10808 * text.C: remove unused
10810 2002-10-21 John Levon <levon@movementarian.org>
10814 * BufferView_pimpl.h:
10815 * BufferView_pimpl.C: fix mouse wheel handling based on
10816 patch from Darren Freeman
10818 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
10820 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10822 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
10824 * lyxlength.C (inPixels): Fix hanfling of negative length.
10825 Fix LyXLength::MU case.
10827 2002-10-16 John Levon <levon@movementarian.org>
10829 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10831 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10833 * converter.C (view): add support for $$i (file name) and $$p
10834 (file path) for the viewer command. If $$i is not specified, then
10835 it is appended to the command (for compatibility with old syntax)
10837 2002-10-14 Juergen Vigna <jug@sad.it>
10839 * undo_funcs.C (textHandleUndo): alter the order in which the
10840 new undopar is added to the LyXText, as we have to set first
10841 the right prev/next and then add it as otherwise the rebuild of
10842 LyXText is not correct. Also reset the cursor to the right paragraph,
10843 with this IMO we could remove the hack in "redoParagraphs()".
10845 2002-10-09 Angus Leeming <leeming@lyx.org>
10847 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10848 to turn off an optimisation if a new inset is to be inserted.
10850 2002-10-11 André Pönitz <poenitz@gmx.net>
10852 * lyxtext.h: make some functions public to allow access
10853 from inset/lyxtext for handling LFUN_PRIOR/NEXT
10855 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10857 * text3.C (dispatch): when changing layout, avoid an infinite loop
10860 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10862 * lyxrc.C (read): treat a viewer or converter command of "none" as
10865 * MenuBackend.C (expandFormats): for an update, also allow the
10866 formats that are not viewable
10868 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10869 script if it is newer than the lyxrc.defaults in user directory
10871 2002-10-07 André Pönitz <poenitz@gmx.net>
10873 * text.C: Vitaly Lipatov's small i18n fix
10875 2002-09-25 Angus Leeming <leeming@lyx.org>
10877 * ispell.h: doxygen fix.
10879 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
10881 * buffer.h (readFile): Add a new argument to the method, to allow
10882 reading of old-format templates.
10884 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
10886 * toc.C (getTocList): Get TOC from InsetWrap.
10888 2002-09-16 John Levon <levon@movementarian.org>
10890 * lyxfunc.C: check tabular for cut/copy too
10892 2002-09-12 John Levon <levon@movementarian.org>
10894 * LyXAction.C: tidy
10897 * factory.C: add header
10899 * paragraph_funcs.h:
10900 * paragraph_funcs.C: cleanup
10902 2002-09-11 John Levon <levon@movementarian.org>
10904 * PrinterParams.h: odd/even default to true
10906 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
10908 * PrinterParams.h: update printer parameters for new xforms dialog
10910 2002-09-11 Angus Leeming <leeming@lyx.org>
10912 * lyxserver.C (read_ready): re-write to make it more transparent
10913 and to make it work in coherent fashion under Tru64 Unix.
10915 2002-09-11 André Pönitz <poenitz@gmx.net>
10919 * text3.C: implement LFUN_WORDSEL
10921 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10923 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10924 make floatlist_ a boost::shared_ptr<FloatList>
10926 * lyxtextclass.C: include FloatList.h
10927 (LyXTextClass): initialize floatlist_
10928 (TextClassTags): add TC_NOFLOAT
10929 (Read): match "nofloat" to TC_NOFLOAT and use it.
10930 (readFloat): modify call to floatlist_
10934 * FloatList.[Ch] (FloatList): remove commented out float
10936 (erase): new function
10938 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10940 * MenuBackend.C (expandToc): fix crash when there is no document
10943 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
10945 * many files: Add insetwrap.
10947 2002-09-09 John Levon <levon@movementarian.org>
10949 * text2.C: remove confusing and awkward depth wraparound
10951 2002-09-09 John Levon <levon@movementarian.org>
10953 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10956 * buffer.C: remove getIncludeonlyList()
10959 * lyxfunc.C: remove headers
10961 2002-09-09 Juergen Vigna <jug@sad.it>
10963 * text.C (getColumnNearX): fix form Michael this is most
10964 probably a cut&paste bug.
10966 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
10968 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10970 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10971 references, ws changes.
10973 * text2.C (init): update counters after init
10974 (insertParagraph): no need to set counter on idividual paragraphs.
10975 (setCounter): access the counters object in the textclass object
10976 on in the buffer object.
10977 (updateCounters): ditto
10979 * lyxtextclass.C: include counters.h, add variable ctrs_ as
10980 shared_ptr<Counters> to avoid loading counters.h in all
10982 (LyXTextClass): initialize ctrs_
10983 (TextClassTags): add TC_COUNTER, and ...
10984 (Read): use it here.
10985 (CounterTags): new tags
10986 (readCounter): new function
10987 (counters): new funtion
10988 (defaultLayoutName): return a const reference
10990 * counters.C (Counters): remove contructor
10991 (newCounter): remove a couple of unneeded statements.
10992 (newCounter): simplify a bit.
10993 (numberLabel): some small formatting changes.
10995 * buffer.[Ch]: remove all traces of counters, move the Counters
10996 object to the LyXTextClass.
10998 2002-09-06 Alain Castera <castera@in2p3.fr>
11000 * tabular.C: uses \tabularnewline; uses >{...} construct from array
11001 package to set the horizontal alignment on fixed width columns.
11004 * lyx_sty.h: added tabularnewline macro def.
11006 * LaTeXFeatures.C: added NeedTabularnewline macro feature
11008 2002-09-06 John Levon <levon@movementarian.org>
11010 * LyXAction.C: tooltips for sub/superscript
11012 * MenuBackend.C: a bit more verbose
11014 * lyxfunc.C: tiny clean
11016 * undo_funcs.C: document undo_frozen
11018 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
11020 * counters.C (Counters): add missing algorithm counter.
11022 * text2.C (setCounter): lookup the counter with layouts latexname
11023 instead of by section number.
11024 (setCounter): use a hackish way to lookup the correct enum
11026 a float name->type change
11027 reset enum couners with counter name directly instead of depth value.
11029 * counters.C (Counters): remove the push_backs, change to use the
11030 float type not the float name.
11031 (labelItem): remove unused string, float name->type change
11033 * counters.h: don't include vector, loose the enums and sects vectors
11035 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
11037 * lyxtextclass.C (TextClassTags): add TC_FLOAT
11038 (Read): add float->TC_FLOAT to textclassTags
11039 (Read): and handle it in the switch
11040 (readFloat): new function
11042 * FloatList.C (FloatList): comment out the hardcoded float
11045 * lyxlayout.h: ws change.
11047 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
11049 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
11051 2002-09-03 Angus Leeming <leeming@lyx.org>
11053 * BufferView_pimpl.h: qualified name is not allowed in member
11054 declaration: WorkArea & Pimpl::workarea() const;
11056 * factory.C: added using std::endl directive.
11058 * text3.C: added using std::find and std::vector directives.
11060 2002-08-29 André Pönitz <poenitz@gmx.net>
11063 * text2.C: remove unused member number_of_rows
11066 * BufferView2.C: remove file, move contents to...
11067 * BufferView.C: ... here
11069 * BufferView_pimpl.C:
11070 * factory.C: move more inset creation to factory
11072 * vspace.C: avoid direct usage of LyXText, ws changes
11075 don't provide direct access to WorkArea, use two simple
11076 acessors haveSelction() and workHeight() instead
11079 2002-08-29 John Levon <levon@movementarian.org>
11081 * BufferView_pimpl.C (dispatch): do not continue when
11084 2002-08-28 André Pönitz <poenitz@gmx.net>
11086 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
11089 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
11091 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
11093 * buffer.C: increment LYX_FORMAT to 221
11095 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
11096 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
11098 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
11100 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
11102 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11104 * factory.C (createInset): use LyXTextClass::floats
11106 * MenuBackend.C (expandFloatListInsert):
11107 (expandFloatInsert):
11110 * text2.C (setCounter):
11112 * LaTeXFeatures.C (useFloat):
11113 (getFloatDefinitions):
11115 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
11117 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
11118 floatlist_, with accessor floats().
11120 * FloatList.h: remove global FloatList
11122 2002-08-26 André Pönitz <poenitz@gmx.net>
11124 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
11128 * BufferView_pimpl.C:
11129 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
11131 2002-08-25 John Levon <levon@movementarian.org>
11133 * LyXAction.C: fix margin note description
11135 2002-08-24 John Levon <levon@movementarian.org>
11139 * bufferview_funcs.C:
11141 * undo_funcs.C: cleanups
11143 * lyxfunc.C: disable CUT/COPY when no selection
11145 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
11147 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
11148 in "enum UNIT"; e.g. PTW for Percent of TextWidth
11150 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
11151 Add backward compatibility to "mono", "gray" and "no".
11153 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
11155 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
11156 (and file_format >= 200).
11158 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11160 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
11162 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11164 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
11166 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
11168 * BufferView_pimpl.C:
11175 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
11176 inset and code to make it work with the paragraph code. The inset
11177 can be anywhere in the paragraph, but will only do the expected
11178 thing in LaTeX if the layout file contains the parameter line
11180 (or more generally, a nonzero value) for that layout.
11182 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
11184 * paragraph.h: remove the declaration of undefined counters class
11187 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
11189 * text2.C (setCounter): fixed enumeration mis-count as reported by
11190 Dr. Richard Hawkins.
11192 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11194 * paragraph_funcs.h: remove some unneeded includes
11196 * text.C (backspace): pasteParagraph now in global scipe
11198 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
11199 (pasteSelection): ditto
11201 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
11202 * paragraph_funcs.C (pasteParagraph): ... here
11204 2002-08-20 André Pönitz <poenitz@gmx.net>
11206 * commandtags.h: new LFUNs for swapping/copying table row/colums
11209 * lyxfunc.C: support for new lfuns
11211 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
11214 * buffer.[Ch]: remove NO_COMPABILITY stuff
11216 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
11218 * boost.C (throw_exception): new file, with helper function for
11219 boost compiled without exceptions.
11224 * ParameterStruct.h:
11225 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
11227 * bufferlist.C (emergencyWriteAll): use boost bind
11229 * BufferView_pimpl.C (moveCursorUpdate): remove inline
11231 * text.C: include paragraph_funcs.h
11232 (breakParagraph): breakParagraph is now in global scope
11234 * paragraph_funcs.[Ch]: new files
11236 * paragraph.C (breakParagraph,breakParagraphConservative): move to
11239 * buffer.C: include paragraph_funcs.h
11240 (insertStringAsLines): breakParagraph is now in global scope
11242 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
11245 * CutAndPaste.C: include paragraph_funcs.h
11246 (cutSelection): breakParagraphConservative is now in global scope
11247 (pasteSelection): ditto
11249 * buffer.h: declare oprator== and operator!= for
11250 Buffer::inset_iterator
11252 * bufferlist.C (emergencyWrite): don't use fmt(...)
11254 * text3.C: add using std::endl
11256 * BufferView.C (moveCursorUpdate): remove default arg
11258 2002-08-20 André Pönitz <poenitz@gmx.net>
11260 * buffer.[Ch]: move inline functions to .C
11263 * BufferView_pimpl.C:
11265 * buffer.[Ch]: use improved inset_iterator
11268 * paragraph.[Ch]: write one paragraph at a time
11270 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
11272 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
11273 style if style is not specified.
11275 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11277 * text2.C (setCounter): when searching for right label for a
11278 caption, make sure to recurse to parent insets (so that a caption
11279 in a minipage in a figure float works) (bug #568)
11281 2002-08-20 André Pönitz <poenitz@gmx.net>
11283 * text3.C: new file for LyXText::dispatch() and helpers
11285 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
11287 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
11289 2002-08-19 André Pönitz <poenitz@gmx.net>
11292 * text.C: new LyXText::dispatch()
11294 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
11296 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
11298 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
11300 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
11303 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11305 * Makefile.am: use $(variables) instead of @substitutions@
11307 2002-08-15 André Pönitz <poenitz@gmx.net>
11310 * BufferView_pimpl.C: streamlining mathed <-> outer world
11314 * LyXAction.C: remove unused LFUN_MATH
11316 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
11318 * paragraph.[Ch]: add some NO_NEXT ifdefs.
11320 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
11322 * paragraph.C (Paragraph): reformat a bit
11323 (cutIntoMinibuffer): use builtin InsetList function instad of
11327 * buffer.C: include boost/bind.hpp, add using std::for_each
11328 (writeFileAscii): use ParagraphList iterators
11329 (validate): use for_each for validate traversal of paragraphs
11330 (getBibkeyList): use ParagraphList iterators
11331 (resizeInsets): use for_each to resizeInsetsLyXText for all
11333 (getParFromID): use ParagraphList iterators
11335 * BufferView2.C (lockInset): use paragraph list and iterators
11337 2002-08-14 John Levon <levon@movementarian.org>
11339 * lyxserver.C: remove spurious xforms include
11341 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11343 * lyxfunc.C (getStatus): disable math-extern outside of math mode
11345 2002-08-13 André Pönitz <poenitz@gmx.net>
11348 * lyxfunc.C: further cleaning
11350 2002-08-13 André Pönitz <poenitz@gmx.net>
11352 * funcrequest.h: new constructor
11354 * funcrequest.C: move stuff here from .h
11357 * BufferView_pimpl.C:
11360 * lyxfunc.C: subsequent changes
11362 * lyxfunc.h: new view() member function
11364 * lyxfunc.C: subsequent changes
11366 2002-08-13 Angus Leeming <leeming@lyx.org>
11369 * BufferView_pimpl.C:
11377 changes due to the changed LyXView interface that now returns references
11378 to member variables not pointers.
11380 2002-08-13 Angus Leeming <leeming@lyx.org>
11382 * WordLangTuple (word, lang_code): return references to strings,
11387 * lyxtext.h: forward-declare WordLangTuple.
11392 * text.C: #include "WordLangTuple.h".
11395 * text.C: (selectNextWordToSpellcheck): constify return type.
11397 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
11403 * paragraph_pimpl.h:
11406 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
11407 suggested by Angus.
11408 Made updateCounter always count from start of buffer, and removed
11409 second argument (par).
11410 Reverted floats number display to '#'. Perhaps I'll try again when the
11411 code base is sanitized a bit.
11413 2002-08-12 Angus Leeming <leeming@lyx.org>
11415 * buffer.[Ch] (getLabelList): constify.
11417 2002-08-07 André Pönitz <poenitz@gmx.net>
11419 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
11421 * funcrequest.h: extension to keep mouse (x,y) position
11423 2002-08-12 Juergen Vigna <jug@sad.it>
11425 * BufferView2.C (insertErrors): forbid undo when inserting error
11428 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
11430 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
11432 * ParagraphList.[Ch]: new files
11434 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
11436 * BufferView2.C (lockInset): ParagraphList changes
11439 * bufferlist.C: ditto
11443 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11445 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
11446 unused class variable counter_,
11448 * paragraph.[Ch] (getFirstCounter): delete unused function
11450 * counters.C: include LAssert.h
11451 (reset): add a new function with no arg, change other version to
11452 not have def. arg and to not allow empty arg.
11454 * text2.C (setCounter): remove empty arg from call to Counters::reset
11456 2002-08-11 John Levon <levon@movementarian.org>
11458 * Makefile.am: add WordLangTuple.h
11460 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11462 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
11463 lyxfunc.C lyxlex_pimpl.C: ws changes only.
11465 * insets/insettext.C: InsetList changes
11467 * graphics/GraphicsSupport.C (operator()): InsetList changes
11469 * toc.C (getTocList): InsetList changes
11471 * paragraph_pimpl.[Ch]: InsetList changes
11473 * paragraph.[Ch]: InsetList changes
11475 * buffer.C (inset_iterator): InsetList changes
11476 (setParagraph): ditto
11477 * buffer.h (inset_iterator): ditto
11478 * iterators.C (operator++): ditto
11479 * iterators.h: ditto
11481 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11483 * InsetList.[Ch]: new files, most InsetList handling moved out of
11486 * BufferView2.C (removeAutoInsets): InsetList changes
11488 (ChangeInsets): ditto
11490 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
11492 * paragraph_pimpl.h (empty): new function
11494 * paragraph.[Ch] (empty): new function
11496 * other files: use the new Paragraph::empty function
11498 2002-08-09 John Levon <levon@movementarian.org>
11500 * lyxtext.h: remove unused refresh_height
11502 2002-08-09 John Levon <levon@movementarian.org>
11509 * paragraph.C: move sgml char escaping out of paragraph
11512 * paragraph.C: remove id setter
11516 * paragraph_pimpl.C: remove dead tex_code_break_column
11518 * bufferview_funcs.C: small cleanup
11520 * lyxfunc.C: remove dead proto
11522 * lyxtext.h: make some stuff private. Remove some dead stuff.
11524 * lyxgluelength.C: make as[LyX]String() readable
11526 2002-08-08 John Levon <levon@movementarian.org>
11531 * ToolbarDefaults.C:
11534 * toc.C: lyxaction cleanup
11536 2002-08-08 John Levon <levon@movementarian.org>
11538 * BufferView2.C: small cleanup
11541 * lyxfind.C: move unnecessary header into the .C
11543 2002-08-08 John Levon <levon@movementarian.org>
11545 * funcrequest.h: just tedious nonsense
11548 * lyx_main.C: cleanups
11551 * vspace.C: remove dead header lyx_main.h
11553 2002-08-07 Angus Leeming <leeming@lyx.org>
11556 * paragraph_pimpl.h:
11557 Forward declare class Counters in paragraph.h by moving the ctrs member
11558 variable into Paragraph::Pimpl.
11559 (counters): new method, returning a reference to pimpl_->ctrs.
11561 * text2.C: ensuing changes.
11563 2002-08-07 John Levon <levon@movementarian.org>
11565 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11567 * BufferView_pimpl.C: announce X selection on double/triple
11570 * lyx_main.C: use correct bool in batch dispatch
11572 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11574 2002-08-07 André Pönitz <poenitz@gmx.net>
11576 * funcrequest.h: new class to wrap a kb_action and its argument
11579 * BufferView_pimpl[Ch]:
11583 * lyxrc.C: subsequent changes
11586 2002-08-07 John Levon <levon@movementarian.org>
11588 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11589 document options change.
11591 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11596 * makefile.am: move counters functionality over from
11597 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11599 2002-08-06 John Levon <levon@movementarian.org>
11601 * WordLangTuple.h: new file for word + language code tuple
11612 * BufferView2.C: use WordLangTuple
11615 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11617 2002-08-06 John Levon <levon@movementarian.org>
11619 * lyx_main.C: fix cmdline batch handling
11621 2002-08-06 André Pönitz <poenitz@gmx.net>
11623 * lyxrc.C: set default for show_banner to true
11625 2002-08-06 John Levon <levon@movementarian.org>
11627 * pspell.C: fix a crash, and allow new aspell to work
11629 2002-08-06 John Levon <levon@movementarian.org>
11632 * kbmap.C: small cleanup
11635 * vspace.C: add const
11637 2002-08-05 John Levon <levon@movementarian.org>
11639 * LyXAction.C: back to tabular-insert
11641 2002-08-04 John Levon <levon@movementarian.org>
11644 * BufferView.C: cosmetic change
11646 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11656 * BufferView2.C: purge all "Lyx" not "LyX" strings
11659 * lyxcursor.C: attempt to add some documentation
11664 * ToolbarDefaults.C:
11665 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11666 merge with LFUN_TABULAR_INSERT
11673 * pspell.C: split up i/pspell implementations into separate
11674 files, many cleanups
11676 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11678 * text2.C: some cleanup
11680 * lyxfunc.C: don't check for isp_command == "none" any more, it
11681 didn't make any sense
11683 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11688 * makefile.am: move counters functionality over
11689 from text2.C/paragraph.[Ch] to counters.[Ch], and
11691 2002-08-02 John Levon <levon@movementarian.org>
11693 * buffer.C: s/lyxconvert/lyx2lyx/
11695 2002-08-02 Angus Leeming <leeming@lyx.org>
11697 * lyxlex.C: revert John's change as it breaks reading of the user
11700 2002-08-02 Angus Leeming <leeming@lyx.org>
11702 * importer.C (Import):
11703 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11704 changes due to LyXView::view() now returning a boost::shared_ptr.
11706 2002-08-02 John Levon <levon@movementarian.org>
11708 * lyxlex.C: small cleanup
11710 2002-08-02 John Levon <levon@movementarian.org>
11712 * text2.C (status): small cleanup, no logic change
11714 2002-08-01 John Levon <levon@movementarian.org>
11717 * buffer.C (writeFile): don't output alerts, caller
11721 * lyx_cb.C: from above
11723 * lyxfunc.C: allow to open non-existent files
11725 2002-07-31 John Levon <levon@movementarian.org>
11727 * lyxserver.C: don't let incidental errors get
11730 2002-07-30 John Levon <levon@movementarian.org>
11732 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11734 2002-07-30 John Levon <levon@movementarian.org>
11737 * lyxserver.C: remove I/O callback too
11739 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11741 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11744 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
11746 * many files: strip,frontStrip -> trim,ltrim,rtrim
11748 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
11750 * PrinterParams.h: remove extern containsOnly, and include
11751 support/lstrings.h instead.
11753 * LaTeX.C (scanAuxFile): modify because of strip changes
11755 * buffer.C (makeLaTeXFile): ditto
11756 * bufferparams.C (writeFile): ditt
11757 * lyxfont.C (stateText): ditto
11758 * lyxserver.C (read_ready): ditto
11759 * vc-backend.C (scanMaster): ditto
11761 * BufferView_pimpl.h: ws changes
11763 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11765 2002-07-26 André Pönitz <poenitz@gmx.net>
11767 * kb_sequence.C: remove unnedred usings
11769 2002-07-26 Juergen Vigna <jug@sad.it>
11771 * lyxfind.C (LyXReplace): we have to check better if the returned
11772 text is not of theLockingInset()->getLockingInset().
11774 2002-07-25 Juergen Vigna <jug@sad.it>
11776 * lyxfind.C (LyXReplace): don't replace if we don't get the
11779 * undo_funcs.C (createUndo): remove debugging code.
11781 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
11783 * buffer.C (parseSingleLyXformat2Token): Use default placement
11784 when reading old floats.
11786 * FloatList.C (FloatList): Change the default placement of figure
11787 and tables to "tbp".
11789 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
11791 * MenuBackend.C: using std::max
11793 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11795 * MenuBackend.C (expandToc):
11796 (expandToc2): code moved from xforms menu frontend. It is now
11797 generic and TOCs are transparent to menu frontends.
11799 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11801 * toc.C (getTocList): protect against buf=0
11803 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11804 Menu as first parameter. Now, this calls itself recursively to
11805 expand a whole tree (this will be useful for TOC handling)
11806 (expandFloatInsert): remove 'wide' version of floats
11808 * MenuBackend.h (submenuname): returns the name of the submenu.
11809 (submenu): returns the submenu itself, provided it has been
11810 created by MenuBackend::expand
11812 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11814 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11815 insets which have noFontChange == true. (bug #172)
11817 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11819 * BufferView_pimpl.C: add connection objects and use them...
11822 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11824 * MenuBackend.C (expandLastfiles):
11827 (expandFloatListInsert):
11828 (expandFloatInsert):
11829 (expand): split expand in parts
11831 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11833 * lyx_gui.C: use lyx_gui::exit()
11835 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11837 * LyXAction.C: show the failing pseudo action
11839 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
11841 * buffer.C (readFile): Run the lyxconvert script in order to read
11844 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11848 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11850 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11854 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11856 2002-07-22 Herbert Voss <voss@lyx.org>
11859 * lyxlength.[Ch]: add support for the vertical lengths
11861 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
11863 * toc.[Ch]: std:: fixes
11865 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11867 * lyxrc.C: do not include lyx_main.h
11869 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11875 * BufferView2.C: include "lyxlex.h"
11878 * bufferparams.h: do not #include "lyxlex.h"
11880 * lyxtextclasslist.C (Add): remove method
11881 (classlist): renamed to classlist_
11883 * paragraph_pimpl.C:
11887 * bufferview_funcs.C:
11892 * toc.C (getTocList): use BufferParams::getLyXTextClass
11894 * toc.C (getTocList): use InsetFloat::addToToc
11896 * toc.[Ch]: new files, containing helper functions to handle table
11899 * lyxfunc.C (dispatch): no need to remove spaces around command
11901 (getStatus): handle LFUN_SEQUENCE by returning the status of the
11902 first command of the sequence; it is not very clever, but I do not
11903 have a better idea, actually
11905 * LyXAction.C (LookupFunc): make sure to remove space at the
11906 beginning and end of the command
11908 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11910 * MenuBackend.C (getMenubar): new method: return the menubar of
11912 (read): treat differently reading of menu and menubar (in
11913 particular, the menubar has no name now)
11914 (Menu::menubar): remove
11916 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11919 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11921 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11922 a bibitem inset in a RTL paragraph.
11924 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
11926 * paragraph_pimpl.C: constify
11928 * BufferView_pimpl.C:
11930 * lyxfunc.C: fix dispatch in a nicer way
11932 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11934 * lyxfunc.C (dispatch):
11935 * BufferView_pimpl.C:
11936 * BufferView_pimpl.h:
11938 * BufferView.h: rename Dispatch() to dispatch()
11940 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11942 * lyxlayout.C (Read): honor DependsOn tag
11944 * lyxlayout.[Ch] (depends_on): new method
11946 * version.C.in: update lyx_docversion
11948 * LaTeXFeatures.C (getMacros): only define \LyX when needed
11950 * paragraph.C (validate): remove from here...
11951 * paragraph_pimpl.C (validate): ... and move here
11952 (isTextAt): make it const
11954 * buffer.C (getLists): ws cleanup
11956 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11958 * language.C (read): Use iso8859-1 encoding in latex_lang
11959 (this prevents LyX from crashing when using iso10646-1 encoding).
11961 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11963 * text2.C (toggleInset): if cursor is inside an inset, close the
11964 inset and leave cursor _after_ it
11966 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11968 * lyxfunc.C: move minibuffer completion handling out of here
11970 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11972 * BufferView_pimpl.C:
11973 * LaTeX.C: fix dispatch calls
11975 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
11977 * text.C (drawChars): Fix Arabic text rendering.
11979 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
11983 * lyxfunc.C: remove message-push/pop
11987 * lyxfunc.C: rationalise some code by removing verboseDispatch
11988 in favour of a bool argument to dispatch()
11990 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11992 * lyx_main.C (init): make sure to read symlinks as absolute paths
11994 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11997 * lyxfunc.C: no need for commandshortcut to be a member
11999 2002-07-15 André Pönitz <poenitz@gmx.net>
12001 * converter.C: add support for $$s (scripts from lib/scripts dir)
12002 * lyx_main.C: white space
12004 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
12008 * lyxrc.C: remove second exit confirmation
12010 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
12015 * BufferView_pimpl.h:
12016 * BufferView_pimpl.C:
12017 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
12019 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12021 * MenuBackend.C (expand): add numeric shortcuts to document menu
12023 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
12025 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12027 * lyxfont.C (setLyXFamily):
12034 * buffer.C (asciiParagraph): use ascii_lowercase
12036 2002-07-15 Mike Fabian <mfabian@suse.de>
12038 * lyxlex_pimpl.C (search_kw):
12039 * lyxlex.C (getLongString):
12040 * converter.h (operator<):
12041 * converter.C (operator<):
12042 * buffer.C (parseSingleLyXformat2Token):
12044 * ToolbarDefaults.C (read):
12045 * MenuBackend.C (checkShortcuts):
12047 * LColor.C (getFromGUIName):
12048 (getFromLyXName): use the compare_ascii_no_case instead of
12049 compare_no_case, because in turkish, 'i' is not the lowercase
12050 version of 'I', and thus turkish locale breaks parsing of tags.
12052 2002-07-16 Angus Leeming <leeming@lyx.org>
12054 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
12055 now takes a Buffer const & argument.
12057 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
12059 * BufferView.C (resize): check there's a buffer to resize
12061 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
12063 * lyxfunc.C: remove dead code
12066 * lyxserver.C: use lyx_guii::set_read_callback
12068 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
12070 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
12071 an inset in a RTL paragraph.
12073 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
12075 * lyxfunc.C: repaint after a font size update
12077 2002-07-15 André Pönitz <poenitz@gmx.net>
12079 * lyxlength.C: inBP should be able to return negative values
12081 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
12083 * lyxfunc.C: use lyx_gui::update_fonts()
12085 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
12087 * lyxfunc.C: use lyx_gui::update_color()
12089 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
12095 * lyxrc.C: remove file->new asks for name option, and let
12096 buffer-new take an argument
12098 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
12100 * BufferView_pimpl.C: remove unneeded extra repaint()
12102 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
12104 * LyXAction.C: allow command-sequence with NoBuffer
12106 * lyxfunc.C: don't insist on trailing ';' for command-sequence
12108 2002-07-10 Angus Leeming <leeming@lyx.org>
12110 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
12112 2002-07-09 Angus Leeming <leeming@lyx.org>
12114 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
12116 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
12118 * lengthcommon.h: whitespace
12120 * lyxfunc.C: update scrollbar after goto paragraph
12122 * lyxtext.h: factor out page break drawing, and fix it so
12123 page break/added space paints as selected nicely
12125 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
12127 * BufferView_pimpl.C: add FIXMEs, clean up a little
12129 2002-07-09 André Pönitz <poenitz@gmx.net>
12131 * lyxfont.[Ch]: support for wasy symbols
12133 2002-07-08 André Pönitz <poenitz@gmx.net>
12135 * BufferView_pimpl.C: apply John's patch for #93.
12137 2002-07-05 Angus Leeming <leeming@lyx.org>
12139 * BufferView_pimpl.C (buffer): generate previews if desired.
12141 * LColor.h: add "preview" to the color enum.
12143 * LColor.C (LColor): add a corresponding entry to the items array.
12145 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
12148 2002-07-05 Angus Leeming <leeming@lyx.org>
12150 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
12151 The body of the code is now in the method that is passed an ostream &
12152 rather than a file name.
12153 Pass an additional only_preamble parameter, useful for the forthcoming
12156 2002-07-03 André Pönitz <poenitz@gmx.net>
12158 * lyxfunc.C: simplify getStatus() a bit for math stuff
12160 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12162 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
12164 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12166 * text.C (changeRegionCase): do not change case of all the
12167 document when region ends at paragraph end (bug #461)
12169 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12171 * paragraph.C (startTeXParParams):
12172 (endTeXParParams): add \protect when necessary
12174 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12176 * BufferView_pimpl.C (workAreaExpose): remove warning
12178 2002-06-27 Angus Leeming <leeming@lyx.org>
12180 * Makefile.am: add lyxlayout_ptr_fwd.h.
12182 2002-06-26 André Pönitz <poenitz@gmx.net>
12184 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
12186 2002-06-25 Angus Leeming <leeming@lyx.org>
12188 * lyxfunc.C (dispatch): Comment out the call to
12189 grfx::GCache::changeDisplay. The method no longer exists now that the
12190 pixmap generation part of the graphics loader has been moved into
12193 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12195 * text2.C: layout as layout
12197 * text.C: layout as layout
12199 * tabular.C (OldFormatRead): layout as layout
12201 * paragraph_pimpl.C (TeXDeeper): layout as layout
12202 (realizeFont): layout as layout
12204 * paragraph.C (writeFile): layout as layout
12205 (validate): layout as layout
12206 (getFont): layout as layout
12207 (getLabelFont): layout as layout
12208 (getLayoutFont): layout as layout
12209 (breakParagraph): layout as layout
12210 (stripLeadingSpaces): layout as layout
12211 (getEndLabel): layout as layout
12212 (getMaxDepthAfter): layout as layout
12213 (applyLayout): layout as layout
12214 (TeXOnePar): layout as layout
12215 (simpleTeXOnePar): layout as layout
12216 (TeXEnvironment): layout as layout
12217 (layout): layout as layout
12218 (layout): layout as layout
12220 * lyxtextclass.C (compare_name): new functor to work with
12221 shared_ptr, layout as layout
12222 (Read): layout as layout
12223 (hasLayout): layout as layout
12224 (operator): layout as layout
12225 (delete_layout): layout as layout
12226 (defaultLayout): layout as layout
12228 * lyxlayout_ptr_fwd.h: new file
12230 * lyxlayout.C (Read): layout as layout
12232 * lyx_cb.C (MenuInsertLabel): layout as layout
12234 * bufferlist.C (newFile): layout as layout
12236 * buffer.C (readLyXformat2): layout as layout
12237 (parseSingleLyXformat2Token): layout as layout
12238 (insertStringAsLines): layout as layout
12239 (asciiParagraph): layout as layout
12240 (latexParagraphs): layout as layout
12241 (makeLinuxDocFile): layout as layout
12242 (simpleLinuxDocOnePar): layout as layout
12243 (makeDocBookFile): layout as layout
12244 (simpleDocBookOnePar): layout as layout
12245 (getLists): layout as layout
12247 * LaTeXFeatures.C (getTClassPreamble): layout as layout
12249 * CutAndPaste.C (cutSelection): layout as layout
12250 (pasteSelection): layout as layout
12251 (SwitchLayoutsBetweenClasses): layout as layout
12253 * BufferView_pimpl.C (Dispatch): layout as layout
12254 (smartQuote): layout as layout
12256 * BufferView2.C (unlockInset): layout as layout
12258 2002-06-24 André Pönitz <poenitz@gmx.net>
12260 * lyxfunc.C: fix #487
12262 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12266 * lyxfunc.C: remove display_shortcuts, show_banner
12268 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12270 * Buffer_pimpl.C: oops, update on resize
12272 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12279 * BufferView.C: use repaint()
12281 * BufferView_pimpl.h:
12282 * BufferView_pimpl.C: s/updateScreen()/repaint()/
12283 as it's a clearer description. Remove superfluous
12286 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12288 * text.C: fix bug 488. Not ideal, but getting
12289 getWord() to work properly for the insets that
12290 matter is more difficult ...
12292 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12294 * BufferView_pimpl.C:
12297 * lyxfunc.C: remove the six million index lyxfuncs to just
12298 one, and DTRT (bug 458)
12300 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12304 * BufferView_pimpl.h:
12305 * BufferView_pimpl.C: clean up resize() stuff,
12306 and unnecessary updateScreen()s
12308 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12312 * BufferView_pimpl.h:
12313 * BufferView_pimpl.C:
12316 * minibuffer.C: remove focus management of workarea,
12317 not needed. Use screen's greyOut()
12319 2002-06-17 Herbert Voss <voss@lyx.org>
12321 * converter.C: (convert) do not post a message, when converting
12322 fails, let the calling function decide what to do in this case
12324 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
12326 * lyxfunc.C: tidy up a little
12328 2002-06-16 <alstrup@diku.dk>
12330 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
12331 Got rid of FORMS_H_LOCATION include. Now we are
12334 2002-06-15 LyX Development team <lyx@rilke>
12336 * buffer.[Ch] (sgmlOpenTag):
12337 (sgmlCloseTag): Added support for avoiding pernicious mixed
12338 content. Return number of lines written.
12340 (makeLinuxDocFile):
12341 (makeDocBookFile): Fixed calls to sgml*Tag.
12342 Simple white space clean.
12344 (simpleDocBookOnePar): Simple white space clean.
12346 * tabular.[Ch] (docBook): Renamed to docbook and got another
12347 argument to related with the pernicious mixed content.
12349 (docbookRow): Fixed calls for docbook inset method.
12351 2002-06-15 Lyx Development team <larsbj@birdstep.com>
12353 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
12354 so it's X11 independent.
12358 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
12360 2002-06-15 Lyx Development team <lyx@electronia>
12362 * intl.h: Renamed getTrans to getTransManager.
12364 2002-06-14 Angus Leeming <leeming@lyx.org>
12366 * Makefile.am: nuke forgotten stl_string_fwd.h.
12368 2002-06-12 Angus Leeming <leeming@lyx.org>
12370 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
12372 2002-06-13 Angus Leeming <leeming@lyx.org>
12375 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
12377 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
12379 * kbmap.C (getiso): add support for cyrillic and greek
12381 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12385 * BufferView_pimpl.h:
12386 * BufferView_pimpl.C: move bogus scrolling logic
12389 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12392 * BufferView_pimpl.C: view->resize() change
12394 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12396 * BufferView_pimpl.C: topCursorVisible
12399 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12403 * lyx_gui.C: move to frontends/
12407 * lyx_main.C: changes from above
12409 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12416 * lyx_main.C: minor tidy
12418 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12420 * BufferView_pimpl.h:
12421 * BufferView_pimpl.C:
12423 * BufferView.C: make painter() const,
12426 * BufferView2.C: use screen() accessor
12429 * lyx_main.C: some minor cleanup
12431 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12433 * BufferView_pimpl.h:
12434 * BufferView_pimpl.C: remove enter/leaveView,
12437 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12442 * BufferView_pimpl.h:
12443 * BufferView_pimpl.C: only construct screen once,
12446 * lyxrc.C: remove pointless comment
12448 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
12451 * BufferView.C: remove active() and belowMouse()
12453 * BufferView_pimpl.h:
12454 * BufferView_pimpl.C: use workarea() not workarea_,
12455 and make it use a scoped_ptr instead
12457 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
12459 * lyx_gui.C: add debug message on BadWindow
12461 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12463 * sp_spell.C: fdopen is not part of the C++ standard.
12465 * paragraph.C (InsetIterator): use >= instead of ==
12467 2002-06-07 Angus Leeming <leeming@lyx.org>
12469 Fixes needed to compile with Compaq cxx 6.5.
12470 * BufferView_pimpl.C:
12477 * lyxtextclasslist.C:
12482 all c-library variables have been moved into namespace std. Wrap
12483 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12488 Add a using std::abs declaration.
12490 * kbmap.h (modifier_pair):
12491 * paragraph.h (InsetTable, InsetList):
12492 * lyxfont.h (FontBits):
12493 type definition made public.
12495 * bufferlist.C (emergencyWriteAll): the compiler complains that
12496 there is more than one possible lyx::class_fun template to choose from.
12497 I re-named the void specialisation as lyx::void_class_fun.
12499 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12501 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12502 the compiler is is unable to find tostr in write_attribute.
12504 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12506 * buffer.C (sgmlError): hide #warning
12508 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12510 * xtl/*: get rid of xtl, which is not in use anyway
12512 * LyXAction.C (init):
12513 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12514 were unimplemented xtl experimentation
12516 2002-06-04 André Pönitz <poenitz@gmx.net>
12518 * lyxfunc.C: disable array operation on simple formulae
12520 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
12522 * converter.C: constify a bit
12524 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
12526 * lyx_gui.C: check xforms version correctly
12528 2002-04-30 Herbert Voss <voss@lyx.org>
12530 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12533 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
12535 * lyxvc.C: fix bug 416 (make sure buffer is saved before
12536 attempt to register it with a VCS)
12538 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12540 * lyx_main.C (init): honor variables LYX_DIR_13x and
12543 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12547 * lyx_main.C: fix a crash on bad command line,
12548 and give a useful exit status on error
12550 * lyxfunc.C (doImport): allow -i lyx to work
12552 2002-03-30 André Pönitz <poenitz@gmx.net>
12554 * lyxfunc.C: mathed font changes
12556 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12571 * trans_mgr.h: srcdocs, and some minor cleanups
12573 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12575 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12576 call getFont all the time)
12578 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12580 * switch from SigC signals to boost::signals
12582 2002-05-29 André Pönitz <poenitz@gmx.net>
12584 * paragraph_pimpl.C (getChar): don't call size() too often...
12586 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12588 * paragraph_pimpl.C (insertChar): do not try to update tables when
12589 appending (pos == size())
12591 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12592 in order to reduce drastically the number of comparisons needed to
12593 parse a large document
12595 2002-05-29 André Pönitz <poenitz@gmx.net>
12601 * textclasslist.[Ch]:
12602 * sp_ispell.h: whitespace change
12604 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12606 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12607 lyxaction directly now.
12609 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
12613 * lyxvc.C: remove unused headers
12615 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12622 * undo_funcs.C: some cleanups. Use shared_ptr
12623 and a template for the undo stacks.
12625 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12627 * BufferView_pimpl.h:
12628 * BufferView_pimpl.C:
12635 * text2.C: use key_state/mouse_state
12637 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12639 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12642 * chset.C: change include order
12643 (loadFile): use boost regex and get rid of LRegex and LSubstring
12645 * Makefile.am (BOOST_LIBS): new variable
12646 (lyx_LDADD): use it
12648 * LaTeX.C: change include order.
12649 (scanAuxFile): use boost regex and get rid of LRegex and
12653 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12658 * FontInfo.C: moved to frontends/xforms/
12661 * FontLoader.C: moved into frontends for GUIIzation
12666 * lyxfunc.C: changes from above
12668 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12670 * LColor.C: remove spurious X include
12672 * BufferView_pimpl.C:
12677 * text2.C: move font metrics to frontends/
12679 2002-05-24 Juergen Vigna <jug@sad.it>
12681 * undo_funcs.C (textHandleUndo): fix the cursor selection after
12682 setting the undo_cursor.
12684 * ParagraphParameters.h: include local includes first.
12686 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12688 * BufferView_pimpl.C:
12689 * BufferView_pimpl.h:
12693 * screen.C: move WorkArea into frontends/
12699 * BufferView2.C: move LyXScreen into frontends/
12703 * lyx_gui.C: move lyxlookup into frontends/xforms/
12705 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12708 * BufferView_pimpl.C:
12718 * bufferview_funcs.C:
12731 * vc-backend.C: move LyX/XFormsView into frontends/
12733 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12745 * text2.C: move Painter to frontends/
12747 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
12749 * buffer.C: comment out some some code that depend upon lyx_format
12752 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12753 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12755 * buffer.h (NO_COMPABILITY): turn off compability
12757 * ColorHandler.C: include scoped_array.hpp
12759 * font.C: Use more specific smart_ptr header.
12762 * ShareContainer.h: ditto
12763 * lyx_main.h: ditto
12765 * FontInfo.h: ditto
12766 * BufferView_pimpl.h: ditto
12767 * ColorHandler.h: ditto
12769 * kbmap.C (defkey): change call to shared_ptr::reset
12771 2002-05-21 Juergen Vigna <jug@sad.it>
12773 * buffer.C (insertErtContents): fix to insert ert asis if it is
12774 non empty. Skip it completely if it contains only whitespaces.
12776 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
12778 * BufferView_pimpl.C:
12779 * BufferView2.C: clear selection on paste (bug 393)
12781 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12783 * DepTable.C: include ctime
12785 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
12787 * buffer.C (latexParagraphs): Add new argument (moving_arg).
12789 2002-05-14 Juergen Vigna <jug@sad.it>
12791 * text.C (breakParagraph): fixed function to honor the keepempty
12792 layout in the right maner and also to permit the right breaking
12793 algorithm on empty or non empyt keepempty paragraphs.
12795 * paragraph.C (breakParagraph): we have to check also if the par
12796 is really empty (!size()) for isempty otherwise we do the wrong
12799 2002-05-10 Juergen Vigna <jug@sad.it>
12801 * buffer.[Ch] : The following are only changes to the ert
12802 compatibility read reading old LaTeX layout and font stuff and
12803 convert it to ERTInsets.
12805 * buffer.h: added isErtInset().
12807 * buffer.C (struct ErtComp): add a fromlayout bool to check
12808 if we're inside a LaTeX layout.
12809 (isErtInset): new helper function.
12810 (insertErtContents): look for other ert insets before this one
12811 and insert the contents there, so that we don't have subsequent
12812 ERT insets with nothing between them. This way we create only one
12813 inset with multiple paragraphs. Also check if we don't insert only
12814 spaces ' ' as they are ignored anyway afterwards in the .tex file
12815 so if we have only spaces we will ignore this latex part in the
12817 (parseSingleLyXformat2Token \\layout): better compatibility when
12818 reading layout-latex stuff.
12819 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12821 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12822 stuff after reading the inset only get the information back from
12825 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
12827 * buffer.C (makeLaTeXFile): Put language options after loading babel.
12829 * LaTeXFeatures.C (getBabelOptions): New method.
12831 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12833 * BufferView_pimpl.C (Dispatch): work around missing argument for
12836 2002-05-08 Juergen Vigna <jug@sad.it>
12838 * text.C (leftMargin): handle paragraph leftindent.
12840 * paragraph.C (writeFile): write the new \\leftindent tag.
12841 (validate): handle leftindent code.
12842 (TeXEnvironment): handle paragraphleftindent code again.
12844 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12846 * buffer.C (parseSingleLyXformat2Token): added compatibility code
12847 for paragrap_extra indent code and new token \\leftindent.
12848 (latexParagraphs): handle the leftindent as environment.
12850 * ParameterStruct.h: added leftindent support.
12852 * ParagraphParameters.C (leftIndent): added support functions for
12853 the paragraph left indent.
12855 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12858 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
12860 * paragraph.C (isRightToLeftPar): Return false for a paragraph
12863 * text.C (computeBidiTables): No bidi in insetERT.
12865 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12868 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12870 * version.C.in: pre 5
12872 2002-05-02 José Matos <jamatos@fep.up.pt>
12873 * buffer.C (makeDocBookFile): white space changes, add newline to
12875 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12877 * tabular.C (docBook): fix typo.
12879 2002-05-03 Juergen Vigna <jug@sad.it>
12881 * screen.C (drawFromTo): recalculate the rowpointer if we had a
12882 change in LyXText as we can not be sure it was not freed.
12883 (drawOneRow): remove unused code.
12885 * text.C (drawInset): redo the calculation of the need_break_row as
12886 it could have a row which was already freed.
12887 (draw): look at the return value of drawInset and return false if
12888 it also returned false.
12889 (paintRowText): look at the return value of draw and return false if
12890 it also returned false.
12892 * lyxtext.h: added bool return type to drawInset() and draw() so that
12893 if we have a change in the row so that the rowbreak has to be redone
12894 we abort drawing as it will be called again.
12896 2002-05-02 Juergen Vigna <jug@sad.it>
12898 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12899 a change in the maintext also if we're inside an inset.
12900 (Dispatch): set the cursor again after a break line and after the
12901 screen has been updated as it could be we're in a different row.
12903 * text2.C (fixCursorAfterDelete): check to make sure we don't request
12904 to set the cursor behind the pargraph with > size().
12905 (setCursor): check also for the same paragraph when checking where
12906 to put the cursor if we have a NFR inset.
12908 * buffer.C (parseSingleLyXformat2Token): move the compatibility
12909 parts of layout read further up as it still was in the wrong
12912 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12914 * screen.C (drawFromTo): change sine fullRebreak always return
12917 * buffer.C (parseSingleLyXformat2Token): reindent some
12919 * BufferView_pimpl.C (update): change since fullRebreak always
12921 (Dispatch): git rid of the last hardcoded "Standard"s.
12923 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
12925 * text2.[Ch] (fullRebreak): make it return void now that we always
12928 2002-04-30 Juergen Vigna <jug@sad.it>
12930 * buffer.C (parseSingleLyXformat2Token): reset the font before the
12931 ert compatibility check for "latex" layout.
12933 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
12935 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12936 minipages: use col% instead of p%, and also use the current font.
12937 (makeLaTeXFile): Fix use babel condition.
12938 (parseSingleLyXformat2Token): Correct font when reading old floats.
12940 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
12942 * BufferView_pimpl.C (Dispatch): Check that float type exists when
12943 inserting list of floats.
12945 2002-04-25 Herbert Voss <voss@lyx.org>
12947 * MenuBackend.C (expand): don't add the graphics extensions to the
12950 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12952 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12953 non-existing layout, do not complain if it was the default layout
12954 of the original class (bug #342)
12956 2002-04-24 Juergen Vigna <jug@sad.it>
12958 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12959 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12961 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
12963 * buffer.C (getBibkeyList): If using \bibliography, return the
12964 option field with the reference itself. Enables us to provide natbib
12965 support when using \bibliography.
12967 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
12969 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12971 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12972 natbib is provided by the LaTeX class.
12974 2002-04-23 Juergen Vigna <jug@sad.it>
12976 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12979 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12981 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12983 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12985 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12986 ensuremath around textordmasculine, textordfeminine and
12989 2002-04-19 Juergen Vigna <jug@sad.it>
12991 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12992 reinitializing the buffer otherwise row-dimensions may be wrong.
12993 (update): reset also the selection cursors if they do exits otherwise
12994 their x/y positions may be wrong.
12996 * text2.C (cursorDown): don't enter the inset if we came from a row
12997 above and are one row over the inset.
12999 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
13000 really leaving an inset.
13002 2002-04-18 Juergen Vigna <jug@sad.it>
13004 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
13005 of the selected paragraph does not have the selected layout also if
13008 * text2.C (setLayout): fixed bug which did not change last selected
13011 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
13012 changed the read and substituted \\end_float with \\end_inset!
13014 * BufferView_pimpl.C (cursorPrevious):
13015 (cursorNext): fixed to make it work with rows heigher than the work
13016 area without moving the cursor only the draw of the row.
13017 (workAreaMotionNotify): fix jumping over high rows.
13019 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13021 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
13024 2002-04-16 Juergen Vigna <jug@sad.it>
13026 * text2.C (setCursor): set also the irow().
13027 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
13029 (cursorDown): support for locking an inset if the x_fix value goes
13030 inside it. That way I can transverse insets too with cursor up/down.
13032 * lyxrow.h: added irow helper function same as other (i) functions.
13034 * BufferView_pimpl.C (cursorPrevious):
13035 (cursorNext): fixed for insets!
13037 2002-04-15 Juergen Vigna <jug@sad.it>
13039 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
13040 position otherwise it is wrong in some cases.
13042 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
13043 inside the inset before the call.
13045 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
13047 * buffer.[Ch] (getBibkeyList): make it const.
13049 2002-04-12 Juergen Vigna <jug@sad.it>
13051 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
13053 * text2.C (getCursorX): new helper function
13054 (setCursor): compute also ix_
13055 (setCursorFromCoordinates): set also ix.
13057 * lyxcursor.h: added ix_ and helper functions.
13059 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
13061 * buffer.C (insertStringAsLines): dont break paragraph if the this
13062 paragraph is inside an inset which does not permit it!
13064 * text.C (breakParagraph): honor keepempty flag and break the paragraph
13065 also with no chars on this paragraph.
13066 (paintRowText): only paint stuff if it's inside the workarea!
13068 * paragraph.C (breakParagraph): honor keepempty flag and break the
13069 paragraph always below not above.
13071 * BufferView2.C (unlockInset): update the paragraph layout on inset
13072 unlock as we changed paragraph in such a case.
13074 * lyxfind.C (LyXFind): clear the former selection if not found!
13076 * text2.C (insertInset): freeze Undo after setUndo so that it is not
13077 again called in insertChar().
13079 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
13080 an inset which uses the whole row!
13081 (rightMargin): ditto.
13082 (insertChar): force a rebreak if we inserted an inset!
13084 2002-03-28 Herbert Voss <voss@lyx.org>
13086 * lyxlength.[Ch]: add inBP() to get the right PS-point
13087 units (BigPoint). With inPixels we have rounding errors
13089 2002-04-11 Juergen Vigna <jug@sad.it>
13091 * text2.C (setCursorFromCoordinates): set iy to the right value.
13092 (setCursor): add check if row->previous exists!
13094 * buffer.C (parseSingleLyXformat2Token): reset font after read of
13095 an old float_type as this was the case in the old code!
13097 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
13099 * BufferView2.C (showLockedInsetCursor): use iy
13100 (fitLockedInsetCursor): ditto
13102 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
13103 locked insets as there we have the right value now.
13105 * lyxcursor.C: added iy_ variable and iy functions to set to the
13106 baseline of cursor-y of the locked inset.
13108 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
13109 (setCursor): fixed for insets which need a full row.
13111 * text.C (rowLastPrintable): don't ignore the last space when before
13112 an inset which needs a full row.
13113 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
13114 as last character of a row when before a inset which needs a full row.
13116 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13118 * version.C.in: update date
13120 * text2.C (fullRebreak): try to always return true and see what
13123 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13125 * MenuBackend.C (expand): use Floating::listName
13127 * FloatList.C (FloatList): add listName argument to the built-in
13130 * Floating.[Ch]: add listName member, which is the 'List of XXX'
13131 text associated with the float.
13133 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13135 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
13137 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13139 * ShareContainer.h: add a couple of missing typenames.
13141 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
13143 * lyxrc.C (getDescription): use _() correctly rather than N_().
13145 2002-03-28 Herbert Voss <voss@lyx.org>
13147 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
13148 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
13150 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13152 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
13153 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
13155 2002-03-29 Juergen Vigna <jug@sad.it>
13157 * lyxfunc.C (dispatch): add a missing fitCursor call.
13159 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
13160 it was scrolled by a cursor move, so return the bool status.
13162 * BufferView.C (fitCursor): return the bool flag also to the outside
13163 world as this is needed.
13165 * screen.C (toggleToggle): don't subtract the offset if it's positive.
13167 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
13168 call the edit() as it is not needed (and wrong) IMO.
13169 (workAreaButtonPress): set the screen_first variable before evt.
13170 unlock the inset as this may change screen_first and then we have
13171 a wrong y position for the click!
13173 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13175 * MenuBackend.C (expand): another translation that I missed
13177 2002-03-28 Juergen Vigna <jug@sad.it>
13179 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
13181 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
13183 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13185 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
13187 * MenuBackend.C (expand): fix export/view/update when there is no
13190 2002-03-27 Herbert Voss <voss@lyx.org>
13192 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
13195 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13197 * bufferview_funcs.C (currentState): only show paragraph number
13198 for is DEVEL_VERSION is set.
13200 * lyxfunc.C (dispatch): put warning in INFO channel
13202 * MenuBackend.C (expand): translate the name of floats
13204 * FloatList.C (FloatList): mark the float names for translation
13206 * converter.C (convert): use LibScriptSearch
13208 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13210 * MenuBackend.C (defaults): fix default menu (we might as well get
13213 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13215 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
13218 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13220 * lyxvc.C: reorder includes.
13222 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
13224 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
13227 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
13229 * CutAndPaste.C: change layouts earlier on paste
13230 to avoid crashing when calling getFont()
13232 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
13234 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
13237 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
13239 * WorkArea.C: remove 'Pending' debug message.
13241 * most files: ws cleanup
13243 * buffer.[Ch]: ws changes
13245 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
13247 2002-03-21 Juergen Vigna <jug@sad.it>
13249 * tabular.C (SetMultiColumn): collapse also the contents of the
13250 cells and set the last border right. Added a Buffer const * param.
13252 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
13254 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
13257 2002-03-19 Juergen Vigna <jug@sad.it>
13259 * text2.C (clearSelection): reset also xsel_cache.
13261 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
13262 where it needs to be called (John tells us to do so too :)
13263 (selectionLost): reset sel_cache.
13265 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
13267 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13269 * text2.C (setCursorIntern): put debuging code in INSETS channel
13271 2002-03-19 André Pönitz <poenitz@gmx.net>
13273 * lyxfunc.C: tiny whitespace change
13275 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13277 * ToolbarDefaults.C (init):
13278 * LyXAction.C (init):
13280 * BufferView_pimpl.C (Dispatch):
13281 * lyxfunc.C (dispatch): remove LFUN_DEPTH
13283 2002-03-19 Allan Rae <rae@lyx.org>
13285 * exporter.C (Export): removeAutoInsets before doing anything else.
13286 While I've just introduced a dependency on BufferView this really is
13287 the best place to clean the buffer otherwise you need to cleanup in
13288 a dozen places before calling export or cleanup in a dozen functions
13291 * converter.C (runLaTeX):
13292 (scanLog): Better handling of removeAutoInsets and screen updates.
13294 * lyxfunc.C (dispatch): small whitespace changes
13296 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13298 * WorkArea.C (C_WorkAreaEvent): return a value.
13299 (event_cb): return 1 if we handled the event, 0 otherwise.
13301 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
13303 2002-03-18 Juergen Vigna <jug@sad.it>
13305 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
13306 (GetAdditionalWidth): ditto.
13307 (RightLine): ditto.
13310 * BufferView2.C (copy): use getLyXText() so that we do it inside an
13311 inset if we're there actually (probably not used right now but this
13312 is the direction to go for unifying code).
13313 (paste): disable code to clear the selection.
13315 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
13316 inside an InsetText and move the check further up as it is in the
13319 * text2.C (pasteSelection): set a selection over the pasted text.
13321 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
13323 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
13324 and libgraphics to build on Cygwin.
13326 2002-03-15 Juergen Vigna <jug@sad.it>
13328 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
13329 inserting an Inset into the paragraph. I know this is not the best
13330 fix but we already use current_view in CutAndPaste so we will remove
13331 all of it's using at the same time.
13333 * buffer.C (sgmlError): deactivated function till it is rewritten in
13334 the right mode, now it can create problems.
13336 * paragraph.C (isLineSeparator): check if getInset returns != 0,
13337 before accessing it.
13339 2002-03-14 Juergen Vigna <jug@sad.it>
13341 * undo_funcs.C (textHandleUndo): do the right thing when updating
13342 the inset after the undo/redo.
13344 * text2.C (setCursor): just some testcode for #44 not ready yet.
13346 * undo_funcs.C (textHandleUndo): set the next() and previous()
13347 pointers of the paragraph to 0 before deleting otherwise we have
13348 problems with the Paragraph::[destructor].
13350 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
13351 on a paragraph insertion.
13353 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13355 * buffer.C (asciiParagraph): use += operator for char append to
13358 * paragraph.C (getFontSettings): compare >= not just >
13359 (highestFontInRange): ditto
13362 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13364 * paragraph.C: change several algorithm to be more appripriate for
13365 the problem domain. This is lookip in FontList and in the InsetList.
13367 2002-03-13 André Pönitz <poenitz@gmx.net>
13370 * LyXAction.C: remove unused LFUN_MATH_MACROARG
13372 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
13377 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
13379 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13381 * Painter.C (display): anon helper function, adjust code for this
13383 (pixmap): remove function.
13385 * Painter.h: remove private display variable.
13387 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
13389 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
13391 * WorkArea.[Ch]: remove figinset_canvas cruft.
13393 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13395 * lyxtextclass.C (operator): add one item cache optimization.
13397 * bufferlist.h: doxy changes
13399 * bufferlist.C: ws changes
13401 * DepTable.[Ch] (ext_exist): place const in the right spot.
13403 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
13405 (workAreaExpose): call resizeInsets when the with BufferView changes.
13406 (Dispatch): adjust for protectedBlank removal
13407 (specialChar): call updateInset if the insert went ok.
13409 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
13410 specialChar instead.
13412 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
13414 * BufferView.h: doxy change
13416 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
13418 * lyxtextclass.C (operator[]): remove non-const version
13419 (defaultLayout): remove non-const version
13421 2002-03-12 Juergen Vigna <jug@sad.it>
13423 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
13424 did resize the LyXText too.
13426 * buffer.C (readLyXformat2): set layout information on newly allocated
13429 * tabular.C (OldFormatRead): set layout information on the paragraph.
13431 2002-03-12 Jos�Ab�io Oliveira Matos <jamatos@novalis.fc.up.pt>
13433 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
13435 2002-03-11 Juergen Vigna <jug@sad.it>
13437 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
13439 (resizeCurrentBuffer): force also the insets to resize themselfes.
13440 (moveCursorUpdate): fixed up for InsetText.
13442 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
13445 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
13446 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
13447 value of Dialogs::tooltipsEnabled().
13448 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
13450 2002-03-08 Juergen Vigna <jug@sad.it>
13452 * BufferView_pimpl.C (updateInset): update inset inside inset also
13453 if it isn't inside theLockingInset().
13455 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13457 * buffer.C (asciiParagraph): redo some of the word and line length
13459 (getLists): look for Caption instead of caption.
13461 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13463 * buffer.C (Buffer): initialize niceFile to true
13465 (makeLinuxDocFile):
13466 (makeDocBookFile): make sure niceFile is true on exit
13468 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13470 * buffer.C (makeLaTeXFile): escape ~ in \input@path
13472 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
13474 * LyXSendto.C: remove.
13475 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13476 * lyx_gui.C: remove now-redundant comment.
13477 * ColorHandler.h: remove forward declaration of class WorkArea.
13478 * lyxfunc.C: remove #include "WorkArea.h".
13480 2002-03-07 Juergen Vigna <jug@sad.it>
13482 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13483 got moved away with the DEPM and also set the inset_owner always
13484 right which before could have been omitted.
13486 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13488 * buffer.C (parseSingleLyXformat2Token): use default layout is the
13489 wanted layout is not found.
13491 2002-03-07 Juergen Vigna <jug@sad.it>
13493 * CutAndPaste.C (cutSelection): another layout settings forgotten.
13495 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13497 * paragraph.C (breakParagraph): use default layout not layout of
13499 (Paragraph): clear ParagraphParameters.
13501 2002-03-06 Juergen Vigna <jug@sad.it>
13503 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13504 otherwise it would not be a valid lenght. Fixed a special case in
13505 the minipage compatibility read where we end the document with a
13508 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13509 was set as it could be 0 for InsetTexts first entry.
13511 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13513 * paragraph.C (writeFile): if layout is empty write out
13514 defaultLayoutName().
13516 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13517 file without named layout we set layout to defaultLayoutName().
13519 2002-03-06 Juergen Vigna <jug@sad.it>
13521 * CutAndPaste.C (copySelection): set layout for new paragraph.
13523 * text.C (prepareToPrint): leave ERT inset left aligned
13524 (leftMargin): don't indent paragraphs inside ERT insets
13526 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13528 * paragraph.C (breakParagraph): dont call clear do the work manually
13530 * paragraph.[Ch] (clear): remove function
13532 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13534 * paragraph.C (Paragraph): dont call clear, the work has already
13537 * lyxtextclass.C (operator): assert if n is empty
13539 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13540 work manually instead.
13542 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13544 * BufferView_pimpl.C: protect selectionLost against text == 0
13546 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13548 * text.C (breakParagraph): fix a setting layout to '0' problem.
13550 2002-03-05 Jos�Ab�io Oliveira Matos <jamatos@novalis.fc.up.pt>
13552 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13553 final location of file, for the included files, and graphics.
13555 2002-03-05 Juergen Vigna <jug@sad.it>
13557 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13559 2002-03-04 Juergen Vigna <jug@sad.it>
13561 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13563 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13564 last column of multicolumn cells.
13565 (SetWidthOfMulticolCell): recalculate NMC and real columns.
13567 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
13569 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13570 file if it doesn't go to a temporary file.
13572 * buffer.C (sgmlOpenTag):
13573 (sgmlCloseTag): remove extra newline insertion.
13575 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13577 * text.C (getRowNearY): comment out debug msg
13579 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13581 * text2.C: first -> first_y
13583 * text.C (getRowNearY): add some attemts at a possible
13584 optimization, not working.
13586 * tabular.[Ch]: add BufferParams to several function so that newly
13587 created paragraph can be initialized to he default layotu for the
13590 * tabular-old.C (ReadOld): add buf->params to call of Init
13592 * screen.C: rename text->first to text->first_y
13594 * paragraph.C (breakParagraph): always set layout in the broken
13597 * lyxtextclass.C (Read): remove lowercase
13600 (delete_layout): ditto
13602 * lyxtext.h: rename first -> first_y
13604 * lyxlayout.C (Read): remove lowercase
13607 (obsoleted_by): ditto
13609 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13611 * buffer.C (insertErtContents): add params are to InsetERT
13612 (parseSingleLyXformat2Token): add code to check if a paragraphs
13613 layout really exist.
13614 (parseSingleLyXformat2Token): add params to several inset
13616 (asciiParagraph): remove lowercase, do the layout comparisons with
13619 * BufferView_pimpl.C (cursorNext): first -> first_y
13620 (resizeCurrentBuffer): first -> first_y
13621 (updateScrollbar): first -> first_y
13622 (scrollCB): first -> first_y
13623 (workAreaMotionNotify): first -> first_y
13624 (workAreaButtonPress): first -> first_y
13625 (checkInsetHit): first -> first_y
13626 (cursorPrevious): first -> first_y
13627 (cursorNext): first -> first_y
13628 (Dispatch): add buffer_->params to severl inset contructors
13630 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13632 * lyxlayout.C (Read): remove some debug info that I forgot.
13634 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13635 clean up the code slightly.
13636 (makeLinuxDocFile): ditto
13637 (makeDocBookFile): ditto
13639 * text2.C: layout as string
13641 * text.C: layout as string
13643 * paragraph_pimpl.C: layout as string
13645 * paragraph.[Ch]: layout as string
13647 * lyxtextclasslist.[Ch]: layout as string
13649 * lyxtextclass.[Ch]: layout as string
13651 * lyxtext.h: layout as string
13653 * lyxlayout.[Ch]: layout as string
13655 * lyx_cb.C: layout as string
13657 * bufferview_funcs.C: layout as string
13659 * bufferparams.C: layout as string
13661 * buffer.C: layout as string
13663 * LyXView.[Ch]: layout as string
13665 * LaTeXFeatures.[Ch]: layout as string
13667 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13669 * BufferView_pimpl.C: change current_layout to string, remove
13674 (workAreaButtonRelease): layout as string
13676 * BufferView2.C (unlockInset): adjust
13678 * vspace.C (asLatexCommand): use an explict temp variable.
13680 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13682 * Makefile.am: use FRONTEND_*
13684 2002-03-01 Juergen Vigna <jug@sad.it>
13686 * tabular.C (SetWidthOfMulticolCell): changed to something better
13687 I hope but still work in progress.
13688 (recalculateMulticolumnsOfColumn): renamed function from
13689 recalculateMulticolCells as it is more appropriate now.
13690 (SetWidthOfCell): calculate multicols better.
13692 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13694 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13696 * lyxfunc.C (processKeySym): print sequence also if it is
13697 `deleted' (complete)
13699 * kbsequence.C (print): print sequence even if it is deleted
13700 (complete would be a better word, actually).
13702 * lyxfunc.C (dispatch): print complete options after a prefix key
13704 * vspace.C (asLatexCommand): rewrite in a slightly different form.
13706 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
13708 * text2.C (setCharFont): eliminate setCharFont code duplication.
13710 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13712 * BufferView_pimpl.C (Dispatch): remove bogus handling of
13713 LFUN_TABULAR_FEATURE (bug #177)
13715 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
13717 * Makefile.am: remove figure.h
13719 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
13721 * Bufferview_pimpl.C:
13733 * text2.C: remove #include "lyx_gui_misc.h".
13735 * LaTeX.C: added #include <cstdio>
13737 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13739 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13740 that the paragraph following this one can have.
13742 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13744 * vspace.C (asLatexCommand): fix bogus gcc warning
13746 * Makefile.am (lyx_SOURCES): remove vms_defines.h
13748 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
13750 * text2.C (setLayout): get rid of redundant code
13752 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
13754 * text2.C (incDepth): make sure depth cannot be increased beyond
13757 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
13759 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13760 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13762 * PainterBase.h (image):
13763 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13764 a LyXImage const *.
13766 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13770 * BufferView_pimpl.C:
13771 * BufferView_pimpl.h:
13791 * sp_spell.C: remove fig inset, and the crap house of
13792 cards that follows it
13794 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13799 * os2_errortable.h:
13800 * nt_defines.h: move .h into support/
13802 * vms_defines.h: remove
13804 * WorkArea.C: add space in debug output
13808 * buffer.C: add WITH_WARNINGS
13812 * bufferlist.C: s/retrive/retrieve/, add docs
13821 * chset.C: add docs
13823 * lyxgui.C: add ID to X error handler
13825 * lyxtestclass.c: fix typo
13827 2002-02-26 Juergen Vigna <jug@sad.it>
13829 * tabular_funcs.C (write_attribute): changed so that some default
13830 attributes are not written at all.
13831 (getTokenValue): set default values before trying to read the
13832 value so we have the return value always set as default if we don't
13833 find the token we search for.
13835 * tabular.C (Write): write bools as bools not as strings!
13837 2002-02-22 Juergen Vigna <jug@sad.it>
13839 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13840 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13842 * text.C (leftMargin): don't add an indent for paragraphs inside
13843 tabular cells (fix #208).
13845 2002-02-21 José Matos <jamatos@fep.up.pt>
13847 * tabular.C (docBook): fixed support for long tables.
13849 2002-02-20 Juergen Vigna <jug@sad.it>
13851 * text2.C (getFont): get the drawing font of the Inset if this
13852 paragraph is inside an inset (only important for InsetERT for now).
13854 * buffer.C (insertErtContents): use new lanugage params in ERT
13857 * CutAndPaste.C: commenting out seemingly uneeded code.
13859 2002-02-19 Allan Rae <rae@lyx.org>
13861 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13862 Iterators might be simple to use but they also get invalidated.
13863 (removeAutoInsets): renamed saved cursor tracking variables and added
13864 some comments to clarify what everything does.
13866 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
13873 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13874 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13877 * vc-backend.h: remove #include "support/syscall.h"
13881 * converter.C: rearrange #includes in Lars' approved fashion.
13883 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13884 forward declare class Timeout in the header file.
13886 * XFormsView.C: changes due to the above.
13888 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13889 similar to LyXView.
13891 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13892 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13894 2002-02-18 José Matos <jamatos@fep.up.pt>
13896 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13899 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
13901 * a lot of small ws changes
13902 * add a lot of using std::XXX
13903 * use std construcs some places where approp.
13904 * use some exisint stuff from lyxfunctional where approp.
13905 * Make file changes to use partial linking (lets test this now...)
13907 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13911 remove #include "support/syscontr.h" as it's redundant. Always has been.
13919 change Systemcalls::System to Systemcalls::Wait and
13920 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13921 No change of functionality, just reflects the stripped down Systemcalls
13924 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13926 * debug.[Ch]: add a GRAPHICS type to the enum.
13928 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13930 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13932 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13935 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13937 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13938 match the changes below.
13940 * text2.C (toggleInset): if there is not editable inset at cursor
13941 position, try to see if cursor is _inside_ a collapsable inset
13944 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13946 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13947 document menu has a nice checkbox
13949 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13951 * lyxlength.C (asLatexString): change PW to output as percent of
13954 * lengthcommon.C: change '%' to 't%'
13956 * lyxfunc.C (dispatch): a few comments from Martin
13958 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
13962 * BufferView_pimpl.h:
13963 * BufferView_pimpl.C: clear our selection when X tells us we've lost
13966 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13968 * vspace.C (inPixels): fix compiler warning
13970 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13972 * lyxfunc.C (getStatus): fix status message for disabled commands.
13974 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
13976 * BufferView_pimpl.C: fix crash on close buffer
13977 during selection (#227)
13979 2002-01-27 Herbert Voss <voss@lyx.org>
13981 * buffer.C: link old Figure to new graphic inset
13983 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
13985 * FontLoader.C (getFontinfo): Change the latex font names in order
13986 to match the names of type1inst.
13988 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
13990 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13992 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13993 (extchanged): ditto
13995 (remove_files_with_extension): ditto
13996 (remove_file): ditto
13999 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
14000 document is smaller than the work area height. Do not initialize
14001 static variables to 0.
14003 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14005 * lyx_gui.C (init): give the toolbar tooltips a normal font.
14007 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
14008 LFUN_LAYOUT_PARAGRAPHS.
14010 * tabular.C (GetCellFromInset): new method. Finds an inset in a
14011 tabular. It is possible to provide a possible cell, which will
14012 typically be the actcell from the corresponding insettabular
14014 * lyxfunc.C (getStatus): small cleanup; disable
14015 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
14018 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14020 * tabular.C (Validate): remove broken optimization (fixes bug #201)
14022 * paragraph.C (startTeXParParams):
14023 (endTeXParParams): new methods. The LaTeX code to
14024 start/end paragraph formatting
14025 (simpleTeXOnePar): call startTeXParParams also when paragraph is
14026 empty (fixes bug #200)
14028 * vspace.C (inPixels): adapt to the change below
14029 (inPixels): [later] more cleanups (remove unused variables)
14031 * lyxlength.C (inPixels): change to use a width and a height as
14034 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14036 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
14037 Replaced with \paperwidth
14039 * DepTable.C (insert): add std:: qualifier
14041 2002-01-18 Allan Rae <rae@lyx.org>
14043 * text2.C (removeRow): add comment. Should other refresh_?? vars be
14046 * text.C (drawInset): Turned out I didn't know enough about how
14047 rebreaking worked. This fixes most of the redraw problems. I see
14048 an occasional cursor trail when a line is broken now and the cursor
14049 placement can seem out by a few pixels also after a rebreak.
14051 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14053 * buffer.C (parseSingleLyXformat2Token): update because minipage
14054 width is now a LyXLength
14056 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
14058 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
14061 2002-01-17 Juergen Vigna <jug@sad.it>
14063 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
14065 * BufferView2.C (lockInset): call edit() so that theLockingInset()
14066 is set correctly and the inset is updated correctly.
14068 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14070 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
14071 the beginning of the loop.
14073 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
14075 * lyxrc.C: improve help for use_scalable_fonts
14077 2002-01-17 Allan Rae <rae@lyx.org>
14079 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
14081 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14083 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
14084 make sure to set their inset_owner to the right value (bug #171)
14086 2001-12-12 Ben Stanley <bds02@uow.edu.au>
14089 * DepTable.C: Implement mtime checking to reduce time spent doing
14092 2002-01-16 Juergen Vigna <jug@sad.it>
14094 * tabular.C (GetAdditionalHeight): one of error fixed.
14096 * lyxrc.C (output): small fix in writing use_pspell.
14098 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
14100 * sp_base.h: #include LString.h
14102 2002-01-16 Allan Rae <rae@lyx.org>
14104 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
14105 Can someone check this please?
14107 * text.C (drawInset): It was possible that p.row would be removed by
14108 breakAgainOneRow upsetting a few other settings. There may be another
14109 small tweak possible by setting need_break_row = 0 when p.row has been
14110 removed but I don't know enough about the logic here.
14112 2002-01-15 Allan Rae <rae@lyx.org>
14114 * text.C (insertChar): removed conditional truism.
14116 * BufferView2.C (removeAutoInsets): More tweaks.
14117 cur_par_prev could be a stray pointer. Check for trailing empty line
14118 in case last line was cur_par and only had an error inset on it.
14120 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14122 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
14125 * vc-backend.C (most methods):
14126 * exporter.C (Export):
14127 * converter.C (convert):
14129 * LyXSendto.C (SendtoApplyCB):
14130 * lyxfunc.C (dispatch):
14134 * lyx_cb.C (AutoSave):
14136 * BufferView_pimpl.C (MenuInsertLyXFile):
14137 * buffer.C (runChktex): use Buffer::filePath().
14139 * buffer.h: rename filename to filename_; rename filepath to
14140 filepath_ and make it private
14141 (filePath): new method
14143 * buffer.C (writeFile): use fileName()
14146 * lyx_main.C (init): fix starting of LyX when the binary is a
14147 link from so,ewhere else.
14149 * minibuffer.C: include <cctype> for isprint
14151 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
14153 * buffer.C (parseSingleLyXformat2Token): changes associated with the
14154 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
14155 name clash with InsetCollapsable's width function.
14157 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14159 * lastfiles.C: include <iterator>
14161 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
14163 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
14166 * buffer.C (makeLaTeXFile): ditto.
14167 Also make loop operation more transparent.
14169 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
14171 * ToolbarDefaults.C: remove trailing comma closing namespace.
14173 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
14175 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
14178 * trans.C (Load): comment out unused variable, allowed.
14180 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
14182 * minibuffer.[Ch] (append_char): new method to recieve input from the
14183 drop-down completion browser. If a key was pressed, then recieve this
14184 char and append it to the existing string.
14185 (peek_event): modify the positioning data passed to the completion
14186 browser so that it can be placed above the minibuffer rather than below.
14187 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14189 * LyXAction.C (init): alloe error-next for readonly documents.
14191 * BufferView2.C (ChangeRefsIfUnique): use standard version of
14194 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14196 * bufferlist.C (readFile): create the buffer _after_ checking that
14199 * lyxfunc.C (verboseDispatch): fix handling of arguments
14201 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
14203 * lyxrc.C: use string::erase() instead of initializing to "".
14206 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14208 * BufferView_pimpl.h:
14209 * BufferView_pimpl.C:
14212 * text2.C: tell X when we have made a selection for copying
14214 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14216 * BufferView_pimpl.C (MenuInsertLyXFile):
14217 * lyxfunc.C (menuNew):
14219 (doImport): add shortcuts to directory buttons
14221 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
14224 * lyxfunc.C (setStatusMessage):
14225 (getStatusMessage): new methods
14226 (getStatus):use setStatusMessage instead of setErrorMessage
14227 (dispatch): when function is disabled, set error message here
14228 [instead of in getStatus previously]
14230 * BufferView_pimpl.C (workAreaButtonRelease): update
14231 toolbar/menubar here too.
14233 2002-01-13 Allan Rae <rae@lyx.org>
14235 * BufferView2.C (removeAutoInsets): finished off earlier fix.
14236 Now seems indestructible. Remaining task is to audit all other
14237 code affected by deleteEmptyParagraphMechanism. One small quirk
14238 left is that an empty document with an error in the preamble can
14239 be made to report an error but no error box appears. I don't know
14241 (removeAutoInsets): Improved comments.
14243 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
14246 * Thesaurus.C: update for Aiksaurus 0.14
14248 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
14250 * text2.C (firstParagraph): removed member function, all uses
14251 replaces with ownerParagraph
14252 (redoParagraphs): here
14253 (updateInset): here
14254 (toggleAppendix): here
14255 * BufferView2.C (insertErrors): here
14256 (setCursorFromRow): here
14258 2002-01-13 Allan Rae <rae@lyx.org>
14260 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
14261 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
14262 There is still a way to segfault this although you may have to do this
14263 multiple times: Have an InsetERT with an unknown command in it.
14264 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
14265 <down-arrow>, <Enter> again, View->DVI, BANG!
14267 * text2.C (setCursor):
14268 (deleteEmptyParagraphMechanism):
14269 * lyxtext.h (setCursor):
14270 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
14271 Making use of the return value may help fix other bugs.
14273 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14275 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
14277 * LyXView.C (updateMenubar): call MenuBar::update here
14278 (updateToolbar): but not here
14279 (showState): do not update toolbar/menubar
14281 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
14282 should need to care about that.
14284 * lyxfunc.C (verboseDispatch): simplify a bit
14285 (getStatus): have a version which takes a pseudoaction, and
14286 another which requires a (kb_action,string).
14288 * LyXAction.C (retrieveActionArg): make it work also when action
14289 is not a pseudo-action.
14290 (getActionName): simplify a bit
14293 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14295 * lyxfunc.C (verboseDispatch): new families of methods with
14296 several ways to specify a command and a bool to indicate whether
14297 the command name and shortcut should be displayed in minibuffer
14298 (eventually, we could extend that to a finer bitmask like
14299 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
14300 (dispatch): the pristine dispatch command which just, well,
14301 dispatchs! Note it still sets its result to minibuffer; I'm not
14304 * lyxfunc.h: remove setHintMessage
14306 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
14308 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14310 * BufferView_pimpl.C (specialChar): delete new inset if we have
14311 not been able to insert it.
14313 * kbmap.C: revert to using int instead of kb_action, since all we
14314 are dealing with is pseudo-actions.
14316 * LyXAction.C (searchActionArg): change to return int instead of
14317 kb_action, since the result is a pseudoaction.
14319 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
14321 * buffer.C (insertErtContents): Fix (partially) the font bug.
14323 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
14325 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
14326 as the other one is broken on my machine!
14328 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
14331 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
14333 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
14335 * lyxrc.[Ch]: change names and descriptions of popup font variables to
14336 reflect their actual use. Provide compatibility code for older lyxrc
14339 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
14341 change names of popup font variables in line with the changes to lyxrc.C
14343 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14345 * buffer.C (asciiParagraph): avoid outputing a word twice after
14348 * lyxrc.C (getDescription): document that document_path and
14349 template_path can be empty.
14351 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14353 * LaTeXFeatures.C (getMacros):
14354 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
14356 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
14358 * LaTeXFeatures.C (useFloat): require "float" here instead of in
14360 (getPackages): rename feature "floats" to "float". Use an array to
14361 iterate over 'simple' features (i.e. just a \usepackage). Add
14362 handling of "amsmath" (renamed from "amsstyle").
14364 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
14366 * LaTeXFeatures.C (require): Prevent duplicate entries in the
14369 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
14371 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
14372 FuncStaus::FuncStatus & FuncStaus::some_method().
14374 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
14376 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
14377 of the func_satus stuff. Edited and massaged in various ways by
14380 * lyxfunc.C (getStatus): use FuncStatus
14382 2002-01-08 Juergen Vigna <jug@sad.it>
14384 * text.C (nextBreakPoint): use function Inset::isChar().
14386 * paragraph.C (TeXOnePar): use function
14387 Inset::forceDefaultParagraphs.
14389 * buffer.C (latexParagraphs): use function
14390 Inset::forceDefaultParagraphs.
14392 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14394 * lyx_gui.C (init): set the style of the menu popups to
14395 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
14397 2002-01-07 Juergen Vigna <jug@sad.it>
14399 * text.C (setHeightOfRow): small fix
14400 (prepareToPrint): don't look at alignment if we don't have the place
14403 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14405 * box.C: New file. Move the Box methods and functions out of box.h,
14406 following Lars' suggestion.
14408 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14410 * box.h: #include "support/LOstream.h", needed for inlined function.
14413 * lyxtextclasslist.C: added some using std declarations.
14415 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
14417 * box.h: make signed dimensions to allow insets wider than
14418 the screen (bug #162)
14420 * BufferView_pimpl.C: add some insetHit debug
14422 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
14424 * vc-backend.C: add FIXME
14426 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14428 * lyxfunc.C (getStatus): enable code for showing math font status
14431 2002-01-07 Juergen Vigna <jug@sad.it>
14433 * text.C (nextBreakPoint): removed debug output not needed anymore.
14435 2002-01-06 Juergen Vigna <jug@sad.it>
14437 * text.C (nextBreakPoint): fixed up this function we had this bug
14438 since ever but now hopefully we break row better.
14439 (insertChar): we have to check if an inset is the next char as it
14440 could now happen that a large inset is causing a break.
14442 2002-01-05 Juergen Vigna <jug@sad.it>
14444 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
14445 if it doesn't like to be drawed.
14447 2002-01-04 Juergen Vigna <jug@sad.it>
14449 * BufferView2.C (lockInset): forgot to set a cursor.
14451 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
14453 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
14455 * FormMathsPanel.C:
14458 * form_maths_panel.C:
14459 * form_maths_panel.h:
14460 * form_maths_panel.fd: implemented sub- and super- buttons in math
14463 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
14464 (or ^ space) to be used as in TeX (req'd by Andr�.
14466 * lyxfunc.C: Allow ^ and _ again to be used both as
14467 super/subscript (mathed) and as themselves (in text).
14469 2002-01-03 Allan Rae <rae@lyx.org>
14471 * LyXView.C (updateWindowTitle): Setup a short icon title of either
14472 "LyX" or the filename of the current buffer if it has one. This is a
14473 modified form of John Levon's patch.
14475 * XFormsView.C (setWindowTitle): also set icon title.
14477 * LyXView.h (setWindowTitle): signature changed.
14478 * XFormsView.h (setWindowTitle): ditto.
14480 2002-01-02 Juergen Vigna <jug@sad.it>
14482 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14484 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
14486 * screen.C (topCursorVisible): introduce a temp var for
14487 text->cursor.row(), handle the case where this row is null. (kindo
14490 * text2.C (setCursor): add a couple of asserts.
14492 * paragraph.h (inset_iterator): add -> operator
14494 * paragraph.[Ch] (autoDeleteInsets): remove member function
14496 * BufferView2.C (removeAutoInsets): rewrite to handle the old
14497 cursor pos correctly and handle inset deletion by itself.
14498 (insertErrors): move iterator declaration out of for expression
14500 * lyxtextclass.C: add <algorithm>
14502 * Makefile.am: added the new files to sources, removed layout.C
14504 * layout.C: removed file
14506 * layout.h: remove LYX_DUMMY_LAYOUT
14508 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14512 * lyxtextclass.[Ch]:
14513 * lyxtextclasslist.[Ch]: new files
14515 * include order changes to a lot of files, also changes because of
14518 2001-12-27 Juergen Vigna <jug@sad.it>
14520 * buffer.C (asciiParagraph): more fixes.
14522 * tabular.C (ascii): make ascii export support export of only the
14523 data separated by a column-delimiter.
14524 (ascii): better support for ascii export.
14526 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14528 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14530 * tabular_funcs.C: use a "using std::getline" instead of the
14531 previous fix from Angus (necessary for cxx + lyxstring)
14533 2001-12-24 Juergen Vigna <jug@sad.it>
14535 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14537 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14538 problems. First check a minipage also if we have some ert-contents
14539 (not only on par->size(), second set the right depth of the paragraph
14540 on the relink to the root-paragraph-list!
14542 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14543 which then did not anymore update the main paragraphs on undo/redo!
14545 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14547 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14548 code. Support all font-changing funcs (even those which are not in
14549 menu currently). Support for reporting font settings in
14550 mathed (disabled until Andre provides a function on mathed's side).
14552 * func_status.h (toggle): small helper function to set toggle
14555 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
14557 * tabular_funcs.C: getline -> std::getline
14559 2001-12-21 Juergen Vigna <jug@sad.it>
14561 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14562 accessed and could be 0 (I couldn't generate this but it seems
14565 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
14567 * tabular_funcs.C: add LIstream.h, move write_attribute to..
14568 * tabular_funcs.h: here and include iosfwd
14570 2001-12-20 Juergen Vigna <jug@sad.it>
14572 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14573 inside inset but undo_par was.
14575 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14577 * Thesaurus.C: always include <config.h> in sources.
14581 * box.h: do not include <config.h> in header files
14583 * text.C (paintLastRow): remove unused variable
14585 * text.C (transformChar):
14587 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14589 * Painter.C (text):
14590 * font.C (width): rewrite to use uppercase() instead of
14593 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14595 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
14597 * lyxfind.C: clean up of find failure position change
14599 2001-12-20 Juergen Vigna <jug@sad.it>
14601 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14603 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14604 (TeXRow): added to LaTeX a single tabular row.
14605 (TeXLongtableHeaderFooter): added to output LT-h/f data.
14606 (Latex): simplified and finally good LT-h/f support.
14607 (various_functions): just small adaptions for LT-h/f support.
14609 * tabular_funcs.[hC]: added and moved here all not classfunctions
14612 2001-12-19 Juergen Vigna <jug@sad.it>
14614 * tabular.[Ch]: better support for longtabular options (not finished
14617 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14619 * text.C (paintLastRow): use the label font instead of the font of
14620 the last character to compute the size of *_BOX. This makes more
14621 sense and avoids a crash with empty paragraphs.
14622 Use Painter::rectangle to draw EMPTY_BOX.
14624 2001-12-19 Juergen Vigna <jug@sad.it>
14626 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14627 the paragraphs if the replaced paragraph is not the first one!
14628 Tried to delete not used paragraphs but does not work yet so for
14629 now it's inside #ifdef's and by default off!
14631 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14633 * MenuBackend.C: include "lyx_main.h" instead of declaring
14634 lastfiles (actually was declared as LastFiles* instead of a
14637 2001-12-17 Juergen Vigna <jug@sad.it>
14639 * tabular.C (AppendColumn): applied John's fix
14641 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
14645 * BufferView_pimpl.h:
14646 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14649 * box.h: new start of class for above
14651 * lyxfunc.C: ignore space-only minibuffer dispatches.
14652 Show the command name when it doesn't exist
14654 * minibuffer.C: don't add empty lines to the history
14656 * minibuffer.C: add a space on dropdown completion
14658 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
14660 * text.C: fix line above/below drawing in insets
14662 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14664 * lyxlength.C (LyXLength): Initialize private variables.
14666 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
14668 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14669 when inserting error insets.
14671 2001-12-13 Juergen Vigna <jug@sad.it>
14673 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14674 actually sometimes the before-paragraph.
14675 (setUndo): don't clear the redostack if we're not actually undoing!
14677 2001-12-06 Juergen Vigna <jug@sad.it>
14679 * undo_funcs.C (textHandleUndo): well after John's hint I got here
14680 and fixed redoing of main paragraph, so we can use it now ;)
14682 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14684 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14686 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14689 2001-12-13 André Pönitz <poenitz@gmx.net>
14692 * undo_func.C: minor cleanup
14694 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14696 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14697 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14698 font in urw-fonts package which is marked as -urw-fontspecific and
14699 does not work (incidentally, changing the encoding in the
14700 fonts.dir of this package to -adobe-fontspecific fixes the
14703 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14704 is a crash when undoing first paragraph (Juergen, please take a
14705 look). THis does not mean the undo fix is wrong, just that it
14708 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14709 the (Paragraph*) version when needed instead of duplicating the
14712 * text.C (workWidth): use Inset::parOwner to find out where the
14713 inset has been inserted. This is a huge performance gain for large
14714 documents with lots of insets. If Inset::parOwner is not set, fall
14715 back on the brute force method
14717 * paragraph_pimpl.C (insertInset):
14718 * paragraph.C (Paragraph):
14719 (cutIntoMinibuffer): set parOwner of insets when
14720 inserting/removing them
14722 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14724 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
14730 * mathed/formulabase.C:
14731 * mathed/math_cursor.[Ch]:
14732 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14735 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14737 * lyxlength.[Ch] (operator!=): new function
14739 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14741 * text.C (workWidth): use Inset::parOwner to find out where the
14742 inset has been inserted. This is a huge performance gain for large
14743 documents with lots of insets. If Inset::parOwner is not set, fall
14744 back on the brute force method
14746 * paragraph_pimpl.C (insertInset):
14747 * paragraph.C (Paragraph):
14748 (cutIntoMinibuffer): set parOwner of insets when
14749 inserting/removing them
14751 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14753 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14755 * tabular-old.C (getTokenValue):
14756 * tabular.C (getTokenValue):
14757 (write_attribute): new versions for LyXLength
14758 (everywhere): adjust the use of widths
14760 * tabular.h: change the type of widths from string to LyXLength
14762 2001-12-11 Ben Stanley <bds02@uow.edu.au>
14764 * paragraph.C: fixed missing line number count when exporting
14765 Environments to LaTeX file
14767 * buffer.C: added informational message for checking line numbers.
14769 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14771 * text2.C (deleteEmptyParagraphMechanism): if there is only one
14772 paragraph, do the 'double space' part, but not the 'empty
14775 * text.C (workWidth): small optimization
14776 (getLengthMarkerHeight): use minimal size for negative lengths.
14778 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
14780 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14782 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14784 2001-12-11 André Pönitz <poenitz@gmx.net>
14787 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14789 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14791 * text2.C: keep selection on a setFont()
14793 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14795 * lyx_cb.C: another bv->text misuse, from insert label
14797 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14800 * kbsequence.C: re-instate nmodifier mask
14802 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
14804 * lyx_main.h: make lyxGUI private.
14806 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14808 * lyxfind.C: place the cursor correctly on failed search
14810 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14812 * text.C (getLengthMarkerHeight): for small heights, the arrows
14813 are not always on top/bottom of the text
14814 (drawLengthMarker): smaller arrows; take the left margin in
14815 account; draw also vfills.
14817 (paintLastRow): remove special code for vfill and standard spaces,
14818 since everything is handled in drawLengthMarker now.
14820 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14822 * buffer.C (insertErtContents): try to handle font and language
14823 interaction a bit better.g
14825 * ColorHandler.C (updateColor): change the hash to cover the whole
14826 LColor enum, ws cleanup
14827 (getGCLinepars): ditto
14828 (getGCLinepars): only lookup in the linecache once.
14830 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
14832 * iterators.C (operator++): Make the iterator more robust
14834 * BufferView2.C (removeAutoInsets): Use paragraph iterators
14836 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14838 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14841 * text.C: better added space drawing
14843 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14846 * BufferView2.C: fix layout combo update on inset unlock
14848 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14850 * Makefile.am: don't compile unused files
14852 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14856 * LyXAction.C: remove old LFUN_LAYOUTNO
14858 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14860 * paragraph_pimpl.h:
14861 * paragraph_pimpl.C: isTextAt() doesn't need font param
14863 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14866 * lyxlex.C: little cleanup
14868 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14870 * BufferView_pimpl.C: fix insertAscii for insets
14872 2001-12-05 Juergen Vigna <jug@sad.it>
14874 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14875 set the right font on the "multi" paragraph paste!
14877 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14883 * lyxlength.C: remove out-commented code.
14885 * BufferView_pimpl:
14899 * vc-backend.C: change "while(" to "while ("
14901 * lyxlength.[Ch]: add zero function to check if length is zero or
14903 * lyxgluelength.C: use it
14905 2001-12-05 Allan Rae <rae@lyx.org>
14907 * lyxlength.C: Attempted a fix for the abs(int) header selection.
14908 Works for 2.95.3, from what I understand of Garst's reports this should
14909 work for other g++ versions. We're screwed if the abs(int) definition
14910 changed between bugfix releases of gcc.
14912 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14914 * text.C: fix chapter label offset !
14916 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14919 * text.C: fix hfill at end of line, clean up
14921 2001-12-04 Juergen Vigna <jug@sad.it>
14923 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14924 that we force an update of the inset and it's owners if neccessary.
14926 2001-12-03 Juergen Vigna <jug@sad.it>
14928 * text.C (rowLast): simplified code
14930 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14932 * lyxfunc.C: fix show options on timeout
14934 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14936 * screen.C (topCursorVisible): scroll half a page when the cursor
14937 reached top of bottom of screen
14939 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
14941 * minibuffer.C: deactivate on loss of focus
14943 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14945 * vspace.[Ch] (operator!=): add operator.
14947 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
14949 * BufferView_pimpl.C: refuse to open an inset when
14950 there's a selection.
14952 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
14954 * BufferView_pimpl.C: allow to click on RHS of full row insets
14956 2001-11-30 Juergen Vigna <jug@sad.it>
14958 * tabular.C (LyXTabular): add a same_id to set the same id's in the
14959 insets for undo reasons.
14961 2001-11-28 André Pönitz <poenitz@gmx.net>
14963 * vspace.[Ch]: cosmetical changes
14965 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14975 * kbsequence.C: part re-write of old kb code
14978 * WorkArea.C: remove Lgb_bug_find_hack
14980 2001-11-30 José Matos <jamatos@fep.up.pt>
14982 * buffer.C (makeDocBookFile): add a comment to point a hack.
14983 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14984 Fixed a double write of labels.
14986 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14989 * LaTeX.h Fixed bug in LaTeX class where it would not
14990 re-run latex if no depfiles were changed, but the .dvi was removed.
14992 2001-11-28 André Pönitz <poenitz@gmx.net>
14994 * all the files from the change on 2001/11/26:
14995 use lyx::layout_type instead of LyXTextClass::size_type
14996 use lyx::textclass_type instead of LyXTextClassList::size_type
14998 2001-11-29 Juergen Vigna <jug@sad.it>
15000 * text.C: added support for paragraph::isFreeSpacing()
15002 * buffer.C: same as above
15004 * paragraph.h: inserted isFreeSpacing() function to enable
15005 FreeSpacing inside InsetERT.
15007 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
15008 of the paragraph's in the cut/copy buffer to 0!
15010 * text2.C (removeRow): remove the assert as it can!
15012 * lyxtext.h: added helper function firstRow returning firstrow and
15013 made firstrow private again.
15015 * BufferView2.C (lockInset): don't relock if we're already locked!
15017 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
15018 the only paragraph.
15019 (removeRow): added Assert::(firstrow)
15021 * debug.C: forgot to add INSETTEXT here.
15023 2001-11-28 Juergen Vigna <jug@sad.it>
15025 * sp_spell.C (initialize): changed error text to more general
15026 spellchecker command use (not only ispell!)
15028 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
15030 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
15032 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
15034 * vspace.C: initialise lyxgluelength on failure
15036 2001-11-28 Allan Rae <rae@lyx.org>
15038 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
15039 declaration & definition that looks like a function declaration.
15041 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15043 * BufferView2.C (copy):
15044 (copyEnvironment): do not clear the selection when doing a copy.
15046 * text.C (paintFirstRow): compilation fix
15048 2001-11-27 Ben Stanley <bds02@uow.edu.au>
15050 * tabular.C (Latex): correct line count when writing latex.
15052 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
15054 * paragraph_pimpl.h:
15055 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
15058 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
15062 * LColor.C: change vfillline->added_space
15064 * text.C: add markers and text for added space
15066 * vspace.C: fix comment
15068 2001-11-28 André Pönitz <poenitz@gmx.net>
15070 * paragraph.C: whitespace changes
15071 * all the other files from the change on 2001/11/26:
15072 change *::pos_type into lyx::pos_type
15074 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
15076 * buffer.C (parseSingleLyXformat2Token): Set the language to the
15077 language of the document when inserting error insets.
15079 2001-11-26 André Pönitz <poenitz@gmx.net>
15081 * BufferView_pimpl.[Ch]:
15089 * paragraph_pimpl.[Ch]:
15092 * text2.C: reduce header dependencies, introduce type for positions
15094 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
15096 * <various>: change to use Alert.h
15098 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
15100 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
15101 when encountering an unknown token.
15102 (readLyXformat2): Show an error message if there were unknown tokens.
15104 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
15107 * BufferView_pimpl.C:
15111 * text2.C: use par->isInset()
15113 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
15115 * paragraph_pimpl.h:
15116 * paragraph_pimpl.C: cleanup
15118 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15120 * text2.C (removeRow):
15121 * text.C (setHeightOfRow): remove useless (and costly) call to
15124 2001-11-20 Allan Rae <rae@lyx.org>
15126 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
15127 Now need Inset*::checkInsertChar() to return true for appropriate
15128 cases so that the characters in the minibuffer will actually be
15131 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
15133 * text.C: change the order of the includes.
15134 (workWidth): initialize it at once.
15135 (workWidth): make maxw unsigned
15136 (setHeightOfRow): remove unused variable (inset)
15137 (selectSelectedWord): remove unused variable (inset)
15138 (paintRowText): fix drawing of hfill characters, and clean up a bit.
15140 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15142 * lyxserver.C (emergencyCleanup): do not try to close pipes if
15143 server is not running.
15145 (closeConnection): add debug info when server is disabled.
15147 * ColorHandler.C (getGCForeground): send debug message to GUI
15150 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
15152 * kbmap.C (bind): modify because return conventions of
15153 kb_sequence::parse have changed.
15155 * kbsequence.C (parse): only ignore spaces and not any stupid
15156 control character. This avoids tests like s[i] <= ' ', which are
15157 guaranteed to fail with 8bit characters and signed chars.
15158 Change return code to string::npos when there have been no error
15159 (0 was a bad idea when error is at first character)
15161 2001-11-14 José Matos <jamatos@fep.up.pt>
15164 * buffer.C (simpleDocBookOnePar): removed unused argument.
15166 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15168 * text.C (selectNextWordToSpellcheck): do not test explicitely for
15169 insets which are part of a word. Paragraph::isLetter takes care of
15170 that now. Use Paragraph::isInset to identify insets.
15171 (selectSelectedWord): do not test for hyphenation break.
15173 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
15174 that protected spaces are considered as spaces.
15176 * paragraph.C (isLetter): cleanup the code for ispell extras; use
15179 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
15182 * lyxserver.C: fix it. and small cleanup.
15184 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
15186 * BufferView_pimpl.C: use inline helpers
15189 * LaTeXFeatures.C: fix typos
15192 * Spacing.C: move spacing_string into class
15194 * ToolbarDefaults.C: move stuff into namespace anon
15196 * layout.h: update enum
15198 * lyxfunc.C: use better debug
15200 * minibuffer.h: fix typo
15204 * WorkArea.C: add and use Debug::WORKAREA
15208 * text2.C: code re-organisation, inline helpers
15210 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
15212 * Layout.C: replaced a few cases of std::vector.size() == 0 with
15213 std::vector.empty().
15215 2001-11-09 Allan Rae <rae@lyx.org>
15217 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
15218 '\n's after tables. Tabular and ERT inset work now makes this no
15221 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
15224 * minibuffer.C: fix crash, improve drop-down completion
15226 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
15229 * lyxserver.C: invalidate fd's when doing endPipe()
15231 2001-11-08 José Matos <jamatos@fep.up.pt>
15233 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
15234 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
15237 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
15239 2001-11-07 José Matos <jamatos@fep.up.pt>
15242 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
15245 * buffer.C (sgmlOpenTag):
15246 * buffer.C (sgmlCloseTag): removed debug info.
15248 * buffer.h (sgmlOpenTag):
15249 * buffer.h (sgmlCloseTag): made public.
15251 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15253 * buffer.C (saveParamsAsDefaults):
15254 * lyx_cb.C (MenuLayoutSave): remove
15256 * LyXAction.C (init):
15258 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
15260 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15262 * buffer.C (setPaperStuff): removed from here...
15264 * bufferparams.C (setPaperStuff): ... and moved there.
15266 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
15270 * XFormsView.C: add support for drop-down completion
15272 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
15274 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
15277 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15279 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
15282 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
15284 * lyx_main.C: change ref to known bugs
15286 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
15288 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
15289 to work around older babel problems.
15291 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
15293 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
15295 2001-10-24 Juergen Vigna <jug@sad.it>
15297 * tabular-old.C (ReadOld): below variable changes reflected.
15299 * tabular.[Ch]: added ltType struct for longtable header/footer
15300 defines and changed all instances where they are used. Added
15301 future support for double top/bottom rows.
15303 2001-10-24 José Matos <jamatos@fep.up.pt>
15305 * buffer.h (docbookHandleCaption):
15306 * buffer.C (docbookHandleCaption): removed unused function.
15307 (makeDocBookFile): moved docbook supported version to v4.1.
15309 2001-10-24 José Matos <jamatos@fep.up.pt>
15312 * tabular.C (docbookRow): new function to export docbook code of a row.
15313 (DocBook): now honors the longtable flags.
15315 2001-10-23 José Matos <jamatos@fep.up.pt>
15318 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
15319 of the lyx defined sgml entities used in a docbook/linuxdoc document.
15321 * buffer.C (makeLinuxDocFile):
15322 (makeDocBookFile): reworked the preamble, more clean, and with
15323 support for lyx defined entities. Changed the document declaration
15324 to be more XML friendly.
15326 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
15327 if we need to output XML that should be done with a filter.
15329 2001-10-22 Juergen Vigna <jug@sad.it>
15331 * sp_pspell.h (class PSpell): add alive function needed in the
15332 controller to see if the spellchecker could be started.
15334 2001-10-22 Juergen Vigna <jug@sad.it>
15336 * buffer.C (insertStringAsLines): modify the font for inserting
15337 chars in certain conditions by calling checkInsertChar(font).
15339 2001-10-19 Juergen Vigna <jug@sad.it>
15341 * text.C (workWidth): use getRow instead of wrong algorithm.
15342 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
15344 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
15349 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
15351 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15353 * text.C (workWidth): do not search for the exact row when
15354 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
15355 optimization for big documents.
15357 2001-10-18 Juergen Vigna <jug@sad.it>
15359 * text.C (workWidth): new function with added Inset * parameter.
15361 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15363 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
15365 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
15366 change return type of getColumnNearX.
15369 * text.C (changeRegionCase): use uppercase/lowercase instead of
15372 (rightMargin): simplify code by factoring out the uses of
15377 (appendParagraph): use Paragraph::size_type
15379 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15381 * vspace.C (asLatexString): add a missing break
15383 2001-10-15 Herbert Voss <voss@perce.de>
15385 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
15387 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15389 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
15392 2001-10-10 André Pönitz <poenitz@gmx.net>
15394 * lyxfunc.C: removed greek_kb_flag.
15396 2001-10-10 Herbert Voss <voss@perce.de>
15398 * lyx_main.C: delete global string help_lyxdir.
15400 2001-10-09 Herbert Voss <voss@perce.de>
15402 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
15404 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
15406 * lyx_main.C: added global string help_lyxdir.
15408 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
15410 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
15412 * lyxrc.C (set_font_norm_type): support iso8859-4
15414 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
15416 * LaTeX.C (deplog): add another regex for MikTeX
15418 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
15420 * lyxrc.C (set_font_norm_type): support iso8859-3
15422 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15424 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
15426 * LaTeXFeatures.C: remove special case of french and index
15428 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
15429 before \begin{document}). This solves several incompatibilities.
15431 2001-10-03 Garst Reese <reese@isn.net>
15433 * lyx_cb.C: change CheckTex error msg.
15435 2001-10-03 José Matos <jamatos@fep.up.pt>
15437 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
15439 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15441 * .cvsignore: update
15443 * lyx_main.C (commandLineVersionInfo): use new style version info.
15445 * buffer.C (writeFile):
15447 (makeLinuxDocFile):
15448 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
15450 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
15452 * version.h: update to use stuff in version.C
15454 * version.C.in: new file. Contains version information determined
15455 at compile time. This is a merging of version.h and
15458 2001-10-03 Juergen Vigna <jug@sad.it>
15460 * BufferView_pimpl.C (update): don't change "dirty" status in
15463 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
15465 * WorkArea.C (c-tor): re-position version string slightly.
15467 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
15469 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15470 revert to previous code.
15472 WorkArea.[Ch]: (show, destroySplash): methods removed.
15474 WorkArea.C: rework code so that it's an amalgam of the codes before and
15475 after the splash screen was moved to WorkArea.
15477 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15480 * vspace.C (inPixels):
15483 * buffer.C (insertStringAsLines):
15484 (asciiParagraph): fix types to be large enough
15486 * lyxlex_pimpl.h: change member status from short to int
15488 * layout.h: fix type of endlabeltype
15491 * kbsequence.C (parse): change return type to string::size_type
15493 * LaTeX.C (updateBibtexDependencies): comment out unneeded
15496 * Bullet.C (bulletSize):
15497 (bulletEntry): do not use short ints as parameters
15499 * BufferView2.C (insertLyXFile): change a char to an int.
15501 * WorkArea.C (WorkArea): remove unneeded floats in computation
15503 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
15505 * buffer.C (asciiParagraph): Treat '\\' as other chars.
15507 * paragraph.C (asString): Do not ignore newline/hfill chars when
15508 copying to the clipboard.
15510 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
15512 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15513 after a multi-line inset.
15515 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
15517 * paragraph.C (validate): Set NeedLyXFootnoteCode
15519 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
15521 * lyxfont.C (LyXSizeNames): changed increase-error to increase
15522 and decrease-error to decrease.
15524 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15526 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15527 it more readable (should be equivalent)
15529 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
15531 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15533 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15535 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15536 of a cursor (row, etc.) after a character has been deleted
15537 (deleteEmptyParagraphMechanism): call the method above on _all_
15538 cursors held by the LyXText when a double space has been
15541 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
15543 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15545 (resizeCurrentBuff): remove code to destroy the old splash dialog.
15547 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15548 background. Use greyOut() and the new show() methods to toggle between
15549 the foreground and background. Add code to remove the splash after
15550 its initial showing.
15552 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15553 (create_forms): no longer call Dialogs::showSplash.
15555 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15557 * .cvsignore: add version_info.h
15559 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15561 * version_info.h.in: new file
15563 * Makefile.am: add version_info.h.in
15565 * lyx_main.C (commandLineVersionInfo): use version_info defined in
15566 version_info.h instead of VERSION_INFO
15568 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
15570 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15571 The ERT inset now returns string().
15573 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
15575 * lyxtext.h, text.C (selectNextWord): renamed as
15576 selectNextWordToSpellcheck.
15578 * text.C (selectNextWordToSpellcheck): Modified to not select
15579 words inside an ERT inset.
15581 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15583 * lyx_cb.C (MenuLayoutSave): change a bit the question
15585 * sp_base.h: include <sys/types.h>
15587 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
15589 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15591 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
15593 * several files: fix typos in user-visible strings
15595 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15597 * text2.C (pasteSelection): do not set the selection, since it
15598 will be cleared later. Actually, the intent was to fix the way the
15599 selection was set, but I figured rmoving the code was just as good.
15601 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
15603 * FontLoader.C (available): Check if font is available without
15606 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
15608 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15610 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
15612 * lyxrc.[Ch]: added display_graphics variable and associated code.
15614 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15616 * bufferparams.C (hasClassDefaults): new method. Returns true if
15617 the buffer parameters correspond to known class defaults
15619 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
15621 * XFormsView.C (show): set minimum size to the main window.
15623 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15625 * text2.C (copySelection):
15627 * lyxfind.C (LyXReplace):
15628 * BufferView_pimpl.C (Dispatch): pass the correct flag to
15629 LyXText::selectionAsString.
15631 * paragraph.C (asString): add "label" argument to the second form
15633 * text2.C (selectionAsString): add "label" argument and pass it to
15634 Paragraph::asString.
15636 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15638 * lyx_main.C (commandLineHelp): remove version information
15640 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
15642 * lyx_main.C: add -version commandline option
15644 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15646 * paragraph.h: make the optional constructor arg required instead.
15647 some modifications to other files because of this.
15649 * minibuffer.C (C_MiniBuffer_peek_event): make it static
15651 * lyxserver.C (C_LyXComm_callback): make it static
15653 * lyx_main.C (error_handler): make it static
15655 * lyx_gui.C (LyX_XErrHandler): make it static
15657 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15659 * WorkArea.C: make the extern "C" methods static.
15661 * Makefile.am (lyx_LDADD): simplify
15663 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15665 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15666 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15668 * LyXAction.C (init):
15669 * lyxfunc.C (dispatch): associated code removal.
15671 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15673 * lyxfont.h (isSymbolFont): shut off warning
15675 * text.C (setHeightOfRow):
15676 (getVisibleRow): fix crash with empty paragraphs which have a
15679 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
15681 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15684 2001-09-04 José Matos <jamatos@fep.up.pt>
15687 * tabular.C (docbook): rename docBook method to docbook.
15689 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15691 * Makefile.am: add dependencies to main.o.
15693 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
15695 * FontLoader.C (available): Return false if !lyxrc.use_gui
15697 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
15699 * FontInfo.C (query):
15700 * converter.C (view):
15701 * importer.C (Import):
15702 * exporter.C (Export): Can not -> cannot.
15704 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
15706 * BufferView_pimpl.C: allow to create index inset even if
15709 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15711 * buffer.C (getLists): replace boost::tie code with an explicit pair
15712 as boost::tie can break some compilers.
15714 * iterators.h: Added a std:: declaration to the return type of
15717 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
15719 * lyxrc.C: add help for view_dvi_paper_option, default to safe
15722 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
15724 * iterators.[Ch]: New files. Provide paragraph iterators.
15726 * buffer.C (changeLanguage): Use paragraph iterators.
15727 (isMultiLingual): ditto
15729 * BufferView2.C (ChangeInsets): Use paragraph iterators.
15731 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
15733 * FontLoader.C: Support for cmr font.
15735 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
15737 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15738 (available): New method.
15740 * FontInfo.C (getFontname): Use scalable fonts even when
15741 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15744 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15746 * converter.C (Formats::view): reverted! Incorrect fix.
15748 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15750 * converter.C (Formats::view): only output the -paper option
15751 if the dvi viewer is xdvi, thereby fixing bug #233429.
15753 2001-08-23 Herbert Voss <voss@perce>
15755 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15757 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
15759 * Spacing.h (Spacing): Set space to Default on in the default
15762 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
15764 * vc-backend.h (RCS::versionString): add RCS to version
15765 (CVS::versionString): add CVS to version
15767 * vc-backend.C (scanMaster): do not add CVS to version.
15768 (scanMaster): do not add RCS to version
15770 * lyxvc.C (versionString): new method
15772 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15774 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15776 * Spacing.C (set): initialize fval
15778 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
15780 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15783 2001-08-16 Juergen Vigna <jug@sad.it>
15785 * lyxfunc.C (dispatch): implemented the new FINISHED states.
15787 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15789 * BufferView_pimpl.C:
15792 * text2.C: setParagraph takes linespacing now
15794 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
15796 * LyxAction.C: add internal LFUN_CITATION_INSERT
15798 * LyXView.C: actually apply fix
15800 * bufferlist.C: fix open non-existent file
15802 * lyxfind.C: fix indentation
15804 * lyxfunc.C: remove unneeded assert, fix typo
15806 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15808 * MenuBackend.C: use "Floatname List"
15810 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
15812 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15813 when converting LaTeX layout to insetERT.
15814 Generate a non-collapsed float when reading old float
15816 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15818 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15821 2001-08-13 Juergen Vigna <jug@sad.it>
15823 * text.C (fill): return 0 instead of 20 as this seems to be the more
15826 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15828 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15831 2001-08-13 Juergen Vigna <jug@sad.it>
15833 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15835 (SearchBackward): comment out the unlocking of the inset_owner this
15836 should not be needed!
15838 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
15840 * Many files: Remove inherit_language, and add latex_language
15842 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15843 collapsible insets.
15845 2001-08-10 Juergen Vigna <jug@sad.it>
15847 * text.C (prepareToPrint): fixed hfill-width in draw!
15849 * BufferView2.C (selectLastWord): save the selection cursor as this
15850 now is cleared in the function LyXText::clearSelection!
15852 2001-08-08 Juergen Vigna <jug@sad.it>
15854 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15855 BACKSPACE type functions.
15857 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15858 is only cutted from the document but not put in the cut-buffer, where
15859 still the old stuff should be.
15861 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15863 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15865 * tabular.C (SetWidthOfCell): fixed special case where the width
15867 (LeftLine): handle '|' in align_special.
15869 (LeftAlreadyDrawed): ditto
15870 (SetWidthOfCell): ditto
15872 2001-08-07 Juergen Vigna <jug@sad.it>
15874 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15876 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15878 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15879 * lyxlex.[hC]: ditto
15881 2001-08-06 Juergen Vigna <jug@sad.it>
15883 * text.C (getVisibleRow): fix up row clearing a bit.
15885 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15887 * minibuffer.C: make sure the X server sees the changes in the input.
15889 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15891 * paragraph.C (getFont): split into...
15892 (getLabelFont): this
15893 (getLayoutFont): and this
15894 * paragraph_pimpl.C (realizeFont): calling this
15896 * text2.C (getFont): split into...
15897 (getLayoutFont): this
15898 (getLabelFont): and this
15899 (realizeFont): all three calling this
15901 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15904 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15906 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15908 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
15910 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15911 layouts from the Quote inset insertion.
15913 2001-08-03 Juergen Vigna <jug@sad.it>
15915 * BufferView_pimpl.C (update): do the fitCursor only at the end!
15917 * screen.C (drawFromTo): don't call fitcursor here and do the loop
15918 only if status not is already CHANGED_IN_DRAW (second level).
15920 * text.C (draw): don't set the need_break_row when inside an
15923 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
15925 * buffer.C (parseSingleLyXformat2Token): handle more latex
15928 * bufferview_funcs.[hC]: change function names to
15929 begin with small char, adjust other files.
15931 2001-08-02 André Pönitz <poenitz@gmx.net>
15934 BufferView_pimpl.C: remove broken special code for math-greek
15936 2001-08-02 Juergen Vigna <jug@sad.it>
15938 * BufferView_pimpl.C (update): redone this function so that we
15939 update the text again if there was a CHANGE_IN_DRAW.
15941 * screen.C (cursorToggle): removed LyXText parameter and recoded.
15942 (drawFromTo): added a new internal bool which is used by draw() and
15944 (general): some cursor drawing problems fixed.
15946 2001-08-01 Juergen Vigna <jug@sad.it>
15948 * lyxfind.C (LyXFind): fixed
15949 (SearchForward): ditto
15950 (SearchBackward): ditto
15952 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15953 spurius drawing of the cursor in the main area.
15955 * text2.C (status): small fix which could lead to a segfault!
15956 (clearSelection): remove unneeded BufferView param.
15958 2001-08-01 André Pönitz <poenitz@gmx.net>
15960 * lyxfunc.C: small change due to changed mathed interface
15962 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15964 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15966 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
15968 * lyxfunc.c: fail gracefully if file doesn't exist
15973 * BufferView_pimpl.C: IsDirWriteable() proto changed
15975 * LyXView.C: fix updateWindowTitle() to store the last title
15977 2001-07-31 Juergen Vigna <jug@sad.it>
15979 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15980 the font (wrong since using of Paragraph::highestFontInRange).
15982 * paragraph.C (highestFontInRange): added a default_size parameter.
15984 * text.C (getVisibleRow): minor clear row changes (still not perfect).
15985 (setHeightOfRow): reformat
15987 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15989 * converter.[hC] + affected files: move to (inital-char)lowercase
15992 * ParagraphParameters.C (ParagraphParameters): remove commented code
15994 * PainterBase.[Ch]: remove commented code
15996 * LaTeXFeatures.h: add "bool floats" for float.sty
15998 * LaTeXFeatures.C (LaTeXFeatures): init floats
15999 (require): handle float
16000 (getPackages): do it with floats
16002 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16004 * BufferView_pimpl.C (Dispatch): improve handling of
16005 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
16007 * commandtags.h: #include lyxfont.h here temporarily to avoid
16010 * bufferlist.h: include LString.h here.
16012 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16014 * text2.C (getStringToIndex): new method.
16016 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
16018 * *: Reduced header file dependencies all over.
16020 2001-07-30 Baruch Even <baruch@lyx.org>
16022 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
16024 2001-07-29 Baruch Even <baruch@lyx.org>
16026 * buffer.C (readInset): Changed GRAPHICS to Graphics.
16028 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16030 * ParameterStruct.h (endif): add a default constructor to make
16031 sure that all variables is initialized.
16033 * ParagraphParameters.C (ParagraphParameters): adjust
16035 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16037 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
16038 index; also, check that there is something to index, and that it
16039 does not span over several paragraphs.
16040 (doubleClick): use WHOLE_WORD_STRICT for double click.
16042 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
16044 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
16047 2001-07-26 Baruch Even <baruch@lyx.org>
16049 * buffer.C (readInset): Changed to call up InsetGraphics when reading
16050 an InsetFig figure, backwards compatible reading of old figure code.
16052 2001-07-27 Juergen Vigna <jug@sad.it>
16054 * text2.C: font.realize function adaption.
16056 * text.C (draw): add a warnings lyxerr text if needed.
16058 * layout.C: font.realize function adaption.
16060 * language.C: add inherit_language and implement it's handlings
16062 * bufferview_funcs.C (StyleReset): remove language parameter from
16063 font creation (should be language_inherit now).
16065 * bufferparams.C (writeFile): handle ignore_language.
16067 * paragraph.C (getFontSettings): the language has to be resolved
16068 otherwise we have problems in LyXFont!
16070 * lyxfont.C (lyxWriteChanges): added document_language parameter
16071 (update): removed unneeded language parameter
16073 * paragraph.C (validate): fixed wrong output of color-package when
16074 using interface colors for certain fonts in certain environments,
16075 which should not seen as that on the final output.
16077 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
16079 * BufferView_pimpl.C:
16084 * LyXAction.C: add thesaurus support
16087 * lyxfind.C: add "once" parameter, for thesaurus, to not
16088 move to the next match
16090 2001-07-26 Juergen Vigna <jug@sad.it>
16092 * lyxfont.C (realize): honor ignore_language too!
16095 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
16097 * text.C (draw): one place more for ignore_language to not draw
16100 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
16102 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
16104 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16106 * buffer.C (parseSingleLyXformat2Token): a more general fix for
16107 the minipage conversion problem.
16109 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16111 * buffer.C (parseSingleLyXformat2Token): check minipage if we
16114 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16116 * BufferView.h: don't forward declare WorkArea
16118 * BufferView.C: don't include WorkArea.h
16120 2001-07-25 André Pönitz <poenitz@gmx.net>
16124 * lyxfunc.C: new LFUN 'math-space'
16126 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
16128 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16130 * text2.C (toggleInset): call open/close
16132 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16134 * lyxfunc.C (dispatch): add debug for the disabled case
16136 * font.C (buttonText): make similar to rectText
16138 * buffer.C (readInset): comment out parsing of insetlist and
16141 * PainterBase.C (rectText): small correction
16143 * BufferView_pimpl.C: comment out insettheorem and insetlist
16144 * LyXAction.C: ditto
16145 * commandtags.h: ditto
16147 2001-07-24 Juergen Vigna <jug@sad.it>
16149 * text.C (draw): honor the ignore_language.
16151 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
16153 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16155 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
16158 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16160 * lyxtext.h: remove unused (and unimplemented) methods
16162 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16164 * text.C (getVisibleRow): honor background color
16167 * Painter.h: remove default color argument for fillRectangle
16169 * text.C (backgroundColor): new method
16171 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16173 * text.C (getVisibleRow): adjust
16175 * font.[Ch] (rectText): new method, metrics
16176 (buttonText): new method, metrics
16178 * PainterBase.[hC]: make rectText and buttonText always draw and take
16181 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16183 * ToolbarDefaults.C (read):
16184 * MenuBackend.C (read): allow escaping in all strings
16186 * BufferView_pimpl.C (insertAndEditInset): new method.
16187 (Dispatch): use insertAndEditInset whenever appropriate.
16189 * BufferView_pimpl.C (insertNote): removed
16191 * BufferView_pimpl.C (smartQuote): new method, moved from
16192 BufferView; if an insetquote cannot be inserted, insert a '"'
16195 * BufferView2.C: remove insertCorrectQuote();
16197 * lyxfunc.C (getStatus): Add support for all remaingin
16198 inset-insert lfuns.
16200 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
16202 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
16203 command (necessary to pass " as parameter of self-insert.
16205 * text.C (selectWordWhenUnderCursor):
16206 (selectWord): add word_location parameter
16207 (selectWordWhenUnderCursor): same + remove special code for word
16209 (selectNextWord): use kind() to guess type of insetspecialchar,
16212 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
16213 (insertErtContents): create ert insets as collapsed.
16214 (readInset): better compatibility code for Info inset.
16216 2001-07-20 Juergen Vigna <jug@sad.it>
16218 * lyxfunc.C (dispatch): use always LyXFind now!
16220 * text2.C (init): add a reinit flag so that the LyXText can be
16221 reinited instead of deleted and reallocated (used in InsetText).
16223 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
16229 2001-07-18 Juergen Vigna <jug@sad.it>
16231 * text.C (selectNextWord): handle insets inside inset by calling
16232 always the bv->text functions so that we can go up the_locking_inset!
16234 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
16235 in strange locations when inside an inset!
16237 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
16238 handling to include insets.
16240 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
16242 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16244 * LyXAction.C (init):
16246 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
16247 LIGATURE_BREAK, since the name is so stupid.
16249 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
16251 * buffer.C (readInset): enable reading of new InsetNotes as well as old
16254 * FontLoader.C: remove FORMS_H_LOCATION cruft.
16256 * sp_form.[Ch]: remove.
16258 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
16260 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
16263 * src/buffer.C (readInset): ditto.
16265 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16267 * BufferView_pimpl.C (specialChar): new method. Obsoletes
16268 menuSeparator(), endOfSentenceDot(), ldots() and
16269 hyphenationPoint(), which are therefore removed.
16270 (Dispatch): handle LFUN_HYPHENATION_BREAK.
16272 * LyXAction.C (init):
16273 * commandtags.h: add LFUN_HYPHENATION_BREAK.
16275 * paragraph.C (getWord): removed.
16277 * BufferView_pimpl.C (Dispatch): use last word or selection for
16278 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
16280 * lyx_main.C (queryUserLyXDir): do not ask before creating
16281 user_dir, except if it has been named explicitely.
16283 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
16285 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
16286 a document of zero size.
16288 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
16290 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
16291 approriately in the c-tor and in require().
16292 (getPackages): output the appropriate LaTeX for natbib support.
16294 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
16295 variables "use_natbib" and "use_numerical_citations" when reading the
16297 (readInset): read the various natbib cite commands.
16298 (validate): white-space change.
16300 * bufferparams.[Ch]: new variables "bool use_natbib" and
16301 "bool use_numerical_citations".
16302 (writeFile): output them in the LyX file.
16304 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16306 * lyxfunc.C (getStatus): add support for all the inset insertion
16309 * text2.C (insertInset):
16310 * paragraph.C (insetAllowed):
16311 * BufferView_pimpl.C (insertInset): update to take in account the
16312 renaming of insertInsetAllowed
16314 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
16316 * text2.C (getInset): new method. returns inset at cursor position.
16318 * BufferView_pimpl.C (Dispatch): changes because of this.
16320 * LyXAction.C (init): rename open-stuff to inset-toggle.
16322 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
16324 * text2.C (toggleInset): renamed from openStuff; use
16327 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
16329 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
16331 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
16333 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
16335 * buffer.C (readLyXformat2): Add filename to the error dialog
16337 2001-07-18 Juergen Vigna <jug@sad.it>
16339 * tabular.C (GetCellNumber): put an assert here instead of the check!
16341 2001-07-17 Juergen Vigna <jug@sad.it>
16343 * BufferView_pimpl.C (toggleSelection): adapted too.
16345 * text.C (selectNextWord): adapted for use with insets.
16346 (selectSelectedWord): ditto
16348 2001-07-17 Juergen Vigna <jug@sad.it>
16350 * sp_spell.C (PSpell): fix initialitation order.
16352 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16354 * paragraph.C: spacing
16356 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
16358 * sp_spell.C: repair language selection for pspell
16360 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
16362 * lyxfunc.h: change more methods to begin with lower char.
16364 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
16366 * buffer.C (parseSingleLyXformat2Token): Generate error insets
16367 for unknown layouts.
16369 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
16371 * buffer.C (readLyXformat2): Generate an error dialog if there are
16374 2001-07-16 Juergen Vigna <jug@sad.it>
16376 * sp_spell.C: always compile ISpell part.
16378 * lyxrc.C: added use_pspell entry and it's handling.
16380 2001-07-13 Juergen Vigna <jug@sad.it>
16382 * sp_spell.C: removed double includes.
16384 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
16386 Consistent use of Lsstream.h:
16387 * Lsstream.h: added using std::stringstream for consistencies sake.
16389 * buffer.C: removed using std::stringstream
16391 * lyxfont.C (stateText):
16392 * paragraph.C (asString):
16393 * text.C (selectNextWord, selectSelectedWord):
16394 * text2.C (setCounter):
16395 * vspace.C (asString, asLatexString):
16396 std::ostringstream -> ostringstream.
16398 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
16400 * LyXAction.C: add LFUN_HELP_ABOUTLYX
16401 * commandtags.h: add LFUN_HELP_ABOUTLYX
16402 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
16404 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
16406 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
16408 * lyx_gui_misc.C: remove spellchecker
16409 * lyxfunc.C: showSpellchecker
16411 * sp_ispell.h: added
16412 * sp_pspell.h: added
16413 * sp_spell.C: added
16414 * sp_form.[Ch]: removed
16415 * spellchecker.[Ch]: removed
16417 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
16419 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
16421 (simpleTeXSpecialChars): Simply print the input character without
16422 any special translation if pass_thru is set.
16424 * layout.h: Added bool pass_thru to layout class for being able to
16425 implement pass through of a paragraph for Literate Programming.
16427 * layout.C: add LT_PASS_THRU to LayoutTags enum.
16428 * layout.C (LyXLayout): set pass_thru to flase in constructor.
16429 * layout.C (Read): add "passthru" to list of layout tags and add
16430 code to set the pass_thru boolean when it is read.
16432 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
16434 * trans_decl.h: remove allowed from KmodInfo
16436 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
16437 remove allowed code
16440 * paragraph_pimpl.C (erase): use boost::prior
16442 * Painter.C (text): use data() instead of c_str() when length is
16444 * WorkArea.C (putClipboard): ditto
16445 * font.h (width): ditto
16447 * BufferView2.C: use it-> instead of (*it). for iterators
16449 * paragraph_pimpl.C: ditto
16450 * paragraph.C: ditto
16451 * minibuffer.C: ditto
16452 * language.C: ditto
16454 * encoding.C: ditto
16455 * counters.C: ditto
16456 * converter.C: ditto
16458 * Variables.C: ditto
16459 * TextCache.C: ditto
16460 * MenuBackend.C: ditto
16461 * LyXAction.C: ditto
16463 * FloatList.C: ditto
16464 * DepTable.C: ditto
16465 * ColorHandler.C (LyXColorHandler): ditto
16467 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16469 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16471 * text2.C (openStuff): reintroduce this method (which had been
16472 nuked in NEW_INSETS frenzy).
16474 * lyxfunc.C (Dispatch): when an action has not been handled, use
16475 its name in the error message, not its number.
16477 * paragraph.C (inInset): change method name to begin with lowercase.
16480 * text2.C: updates because of this.
16482 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16484 * ToolbarDefaults.C (add): add spaces in error message
16486 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
16488 * buffer.C (readLyXformat2): initialize the ert comp. variables.
16489 (readLyXformat2): rename return_par to first_par, use lyxlex's
16490 pushToken and remove the manual push handling.
16491 (parseSingleLyXformat2Token): add another ert comp. variable:
16492 in_tabular, rename return_par to first_par. handle newlines better
16494 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16496 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16498 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
16500 * text2.C (getParFromID): removed
16502 * buffer.C (getParFromID): new method moved form lyxtext.
16503 * BufferView2.C (insertErrors): adjust
16504 (setCursorFromRow): adjust
16505 * BufferView_pimpl.C (restorePosition): adjust
16506 * lyxfunc.C (Dispatch): adjust
16507 * undo_funcs.C (textUndo): adjust
16509 (textHandleUndo): adjust
16510 (textHandleUndo): adjust
16512 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
16514 * buffer.C: up' the LYX_FORMAT
16516 * lyxfont.h: turn NO_LATEX on as default
16518 * buffer.C (insertErtContents): new methods of tex style compability.
16519 (parseSingleLyXformat2Token): use it several places.
16520 * tabular.C (OldFormatRead): and here
16522 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
16524 * text2.C: remove some commented code.
16527 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16528 * trans.C: changes because of the above.
16530 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
16532 * text2.C (setCounter): Fix counters bug with bibliography layout.
16534 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16536 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16537 own member functions
16538 (simpleTeXSpecialChars): ditto
16540 2001-07-06 Juergen Vigna <jug@sad.it>
16542 * a lot of files: changed the access to LyXText::status and the
16543 call of undo-functions.
16545 * undo.[Ch]: added a inset_id to the undo informations.
16547 * undo_funcs.[Ch]: added and moved here all undo functions.
16549 * lyxtext.h: give the status enum a weight, made status_ a private
16550 variable and made accessor functions for it, removed the whole bunch
16551 of undo-functions as they are now in their own file, make some
16552 functions publically available. Added function ownerParagraph with
16555 * paragraph.[Ch]: added "bool same_ids" to the constructor,
16556 made InInset() a const function, added getParFromID() function.
16558 * buffer.[Ch]: added const version for inset_iterator functions,
16559 added getInsetFromID() function.
16561 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16562 changed undo functions for new version.
16564 2001-07-05 Juergen Vigna <jug@sad.it>
16566 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16567 unknow mechanism does not call the proper constructor but only this
16568 one also if I request the other!?
16570 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16572 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16574 * text2.C (LyXText): use initialization lists.
16576 * lyxtext.h (Selection): initialize set_ and mark_
16577 (init): remove method
16579 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
16581 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16583 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16585 * screen.[Ch]: change method names to begin with lowercase
16587 * BufferView_pimpl.C (updateScrollbar): simplify further and
16588 hopefully make it a bit faster.
16590 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16592 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16593 calling directly xforms functions.
16595 * Painter.C (Painter):
16596 * lyx_cb.C (MenuWrite):
16597 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16600 * lyx_gui.C: remove bogus guiruntime extern declaration.
16602 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16604 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16606 (redoDrawingOfParagraph): ditto
16607 (redoParagraphs): ditto
16608 (cutSelection): don't create a object for CutAndPaste use the
16609 static method directly
16610 (pasteSelection): ditto
16612 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16615 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16617 * modifications to some other files because of this.
16619 * Makefile.am (lyx_SOURCES): add XFormsView
16621 * XFormsView.[Ch]: new files
16623 * LyXView.[Ch]: make LyXView a base class for the gui handling for
16624 the main window. Move the gui dependent stuff to XFormsView
16626 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16628 * tabular.C (GetCellInset): update cur_cell also in the row/col
16629 version of this function.
16631 * lyxfunc.C: no need to include figure_form.h here.
16637 * lyxvc.C: no need to include forms.h here.
16639 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16641 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16643 * lyxfunc.C (Dispatch):
16645 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16646 constructor argument.
16648 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16650 * paragraph.C (Paragraph): dont't clear, and just set layout.
16651 (makeSameLayout): use params's copy contructor.
16653 * ParagraphParameters.[Ch] (makeSame): delete method
16655 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
16657 * Variables.[Ch]: fix indentation, rename set to isSet
16659 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16661 * lyxfunc.C (Dispatch): fix typo
16663 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16665 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16668 * bufferlist.C: include assert.h for emergencyWrite().
16670 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16672 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16673 give up at last (bug #425202) !
16675 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
16681 * spellchecker.C: strip spellchecker options and bring up
16682 preferences tab instead
16684 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16686 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16687 the istringstream constructor
16689 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16691 * paragraph.C (getLayout): fix return value
16693 * paragraph.h: do not declare getLayout as inline.
16695 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16697 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16699 * lyxcursor.h (operator<): new func
16700 (operator>): new func
16701 (operator>=): new func
16702 (operator<=): new func
16704 * text.C (changeCase): use selection.start and selection.end
16705 (changeRegionCase): require from to be <= to. Require par to be a
16708 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16710 2001-06-27 Juergen Vigna <jug@sad.it>
16712 * text.C (cursorLeftOneWord): changed to return the cursor and added
16713 overlay with BufferView * parameter which calls this one.
16715 (selectWord): use new getWord function.
16716 (changeCase): renamed from changeWordCase as and extended to work
16717 also on selections.
16719 * lyxtext.h: added enum word_location
16721 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16722 changeCase as this operates now also on selections.
16724 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
16726 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16728 * many files: send debug output to Debug::INFO instead of
16731 * converter.C (View):
16733 (Move): send debug output to Debug::FILES instead of console.
16735 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
16737 * lyxfunc.C (getStatus): use func_status
16739 * func_status.h: new header, describing the results of
16740 LyXFunc::getStatus;
16742 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16745 2001-06-25 The LyX Project <jug@sad.it>
16747 * buffer.C (sgmlOpenTag):
16749 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
16751 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16753 * text2.C: remove some dead code
16755 * tabular.C (GetCellInset): store the last cell checked (gotten)
16757 * tabular.h: add the helper for the speedup
16759 * lyxtext.h: remove some dead code
16761 2001-06-26 The LyX Project <Asger>
16763 * paragraph.C: Change export to LaTeX of alignment to
16764 \begin{center} and family for better roundtrip work with reLyX.
16766 * Tune the math drawing a bit.
16768 2001-06-25 The LyX Project <Asger>
16770 * LColor.C (LColor): New color for math background. New color
16773 2001-06-25 The LyX Project <jug@sad.it>
16775 * lyxfunc.C (MenuNew): remove extra check for .lyx file
16777 * lyxfunc.C (Open):
16778 * bufferlist.C (newFile): do not restrict to files ending with
16781 * BufferView_pimpl.C (MenuInsertLyXFile):
16783 2001-06-24 The LyX Project <jug@sad.it>
16785 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16788 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16790 * lyxtext.h: rename most methods to begin with a small char.
16791 Lots of changes because of this.
16793 * paragraph.C (Paragraph): do not call fitToSize
16794 (erase): call Pimpl::erase
16795 (insertChar): call Pimpl::insertChar
16796 (insertInset): call Pipl::insertInset
16797 (breakParagraph): do not call fitToSize
16798 (breakParagraphConservative): do not call fitToSize
16799 (fitToSize): remove method
16801 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16803 2001-06-24 The LyX Project <Asger>
16805 * Fix Qt compilation^2
16807 2001-06-24 The LyX Project <jug@sad.it>
16809 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16810 depthHook(getDepth()-1).
16813 * ParagraphParameters.h:
16814 * ParameterStruct.h: change type of depth to unsigned int ==
16815 depth_type. Many adaptations to other files before of that.
16817 2001-06-24 The LyX Project <Asger>
16819 * Fix Qt compilation.
16821 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16823 * paragraph.h: renamed several methods to begin with small letter.
16824 several changes to many parts of the code because of this.
16826 2001-06-23 The LyX Project <jug@sad.it>
16828 * text2.C (InsertStringAsLines): renamed from InsertStringA;
16829 rewritten to discard all double spaces when KeepEmpty is off
16830 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16831 to only handle newlines but not fiddle with spaces and friends.
16833 * lyxfunc.C (MenuNew): when doing 'new from template', use
16834 template_path as default directory
16836 2001-06-23 The LyX Project <Asger>
16838 * Clean-up of header file includes all over
16839 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16841 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16843 * paragraph.h: renamed from lyxparagraph.h
16845 2001-06-23 Asger <lyx@violet.home.sad.it>
16847 * Buffer.h: Removed Buffer::resize
16848 * BufferList.h: Removed BufferList::resize
16849 * LyXView.h: Added LyXView::resize. This way, we will only reflow
16850 the document lazily when we change the width, or the font settings.
16852 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16854 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16856 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16858 * buffer.h: remove out of date comment
16860 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16863 * screen.C: fix "theoretical" GC leak
16865 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16867 * LaTeX.C (scanAuxFile):
16868 (deplog): remove trailing \r when reading stream (useful under
16871 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
16873 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16874 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16875 and BufferView::theLockingInset(Inset*), so should use them and not
16876 access bv_->text->the_locking_inset directly.
16878 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16880 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16883 * tex-defs.h: remove old unused file
16885 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
16887 * BufferView_pimpl.C: fix typo, remove minibuffer message
16888 when buffer has loaded
16890 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
16892 * lyxfunc.C (Dispatch): use stringstream
16893 (MenuNew): use stringstream
16894 (Open): use stringstream
16896 * importer.C (Import): use stringstream
16898 * bufferview_funcs.C (CurrentState): use stringstream
16900 * LaTeX.C (run): use stringstream
16902 * BufferView_pimpl.C (savePosition): use stringstream
16903 (restorePosition): use stringstream
16904 (MenuInsertLyXFile): use stringstream
16906 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
16919 * vspace.C: removed // -*- C++ -*- as first line.
16922 * version.h: added // -*- C++ -*- as first line.
16924 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16926 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16928 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16931 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
16933 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16936 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16938 * gettext.C: include LString.h even when --disable-nls is on.
16940 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
16942 * converter.h (Get): changed argument type from int to
16943 FormatList::size_type to avoid unnecessary conversion.
16945 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16948 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16950 * gettext.h: include LString.h even when --disable-nls is on.
16952 2001-06-07 Juergen Vigna <jug@sad.it>
16954 * text.C (BreakAgain): subst spaces with tabs.
16956 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16957 (resizeInsetsLyXText): set force on resizeLyXText.
16959 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16961 * gettext.h (gettext_init):
16962 (locale_init): use a real definition instead of a macro
16964 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16966 * Bufferview_pimpl.C:
16968 * LColor.C: further lcolor tidies
16970 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
16972 * BufferView_pimpl.C (updateScrollbar): simplify.
16974 * BufferView2.C: don't include insets/insetinfo.h, change
16975 prototype for insertInset and call the Pimpl version. let
16976 updateInset call Pimpl version.
16978 * BufferView.h: move inset_slept to BufferView::Pimpl, move
16979 gotoInset to BufferView::Pimpl
16981 2001-06-01 Juergen Vigna <jug@sad.it>
16983 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16984 inside a LockingInset (is the update needed at all?).
16986 2001-05-31 Juergen Vigna <jug@sad.it>
16988 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16989 here not the old one otherwise how should we compare it afterwards
16992 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16997 * FontInfo.C: bring C functions into global namespace when
17000 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17002 * LString.h: make sure config.h has been loaded before LString.h.
17004 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
17005 (one for each char read by EatLine!).
17007 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
17010 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
17012 * paragraph.C (BreakParagraph): set the inset_owner in the new par
17013 to the same as the par we break from
17015 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
17017 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
17019 * MenuBackend.C (expand): also create menu entries for wide
17020 versions of the floats.
17022 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
17024 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
17026 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
17027 frontends/Makefile.am
17033 * tabular.C (getTokenValue): add std::
17035 * tabular-old.C (getTokenValue): add std::
17036 (getTokenValue): ditto
17037 (getTokenValue): ditto
17039 * screen.C (ToggleSelection): adjust
17041 * lyxtext.h: put selection cursors inside a Selection struct.
17043 * lyxfunc.C (moveCursorUpdate): adjust
17045 * lyxfont.C (latexWriteStartChanges): add std::
17047 * lyxfind.C: adjust
17049 * font.h: delete with(char const *, LyXFont const &)
17051 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
17053 * FontInfo.C (getFontname): add std::
17055 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
17056 (workAreaButtonPress): adjust
17057 (tripleClick): adjust
17059 (moveCursorUpdate): adjust
17062 * BufferView2.C (gotoInset): adjust
17064 2001-05-30 Juergen Vigna <jug@sad.it>
17066 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
17067 to check pspell I add this as default as I now have new pspell
17068 libraries and they seem to use this.
17070 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
17072 * text2.C (CutSelection): make the cursor valid before the call to
17075 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17077 * kbsequence.C (parse): de-uglify a bit the parsing code, which
17078 relied on 0 terminated strings and other horrors. Bug found due to
17079 the new assert in lyxstring!
17081 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
17084 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
17086 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
17089 * lyxfunc.C (processKeySym): change method of getting to the
17092 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
17093 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
17094 * BufferView_pimpl.[Ch]: here as private methods.
17096 2001-05-28 Juergen Vigna <jug@sad.it>
17098 * text.C (SetHeightOfRow): added the update() call again as it is
17099 needed to initialize inset dimensions!
17101 2001-05-16 Juergen Vigna <jug@sad.it>
17103 * text2.C (SetCharFont): Add new function with BufferView * and
17104 bool toggleall parameters for setting insets internal fonts.
17105 (SetFont): Freeze the undo as we may change fonts in Insets and
17106 all this change should be inside only one Undo!
17108 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
17109 setting font's in insets as for them we have the SetFont function!
17111 2001-05-15 Juergen Vigna <jug@sad.it>
17113 * text2.C (ClearSelection): to be sure we REALLY don't have any
17116 * tabular.C (TeXCellPreamble): fixed the left border problem for
17119 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
17121 * LaTeX.C (deplog): Make sure that the main .tex file is in the
17124 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
17126 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
17127 LFUN_BREAKPARAGRAPH.
17129 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
17130 help test to "internal only", similar for LFUN_INSERT_URL
17132 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
17133 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
17134 auto_region_delete and deadkeys.
17136 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
17139 * LColor.C: remove some dead entries, tidy a little
17141 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
17143 * lyxfunc.C (processKeySym): comment the Escape handling, remove
17145 (Dispatch): implement LFUN_ESCAPE
17147 * commandtags.h: add LFUN_ESCAPE
17149 * LyXAction.C (init): add entry for LFUN_ESCAPE
17151 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
17152 Remove commented code.
17153 (insertNote): moved here
17154 (open_new_inset): moved here
17156 * BufferView[2].[Ch]: move insertNote and open_new_inset to
17159 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17161 * kbmap.C (findbinding): clean it up and make it work correctly.
17163 * lyx_main.C (init): do not pass argc and argv as parameters
17165 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
17167 * buffer.C: fix path for OS/2 & Win32
17171 * lyx_main.C: Added os:: class.
17173 * os2_defines.h: update
17175 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
17177 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
17178 better by trying again with reduced state.
17180 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17182 * lyxrc.C (read): print error about invalid key sequence only when
17183 debugging (because not all latinX keysyms are known to some X
17186 * kbsequence.C (getiso): add a few std:: qualifiers
17187 (getiso): comment out extra return statement.
17189 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
17191 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
17193 (Dispatch): enhance the accent inset a bit. (not perfect)
17195 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
17197 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
17199 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17201 * bufferlist.C (emergencyWrite): fix assert() call
17203 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
17205 * text.C (InsertChar): Added trivial patch to only send the "you
17206 can not do multiple spaces this way" message once during a
17209 2001-05-08 Baruch Even <baruch@lyx.org>
17211 * Makefile.am: Changed order of libraries to get LyX to link properly
17212 with the gnome frontend.
17214 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17216 * LaTeXFeatures.h: add a std:: qualifier
17218 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
17220 * paragraph.C (String): use stringstream
17222 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
17224 * paragraph.C (writeFile): remove footflag arg
17226 * buffer.C (makeLaTeXFile): use stringstream
17227 (latexParagraphs): remove footnot gurba
17229 * LaTeXFeatures.C (getPackages): use stringstream
17230 (getMacros): likewise
17231 (getTClassPreamble): likewise
17232 (getFloatDefinitions): new method
17234 * paragraph.C (writeFile): reindent
17237 * WorkArea.h: revert the xpos + etc changes.
17239 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
17241 * lyxparagraph.[Ch]: add copy constructor, remove Clone
17243 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
17244 (pasteSelection): likewise
17245 * text2.C (CreateUndo): likewise
17247 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
17249 * minibuffer.C (peek_event): temporarily reduce the functionality
17250 of the minibuffer (to allow args on lfuns)
17252 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
17253 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
17255 * buffer.C (readInset): add compability reading of old float
17256 lists, add reading of new style float list.
17257 (readInset): avoid reevaluation of inscmd.getCmdName()
17258 (getLists): reindent
17260 * MenuBackend.C (MenuItem): implement parsing of
17261 md_floatlistinsert and md_floatinsert.
17262 (expand::LastFiles): move initalizaton of iterators out of loop,
17263 avoid reevaluation.
17264 (expand::Documents): introduce typdedef vector<string> Strings,
17266 (expand::ExportFormats): introduce typedef vector<Format const *>
17267 Formats, and use it.
17268 (expand): implement FloatListInsert and FloatInsert.
17270 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
17271 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
17272 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
17274 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
17276 (Dispatch::LFUN_FLOAT_LIST): implement
17278 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
17280 * LaTeX.C (run): Fix problem with --export code.
17282 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
17284 * BufferView.[Ch] (workarea): removed.
17285 (getClipboard) new method; wrapper for workarea()->getClipboard()
17287 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
17290 * WorkArea.h (width, height, xpos, ypos): These methods all
17291 returned the dimensions of the work_area sub-area of WorkArea,
17292 resulting in a position error if the WorkArea were resized. Now
17293 return the dimensions of the entire WorkArea.
17295 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
17297 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17299 * LaTeX.C (deplog): correct the syntax of regex reg1
17301 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
17303 * undo.C: remove !NEW_INSETS cruft
17305 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
17307 * text2.C: remove !NEW_INSETS cruft
17309 * text.C: remove !NEW_INSETS cruft
17311 * tabular.C: remove !NEW_INSETS cruft
17313 * spellchecker.C: remove !NEW_INSETS cruft
17315 * lyxtext.h: remove !NEW_INSETS cruft
17317 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
17319 * lyxfunc.C: remove !NEW_INSETS cruft
17321 * lyxfind.C: remove !NEW_INSETS cruft
17323 * lyx_cb.C: remove !NEW_INSETS cruft
17325 * figureForm.C: remove !NEW_INSETS cruft
17327 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
17329 * buffer.[Ch]: remove !NEW_INSETS cruft
17331 * ToolbarDefaults.C: remove !NEW_INSETS cruft
17333 * CutAndPaste.C: remove !NEW_INSETS cruft
17335 * BufferView_pimpl.C: remove !NEW_INSETS cruft
17337 * BufferView2.C: remove !NEW_INSETS cruft
17339 * BufferView.h: remove !NEW_INSETS cruft
17341 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17343 * Lsstream.h: include LString.h before the sstream headers to
17344 fix problem with gcc 2.95.3 and lyxstring
17346 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17348 * lyx_main.C: add using directives when needed for C functions
17349 declared in std:: namespace.
17351 2001-04-27 Juergen Vigna <jug@sad.it>
17353 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
17354 (SetHeightOfRow): comment out the update call should not be needed!
17356 2001-04-13 Juergen Vigna <jug@sad.it>
17358 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
17359 (LyXTabular): tried to minimize operator= operations (and realized
17360 hopfully Lars wish).
17362 2001-04-27 Juergen Vigna <jug@sad.it>
17364 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
17366 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
17368 * lyxfunc.C (Dispatch): hack to make listof algorithm work
17370 * buffer.C (readInset): hack to make listof algorithm work
17372 * BufferView_pimpl.C: hack to make listof algorithm work
17374 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
17376 * LyXAction.C: removed all !NEW_INSETS cruft
17377 (init): moved lfun_item in method
17379 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
17381 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
17383 * BufferView2.C (theLockingInset): white space.
17385 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
17387 * minibuffer.C: include <iostream>
17389 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
17391 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
17393 * commandtags.h: add LFUN_TRANSPOSE_CHARS
17395 * text.[Ch] (TransposeChars): new method
17397 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
17399 * call message directly through LyXView instead of through LyXFunc
17400 * BufferView2.C: adjust
17401 * BufferView_pimpl.C: adjust
17402 * FontLoader.C: adjust
17404 * bufferview_funcs.C: adjust
17405 * converter.C: adjust
17406 * figureForm.C: adjust
17407 * importer.C: adjust
17409 * lyx_gui_misc.C: adjust
17410 * lyxfunc.C: adjust
17413 + more files in subdirs
17415 * lyxparagraph.h (size): move up int file
17418 * adjust all uses of Assert to lyx::Assert.
17420 * BufferView2.C (ChangeCitationsIfUnique): adjust for
17421 lyxfunctional in namespace lyx
17422 * layout.C (hasLayout): ditto
17425 (delete_layout): ditto
17426 (NumberOfClass): ditto
17427 * converter.C (GetFormat): ditto
17432 * bufferlist.C (getFileNames): ditto
17433 (emergencyWriteAll): ditto
17436 * MenuBackend.C (hasSubmenu): ditto
17439 * BufferView_pimpl.C (getInsetByCode): ditto
17441 2001-04-18 Juergen Vigna <jug@sad.it>
17443 * vspace.C (asLatexString): fixed the 100% problem.
17445 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17447 * lyxfunc.C (Dispatch):
17449 * minibuffer.h: add a few std:: qualifiers
17451 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
17453 * minibuffer.[Ch]: reimplement so that commands is initiated and
17454 run from lyxfunc, simplified som handling, and made the completion
17455 and history code for complete. wip.
17457 * lyxfunc.C (processKeySym): call message
17458 (miniDispatch): new temporary method
17459 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
17460 (LFUN_MESSAGE): implement
17461 (LFUN_MESSAGE_PUSH): implement
17462 (LFUN_MESSAGE_POP): implement
17463 (initMiniBuffer): the initial/defualt minibuffer message.
17465 * lyxfont.[Ch]: inline some more getters
17467 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17469 * lyx_gui_misc.[Ch] (WriteStatus): remove method
17471 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17472 (AutoSave): use LFUN_MESSAGE
17473 (Reconfigure): ditto
17475 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17477 * figureForm.C: use LFUN_MESSAGE
17479 * converter.C (runLaTeX): use LFUN_MESSAGE
17481 * bufferview_funcs.C: use LFUN_MESSAGE
17483 (changeDepth): ditto
17485 * bufferparams.h: use boost::
17487 * bufferlist.h: inherit privately from noncopyable
17489 * bufferlist.C (loadLyXFile): remove some commented code.
17491 * buffer.C (runChktex): use LFUN_MESSAGE
17493 * ShareContainer.h: inherit privately from noncopyable
17495 * ParagraphParameters.[hC] (depth): inline it.
17497 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17499 (message): new method
17500 (messagePush): ditto
17501 (messagePop): ditto
17502 (show): init minibuffer
17503 (showState): direct call
17505 * LaTeX.[Ch]: inherit privately from noncopyable
17506 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17507 instead of WriteStatus.
17509 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17511 * BufferView_pimpl.C (buffer): don't init minibuffer
17512 (workAreaButtonPress): use LFUN_MESSAGE
17513 (workAreaButtonRelease): ditto
17514 (savePosition): ditto
17515 (restorePosition): ditto
17516 (MenuInsertLyXFile): ditto
17517 (workAreaExpose): don't init minibuffer
17518 (update): remove commented code, simplify
17520 * BufferView2.C (openStuff): use LFUN_MESSAGE
17521 (toggleFloat): ditto
17524 (copyEnvironment): ditto
17525 (pasteEnvironment): ditto
17530 (updateInset): remove some commented code
17532 * lastfiles.h: inherit privately from noncopyable
17535 * lyx_main.h: ditto
17537 * lyxlex_pimpl.h: ditto
17539 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17540 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17541 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17543 * LyXAction.h: inherit privately from noncopyable, add methods
17544 func_begin, func_end, returning iterators to the func map.
17546 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17547 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17548 (func_begin): new method
17549 (func_end): new method
17551 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17553 (copySelection): ditto
17554 (pasteSelection): ditto
17556 * BufferView.C: whitespace change
17557 * BufferView.h: inherit privately from noncopyable
17559 2001-04-16 Allan Rae <rae@lyx.org>
17561 * tabular-old.C (l_getline):
17562 * spellchecker.C (sc_check_word):
17563 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17564 an unrecognised preprocessor directive. So ensure they're wrapped.
17566 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
17568 * src/exporter.C (Export): Give an error message when path to file
17571 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
17573 * LaTeX.C (deplog): Always check that foundfile exists.
17575 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17578 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17580 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
17582 * tabular.[Ch] (getLabelList): implement new method
17584 * minibuffer.h: comment ouf setTiimer
17586 * minibuffer.C (ExecutingCB): constify res
17587 (peek_event): constify s
17588 (Set): constify ntext
17589 (Init): constify nicename
17591 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17593 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17594 (savePosition): use two params to Minibuffer::Set
17595 (restorePosition): ditto
17597 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17599 * lyx_main.C: include language.h
17601 * Makefile.am (lyx_main.o): add language.h
17603 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17609 * CutAndPaste.C: include gettext.h
17611 * lyxfont.h: remove old hack with ON and OFF.
17614 * lyxfont.h: do not include language.h...
17619 * bufferview_funcs.C:
17625 * paragraph.C: ... but do it here instead
17627 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
17629 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17631 * tabular.C: small reformat
17633 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17636 (BreakParagraph): ditto
17637 (SetOnlyLayout): ditto
17640 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17643 * lastfiles.C: removed most using decl, add std:: where needed
17645 * buffer.C: ws changes
17647 * MenuBackend.C (class compare_format): put into anon namespace
17648 (expand): constify label, names, action, action2
17651 * text.C (SingleWidth): constify font
17652 (IsBoundary): constify rtl2
17653 (GetVisibleRow): constify ww
17655 * LaTeX.C (deplog): constify logfile
17657 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17659 (workAreaExpose): constify widthChange, heightChange
17661 * lyxrow.C (par): moved
17664 * lyxrow.h: as inlines here
17666 * lyxfont.h (shape): moved from lyxfont.C
17667 (emph): moved from lyxfont.C
17669 * lyxfont.C (LyXFont): use initialization list for all
17671 (shape): move to lyxfont.h as inline
17672 (emph): move to lyxfont.h as inline
17675 2001-04-04 Juergen Vigna <jug@sad.it>
17677 * vspace.C: had to include stdio.h for use of sscanf
17679 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
17682 * BufferView_pimpl.h: remove xforms cruft. Both classes are
17683 independent of xforms.
17685 2001-04-02 Juergen Vigna <jug@sad.it>
17687 * spellchecker.C: fixed namespace placing!
17689 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
17691 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17692 the LyXParagraph * is 0.
17694 2001-03-29 Juergen Vigna <jug@sad.it>
17696 * vspace.C: added support for %, c%, p%, l%.
17697 (stringFromUnit): added helper function.
17698 (asLatexString): changed to give right results for the %-values.
17700 * buffer.C: convert the widthp in a width%.
17702 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
17704 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17707 * figureForm.[Ch]: stripped the FD_from_figure manipulation
17708 code out of lux_cb.[Ch], ready for its (imminent?) removal.
17710 * lyx_cb.[Ch]: see above.
17712 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17716 * lyx.[Ch]: replaced by figure_form.[Ch].
17720 * lyxfunc.C: changed headers associated with above changes.
17722 2001-03-27 Juergen Vigna <jug@sad.it>
17724 * BufferView_pimpl.C: set the temporary cursor right!
17726 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
17728 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17730 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
17732 * LString.h: removed "using std::getline"!
17734 * BufferView_pimpl.C (Dispatch): changes due to changes in
17735 InsetInclude::Params.
17737 * buffer.C (tag_name): removed redundant break statements as they were
17738 producing lots of warnings with my compiler.
17740 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17742 * LString.h: add "using std::getline" when using the real <string>.
17744 2001-03-23 Jos�Ab�io Matos <jamatos@fep.up.pt>
17746 * buffer.C: removed bitset usage.
17747 PAR_TAG moved to an anonymous name space.
17748 (tag_name): new funtion, also in the anonymous namespace.
17749 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17750 (makeDocBookFile): clean code. Completed transition from string arrays
17752 (SimpleDocBookOnePar): code clean.
17754 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17756 * tabular.C: add some comments.
17758 2001-03-22 Juergen Vigna <jug@sad.it>
17760 * buffer.C (parseSingleLyXformat2Token): redone the minipage
17761 compatibility read a bit and fixed bug with minipage in different
17764 2001-03-21 Jos�Ab�io Matos <jamatos@fep.up.pt>
17766 * buffer.C (pop_tag): removed.
17767 (push_tag): removed.
17768 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17769 array replaced with vector. Added support for CDATA sections.
17770 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17772 (makeDocBookFile): XML conformant declaration of CDATA section,
17773 fixed bug related to <emphasis> in the first paragraph char.
17774 (sgmlOpenTag): exclude empty tags.
17775 (sgmlCloseTag): ditto.
17777 * buffer.h (pop_tag): removed.
17778 (push_tag): removed.
17780 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
17782 * language.h (Languages): added size_type and size().
17784 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17786 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17787 response on compability reading of minipages. One probliem is that
17788 the old usage of minipages was flertydig
17790 * several files here and in subdirs: don't use static at file
17791 scope use anon namespaces instead.
17793 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
17795 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17796 LaTeX output. This is necessary for Literate document
17799 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17801 * buffer.C: insert hfill when needed.
17803 * tabular.C (l_getline): use string::erase, small whitespace change.
17805 * BufferView_pimpl.C: try the anon namespace.
17806 * WorkArea.C: ditto
17808 2001-03-16 Juergen Vigna <jug@sad.it>
17810 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17811 otherwise it won't open options-dialogs.
17813 * buffer.C: honor pextraWidth(p) on converting minipages.
17815 * tabular.C (l_getline): changed the functions to strip trailing \r.
17817 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
17819 * BufferView_pimpl.C:
17820 * minibuffer..C: added "using SigC::slot" declaration.
17822 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17824 * lyxlex_pimpl.h: noncopyable is in namespace boost.
17830 * paragraph.C: ditto
17832 * lyxtext.h: NO_PEXTRA
17834 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17836 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17837 * ParameterStruct.h: ditto
17838 * ParagraphParameters.h: ditto
17839 * lyxparagraph.h: ditto
17841 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17843 * buffer.C: add compability for minipage alignment.
17844 (latexParagraphs): remove unwanted pextra check.
17846 * several files: remove CXX_WORKING_NAMESPACES
17848 * buffer.C (pop_tag): tie is in namespace boost
17850 * BufferView.h: noncopyable is in namespace boost
17852 * lyx_main.h: ditto
17855 * lastfiles.h: ditto
17856 * bufferlist.h: ditto
17857 * ShareContainer.h: ditto
17859 * LyXAction.h: ditto
17862 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17864 * Merging changes from BRANCH_MVC back into HEAD.
17866 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17868 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
17870 * BufferView_pimpl.C: change from intl.C
17874 * Makefile.am: move combox.*
17880 * intl.C: remove dialog (covered by prefs)
17882 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17884 * lyxfunc.C (Dispatch): removed redundant break statement.
17886 2001-03-14 Juergen Vigna <jug@sad.it>
17888 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17890 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17892 * buffer.C: add hack to fix compability reading of minipages.
17894 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
17896 * buffer.C (getLists): Cleanup.
17898 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17900 * lyxfont.C (update): don't honor toggleall on font size.
17902 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
17906 * Makefile.am: moved to frontends/xforms/
17910 * BufferView_pimpl.C: changes for moved mathpanel
17912 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17914 * gettext.h: fix gettext_init() in --disable-nls
17916 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17918 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17920 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
17923 * lyx.h: strip external form
17925 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17927 * BufferView_pimpl.C: add comment, destroySplash()
17929 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17931 * BufferView_pimpl.C:
17935 * lyxfunc.C: use re-worked insetinclude
17937 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17939 * buffer.C: add using std::stringstream.
17941 * lyx_cb.C: readd using std::ios.
17943 * buffer.C: add using std::map.
17945 * BufferView_pimpl.C: add using std::vector.
17947 * ShareContainer.h: add std:: to swap.
17949 * buffer.h: add some typedefs
17950 * buffer.C (getLists): use them
17951 (getLists): renamed from getTocList.
17952 add a counter for the different float types and use it in the
17954 (getLists): use the same counter for the NEW_INSETS and the "non"
17957 * lyx_cb.h: remove unused items, includes, using etc.
17959 * ShareContainer.h: remove some commented code, add more comments
17960 and "documentation".
17962 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17964 * buffer.C (getTocList): make the list also when NEW_INSETS is
17967 * buffer.h: remove TocType
17969 * buffer.C (getTocList): change to return a map<string,
17970 vector<TocItem> >, implement for dynamic number of list.
17972 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17973 * text2.C (PasteSelection): adjust
17974 * CutAndPaste.C (pasteSelection): adjust
17976 * FloatList.C (FloatList): update from the new_insets branch.
17977 * Floating.[Ch]: ditto
17978 * LaTeXFeatures.C: ditto
17980 * lyxlex_pimpl.C: ditto
17982 * paragraph.C (Last): remove when NEW_INSETS is defined.
17984 * other file: changes because of the above.
17986 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17988 * lyxparagraph.h: rename next to next_, previous to previous_,
17989 make them private for NEW_INSETS. Rename Next() to next(),
17990 Previous() to previous().
17992 * other files: changes because of the above.
17994 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
17997 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
18000 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18002 * main.C (main): pass lyx_localedir to gettext_init().
18004 * gettext.h: remove locale_init and gettext_init macros
18006 * gettext.C (locale_init): new function
18007 (gettext_init): new function
18009 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
18012 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
18014 * Moved credits to frontends:
18015 * credits.[Ch]: removed
18016 * credits_form.[Ch]: removed
18017 * lyx_gui_misc.C: remove credits stuff
18020 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18022 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
18024 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
18025 unneeded destructor.
18027 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
18028 a standalone pointer again.
18030 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
18032 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
18038 * ToolbarDefaults.C:
18047 * BufferView_pimpl.C: use new file dialog in GUII
18050 * lyx_cb.C: remove LayoutsCB to Toolbar
18052 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18054 * ShareContainer.h (get): add std:: qualifier
18056 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18058 * ShareContainer.h: define a proper ShareContainer::value_type
18059 type (and use typename to please compaq cxx)
18061 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18063 * lyxparagraph.h: move serveral local vars to
18064 ParameterStruct/ParagraphParameters., use ShareContainer in
18065 FontTable., make vars in FontTable private and add getter and
18068 * paragraph.C: changes because of the above.
18070 * lyxfont.h: remove copy constructor and copy assignment. (the
18071 default ones is ok), move number inside FontBits. move inlines to
18074 * lyxfont.C: add number to initializaton of statics, move several
18075 inlines here. constify several local vars. some whitespace
18076 cleanup. Dont hide outerscope variables.
18078 * Spacing.h: add two new constructors to match the set methods.
18080 * ShareContainer.h: new file, will perhaps be moved to support
18082 * ParameterStruct.h: new file
18084 * ParagraphParameters.h: new file
18086 * ParagraphParameters.C: new file
18088 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
18089 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
18091 * BufferView_pimpl.C: ParagraphParameter changes.
18092 * buffer.C: Likewise.
18093 * bufferview_funcs.C: Likewise.
18094 * text.C: Likewise.
18095 * text2.C: Likewise.
18097 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18099 * lyxfind.C (LyXReplace): do not redefine default argument in
18101 (IsStringInText): ditto
18102 (SearchForward): ditto
18103 (SearchBackward): ditto
18105 2001-03-06 Juergen Vigna <jug@sad.it>
18107 * lyxfind.C (IsStringInText): put parentes around expressions.
18109 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
18111 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
18113 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
18115 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
18117 * stl_string_fwd.h: add comment
18119 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
18122 * tabular.C: remove unused DocBook methods
18128 killed DO_USE_DEFAULT_LANGUAGE
18130 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18132 * lyx_gui.C: do not include language.h.
18134 * bufferview_funcs.C (ToggleAndShow): do not provide optional
18135 arguments in function implementation.
18137 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18139 * BufferView_pimpl.C: add <ctime>
18141 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18143 * BufferView_pimpl.C: add using std::find_if
18145 2001-02-27 José Matos <jamatos@fep.up.pt>
18147 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
18150 2001-02-11 José Matos <jamatos@fep.up.pt>
18152 * buffer.C (makeDocBookFile): command styles now have a parameter as
18153 "title" by default.
18155 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
18157 * layout_forms.[Ch]: removed
18158 * lyx_cb.[Ch]: out character
18159 * lyx_gui.C: out character
18160 * lyx_gui_misc.C: out character
18161 * bufferview_funcs.C: : out character,
18162 added toggleall as parameter in ToggleAndShow
18164 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
18166 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
18168 * text2.C (SetCurrentFont): Disable number property at boundary.
18170 2001-02-26 Juergen Vigna <jug@sad.it>
18172 * lyxfunc.C (getStatus): added a string argument override function so
18173 that this is correctly called from LyXFunc::Dispatch if it contains a
18174 do_not_use_argument which is used!
18175 (Dispatch): added check for "custom" export and call appropriate func.
18177 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
18179 * lyxrc.C: Add language_command_local, language_use_babel and
18180 language_global_options.
18182 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
18184 * buffer.C (makeLaTeXFile): Use language_use_babel and
18185 language_global_options.
18187 2001-02-23 Juergen Vigna <jug@sad.it>
18189 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
18190 which works with LyXText and putted it inside BufferView. Here now we
18191 only call for that part the BufferView::Dispatch() function.
18193 * BufferView.C (Dispatch): added.
18195 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
18196 functions which needs to use a LyXText over from LyXFunc.
18197 (MenuInsertLyXFile): added
18198 (getInsetByCode): added
18199 (moveCursorUpdate): added
18200 (static TEXT): added
18202 2001-02-22 Juergen Vigna <jug@sad.it>
18204 * BufferView_pimpl.C (update): call a status update to see if LyXText
18207 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18209 * vc-backend.C (revert): implement for CVS
18210 (getLog): implement for CVS
18212 2001-02-20 Juergen Vigna <jug@sad.it>
18214 * text2.C (ClearSelection): added BufferView param for inset_owner call
18216 * lyxfunc.C (TEXT): added this function and use it instead of
18217 directly owner->view()-text of getLyXText().
18219 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
18221 * src/layout_forms.C: out preamble
18222 * src/layout_forms.h: out preamble
18223 * src/lyx_cb.C: out preamble
18224 * src/lyx_cb.h: out preamble
18225 * src/lyx_gui.C: out preamble
18226 * src/lyx_gui_misc.C: out preamble
18227 * src/lyxfunc.C: connect with guii preamble
18229 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
18231 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
18233 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
18235 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
18236 whether to run bibtex.
18238 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
18240 * Makefile.am (lyx_SOURCES): Remove BackStack.h
18242 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
18244 * Makefile.am (lyx_SOURCES): removed bibforms.h
18246 * vspace.h: doxygen
18248 * text.C (GetVisibleRow): make several local vars const
18250 * tabular.C: small cleanup.
18252 * lyxserver.C (callback): use compare instead of strncmp
18254 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
18255 inlines to after class or to paragraph.C
18257 * lyxfont.h: remove friend operator!=
18259 * converter.h: move friend bool operator< to non friend and after
18262 * combox.h: small cleanup
18264 * buffer.h: doxygen, remove unused constructor, move inclas inlies
18265 to inlines after class def.
18267 * buffer.C (pop_tag): use string operations instead of strcmp
18269 * bmtable.c: doxygen, small cleanup
18271 * LaTeX.h: remove friend operator==
18273 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
18285 * BufferView_pimpl.C:
18286 * BufferView.[Ch]: remove cruft
18288 2001-02-14 Juergen Vigna <jug@sad.it>
18290 * lyxfunc.C: removed #if 0 unused code
18292 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
18294 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
18296 * text2.C (SetSelection): added a BufferView * parameter
18298 2001-02-13 Juergen Vigna <jug@sad.it>
18300 * lyxfunc.C (Dispatch): fixed protected blank problem.
18301 * BufferView2.C (protectedBlank): added LyxText * parameter.
18303 * tabular.C (AppendRow): forgot to set row_info of newly added row.
18304 (AppendColumn): same as above for column_info.
18306 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
18307 (moveCursorUpdate): use a LyXText param for support of InsetText.
18309 * BufferView_pimpl.C (doubleClick): added support for InsetText.
18310 (tripleClick): ditto
18312 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
18314 * BufferView_pimpl.C (update): added LyXText param to honor insets.
18316 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
18318 * text2.C (SetSelection): set correct update status if inset_owner
18319 (ToggleFree): ditto
18321 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
18323 * tabular.C: remove some commented code.
18325 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
18327 * BufferView_pimpl.C: call hideSplash()
18329 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
18332 * bibforms.h: remove
18335 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
18336 add LFUN_CHILD_CREATE
18338 * counters.h: fix tiny typo
18343 * lyx.C: move splash to frontends/xforms/
18345 * lyx_gui_misc.C: move Include and Bibform to frontends
18347 * lyxvc.h: clarify comment
18349 * vspace.C: tiny housekeeping
18351 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
18353 * text.C (PrepareToPrint): RTL Fix.
18355 * paragraph.C (GetUChar): New method.
18356 (String): Use GetUChar.
18358 * buffer.C (asciiParagraph): Use GetUChar.
18360 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
18362 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
18364 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
18367 * buffer.C: rename to getLogName(), handle
18368 build log / latex log nicely
18370 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18373 * MenuBackend.h: remove support for reference menuitem type.
18375 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
18377 * BufferView_pimpl.C: housekeeping
18378 * BufferView_pimpl.h:
18383 * minibuffer.h: move Timeout GUI-I
18385 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
18387 * lyxrc.C (read): Update converters data-structures.
18389 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
18391 * LaTeX.h (operator!=): add operator != for Aux_Info
18393 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
18395 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
18397 * LaTeXLog.C: deleted, useful code moved to Buffer
18400 * buffer.C: new function getLatexLogName()
18406 * lyxfunc.C: use frontends for LaTeX and VC logs
18408 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18410 * LaTeX.h: yet another std:: that Allan forgot.
18412 * Variables.C (set): renamed from isset(), because this clashes
18413 with some HP-UX macros (grr).
18415 2001-02-06 Allan Rae <rae@lyx.org>
18417 * LaTeX.h: Another bug fix. Missing std:: this time.
18419 2001-02-04 Allan Rae <rae@lyx.org>
18421 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
18422 floats problem. I've left it commented out because it's not quite
18423 correct. It should also test that the current object is a table or
18424 figure inset. But I haven't gotten around to figuring out how to do
18425 that. I *think* it'll be something like: "table" == inset.type()
18427 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
18430 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
18432 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
18433 all the citation/databases/styles in the auxilary file.
18434 (run): Rerun latex if there was a babel language error.
18436 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
18438 * text.C (Backspace): Preserve the font when changing newline char
18440 (BreakParagraph): If the cursor is before a space, delete the space.
18442 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
18444 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
18446 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
18447 new argument (code).
18448 (ChangeCitationsIfUnique): New method.
18450 * paragraph.C (GetPositionOfInset): Handle bibkey.
18452 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18454 * BufferView_pimpl.h: change type of Position::par_pos to
18455 LyXParagraph::size_type.
18457 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
18459 * BufferView_pimpl.C (savePosition, restorePosition): Write
18460 messages to minibuffer.
18462 2001-01-28 José Matos <jamatos@fep.up.pt>
18464 * buffer.C (makeDocBookFile): adds support for document language.
18465 A silly restriction on the name of LatexCommand types where removed.
18466 Added support for CDATA sections, allows to chars unescaped, used
18467 among others in code, to avoid escape < and >.
18469 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
18471 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18472 saved positions instrad of a stack. Furthermore, a position is
18473 stored using paragraph id/paragraph position.
18475 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18476 Remove LFUN_REF_BACK.
18478 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
18480 * converter.C (dvipdfm_options): New method.
18482 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
18484 * vspace.C (isValidLength): Fix for empty input string.
18486 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18488 * LyXAction.C (init): change description of LFUN_FIGURE to
18491 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18493 * LaTeX.C: add using directive
18495 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
18497 * MenuBackend.C (expand): Fix the sorting of the formats.
18499 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
18501 * lyx_main.C: tiny error message fix
18503 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18505 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18506 calling fl_initialize(). This fixes the problem with ',' as
18507 decimal separator in text files.
18509 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
18511 * trans.C (process): Fix the keymap bug.
18513 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
18515 * LaTeX.C (scanAuxFiles): New method. Provides support for
18516 multiple bibliographies (when using the bibtopic/bibunits pacakges).
18517 (scanLogFile) Scan for "run BibTeX" messages.
18519 * buffer.C (makeLaTeXFile): Do not load the ae package when using
18520 OT1 font encoding. Also, load the aecompl package if the ae
18523 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18525 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18527 * texrow.C (increasePos): turn two error messages into debug
18530 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
18532 * LaTeX.C (scanAux): Handle the \@input macro.
18533 (runBibTeX): Use scanAux().
18535 * language.C (latex_options_): New field.
18537 * LaTeXFeatures.C (getMacros): Add language macros.
18539 * buffer.C (makeLaTeXFile): Small fix.
18541 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18543 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18545 * text2.C: add a using directive.
18547 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
18552 * lyxfunc.C: kill LyXBell.
18554 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
18556 * text.C (IsBoundary): Remove the error message
18558 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18560 * lyxrc.C (setDefaults): Correct initialization value for
18563 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
18565 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18568 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18569 and GotoNextNote().
18571 * src/LyXAction.C: Added reference-next.
18573 * text.C (InsertChar): Use contains instead of strchr.
18575 * lyx_cb.C (MenuInsertLabel): Enable default value code.
18577 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
18579 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18580 alignment commands (when needed).
18582 * text.C (InsertChar): Add ':' to number separator chars.