1 2005-11-17 Michael Gerz <michael.gerz@teststep.org>
3 * exporter.C: fix typo in text message
5 2005-11-28 Georg Baum <Georg.Baum@post.rwth-aachen.de>
7 * text2.C (setLayout): move recUndo call to other setLayout method
8 * tabular.C (toggleFixedWidth): new, handle cell width changes
9 * tabular.C (setColumnPWidth): move some code from insettabular.C here
10 and use toggleFixedWidth
11 * tabular.C (setMColumnPWidth): ditto
13 2005-11-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
15 * paragraph.C (asString): use new inset->textString method (fix bug 2089)
17 2005-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
19 * CutAndPaste.C (numberOfSelections): new helper function.
21 * lyxfunc.C (getStatus): remove support for LFUN_COPY and LFUN_CUT.
23 * text3.C (getStatus): move code for LFUN_CUT and LFUN_COPY from
24 LyXFunc::getStatus; implement LFUN_PASTE.
26 2005-11-17 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
28 * dociterator.[Ch]: new member realInset() that returns the cell
29 for tabulars and the inset for the rest (bug 1952).
30 * undo.C (textUndoOrRedo): use realInset when resetting insetOwner
33 2005-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
35 * text.C (leftMargin): honor the NextNoIndent tag in layouts.
37 2005-11-17 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
41 * text3.C: InsetBase::forceDefaultParagraphs now takes a cell as
44 2005-11-07 Martin Vermeer <martin.vermeer@hut.fi>
46 * text.C (redoParagraph): Fix bug 1966: cursor doesn't go to next
47 line after typing ctrl-enter
49 2005-11-10 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
51 * bufferview_funcs.C (coordOffset): fix the fix for bug 2094, as
52 math insets do not return a proper editable() state yet (bug 2124).
54 2005-11-07 Martin Vermeer <martin.vermeer@hut.fi>
56 * BufferView_pimpl.[Ch]: Fix bug 1814: better scroll behaviour for
57 docs containing very large paragraphs.
59 2005-11-07 Martin Vermeer <martin.vermeer@hut.fi>
61 * cursor.C (selectionBegin, selectionEnd):
62 * text.C (drawSelection): Fix bug 2115: assertion when anchor and
63 cursor at different depths.
65 2005-11-03 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
67 * bufferview_funcs.C (coordOffset): do not call cursorPos
68 for collapsed collapsables (fix bug 2094).
70 2005-11-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
72 * paragraph.C (fontSpan): make sure that the FontSpan does not
73 span across beginOfBody (bug 1947).
75 2005-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
77 * lyxlength.h: undefine macros that clash with solaris/x86 (bug 992)
79 2005-11-03 Michael Gerz <michael.gerz@teststep.org>
81 * messages.C: fix crash and localization on MinGW/Windows platform
83 2005-11-02 Angus Leeming <leeming@lyx.org>
86 * lyxtextclass.C: trivial fixes to some MSVS warnings.
88 2005-10-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
90 * text3.C (getStatus): re-enable disabled code. (bug 2081)
92 * BranchList.h (empty): constify.
94 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
96 * text3.C (getStatus):
97 * MenuBackend.C (expandBranches): take the branch list from the
98 master document (bug 2092).
100 * MenuBackend.C (expandBranches):
101 * bufferparams.C (writeFile): use BranchList type.
103 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
105 * text3.C (dispatch, getStatus):
106 * LyXAction.C (init):
107 * lfuns.h: get rid of LFUN_KEYMAP_TOGGLE
109 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
111 * toc.C (getTocList): skip paragraphs which toclevel is NOT_IN_TOC.
113 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
115 * text.C (insertChar): do not reset boundary (bug 2061)
117 2005-10-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
119 * dociterator.C (updateInsets): new method. Updates the inset_
120 cache of all the slices of the iterator.
122 * text2.C (deleteEmptyParagraphMechanism): compare also containing
123 insets when comparing pit/pos; pass the right cursor to
124 recordUndo; when a paragraph has been deleted, compare `old.top()' to
125 the right cursor slice of `cur'; use updateInsets on cur to make
126 sure that the inset caches are correct; general cleanup.
128 2005-10-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
130 * text3.C (dispatch): LFUN_NEXT_INSET_TOGGLE: first try to
131 dispatch LFUN_INSET_TOGGLE to inset at cursor, and then to
132 containg inset. If this does not work, the same command will be
133 sent to other insets down the queue by LCursor::dispatch. (bug 2066)
135 * lyxfunc.C (dispatch): make sure the cursor is correct when doing
138 2005-10-20 Georg Baum <Georg.Baum@post.rwth-aachen.de>
140 * lyxtextclass.C (Read): convert layout file if the format is wrong
141 * lyxtextclass.C (layout2layout): new, needed for the above
143 2005-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
145 * messages.C: do not forget to include <cerrno>.
147 2005-10-12 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
149 * dociterator.h (StableDocIterator): add access to pos().
150 * undo.C (samePar): new method to check if two
151 iterators are in the same paragraph
152 * undo.C (recordUndo): check for samePar instead of cell identity
153 (which includes pos() and is too strict) (fixes bug 2097)
155 2005-10-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
157 * text.C (setCursorFromCoordinates): return a bool telling whether
160 * text3.C (cursorPrevious): update if needed after
161 setCursorFromCoordinates (when dEPM triggered).
163 * text2.C (cursorDown, cursorUp): make sure to reset the anchor
164 (otherwise the anchor may be completely wrong and make dEPM assert).
166 2005-10-12 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
168 * buffer.C: version upgrade to 245.
169 * bufferparams.C: remove \quotes_times (bug 2090).
170 * text3.C (doDispatch): LFUN_QUOTE_INSERT has to output double
171 quotation marks as default.
173 2005-10-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
175 * CutAndPaste.C (nrOfParagraphs): remove (unused)
176 * CutAndPaste.C (cutSelection): Remove debug message
177 * CutAndPaste.C (cutSelection): Use the real cursor in mathed, record
178 undo information and only copy if this is a real cut
179 * CutAndPaste.C (pasteSelection): remove superflous cur.resetAnchor()
181 * CutAndPaste.C (pasteSelection): remove now superflous mathed warning
183 * CutAndPaste.C (eraseSelection): prevent cursor corruption
184 * CutAndPaste.C (grabAndEraseSelection, selDel): remove now
185 superflous cur.selection() setting
186 * CutAndPaste.[Ch] (grabSelection): take a const cursor
187 * cursor.C (selectionAsString): implement mathed case ((bug 2059)
189 2005-10-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
191 * text3.C (mathDispatch, dispatch): Dont' record undo steps that don't
194 2005-10-11 Martin Vermeer <martin.vermeer@hut.fi>
196 * BufferView_pimpl.C: comment layout change
198 2005-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
202 * lyxfunc.C: reimplement LFUN_INSERT_CITATION, which is needed
203 by bibliography managers (bug 2071).
205 2005-10-07 Martin Vermeer <martin.vermeer@hut.fi>
207 * BufferView_pimpl.C (update): choose arguments to update call so
208 that single-par update works most times
209 * text3.C (dispatch): carefully tune updating separately for
210 whole-screen and current-paragraph
211 * rowpainter.C (paintText): 1) replace painting by caching for
212 the two extra paragraphs, because we can;
213 2) suppress greying out of areas below/above drawn area in case of
215 * lyxfunc.C (dispatch): remove superfluous update
216 * LyXAction.[Ch]: introduce SingleParUpdate
218 2005-10-05 Angus Leeming <leeming@lyx.org>
220 * BufferView_pimpl.C (loadLyXFile): ensure that a pointer is
221 always initialised before use.
223 * text.C (setHeightOfRow): squash warning about comparison
224 of signed and unsigned types.
226 2005-10-03 Martin Vermeer <martin.vermeer@hut.fi>
228 * text.C (cursorX): two fixes involving RtL text drawing
230 2005-10-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
232 * cursor.C (erase): fix 'clever' UI hack. It was activated for all
233 items, not only large ones (part of bug 2057)
235 2005-10-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
237 * text3.C (dispatch): when invoking LFUN_MATH_MACRO with no type
238 argument, use "newcommand".
240 2005-09-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
242 * cursor.C (setSelection): do not open collapsable insets;
243 the insets do by themselves now (autoopen).
245 2005-09-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
247 * buffer.C: format is up to 244.
249 2005-09-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
251 * text.C (redoParagraph): fix calcultation of inset width wrt
252 leftMargin (bug 1957).
254 * text3.C (dispatch): leave inset to the right when hitting ESC
257 2005-09-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
262 * messages.C: include <boost/current_function.hpp>
264 2005-09-12 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
266 * lyxfunc.C (sendDispatchMessage): do not update menubar/toolbar
267 when command is internal. (bug 1941)
269 2005-09-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
271 * text2.C (cursorRight): do not honor boundary when at the end of
272 a paragraph. (bug 2010 again)
274 2005-09-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
276 * cursor.C (paste): do nothing if `data' is empty. (bug 2033)
278 2005-09-19 Martin Vermeer <martin.vermeer@hut.fi>
280 * rowpainter.C (paintText): fix RtL space width display bug (2029)
282 2005-09-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
284 * text2.C (setCursor): remove the unused 'boundary' parameter for
285 the CursorSlice version; adapt the LCursor version.
288 * paragraph_pimpl.C (markErased):
289 * cursor.C (bruteFind2, bruteFond3): fix warnings.
291 2005-09-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
293 * rowpainter.C (paintFirst): use a 'labeladdon' for TOP_* labels,
294 as is already done for "chapter".
296 2005-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
298 * lyxfunc.C (dispatch): LFUN_TEXTCLASS_APPLY: actually set the
299 textclass; do not record undo if nothing is changed.
301 2005-09-16 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
303 * text3.C (dispatch): recordUndo in LFUN_PASTESELECTION (#2011).
305 2005-09-14 Michael Gerz <michael.gerz@teststep.org>
307 * lyxfunc.C: update display after LFUN_ALL_INSETS_TOGGLE
309 2005-09-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
311 * BufferView_pimpl.C (setBuffer): when one wants to set the layout
312 combox, it is necessary to search for the topmost paragraph in the
313 cursor stack (bug 1926)
315 2005-09-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
317 * text2.C (cursorEnd, cursorRight): do not set boundary to true at
318 end of paragraph. (bug 2010)
320 2005-09-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
322 * text.C (leftMargin): check for inInset == 0
324 2005-09-10 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
326 * text.C (leftMargin): test for insetbase's new neverIndent()
327 bool instead of listing each and every inset that does not
328 wish par indendation.
330 2005-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
332 * buffer_funcs.C (setCounter): put the code to compute enum label
333 here (where it belongs).
335 * counters.C (enumLabel): move code to buffer_funcs.C.
337 2005-09-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
339 * outputparams.[Ch]: store local_font instead of local_language
340 * paragraph.C (simpleTeXOnePar): adapt to the change above
342 2005-09-08 Martin Vermeer <martin.vermeer@hut.fi>
345 * counters.[Ch]: clean up special code for Hebrew.
347 2005-09-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
349 * lyxfunc.C (lookupChange): fix code when cursor depth is greater
352 2005-09-08 Angus Leeming <leeming@lyx.org>
355 * lyxrc.C: correct grammar describing invocation of the
358 2005-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
360 * text.C (read): remove unused variable.
361 (readParToken): remove static Change variable (never good in
362 recursive settings...); add it as a parameter instead.
364 * paragraph_pimpl.C (acceptChange): make debug info conditional.
366 * metricsinfo.C (PainterInfo): add new member erased_.
368 * rowpainter.C (RowPainter): add erased_ member, initialized from
370 (paintInset): pass erased_ to Inset::draw.
372 * lyxfunc.C (lookupChange): new function. Tells whether change
373 tracking is disabled at a given postion.
374 (getStatus): disable some actions when in deleted text with change
377 2005-08-03 John Levon <levon@movementarian.org>
379 * tabular.C (appendColumn, setMultiColumn): adapt to change to
382 * paragraph_pimpl.C (markErased): add bool argument and handle it.
383 Also make sure to mark insets recursively.
384 (rejectChange, erase): be recursive
386 * paragraph.C (markErased): add bool argument.
387 2005-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
389 * lyxfind.C (findNextChange): tiny cleanup.
391 * BufferView_pimpl.C (trackChanges): avoid crash when stopping
392 change tracking with the cursor in an inset; make sure the first
393 change is not skipped.
395 2005-09-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
397 * CutAndPaste.[Ch]: new methods dirtyTabularStack and
398 tabularStackDirty to work around bug 1919 (tabular needs
399 to know whether its own cell paste buffer or the one of
401 * CutAndPaste.C: mark tabular_stack_ clean after copy.
403 2005-08-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
405 * text2.C (cursorEnd): check for empty text (fixes bug 1998)
407 2005-08-19 Lars Gullik Bjønnes <larsbj@gullik.net>
409 * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
410 use old deleteion algorithm when changetracking is on.
412 2005-08-18 Martin Vermeer <martin.vermeer@hut.fi>
414 * messages.C (get): add debug output.
416 2005-08-02 Martin Vermeer <martin.vermeer@hut.fi>
418 * text.C (cursorX): fix bug 1965: cursor movement at
419 line end broken in RtL.
420 (drawSelection): fix bug 1970: drawing of single-line
421 selection broken for RtL.
423 2005-07-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
427 * dociterator.h (clear, push_back, pop_back): change from
430 * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
431 and changed to just return the value of the item depth; take a
432 ParIterator as argument; take the itemdepth at outer nesting level
433 in account if necessary; cleanup and comment the code.
434 (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
435 and changed to just return true if reset is needed; take a
436 ParIterator as argument; cleanup and comment the code.
437 (setCounter): adapt to above changes.
439 2005-07-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
441 * text3.C (dispatch): make debug message optional
443 2005-08-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
445 * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
448 2005-08-02 Martin Vermeer <martin.vermeer@hut.fi>
450 * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
452 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
454 * text.C (insertChar):
455 * text2.C (deleteEmptyParagraphMechanism): take care whether
456 a blank has been deleted (in change tracking mode) (bug 1254).
458 2005-07-20 John Levon <levon@movementarian.org>
460 * text2.C (insertStringAsLines): remove old dubious code,
463 2005-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
465 * MenuBackend.C (expandToc): use Floating::listName() as title of
468 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
470 * toc.[Ch]: Do not use translatable strings (bug 1870).
472 2005-07-20 John Levon <levon@movementarian.org>
474 * tabular.C: fix 1748 - setting multicolumn adds
475 left line to the first cell
477 2005-07-19 Lars Gullik Bjønnes <larsbj@lyx.org>
480 * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
483 2005-07-18 Lars Gullik Bjønnes <larsbj@lyx.org>
485 * messages.C: supress some lyxerr messages
487 2005-07-18 Juergen Vigna <jug@lyx.org>
489 * text.C (drawSelection): honor boundary when asking for cursorX.
491 2005-07-17 José Matos <jamatos@fc.up.pt>
493 * tabular.C (recalculateMulticolumns): fix handling of one column
496 2005-07-17 Juergen Vigna <jug@lyx.org>
498 * text.C (Delete, backspace): fixed so that paragraph with the
499 same layout can be merged by Delete/Backspace.
501 2005-07-17 Michael Schmitt <michael.schmitt@teststep.org>
503 * text.C (readParToken): fix spelling.
505 2005-07-17 Martin Vermeer <martin.vermeer@hut.fi>
507 * text2.C: fix counter update for DEPM problem reported by
510 2005-07-17 Juergen Vigna <jug@lyx.org>
512 * BufferView_pimpl.C (setBuffer): save/restore the
513 cursor/selection when switching buffers
516 * buffer.C (saveCursor): add saveDocumentIterators to save the
517 cursor when switching buffer.
519 2005-07-17 Michael Schmitt <michqel.schmitt@teststep.org>
522 * buffer.C: clarify message
524 2005-07-17 Lars Gullik Bjønnes <larsbj@lyx.org>
526 * dociterator.C (DocIterator): fix initialization order
528 2005-07-17 Juergen Vigna <jug@lyx.org>
530 * text2.C (cursorHome):
531 * text.C (drawSelection, cursorX):
532 * dociterator.C (textRow): add boundary to getRow() call
534 * paragraph.C (getRow): implementation of below
536 * paragraph.h: add parameter boundary for getRow() function
538 2005-07-17 José Matos <jamatos@fc.up.pt>
542 * tex-strings.[Ch]: new file format, remove support for a4.sty,
543 a4wide.sty and a4widemargins.
545 2005-07-17 Juergen Vigna <jug@lyx.org>
547 * text2.C (cursorLeft): fix one of error
549 2005-07-17 Juergen Vigna <jug@lyx.org>
551 * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
553 more fixes for boundary handling
555 * text3.C (dispatch): don't reset cursor if boundary has changed
558 2005-07-16 Juergen Vigna <jug@lyx.org>
560 * text2.C (getColumnNearX): hopefully got it right now,
561 check if we are on column 0 for special case.
563 2005-07-16 Juergen Vigna <jug@lyx.org>
565 * text2.C (getColumnNearX): handle special case Newline Inset
567 * text.C (singleWidth): Just remove bogus check
569 2005-07-16 Michael Schmitt <michael.schmitt@teststep.org>
571 * funcrequest.C (split): avoid reading uninitialized char c
573 2005-07-16 José Matos <jamatos@fc.up.pt>
579 * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
580 single papersize variable.
582 2005-07-16 Juergen Vigna <jug@lyx.org>
584 * text3.C (dispatch): honor boundary when checking if a cursor
585 movement has been done
587 * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown)
588 (setCursor, setCursorIntern): fix cursor movement with boundary
590 2005-07-16 Juergen Vigna <jug@lyx.org>
592 * text.C (currentState): output the actual Boundary
594 2005-07-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
596 * factory.C (createInset): fix bad logic for tabular creation
598 2005-07-16 Lars Gullik Bjønnes <larsbj@lyx.org>
600 * lyx_main.C (init): change some reLyX reference to tex2lyx
602 2005-07-16 Juergen Vigna <jug@lyx.org>
604 * dociterator.C (DocIterator): initialize boundary
606 2005-07-16 Juergen Vigna <jug@lyx.org>
608 * text2.C (getColumnNearX): Consider rows without trailing blank.
610 2005-07-16 André Pönitz <poenitz@gmx.net>
612 * lyxfont.h: Change order of declarations to give the compiler
613 a better chance to inline things
615 * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
616 questions on unsaved docs for better scritability
618 2005-07-16 André Pönitz <poenitz@gmx.net>
620 * paragraph.h (getChar): remove asserts as the same kind of security
621 can be achieved by using a suitable standard library implementation
622 and the function was in the critical path (25.9% in profiler)
624 2005-07-16 Juergen Vigna <jug@lyx.org>
626 * cursor.C (bruteFind2):
627 * bufferview_funcs.C (coordOffset):
628 * text.C (cursorX,cursorY): Handle cursor position after last char
629 in row before a inset which uses a whole row.
631 2005-07-15 José Matos <jamatos@lyx.org>
633 * output_plaintext.[Ch] (writeFileAscii): control reference title
635 (asciiParagraph): noparbreak was already deal and was incorrectly
638 2005-07-15 Juergen Vigna <jug@lyx.org>
640 * lyxfunc.C (dispatch): save and restore the cursor after a
643 2005-07-15 Lars Gullik Bjønnes <lgb@tandberg.net>
645 * text.C (backspace): bug 806 for empty keepempty paragraphs we
646 change the layout to default before letting DEPM do its thing.
648 * paragraph_funcs.C (breakParagraph): dont reset the layout on
651 * text.C (setCursorFromCoordinates): add a debug statement
653 * text2.C (getColumnNearX): bug 1825 make sure that we don't
654 return a pos that is not on the row
656 * output_latex.C (TeXDeeper): get rid of potential dereferencing
657 of past the end iterator
659 2005-07-14 André Pönitz <poenitz@gmx.net>
661 * undo.C (recordUndoFullBuffer): implement undo for
664 2005-07-14 André Pönitz <poenitz@gmx.net>
666 * cursor.C (setSelection): open insets when selection is set there
667 to avoid crashs with cold coord cache
669 2005-07-14 André Pönitz <poenitz@gmx.net>
671 * trans_mgr.C (insert): move cursor to the right after inserting
674 2005-07-14 Lars Gullik Bjønnes <larsbj@lyx.org>
676 * BufferView_pimpl.C (update): dampen some of the debug blabbering
677 * factory.C (readInset): ditto
678 * text.C, text2.C: ditto
680 2005-06-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
682 * buffer.C: format incremented to 242. There is no file format per
683 se, but the "frenchb" language has been removed from lib/language
684 and has to be translated to "french" by lyx2lyx.
686 2005-07-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
688 * cursor_slice.h, dociterator.h: add some documentation
689 * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
691 2005-07-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
693 * text.C (leftMargin): do not add identation to display() style
694 insets, because they are always centered (bug 1293).
696 2005-07-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
698 * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
699 formatted_time methods in support/lyxtime.
701 2005-07-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
703 * toc.[Ch]: new method getGuiName, which is used by the frontends
704 to set the toc combo (fixes bug 1870). Make TOC string translatable.
706 2005-07-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
708 * dociterator.[Ch]: implement operator==(StableDocIterator const &,
709 StableDocIterator const &)
710 * undo.C (recordUndo): use the above instead of cell.size() comparison
711 (fixes bug 1808; instructed by Andr�.
713 2005-06-29 Martin Vermeer <martin.vermeer@hut.fi>
716 * dociterator.h: Fix the assert when copying rows/cols in math
718 2005-06-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
720 * BufferView_pimpl.C:
722 * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
724 * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
725 (findInset): new functions, refactored from goto Inset that return
726 the position of a certain inset without setting the buffer's cursor
728 (gotoInset): rewrite to call findInset and then set the cursor
731 2005-06-16 Angus Leeming <leeming@lyx.org>
733 * lyxrc.C (output, read): wrap all input and output of paths with
734 calls to os::internal_path and os::external_path, respectively.
735 (output): wrap bind_file inside quotes.
737 * format.C (view): enable the viewer to use the '$$s' placeholder.
739 2005-06-16 Georg Baum <Georg.Baum@post.rwth-aachen.de>
741 * LColor.[Ch] (getFromLaTeXName): new
743 2005-06-16 Martin Vermeer <martin.vermeer@hut.fi>
745 * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
747 2005-06-14 Angus Leeming <leeming@lyx.org>
749 * lyx_main.C (init): ensure that the LyX binary dir is the first
750 element in the PATH on non-POSIX builds.
752 2005-06-11 Georg Baum <Georg.Baum@post.rwth-aachen.de>
754 * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
756 2005-06-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
758 * rowpainter.C (paintInset, paintHebrewComposeChar)
759 (paintArabicComposeChar, paintChars): add a LyXFont argument.
760 (paintChars): use getFontSpan to reduce calls to getFont to a
761 minimum; use Paragraph::lookupChange instead of isXXXText.
762 (paintForeignMark): rename LyXFont argument.
763 (paintFromPos): pass a LyXFont object to the various paintXXX
766 * FontIterator.C (FontIterator, operator++): use
767 Paragraph::getFontSpan
769 * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
770 version that returns the font span as a pair.
772 2005-06-09 Angus Leeming <leeming@lyx.org>
774 * converter.C (convert): Don't forget "outfile = real_outfile" as
775 the final step in a conversion where the input and output file names
776 are the same. Otherwise, future conversion steps won't work...
778 2005-06-09 Angus Leeming <leeming@lyx.org>
780 * lyxsocket.C: remove stub code as it isn't needed by
781 MinGW/MinSYS anyway. Let's see if the MSVC people scream...
783 2005-06-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
785 * lyx_main.C (parse_execute): Fix last fix: is_gui = false
786 effectively disabled -x
788 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
790 * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
791 when it actually makes sense.
793 2005-06-06 Martin Vermeer <martin.vermeer@hut.fi>
795 * BufferView_pimpl.C: revert to showCursor in connection with
796 Lars's front-end stack
798 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
800 * text.C (redoParagraph): move cursor right after a bibitem
803 * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
805 2005-06-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
807 * buffer_funcs.C (bufferErrors): fix computation of the end of an
810 2005-05-31 Martin Vermeer <martin.vermeer@hut.fi>
812 * BufferView.[Ch] (update):
813 * BufferView_pimpl.[Ch] (update, metrics):
814 * dimension.h (operator==):
815 * lyxfunc.C (dispatch):
816 * metricsinfo.h (ViewMetricsInfo):
817 * rowpainter.C (paintText):
819 * text.C (redoParagraph):
820 * text3.C (dispatch): Make LyX only repaint current paragraph in
821 case of character insert --> speedup. Also fix cursor draw
824 2005-05-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
826 * bufferview_funcs.C (gotoInset): fix the wrap-around code to
827 avoid a crash (bug 1891)
829 2005-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
833 * text2.C (getStringToIndex): constify cur argument.
835 * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
836 argument has been given
837 (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
838 try to invoke LFUN_INSET_APPLY).
840 * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
841 if no inset was created by doInsertInset
842 (doInsertInset): return true if an inset has been inserted.
844 2005-05-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
846 * vspace.C (asGUIName): new method. A version of the space
847 suitable for showing on screen.
849 2005-05-20 Michael Schmitt <michael.schmitt@teststep.org>
852 * lyxrc.C: rename "ASCII" to "Plain Text"
854 2005-05-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
856 * buffer_funcs.C (expandLabel): take a Buffer as argument;
857 translate the labelstring.
858 (setCounter): translate labelstring as needed.
860 * output_docbook.C (makeCommand): fix expandLabel invokation
862 2005-05-14 Michael Schmitt <michael.schmitt@teststep.org>
864 * BufferView.C: fix dialog title
866 2005-05-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
868 * lyx_main.C (priv_exec): fix logic error with help from Angus
869 * lyx_main.C (parse_execute): set is_gui = false and remove now
870 obsolete comment about a segfault
872 2005-05-18 Angus Leeming <leeming@lyx.org>
874 * buffer.C (readFile): Quote all file names passed to lyx2lyx.
876 2005-05-12 Martin Vermeer <martin.vermeer@hut.fi>
878 * tabular.[hC]: added setCellInset to fix tabular paste.
880 2005-05-11 Lars Gullik Bjønnes <larsbj@gullik.net>
882 * buffer.C (save): check if destination is writable before trying
885 2005-05-11 Martin Vermeer <martin.vermeer@hut.fi>
887 * BufferView_pimpl.C (update): fix processEvents -caused update
890 2005-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
892 * buffer_funcs.C (setCounter): fix test for numbering of
895 * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
896 depth correctly; use optional argument when it exists
898 * lyxtextclass.C: remove unused MaxCounterTags enum
899 (Read): compute min_toclevel_ and max_toclevel_ after reading class.
900 (max_toclevel, min_toclevel): new methods.
902 * MenuBackend.C (expandToc2): fix case where depth is smaller than
903 the smallest depth in toc.
905 * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
906 layouts that should not appear in a table of contents.
908 2005-05-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
910 * cursor.h (undispatched, noUpdate): add comments from Andr�
911 2005-05-07 Michael Schmitt <michael.schmitt@teststep.org>
915 * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
917 2005-05-07 André Pönitz <poenitz@gmx.net>
919 * cursor.[Ch] (leaveInset): new function
921 2005-05-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
923 * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
925 2005-05-04 Angus Leeming <leeming@lyx.org>
927 * lyxfunc.C (getStatus): disable the spell checker dialog if
928 none of USE_[AIP]SPELL are defined.
930 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
932 * tabular.C (setWidthOfCell): remove obsolete comment
934 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
936 * paragraph.C (bibitem):
937 * buffer_funcs.C (setCounter):
938 * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
940 2005-05-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
942 * text3.C (getStatus): immediately return after setOnOff
944 * rowpainter.C: fix drawing of appendix start
946 2005-05-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
948 * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
949 SwitchBetweenClasses and remove the unused return value.
950 Handle character styles, too
952 2005-05-03 Martin Vermeer <martin.vermeer@hut.fi>
954 * factory.C (createInset): handle undefined character styles
956 2005-05-02 Angus Leeming <leeming@lyx.org>
958 * buffer.C: protect the #include of utime.h with a preprocessor
961 2005-05-02 Angus Leeming <leeming@lyx.org>
963 * lyx_cb.C: artificially define fork() on Windows as a no-op failing
964 function so that auto-saving works, albeit in a blocking manner.
966 * Makefile.am: make compilation of the client sub directory, of
967 aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
968 on conditionals set at configure time.
970 * SpellBase.[Ch]: no longer an abstract base class. Instead,
971 it can be compiled in its own right but has no-op functionality.
973 * aspell.C, pspell.C: remove preprocessor guards. The files should
974 be compiled only if the necessary functionality exists.
976 * lyxserver.C, lyxsocket.C: disable on Windows.
978 2005-05-01 Martin Vermeer <martin.vermeer@hut.fi>
980 * text.C (leftMargin): Fix the parindent use bug (1764)
983 2005-04-28 Michael Schmitt <michael.schmitt@teststep.org>
985 * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
988 2005-04-25 Angus Leeming <leeming@lyx.org>
996 include <config.h> in .C files, not .h ones.
998 protect headers inside preprocessor guards.
1000 2005-04-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1002 * FuncStatus.h (StatusCodes): document
1004 2005-04-21 André Pönitz <poenitz@gmx.net>
1006 * FuncStatus.h (enabled, onoff): document
1008 2005-04-19 Angus Leeming <leeming@lyx.org>
1010 * BufferView_pimpl.C (cursorToggle): no longer test whether
1011 any child processes have been reaped before calling
1012 handleCompletedProcesses().
1014 2005-04-19 Martin Vermeer <martin.vermeer@hut.fi>
1016 * text3.C (dispatch): fix, finally fix, the language problem in
1017 new lyxtexts, without disabling on-the-fly font changes (Helge's
1020 2005-04-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1022 * text3.C (dispatch): set cursor on double/triple click events
1025 2005-04-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1027 * lyxfunc.C (actOnUpdatedPrefs): avoid warning
1028 (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
1030 * rowpainter.C (paintFirst): simplify the code a little bit. In
1031 particular, remove the test for secnumdepth.
1032 * text.C (setHeightOfRow): only allocate space for chapter number
1033 when updateCounters provided an actual label, instead of looking
1034 at secnumdepth directly.
1036 * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
1038 * buffer_funcs.C (setCounter): only number LABEL_COUNTER
1039 paragraphs when secnumdepth is large enough or, for environments,
1040 when they are not the first in a sequence.
1042 2005-04-17 Angus Leeming <leeming@lyx.org>
1044 * buffer.C (makeLaTeXFile): replace code to manipulate a path
1045 containing space and '~' characters with a call to latex_path().
1047 2005-04-17 Angus Leeming <leeming@lyx.org>
1049 * converter.C (convert): protect all args of convertDefault.sh
1052 2005-04-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1054 * text3.C (dispatch): change the layout to "Caption" after inserting
1057 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
1059 * text3.C (dispatch): fix language problem in newly created
1060 textinsets (and main text) in non-english docs
1062 2005-04-13 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1064 * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
1065 * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
1066 * text3.C (getStatus): disable LFUN_INSET_MODIFY
1068 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
1072 * text2.C (getFont):
1073 * rowpainter.C (getFont): Fix metrics bug introduced by inset
1076 2005-04-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1078 * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
1079 output of \item arguments without trailing text.
1081 2005-04-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1083 * FontIterator.C (operator*): avoid a copy of the font.
1085 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
1087 * rowpainter.C (getFont): fix language bug from previous fix
1089 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
1091 * rowpainter.C (RowPainter, getFont): fix font inside inset
1094 2005-04-06 Martin Vermeer <martin.vermeer@hut.fi>
1096 * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
1097 preventing inserted font, deco, delim insets jumping to start of
1100 2005-03-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1102 * lyxfunc.C (dispatch): translate message before sending it to the
1105 2005-03-29 Angus Leeming <leeming@lyx.org>
1107 * lyx_main.C (priv_exec): call os::internal_path on each file passed
1108 to LyX on the command line.
1110 2005-03-25 Stephan Witt <stephan.witt@beusen.de>
1112 * vc-backend.C: use QuoteName to protect file names wherever
1115 2005-03-27 Martin Vermeer <martin.vermeer@hut.fi>
1118 * BranchList.h: fix bugs 1844,1845: document settings don't
1121 2005-03-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1123 * lyxrc.C (setDefaults, read, output, getDescription): add support
1124 for tex_allows_spaces.
1126 * exporter.C (Export): allows files in directory containing spaces
1127 if tex_allows_spaces is true.
1129 * buffer.C (makeLaTeXFile): if the document path contains spaces,
1130 output it in double quotes.
1132 2005-03-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1134 * rowpainter.C: use default text height for drawing change tracker
1137 2005-03-21 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1139 * lyx_main.C: fix binding of tabulator key (especially S-Tab).
1141 2005-03-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1143 * lyx_main.C (queryUserLyXDir): fix logic when LyX support
1144 directory is missing.
1146 2005-03-11 Martin Vermeer <martin.vermeer@hut.fi>
1148 * text2.C: fixed the fix, extended to other case.
1150 2005-03-08 Martin Vermeer <martin.vermeer@hut.fi>
1152 * text2.C: fix for cursor up/down stuck in math [bug 1792]
1154 2005-03-07 Alfredo Braunstein <abraunst@lyx.org>
1156 * text2.C (cursorUp): get rid of a crash
1157 * text.C (x2pos): add an assert
1159 2005-03-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1161 * lyxfunc.C (getStatus): fix warning when assertions are disabled
1165 * dociterator.C: include <boost/current_function.hpp>, which is
1166 needed when assertions are disabled.
1168 2005-03-05 Johnathan Burchill <jkerrb@users.sourceforge.net>
1170 * text2.C: fix for stuck cursor when traversing two
1171 consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
1173 2005-02-25 Andreas Vox <avox@arcor.de>
1175 * output_docbook.C (makeParagraph): suppress trailing newline
1176 after a run of paragraphs
1178 2005-02-28 Johnathan Burchill <jkerrb@users.sourceforge.net>
1180 * paragraph.C: fix for confused change tracker when pasting
1181 text that begins with a lineseparator. [bug 1827]
1182 (setChange(0, Change::INSERTED);)
1184 * paragraph_funcs.C: fix for lost changes on triple-paste
1185 in change tracking mode [bug 1827] (par.setChange()).
1187 2005-02-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1189 * text2.C (updateCounters, setCounter, expandLabel): move to
1192 * buffer_funcs.C (updateCounters): turn into a free standing
1193 function and add a buffer parameter. Remove dead code for tracking
1195 (setCounter): change into a free-standing function which gets a
1196 dociterator as argument. Use this iterator to fix captions in a
1197 simple way. When no float is found above the caption, use the
1198 labelstring of the caption layout as default.
1200 * text.C (breakParagraph, backspace):
1201 * text2.C (init, setLayout, changeDepth):
1202 * text3.C (dispatch):
1203 * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
1206 * dociterator.C (forwardPar): make it much faster by calling
1207 forwardPos() only when really necessary.
1209 * output_docbook.C (makeCommand): adapt to expandLabel move.
1211 * cursor.C: remove unused variable
1213 2005-02-24 Johnathan Burchill <jkerrb@users.sourceforge.net>
1215 * paragraph_funcs.C: fix crash when pasting insets in change
1216 tracking mode [bug 1277] (honour change type in moveItem).
1218 2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1220 * LaTeX.C (scanLogFile): recognize pdfTeX warnings
1222 2005-02-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1224 * BufferView.C (setCursor): change to use a DocIterator.
1225 (gotoLabel): use BufferView::setCursor (other part of bug 781).
1226 (putSelectionAt): adapt to BufferView::setCursor change.
1228 * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
1229 moved here from LyXText and rewritten to use proper cursor
1230 methods. Fixes bug 1787, 616 and 835.
1232 * BufferView_pimpl.C (restorePosition): set the cursor correctly
1233 when inside an inset (part of bug 781).
1234 (dispatch): adapt to change of BufferView::setCursor.
1235 (getStatus, dispatch): handle LFUN_GOTOERROR,
1236 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1238 * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
1239 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1240 * text3.C (gotoNextInset, gotoInset): removed.
1242 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1244 * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
1246 2005-02-15 Angus Leeming <leeming@lyx.org>
1248 * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
1249 can be used meaningfully in a comparison.
1251 2005-02-13 André Pönitz <poenitz@gmx.net>
1253 * bufferview_funcs.C (coordOffset): improve cursor drawing
1255 2005-02-13 André Pönitz <poenitz@gmx.net>
1257 * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
1258 * Cursor.C (dispatch): use fixIfBroken
1259 * lyxfunc.C (getStatus): use fixIfBroken
1261 2005-02-15 Angus Leeming <leeming@lyx.org>
1263 * lyx_main.C (error_handler):
1265 * lyxrc.C (setDefaults):
1267 #include "environment.h".
1269 * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
1271 2005-02-15 Angus Leeming <leeming@lyx.org>
1273 * lyxserver.C (startPipe): squash MSVC warning "local variable
1274 'fd' used without having been initialized".
1276 2005-02-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1278 * BufferView_pimpl.C: revert accidental commit.
1280 2005-02-14 André Pönitz <poenitz@gmx.net>
1282 * dociterator.[Ch]: new member forwardPosNoDescent(),
1283 which doesn't enter nested insets.
1284 * text2.C (setFont): use forwardPosNoDescent() instead
1285 of ForwardPos() (fixes crash on font change).
1287 2005-02-13 Angus Leeming <leeming@lyx.org>
1289 * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
1290 only if lyxrc.path_prefix is not empty.
1292 2005-02-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1294 * bufferparams.C (readGraphicsDriver): prevent crash
1296 2005-02-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1298 * text2.C (setCounter): check for inInset() == 0
1300 2005-02-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1302 * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
1303 but use update() to get correct screen display; use convert
1304 instead of istringstream.
1305 (getStatus): handle LFUN_GOTO_PARAGRAPH
1307 * lyxfunc.C (dispatch, getStatus): do not handle
1308 LFUN_GOTO_PARAGRAPH here.
1310 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1312 * text3.C (dispatch): size() -> depth()
1314 * text2.C: remove some debug output
1316 * paragraph.C: ws changes only
1318 * lyxfunc.C (getStatus): size() -> depth()
1320 * dociterator.h (clear, push_back, pop_back, internalData,
1321 operator[], resize, empty): new functions
1322 Make StableDocIterator and operator== be friends. Don't inherit
1323 from std::vector use a privat class variable slices_ instead.
1326 * dociterator.C: update because of not inheriting from std::vector
1327 anymore. Call explictly to slices_ instead. Use depth() instead of
1328 size() and top() instead of back()
1330 * cursor.C: chagne size() -> depth and back() -> top(). Also
1331 remove some direct operator[](i) calls in favour of foo[i]
1332 (getFont): remove some dead code
1334 * bufferview_funcs.C (coordOffset): size() -> depth()
1336 * buffer.C: ws changes only
1338 * CutAndPaste.C (eraseSelection): back() -> top()
1340 * BufferView_pimpl.C (selectionRequested): back() -> top()
1342 * BufferView.C (setCursor): size() -> depth()
1344 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1346 * text3.C (cursorPrevious): return true if depm changed something
1348 (dispatch): rename sl to oldTopSlice, remove moving use the new
1349 NoUpdate func attrib instead. Make sure that needsUpdate is set
1350 for function that have NoUpdate, but where depm might have changed
1353 * text2.C (cursorLeft): make us return true if depm changed
1355 (cursorRight): ditto
1356 (cursorUpParagraph): ditto
1357 (curosrDownParagraph): ditto
1358 (cursorUp, cursorDown): ditto, make sure to read comments in code
1359 (deleteEmptyParagraphMechanism): remove an assert, also return
1360 true if just a single char was deleted.
1362 * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
1363 cursor that we modify, to avoid modifying an active cursor before
1364 we call setCursor. This allows depm to run. Also return true if
1365 depm deleted something.
1367 * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
1368 cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
1369 cursorDownParagraph, cursorPrevious and cursorNext, return true if
1370 something was changed in the buffer because of them (ie. depm run)
1372 * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
1373 debug messages. Make update by default be false. Make sure that
1374 the result of update is retained throught several calls down to
1377 * LyXAction.h: add a new func_attrib: NoUpdate
1379 * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
1380 LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
1381 LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
1383 (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
1385 2005-02-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1387 * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
1388 bv_->owner(), bv_->buffer() by direct references to the private
1390 (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
1391 (getStatus): isSavedPosition() is in BufferView::Pimpl.
1392 (fitCursor): center() is in BufferView::Pimpl.
1393 (getStatus, trackChanges, dispatch): no need for a temporary buf
1395 (fitCursor, workAreaDispatch): use workarea().workheight()
1397 2005-02-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1399 * CutAndPaste.C (pasteSelectionHelper): fix a crash
1401 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1403 * buffer.C: format up to 241.
1404 * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
1405 break if pasting into ERT
1406 * lyxfunc.C (getStatus): suppress mathpanel and
1407 LFUN_DIALOG_SHOW_NEW_INSET in ERT
1409 2005-02-01 Angus Leeming <leeming@lyx.org>
1411 * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1413 2005-02-01 Angus Leeming <leeming@lyx.org>
1415 * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1416 calling fs::is_directory().
1418 2005-01-31 Angus Leeming <leeming@lyx.org>
1420 * lyx_main.C (priv_exec): specify explicitly the relative location
1421 of the top level build directory when run in-place.
1423 2005-01-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1425 * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1426 LyXText containing the cursor, not the top-level one.
1428 * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1430 (insertStringAsLines): rename par to pit; use temporary variable
1431 par to hold a Paragraph; do not store par.layout() in a variable,
1432 since the pointer may die when breaking paragraphs; pass pars to
1433 breakParagraph() instead of Buffer::paragraphs().
1435 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1437 * lyxlex_pimpl.h: #include <fstream>.
1439 * BufferView.[Ch] (getLyXText): add a const version.
1441 * BufferView_pimpl.C: add debug aids.
1446 * paragraph_funcs.h: add commentary explaining what the class does.
1449 * coordcache.[Ch]: add lots of commentary.
1450 (startUpdating, doneUpdating): debug aids.
1451 (arrays, insets, parPos, getParPos): accessors to private data.
1453 * cursor_slice.[Ch] (text): add a const version.
1454 * dociterator.[Ch] (text, innerText): add const versions.
1456 * lyxtext.h (breakParagraph): change the keep_layout arg to a
1459 * paragraph.C (getRow, pos2ros): add asserts.
1461 * paragraph.h: add commentary. Lots of.
1463 * paragraph.[Ch] (metrucs, draw): removed.
1466 * rowpainter.[Ch]: const-correct changes.
1468 * text.C: various obvious clean-ups. Removal of ancient cruft.
1471 2005-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
1473 * vc-backend.C (find_file): rewrite to use boost.filesystem
1476 * main.C (main): set default name check for boost.filesystem to
1479 * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1482 (actOnUpdatedPrefs): ditto
1484 * lyx_main.C (init): rewrite to use boost.filesystem
1485 (queryUserLyXDir): ditto
1487 * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1488 (getContentsOfAsciiFile): ditto
1490 * lastfiles.C (readFile): rewrite to use boost.filesystem
1492 * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1494 * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1495 (loadLyXFile): ditto
1497 * buffer.C (Buffer): adjust for destroydir
1498 (getLogName): rewrite to use boost.filesystem
1499 (setFileName): ditto
1500 (save): use fs::copy_file (from fs_extras)
1502 * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1504 * LaTeX.C (run): rewrite to use boost.filesystem
1505 (scanAuxFiles): ditto
1506 (handleFoundFile): ditto
1508 2005-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1510 * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1512 * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1514 2005-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1516 * lyxlayout.[Ch]: change some vars from float to double
1518 * buffer.C (readFile): make a local var const
1520 * Several files: use convert<> instead of atoi,strToXXX and friends
1522 2005-01-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1524 * LaTeXFeatures.[Ch]: Add a static list packages_ that
1525 holds the contents of packages.lst. New functions getAvailable
1526 and isAvailable to parse and check that list, resp.
1530 * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1532 * bufferparams.[Ch]: new param output_changes.
1534 * Buffer.C: increase file format to 240.
1535 Use output_changes and isVailable.
1539 * paragraph_pimpl.C: Use output_changes and isVailable.
1541 2005-01-23 Angus Leeming <leeming@lyx.org>
1543 * output_latex.C: #include "insetbibitem.h", rather than
1544 forward declare function bibitemWidest.
1546 2005-01-21 Andreas Vox <vox@isp.uni-luebeck.de>
1548 * lyx_main.C (init): make it compile on the Mac.
1550 2005-01-20 Angus Leeming <leeming@lyx.org>
1552 * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1553 (setLyXMisc): (char string literal) != (char string literal) is
1554 performing a comparison on the addresses. Convert one operand
1555 explicitly to string to guarantee expected behaviour.
1558 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1561 * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1563 * output_plaintext.C: remove unneeded #include gzstream.h.
1565 2005-01-20 Angus Leeming <leeming@lyx.org>
1567 * SpellBase.h: rename some of the elements of the Result enum.
1574 * pspell.C (check): ditto
1576 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1578 * buffer.C: add #include <fstream>.
1580 * lyx_main.C (init): Compile fix.
1582 * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1584 2005-01-20 Angus Leeming <leeming@lyx.org>
1586 * mover.h: change commentary to reflect the changed meaning of
1587 the $$s placeholder.
1589 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1591 * output_linuxdoc.C (linuxdocParagraphs): silence warning
1593 * lyxfind.C (MatchString::operator()): remove bogus semicolon
1595 2005-01-20 Angus Leeming <leeming@lyx.org>
1597 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1598 printing diagnostic data by not dereferecing an iterator past the
1601 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1603 * buffer.C (readHeader): use "&&" rather than "and".
1605 * lyxserver.h (inPipeName, outPipeName): make these const.
1607 2005-01-19 Angus Leeming <leeming@lyx.org>
1609 * lyx_main.C (error_handler, init): protect SIGHUP with
1610 #ifdef SIGHUP guards.
1612 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1614 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1616 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1618 * text.C (setHeightOfRow): add a margin at the top and bottom of
1619 the document (bug 1761)
1621 2005-01-17 Angus Leeming <leeming@lyx.org>
1623 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1624 with "python ". Workaround for a brain-dead Windows.
1626 2005-01-16 Angus Leeming <leeming@lyx.org>
1628 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1629 for MacOSX and Windows to use prependEnvPath.
1630 Strip out the hard-coded block to add elements to the PATH for
1631 MacOSX and replace it with a call to prependEnvPath using the
1632 contents of LyXRC::path_prefix.
1633 (queryUserLyXDir): strip out the code to run reconfigure, instead
1634 returning a boolean indicating the necessity to do so.
1635 (reconfigureUserLyXDir): contains the code to reconfigure the
1636 user support directory. Is now called after the various LyXRC data
1637 files have been read.
1639 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1641 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1643 * converter.[Ch] (convert): take a new parameter try_default. Use
1644 a default converter (imagemagick) if try_default is true.
1646 2005-01-13 Angus Leeming <leeming@lyx.org>
1648 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1649 os::cygwin_path_fix.
1650 (write): output LyXRC::cygwin_path_fix as necessary.
1652 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
1655 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1657 2005-01-12 Angus Leeming <leeming@lyx.org>
1659 * lyx_main.C (init): set the PATH variable to include the
1660 directory containing the LyX binary when running on Mac or Windows.
1662 2005-01-12 Angus Leeming <leeming@lyx.org>
1664 * lyx_main.C (init): remove cruft that purports to set the locale
1665 dir. It doesn't and is not needed anyway.
1667 2005-01-10 Angus Leeming <leeming@lyx.org>
1669 * Makefile.am: remove the lyx_main.C special casing.
1671 * BufferView_pimpl.C:
1677 * messages.C: use support/package.h to provide the paths to the
1678 various directories used by LyX.
1680 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1682 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1683 layout if pasting into an empty paragraph)
1685 2005-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
1687 * tex-accent.C: add <string>
1689 2005-01-06 José Matos <jamatos@lyx.org>
1691 * ParagraphParameters.C (write): put every parameter in its own line.
1692 * paragraph.C (write): reduce number of consecutive empty lines exported.
1693 * buffer.C (LYX_FORMAT): increase file format to 239.
1695 2005-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1697 * everywhere: change support/tostr.h -> support/convert.h
1699 * tabular.C: make all write_attributes templates, tostr -> convert
1701 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1702 (emptyTag): and -> &&, and fix type for ret from getChar
1703 (getFirstWord): fix type for ret from getChar
1704 (onlyText): and -> &&
1705 (simpleDocBookOnePar): and not -> && !, fix type for ret from
1708 * toc.C (goTo, action):
1709 * text3.C (dispatch):
1710 * text.C (currentState):
1711 * tex-accent.C (DoAccent):
1714 * lyxfunc.C (menuNew):
1715 * lyxfinc.C (replace):
1716 * counters.C (laberItem):
1717 * bufferview_funcs.C (font2string):
1718 * bufferparams.C (writeFile):
1719 * buffer.C (readFile):
1721 * MenuBackend.C: tostr -> convert
1723 * LaTeX.C (runMessage): fix format
1724 (scanAuxFiles): tostr -> convert
1726 * BufferView_pimpl.C (savePosition): fix format
1727 (restorePosition): ditto
1730 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1732 * Spacing.[Ch]: New method getValueAsString().
1736 * ParagraphParameters.C:
1739 * text3.C: store/read spacing value as string.
1741 * rowpainter.C: change float value (spacing_val) to double.
1743 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1744 broken custom document spacing).
1746 2005-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
1748 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1749 namespace, also more use of temp references and const
1751 * cursor.[Ch] (getStatus): move to lyxfunc.C
1753 * bufferparams.C: reformat slightly
1755 * bufferview_funcs.C (font2string): constify arg
1761 * buffer_funcs.C: (many funcs): constify arg on function
1762 definitions, also make more local vars const, also add ASSERTS on
1765 * buffer.C (LYX_FORMAT): put const in correct place
1766 (many funcs): constify arg on function definitions, also make
1767 more local vars const
1769 * aspell_local.h: remove "struct" from typdef setup
1771 * aspell.C (check): make word_ok const
1772 (nextMiss): simplify slightly
1775 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1777 * lyxrc.[Ch]: store all float values as strings.
1778 use int (not float) for lyxrc.dpi.
1780 2005-01-04 Angus Leeming <leeming@lyx.org>
1782 * lyx_cb.C (Reconfigure):
1783 * lyx_main.C (queryUserLyXDir):
1784 to run the <system_lyxdir>/configure correctly on Windows, prefix
1785 the path to the script with "sh " when generating the string that
1786 is passed to system().
1788 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1790 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1792 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1794 * lyxlength.C (asLatexString): get rid of setprecision
1796 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1798 * text2.C (setLayout): remove unused variable endpit.
1799 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1801 * paragraph.C (onlyText): remove unused variable style.
1803 * cursor.C (bruteFind): remove unused variables beg and end.
1805 * Makefile.am (dist_noinset_DATA): not needed anymore
1807 * cheaders/*: remove.
1809 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1811 * text3.C: fix LFUN_MATH_MODE.
1813 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1815 * buffer_funcs.C (countWords): new function. Counts words between
1818 * BufferView_pimpl.C (getStatus, dispatch): handle
1821 * LyXAction.C (init):
1822 * lfuns.h: add LFUN_WORDS_COUNT.
1824 2004-12-19 Angus Leeming <leeming@lyx.org>
1826 * buffer.C (save): s/slashify_path/internal_path/.
1828 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1830 * lyxfind.C (findChange): do not search for end of pars, because
1831 the change tracker cannot handle this (fixes bug 1719).
1833 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
1835 * paragraph.[Ch] (autoBreakRows): remove
1837 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1839 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1840 avoid using the paragraph one
1842 * text2.C (LyXText, insertStringAsLines): adjust
1844 2004-12-16 Angus Leeming <leeming@lyx.org>
1848 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1850 2004-12-14 Angus Leeming <leeming@lyx.org>
1852 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1854 * bufferlist.C (emergencyWrite):
1855 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1858 2004-12-14 Angus Leeming <leeming@lyx.org>
1860 * main.C: (main): no longer pass pointers to os::init.
1862 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1864 * undo.C (textUndoOrRedo): simplify logic, fix a crash
1865 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1867 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1870 * text3.C: remove selection_possible global flag
1872 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1874 * text2.C (getSelectionSpan): remove
1875 (changeDepth, changeDepthAllowed): adjust
1877 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
1879 * Makefile.am (BOOST_LIBS): use boost variables
1881 2004-12-03 José Matos <jamatos@lyx.org>
1883 * buffer.C: format up to 238.
1885 2004-12-03 José Matos <jamatos@lyx.org>
1887 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1889 2004-12-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1891 * cursor.C (goUpDown): remove call to idxUpDown2
1893 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1895 * tabular.[Ch]: use size_t-like types for cell, row and column
1898 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1900 * lyxfunc.C (getStatus): do not lose previous information when
1901 calling BufferView::getStatus; do not set a default "Command
1902 disabled" message at the beginning, but just before returning.
1904 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1906 * cursor.h (getStatus): add better comment from src/cursor.C
1908 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1910 * text3.C (getStatus): return false when the lfun is not handled
1912 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1914 * broken_headers.h: remove
1916 * Makefile.am (lyx_SOURCES): remove broken_headers.h
1918 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1920 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1921 offset_ref accessors
1923 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1924 top_y_, merge fitcursor with update
1925 (updateScrollbar, scrollDocView, fitCursor, center, update): new
1927 (metrics): introduce
1928 (workAreaDispatch): adapt to new coord scheme
1929 (redoCurrentBuffer): remove
1931 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1933 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1936 * coordcache.[Ch]: add paragraph cache and helpers
1938 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1941 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1942 (targetX, setTargetX): introduce
1944 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1945 baseline -> ascent, as the rest of lyx
1947 * lyxtext.h: remove redoParagraphs, updateParPositions,
1948 fullRebreak, redoParagraphInternal. move dist to anon namespace in
1949 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1950 have ascent/descent (ascent is ascent of first par)
1952 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1955 * paragraph.[Ch]: unify dimension handling with the rest of lyx
1957 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1959 * pariterator.C: fix infinite loop introduced in par->pit renaming
1961 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1962 in insets and LyXText, draw two off-screen paragraphs using
1963 NullPainter, and adapt to new coord scheme
1967 * text3.C: adapt lfun handlers to the new coord scheme, which
1968 means: there's only guaranteed coord information for onscreen pars
1969 plus one above and one below. This implies that one can do search
1970 from y coordinates in the range [-1,workHeight]
1972 2004-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1974 * rename a lot of InsetOld to InsetBase
1976 2004-11-25 Angus Leeming <leeming@lyx.org>
1978 * BufferView_pimpl.C:
1980 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1982 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1984 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1985 call BufferView::getStatus if LCursor::getStatus did nothing
1986 (setStatusMessage, getStatusMessage): removed.
1988 * FuncStatus.C (message): new methods. Used to provide an error
1989 message indicating why a command is disabled.
1990 (clear, |=, FuncStatus): update for message.
1992 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1994 * lyxfunc.C (dispatch): always call sendDispatchMessage
1996 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1999 * BufferView_pimpl.C:
2004 * cursor_slice.[Ch]:
2007 * paragraph_funcs.C:
2013 * undo.C: par->pit renaming
2015 2004-11-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2017 * tabular.C (cellstruct): use initialization, store a shared_ptr
2018 to insettext instead of the insettext directly, adjust to fit.
2019 (operator=): new function
2020 (swap): new function
2021 (rowstruct): use initialization
2022 (columnstruct): use initialization
2023 (ltType): use initialization
2026 * lyxlength.h (swap): new function
2028 * LColor.[Ch] (operator=): use the common semantics
2030 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2032 * lyxfind.C (findNextChange): update the bufferview after setting
2035 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2037 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
2038 number of InsetOptArgs has already been inserted.
2040 * output_latex.C (latexOptArgInsets): new method. This outputs all
2041 the optarg insets, up to the limit defined in the layout file.
2042 (optArgInset): removed
2043 (TeXOnePar): call latexOptArgInsets; correctly update texrow
2045 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2047 * paragraph.C (isLetter): remove special spellchecker-related
2048 code; return true also for digits
2049 (isWord, isKomma): remove
2051 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
2052 * lyxfind.C (MatchString()): use isLetter instead of isWord
2054 2004-11-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2056 * pariterator.h (operatir=): comment out un-implemented member
2059 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
2062 2004-11-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2064 * lyxfont.h: include LColor.h to satisfy concept checks.
2066 2004-11-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2068 * pariterator.h: add typdefs for value_type, difference_type,
2069 pointer and reference to satisfy concept checks. Also add default
2070 constructor for same reason.
2072 * pariterator.C (operator++): add post-increment operator to
2073 satisfy concept checks.
2075 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
2078 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
2080 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
2081 checks. Also rename base_type to BaseType to follow naming
2084 * FloatList.h: include Floating.h to satisfy concept checks.
2086 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2088 * lyxfunc.C (getStatus): when the origin of the request is menu or
2089 toolbar, and the LyXView does not have focus, do as if there was
2090 no buffer (bug 1720)
2092 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
2093 FuncRequest to individual entries of LFUN_SEQUENCE
2095 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2097 * output_latex.C (TeXOnePar): override runparams.moving_arg
2098 according to the needprotect value of the current paragraph (bug
2101 * paragraph.C (simpleTeXOnePar): no need to override
2102 runparams.moving_args here
2104 2004-11-14 John Spray <spray_john@users.sourceforge.net>
2106 * vspace.C: fix off-by-one-error, related to fix #1682
2108 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2110 * lengthcommon.C: a more general fix for bug 1682
2112 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
2114 * text.C (backspace): fix crash
2116 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2118 * format.[Ch] (getFormatFromFile): new method
2119 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
2121 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2123 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
2125 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2127 * lyxfunc.C (dispatch): remove the verbose argument
2128 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
2131 * kbmap.C (defkey): set the origin of func to KEYBOARD
2133 * MenuBackend.C (MenuItem):
2134 * ToolbarBackend.C (add): set the origin of func to UI
2136 * funcrequest.[Ch]: add origin member, which indicates which part
2137 of LyX requests an action
2139 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2141 * converter.C (move): don't lie in the error message
2142 * converter.h (isReachable, move): document
2144 2004-11-07 Lars Gullik Bjønnes <larsbj@gullik.net>
2146 * buffer.C: remove unused using lyx::support::atoi
2147 * paragraph_funcs.C: ditto
2149 2004-11-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2151 * bufferlist.C (exists): use bind and equal_to instead of
2154 * lyxtextclasslist.C (NumberOfClass): ditto
2156 * cursor.C (insert): use for_each instead of explicit for loop
2158 * bufferlist.C (getFileNames): use std::transform and
2159 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
2161 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
2164 * buffer.C (changeLanguage): use for_each instead of explicit for
2166 (hasParWithID): implement using getParFromID
2168 * LaTeXFeatures.C: ws change only
2170 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
2173 * BufferView_pimpl.C (trackChanges): use for_each instead of
2176 2004-11-04 André Pönitz <poenitz@gmx.net>
2179 * undo.C (textUndoOrRedo): fix crash when creating undo information.
2181 * dociterator.C (asDocIterator): use hard assert again.
2183 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2185 * lyxlength.C (asLatexString): rewrite so that it does not use
2188 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2190 * text3.C (specialChar, dispatch): make sure cursor moves to the
2191 right after inserting an inset
2193 2004-11-02 José Matos <jamatos@lyx.org>
2195 * output_docbook.C (docbook):
2196 * paragraph.C (getID):
2197 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
2198 garantee that the output is always legal.
2200 * tabular.C (docbook):
2201 * outputprams.[Ch]: remove mixed contents.
2203 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2205 * text2.C (setCounter): prevent endless loop
2207 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2209 * exporter.C (copyFile): use the mover instead of support::copy()
2210 * exporter.C (Export): pass format and latex name to copyFile()
2211 * exporter.h (addExternalFile): document
2212 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
2214 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2216 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
2218 2004-10-30 José Matos <jamatos@lyx.org>
2220 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
2221 text and no inset or font change. This allows to use CDATA
2222 sections just for the whole paragraph.
2224 2004-10-30 José Matos <jamatos@lyx.org>
2226 * paragraph.C (getFirstWord): remove unused variable.
2228 2004-10-30 José Matos <jamatos@lyx.org>
2230 * paragraph.C (getFirstWord): the content should always be escaped
2232 (simpleDocBookOnePar):
2233 * output_docbook.C (makeEnvironment): replace reference to CDATA
2236 2004-10-30 José Matos <jamatos@lyx.org>
2238 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
2240 2004-10-30 José Matos <jamatos@lyx.org>
2242 * output_docbook.C (makeParagraphs):
2243 * paragraph.[Ch] (emptyTag): for docbook and company, if the
2244 standard paragraph has only a given type of content drop the wrapper.
2246 2004-10-29 José Matos <jamatos@lyx.org>
2248 * output_docbook.C (makeEnvironment):
2250 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
2252 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
2254 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
2255 (cleanID): sanitize any id.
2257 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2259 * buffer.C, lyxlex_pimpl.C:
2260 * lyxlex_pimpl.C (setFile):
2261 s/getExtFromContents/getFormatFromContents/
2263 2004-10-28 José Matos <jamatos@lyx.org>
2265 * output_docbook.C (makeEnvironment): move id to broadest possible
2268 * sgml.C (openTag): apply substitution of <> for all attributes.
2270 2004-10-28 José Matos <jamatos@lyx.org>
2272 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2273 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2274 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
2276 * sgml.[Ch]: new version for open and closeTag for paragraph and
2277 for strings. Now they handle the ids of paragraphs.
2279 2004-10-26 Angus Leeming <leeming@lyx.org>
2281 * Makefile.am: add mover.[Ch].
2283 * converter.C (convert, move): use the new Movers to move external
2284 files to the temp directory.
2286 * lyx_main.C (init): ensure that the global system_movers data
2289 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
2292 * mover.[Ch]: new files, defining a Mover as a utility to move an
2293 external file between directories and, if necessary, manipulate this
2294 file using a helper script.
2296 2004-10-25 José Matos <jamatos@lyx.org>
2298 * output_docbook.C (makeCommand): merge two if's that tested the
2301 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2303 * sgml.C (escapeString): fix warning in a better way
2305 2004-10-25 José Matos <jamatos@lyx.org>
2307 * sgml.C (escapeString): import the require boosts header file for
2308 tie, and avoid a signed unsigned comparison.
2310 2004-10-25 José Matos <jamatos@lyx.org>
2312 * sgml.h: add #include <string>
2314 2004-10-25 José Matos <jamatos@lyx.org>
2316 * sgml.[Ch] (escapeString): new function to escape all the string.
2318 2004-10-24 José Matos <jamatos@lyx.org>
2320 * paragraph.[Ch] (getFirstWord): new function to get the first
2321 word. Useful for description.
2322 (simpleDocBookOnePar): remove depth argument, add another that
2323 says where to start the paragraph.
2325 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2326 use the new functions to fix cleanly the support for descriptions.
2328 2004-10-24 José Matos <jamatos@lyx.org>
2330 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2331 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2332 * output_linuxdoc.C (linuxdocParagraphs):
2333 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
2334 add buffer as argument.
2336 2004-10-24 José Matos <jamatos@lyx.org>
2338 * output_docbook.C (makeEnvironment, searchEnvironment): place
2339 CDATA inside paragraphs and fix scope for listitems.
2341 2004-10-24 José Matos <jamatos@lyx.org>
2343 * output_docbook.C: remove using statement for stack.
2345 2004-10-23 José Matos <jamatos@lyx.org>
2347 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
2348 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
2349 docbook. The new scheme is recursive and makes use of iterators, the
2350 same as latex export works.
2351 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
2352 directly with the paragraph contents. This code was moved up to
2353 output_docbook.C (docbookParagraphs).
2354 * sgml.C (openTag, closeTag): removed unneeded newlines.
2355 (closeEnvTags) removed.
2357 2004-10-23 André Pönitz <poenitz@gmx.net>
2359 * undo.C (textUndoOrRedo):
2360 * dociterator.C (asDocIterator): work around crash
2362 * cursor.C (getStatus): replace ASSERT by more verbose error message
2363 and manual correction of the problem. Should increase stability
2364 while providing more sensible information.
2366 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2368 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
2370 * bufferlist.C (previous, next): new methods
2373 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
2375 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
2377 * buffer.C (makeDocBookFile): add dsssl stylesheet control
2378 entities to preamble.
2380 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2382 * messages.C (Pimpl): strip off translation context information
2384 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2386 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
2387 the cursor is correct (bug 1694)
2389 2004-10-13 José Matos <jamatos@lyx.org>
2391 * output_docbook.C (docbookParagraphs): fix closing tags in the
2392 end of the document.
2394 2004-10-09 José Matos <jamatos@lyx.org>
2396 * buffer.C: format up to 237.
2397 * bufferparams.C (write): use tostr to convert booleans to strings.
2399 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
2401 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
2403 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2405 * LaTeX.C: implement use of babel language in xindy.
2407 2004-10-05 José Matos <jamatos@lyx.org>
2409 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2410 Add new translators to help reading and writing the lyx file.
2412 2004-10-05 José Matos <jamatos@lyx.org>
2414 * ParagraphParameters.C (read):
2415 * text.C (readParToken): replace nexToken by more appropriate lex
2418 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
2420 * LaTeX.C (runMakeIndex):
2421 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2422 (usually 'makeindex') configurable.
2424 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2425 with a variable rather than with a number.
2427 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2429 * output_latex.C (TeXOnePar): make sure font setting is the first
2430 thing that gets output (and the last at the end). Should fix bug
2433 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2435 * pch.h: use proper signal include
2437 * LaTeX.h: Use preferred calling of Boost.Signal
2440 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2442 * pch.h: dont include <boost/function/function0.hpp>
2444 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2446 * paragraph_pimpl.h: remove usage of ShareContainer
2448 * paragraph_pimpl.C: remove initialization of ShareContainer.
2450 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2454 * BufferView.C (putSelectionAt): change the semantics when
2455 backwards == true: now, this just swaps cursor and anchor wrt the
2458 * BufferView.h (putSelectionAt): add some documentation
2460 * lyxfind.C (findBackwards): rewrite using while(). In particular,
2461 make sure backwardChar is done at least once (to avoid getting
2463 (findNextChange): use putSelectionAt in the forward direction
2464 (operator()): use Paragraph::isWord
2466 2004-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2468 * Spacing.C (set): c_str fix
2470 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2472 * lyx_cb.C (Reconfigure): quote the name of configure script in
2473 case it contains spaces
2475 2004-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2479 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2480 (BOOST_LIBS): use top_buildir when looking for the file
2482 2004-08-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2484 * pch.h: do not use include boost/format.hpp, multiple symbols
2485 will result (gcc bug)
2488 2004-08-23 José Matos <jamatos@lyx.org>
2490 * bufferparams.C (readToken): fix reading of the author field.
2492 2004-08-20 José Matos <jamatos@lyx.org>
2494 * lyxrc.C: remove support/translator.h inclusion since it is not used.
2496 2004-08-20 José Matos <jamatos@lyx.org>
2498 * lyxlex.[Ch] (findToken): remove function.
2500 * ParagraphParameters.C (findToken):
2501 * bufferparams.C (findToken): replace call for previous function
2502 with local copy. This local function has one more argument, the
2503 read string argument.
2505 2004-08-16 José Matos <jamatos@lyx.org>
2507 * ParagraphParameters.C (write):
2508 * Spacing.C (writeFile):
2509 * bufferparams.C (writeLaTeX):
2510 * lyx_cb.C (Reconfigure):
2511 * paragraph.C (write):
2512 * tabular.C (write): remove unnecessary space at end of line.
2515 2004-08-16 José Matos <jamatos@lyx.org>
2517 * text.C (readParagraph): remove debug message.
2519 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2521 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2524 * output_plaintext.C (asciiParagraph): set depth correctly
2526 * outputparams.h: add member depth
2528 * paragraph_funcs.C (ownerPar): remove.
2530 * text2.C (setCounter): remove first_pit; comment out some
2531 non-working code that uses ownerPar
2533 * BufferView.C (getParentLanguage): remove. Not used anymore, and
2536 2004-08-16 José Matos <jamatos@lyx.org>
2538 * text.C (readParToken, readParagraph, read): report all unknown tokens.
2539 For the same level of importance use the same chanel to report problems.
2540 (read): add code to deal with \begin_body and \end_body.
2543 2004-08-15 José Matos <jamatos@lyx.org>
2545 * lyxlex.C (getString): fix comment, buffer::readBody is now
2546 buffer:readDocument.
2548 * tex-strings.C (string_papersize): Default -> default,
2549 Custom -> custom, for consistency with other options.
2551 2004-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2555 * Makefile.am: support pch
2557 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2559 * text.C (readParToken): remove the static LyXFont variable and
2560 pass it as a parameter instead. This fixes a nasty bug where an
2561 inset will be inserted with a bad font in some situations
2562 (readParagraph): adapt
2564 * text2.C (setCounter): reduce number of calls to pars_[pit]
2566 * text.C (singleWidth): add an assert, fix a test
2568 * rowpainter.C (paintText): reduce number of calls to singleWidth
2570 * paragraph.C (isHfill):
2571 (isNewline): ws only
2573 2004-08-14 André Pönitz <poenitz@gmx.net>
2578 * lyxtext.h (several functions): use a Paragraph & argument
2581 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2583 * metricsinfo.h: add a new field ltr_pos to PainterInfo
2585 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2587 * text.C (singleWidth): remove useless test
2589 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2591 * tabular.h: remove bogus comments
2593 * tabular.C (getDescentOfRow):
2594 (isPartOfMultiColumn): add assertions
2596 * lyxlength.C (inPixels): remove #warning
2598 2004-08-14 André Pönitz <poenitz@gmx.net>
2600 * paragraph.h: inline getChar()
2602 * BufferView.h: remove unused declarations
2604 2004-08-14 José Matos <jamatos@lyx.org>
2606 * Buffer.[Ch] (readDocument): new name for old readBody.
2607 * Buffer.C: new file format, new keywords: \begin_document,
2608 \begin_header, \begin_body, \end_body.
2610 * bufferparams.C (readToken): replace all calls to lex.nextToken
2611 by lex.next(). Do the same to eatLine except where really needed.
2613 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2614 line when writing to the lyx file.
2616 * output_plaintext.C (asciiParagraph): fix Bibliography style
2619 * text.C (read): fix end of file handling.
2621 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2623 * MenuBackend.C (Menu::operator[]): new method to access
2624 individual menu items
2625 (Menu::hasFunc): new method. search for an item that corresponds
2627 (MenuBackend::specialMenu): new method
2628 (MenuBackend::expand): if a special menu has been set, skip
2629 entries whose func() appears in this menu
2631 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2633 * text3.C: use Debug::DEBUG a bit more
2635 * text.C (leftMargin): try to simplify a tiny bit change var x to
2636 l_margin. Dont output the wide margins always.
2637 (rightMargin): no margin in inner texts
2639 * rowpainter.h (nestMargin): new func
2640 (changebarMargin): new func
2641 (rightMargin): new func
2643 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2647 * factory.C (createInset): modify setDrawFrame
2649 * cursor.C: use Debug::DEBUG a bit more
2651 2004-08-14 André Pönitz <poenitz@gmx.net>
2654 * Makefile.am: new files to accomodate an 'external' (x,y)-position
2655 cache for all insets in (at least partially) visible (top-level)
2658 * BufferView_pimpl.C: reset external coord cache before every update.
2659 This means the coord cache only contains valid entries.
2661 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2664 * BufferView_pimpl.C (getInsetByCode): move function out of class
2665 and change in to a template in anon namespace. Also fix to do what
2668 2004-08-13 Lars Gullik Bjønnes <larsbj@lyx.org>
2671 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2673 (breakParagraph): rename par to par_offset and use a local
2674 reference. Add code to keep the language over a rebreak.
2675 (breakParagraphConservative): rename par to par_offset, use a
2677 (mergeParagraph): ditto
2679 (isFirstInSequence): ditto
2680 (outerFont): rename pit to par_offset
2682 * paragraph.C: ws change
2683 * paragraph.h: ditto
2687 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2689 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2692 * paragraph.C (simpleTeXOnePar): when we have a \item with
2693 optional argument, enclose the argument with curly brackets (in
2694 case it contains a closing square bracket)
2698 * text3.C (checkInsetHit): constify
2700 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2702 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2703 documents (bug 1629)
2705 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2707 Fix toggling of collapsable insets with the mouse (bug 1558)
2709 * lyxfunc.C (dispatch): adapt to LCursor changes
2711 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2712 make sure that dispatch is not invoked twice
2714 * cursor.C (needsUpdate): new method
2715 (dispatch): return void
2716 (result): new method, to access the DispatchResult of the cursor.
2718 2004-08-13 José Matos <jamatos@lyx.org>
2720 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2722 2004-08-13 André Pönitz <poenitz@gmx.net>
2724 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2726 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2729 2004-08-12 André Pönitz <poenitz@gmx.net>
2731 * text3.C: take out the 'cursor right' form insertInset and only
2732 do it in those places when it is really needed. Fixes crash on
2735 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2737 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2739 * BufferView_pimpl.C (setBuffer): initialize the current font of
2740 the underlying LyXText
2742 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2744 * kbsequence.C (print): use UI native formatting for menu
2747 * text.C (insertChar): call Paragraph::insertChar with a font
2750 * paragraph.C (insertInset, insertChar): the version that takes a
2751 LyXFont argument is now a wrapper around the other one (the
2752 opposite used to be true).
2754 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2755 argument. Font setting is done in Paragraph now.
2757 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2759 * outputparams.h: add new members intitle and lang.
2761 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2762 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2764 2004-08-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2766 * text3.C (dispatch): remove special handling of button 4 and 5,
2767 it is now taken care of in the frontend code.
2769 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2771 * Spacing.h: add <string> (STLPort compile fix)
2773 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2775 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2777 2004-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2779 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2782 * converter.C (showMessage): inherit from unary_function, make
2785 * buffer.C (writeFile): initialize retval
2787 * InsetList.h: rename private variable list to list_
2788 * InsetList.[Ch]: adjust accordingly.
2790 2004-07-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2792 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2793 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2794 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2795 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2796 * ParagraphParameters.C, LaTeXFeatures.C: replace
2797 "support/std_sstream.h" with <sstream>
2799 2004-07-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2801 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2802 * lyxsocket.C (LyXServerSocket): ditto
2803 (serverCallback): ditto
2805 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2807 * LaTeXFeatures.C: check release date when loading jurabib.
2809 2004-07-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2811 * lyxserver.C (startPipe): call register_socket_callback
2812 (endPipe): call unregister_socket_callback
2814 2004-07-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2816 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2817 (LyXServerSocket): register the callback
2818 (LyXServerSocket): unregister the callback
2819 (fd): delete function
2820 (serverCallback): improve error checking and setup the callbacks.
2821 (dataCallback): change arg to fd.
2822 (writeln): new func (copied fro the client socket) used for server
2824 (LyXDataSocket): simplify
2825 (~LyXDataSocket): close ann unregiser callback
2826 (server): delete function
2827 (fd): delete function
2828 (readln): small changes, improve some std::string usage
2829 (writeln): constify a bit
2831 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2833 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2836 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2838 * BufferView_pimpl.C (setBuffer): set the layout combox value only
2839 after it has been populated
2841 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2843 * text2.C (insertInset): move cursor when inserting inset.
2845 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2847 * kbmap.C (findbindings): a couple of new methods. returns a
2848 container of kb_sequence objects. The real work is done by the
2849 private recursive version
2850 (printbindings): uses findbindings to print out a bracketed list
2851 of bindings (renamed from findbinding).
2853 * MenuBackend.C (binding): use kb_keymap::findbindings
2855 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2857 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2859 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2861 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2863 * paragraph.C (isWord): return true on insets that report
2866 * text.C (getWord): use Paragraph::isWord to decide what is in a
2867 word and what is not; fix bug 1609.
2869 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2871 * tex-strings.C: add "none" to string_paperpackages[], fixes
2872 off-by-one-error in the paperpackage selection.
2875 * tex-strings.[Ch]: char const * string[n]
2876 -> char const * const string[]
2878 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2880 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2881 command, return early.
2883 2004-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
2885 * debug.h: add DEBUG to enum and fix size of ANY.
2887 * debug.C: add support for Debug::DEBUG
2888 (showTags): cast errorTags.level to unsigned int
2890 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2891 (redoCurrentBuffer): ditto
2892 (updateScrollbar): ditto
2893 * cursor.C (dispatch): ditto
2894 * text2.C (setLayout): ditto
2896 (updateCounters): ditto
2898 (deleteEmptyParagraphMechanism): ditto
2900 2004-06-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2902 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2903 annotations to cleanup the Makefile slightly.
2905 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2907 * lyxrc.C: do not set user_email to a default value but use empty
2908 instead. The entry used to be translated, which does not work
2909 since at the point where lyxrc is constructed there is no
2910 translation service available
2912 * messages.C (getLocaleDir): remove and use directly
2913 lyx_localedir() instead
2915 2004-06-02 Angus Leeming <leeming@lyx.org>
2917 Fix crash caused by dereferencing null pointer 'exportdata' in
2918 OutputParams by creating a new ExportData variable on the heap,
2919 storing it in a boost::shared_ptr.
2920 The crash was triggered when generating an Instant Preview
2921 of an external inset.
2923 * Makefile.am: add outputparams.C
2925 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2926 (c-tor): allocate memory to it.
2928 * exporter.C (c-tor): associated changes.
2930 2004-06-01 Angus Leeming <leeming@lyx.org>
2932 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2933 contains data before calling isInset(0). (Bug 1513.)
2935 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2937 * exporter.C (checkOverwrite): new method
2938 * exporter.C (copyFile): new method
2939 * exporter.C (Export): copy referenced files to the document dir
2940 * exporter.[Ch]: new class ExportedFile
2941 * exporter.[Ch]: new class ExportData. Contains currently the
2942 names of referenced external files
2943 * outputparams.h: add exportdata member.
2945 2004-05-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2947 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2950 2004-05-19 Angus Leeming <leeming@lyx.org>
2955 * lyxfunc.C: small changes due to the introduction of namespace
2956 lyx::frontend and the moving of namespace biblio to lyx::biblio.
2958 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
2960 * text3.C (dispatch): supress update when only moving the cursor
2961 * cursor.C (selHandle): remove commented code
2963 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2965 * paragraph.C (startTeXParParams): correct column count
2966 * CutAndPaste.C (pasteSelection): remove const_cast
2967 * output_docbook.C (docbookParagraphs): remove const_cast
2968 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2969 const_cast and return ParagraphList::const_iterator
2970 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2971 * output_plaintext.C (writeFileAscii): remove const_cast
2972 * paragraph.[Ch] (simpleTeXOnePar): make const
2973 * paragraph_funcs.C (outerPar): use const iterators
2974 * paragraph_pimpl.C (validate): use const iterators
2975 * text.C (setHeightOfRow): use const iterators
2977 2004-05-17 Angus Leeming <leeming@lyx.org>
2980 * LyXAction.C (init): new LFUN_INSET_REFRESH.
2982 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2983 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2984 if the citation engine has changed.
2986 2004-05-14 José Matos <jamatos@lyx.org>
2988 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2989 if the textclass does not provide it. Have it different for sgml and
2991 support the language of document.
2992 * output_docbook.C (docbookParagraphs):
2993 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2994 first anchor as the id of the paragraph, remove special case code.
2995 * sgml.C (escapeChar): escape only < & >.
2997 2004-05-14 Angus Leeming <leeming@lyx.org>
2999 * bufferparams.h: move biblio::CiteEngine enum here to minimize
3000 dependencies on src/frontends/controllers/biblio.h. Define a
3001 CiteEngine_enum wrapper class to enable the enum to be forward
3004 2004-05-12 Angus Leeming <leeming@lyx.org>
3006 * buffer.C: up LYX_FORMAT to 234.
3007 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
3008 use_numerical_citations with a single biblio::CiteEngine cite_engine
3010 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
3012 2004-05-13 José Matos <jamatos@lyx.org>
3015 * converter.C (Converter, readFlags): add xml member.
3016 * outputparams.h: add XML flavor.
3017 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
3019 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3021 * lyxfunc.C (dispatch):
3022 (getStatus): fix handling of LFUN_SEQUENCE
3024 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3026 * debug.C (showLevel): do not forget the end-of-line marker
3028 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3030 * kbmap.C (read): do not stop parsing a bind file when an error
3033 2004-04-29 Angus Leeming <leeming@lyx.org>
3038 * text2.C: wrap a bunch of #warning statements
3039 inside #ifdef WITH_WARNINGS blocks.
3041 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3043 * buffer.C: increment format to 233.
3045 2004-04-28 Angus Leeming <leeming@lyx.org>
3047 * BufferView_pimpl.C:
3050 s/updateToolbar()/updateToolbars()/
3051 s/Toolbar.h/Toolbars.h/
3053 2004-04-28 Angus Leeming <leeming@lyx.org>
3055 * BufferView.[Ch] (c-tor):
3056 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
3057 No longer passes these data to the WorkArea generator.
3059 2004-04-28 Angus Leeming <leeming@lyx.org>
3061 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
3063 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3065 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
3067 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3069 * output_latex.C (TeXEnvironment): make sure that there is a line
3070 break before \end{foo} for the last paragraph of a document
3071 (TeXOnePar): if the paragraph is at the end of the document (or
3072 inset) and the language has to be reset, then make sure that the
3073 line break is _before_ the language command, not after (fixes bug
3074 1225); also make sure that the language reset command is the first
3075 thing after the paragraph (to ensure proper nesting of
3076 environments and thus fix bug 1404)
3078 2004-04-21 John Levon <levon@movementarian.org>
3081 * ToolbarBackend.C: make "name" be a programmatic name
3082 and a gui_name field.
3084 * lyxfunc.C: display the minibuffer on M-x
3086 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3088 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
3091 2004-04-19 Angus Leeming <leeming@lyx.org>
3093 * BufferView_pimpl.C (setBuffer): changed preview interface.
3095 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
3098 2004-04-19 John Levon <levon@movementarian.org>
3100 * BufferView_pimpl.C:
3101 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
3103 2004-04-05 Angus Leeming <leeming@lyx.org>
3105 * text.C (redoParagraphs): add call to updateCounters(), thereby
3106 fixing the missing "Figure #:" label from the caption of a
3109 2004-04-13 Angus Leeming <leeming@lyx.org>
3111 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
3112 cursor is clicked out of an inset.
3114 2004-04-13 Angus Leeming <leeming@lyx.org>
3116 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
3117 than an InsetOld one.
3119 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3121 * format.[Ch]: add editor to Format
3122 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
3123 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
3125 2004-04-08 André Pönitz <poenitz@gmx.net>
3127 * metricsinfo.h: remove PainterInfo::width member
3129 2004-04-08 Angus Leeming <leeming@lyx.org>
3131 * lyx_sty.C (boldsymbol_def): modify so that it outputs
3132 "\providecommand" rather than "\newcommand", thereby preventing
3133 clashes with packages that define "\boldsymbol" themselves.
3136 2004-04-08 Angus Leeming <leeming@lyx.org>
3138 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
3139 thereby squashing an unnecessary warning.
3141 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3143 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
3146 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
3148 * BufferView.C (setCursor): call redoParagraph (some insets could
3150 (putSelectionAt): remove the 'double update' trick
3152 * BufferView_pimpl.C (fitCursor): call refreshPar
3153 (workAreaDispatch): remove an uneeded update call
3154 (dispatch): remove some manual update calls
3156 * cursor.[Ch]: remove cached_y_, updatePos
3157 (selHandle): set noUpdate when appropriate
3159 * lyxfunc.C (dispatch): track if we need an update
3161 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
3163 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
3164 (paintSelection): cheap optimization, do not call cursorX when not
3166 (paintPars): change signature
3169 (paintTextInset): adjust
3173 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3175 * lengthcommon.C: compilation fix: remove explicit array size from
3176 unit_name[] and friends
3178 2004-04-05 Angus Leeming <leeming@lyx.org>
3180 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
3182 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
3183 present only for the preferences dialog.
3184 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
3186 2004-04-05 Angus Leeming <leeming@lyx.org>
3188 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
3189 to enable the frontends to export changes to lyxrc correctly.
3191 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
3193 2004-04-07 André Pönitz <poenitz@gmx.net>
3195 * cursor.[Ch] (selClear, adjust): remove math
3197 * cursor_slice.C: more agressive assert
3200 * BufferView_pimpl.C: rework mouse event dispatch
3207 2004-04-05 André Pönitz <poenitz@gmx.net>
3209 * cursor.[Ch] (valign, halign...): remove unneeded functions
3211 2004-04-05 Angus Leeming <leeming@lyx.org>
3213 * lyxlength.[Ch] (unit_name et al.): const-correct.
3215 2004-04-05 Angus Leeming <leeming@lyx.org>
3217 * BufferView_pimpl.C:
3226 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
3228 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3230 * text3.C (getStatus): add LFUN_BEGINNINGBUF
3232 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3234 * lyxfind.C: add a couple of inTexted() tests + other small fixes
3235 * BufferView_pimpl.[Ch] (getStatus)
3236 * BufferView.[Ch] (getStatus): add
3237 * lyxfunc.C (getStatus): move lfuns handled in
3238 BufferView::dispatch to te function above
3239 * Cursor.C (setSelection): set selection() = true
3241 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3243 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
3245 2004-03-31 Angus Leeming <leeming@lyx.org>
3247 * lyxfunc.C (dispatch): Fall through to the generic
3248 Dialogs::show("preamble").
3250 2004-03-31 Angus Leeming <leeming@lyx.org>
3252 * lyxfunc.C (dispatch): Fall through to the generic
3253 Dialogs::show("spellchecker").
3255 2004-03-31 Angus Leeming <leeming@lyx.org>
3257 * lyxfunc.C (getStatus, dispatch): changed invocation of the
3260 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
3265 * insetiterator.[Ch]:
3270 * undo.[Ch]: s/DocumentIterator/DocIterator/g
3272 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
3274 * BufferView.C (setCursor, putSelectionAt): call edit to open the
3275 insets where we are putting the cursor.
3277 2004-03-31 Angus Leeming <leeming@lyx.org>
3280 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
3282 * lyxrc.[Ch] (read, write): overloaded member functions taking
3283 a std::[io]stream arguments.
3285 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
3287 2004-03-31 Angus Leeming <leeming@lyx.org>
3289 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
3290 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
3292 * lyxtextclass.C (load): if the text class couldn't be loaded, then
3293 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
3295 2004-03-31 Angus Leeming <leeming@lyx.org>
3297 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
3298 the LFUN_ALL_INSETS_TOGGLE code.
3300 2004-03-30 Angus Leeming <leeming@lyx.org>
3302 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
3303 has died. Fall through to the generic Dialogs::show("document").
3305 2004-03-30 Angus Leeming <leeming@lyx.org>
3308 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
3309 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
3311 * lyxfunc.C (getStatus, dispatch): define the actions for these
3312 lfuns. Little more than a cut and pste job from ControlDocument.C
3314 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
3316 2004-03-30 Angus Leeming <leeming@lyx.org>
3319 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
3320 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
3322 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
3323 open/closed state of ollapsable insets. Usage:
3325 all-inset-toggle <state> <name>, where
3326 <state> == "open" || "closed" || "toggle" and
3327 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
3329 * lyxtext.h, text2.C (toggleInset): removed.
3331 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
3332 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
3333 now passes LFUN_INSET_TOGGLE to the found inset.
3335 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
3336 is now invoked as "all-insets-toggle toggle branch".
3338 2004-03-30 Angus Leeming <leeming@lyx.org>
3342 * pariterator.[Ch]: added/corrected header blurb.
3344 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
3346 * dociterator.[Ch]: add an inset_ member
3347 (backwardPos): implemented
3348 (backwardPos, forwardPos): use inset_ when the stack is empty.
3349 (doc_iterator_begin, doc_iterator_end): implemented
3350 * pariterator.[Ch]: adjust, add begin, end
3351 * insetiterator.[Ch]: adjust, add begin, end
3355 * BufferView_pimpl.C:
3356 * CutAndPaste.C: adjust
3358 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3360 * buffer.C: increment file format to 232.
3361 * LaTeXFeatures.C: add bibtopic package.
3362 * bufferparams.[Ch]: param \use_bibtopic.
3364 * lyxrc.[Ch]: add lyxrc bibtex_command
3365 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
3367 * buffer.C: increment file format to 231.
3369 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
3371 * dociterator.C: implement forwardPar
3372 * iterators.[Ch]: remove, replaced by
3373 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
3375 * BufferView_pimpl.C:
3378 * bufferview_funcs.C:
3384 * Makefile.am: adjust
3386 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
3388 * CutAndPaste.C (pasteSelection): fix 2 crashes
3389 (eraseSelection): fix a crash
3390 * paragraph_funcs.C: remove a warning
3392 2004-03-28 Angus Leeming <leeming@lyx.org>
3395 * LyXAction.C (init): new LFUN_PRINT.
3397 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
3399 2004-03-27 Angus Leeming <leeming@lyx.org>
3402 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
3404 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
3406 2004-03-27 Angus Leeming <leeming@lyx.org>
3408 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
3409 insetlist always contains non-null pointers to insets.
3411 2004-03-26 Angus Leeming <leeming@lyx.org>
3413 * src/BufferView_pimpl.C:
3414 * src/CutAndPaste.C:
3417 * src/output_plaintext.C:
3418 * src/outputparams.h:
3419 * src/paragraph_funcs.C:
3423 * src/frontends/controllers/ControlErrorList.C:
3424 * src/frontends/gtk/FileDialogPrivate.C:
3425 * src/frontends/gtk/GPainter.C:
3426 * src/frontends/gtk/GToolbar.C:
3427 * src/frontends/qt2/QRef.C:
3428 * src/mathed/math_scriptinset.C: squash compiler warnings.
3430 2004-03-26 Angus Leeming <leeming@lyx.org>
3432 * ispell.C (LaunchIspell::start):
3433 * lyx_cb.C (AutoSaveBuffer::start):
3434 invoke run(DontWait) rather than runNonBlocking().
3436 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
3438 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3440 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3442 * kbsequence.C (print): adjust
3444 * kbmap.C (printKeySym): rename and change signature
3445 (printKey): use LyXKeySym::print()
3447 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
3449 * undo.C: add using std::advance to compile for stlport
3451 2004-03-24 Angus Leeming <leeming@lyx.org>
3453 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3454 it leads to a crash when no buffer is present.
3456 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3457 Martin Vermeer <martin.vermeer@hut.fi>
3459 * lyxfunc.C (dispatch):
3460 * bufferparams.C (readToken): use the new LColor::setColor
3462 * LColor.[Ch] (setColor): new version that takes two strings as
3463 argument and creates a new color entry if necessary
3465 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3467 * buffer.C (makeLaTeXFile): if the main latex file that is
3468 processed is usually a subdocument of some master, then pretend
3469 for a while that it is actually the master
3471 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3473 * buffer.C (getLabelList):
3474 (getBibkeyList): use getMasterBuffer()
3475 (getMasterBuffer): new method. Returns the main document in the
3476 case where one is using included documents.
3478 2004-03-25 André Pönitz <poenitz@gmx.net>
3482 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3484 * ParagraphList_fwd.h: change ParagraphList to a std::vector
3486 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3487 text*.C over here. Rename namespace CutAndPaste to lyx::cap
3489 * ParameterStruct.h: merge with ParagraphParameters
3491 * lyxtext.h: remove LyXText::parOffset() and getPar()
3493 * text3.C: Remove all 'manual' update calls. We do now one per user
3494 interaction which is completely sufficient.
3498 * BufferView_pimpl.C:
3499 * FontIterator.[Ch]:
3501 * ParagraphParameters.[Ch]:
3506 * cursor_slice.[Ch]:
3513 * output_docbook.[Ch]:
3514 * output_latex.[Ch]:
3515 * output_linuxdoc.[Ch]:
3516 * output_plaintext.[Ch]:
3518 * paragraph_funcs.[Ch]:
3519 * paragraph_pimpl.[Ch]:
3527 * frontends/controllers/ControlDocument.C:
3528 * frontends/controllers/ControlErrorList.C:
3529 * frontends/controllers/ControlSpellchecker.C:
3532 * insets/insetbase.h:
3533 * insets/insetbibitem.C:
3534 * insets/insetbox.C:
3535 * insets/insetbranch.C:
3536 * insets/insetcaption.C:
3537 * insets/insetcharstyle.C:
3538 * insets/insetcharstyle.h:
3539 * insets/insetcollapsable.C:
3540 * insets/insetcollapsable.h:
3541 * insets/insetert.C:
3542 * insets/insetfloat.C:
3543 * insets/insetfoot.C:
3544 * insets/insetmarginal.C:
3545 * insets/insetnote.C:
3546 * insets/insetoptarg.C:
3547 * insets/insettabular.C:
3548 * insets/insettext.C:
3549 * insets/insettext.h:
3550 * insets/insetwrap.C:
3551 * mathed/math_mboxinset.C:
3552 * mathed/math_nestinset.C:
3553 * mathed/math_scriptinset.C:
3554 * mathed/math_scriptinset.h:
3557 2004-03-24 Angus Leeming <leeming@lyx.org>
3559 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3560 deal with any child processes that have finished but are waiting to
3561 communicate this fact to the rest of LyX.
3563 2004-03-24 Angus Leeming <leeming@lyx.org>
3565 64-bit compile fixes.
3567 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3568 (c-tor): pass lyx::pos_types rather than ints.
3570 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3573 * text.C (Delete): compile fix.
3574 (getPar): ensure that function declaration is the same as that in
3577 2004-03-23 Angus Leeming <leeming@lyx.org>
3579 * ispell.C (LaunchIspell):
3580 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3581 a boost::shred_ptr rather than a std::auto_ptr.
3583 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3585 * lyxfunc.C (getStatus): handle read-only buffers correctly;
3586 handle LFUN_FILE_INSERT_*
3588 * lyxrc.C (setDefaults, getDescription, output, read):
3589 * lyxrc.h: remove ps_command
3591 2004-03-22 Angus Leeming <leeming@lyx.org>
3593 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3594 Ensure that error_handler is processed once only and that all data
3595 is saved before attempting to output any warning messages.
3597 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3599 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
3601 * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3603 2004-03-19 André Pönitz <poenitz@gmx.net>
3605 * cursor.[Ch] (reset): take main text inset as argument
3607 * BufferView: adjust
3608 * BufferView_pimpl.C: adjust
3610 * paragraph.[Ch]: fix completely broken operator=()
3612 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3614 * LColor.C (getFromLyXName): make sure that the color name is used
3617 2004-03-17 Angus Leeming <leeming@lyx.org>
3620 * LyXAction.C (init): remove LFUN_FORKS_KILL.
3622 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3623 dialog and to kill a forked process.
3625 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3627 * text2.C (setCursorFromCoordinates): fix font problem
3629 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3631 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3632 bogus "rebuild cursor" code
3634 2004-03-11 André Pönitz <poenitz@gmx.net>
3636 * buffer.[Ch]: use InsetText instead of LyXText as container for
3639 * dociterator.[Ch]: drop the BufferView * member which is not needed
3640 anymore after the change to buffer.C
3642 * paragraph_funcs.C:
3646 * BufferView_pimpl.[Ch]:
3648 * cursor_slice.[Ch]: adjust
3650 * text3.C: fix bug in mathDispatch
3652 2004-03-08 André Pönitz <poenitz@gmx.net>
3654 * undo.[Ch]: use 'StableDocumentIterator' as base for
3657 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3660 * bufferparams.[Ch]: add jurabib support and param.
3662 * LaTeX.C: add FIXME/comment.
3664 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3666 * buffer.C: increment file format to 230.
3668 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
3670 * cursor.C (dispatch): avoid infinite loops
3672 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3674 * rowpainter.C (paintSelection): fix x coordinates
3676 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3678 * text.C (rowBreakPoint): fix breaking before displayed insets
3680 2004-03-01 André Pönitz <poenitz@gmx.net>
3682 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3684 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3688 * BufferView_pimpl.C:
3696 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3702 * BufferView_pimpl.C: rename textwidth -> maxwidth,
3703 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3705 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3707 * Bidi.[Ch] (computeTables): const correctness
3708 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3709 fill_hfill, fill_label_hfill and x from Row
3710 * lyxtext.h: prepareToPrint returns a RowMetrics
3711 * rowPainter.C: adjust
3712 * text.C (prepareToPrint): use width, not textWidth. adjust
3713 (redoParagraphInternal, cursorX): adjust
3714 * text2.C (getColumnNearX): adjust
3715 (init): put a default value to the top LyXText::width
3717 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3719 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3721 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3723 * lyxtext.h: add FontIterator class
3725 * text.C (FontIterator, operator*, operator->, operator++): add
3726 (rowBreakPoint, setRowWidth): adjust (fixing a
3729 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3731 * BufferView_pimpl.C (workAreaDispatch): allow also
3732 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3734 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
3736 * text.C (rowBreakPoint): fix a bug showing with very large insets
3738 2004-02-25 André Pönitz <poenitz@gmx.net>
3741 * cursor.[Ch]: move some mathed specific code to mathed
3743 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3745 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3746 use_tempdir in preferences
3747 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3749 * lyx_main.C: ensure that tempdir is valid
3750 * lyxlex.h: correct typo
3751 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3752 * paragraph.[Ch] (isMultiLingual): make const
3753 * cursor.[Ch] (openable): make const
3755 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3757 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3759 2004-02-20 André Pönitz <poenitz@gmx.net>
3761 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3763 * cursor.[Ch]: prepare for localized getStatus()
3769 * text3.C: streamlines the LyXText cursor movement handlers a bit.
3771 2004-02-20 André Pönitz <poenitz@gmx.net>
3773 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3775 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3777 * text2.C (setCursorFromCoordinates): switch to absolute coords
3779 (cursorDown): adjust
3780 * text3.C (dispatch): adjust
3782 2004-02-16 André Pönitz <poenitz@gmx.net>
3784 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3787 * cursor_slice.[Ch]: remove unneeded acessor function
3789 * lyxtext.h: rename rtl() to isRTL()
3797 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3799 * rowpainter.C (paintSelection): coord fix
3801 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3803 * Spacing.C: compile fix
3805 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3807 * cursor.C (dispatch): restore current_ before returning
3809 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3811 * text2.C (cursorUp, cursorDown): fix coords
3814 2004-02-12 André Pönitz <poenitz@gmx.net>
3819 * text3.C: add LCursor & parameter to most cursor movement functions
3820 remove usage of LyXText::cursorRow() and cursorPar()
3822 * cursor.[Ch]: add textRow() needed members
3825 * BufferView_pimpl.C:
3828 * BufferView_pimpl.C: adjust
3830 2004-02-11 André Pönitz <poenitz@gmx.net>
3834 * BufferView_pimpl.C: shift undo/redo handling
3836 * cursor.[Ch]: fix mathed crash
3839 * lyxtext.h: move selectionAsText to LCursor
3847 * rowpainter.C: fix excessive drawing
3849 2004-02-06 André Pönitz <poenitz@gmx.net>
3852 * BufferView_pimpl.[Ch]:
3853 * text3.C: move some text specific LFUN handling
3855 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
3857 * text3.C (checkInsetHit): adjust coords
3858 * text2.C (getColumnNearX): adjust coords
3859 (edit): adjust coords
3860 * text.C (getRowNearY): add two asserts
3862 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
3865 * format.C: add using std::distance to compile on gcc 2.95/stlport
3867 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
3869 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3871 2004-02-04 André Pönitz <poenitz@gmx.net>
3873 * BufferView.[Ch] (insertInset):
3874 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3879 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3881 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3882 on the default clause of the switch
3883 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3884 wasn't catched by LCursor::dispatch
3886 2004-02-03 André Pönitz <poenitz@gmx.net>
3889 * cursor.[Ch]: some additional asserts
3891 * undo.[Ch]: remove LyXText dependency in interface
3895 * lyxtext.h (firstPar, lastPar): remove dead functions
3900 * paragraph.[Ch]: adjust
3902 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3904 * lyxfind.C (find): fix argument order in call to ::find
3906 2004-02-02 André Pönitz <poenitz@gmx.net>
3908 * cursor.[Ch]: remove direct access to anchor
3910 * text.C: remove findText() hack
3912 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3914 * iterators.[Ch] (lockPath): remove in favour of...
3915 * BufferView.[Ch] (setCursor): this addition
3916 * BufferView.C (putSelectionAt): adjust
3917 * undo.C (performUndoOrRedo): adjust
3918 * lyxfunc.C (dispatch): adjust
3920 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3922 * iterators.C (lockPath): add a missing slice
3923 * undo.C (performUndoOrRedo): remove redundant positioning code
3925 2004-02-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3927 * vc-backend.C (scanMaster): ";" -> ';'
3929 2004-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
3931 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3932 std::binary_function
3934 * lyxtextclass.C (compare_name): rename to...
3935 (LayoutNamesEqual): ...this
3937 * lyxlex_pimpl.C (compare_tags): inherit from
3938 std::binary_function, put back into anon namespace
3940 * lyxfind.C (MatchString): inherig from std::binary_function
3941 (findChange): use empty() istead of !size()
3943 * format.C (FormatNamesEqual): new functor
3950 * converter.C (compare_Converter): rename to...
3951 (ConverterEqual): ...this, and fixup a bit.
3952 (getConverter): use it, and make function const
3953 (getNumber): use it, and make function const
3957 * bufferlist.C: add using boost::bind
3959 * MenuBackend.C (MenuNamesEqual): new functor
3960 (hasMenu): use it, and make function const
3961 (hasSubmenu): use nested bind to get rid of compare_memfun.
3963 2004-01-30 André Pönitz <poenitz@gmx.net>
3965 * BufferView_pimpl.C:
3968 * cursor_slice.[Ch]:
3971 * paragraph_funcs.C:
3972 * paragraph_funcs.h:
3976 * text3.C: move some of the edit(x,y) handling to the insets
3977 some coordinate changes.
3979 2004-01-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3981 * text.C: add using statements for std::advance and std::distance
3983 * paragraph.C: add using statement for std::distance
3985 * lyxfind.C: add using statement for std::advance
3987 * cursor.C (region): remove std:: from swap
3988 (openable): use nucleus in stead of operator->
3990 * BufferView.C: add using statements for std::distance and std::swap
3992 2004-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3994 * iterators.C: Remove the pimple, move the needed structures to
3995 the header file. Create accessor for the positions stack.
3996 (asPosIterator): remove function
3998 * PosIterator.C (PosIterator): move constructors to top of file
3999 (PosIterator): reimplement the constructor taking a ParIterator in
4001 (setFrom): new function
4002 (operator!=): inline it
4004 2004-01-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4006 * lyxfind.C (replaceAll): use std::advance
4008 * iterators.h: inherit from std::iterator.
4010 * PosIterator.C (advance, distance): remove
4011 * PosIterator.h: interit from std::iterator.
4013 2004-01-26 André Pönitz <poenitz@gmx.net>
4016 * BufferView_pimpl.[Ch]:
4020 * bufferview_funcs.C:
4030 * output_linuxdoc.C:
4031 * output_plaintext.C:
4033 * paragraph_funcs.[Ch]:
4034 * paragraph_pimpl.[Ch]:
4040 * text3.C: more IU: dumps most of the rest of the mathcursor
4041 implementation into cursor.[Ch]; "globalize" a bit of it.
4043 2004-01-25 Angus Leeming <leeming@lyx.org>
4045 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
4047 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4049 * LaTeXFeatures.h: add nice_ and nice() const
4050 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
4052 2004-01-20 André Pönitz <poenitz@gmx.net>
4055 * BufferView_pimpl.C:
4057 * bufferview_funcs.C:
4059 * cursor_slice.[Ch]:
4070 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
4071 LCursor and mathcursor parts to LCursor and InsetBase.
4073 2004-01-15 André Pönitz <poenitz@gmx.net>
4075 * cursor_slice.[Ch]: add a few covienience functions
4077 * funcrequest.[Ch]: remove BufferView * member
4079 * BufferView_pimpl.C:
4086 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
4088 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
4090 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
4091 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
4093 2004-01-13 André Pönitz <poenitz@gmx.net>
4096 * lyxtext.h: hide cursor and selection anchor behind accessor function
4099 * BufferView_pimpl.[Ch]:
4101 * bufferview_funcs.C:
4111 * cursor_slice.[Ch]: some integer type changes for inset unification
4113 * lyxcursor.[hC]: remove, it's CursorSlice now.
4116 * BufferView_pimpl.[Ch]:
4117 * bufferview_funcs.C:
4123 * textcursor.[Ch]: adjust
4125 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
4127 * text2.C (undoSpan): add and use
4128 * text.C (breakParagraph): use undoSpan (fix bug 578)
4131 2004-01-08 Angus Leeming <leeming@lyx.org>
4133 * BufferView_pimpl.C (MenuInsertLyXFile):
4134 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4135 * lyxfunc.C (menuNew, open, doImport):
4136 FileFilterList change to the FileDialog open and save functions.
4138 2004-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
4140 * ShareContainer.h: make isEqual and isUnique adaptable
4142 * CutAndPaste.C: make resetOwnerAndChanges adaptable
4144 2004-01-07 Angus Leeming <leeming@lyx.org>
4147 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
4149 * BufferView_pimpl.C (dispatch): act on these LFUNs.
4151 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
4152 functions replacing find, replace and replaceAll.
4154 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
4155 LFUN_WORDFIND(FORWARD|BACKWARD).
4157 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
4159 * text.C (breakParagraph): remove an outdated #warning
4161 2004-01-07 André Pönitz <poenitz@gmx.net>
4163 * lyxfind.C: somewhat clearer logic
4165 * text.C: prevent crash in cursorX on unitialized row cache
4167 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
4169 * lyxcursor.[Ch] (operator>): add
4170 * textcursor.C (selStart, selEnd): use std::min and std::max
4172 2004-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4174 * Chktex.C: include boost/format.hpp
4176 2004-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
4178 * InsetList.C: replace functor MathcIt with adaptable functor
4180 (insetIterator): modify accordingly
4182 * BranchList.h: move the BranchNamesEqual functor here from...
4183 * BranchList.C: ... to here
4185 * BranchList.C: new BranchListEqual fuctor, use it. Remove
4187 (add): replace a finding loop with std::find_if.
4189 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
4191 * output_docbook.C: moving LatexParam functionality into
4194 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4196 * buffer.C: increment format to 229.
4198 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
4201 * lyx_sty.[Ch]: remove minipageindent_def
4207 * text3.C: remove LFUN_INSET_MINIPAGE
4209 2003-12-28 Angus Leeming <leeming@lyx.org>
4211 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
4213 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
4215 * text2.C (setParagraph): fix off-by-one crash
4217 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
4219 * output_docbook.C: header stuff for AGU
4221 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
4223 * text2.C (redoCursor): remove
4226 * BufferView_pimpl.C: remove calls to redoCursor and
4227 setCursor(cursor.par(), cursor.pos()) all around
4229 2003-12-15 Angus Leeming <leeming@lyx.org>
4231 * buffer.C: up the format to 228.
4233 2003-12-15 André Pönitz <poenitz@gmx.net>
4235 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
4240 * BufferView_pimpl.C:
4249 2003-12-15 Angus Leeming <leeming@lyx.org>
4251 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
4252 than getFromGUIName to manipulate the color.
4254 2003-12-14 Angus Leeming <leeming@lyx.org>
4256 * BranchList.[Ch]: minimize the API.
4257 (Branch::getBranch, getColor): now return a 'const &'.
4258 (Branch::setSelected) now returns a bool set to true if the
4259 selection status changes.
4260 (BranchList::clear, size, getColor, setColor, setSelected,
4261 allBranches, allSelected, separator): removed.
4262 (BranchList::find): new functions, returning the Branch with
4264 (BranchList::add, remove): return a bool indicating that
4265 the operation was successful.
4267 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
4268 new InsetBranch::isBranchSlected member function.
4270 * LColor.[Ch]: mimimize the API.
4271 (fill): renamed as addColor and made private.
4272 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
4273 versions of these functions taking a string arg have been removed.
4275 * bufferparams.C (readToken):
4276 * lyxfunc.C (dispatch):
4277 * lyxrc.C (read): changes due to the altered BranchList and
4280 * factory.C (createInset, readInset): changes due to altered
4283 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4286 * lyxfunc.C: remove insetminipage. "minipage-insert"
4287 now produces a frameless minipage box inset.
4289 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4291 * textcursor.[Ch] (selStart,selEnd): add new methods
4292 remove selection::start, end, use LyXCursor::operator<
4293 * lyxcursor.[Ch] (operator<): add
4294 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
4295 * BufferView.[Ch] (unsetXSel): add
4296 * text2.C (clearSelection): use unsetXSel,adjust
4299 * rowpainter.C: adjust
4300 * bufferview_funcs.C (put_selection_at): adjust
4302 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4304 * BufferView_pimpl.C: small coord. correction
4306 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4308 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
4309 dragging over the splash screen.
4311 2003-12-11 Angus Leeming <leeming@lyx.org>
4313 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
4314 as it is now handled in LyXText::dispatch.
4316 * text3.C (doInsertInset): remove a level of nesting.
4318 2003-12-11 Angus Leeming <leeming@lyx.org>
4320 * factory.C (createInset): changes due to the changed interface to
4321 InsetCommandMailer::string2params.
4323 2003-12-10 Angus Leeming <leeming@lyx.org>
4325 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
4326 'dialog-show-new-inset <inset name>'
4328 2003-12-10 Angus Leeming <leeming@lyx.org>
4330 * buffer.C: up the format to 227.
4332 * factory.C: the box inset is now identified simply by 'Box'.
4334 2003-12-10 Angus Leeming <leeming@lyx.org>
4336 * buffer.C: up the format to 226.
4338 * factory.C: the note inset is now identified simply by 'Note'.
4340 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
4342 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
4343 when a pit is enough. Standarize a couple of loops.
4345 2003-12-05 Angus Leeming <leeming@lyx.org>
4347 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
4348 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
4349 data to the re-worked "log" dialog.
4351 2003-12-03 André Pönitz <poenitz@gmx.net>
4357 * paragraph_funcs.C:
4359 * text2.C: use Inset::getText instead of Inset::getParagraph
4361 2003-12-03 André Pönitz <poenitz@gmx.net>
4365 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
4366 InsetText::read() as LyXText::read()
4368 2003-12-02 Angus Leeming <leeming@lyx.org>
4370 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
4371 type. Add a comment in the implementation that the function uses
4372 the stream's bad() function rather than fail() as the std::streams
4375 2003-12-02 André Pönitz <poenitz@gmx.net>
4377 * lyxlex.[Ch]: make interface more similar to std::stream
4379 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
4381 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
4383 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
4385 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
4387 * vspace.[Ch]: remove VSpace::NONE
4389 2003-12-01 André Pönitz <poenitz@gmx.net>
4392 * lyxtext.h: move ParagraphList member to LyXText
4393 rename LyXText::ownerParagraphs to LyXText::paragraph
4396 * bufferview_funcs.C:
4406 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
4408 * undo.C: fix cursor positioning
4410 2003-12-01 John Levon <levon@movementarian.org>
4412 * BufferView_pimpl.C: fix a crash on exit with
4415 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
4417 * BranchList.C: fix setSelected() method.
4419 2003-11-28 André Pönitz <poenitz@gmx.net>
4421 * ParagraphParameters.[Ch]:
4422 * ParameterStruct.h: remove space above/below from Paragraph to
4425 * BufferView_pimpl.C:
4431 * paragraph_funcs.C:
4437 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
4439 * factory.C: Syntax change for CharStyles
4441 2003-11-28 André Pönitz <poenitz@gmx.net>
4446 * buffer.[Ch]: move LyXText member
4448 2003-11-28 André Pönitz <poenitz@gmx.net>
4450 * BufferView.[Ch]: make LyXText * text a private member
4452 * BufferView_pimpl.C:
4463 * output_plaintext.C: cleanup
4465 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
4468 * lyxtextclass.[Ch]: parametrize SGML document header
4470 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
4473 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4476 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
4478 * text2.C (setFont): rework using PosIterator (no more recursive)
4479 (setCharFont): no more needed
4480 (setLayout): no more selection cursors fiddling (done by redoCursor)
4481 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4482 destroy remaining ones)
4484 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
4486 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4488 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4491 * text3.C: adjust + re-allow multi par depth changes
4492 * textcursor.C: simplify a bit
4494 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
4500 * src/output_docbook.C:
4501 * src/output_latex.C:
4506 * src/text2.C: Introducing a number of tags parametrizing various
4507 XML formats that we may want to support
4509 2003-11-25 André Pönitz <poenitz@gmx.net>
4511 * InsetList.[Ch] (begein, end): inline as suggested by profiler
4513 * lyxtext.h (leftMargin/rightMargin): simplify interface
4520 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4522 * lyxfunc.C (dispatch): propogate the bibtex databases from the
4523 master file to any child files. Fixes bug 546.
4525 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4527 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4529 2003-11-24 André Pönitz <poenitz@gmx.net>
4531 * rowpainter.C: simplification
4533 * text2.C (updateCounters): remove call to redoParagraph on
4534 changed labels as this is far too expensive.
4536 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4538 * converter.C (convert): fix a crash: this function gets
4539 called with buffer == 0 from importer code.
4541 2003-11-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4543 * text3.C (cursorPrevious): make sure that we do not compare
4544 iterators form different containers.
4547 * rowpainter.C (paintSelection): make sure that we do not compare
4548 iterators from different containers.
4550 * text3.C (dispatch): [PRIOR] make sure that we do not compare
4551 iterators from different ParagraphList containers.
4554 * text2.C (LyXText): change order of initialization slightly
4555 (operator=): new function. copy all variables except cache_par_
4556 (moveUp): make sure that we do not compare iterators from
4557 different ParagraphList constainers.
4560 * text.C (firstPar): new function
4561 (lastPar): new function
4562 (endPar): new function
4564 * lyxtext.h: move things around and group public functions, public
4565 variables, private functions, private variables
4567 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
4569 * factory.C: change call to InsetERT constructor to avoid
4570 additional invocation of method status
4571 * text2.C (toggleInset): remove redundant update() call
4572 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4573 instead of a Bufferview pointer
4575 2003-11-21 André Pönitz <poenitz@gmx.net>
4577 * rowpainter.C: simplification
4579 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4581 * text3.C (dispatch): make possible to extend a word/row selection
4584 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4586 * lyxtext.h: x0_,y0_ -> xo_,yo_
4587 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4588 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4589 * rowpainter.C (paintRows): paint full paragraphs
4591 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4593 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4596 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4598 * lyxtext.h: add x0_, y0_
4599 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4600 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4602 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
4604 * text2.C (setCursorIntern): move the x_target update here *
4605 * text3.C: change some bv() to true/false in calls to
4606 cursorUp/Down/Right/Left
4607 * cursor.C: use helper function.
4609 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4611 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4612 * paragraph_funcs.[Ch]: correct comment
4613 * rowpainter.C: do not paint selections away from bv->cursor()
4614 Fix a long standing selection painting bug.
4615 * text3.C: generalize mouse-selection code to LyXTexts other that
4617 * textcursor.C: do not use y coords if we can use par offsets
4619 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4621 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4622 cursor position after e.g. inset insert)
4624 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
4626 * lyxfind.C (replace): adjust to locking removal + some
4629 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
4631 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4634 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
4637 * output_docbook.C: XML sanitation: new layout
4638 parameters InnerTag and CommandDepth
4640 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
4642 * BufferView_pimpl.C:
4644 * text3.C: Fix the insertion and modification of button-style
4647 2003-11-13 André Pönitz <poenitz@gmx.net>
4649 * InsetList.[Ch]: remove deleteLyXText
4651 * paragraph.[Ch]: cache beginOfBody position
4656 * text3.C: remove superfluous update() calls
4660 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
4662 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4663 * BufferView.C (fitLockedInsetCursor): remove
4664 * cursor.[Ch] (getDim): add
4665 * text.C (getRowNearY): add faster version
4666 * text3.C: remove some update calls
4668 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
4680 * text3.C: The Character Style /XML short element patch.
4682 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
4685 * factory.C: Small step to solving 'unable to insert some insets'
4688 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
4690 * cursor.[Ch] (updatePos): new function for updating the y
4691 position of the tip inset
4692 * bufferview_funcs.C (put_selection_at):
4693 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4695 2003-11-11 André Pönitz <poenitz@gmx.net>
4697 * text.C: remove big comment on invalid Paragraph pointers as it is
4700 2003-11-11 André Pönitz <poenitz@gmx.net>
4702 * text_funcs.[Ch]: merge with ...
4710 * Makefile.am: remove text_funcs.[Ch]
4712 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
4714 * cursor.C (getPos): return absolute cached y coord
4716 * BufferView_pimpl.C (fitCursor): new simplistic code
4717 (workAreaDispatch): add a fitCursor call
4719 2003-11-10 André Pönitz <poenitz@gmx.net>
4722 * BufferView_pimpl.[Ch]: merge update() and updateInset()
4724 2003-11-10 André Pönitz <poenitz@gmx.net>
4726 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4727 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4728 indicate that the cursor needs to leave an inset
4730 * lyxtext.h: remove inset locking
4732 * cursor.[Ch]: re-implement functionality provided by inset locking
4735 * BufferView_pimpl.[Ch]:
4737 * bufferview_funcs.[Ch]:
4749 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
4751 * PosIterator.[Ch]: replace the stack with a vector, add inset
4753 * iterators.[C]: adjust
4755 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4757 * lyxfind.C (replaceAll): mark the buffer dirty if something was
4759 * paragraph_funcs.C (readParToken): put the correct id in the
4760 error item, not the id of the top paragraph
4762 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4764 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4765 * bufferview_funcs.C (put_selection_at): use the above
4767 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4769 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4771 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4773 * output_linuxdoc.h:
4774 * output_plaintext.h:
4776 * output_docbook.h: add #include statements
4778 2003-11-05 José Matos <jamatos@lyx.org>
4780 * output_docbook.[Ch]:
4781 * output_latex.[Ch]:
4782 * output_linuxdoc.[Ch]:
4783 * output_plaintext.[Ch]: New files for output formats.
4784 * output.[Ch]: New file for helper functions.
4787 * paragraph_funcs.[Ch]: output functions moved to new files.
4789 * outputparams.h: rename of latexrunparams.h
4797 * paragraph_funcs.[Ch]:
4798 * paragraph_pimpl.[Ch]:
4799 * tabular.[Ch]: rename ascii to plaintext
4800 and LatexRunParams to OutputParams.
4802 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4804 * iterators.[Ch] (text): require bv argument
4805 * undo.C (recordUndo):
4806 * lyxfunc.C (dispatch):
4807 * bufferview_funcs.C (put_selection_at): adjust
4809 2003-11-05 Jo� Luis M. Assirati <assirati@fma.if.usp.br>
4811 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4813 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4815 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4818 2003-11-04 André Pönitz <poenitz@gmx.net>
4820 * cursor.[Ch]: restructure
4823 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4825 * iterators.[Ch] (asCursor): remove
4827 * lfuns.h: remove LFUN_INSET_EDIT
4833 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4835 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4837 * lyxfind.[Ch]: complete overhaul
4838 * BufferView_pimpl.C:
4840 * paragraph.[Ch] (insert): add
4842 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4846 * text.C: remove dead spellcheck code
4848 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4850 * dispatchresult.h: add a val setter
4852 * cursor.C (dispatch): use a tempvar for data_[i]
4854 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4856 * PosIterator.[Ch]: compile fix
4858 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4860 * text.C (cursorPar): deactivate the cursor cache
4862 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4864 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4866 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4868 * text3.C (dispatch): adjust for new DisptchResult semantics.
4870 * lyxfunc.C (dispatch): handle update when return from
4871 Cursor::dispatch, adjust for new DispatchResult semantics.
4873 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4874 DispatchResult(true) mean to not update. Add class functions for
4875 setting dispatched and update, as well as reading.
4877 * cursor.C (dispatch): don't handle update here
4879 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4881 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4882 * trans_mgr.C: adjust
4884 * paragraph_funcs.C (readParToken): exception safety
4886 * lyxvc.h: store the vcs pointer in a scoped_ptr
4889 * lyxsocket.C (serverCallback): exception safety
4891 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4893 * ispell.C (clone): make it return a auto_ptr
4895 * factory.C (createInset): exception safety
4896 (readInset): exception safety
4898 * bufferlist.C (newBuffer): exception safety
4900 * Thesaurus.C (Thesaurus): use initialization for aik_
4902 * MenuBackend.C (expandToc): exception safety.
4904 2003-11-03 André Pönitz <poenitz@gmx.net>
4908 * bufferview_funcs.C: remove getInsetFromId()
4911 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4917 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4919 * PosIterator.C (distance, advance): new
4920 * bufferview_funcs.[Ch] (put_selection_at): new
4921 * iterators.[Ch] (lockPath): new
4923 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
4925 * iterators.[Ch] (asPosIterator): added
4926 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4927 * PosIterator.[Ch]: added
4929 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4933 * cursor.C (dispatch):
4934 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4936 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4937 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4938 contructor, add a class function dispatched. Remove operator>=
4940 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4942 * debug.C: only use the default constructor for debugstream
4945 * main.C (main): include debug.h and setup the lyxerr streambuf
4948 2003-10-31 José Matos <jamatos@lyx.org>
4950 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4952 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4953 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4954 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4955 * paragraph_pimpl.C (simpleTeXSpecialC):
4956 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4957 add LatexRunParams argument.
4959 * exporter.C (Export): change call accordingly.
4961 * latexrunparams.h: add new member to take care of the other backends.
4962 2003-10-30 José Matos <jamatos@lyx.org>
4964 * buffer.C (makeLinuxDocFile, makeDocBookFile):
4965 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4966 factorise code for paragraph output.
4968 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4971 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4973 * text3.C (dispatch):
4974 * lyxfunc.C (dispatch):
4975 * cursor.C (dispatch):
4976 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4978 * dispatchresult.h: make the dispatch_result_t ctor explicit
4980 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
4983 * buffer.C: small refactoring of docbook stuff
4985 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4987 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4990 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4992 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4993 operator dispatch_result_t, and operators for == != and >=
4995 * cursor.C (dispatch): adjust for operator dispatch_result_t
4996 removal. comment out call to update
4998 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
5000 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5008 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
5011 * dispatchresult.h: new file, DispatchResult broken out of
5014 * Makefile.am (lyx_SOURCES): add dispatchresult.h
5016 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
5018 * text.C (rowBreakPoint): put a hack inside #if 0
5020 2003-10-28 André Pönitz <poenitz@gmx.net>
5024 * paragraph_funcs.C:
5027 * text2.C: general cleanup (lots of small stuff)
5029 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
5031 * text2.C (cursorEnd): simple fix to the "end key goes to one
5032 before the end on last row" bug
5034 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5036 * text.C (backspace): fix the "zombie characters"
5038 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5040 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
5042 2003-10-27 André Pönitz <poenitz@gmx.net>
5044 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
5046 * factory.C: handle new InsetPagebreak, InsetLine
5048 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
5049 and move handling into new InsetPagebreak, InsetLine
5051 * BufferView_pimpl.C:
5053 * ParagraphParameters.C:
5054 * ParameterStruct.h:
5059 * paragraph_funcs.C:
5060 * paragraph_pimpl.C:
5066 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5069 * lyxrow_funcs.[Ch]:
5075 * text3.C: remove lastPos uses in favour of Row::endpos
5077 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5079 * undo.C (performUndoOrRedo): fix two crashes by setting a
5080 cursor by hand and reordering some calls. Use bv->lockInset instead
5081 of inset->edit because the latter loses cursor information
5083 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
5085 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
5087 (rowBreakPoint): fix width. change point to point + 1.
5088 Add a missing check.
5090 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
5093 * lyxfunc.C: fix (at least partly) the problems
5094 with the Nav menu and headers inside branch insets
5097 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
5099 * paragraph.C (getChar): add strong asserts
5101 * lyxrow_funcs.C (lastPos): remove hideous hack
5103 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
5104 (fill): adjust to that (avoid an infinite loop)
5106 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
5108 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
5110 2003-10-23 André Pönitz <poenitz@gmx.net>
5112 * RowList_fwd.h: change list<> to vector<> to gain speed
5113 after suggestion from Alfredo
5115 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
5117 * lyxtext.h: move the bidi stuff from here...
5120 * Bidi.[Ch]: ... to here
5122 2003-10-23 André Pönitz <poenitz@gmx.net>
5125 * text.C (isLastRow, isFirstRow): new functions
5127 * paragraph.h: new width cache member
5129 * rowpainter.C: replace RowList::iterator with Row & where possible
5131 * lyxfunc.C: replace several view()->text with a single call
5133 * toc.C: fix 'unused' warning
5135 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5137 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
5138 when woring with stream::pos_type
5139 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
5141 2003-10-22 André Pönitz <poenitz@gmx.net>
5144 * text.C: use Row & instead of RowList::iterator
5146 * lyxrow.h: rename end() to endpos()
5152 2003-10-22 Angus Leeming <leeming@lyx.org>
5154 * buffer.[Ch] (fully_loaded): new member function, returning true
5155 only when the file has been loaded fully.
5156 Used to prevent the premature generation of previews and by the
5157 citation inset to prevent computation of the natbib-style label.
5159 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
5160 templates are all set up.
5162 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
5164 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
5166 * text.C: fixed an "oops" in the "is a bit silly"
5169 2003-10-21 André Pönitz <poenitz@gmx.net>
5171 * FuncStatus.[Ch]: small stuff, whitespace
5173 * lyxfont.[Ch]: operator<<() for debug reasons
5177 * lyxtext.h: whitespace, spelling
5179 * paragraph.C: naming of variables
5182 * text2.C: small stuff
5185 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
5187 * text.C: (1) finish off the inset display() work;
5188 (2) fix the "is a bit silly" bug (accessing char
5191 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
5193 * text.C: re-introduce display() for insets, fixing the
5194 various bugs (stretch of line above, math inset
5197 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5199 * text.C (rightMargin): remove spurious semicolon
5201 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
5204 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
5206 * text3.C: fix one crash due to wrong cursor def
5208 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5210 * vc-backend.C (scanMaster): make the regex static
5212 * LaTeX.C (scanAuxFile): make the regexs static
5214 * text3.C (doInsertInset, dispatch, dispatch):
5215 * text2.C (cursorUp, cursorDown):
5216 * text.C (selectNextWordToSpellcheck):
5217 * BufferView_pimpl.C (dispatch):
5218 * lyxfunc.C (dispatch): localDispatch -> dispatch
5220 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5222 * lyxsocket.C: include <cerrno>
5224 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5226 * lyxfunc.C (dispatch): remove textcache stuff
5228 * bufferlist.C (release): remove textcache stuff
5231 * TextCache.C: delete file
5232 * TextCache.h: delete file
5234 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
5236 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
5237 delete of the bv_->text.
5238 (resizeCurrentBuffer): remove texcache stuff
5239 (workAreaResize): ditto
5241 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5243 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
5246 2003-10-16 André Pönitz <poenitz@gmx.net>
5253 * text3.C: speed up by storing y positions per paragraph plus per-row
5254 offset instead of having a 'full' y position in the row.
5256 2003-10-15 André Pönitz <poenitz@gmx.net>
5260 * undo.[Ch]: make undo aware of inner insets
5262 2003-10-14 Angus Leeming <leeming@lyx.org>
5264 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
5265 static member functions LyX::ref() and LyX::cref.
5266 (lastfiles): new accessor functions for the new lastfiles_ member var.
5267 (addLyXView, views_): add a new LyXView to the list of views_.
5268 (updateInset): loop over all LyXViews to call their own updateInset
5269 member function, returning a pointer to the Buffer owning the inset.
5271 * BufferView_pimpl.C (loadLyXFile):
5272 * MenuBackend.C (expandLastfiles):
5273 * bufferlist.C (MenuWrite, QuitLyX):
5274 lastfiles is no longer a global variable.
5275 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
5277 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
5278 static function. Access through LyX::cref().emergencyCleanup().
5280 2003-10-14 André Pönitz <poenitz@gmx.net>
5282 * iterators.[Ch]: new direct access to innermost LyXText and Inset
5284 * undo.[Ch]: restoring part of 'undo in insets'
5287 * undo_funcs.[Ch]: merge with undo.[Ch]
5289 * tabular.C: small cleansing stuff
5291 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
5293 * paragraph_funcs.C (readParToken): report unknown insets as error
5294 boxes. Use the outer paragraph as location (also for unknown
5297 * factory.C (readInset): do not abort on reading an unknown inset.
5298 Eat it and return 0.
5300 2003-10-13 Angus Leeming <leeming@lyx.org>
5302 * lyx_main.C (LyX): remove call to setDisplayTranslator().
5304 * lyxrc.C: displayTranslator is now a function,
5305 declared in GraphicsTypes.h.
5307 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5309 * format.C: new placeholder $$a to pass the socket address.
5311 * bufferlist.[Ch]: new function getBufferFromTmp.
5313 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
5314 files in the temporary dir.
5316 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5318 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
5320 * Makefile.am: add lyxsocket.[Ch].
5322 * lyx_main.C (error_handler): handle SIGPIPE.
5324 2003-10-13 André Pönitz <poenitz@gmx.net>
5326 * BufferView_pimpl.C:
5331 * undo_funcs.[Ch]: use paroffset_type instead of
5332 ParagraphList::iterators to prevent multiple conversion
5333 (and get a more robust interface)
5335 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5337 * lyxfunc.C (dispatch): RESULT -> dispatch_result
5339 * text3.C (dispatch): ditto
5341 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5343 * LaTeX.C (handleFoundFile): move the static to smaller scope,
5344 move the onlyfile, use onlyfile instead of foundfile in a couple
5347 * DepTable.C (update): flush the error stream a bit more
5349 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5351 * lyxserver.C (callback): adjust
5353 * lyxfunc.C (getStatus): add a missing brace in commented code
5354 (ensureBufferClean): reindent
5355 (dispatch): delete version taking a string
5357 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5359 * LaTeX.C (deplog): move found file handlig from here...
5360 (handleFoundFile): .. to new function here.
5361 (deplog): make sure to discover several files mentioned on the
5364 2003-10-10 André Pönitz <poenitz@gmx.net>
5371 * text3.C: fix some of the tabular crashes
5373 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5375 * MenuBackend.C (binding): put debug message into Debug::KBMAP
5377 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
5379 2003-10-09 André Pönitz <poenitz@gmx.net>
5381 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
5384 * BufferView_pimpl.C:
5385 * bufferview_funcs.C:
5396 * undo_funcs.C: adjust
5398 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5400 * text2.C (incrementItemDepth): new function, use a backtracking
5401 algorithm to discover the correct item depth.
5402 (resetEnumCounterIfNeeded): new function, use a backtracking
5403 algorithm to discover if counter reset is needed.
5404 (setCounter): use them. Simplify a bit. Add different labels for
5405 different item depths for itemize.
5407 * paragraph.C (Paragraph): remove initialization of enumdepth
5410 * paragraph.h: get rid of enumdepth, and use itemdepth both for
5411 enumerate and itemize. Change the type of itemdepth to signed char.
5413 2003-10-08 André Pönitz <poenitz@gmx.net>
5415 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5420 * tabular.[Ch]: fix crash after 'row-insert'
5422 2003-10-08 Angus Leeming <leeming@lyx.org>
5424 Fix doxygen warnings.
5426 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5427 Remove CutAndPaste:: prefix from header file declaration.
5429 * LColor.h (fill): remove LColor:: prefix from declaration.
5431 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5432 use lyx::depth_type rather than Paragraph::depth_type so that
5433 header file and .C file match.
5435 * converter.h (intToFormat): remove Converters:: prefix from declaration.
5437 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5438 * aspell.C: \file aspell_local.C -> \file aspell.C
5439 * gettext.C: \file gettext.C -> \file src/gettext.C
5440 * gettext.h: \file gettext.h -> \file src/gettext.h
5441 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5442 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5443 * text.C: \file text.C -> \file src/text.C
5445 * toc.C: move comment so that doxygen is not confused.
5447 2003-10-07 Angus Leeming <leeming@lyx.org>
5449 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5451 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5454 * aspell_local.h: add forgotten std::string's.
5456 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
5463 * text3.C: The Box patch. Fancybox support, minipage, parbox
5465 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
5471 * ParagraphParameters.h:
5481 * lyxtextclasslist.h:
5484 * paragraph_pimpl.C:
5485 * textcursor.h: add <string> and other small fixes to make Lars'
5486 std::string patch compile with STLport.
5488 2003-10-06 Angus Leeming <leeming@lyx.org>
5490 * LColor.h: Add missing #include <string>.
5492 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5494 * All most all file in all subdirs: Make <string> be the prefered
5495 way of getting to std::string, add using declarations.
5497 2003-10-06 André Pönitz <poenitz@gmx.net>
5499 * metricsinfo.C: initialize LyXFont before changing attribute.
5500 (fixes the 'math in \emph is upright' bug)
5502 2003-10-06 André Pönitz <poenitz@gmx.net>
5504 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5506 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
5509 * paragraph_pimpl.C: Small fixes to build using STLport
5511 2003-10-02 André Pönitz <poenitz@gmx.net>
5514 * text3.C: move handling of LFUN_DEPTH *; fix #1360
5516 2003-10-01 André Pönitz <poenitz@gmx.net>
5518 * factory.C: assert early
5520 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5522 * lyx_main.C: remove the global debug object
5524 * debug.h: adjust for new debugstream
5526 * debug.C: adjust for new debugstream and keep the global debug
5529 2003-09-22 Angus Leeming <leeming@lyx.org>
5531 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5532 of g++ which otherwise complain that the scoped_ptr destructor can't delete
5533 an incomplete class LyXFont.
5535 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
5537 * factory.C: bug fix in branches
5539 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5541 * lyxfunc.C (processKeySym): adjust
5543 (dispatch): change arg name from ev to func, adjust
5544 (sendDispatchMessage): ditto
5546 * lyx_main.C (defaultKeyBindings): adjust keybindings
5547 (deadKeyBindings): ditto
5549 * kbsequence.C (addkey): return a FuncRequest
5551 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5553 * kbmap.C (bind): take a FuncRequest as arg, adjust
5556 (defkey): change to take a FuncRequest as arg, adjust
5557 (findbinding): take a FuncRequest as arg, adjust.
5559 * funcrequest.h (operator=): added
5561 * funcrequest.C (FuncRequest): default kb_action changed from
5562 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5564 * buffer.C (dispatch): simplify
5565 (dispatch): adjust to take a FuncRequest as arg, adjust
5567 * boost.C (assertion_failed): change assertion message slightly
5569 * ToolbarBackend.C (read): simplify
5571 * MenuBackend.C (binding): adjust call to findbinding, add a
5572 message if no binding is found.
5574 (expandToc): correct by adding a empty FuncRequest
5576 * LyXAction.C: include <boost/assert.hpp>
5577 (isPseudoAction): delete function
5578 (LookupFunc): change name to...
5579 (lookupFunc): this. change return type to FuncRequest.
5580 (getActionName): take kb_action as arg, simplify
5581 (funcHasFlag): add an assert, simplify.
5583 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5585 * toc.C (action): return a FuncRequest, simplify
5587 * lyxfunc.C (processKeySym): adjust
5588 (getStatus): delete version that takes an int.
5590 (dispatch): delete version that takes action as int
5592 (sendDispatchMessage): simplify and adjust
5594 * funcrequest.C (getArg): take unsigned int as arg
5596 * ToolbarBackend.C (read): adjust
5597 (add): delete version that takes func as a string.
5598 (getIton): take a FuncRequest as arg
5600 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5603 * MenuBackend.C (MenuItem): add a new construct that only takes a
5604 Kind, simplify the constructor use for submenus.
5606 (expandLastfiles): adjust
5607 (expandDocuments): adjust
5608 (expandFormats): adjust
5609 (expandFloatListInsert): adjust
5610 (expandFloatInsert): adjust
5611 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5613 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5614 Remove class variables lyx_pseudo_map and lyx_arg_map
5616 * LyXAction.C (searchActionArg): delete function
5617 (getPseudoAction): delete function
5618 (retrieveActionArg): delete function
5619 (LookupFunc): make it return kb_action, simplify.
5620 (getActionName): simplify
5622 * factory.C (createInset): fix new bug
5624 2003-09-19 Angus Leeming <leeming@lyx.org>
5626 * CutAndPaste.C (pasteSelection): remove fudge used to set the
5627 masterFilename_ parameter in the include inset.
5629 * factory.C (createInset): changes due to the changes to InsetInclude.
5631 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5633 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5635 2003-09-18 Angus Leeming <leeming@lyx.org>
5638 * BufferView.C: pass the buffer when calling Inset::getLabelList,
5639 Inset::fillWithBibKeys.
5640 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5642 2003-09-18 Angus Leeming <leeming@lyx.org>
5644 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5646 (ctor): pass and store a 'Buffer const &'
5647 (buffer): new member function.
5649 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5650 '*this' to the LaTeXFeatures ctor.
5652 2003-09-18 Angus Leeming <leeming@lyx.org>
5658 * text.C: rename EnumLColor as LColor_color.
5660 2003-09-18 Angus Leeming <leeming@lyx.org>
5662 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5663 remove #include "insets/insetbase.h" from cursor.h.
5665 2003-09-18 Angus Leeming <leeming@lyx.org>
5667 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5668 InsetOld_code to remove #include "inset.h".
5670 * iterators.C: add #include "insets/inset.h"
5672 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
5674 * BufferView.C: remove more locking stuff that apparently doesn't
5675 do anything sensible.
5677 2003-09-16 André Pönitz <poenitz@gmx.net>
5680 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5683 2003-09-16 Angus Leeming <leeming@lyx.org>
5685 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5687 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5690 * paragraph.h: remove #include "lyxfont.h". Forward declare
5693 2003-09-16 Angus Leeming <leeming@lyx.org>
5695 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5696 of support/textutils.h.
5697 (isWord): move the contents of support/textutils.h's IsWordChar here.
5703 * text2.C: add #include "paragraph.h".
5706 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5708 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5714 * LaTeX.C: use namespace alias for lyx::support::os
5716 2003-09-16 Angus Leeming <leeming@lyx.org>
5719 * bufferview_funcs.C:
5722 * paragraph_pimpl.C:
5724 * text.C: add #include "LColor.h".
5726 2003-09-16 Angus Leeming <leeming@lyx.org>
5728 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5729 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5731 Store the FontBits::color variable as an int rather than as an
5732 LColor::colorso that we can move LColor.h out of the lyxfont.h header
5735 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5736 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5737 string calls together.
5739 * lyxrc.C: add #include "LColor.h".
5741 2003-09-15 Angus Leeming <leeming@lyx.org>
5743 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5746 2003-09-15 Angus Leeming <leeming@lyx.org>
5748 * LColor.h: add an EnumLColor wrapper for LColor::color.
5750 * lyxfont.[Ch] (color, setColor, realColor):
5751 * lyxtext.h, text.C (backgroundColor):
5752 pass EnumLColor args to/from the functions, rather than LColor::color
5756 * lyxtext.h: forward declare EnumLColor.
5758 * lyx_main.C: add #include "LColor.h".
5760 2003-09-15 Angus Leeming <leeming@lyx.org>
5762 * .cvsignore: add lyx-gtk.
5764 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5769 * ParagraphParameters.C
5773 * bufferview_funcs.C
5783 * vc-backend.C: remove usage of STRCONV
5785 2003-09-15 Angus Leeming <leeming@lyx.org>
5787 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5788 explicitly define the color passed to the painter.
5790 2003-09-15 Angus Leeming <leeming@lyx.org>
5792 * bufferparams.C (BufferParams): reorder member initializers to avoid
5795 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
5797 * CutAndPaste.C (pasteSelection): remove an outdated #warning
5798 * text.C (updateRowPositions): remove an unusual nop
5800 2003-09-12 André Pönitz <poenitz@gmx.net>
5802 * BufferView_pimpl.C:
5811 * Counters.[Ch]: finish the 'automatic counters' job
5813 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5815 * aspell.C: include <boost/assert.cpp> (compile fix)
5817 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
5819 * boost.C (assertion_failed): use lyx::support::abort instead of
5822 2003-09-10 Angus Leeming <leeming@lyx.org>
5824 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5825 with their _fwd progeny.
5827 2003-09-09 Angus Leeming <leeming@lyx.org>
5829 134 files throughtout the source tree: replace 'using namespace abc;'
5830 directives with the appropriate 'using abc::xyz;' declarations.
5832 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5834 * boost.C (emergencyCleanup): moved here from LAssert.c
5835 (assertion_failed): new function, called by BOOST_ASSERT
5837 * several files: change Assert to BOOST_ASSERT
5839 2003-09-09 Angus Leeming <leeming@lyx.org>
5841 * buffer.[Ch]: Add an Impl class and move Buffer's member
5842 variables into it. As a result move several header files out of
5845 Add header files to lots of .C files all over the tree as a result.
5847 2003-09-09 Angus Leeming <leeming@lyx.org>
5849 * buffer.[Ch]: make Buffer's member variables private. Add
5852 Lots of changes all over the tree as a result.
5854 2003-09-08 Angus Leeming <leeming@lyx.org>
5856 * graph.C: #include <config.h>.
5858 2003-09-08 Angus Leeming <leeming@lyx.org>
5862 * BufferView_pimpl.C:
5891 * toc.C: remove redundant using directives.
5893 2003-09-07 Angus Leeming <leeming@lyx.org>
5895 * LaTeXFeatures.h: remove #include "support/types.h".
5896 * ToolbarBackend.h: remove #include <algorithm>.
5897 * changes.h: remove #include <ctime>.
5898 * debug.h: remove #include <iosfwd>.
5899 * graph.h: remove #include "support/std_string.h".
5900 * lyx_main.h: remove #include <csignal>.
5901 * lyxlex_pimpl.h: remove #include <fstream>.
5902 * sgml.h: remove #include <algorithm>, <utility>.
5903 * toc.h: remove #include "support/std_ostream.h".
5904 Add #include <iosfwd>.
5906 2003-09-07 Angus Leeming <leeming@lyx.org>
5908 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5910 * converter.h: forward declare LatexRunParams.
5911 * encoding.h: remove #include "lyxrc.h".
5912 * lyxtext.h: remove #include "LColor.h".
5913 * lyxtextclass.h: remove #include "support/types.h".
5914 * trans.h: remove #include "tex-accent.h".
5915 * trans_mgr.h: remove #include "tex-accent.h".
5916 * insets/inset.h: remove #include "support/types.h", <vector>.
5917 * insets/insetcollapsable.h: remove #include "LColor.h".
5918 * insets/insetinclude.h: remove #include "dimension.h".
5919 * insets/insetlatexaccent.h: remove #include "dimension.h".
5920 * insets/insetoptarg.h:: remove #include "insettext.h".
5921 * insets/insettext.h: remove #include "dimension.h",
5922 <boost/shared_ptr.hpp>
5924 * insets/renderers.h: add #include "dimension.h".
5925 * insets/updatableinset.h: add #include "support/types.h".
5927 * many .C files: Associated changes.
5929 2003-09-06 Angus Leeming <leeming@lyx.org>
5931 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5932 one, inside testInvariant.
5934 * PrinterParams.C: new file.
5935 * PrinterParams.[Ch]: move the function bodies out of line.
5937 2003-09-06 Angus Leeming <leeming@lyx.org>
5939 * ParagraphParameters.h: forward declare ParameterStruct rather than
5940 including its header file.
5941 (depth): moved out-of-line.
5943 2003-09-06 Angus Leeming <leeming@lyx.org>
5945 * BufferView_pimpl.h:
5948 * lyxfunc.h: forward declare LyXKeySym rather than
5949 #include "frontends/LyXKeySym.h".
5951 * BufferView_pimpl.C:
5954 * lyxfunc.C: associated changes.
5956 2003-09-06 Angus Leeming <leeming@lyx.org>
5958 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5959 As a result, can remove the #include "insets/inset.h" from BufferView.h
5961 2003-09-06 Angus Leeming <leeming@lyx.org>
5963 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5964 As a result, can remove the #include "insets/inset.h" from BufferView.h
5966 2003-09-06 Angus Leeming <leeming@lyx.org>
5972 * bufferview_funcs.C:
5973 * BufferView_pimpl.C:
5978 * ParagraphParameters.C:
5983 * frontends/controllers/ControlDocument.C:
5984 * insets/insetcaption.C: rearrange the #includes into some sort of
5987 * buffer.h: remove #includes ErrorList.h, undo.h
5989 2003-09-06 Angus Leeming <leeming@lyx.org>
5991 * support/types.h: add a 'depth_type' typedef, used to store the
5992 nesting depth of a paragraph.
5995 * ParameterStruct.h: use this lyx::depth_type typedef rather than
5996 defining explicitly.
5999 * paragraph_funcs.h:
6000 * ParagraphParameters.h:
6001 * sgml.h: use lyx::depth_type rather than Paragraph or
6002 ParameterStruct's depth_type.
6005 * paragraph_funcs.h: no need to #include paragraph.h anymore.
6008 * BufferView_pimpl.C:
6010 * ParagraphParameters.C:
6013 * bufferview_funcs.C:
6020 * frontends/LyXView.C:
6021 * frontends/controllers/ControlDocument.C:
6022 * frontends/controllers/ControlErrorList.C:
6023 * insets/insetbibitem.C:
6024 * insets/insetbranch.C:
6025 * insets/insetcaption.C:
6026 * insets/insetcollapsable.C:
6027 * insets/insetenv.C:
6028 * insets/insetert.C:
6029 * insets/insetfloat.C:
6030 * insets/insetfoot.C:
6031 * insets/insetfootlike.C:
6032 * insets/insetnewline.C:
6033 * insets/insetquotes.C:
6034 * insets/insettabular.C:
6035 * insets/insettext.C:
6036 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
6038 * frontends/controllers/ControlChanges.C: #include "changes.h".
6040 2003-09-06 Angus Leeming <leeming@lyx.org>
6042 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
6043 than #including paragraph.h.
6046 * RowList.h: deleted. Superfluous.
6056 * insets/insettext.h: use ParagraphList_fwd.h rather than
6059 * paragraph.h: don't forward declare ParagraphList.
6062 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
6063 rather than ParagraphList.h. paragraph.h is still needed for the
6064 Paragraph::depth_type parameters.
6066 * textcursor.h: enable it to compile stand-alone in light of the
6069 * bufferview_funcs.C:
6081 * frontends/controllers/ControlParagraph.C:
6082 * frontends/controllers/ControlTabular.C:
6083 * insets/insetmarginal.C:
6084 * insets/insetminipage.C:
6085 * insets/insetnote.C:
6086 * insets/insetoptarg.C: add header files needed to compile again.
6088 2003-09-06 Angus Leeming <leeming@lyx.org>
6090 * RowList_fwd.h: new file, forward-declaring Row rather than
6091 #including lyxrow.h.
6096 * insets/insettext.h: use it instead of RowList.h
6098 * bufferview_funcs.C:
6105 * text3.C: #include "RowList.h".
6107 2003-09-05 Angus Leeming <leeming@lyx.org>
6109 * factory.C (createInset):
6110 * vspace.C (c-tor): replace sscanf call with an istringstream.
6111 * ispell.C: re-add missing HP/UX headers.
6112 * lyxserver.C: re-add missing os2 headers.
6114 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
6123 * text3.C: re-add missing system headers, needed for 2.95.2.
6125 2003-09-05 Angus Leeming <leeming@lyx.org>
6127 Changes most place everywhere due to the removal of using directives
6128 from support/std_sstream.h.
6130 2003-09-05 Angus Leeming <leeming@lyx.org>
6132 Replace LString.h with support/std_string.h,
6133 Lsstream.h with support/std_sstream.h,
6134 support/LIstream.h with support/std_istream.h,
6135 support/LOstream.h with support/std_ostream.h.
6137 Changes resulting throughout the tree.
6139 2003-09-05 Angus Leeming <leeming@lyx.org>
6141 * sgml.h: ensure that the header file can be compiled stand-alone.
6142 * *.C: strip out redundant #includes. (320 in total.)
6144 2003-09-04 Angus Leeming <leeming@lyx.org>
6146 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
6147 here (from getPackages).
6149 * debug.[Ch]: add a new EXTERNAL tag.
6151 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6153 * text2.C (cursorEnd): simplify
6155 (getColumnNearX): adjust
6157 * text.C (computeBidiTables): adjust
6160 * rowpainter.C (paintChars): adjust
6161 (paintSelection): adjust
6162 (paintChangeBar): adjust
6165 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
6167 (numberOfSeparators): adjust
6169 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
6175 * text3.C: Restricts the mouse click functionality
6176 of insets like bibtex, include, toc and floatlist to the visible
6177 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
6178 up the dialogs. Cursor has to be in front of the inset (i.e.
6179 start of row) for this to function.
6181 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6183 * bufferview_funcs.C (currentState): output row information
6185 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6187 * bufferview_funcs.C (currentState): output paragraph position
6189 2003-09-04 Angus Leeming <leeming@lyx.org>
6191 * FloatList.h: move out #include "Floating.h".
6192 * LaTeX.h: move out #include "DepTable.h".
6193 * LyXAction.h: move out #include "funcrequest.h".
6194 * buffer.h: move out #include "author.h", "iterators.h".
6195 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
6196 * lyx_main.h: move out #include "errorlist.h".
6197 * lyxfunc.h: move out #include "FuncStatus.h".
6198 * lyxtext: move out #include "lyxcursor.h".
6199 * paragraph_pimpl.h: move out #include "counters.h".
6201 2003-09-03 Angus Leeming <leeming@lyx.org>
6203 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
6204 preamble_snippets list, enabling us to add snippets to the preamble
6205 only if the snippet was not there already.
6207 2003-09-04 Angus Leeming <leeming@lyx.org>
6209 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
6211 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6213 * lyxfunc.C (dispatch): if fitCursor did something be sure to
6216 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
6218 * BranchList.C: point fix, earlier forgotten
6220 2003-09-02 Angus Leeming <leeming@lyx.org>
6222 * box.C (contains): renamed from 'contained' after a fantastic
6225 2003-09-02 John Levon <levon@movementarian.org>
6231 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
6233 2003-09-02 John Levon <levon@movementarian.org>
6235 * text2.C: simplification of cursorEnd(), including partial
6238 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6240 * buffer.C (readFile): add a space
6242 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
6244 * BufferView_pimpl.C (update): remove bogus fitCursor() call
6246 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6248 * buffer.C (readFile): new function, take a filename and a
6249 ParagraphList::iterator
6251 (readFile): adjust, make it private. don't use setStream, make
6252 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
6253 always contain the filename.
6255 * BufferView.C (insertLyXFile): simplify and make it work for
6258 2003-08-30 John Levon <levon@movementarian.org>
6260 * Makefile.am: fix dist (from Kayvan)
6262 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6264 * most files: change to use const Buffer refs
6266 2003-08-27 André Pönitz <poenitz@gmx.net>
6268 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
6269 on top of ownerPar().
6271 2003-08-27 John Levon <levon@movementarian.org>
6273 * funcrequest.C: properly initialise POD members
6275 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
6277 * lyxtext.h (top_y): move top_y from here
6282 * BufferView_pimpl.[Ch]: to here
6283 * frontends/screen.C:
6284 * insets/insettabular.C:
6285 * insets/insettext.C: adjust
6286 * rowpainter.[Ch] (paintRows): remove LyXText & argument
6288 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
6291 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
6293 2003-08-26 André Pönitz <poenitz@gmx.net>
6295 * paragraph_func.[Ch] (outerPar): new function
6298 * paragraph_funcs.C:
6299 * paragraph_funcs.h:
6300 * paragraph_pimpl.C:
6301 * text2.C: remove Inset::par_owner
6303 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
6308 * text2.C: eliminates the needFullRow/display() stuff
6309 altogether, putting the logic in metrics/draw in the insets.
6311 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
6313 * text2.C (redoParagraphInternal, redoParagraphs):
6314 * text.C (redoParagraph): add a call to updateRowPositions at the
6315 end of each 'metrics-like' call. Remove all others.
6316 (getRow): remove the 'y-computing' version.
6317 (getRowNearY): do not compute nor return the real y. Solve the
6318 'y < 0' problem and simplify.
6320 2003-08-22 Angus Leeming <leeming@lyx.org>
6322 * *.[Ch]: clean-up of licence and author blurbs.
6323 Also move config.h out of a few .h files and into a few .C files.
6325 2003-08-22 André Pönitz <poenitz@gmx.net>
6327 * lyxrow.[Ch]: add x_ and *fill_ members
6332 * text2.C: adjust/remove prepareToPrint() calls
6334 2003-08-22 André Pönitz <poenitz@gmx.net>
6336 * lyxrow.[Ch]: add end_ member
6338 * lyxrow_funcs.C: use LyXRow::end_
6340 * lyxtext.h (singleWidth): add LyXFont parameter
6343 * text2.C: adjust LyXText::singleWidth() calls
6345 * text.C (redoParagraph): simplify row breaking logic
6348 2003-08-19 André Pönitz <poenitz@gmx.net>
6350 * funcrequest.C: initialize button_ member
6353 * rowpainter.[Ch]: interface consolidation
6355 2003-08-18 André Pönitz <poenitz@gmx.net>
6358 * BufferView_pimpl.C:
6360 * paragraph_funcs.C:
6362 * text3.C: remove LyXScreen::draw() and fitCursor calls
6364 * BranchList.h: remove spurious semicolons
6366 * MenuBackend.C: fix branchlist related crash
6368 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
6376 * bufferparams.[Ch]:
6380 * text3.C: implements the 'branch inset'
6381 idea. This allows the output of various versions of a document
6382 from a single source version, selectively outputing or suppressing
6383 output of parts of the text.
6384 This implementation contains a 'branch list editor' in a separate
6385 tab of the document settings dialog. Branches are user definable
6386 and have a "display colour" to distinguish them on-screen.
6388 ColorHandler was somewhat cleaned up.
6389 (1) make possible a dynamically growing LColor list by allowing
6390 the graphic context cache to grow along (vector);
6391 (2) eliminate an IMHO unnecessary step in colour allocation.
6393 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
6395 * BufferView_pimpl.C: compile fix
6397 2003-08-15 André Pönitz <poenitz@gmx.net>
6399 * rowpainter.C: remove extra metrics calls
6401 * lyxtext.h: merge the two constructors into a single one,
6402 pass reference to owner's par list
6404 * BufferView_pimpl.C:
6408 2003-08-15 André Pönitz <poenitz@gmx.net>
6410 * lyxrow_funcs.[Ch]:
6413 * paragraph_funcs.C:
6418 * text_funcs.C: split LyXText::rowlist_ into individual
6419 Paragraph::rows_ chunks
6422 * BufferView_pimpl.[Ch]:
6425 * text3.C: remove toggleSelection()
6427 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
6429 * bufferlist.C: beautify two alerts (shorter text of buttons)
6430 * buffer.C: Remove redundant ' ' from message
6432 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6433 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6434 rename VALIGN_CENTER to VALIGN_MIDDLE
6436 2003-08-11 André Pönitz <poenitz@gmx.net>
6438 * lyxtext.h (getPar):
6439 * text.C: new function
6441 2003-08-11 André Pönitz <poenitz@gmx.net>
6444 * tracer.[Ch]: remove unneeded files
6446 * InsetList.[Ch]: remove resizeInsetsLyXText()
6451 * text3.C: merge insertParagraphs() and appendParagraph()
6452 remove breakAgain(), update()
6454 * BufferView_pimpl.[Ch]:
6455 * bufferview_funcs.[Ch]:
6459 * tabular.C: adjust after text & InsetList changes.
6461 2003-08-08 André Pönitz <poenitz@gmx.net>
6463 * text.C (insertChar, backspace): replace rowlist fiddling
6464 with rebreak of full par
6467 * text.C (breakAgainOneRow, redoHeightOfParagraph,
6468 checkParagraph, updateInset): removed
6470 2003-08-07 André Pönitz <poenitz@gmx.net>
6473 * text3.C: merge some LFUN handlers, remove dead code
6475 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6477 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6479 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
6481 * text2.C (DEPM): fix part of bug 1255 and 1256
6483 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6485 * BufferView_pimpl.C (workAreaDispatch): change to use
6486 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6487 that are no mouse related.
6489 2003-08-05 André Pönitz <poenitz@gmx.net>
6492 * BufferView_pimpl.[Ch]:
6493 * bufferview_funcs.C:
6495 * text3.C: rip out "deep update"
6497 * textcursor.[Ch] (last_sel_cursor): remove unused member
6499 2003-08-04 André Pönitz <poenitz@gmx.net>
6502 * BufferView_pimpl.[Ch]:
6503 * ParagraphParameters.C:
6504 * bufferview_funcs.C:
6510 * text3.C: replace "complicated" BufferView::update(...) calls with
6513 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6515 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
6517 * Makefile.am (lyx_SOURCES): add paper.h
6519 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6521 * Makefile.am: move things around so that both lyx-qt and
6522 lyx-xforms can be built (according to --with-frontend). Then lyx
6523 is a symbolic link to lyx-[firstfrontend]
6525 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
6527 * Always use std::endl with lyxerr
6529 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
6531 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6533 2003-08-01 André Pönitz <poenitz@gmx.net>
6536 * BufferView_pimpl.[Ch]:
6538 * text3.C: merge BufferView::repaint() and BufferView::update()
6540 2003-08-01 José Matos <jamatos@lyx.org>
6542 * buffer.[Ch]: file_format is no longer a buffer data element.
6544 2003-08-01 André Pönitz <poenitz@gmx.net>
6549 * text2.C: make redoParagraph more independent of current cursor
6551 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6553 * text2.C: remove unneeded members
6555 2003-07-30 André Pönitz <poenitz@gmx.net>
6557 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6559 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6560 create a single function...
6562 * paragraph_funcs.C (moveItem): ... here.
6565 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6567 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6569 * LColor.[Ch]: Add comment and greyedout logical colors.
6571 2003-07-30 André Pönitz <poenitz@gmx.net>
6573 * tabular.C: don't use Assert too heavily. This crashes where it
6576 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
6578 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6579 is disabled (bug 1232)
6581 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6583 * factory.C: limited 'arg' scope
6585 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6587 * factory.C: fixed Note submenu issues
6589 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6591 * factory.C: submenu for Note/Comment/Greyedout
6593 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
6596 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6598 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
6601 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6602 greyedout. Patch provided by Jürgen Spitzmüller.
6604 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6606 * kbmap.C (read): fix error message when reading bind files
6608 2003-07-29 Angus Leeming <leeming@lyx.org>
6610 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6611 certainly does not do what it purports to do. I am doing it, and
6612 us, a favour by killing it.
6614 2003-07-28 José Matos <jamatos@lyx.org>
6616 * buffer.C (readBody, do_writeFile):
6617 * paragraph.C(readParagraph): \end_document replaces \the_end.
6619 2003-07-29 André Pönitz <poenitz@gmx.net>
6622 * BufferView_pimpl.[Ch]:
6626 * textcursor.[Ch]: remove toggleToggle & Co
6628 2003-07-28 José Matos <jamatos@fep.up.pt>
6630 * buffer.C (readParagraph):
6631 * params_func (readParToken, readParagraph):
6632 * paragraph.C (write): \layout -> \begin_layout.
6634 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6636 * lyxlex_pimpl.C (setFile): clean up slightly.
6638 * bufferparams.h: add compressed var
6640 * buffer_funcs.C (readFile): adjust for LyXLex change
6641 (newFile): ditto + simplify
6643 * buffer.C (writeFile): handle writing of compressed files
6645 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6646 Check if the file is compressed and set a bufferparm if so.
6648 * Makefile.am (lyx_LDADD): remove explicit -lz
6650 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6652 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6653 makeDocBookFile): put the real LyX version in the first line of
6657 * version.C.in: remove lyx_docversion
6659 * tabular.C (write_attribute): add a template-based version to
6660 write enums properly
6662 2003-07-28 André Pönitz <poenitz@gmx.net>
6667 * text3.C: use doubles again for x-coordinates. They are needed.
6669 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6671 * messages.C (getLocaleDir): use lyx_localedir()
6673 * lyxlex_pimpl.C (setFile): compress stuff
6675 * buffer.C (writeFile): add some compression stuff
6676 (do_writeFile): new func, dont call expliti close... will this
6679 * Makefile.am (lyx_LDADD): add -lz
6681 2003-07-28 José Matos <jamatos@fep.up.pt>
6683 * buffer.C: increment file format.
6684 * paragraph_funcs (readParagraph, readParToken):
6685 * paragraph.C (readParagraph): add \end_layout.
6687 2003-07-27 Angus Leeming <leeming@lyx.org>
6689 * Makefile.am: remove special casing for configure-time setting of
6690 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6692 * lyx_main.C (init): remove all Jean-Marc's magic setting of
6693 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6695 2003-07-26 André Pönitz <poenitz@gmx.net>
6697 * paragraph_func.[Ch]:
6698 * paragraph.C (realizeFont): inline it whereever it is used
6703 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6706 2003-07-26 André Pönitz <poenitz@gmx.net>
6710 * text2.C: get rid of LyXText::need_break_row
6712 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6714 * toc.[Ch]: put namespace toc inside namespace lyx
6716 * MenuBackend.C (expandToc2): adjust for lyx::toc
6719 * lyxfunc.C (dispatch): adjust for lyx::find
6721 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6722 lyx::find instead. Reorganize a bit.
6723 (LyXReplace): rename to replace
6724 (LyXFind): rename to find
6726 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6729 2003-07-26 André Pönitz <poenitz@gmx.net>
6731 * text.C (setHeightOfRow): restrict scope of temporary variable
6733 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
6734 code (never has been used?)
6736 2003-07-27 Asger Alstrup <alstrup@local>
6738 * text.C (fill): Optimise algorithm to exploit that we can reuse
6739 the LyXFont for many characters.
6740 (setHeightOfRow): Same thing.
6741 (rowBreakPoint): Same thing.
6743 2003-07-26 Asger Alstrup <alstrup@local>
6745 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6747 * text.C (singleWidth): Spurious font copying in hot-spot
6748 singleWidth avoided. Reorder tests for arabic for efficiency.
6750 * text.C (fill): handle empty paragraphs better.
6752 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6755 * encoding.h: add includes
6757 * lyxrc.C: remove reading of bind files
6759 * lyx_main.C (init): setup bindings and menus only if we have a
6762 * kbmap.C (read): new method. Do the actual reading of bind
6765 * converter.C (dvipdfm_options):
6768 (output): adapt PAPER_* enums.
6770 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6772 * bufferparams.h: remove paper-related enums from there
6774 * paper.h: New file. A trivial header file to hold paper-related
6775 enums. It should later expand to contain many paper-related
6778 * lyxrc.C: declare extern displayTranslator
6780 2003-07-27 José Matos <jamatos@fep.up.pt>
6782 * tabular.[Ch] (linuxdoc): add support for tables and figures
6785 2003-07-27 José Matos <jamatos@fep.up.pt>
6787 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6788 consistency in both functions.
6789 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6791 2003-07-26 Asger Alstrup <alstrup@local>
6793 * rowpainter.C (paintRows): Change algorithm to work directly on
6794 the insets rather than asking every character in the document
6795 whether its an inset.
6797 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
6799 * buffer.C (openFileWrite): factorize some code
6801 2003-07-26 Angus Leeming <leeming@lyx.org>
6804 * lyx_main.[Ch]: replace occurances of system_tempdir with
6807 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6809 * rename Inset to InsetOld
6811 2003-07-25 Asger Alstrup <alstrup@diku.dk>
6813 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6814 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6815 which I think is a bit clearer. EDIT is gone, since it was
6816 premature optimisation, and broken for mathed anyway.
6817 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6818 with cursor positioning in insets as well (math insets still do not
6819 work, but that's a different story anyway.) It mysteriously
6820 crashes sometimes with undo in the first paragraph, but I'm fairly
6821 confident that this is a compiler bug.
6823 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6825 * paragraph.C (Paragraph): adjust for new clone return type
6827 (copyIntoMinibuffer): ditto
6829 2003-07-25 Asger Alstrup <alstrup@lyx.org>
6831 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6832 by not having a special case, and always doing a full rebreak of
6833 the document after undo.
6835 2003-07-23 Angus Leeming <leeming@lyx.org>
6837 * factory.C (createInset): InsetExternal::setParams now takes a
6840 2003-07-23 Angus Leeming <leeming@lyx.org>
6842 * factory.C (createInset): changed interface to the external and
6843 graphics mailers' string2params functions.
6845 2003-07-23 Angus Leeming <leeming@lyx.org>
6847 * factory.C (createInset): pass a
6848 Buffer const * parameter to InsetExternalMailer's string2params.
6850 2003-07-22 John Levon <levon@movementarian.org>
6852 * Thesaurus.h: include the right aiksaurus header
6854 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6856 * MenuBackend.C (expand): check menu shortcuts unconditionally
6858 2003-07-21 Angus Leeming <leeming@lyx.org>
6860 * factory.C (createInset): pass a
6861 buffer_path parameter to InsetGraphicsMailer's string2params.
6863 2003-07-21 Angus Leeming <leeming@lyx.org>
6865 * BufferView_pimpl.C (buffer):
6868 * lyxfunc.C (dispatch):
6869 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6870 rather than the grfx shortcut.
6872 2003-07-21 André Pönitz <poenitz@gmx.net>
6874 * rowpainter.C: remove unused variables
6877 * tabular_funcs.h: move to tabular.C
6878 * Makefile.am: adjust
6880 * tabular.[Ch]: basic optical cleaning
6882 * author.h: pass references, not values
6884 2003-07-18 André Pönitz <poenitz@gmx.net>
6892 * text3.C: two-phase drawing for InsetText and InsetTabular
6893 some float -> int changes.
6895 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6897 * lyx_main.C: fix the fix
6899 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6901 * lyx_main.C: fix a crash in batch mode if no files specified
6904 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
6906 * format.[Ch] (papersize): moved to BufferParams
6907 * converter.[Ch] (dvips_options): moved to BufferParams
6908 (dvipdfm_options): moved to anon namespace
6909 * bufferparams.[Ch]: added above functions.
6911 2003-07-17 André Pönitz <poenitz@gmx.net>
6915 * text2.C: don't call inset->update() anymore
6917 * metricsinfo.[Ch]: add convenience constructor
6919 2003-07-16 André Pönitz <poenitz@gmx.net>
6924 * text2.C: replace the LyXCursor::irow_ member with
6925 on-demand computation of the value
6927 2003-07-16 John Levon <levon@movementarian.org>
6929 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6931 2003-07-15 André Pönitz <poenitz@gmx.net>
6934 * text2.C: remove no more needed refresh_row
6936 2003-07-15 André Pönitz <poenitz@gmx.net>
6941 * text3.C: refresh_status tristate -> need_update bool
6943 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
6945 * lyxtext.h (init): remove reinit argument (act as if always true)
6946 * text2.C: adjust to that
6948 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6950 * bufferview_funcs.[Ch]: introduce function replaceSelection()
6951 * text3.C: use it to delete selections in some cases
6952 (bugs 441, 673, 702, 954).
6954 2003-07-14 André Pönitz <poenitz@gmx.net>
6956 * rowpainter.[Ch]: reduce interface
6958 2003-07-14 André Pönitz <poenitz@gmx.net>
6960 * BufferView_pimpl.C:
6961 * text2.C: adjust after removing unused BufferView * argument
6963 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
6965 * text2.C (init): fix a crash fired on resize
6967 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
6969 * buffer.[Ch]: added new closing signal
6970 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6971 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6972 BufferView::Pimpl via the closing the signal
6974 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
6976 * buffer.[Ch]: take out all bv-related from buffer
6978 * BufferView_pimpl.[Ch]: connect to new signals
6979 * CutAndPaste.C: removed useless asserts
6980 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6983 * lyxfunc.C: moved view-related funciontality from vc here
6984 * paragraph.C: removed outdated comments
6987 2003-07-10 André Pönitz <poenitz@gmx.net>
6989 * BufferView_pimpl.C:
6993 * text2.C: remove InsetText::InnerCache, clean up consequences
6995 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
6997 * ispell.C: fix two typos in error messages
6999 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
7001 * Extend Note inset to other forms of annotation like Comment
7002 and Greyedout. Right button click gives dialog.
7004 Files modified or added (+):
7008 * ControlNote.[Ch] +
7010 * Makefile.am in frontends/xforms, frontends/xforms/forms,
7011 frontends/controllers
7015 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
7017 * aspell.C: add missing namespace lyx::support
7019 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
7021 * BufferView.[Ch] (newFile): Add
7022 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
7023 * LaTeX.[Ch] (message): added this signal and use it
7024 * buffer.[Ch] (busy, message): added these signals and use them
7025 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
7029 * importer.C: use buffer signals instead of direct bv calling
7030 * lyx_cb.[Ch] (ShowMessage): removed
7033 * paragraph_funcs.C:
7034 * text2.C: use buffer signals
7036 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7038 * introduce namespace lyx::graphics
7040 2003-07-02 André Pönitz <poenitz@gmx.net>
7042 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
7044 2003-07-01 André Pönitz <poenitz@gmx.net>
7051 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
7052 text*.C to text_func.C
7054 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7056 * introduce namespace lyx::support
7058 2003-06-30 André Pönitz <poenitz@gmx.net>
7063 * text.C: re-enable --with-included-string
7065 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7067 * textcursor.C: add <config.h>
7069 * text.C (getWord): remove const from word_location arg
7071 * lyxvc.C (getLogFile): fix const type order
7073 * lyxtext.h: remove const from word_location arg, add arg name
7075 * lyxlayout.h: currect type on labeltype.
7077 * importer.C: correct \file
7079 * converter.C (intToFormat): use std:: on ret val, ws changes
7081 * bufferlist.h: correct \file
7083 * buffer.C (makeLinuxDocFile): fix const type order
7084 (makeDocBookFile): ditto
7085 (fillWithBibKeys): use std:: on stdlib args.
7087 * CutAndPaste.C: fix authors.
7088 (availableSelections): use std:: on return vector
7090 2003-06-27 André Pönitz <poenitz@gmx.net>
7092 * BufferView_pimpl.C:
7093 * bufferview_funcs.C:
7101 * text3.C: remove LyXCursor::row_ member
7104 * text.C: rename fullRebreak() to partialRebreak() and implement
7105 a fullRebreak() that really bereks fully
7107 * textcursor.h: new struct for cursor-related data
7109 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
7111 * lyx_main.C (LyX): get full path of document loaded on the
7114 2003-06-26 André Pönitz <poenitz@gmx.net>
7116 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
7117 remove unused/broken operator>,<,>=.
7119 * text.C: remove only use of broken operator<= in an Assert().
7121 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
7123 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
7124 moved errorlist_.clear to showErrorList
7126 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
7128 * converter.C (scanLog, runLaTeX):
7129 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
7130 move the bv->showErrorList call to the callers
7131 * lyxfunc.C: i.e. here...
7133 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
7134 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
7135 namespace, the second to...
7136 * buffer_funcs (BufferFormat, parseErrors): added
7137 * errorlist.C (ErrorList(TeXErrors const &)): removed
7139 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7141 * ToolbarBackend.C (getIcon): complain when icon cannot be found
7143 2003-06-24 "Garst R. Reese" <reese@isn.net>
7147 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7149 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
7151 * version.C.in: change docversion to 1.4
7153 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
7155 * buffer.C: fix a bug just introduced
7157 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
7159 * buffer.[Ch]: added the parseError signal and use it, removed
7161 * BufferView.[Ch] (addError): moved to ...
7162 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
7163 to the Buffer::parseError signal to catch (guess what) parse errors
7164 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
7166 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
7168 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
7169 ability to create a buffer and to return an existing one from
7170 the list. Moved these functions to...
7171 * buffer_funcs.[Ch]: added
7172 * BufferView.[Ch] (loadLyXFile): added
7173 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
7174 job removed from bufferlist::loadLyXFile.
7175 * buffer.C (setReadOnly): make it work without view
7176 (i.e added an if (users))
7178 2003-06-19 Angus Leeming <leeming@lyx.org>
7181 * LyXAction.C (init):
7182 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
7183 with LFUN_DIALOG_SHOW <name> <data>.
7185 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7187 * CutAndPaste.C (availableSelections): small compilation fix for
7188 ancient (gcc 2.9x) compilers
7190 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
7192 * text3.C (cursorNext): add tmp var
7194 * text2.C (updateCounters): for function calling out of for clause
7195 (replaceSelectionWithString): ditto
7196 (insertStringAsParagraphs): ditto
7197 (getColumnNearX): add tmp var
7198 (setCursorFromCoordinates): add tmp var
7199 (cursorDownParagraph): add tmp var
7200 (deleteEmptyParagraphMechanism): add tmp var
7202 * text.C (insertChar): add tmp var
7204 * rowpainter.C (paintDepthBar): add tmp var
7206 * CutAndPaste.C (availableSelections): potentially check all
7207 paragraphs in a cut to fill the shown strings.
7209 2003-06-18 André Pönitz <poenitz@gmx.net>
7211 * kbmap.[Ch]: use vector<> instead of list<>
7213 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
7215 * text3.C (dispatch): handle arg to LFUN_PASTE, call
7216 pasteSelection with index
7218 * text2.C (pasteSelection): modify, call pasteSelection with index
7220 * paragraph.C (asString): reimplement version with no interval to
7221 call the one with interval.
7223 * lyxtext.h: add index arg to pasteSelection
7225 * MenuBackend.C (MenuItem): handle PasteRecent
7226 (Menu::read::Menutags): add md_pasterecent
7228 (expandPasteRecent): new function
7231 * MenuBackend.h: add PasteRecent to MenuItem::Kind
7233 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
7235 (availableSelections): new function
7237 2003-06-17 Angus Leeming <leeming@lyx.org>
7239 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
7241 2003-06-17 Angus Leeming <leeming@lyx.org>
7244 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
7246 * lyxfunc.C (dispatch): invoke it.
7248 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7250 * iterators.C (operator++, ParPosition): reintroduce some
7251 const_cast for the benefit of older compilers.
7253 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7255 * text3.C (dispatch): do not modify clipboard when doing
7256 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
7257 LFUN_DELETE_SKIP on a selection selection
7259 2003-06-16 André Pönitz <poenitz@gmx.net>
7265 * tabular.[Ch]: IU of clone() and getLabelList();
7267 2003-06-13 André Pönitz <poenitz@gmx.net>
7269 * tabular.h: compactification
7271 2003-06-12 André Pönitz <poenitz@gmx.net>
7275 * tabular_funcs.h: some renaming plus whitespace
7277 2003-06-12 André Pönitz <poenitz@gmx.net>
7280 * BufferView_pimpl.C:
7286 * toc.C: Return a Paragraph & for ParIterator::operator*()
7288 2003-06-11 John Levon <levon@movementarian.org>
7292 * ToolbarBackend.C: add "Toolbars" section and
7295 2003-06-10 Angus Leeming <leeming@lyx.org>
7298 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
7300 * lyxfunc.C (dispatch): invoke it.
7302 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7304 * main.C: protect <ios> with HAVE_IOS
7305 (main): protect sync_with_stdio with HAVE_IOS
7307 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
7309 * text2.C (cutSelection): adjust
7310 (pasteSelection): adjust
7312 * messages.C: handle get of empty string
7314 * main.C (main): use sync_with_stdio(false)
7316 * lyxfunc.C (dispatch): adjust
7318 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
7319 (WriteAs): remove unneeded BufferView arg.
7321 * bufferparams.h: use correct types on papersize, papersize2 and
7324 * bufferparams.C (readToken): adjust for type
7325 (writeLaTeX): add missing cases to switch.
7327 * bufferlist.C (quitWriteBuffer): adjust
7330 * buffer.C (asciiParagraph): remove some commented code.
7332 * CutAndPaste.C: remove current_view extern variable.
7333 (cutSelection): add BufferParams arg.
7334 (eraseSelection): add BufferParams arg.
7335 (pasteSelection): add Buffer const & arg
7337 2003-06-07 John Levon <levon@movementarian.org>
7340 * paragraph_funcs.C:
7341 * paragraph_pimpl.C:
7345 * paragraph.C: allow InsetERT to freely space lines,
7346 and some consolidation of code
7348 2003-06-06 José Matos <jamatos@fep.up.pt>
7350 * buffer.C (makeDocBookFile): fix bug #821
7352 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
7354 * BufferView_pimpl.C (dispatch): use Dialogs::visible
7356 2003-06-04 Angus Leeming <leeming@lyx.org>
7358 * buffer.C: bump format to 224.
7360 2003-06-05 André Pönitz <poenitz@gmx.net>
7362 * text2.C (redoParagraphs): remove two const_cast<>
7364 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
7366 * ParagraphList.h: remove last remnants of NO_STD_LIST
7368 2003-06-03 Angus Leeming <leeming@lyx.org>
7370 * factory.C (createInset): small change to the way InsetExternal's params
7373 2003-06-04 André Pönitz <poenitz@gmx.net>
7375 * buffer.h: use Undo directly instead of shared_ptr<Undo>
7377 * paragraph_pimpl.h:
7378 * paragraph.[Ch]: some Inset -> UpdatableInset changes
7380 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
7382 * undo_funcs.C: make some simple cases of undo work again
7384 2003-06-03 John Levon <levon@movementarian.org>
7386 * ispell.C: HPUX doesn't have sys/select.h
7389 2003-06-03 John Levon <levon@movementarian.org>
7391 * CutAndPaste.C: update tabular and include inset
7396 * paragraph.C: remove owningBuffer(), don't pass Buffer
7399 * factory.C: insetGraphicsParams changed
7401 2003-06-02 John Levon <levon@movementarian.org>
7407 * text3.C: remove insetparent
7409 2003-06-02 John Levon <levon@movementarian.org>
7412 * buffer.C: fix inset_iterator.end(), move out of line
7415 2003-06-01 John Levon <levon@movementarian.org>
7417 * text3.C: use a proper cut/paste when doing inset
7418 insert (from Jürgen Spitzmüller)
7420 2003-06-01 John Levon <levon@movementarian.org>
7422 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7424 2003-05-30 André Pönitz <poenitz@gmx.net>
7426 * rowpainter.C: unify second drawing phase
7428 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7430 * trans_mgr.C: remove one case of current_view
7432 * text2.C (cursorBottom): delete NO_STD_LIST stuff
7434 * paragraph_funcs.h: remove paragraph.h include
7436 * paragraph.h: delete NO_STD_LIST stuff
7438 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7440 * buffer.h: remove paragraph.h include
7442 * ParagraphList.C: delete file
7444 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7446 * toc.C (getTocList): adjust
7448 * paragraph_pimpl.C (validate): adjust
7450 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7452 * paragraph.C (Paragraph): adjust
7453 (getPositionOfInset): use const_iterator, adjust
7454 (bibitem): use const_iterator, adjust
7455 (setInsetOwner): adjust
7457 * iterators.C (operator++): adjust
7459 * InsetList.[Ch]: Replace selfmade iterator with standard
7460 vector::iterator also introduce const_iterator. Remove getPos,
7461 getInset and setInset from InsetTable. Adjust accordingly.
7463 * BufferView.C (lockInset): adjust
7464 (ChangeInsets): adjust
7466 * tabular.[Ch]: delete commented same_id functions
7468 2003-05-28 John Levon <levon@movementarian.org>
7470 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7472 2003-05-28 André Pönitz <poenitz@gmx.net>
7474 * metricsinfo.[Ch]: remove 'fullredraw' member
7476 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
7478 * lyxtextclass.C (operator): remove caching.
7480 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7484 * text2.C (cursorBottom): adjust
7485 (setCounter): use ParagraphList::find, adjust
7487 * text.C (workWidth): use ParagraphList::find, adjust
7489 * lyxcursor.C (LyXCursor): adjust
7491 * buffer.C (inset_iterator): adjust
7493 * ParagraphList.h: make iterator(value_type) private, make
7494 ParagraphList a friend of iterator.
7496 * ParagraphList.C (find): new function
7498 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7500 2003-05-27 André Pönitz <poenitz@gmx.net>
7502 * dimension.[Ch]: a -> asc, d -> des, w -> wid
7504 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7506 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7508 2003-05-26 John Levon <levon@movementarian.org>
7510 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7512 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
7514 * remove same_id from function signatures, adjust.
7516 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7518 * undo_funcs.C (createUndo): use the id functions directly, adjust.
7520 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7522 * paragraph.C (Paragraph): get rid of same_ids parameter
7524 * ParagraphList.C (insert): adjust
7527 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7529 * paragraph_funcs.C (breakParagraph): adjust
7530 (breakParagraphConservative): adjust
7532 * buffer.C (readParagraph): adjust
7534 * ParagraphList.C (insert): take a reference instead of a pointer
7537 * paragraph.[Ch] (id): new function
7539 * bufferlist.C (newFile): adjust
7541 * ParagraphList.C (ParagraphList): adjust
7543 (push_back): take a reference instead of a pointer.
7545 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7547 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7550 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7551 set else use old code.
7553 * ParagraphList.C: remove all NO_NEXT code and only compile this
7554 code of NO_STD_LIST is set.
7556 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7558 * BufferView_pimpl.C:
7568 * graphics/GraphicsConverter.C:
7569 * graphics/PreviewLoader.C: header adjustment
7571 2003-05-23 Angus Leeming <leeming@lyx.org>
7573 * LaTeXFeatures.[Ch] (useBabel): new method.
7574 * bufferparams.C (writeLaTeX): use it.
7576 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7578 * ParagraphList.h (set): remove unused function.
7580 2003-05-23 André Pönitz <poenitz@gmx.net>
7583 * BufferView_pimpl.C:
7587 * undo_funcs.C: setUndo reworked
7589 * iterators.[Ch]: add access to topmost ParagraphList
7591 * lyxtext.[Ch] (workWidth): add a const
7593 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7595 * texrow.[Ch] (increasePos): remove function
7596 * exporter.C (export): removed unused var and outdated comment
7598 2003-05-23 Angus Leeming <leeming@lyx.org>
7600 * latexrunparams.h: rename fragile as moving_arg.
7601 * paragraph.C (simpleTeXOnePar): ditto.
7602 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7604 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7606 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7608 (textUndoOrRedo): comment out a currently unused var.
7610 * paragraph.h (NO_NEXT): enable NO_NEXT
7612 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7614 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7616 * exporter.C (Export): adjust for removeAutoInsets removal.
7618 * buffer.C (runChktex): adjust for removeAutoInsets removal.
7620 * LyXAction.C (init): remove LFUN_REMOVEERRORS
7622 * BufferView.[Ch] (removeAutoInsets): delete function
7624 2003-05-22 Angus Leeming <leeming@lyx.org>
7626 * latexrunparams.h: add a free_spacing variable.
7628 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7629 to pass moving_arg, as the data is stored in runparams.fragile.
7631 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7632 to Inset::latexOptional or to simpleTeXOnePar.
7634 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7635 free_spacing arg to Inset::latexOptional.
7637 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7640 2003-05-22 Angus Leeming <leeming@lyx.org>
7642 * latexrunparams.h: add fragile and use_babel variables.
7644 * bufferparams.[Ch] (writeLaTeX): return use_babel.
7645 * buffer.C (makeLaTeXFile): store this returned value in
7646 runparams.use_babel, thus passing it to the inset::latex methods.
7648 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7649 simpleTeXSpecialChars as it is now stored in runparams.fragile.
7651 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7652 longer has a fragile arg, as it is stored in runparams.fragile.
7654 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7655 moving_arg parameter as the data is stored in runparams.fragile.
7657 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7658 a fragile parameter as the data is stored in runparams.fragile.
7660 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7662 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7664 2003-05-22 Angus Leeming <leeming@lyx.org>
7666 * latexrunparams.h: add a 'bool nice' which defaults to false.
7668 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7669 now encapsulated within runparams.
7671 * bufferlist.C (updateIncludedTeXfiles):
7672 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7674 2003-05-22 Angus Leeming <leeming@lyx.org>
7676 * latexrunparams.h: new file containing struct LatexRunParams.
7677 * Makefile.am: add new file.
7679 * LaTeX.[Ch] (c-tor, run):
7680 * buffer.[Ch] (makeLaTeXFile):
7681 * bufferlist.[Ch] (updateIncludedTeXfiles):
7682 * converter.C (convert, scanLog):
7683 * converter.[Ch] (runLaTeX):
7684 * exporter.C (Export):
7685 * paragraph.[Ch] (simpleTeXOnePar):
7686 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7687 * paragraph_funcs.[Ch] (latexParagraphs):
7688 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7689 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7690 pass around a LatexRunParams parameter.
7692 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7694 * paragraph.[Ch]: remove unused constructor
7696 * ParagraphList.C (erase): new function, taking two iterators
7698 2003-05-22 André Pönitz <poenitz@gmx.net>
7700 * undo_funcs.C: remove duplicated code
7702 * iterator.[Ch]: operator=
7704 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7706 * tabular.C (SetMultiColumn): ws changes
7708 * rowpainter.C (paintFirst): get rid of a ->previous
7710 * lyx_cb.C (getPossibleLabel): parlist simplification
7712 * BufferView.C (ChangeInsets): simplify slightly.
7714 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
7716 * LyXAction.C: new lfun space-insert, kill protected-space-insert
7717 * lfuns.h: new LFUN_SPACE
7718 * lyxfunc.C: protected space has a new lfun
7719 * paragraph_funcs.C: read new space insets
7721 * factory.C: handle new space insets
7723 2003-05-22 André Pönitz <poenitz@gmx.net>
7726 * BufferView_pimpl.C:
7729 * undo_funcs.C: return a ParIterator from getParFromID.
7731 * iterators.[Ch]: add two const's
7733 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7735 * toc.C (getTocList): adjust
7737 * iterators.[Ch]: rework for parlist
7739 * buffer.C (par_iterator_begin): adjust
7740 (par_iterator_end): adjust
7742 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7744 * BufferView.C (removeAutoInsets): adjust
7745 (ChangeInsets): adjust
7747 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
7749 * text.C (top_y): fix bug 1110
7751 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
7753 * errorlist.[Ch]: added
7756 * BufferView_pimpl.C:
7757 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7760 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7762 * Makefile.am: ensure that lyx is relinked upon changes to the
7763 various "convenience" libs.
7765 2003-05-20 Angus Leeming <leeming@lyx.org>
7767 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7768 files are compiled in alphabetical order again.
7770 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7772 2003-05-19 Angus Leeming <leeming@lyx.org>
7774 * gettext.[Ch]: remove "char const * _(char const *)".
7776 2003-05-19 André Pönitz <poenitz@gmx.net>
7778 * dimension.[Ch]: promote from mathed/dimension.[Ch]
7787 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7789 2003-05-19 André Pönitz <poenitz@gmx.net>
7793 * lyxtextclass.[Ch]:
7795 * paragraph_funcs.[Ch]:
7797 * text3.C: more insetenv work
7799 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
7801 * ParagraphParameters.C (params2string): small bug fixed
7803 2003-05-16 André Pönitz <poenitz@gmx.net>
7806 * bufferview_funcs.C: patch from Kornel Benko to prevent
7807 crash when _(...) is called twice in a statement
7809 2003-05-16 André Pönitz <poenitz@gmx.net>
7816 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7818 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
7820 * lyx_main.C (init): remove spurious static_cast
7822 2003-05-14 André Pönitz <poenitz@gmx.net>
7824 * BufferView.C: fix format string
7826 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
7828 * BufferView.[Ch] (insertErrors): removed
7829 * BufferView.[Ch] (showErrorList): added
7830 * buffer.C (runChkTeX):
7831 * converter.C (scanLog): call showErrorList instead of inserterrors
7833 2003-05-13 André Pönitz <poenitz@gmx.net>
7835 * BufferView_pimpl.C:
7837 * bufferview_func.C:
7844 * tabular_funcs.h: tostr() from its own header
7846 * ParagraphParameters.C:
7851 * text3.C: STRCONV()
7853 2003-05-12 André Pönitz <poenitz@gmx.net>
7856 * BufferView_pimpl.C:
7860 * ParagraphParameters.C:
7864 * bufferview_funcs.C:
7877 * paragraph_funcs.C:
7881 * text3.C: boost::format -> bformat all over the place
7884 2003-05-09 André Pönitz <poenitz@gmx.net>
7886 * LColor.[Ch]: Pimpl the #include <map> away
7888 2003-05-09 John Levon <levon@movementarian.org>
7890 * bufferlist.C: never remove emergency saves
7892 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7894 * Makefile.am: better lib building
7896 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
7898 * texrow.[Ch]: remove dependency on Paragraph and just store a id
7900 * paragraph_pimpl.C (simpleTeXBlanks): adjust
7901 (simpleTeXSpecialChars): adjust
7902 (simpleTeXSpecialChars): adjust
7903 * paragraph.C (simpleTeXOnePar): adjust
7904 * buffer.C (makeLaTeXFile): adjust
7906 * Makefile.am (BOOST_LIBS): allow boost as system lib.
7908 * text2.C (changeDepth): parlist cleanup
7909 (getColumnNearX): ditto
7911 * rowpainter.C (getLabelFont): parlist cleanup
7913 * bufferlist.C (newFile): parlist cleanup
7915 * CutAndPaste.C (eraseSelection): parlist cleanup
7917 * BufferView_pimpl.C (trackChanges): parlist cleanup
7920 * BufferView.C (lockInset): parlist cleanup.
7921 (ChangeInsets): ditto
7923 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7925 * CutAndPaste.h: Update file header.
7927 * CutAndPaste.C: Update file header.
7928 Store the parts cut out of the Document in a limited_stack.
7929 (copySelection): adjust
7930 (pasteSelection): new function, takes the index in the limited stack.
7931 (nrOfParagraphs): adjust
7932 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7933 simplify error inset insertion.
7934 (checkPastePossible): adjust
7936 2003-05-06 John Levon <levon@movementarian.org>
7938 * text2.C: don't cast wrap inset to float
7940 2003-05-05 André Pönitz <poenitz@gmx.net>
7943 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7945 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7946 few naked Paragraph *.
7948 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
7950 * bufferparams.C: Output warning if a document with missing
7951 TeX document class is loaded
7952 * exporter.C: Disable TeX exports if the document class is missing
7955 * lyxtextclasslist.C: Handle new textclass.lst format; new method
7956 isTeXClassAvailable()
7958 2003-05-03 John Levon <levon@movementarian.org>
7961 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7962 explicit cursor show/hide
7964 * BufferView_pimpl.h:
7965 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7966 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7968 * lyxfunc.C: hide cursor before dispatching.
7973 * text3.C: remove explicit cursor hides
7975 2003-05-02 André Pönitz <poenitz@gmx.net>
7977 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7980 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7983 * text2.C: tiny whitespace
7985 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7987 * undo_funcs.C: almost only ws changes.
7989 * ParagraphList.C (splice): just return if pl is empty.
7991 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7993 * ParagraphList.C (splice): new function.
7995 * CutAndPaste.C (pasteSelection): use it
7997 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7999 * CutAndPaste.C (pasteSelection): remove the last next and
8000 previous from this file.
8002 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8004 * CutAndPaste.C (pasteSelection): more clean up, user proper
8005 ParagraphList functions for pasteing.
8007 * ParagraphList.C (insert): new function, three arg insert
8009 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8011 * ParagraphList.C (insert): new function, three arg insert
8013 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
8016 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8018 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
8020 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8022 * CutAndPaste.C (pasteSelection): remove some unneeded code.
8024 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8026 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
8027 (copySelection): clean up a bit.
8028 (pasteSelection): use make_pair
8030 * ParagraphList.C (ParagraphList): implement copy constructor
8031 (operator=): implement, base on copy constructor.
8034 * paragraph.C (erase): return a bool
8036 * paragraph_pimpl.C (erasePos): remove function, move contents...
8037 (erase): ... here. Return a bool.
8038 (erase): call erase instead of erasePos.
8040 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
8042 * ParagraphList.h: define PitPosPair
8043 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
8044 ParagraphList, fix a bug on pasting multiple pars
8045 * text2.C: change interface to C&P
8047 2003-04-30 André Pönitz <poenitz@gmx.net>
8049 * undo_func.C: revert part of yesterday's patch 2
8051 2003-04-30 John Levon <levon@movementarian.org>
8053 * LColor.C: s/tabular/table/
8055 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8057 * text3.C (dispatch): do not convert iterator -> pointer
8058 * undo_funcs.C (setCursorParUndo): ditto
8059 * text_funcs.C (transposeChars): ditto
8061 * text2.C (setLayout): ws changes only
8063 * text.C (breakParagraph): do not convert iterator -> pointer
8065 (acceptChange): ditto
8066 (rejectChange): ditto
8071 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
8074 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
8076 * text3.C (gotoInset): YABG (yet another bad getChar)
8078 2003-04-29 André Pönitz <poenitz@gmx.net>
8080 * paragraph.h: make operator= private unimplemented as long as
8083 * ParagraphList.C: whitespace
8086 * paragraph_pimpl.[Ch]:
8087 * paragraph_funcs.C:
8089 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
8092 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
8094 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
8096 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
8097 * paragraph.[Ch] (erase):
8098 * paragraph_pimpl.[Ch] (erase): change return type and value
8099 * text2.C (cutSelection): some rework
8101 2003-04-28 John Levon <levon@movementarian.org>
8103 * bufferlist.C: changes for unsaved changes dialog
8105 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8107 * bufferlist.C (newFile): set language (messages_) for new
8110 * buffer.C (readFile): ws changes only.
8112 2003-04-28 André Pönitz <poenitz@gmx.net>
8117 * BufferView_pimpl.C:
8118 * BufferView.C: getParFromID related ParagraphList::iterator changes
8120 2003-04-28 André Pönitz <poenitz@gmx.net>
8122 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
8125 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8127 * messages.C: remove one more localedir class variable.
8129 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8131 * messages.C (getLocaleDir): singleton generation function
8133 (Messages): add a default constructor.
8135 * main.C (main): do not setup localedir here, do not call
8138 * gettext.C (_): use it.
8139 (gettext_init): delete funciton
8141 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8143 * gettext.C (getLyXMessages): new singleton generating function.
8145 * buffer.C (updateDocLang): adjust
8147 * Makefile.am (messages.o): add target
8148 (main.o): remove target
8150 2003-04-27 John Levon <levon@movementarian.org>
8155 * lyxvc.C: specify cancel button in Alert::prompt
8157 2003-04-26 John Levon <levon@movementarian.org>
8162 * LyXAction.C: add LFUN_INSET_SETTINGS
8164 * lyxfunc.C: don't enable tabular-feature when there's
8165 just any locking inset
8167 2003-04-26 John Levon <levon@movementarian.org>
8169 * bufferlist.C: re-add Cancel to buffer close question
8171 * lyxfunc.C: fix import UI a bit
8173 2003-04-25 John Levon <levon@movementarian.org>
8175 * gettext.C: remove the broken asserts for now
8177 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
8179 * messages.C: make case where setlocale cannot comply work better.
8181 * buffer.C (updateDocLang): new function
8182 (changeLanguage): use it
8185 * text2.C (setCounter): use B_ a bit.
8187 * lyxlayout.C (Read): be sure to trim the label strings.
8189 * messages.C (Messages): fix typo in comment
8191 * buffer.C (readFile): set message_ after file is loaded.
8192 (makeDocBookFile): remove double return
8193 (changeLanguage): reset message_ upon language change.
8194 (B_): new func, use this to get translated buffer strings.
8196 * main.C: add myself and Jean Marc as authors.
8198 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
8200 * messages.[hC]: pimplify Messages, and three different pimpls to be
8201 used in different circumstances.
8203 * gettext.[Ch]: change for use with new message code.
8205 2003-04-24 André Pönitz <poenitz@gmx.net>
8207 * factory.C: support for eqref
8209 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
8211 * messages.[Ch]: add missing char
8213 * Makefile.am (lyx_SOURCES): add messages.[Ch]
8215 * messages.[Ch]: New files
8217 2003-04-18 John Levon <levon@movementarian.org>
8221 * BufferView_pimpl.C:
8225 * text2.C: remove layout-copy/paste (bug 778)
8227 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
8229 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
8231 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
8233 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
8234 if they succeed. Act accordingly.
8236 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8238 * text2.C (setCharFont): adjust
8239 (setCounter): adjust
8240 (insertStringAsLines): adjust
8242 * text.C (leftMargin): adjust
8243 (setHeightOfRow): adjust
8245 * rowpainter.C (paintFirst): adjust
8248 * paragraph_funcs.C (depthHook): ParagraphList::iterators
8250 (isFirstInSequence): ditto
8251 (getEndLabel): ditto
8254 * paragraph.C (getParLanguage): comment out some hard stuff.
8256 * buffer.C (insertStringAsLines): take a ParagraphList as arg
8258 (simpleDocBookOnePar): ditto
8259 (makeDocBookFile): use ParagraphList::iterator
8261 * CutAndPaste.C (pasteSelection): adjust
8263 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8265 * text2.C (getFont): adjust
8266 (getLayoutFont): adjust
8267 (getLabelFont): adjust
8269 * paragraph_funcs.C (TeXOnePar): adjust
8271 * buffer.C (simpleLinuxDocOnePar): adjust
8272 (simpleDocBookOnePar): adjust
8274 * CutAndPaste.C (pasteSelection): adjust
8276 * BufferView.C (getEncoding): adjust
8278 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
8280 2003-04-16 John Levon <levon@movementarian.org>
8282 * lyxfind.C: use parlist stuff for search/changes
8284 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8286 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
8288 * text2.C (deleteEmptyParagraphMechanism): adjust
8290 * text2.[Ch] (ownerParagraph): delete func (both of them
8292 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8294 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
8296 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8298 * ParagraphList.C: prepare for NO_NEXT
8300 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8302 * text2.C (getFont): adjust
8303 (getLayoutFont): adjust
8304 (getLabelFont): adjust
8306 * paragraph.C (getFont): adjust
8307 (getLabelFont): adjust
8308 (getLayoutFont): adjust
8310 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
8312 2003-04-15 John Levon <levon@movementarian.org>
8316 * lyx_main.C: handle Include in .ui files
8318 2003-04-15 John Levon <levon@movementarian.org>
8320 * MenuBackend.C: make the doc files length shorter
8323 * ToolbarBackend.C: handle toolbar placement flags,
8326 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8328 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
8331 * paragraph_funcs.C (TeXOnePar): adjust
8333 * paragraph.C (getLabelFont): add outerfont arg, adjust
8334 (getLayoutFont): ditto
8335 (simpleTeXOnePar): adjust
8337 * paragraph_pimpl.C (realizeFont): delete func
8339 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
8341 * text2.C (beforeFullRowInset): added a bad getchar check, removed
8342 row argument, constify cur argument.
8344 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8346 * text2.C (getFont): adjust
8347 (getLayoutFont): adjust
8348 (getLabelFont): adjust
8350 * paragraph_funcs.C (TeXOnePar): adjust
8351 (outerFont): new func...
8352 (realizeFont): ...moved out from here, changed this to facilitate
8355 * paragraph.C (getFont): take outerfont as arg, adjust
8356 (simpleTeXOnePar): add outerfont arg, adjust
8358 * buffer.C (simpleLinuxDocOnePar): adjust
8359 (simpleDocBookOnePar): adjust
8361 * CutAndPaste.C (pasteSelection): adjust
8363 * BufferView.C (getEncoding): adjust
8365 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8367 * text2.C (setCharFont): adjust
8368 (setCounter): adjust
8370 * text.C (leftMargin): adjust
8371 (setHeightOfRow): adjust
8373 * rowpainter.C (paintFirst): adjust
8376 * paragraph_pimpl.C (realizeFont): adjust
8378 * paragraph.C (isFirstInSequence): move from here...
8379 * paragraph_funcs.C (isFirstInSequence): ...to here
8381 * paragraph.C (outerHook): move from here...
8382 * paragraph_funcs.C (outerHook): ...to here
8384 * paragraph.C (depthHook): move from here...
8385 * paragraph_funcs.C (depthHook): ...to here
8387 * paragraph.C (getEndLabel): move from here...
8388 * paragraph_funcs.C (getEndLabel): ...to here
8390 * text2.C (realizeFont): move from here...
8391 * paragraph_funcs.C (realizeFont): ...to here
8393 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8395 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
8397 2003-04-14 Angus Leeming <leeming@lyx.org>
8399 * LColor.[Ch]: scrap LColor mathcursor.
8401 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8403 * lyxlex.[Ch] (text): delete function
8404 * trans.C (Load): adjust
8405 * paragraph_funcs.C (readParToken): adjust
8407 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8409 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8410 vector<char> instead of a char[].
8412 * lyxlex_pimpl.C (getString): adjust
8414 (lex): use getString
8418 * lyxlex.C (text): use pimpl_->getString()
8422 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8424 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8425 (makeFontEntriesLayoutSpecific): temp var for par.size()
8426 (setLayout): temp var for ownerParagraphs().end()
8427 (fullRebreak): temp var for rows().end()
8428 (selectionAsString): temp var for boost::next(startpit), realize
8429 that the while really is a regular for loop.
8430 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8431 setCursor in one place.
8432 (setParagraph): temp vr for ownerParagraphs().end()
8433 (updateCounters): make the while loop a for loop
8434 (cutSelection): temp var for ownerParagraphs().end()
8435 (updateInset): make the do {} while() a regular for loop
8436 (getCursorX): use temp vars
8437 (setCurrentFont): use temp vars
8438 (getColumnNearX): use temp vars
8440 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8442 * text.C (transformChar): use temp var for getChar
8443 (computeBidiTables): use temp var for row->par()
8444 (fill): move temp vars for row->par() and pit->layout() earlier in
8446 (labelFill): use temp var for row->par()
8447 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8448 asc and desc, realize that pit never changes and that firstpit is
8449 just a duplicate and not needed. Exchange rit->par() with pit in a
8451 (breakAgain): use a temp var for boost::next(rit)
8452 (breakAgainOneRow): ditto
8453 (breakParagraph): use a temp var for rows().begin()
8454 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8455 (cursorRightOneWord): use temp var for cursor.par() and
8456 cursor.pos(), remove usage of tmpcursor.
8457 (cursorLeftOneWord): use temp var for cursor.par() and
8458 cursor.pos() only set cur at end of function.
8460 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8462 * text.C, text2.C: exchange all usage of Paragraph::next with
8463 boost::next(ParagraphList::iterator)
8465 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8467 * text2.C (cursorTop): simplify implementation
8468 (cursorBottom): ditto
8469 (setParagraph): use ParagraphList::iterator
8470 (setCurrentFont): adjust
8471 (getColumnNearX): adjust
8472 (cursorRight): adjust
8473 (cursorLeft): remove usage of Paragraph::previous
8474 (cursorUpParagraph): ditto
8475 (deleteEmptyParagraphMechanism): slight cleanup
8477 * text.C (isBoundary): take a Paragraph const & instead of a
8479 (addressBreakPoint): ditto
8480 (leftMargin): remove usage of Paragraph::previous.
8481 (setHeightOfRow): ditto
8482 (cursorLeftOneWord): ditto
8483 (selectNextWordToSpellcheck): ditto
8486 (breakParagraph): remove one usage of Paragraph::next
8487 (redoParagraph): ditto
8488 (acceptChange): ditto
8489 (insertChar): adjust
8490 (rowBreakPoint): adjust
8492 * bufferview_funcs.C (toggleAndShow): adjust
8494 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
8496 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8497 methods to access it.
8499 * text.C: Added updateRowPositions to compute all row positions.
8500 Make top_y and getRowNearY() to use the cached y position
8502 2003-04-11 John Levon <levon@movementarian.org>
8504 * text.C (rowBreakPoint): reintroduce the labelEnd
8505 checks, code copied from the row fill stuff. Deep voodoo.
8507 * text.C (fill): add a comment and debugging for the
8510 2003-04-11 John Levon <levon@movementarian.org>
8512 * text.C: make sure fullrow insets get wrapped to the next line,
8513 even when they're in a manual label
8515 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
8517 * text2.C (insertParagraph): make it take ParagraphList::iterator
8519 (setLayout): make it return ParagraphList::iterator
8520 (redoParagraphs): ditto
8522 (checkParagraph): ditto
8524 * text.C (getRow): make getrow take ParagraphList::iterator as arg
8526 * text2.C: adjust several funcs.
8527 (realizeFont): take a ParagraphList::iterator as arg.
8528 (getLayoutFont): ditto
8529 (getLabelFont): ditto
8530 (setCharFont): ditto
8532 * text.C: adjust several funcs.
8534 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8536 * text.C (selectNextWordToSpellcheck): don't accidentally
8539 2003-04-10 John Levon <levon@movementarian.org>
8541 * ToolbarBackend.C (getIcon): special handling for
8544 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8546 * text2.C (cursorRight): a getChar assert fixed
8548 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8550 * text2.C (getFont): change to take a ParagraphList::iterator
8551 instead of Paragraph*
8552 Adjust several functions.
8554 * text.C (transformChar): change to take a ParagraphList::iterator
8555 instead of Paragraph*
8556 (singleWidth): ditto
8557 Adjust several functions.
8559 * rowpainter.C: adjust several functions
8560 * rowpainter.h:store a ParagraphList::iterator and not a
8564 2003-04-09 John Levon <levon@movementarian.org>
8569 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8570 and the "help" bits as well
8572 2003-04-09 John Levon <levon@movementarian.org>
8575 * ToolbarBackend.C: allow multiple toolbars
8577 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8579 * undo_funcs.C (setCursorParUndo): adjust
8581 * text_funcs.C (transposeChars): adjust
8583 * text3.C (gotoNextInset): adjust
8586 * text2.C (setLayout): adjust
8587 (changeDepth): adjust
8589 (redoParagraphs): adjust
8590 (selectionAsString): adjust
8591 (setParagraph): adjust
8592 (insertInset): adjust
8593 (cutSelection): adjust
8594 (copySelection): adjust
8595 (pasteSelection): adjust
8596 (insertStringAsLines): adjust
8597 (updateInset): adjust
8598 (setCursor): change to take a ParagraphList::iterator parameter
8599 (setCursorIntern): change to take a ParagraphList::iterator parameter
8600 (setCurrentFont): adjust
8601 (cursorLeft): adjust
8602 (cursorRight): adjust
8603 (deleteEmptyParagraphMechanism): adjust
8605 * text.C (breakParagraph): adjust
8606 (insertChar): adjust
8607 (acceptChange): adjust
8608 (rejectChange): adjust
8609 (selectNextWordToSpellcheck): adjust
8610 (changeCase): adjust
8614 * lyxfind.C (SearchForward): adjust
8615 (SearchBackward): adjust
8616 (nextChange): adjust
8618 * lyxcursor.C (par): adjust
8620 * lyxcursor.h: store a ParagraphList::iterator instead of a
8623 * lyx_cb.C (getPossibleLabel): adjust
8625 * bufferview_funcs.C (toggleAndShow): adjust
8627 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8630 * BufferView.C (removeAutoInsets): adjust
8631 (lockedInsetStoreUndo): adjust
8633 2003-04-09 John Levon <levon@movementarian.org>
8635 * ToolbarBackend.C: try icon without argument
8636 if with argument fails
8638 2003-04-08 John Levon <levon@movementarian.org>
8641 * ToolbarBackend.C: add getIcon(), handle tooltip,
8642 and change from "Icon" to "Item".
8644 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8646 * BufferView.C (lockInset): another bad getchar crunched
8648 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8650 * text2.C (changeDepth): do not setUndo on test_only (make undo work
8653 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
8655 * lyxfind.C (searchForward, searchBackwards): bug 782
8657 2003-04-07 John Levon <levon@movementarian.org>
8659 * paragraph.C: remove dead comment
8661 * text.C: remove troublesome depth-fiddling code
8662 in leftMargin() and rightMargin() (bug 1017)
8664 * text.C: fix breaking of rows in nested lists
8667 * text2.C (updateCounters): fix up depth values
8670 2003-04-07 John Levon <levon@movementarian.org>
8672 * BufferView_pimpl.C: clear message when doc finishes resizing,
8673 and after a mouse event
8675 * lyxfunc.C: clear message after exiting inset
8677 2003-04-07 John Levon <levon@movementarian.org>
8679 * bufferview_funcs.C: show math status not outside
8680 status in the statusbar
8682 2003-04-07 John Levon <levon@movementarian.org>
8684 * lyxfunc.C: note status changed after a depth change
8686 2003-04-04 Angus Leeming <leeming@lyx.org>
8688 * LaTeX.h: move AuxInfo operator==, != out of line.
8689 Remove LaTeX virtual destructor; nothing derives from it.
8690 Move operator()() out of public area and rename it startscript().
8691 Change protected for private.
8693 2003-04-04 Angus Leeming <leeming@lyx.org>
8696 * text2.C: remove unneeded #includes.
8698 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8700 * text2.C (dEPM): fix the heigth of the next row
8702 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8704 * text.C: squashed an invalid getChar requester + some ws changes
8706 2003-04-03 John Levon <levon@movementarian.org>
8708 * bufferview_funcs.h:
8709 * bufferview_funcs.C:
8712 * text2.C: make getStatus work for the env depth lfuns
8714 2003-04-03 John Levon <levon@movementarian.org>
8716 * bufferview_funcs.h:
8717 * bufferview_funcs.C:
8720 * text2.C: parlistize decDepth(), by merging it with incDepth()
8722 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8724 * lyxrow.h: store a ParagraphList::iterator instead of a
8725 Paragraph* and adjust other class functions to suit.
8727 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8730 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8732 * text2.C (setCursor): do not anchor to cursor row for the time being
8734 2003-04-02 John Levon <levon@movementarian.org>
8741 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8743 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8745 * paragraph.h: make ParagraphList and ParagraphList::iterator
8746 friends of Paragraph.
8748 * buffer.C (makeLinuxDocFile): move towards ParagraphList
8750 * ParagraphList.C: Use the private next_ and previous_ from
8753 2003-04-01 John Levon <levon@movementarian.org>
8757 * Makefile.am: rename, remove defaults gunk
8760 * MenuBackend.C: remove defaults gunk
8763 * Languages.C: remove defaults gunk
8766 * lyx_main.C: error out if files couldn't be found.
8768 2003-04-02 John Levon <levon@movementarian.org>
8770 * text2.C: make incDepth() use parlist
8772 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8774 * undo_funcs.C (firstUndoParagraph): adjust
8776 * text3.C (gotoInset): adjust
8777 (dispatch): adjust, and rewrite loop.
8779 * text2.C (init): adjust, and rewrite loop.
8780 (redoParagraphs): adjust
8781 (updateInset): adjust, and rewrite loop.
8782 (deleteEmptyParagraphMechanism): adjust
8784 * tabular.C (LyXTabular): adjust
8785 (SetMultiColumn): adjust
8788 * lyxtext.[Ch] (ownerParagraph): delete function
8789 (ownerParagraphs): new function returns a ParagraphList.
8791 * BufferView.C (removeAutoInsets): adjust
8792 (insertErrors): adjust
8793 (setCursorFromRow): adjust
8795 2003-04-01 Angus Leeming <leeming@lyx.org>
8797 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8800 2003-04-02 John Levon <levon@movementarian.org>
8806 * text_funcs.C: make transposeChars a free function
8808 * lyxrow_funcs.C: remove wrong comment
8810 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8813 * rowpainter.C: adjust
8818 * lyxrow_funcs. [Ch]: new files
8820 * lyxrow.[Ch]: remove next and previous pointers
8821 (next,previous): remove accessor functions
8822 (isParEnd): move to lyxrow_funcs
8823 (lastPos): move to lyxrow_funcs
8824 (nextRowIsAllInset): move to lyxrow_funcs
8825 (lastPrintablePos): move to lyxrow_funcs
8826 (numberOfSeparators): move to lyxrow_funcs
8827 (numberOfHfills): move to lyxrow_funcs
8828 (numberOfLabelHfills): move to lyxrow_funcs
8829 (hfillExpansion): move to lyxrow_funcs
8833 * bufferview_funcs.C (toggleAndShow): adjust
8835 * RowList.h: Remove class RowList from file leave just a
8838 * RowList.C: delete file
8840 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8843 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8845 * text3.C (cursorPrevious): adjust
8846 (cursorNext): adjust
8849 * text2.C (redoHeightOfParagraph): adjust
8850 (redoDrawingOfParagraph): adjust
8853 * text.C (breakParagraph): adjust
8854 (insertChar): adjust
8857 * rowpainter.C (RowPainter): adjust
8858 (leftMargin): simplify and adjust
8859 (most rowpainter functions): adjust.
8861 * rowpainter.h: store the row as RowList::iterator not as Row*
8863 * lyxcursor.C (row): taka RowList::iterator as arg
8866 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8869 2003-04-01 Angus Leeming <leeming@lyx.org>
8871 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8872 stuff like bool Bool.
8874 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8876 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8879 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8881 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8884 * lyxtext.h (rows): drop one version and leve a const variant that
8885 returns a RowList::iterator.
8887 2003-03-31 Angus Leeming <leeming@lyx.org>
8889 * text.C (fill): ensure that the signature is the same as that in the
8892 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
8894 * text2.C (redoParagraphs): adjust
8895 (updateCounters): adjust
8896 (checkParagraph): adjust
8897 (getColumnNearX): adjust and reformat a bit.
8899 * text.C (top_y): adjust
8901 (leftMargin): adjust
8902 (prepareToPrint): adjust
8904 (getRowNearY): adjust
8906 * lyxtext.h: make rowlist_ mutable.
8908 * RowList.h: add const_iterator
8909 * RowList.C: adjust for RowList::const_iterator.
8911 * text2.C (getCursorX): make it take a RowList::iterator as arg,
8914 2003-03-31 John Levon <levon@movementarian.org>
8917 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8919 * lyx_main.C: set default fonts from using lyx_gui funcs
8921 * exporter.C: pdf_mode moved from lyxrc
8924 * lyxfunc.C: changes from above
8926 2003-03-31 John Levon <levon@movementarian.org>
8928 * lyx_main.C: fix to the last fix
8930 2003-03-31 John Levon <levon@movementarian.org>
8932 * bufferlist.C: "Load original" -> "Load Original"
8938 * format.C: more Alert cleanups
8940 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8942 * text2.C (removeParagraph): make it take a RowList::iterator as
8944 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8945 (postRowPaint): make it take a RowList::iterator as arg, adjust.
8947 * text.C (anchor_row): make it take a RowList::iterator as arg,
8949 (computeBidiTables): make it take a const reference to Row instead
8950 of Row pointer, adjust.
8951 (leftMargin): make it take a RowList::iterator as arg, adjust.
8952 (rowBreakPoint): adjust
8953 (breakAgainOneRow): make it take a RowList::iterator as arg,
8955 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8957 * bufferview_funcs.C (toggleAndShow): adjust
8959 2003-03-30 John Levon <levon@movementarian.org>
8963 * boost-inst.C: moved to support
8965 * several files: changes as a result
8967 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8969 * text2.C (LyXText): adjust.
8971 (removeRow): make it take a RowList::iterator as arg, adjust.
8972 (fullRebreak): adjust
8973 (deleteEmptyParagraphMechanism): adjust
8974 (clearPaint): adjust
8977 * text.C (top_y): adjust
8978 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8979 (breakAgain): make it take a RowList::iterator as arg, adjust.
8980 (breakParagraph): adjust
8981 (insertChar): adjust
8984 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8985 need_break_row, and refresh_row.
8987 * text3.C (dispatch): adjust
8989 * text2.C (checkParagraph): adjust
8991 (setCursorFromCoordinates): adjust
8993 * text.C (top_y): adjust
8995 (getRow): make it return a RowList::iterator, adjust
8996 (getRowNearY): make it return a RowList::iterator, adjust
8998 * text2.C (init): adjust
8999 (insertRow): remove function
9000 (insertParagraph): adjust
9001 (redoParagraphs): adjust
9002 (fullRebreak): adjust
9003 (updateCounters): adjust
9005 * text.C (top_y): rewrite to use RowList iterators.
9007 (setHeightOfRow): rewrite to sue RowList iterators.
9008 (appendParagraph): adjust
9009 (breakAgain): adjust
9010 (breakAgainOneRow): adjust
9011 (breakParagraph): adjust
9013 (getRowNearY): adjust, and remove commented code.
9015 * lyxtext.h (firstRow): delete function
9016 (lastRow): delete function
9017 (rows): new function (const and non-const versions.)
9018 (insertRow): delete function
9020 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
9022 2003-03-29 John Levon <levon@movementarian.org>
9024 * BufferView_pimpl.C: always update scrollbar top
9025 because pasting text when we're anchored could mean we
9026 miss an update altogether
9028 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
9030 * text2.C (init): use rowlist_.end() and not 0.
9031 (insertRow): change to take a RowList::iterator as arg, adjust
9033 (insertParagraph): change to take a RowList::iterator as arg,
9035 (redoParagraphs): remove some debug msgs.
9037 * text.C (appendParagraph): change to take a RowList::iterator
9038 arg, adjust for this.
9039 (breakAgain): add an assert
9040 (breakAgainOneRow): ditto
9042 2003-03-29 John Levon <levon@movementarian.org>
9044 * text2.C: do not clear selection after inc/decDepth
9047 2003-03-29 John Levon <levon@movementarian.org>
9050 * buffer.C: fix broken strerrors according to Lars
9052 2003-03-29 John Levon <levon@movementarian.org>
9054 * converters.C: more Alert cleanups
9056 2003-03-29 John Levon <levon@movementarian.org>
9058 * bufferview_funcs.C: remove pointless Alert
9060 * buffer.C: fix confusing error message when
9061 a template is chmoded 000
9063 2003-03-29 John Levon <levon@movementarian.org>
9067 * BufferView_pimpl.C: Alert fixes
9071 * tabular-old.C: remove unused table compat reading
9073 2003-03-29 John Levon <levon@movementarian.org>
9078 * lyx_cb.C: more Alert cleanups
9080 * lyxfunc.C: don't allow chktex if not latex document
9082 2003-03-29 John Levon <levon@movementarian.org>
9086 * buffer.C: warnings pushed down from support/,
9089 2003-03-29 John Levon <levon@movementarian.org>
9091 * lyxfunc.C: safety check for C-r (revert)
9093 2003-03-29 John Levon <levon@movementarian.org>
9096 * bufferlist.C: several UI fixes using Alert::prompt.
9097 Fix the pointless looping quit code. Fix stupid revert
9102 * lyx_cb.C: use Alert::prompt
9104 * lyx_main.C: remove a silly question
9106 * lyxfunc.C: remove a couple of silly questions,
9109 2003-03-28 John Levon <levon@movementarian.org>
9111 * text2.C: fix bug 974 (End on empty par)
9113 2003-03-28 John Levon <levon@movementarian.org>
9115 * BufferView_pimpl.C:
9117 * lfuns.h: remove do-nothing math greek lfuns
9119 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
9121 * lyxgluelength.h (isValidGlueLength): add default arg on
9122 parameter 2. Remove default arg from friend in class.
9124 * lyxlength.h (isValidLength): add default arg on parameter 2.
9125 Remove default arg from friend in class.
9127 * text2.C (LyXText): adjust, initialize refresh_row.
9131 (insertParagraph): adjst
9132 (redoParagraphs): adjust
9133 (fullRebreak): adjust
9134 (updateCounters): adjust
9135 (deleteEmptyParagraphMechanism): first attempt at fixing a
9138 * text.C (top_y): adjust
9139 (setHeightOfRow): adjust
9141 (getRowNearY): adjust
9143 * lyxtext.h: include RowList.h
9144 (~LyXText): not needed anymore, deleted.
9145 (firstRow): modify for RowList
9146 (lastRow): new function
9147 Delete firstrow and lastrow class variables, add a Rowlist
9148 rowlist_ class variable.
9150 * lyxrow.C (lastPos): use empty() and not !size() to check if a
9153 * RowList.C (insert): fix case where it == begin().
9155 2003-03-26 Angus Leeming <leeming@lyx.org>
9157 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
9158 the thesaurus dialog.
9160 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
9162 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
9164 * RowList.[Ch]: new files
9166 * ParagraphList.C (erase): handle the case where it == begin
9169 2003-03-25 John Levon <levon@movementarian.org>
9173 * aspell.C: add new aspell support
9176 * lyxrc.C: Make use_pspell be use_spell_lib. Always
9179 2003-03-25 Angus Leeming <leeming@lyx.org>
9182 * LyXAction.C (init): new LFUN_INSET_INSERT.
9184 * BufferView_pimpl.C (dispatch): split out part of the
9185 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
9187 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
9190 2003-03-25 Angus Leeming <leeming@lyx.org>
9192 * lyxfunc.C (dispatch): changes to the Dialogs interface.
9194 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
9197 * text3.C: remove useless row->height(0)
9199 2003-03-25 John Levon <levon@movementarian.org>
9203 * text3.C: rename the refreshing stuff to better names
9205 2003-03-24 John Levon <levon@movementarian.org>
9207 * BufferView_pimpl.h:
9208 * BufferView_pimpl.C: update layout choice on a mouse
9211 2003-03-23 John Levon <levon@movementarian.org>
9213 * Makefile.am: fix commandtags.h reference
9215 2003-03-22 John Levon <levon@movementarian.org>
9217 * BufferView_pimpl.C:
9222 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
9224 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
9227 * text.C: take the rtl methods out of line
9229 2003-03-21 André Pönitz <poenitz@gmx.net>
9231 * metricsinfo.[Ch]: new files containing structures to be passed around
9232 during the two-phase-drawing...
9234 2003-03-21 André Pönitz <poenitz@gmx.net>
9236 * lyxtextclass.C: read 'environment' tag.
9238 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
9240 * text2.C (removeRow): fix bug 964
9242 2003-03-20 John Levon <levon@movementarian.org>
9246 * text2.C: paint cleanups. Inset::update() dropped font
9249 2003-03-19 John Levon <levon@movementarian.org>
9251 * lyxfunc.C: only fitcursor/markDirty if available()
9253 2003-03-19 John Levon <levon@movementarian.org>
9255 * commandtags.h: rename to ...
9257 * lfuns.h: ... this, and renumber / cleanup
9259 2003-03-19 John Levon <levon@movementarian.org>
9261 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
9262 fit the cursor after an lfun
9266 * BufferView_pimpl.h:
9267 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
9269 * LyXAction.C: layout-character should have ReadOnly
9271 * ParagraphParameters.C:
9273 * bufferview_funcs.C:
9280 * undo_funcs.C: changes from above
9282 2003-03-18 John Levon <levon@movementarian.org>
9284 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
9285 remove it from update()
9287 * lyxfunc.C: update layout choice after an lfun
9289 * text3.C: remove extra updateLayoutChoice()s
9291 2003-03-18 John Levon <levon@movementarian.org>
9293 * text.C: top_y change means full repaint, fix
9294 a drawing bug with cursor movement
9296 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
9300 * text2.C: anchor row on setCursor
9302 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
9304 * lyxtext.h: remove almost all mutable keywords
9307 * text3.C: remove const keywords accordingly
9309 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
9311 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
9313 (TeXEnvironment): ditto
9316 2003-03-17 John Levon <levon@movementarian.org>
9318 * text.C (rowBreakPoint): remove attempt to fix displayed
9319 math insets inside a manual label
9321 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
9323 * lyxtext.h: remove BufferView* as first arg from almost all class
9325 * other files: adjust.
9327 2003-03-17 John Levon <levon@movementarian.org>
9331 * text2.C: more paint cleanups
9333 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
9336 * rowpainter.C: remove "smart" background painting code
9338 2003-03-16 John Levon <levon@movementarian.org>
9343 * text3.C: add helper functions for setting refresh_row/y
9345 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
9347 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
9348 newline inset which *can* get inserted in the pass_thru layouts.
9349 This is primarily for literate documents.
9351 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
9353 * buffer.C: increment LYX_FORMAT to 223
9355 2003-03-14 André Pönitz <poenitz@gmx.net>
9357 * textclass.h: prepare for environment handling, ws changes
9358 * lyxlayout.C: read latexheader and latexfooter tags
9360 2003-03-14 John Levon <levon@movementarian.org>
9362 * text2.C: rewrite ::status() a bit
9364 2003-03-13 John Levon <levon@movementarian.org>
9366 * lyxtext.h: add some docs
9368 2003-03-13 John Levon <levon@movementarian.org>
9373 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
9375 2003-03-13 John Levon <levon@movementarian.org>
9377 * text3.C: fix appendix redrawing
9379 2003-03-13 John Levon <levon@movementarian.org>
9381 * text.C (setHeightOfRow):
9383 * rowpainter.C: make appendix mark have the text
9384 "Appendix" so the user knows what it is
9387 * LColor.C: s/appendixline/appendix/ from above
9389 2003-03-13 John Levon <levon@movementarian.org>
9391 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
9393 * text.C: fix a getChar(pos) bug properly
9395 2003-03-13 Angus Leeming <leeming@lyx.org>
9398 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
9399 Probably only temporary. Let's see how things pan out.
9401 * BufferView.C (unlockInset):
9402 * BufferView_pimpl.C (fitCursor):
9403 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
9405 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
9406 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
9408 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
9409 new functions that convert ParagraphParameters to and from a string.
9411 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9412 BufferView::Pimpl's dispatch.
9413 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9415 2003-03-13 André Pönitz <poenitz@gmx.net>
9419 * factory.C: make it aware of InsetEnv
9421 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
9423 * text2.C (setCursor): never ask for one past last
9424 (setCursor): add some debugging messages.
9426 * text.C (singleWidth): never ask for one past last
9427 (singleWidth): ditto
9429 (rightMargin): ditto
9430 (rowBreakPoint): ditto
9431 (setHeightOfRow): ditto
9432 (prepareToPrint): ditto
9434 * rowpainter.C (paintBackground): never ask for one past last
9435 (paintText): never ask for one past last
9437 * paragraph_pimpl.C (getChar): make the assert stricter, never
9438 allow the one past last pos to be taken
9440 * paragraph.C (getChar): ws changes only
9442 * lyxrow.C (nextRowIsAllInset): never ask for one past last
9443 (numberOfSeparators): ditto
9444 (numberOfHfills): ditto
9446 2003-03-12 John Levon <levon@movementarian.org>
9452 * paragraph_funcs.C: fix per-buffer authorlists
9454 2003-03-12 John Levon <levon@movementarian.org>
9456 * text.C: fix newline in right address
9458 2003-03-12 Angus Leeming <leeming@lyx.org>
9460 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9461 duplicate those in LyXFunc::dispatch.
9465 * ToolbarDefaults.C:
9466 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9467 Add LFUN_FONTFREE_UPDATE.
9469 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9470 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9472 * bufferview_func.[Ch]: several new functions to facilliate
9473 transfer of data to and from the character dialog.
9475 2003-03-12 John Levon <levon@movementarian.org>
9480 * paragraph_funcs.C:
9481 * paragraph_pimpl.C:
9485 * text3.C: remove META_NEWLINE in favour of an inset
9488 * rowpainter.C: remove paintNewline (done by inset)
9490 2003-03-12 John Levon <levon@movementarian.org>
9492 * paragraph_pimpl.C: complain about bad getChar()s
9493 for a while at least
9495 2003-03-12 John Levon <levon@movementarian.org>
9498 * buffer.C: move paragraph read into a separate function,
9499 a little renaming to reflect that.
9502 * bufferparams.C: remove the author_ids map, not necessary now
9505 * factory.C: moved Buffer::readInset to here
9507 * paragraph_funcs.h:
9508 * paragraph_funcs.C: readParagraph free function moved from
9511 * tabular.C: name change
9513 2003-03-12 John Levon <levon@movementarian.org>
9516 * ParagraphParameters.C: move par params input to
9519 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9520 behave like a normal read from the stream wrt reading
9521 a line vs. a \\token
9523 2003-03-12 John Levon <levon@movementarian.org>
9526 * ParagraphParameters.h:
9527 * ParagraphParameters.C: move output code to a
9530 2003-03-12 John Levon <levon@movementarian.org>
9532 * BufferView.C (insertLyXFile):
9535 * tabular.C: use a parlist iterator for creating the
9538 2003-03-12 John Levon <levon@movementarian.org>
9540 * buffer.C: make current_change static local not
9543 2003-03-12 John Levon <levon@movementarian.org>
9545 * buffer.C: fix insertStringAsLines for change tracking
9547 2003-03-12 John Levon <levon@movementarian.org>
9554 * bufferparams.C: move author list into params. Rename some
9555 functions. Move the header reading into a separate token
9556 loop. Move the header token reading into BufferParams.
9558 2003-03-12 John Levon <levon@movementarian.org>
9560 * changes.C: put debug inside lyxerr.debugging() checks
9562 2003-03-11 André Pönitz <poenitz@gmx.net>
9564 * factory.C: make it aware of InsetHFill
9566 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9568 * buffer.C (latexParagraphs): move function from here...
9569 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9572 2003-03-10 Angus Leeming <leeming@lyx.org>
9574 * LyXAction.C (init): fix bug in poplating array with multiple entries
9575 with the same LFUN (spotted by JMarc).
9577 2003-03-10 John Levon <levon@movementarian.org>
9580 * text2.C: move getColumnNearX() near its
9583 2003-03-10 John Levon <levon@movementarian.org>
9585 * text.C: fix break before a minipage
9587 2003-03-10 John Levon <levon@movementarian.org>
9589 * text.C: fix the last commit
9591 2003-03-09 John Levon <levon@movementarian.org>
9595 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9596 bug 365 (don't break before insets unless needed). Don't
9597 return a value > last under any circumstances.
9599 2003-03-09 Angus Leeming <leeming@lyx.org>
9601 * BufferView_pimpl.C (trackChanges, dispatch): call
9602 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9604 2003-03-09 Angus Leeming <leeming@lyx.org>
9606 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9607 than Dialogs::showAboutlyx().
9609 2003-03-09 Angus Leeming <leeming@lyx.org>
9611 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9612 than Dialogs::showTabularCreate().
9614 2003-03-09 John Levon <levon@movementarian.org>
9618 * text2.C: 3rd arg to nextBreakPoint was always the same.
9621 2003-03-08 John Levon <levon@movementarian.org>
9628 * text2.C: Remove the "main" bit from the "main body"
9631 2003-03-08 John Levon <levon@movementarian.org>
9633 * text.C (leftMargin): The left margin of an empty
9634 manual label paragraph should not include the label width
9637 * text.C (prepareToPrint): don't attempt to measure hfills
9638 for empty manual label paragraphs - the answer should be 0
9640 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9642 * CutAndPaste.C: remove commented code and reindent.
9644 2003-03-08 John Levon <levon@movementarian.org>
9647 * lyxfunc.C: move reloadBuffer()
9650 * BufferView.C: to here
9652 * lyxvc.C: add comment
9655 * vc-backend.C: call bv->reload() to avoid
9656 getStatus() check on MENURELOAD
9658 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
9660 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9661 to an old format .dep file.
9663 2003-03-07 Angus Leeming <leeming@lyx.org>
9665 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9666 when the LFUN_MOUSE_RELEASE should have been handled by
9667 inset->localDispatch.
9669 2003-03-07 Angus Leeming <leeming@lyx.org>
9671 * BufferView_pimpl.C (dispatch):
9672 * LyXAction.C (init):
9673 * ToolbarDefaults.C (init):
9675 * lyxfunc.C (getStatus):
9676 remove LFUN_INSET_GRAPHICS.
9678 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9680 2003-03-07 Angus Leeming <leeming@lyx.org>
9683 * LyXAction.C (init):
9684 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9686 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9689 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9691 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9692 localDispatch method LFUN_INSET_DIALOG_UPDATE.
9694 2003-03-07 Angus Leeming <leeming@lyx.org>
9696 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9699 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9701 * ParagraphList.C (front): new function
9704 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
9706 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9707 and top_row_offset_. removed var first_y.
9709 * text2.C (LyXText, removeRow):
9711 * BufferView_pimpl.C:
9712 use these methods instead of using first_y
9714 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9716 * text2.C (pasteSelection): adjust for checkPastePossible
9718 * CutAndPaste.C: remove Paragraph * buf and replace with
9719 ParagraphList paragraphs.
9720 (DeleteBuffer): delete
9721 (cutSelection): change the tc type to textclass_type
9722 (copySelection): change the tc type to textclass_type
9723 (copySelection): adjust for ParagraphList
9724 (pasteSelection): change the tc type to textclass_type
9725 (pasteSelection): adjust for Paragraphlist
9726 (nrOfParagraphs): simplify for ParagraphList
9727 (checkPastePossible): simplify for ParagraphList
9728 (checkPastePossible): remove unused arg
9730 * ParagraphList.C (insert): handle the case where there are no
9733 * CutAndPaste.h: make CutAndPaste a namespace.
9735 * text3.C (dispatch): adjust
9737 * text.C (breakParagraph): add a ParagraphList as arg
9739 * paragraph_funcs.C (breakParagraph): change to take a
9740 BufferParams and a ParagraphList as args.
9741 (breakParagraphConservative): ditto
9742 (mergeParagraph): ditto
9743 (TeXDeeper): add a ParagraphList arg
9744 (TeXEnvironment): ditto
9747 * buffer.C (readLyXformat2): adjust
9748 (insertStringAsLines): adjust
9749 (latexParagraphs): adjust
9751 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9752 (cutSelection): adjust
9753 (pasteSelection): adjust
9755 * BufferView_pimpl.C (insertInset): adjust
9757 2003-03-05 Angus Leeming <leeming@lyx.org>
9760 * LyXAction.C (init):
9761 * BufferView_pimpl.C (dispatch):
9762 * lyxfunc.C (getStatus):
9763 remove LFUN_CHILD_INSERT.
9765 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9767 2003-03-05 Angus Leeming <leeming@lyx.org>
9770 * LyXAction.C (init):
9771 * src/factory.C (createInset):
9772 * lyxfunc.C (getStatus):
9773 * text3.C (dispatch):
9774 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9776 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9778 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9780 * ParagraphList.C (insert): handle insert right before end()
9781 (erase): fix cases where it can be first or last paragraph.
9783 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9785 * paragraph_funcs.C (TeXEnvironment): remove all usage of
9786 Paragraph::next and Paragraph::previous
9789 * text.C (breakParagraph): adjust
9791 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9792 BufferParams& as arg.
9793 (breakParagraph): use ParagraphList::insert
9794 (breakParagraphConservative): take a Buffer* instead of a
9795 BufferParams& as arg.
9796 (breakParagraphConservative): use ParagraphList::insert.
9798 * buffer.C (insertStringAsLines): un-const it
9799 (insertStringAsLines): adjust
9801 * ParagraphList.C (insert): new function
9803 * CutAndPaste.C (pasteSelection): adjust
9805 * text.C (backspace): adjust
9807 * tabular.C (SetMultiColumn): adjust
9809 * CutAndPaste.C (cutSelection): adjust
9810 (pasteSelection): adjust
9812 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9813 Buffer const * as arg
9815 * ParagraphList.C (erase): new function
9816 * paragraph_funcs.C (mergeParagraph): use it
9817 (mergeParagraph): make it take a Buffer* instead of a
9818 BufferParams* as arg
9820 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9822 (breakParagraphConservative): ditto
9824 * paragraph.h: remove the breakParagraph friend
9826 * paragraph.C (eraseIntern): new function
9827 (setChange): new function
9829 * paragraph_funcs.C (mergeParagraph): make it take a
9830 ParagraphList::iterator instead of a Paragraph *, adjust
9833 * paragraph.h: move an #endif so that the change tracking stuff
9834 also works in the NO_NEXT case.
9836 2003-03-04 Angus Leeming <leeming@lyx.org>
9839 * LyXAction.C: new LFUN_INSET_MODIFY.
9841 * BufferView_pimpl.C (dispatch): if an inset is found to be open
9842 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9844 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9846 * several files: ws changes only
9848 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9849 (TeXEnvironment): ditto
9852 * buffer.C (makeLaTeXFile): adjust
9853 (latexParagraphs): make it take ParagraphList::iterator as args
9855 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
9857 * buffer.C (latexParagraphs): adjust
9859 * paragraph.C (TeXOnePar): move function...
9860 (optArgInset): move function...
9861 (TeXEnvironment): move function...
9862 * paragraph_pimpl.C (TeXDeeper): move function...
9863 * paragraph_funcs.C: ...here
9865 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9867 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9869 * buffer.C (readInset): remove compability code for old Figure and
9872 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9874 * buffer.C: ws changes
9877 * BufferView_pimpl.C: ditto
9880 * bufferlist.h: ditto
9884 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
9886 * converter.[Ch]: split into itself +
9889 * Makefile.am: += graph.[Ch] + format.[Ch]
9896 * lyxrc.C: added #include "format.h"
9898 2003-02-27 Angus Leeming <leeming@lyx.org>
9900 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9903 * factory.C (createInset): add "label" to the factory.
9905 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9906 string and do no more.
9908 2003-02-27 Angus Leeming <leeming@lyx.org>
9911 * LyXAction.C (init):
9912 * factory.C (createInset):
9913 * BufferView_pimpl.C (dispatch):
9914 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9916 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9918 * lyxfunc.C (dispatch):
9919 * text3.C (dispatch): pass name to params2string.
9921 2003-02-26 Angus Leeming <leeming@lyx.org>
9923 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9925 Rearrange the ~includes. Strip out the unnecessary ones.
9927 * factory.C (createInset): reformat.
9928 create new insets for the various LFUN_XYZ_APPLY lfuns.
9930 2003-02-26 John Levon <levon@movementarian.org>
9933 * lyxrow.C: add isParStart,isParEnd helpers
9935 * paragraph.h: make isInserted/DeletedText take refs
9937 * paragraph_funcs.h:
9938 * paragraph_funcs.C: remove #if 0'd code
9943 * text.C: use lyxrow helpers above.
9944 Move draw and paint routines to RowPainter.
9945 Make several methods use refs not pointers.
9946 Make backgroundColor() const.
9947 Add markChangeInDraw(), isInInset().
9948 Merge changeRegionCase into changeCase.
9949 Make workWidth() shouldn't-happen code into an Assert.
9952 * rowpainter.C: new class for painting a row.
9955 * vspace.C: make inPixels take a ref
9957 2003-02-26 Angus Leeming <leeming@lyx.org>
9959 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9962 2003-02-25 John Levon <levon@movementarian.org>
9964 * ispell.C: give the forked command a more accurate name
9966 2003-02-22 John Levon <levon@movementarian.org>
9969 * toc.C: make TocItem store an id not a Paragraph *
9972 2003-02-21 Angus Leeming <leeming@lyx.org>
9974 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9975 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9976 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9977 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9978 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9979 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9981 * BufferView_pimpl.C (dispatch):
9982 * LyXAction.C (init):
9983 * factory.C (createInset):
9984 * lyxfunc.C (getStatus, dispatch):
9985 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9987 2003-02-21 Angus Leeming <leeming@lyx.org>
9989 * BufferView_pimpl.C (MenuInsertLyXFile):
9990 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9991 * lyxfunc.C (menuNew, open, doImport):
9992 no longer pass a LyXView & to fileDlg.
9994 2003-02-21 Angus Leeming <leeming@lyx.org>
9996 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9997 * LyXAction.C: change, BIBKEY to BIBITEM.
9998 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9999 Change InsetBibKey to InsetBibitem.
10000 Change BIBKEY_CODE to BIBITEM_CODE.
10001 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10002 * factory.C: replace insetbib.h with insetbibitem.h.
10003 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10004 * paragraph.C: replace insetbib.h with insetbibitem.h.
10005 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
10006 Change bibkey() to bibitem().
10007 * text.C: remove insetbib.h.
10008 * text2.C: replace insetbib.h with insetbibitem.h.
10009 change bibkey() to bibitem().
10010 * text3.C: remove insetbib.h.
10011 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10013 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10015 * lyxrc.C (output): enclose user email in quotes (in case there are
10018 2003-02-18 John Levon <levon@movementarian.org>
10020 * buffer.h: add std::
10022 2003-02-17 John Levon <levon@movementarian.org>
10028 * pspell.C: reworking. Especially in ispell, a large
10029 number of clean ups and bug fixes.
10031 * lyxfunc.C: fix revert to behave sensibly
10033 2003-02-17 André Pönitz <poenitz@gmx.net>
10036 * commandtags.h: new LFUN_INSERT_BIBKEY
10046 * paragraph_func.C: remove special bibkey handling
10048 2003-02-17 John Levon <levon@movementarian.org>
10050 * text.C (Delete): fix case where delete at the end of
10051 the very first paragraph would not merge the pars
10053 2003-02-17 John Levon <levon@movementarian.org>
10055 * lyxrow.C: fix lastPrintablePos()
10057 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10059 * bufferparams.C (writeLaTeX): add a std:here
10061 * buffer.C: and remove a using directive there
10063 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10065 * buffer.C (makeLaTeXFile): move the code that generates the
10068 * bufferparams.C (writeLaTeX): ... in this new method
10070 * LaTeXFeatures.C (getEncodingSet): make const
10071 (getLanguages): make const
10073 * MenuBackend.C (binding): returns the binding associated to this
10075 (add): sets the status of each item by calling getStatus. Adds
10077 (read): add support for OptSubMenu
10078 (expand): remove extra separator at the end of expanded menu
10080 2003-02-15 John Levon <levon@movementarian.org>
10083 * BufferView_pimpl.C:
10085 * bufferlist.C: remove pointless BufferStorage bloat. Remove
10086 inset code that had no actual effect. Remove unneeded status
10089 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10091 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
10094 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
10096 * text.C (drawLengthMarker): also draw an arrow marker for
10097 symbolic lengths (medskip...)
10099 2003-02-14 John Levon <levon@movementarian.org>
10102 * tabular.C: better method names
10104 2003-02-14 John Levon <levon@movementarian.org>
10106 * BufferView_pimpl.C:
10111 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
10112 it's a more accurate name. Remove some pointless uses.
10114 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10116 * text2.C (LyXText): change order of initilizers to shut off
10119 2003-02-14 John Levon <levon@movementarian.org>
10121 * buffer.C: use ParIterator for getParFromID()
10125 * paragraph_pimpl.h:
10126 * paragraph_pimpl.C: remove unused getParFromID()
10128 2003-02-14 John Levon <levon@movementarian.org>
10130 * buffer.C: remove some very old #if 0'd parse code
10132 2003-02-13 John Levon <levon@movementarian.org>
10136 * text2.C: move hfillExpansion(), numberOfSeparators(),
10137 rowLast(), rowLastPrintable(), numberofHfills(),
10138 numberOfLabelHfills() ...
10141 * lyxrow.C: ... to member functions here.
10146 * text.C: remove LyXText::beginningOfMainBody(), and call
10147 p->beginningOfMainBody() directly. Move the check for
10148 LABEL_MANUAL into the latter.
10155 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
10161 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
10162 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
10164 2003-02-13 John Levon <levon@movementarian.org>
10166 * CutAndPaste.C: remove debug
10168 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10170 * paragraph.C (asString): remove two unused variables
10172 * lyxtextclass.C (readTitleType):
10174 (LyXTextClass): handle new members titletype_ and titlename_
10176 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
10178 2003-02-09 John Levon <levon@movementarian.org>
10181 * buffer.C: replace hand-coded list with a map for the dep clean
10183 2003-02-08 John Levon <levon@movementarian.org>
10185 * LaTeX.C: consolidate code into showRunMessage() helper
10187 2003-02-08 John Levon <levon@movementarian.org>
10192 * BufferView.C: change setSelectionOverString() to setSelectionRange()
10193 and pass the size in explicitly
10195 * BufferView_pimpl.h:
10196 * BufferView_pimpl.C:
10198 * BufferView.C: add getCurrentChange()
10200 * BufferView_pimpl.h:
10201 * BufferView_pimpl.C: handle change lfuns
10203 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
10204 for changes. Mark pasted paragraphs as new.
10206 * support/lyxtime.h:
10207 * support/lyxtime.C:
10208 * DepTable.C: abstract time_t as lyx::time_type
10211 * LColor.C: add colours for new text, deleted text, changebars
10213 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
10214 package use "usenames" option.
10218 * LyXAction.C: add change lfuns
10222 * author.C: author handling
10225 * buffer.C: add a per-buffer author list, with first entry as
10226 current author. Handle new .lyx tokens for change tracking. Output
10227 author list to .lyx file. Output dvipost stuff to .tex preamble.
10228 Bump lyx format to 222.
10231 * bufferlist.C: add setCurrentAuthor() to reset current author details
10235 * bufferparams.C: add param for tracking
10237 * bufferview_funcs.C: output change info in minibuffer
10241 * changes.C: add change-tracking structure
10244 * debug.C: add CHANGES debug flag
10247 * lyxfind.C: add code for finding the next change piece
10250 * lyxrc.C: add user_name and user_email
10253 * lyxrow.C: add a metric for the top of the text line
10256 * text.C: implement accept/rejectChange()
10259 * text.C: paint changebars. Paint new/deleted text in the chosen
10260 colours. Strike through deleted text.
10264 * paragraph_pimpl.h:
10265 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
10266 in the current change to the insert functions. Rework erase to
10267 mark text as deleted, adding an eraseIntern() and a range-based
10268 erase(). Implement per-paragraph change lookup and
10271 * paragraph_funcs.C: Fixup paste for change tracking.
10273 * tabular.C: mark added row/columns as new.
10275 * text.C: fix rowLast() to never return -1. Don't allow
10276 spellchecking of deleted text. Track transpose changes. Don't
10277 allow paragraph break or merge where appropriate.
10279 * text2.C: leave cursor at end of selection after a cut.
10281 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10283 * text.C (getLengthMarkerHeight):
10284 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
10285 visible on screen too.
10287 2003-02-07 John Levon <levon@movementarian.org>
10289 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
10291 2003-02-05 Angus Leeming <leeming@lyx.org>
10293 * lyxserver.C (read_ready): revert my patch of 11 September last year
10294 as it sends PC cpu through the roof. Presumably this means that
10295 the lyxserver will no longer run on an Alpha...
10297 2003-01-30 Angus Leeming <leeming@lyx.org>
10299 * factory.C (createInset): create an InsetCommandParam of type "index"
10300 and use it to 'do the right thing'.
10302 * text2.C (getStringToIndex): ensure that cursor position is always
10303 reset to the reset_cursor position.
10305 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10307 * lyxfunc.C (getStatus): "buffer-export custom" should never be
10310 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
10314 * lyxfunc.C: Output messages with identical spelling, punctuation,
10317 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
10319 * MenuBackend.C (expandFormats): List only viewable export formats
10322 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
10325 * lyxfunc.C (getStatus): Make sure that formats other than
10326 "fax" can also be disabled
10328 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10330 * text3.C (dispatch): put the lfuns that insert insets in 3
10331 groups, and call doInsertInset with appropriate arguments.
10332 (doInsertInset): new function, that creates an inset and inserts
10333 it according to some boolean parameters.
10335 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
10337 * buffer.C (readFile): remember to pass on 'par' when calling
10338 readFile recursively.
10340 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10342 * MenuBackend.C (expandFormats): add "..." to import formats.
10344 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
10346 * paragraph.C (asString): Remove XForms RTL hacks.
10348 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
10349 * buffer.C: fix typo
10351 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
10353 * Makefile.am (LIBS): delete var
10354 (lyx_LDADD): add @LIBS@ here instead.
10356 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
10358 * Clarify the meaning of "wheel mouse jump"
10360 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10362 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
10365 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10367 * importer.C (Loaders): do not preallocate 3 elements in the
10368 vector, since one ends up with 6 elements otherwise
10370 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10372 * DepTable.C (write): write the file name as last element of the
10373 .dep file (because it may contain spaces)
10374 (read): read info in the right order
10376 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10378 * paragraph_pimpl.C (simpleTeXBlanks):
10379 (simpleTeXSpecialChars):
10380 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
10382 * tabular.C (latex): add some missing case statements. Reindent.
10384 * MenuBackend.C (expandToc): remove unused variable.
10386 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
10395 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
10398 2003-01-05 John Levon <levon@movementarian.org>
10401 * BufferView.C: add getEncoding()
10404 * kbsequence.C: do not store last keypress
10407 * lyxfunc.C: store last keypress here instead. Pass encoding
10410 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10412 * lyx_main.C (init): remove annoying error message when following
10413 symbolic links (bug #780)
10415 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10417 * text.C (insertChar):
10418 * lyxrc.C (getDescription): remove extra spaces
10420 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10422 * lyxrc.C (getDescription): remove extra spaces
10424 2002-12-20 John Levon <levon@movementarian.org>
10426 * text3.C: hack fix for page up/down across tall rows
10428 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10430 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10433 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10435 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10436 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10437 thesaurus is not compiled in
10439 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
10441 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
10443 2002-12-16 Angus Leeming <leeming@lyx.org>
10446 * lyx_main.C (init): remove override_x_deadkeys stuff.
10448 2002-12-12 John Levon <levon@movementarian.org>
10450 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10451 insert. Only remove shift modifier under strict
10454 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
10456 * MenuBackend.C (expandToc): fix crash.
10458 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
10460 * MenuBackend.C (expandToc): gettext on float names.
10462 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
10464 * lyxlength.[Ch]: set default unit to UNIT_NONE,
10465 implement bool empty() [bug 490]
10467 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
10469 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10471 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
10473 * several files: ws changes
10475 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
10477 * text2.C (setCounter): clean up a bit, use boost.format.
10478 (updateCounters): initialize par upon declaration.
10480 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10481 if the layout exists. We do not just store the layout any more.
10482 (SwitchLayoutsBetweenClasses): use boost.format
10484 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10486 * converter.C (convert): if from and to files are the same, use a
10487 temporary files as intermediary
10489 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10492 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10494 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
10496 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10498 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
10500 * tabular.C (asciiPrintCell): use string(size, char) instead of
10503 * sgml.C (openTag): fix order of arguments to string constructor
10506 * lyxfunc.C (dispatch): use boost.format
10508 * lots of files: change "c" -> 'c'
10510 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
10512 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10514 2002-11-25 Angus Leeming <leeming@lyx.org>
10516 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10518 * lyx_main.C (init): compile fix.
10520 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
10522 * lyx_cb.C (start): boost.formatify
10523 do not include <iostream>
10525 * lengthcommon.C: ws only
10527 * boost-inst.C,BoostFormat.h: add more explict instantations
10529 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
10531 * lots of files: handle USE_BOOST_FORMAT
10533 2002-11-21 John Levon <levon@movementarian.org>
10535 * pspell.C: fix compile
10537 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10539 * lyxfunc.C (dispatch): use boost::format
10543 * lyxfont.C (stateText): use boost::format
10545 * lyx_main.C (LyX): use boost::format
10547 (queryUserLyXDir): ditto
10548 (readRcFile): ditto
10550 (typedef boost::function): use the recommened syntax.
10552 * importer.C (Import): use boost::format
10554 * debug.C (showLevel): use boost::format
10556 * converter.C (view): use boost::format
10561 * bufferview_funcs.C (currentState): use boost::format
10563 * bufferlist.C (emergencyWrite): use boost::format
10565 * buffer.C (readLyXformat2): use boost::format
10566 (parseSingleLyXformat2Token): ditto
10568 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10570 * LaTeX.C (run): use boost::format
10572 * Chktex.C (scanLogFile): use boost::format
10574 * BufferView_pimpl.C (savePosition): use boost::format
10575 (restorePosition): ditto
10576 (MenuInsertLyXFile): ditto
10578 * BoostFormat.h: help file for explicit instation.
10580 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
10582 * tabular.C (latex): Support for block alignment in fixed width
10585 2002-11-17 John Levon <levon@movementarian.org>
10587 * BufferView_pimpl.C:
10589 * lyxfunc.C: split filedialog into open/save
10591 2002-11-08 Juergen Vigna <jug@sad.it>
10593 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10594 by my last patch (hopefully).
10596 2002-11-08 John Levon <levon@movementarian.org>
10605 * toc.C: ParConstIterator, and use it (from Lars)
10607 2002-11-07 Ben Stanley <bds02@uow.edu.au>
10609 * lyxtextclass.[Ch]: revise and add doxygen comments
10611 2002-11-07 John Levon <levon@movementarian.org>
10613 * text.C: fix progress value for spellchecker
10615 * toc.C: fix navigate menu for insetwrap inside minipage
10617 * paragraph_funcs.C: added FIXME for suspect code
10619 2002-11-07 John Levon <levon@movementarian.org>
10621 * BufferView_pimpl.C: fix redrawing of insets
10624 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10626 * text2.C (updateCounters): fix bug 668
10628 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
10630 * text3.C (dispatch): Do not make the buffer dirty when moving the
10633 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10635 * vc-backend.C: STRCONV
10636 (scanMaster): ditto
10638 * text2.C (setCounter): STRCONV
10640 * paragraph.C (asString): STRCONV
10642 * lyxlength.C (asString): STRCONV
10643 (asLatexString): ditto
10645 * lyxgluelength.C (asString): STRCONV
10646 (asLatexString): ditto
10648 * lyxfunc.C (dispatch): STRCONV
10651 * lyxfont.C (stateText): STRCONV
10653 * importer.C (Import): STRCONV
10655 * counters.C (labelItem): STRCONV
10656 (numberLabel): ditto
10657 (numberLabel): remove unused ostringstream o
10662 * bufferview_funcs.C (currentState): STRCONV
10664 * buffer.C (readFile): STRCONV
10665 (asciiParagraph): ditto
10666 (makeLaTeXFile): ditto
10668 * Spacing.C (writeEnvirBegin): STRCONV
10670 * LaTeXFeatures.C (getLanguages): STRCONV
10671 (getPackages): ditto
10673 (getBabelOptions): ditto
10674 (getTClassPreamble): ditto
10675 (getLyXSGMLEntities): ditto
10676 (getIncludedFiles): ditto
10680 (scanAuxFile): ditto
10683 * LString.h: add the STRCONV macros
10685 * BufferView_pimpl.C (savePosition): STRCONV
10686 (restorePosition): ditto
10687 (MenuInsertLyXFile): ditto
10689 * vc-backend.C (scanMaster): change from submatch[...] to
10692 * funcrequest.C: include config.h
10694 * factory.C: include config.h
10696 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10698 * box.C: include config.h
10700 * LaTeX.C (scanAuxFile): change from submatch[...] to
10704 2002-10-25 Angus Leeming <leeming@lyx.org>
10706 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10708 * ispell.[Ch] (setError): new method.
10709 * ispell.C (c-tor): move out child process into new class LaunchIspell.
10710 Use setError() insetead of goto END.
10712 * lyx_cb.C (AutoSave): move out child process into new class
10715 2002-10-30 John Levon <levon@movementarian.org>
10717 * text3.C: make start appendix undoable
10719 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
10721 * lyxlength.C (inPixels): Fix returned value.
10723 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10726 2002-10-24 Angus Leeming <leeming@lyx.org>
10728 * lyxgluelength.h: no need to forward declare BufferParams
10729 or BufferView, so don't.
10731 2002-10-21 John Levon <levon@movementarian.org>
10733 * BufferView.C: menuUndo ->undo, redo
10735 * BufferView.h: document, remove dead, make some methods private
10737 * paragraph_funcs.h:
10738 * paragraph_funcs.C:
10739 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10744 * sgml.C: move sgml open/close tag into sgml.C
10746 * bufferview_funcs.h: unused prototype
10749 * lyxfunc.C: remove unused
10752 * text.C: remove unused
10754 2002-10-21 John Levon <levon@movementarian.org>
10758 * BufferView_pimpl.h:
10759 * BufferView_pimpl.C: fix mouse wheel handling based on
10760 patch from Darren Freeman
10762 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
10764 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10766 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
10768 * lyxlength.C (inPixels): Fix hanfling of negative length.
10769 Fix LyXLength::MU case.
10771 2002-10-16 John Levon <levon@movementarian.org>
10773 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10775 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10777 * converter.C (view): add support for $$i (file name) and $$p
10778 (file path) for the viewer command. If $$i is not specified, then
10779 it is appended to the command (for compatibility with old syntax)
10781 2002-10-14 Juergen Vigna <jug@sad.it>
10783 * undo_funcs.C (textHandleUndo): alter the order in which the
10784 new undopar is added to the LyXText, as we have to set first
10785 the right prev/next and then add it as otherwise the rebuild of
10786 LyXText is not correct. Also reset the cursor to the right paragraph,
10787 with this IMO we could remove the hack in "redoParagraphs()".
10789 2002-10-09 Angus Leeming <leeming@lyx.org>
10791 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10792 to turn off an optimisation if a new inset is to be inserted.
10794 2002-10-11 André Pönitz <poenitz@gmx.net>
10796 * lyxtext.h: make some functions public to allow access
10797 from inset/lyxtext for handling LFUN_PRIOR/NEXT
10799 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10801 * text3.C (dispatch): when changing layout, avoid an infinite loop
10804 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10806 * lyxrc.C (read): treat a viewer or converter command of "none" as
10809 * MenuBackend.C (expandFormats): for an update, also allow the
10810 formats that are not viewable
10812 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10813 script if it is newer than the lyxrc.defaults in user directory
10815 2002-10-07 André Pönitz <poenitz@gmx.net>
10817 * text.C: Vitaly Lipatov's small i18n fix
10819 2002-09-25 Angus Leeming <leeming@lyx.org>
10821 * ispell.h: doxygen fix.
10823 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
10825 * buffer.h (readFile): Add a new argument to the method, to allow
10826 reading of old-format templates.
10828 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
10830 * toc.C (getTocList): Get TOC from InsetWrap.
10832 2002-09-16 John Levon <levon@movementarian.org>
10834 * lyxfunc.C: check tabular for cut/copy too
10836 2002-09-12 John Levon <levon@movementarian.org>
10838 * LyXAction.C: tidy
10841 * factory.C: add header
10843 * paragraph_funcs.h:
10844 * paragraph_funcs.C: cleanup
10846 2002-09-11 John Levon <levon@movementarian.org>
10848 * PrinterParams.h: odd/even default to true
10850 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
10852 * PrinterParams.h: update printer parameters for new xforms dialog
10854 2002-09-11 Angus Leeming <leeming@lyx.org>
10856 * lyxserver.C (read_ready): re-write to make it more transparent
10857 and to make it work in coherent fashion under Tru64 Unix.
10859 2002-09-11 André Pönitz <poenitz@gmx.net>
10863 * text3.C: implement LFUN_WORDSEL
10865 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10867 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10868 make floatlist_ a boost::shared_ptr<FloatList>
10870 * lyxtextclass.C: include FloatList.h
10871 (LyXTextClass): initialize floatlist_
10872 (TextClassTags): add TC_NOFLOAT
10873 (Read): match "nofloat" to TC_NOFLOAT and use it.
10874 (readFloat): modify call to floatlist_
10878 * FloatList.[Ch] (FloatList): remove commented out float
10880 (erase): new function
10882 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10884 * MenuBackend.C (expandToc): fix crash when there is no document
10887 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
10889 * many files: Add insetwrap.
10891 2002-09-09 John Levon <levon@movementarian.org>
10893 * text2.C: remove confusing and awkward depth wraparound
10895 2002-09-09 John Levon <levon@movementarian.org>
10897 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10900 * buffer.C: remove getIncludeonlyList()
10903 * lyxfunc.C: remove headers
10905 2002-09-09 Juergen Vigna <jug@sad.it>
10907 * text.C (getColumnNearX): fix form Michael this is most
10908 probably a cut&paste bug.
10910 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
10912 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10914 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10915 references, ws changes.
10917 * text2.C (init): update counters after init
10918 (insertParagraph): no need to set counter on idividual paragraphs.
10919 (setCounter): access the counters object in the textclass object
10920 on in the buffer object.
10921 (updateCounters): ditto
10923 * lyxtextclass.C: include counters.h, add variable ctrs_ as
10924 shared_ptr<Counters> to avoid loading counters.h in all
10926 (LyXTextClass): initialize ctrs_
10927 (TextClassTags): add TC_COUNTER, and ...
10928 (Read): use it here.
10929 (CounterTags): new tags
10930 (readCounter): new function
10931 (counters): new funtion
10932 (defaultLayoutName): return a const reference
10934 * counters.C (Counters): remove contructor
10935 (newCounter): remove a couple of unneeded statements.
10936 (newCounter): simplify a bit.
10937 (numberLabel): some small formatting changes.
10939 * buffer.[Ch]: remove all traces of counters, move the Counters
10940 object to the LyXTextClass.
10942 2002-09-06 Alain Castera <castera@in2p3.fr>
10944 * tabular.C: uses \tabularnewline; uses >{...} construct from array
10945 package to set the horizontal alignment on fixed width columns.
10948 * lyx_sty.h: added tabularnewline macro def.
10950 * LaTeXFeatures.C: added NeedTabularnewline macro feature
10952 2002-09-06 John Levon <levon@movementarian.org>
10954 * LyXAction.C: tooltips for sub/superscript
10956 * MenuBackend.C: a bit more verbose
10958 * lyxfunc.C: tiny clean
10960 * undo_funcs.C: document undo_frozen
10962 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
10964 * counters.C (Counters): add missing algorithm counter.
10966 * text2.C (setCounter): lookup the counter with layouts latexname
10967 instead of by section number.
10968 (setCounter): use a hackish way to lookup the correct enum
10970 a float name->type change
10971 reset enum couners with counter name directly instead of depth value.
10973 * counters.C (Counters): remove the push_backs, change to use the
10974 float type not the float name.
10975 (labelItem): remove unused string, float name->type change
10977 * counters.h: don't include vector, loose the enums and sects vectors
10979 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10981 * lyxtextclass.C (TextClassTags): add TC_FLOAT
10982 (Read): add float->TC_FLOAT to textclassTags
10983 (Read): and handle it in the switch
10984 (readFloat): new function
10986 * FloatList.C (FloatList): comment out the hardcoded float
10989 * lyxlayout.h: ws change.
10991 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
10993 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10995 2002-09-03 Angus Leeming <leeming@lyx.org>
10997 * BufferView_pimpl.h: qualified name is not allowed in member
10998 declaration: WorkArea & Pimpl::workarea() const;
11000 * factory.C: added using std::endl directive.
11002 * text3.C: added using std::find and std::vector directives.
11004 2002-08-29 André Pönitz <poenitz@gmx.net>
11007 * text2.C: remove unused member number_of_rows
11010 * BufferView2.C: remove file, move contents to...
11011 * BufferView.C: ... here
11013 * BufferView_pimpl.C:
11014 * factory.C: move more inset creation to factory
11016 * vspace.C: avoid direct usage of LyXText, ws changes
11019 don't provide direct access to WorkArea, use two simple
11020 acessors haveSelction() and workHeight() instead
11023 2002-08-29 John Levon <levon@movementarian.org>
11025 * BufferView_pimpl.C (dispatch): do not continue when
11028 2002-08-28 André Pönitz <poenitz@gmx.net>
11030 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
11033 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
11035 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
11037 * buffer.C: increment LYX_FORMAT to 221
11039 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
11040 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
11042 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
11044 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
11046 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11048 * factory.C (createInset): use LyXTextClass::floats
11050 * MenuBackend.C (expandFloatListInsert):
11051 (expandFloatInsert):
11054 * text2.C (setCounter):
11056 * LaTeXFeatures.C (useFloat):
11057 (getFloatDefinitions):
11059 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
11061 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
11062 floatlist_, with accessor floats().
11064 * FloatList.h: remove global FloatList
11066 2002-08-26 André Pönitz <poenitz@gmx.net>
11068 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
11072 * BufferView_pimpl.C:
11073 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
11075 2002-08-25 John Levon <levon@movementarian.org>
11077 * LyXAction.C: fix margin note description
11079 2002-08-24 John Levon <levon@movementarian.org>
11083 * bufferview_funcs.C:
11085 * undo_funcs.C: cleanups
11087 * lyxfunc.C: disable CUT/COPY when no selection
11089 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
11091 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
11092 in "enum UNIT"; e.g. PTW for Percent of TextWidth
11094 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
11095 Add backward compatibility to "mono", "gray" and "no".
11097 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
11099 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
11100 (and file_format >= 200).
11102 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11104 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
11106 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11108 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
11110 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
11112 * BufferView_pimpl.C:
11119 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
11120 inset and code to make it work with the paragraph code. The inset
11121 can be anywhere in the paragraph, but will only do the expected
11122 thing in LaTeX if the layout file contains the parameter line
11124 (or more generally, a nonzero value) for that layout.
11126 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
11128 * paragraph.h: remove the declaration of undefined counters class
11131 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
11133 * text2.C (setCounter): fixed enumeration mis-count as reported by
11134 Dr. Richard Hawkins.
11136 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11138 * paragraph_funcs.h: remove some unneeded includes
11140 * text.C (backspace): pasteParagraph now in global scipe
11142 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
11143 (pasteSelection): ditto
11145 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
11146 * paragraph_funcs.C (pasteParagraph): ... here
11148 2002-08-20 André Pönitz <poenitz@gmx.net>
11150 * commandtags.h: new LFUNs for swapping/copying table row/colums
11153 * lyxfunc.C: support for new lfuns
11155 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
11158 * buffer.[Ch]: remove NO_COMPABILITY stuff
11160 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
11162 * boost.C (throw_exception): new file, with helper function for
11163 boost compiled without exceptions.
11168 * ParameterStruct.h:
11169 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
11171 * bufferlist.C (emergencyWriteAll): use boost bind
11173 * BufferView_pimpl.C (moveCursorUpdate): remove inline
11175 * text.C: include paragraph_funcs.h
11176 (breakParagraph): breakParagraph is now in global scope
11178 * paragraph_funcs.[Ch]: new files
11180 * paragraph.C (breakParagraph,breakParagraphConservative): move to
11183 * buffer.C: include paragraph_funcs.h
11184 (insertStringAsLines): breakParagraph is now in global scope
11186 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
11189 * CutAndPaste.C: include paragraph_funcs.h
11190 (cutSelection): breakParagraphConservative is now in global scope
11191 (pasteSelection): ditto
11193 * buffer.h: declare oprator== and operator!= for
11194 Buffer::inset_iterator
11196 * bufferlist.C (emergencyWrite): don't use fmt(...)
11198 * text3.C: add using std::endl
11200 * BufferView.C (moveCursorUpdate): remove default arg
11202 2002-08-20 André Pönitz <poenitz@gmx.net>
11204 * buffer.[Ch]: move inline functions to .C
11207 * BufferView_pimpl.C:
11209 * buffer.[Ch]: use improved inset_iterator
11212 * paragraph.[Ch]: write one paragraph at a time
11214 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
11216 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
11217 style if style is not specified.
11219 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11221 * text2.C (setCounter): when searching for right label for a
11222 caption, make sure to recurse to parent insets (so that a caption
11223 in a minipage in a figure float works) (bug #568)
11225 2002-08-20 André Pönitz <poenitz@gmx.net>
11227 * text3.C: new file for LyXText::dispatch() and helpers
11229 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
11231 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
11233 2002-08-19 André Pönitz <poenitz@gmx.net>
11236 * text.C: new LyXText::dispatch()
11238 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
11240 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
11242 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
11244 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
11247 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11249 * Makefile.am: use $(variables) instead of @substitutions@
11251 2002-08-15 André Pönitz <poenitz@gmx.net>
11254 * BufferView_pimpl.C: streamlining mathed <-> outer world
11258 * LyXAction.C: remove unused LFUN_MATH
11260 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
11262 * paragraph.[Ch]: add some NO_NEXT ifdefs.
11264 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
11266 * paragraph.C (Paragraph): reformat a bit
11267 (cutIntoMinibuffer): use builtin InsetList function instad of
11271 * buffer.C: include boost/bind.hpp, add using std::for_each
11272 (writeFileAscii): use ParagraphList iterators
11273 (validate): use for_each for validate traversal of paragraphs
11274 (getBibkeyList): use ParagraphList iterators
11275 (resizeInsets): use for_each to resizeInsetsLyXText for all
11277 (getParFromID): use ParagraphList iterators
11279 * BufferView2.C (lockInset): use paragraph list and iterators
11281 2002-08-14 John Levon <levon@movementarian.org>
11283 * lyxserver.C: remove spurious xforms include
11285 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11287 * lyxfunc.C (getStatus): disable math-extern outside of math mode
11289 2002-08-13 André Pönitz <poenitz@gmx.net>
11292 * lyxfunc.C: further cleaning
11294 2002-08-13 André Pönitz <poenitz@gmx.net>
11296 * funcrequest.h: new constructor
11298 * funcrequest.C: move stuff here from .h
11301 * BufferView_pimpl.C:
11304 * lyxfunc.C: subsequent changes
11306 * lyxfunc.h: new view() member function
11308 * lyxfunc.C: subsequent changes
11310 2002-08-13 Angus Leeming <leeming@lyx.org>
11313 * BufferView_pimpl.C:
11321 changes due to the changed LyXView interface that now returns references
11322 to member variables not pointers.
11324 2002-08-13 Angus Leeming <leeming@lyx.org>
11326 * WordLangTuple (word, lang_code): return references to strings,
11331 * lyxtext.h: forward-declare WordLangTuple.
11336 * text.C: #include "WordLangTuple.h".
11339 * text.C: (selectNextWordToSpellcheck): constify return type.
11341 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
11347 * paragraph_pimpl.h:
11350 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
11351 suggested by Angus.
11352 Made updateCounter always count from start of buffer, and removed
11353 second argument (par).
11354 Reverted floats number display to '#'. Perhaps I'll try again when the
11355 code base is sanitized a bit.
11357 2002-08-12 Angus Leeming <leeming@lyx.org>
11359 * buffer.[Ch] (getLabelList): constify.
11361 2002-08-07 André Pönitz <poenitz@gmx.net>
11363 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
11365 * funcrequest.h: extension to keep mouse (x,y) position
11367 2002-08-12 Juergen Vigna <jug@sad.it>
11369 * BufferView2.C (insertErrors): forbid undo when inserting error
11372 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
11374 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
11376 * ParagraphList.[Ch]: new files
11378 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
11380 * BufferView2.C (lockInset): ParagraphList changes
11383 * bufferlist.C: ditto
11387 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11389 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
11390 unused class variable counter_,
11392 * paragraph.[Ch] (getFirstCounter): delete unused function
11394 * counters.C: include LAssert.h
11395 (reset): add a new function with no arg, change other version to
11396 not have def. arg and to not allow empty arg.
11398 * text2.C (setCounter): remove empty arg from call to Counters::reset
11400 2002-08-11 John Levon <levon@movementarian.org>
11402 * Makefile.am: add WordLangTuple.h
11404 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11406 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
11407 lyxfunc.C lyxlex_pimpl.C: ws changes only.
11409 * insets/insettext.C: InsetList changes
11411 * graphics/GraphicsSupport.C (operator()): InsetList changes
11413 * toc.C (getTocList): InsetList changes
11415 * paragraph_pimpl.[Ch]: InsetList changes
11417 * paragraph.[Ch]: InsetList changes
11419 * buffer.C (inset_iterator): InsetList changes
11420 (setParagraph): ditto
11421 * buffer.h (inset_iterator): ditto
11422 * iterators.C (operator++): ditto
11423 * iterators.h: ditto
11425 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11427 * InsetList.[Ch]: new files, most InsetList handling moved out of
11430 * BufferView2.C (removeAutoInsets): InsetList changes
11432 (ChangeInsets): ditto
11434 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
11436 * paragraph_pimpl.h (empty): new function
11438 * paragraph.[Ch] (empty): new function
11440 * other files: use the new Paragraph::empty function
11442 2002-08-09 John Levon <levon@movementarian.org>
11444 * lyxtext.h: remove unused refresh_height
11446 2002-08-09 John Levon <levon@movementarian.org>
11453 * paragraph.C: move sgml char escaping out of paragraph
11456 * paragraph.C: remove id setter
11460 * paragraph_pimpl.C: remove dead tex_code_break_column
11462 * bufferview_funcs.C: small cleanup
11464 * lyxfunc.C: remove dead proto
11466 * lyxtext.h: make some stuff private. Remove some dead stuff.
11468 * lyxgluelength.C: make as[LyX]String() readable
11470 2002-08-08 John Levon <levon@movementarian.org>
11475 * ToolbarDefaults.C:
11478 * toc.C: lyxaction cleanup
11480 2002-08-08 John Levon <levon@movementarian.org>
11482 * BufferView2.C: small cleanup
11485 * lyxfind.C: move unnecessary header into the .C
11487 2002-08-08 John Levon <levon@movementarian.org>
11489 * funcrequest.h: just tedious nonsense
11492 * lyx_main.C: cleanups
11495 * vspace.C: remove dead header lyx_main.h
11497 2002-08-07 Angus Leeming <leeming@lyx.org>
11500 * paragraph_pimpl.h:
11501 Forward declare class Counters in paragraph.h by moving the ctrs member
11502 variable into Paragraph::Pimpl.
11503 (counters): new method, returning a reference to pimpl_->ctrs.
11505 * text2.C: ensuing changes.
11507 2002-08-07 John Levon <levon@movementarian.org>
11509 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11511 * BufferView_pimpl.C: announce X selection on double/triple
11514 * lyx_main.C: use correct bool in batch dispatch
11516 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11518 2002-08-07 André Pönitz <poenitz@gmx.net>
11520 * funcrequest.h: new class to wrap a kb_action and its argument
11523 * BufferView_pimpl[Ch]:
11527 * lyxrc.C: subsequent changes
11530 2002-08-07 John Levon <levon@movementarian.org>
11532 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11533 document options change.
11535 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11540 * makefile.am: move counters functionality over from
11541 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11543 2002-08-06 John Levon <levon@movementarian.org>
11545 * WordLangTuple.h: new file for word + language code tuple
11556 * BufferView2.C: use WordLangTuple
11559 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11561 2002-08-06 John Levon <levon@movementarian.org>
11563 * lyx_main.C: fix cmdline batch handling
11565 2002-08-06 André Pönitz <poenitz@gmx.net>
11567 * lyxrc.C: set default for show_banner to true
11569 2002-08-06 John Levon <levon@movementarian.org>
11571 * pspell.C: fix a crash, and allow new aspell to work
11573 2002-08-06 John Levon <levon@movementarian.org>
11576 * kbmap.C: small cleanup
11579 * vspace.C: add const
11581 2002-08-05 John Levon <levon@movementarian.org>
11583 * LyXAction.C: back to tabular-insert
11585 2002-08-04 John Levon <levon@movementarian.org>
11588 * BufferView.C: cosmetic change
11590 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11600 * BufferView2.C: purge all "Lyx" not "LyX" strings
11603 * lyxcursor.C: attempt to add some documentation
11608 * ToolbarDefaults.C:
11609 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11610 merge with LFUN_TABULAR_INSERT
11617 * pspell.C: split up i/pspell implementations into separate
11618 files, many cleanups
11620 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11622 * text2.C: some cleanup
11624 * lyxfunc.C: don't check for isp_command == "none" any more, it
11625 didn't make any sense
11627 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11632 * makefile.am: move counters functionality over
11633 from text2.C/paragraph.[Ch] to counters.[Ch], and
11635 2002-08-02 John Levon <levon@movementarian.org>
11637 * buffer.C: s/lyxconvert/lyx2lyx/
11639 2002-08-02 Angus Leeming <leeming@lyx.org>
11641 * lyxlex.C: revert John's change as it breaks reading of the user
11644 2002-08-02 Angus Leeming <leeming@lyx.org>
11646 * importer.C (Import):
11647 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11648 changes due to LyXView::view() now returning a boost::shared_ptr.
11650 2002-08-02 John Levon <levon@movementarian.org>
11652 * lyxlex.C: small cleanup
11654 2002-08-02 John Levon <levon@movementarian.org>
11656 * text2.C (status): small cleanup, no logic change
11658 2002-08-01 John Levon <levon@movementarian.org>
11661 * buffer.C (writeFile): don't output alerts, caller
11665 * lyx_cb.C: from above
11667 * lyxfunc.C: allow to open non-existent files
11669 2002-07-31 John Levon <levon@movementarian.org>
11671 * lyxserver.C: don't let incidental errors get
11674 2002-07-30 John Levon <levon@movementarian.org>
11676 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11678 2002-07-30 John Levon <levon@movementarian.org>
11681 * lyxserver.C: remove I/O callback too
11683 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11685 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11688 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
11690 * many files: strip,frontStrip -> trim,ltrim,rtrim
11692 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
11694 * PrinterParams.h: remove extern containsOnly, and include
11695 support/lstrings.h instead.
11697 * LaTeX.C (scanAuxFile): modify because of strip changes
11699 * buffer.C (makeLaTeXFile): ditto
11700 * bufferparams.C (writeFile): ditt
11701 * lyxfont.C (stateText): ditto
11702 * lyxserver.C (read_ready): ditto
11703 * vc-backend.C (scanMaster): ditto
11705 * BufferView_pimpl.h: ws changes
11707 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11709 2002-07-26 André Pönitz <poenitz@gmx.net>
11711 * kb_sequence.C: remove unnedred usings
11713 2002-07-26 Juergen Vigna <jug@sad.it>
11715 * lyxfind.C (LyXReplace): we have to check better if the returned
11716 text is not of theLockingInset()->getLockingInset().
11718 2002-07-25 Juergen Vigna <jug@sad.it>
11720 * lyxfind.C (LyXReplace): don't replace if we don't get the
11723 * undo_funcs.C (createUndo): remove debugging code.
11725 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
11727 * buffer.C (parseSingleLyXformat2Token): Use default placement
11728 when reading old floats.
11730 * FloatList.C (FloatList): Change the default placement of figure
11731 and tables to "tbp".
11733 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
11735 * MenuBackend.C: using std::max
11737 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11739 * MenuBackend.C (expandToc):
11740 (expandToc2): code moved from xforms menu frontend. It is now
11741 generic and TOCs are transparent to menu frontends.
11743 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11745 * toc.C (getTocList): protect against buf=0
11747 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11748 Menu as first parameter. Now, this calls itself recursively to
11749 expand a whole tree (this will be useful for TOC handling)
11750 (expandFloatInsert): remove 'wide' version of floats
11752 * MenuBackend.h (submenuname): returns the name of the submenu.
11753 (submenu): returns the submenu itself, provided it has been
11754 created by MenuBackend::expand
11756 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11758 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11759 insets which have noFontChange == true. (bug #172)
11761 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11763 * BufferView_pimpl.C: add connection objects and use them...
11766 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11768 * MenuBackend.C (expandLastfiles):
11771 (expandFloatListInsert):
11772 (expandFloatInsert):
11773 (expand): split expand in parts
11775 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11777 * lyx_gui.C: use lyx_gui::exit()
11779 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11781 * LyXAction.C: show the failing pseudo action
11783 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
11785 * buffer.C (readFile): Run the lyxconvert script in order to read
11788 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11792 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11794 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11798 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11800 2002-07-22 Herbert Voss <voss@lyx.org>
11803 * lyxlength.[Ch]: add support for the vertical lengths
11805 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
11807 * toc.[Ch]: std:: fixes
11809 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11811 * lyxrc.C: do not include lyx_main.h
11813 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11819 * BufferView2.C: include "lyxlex.h"
11822 * bufferparams.h: do not #include "lyxlex.h"
11824 * lyxtextclasslist.C (Add): remove method
11825 (classlist): renamed to classlist_
11827 * paragraph_pimpl.C:
11831 * bufferview_funcs.C:
11836 * toc.C (getTocList): use BufferParams::getLyXTextClass
11838 * toc.C (getTocList): use InsetFloat::addToToc
11840 * toc.[Ch]: new files, containing helper functions to handle table
11843 * lyxfunc.C (dispatch): no need to remove spaces around command
11845 (getStatus): handle LFUN_SEQUENCE by returning the status of the
11846 first command of the sequence; it is not very clever, but I do not
11847 have a better idea, actually
11849 * LyXAction.C (LookupFunc): make sure to remove space at the
11850 beginning and end of the command
11852 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11854 * MenuBackend.C (getMenubar): new method: return the menubar of
11856 (read): treat differently reading of menu and menubar (in
11857 particular, the menubar has no name now)
11858 (Menu::menubar): remove
11860 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11863 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11865 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11866 a bibitem inset in a RTL paragraph.
11868 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
11870 * paragraph_pimpl.C: constify
11872 * BufferView_pimpl.C:
11874 * lyxfunc.C: fix dispatch in a nicer way
11876 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11878 * lyxfunc.C (dispatch):
11879 * BufferView_pimpl.C:
11880 * BufferView_pimpl.h:
11882 * BufferView.h: rename Dispatch() to dispatch()
11884 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11886 * lyxlayout.C (Read): honor DependsOn tag
11888 * lyxlayout.[Ch] (depends_on): new method
11890 * version.C.in: update lyx_docversion
11892 * LaTeXFeatures.C (getMacros): only define \LyX when needed
11894 * paragraph.C (validate): remove from here...
11895 * paragraph_pimpl.C (validate): ... and move here
11896 (isTextAt): make it const
11898 * buffer.C (getLists): ws cleanup
11900 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11902 * language.C (read): Use iso8859-1 encoding in latex_lang
11903 (this prevents LyX from crashing when using iso10646-1 encoding).
11905 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11907 * text2.C (toggleInset): if cursor is inside an inset, close the
11908 inset and leave cursor _after_ it
11910 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11912 * lyxfunc.C: move minibuffer completion handling out of here
11914 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11916 * BufferView_pimpl.C:
11917 * LaTeX.C: fix dispatch calls
11919 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
11921 * text.C (drawChars): Fix Arabic text rendering.
11923 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
11927 * lyxfunc.C: remove message-push/pop
11931 * lyxfunc.C: rationalise some code by removing verboseDispatch
11932 in favour of a bool argument to dispatch()
11934 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11936 * lyx_main.C (init): make sure to read symlinks as absolute paths
11938 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11941 * lyxfunc.C: no need for commandshortcut to be a member
11943 2002-07-15 André Pönitz <poenitz@gmx.net>
11945 * converter.C: add support for $$s (scripts from lib/scripts dir)
11946 * lyx_main.C: white space
11948 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11952 * lyxrc.C: remove second exit confirmation
11954 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11959 * BufferView_pimpl.h:
11960 * BufferView_pimpl.C:
11961 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11963 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11965 * MenuBackend.C (expand): add numeric shortcuts to document menu
11967 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11969 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11971 * lyxfont.C (setLyXFamily):
11978 * buffer.C (asciiParagraph): use ascii_lowercase
11980 2002-07-15 Mike Fabian <mfabian@suse.de>
11982 * lyxlex_pimpl.C (search_kw):
11983 * lyxlex.C (getLongString):
11984 * converter.h (operator<):
11985 * converter.C (operator<):
11986 * buffer.C (parseSingleLyXformat2Token):
11988 * ToolbarDefaults.C (read):
11989 * MenuBackend.C (checkShortcuts):
11991 * LColor.C (getFromGUIName):
11992 (getFromLyXName): use the compare_ascii_no_case instead of
11993 compare_no_case, because in turkish, 'i' is not the lowercase
11994 version of 'I', and thus turkish locale breaks parsing of tags.
11996 2002-07-16 Angus Leeming <leeming@lyx.org>
11998 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11999 now takes a Buffer const & argument.
12001 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
12003 * BufferView.C (resize): check there's a buffer to resize
12005 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
12007 * lyxfunc.C: remove dead code
12010 * lyxserver.C: use lyx_guii::set_read_callback
12012 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
12014 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
12015 an inset in a RTL paragraph.
12017 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
12019 * lyxfunc.C: repaint after a font size update
12021 2002-07-15 André Pönitz <poenitz@gmx.net>
12023 * lyxlength.C: inBP should be able to return negative values
12025 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
12027 * lyxfunc.C: use lyx_gui::update_fonts()
12029 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
12031 * lyxfunc.C: use lyx_gui::update_color()
12033 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
12039 * lyxrc.C: remove file->new asks for name option, and let
12040 buffer-new take an argument
12042 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
12044 * BufferView_pimpl.C: remove unneeded extra repaint()
12046 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
12048 * LyXAction.C: allow command-sequence with NoBuffer
12050 * lyxfunc.C: don't insist on trailing ';' for command-sequence
12052 2002-07-10 Angus Leeming <leeming@lyx.org>
12054 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
12056 2002-07-09 Angus Leeming <leeming@lyx.org>
12058 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
12060 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
12062 * lengthcommon.h: whitespace
12064 * lyxfunc.C: update scrollbar after goto paragraph
12066 * lyxtext.h: factor out page break drawing, and fix it so
12067 page break/added space paints as selected nicely
12069 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
12071 * BufferView_pimpl.C: add FIXMEs, clean up a little
12073 2002-07-09 André Pönitz <poenitz@gmx.net>
12075 * lyxfont.[Ch]: support for wasy symbols
12077 2002-07-08 André Pönitz <poenitz@gmx.net>
12079 * BufferView_pimpl.C: apply John's patch for #93.
12081 2002-07-05 Angus Leeming <leeming@lyx.org>
12083 * BufferView_pimpl.C (buffer): generate previews if desired.
12085 * LColor.h: add "preview" to the color enum.
12087 * LColor.C (LColor): add a corresponding entry to the items array.
12089 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
12092 2002-07-05 Angus Leeming <leeming@lyx.org>
12094 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
12095 The body of the code is now in the method that is passed an ostream &
12096 rather than a file name.
12097 Pass an additional only_preamble parameter, useful for the forthcoming
12100 2002-07-03 André Pönitz <poenitz@gmx.net>
12102 * lyxfunc.C: simplify getStatus() a bit for math stuff
12104 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12106 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
12108 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12110 * text.C (changeRegionCase): do not change case of all the
12111 document when region ends at paragraph end (bug #461)
12113 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12115 * paragraph.C (startTeXParParams):
12116 (endTeXParParams): add \protect when necessary
12118 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12120 * BufferView_pimpl.C (workAreaExpose): remove warning
12122 2002-06-27 Angus Leeming <leeming@lyx.org>
12124 * Makefile.am: add lyxlayout_ptr_fwd.h.
12126 2002-06-26 André Pönitz <poenitz@gmx.net>
12128 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
12130 2002-06-25 Angus Leeming <leeming@lyx.org>
12132 * lyxfunc.C (dispatch): Comment out the call to
12133 grfx::GCache::changeDisplay. The method no longer exists now that the
12134 pixmap generation part of the graphics loader has been moved into
12137 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12139 * text2.C: layout as layout
12141 * text.C: layout as layout
12143 * tabular.C (OldFormatRead): layout as layout
12145 * paragraph_pimpl.C (TeXDeeper): layout as layout
12146 (realizeFont): layout as layout
12148 * paragraph.C (writeFile): layout as layout
12149 (validate): layout as layout
12150 (getFont): layout as layout
12151 (getLabelFont): layout as layout
12152 (getLayoutFont): layout as layout
12153 (breakParagraph): layout as layout
12154 (stripLeadingSpaces): layout as layout
12155 (getEndLabel): layout as layout
12156 (getMaxDepthAfter): layout as layout
12157 (applyLayout): layout as layout
12158 (TeXOnePar): layout as layout
12159 (simpleTeXOnePar): layout as layout
12160 (TeXEnvironment): layout as layout
12161 (layout): layout as layout
12162 (layout): layout as layout
12164 * lyxtextclass.C (compare_name): new functor to work with
12165 shared_ptr, layout as layout
12166 (Read): layout as layout
12167 (hasLayout): layout as layout
12168 (operator): layout as layout
12169 (delete_layout): layout as layout
12170 (defaultLayout): layout as layout
12172 * lyxlayout_ptr_fwd.h: new file
12174 * lyxlayout.C (Read): layout as layout
12176 * lyx_cb.C (MenuInsertLabel): layout as layout
12178 * bufferlist.C (newFile): layout as layout
12180 * buffer.C (readLyXformat2): layout as layout
12181 (parseSingleLyXformat2Token): layout as layout
12182 (insertStringAsLines): layout as layout
12183 (asciiParagraph): layout as layout
12184 (latexParagraphs): layout as layout
12185 (makeLinuxDocFile): layout as layout
12186 (simpleLinuxDocOnePar): layout as layout
12187 (makeDocBookFile): layout as layout
12188 (simpleDocBookOnePar): layout as layout
12189 (getLists): layout as layout
12191 * LaTeXFeatures.C (getTClassPreamble): layout as layout
12193 * CutAndPaste.C (cutSelection): layout as layout
12194 (pasteSelection): layout as layout
12195 (SwitchLayoutsBetweenClasses): layout as layout
12197 * BufferView_pimpl.C (Dispatch): layout as layout
12198 (smartQuote): layout as layout
12200 * BufferView2.C (unlockInset): layout as layout
12202 2002-06-24 André Pönitz <poenitz@gmx.net>
12204 * lyxfunc.C: fix #487
12206 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12210 * lyxfunc.C: remove display_shortcuts, show_banner
12212 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12214 * Buffer_pimpl.C: oops, update on resize
12216 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12223 * BufferView.C: use repaint()
12225 * BufferView_pimpl.h:
12226 * BufferView_pimpl.C: s/updateScreen()/repaint()/
12227 as it's a clearer description. Remove superfluous
12230 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12232 * text.C: fix bug 488. Not ideal, but getting
12233 getWord() to work properly for the insets that
12234 matter is more difficult ...
12236 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12238 * BufferView_pimpl.C:
12241 * lyxfunc.C: remove the six million index lyxfuncs to just
12242 one, and DTRT (bug 458)
12244 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12248 * BufferView_pimpl.h:
12249 * BufferView_pimpl.C: clean up resize() stuff,
12250 and unnecessary updateScreen()s
12252 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12256 * BufferView_pimpl.h:
12257 * BufferView_pimpl.C:
12260 * minibuffer.C: remove focus management of workarea,
12261 not needed. Use screen's greyOut()
12263 2002-06-17 Herbert Voss <voss@lyx.org>
12265 * converter.C: (convert) do not post a message, when converting
12266 fails, let the calling function decide what to do in this case
12268 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
12270 * lyxfunc.C: tidy up a little
12272 2002-06-16 <alstrup@diku.dk>
12274 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
12275 Got rid of FORMS_H_LOCATION include. Now we are
12278 2002-06-15 LyX Development team <lyx@rilke>
12280 * buffer.[Ch] (sgmlOpenTag):
12281 (sgmlCloseTag): Added support for avoiding pernicious mixed
12282 content. Return number of lines written.
12284 (makeLinuxDocFile):
12285 (makeDocBookFile): Fixed calls to sgml*Tag.
12286 Simple white space clean.
12288 (simpleDocBookOnePar): Simple white space clean.
12290 * tabular.[Ch] (docBook): Renamed to docbook and got another
12291 argument to related with the pernicious mixed content.
12293 (docbookRow): Fixed calls for docbook inset method.
12295 2002-06-15 Lyx Development team <larsbj@birdstep.com>
12297 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
12298 so it's X11 independent.
12302 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
12304 2002-06-15 Lyx Development team <lyx@electronia>
12306 * intl.h: Renamed getTrans to getTransManager.
12308 2002-06-14 Angus Leeming <leeming@lyx.org>
12310 * Makefile.am: nuke forgotten stl_string_fwd.h.
12312 2002-06-12 Angus Leeming <leeming@lyx.org>
12314 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
12316 2002-06-13 Angus Leeming <leeming@lyx.org>
12319 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
12321 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
12323 * kbmap.C (getiso): add support for cyrillic and greek
12325 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12329 * BufferView_pimpl.h:
12330 * BufferView_pimpl.C: move bogus scrolling logic
12333 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12336 * BufferView_pimpl.C: view->resize() change
12338 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12340 * BufferView_pimpl.C: topCursorVisible
12343 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12347 * lyx_gui.C: move to frontends/
12351 * lyx_main.C: changes from above
12353 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12360 * lyx_main.C: minor tidy
12362 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12364 * BufferView_pimpl.h:
12365 * BufferView_pimpl.C:
12367 * BufferView.C: make painter() const,
12370 * BufferView2.C: use screen() accessor
12373 * lyx_main.C: some minor cleanup
12375 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12377 * BufferView_pimpl.h:
12378 * BufferView_pimpl.C: remove enter/leaveView,
12381 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12386 * BufferView_pimpl.h:
12387 * BufferView_pimpl.C: only construct screen once,
12390 * lyxrc.C: remove pointless comment
12392 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
12395 * BufferView.C: remove active() and belowMouse()
12397 * BufferView_pimpl.h:
12398 * BufferView_pimpl.C: use workarea() not workarea_,
12399 and make it use a scoped_ptr instead
12401 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
12403 * lyx_gui.C: add debug message on BadWindow
12405 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12407 * sp_spell.C: fdopen is not part of the C++ standard.
12409 * paragraph.C (InsetIterator): use >= instead of ==
12411 2002-06-07 Angus Leeming <leeming@lyx.org>
12413 Fixes needed to compile with Compaq cxx 6.5.
12414 * BufferView_pimpl.C:
12421 * lyxtextclasslist.C:
12426 all c-library variables have been moved into namespace std. Wrap
12427 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12432 Add a using std::abs declaration.
12434 * kbmap.h (modifier_pair):
12435 * paragraph.h (InsetTable, InsetList):
12436 * lyxfont.h (FontBits):
12437 type definition made public.
12439 * bufferlist.C (emergencyWriteAll): the compiler complains that
12440 there is more than one possible lyx::class_fun template to choose from.
12441 I re-named the void specialisation as lyx::void_class_fun.
12443 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12445 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12446 the compiler is is unable to find tostr in write_attribute.
12448 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12450 * buffer.C (sgmlError): hide #warning
12452 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12454 * xtl/*: get rid of xtl, which is not in use anyway
12456 * LyXAction.C (init):
12457 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12458 were unimplemented xtl experimentation
12460 2002-06-04 André Pönitz <poenitz@gmx.net>
12462 * lyxfunc.C: disable array operation on simple formulae
12464 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
12466 * converter.C: constify a bit
12468 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
12470 * lyx_gui.C: check xforms version correctly
12472 2002-04-30 Herbert Voss <voss@lyx.org>
12474 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12477 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
12479 * lyxvc.C: fix bug 416 (make sure buffer is saved before
12480 attempt to register it with a VCS)
12482 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12484 * lyx_main.C (init): honor variables LYX_DIR_13x and
12487 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12491 * lyx_main.C: fix a crash on bad command line,
12492 and give a useful exit status on error
12494 * lyxfunc.C (doImport): allow -i lyx to work
12496 2002-03-30 André Pönitz <poenitz@gmx.net>
12498 * lyxfunc.C: mathed font changes
12500 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12515 * trans_mgr.h: srcdocs, and some minor cleanups
12517 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12519 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12520 call getFont all the time)
12522 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12524 * switch from SigC signals to boost::signals
12526 2002-05-29 André Pönitz <poenitz@gmx.net>
12528 * paragraph_pimpl.C (getChar): don't call size() too often...
12530 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12532 * paragraph_pimpl.C (insertChar): do not try to update tables when
12533 appending (pos == size())
12535 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12536 in order to reduce drastically the number of comparisons needed to
12537 parse a large document
12539 2002-05-29 André Pönitz <poenitz@gmx.net>
12545 * textclasslist.[Ch]:
12546 * sp_ispell.h: whitespace change
12548 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12550 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12551 lyxaction directly now.
12553 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
12557 * lyxvc.C: remove unused headers
12559 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12566 * undo_funcs.C: some cleanups. Use shared_ptr
12567 and a template for the undo stacks.
12569 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12571 * BufferView_pimpl.h:
12572 * BufferView_pimpl.C:
12579 * text2.C: use key_state/mouse_state
12581 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12583 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12586 * chset.C: change include order
12587 (loadFile): use boost regex and get rid of LRegex and LSubstring
12589 * Makefile.am (BOOST_LIBS): new variable
12590 (lyx_LDADD): use it
12592 * LaTeX.C: change include order.
12593 (scanAuxFile): use boost regex and get rid of LRegex and
12597 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12602 * FontInfo.C: moved to frontends/xforms/
12605 * FontLoader.C: moved into frontends for GUIIzation
12610 * lyxfunc.C: changes from above
12612 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12614 * LColor.C: remove spurious X include
12616 * BufferView_pimpl.C:
12621 * text2.C: move font metrics to frontends/
12623 2002-05-24 Juergen Vigna <jug@sad.it>
12625 * undo_funcs.C (textHandleUndo): fix the cursor selection after
12626 setting the undo_cursor.
12628 * ParagraphParameters.h: include local includes first.
12630 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12632 * BufferView_pimpl.C:
12633 * BufferView_pimpl.h:
12637 * screen.C: move WorkArea into frontends/
12643 * BufferView2.C: move LyXScreen into frontends/
12647 * lyx_gui.C: move lyxlookup into frontends/xforms/
12649 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12652 * BufferView_pimpl.C:
12662 * bufferview_funcs.C:
12675 * vc-backend.C: move LyX/XFormsView into frontends/
12677 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12689 * text2.C: move Painter to frontends/
12691 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
12693 * buffer.C: comment out some some code that depend upon lyx_format
12696 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12697 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12699 * buffer.h (NO_COMPABILITY): turn off compability
12701 * ColorHandler.C: include scoped_array.hpp
12703 * font.C: Use more specific smart_ptr header.
12706 * ShareContainer.h: ditto
12707 * lyx_main.h: ditto
12709 * FontInfo.h: ditto
12710 * BufferView_pimpl.h: ditto
12711 * ColorHandler.h: ditto
12713 * kbmap.C (defkey): change call to shared_ptr::reset
12715 2002-05-21 Juergen Vigna <jug@sad.it>
12717 * buffer.C (insertErtContents): fix to insert ert asis if it is
12718 non empty. Skip it completely if it contains only whitespaces.
12720 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
12722 * BufferView_pimpl.C:
12723 * BufferView2.C: clear selection on paste (bug 393)
12725 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12727 * DepTable.C: include ctime
12729 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
12731 * buffer.C (latexParagraphs): Add new argument (moving_arg).
12733 2002-05-14 Juergen Vigna <jug@sad.it>
12735 * text.C (breakParagraph): fixed function to honor the keepempty
12736 layout in the right maner and also to permit the right breaking
12737 algorithm on empty or non empyt keepempty paragraphs.
12739 * paragraph.C (breakParagraph): we have to check also if the par
12740 is really empty (!size()) for isempty otherwise we do the wrong
12743 2002-05-10 Juergen Vigna <jug@sad.it>
12745 * buffer.[Ch] : The following are only changes to the ert
12746 compatibility read reading old LaTeX layout and font stuff and
12747 convert it to ERTInsets.
12749 * buffer.h: added isErtInset().
12751 * buffer.C (struct ErtComp): add a fromlayout bool to check
12752 if we're inside a LaTeX layout.
12753 (isErtInset): new helper function.
12754 (insertErtContents): look for other ert insets before this one
12755 and insert the contents there, so that we don't have subsequent
12756 ERT insets with nothing between them. This way we create only one
12757 inset with multiple paragraphs. Also check if we don't insert only
12758 spaces ' ' as they are ignored anyway afterwards in the .tex file
12759 so if we have only spaces we will ignore this latex part in the
12761 (parseSingleLyXformat2Token \\layout): better compatibility when
12762 reading layout-latex stuff.
12763 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12765 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12766 stuff after reading the inset only get the information back from
12769 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
12771 * buffer.C (makeLaTeXFile): Put language options after loading babel.
12773 * LaTeXFeatures.C (getBabelOptions): New method.
12775 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12777 * BufferView_pimpl.C (Dispatch): work around missing argument for
12780 2002-05-08 Juergen Vigna <jug@sad.it>
12782 * text.C (leftMargin): handle paragraph leftindent.
12784 * paragraph.C (writeFile): write the new \\leftindent tag.
12785 (validate): handle leftindent code.
12786 (TeXEnvironment): handle paragraphleftindent code again.
12788 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12790 * buffer.C (parseSingleLyXformat2Token): added compatibility code
12791 for paragrap_extra indent code and new token \\leftindent.
12792 (latexParagraphs): handle the leftindent as environment.
12794 * ParameterStruct.h: added leftindent support.
12796 * ParagraphParameters.C (leftIndent): added support functions for
12797 the paragraph left indent.
12799 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12802 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
12804 * paragraph.C (isRightToLeftPar): Return false for a paragraph
12807 * text.C (computeBidiTables): No bidi in insetERT.
12809 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12812 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12814 * version.C.in: pre 5
12816 2002-05-02 José Matos <jamatos@fep.up.pt>
12817 * buffer.C (makeDocBookFile): white space changes, add newline to
12819 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12821 * tabular.C (docBook): fix typo.
12823 2002-05-03 Juergen Vigna <jug@sad.it>
12825 * screen.C (drawFromTo): recalculate the rowpointer if we had a
12826 change in LyXText as we can not be sure it was not freed.
12827 (drawOneRow): remove unused code.
12829 * text.C (drawInset): redo the calculation of the need_break_row as
12830 it could have a row which was already freed.
12831 (draw): look at the return value of drawInset and return false if
12832 it also returned false.
12833 (paintRowText): look at the return value of draw and return false if
12834 it also returned false.
12836 * lyxtext.h: added bool return type to drawInset() and draw() so that
12837 if we have a change in the row so that the rowbreak has to be redone
12838 we abort drawing as it will be called again.
12840 2002-05-02 Juergen Vigna <jug@sad.it>
12842 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12843 a change in the maintext also if we're inside an inset.
12844 (Dispatch): set the cursor again after a break line and after the
12845 screen has been updated as it could be we're in a different row.
12847 * text2.C (fixCursorAfterDelete): check to make sure we don't request
12848 to set the cursor behind the pargraph with > size().
12849 (setCursor): check also for the same paragraph when checking where
12850 to put the cursor if we have a NFR inset.
12852 * buffer.C (parseSingleLyXformat2Token): move the compatibility
12853 parts of layout read further up as it still was in the wrong
12856 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12858 * screen.C (drawFromTo): change sine fullRebreak always return
12861 * buffer.C (parseSingleLyXformat2Token): reindent some
12863 * BufferView_pimpl.C (update): change since fullRebreak always
12865 (Dispatch): git rid of the last hardcoded "Standard"s.
12867 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
12869 * text2.[Ch] (fullRebreak): make it return void now that we always
12872 2002-04-30 Juergen Vigna <jug@sad.it>
12874 * buffer.C (parseSingleLyXformat2Token): reset the font before the
12875 ert compatibility check for "latex" layout.
12877 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
12879 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12880 minipages: use col% instead of p%, and also use the current font.
12881 (makeLaTeXFile): Fix use babel condition.
12882 (parseSingleLyXformat2Token): Correct font when reading old floats.
12884 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
12886 * BufferView_pimpl.C (Dispatch): Check that float type exists when
12887 inserting list of floats.
12889 2002-04-25 Herbert Voss <voss@lyx.org>
12891 * MenuBackend.C (expand): don't add the graphics extensions to the
12894 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12896 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12897 non-existing layout, do not complain if it was the default layout
12898 of the original class (bug #342)
12900 2002-04-24 Juergen Vigna <jug@sad.it>
12902 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12903 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12905 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
12907 * buffer.C (getBibkeyList): If using \bibliography, return the
12908 option field with the reference itself. Enables us to provide natbib
12909 support when using \bibliography.
12911 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
12913 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12915 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12916 natbib is provided by the LaTeX class.
12918 2002-04-23 Juergen Vigna <jug@sad.it>
12920 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12923 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12925 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12927 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12929 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12930 ensuremath around textordmasculine, textordfeminine and
12933 2002-04-19 Juergen Vigna <jug@sad.it>
12935 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12936 reinitializing the buffer otherwise row-dimensions may be wrong.
12937 (update): reset also the selection cursors if they do exits otherwise
12938 their x/y positions may be wrong.
12940 * text2.C (cursorDown): don't enter the inset if we came from a row
12941 above and are one row over the inset.
12943 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12944 really leaving an inset.
12946 2002-04-18 Juergen Vigna <jug@sad.it>
12948 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12949 of the selected paragraph does not have the selected layout also if
12952 * text2.C (setLayout): fixed bug which did not change last selected
12955 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12956 changed the read and substituted \\end_float with \\end_inset!
12958 * BufferView_pimpl.C (cursorPrevious):
12959 (cursorNext): fixed to make it work with rows heigher than the work
12960 area without moving the cursor only the draw of the row.
12961 (workAreaMotionNotify): fix jumping over high rows.
12963 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12965 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12968 2002-04-16 Juergen Vigna <jug@sad.it>
12970 * text2.C (setCursor): set also the irow().
12971 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12973 (cursorDown): support for locking an inset if the x_fix value goes
12974 inside it. That way I can transverse insets too with cursor up/down.
12976 * lyxrow.h: added irow helper function same as other (i) functions.
12978 * BufferView_pimpl.C (cursorPrevious):
12979 (cursorNext): fixed for insets!
12981 2002-04-15 Juergen Vigna <jug@sad.it>
12983 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12984 position otherwise it is wrong in some cases.
12986 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12987 inside the inset before the call.
12989 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
12991 * buffer.[Ch] (getBibkeyList): make it const.
12993 2002-04-12 Juergen Vigna <jug@sad.it>
12995 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12997 * text2.C (getCursorX): new helper function
12998 (setCursor): compute also ix_
12999 (setCursorFromCoordinates): set also ix.
13001 * lyxcursor.h: added ix_ and helper functions.
13003 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
13005 * buffer.C (insertStringAsLines): dont break paragraph if the this
13006 paragraph is inside an inset which does not permit it!
13008 * text.C (breakParagraph): honor keepempty flag and break the paragraph
13009 also with no chars on this paragraph.
13010 (paintRowText): only paint stuff if it's inside the workarea!
13012 * paragraph.C (breakParagraph): honor keepempty flag and break the
13013 paragraph always below not above.
13015 * BufferView2.C (unlockInset): update the paragraph layout on inset
13016 unlock as we changed paragraph in such a case.
13018 * lyxfind.C (LyXFind): clear the former selection if not found!
13020 * text2.C (insertInset): freeze Undo after setUndo so that it is not
13021 again called in insertChar().
13023 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
13024 an inset which uses the whole row!
13025 (rightMargin): ditto.
13026 (insertChar): force a rebreak if we inserted an inset!
13028 2002-03-28 Herbert Voss <voss@lyx.org>
13030 * lyxlength.[Ch]: add inBP() to get the right PS-point
13031 units (BigPoint). With inPixels we have rounding errors
13033 2002-04-11 Juergen Vigna <jug@sad.it>
13035 * text2.C (setCursorFromCoordinates): set iy to the right value.
13036 (setCursor): add check if row->previous exists!
13038 * buffer.C (parseSingleLyXformat2Token): reset font after read of
13039 an old float_type as this was the case in the old code!
13041 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
13043 * BufferView2.C (showLockedInsetCursor): use iy
13044 (fitLockedInsetCursor): ditto
13046 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
13047 locked insets as there we have the right value now.
13049 * lyxcursor.C: added iy_ variable and iy functions to set to the
13050 baseline of cursor-y of the locked inset.
13052 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
13053 (setCursor): fixed for insets which need a full row.
13055 * text.C (rowLastPrintable): don't ignore the last space when before
13056 an inset which needs a full row.
13057 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
13058 as last character of a row when before a inset which needs a full row.
13060 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13062 * version.C.in: update date
13064 * text2.C (fullRebreak): try to always return true and see what
13067 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13069 * MenuBackend.C (expand): use Floating::listName
13071 * FloatList.C (FloatList): add listName argument to the built-in
13074 * Floating.[Ch]: add listName member, which is the 'List of XXX'
13075 text associated with the float.
13077 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13079 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
13081 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13083 * ShareContainer.h: add a couple of missing typenames.
13085 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
13087 * lyxrc.C (getDescription): use _() correctly rather than N_().
13089 2002-03-28 Herbert Voss <voss@lyx.org>
13091 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
13092 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
13094 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13096 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
13097 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
13099 2002-03-29 Juergen Vigna <jug@sad.it>
13101 * lyxfunc.C (dispatch): add a missing fitCursor call.
13103 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
13104 it was scrolled by a cursor move, so return the bool status.
13106 * BufferView.C (fitCursor): return the bool flag also to the outside
13107 world as this is needed.
13109 * screen.C (toggleToggle): don't subtract the offset if it's positive.
13111 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
13112 call the edit() as it is not needed (and wrong) IMO.
13113 (workAreaButtonPress): set the screen_first variable before evt.
13114 unlock the inset as this may change screen_first and then we have
13115 a wrong y position for the click!
13117 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13119 * MenuBackend.C (expand): another translation that I missed
13121 2002-03-28 Juergen Vigna <jug@sad.it>
13123 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
13125 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
13127 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13129 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
13131 * MenuBackend.C (expand): fix export/view/update when there is no
13134 2002-03-27 Herbert Voss <voss@lyx.org>
13136 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
13139 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13141 * bufferview_funcs.C (currentState): only show paragraph number
13142 for is DEVEL_VERSION is set.
13144 * lyxfunc.C (dispatch): put warning in INFO channel
13146 * MenuBackend.C (expand): translate the name of floats
13148 * FloatList.C (FloatList): mark the float names for translation
13150 * converter.C (convert): use LibScriptSearch
13152 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13154 * MenuBackend.C (defaults): fix default menu (we might as well get
13157 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13159 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
13162 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13164 * lyxvc.C: reorder includes.
13166 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
13168 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
13171 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
13173 * CutAndPaste.C: change layouts earlier on paste
13174 to avoid crashing when calling getFont()
13176 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
13178 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
13181 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
13183 * WorkArea.C: remove 'Pending' debug message.
13185 * most files: ws cleanup
13187 * buffer.[Ch]: ws changes
13189 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
13191 2002-03-21 Juergen Vigna <jug@sad.it>
13193 * tabular.C (SetMultiColumn): collapse also the contents of the
13194 cells and set the last border right. Added a Buffer const * param.
13196 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
13198 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
13201 2002-03-19 Juergen Vigna <jug@sad.it>
13203 * text2.C (clearSelection): reset also xsel_cache.
13205 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
13206 where it needs to be called (John tells us to do so too :)
13207 (selectionLost): reset sel_cache.
13209 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
13211 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13213 * text2.C (setCursorIntern): put debuging code in INSETS channel
13215 2002-03-19 André Pönitz <poenitz@gmx.net>
13217 * lyxfunc.C: tiny whitespace change
13219 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13221 * ToolbarDefaults.C (init):
13222 * LyXAction.C (init):
13224 * BufferView_pimpl.C (Dispatch):
13225 * lyxfunc.C (dispatch): remove LFUN_DEPTH
13227 2002-03-19 Allan Rae <rae@lyx.org>
13229 * exporter.C (Export): removeAutoInsets before doing anything else.
13230 While I've just introduced a dependency on BufferView this really is
13231 the best place to clean the buffer otherwise you need to cleanup in
13232 a dozen places before calling export or cleanup in a dozen functions
13235 * converter.C (runLaTeX):
13236 (scanLog): Better handling of removeAutoInsets and screen updates.
13238 * lyxfunc.C (dispatch): small whitespace changes
13240 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13242 * WorkArea.C (C_WorkAreaEvent): return a value.
13243 (event_cb): return 1 if we handled the event, 0 otherwise.
13245 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
13247 2002-03-18 Juergen Vigna <jug@sad.it>
13249 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
13250 (GetAdditionalWidth): ditto.
13251 (RightLine): ditto.
13254 * BufferView2.C (copy): use getLyXText() so that we do it inside an
13255 inset if we're there actually (probably not used right now but this
13256 is the direction to go for unifying code).
13257 (paste): disable code to clear the selection.
13259 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
13260 inside an InsetText and move the check further up as it is in the
13263 * text2.C (pasteSelection): set a selection over the pasted text.
13265 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
13267 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
13268 and libgraphics to build on Cygwin.
13270 2002-03-15 Juergen Vigna <jug@sad.it>
13272 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
13273 inserting an Inset into the paragraph. I know this is not the best
13274 fix but we already use current_view in CutAndPaste so we will remove
13275 all of it's using at the same time.
13277 * buffer.C (sgmlError): deactivated function till it is rewritten in
13278 the right mode, now it can create problems.
13280 * paragraph.C (isLineSeparator): check if getInset returns != 0,
13281 before accessing it.
13283 2002-03-14 Juergen Vigna <jug@sad.it>
13285 * undo_funcs.C (textHandleUndo): do the right thing when updating
13286 the inset after the undo/redo.
13288 * text2.C (setCursor): just some testcode for #44 not ready yet.
13290 * undo_funcs.C (textHandleUndo): set the next() and previous()
13291 pointers of the paragraph to 0 before deleting otherwise we have
13292 problems with the Paragraph::[destructor].
13294 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
13295 on a paragraph insertion.
13297 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13299 * buffer.C (asciiParagraph): use += operator for char append to
13302 * paragraph.C (getFontSettings): compare >= not just >
13303 (highestFontInRange): ditto
13306 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13308 * paragraph.C: change several algorithm to be more appripriate for
13309 the problem domain. This is lookip in FontList and in the InsetList.
13311 2002-03-13 André Pönitz <poenitz@gmx.net>
13314 * LyXAction.C: remove unused LFUN_MATH_MACROARG
13316 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
13321 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
13323 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13325 * Painter.C (display): anon helper function, adjust code for this
13327 (pixmap): remove function.
13329 * Painter.h: remove private display variable.
13331 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
13333 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
13335 * WorkArea.[Ch]: remove figinset_canvas cruft.
13337 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13339 * lyxtextclass.C (operator): add one item cache optimization.
13341 * bufferlist.h: doxy changes
13343 * bufferlist.C: ws changes
13345 * DepTable.[Ch] (ext_exist): place const in the right spot.
13347 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
13349 (workAreaExpose): call resizeInsets when the with BufferView changes.
13350 (Dispatch): adjust for protectedBlank removal
13351 (specialChar): call updateInset if the insert went ok.
13353 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
13354 specialChar instead.
13356 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
13358 * BufferView.h: doxy change
13360 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
13362 * lyxtextclass.C (operator[]): remove non-const version
13363 (defaultLayout): remove non-const version
13365 2002-03-12 Juergen Vigna <jug@sad.it>
13367 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
13368 did resize the LyXText too.
13370 * buffer.C (readLyXformat2): set layout information on newly allocated
13373 * tabular.C (OldFormatRead): set layout information on the paragraph.
13375 2002-03-12 Jos�Ab�io Oliveira Matos <jamatos@novalis.fc.up.pt>
13377 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
13379 2002-03-11 Juergen Vigna <jug@sad.it>
13381 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
13383 (resizeCurrentBuffer): force also the insets to resize themselfes.
13384 (moveCursorUpdate): fixed up for InsetText.
13386 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
13389 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
13390 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
13391 value of Dialogs::tooltipsEnabled().
13392 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
13394 2002-03-08 Juergen Vigna <jug@sad.it>
13396 * BufferView_pimpl.C (updateInset): update inset inside inset also
13397 if it isn't inside theLockingInset().
13399 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13401 * buffer.C (asciiParagraph): redo some of the word and line length
13403 (getLists): look for Caption instead of caption.
13405 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13407 * buffer.C (Buffer): initialize niceFile to true
13409 (makeLinuxDocFile):
13410 (makeDocBookFile): make sure niceFile is true on exit
13412 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13414 * buffer.C (makeLaTeXFile): escape ~ in \input@path
13416 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
13418 * LyXSendto.C: remove.
13419 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13420 * lyx_gui.C: remove now-redundant comment.
13421 * ColorHandler.h: remove forward declaration of class WorkArea.
13422 * lyxfunc.C: remove #include "WorkArea.h".
13424 2002-03-07 Juergen Vigna <jug@sad.it>
13426 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13427 got moved away with the DEPM and also set the inset_owner always
13428 right which before could have been omitted.
13430 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13432 * buffer.C (parseSingleLyXformat2Token): use default layout is the
13433 wanted layout is not found.
13435 2002-03-07 Juergen Vigna <jug@sad.it>
13437 * CutAndPaste.C (cutSelection): another layout settings forgotten.
13439 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13441 * paragraph.C (breakParagraph): use default layout not layout of
13443 (Paragraph): clear ParagraphParameters.
13445 2002-03-06 Juergen Vigna <jug@sad.it>
13447 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13448 otherwise it would not be a valid lenght. Fixed a special case in
13449 the minipage compatibility read where we end the document with a
13452 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13453 was set as it could be 0 for InsetTexts first entry.
13455 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13457 * paragraph.C (writeFile): if layout is empty write out
13458 defaultLayoutName().
13460 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13461 file without named layout we set layout to defaultLayoutName().
13463 2002-03-06 Juergen Vigna <jug@sad.it>
13465 * CutAndPaste.C (copySelection): set layout for new paragraph.
13467 * text.C (prepareToPrint): leave ERT inset left aligned
13468 (leftMargin): don't indent paragraphs inside ERT insets
13470 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13472 * paragraph.C (breakParagraph): dont call clear do the work manually
13474 * paragraph.[Ch] (clear): remove function
13476 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13478 * paragraph.C (Paragraph): dont call clear, the work has already
13481 * lyxtextclass.C (operator): assert if n is empty
13483 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13484 work manually instead.
13486 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13488 * BufferView_pimpl.C: protect selectionLost against text == 0
13490 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13492 * text.C (breakParagraph): fix a setting layout to '0' problem.
13494 2002-03-05 Jos�Ab�io Oliveira Matos <jamatos@novalis.fc.up.pt>
13496 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13497 final location of file, for the included files, and graphics.
13499 2002-03-05 Juergen Vigna <jug@sad.it>
13501 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13503 2002-03-04 Juergen Vigna <jug@sad.it>
13505 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13507 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13508 last column of multicolumn cells.
13509 (SetWidthOfMulticolCell): recalculate NMC and real columns.
13511 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
13513 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13514 file if it doesn't go to a temporary file.
13516 * buffer.C (sgmlOpenTag):
13517 (sgmlCloseTag): remove extra newline insertion.
13519 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13521 * text.C (getRowNearY): comment out debug msg
13523 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13525 * text2.C: first -> first_y
13527 * text.C (getRowNearY): add some attemts at a possible
13528 optimization, not working.
13530 * tabular.[Ch]: add BufferParams to several function so that newly
13531 created paragraph can be initialized to he default layotu for the
13534 * tabular-old.C (ReadOld): add buf->params to call of Init
13536 * screen.C: rename text->first to text->first_y
13538 * paragraph.C (breakParagraph): always set layout in the broken
13541 * lyxtextclass.C (Read): remove lowercase
13544 (delete_layout): ditto
13546 * lyxtext.h: rename first -> first_y
13548 * lyxlayout.C (Read): remove lowercase
13551 (obsoleted_by): ditto
13553 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13555 * buffer.C (insertErtContents): add params are to InsetERT
13556 (parseSingleLyXformat2Token): add code to check if a paragraphs
13557 layout really exist.
13558 (parseSingleLyXformat2Token): add params to several inset
13560 (asciiParagraph): remove lowercase, do the layout comparisons with
13563 * BufferView_pimpl.C (cursorNext): first -> first_y
13564 (resizeCurrentBuffer): first -> first_y
13565 (updateScrollbar): first -> first_y
13566 (scrollCB): first -> first_y
13567 (workAreaMotionNotify): first -> first_y
13568 (workAreaButtonPress): first -> first_y
13569 (checkInsetHit): first -> first_y
13570 (cursorPrevious): first -> first_y
13571 (cursorNext): first -> first_y
13572 (Dispatch): add buffer_->params to severl inset contructors
13574 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13576 * lyxlayout.C (Read): remove some debug info that I forgot.
13578 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13579 clean up the code slightly.
13580 (makeLinuxDocFile): ditto
13581 (makeDocBookFile): ditto
13583 * text2.C: layout as string
13585 * text.C: layout as string
13587 * paragraph_pimpl.C: layout as string
13589 * paragraph.[Ch]: layout as string
13591 * lyxtextclasslist.[Ch]: layout as string
13593 * lyxtextclass.[Ch]: layout as string
13595 * lyxtext.h: layout as string
13597 * lyxlayout.[Ch]: layout as string
13599 * lyx_cb.C: layout as string
13601 * bufferview_funcs.C: layout as string
13603 * bufferparams.C: layout as string
13605 * buffer.C: layout as string
13607 * LyXView.[Ch]: layout as string
13609 * LaTeXFeatures.[Ch]: layout as string
13611 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13613 * BufferView_pimpl.C: change current_layout to string, remove
13618 (workAreaButtonRelease): layout as string
13620 * BufferView2.C (unlockInset): adjust
13622 * vspace.C (asLatexCommand): use an explict temp variable.
13624 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13626 * Makefile.am: use FRONTEND_*
13628 2002-03-01 Juergen Vigna <jug@sad.it>
13630 * tabular.C (SetWidthOfMulticolCell): changed to something better
13631 I hope but still work in progress.
13632 (recalculateMulticolumnsOfColumn): renamed function from
13633 recalculateMulticolCells as it is more appropriate now.
13634 (SetWidthOfCell): calculate multicols better.
13636 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13638 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13640 * lyxfunc.C (processKeySym): print sequence also if it is
13641 `deleted' (complete)
13643 * kbsequence.C (print): print sequence even if it is deleted
13644 (complete would be a better word, actually).
13646 * lyxfunc.C (dispatch): print complete options after a prefix key
13648 * vspace.C (asLatexCommand): rewrite in a slightly different form.
13650 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
13652 * text2.C (setCharFont): eliminate setCharFont code duplication.
13654 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13656 * BufferView_pimpl.C (Dispatch): remove bogus handling of
13657 LFUN_TABULAR_FEATURE (bug #177)
13659 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
13661 * Makefile.am: remove figure.h
13663 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
13665 * Bufferview_pimpl.C:
13677 * text2.C: remove #include "lyx_gui_misc.h".
13679 * LaTeX.C: added #include <cstdio>
13681 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13683 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13684 that the paragraph following this one can have.
13686 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13688 * vspace.C (asLatexCommand): fix bogus gcc warning
13690 * Makefile.am (lyx_SOURCES): remove vms_defines.h
13692 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
13694 * text2.C (setLayout): get rid of redundant code
13696 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
13698 * text2.C (incDepth): make sure depth cannot be increased beyond
13701 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
13703 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13704 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13706 * PainterBase.h (image):
13707 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13708 a LyXImage const *.
13710 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13714 * BufferView_pimpl.C:
13715 * BufferView_pimpl.h:
13735 * sp_spell.C: remove fig inset, and the crap house of
13736 cards that follows it
13738 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13743 * os2_errortable.h:
13744 * nt_defines.h: move .h into support/
13746 * vms_defines.h: remove
13748 * WorkArea.C: add space in debug output
13752 * buffer.C: add WITH_WARNINGS
13756 * bufferlist.C: s/retrive/retrieve/, add docs
13765 * chset.C: add docs
13767 * lyxgui.C: add ID to X error handler
13769 * lyxtestclass.c: fix typo
13771 2002-02-26 Juergen Vigna <jug@sad.it>
13773 * tabular_funcs.C (write_attribute): changed so that some default
13774 attributes are not written at all.
13775 (getTokenValue): set default values before trying to read the
13776 value so we have the return value always set as default if we don't
13777 find the token we search for.
13779 * tabular.C (Write): write bools as bools not as strings!
13781 2002-02-22 Juergen Vigna <jug@sad.it>
13783 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13784 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13786 * text.C (leftMargin): don't add an indent for paragraphs inside
13787 tabular cells (fix #208).
13789 2002-02-21 José Matos <jamatos@fep.up.pt>
13791 * tabular.C (docBook): fixed support for long tables.
13793 2002-02-20 Juergen Vigna <jug@sad.it>
13795 * text2.C (getFont): get the drawing font of the Inset if this
13796 paragraph is inside an inset (only important for InsetERT for now).
13798 * buffer.C (insertErtContents): use new lanugage params in ERT
13801 * CutAndPaste.C: commenting out seemingly uneeded code.
13803 2002-02-19 Allan Rae <rae@lyx.org>
13805 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13806 Iterators might be simple to use but they also get invalidated.
13807 (removeAutoInsets): renamed saved cursor tracking variables and added
13808 some comments to clarify what everything does.
13810 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
13817 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13818 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13821 * vc-backend.h: remove #include "support/syscall.h"
13825 * converter.C: rearrange #includes in Lars' approved fashion.
13827 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13828 forward declare class Timeout in the header file.
13830 * XFormsView.C: changes due to the above.
13832 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13833 similar to LyXView.
13835 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13836 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13838 2002-02-18 José Matos <jamatos@fep.up.pt>
13840 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13843 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
13845 * a lot of small ws changes
13846 * add a lot of using std::XXX
13847 * use std construcs some places where approp.
13848 * use some exisint stuff from lyxfunctional where approp.
13849 * Make file changes to use partial linking (lets test this now...)
13851 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13855 remove #include "support/syscontr.h" as it's redundant. Always has been.
13863 change Systemcalls::System to Systemcalls::Wait and
13864 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13865 No change of functionality, just reflects the stripped down Systemcalls
13868 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13870 * debug.[Ch]: add a GRAPHICS type to the enum.
13872 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13874 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13876 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13879 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13881 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13882 match the changes below.
13884 * text2.C (toggleInset): if there is not editable inset at cursor
13885 position, try to see if cursor is _inside_ a collapsable inset
13888 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13890 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13891 document menu has a nice checkbox
13893 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13895 * lyxlength.C (asLatexString): change PW to output as percent of
13898 * lengthcommon.C: change '%' to 't%'
13900 * lyxfunc.C (dispatch): a few comments from Martin
13902 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
13906 * BufferView_pimpl.h:
13907 * BufferView_pimpl.C: clear our selection when X tells us we've lost
13910 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13912 * vspace.C (inPixels): fix compiler warning
13914 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13916 * lyxfunc.C (getStatus): fix status message for disabled commands.
13918 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
13920 * BufferView_pimpl.C: fix crash on close buffer
13921 during selection (#227)
13923 2002-01-27 Herbert Voss <voss@lyx.org>
13925 * buffer.C: link old Figure to new graphic inset
13927 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
13929 * FontLoader.C (getFontinfo): Change the latex font names in order
13930 to match the names of type1inst.
13932 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
13934 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13936 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13937 (extchanged): ditto
13939 (remove_files_with_extension): ditto
13940 (remove_file): ditto
13943 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13944 document is smaller than the work area height. Do not initialize
13945 static variables to 0.
13947 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13949 * lyx_gui.C (init): give the toolbar tooltips a normal font.
13951 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13952 LFUN_LAYOUT_PARAGRAPHS.
13954 * tabular.C (GetCellFromInset): new method. Finds an inset in a
13955 tabular. It is possible to provide a possible cell, which will
13956 typically be the actcell from the corresponding insettabular
13958 * lyxfunc.C (getStatus): small cleanup; disable
13959 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13962 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13964 * tabular.C (Validate): remove broken optimization (fixes bug #201)
13966 * paragraph.C (startTeXParParams):
13967 (endTeXParParams): new methods. The LaTeX code to
13968 start/end paragraph formatting
13969 (simpleTeXOnePar): call startTeXParParams also when paragraph is
13970 empty (fixes bug #200)
13972 * vspace.C (inPixels): adapt to the change below
13973 (inPixels): [later] more cleanups (remove unused variables)
13975 * lyxlength.C (inPixels): change to use a width and a height as
13978 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13980 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13981 Replaced with \paperwidth
13983 * DepTable.C (insert): add std:: qualifier
13985 2002-01-18 Allan Rae <rae@lyx.org>
13987 * text2.C (removeRow): add comment. Should other refresh_?? vars be
13990 * text.C (drawInset): Turned out I didn't know enough about how
13991 rebreaking worked. This fixes most of the redraw problems. I see
13992 an occasional cursor trail when a line is broken now and the cursor
13993 placement can seem out by a few pixels also after a rebreak.
13995 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13997 * buffer.C (parseSingleLyXformat2Token): update because minipage
13998 width is now a LyXLength
14000 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
14002 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
14005 2002-01-17 Juergen Vigna <jug@sad.it>
14007 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
14009 * BufferView2.C (lockInset): call edit() so that theLockingInset()
14010 is set correctly and the inset is updated correctly.
14012 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14014 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
14015 the beginning of the loop.
14017 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
14019 * lyxrc.C: improve help for use_scalable_fonts
14021 2002-01-17 Allan Rae <rae@lyx.org>
14023 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
14025 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14027 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
14028 make sure to set their inset_owner to the right value (bug #171)
14030 2001-12-12 Ben Stanley <bds02@uow.edu.au>
14033 * DepTable.C: Implement mtime checking to reduce time spent doing
14036 2002-01-16 Juergen Vigna <jug@sad.it>
14038 * tabular.C (GetAdditionalHeight): one of error fixed.
14040 * lyxrc.C (output): small fix in writing use_pspell.
14042 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
14044 * sp_base.h: #include LString.h
14046 2002-01-16 Allan Rae <rae@lyx.org>
14048 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
14049 Can someone check this please?
14051 * text.C (drawInset): It was possible that p.row would be removed by
14052 breakAgainOneRow upsetting a few other settings. There may be another
14053 small tweak possible by setting need_break_row = 0 when p.row has been
14054 removed but I don't know enough about the logic here.
14056 2002-01-15 Allan Rae <rae@lyx.org>
14058 * text.C (insertChar): removed conditional truism.
14060 * BufferView2.C (removeAutoInsets): More tweaks.
14061 cur_par_prev could be a stray pointer. Check for trailing empty line
14062 in case last line was cur_par and only had an error inset on it.
14064 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14066 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
14069 * vc-backend.C (most methods):
14070 * exporter.C (Export):
14071 * converter.C (convert):
14073 * LyXSendto.C (SendtoApplyCB):
14074 * lyxfunc.C (dispatch):
14078 * lyx_cb.C (AutoSave):
14080 * BufferView_pimpl.C (MenuInsertLyXFile):
14081 * buffer.C (runChktex): use Buffer::filePath().
14083 * buffer.h: rename filename to filename_; rename filepath to
14084 filepath_ and make it private
14085 (filePath): new method
14087 * buffer.C (writeFile): use fileName()
14090 * lyx_main.C (init): fix starting of LyX when the binary is a
14091 link from so,ewhere else.
14093 * minibuffer.C: include <cctype> for isprint
14095 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
14097 * buffer.C (parseSingleLyXformat2Token): changes associated with the
14098 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
14099 name clash with InsetCollapsable's width function.
14101 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14103 * lastfiles.C: include <iterator>
14105 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
14107 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
14110 * buffer.C (makeLaTeXFile): ditto.
14111 Also make loop operation more transparent.
14113 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
14115 * ToolbarDefaults.C: remove trailing comma closing namespace.
14117 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
14119 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
14122 * trans.C (Load): comment out unused variable, allowed.
14124 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
14126 * minibuffer.[Ch] (append_char): new method to recieve input from the
14127 drop-down completion browser. If a key was pressed, then recieve this
14128 char and append it to the existing string.
14129 (peek_event): modify the positioning data passed to the completion
14130 browser so that it can be placed above the minibuffer rather than below.
14131 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14133 * LyXAction.C (init): alloe error-next for readonly documents.
14135 * BufferView2.C (ChangeRefsIfUnique): use standard version of
14138 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14140 * bufferlist.C (readFile): create the buffer _after_ checking that
14143 * lyxfunc.C (verboseDispatch): fix handling of arguments
14145 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
14147 * lyxrc.C: use string::erase() instead of initializing to "".
14150 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14152 * BufferView_pimpl.h:
14153 * BufferView_pimpl.C:
14156 * text2.C: tell X when we have made a selection for copying
14158 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14160 * BufferView_pimpl.C (MenuInsertLyXFile):
14161 * lyxfunc.C (menuNew):
14163 (doImport): add shortcuts to directory buttons
14165 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
14168 * lyxfunc.C (setStatusMessage):
14169 (getStatusMessage): new methods
14170 (getStatus):use setStatusMessage instead of setErrorMessage
14171 (dispatch): when function is disabled, set error message here
14172 [instead of in getStatus previously]
14174 * BufferView_pimpl.C (workAreaButtonRelease): update
14175 toolbar/menubar here too.
14177 2002-01-13 Allan Rae <rae@lyx.org>
14179 * BufferView2.C (removeAutoInsets): finished off earlier fix.
14180 Now seems indestructible. Remaining task is to audit all other
14181 code affected by deleteEmptyParagraphMechanism. One small quirk
14182 left is that an empty document with an error in the preamble can
14183 be made to report an error but no error box appears. I don't know
14185 (removeAutoInsets): Improved comments.
14187 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
14190 * Thesaurus.C: update for Aiksaurus 0.14
14192 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
14194 * text2.C (firstParagraph): removed member function, all uses
14195 replaces with ownerParagraph
14196 (redoParagraphs): here
14197 (updateInset): here
14198 (toggleAppendix): here
14199 * BufferView2.C (insertErrors): here
14200 (setCursorFromRow): here
14202 2002-01-13 Allan Rae <rae@lyx.org>
14204 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
14205 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
14206 There is still a way to segfault this although you may have to do this
14207 multiple times: Have an InsetERT with an unknown command in it.
14208 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
14209 <down-arrow>, <Enter> again, View->DVI, BANG!
14211 * text2.C (setCursor):
14212 (deleteEmptyParagraphMechanism):
14213 * lyxtext.h (setCursor):
14214 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
14215 Making use of the return value may help fix other bugs.
14217 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14219 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
14221 * LyXView.C (updateMenubar): call MenuBar::update here
14222 (updateToolbar): but not here
14223 (showState): do not update toolbar/menubar
14225 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
14226 should need to care about that.
14228 * lyxfunc.C (verboseDispatch): simplify a bit
14229 (getStatus): have a version which takes a pseudoaction, and
14230 another which requires a (kb_action,string).
14232 * LyXAction.C (retrieveActionArg): make it work also when action
14233 is not a pseudo-action.
14234 (getActionName): simplify a bit
14237 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14239 * lyxfunc.C (verboseDispatch): new families of methods with
14240 several ways to specify a command and a bool to indicate whether
14241 the command name and shortcut should be displayed in minibuffer
14242 (eventually, we could extend that to a finer bitmask like
14243 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
14244 (dispatch): the pristine dispatch command which just, well,
14245 dispatchs! Note it still sets its result to minibuffer; I'm not
14248 * lyxfunc.h: remove setHintMessage
14250 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
14252 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14254 * BufferView_pimpl.C (specialChar): delete new inset if we have
14255 not been able to insert it.
14257 * kbmap.C: revert to using int instead of kb_action, since all we
14258 are dealing with is pseudo-actions.
14260 * LyXAction.C (searchActionArg): change to return int instead of
14261 kb_action, since the result is a pseudoaction.
14263 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
14265 * buffer.C (insertErtContents): Fix (partially) the font bug.
14267 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
14269 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
14270 as the other one is broken on my machine!
14272 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
14275 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
14277 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
14279 * lyxrc.[Ch]: change names and descriptions of popup font variables to
14280 reflect their actual use. Provide compatibility code for older lyxrc
14283 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
14285 change names of popup font variables in line with the changes to lyxrc.C
14287 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14289 * buffer.C (asciiParagraph): avoid outputing a word twice after
14292 * lyxrc.C (getDescription): document that document_path and
14293 template_path can be empty.
14295 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14297 * LaTeXFeatures.C (getMacros):
14298 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
14300 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
14302 * LaTeXFeatures.C (useFloat): require "float" here instead of in
14304 (getPackages): rename feature "floats" to "float". Use an array to
14305 iterate over 'simple' features (i.e. just a \usepackage). Add
14306 handling of "amsmath" (renamed from "amsstyle").
14308 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
14310 * LaTeXFeatures.C (require): Prevent duplicate entries in the
14313 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
14315 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
14316 FuncStaus::FuncStatus & FuncStaus::some_method().
14318 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
14320 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
14321 of the func_satus stuff. Edited and massaged in various ways by
14324 * lyxfunc.C (getStatus): use FuncStatus
14326 2002-01-08 Juergen Vigna <jug@sad.it>
14328 * text.C (nextBreakPoint): use function Inset::isChar().
14330 * paragraph.C (TeXOnePar): use function
14331 Inset::forceDefaultParagraphs.
14333 * buffer.C (latexParagraphs): use function
14334 Inset::forceDefaultParagraphs.
14336 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14338 * lyx_gui.C (init): set the style of the menu popups to
14339 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
14341 2002-01-07 Juergen Vigna <jug@sad.it>
14343 * text.C (setHeightOfRow): small fix
14344 (prepareToPrint): don't look at alignment if we don't have the place
14347 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14349 * box.C: New file. Move the Box methods and functions out of box.h,
14350 following Lars' suggestion.
14352 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14354 * box.h: #include "support/LOstream.h", needed for inlined function.
14357 * lyxtextclasslist.C: added some using std declarations.
14359 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
14361 * box.h: make signed dimensions to allow insets wider than
14362 the screen (bug #162)
14364 * BufferView_pimpl.C: add some insetHit debug
14366 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
14368 * vc-backend.C: add FIXME
14370 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14372 * lyxfunc.C (getStatus): enable code for showing math font status
14375 2002-01-07 Juergen Vigna <jug@sad.it>
14377 * text.C (nextBreakPoint): removed debug output not needed anymore.
14379 2002-01-06 Juergen Vigna <jug@sad.it>
14381 * text.C (nextBreakPoint): fixed up this function we had this bug
14382 since ever but now hopefully we break row better.
14383 (insertChar): we have to check if an inset is the next char as it
14384 could now happen that a large inset is causing a break.
14386 2002-01-05 Juergen Vigna <jug@sad.it>
14388 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
14389 if it doesn't like to be drawed.
14391 2002-01-04 Juergen Vigna <jug@sad.it>
14393 * BufferView2.C (lockInset): forgot to set a cursor.
14395 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
14397 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
14399 * FormMathsPanel.C:
14402 * form_maths_panel.C:
14403 * form_maths_panel.h:
14404 * form_maths_panel.fd: implemented sub- and super- buttons in math
14407 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
14408 (or ^ space) to be used as in TeX (req'd by Andr�.
14410 * lyxfunc.C: Allow ^ and _ again to be used both as
14411 super/subscript (mathed) and as themselves (in text).
14413 2002-01-03 Allan Rae <rae@lyx.org>
14415 * LyXView.C (updateWindowTitle): Setup a short icon title of either
14416 "LyX" or the filename of the current buffer if it has one. This is a
14417 modified form of John Levon's patch.
14419 * XFormsView.C (setWindowTitle): also set icon title.
14421 * LyXView.h (setWindowTitle): signature changed.
14422 * XFormsView.h (setWindowTitle): ditto.
14424 2002-01-02 Juergen Vigna <jug@sad.it>
14426 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14428 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
14430 * screen.C (topCursorVisible): introduce a temp var for
14431 text->cursor.row(), handle the case where this row is null. (kindo
14434 * text2.C (setCursor): add a couple of asserts.
14436 * paragraph.h (inset_iterator): add -> operator
14438 * paragraph.[Ch] (autoDeleteInsets): remove member function
14440 * BufferView2.C (removeAutoInsets): rewrite to handle the old
14441 cursor pos correctly and handle inset deletion by itself.
14442 (insertErrors): move iterator declaration out of for expression
14444 * lyxtextclass.C: add <algorithm>
14446 * Makefile.am: added the new files to sources, removed layout.C
14448 * layout.C: removed file
14450 * layout.h: remove LYX_DUMMY_LAYOUT
14452 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14456 * lyxtextclass.[Ch]:
14457 * lyxtextclasslist.[Ch]: new files
14459 * include order changes to a lot of files, also changes because of
14462 2001-12-27 Juergen Vigna <jug@sad.it>
14464 * buffer.C (asciiParagraph): more fixes.
14466 * tabular.C (ascii): make ascii export support export of only the
14467 data separated by a column-delimiter.
14468 (ascii): better support for ascii export.
14470 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14472 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14474 * tabular_funcs.C: use a "using std::getline" instead of the
14475 previous fix from Angus (necessary for cxx + lyxstring)
14477 2001-12-24 Juergen Vigna <jug@sad.it>
14479 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14481 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14482 problems. First check a minipage also if we have some ert-contents
14483 (not only on par->size(), second set the right depth of the paragraph
14484 on the relink to the root-paragraph-list!
14486 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14487 which then did not anymore update the main paragraphs on undo/redo!
14489 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14491 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14492 code. Support all font-changing funcs (even those which are not in
14493 menu currently). Support for reporting font settings in
14494 mathed (disabled until Andre provides a function on mathed's side).
14496 * func_status.h (toggle): small helper function to set toggle
14499 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
14501 * tabular_funcs.C: getline -> std::getline
14503 2001-12-21 Juergen Vigna <jug@sad.it>
14505 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14506 accessed and could be 0 (I couldn't generate this but it seems
14509 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
14511 * tabular_funcs.C: add LIstream.h, move write_attribute to..
14512 * tabular_funcs.h: here and include iosfwd
14514 2001-12-20 Juergen Vigna <jug@sad.it>
14516 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14517 inside inset but undo_par was.
14519 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14521 * Thesaurus.C: always include <config.h> in sources.
14525 * box.h: do not include <config.h> in header files
14527 * text.C (paintLastRow): remove unused variable
14529 * text.C (transformChar):
14531 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14533 * Painter.C (text):
14534 * font.C (width): rewrite to use uppercase() instead of
14537 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14539 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
14541 * lyxfind.C: clean up of find failure position change
14543 2001-12-20 Juergen Vigna <jug@sad.it>
14545 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14547 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14548 (TeXRow): added to LaTeX a single tabular row.
14549 (TeXLongtableHeaderFooter): added to output LT-h/f data.
14550 (Latex): simplified and finally good LT-h/f support.
14551 (various_functions): just small adaptions for LT-h/f support.
14553 * tabular_funcs.[hC]: added and moved here all not classfunctions
14556 2001-12-19 Juergen Vigna <jug@sad.it>
14558 * tabular.[Ch]: better support for longtabular options (not finished
14561 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14563 * text.C (paintLastRow): use the label font instead of the font of
14564 the last character to compute the size of *_BOX. This makes more
14565 sense and avoids a crash with empty paragraphs.
14566 Use Painter::rectangle to draw EMPTY_BOX.
14568 2001-12-19 Juergen Vigna <jug@sad.it>
14570 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14571 the paragraphs if the replaced paragraph is not the first one!
14572 Tried to delete not used paragraphs but does not work yet so for
14573 now it's inside #ifdef's and by default off!
14575 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14577 * MenuBackend.C: include "lyx_main.h" instead of declaring
14578 lastfiles (actually was declared as LastFiles* instead of a
14581 2001-12-17 Juergen Vigna <jug@sad.it>
14583 * tabular.C (AppendColumn): applied John's fix
14585 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
14589 * BufferView_pimpl.h:
14590 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14593 * box.h: new start of class for above
14595 * lyxfunc.C: ignore space-only minibuffer dispatches.
14596 Show the command name when it doesn't exist
14598 * minibuffer.C: don't add empty lines to the history
14600 * minibuffer.C: add a space on dropdown completion
14602 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
14604 * text.C: fix line above/below drawing in insets
14606 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14608 * lyxlength.C (LyXLength): Initialize private variables.
14610 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
14612 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14613 when inserting error insets.
14615 2001-12-13 Juergen Vigna <jug@sad.it>
14617 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14618 actually sometimes the before-paragraph.
14619 (setUndo): don't clear the redostack if we're not actually undoing!
14621 2001-12-06 Juergen Vigna <jug@sad.it>
14623 * undo_funcs.C (textHandleUndo): well after John's hint I got here
14624 and fixed redoing of main paragraph, so we can use it now ;)
14626 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14628 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14630 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14633 2001-12-13 André Pönitz <poenitz@gmx.net>
14636 * undo_func.C: minor cleanup
14638 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14640 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14641 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14642 font in urw-fonts package which is marked as -urw-fontspecific and
14643 does not work (incidentally, changing the encoding in the
14644 fonts.dir of this package to -adobe-fontspecific fixes the
14647 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14648 is a crash when undoing first paragraph (Juergen, please take a
14649 look). THis does not mean the undo fix is wrong, just that it
14652 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14653 the (Paragraph*) version when needed instead of duplicating the
14656 * text.C (workWidth): use Inset::parOwner to find out where the
14657 inset has been inserted. This is a huge performance gain for large
14658 documents with lots of insets. If Inset::parOwner is not set, fall
14659 back on the brute force method
14661 * paragraph_pimpl.C (insertInset):
14662 * paragraph.C (Paragraph):
14663 (cutIntoMinibuffer): set parOwner of insets when
14664 inserting/removing them
14666 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14668 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
14674 * mathed/formulabase.C:
14675 * mathed/math_cursor.[Ch]:
14676 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14679 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14681 * lyxlength.[Ch] (operator!=): new function
14683 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14685 * text.C (workWidth): use Inset::parOwner to find out where the
14686 inset has been inserted. This is a huge performance gain for large
14687 documents with lots of insets. If Inset::parOwner is not set, fall
14688 back on the brute force method
14690 * paragraph_pimpl.C (insertInset):
14691 * paragraph.C (Paragraph):
14692 (cutIntoMinibuffer): set parOwner of insets when
14693 inserting/removing them
14695 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14697 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14699 * tabular-old.C (getTokenValue):
14700 * tabular.C (getTokenValue):
14701 (write_attribute): new versions for LyXLength
14702 (everywhere): adjust the use of widths
14704 * tabular.h: change the type of widths from string to LyXLength
14706 2001-12-11 Ben Stanley <bds02@uow.edu.au>
14708 * paragraph.C: fixed missing line number count when exporting
14709 Environments to LaTeX file
14711 * buffer.C: added informational message for checking line numbers.
14713 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14715 * text2.C (deleteEmptyParagraphMechanism): if there is only one
14716 paragraph, do the 'double space' part, but not the 'empty
14719 * text.C (workWidth): small optimization
14720 (getLengthMarkerHeight): use minimal size for negative lengths.
14722 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
14724 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14726 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14728 2001-12-11 André Pönitz <poenitz@gmx.net>
14731 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14733 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14735 * text2.C: keep selection on a setFont()
14737 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14739 * lyx_cb.C: another bv->text misuse, from insert label
14741 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14744 * kbsequence.C: re-instate nmodifier mask
14746 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
14748 * lyx_main.h: make lyxGUI private.
14750 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14752 * lyxfind.C: place the cursor correctly on failed search
14754 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14756 * text.C (getLengthMarkerHeight): for small heights, the arrows
14757 are not always on top/bottom of the text
14758 (drawLengthMarker): smaller arrows; take the left margin in
14759 account; draw also vfills.
14761 (paintLastRow): remove special code for vfill and standard spaces,
14762 since everything is handled in drawLengthMarker now.
14764 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14766 * buffer.C (insertErtContents): try to handle font and language
14767 interaction a bit better.g
14769 * ColorHandler.C (updateColor): change the hash to cover the whole
14770 LColor enum, ws cleanup
14771 (getGCLinepars): ditto
14772 (getGCLinepars): only lookup in the linecache once.
14774 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
14776 * iterators.C (operator++): Make the iterator more robust
14778 * BufferView2.C (removeAutoInsets): Use paragraph iterators
14780 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14782 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14785 * text.C: better added space drawing
14787 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14790 * BufferView2.C: fix layout combo update on inset unlock
14792 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14794 * Makefile.am: don't compile unused files
14796 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14800 * LyXAction.C: remove old LFUN_LAYOUTNO
14802 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14804 * paragraph_pimpl.h:
14805 * paragraph_pimpl.C: isTextAt() doesn't need font param
14807 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14810 * lyxlex.C: little cleanup
14812 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14814 * BufferView_pimpl.C: fix insertAscii for insets
14816 2001-12-05 Juergen Vigna <jug@sad.it>
14818 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14819 set the right font on the "multi" paragraph paste!
14821 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14827 * lyxlength.C: remove out-commented code.
14829 * BufferView_pimpl:
14843 * vc-backend.C: change "while(" to "while ("
14845 * lyxlength.[Ch]: add zero function to check if length is zero or
14847 * lyxgluelength.C: use it
14849 2001-12-05 Allan Rae <rae@lyx.org>
14851 * lyxlength.C: Attempted a fix for the abs(int) header selection.
14852 Works for 2.95.3, from what I understand of Garst's reports this should
14853 work for other g++ versions. We're screwed if the abs(int) definition
14854 changed between bugfix releases of gcc.
14856 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14858 * text.C: fix chapter label offset !
14860 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14863 * text.C: fix hfill at end of line, clean up
14865 2001-12-04 Juergen Vigna <jug@sad.it>
14867 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14868 that we force an update of the inset and it's owners if neccessary.
14870 2001-12-03 Juergen Vigna <jug@sad.it>
14872 * text.C (rowLast): simplified code
14874 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14876 * lyxfunc.C: fix show options on timeout
14878 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14880 * screen.C (topCursorVisible): scroll half a page when the cursor
14881 reached top of bottom of screen
14883 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
14885 * minibuffer.C: deactivate on loss of focus
14887 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14889 * vspace.[Ch] (operator!=): add operator.
14891 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
14893 * BufferView_pimpl.C: refuse to open an inset when
14894 there's a selection.
14896 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
14898 * BufferView_pimpl.C: allow to click on RHS of full row insets
14900 2001-11-30 Juergen Vigna <jug@sad.it>
14902 * tabular.C (LyXTabular): add a same_id to set the same id's in the
14903 insets for undo reasons.
14905 2001-11-28 André Pönitz <poenitz@gmx.net>
14907 * vspace.[Ch]: cosmetical changes
14909 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14919 * kbsequence.C: part re-write of old kb code
14922 * WorkArea.C: remove Lgb_bug_find_hack
14924 2001-11-30 José Matos <jamatos@fep.up.pt>
14926 * buffer.C (makeDocBookFile): add a comment to point a hack.
14927 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14928 Fixed a double write of labels.
14930 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14933 * LaTeX.h Fixed bug in LaTeX class where it would not
14934 re-run latex if no depfiles were changed, but the .dvi was removed.
14936 2001-11-28 André Pönitz <poenitz@gmx.net>
14938 * all the files from the change on 2001/11/26:
14939 use lyx::layout_type instead of LyXTextClass::size_type
14940 use lyx::textclass_type instead of LyXTextClassList::size_type
14942 2001-11-29 Juergen Vigna <jug@sad.it>
14944 * text.C: added support for paragraph::isFreeSpacing()
14946 * buffer.C: same as above
14948 * paragraph.h: inserted isFreeSpacing() function to enable
14949 FreeSpacing inside InsetERT.
14951 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14952 of the paragraph's in the cut/copy buffer to 0!
14954 * text2.C (removeRow): remove the assert as it can!
14956 * lyxtext.h: added helper function firstRow returning firstrow and
14957 made firstrow private again.
14959 * BufferView2.C (lockInset): don't relock if we're already locked!
14961 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14962 the only paragraph.
14963 (removeRow): added Assert::(firstrow)
14965 * debug.C: forgot to add INSETTEXT here.
14967 2001-11-28 Juergen Vigna <jug@sad.it>
14969 * sp_spell.C (initialize): changed error text to more general
14970 spellchecker command use (not only ispell!)
14972 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14974 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14976 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14978 * vspace.C: initialise lyxgluelength on failure
14980 2001-11-28 Allan Rae <rae@lyx.org>
14982 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14983 declaration & definition that looks like a function declaration.
14985 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14987 * BufferView2.C (copy):
14988 (copyEnvironment): do not clear the selection when doing a copy.
14990 * text.C (paintFirstRow): compilation fix
14992 2001-11-27 Ben Stanley <bds02@uow.edu.au>
14994 * tabular.C (Latex): correct line count when writing latex.
14996 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
14998 * paragraph_pimpl.h:
14999 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
15002 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
15006 * LColor.C: change vfillline->added_space
15008 * text.C: add markers and text for added space
15010 * vspace.C: fix comment
15012 2001-11-28 André Pönitz <poenitz@gmx.net>
15014 * paragraph.C: whitespace changes
15015 * all the other files from the change on 2001/11/26:
15016 change *::pos_type into lyx::pos_type
15018 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
15020 * buffer.C (parseSingleLyXformat2Token): Set the language to the
15021 language of the document when inserting error insets.
15023 2001-11-26 André Pönitz <poenitz@gmx.net>
15025 * BufferView_pimpl.[Ch]:
15033 * paragraph_pimpl.[Ch]:
15036 * text2.C: reduce header dependencies, introduce type for positions
15038 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
15040 * <various>: change to use Alert.h
15042 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
15044 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
15045 when encountering an unknown token.
15046 (readLyXformat2): Show an error message if there were unknown tokens.
15048 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
15051 * BufferView_pimpl.C:
15055 * text2.C: use par->isInset()
15057 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
15059 * paragraph_pimpl.h:
15060 * paragraph_pimpl.C: cleanup
15062 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15064 * text2.C (removeRow):
15065 * text.C (setHeightOfRow): remove useless (and costly) call to
15068 2001-11-20 Allan Rae <rae@lyx.org>
15070 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
15071 Now need Inset*::checkInsertChar() to return true for appropriate
15072 cases so that the characters in the minibuffer will actually be
15075 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
15077 * text.C: change the order of the includes.
15078 (workWidth): initialize it at once.
15079 (workWidth): make maxw unsigned
15080 (setHeightOfRow): remove unused variable (inset)
15081 (selectSelectedWord): remove unused variable (inset)
15082 (paintRowText): fix drawing of hfill characters, and clean up a bit.
15084 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15086 * lyxserver.C (emergencyCleanup): do not try to close pipes if
15087 server is not running.
15089 (closeConnection): add debug info when server is disabled.
15091 * ColorHandler.C (getGCForeground): send debug message to GUI
15094 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
15096 * kbmap.C (bind): modify because return conventions of
15097 kb_sequence::parse have changed.
15099 * kbsequence.C (parse): only ignore spaces and not any stupid
15100 control character. This avoids tests like s[i] <= ' ', which are
15101 guaranteed to fail with 8bit characters and signed chars.
15102 Change return code to string::npos when there have been no error
15103 (0 was a bad idea when error is at first character)
15105 2001-11-14 José Matos <jamatos@fep.up.pt>
15108 * buffer.C (simpleDocBookOnePar): removed unused argument.
15110 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15112 * text.C (selectNextWordToSpellcheck): do not test explicitely for
15113 insets which are part of a word. Paragraph::isLetter takes care of
15114 that now. Use Paragraph::isInset to identify insets.
15115 (selectSelectedWord): do not test for hyphenation break.
15117 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
15118 that protected spaces are considered as spaces.
15120 * paragraph.C (isLetter): cleanup the code for ispell extras; use
15123 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
15126 * lyxserver.C: fix it. and small cleanup.
15128 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
15130 * BufferView_pimpl.C: use inline helpers
15133 * LaTeXFeatures.C: fix typos
15136 * Spacing.C: move spacing_string into class
15138 * ToolbarDefaults.C: move stuff into namespace anon
15140 * layout.h: update enum
15142 * lyxfunc.C: use better debug
15144 * minibuffer.h: fix typo
15148 * WorkArea.C: add and use Debug::WORKAREA
15152 * text2.C: code re-organisation, inline helpers
15154 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
15156 * Layout.C: replaced a few cases of std::vector.size() == 0 with
15157 std::vector.empty().
15159 2001-11-09 Allan Rae <rae@lyx.org>
15161 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
15162 '\n's after tables. Tabular and ERT inset work now makes this no
15165 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
15168 * minibuffer.C: fix crash, improve drop-down completion
15170 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
15173 * lyxserver.C: invalidate fd's when doing endPipe()
15175 2001-11-08 José Matos <jamatos@fep.up.pt>
15177 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
15178 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
15181 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
15183 2001-11-07 José Matos <jamatos@fep.up.pt>
15186 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
15189 * buffer.C (sgmlOpenTag):
15190 * buffer.C (sgmlCloseTag): removed debug info.
15192 * buffer.h (sgmlOpenTag):
15193 * buffer.h (sgmlCloseTag): made public.
15195 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15197 * buffer.C (saveParamsAsDefaults):
15198 * lyx_cb.C (MenuLayoutSave): remove
15200 * LyXAction.C (init):
15202 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
15204 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15206 * buffer.C (setPaperStuff): removed from here...
15208 * bufferparams.C (setPaperStuff): ... and moved there.
15210 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
15214 * XFormsView.C: add support for drop-down completion
15216 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
15218 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
15221 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15223 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
15226 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
15228 * lyx_main.C: change ref to known bugs
15230 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
15232 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
15233 to work around older babel problems.
15235 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
15237 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
15239 2001-10-24 Juergen Vigna <jug@sad.it>
15241 * tabular-old.C (ReadOld): below variable changes reflected.
15243 * tabular.[Ch]: added ltType struct for longtable header/footer
15244 defines and changed all instances where they are used. Added
15245 future support for double top/bottom rows.
15247 2001-10-24 José Matos <jamatos@fep.up.pt>
15249 * buffer.h (docbookHandleCaption):
15250 * buffer.C (docbookHandleCaption): removed unused function.
15251 (makeDocBookFile): moved docbook supported version to v4.1.
15253 2001-10-24 José Matos <jamatos@fep.up.pt>
15256 * tabular.C (docbookRow): new function to export docbook code of a row.
15257 (DocBook): now honors the longtable flags.
15259 2001-10-23 José Matos <jamatos@fep.up.pt>
15262 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
15263 of the lyx defined sgml entities used in a docbook/linuxdoc document.
15265 * buffer.C (makeLinuxDocFile):
15266 (makeDocBookFile): reworked the preamble, more clean, and with
15267 support for lyx defined entities. Changed the document declaration
15268 to be more XML friendly.
15270 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
15271 if we need to output XML that should be done with a filter.
15273 2001-10-22 Juergen Vigna <jug@sad.it>
15275 * sp_pspell.h (class PSpell): add alive function needed in the
15276 controller to see if the spellchecker could be started.
15278 2001-10-22 Juergen Vigna <jug@sad.it>
15280 * buffer.C (insertStringAsLines): modify the font for inserting
15281 chars in certain conditions by calling checkInsertChar(font).
15283 2001-10-19 Juergen Vigna <jug@sad.it>
15285 * text.C (workWidth): use getRow instead of wrong algorithm.
15286 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
15288 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
15293 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
15295 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15297 * text.C (workWidth): do not search for the exact row when
15298 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
15299 optimization for big documents.
15301 2001-10-18 Juergen Vigna <jug@sad.it>
15303 * text.C (workWidth): new function with added Inset * parameter.
15305 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15307 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
15309 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
15310 change return type of getColumnNearX.
15313 * text.C (changeRegionCase): use uppercase/lowercase instead of
15316 (rightMargin): simplify code by factoring out the uses of
15321 (appendParagraph): use Paragraph::size_type
15323 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15325 * vspace.C (asLatexString): add a missing break
15327 2001-10-15 Herbert Voss <voss@perce.de>
15329 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
15331 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15333 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
15336 2001-10-10 André Pönitz <poenitz@gmx.net>
15338 * lyxfunc.C: removed greek_kb_flag.
15340 2001-10-10 Herbert Voss <voss@perce.de>
15342 * lyx_main.C: delete global string help_lyxdir.
15344 2001-10-09 Herbert Voss <voss@perce.de>
15346 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
15348 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
15350 * lyx_main.C: added global string help_lyxdir.
15352 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
15354 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
15356 * lyxrc.C (set_font_norm_type): support iso8859-4
15358 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
15360 * LaTeX.C (deplog): add another regex for MikTeX
15362 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
15364 * lyxrc.C (set_font_norm_type): support iso8859-3
15366 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15368 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
15370 * LaTeXFeatures.C: remove special case of french and index
15372 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
15373 before \begin{document}). This solves several incompatibilities.
15375 2001-10-03 Garst Reese <reese@isn.net>
15377 * lyx_cb.C: change CheckTex error msg.
15379 2001-10-03 José Matos <jamatos@fep.up.pt>
15381 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
15383 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15385 * .cvsignore: update
15387 * lyx_main.C (commandLineVersionInfo): use new style version info.
15389 * buffer.C (writeFile):
15391 (makeLinuxDocFile):
15392 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
15394 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
15396 * version.h: update to use stuff in version.C
15398 * version.C.in: new file. Contains version information determined
15399 at compile time. This is a merging of version.h and
15402 2001-10-03 Juergen Vigna <jug@sad.it>
15404 * BufferView_pimpl.C (update): don't change "dirty" status in
15407 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
15409 * WorkArea.C (c-tor): re-position version string slightly.
15411 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
15413 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15414 revert to previous code.
15416 WorkArea.[Ch]: (show, destroySplash): methods removed.
15418 WorkArea.C: rework code so that it's an amalgam of the codes before and
15419 after the splash screen was moved to WorkArea.
15421 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15424 * vspace.C (inPixels):
15427 * buffer.C (insertStringAsLines):
15428 (asciiParagraph): fix types to be large enough
15430 * lyxlex_pimpl.h: change member status from short to int
15432 * layout.h: fix type of endlabeltype
15435 * kbsequence.C (parse): change return type to string::size_type
15437 * LaTeX.C (updateBibtexDependencies): comment out unneeded
15440 * Bullet.C (bulletSize):
15441 (bulletEntry): do not use short ints as parameters
15443 * BufferView2.C (insertLyXFile): change a char to an int.
15445 * WorkArea.C (WorkArea): remove unneeded floats in computation
15447 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
15449 * buffer.C (asciiParagraph): Treat '\\' as other chars.
15451 * paragraph.C (asString): Do not ignore newline/hfill chars when
15452 copying to the clipboard.
15454 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
15456 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15457 after a multi-line inset.
15459 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
15461 * paragraph.C (validate): Set NeedLyXFootnoteCode
15463 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
15465 * lyxfont.C (LyXSizeNames): changed increase-error to increase
15466 and decrease-error to decrease.
15468 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15470 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15471 it more readable (should be equivalent)
15473 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
15475 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15477 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15479 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15480 of a cursor (row, etc.) after a character has been deleted
15481 (deleteEmptyParagraphMechanism): call the method above on _all_
15482 cursors held by the LyXText when a double space has been
15485 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
15487 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15489 (resizeCurrentBuff): remove code to destroy the old splash dialog.
15491 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15492 background. Use greyOut() and the new show() methods to toggle between
15493 the foreground and background. Add code to remove the splash after
15494 its initial showing.
15496 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15497 (create_forms): no longer call Dialogs::showSplash.
15499 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15501 * .cvsignore: add version_info.h
15503 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15505 * version_info.h.in: new file
15507 * Makefile.am: add version_info.h.in
15509 * lyx_main.C (commandLineVersionInfo): use version_info defined in
15510 version_info.h instead of VERSION_INFO
15512 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
15514 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15515 The ERT inset now returns string().
15517 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
15519 * lyxtext.h, text.C (selectNextWord): renamed as
15520 selectNextWordToSpellcheck.
15522 * text.C (selectNextWordToSpellcheck): Modified to not select
15523 words inside an ERT inset.
15525 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15527 * lyx_cb.C (MenuLayoutSave): change a bit the question
15529 * sp_base.h: include <sys/types.h>
15531 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
15533 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15535 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
15537 * several files: fix typos in user-visible strings
15539 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15541 * text2.C (pasteSelection): do not set the selection, since it
15542 will be cleared later. Actually, the intent was to fix the way the
15543 selection was set, but I figured rmoving the code was just as good.
15545 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
15547 * FontLoader.C (available): Check if font is available without
15550 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
15552 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15554 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
15556 * lyxrc.[Ch]: added display_graphics variable and associated code.
15558 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15560 * bufferparams.C (hasClassDefaults): new method. Returns true if
15561 the buffer parameters correspond to known class defaults
15563 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
15565 * XFormsView.C (show): set minimum size to the main window.
15567 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15569 * text2.C (copySelection):
15571 * lyxfind.C (LyXReplace):
15572 * BufferView_pimpl.C (Dispatch): pass the correct flag to
15573 LyXText::selectionAsString.
15575 * paragraph.C (asString): add "label" argument to the second form
15577 * text2.C (selectionAsString): add "label" argument and pass it to
15578 Paragraph::asString.
15580 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15582 * lyx_main.C (commandLineHelp): remove version information
15584 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
15586 * lyx_main.C: add -version commandline option
15588 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15590 * paragraph.h: make the optional constructor arg required instead.
15591 some modifications to other files because of this.
15593 * minibuffer.C (C_MiniBuffer_peek_event): make it static
15595 * lyxserver.C (C_LyXComm_callback): make it static
15597 * lyx_main.C (error_handler): make it static
15599 * lyx_gui.C (LyX_XErrHandler): make it static
15601 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15603 * WorkArea.C: make the extern "C" methods static.
15605 * Makefile.am (lyx_LDADD): simplify
15607 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15609 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15610 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15612 * LyXAction.C (init):
15613 * lyxfunc.C (dispatch): associated code removal.
15615 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15617 * lyxfont.h (isSymbolFont): shut off warning
15619 * text.C (setHeightOfRow):
15620 (getVisibleRow): fix crash with empty paragraphs which have a
15623 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
15625 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15628 2001-09-04 José Matos <jamatos@fep.up.pt>
15631 * tabular.C (docbook): rename docBook method to docbook.
15633 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15635 * Makefile.am: add dependencies to main.o.
15637 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
15639 * FontLoader.C (available): Return false if !lyxrc.use_gui
15641 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
15643 * FontInfo.C (query):
15644 * converter.C (view):
15645 * importer.C (Import):
15646 * exporter.C (Export): Can not -> cannot.
15648 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
15650 * BufferView_pimpl.C: allow to create index inset even if
15653 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15655 * buffer.C (getLists): replace boost::tie code with an explicit pair
15656 as boost::tie can break some compilers.
15658 * iterators.h: Added a std:: declaration to the return type of
15661 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
15663 * lyxrc.C: add help for view_dvi_paper_option, default to safe
15666 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
15668 * iterators.[Ch]: New files. Provide paragraph iterators.
15670 * buffer.C (changeLanguage): Use paragraph iterators.
15671 (isMultiLingual): ditto
15673 * BufferView2.C (ChangeInsets): Use paragraph iterators.
15675 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
15677 * FontLoader.C: Support for cmr font.
15679 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
15681 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15682 (available): New method.
15684 * FontInfo.C (getFontname): Use scalable fonts even when
15685 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15688 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15690 * converter.C (Formats::view): reverted! Incorrect fix.
15692 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15694 * converter.C (Formats::view): only output the -paper option
15695 if the dvi viewer is xdvi, thereby fixing bug #233429.
15697 2001-08-23 Herbert Voss <voss@perce>
15699 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15701 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
15703 * Spacing.h (Spacing): Set space to Default on in the default
15706 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
15708 * vc-backend.h (RCS::versionString): add RCS to version
15709 (CVS::versionString): add CVS to version
15711 * vc-backend.C (scanMaster): do not add CVS to version.
15712 (scanMaster): do not add RCS to version
15714 * lyxvc.C (versionString): new method
15716 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15718 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15720 * Spacing.C (set): initialize fval
15722 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
15724 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15727 2001-08-16 Juergen Vigna <jug@sad.it>
15729 * lyxfunc.C (dispatch): implemented the new FINISHED states.
15731 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15733 * BufferView_pimpl.C:
15736 * text2.C: setParagraph takes linespacing now
15738 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
15740 * LyxAction.C: add internal LFUN_CITATION_INSERT
15742 * LyXView.C: actually apply fix
15744 * bufferlist.C: fix open non-existent file
15746 * lyxfind.C: fix indentation
15748 * lyxfunc.C: remove unneeded assert, fix typo
15750 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15752 * MenuBackend.C: use "Floatname List"
15754 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
15756 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15757 when converting LaTeX layout to insetERT.
15758 Generate a non-collapsed float when reading old float
15760 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15762 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15765 2001-08-13 Juergen Vigna <jug@sad.it>
15767 * text.C (fill): return 0 instead of 20 as this seems to be the more
15770 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15772 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15775 2001-08-13 Juergen Vigna <jug@sad.it>
15777 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15779 (SearchBackward): comment out the unlocking of the inset_owner this
15780 should not be needed!
15782 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
15784 * Many files: Remove inherit_language, and add latex_language
15786 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15787 collapsible insets.
15789 2001-08-10 Juergen Vigna <jug@sad.it>
15791 * text.C (prepareToPrint): fixed hfill-width in draw!
15793 * BufferView2.C (selectLastWord): save the selection cursor as this
15794 now is cleared in the function LyXText::clearSelection!
15796 2001-08-08 Juergen Vigna <jug@sad.it>
15798 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15799 BACKSPACE type functions.
15801 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15802 is only cutted from the document but not put in the cut-buffer, where
15803 still the old stuff should be.
15805 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15807 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15809 * tabular.C (SetWidthOfCell): fixed special case where the width
15811 (LeftLine): handle '|' in align_special.
15813 (LeftAlreadyDrawed): ditto
15814 (SetWidthOfCell): ditto
15816 2001-08-07 Juergen Vigna <jug@sad.it>
15818 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15820 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15822 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15823 * lyxlex.[hC]: ditto
15825 2001-08-06 Juergen Vigna <jug@sad.it>
15827 * text.C (getVisibleRow): fix up row clearing a bit.
15829 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15831 * minibuffer.C: make sure the X server sees the changes in the input.
15833 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15835 * paragraph.C (getFont): split into...
15836 (getLabelFont): this
15837 (getLayoutFont): and this
15838 * paragraph_pimpl.C (realizeFont): calling this
15840 * text2.C (getFont): split into...
15841 (getLayoutFont): this
15842 (getLabelFont): and this
15843 (realizeFont): all three calling this
15845 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15848 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15850 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15852 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
15854 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15855 layouts from the Quote inset insertion.
15857 2001-08-03 Juergen Vigna <jug@sad.it>
15859 * BufferView_pimpl.C (update): do the fitCursor only at the end!
15861 * screen.C (drawFromTo): don't call fitcursor here and do the loop
15862 only if status not is already CHANGED_IN_DRAW (second level).
15864 * text.C (draw): don't set the need_break_row when inside an
15867 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
15869 * buffer.C (parseSingleLyXformat2Token): handle more latex
15872 * bufferview_funcs.[hC]: change function names to
15873 begin with small char, adjust other files.
15875 2001-08-02 André Pönitz <poenitz@gmx.net>
15878 BufferView_pimpl.C: remove broken special code for math-greek
15880 2001-08-02 Juergen Vigna <jug@sad.it>
15882 * BufferView_pimpl.C (update): redone this function so that we
15883 update the text again if there was a CHANGE_IN_DRAW.
15885 * screen.C (cursorToggle): removed LyXText parameter and recoded.
15886 (drawFromTo): added a new internal bool which is used by draw() and
15888 (general): some cursor drawing problems fixed.
15890 2001-08-01 Juergen Vigna <jug@sad.it>
15892 * lyxfind.C (LyXFind): fixed
15893 (SearchForward): ditto
15894 (SearchBackward): ditto
15896 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15897 spurius drawing of the cursor in the main area.
15899 * text2.C (status): small fix which could lead to a segfault!
15900 (clearSelection): remove unneeded BufferView param.
15902 2001-08-01 André Pönitz <poenitz@gmx.net>
15904 * lyxfunc.C: small change due to changed mathed interface
15906 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15908 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15910 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
15912 * lyxfunc.c: fail gracefully if file doesn't exist
15917 * BufferView_pimpl.C: IsDirWriteable() proto changed
15919 * LyXView.C: fix updateWindowTitle() to store the last title
15921 2001-07-31 Juergen Vigna <jug@sad.it>
15923 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15924 the font (wrong since using of Paragraph::highestFontInRange).
15926 * paragraph.C (highestFontInRange): added a default_size parameter.
15928 * text.C (getVisibleRow): minor clear row changes (still not perfect).
15929 (setHeightOfRow): reformat
15931 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15933 * converter.[hC] + affected files: move to (inital-char)lowercase
15936 * ParagraphParameters.C (ParagraphParameters): remove commented code
15938 * PainterBase.[Ch]: remove commented code
15940 * LaTeXFeatures.h: add "bool floats" for float.sty
15942 * LaTeXFeatures.C (LaTeXFeatures): init floats
15943 (require): handle float
15944 (getPackages): do it with floats
15946 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15948 * BufferView_pimpl.C (Dispatch): improve handling of
15949 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15951 * commandtags.h: #include lyxfont.h here temporarily to avoid
15954 * bufferlist.h: include LString.h here.
15956 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15958 * text2.C (getStringToIndex): new method.
15960 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
15962 * *: Reduced header file dependencies all over.
15964 2001-07-30 Baruch Even <baruch@lyx.org>
15966 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15968 2001-07-29 Baruch Even <baruch@lyx.org>
15970 * buffer.C (readInset): Changed GRAPHICS to Graphics.
15972 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15974 * ParameterStruct.h (endif): add a default constructor to make
15975 sure that all variables is initialized.
15977 * ParagraphParameters.C (ParagraphParameters): adjust
15979 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15981 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15982 index; also, check that there is something to index, and that it
15983 does not span over several paragraphs.
15984 (doubleClick): use WHOLE_WORD_STRICT for double click.
15986 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15988 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15991 2001-07-26 Baruch Even <baruch@lyx.org>
15993 * buffer.C (readInset): Changed to call up InsetGraphics when reading
15994 an InsetFig figure, backwards compatible reading of old figure code.
15996 2001-07-27 Juergen Vigna <jug@sad.it>
15998 * text2.C: font.realize function adaption.
16000 * text.C (draw): add a warnings lyxerr text if needed.
16002 * layout.C: font.realize function adaption.
16004 * language.C: add inherit_language and implement it's handlings
16006 * bufferview_funcs.C (StyleReset): remove language parameter from
16007 font creation (should be language_inherit now).
16009 * bufferparams.C (writeFile): handle ignore_language.
16011 * paragraph.C (getFontSettings): the language has to be resolved
16012 otherwise we have problems in LyXFont!
16014 * lyxfont.C (lyxWriteChanges): added document_language parameter
16015 (update): removed unneeded language parameter
16017 * paragraph.C (validate): fixed wrong output of color-package when
16018 using interface colors for certain fonts in certain environments,
16019 which should not seen as that on the final output.
16021 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
16023 * BufferView_pimpl.C:
16028 * LyXAction.C: add thesaurus support
16031 * lyxfind.C: add "once" parameter, for thesaurus, to not
16032 move to the next match
16034 2001-07-26 Juergen Vigna <jug@sad.it>
16036 * lyxfont.C (realize): honor ignore_language too!
16039 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
16041 * text.C (draw): one place more for ignore_language to not draw
16044 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
16046 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
16048 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16050 * buffer.C (parseSingleLyXformat2Token): a more general fix for
16051 the minipage conversion problem.
16053 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16055 * buffer.C (parseSingleLyXformat2Token): check minipage if we
16058 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16060 * BufferView.h: don't forward declare WorkArea
16062 * BufferView.C: don't include WorkArea.h
16064 2001-07-25 André Pönitz <poenitz@gmx.net>
16068 * lyxfunc.C: new LFUN 'math-space'
16070 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
16072 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16074 * text2.C (toggleInset): call open/close
16076 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16078 * lyxfunc.C (dispatch): add debug for the disabled case
16080 * font.C (buttonText): make similar to rectText
16082 * buffer.C (readInset): comment out parsing of insetlist and
16085 * PainterBase.C (rectText): small correction
16087 * BufferView_pimpl.C: comment out insettheorem and insetlist
16088 * LyXAction.C: ditto
16089 * commandtags.h: ditto
16091 2001-07-24 Juergen Vigna <jug@sad.it>
16093 * text.C (draw): honor the ignore_language.
16095 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
16097 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16099 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
16102 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16104 * lyxtext.h: remove unused (and unimplemented) methods
16106 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16108 * text.C (getVisibleRow): honor background color
16111 * Painter.h: remove default color argument for fillRectangle
16113 * text.C (backgroundColor): new method
16115 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16117 * text.C (getVisibleRow): adjust
16119 * font.[Ch] (rectText): new method, metrics
16120 (buttonText): new method, metrics
16122 * PainterBase.[hC]: make rectText and buttonText always draw and take
16125 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16127 * ToolbarDefaults.C (read):
16128 * MenuBackend.C (read): allow escaping in all strings
16130 * BufferView_pimpl.C (insertAndEditInset): new method.
16131 (Dispatch): use insertAndEditInset whenever appropriate.
16133 * BufferView_pimpl.C (insertNote): removed
16135 * BufferView_pimpl.C (smartQuote): new method, moved from
16136 BufferView; if an insetquote cannot be inserted, insert a '"'
16139 * BufferView2.C: remove insertCorrectQuote();
16141 * lyxfunc.C (getStatus): Add support for all remaingin
16142 inset-insert lfuns.
16144 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
16146 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
16147 command (necessary to pass " as parameter of self-insert.
16149 * text.C (selectWordWhenUnderCursor):
16150 (selectWord): add word_location parameter
16151 (selectWordWhenUnderCursor): same + remove special code for word
16153 (selectNextWord): use kind() to guess type of insetspecialchar,
16156 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
16157 (insertErtContents): create ert insets as collapsed.
16158 (readInset): better compatibility code for Info inset.
16160 2001-07-20 Juergen Vigna <jug@sad.it>
16162 * lyxfunc.C (dispatch): use always LyXFind now!
16164 * text2.C (init): add a reinit flag so that the LyXText can be
16165 reinited instead of deleted and reallocated (used in InsetText).
16167 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
16173 2001-07-18 Juergen Vigna <jug@sad.it>
16175 * text.C (selectNextWord): handle insets inside inset by calling
16176 always the bv->text functions so that we can go up the_locking_inset!
16178 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
16179 in strange locations when inside an inset!
16181 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
16182 handling to include insets.
16184 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
16186 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16188 * LyXAction.C (init):
16190 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
16191 LIGATURE_BREAK, since the name is so stupid.
16193 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
16195 * buffer.C (readInset): enable reading of new InsetNotes as well as old
16198 * FontLoader.C: remove FORMS_H_LOCATION cruft.
16200 * sp_form.[Ch]: remove.
16202 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
16204 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
16207 * src/buffer.C (readInset): ditto.
16209 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16211 * BufferView_pimpl.C (specialChar): new method. Obsoletes
16212 menuSeparator(), endOfSentenceDot(), ldots() and
16213 hyphenationPoint(), which are therefore removed.
16214 (Dispatch): handle LFUN_HYPHENATION_BREAK.
16216 * LyXAction.C (init):
16217 * commandtags.h: add LFUN_HYPHENATION_BREAK.
16219 * paragraph.C (getWord): removed.
16221 * BufferView_pimpl.C (Dispatch): use last word or selection for
16222 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
16224 * lyx_main.C (queryUserLyXDir): do not ask before creating
16225 user_dir, except if it has been named explicitely.
16227 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
16229 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
16230 a document of zero size.
16232 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
16234 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
16235 approriately in the c-tor and in require().
16236 (getPackages): output the appropriate LaTeX for natbib support.
16238 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
16239 variables "use_natbib" and "use_numerical_citations" when reading the
16241 (readInset): read the various natbib cite commands.
16242 (validate): white-space change.
16244 * bufferparams.[Ch]: new variables "bool use_natbib" and
16245 "bool use_numerical_citations".
16246 (writeFile): output them in the LyX file.
16248 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16250 * lyxfunc.C (getStatus): add support for all the inset insertion
16253 * text2.C (insertInset):
16254 * paragraph.C (insetAllowed):
16255 * BufferView_pimpl.C (insertInset): update to take in account the
16256 renaming of insertInsetAllowed
16258 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
16260 * text2.C (getInset): new method. returns inset at cursor position.
16262 * BufferView_pimpl.C (Dispatch): changes because of this.
16264 * LyXAction.C (init): rename open-stuff to inset-toggle.
16266 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
16268 * text2.C (toggleInset): renamed from openStuff; use
16271 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
16273 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
16275 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
16277 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
16279 * buffer.C (readLyXformat2): Add filename to the error dialog
16281 2001-07-18 Juergen Vigna <jug@sad.it>
16283 * tabular.C (GetCellNumber): put an assert here instead of the check!
16285 2001-07-17 Juergen Vigna <jug@sad.it>
16287 * BufferView_pimpl.C (toggleSelection): adapted too.
16289 * text.C (selectNextWord): adapted for use with insets.
16290 (selectSelectedWord): ditto
16292 2001-07-17 Juergen Vigna <jug@sad.it>
16294 * sp_spell.C (PSpell): fix initialitation order.
16296 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16298 * paragraph.C: spacing
16300 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
16302 * sp_spell.C: repair language selection for pspell
16304 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
16306 * lyxfunc.h: change more methods to begin with lower char.
16308 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
16310 * buffer.C (parseSingleLyXformat2Token): Generate error insets
16311 for unknown layouts.
16313 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
16315 * buffer.C (readLyXformat2): Generate an error dialog if there are
16318 2001-07-16 Juergen Vigna <jug@sad.it>
16320 * sp_spell.C: always compile ISpell part.
16322 * lyxrc.C: added use_pspell entry and it's handling.
16324 2001-07-13 Juergen Vigna <jug@sad.it>
16326 * sp_spell.C: removed double includes.
16328 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
16330 Consistent use of Lsstream.h:
16331 * Lsstream.h: added using std::stringstream for consistencies sake.
16333 * buffer.C: removed using std::stringstream
16335 * lyxfont.C (stateText):
16336 * paragraph.C (asString):
16337 * text.C (selectNextWord, selectSelectedWord):
16338 * text2.C (setCounter):
16339 * vspace.C (asString, asLatexString):
16340 std::ostringstream -> ostringstream.
16342 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
16344 * LyXAction.C: add LFUN_HELP_ABOUTLYX
16345 * commandtags.h: add LFUN_HELP_ABOUTLYX
16346 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
16348 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
16350 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
16352 * lyx_gui_misc.C: remove spellchecker
16353 * lyxfunc.C: showSpellchecker
16355 * sp_ispell.h: added
16356 * sp_pspell.h: added
16357 * sp_spell.C: added
16358 * sp_form.[Ch]: removed
16359 * spellchecker.[Ch]: removed
16361 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
16363 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
16365 (simpleTeXSpecialChars): Simply print the input character without
16366 any special translation if pass_thru is set.
16368 * layout.h: Added bool pass_thru to layout class for being able to
16369 implement pass through of a paragraph for Literate Programming.
16371 * layout.C: add LT_PASS_THRU to LayoutTags enum.
16372 * layout.C (LyXLayout): set pass_thru to flase in constructor.
16373 * layout.C (Read): add "passthru" to list of layout tags and add
16374 code to set the pass_thru boolean when it is read.
16376 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
16378 * trans_decl.h: remove allowed from KmodInfo
16380 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
16381 remove allowed code
16384 * paragraph_pimpl.C (erase): use boost::prior
16386 * Painter.C (text): use data() instead of c_str() when length is
16388 * WorkArea.C (putClipboard): ditto
16389 * font.h (width): ditto
16391 * BufferView2.C: use it-> instead of (*it). for iterators
16393 * paragraph_pimpl.C: ditto
16394 * paragraph.C: ditto
16395 * minibuffer.C: ditto
16396 * language.C: ditto
16398 * encoding.C: ditto
16399 * counters.C: ditto
16400 * converter.C: ditto
16402 * Variables.C: ditto
16403 * TextCache.C: ditto
16404 * MenuBackend.C: ditto
16405 * LyXAction.C: ditto
16407 * FloatList.C: ditto
16408 * DepTable.C: ditto
16409 * ColorHandler.C (LyXColorHandler): ditto
16411 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16413 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16415 * text2.C (openStuff): reintroduce this method (which had been
16416 nuked in NEW_INSETS frenzy).
16418 * lyxfunc.C (Dispatch): when an action has not been handled, use
16419 its name in the error message, not its number.
16421 * paragraph.C (inInset): change method name to begin with lowercase.
16424 * text2.C: updates because of this.
16426 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16428 * ToolbarDefaults.C (add): add spaces in error message
16430 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
16432 * buffer.C (readLyXformat2): initialize the ert comp. variables.
16433 (readLyXformat2): rename return_par to first_par, use lyxlex's
16434 pushToken and remove the manual push handling.
16435 (parseSingleLyXformat2Token): add another ert comp. variable:
16436 in_tabular, rename return_par to first_par. handle newlines better
16438 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16440 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16442 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
16444 * text2.C (getParFromID): removed
16446 * buffer.C (getParFromID): new method moved form lyxtext.
16447 * BufferView2.C (insertErrors): adjust
16448 (setCursorFromRow): adjust
16449 * BufferView_pimpl.C (restorePosition): adjust
16450 * lyxfunc.C (Dispatch): adjust
16451 * undo_funcs.C (textUndo): adjust
16453 (textHandleUndo): adjust
16454 (textHandleUndo): adjust
16456 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
16458 * buffer.C: up' the LYX_FORMAT
16460 * lyxfont.h: turn NO_LATEX on as default
16462 * buffer.C (insertErtContents): new methods of tex style compability.
16463 (parseSingleLyXformat2Token): use it several places.
16464 * tabular.C (OldFormatRead): and here
16466 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
16468 * text2.C: remove some commented code.
16471 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16472 * trans.C: changes because of the above.
16474 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
16476 * text2.C (setCounter): Fix counters bug with bibliography layout.
16478 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16480 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16481 own member functions
16482 (simpleTeXSpecialChars): ditto
16484 2001-07-06 Juergen Vigna <jug@sad.it>
16486 * a lot of files: changed the access to LyXText::status and the
16487 call of undo-functions.
16489 * undo.[Ch]: added a inset_id to the undo informations.
16491 * undo_funcs.[Ch]: added and moved here all undo functions.
16493 * lyxtext.h: give the status enum a weight, made status_ a private
16494 variable and made accessor functions for it, removed the whole bunch
16495 of undo-functions as they are now in their own file, make some
16496 functions publically available. Added function ownerParagraph with
16499 * paragraph.[Ch]: added "bool same_ids" to the constructor,
16500 made InInset() a const function, added getParFromID() function.
16502 * buffer.[Ch]: added const version for inset_iterator functions,
16503 added getInsetFromID() function.
16505 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16506 changed undo functions for new version.
16508 2001-07-05 Juergen Vigna <jug@sad.it>
16510 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16511 unknow mechanism does not call the proper constructor but only this
16512 one also if I request the other!?
16514 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16516 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16518 * text2.C (LyXText): use initialization lists.
16520 * lyxtext.h (Selection): initialize set_ and mark_
16521 (init): remove method
16523 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
16525 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16527 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16529 * screen.[Ch]: change method names to begin with lowercase
16531 * BufferView_pimpl.C (updateScrollbar): simplify further and
16532 hopefully make it a bit faster.
16534 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16536 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16537 calling directly xforms functions.
16539 * Painter.C (Painter):
16540 * lyx_cb.C (MenuWrite):
16541 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16544 * lyx_gui.C: remove bogus guiruntime extern declaration.
16546 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16548 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16550 (redoDrawingOfParagraph): ditto
16551 (redoParagraphs): ditto
16552 (cutSelection): don't create a object for CutAndPaste use the
16553 static method directly
16554 (pasteSelection): ditto
16556 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16559 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16561 * modifications to some other files because of this.
16563 * Makefile.am (lyx_SOURCES): add XFormsView
16565 * XFormsView.[Ch]: new files
16567 * LyXView.[Ch]: make LyXView a base class for the gui handling for
16568 the main window. Move the gui dependent stuff to XFormsView
16570 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16572 * tabular.C (GetCellInset): update cur_cell also in the row/col
16573 version of this function.
16575 * lyxfunc.C: no need to include figure_form.h here.
16581 * lyxvc.C: no need to include forms.h here.
16583 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16585 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16587 * lyxfunc.C (Dispatch):
16589 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16590 constructor argument.
16592 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16594 * paragraph.C (Paragraph): dont't clear, and just set layout.
16595 (makeSameLayout): use params's copy contructor.
16597 * ParagraphParameters.[Ch] (makeSame): delete method
16599 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
16601 * Variables.[Ch]: fix indentation, rename set to isSet
16603 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16605 * lyxfunc.C (Dispatch): fix typo
16607 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16609 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16612 * bufferlist.C: include assert.h for emergencyWrite().
16614 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16616 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16617 give up at last (bug #425202) !
16619 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
16625 * spellchecker.C: strip spellchecker options and bring up
16626 preferences tab instead
16628 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16630 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16631 the istringstream constructor
16633 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16635 * paragraph.C (getLayout): fix return value
16637 * paragraph.h: do not declare getLayout as inline.
16639 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16641 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16643 * lyxcursor.h (operator<): new func
16644 (operator>): new func
16645 (operator>=): new func
16646 (operator<=): new func
16648 * text.C (changeCase): use selection.start and selection.end
16649 (changeRegionCase): require from to be <= to. Require par to be a
16652 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16654 2001-06-27 Juergen Vigna <jug@sad.it>
16656 * text.C (cursorLeftOneWord): changed to return the cursor and added
16657 overlay with BufferView * parameter which calls this one.
16659 (selectWord): use new getWord function.
16660 (changeCase): renamed from changeWordCase as and extended to work
16661 also on selections.
16663 * lyxtext.h: added enum word_location
16665 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16666 changeCase as this operates now also on selections.
16668 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
16670 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16672 * many files: send debug output to Debug::INFO instead of
16675 * converter.C (View):
16677 (Move): send debug output to Debug::FILES instead of console.
16679 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
16681 * lyxfunc.C (getStatus): use func_status
16683 * func_status.h: new header, describing the results of
16684 LyXFunc::getStatus;
16686 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16689 2001-06-25 The LyX Project <jug@sad.it>
16691 * buffer.C (sgmlOpenTag):
16693 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
16695 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16697 * text2.C: remove some dead code
16699 * tabular.C (GetCellInset): store the last cell checked (gotten)
16701 * tabular.h: add the helper for the speedup
16703 * lyxtext.h: remove some dead code
16705 2001-06-26 The LyX Project <Asger>
16707 * paragraph.C: Change export to LaTeX of alignment to
16708 \begin{center} and family for better roundtrip work with reLyX.
16710 * Tune the math drawing a bit.
16712 2001-06-25 The LyX Project <Asger>
16714 * LColor.C (LColor): New color for math background. New color
16717 2001-06-25 The LyX Project <jug@sad.it>
16719 * lyxfunc.C (MenuNew): remove extra check for .lyx file
16721 * lyxfunc.C (Open):
16722 * bufferlist.C (newFile): do not restrict to files ending with
16725 * BufferView_pimpl.C (MenuInsertLyXFile):
16727 2001-06-24 The LyX Project <jug@sad.it>
16729 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16732 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16734 * lyxtext.h: rename most methods to begin with a small char.
16735 Lots of changes because of this.
16737 * paragraph.C (Paragraph): do not call fitToSize
16738 (erase): call Pimpl::erase
16739 (insertChar): call Pimpl::insertChar
16740 (insertInset): call Pipl::insertInset
16741 (breakParagraph): do not call fitToSize
16742 (breakParagraphConservative): do not call fitToSize
16743 (fitToSize): remove method
16745 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16747 2001-06-24 The LyX Project <Asger>
16749 * Fix Qt compilation^2
16751 2001-06-24 The LyX Project <jug@sad.it>
16753 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16754 depthHook(getDepth()-1).
16757 * ParagraphParameters.h:
16758 * ParameterStruct.h: change type of depth to unsigned int ==
16759 depth_type. Many adaptations to other files before of that.
16761 2001-06-24 The LyX Project <Asger>
16763 * Fix Qt compilation.
16765 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16767 * paragraph.h: renamed several methods to begin with small letter.
16768 several changes to many parts of the code because of this.
16770 2001-06-23 The LyX Project <jug@sad.it>
16772 * text2.C (InsertStringAsLines): renamed from InsertStringA;
16773 rewritten to discard all double spaces when KeepEmpty is off
16774 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16775 to only handle newlines but not fiddle with spaces and friends.
16777 * lyxfunc.C (MenuNew): when doing 'new from template', use
16778 template_path as default directory
16780 2001-06-23 The LyX Project <Asger>
16782 * Clean-up of header file includes all over
16783 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16785 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16787 * paragraph.h: renamed from lyxparagraph.h
16789 2001-06-23 Asger <lyx@violet.home.sad.it>
16791 * Buffer.h: Removed Buffer::resize
16792 * BufferList.h: Removed BufferList::resize
16793 * LyXView.h: Added LyXView::resize. This way, we will only reflow
16794 the document lazily when we change the width, or the font settings.
16796 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16798 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16800 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16802 * buffer.h: remove out of date comment
16804 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16807 * screen.C: fix "theoretical" GC leak
16809 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16811 * LaTeX.C (scanAuxFile):
16812 (deplog): remove trailing \r when reading stream (useful under
16815 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
16817 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16818 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16819 and BufferView::theLockingInset(Inset*), so should use them and not
16820 access bv_->text->the_locking_inset directly.
16822 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16824 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16827 * tex-defs.h: remove old unused file
16829 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
16831 * BufferView_pimpl.C: fix typo, remove minibuffer message
16832 when buffer has loaded
16834 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
16836 * lyxfunc.C (Dispatch): use stringstream
16837 (MenuNew): use stringstream
16838 (Open): use stringstream
16840 * importer.C (Import): use stringstream
16842 * bufferview_funcs.C (CurrentState): use stringstream
16844 * LaTeX.C (run): use stringstream
16846 * BufferView_pimpl.C (savePosition): use stringstream
16847 (restorePosition): use stringstream
16848 (MenuInsertLyXFile): use stringstream
16850 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
16863 * vspace.C: removed // -*- C++ -*- as first line.
16866 * version.h: added // -*- C++ -*- as first line.
16868 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16870 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16872 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16875 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
16877 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16880 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16882 * gettext.C: include LString.h even when --disable-nls is on.
16884 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
16886 * converter.h (Get): changed argument type from int to
16887 FormatList::size_type to avoid unnecessary conversion.
16889 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16892 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16894 * gettext.h: include LString.h even when --disable-nls is on.
16896 2001-06-07 Juergen Vigna <jug@sad.it>
16898 * text.C (BreakAgain): subst spaces with tabs.
16900 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16901 (resizeInsetsLyXText): set force on resizeLyXText.
16903 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16905 * gettext.h (gettext_init):
16906 (locale_init): use a real definition instead of a macro
16908 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16910 * Bufferview_pimpl.C:
16912 * LColor.C: further lcolor tidies
16914 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
16916 * BufferView_pimpl.C (updateScrollbar): simplify.
16918 * BufferView2.C: don't include insets/insetinfo.h, change
16919 prototype for insertInset and call the Pimpl version. let
16920 updateInset call Pimpl version.
16922 * BufferView.h: move inset_slept to BufferView::Pimpl, move
16923 gotoInset to BufferView::Pimpl
16925 2001-06-01 Juergen Vigna <jug@sad.it>
16927 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16928 inside a LockingInset (is the update needed at all?).
16930 2001-05-31 Juergen Vigna <jug@sad.it>
16932 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16933 here not the old one otherwise how should we compare it afterwards
16936 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16941 * FontInfo.C: bring C functions into global namespace when
16944 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16946 * LString.h: make sure config.h has been loaded before LString.h.
16948 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16949 (one for each char read by EatLine!).
16951 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16954 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
16956 * paragraph.C (BreakParagraph): set the inset_owner in the new par
16957 to the same as the par we break from
16959 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
16961 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16963 * MenuBackend.C (expand): also create menu entries for wide
16964 versions of the floats.
16966 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16968 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16970 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16971 frontends/Makefile.am
16977 * tabular.C (getTokenValue): add std::
16979 * tabular-old.C (getTokenValue): add std::
16980 (getTokenValue): ditto
16981 (getTokenValue): ditto
16983 * screen.C (ToggleSelection): adjust
16985 * lyxtext.h: put selection cursors inside a Selection struct.
16987 * lyxfunc.C (moveCursorUpdate): adjust
16989 * lyxfont.C (latexWriteStartChanges): add std::
16991 * lyxfind.C: adjust
16993 * font.h: delete with(char const *, LyXFont const &)
16995 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16997 * FontInfo.C (getFontname): add std::
16999 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
17000 (workAreaButtonPress): adjust
17001 (tripleClick): adjust
17003 (moveCursorUpdate): adjust
17006 * BufferView2.C (gotoInset): adjust
17008 2001-05-30 Juergen Vigna <jug@sad.it>
17010 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
17011 to check pspell I add this as default as I now have new pspell
17012 libraries and they seem to use this.
17014 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
17016 * text2.C (CutSelection): make the cursor valid before the call to
17019 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17021 * kbsequence.C (parse): de-uglify a bit the parsing code, which
17022 relied on 0 terminated strings and other horrors. Bug found due to
17023 the new assert in lyxstring!
17025 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
17028 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
17030 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
17033 * lyxfunc.C (processKeySym): change method of getting to the
17036 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
17037 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
17038 * BufferView_pimpl.[Ch]: here as private methods.
17040 2001-05-28 Juergen Vigna <jug@sad.it>
17042 * text.C (SetHeightOfRow): added the update() call again as it is
17043 needed to initialize inset dimensions!
17045 2001-05-16 Juergen Vigna <jug@sad.it>
17047 * text2.C (SetCharFont): Add new function with BufferView * and
17048 bool toggleall parameters for setting insets internal fonts.
17049 (SetFont): Freeze the undo as we may change fonts in Insets and
17050 all this change should be inside only one Undo!
17052 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
17053 setting font's in insets as for them we have the SetFont function!
17055 2001-05-15 Juergen Vigna <jug@sad.it>
17057 * text2.C (ClearSelection): to be sure we REALLY don't have any
17060 * tabular.C (TeXCellPreamble): fixed the left border problem for
17063 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
17065 * LaTeX.C (deplog): Make sure that the main .tex file is in the
17068 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
17070 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
17071 LFUN_BREAKPARAGRAPH.
17073 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
17074 help test to "internal only", similar for LFUN_INSERT_URL
17076 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
17077 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
17078 auto_region_delete and deadkeys.
17080 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
17083 * LColor.C: remove some dead entries, tidy a little
17085 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
17087 * lyxfunc.C (processKeySym): comment the Escape handling, remove
17089 (Dispatch): implement LFUN_ESCAPE
17091 * commandtags.h: add LFUN_ESCAPE
17093 * LyXAction.C (init): add entry for LFUN_ESCAPE
17095 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
17096 Remove commented code.
17097 (insertNote): moved here
17098 (open_new_inset): moved here
17100 * BufferView[2].[Ch]: move insertNote and open_new_inset to
17103 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17105 * kbmap.C (findbinding): clean it up and make it work correctly.
17107 * lyx_main.C (init): do not pass argc and argv as parameters
17109 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
17111 * buffer.C: fix path for OS/2 & Win32
17115 * lyx_main.C: Added os:: class.
17117 * os2_defines.h: update
17119 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
17121 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
17122 better by trying again with reduced state.
17124 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17126 * lyxrc.C (read): print error about invalid key sequence only when
17127 debugging (because not all latinX keysyms are known to some X
17130 * kbsequence.C (getiso): add a few std:: qualifiers
17131 (getiso): comment out extra return statement.
17133 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
17135 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
17137 (Dispatch): enhance the accent inset a bit. (not perfect)
17139 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
17141 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
17143 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17145 * bufferlist.C (emergencyWrite): fix assert() call
17147 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
17149 * text.C (InsertChar): Added trivial patch to only send the "you
17150 can not do multiple spaces this way" message once during a
17153 2001-05-08 Baruch Even <baruch@lyx.org>
17155 * Makefile.am: Changed order of libraries to get LyX to link properly
17156 with the gnome frontend.
17158 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17160 * LaTeXFeatures.h: add a std:: qualifier
17162 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
17164 * paragraph.C (String): use stringstream
17166 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
17168 * paragraph.C (writeFile): remove footflag arg
17170 * buffer.C (makeLaTeXFile): use stringstream
17171 (latexParagraphs): remove footnot gurba
17173 * LaTeXFeatures.C (getPackages): use stringstream
17174 (getMacros): likewise
17175 (getTClassPreamble): likewise
17176 (getFloatDefinitions): new method
17178 * paragraph.C (writeFile): reindent
17181 * WorkArea.h: revert the xpos + etc changes.
17183 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
17185 * lyxparagraph.[Ch]: add copy constructor, remove Clone
17187 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
17188 (pasteSelection): likewise
17189 * text2.C (CreateUndo): likewise
17191 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
17193 * minibuffer.C (peek_event): temporarily reduce the functionality
17194 of the minibuffer (to allow args on lfuns)
17196 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
17197 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
17199 * buffer.C (readInset): add compability reading of old float
17200 lists, add reading of new style float list.
17201 (readInset): avoid reevaluation of inscmd.getCmdName()
17202 (getLists): reindent
17204 * MenuBackend.C (MenuItem): implement parsing of
17205 md_floatlistinsert and md_floatinsert.
17206 (expand::LastFiles): move initalizaton of iterators out of loop,
17207 avoid reevaluation.
17208 (expand::Documents): introduce typdedef vector<string> Strings,
17210 (expand::ExportFormats): introduce typedef vector<Format const *>
17211 Formats, and use it.
17212 (expand): implement FloatListInsert and FloatInsert.
17214 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
17215 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
17216 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
17218 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
17220 (Dispatch::LFUN_FLOAT_LIST): implement
17222 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
17224 * LaTeX.C (run): Fix problem with --export code.
17226 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
17228 * BufferView.[Ch] (workarea): removed.
17229 (getClipboard) new method; wrapper for workarea()->getClipboard()
17231 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
17234 * WorkArea.h (width, height, xpos, ypos): These methods all
17235 returned the dimensions of the work_area sub-area of WorkArea,
17236 resulting in a position error if the WorkArea were resized. Now
17237 return the dimensions of the entire WorkArea.
17239 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
17241 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17243 * LaTeX.C (deplog): correct the syntax of regex reg1
17245 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
17247 * undo.C: remove !NEW_INSETS cruft
17249 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
17251 * text2.C: remove !NEW_INSETS cruft
17253 * text.C: remove !NEW_INSETS cruft
17255 * tabular.C: remove !NEW_INSETS cruft
17257 * spellchecker.C: remove !NEW_INSETS cruft
17259 * lyxtext.h: remove !NEW_INSETS cruft
17261 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
17263 * lyxfunc.C: remove !NEW_INSETS cruft
17265 * lyxfind.C: remove !NEW_INSETS cruft
17267 * lyx_cb.C: remove !NEW_INSETS cruft
17269 * figureForm.C: remove !NEW_INSETS cruft
17271 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
17273 * buffer.[Ch]: remove !NEW_INSETS cruft
17275 * ToolbarDefaults.C: remove !NEW_INSETS cruft
17277 * CutAndPaste.C: remove !NEW_INSETS cruft
17279 * BufferView_pimpl.C: remove !NEW_INSETS cruft
17281 * BufferView2.C: remove !NEW_INSETS cruft
17283 * BufferView.h: remove !NEW_INSETS cruft
17285 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17287 * Lsstream.h: include LString.h before the sstream headers to
17288 fix problem with gcc 2.95.3 and lyxstring
17290 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17292 * lyx_main.C: add using directives when needed for C functions
17293 declared in std:: namespace.
17295 2001-04-27 Juergen Vigna <jug@sad.it>
17297 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
17298 (SetHeightOfRow): comment out the update call should not be needed!
17300 2001-04-13 Juergen Vigna <jug@sad.it>
17302 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
17303 (LyXTabular): tried to minimize operator= operations (and realized
17304 hopfully Lars wish).
17306 2001-04-27 Juergen Vigna <jug@sad.it>
17308 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
17310 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
17312 * lyxfunc.C (Dispatch): hack to make listof algorithm work
17314 * buffer.C (readInset): hack to make listof algorithm work
17316 * BufferView_pimpl.C: hack to make listof algorithm work
17318 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
17320 * LyXAction.C: removed all !NEW_INSETS cruft
17321 (init): moved lfun_item in method
17323 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
17325 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
17327 * BufferView2.C (theLockingInset): white space.
17329 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
17331 * minibuffer.C: include <iostream>
17333 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
17335 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
17337 * commandtags.h: add LFUN_TRANSPOSE_CHARS
17339 * text.[Ch] (TransposeChars): new method
17341 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
17343 * call message directly through LyXView instead of through LyXFunc
17344 * BufferView2.C: adjust
17345 * BufferView_pimpl.C: adjust
17346 * FontLoader.C: adjust
17348 * bufferview_funcs.C: adjust
17349 * converter.C: adjust
17350 * figureForm.C: adjust
17351 * importer.C: adjust
17353 * lyx_gui_misc.C: adjust
17354 * lyxfunc.C: adjust
17357 + more files in subdirs
17359 * lyxparagraph.h (size): move up int file
17362 * adjust all uses of Assert to lyx::Assert.
17364 * BufferView2.C (ChangeCitationsIfUnique): adjust for
17365 lyxfunctional in namespace lyx
17366 * layout.C (hasLayout): ditto
17369 (delete_layout): ditto
17370 (NumberOfClass): ditto
17371 * converter.C (GetFormat): ditto
17376 * bufferlist.C (getFileNames): ditto
17377 (emergencyWriteAll): ditto
17380 * MenuBackend.C (hasSubmenu): ditto
17383 * BufferView_pimpl.C (getInsetByCode): ditto
17385 2001-04-18 Juergen Vigna <jug@sad.it>
17387 * vspace.C (asLatexString): fixed the 100% problem.
17389 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17391 * lyxfunc.C (Dispatch):
17393 * minibuffer.h: add a few std:: qualifiers
17395 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
17397 * minibuffer.[Ch]: reimplement so that commands is initiated and
17398 run from lyxfunc, simplified som handling, and made the completion
17399 and history code for complete. wip.
17401 * lyxfunc.C (processKeySym): call message
17402 (miniDispatch): new temporary method
17403 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
17404 (LFUN_MESSAGE): implement
17405 (LFUN_MESSAGE_PUSH): implement
17406 (LFUN_MESSAGE_POP): implement
17407 (initMiniBuffer): the initial/defualt minibuffer message.
17409 * lyxfont.[Ch]: inline some more getters
17411 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17413 * lyx_gui_misc.[Ch] (WriteStatus): remove method
17415 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17416 (AutoSave): use LFUN_MESSAGE
17417 (Reconfigure): ditto
17419 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17421 * figureForm.C: use LFUN_MESSAGE
17423 * converter.C (runLaTeX): use LFUN_MESSAGE
17425 * bufferview_funcs.C: use LFUN_MESSAGE
17427 (changeDepth): ditto
17429 * bufferparams.h: use boost::
17431 * bufferlist.h: inherit privately from noncopyable
17433 * bufferlist.C (loadLyXFile): remove some commented code.
17435 * buffer.C (runChktex): use LFUN_MESSAGE
17437 * ShareContainer.h: inherit privately from noncopyable
17439 * ParagraphParameters.[hC] (depth): inline it.
17441 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17443 (message): new method
17444 (messagePush): ditto
17445 (messagePop): ditto
17446 (show): init minibuffer
17447 (showState): direct call
17449 * LaTeX.[Ch]: inherit privately from noncopyable
17450 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17451 instead of WriteStatus.
17453 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17455 * BufferView_pimpl.C (buffer): don't init minibuffer
17456 (workAreaButtonPress): use LFUN_MESSAGE
17457 (workAreaButtonRelease): ditto
17458 (savePosition): ditto
17459 (restorePosition): ditto
17460 (MenuInsertLyXFile): ditto
17461 (workAreaExpose): don't init minibuffer
17462 (update): remove commented code, simplify
17464 * BufferView2.C (openStuff): use LFUN_MESSAGE
17465 (toggleFloat): ditto
17468 (copyEnvironment): ditto
17469 (pasteEnvironment): ditto
17474 (updateInset): remove some commented code
17476 * lastfiles.h: inherit privately from noncopyable
17479 * lyx_main.h: ditto
17481 * lyxlex_pimpl.h: ditto
17483 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17484 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17485 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17487 * LyXAction.h: inherit privately from noncopyable, add methods
17488 func_begin, func_end, returning iterators to the func map.
17490 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17491 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17492 (func_begin): new method
17493 (func_end): new method
17495 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17497 (copySelection): ditto
17498 (pasteSelection): ditto
17500 * BufferView.C: whitespace change
17501 * BufferView.h: inherit privately from noncopyable
17503 2001-04-16 Allan Rae <rae@lyx.org>
17505 * tabular-old.C (l_getline):
17506 * spellchecker.C (sc_check_word):
17507 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17508 an unrecognised preprocessor directive. So ensure they're wrapped.
17510 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
17512 * src/exporter.C (Export): Give an error message when path to file
17515 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
17517 * LaTeX.C (deplog): Always check that foundfile exists.
17519 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17522 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17524 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
17526 * tabular.[Ch] (getLabelList): implement new method
17528 * minibuffer.h: comment ouf setTiimer
17530 * minibuffer.C (ExecutingCB): constify res
17531 (peek_event): constify s
17532 (Set): constify ntext
17533 (Init): constify nicename
17535 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17537 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17538 (savePosition): use two params to Minibuffer::Set
17539 (restorePosition): ditto
17541 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17543 * lyx_main.C: include language.h
17545 * Makefile.am (lyx_main.o): add language.h
17547 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17553 * CutAndPaste.C: include gettext.h
17555 * lyxfont.h: remove old hack with ON and OFF.
17558 * lyxfont.h: do not include language.h...
17563 * bufferview_funcs.C:
17569 * paragraph.C: ... but do it here instead
17571 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
17573 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17575 * tabular.C: small reformat
17577 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17580 (BreakParagraph): ditto
17581 (SetOnlyLayout): ditto
17584 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17587 * lastfiles.C: removed most using decl, add std:: where needed
17589 * buffer.C: ws changes
17591 * MenuBackend.C (class compare_format): put into anon namespace
17592 (expand): constify label, names, action, action2
17595 * text.C (SingleWidth): constify font
17596 (IsBoundary): constify rtl2
17597 (GetVisibleRow): constify ww
17599 * LaTeX.C (deplog): constify logfile
17601 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17603 (workAreaExpose): constify widthChange, heightChange
17605 * lyxrow.C (par): moved
17608 * lyxrow.h: as inlines here
17610 * lyxfont.h (shape): moved from lyxfont.C
17611 (emph): moved from lyxfont.C
17613 * lyxfont.C (LyXFont): use initialization list for all
17615 (shape): move to lyxfont.h as inline
17616 (emph): move to lyxfont.h as inline
17619 2001-04-04 Juergen Vigna <jug@sad.it>
17621 * vspace.C: had to include stdio.h for use of sscanf
17623 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
17626 * BufferView_pimpl.h: remove xforms cruft. Both classes are
17627 independent of xforms.
17629 2001-04-02 Juergen Vigna <jug@sad.it>
17631 * spellchecker.C: fixed namespace placing!
17633 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
17635 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17636 the LyXParagraph * is 0.
17638 2001-03-29 Juergen Vigna <jug@sad.it>
17640 * vspace.C: added support for %, c%, p%, l%.
17641 (stringFromUnit): added helper function.
17642 (asLatexString): changed to give right results for the %-values.
17644 * buffer.C: convert the widthp in a width%.
17646 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
17648 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17651 * figureForm.[Ch]: stripped the FD_from_figure manipulation
17652 code out of lux_cb.[Ch], ready for its (imminent?) removal.
17654 * lyx_cb.[Ch]: see above.
17656 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17660 * lyx.[Ch]: replaced by figure_form.[Ch].
17664 * lyxfunc.C: changed headers associated with above changes.
17666 2001-03-27 Juergen Vigna <jug@sad.it>
17668 * BufferView_pimpl.C: set the temporary cursor right!
17670 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
17672 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17674 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
17676 * LString.h: removed "using std::getline"!
17678 * BufferView_pimpl.C (Dispatch): changes due to changes in
17679 InsetInclude::Params.
17681 * buffer.C (tag_name): removed redundant break statements as they were
17682 producing lots of warnings with my compiler.
17684 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17686 * LString.h: add "using std::getline" when using the real <string>.
17688 2001-03-23 Jos�Ab�io Matos <jamatos@fep.up.pt>
17690 * buffer.C: removed bitset usage.
17691 PAR_TAG moved to an anonymous name space.
17692 (tag_name): new funtion, also in the anonymous namespace.
17693 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17694 (makeDocBookFile): clean code. Completed transition from string arrays
17696 (SimpleDocBookOnePar): code clean.
17698 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17700 * tabular.C: add some comments.
17702 2001-03-22 Juergen Vigna <jug@sad.it>
17704 * buffer.C (parseSingleLyXformat2Token): redone the minipage
17705 compatibility read a bit and fixed bug with minipage in different
17708 2001-03-21 Jos�Ab�io Matos <jamatos@fep.up.pt>
17710 * buffer.C (pop_tag): removed.
17711 (push_tag): removed.
17712 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17713 array replaced with vector. Added support for CDATA sections.
17714 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17716 (makeDocBookFile): XML conformant declaration of CDATA section,
17717 fixed bug related to <emphasis> in the first paragraph char.
17718 (sgmlOpenTag): exclude empty tags.
17719 (sgmlCloseTag): ditto.
17721 * buffer.h (pop_tag): removed.
17722 (push_tag): removed.
17724 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
17726 * language.h (Languages): added size_type and size().
17728 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17730 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17731 response on compability reading of minipages. One probliem is that
17732 the old usage of minipages was flertydig
17734 * several files here and in subdirs: don't use static at file
17735 scope use anon namespaces instead.
17737 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
17739 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17740 LaTeX output. This is necessary for Literate document
17743 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17745 * buffer.C: insert hfill when needed.
17747 * tabular.C (l_getline): use string::erase, small whitespace change.
17749 * BufferView_pimpl.C: try the anon namespace.
17750 * WorkArea.C: ditto
17752 2001-03-16 Juergen Vigna <jug@sad.it>
17754 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17755 otherwise it won't open options-dialogs.
17757 * buffer.C: honor pextraWidth(p) on converting minipages.
17759 * tabular.C (l_getline): changed the functions to strip trailing \r.
17761 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
17763 * BufferView_pimpl.C:
17764 * minibuffer..C: added "using SigC::slot" declaration.
17766 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17768 * lyxlex_pimpl.h: noncopyable is in namespace boost.
17774 * paragraph.C: ditto
17776 * lyxtext.h: NO_PEXTRA
17778 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17780 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17781 * ParameterStruct.h: ditto
17782 * ParagraphParameters.h: ditto
17783 * lyxparagraph.h: ditto
17785 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17787 * buffer.C: add compability for minipage alignment.
17788 (latexParagraphs): remove unwanted pextra check.
17790 * several files: remove CXX_WORKING_NAMESPACES
17792 * buffer.C (pop_tag): tie is in namespace boost
17794 * BufferView.h: noncopyable is in namespace boost
17796 * lyx_main.h: ditto
17799 * lastfiles.h: ditto
17800 * bufferlist.h: ditto
17801 * ShareContainer.h: ditto
17803 * LyXAction.h: ditto
17806 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17808 * Merging changes from BRANCH_MVC back into HEAD.
17810 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17812 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
17814 * BufferView_pimpl.C: change from intl.C
17818 * Makefile.am: move combox.*
17824 * intl.C: remove dialog (covered by prefs)
17826 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17828 * lyxfunc.C (Dispatch): removed redundant break statement.
17830 2001-03-14 Juergen Vigna <jug@sad.it>
17832 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17834 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17836 * buffer.C: add hack to fix compability reading of minipages.
17838 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
17840 * buffer.C (getLists): Cleanup.
17842 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17844 * lyxfont.C (update): don't honor toggleall on font size.
17846 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
17850 * Makefile.am: moved to frontends/xforms/
17854 * BufferView_pimpl.C: changes for moved mathpanel
17856 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17858 * gettext.h: fix gettext_init() in --disable-nls
17860 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17862 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17864 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
17867 * lyx.h: strip external form
17869 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17871 * BufferView_pimpl.C: add comment, destroySplash()
17873 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17875 * BufferView_pimpl.C:
17879 * lyxfunc.C: use re-worked insetinclude
17881 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17883 * buffer.C: add using std::stringstream.
17885 * lyx_cb.C: readd using std::ios.
17887 * buffer.C: add using std::map.
17889 * BufferView_pimpl.C: add using std::vector.
17891 * ShareContainer.h: add std:: to swap.
17893 * buffer.h: add some typedefs
17894 * buffer.C (getLists): use them
17895 (getLists): renamed from getTocList.
17896 add a counter for the different float types and use it in the
17898 (getLists): use the same counter for the NEW_INSETS and the "non"
17901 * lyx_cb.h: remove unused items, includes, using etc.
17903 * ShareContainer.h: remove some commented code, add more comments
17904 and "documentation".
17906 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17908 * buffer.C (getTocList): make the list also when NEW_INSETS is
17911 * buffer.h: remove TocType
17913 * buffer.C (getTocList): change to return a map<string,
17914 vector<TocItem> >, implement for dynamic number of list.
17916 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17917 * text2.C (PasteSelection): adjust
17918 * CutAndPaste.C (pasteSelection): adjust
17920 * FloatList.C (FloatList): update from the new_insets branch.
17921 * Floating.[Ch]: ditto
17922 * LaTeXFeatures.C: ditto
17924 * lyxlex_pimpl.C: ditto
17926 * paragraph.C (Last): remove when NEW_INSETS is defined.
17928 * other file: changes because of the above.
17930 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17932 * lyxparagraph.h: rename next to next_, previous to previous_,
17933 make them private for NEW_INSETS. Rename Next() to next(),
17934 Previous() to previous().
17936 * other files: changes because of the above.
17938 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
17941 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17944 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17946 * main.C (main): pass lyx_localedir to gettext_init().
17948 * gettext.h: remove locale_init and gettext_init macros
17950 * gettext.C (locale_init): new function
17951 (gettext_init): new function
17953 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17956 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
17958 * Moved credits to frontends:
17959 * credits.[Ch]: removed
17960 * credits_form.[Ch]: removed
17961 * lyx_gui_misc.C: remove credits stuff
17964 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17966 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17968 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17969 unneeded destructor.
17971 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17972 a standalone pointer again.
17974 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17976 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
17982 * ToolbarDefaults.C:
17991 * BufferView_pimpl.C: use new file dialog in GUII
17994 * lyx_cb.C: remove LayoutsCB to Toolbar
17996 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17998 * ShareContainer.h (get): add std:: qualifier
18000 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18002 * ShareContainer.h: define a proper ShareContainer::value_type
18003 type (and use typename to please compaq cxx)
18005 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18007 * lyxparagraph.h: move serveral local vars to
18008 ParameterStruct/ParagraphParameters., use ShareContainer in
18009 FontTable., make vars in FontTable private and add getter and
18012 * paragraph.C: changes because of the above.
18014 * lyxfont.h: remove copy constructor and copy assignment. (the
18015 default ones is ok), move number inside FontBits. move inlines to
18018 * lyxfont.C: add number to initializaton of statics, move several
18019 inlines here. constify several local vars. some whitespace
18020 cleanup. Dont hide outerscope variables.
18022 * Spacing.h: add two new constructors to match the set methods.
18024 * ShareContainer.h: new file, will perhaps be moved to support
18026 * ParameterStruct.h: new file
18028 * ParagraphParameters.h: new file
18030 * ParagraphParameters.C: new file
18032 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
18033 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
18035 * BufferView_pimpl.C: ParagraphParameter changes.
18036 * buffer.C: Likewise.
18037 * bufferview_funcs.C: Likewise.
18038 * text.C: Likewise.
18039 * text2.C: Likewise.
18041 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18043 * lyxfind.C (LyXReplace): do not redefine default argument in
18045 (IsStringInText): ditto
18046 (SearchForward): ditto
18047 (SearchBackward): ditto
18049 2001-03-06 Juergen Vigna <jug@sad.it>
18051 * lyxfind.C (IsStringInText): put parentes around expressions.
18053 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
18055 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
18057 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
18059 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
18061 * stl_string_fwd.h: add comment
18063 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
18066 * tabular.C: remove unused DocBook methods
18072 killed DO_USE_DEFAULT_LANGUAGE
18074 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18076 * lyx_gui.C: do not include language.h.
18078 * bufferview_funcs.C (ToggleAndShow): do not provide optional
18079 arguments in function implementation.
18081 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18083 * BufferView_pimpl.C: add <ctime>
18085 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18087 * BufferView_pimpl.C: add using std::find_if
18089 2001-02-27 José Matos <jamatos@fep.up.pt>
18091 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
18094 2001-02-11 José Matos <jamatos@fep.up.pt>
18096 * buffer.C (makeDocBookFile): command styles now have a parameter as
18097 "title" by default.
18099 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
18101 * layout_forms.[Ch]: removed
18102 * lyx_cb.[Ch]: out character
18103 * lyx_gui.C: out character
18104 * lyx_gui_misc.C: out character
18105 * bufferview_funcs.C: : out character,
18106 added toggleall as parameter in ToggleAndShow
18108 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
18110 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
18112 * text2.C (SetCurrentFont): Disable number property at boundary.
18114 2001-02-26 Juergen Vigna <jug@sad.it>
18116 * lyxfunc.C (getStatus): added a string argument override function so
18117 that this is correctly called from LyXFunc::Dispatch if it contains a
18118 do_not_use_argument which is used!
18119 (Dispatch): added check for "custom" export and call appropriate func.
18121 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
18123 * lyxrc.C: Add language_command_local, language_use_babel and
18124 language_global_options.
18126 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
18128 * buffer.C (makeLaTeXFile): Use language_use_babel and
18129 language_global_options.
18131 2001-02-23 Juergen Vigna <jug@sad.it>
18133 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
18134 which works with LyXText and putted it inside BufferView. Here now we
18135 only call for that part the BufferView::Dispatch() function.
18137 * BufferView.C (Dispatch): added.
18139 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
18140 functions which needs to use a LyXText over from LyXFunc.
18141 (MenuInsertLyXFile): added
18142 (getInsetByCode): added
18143 (moveCursorUpdate): added
18144 (static TEXT): added
18146 2001-02-22 Juergen Vigna <jug@sad.it>
18148 * BufferView_pimpl.C (update): call a status update to see if LyXText
18151 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18153 * vc-backend.C (revert): implement for CVS
18154 (getLog): implement for CVS
18156 2001-02-20 Juergen Vigna <jug@sad.it>
18158 * text2.C (ClearSelection): added BufferView param for inset_owner call
18160 * lyxfunc.C (TEXT): added this function and use it instead of
18161 directly owner->view()-text of getLyXText().
18163 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
18165 * src/layout_forms.C: out preamble
18166 * src/layout_forms.h: out preamble
18167 * src/lyx_cb.C: out preamble
18168 * src/lyx_cb.h: out preamble
18169 * src/lyx_gui.C: out preamble
18170 * src/lyx_gui_misc.C: out preamble
18171 * src/lyxfunc.C: connect with guii preamble
18173 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
18175 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
18177 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
18179 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
18180 whether to run bibtex.
18182 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
18184 * Makefile.am (lyx_SOURCES): Remove BackStack.h
18186 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
18188 * Makefile.am (lyx_SOURCES): removed bibforms.h
18190 * vspace.h: doxygen
18192 * text.C (GetVisibleRow): make several local vars const
18194 * tabular.C: small cleanup.
18196 * lyxserver.C (callback): use compare instead of strncmp
18198 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
18199 inlines to after class or to paragraph.C
18201 * lyxfont.h: remove friend operator!=
18203 * converter.h: move friend bool operator< to non friend and after
18206 * combox.h: small cleanup
18208 * buffer.h: doxygen, remove unused constructor, move inclas inlies
18209 to inlines after class def.
18211 * buffer.C (pop_tag): use string operations instead of strcmp
18213 * bmtable.c: doxygen, small cleanup
18215 * LaTeX.h: remove friend operator==
18217 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
18229 * BufferView_pimpl.C:
18230 * BufferView.[Ch]: remove cruft
18232 2001-02-14 Juergen Vigna <jug@sad.it>
18234 * lyxfunc.C: removed #if 0 unused code
18236 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
18238 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
18240 * text2.C (SetSelection): added a BufferView * parameter
18242 2001-02-13 Juergen Vigna <jug@sad.it>
18244 * lyxfunc.C (Dispatch): fixed protected blank problem.
18245 * BufferView2.C (protectedBlank): added LyxText * parameter.
18247 * tabular.C (AppendRow): forgot to set row_info of newly added row.
18248 (AppendColumn): same as above for column_info.
18250 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
18251 (moveCursorUpdate): use a LyXText param for support of InsetText.
18253 * BufferView_pimpl.C (doubleClick): added support for InsetText.
18254 (tripleClick): ditto
18256 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
18258 * BufferView_pimpl.C (update): added LyXText param to honor insets.
18260 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
18262 * text2.C (SetSelection): set correct update status if inset_owner
18263 (ToggleFree): ditto
18265 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
18267 * tabular.C: remove some commented code.
18269 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
18271 * BufferView_pimpl.C: call hideSplash()
18273 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
18276 * bibforms.h: remove
18279 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
18280 add LFUN_CHILD_CREATE
18282 * counters.h: fix tiny typo
18287 * lyx.C: move splash to frontends/xforms/
18289 * lyx_gui_misc.C: move Include and Bibform to frontends
18291 * lyxvc.h: clarify comment
18293 * vspace.C: tiny housekeeping
18295 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
18297 * text.C (PrepareToPrint): RTL Fix.
18299 * paragraph.C (GetUChar): New method.
18300 (String): Use GetUChar.
18302 * buffer.C (asciiParagraph): Use GetUChar.
18304 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
18306 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
18308 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
18311 * buffer.C: rename to getLogName(), handle
18312 build log / latex log nicely
18314 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18317 * MenuBackend.h: remove support for reference menuitem type.
18319 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
18321 * BufferView_pimpl.C: housekeeping
18322 * BufferView_pimpl.h:
18327 * minibuffer.h: move Timeout GUI-I
18329 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
18331 * lyxrc.C (read): Update converters data-structures.
18333 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
18335 * LaTeX.h (operator!=): add operator != for Aux_Info
18337 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
18339 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
18341 * LaTeXLog.C: deleted, useful code moved to Buffer
18344 * buffer.C: new function getLatexLogName()
18350 * lyxfunc.C: use frontends for LaTeX and VC logs
18352 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18354 * LaTeX.h: yet another std:: that Allan forgot.
18356 * Variables.C (set): renamed from isset(), because this clashes
18357 with some HP-UX macros (grr).
18359 2001-02-06 Allan Rae <rae@lyx.org>
18361 * LaTeX.h: Another bug fix. Missing std:: this time.
18363 2001-02-04 Allan Rae <rae@lyx.org>
18365 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
18366 floats problem. I've left it commented out because it's not quite
18367 correct. It should also test that the current object is a table or
18368 figure inset. But I haven't gotten around to figuring out how to do
18369 that. I *think* it'll be something like: "table" == inset.type()
18371 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
18374 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
18376 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
18377 all the citation/databases/styles in the auxilary file.
18378 (run): Rerun latex if there was a babel language error.
18380 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
18382 * text.C (Backspace): Preserve the font when changing newline char
18384 (BreakParagraph): If the cursor is before a space, delete the space.
18386 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
18388 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
18390 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
18391 new argument (code).
18392 (ChangeCitationsIfUnique): New method.
18394 * paragraph.C (GetPositionOfInset): Handle bibkey.
18396 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18398 * BufferView_pimpl.h: change type of Position::par_pos to
18399 LyXParagraph::size_type.
18401 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
18403 * BufferView_pimpl.C (savePosition, restorePosition): Write
18404 messages to minibuffer.
18406 2001-01-28 José Matos <jamatos@fep.up.pt>
18408 * buffer.C (makeDocBookFile): adds support for document language.
18409 A silly restriction on the name of LatexCommand types where removed.
18410 Added support for CDATA sections, allows to chars unescaped, used
18411 among others in code, to avoid escape < and >.
18413 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
18415 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18416 saved positions instrad of a stack. Furthermore, a position is
18417 stored using paragraph id/paragraph position.
18419 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18420 Remove LFUN_REF_BACK.
18422 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
18424 * converter.C (dvipdfm_options): New method.
18426 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
18428 * vspace.C (isValidLength): Fix for empty input string.
18430 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18432 * LyXAction.C (init): change description of LFUN_FIGURE to
18435 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18437 * LaTeX.C: add using directive
18439 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
18441 * MenuBackend.C (expand): Fix the sorting of the formats.
18443 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
18445 * lyx_main.C: tiny error message fix
18447 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18449 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18450 calling fl_initialize(). This fixes the problem with ',' as
18451 decimal separator in text files.
18453 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
18455 * trans.C (process): Fix the keymap bug.
18457 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
18459 * LaTeX.C (scanAuxFiles): New method. Provides support for
18460 multiple bibliographies (when using the bibtopic/bibunits pacakges).
18461 (scanLogFile) Scan for "run BibTeX" messages.
18463 * buffer.C (makeLaTeXFile): Do not load the ae package when using
18464 OT1 font encoding. Also, load the aecompl package if the ae
18467 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18469 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18471 * texrow.C (increasePos): turn two error messages into debug
18474 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
18476 * LaTeX.C (scanAux): Handle the \@input macro.
18477 (runBibTeX): Use scanAux().
18479 * language.C (latex_options_): New field.
18481 * LaTeXFeatures.C (getMacros): Add language macros.
18483 * buffer.C (makeLaTeXFile): Small fix.
18485 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18487 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18489 * text2.C: add a using directive.
18491 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
18496 * lyxfunc.C: kill LyXBell.
18498 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
18500 * text.C (IsBoundary): Remove the error message
18502 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18504 * lyxrc.C (setDefaults): Correct initialization value for
18507 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
18509 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18512 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18513 and GotoNextNote().
18515 * src/LyXAction.C: Added reference-next.
18517 * text.C (InsertChar): Use contains instead of strchr.
18519 * lyx_cb.C (MenuInsertLabel): Enable default value code.
18521 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
18523 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18524 alignment commands (when needed).
18526 * text.C (InsertChar): Add ':' to number separator chars.