1 2005-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3 * CutAndPaste.C (numberOfSelections): new helper function.
5 * lyxfunc.C (getStatus): remove support for LFUN_COPY and LFUN_CUT.
7 * text3.C (getStatus): move code for LFUN_CUT and LFUN_COPY from
8 LyXFunc::getStatus; implement LFUN_PASTE.
10 2005-11-17 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
12 * dociterator.[Ch]: new member realInset() that returns the cell
13 for tabulars and the inset for the rest (bug 1952).
14 * undo.C (textUndoOrRedo): use realInset when resetting insetOwner
17 2005-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
19 * text.C (leftMargin): honor the NextNoIndent tag in layouts.
21 2005-11-17 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
25 * text3.C: InsetBase::forceDefaultParagraphs now takes a cell as
28 2005-11-07 Martin Vermeer <martin.vermeer@hut.fi>
30 * text.C (redoParagraph): Fix bug 1966: cursor doesn't go to next
31 line after typing ctrl-enter
33 2005-11-10 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
35 * bufferview_funcs.C (coordOffset): fix the fix for bug 2094, as
36 math insets do not return a proper editable() state yet (bug 2124).
38 2005-11-07 Martin Vermeer <martin.vermeer@hut.fi>
40 * BufferView_pimpl.[Ch]: Fix bug 1814: better scroll behaviour for
41 docs containing very large paragraphs.
43 2005-11-07 Martin Vermeer <martin.vermeer@hut.fi>
45 * cursor.C (selectionBegin, selectionEnd):
46 * text.C (drawSelection): Fix bug 2115: assertion when anchor and
47 cursor at different depths.
49 2005-11-03 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
51 * bufferview_funcs.C (coordOffset): do not call cursorPos
52 for collapsed collapsables (fix bug 2094).
54 2005-11-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
56 * paragraph.C (fontSpan): make sure that the FontSpan does not
57 span across beginOfBody (bug 1947).
59 2005-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
61 * lyxlength.h: undefine macros that clash with solaris/x86 (bug 992)
63 2005-11-03 Michael Gerz <michael.gerz@teststep.org>
65 * messages.C: fix crash and localization on MinGW/Windows platform
67 2005-11-02 Angus Leeming <leeming@lyx.org>
70 * lyxtextclass.C: trivial fixes to some MSVS warnings.
72 2005-10-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
74 * text3.C (getStatus): re-enable disabled code. (bug 2081)
76 * BranchList.h (empty): constify.
78 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
80 * text3.C (getStatus):
81 * MenuBackend.C (expandBranches): take the branch list from the
82 master document (bug 2092).
84 * MenuBackend.C (expandBranches):
85 * bufferparams.C (writeFile): use BranchList type.
87 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
89 * text3.C (dispatch, getStatus):
91 * lfuns.h: get rid of LFUN_KEYMAP_TOGGLE
93 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
95 * toc.C (getTocList): skip paragraphs which toclevel is NOT_IN_TOC.
97 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
99 * text.C (insertChar): do not reset boundary (bug 2061)
101 2005-10-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
103 * dociterator.C (updateInsets): new method. Updates the inset_
104 cache of all the slices of the iterator.
106 * text2.C (deleteEmptyParagraphMechanism): compare also containing
107 insets when comparing pit/pos; pass the right cursor to
108 recordUndo; when a paragraph has been deleted, compare `old.top()' to
109 the right cursor slice of `cur'; use updateInsets on cur to make
110 sure that the inset caches are correct; general cleanup.
112 2005-10-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
114 * text3.C (dispatch): LFUN_NEXT_INSET_TOGGLE: first try to
115 dispatch LFUN_INSET_TOGGLE to inset at cursor, and then to
116 containg inset. If this does not work, the same command will be
117 sent to other insets down the queue by LCursor::dispatch. (bug 2066)
119 * lyxfunc.C (dispatch): make sure the cursor is correct when doing
122 2005-10-20 Georg Baum <Georg.Baum@post.rwth-aachen.de>
124 * lyxtextclass.C (Read): convert layout file if the format is wrong
125 * lyxtextclass.C (layout2layout): new, needed for the above
127 2005-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
129 * messages.C: do not forget to include <cerrno>.
131 2005-10-12 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
133 * dociterator.h (StableDocIterator): add access to pos().
134 * undo.C (samePar): new method to check if two
135 iterators are in the same paragraph
136 * undo.C (recordUndo): check for samePar instead of cell identity
137 (which includes pos() and is too strict) (fixes bug 2097)
139 2005-10-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
141 * text.C (setCursorFromCoordinates): return a bool telling whether
144 * text3.C (cursorPrevious): update if needed after
145 setCursorFromCoordinates (when dEPM triggered).
147 * text2.C (cursorDown, cursorUp): make sure to reset the anchor
148 (otherwise the anchor may be completely wrong and make dEPM assert).
150 2005-10-12 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
152 * buffer.C: version upgrade to 245.
153 * bufferparams.C: remove \quotes_times (bug 2090).
154 * text3.C (doDispatch): LFUN_QUOTE_INSERT has to output double
155 quotation marks as default.
157 2005-10-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
159 * CutAndPaste.C (nrOfParagraphs): remove (unused)
160 * CutAndPaste.C (cutSelection): Remove debug message
161 * CutAndPaste.C (cutSelection): Use the real cursor in mathed, record
162 undo information and only copy if this is a real cut
163 * CutAndPaste.C (pasteSelection): remove superflous cur.resetAnchor()
165 * CutAndPaste.C (pasteSelection): remove now superflous mathed warning
167 * CutAndPaste.C (eraseSelection): prevent cursor corruption
168 * CutAndPaste.C (grabAndEraseSelection, selDel): remove now
169 superflous cur.selection() setting
170 * CutAndPaste.[Ch] (grabSelection): take a const cursor
171 * cursor.C (selectionAsString): implement mathed case ((bug 2059)
173 2005-10-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
175 * text3.C (mathDispatch, dispatch): Dont' record undo steps that don't
178 2005-10-11 Martin Vermeer <martin.vermeer@hut.fi>
180 * BufferView_pimpl.C: comment layout change
182 2005-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
186 * lyxfunc.C: reimplement LFUN_INSERT_CITATION, which is needed
187 by bibliography managers (bug 2071).
189 2005-10-07 Martin Vermeer <martin.vermeer@hut.fi>
191 * BufferView_pimpl.C (update): choose arguments to update call so
192 that single-par update works most times
193 * text3.C (dispatch): carefully tune updating separately for
194 whole-screen and current-paragraph
195 * rowpainter.C (paintText): 1) replace painting by caching for
196 the two extra paragraphs, because we can;
197 2) suppress greying out of areas below/above drawn area in case of
199 * lyxfunc.C (dispatch): remove superfluous update
200 * LyXAction.[Ch]: introduce SingleParUpdate
202 2005-10-05 Angus Leeming <leeming@lyx.org>
204 * BufferView_pimpl.C (loadLyXFile): ensure that a pointer is
205 always initialised before use.
207 * text.C (setHeightOfRow): squash warning about comparison
208 of signed and unsigned types.
210 2005-10-03 Martin Vermeer <martin.vermeer@hut.fi>
212 * text.C (cursorX): two fixes involving RtL text drawing
214 2005-10-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
216 * cursor.C (erase): fix 'clever' UI hack. It was activated for all
217 items, not only large ones (part of bug 2057)
219 2005-10-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
221 * text3.C (dispatch): when invoking LFUN_MATH_MACRO with no type
222 argument, use "newcommand".
224 2005-09-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
226 * cursor.C (setSelection): do not open collapsable insets;
227 the insets do by themselves now (autoopen).
229 2005-09-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
231 * buffer.C: format is up to 244.
233 2005-09-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
235 * text.C (redoParagraph): fix calcultation of inset width wrt
236 leftMargin (bug 1957).
238 * text3.C (dispatch): leave inset to the right when hitting ESC
241 2005-09-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
246 * messages.C: include <boost/current_function.hpp>
248 2005-09-12 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
250 * lyxfunc.C (sendDispatchMessage): do not update menubar/toolbar
251 when command is internal. (bug 1941)
253 2005-09-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
255 * text2.C (cursorRight): do not honor boundary when at the end of
256 a paragraph. (bug 2010 again)
258 2005-09-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
260 * cursor.C (paste): do nothing if `data' is empty. (bug 2033)
262 2005-09-19 Martin Vermeer <martin.vermeer@hut.fi>
264 * rowpainter.C (paintText): fix RtL space width display bug (2029)
266 2005-09-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
268 * text2.C (setCursor): remove the unused 'boundary' parameter for
269 the CursorSlice version; adapt the LCursor version.
272 * paragraph_pimpl.C (markErased):
273 * cursor.C (bruteFind2, bruteFond3): fix warnings.
275 2005-09-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
277 * rowpainter.C (paintFirst): use a 'labeladdon' for TOP_* labels,
278 as is already done for "chapter".
280 2005-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
282 * lyxfunc.C (dispatch): LFUN_TEXTCLASS_APPLY: actually set the
283 textclass; do not record undo if nothing is changed.
285 2005-09-16 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
287 * text3.C (dispatch): recordUndo in LFUN_PASTESELECTION (#2011).
289 2005-09-14 Michael Gerz <michael.gerz@teststep.org>
291 * lyxfunc.C: update display after LFUN_ALL_INSETS_TOGGLE
293 2005-09-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
295 * BufferView_pimpl.C (setBuffer): when one wants to set the layout
296 combox, it is necessary to search for the topmost paragraph in the
297 cursor stack (bug 1926)
299 2005-09-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
301 * text2.C (cursorEnd, cursorRight): do not set boundary to true at
302 end of paragraph. (bug 2010)
304 2005-09-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
306 * text.C (leftMargin): check for inInset == 0
308 2005-09-10 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
310 * text.C (leftMargin): test for insetbase's new neverIndent()
311 bool instead of listing each and every inset that does not
312 wish par indendation.
314 2005-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
316 * buffer_funcs.C (setCounter): put the code to compute enum label
317 here (where it belongs).
319 * counters.C (enumLabel): move code to buffer_funcs.C.
321 2005-09-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
323 * outputparams.[Ch]: store local_font instead of local_language
324 * paragraph.C (simpleTeXOnePar): adapt to the change above
326 2005-09-08 Martin Vermeer <martin.vermeer@hut.fi>
329 * counters.[Ch]: clean up special code for Hebrew.
331 2005-09-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
333 * lyxfunc.C (lookupChange): fix code when cursor depth is greater
336 2005-09-08 Angus Leeming <leeming@lyx.org>
339 * lyxrc.C: correct grammar describing invocation of the
342 2005-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
344 * text.C (read): remove unused variable.
345 (readParToken): remove static Change variable (never good in
346 recursive settings...); add it as a parameter instead.
348 * paragraph_pimpl.C (acceptChange): make debug info conditional.
350 * metricsinfo.C (PainterInfo): add new member erased_.
352 * rowpainter.C (RowPainter): add erased_ member, initialized from
354 (paintInset): pass erased_ to Inset::draw.
356 * lyxfunc.C (lookupChange): new function. Tells whether change
357 tracking is disabled at a given postion.
358 (getStatus): disable some actions when in deleted text with change
361 2005-08-03 John Levon <levon@movementarian.org>
363 * tabular.C (appendColumn, setMultiColumn): adapt to change to
366 * paragraph_pimpl.C (markErased): add bool argument and handle it.
367 Also make sure to mark insets recursively.
368 (rejectChange, erase): be recursive
370 * paragraph.C (markErased): add bool argument.
371 2005-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
373 * lyxfind.C (findNextChange): tiny cleanup.
375 * BufferView_pimpl.C (trackChanges): avoid crash when stopping
376 change tracking with the cursor in an inset; make sure the first
377 change is not skipped.
379 2005-09-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
381 * CutAndPaste.[Ch]: new methods dirtyTabularStack and
382 tabularStackDirty to work around bug 1919 (tabular needs
383 to know whether its own cell paste buffer or the one of
385 * CutAndPaste.C: mark tabular_stack_ clean after copy.
387 2005-08-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
389 * text2.C (cursorEnd): check for empty text (fixes bug 1998)
391 2005-08-19 Lars Gullik Bjønnes <larsbj@gullik.net>
393 * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
394 use old deleteion algorithm when changetracking is on.
396 2005-08-18 Martin Vermeer <martin.vermeer@hut.fi>
398 * messages.C (get): add debug output.
400 2005-08-02 Martin Vermeer <martin.vermeer@hut.fi>
402 * text.C (cursorX): fix bug 1965: cursor movement at
403 line end broken in RtL.
404 (drawSelection): fix bug 1970: drawing of single-line
405 selection broken for RtL.
407 2005-07-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
411 * dociterator.h (clear, push_back, pop_back): change from
414 * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
415 and changed to just return the value of the item depth; take a
416 ParIterator as argument; take the itemdepth at outer nesting level
417 in account if necessary; cleanup and comment the code.
418 (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
419 and changed to just return true if reset is needed; take a
420 ParIterator as argument; cleanup and comment the code.
421 (setCounter): adapt to above changes.
423 2005-07-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
425 * text3.C (dispatch): make debug message optional
427 2005-08-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
429 * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
432 2005-08-02 Martin Vermeer <martin.vermeer@hut.fi>
434 * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
436 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
438 * text.C (insertChar):
439 * text2.C (deleteEmptyParagraphMechanism): take care whether
440 a blank has been deleted (in change tracking mode) (bug 1254).
442 2005-07-20 John Levon <levon@movementarian.org>
444 * text2.C (insertStringAsLines): remove old dubious code,
447 2005-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
449 * MenuBackend.C (expandToc): use Floating::listName() as title of
452 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
454 * toc.[Ch]: Do not use translatable strings (bug 1870).
456 2005-07-20 John Levon <levon@movementarian.org>
458 * tabular.C: fix 1748 - setting multicolumn adds
459 left line to the first cell
461 2005-07-19 Lars Gullik Bjønnes <larsbj@lyx.org>
464 * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
467 2005-07-18 Lars Gullik Bjønnes <larsbj@lyx.org>
469 * messages.C: supress some lyxerr messages
471 2005-07-18 Juergen Vigna <jug@lyx.org>
473 * text.C (drawSelection): honor boundary when asking for cursorX.
475 2005-07-17 José Matos <jamatos@fc.up.pt>
477 * tabular.C (recalculateMulticolumns): fix handling of one column
480 2005-07-17 Juergen Vigna <jug@lyx.org>
482 * text.C (Delete, backspace): fixed so that paragraph with the
483 same layout can be merged by Delete/Backspace.
485 2005-07-17 Michael Schmitt <michael.schmitt@teststep.org>
487 * text.C (readParToken): fix spelling.
489 2005-07-17 Martin Vermeer <martin.vermeer@hut.fi>
491 * text2.C: fix counter update for DEPM problem reported by
494 2005-07-17 Juergen Vigna <jug@lyx.org>
496 * BufferView_pimpl.C (setBuffer): save/restore the
497 cursor/selection when switching buffers
500 * buffer.C (saveCursor): add saveDocumentIterators to save the
501 cursor when switching buffer.
503 2005-07-17 Michael Schmitt <michqel.schmitt@teststep.org>
506 * buffer.C: clarify message
508 2005-07-17 Lars Gullik Bjønnes <larsbj@lyx.org>
510 * dociterator.C (DocIterator): fix initialization order
512 2005-07-17 Juergen Vigna <jug@lyx.org>
514 * text2.C (cursorHome):
515 * text.C (drawSelection, cursorX):
516 * dociterator.C (textRow): add boundary to getRow() call
518 * paragraph.C (getRow): implementation of below
520 * paragraph.h: add parameter boundary for getRow() function
522 2005-07-17 José Matos <jamatos@fc.up.pt>
526 * tex-strings.[Ch]: new file format, remove support for a4.sty,
527 a4wide.sty and a4widemargins.
529 2005-07-17 Juergen Vigna <jug@lyx.org>
531 * text2.C (cursorLeft): fix one of error
533 2005-07-17 Juergen Vigna <jug@lyx.org>
535 * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
537 more fixes for boundary handling
539 * text3.C (dispatch): don't reset cursor if boundary has changed
542 2005-07-16 Juergen Vigna <jug@lyx.org>
544 * text2.C (getColumnNearX): hopefully got it right now,
545 check if we are on column 0 for special case.
547 2005-07-16 Juergen Vigna <jug@lyx.org>
549 * text2.C (getColumnNearX): handle special case Newline Inset
551 * text.C (singleWidth): Just remove bogus check
553 2005-07-16 Michael Schmitt <michael.schmitt@teststep.org>
555 * funcrequest.C (split): avoid reading uninitialized char c
557 2005-07-16 José Matos <jamatos@fc.up.pt>
563 * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
564 single papersize variable.
566 2005-07-16 Juergen Vigna <jug@lyx.org>
568 * text3.C (dispatch): honor boundary when checking if a cursor
569 movement has been done
571 * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown)
572 (setCursor, setCursorIntern): fix cursor movement with boundary
574 2005-07-16 Juergen Vigna <jug@lyx.org>
576 * text.C (currentState): output the actual Boundary
578 2005-07-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
580 * factory.C (createInset): fix bad logic for tabular creation
582 2005-07-16 Lars Gullik Bjønnes <larsbj@lyx.org>
584 * lyx_main.C (init): change some reLyX reference to tex2lyx
586 2005-07-16 Juergen Vigna <jug@lyx.org>
588 * dociterator.C (DocIterator): initialize boundary
590 2005-07-16 Juergen Vigna <jug@lyx.org>
592 * text2.C (getColumnNearX): Consider rows without trailing blank.
594 2005-07-16 André Pönitz <poenitz@gmx.net>
596 * lyxfont.h: Change order of declarations to give the compiler
597 a better chance to inline things
599 * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
600 questions on unsaved docs for better scritability
602 2005-07-16 André Pönitz <poenitz@gmx.net>
604 * paragraph.h (getChar): remove asserts as the same kind of security
605 can be achieved by using a suitable standard library implementation
606 and the function was in the critical path (25.9% in profiler)
608 2005-07-16 Juergen Vigna <jug@lyx.org>
610 * cursor.C (bruteFind2):
611 * bufferview_funcs.C (coordOffset):
612 * text.C (cursorX,cursorY): Handle cursor position after last char
613 in row before a inset which uses a whole row.
615 2005-07-15 José Matos <jamatos@lyx.org>
617 * output_plaintext.[Ch] (writeFileAscii): control reference title
619 (asciiParagraph): noparbreak was already deal and was incorrectly
622 2005-07-15 Juergen Vigna <jug@lyx.org>
624 * lyxfunc.C (dispatch): save and restore the cursor after a
627 2005-07-15 Lars Gullik Bjønnes <lgb@tandberg.net>
629 * text.C (backspace): bug 806 for empty keepempty paragraphs we
630 change the layout to default before letting DEPM do its thing.
632 * paragraph_funcs.C (breakParagraph): dont reset the layout on
635 * text.C (setCursorFromCoordinates): add a debug statement
637 * text2.C (getColumnNearX): bug 1825 make sure that we don't
638 return a pos that is not on the row
640 * output_latex.C (TeXDeeper): get rid of potential dereferencing
641 of past the end iterator
643 2005-07-14 André Pönitz <poenitz@gmx.net>
645 * undo.C (recordUndoFullBuffer): implement undo for
648 2005-07-14 André Pönitz <poenitz@gmx.net>
650 * cursor.C (setSelection): open insets when selection is set there
651 to avoid crashs with cold coord cache
653 2005-07-14 André Pönitz <poenitz@gmx.net>
655 * trans_mgr.C (insert): move cursor to the right after inserting
658 2005-07-14 Lars Gullik Bjønnes <larsbj@lyx.org>
660 * BufferView_pimpl.C (update): dampen some of the debug blabbering
661 * factory.C (readInset): ditto
662 * text.C, text2.C: ditto
664 2005-06-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
666 * buffer.C: format incremented to 242. There is no file format per
667 se, but the "frenchb" language has been removed from lib/language
668 and has to be translated to "french" by lyx2lyx.
670 2005-07-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
672 * cursor_slice.h, dociterator.h: add some documentation
673 * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
675 2005-07-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
677 * text.C (leftMargin): do not add identation to display() style
678 insets, because they are always centered (bug 1293).
680 2005-07-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
682 * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
683 formatted_time methods in support/lyxtime.
685 2005-07-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
687 * toc.[Ch]: new method getGuiName, which is used by the frontends
688 to set the toc combo (fixes bug 1870). Make TOC string translatable.
690 2005-07-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
692 * dociterator.[Ch]: implement operator==(StableDocIterator const &,
693 StableDocIterator const &)
694 * undo.C (recordUndo): use the above instead of cell.size() comparison
695 (fixes bug 1808; instructed by Andr�.
697 2005-06-29 Martin Vermeer <martin.vermeer@hut.fi>
700 * dociterator.h: Fix the assert when copying rows/cols in math
702 2005-06-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
704 * BufferView_pimpl.C:
706 * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
708 * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
709 (findInset): new functions, refactored from goto Inset that return
710 the position of a certain inset without setting the buffer's cursor
712 (gotoInset): rewrite to call findInset and then set the cursor
715 2005-06-16 Angus Leeming <leeming@lyx.org>
717 * lyxrc.C (output, read): wrap all input and output of paths with
718 calls to os::internal_path and os::external_path, respectively.
719 (output): wrap bind_file inside quotes.
721 * format.C (view): enable the viewer to use the '$$s' placeholder.
723 2005-06-16 Georg Baum <Georg.Baum@post.rwth-aachen.de>
725 * LColor.[Ch] (getFromLaTeXName): new
727 2005-06-16 Martin Vermeer <martin.vermeer@hut.fi>
729 * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
731 2005-06-14 Angus Leeming <leeming@lyx.org>
733 * lyx_main.C (init): ensure that the LyX binary dir is the first
734 element in the PATH on non-POSIX builds.
736 2005-06-11 Georg Baum <Georg.Baum@post.rwth-aachen.de>
738 * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
740 2005-06-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
742 * rowpainter.C (paintInset, paintHebrewComposeChar)
743 (paintArabicComposeChar, paintChars): add a LyXFont argument.
744 (paintChars): use getFontSpan to reduce calls to getFont to a
745 minimum; use Paragraph::lookupChange instead of isXXXText.
746 (paintForeignMark): rename LyXFont argument.
747 (paintFromPos): pass a LyXFont object to the various paintXXX
750 * FontIterator.C (FontIterator, operator++): use
751 Paragraph::getFontSpan
753 * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
754 version that returns the font span as a pair.
756 2005-06-09 Angus Leeming <leeming@lyx.org>
758 * converter.C (convert): Don't forget "outfile = real_outfile" as
759 the final step in a conversion where the input and output file names
760 are the same. Otherwise, future conversion steps won't work...
762 2005-06-09 Angus Leeming <leeming@lyx.org>
764 * lyxsocket.C: remove stub code as it isn't needed by
765 MinGW/MinSYS anyway. Let's see if the MSVC people scream...
767 2005-06-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
769 * lyx_main.C (parse_execute): Fix last fix: is_gui = false
770 effectively disabled -x
772 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
774 * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
775 when it actually makes sense.
777 2005-06-06 Martin Vermeer <martin.vermeer@hut.fi>
779 * BufferView_pimpl.C: revert to showCursor in connection with
780 Lars's front-end stack
782 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
784 * text.C (redoParagraph): move cursor right after a bibitem
787 * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
789 2005-06-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
791 * buffer_funcs.C (bufferErrors): fix computation of the end of an
794 2005-05-31 Martin Vermeer <martin.vermeer@hut.fi>
796 * BufferView.[Ch] (update):
797 * BufferView_pimpl.[Ch] (update, metrics):
798 * dimension.h (operator==):
799 * lyxfunc.C (dispatch):
800 * metricsinfo.h (ViewMetricsInfo):
801 * rowpainter.C (paintText):
803 * text.C (redoParagraph):
804 * text3.C (dispatch): Make LyX only repaint current paragraph in
805 case of character insert --> speedup. Also fix cursor draw
808 2005-05-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
810 * bufferview_funcs.C (gotoInset): fix the wrap-around code to
811 avoid a crash (bug 1891)
813 2005-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
817 * text2.C (getStringToIndex): constify cur argument.
819 * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
820 argument has been given
821 (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
822 try to invoke LFUN_INSET_APPLY).
824 * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
825 if no inset was created by doInsertInset
826 (doInsertInset): return true if an inset has been inserted.
828 2005-05-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
830 * vspace.C (asGUIName): new method. A version of the space
831 suitable for showing on screen.
833 2005-05-20 Michael Schmitt <michael.schmitt@teststep.org>
836 * lyxrc.C: rename "ASCII" to "Plain Text"
838 2005-05-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
840 * buffer_funcs.C (expandLabel): take a Buffer as argument;
841 translate the labelstring.
842 (setCounter): translate labelstring as needed.
844 * output_docbook.C (makeCommand): fix expandLabel invokation
846 2005-05-14 Michael Schmitt <michael.schmitt@teststep.org>
848 * BufferView.C: fix dialog title
850 2005-05-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
852 * lyx_main.C (priv_exec): fix logic error with help from Angus
853 * lyx_main.C (parse_execute): set is_gui = false and remove now
854 obsolete comment about a segfault
856 2005-05-18 Angus Leeming <leeming@lyx.org>
858 * buffer.C (readFile): Quote all file names passed to lyx2lyx.
860 2005-05-12 Martin Vermeer <martin.vermeer@hut.fi>
862 * tabular.[hC]: added setCellInset to fix tabular paste.
864 2005-05-11 Lars Gullik Bjønnes <larsbj@gullik.net>
866 * buffer.C (save): check if destination is writable before trying
869 2005-05-11 Martin Vermeer <martin.vermeer@hut.fi>
871 * BufferView_pimpl.C (update): fix processEvents -caused update
874 2005-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
876 * buffer_funcs.C (setCounter): fix test for numbering of
879 * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
880 depth correctly; use optional argument when it exists
882 * lyxtextclass.C: remove unused MaxCounterTags enum
883 (Read): compute min_toclevel_ and max_toclevel_ after reading class.
884 (max_toclevel, min_toclevel): new methods.
886 * MenuBackend.C (expandToc2): fix case where depth is smaller than
887 the smallest depth in toc.
889 * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
890 layouts that should not appear in a table of contents.
892 2005-05-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
894 * cursor.h (undispatched, noUpdate): add comments from Andr�
895 2005-05-07 Michael Schmitt <michael.schmitt@teststep.org>
899 * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
901 2005-05-07 André Pönitz <poenitz@gmx.net>
903 * cursor.[Ch] (leaveInset): new function
905 2005-05-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
907 * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
909 2005-05-04 Angus Leeming <leeming@lyx.org>
911 * lyxfunc.C (getStatus): disable the spell checker dialog if
912 none of USE_[AIP]SPELL are defined.
914 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
916 * tabular.C (setWidthOfCell): remove obsolete comment
918 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
920 * paragraph.C (bibitem):
921 * buffer_funcs.C (setCounter):
922 * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
924 2005-05-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
926 * text3.C (getStatus): immediately return after setOnOff
928 * rowpainter.C: fix drawing of appendix start
930 2005-05-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
932 * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
933 SwitchBetweenClasses and remove the unused return value.
934 Handle character styles, too
936 2005-05-03 Martin Vermeer <martin.vermeer@hut.fi>
938 * factory.C (createInset): handle undefined character styles
940 2005-05-02 Angus Leeming <leeming@lyx.org>
942 * buffer.C: protect the #include of utime.h with a preprocessor
945 2005-05-02 Angus Leeming <leeming@lyx.org>
947 * lyx_cb.C: artificially define fork() on Windows as a no-op failing
948 function so that auto-saving works, albeit in a blocking manner.
950 * Makefile.am: make compilation of the client sub directory, of
951 aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
952 on conditionals set at configure time.
954 * SpellBase.[Ch]: no longer an abstract base class. Instead,
955 it can be compiled in its own right but has no-op functionality.
957 * aspell.C, pspell.C: remove preprocessor guards. The files should
958 be compiled only if the necessary functionality exists.
960 * lyxserver.C, lyxsocket.C: disable on Windows.
962 2005-05-01 Martin Vermeer <martin.vermeer@hut.fi>
964 * text.C (leftMargin): Fix the parindent use bug (1764)
967 2005-04-28 Michael Schmitt <michael.schmitt@teststep.org>
969 * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
972 2005-04-25 Angus Leeming <leeming@lyx.org>
980 include <config.h> in .C files, not .h ones.
982 protect headers inside preprocessor guards.
984 2005-04-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
986 * FuncStatus.h (StatusCodes): document
988 2005-04-21 André Pönitz <poenitz@gmx.net>
990 * FuncStatus.h (enabled, onoff): document
992 2005-04-19 Angus Leeming <leeming@lyx.org>
994 * BufferView_pimpl.C (cursorToggle): no longer test whether
995 any child processes have been reaped before calling
996 handleCompletedProcesses().
998 2005-04-19 Martin Vermeer <martin.vermeer@hut.fi>
1000 * text3.C (dispatch): fix, finally fix, the language problem in
1001 new lyxtexts, without disabling on-the-fly font changes (Helge's
1004 2005-04-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1006 * text3.C (dispatch): set cursor on double/triple click events
1009 2005-04-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1011 * lyxfunc.C (actOnUpdatedPrefs): avoid warning
1012 (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
1014 * rowpainter.C (paintFirst): simplify the code a little bit. In
1015 particular, remove the test for secnumdepth.
1016 * text.C (setHeightOfRow): only allocate space for chapter number
1017 when updateCounters provided an actual label, instead of looking
1018 at secnumdepth directly.
1020 * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
1022 * buffer_funcs.C (setCounter): only number LABEL_COUNTER
1023 paragraphs when secnumdepth is large enough or, for environments,
1024 when they are not the first in a sequence.
1026 2005-04-17 Angus Leeming <leeming@lyx.org>
1028 * buffer.C (makeLaTeXFile): replace code to manipulate a path
1029 containing space and '~' characters with a call to latex_path().
1031 2005-04-17 Angus Leeming <leeming@lyx.org>
1033 * converter.C (convert): protect all args of convertDefault.sh
1036 2005-04-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1038 * text3.C (dispatch): change the layout to "Caption" after inserting
1041 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
1043 * text3.C (dispatch): fix language problem in newly created
1044 textinsets (and main text) in non-english docs
1046 2005-04-13 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1048 * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
1049 * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
1050 * text3.C (getStatus): disable LFUN_INSET_MODIFY
1052 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
1056 * text2.C (getFont):
1057 * rowpainter.C (getFont): Fix metrics bug introduced by inset
1060 2005-04-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1062 * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
1063 output of \item arguments without trailing text.
1065 2005-04-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1067 * FontIterator.C (operator*): avoid a copy of the font.
1069 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
1071 * rowpainter.C (getFont): fix language bug from previous fix
1073 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
1075 * rowpainter.C (RowPainter, getFont): fix font inside inset
1078 2005-04-06 Martin Vermeer <martin.vermeer@hut.fi>
1080 * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
1081 preventing inserted font, deco, delim insets jumping to start of
1084 2005-03-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1086 * lyxfunc.C (dispatch): translate message before sending it to the
1089 2005-03-29 Angus Leeming <leeming@lyx.org>
1091 * lyx_main.C (priv_exec): call os::internal_path on each file passed
1092 to LyX on the command line.
1094 2005-03-25 Stephan Witt <stephan.witt@beusen.de>
1096 * vc-backend.C: use QuoteName to protect file names wherever
1099 2005-03-27 Martin Vermeer <martin.vermeer@hut.fi>
1102 * BranchList.h: fix bugs 1844,1845: document settings don't
1105 2005-03-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1107 * lyxrc.C (setDefaults, read, output, getDescription): add support
1108 for tex_allows_spaces.
1110 * exporter.C (Export): allows files in directory containing spaces
1111 if tex_allows_spaces is true.
1113 * buffer.C (makeLaTeXFile): if the document path contains spaces,
1114 output it in double quotes.
1116 2005-03-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1118 * rowpainter.C: use default text height for drawing change tracker
1121 2005-03-21 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1123 * lyx_main.C: fix binding of tabulator key (especially S-Tab).
1125 2005-03-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1127 * lyx_main.C (queryUserLyXDir): fix logic when LyX support
1128 directory is missing.
1130 2005-03-11 Martin Vermeer <martin.vermeer@hut.fi>
1132 * text2.C: fixed the fix, extended to other case.
1134 2005-03-08 Martin Vermeer <martin.vermeer@hut.fi>
1136 * text2.C: fix for cursor up/down stuck in math [bug 1792]
1138 2005-03-07 Alfredo Braunstein <abraunst@lyx.org>
1140 * text2.C (cursorUp): get rid of a crash
1141 * text.C (x2pos): add an assert
1143 2005-03-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1145 * lyxfunc.C (getStatus): fix warning when assertions are disabled
1149 * dociterator.C: include <boost/current_function.hpp>, which is
1150 needed when assertions are disabled.
1152 2005-03-05 Johnathan Burchill <jkerrb@users.sourceforge.net>
1154 * text2.C: fix for stuck cursor when traversing two
1155 consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
1157 2005-02-25 Andreas Vox <avox@arcor.de>
1159 * output_docbook.C (makeParagraph): suppress trailing newline
1160 after a run of paragraphs
1162 2005-02-28 Johnathan Burchill <jkerrb@users.sourceforge.net>
1164 * paragraph.C: fix for confused change tracker when pasting
1165 text that begins with a lineseparator. [bug 1827]
1166 (setChange(0, Change::INSERTED);)
1168 * paragraph_funcs.C: fix for lost changes on triple-paste
1169 in change tracking mode [bug 1827] (par.setChange()).
1171 2005-02-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1173 * text2.C (updateCounters, setCounter, expandLabel): move to
1176 * buffer_funcs.C (updateCounters): turn into a free standing
1177 function and add a buffer parameter. Remove dead code for tracking
1179 (setCounter): change into a free-standing function which gets a
1180 dociterator as argument. Use this iterator to fix captions in a
1181 simple way. When no float is found above the caption, use the
1182 labelstring of the caption layout as default.
1184 * text.C (breakParagraph, backspace):
1185 * text2.C (init, setLayout, changeDepth):
1186 * text3.C (dispatch):
1187 * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
1190 * dociterator.C (forwardPar): make it much faster by calling
1191 forwardPos() only when really necessary.
1193 * output_docbook.C (makeCommand): adapt to expandLabel move.
1195 * cursor.C: remove unused variable
1197 2005-02-24 Johnathan Burchill <jkerrb@users.sourceforge.net>
1199 * paragraph_funcs.C: fix crash when pasting insets in change
1200 tracking mode [bug 1277] (honour change type in moveItem).
1202 2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1204 * LaTeX.C (scanLogFile): recognize pdfTeX warnings
1206 2005-02-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1208 * BufferView.C (setCursor): change to use a DocIterator.
1209 (gotoLabel): use BufferView::setCursor (other part of bug 781).
1210 (putSelectionAt): adapt to BufferView::setCursor change.
1212 * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
1213 moved here from LyXText and rewritten to use proper cursor
1214 methods. Fixes bug 1787, 616 and 835.
1216 * BufferView_pimpl.C (restorePosition): set the cursor correctly
1217 when inside an inset (part of bug 781).
1218 (dispatch): adapt to change of BufferView::setCursor.
1219 (getStatus, dispatch): handle LFUN_GOTOERROR,
1220 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1222 * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
1223 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1224 * text3.C (gotoNextInset, gotoInset): removed.
1226 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1228 * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
1230 2005-02-15 Angus Leeming <leeming@lyx.org>
1232 * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
1233 can be used meaningfully in a comparison.
1235 2005-02-13 André Pönitz <poenitz@gmx.net>
1237 * bufferview_funcs.C (coordOffset): improve cursor drawing
1239 2005-02-13 André Pönitz <poenitz@gmx.net>
1241 * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
1242 * Cursor.C (dispatch): use fixIfBroken
1243 * lyxfunc.C (getStatus): use fixIfBroken
1245 2005-02-15 Angus Leeming <leeming@lyx.org>
1247 * lyx_main.C (error_handler):
1249 * lyxrc.C (setDefaults):
1251 #include "environment.h".
1253 * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
1255 2005-02-15 Angus Leeming <leeming@lyx.org>
1257 * lyxserver.C (startPipe): squash MSVC warning "local variable
1258 'fd' used without having been initialized".
1260 2005-02-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1262 * BufferView_pimpl.C: revert accidental commit.
1264 2005-02-14 André Pönitz <poenitz@gmx.net>
1266 * dociterator.[Ch]: new member forwardPosNoDescent(),
1267 which doesn't enter nested insets.
1268 * text2.C (setFont): use forwardPosNoDescent() instead
1269 of ForwardPos() (fixes crash on font change).
1271 2005-02-13 Angus Leeming <leeming@lyx.org>
1273 * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
1274 only if lyxrc.path_prefix is not empty.
1276 2005-02-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1278 * bufferparams.C (readGraphicsDriver): prevent crash
1280 2005-02-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1282 * text2.C (setCounter): check for inInset() == 0
1284 2005-02-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1286 * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
1287 but use update() to get correct screen display; use convert
1288 instead of istringstream.
1289 (getStatus): handle LFUN_GOTO_PARAGRAPH
1291 * lyxfunc.C (dispatch, getStatus): do not handle
1292 LFUN_GOTO_PARAGRAPH here.
1294 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1296 * text3.C (dispatch): size() -> depth()
1298 * text2.C: remove some debug output
1300 * paragraph.C: ws changes only
1302 * lyxfunc.C (getStatus): size() -> depth()
1304 * dociterator.h (clear, push_back, pop_back, internalData,
1305 operator[], resize, empty): new functions
1306 Make StableDocIterator and operator== be friends. Don't inherit
1307 from std::vector use a privat class variable slices_ instead.
1310 * dociterator.C: update because of not inheriting from std::vector
1311 anymore. Call explictly to slices_ instead. Use depth() instead of
1312 size() and top() instead of back()
1314 * cursor.C: chagne size() -> depth and back() -> top(). Also
1315 remove some direct operator[](i) calls in favour of foo[i]
1316 (getFont): remove some dead code
1318 * bufferview_funcs.C (coordOffset): size() -> depth()
1320 * buffer.C: ws changes only
1322 * CutAndPaste.C (eraseSelection): back() -> top()
1324 * BufferView_pimpl.C (selectionRequested): back() -> top()
1326 * BufferView.C (setCursor): size() -> depth()
1328 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1330 * text3.C (cursorPrevious): return true if depm changed something
1332 (dispatch): rename sl to oldTopSlice, remove moving use the new
1333 NoUpdate func attrib instead. Make sure that needsUpdate is set
1334 for function that have NoUpdate, but where depm might have changed
1337 * text2.C (cursorLeft): make us return true if depm changed
1339 (cursorRight): ditto
1340 (cursorUpParagraph): ditto
1341 (curosrDownParagraph): ditto
1342 (cursorUp, cursorDown): ditto, make sure to read comments in code
1343 (deleteEmptyParagraphMechanism): remove an assert, also return
1344 true if just a single char was deleted.
1346 * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
1347 cursor that we modify, to avoid modifying an active cursor before
1348 we call setCursor. This allows depm to run. Also return true if
1349 depm deleted something.
1351 * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
1352 cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
1353 cursorDownParagraph, cursorPrevious and cursorNext, return true if
1354 something was changed in the buffer because of them (ie. depm run)
1356 * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
1357 debug messages. Make update by default be false. Make sure that
1358 the result of update is retained throught several calls down to
1361 * LyXAction.h: add a new func_attrib: NoUpdate
1363 * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
1364 LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
1365 LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
1367 (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
1369 2005-02-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1371 * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
1372 bv_->owner(), bv_->buffer() by direct references to the private
1374 (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
1375 (getStatus): isSavedPosition() is in BufferView::Pimpl.
1376 (fitCursor): center() is in BufferView::Pimpl.
1377 (getStatus, trackChanges, dispatch): no need for a temporary buf
1379 (fitCursor, workAreaDispatch): use workarea().workheight()
1381 2005-02-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1383 * CutAndPaste.C (pasteSelectionHelper): fix a crash
1385 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1387 * buffer.C: format up to 241.
1388 * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
1389 break if pasting into ERT
1390 * lyxfunc.C (getStatus): suppress mathpanel and
1391 LFUN_DIALOG_SHOW_NEW_INSET in ERT
1393 2005-02-01 Angus Leeming <leeming@lyx.org>
1395 * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1397 2005-02-01 Angus Leeming <leeming@lyx.org>
1399 * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1400 calling fs::is_directory().
1402 2005-01-31 Angus Leeming <leeming@lyx.org>
1404 * lyx_main.C (priv_exec): specify explicitly the relative location
1405 of the top level build directory when run in-place.
1407 2005-01-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1409 * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1410 LyXText containing the cursor, not the top-level one.
1412 * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1414 (insertStringAsLines): rename par to pit; use temporary variable
1415 par to hold a Paragraph; do not store par.layout() in a variable,
1416 since the pointer may die when breaking paragraphs; pass pars to
1417 breakParagraph() instead of Buffer::paragraphs().
1419 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1421 * lyxlex_pimpl.h: #include <fstream>.
1423 * BufferView.[Ch] (getLyXText): add a const version.
1425 * BufferView_pimpl.C: add debug aids.
1430 * paragraph_funcs.h: add commentary explaining what the class does.
1433 * coordcache.[Ch]: add lots of commentary.
1434 (startUpdating, doneUpdating): debug aids.
1435 (arrays, insets, parPos, getParPos): accessors to private data.
1437 * cursor_slice.[Ch] (text): add a const version.
1438 * dociterator.[Ch] (text, innerText): add const versions.
1440 * lyxtext.h (breakParagraph): change the keep_layout arg to a
1443 * paragraph.C (getRow, pos2ros): add asserts.
1445 * paragraph.h: add commentary. Lots of.
1447 * paragraph.[Ch] (metrucs, draw): removed.
1450 * rowpainter.[Ch]: const-correct changes.
1452 * text.C: various obvious clean-ups. Removal of ancient cruft.
1455 2005-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
1457 * vc-backend.C (find_file): rewrite to use boost.filesystem
1460 * main.C (main): set default name check for boost.filesystem to
1463 * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1466 (actOnUpdatedPrefs): ditto
1468 * lyx_main.C (init): rewrite to use boost.filesystem
1469 (queryUserLyXDir): ditto
1471 * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1472 (getContentsOfAsciiFile): ditto
1474 * lastfiles.C (readFile): rewrite to use boost.filesystem
1476 * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1478 * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1479 (loadLyXFile): ditto
1481 * buffer.C (Buffer): adjust for destroydir
1482 (getLogName): rewrite to use boost.filesystem
1483 (setFileName): ditto
1484 (save): use fs::copy_file (from fs_extras)
1486 * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1488 * LaTeX.C (run): rewrite to use boost.filesystem
1489 (scanAuxFiles): ditto
1490 (handleFoundFile): ditto
1492 2005-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1494 * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1496 * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1498 2005-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1500 * lyxlayout.[Ch]: change some vars from float to double
1502 * buffer.C (readFile): make a local var const
1504 * Several files: use convert<> instead of atoi,strToXXX and friends
1506 2005-01-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1508 * LaTeXFeatures.[Ch]: Add a static list packages_ that
1509 holds the contents of packages.lst. New functions getAvailable
1510 and isAvailable to parse and check that list, resp.
1514 * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1516 * bufferparams.[Ch]: new param output_changes.
1518 * Buffer.C: increase file format to 240.
1519 Use output_changes and isVailable.
1523 * paragraph_pimpl.C: Use output_changes and isVailable.
1525 2005-01-23 Angus Leeming <leeming@lyx.org>
1527 * output_latex.C: #include "insetbibitem.h", rather than
1528 forward declare function bibitemWidest.
1530 2005-01-21 Andreas Vox <vox@isp.uni-luebeck.de>
1532 * lyx_main.C (init): make it compile on the Mac.
1534 2005-01-20 Angus Leeming <leeming@lyx.org>
1536 * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1537 (setLyXMisc): (char string literal) != (char string literal) is
1538 performing a comparison on the addresses. Convert one operand
1539 explicitly to string to guarantee expected behaviour.
1542 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1545 * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1547 * output_plaintext.C: remove unneeded #include gzstream.h.
1549 2005-01-20 Angus Leeming <leeming@lyx.org>
1551 * SpellBase.h: rename some of the elements of the Result enum.
1558 * pspell.C (check): ditto
1560 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1562 * buffer.C: add #include <fstream>.
1564 * lyx_main.C (init): Compile fix.
1566 * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1568 2005-01-20 Angus Leeming <leeming@lyx.org>
1570 * mover.h: change commentary to reflect the changed meaning of
1571 the $$s placeholder.
1573 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1575 * output_linuxdoc.C (linuxdocParagraphs): silence warning
1577 * lyxfind.C (MatchString::operator()): remove bogus semicolon
1579 2005-01-20 Angus Leeming <leeming@lyx.org>
1581 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1582 printing diagnostic data by not dereferecing an iterator past the
1585 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1587 * buffer.C (readHeader): use "&&" rather than "and".
1589 * lyxserver.h (inPipeName, outPipeName): make these const.
1591 2005-01-19 Angus Leeming <leeming@lyx.org>
1593 * lyx_main.C (error_handler, init): protect SIGHUP with
1594 #ifdef SIGHUP guards.
1596 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1598 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1600 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1602 * text.C (setHeightOfRow): add a margin at the top and bottom of
1603 the document (bug 1761)
1605 2005-01-17 Angus Leeming <leeming@lyx.org>
1607 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1608 with "python ". Workaround for a brain-dead Windows.
1610 2005-01-16 Angus Leeming <leeming@lyx.org>
1612 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1613 for MacOSX and Windows to use prependEnvPath.
1614 Strip out the hard-coded block to add elements to the PATH for
1615 MacOSX and replace it with a call to prependEnvPath using the
1616 contents of LyXRC::path_prefix.
1617 (queryUserLyXDir): strip out the code to run reconfigure, instead
1618 returning a boolean indicating the necessity to do so.
1619 (reconfigureUserLyXDir): contains the code to reconfigure the
1620 user support directory. Is now called after the various LyXRC data
1621 files have been read.
1623 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1625 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1627 * converter.[Ch] (convert): take a new parameter try_default. Use
1628 a default converter (imagemagick) if try_default is true.
1630 2005-01-13 Angus Leeming <leeming@lyx.org>
1632 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1633 os::cygwin_path_fix.
1634 (write): output LyXRC::cygwin_path_fix as necessary.
1636 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
1639 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1641 2005-01-12 Angus Leeming <leeming@lyx.org>
1643 * lyx_main.C (init): set the PATH variable to include the
1644 directory containing the LyX binary when running on Mac or Windows.
1646 2005-01-12 Angus Leeming <leeming@lyx.org>
1648 * lyx_main.C (init): remove cruft that purports to set the locale
1649 dir. It doesn't and is not needed anyway.
1651 2005-01-10 Angus Leeming <leeming@lyx.org>
1653 * Makefile.am: remove the lyx_main.C special casing.
1655 * BufferView_pimpl.C:
1661 * messages.C: use support/package.h to provide the paths to the
1662 various directories used by LyX.
1664 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1666 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1667 layout if pasting into an empty paragraph)
1669 2005-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
1671 * tex-accent.C: add <string>
1673 2005-01-06 José Matos <jamatos@lyx.org>
1675 * ParagraphParameters.C (write): put every parameter in its own line.
1676 * paragraph.C (write): reduce number of consecutive empty lines exported.
1677 * buffer.C (LYX_FORMAT): increase file format to 239.
1679 2005-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1681 * everywhere: change support/tostr.h -> support/convert.h
1683 * tabular.C: make all write_attributes templates, tostr -> convert
1685 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1686 (emptyTag): and -> &&, and fix type for ret from getChar
1687 (getFirstWord): fix type for ret from getChar
1688 (onlyText): and -> &&
1689 (simpleDocBookOnePar): and not -> && !, fix type for ret from
1692 * toc.C (goTo, action):
1693 * text3.C (dispatch):
1694 * text.C (currentState):
1695 * tex-accent.C (DoAccent):
1698 * lyxfunc.C (menuNew):
1699 * lyxfinc.C (replace):
1700 * counters.C (laberItem):
1701 * bufferview_funcs.C (font2string):
1702 * bufferparams.C (writeFile):
1703 * buffer.C (readFile):
1705 * MenuBackend.C: tostr -> convert
1707 * LaTeX.C (runMessage): fix format
1708 (scanAuxFiles): tostr -> convert
1710 * BufferView_pimpl.C (savePosition): fix format
1711 (restorePosition): ditto
1714 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1716 * Spacing.[Ch]: New method getValueAsString().
1720 * ParagraphParameters.C:
1723 * text3.C: store/read spacing value as string.
1725 * rowpainter.C: change float value (spacing_val) to double.
1727 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1728 broken custom document spacing).
1730 2005-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
1732 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1733 namespace, also more use of temp references and const
1735 * cursor.[Ch] (getStatus): move to lyxfunc.C
1737 * bufferparams.C: reformat slightly
1739 * bufferview_funcs.C (font2string): constify arg
1745 * buffer_funcs.C: (many funcs): constify arg on function
1746 definitions, also make more local vars const, also add ASSERTS on
1749 * buffer.C (LYX_FORMAT): put const in correct place
1750 (many funcs): constify arg on function definitions, also make
1751 more local vars const
1753 * aspell_local.h: remove "struct" from typdef setup
1755 * aspell.C (check): make word_ok const
1756 (nextMiss): simplify slightly
1759 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1761 * lyxrc.[Ch]: store all float values as strings.
1762 use int (not float) for lyxrc.dpi.
1764 2005-01-04 Angus Leeming <leeming@lyx.org>
1766 * lyx_cb.C (Reconfigure):
1767 * lyx_main.C (queryUserLyXDir):
1768 to run the <system_lyxdir>/configure correctly on Windows, prefix
1769 the path to the script with "sh " when generating the string that
1770 is passed to system().
1772 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1774 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1776 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1778 * lyxlength.C (asLatexString): get rid of setprecision
1780 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1782 * text2.C (setLayout): remove unused variable endpit.
1783 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1785 * paragraph.C (onlyText): remove unused variable style.
1787 * cursor.C (bruteFind): remove unused variables beg and end.
1789 * Makefile.am (dist_noinset_DATA): not needed anymore
1791 * cheaders/*: remove.
1793 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1795 * text3.C: fix LFUN_MATH_MODE.
1797 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1799 * buffer_funcs.C (countWords): new function. Counts words between
1802 * BufferView_pimpl.C (getStatus, dispatch): handle
1805 * LyXAction.C (init):
1806 * lfuns.h: add LFUN_WORDS_COUNT.
1808 2004-12-19 Angus Leeming <leeming@lyx.org>
1810 * buffer.C (save): s/slashify_path/internal_path/.
1812 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1814 * lyxfind.C (findChange): do not search for end of pars, because
1815 the change tracker cannot handle this (fixes bug 1719).
1817 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
1819 * paragraph.[Ch] (autoBreakRows): remove
1821 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1823 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1824 avoid using the paragraph one
1826 * text2.C (LyXText, insertStringAsLines): adjust
1828 2004-12-16 Angus Leeming <leeming@lyx.org>
1832 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1834 2004-12-14 Angus Leeming <leeming@lyx.org>
1836 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1838 * bufferlist.C (emergencyWrite):
1839 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1842 2004-12-14 Angus Leeming <leeming@lyx.org>
1844 * main.C: (main): no longer pass pointers to os::init.
1846 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1848 * undo.C (textUndoOrRedo): simplify logic, fix a crash
1849 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1851 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1854 * text3.C: remove selection_possible global flag
1856 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1858 * text2.C (getSelectionSpan): remove
1859 (changeDepth, changeDepthAllowed): adjust
1861 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
1863 * Makefile.am (BOOST_LIBS): use boost variables
1865 2004-12-03 José Matos <jamatos@lyx.org>
1867 * buffer.C: format up to 238.
1869 2004-12-03 José Matos <jamatos@lyx.org>
1871 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1873 2004-12-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1875 * cursor.C (goUpDown): remove call to idxUpDown2
1877 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1879 * tabular.[Ch]: use size_t-like types for cell, row and column
1882 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1884 * lyxfunc.C (getStatus): do not lose previous information when
1885 calling BufferView::getStatus; do not set a default "Command
1886 disabled" message at the beginning, but just before returning.
1888 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1890 * cursor.h (getStatus): add better comment from src/cursor.C
1892 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1894 * text3.C (getStatus): return false when the lfun is not handled
1896 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1898 * broken_headers.h: remove
1900 * Makefile.am (lyx_SOURCES): remove broken_headers.h
1902 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1904 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1905 offset_ref accessors
1907 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1908 top_y_, merge fitcursor with update
1909 (updateScrollbar, scrollDocView, fitCursor, center, update): new
1911 (metrics): introduce
1912 (workAreaDispatch): adapt to new coord scheme
1913 (redoCurrentBuffer): remove
1915 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1917 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1920 * coordcache.[Ch]: add paragraph cache and helpers
1922 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1925 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1926 (targetX, setTargetX): introduce
1928 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1929 baseline -> ascent, as the rest of lyx
1931 * lyxtext.h: remove redoParagraphs, updateParPositions,
1932 fullRebreak, redoParagraphInternal. move dist to anon namespace in
1933 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1934 have ascent/descent (ascent is ascent of first par)
1936 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1939 * paragraph.[Ch]: unify dimension handling with the rest of lyx
1941 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1943 * pariterator.C: fix infinite loop introduced in par->pit renaming
1945 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1946 in insets and LyXText, draw two off-screen paragraphs using
1947 NullPainter, and adapt to new coord scheme
1951 * text3.C: adapt lfun handlers to the new coord scheme, which
1952 means: there's only guaranteed coord information for onscreen pars
1953 plus one above and one below. This implies that one can do search
1954 from y coordinates in the range [-1,workHeight]
1956 2004-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1958 * rename a lot of InsetOld to InsetBase
1960 2004-11-25 Angus Leeming <leeming@lyx.org>
1962 * BufferView_pimpl.C:
1964 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1966 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1968 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1969 call BufferView::getStatus if LCursor::getStatus did nothing
1970 (setStatusMessage, getStatusMessage): removed.
1972 * FuncStatus.C (message): new methods. Used to provide an error
1973 message indicating why a command is disabled.
1974 (clear, |=, FuncStatus): update for message.
1976 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1978 * lyxfunc.C (dispatch): always call sendDispatchMessage
1980 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1983 * BufferView_pimpl.C:
1988 * cursor_slice.[Ch]:
1991 * paragraph_funcs.C:
1997 * undo.C: par->pit renaming
1999 2004-11-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2001 * tabular.C (cellstruct): use initialization, store a shared_ptr
2002 to insettext instead of the insettext directly, adjust to fit.
2003 (operator=): new function
2004 (swap): new function
2005 (rowstruct): use initialization
2006 (columnstruct): use initialization
2007 (ltType): use initialization
2010 * lyxlength.h (swap): new function
2012 * LColor.[Ch] (operator=): use the common semantics
2014 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2016 * lyxfind.C (findNextChange): update the bufferview after setting
2019 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2021 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
2022 number of InsetOptArgs has already been inserted.
2024 * output_latex.C (latexOptArgInsets): new method. This outputs all
2025 the optarg insets, up to the limit defined in the layout file.
2026 (optArgInset): removed
2027 (TeXOnePar): call latexOptArgInsets; correctly update texrow
2029 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2031 * paragraph.C (isLetter): remove special spellchecker-related
2032 code; return true also for digits
2033 (isWord, isKomma): remove
2035 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
2036 * lyxfind.C (MatchString()): use isLetter instead of isWord
2038 2004-11-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2040 * pariterator.h (operatir=): comment out un-implemented member
2043 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
2046 2004-11-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2048 * lyxfont.h: include LColor.h to satisfy concept checks.
2050 2004-11-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2052 * pariterator.h: add typdefs for value_type, difference_type,
2053 pointer and reference to satisfy concept checks. Also add default
2054 constructor for same reason.
2056 * pariterator.C (operator++): add post-increment operator to
2057 satisfy concept checks.
2059 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
2062 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
2064 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
2065 checks. Also rename base_type to BaseType to follow naming
2068 * FloatList.h: include Floating.h to satisfy concept checks.
2070 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2072 * lyxfunc.C (getStatus): when the origin of the request is menu or
2073 toolbar, and the LyXView does not have focus, do as if there was
2074 no buffer (bug 1720)
2076 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
2077 FuncRequest to individual entries of LFUN_SEQUENCE
2079 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2081 * output_latex.C (TeXOnePar): override runparams.moving_arg
2082 according to the needprotect value of the current paragraph (bug
2085 * paragraph.C (simpleTeXOnePar): no need to override
2086 runparams.moving_args here
2088 2004-11-14 John Spray <spray_john@users.sourceforge.net>
2090 * vspace.C: fix off-by-one-error, related to fix #1682
2092 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2094 * lengthcommon.C: a more general fix for bug 1682
2096 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
2098 * text.C (backspace): fix crash
2100 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2102 * format.[Ch] (getFormatFromFile): new method
2103 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
2105 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2107 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
2109 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2111 * lyxfunc.C (dispatch): remove the verbose argument
2112 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
2115 * kbmap.C (defkey): set the origin of func to KEYBOARD
2117 * MenuBackend.C (MenuItem):
2118 * ToolbarBackend.C (add): set the origin of func to UI
2120 * funcrequest.[Ch]: add origin member, which indicates which part
2121 of LyX requests an action
2123 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2125 * converter.C (move): don't lie in the error message
2126 * converter.h (isReachable, move): document
2128 2004-11-07 Lars Gullik Bjønnes <larsbj@gullik.net>
2130 * buffer.C: remove unused using lyx::support::atoi
2131 * paragraph_funcs.C: ditto
2133 2004-11-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2135 * bufferlist.C (exists): use bind and equal_to instead of
2138 * lyxtextclasslist.C (NumberOfClass): ditto
2140 * cursor.C (insert): use for_each instead of explicit for loop
2142 * bufferlist.C (getFileNames): use std::transform and
2143 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
2145 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
2148 * buffer.C (changeLanguage): use for_each instead of explicit for
2150 (hasParWithID): implement using getParFromID
2152 * LaTeXFeatures.C: ws change only
2154 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
2157 * BufferView_pimpl.C (trackChanges): use for_each instead of
2160 2004-11-04 André Pönitz <poenitz@gmx.net>
2163 * undo.C (textUndoOrRedo): fix crash when creating undo information.
2165 * dociterator.C (asDocIterator): use hard assert again.
2167 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2169 * lyxlength.C (asLatexString): rewrite so that it does not use
2172 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2174 * text3.C (specialChar, dispatch): make sure cursor moves to the
2175 right after inserting an inset
2177 2004-11-02 José Matos <jamatos@lyx.org>
2179 * output_docbook.C (docbook):
2180 * paragraph.C (getID):
2181 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
2182 garantee that the output is always legal.
2184 * tabular.C (docbook):
2185 * outputprams.[Ch]: remove mixed contents.
2187 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2189 * text2.C (setCounter): prevent endless loop
2191 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2193 * exporter.C (copyFile): use the mover instead of support::copy()
2194 * exporter.C (Export): pass format and latex name to copyFile()
2195 * exporter.h (addExternalFile): document
2196 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
2198 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2200 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
2202 2004-10-30 José Matos <jamatos@lyx.org>
2204 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
2205 text and no inset or font change. This allows to use CDATA
2206 sections just for the whole paragraph.
2208 2004-10-30 José Matos <jamatos@lyx.org>
2210 * paragraph.C (getFirstWord): remove unused variable.
2212 2004-10-30 José Matos <jamatos@lyx.org>
2214 * paragraph.C (getFirstWord): the content should always be escaped
2216 (simpleDocBookOnePar):
2217 * output_docbook.C (makeEnvironment): replace reference to CDATA
2220 2004-10-30 José Matos <jamatos@lyx.org>
2222 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
2224 2004-10-30 José Matos <jamatos@lyx.org>
2226 * output_docbook.C (makeParagraphs):
2227 * paragraph.[Ch] (emptyTag): for docbook and company, if the
2228 standard paragraph has only a given type of content drop the wrapper.
2230 2004-10-29 José Matos <jamatos@lyx.org>
2232 * output_docbook.C (makeEnvironment):
2234 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
2236 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
2238 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
2239 (cleanID): sanitize any id.
2241 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2243 * buffer.C, lyxlex_pimpl.C:
2244 * lyxlex_pimpl.C (setFile):
2245 s/getExtFromContents/getFormatFromContents/
2247 2004-10-28 José Matos <jamatos@lyx.org>
2249 * output_docbook.C (makeEnvironment): move id to broadest possible
2252 * sgml.C (openTag): apply substitution of <> for all attributes.
2254 2004-10-28 José Matos <jamatos@lyx.org>
2256 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2257 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2258 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
2260 * sgml.[Ch]: new version for open and closeTag for paragraph and
2261 for strings. Now they handle the ids of paragraphs.
2263 2004-10-26 Angus Leeming <leeming@lyx.org>
2265 * Makefile.am: add mover.[Ch].
2267 * converter.C (convert, move): use the new Movers to move external
2268 files to the temp directory.
2270 * lyx_main.C (init): ensure that the global system_movers data
2273 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
2276 * mover.[Ch]: new files, defining a Mover as a utility to move an
2277 external file between directories and, if necessary, manipulate this
2278 file using a helper script.
2280 2004-10-25 José Matos <jamatos@lyx.org>
2282 * output_docbook.C (makeCommand): merge two if's that tested the
2285 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2287 * sgml.C (escapeString): fix warning in a better way
2289 2004-10-25 José Matos <jamatos@lyx.org>
2291 * sgml.C (escapeString): import the require boosts header file for
2292 tie, and avoid a signed unsigned comparison.
2294 2004-10-25 José Matos <jamatos@lyx.org>
2296 * sgml.h: add #include <string>
2298 2004-10-25 José Matos <jamatos@lyx.org>
2300 * sgml.[Ch] (escapeString): new function to escape all the string.
2302 2004-10-24 José Matos <jamatos@lyx.org>
2304 * paragraph.[Ch] (getFirstWord): new function to get the first
2305 word. Useful for description.
2306 (simpleDocBookOnePar): remove depth argument, add another that
2307 says where to start the paragraph.
2309 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2310 use the new functions to fix cleanly the support for descriptions.
2312 2004-10-24 José Matos <jamatos@lyx.org>
2314 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2315 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2316 * output_linuxdoc.C (linuxdocParagraphs):
2317 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
2318 add buffer as argument.
2320 2004-10-24 José Matos <jamatos@lyx.org>
2322 * output_docbook.C (makeEnvironment, searchEnvironment): place
2323 CDATA inside paragraphs and fix scope for listitems.
2325 2004-10-24 José Matos <jamatos@lyx.org>
2327 * output_docbook.C: remove using statement for stack.
2329 2004-10-23 José Matos <jamatos@lyx.org>
2331 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
2332 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
2333 docbook. The new scheme is recursive and makes use of iterators, the
2334 same as latex export works.
2335 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
2336 directly with the paragraph contents. This code was moved up to
2337 output_docbook.C (docbookParagraphs).
2338 * sgml.C (openTag, closeTag): removed unneeded newlines.
2339 (closeEnvTags) removed.
2341 2004-10-23 André Pönitz <poenitz@gmx.net>
2343 * undo.C (textUndoOrRedo):
2344 * dociterator.C (asDocIterator): work around crash
2346 * cursor.C (getStatus): replace ASSERT by more verbose error message
2347 and manual correction of the problem. Should increase stability
2348 while providing more sensible information.
2350 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2352 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
2354 * bufferlist.C (previous, next): new methods
2357 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
2359 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
2361 * buffer.C (makeDocBookFile): add dsssl stylesheet control
2362 entities to preamble.
2364 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2366 * messages.C (Pimpl): strip off translation context information
2368 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2370 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
2371 the cursor is correct (bug 1694)
2373 2004-10-13 José Matos <jamatos@lyx.org>
2375 * output_docbook.C (docbookParagraphs): fix closing tags in the
2376 end of the document.
2378 2004-10-09 José Matos <jamatos@lyx.org>
2380 * buffer.C: format up to 237.
2381 * bufferparams.C (write): use tostr to convert booleans to strings.
2383 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
2385 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
2387 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2389 * LaTeX.C: implement use of babel language in xindy.
2391 2004-10-05 José Matos <jamatos@lyx.org>
2393 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2394 Add new translators to help reading and writing the lyx file.
2396 2004-10-05 José Matos <jamatos@lyx.org>
2398 * ParagraphParameters.C (read):
2399 * text.C (readParToken): replace nexToken by more appropriate lex
2402 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
2404 * LaTeX.C (runMakeIndex):
2405 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2406 (usually 'makeindex') configurable.
2408 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2409 with a variable rather than with a number.
2411 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2413 * output_latex.C (TeXOnePar): make sure font setting is the first
2414 thing that gets output (and the last at the end). Should fix bug
2417 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2419 * pch.h: use proper signal include
2421 * LaTeX.h: Use preferred calling of Boost.Signal
2424 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2426 * pch.h: dont include <boost/function/function0.hpp>
2428 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2430 * paragraph_pimpl.h: remove usage of ShareContainer
2432 * paragraph_pimpl.C: remove initialization of ShareContainer.
2434 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2438 * BufferView.C (putSelectionAt): change the semantics when
2439 backwards == true: now, this just swaps cursor and anchor wrt the
2442 * BufferView.h (putSelectionAt): add some documentation
2444 * lyxfind.C (findBackwards): rewrite using while(). In particular,
2445 make sure backwardChar is done at least once (to avoid getting
2447 (findNextChange): use putSelectionAt in the forward direction
2448 (operator()): use Paragraph::isWord
2450 2004-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2452 * Spacing.C (set): c_str fix
2454 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2456 * lyx_cb.C (Reconfigure): quote the name of configure script in
2457 case it contains spaces
2459 2004-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2463 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2464 (BOOST_LIBS): use top_buildir when looking for the file
2466 2004-08-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2468 * pch.h: do not use include boost/format.hpp, multiple symbols
2469 will result (gcc bug)
2472 2004-08-23 José Matos <jamatos@lyx.org>
2474 * bufferparams.C (readToken): fix reading of the author field.
2476 2004-08-20 José Matos <jamatos@lyx.org>
2478 * lyxrc.C: remove support/translator.h inclusion since it is not used.
2480 2004-08-20 José Matos <jamatos@lyx.org>
2482 * lyxlex.[Ch] (findToken): remove function.
2484 * ParagraphParameters.C (findToken):
2485 * bufferparams.C (findToken): replace call for previous function
2486 with local copy. This local function has one more argument, the
2487 read string argument.
2489 2004-08-16 José Matos <jamatos@lyx.org>
2491 * ParagraphParameters.C (write):
2492 * Spacing.C (writeFile):
2493 * bufferparams.C (writeLaTeX):
2494 * lyx_cb.C (Reconfigure):
2495 * paragraph.C (write):
2496 * tabular.C (write): remove unnecessary space at end of line.
2499 2004-08-16 José Matos <jamatos@lyx.org>
2501 * text.C (readParagraph): remove debug message.
2503 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2505 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2508 * output_plaintext.C (asciiParagraph): set depth correctly
2510 * outputparams.h: add member depth
2512 * paragraph_funcs.C (ownerPar): remove.
2514 * text2.C (setCounter): remove first_pit; comment out some
2515 non-working code that uses ownerPar
2517 * BufferView.C (getParentLanguage): remove. Not used anymore, and
2520 2004-08-16 José Matos <jamatos@lyx.org>
2522 * text.C (readParToken, readParagraph, read): report all unknown tokens.
2523 For the same level of importance use the same chanel to report problems.
2524 (read): add code to deal with \begin_body and \end_body.
2527 2004-08-15 José Matos <jamatos@lyx.org>
2529 * lyxlex.C (getString): fix comment, buffer::readBody is now
2530 buffer:readDocument.
2532 * tex-strings.C (string_papersize): Default -> default,
2533 Custom -> custom, for consistency with other options.
2535 2004-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2539 * Makefile.am: support pch
2541 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2543 * text.C (readParToken): remove the static LyXFont variable and
2544 pass it as a parameter instead. This fixes a nasty bug where an
2545 inset will be inserted with a bad font in some situations
2546 (readParagraph): adapt
2548 * text2.C (setCounter): reduce number of calls to pars_[pit]
2550 * text.C (singleWidth): add an assert, fix a test
2552 * rowpainter.C (paintText): reduce number of calls to singleWidth
2554 * paragraph.C (isHfill):
2555 (isNewline): ws only
2557 2004-08-14 André Pönitz <poenitz@gmx.net>
2562 * lyxtext.h (several functions): use a Paragraph & argument
2565 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2567 * metricsinfo.h: add a new field ltr_pos to PainterInfo
2569 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2571 * text.C (singleWidth): remove useless test
2573 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2575 * tabular.h: remove bogus comments
2577 * tabular.C (getDescentOfRow):
2578 (isPartOfMultiColumn): add assertions
2580 * lyxlength.C (inPixels): remove #warning
2582 2004-08-14 André Pönitz <poenitz@gmx.net>
2584 * paragraph.h: inline getChar()
2586 * BufferView.h: remove unused declarations
2588 2004-08-14 José Matos <jamatos@lyx.org>
2590 * Buffer.[Ch] (readDocument): new name for old readBody.
2591 * Buffer.C: new file format, new keywords: \begin_document,
2592 \begin_header, \begin_body, \end_body.
2594 * bufferparams.C (readToken): replace all calls to lex.nextToken
2595 by lex.next(). Do the same to eatLine except where really needed.
2597 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2598 line when writing to the lyx file.
2600 * output_plaintext.C (asciiParagraph): fix Bibliography style
2603 * text.C (read): fix end of file handling.
2605 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2607 * MenuBackend.C (Menu::operator[]): new method to access
2608 individual menu items
2609 (Menu::hasFunc): new method. search for an item that corresponds
2611 (MenuBackend::specialMenu): new method
2612 (MenuBackend::expand): if a special menu has been set, skip
2613 entries whose func() appears in this menu
2615 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2617 * text3.C: use Debug::DEBUG a bit more
2619 * text.C (leftMargin): try to simplify a tiny bit change var x to
2620 l_margin. Dont output the wide margins always.
2621 (rightMargin): no margin in inner texts
2623 * rowpainter.h (nestMargin): new func
2624 (changebarMargin): new func
2625 (rightMargin): new func
2627 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2631 * factory.C (createInset): modify setDrawFrame
2633 * cursor.C: use Debug::DEBUG a bit more
2635 2004-08-14 André Pönitz <poenitz@gmx.net>
2638 * Makefile.am: new files to accomodate an 'external' (x,y)-position
2639 cache for all insets in (at least partially) visible (top-level)
2642 * BufferView_pimpl.C: reset external coord cache before every update.
2643 This means the coord cache only contains valid entries.
2645 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2648 * BufferView_pimpl.C (getInsetByCode): move function out of class
2649 and change in to a template in anon namespace. Also fix to do what
2652 2004-08-13 Lars Gullik Bjønnes <larsbj@lyx.org>
2655 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2657 (breakParagraph): rename par to par_offset and use a local
2658 reference. Add code to keep the language over a rebreak.
2659 (breakParagraphConservative): rename par to par_offset, use a
2661 (mergeParagraph): ditto
2663 (isFirstInSequence): ditto
2664 (outerFont): rename pit to par_offset
2666 * paragraph.C: ws change
2667 * paragraph.h: ditto
2671 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2673 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2676 * paragraph.C (simpleTeXOnePar): when we have a \item with
2677 optional argument, enclose the argument with curly brackets (in
2678 case it contains a closing square bracket)
2682 * text3.C (checkInsetHit): constify
2684 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2686 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2687 documents (bug 1629)
2689 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2691 Fix toggling of collapsable insets with the mouse (bug 1558)
2693 * lyxfunc.C (dispatch): adapt to LCursor changes
2695 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2696 make sure that dispatch is not invoked twice
2698 * cursor.C (needsUpdate): new method
2699 (dispatch): return void
2700 (result): new method, to access the DispatchResult of the cursor.
2702 2004-08-13 José Matos <jamatos@lyx.org>
2704 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2706 2004-08-13 André Pönitz <poenitz@gmx.net>
2708 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2710 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2713 2004-08-12 André Pönitz <poenitz@gmx.net>
2715 * text3.C: take out the 'cursor right' form insertInset and only
2716 do it in those places when it is really needed. Fixes crash on
2719 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2721 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2723 * BufferView_pimpl.C (setBuffer): initialize the current font of
2724 the underlying LyXText
2726 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2728 * kbsequence.C (print): use UI native formatting for menu
2731 * text.C (insertChar): call Paragraph::insertChar with a font
2734 * paragraph.C (insertInset, insertChar): the version that takes a
2735 LyXFont argument is now a wrapper around the other one (the
2736 opposite used to be true).
2738 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2739 argument. Font setting is done in Paragraph now.
2741 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2743 * outputparams.h: add new members intitle and lang.
2745 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2746 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2748 2004-08-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2750 * text3.C (dispatch): remove special handling of button 4 and 5,
2751 it is now taken care of in the frontend code.
2753 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2755 * Spacing.h: add <string> (STLPort compile fix)
2757 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2759 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2761 2004-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2763 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2766 * converter.C (showMessage): inherit from unary_function, make
2769 * buffer.C (writeFile): initialize retval
2771 * InsetList.h: rename private variable list to list_
2772 * InsetList.[Ch]: adjust accordingly.
2774 2004-07-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2776 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2777 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2778 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2779 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2780 * ParagraphParameters.C, LaTeXFeatures.C: replace
2781 "support/std_sstream.h" with <sstream>
2783 2004-07-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2785 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2786 * lyxsocket.C (LyXServerSocket): ditto
2787 (serverCallback): ditto
2789 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2791 * LaTeXFeatures.C: check release date when loading jurabib.
2793 2004-07-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2795 * lyxserver.C (startPipe): call register_socket_callback
2796 (endPipe): call unregister_socket_callback
2798 2004-07-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2800 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2801 (LyXServerSocket): register the callback
2802 (LyXServerSocket): unregister the callback
2803 (fd): delete function
2804 (serverCallback): improve error checking and setup the callbacks.
2805 (dataCallback): change arg to fd.
2806 (writeln): new func (copied fro the client socket) used for server
2808 (LyXDataSocket): simplify
2809 (~LyXDataSocket): close ann unregiser callback
2810 (server): delete function
2811 (fd): delete function
2812 (readln): small changes, improve some std::string usage
2813 (writeln): constify a bit
2815 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2817 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2820 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2822 * BufferView_pimpl.C (setBuffer): set the layout combox value only
2823 after it has been populated
2825 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2827 * text2.C (insertInset): move cursor when inserting inset.
2829 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2831 * kbmap.C (findbindings): a couple of new methods. returns a
2832 container of kb_sequence objects. The real work is done by the
2833 private recursive version
2834 (printbindings): uses findbindings to print out a bracketed list
2835 of bindings (renamed from findbinding).
2837 * MenuBackend.C (binding): use kb_keymap::findbindings
2839 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2841 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2843 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2845 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2847 * paragraph.C (isWord): return true on insets that report
2850 * text.C (getWord): use Paragraph::isWord to decide what is in a
2851 word and what is not; fix bug 1609.
2853 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2855 * tex-strings.C: add "none" to string_paperpackages[], fixes
2856 off-by-one-error in the paperpackage selection.
2859 * tex-strings.[Ch]: char const * string[n]
2860 -> char const * const string[]
2862 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2864 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2865 command, return early.
2867 2004-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
2869 * debug.h: add DEBUG to enum and fix size of ANY.
2871 * debug.C: add support for Debug::DEBUG
2872 (showTags): cast errorTags.level to unsigned int
2874 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2875 (redoCurrentBuffer): ditto
2876 (updateScrollbar): ditto
2877 * cursor.C (dispatch): ditto
2878 * text2.C (setLayout): ditto
2880 (updateCounters): ditto
2882 (deleteEmptyParagraphMechanism): ditto
2884 2004-06-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2886 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2887 annotations to cleanup the Makefile slightly.
2889 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2891 * lyxrc.C: do not set user_email to a default value but use empty
2892 instead. The entry used to be translated, which does not work
2893 since at the point where lyxrc is constructed there is no
2894 translation service available
2896 * messages.C (getLocaleDir): remove and use directly
2897 lyx_localedir() instead
2899 2004-06-02 Angus Leeming <leeming@lyx.org>
2901 Fix crash caused by dereferencing null pointer 'exportdata' in
2902 OutputParams by creating a new ExportData variable on the heap,
2903 storing it in a boost::shared_ptr.
2904 The crash was triggered when generating an Instant Preview
2905 of an external inset.
2907 * Makefile.am: add outputparams.C
2909 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2910 (c-tor): allocate memory to it.
2912 * exporter.C (c-tor): associated changes.
2914 2004-06-01 Angus Leeming <leeming@lyx.org>
2916 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2917 contains data before calling isInset(0). (Bug 1513.)
2919 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2921 * exporter.C (checkOverwrite): new method
2922 * exporter.C (copyFile): new method
2923 * exporter.C (Export): copy referenced files to the document dir
2924 * exporter.[Ch]: new class ExportedFile
2925 * exporter.[Ch]: new class ExportData. Contains currently the
2926 names of referenced external files
2927 * outputparams.h: add exportdata member.
2929 2004-05-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2931 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2934 2004-05-19 Angus Leeming <leeming@lyx.org>
2939 * lyxfunc.C: small changes due to the introduction of namespace
2940 lyx::frontend and the moving of namespace biblio to lyx::biblio.
2942 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
2944 * text3.C (dispatch): supress update when only moving the cursor
2945 * cursor.C (selHandle): remove commented code
2947 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2949 * paragraph.C (startTeXParParams): correct column count
2950 * CutAndPaste.C (pasteSelection): remove const_cast
2951 * output_docbook.C (docbookParagraphs): remove const_cast
2952 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2953 const_cast and return ParagraphList::const_iterator
2954 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2955 * output_plaintext.C (writeFileAscii): remove const_cast
2956 * paragraph.[Ch] (simpleTeXOnePar): make const
2957 * paragraph_funcs.C (outerPar): use const iterators
2958 * paragraph_pimpl.C (validate): use const iterators
2959 * text.C (setHeightOfRow): use const iterators
2961 2004-05-17 Angus Leeming <leeming@lyx.org>
2964 * LyXAction.C (init): new LFUN_INSET_REFRESH.
2966 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2967 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2968 if the citation engine has changed.
2970 2004-05-14 José Matos <jamatos@lyx.org>
2972 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2973 if the textclass does not provide it. Have it different for sgml and
2975 support the language of document.
2976 * output_docbook.C (docbookParagraphs):
2977 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2978 first anchor as the id of the paragraph, remove special case code.
2979 * sgml.C (escapeChar): escape only < & >.
2981 2004-05-14 Angus Leeming <leeming@lyx.org>
2983 * bufferparams.h: move biblio::CiteEngine enum here to minimize
2984 dependencies on src/frontends/controllers/biblio.h. Define a
2985 CiteEngine_enum wrapper class to enable the enum to be forward
2988 2004-05-12 Angus Leeming <leeming@lyx.org>
2990 * buffer.C: up LYX_FORMAT to 234.
2991 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2992 use_numerical_citations with a single biblio::CiteEngine cite_engine
2994 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2996 2004-05-13 José Matos <jamatos@lyx.org>
2999 * converter.C (Converter, readFlags): add xml member.
3000 * outputparams.h: add XML flavor.
3001 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
3003 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3005 * lyxfunc.C (dispatch):
3006 (getStatus): fix handling of LFUN_SEQUENCE
3008 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3010 * debug.C (showLevel): do not forget the end-of-line marker
3012 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3014 * kbmap.C (read): do not stop parsing a bind file when an error
3017 2004-04-29 Angus Leeming <leeming@lyx.org>
3022 * text2.C: wrap a bunch of #warning statements
3023 inside #ifdef WITH_WARNINGS blocks.
3025 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3027 * buffer.C: increment format to 233.
3029 2004-04-28 Angus Leeming <leeming@lyx.org>
3031 * BufferView_pimpl.C:
3034 s/updateToolbar()/updateToolbars()/
3035 s/Toolbar.h/Toolbars.h/
3037 2004-04-28 Angus Leeming <leeming@lyx.org>
3039 * BufferView.[Ch] (c-tor):
3040 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
3041 No longer passes these data to the WorkArea generator.
3043 2004-04-28 Angus Leeming <leeming@lyx.org>
3045 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
3047 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3049 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
3051 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3053 * output_latex.C (TeXEnvironment): make sure that there is a line
3054 break before \end{foo} for the last paragraph of a document
3055 (TeXOnePar): if the paragraph is at the end of the document (or
3056 inset) and the language has to be reset, then make sure that the
3057 line break is _before_ the language command, not after (fixes bug
3058 1225); also make sure that the language reset command is the first
3059 thing after the paragraph (to ensure proper nesting of
3060 environments and thus fix bug 1404)
3062 2004-04-21 John Levon <levon@movementarian.org>
3065 * ToolbarBackend.C: make "name" be a programmatic name
3066 and a gui_name field.
3068 * lyxfunc.C: display the minibuffer on M-x
3070 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3072 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
3075 2004-04-19 Angus Leeming <leeming@lyx.org>
3077 * BufferView_pimpl.C (setBuffer): changed preview interface.
3079 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
3082 2004-04-19 John Levon <levon@movementarian.org>
3084 * BufferView_pimpl.C:
3085 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
3087 2004-04-05 Angus Leeming <leeming@lyx.org>
3089 * text.C (redoParagraphs): add call to updateCounters(), thereby
3090 fixing the missing "Figure #:" label from the caption of a
3093 2004-04-13 Angus Leeming <leeming@lyx.org>
3095 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
3096 cursor is clicked out of an inset.
3098 2004-04-13 Angus Leeming <leeming@lyx.org>
3100 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
3101 than an InsetOld one.
3103 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3105 * format.[Ch]: add editor to Format
3106 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
3107 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
3109 2004-04-08 André Pönitz <poenitz@gmx.net>
3111 * metricsinfo.h: remove PainterInfo::width member
3113 2004-04-08 Angus Leeming <leeming@lyx.org>
3115 * lyx_sty.C (boldsymbol_def): modify so that it outputs
3116 "\providecommand" rather than "\newcommand", thereby preventing
3117 clashes with packages that define "\boldsymbol" themselves.
3120 2004-04-08 Angus Leeming <leeming@lyx.org>
3122 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
3123 thereby squashing an unnecessary warning.
3125 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3127 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
3130 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
3132 * BufferView.C (setCursor): call redoParagraph (some insets could
3134 (putSelectionAt): remove the 'double update' trick
3136 * BufferView_pimpl.C (fitCursor): call refreshPar
3137 (workAreaDispatch): remove an uneeded update call
3138 (dispatch): remove some manual update calls
3140 * cursor.[Ch]: remove cached_y_, updatePos
3141 (selHandle): set noUpdate when appropriate
3143 * lyxfunc.C (dispatch): track if we need an update
3145 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
3147 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
3148 (paintSelection): cheap optimization, do not call cursorX when not
3150 (paintPars): change signature
3153 (paintTextInset): adjust
3157 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3159 * lengthcommon.C: compilation fix: remove explicit array size from
3160 unit_name[] and friends
3162 2004-04-05 Angus Leeming <leeming@lyx.org>
3164 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
3166 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
3167 present only for the preferences dialog.
3168 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
3170 2004-04-05 Angus Leeming <leeming@lyx.org>
3172 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
3173 to enable the frontends to export changes to lyxrc correctly.
3175 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
3177 2004-04-07 André Pönitz <poenitz@gmx.net>
3179 * cursor.[Ch] (selClear, adjust): remove math
3181 * cursor_slice.C: more agressive assert
3184 * BufferView_pimpl.C: rework mouse event dispatch
3191 2004-04-05 André Pönitz <poenitz@gmx.net>
3193 * cursor.[Ch] (valign, halign...): remove unneeded functions
3195 2004-04-05 Angus Leeming <leeming@lyx.org>
3197 * lyxlength.[Ch] (unit_name et al.): const-correct.
3199 2004-04-05 Angus Leeming <leeming@lyx.org>
3201 * BufferView_pimpl.C:
3210 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
3212 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3214 * text3.C (getStatus): add LFUN_BEGINNINGBUF
3216 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3218 * lyxfind.C: add a couple of inTexted() tests + other small fixes
3219 * BufferView_pimpl.[Ch] (getStatus)
3220 * BufferView.[Ch] (getStatus): add
3221 * lyxfunc.C (getStatus): move lfuns handled in
3222 BufferView::dispatch to te function above
3223 * Cursor.C (setSelection): set selection() = true
3225 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3227 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
3229 2004-03-31 Angus Leeming <leeming@lyx.org>
3231 * lyxfunc.C (dispatch): Fall through to the generic
3232 Dialogs::show("preamble").
3234 2004-03-31 Angus Leeming <leeming@lyx.org>
3236 * lyxfunc.C (dispatch): Fall through to the generic
3237 Dialogs::show("spellchecker").
3239 2004-03-31 Angus Leeming <leeming@lyx.org>
3241 * lyxfunc.C (getStatus, dispatch): changed invocation of the
3244 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
3249 * insetiterator.[Ch]:
3254 * undo.[Ch]: s/DocumentIterator/DocIterator/g
3256 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
3258 * BufferView.C (setCursor, putSelectionAt): call edit to open the
3259 insets where we are putting the cursor.
3261 2004-03-31 Angus Leeming <leeming@lyx.org>
3264 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
3266 * lyxrc.[Ch] (read, write): overloaded member functions taking
3267 a std::[io]stream arguments.
3269 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
3271 2004-03-31 Angus Leeming <leeming@lyx.org>
3273 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
3274 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
3276 * lyxtextclass.C (load): if the text class couldn't be loaded, then
3277 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
3279 2004-03-31 Angus Leeming <leeming@lyx.org>
3281 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
3282 the LFUN_ALL_INSETS_TOGGLE code.
3284 2004-03-30 Angus Leeming <leeming@lyx.org>
3286 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
3287 has died. Fall through to the generic Dialogs::show("document").
3289 2004-03-30 Angus Leeming <leeming@lyx.org>
3292 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
3293 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
3295 * lyxfunc.C (getStatus, dispatch): define the actions for these
3296 lfuns. Little more than a cut and pste job from ControlDocument.C
3298 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
3300 2004-03-30 Angus Leeming <leeming@lyx.org>
3303 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
3304 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
3306 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
3307 open/closed state of ollapsable insets. Usage:
3309 all-inset-toggle <state> <name>, where
3310 <state> == "open" || "closed" || "toggle" and
3311 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
3313 * lyxtext.h, text2.C (toggleInset): removed.
3315 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
3316 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
3317 now passes LFUN_INSET_TOGGLE to the found inset.
3319 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
3320 is now invoked as "all-insets-toggle toggle branch".
3322 2004-03-30 Angus Leeming <leeming@lyx.org>
3326 * pariterator.[Ch]: added/corrected header blurb.
3328 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
3330 * dociterator.[Ch]: add an inset_ member
3331 (backwardPos): implemented
3332 (backwardPos, forwardPos): use inset_ when the stack is empty.
3333 (doc_iterator_begin, doc_iterator_end): implemented
3334 * pariterator.[Ch]: adjust, add begin, end
3335 * insetiterator.[Ch]: adjust, add begin, end
3339 * BufferView_pimpl.C:
3340 * CutAndPaste.C: adjust
3342 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3344 * buffer.C: increment file format to 232.
3345 * LaTeXFeatures.C: add bibtopic package.
3346 * bufferparams.[Ch]: param \use_bibtopic.
3348 * lyxrc.[Ch]: add lyxrc bibtex_command
3349 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
3351 * buffer.C: increment file format to 231.
3353 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
3355 * dociterator.C: implement forwardPar
3356 * iterators.[Ch]: remove, replaced by
3357 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
3359 * BufferView_pimpl.C:
3362 * bufferview_funcs.C:
3368 * Makefile.am: adjust
3370 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
3372 * CutAndPaste.C (pasteSelection): fix 2 crashes
3373 (eraseSelection): fix a crash
3374 * paragraph_funcs.C: remove a warning
3376 2004-03-28 Angus Leeming <leeming@lyx.org>
3379 * LyXAction.C (init): new LFUN_PRINT.
3381 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
3383 2004-03-27 Angus Leeming <leeming@lyx.org>
3386 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
3388 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
3390 2004-03-27 Angus Leeming <leeming@lyx.org>
3392 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
3393 insetlist always contains non-null pointers to insets.
3395 2004-03-26 Angus Leeming <leeming@lyx.org>
3397 * src/BufferView_pimpl.C:
3398 * src/CutAndPaste.C:
3401 * src/output_plaintext.C:
3402 * src/outputparams.h:
3403 * src/paragraph_funcs.C:
3407 * src/frontends/controllers/ControlErrorList.C:
3408 * src/frontends/gtk/FileDialogPrivate.C:
3409 * src/frontends/gtk/GPainter.C:
3410 * src/frontends/gtk/GToolbar.C:
3411 * src/frontends/qt2/QRef.C:
3412 * src/mathed/math_scriptinset.C: squash compiler warnings.
3414 2004-03-26 Angus Leeming <leeming@lyx.org>
3416 * ispell.C (LaunchIspell::start):
3417 * lyx_cb.C (AutoSaveBuffer::start):
3418 invoke run(DontWait) rather than runNonBlocking().
3420 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
3422 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3424 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3426 * kbsequence.C (print): adjust
3428 * kbmap.C (printKeySym): rename and change signature
3429 (printKey): use LyXKeySym::print()
3431 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
3433 * undo.C: add using std::advance to compile for stlport
3435 2004-03-24 Angus Leeming <leeming@lyx.org>
3437 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3438 it leads to a crash when no buffer is present.
3440 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3441 Martin Vermeer <martin.vermeer@hut.fi>
3443 * lyxfunc.C (dispatch):
3444 * bufferparams.C (readToken): use the new LColor::setColor
3446 * LColor.[Ch] (setColor): new version that takes two strings as
3447 argument and creates a new color entry if necessary
3449 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3451 * buffer.C (makeLaTeXFile): if the main latex file that is
3452 processed is usually a subdocument of some master, then pretend
3453 for a while that it is actually the master
3455 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3457 * buffer.C (getLabelList):
3458 (getBibkeyList): use getMasterBuffer()
3459 (getMasterBuffer): new method. Returns the main document in the
3460 case where one is using included documents.
3462 2004-03-25 André Pönitz <poenitz@gmx.net>
3466 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3468 * ParagraphList_fwd.h: change ParagraphList to a std::vector
3470 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3471 text*.C over here. Rename namespace CutAndPaste to lyx::cap
3473 * ParameterStruct.h: merge with ParagraphParameters
3475 * lyxtext.h: remove LyXText::parOffset() and getPar()
3477 * text3.C: Remove all 'manual' update calls. We do now one per user
3478 interaction which is completely sufficient.
3482 * BufferView_pimpl.C:
3483 * FontIterator.[Ch]:
3485 * ParagraphParameters.[Ch]:
3490 * cursor_slice.[Ch]:
3497 * output_docbook.[Ch]:
3498 * output_latex.[Ch]:
3499 * output_linuxdoc.[Ch]:
3500 * output_plaintext.[Ch]:
3502 * paragraph_funcs.[Ch]:
3503 * paragraph_pimpl.[Ch]:
3511 * frontends/controllers/ControlDocument.C:
3512 * frontends/controllers/ControlErrorList.C:
3513 * frontends/controllers/ControlSpellchecker.C:
3516 * insets/insetbase.h:
3517 * insets/insetbibitem.C:
3518 * insets/insetbox.C:
3519 * insets/insetbranch.C:
3520 * insets/insetcaption.C:
3521 * insets/insetcharstyle.C:
3522 * insets/insetcharstyle.h:
3523 * insets/insetcollapsable.C:
3524 * insets/insetcollapsable.h:
3525 * insets/insetert.C:
3526 * insets/insetfloat.C:
3527 * insets/insetfoot.C:
3528 * insets/insetmarginal.C:
3529 * insets/insetnote.C:
3530 * insets/insetoptarg.C:
3531 * insets/insettabular.C:
3532 * insets/insettext.C:
3533 * insets/insettext.h:
3534 * insets/insetwrap.C:
3535 * mathed/math_mboxinset.C:
3536 * mathed/math_nestinset.C:
3537 * mathed/math_scriptinset.C:
3538 * mathed/math_scriptinset.h:
3541 2004-03-24 Angus Leeming <leeming@lyx.org>
3543 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3544 deal with any child processes that have finished but are waiting to
3545 communicate this fact to the rest of LyX.
3547 2004-03-24 Angus Leeming <leeming@lyx.org>
3549 64-bit compile fixes.
3551 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3552 (c-tor): pass lyx::pos_types rather than ints.
3554 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3557 * text.C (Delete): compile fix.
3558 (getPar): ensure that function declaration is the same as that in
3561 2004-03-23 Angus Leeming <leeming@lyx.org>
3563 * ispell.C (LaunchIspell):
3564 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3565 a boost::shred_ptr rather than a std::auto_ptr.
3567 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3569 * lyxfunc.C (getStatus): handle read-only buffers correctly;
3570 handle LFUN_FILE_INSERT_*
3572 * lyxrc.C (setDefaults, getDescription, output, read):
3573 * lyxrc.h: remove ps_command
3575 2004-03-22 Angus Leeming <leeming@lyx.org>
3577 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3578 Ensure that error_handler is processed once only and that all data
3579 is saved before attempting to output any warning messages.
3581 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3583 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
3585 * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3587 2004-03-19 André Pönitz <poenitz@gmx.net>
3589 * cursor.[Ch] (reset): take main text inset as argument
3591 * BufferView: adjust
3592 * BufferView_pimpl.C: adjust
3594 * paragraph.[Ch]: fix completely broken operator=()
3596 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3598 * LColor.C (getFromLyXName): make sure that the color name is used
3601 2004-03-17 Angus Leeming <leeming@lyx.org>
3604 * LyXAction.C (init): remove LFUN_FORKS_KILL.
3606 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3607 dialog and to kill a forked process.
3609 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3611 * text2.C (setCursorFromCoordinates): fix font problem
3613 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3615 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3616 bogus "rebuild cursor" code
3618 2004-03-11 André Pönitz <poenitz@gmx.net>
3620 * buffer.[Ch]: use InsetText instead of LyXText as container for
3623 * dociterator.[Ch]: drop the BufferView * member which is not needed
3624 anymore after the change to buffer.C
3626 * paragraph_funcs.C:
3630 * BufferView_pimpl.[Ch]:
3632 * cursor_slice.[Ch]: adjust
3634 * text3.C: fix bug in mathDispatch
3636 2004-03-08 André Pönitz <poenitz@gmx.net>
3638 * undo.[Ch]: use 'StableDocumentIterator' as base for
3641 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3644 * bufferparams.[Ch]: add jurabib support and param.
3646 * LaTeX.C: add FIXME/comment.
3648 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3650 * buffer.C: increment file format to 230.
3652 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
3654 * cursor.C (dispatch): avoid infinite loops
3656 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3658 * rowpainter.C (paintSelection): fix x coordinates
3660 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3662 * text.C (rowBreakPoint): fix breaking before displayed insets
3664 2004-03-01 André Pönitz <poenitz@gmx.net>
3666 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3668 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3672 * BufferView_pimpl.C:
3680 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3686 * BufferView_pimpl.C: rename textwidth -> maxwidth,
3687 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3689 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3691 * Bidi.[Ch] (computeTables): const correctness
3692 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3693 fill_hfill, fill_label_hfill and x from Row
3694 * lyxtext.h: prepareToPrint returns a RowMetrics
3695 * rowPainter.C: adjust
3696 * text.C (prepareToPrint): use width, not textWidth. adjust
3697 (redoParagraphInternal, cursorX): adjust
3698 * text2.C (getColumnNearX): adjust
3699 (init): put a default value to the top LyXText::width
3701 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3703 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3705 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3707 * lyxtext.h: add FontIterator class
3709 * text.C (FontIterator, operator*, operator->, operator++): add
3710 (rowBreakPoint, setRowWidth): adjust (fixing a
3713 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3715 * BufferView_pimpl.C (workAreaDispatch): allow also
3716 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3718 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
3720 * text.C (rowBreakPoint): fix a bug showing with very large insets
3722 2004-02-25 André Pönitz <poenitz@gmx.net>
3725 * cursor.[Ch]: move some mathed specific code to mathed
3727 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3729 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3730 use_tempdir in preferences
3731 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3733 * lyx_main.C: ensure that tempdir is valid
3734 * lyxlex.h: correct typo
3735 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3736 * paragraph.[Ch] (isMultiLingual): make const
3737 * cursor.[Ch] (openable): make const
3739 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3741 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3743 2004-02-20 André Pönitz <poenitz@gmx.net>
3745 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3747 * cursor.[Ch]: prepare for localized getStatus()
3753 * text3.C: streamlines the LyXText cursor movement handlers a bit.
3755 2004-02-20 André Pönitz <poenitz@gmx.net>
3757 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3759 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3761 * text2.C (setCursorFromCoordinates): switch to absolute coords
3763 (cursorDown): adjust
3764 * text3.C (dispatch): adjust
3766 2004-02-16 André Pönitz <poenitz@gmx.net>
3768 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3771 * cursor_slice.[Ch]: remove unneeded acessor function
3773 * lyxtext.h: rename rtl() to isRTL()
3781 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3783 * rowpainter.C (paintSelection): coord fix
3785 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3787 * Spacing.C: compile fix
3789 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3791 * cursor.C (dispatch): restore current_ before returning
3793 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3795 * text2.C (cursorUp, cursorDown): fix coords
3798 2004-02-12 André Pönitz <poenitz@gmx.net>
3803 * text3.C: add LCursor & parameter to most cursor movement functions
3804 remove usage of LyXText::cursorRow() and cursorPar()
3806 * cursor.[Ch]: add textRow() needed members
3809 * BufferView_pimpl.C:
3812 * BufferView_pimpl.C: adjust
3814 2004-02-11 André Pönitz <poenitz@gmx.net>
3818 * BufferView_pimpl.C: shift undo/redo handling
3820 * cursor.[Ch]: fix mathed crash
3823 * lyxtext.h: move selectionAsText to LCursor
3831 * rowpainter.C: fix excessive drawing
3833 2004-02-06 André Pönitz <poenitz@gmx.net>
3836 * BufferView_pimpl.[Ch]:
3837 * text3.C: move some text specific LFUN handling
3839 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
3841 * text3.C (checkInsetHit): adjust coords
3842 * text2.C (getColumnNearX): adjust coords
3843 (edit): adjust coords
3844 * text.C (getRowNearY): add two asserts
3846 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
3849 * format.C: add using std::distance to compile on gcc 2.95/stlport
3851 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
3853 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3855 2004-02-04 André Pönitz <poenitz@gmx.net>
3857 * BufferView.[Ch] (insertInset):
3858 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3863 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3865 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3866 on the default clause of the switch
3867 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3868 wasn't catched by LCursor::dispatch
3870 2004-02-03 André Pönitz <poenitz@gmx.net>
3873 * cursor.[Ch]: some additional asserts
3875 * undo.[Ch]: remove LyXText dependency in interface
3879 * lyxtext.h (firstPar, lastPar): remove dead functions
3884 * paragraph.[Ch]: adjust
3886 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3888 * lyxfind.C (find): fix argument order in call to ::find
3890 2004-02-02 André Pönitz <poenitz@gmx.net>
3892 * cursor.[Ch]: remove direct access to anchor
3894 * text.C: remove findText() hack
3896 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3898 * iterators.[Ch] (lockPath): remove in favour of...
3899 * BufferView.[Ch] (setCursor): this addition
3900 * BufferView.C (putSelectionAt): adjust
3901 * undo.C (performUndoOrRedo): adjust
3902 * lyxfunc.C (dispatch): adjust
3904 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3906 * iterators.C (lockPath): add a missing slice
3907 * undo.C (performUndoOrRedo): remove redundant positioning code
3909 2004-02-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3911 * vc-backend.C (scanMaster): ";" -> ';'
3913 2004-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
3915 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3916 std::binary_function
3918 * lyxtextclass.C (compare_name): rename to...
3919 (LayoutNamesEqual): ...this
3921 * lyxlex_pimpl.C (compare_tags): inherit from
3922 std::binary_function, put back into anon namespace
3924 * lyxfind.C (MatchString): inherig from std::binary_function
3925 (findChange): use empty() istead of !size()
3927 * format.C (FormatNamesEqual): new functor
3934 * converter.C (compare_Converter): rename to...
3935 (ConverterEqual): ...this, and fixup a bit.
3936 (getConverter): use it, and make function const
3937 (getNumber): use it, and make function const
3941 * bufferlist.C: add using boost::bind
3943 * MenuBackend.C (MenuNamesEqual): new functor
3944 (hasMenu): use it, and make function const
3945 (hasSubmenu): use nested bind to get rid of compare_memfun.
3947 2004-01-30 André Pönitz <poenitz@gmx.net>
3949 * BufferView_pimpl.C:
3952 * cursor_slice.[Ch]:
3955 * paragraph_funcs.C:
3956 * paragraph_funcs.h:
3960 * text3.C: move some of the edit(x,y) handling to the insets
3961 some coordinate changes.
3963 2004-01-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3965 * text.C: add using statements for std::advance and std::distance
3967 * paragraph.C: add using statement for std::distance
3969 * lyxfind.C: add using statement for std::advance
3971 * cursor.C (region): remove std:: from swap
3972 (openable): use nucleus in stead of operator->
3974 * BufferView.C: add using statements for std::distance and std::swap
3976 2004-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3978 * iterators.C: Remove the pimple, move the needed structures to
3979 the header file. Create accessor for the positions stack.
3980 (asPosIterator): remove function
3982 * PosIterator.C (PosIterator): move constructors to top of file
3983 (PosIterator): reimplement the constructor taking a ParIterator in
3985 (setFrom): new function
3986 (operator!=): inline it
3988 2004-01-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3990 * lyxfind.C (replaceAll): use std::advance
3992 * iterators.h: inherit from std::iterator.
3994 * PosIterator.C (advance, distance): remove
3995 * PosIterator.h: interit from std::iterator.
3997 2004-01-26 André Pönitz <poenitz@gmx.net>
4000 * BufferView_pimpl.[Ch]:
4004 * bufferview_funcs.C:
4014 * output_linuxdoc.C:
4015 * output_plaintext.C:
4017 * paragraph_funcs.[Ch]:
4018 * paragraph_pimpl.[Ch]:
4024 * text3.C: more IU: dumps most of the rest of the mathcursor
4025 implementation into cursor.[Ch]; "globalize" a bit of it.
4027 2004-01-25 Angus Leeming <leeming@lyx.org>
4029 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
4031 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4033 * LaTeXFeatures.h: add nice_ and nice() const
4034 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
4036 2004-01-20 André Pönitz <poenitz@gmx.net>
4039 * BufferView_pimpl.C:
4041 * bufferview_funcs.C:
4043 * cursor_slice.[Ch]:
4054 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
4055 LCursor and mathcursor parts to LCursor and InsetBase.
4057 2004-01-15 André Pönitz <poenitz@gmx.net>
4059 * cursor_slice.[Ch]: add a few covienience functions
4061 * funcrequest.[Ch]: remove BufferView * member
4063 * BufferView_pimpl.C:
4070 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
4072 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
4074 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
4075 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
4077 2004-01-13 André Pönitz <poenitz@gmx.net>
4080 * lyxtext.h: hide cursor and selection anchor behind accessor function
4083 * BufferView_pimpl.[Ch]:
4085 * bufferview_funcs.C:
4095 * cursor_slice.[Ch]: some integer type changes for inset unification
4097 * lyxcursor.[hC]: remove, it's CursorSlice now.
4100 * BufferView_pimpl.[Ch]:
4101 * bufferview_funcs.C:
4107 * textcursor.[Ch]: adjust
4109 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
4111 * text2.C (undoSpan): add and use
4112 * text.C (breakParagraph): use undoSpan (fix bug 578)
4115 2004-01-08 Angus Leeming <leeming@lyx.org>
4117 * BufferView_pimpl.C (MenuInsertLyXFile):
4118 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4119 * lyxfunc.C (menuNew, open, doImport):
4120 FileFilterList change to the FileDialog open and save functions.
4122 2004-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
4124 * ShareContainer.h: make isEqual and isUnique adaptable
4126 * CutAndPaste.C: make resetOwnerAndChanges adaptable
4128 2004-01-07 Angus Leeming <leeming@lyx.org>
4131 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
4133 * BufferView_pimpl.C (dispatch): act on these LFUNs.
4135 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
4136 functions replacing find, replace and replaceAll.
4138 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
4139 LFUN_WORDFIND(FORWARD|BACKWARD).
4141 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
4143 * text.C (breakParagraph): remove an outdated #warning
4145 2004-01-07 André Pönitz <poenitz@gmx.net>
4147 * lyxfind.C: somewhat clearer logic
4149 * text.C: prevent crash in cursorX on unitialized row cache
4151 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
4153 * lyxcursor.[Ch] (operator>): add
4154 * textcursor.C (selStart, selEnd): use std::min and std::max
4156 2004-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4158 * Chktex.C: include boost/format.hpp
4160 2004-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
4162 * InsetList.C: replace functor MathcIt with adaptable functor
4164 (insetIterator): modify accordingly
4166 * BranchList.h: move the BranchNamesEqual functor here from...
4167 * BranchList.C: ... to here
4169 * BranchList.C: new BranchListEqual fuctor, use it. Remove
4171 (add): replace a finding loop with std::find_if.
4173 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
4175 * output_docbook.C: moving LatexParam functionality into
4178 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4180 * buffer.C: increment format to 229.
4182 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
4185 * lyx_sty.[Ch]: remove minipageindent_def
4191 * text3.C: remove LFUN_INSET_MINIPAGE
4193 2003-12-28 Angus Leeming <leeming@lyx.org>
4195 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
4197 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
4199 * text2.C (setParagraph): fix off-by-one crash
4201 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
4203 * output_docbook.C: header stuff for AGU
4205 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
4207 * text2.C (redoCursor): remove
4210 * BufferView_pimpl.C: remove calls to redoCursor and
4211 setCursor(cursor.par(), cursor.pos()) all around
4213 2003-12-15 Angus Leeming <leeming@lyx.org>
4215 * buffer.C: up the format to 228.
4217 2003-12-15 André Pönitz <poenitz@gmx.net>
4219 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
4224 * BufferView_pimpl.C:
4233 2003-12-15 Angus Leeming <leeming@lyx.org>
4235 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
4236 than getFromGUIName to manipulate the color.
4238 2003-12-14 Angus Leeming <leeming@lyx.org>
4240 * BranchList.[Ch]: minimize the API.
4241 (Branch::getBranch, getColor): now return a 'const &'.
4242 (Branch::setSelected) now returns a bool set to true if the
4243 selection status changes.
4244 (BranchList::clear, size, getColor, setColor, setSelected,
4245 allBranches, allSelected, separator): removed.
4246 (BranchList::find): new functions, returning the Branch with
4248 (BranchList::add, remove): return a bool indicating that
4249 the operation was successful.
4251 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
4252 new InsetBranch::isBranchSlected member function.
4254 * LColor.[Ch]: mimimize the API.
4255 (fill): renamed as addColor and made private.
4256 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
4257 versions of these functions taking a string arg have been removed.
4259 * bufferparams.C (readToken):
4260 * lyxfunc.C (dispatch):
4261 * lyxrc.C (read): changes due to the altered BranchList and
4264 * factory.C (createInset, readInset): changes due to altered
4267 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4270 * lyxfunc.C: remove insetminipage. "minipage-insert"
4271 now produces a frameless minipage box inset.
4273 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4275 * textcursor.[Ch] (selStart,selEnd): add new methods
4276 remove selection::start, end, use LyXCursor::operator<
4277 * lyxcursor.[Ch] (operator<): add
4278 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
4279 * BufferView.[Ch] (unsetXSel): add
4280 * text2.C (clearSelection): use unsetXSel,adjust
4283 * rowpainter.C: adjust
4284 * bufferview_funcs.C (put_selection_at): adjust
4286 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4288 * BufferView_pimpl.C: small coord. correction
4290 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4292 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
4293 dragging over the splash screen.
4295 2003-12-11 Angus Leeming <leeming@lyx.org>
4297 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
4298 as it is now handled in LyXText::dispatch.
4300 * text3.C (doInsertInset): remove a level of nesting.
4302 2003-12-11 Angus Leeming <leeming@lyx.org>
4304 * factory.C (createInset): changes due to the changed interface to
4305 InsetCommandMailer::string2params.
4307 2003-12-10 Angus Leeming <leeming@lyx.org>
4309 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
4310 'dialog-show-new-inset <inset name>'
4312 2003-12-10 Angus Leeming <leeming@lyx.org>
4314 * buffer.C: up the format to 227.
4316 * factory.C: the box inset is now identified simply by 'Box'.
4318 2003-12-10 Angus Leeming <leeming@lyx.org>
4320 * buffer.C: up the format to 226.
4322 * factory.C: the note inset is now identified simply by 'Note'.
4324 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
4326 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
4327 when a pit is enough. Standarize a couple of loops.
4329 2003-12-05 Angus Leeming <leeming@lyx.org>
4331 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
4332 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
4333 data to the re-worked "log" dialog.
4335 2003-12-03 André Pönitz <poenitz@gmx.net>
4341 * paragraph_funcs.C:
4343 * text2.C: use Inset::getText instead of Inset::getParagraph
4345 2003-12-03 André Pönitz <poenitz@gmx.net>
4349 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
4350 InsetText::read() as LyXText::read()
4352 2003-12-02 Angus Leeming <leeming@lyx.org>
4354 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
4355 type. Add a comment in the implementation that the function uses
4356 the stream's bad() function rather than fail() as the std::streams
4359 2003-12-02 André Pönitz <poenitz@gmx.net>
4361 * lyxlex.[Ch]: make interface more similar to std::stream
4363 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
4365 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
4367 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
4369 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
4371 * vspace.[Ch]: remove VSpace::NONE
4373 2003-12-01 André Pönitz <poenitz@gmx.net>
4376 * lyxtext.h: move ParagraphList member to LyXText
4377 rename LyXText::ownerParagraphs to LyXText::paragraph
4380 * bufferview_funcs.C:
4390 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
4392 * undo.C: fix cursor positioning
4394 2003-12-01 John Levon <levon@movementarian.org>
4396 * BufferView_pimpl.C: fix a crash on exit with
4399 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
4401 * BranchList.C: fix setSelected() method.
4403 2003-11-28 André Pönitz <poenitz@gmx.net>
4405 * ParagraphParameters.[Ch]:
4406 * ParameterStruct.h: remove space above/below from Paragraph to
4409 * BufferView_pimpl.C:
4415 * paragraph_funcs.C:
4421 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
4423 * factory.C: Syntax change for CharStyles
4425 2003-11-28 André Pönitz <poenitz@gmx.net>
4430 * buffer.[Ch]: move LyXText member
4432 2003-11-28 André Pönitz <poenitz@gmx.net>
4434 * BufferView.[Ch]: make LyXText * text a private member
4436 * BufferView_pimpl.C:
4447 * output_plaintext.C: cleanup
4449 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
4452 * lyxtextclass.[Ch]: parametrize SGML document header
4454 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
4457 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4460 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
4462 * text2.C (setFont): rework using PosIterator (no more recursive)
4463 (setCharFont): no more needed
4464 (setLayout): no more selection cursors fiddling (done by redoCursor)
4465 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4466 destroy remaining ones)
4468 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
4470 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4472 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4475 * text3.C: adjust + re-allow multi par depth changes
4476 * textcursor.C: simplify a bit
4478 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
4484 * src/output_docbook.C:
4485 * src/output_latex.C:
4490 * src/text2.C: Introducing a number of tags parametrizing various
4491 XML formats that we may want to support
4493 2003-11-25 André Pönitz <poenitz@gmx.net>
4495 * InsetList.[Ch] (begein, end): inline as suggested by profiler
4497 * lyxtext.h (leftMargin/rightMargin): simplify interface
4504 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4506 * lyxfunc.C (dispatch): propogate the bibtex databases from the
4507 master file to any child files. Fixes bug 546.
4509 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4511 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4513 2003-11-24 André Pönitz <poenitz@gmx.net>
4515 * rowpainter.C: simplification
4517 * text2.C (updateCounters): remove call to redoParagraph on
4518 changed labels as this is far too expensive.
4520 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4522 * converter.C (convert): fix a crash: this function gets
4523 called with buffer == 0 from importer code.
4525 2003-11-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4527 * text3.C (cursorPrevious): make sure that we do not compare
4528 iterators form different containers.
4531 * rowpainter.C (paintSelection): make sure that we do not compare
4532 iterators from different containers.
4534 * text3.C (dispatch): [PRIOR] make sure that we do not compare
4535 iterators from different ParagraphList containers.
4538 * text2.C (LyXText): change order of initialization slightly
4539 (operator=): new function. copy all variables except cache_par_
4540 (moveUp): make sure that we do not compare iterators from
4541 different ParagraphList constainers.
4544 * text.C (firstPar): new function
4545 (lastPar): new function
4546 (endPar): new function
4548 * lyxtext.h: move things around and group public functions, public
4549 variables, private functions, private variables
4551 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
4553 * factory.C: change call to InsetERT constructor to avoid
4554 additional invocation of method status
4555 * text2.C (toggleInset): remove redundant update() call
4556 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4557 instead of a Bufferview pointer
4559 2003-11-21 André Pönitz <poenitz@gmx.net>
4561 * rowpainter.C: simplification
4563 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4565 * text3.C (dispatch): make possible to extend a word/row selection
4568 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4570 * lyxtext.h: x0_,y0_ -> xo_,yo_
4571 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4572 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4573 * rowpainter.C (paintRows): paint full paragraphs
4575 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4577 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4580 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4582 * lyxtext.h: add x0_, y0_
4583 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4584 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4586 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
4588 * text2.C (setCursorIntern): move the x_target update here *
4589 * text3.C: change some bv() to true/false in calls to
4590 cursorUp/Down/Right/Left
4591 * cursor.C: use helper function.
4593 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4595 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4596 * paragraph_funcs.[Ch]: correct comment
4597 * rowpainter.C: do not paint selections away from bv->cursor()
4598 Fix a long standing selection painting bug.
4599 * text3.C: generalize mouse-selection code to LyXTexts other that
4601 * textcursor.C: do not use y coords if we can use par offsets
4603 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4605 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4606 cursor position after e.g. inset insert)
4608 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
4610 * lyxfind.C (replace): adjust to locking removal + some
4613 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
4615 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4618 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
4621 * output_docbook.C: XML sanitation: new layout
4622 parameters InnerTag and CommandDepth
4624 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
4626 * BufferView_pimpl.C:
4628 * text3.C: Fix the insertion and modification of button-style
4631 2003-11-13 André Pönitz <poenitz@gmx.net>
4633 * InsetList.[Ch]: remove deleteLyXText
4635 * paragraph.[Ch]: cache beginOfBody position
4640 * text3.C: remove superfluous update() calls
4644 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
4646 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4647 * BufferView.C (fitLockedInsetCursor): remove
4648 * cursor.[Ch] (getDim): add
4649 * text.C (getRowNearY): add faster version
4650 * text3.C: remove some update calls
4652 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
4664 * text3.C: The Character Style /XML short element patch.
4666 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
4669 * factory.C: Small step to solving 'unable to insert some insets'
4672 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
4674 * cursor.[Ch] (updatePos): new function for updating the y
4675 position of the tip inset
4676 * bufferview_funcs.C (put_selection_at):
4677 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4679 2003-11-11 André Pönitz <poenitz@gmx.net>
4681 * text.C: remove big comment on invalid Paragraph pointers as it is
4684 2003-11-11 André Pönitz <poenitz@gmx.net>
4686 * text_funcs.[Ch]: merge with ...
4694 * Makefile.am: remove text_funcs.[Ch]
4696 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
4698 * cursor.C (getPos): return absolute cached y coord
4700 * BufferView_pimpl.C (fitCursor): new simplistic code
4701 (workAreaDispatch): add a fitCursor call
4703 2003-11-10 André Pönitz <poenitz@gmx.net>
4706 * BufferView_pimpl.[Ch]: merge update() and updateInset()
4708 2003-11-10 André Pönitz <poenitz@gmx.net>
4710 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4711 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4712 indicate that the cursor needs to leave an inset
4714 * lyxtext.h: remove inset locking
4716 * cursor.[Ch]: re-implement functionality provided by inset locking
4719 * BufferView_pimpl.[Ch]:
4721 * bufferview_funcs.[Ch]:
4733 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
4735 * PosIterator.[Ch]: replace the stack with a vector, add inset
4737 * iterators.[C]: adjust
4739 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4741 * lyxfind.C (replaceAll): mark the buffer dirty if something was
4743 * paragraph_funcs.C (readParToken): put the correct id in the
4744 error item, not the id of the top paragraph
4746 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4748 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4749 * bufferview_funcs.C (put_selection_at): use the above
4751 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4753 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4755 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4757 * output_linuxdoc.h:
4758 * output_plaintext.h:
4760 * output_docbook.h: add #include statements
4762 2003-11-05 José Matos <jamatos@lyx.org>
4764 * output_docbook.[Ch]:
4765 * output_latex.[Ch]:
4766 * output_linuxdoc.[Ch]:
4767 * output_plaintext.[Ch]: New files for output formats.
4768 * output.[Ch]: New file for helper functions.
4771 * paragraph_funcs.[Ch]: output functions moved to new files.
4773 * outputparams.h: rename of latexrunparams.h
4781 * paragraph_funcs.[Ch]:
4782 * paragraph_pimpl.[Ch]:
4783 * tabular.[Ch]: rename ascii to plaintext
4784 and LatexRunParams to OutputParams.
4786 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4788 * iterators.[Ch] (text): require bv argument
4789 * undo.C (recordUndo):
4790 * lyxfunc.C (dispatch):
4791 * bufferview_funcs.C (put_selection_at): adjust
4793 2003-11-05 Jo� Luis M. Assirati <assirati@fma.if.usp.br>
4795 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4797 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4799 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4802 2003-11-04 André Pönitz <poenitz@gmx.net>
4804 * cursor.[Ch]: restructure
4807 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4809 * iterators.[Ch] (asCursor): remove
4811 * lfuns.h: remove LFUN_INSET_EDIT
4817 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4819 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4821 * lyxfind.[Ch]: complete overhaul
4822 * BufferView_pimpl.C:
4824 * paragraph.[Ch] (insert): add
4826 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4830 * text.C: remove dead spellcheck code
4832 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4834 * dispatchresult.h: add a val setter
4836 * cursor.C (dispatch): use a tempvar for data_[i]
4838 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4840 * PosIterator.[Ch]: compile fix
4842 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4844 * text.C (cursorPar): deactivate the cursor cache
4846 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4848 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4850 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4852 * text3.C (dispatch): adjust for new DisptchResult semantics.
4854 * lyxfunc.C (dispatch): handle update when return from
4855 Cursor::dispatch, adjust for new DispatchResult semantics.
4857 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4858 DispatchResult(true) mean to not update. Add class functions for
4859 setting dispatched and update, as well as reading.
4861 * cursor.C (dispatch): don't handle update here
4863 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4865 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4866 * trans_mgr.C: adjust
4868 * paragraph_funcs.C (readParToken): exception safety
4870 * lyxvc.h: store the vcs pointer in a scoped_ptr
4873 * lyxsocket.C (serverCallback): exception safety
4875 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4877 * ispell.C (clone): make it return a auto_ptr
4879 * factory.C (createInset): exception safety
4880 (readInset): exception safety
4882 * bufferlist.C (newBuffer): exception safety
4884 * Thesaurus.C (Thesaurus): use initialization for aik_
4886 * MenuBackend.C (expandToc): exception safety.
4888 2003-11-03 André Pönitz <poenitz@gmx.net>
4892 * bufferview_funcs.C: remove getInsetFromId()
4895 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4901 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4903 * PosIterator.C (distance, advance): new
4904 * bufferview_funcs.[Ch] (put_selection_at): new
4905 * iterators.[Ch] (lockPath): new
4907 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
4909 * iterators.[Ch] (asPosIterator): added
4910 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4911 * PosIterator.[Ch]: added
4913 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4917 * cursor.C (dispatch):
4918 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4920 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4921 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4922 contructor, add a class function dispatched. Remove operator>=
4924 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4926 * debug.C: only use the default constructor for debugstream
4929 * main.C (main): include debug.h and setup the lyxerr streambuf
4932 2003-10-31 José Matos <jamatos@lyx.org>
4934 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4936 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4937 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4938 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4939 * paragraph_pimpl.C (simpleTeXSpecialC):
4940 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4941 add LatexRunParams argument.
4943 * exporter.C (Export): change call accordingly.
4945 * latexrunparams.h: add new member to take care of the other backends.
4946 2003-10-30 José Matos <jamatos@lyx.org>
4948 * buffer.C (makeLinuxDocFile, makeDocBookFile):
4949 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4950 factorise code for paragraph output.
4952 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4955 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4957 * text3.C (dispatch):
4958 * lyxfunc.C (dispatch):
4959 * cursor.C (dispatch):
4960 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4962 * dispatchresult.h: make the dispatch_result_t ctor explicit
4964 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
4967 * buffer.C: small refactoring of docbook stuff
4969 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4971 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4974 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4976 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4977 operator dispatch_result_t, and operators for == != and >=
4979 * cursor.C (dispatch): adjust for operator dispatch_result_t
4980 removal. comment out call to update
4982 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4984 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4992 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4995 * dispatchresult.h: new file, DispatchResult broken out of
4998 * Makefile.am (lyx_SOURCES): add dispatchresult.h
5000 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
5002 * text.C (rowBreakPoint): put a hack inside #if 0
5004 2003-10-28 André Pönitz <poenitz@gmx.net>
5008 * paragraph_funcs.C:
5011 * text2.C: general cleanup (lots of small stuff)
5013 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
5015 * text2.C (cursorEnd): simple fix to the "end key goes to one
5016 before the end on last row" bug
5018 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5020 * text.C (backspace): fix the "zombie characters"
5022 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5024 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
5026 2003-10-27 André Pönitz <poenitz@gmx.net>
5028 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
5030 * factory.C: handle new InsetPagebreak, InsetLine
5032 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
5033 and move handling into new InsetPagebreak, InsetLine
5035 * BufferView_pimpl.C:
5037 * ParagraphParameters.C:
5038 * ParameterStruct.h:
5043 * paragraph_funcs.C:
5044 * paragraph_pimpl.C:
5050 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5053 * lyxrow_funcs.[Ch]:
5059 * text3.C: remove lastPos uses in favour of Row::endpos
5061 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5063 * undo.C (performUndoOrRedo): fix two crashes by setting a
5064 cursor by hand and reordering some calls. Use bv->lockInset instead
5065 of inset->edit because the latter loses cursor information
5067 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
5069 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
5071 (rowBreakPoint): fix width. change point to point + 1.
5072 Add a missing check.
5074 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
5077 * lyxfunc.C: fix (at least partly) the problems
5078 with the Nav menu and headers inside branch insets
5081 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
5083 * paragraph.C (getChar): add strong asserts
5085 * lyxrow_funcs.C (lastPos): remove hideous hack
5087 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
5088 (fill): adjust to that (avoid an infinite loop)
5090 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
5092 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
5094 2003-10-23 André Pönitz <poenitz@gmx.net>
5096 * RowList_fwd.h: change list<> to vector<> to gain speed
5097 after suggestion from Alfredo
5099 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
5101 * lyxtext.h: move the bidi stuff from here...
5104 * Bidi.[Ch]: ... to here
5106 2003-10-23 André Pönitz <poenitz@gmx.net>
5109 * text.C (isLastRow, isFirstRow): new functions
5111 * paragraph.h: new width cache member
5113 * rowpainter.C: replace RowList::iterator with Row & where possible
5115 * lyxfunc.C: replace several view()->text with a single call
5117 * toc.C: fix 'unused' warning
5119 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5121 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
5122 when woring with stream::pos_type
5123 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
5125 2003-10-22 André Pönitz <poenitz@gmx.net>
5128 * text.C: use Row & instead of RowList::iterator
5130 * lyxrow.h: rename end() to endpos()
5136 2003-10-22 Angus Leeming <leeming@lyx.org>
5138 * buffer.[Ch] (fully_loaded): new member function, returning true
5139 only when the file has been loaded fully.
5140 Used to prevent the premature generation of previews and by the
5141 citation inset to prevent computation of the natbib-style label.
5143 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
5144 templates are all set up.
5146 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
5148 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
5150 * text.C: fixed an "oops" in the "is a bit silly"
5153 2003-10-21 André Pönitz <poenitz@gmx.net>
5155 * FuncStatus.[Ch]: small stuff, whitespace
5157 * lyxfont.[Ch]: operator<<() for debug reasons
5161 * lyxtext.h: whitespace, spelling
5163 * paragraph.C: naming of variables
5166 * text2.C: small stuff
5169 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
5171 * text.C: (1) finish off the inset display() work;
5172 (2) fix the "is a bit silly" bug (accessing char
5175 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
5177 * text.C: re-introduce display() for insets, fixing the
5178 various bugs (stretch of line above, math inset
5181 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5183 * text.C (rightMargin): remove spurious semicolon
5185 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
5188 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
5190 * text3.C: fix one crash due to wrong cursor def
5192 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5194 * vc-backend.C (scanMaster): make the regex static
5196 * LaTeX.C (scanAuxFile): make the regexs static
5198 * text3.C (doInsertInset, dispatch, dispatch):
5199 * text2.C (cursorUp, cursorDown):
5200 * text.C (selectNextWordToSpellcheck):
5201 * BufferView_pimpl.C (dispatch):
5202 * lyxfunc.C (dispatch): localDispatch -> dispatch
5204 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5206 * lyxsocket.C: include <cerrno>
5208 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5210 * lyxfunc.C (dispatch): remove textcache stuff
5212 * bufferlist.C (release): remove textcache stuff
5215 * TextCache.C: delete file
5216 * TextCache.h: delete file
5218 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
5220 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
5221 delete of the bv_->text.
5222 (resizeCurrentBuffer): remove texcache stuff
5223 (workAreaResize): ditto
5225 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5227 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
5230 2003-10-16 André Pönitz <poenitz@gmx.net>
5237 * text3.C: speed up by storing y positions per paragraph plus per-row
5238 offset instead of having a 'full' y position in the row.
5240 2003-10-15 André Pönitz <poenitz@gmx.net>
5244 * undo.[Ch]: make undo aware of inner insets
5246 2003-10-14 Angus Leeming <leeming@lyx.org>
5248 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
5249 static member functions LyX::ref() and LyX::cref.
5250 (lastfiles): new accessor functions for the new lastfiles_ member var.
5251 (addLyXView, views_): add a new LyXView to the list of views_.
5252 (updateInset): loop over all LyXViews to call their own updateInset
5253 member function, returning a pointer to the Buffer owning the inset.
5255 * BufferView_pimpl.C (loadLyXFile):
5256 * MenuBackend.C (expandLastfiles):
5257 * bufferlist.C (MenuWrite, QuitLyX):
5258 lastfiles is no longer a global variable.
5259 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
5261 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
5262 static function. Access through LyX::cref().emergencyCleanup().
5264 2003-10-14 André Pönitz <poenitz@gmx.net>
5266 * iterators.[Ch]: new direct access to innermost LyXText and Inset
5268 * undo.[Ch]: restoring part of 'undo in insets'
5271 * undo_funcs.[Ch]: merge with undo.[Ch]
5273 * tabular.C: small cleansing stuff
5275 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
5277 * paragraph_funcs.C (readParToken): report unknown insets as error
5278 boxes. Use the outer paragraph as location (also for unknown
5281 * factory.C (readInset): do not abort on reading an unknown inset.
5282 Eat it and return 0.
5284 2003-10-13 Angus Leeming <leeming@lyx.org>
5286 * lyx_main.C (LyX): remove call to setDisplayTranslator().
5288 * lyxrc.C: displayTranslator is now a function,
5289 declared in GraphicsTypes.h.
5291 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5293 * format.C: new placeholder $$a to pass the socket address.
5295 * bufferlist.[Ch]: new function getBufferFromTmp.
5297 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
5298 files in the temporary dir.
5300 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5302 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
5304 * Makefile.am: add lyxsocket.[Ch].
5306 * lyx_main.C (error_handler): handle SIGPIPE.
5308 2003-10-13 André Pönitz <poenitz@gmx.net>
5310 * BufferView_pimpl.C:
5315 * undo_funcs.[Ch]: use paroffset_type instead of
5316 ParagraphList::iterators to prevent multiple conversion
5317 (and get a more robust interface)
5319 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5321 * lyxfunc.C (dispatch): RESULT -> dispatch_result
5323 * text3.C (dispatch): ditto
5325 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5327 * LaTeX.C (handleFoundFile): move the static to smaller scope,
5328 move the onlyfile, use onlyfile instead of foundfile in a couple
5331 * DepTable.C (update): flush the error stream a bit more
5333 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5335 * lyxserver.C (callback): adjust
5337 * lyxfunc.C (getStatus): add a missing brace in commented code
5338 (ensureBufferClean): reindent
5339 (dispatch): delete version taking a string
5341 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5343 * LaTeX.C (deplog): move found file handlig from here...
5344 (handleFoundFile): .. to new function here.
5345 (deplog): make sure to discover several files mentioned on the
5348 2003-10-10 André Pönitz <poenitz@gmx.net>
5355 * text3.C: fix some of the tabular crashes
5357 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5359 * MenuBackend.C (binding): put debug message into Debug::KBMAP
5361 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
5363 2003-10-09 André Pönitz <poenitz@gmx.net>
5365 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
5368 * BufferView_pimpl.C:
5369 * bufferview_funcs.C:
5380 * undo_funcs.C: adjust
5382 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5384 * text2.C (incrementItemDepth): new function, use a backtracking
5385 algorithm to discover the correct item depth.
5386 (resetEnumCounterIfNeeded): new function, use a backtracking
5387 algorithm to discover if counter reset is needed.
5388 (setCounter): use them. Simplify a bit. Add different labels for
5389 different item depths for itemize.
5391 * paragraph.C (Paragraph): remove initialization of enumdepth
5394 * paragraph.h: get rid of enumdepth, and use itemdepth both for
5395 enumerate and itemize. Change the type of itemdepth to signed char.
5397 2003-10-08 André Pönitz <poenitz@gmx.net>
5399 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5404 * tabular.[Ch]: fix crash after 'row-insert'
5406 2003-10-08 Angus Leeming <leeming@lyx.org>
5408 Fix doxygen warnings.
5410 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5411 Remove CutAndPaste:: prefix from header file declaration.
5413 * LColor.h (fill): remove LColor:: prefix from declaration.
5415 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5416 use lyx::depth_type rather than Paragraph::depth_type so that
5417 header file and .C file match.
5419 * converter.h (intToFormat): remove Converters:: prefix from declaration.
5421 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5422 * aspell.C: \file aspell_local.C -> \file aspell.C
5423 * gettext.C: \file gettext.C -> \file src/gettext.C
5424 * gettext.h: \file gettext.h -> \file src/gettext.h
5425 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5426 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5427 * text.C: \file text.C -> \file src/text.C
5429 * toc.C: move comment so that doxygen is not confused.
5431 2003-10-07 Angus Leeming <leeming@lyx.org>
5433 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5435 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5438 * aspell_local.h: add forgotten std::string's.
5440 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
5447 * text3.C: The Box patch. Fancybox support, minipage, parbox
5449 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
5455 * ParagraphParameters.h:
5465 * lyxtextclasslist.h:
5468 * paragraph_pimpl.C:
5469 * textcursor.h: add <string> and other small fixes to make Lars'
5470 std::string patch compile with STLport.
5472 2003-10-06 Angus Leeming <leeming@lyx.org>
5474 * LColor.h: Add missing #include <string>.
5476 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5478 * All most all file in all subdirs: Make <string> be the prefered
5479 way of getting to std::string, add using declarations.
5481 2003-10-06 André Pönitz <poenitz@gmx.net>
5483 * metricsinfo.C: initialize LyXFont before changing attribute.
5484 (fixes the 'math in \emph is upright' bug)
5486 2003-10-06 André Pönitz <poenitz@gmx.net>
5488 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5490 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
5493 * paragraph_pimpl.C: Small fixes to build using STLport
5495 2003-10-02 André Pönitz <poenitz@gmx.net>
5498 * text3.C: move handling of LFUN_DEPTH *; fix #1360
5500 2003-10-01 André Pönitz <poenitz@gmx.net>
5502 * factory.C: assert early
5504 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5506 * lyx_main.C: remove the global debug object
5508 * debug.h: adjust for new debugstream
5510 * debug.C: adjust for new debugstream and keep the global debug
5513 2003-09-22 Angus Leeming <leeming@lyx.org>
5515 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5516 of g++ which otherwise complain that the scoped_ptr destructor can't delete
5517 an incomplete class LyXFont.
5519 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
5521 * factory.C: bug fix in branches
5523 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5525 * lyxfunc.C (processKeySym): adjust
5527 (dispatch): change arg name from ev to func, adjust
5528 (sendDispatchMessage): ditto
5530 * lyx_main.C (defaultKeyBindings): adjust keybindings
5531 (deadKeyBindings): ditto
5533 * kbsequence.C (addkey): return a FuncRequest
5535 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5537 * kbmap.C (bind): take a FuncRequest as arg, adjust
5540 (defkey): change to take a FuncRequest as arg, adjust
5541 (findbinding): take a FuncRequest as arg, adjust.
5543 * funcrequest.h (operator=): added
5545 * funcrequest.C (FuncRequest): default kb_action changed from
5546 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5548 * buffer.C (dispatch): simplify
5549 (dispatch): adjust to take a FuncRequest as arg, adjust
5551 * boost.C (assertion_failed): change assertion message slightly
5553 * ToolbarBackend.C (read): simplify
5555 * MenuBackend.C (binding): adjust call to findbinding, add a
5556 message if no binding is found.
5558 (expandToc): correct by adding a empty FuncRequest
5560 * LyXAction.C: include <boost/assert.hpp>
5561 (isPseudoAction): delete function
5562 (LookupFunc): change name to...
5563 (lookupFunc): this. change return type to FuncRequest.
5564 (getActionName): take kb_action as arg, simplify
5565 (funcHasFlag): add an assert, simplify.
5567 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5569 * toc.C (action): return a FuncRequest, simplify
5571 * lyxfunc.C (processKeySym): adjust
5572 (getStatus): delete version that takes an int.
5574 (dispatch): delete version that takes action as int
5576 (sendDispatchMessage): simplify and adjust
5578 * funcrequest.C (getArg): take unsigned int as arg
5580 * ToolbarBackend.C (read): adjust
5581 (add): delete version that takes func as a string.
5582 (getIton): take a FuncRequest as arg
5584 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5587 * MenuBackend.C (MenuItem): add a new construct that only takes a
5588 Kind, simplify the constructor use for submenus.
5590 (expandLastfiles): adjust
5591 (expandDocuments): adjust
5592 (expandFormats): adjust
5593 (expandFloatListInsert): adjust
5594 (expandFloatInsert): adjust
5595 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5597 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5598 Remove class variables lyx_pseudo_map and lyx_arg_map
5600 * LyXAction.C (searchActionArg): delete function
5601 (getPseudoAction): delete function
5602 (retrieveActionArg): delete function
5603 (LookupFunc): make it return kb_action, simplify.
5604 (getActionName): simplify
5606 * factory.C (createInset): fix new bug
5608 2003-09-19 Angus Leeming <leeming@lyx.org>
5610 * CutAndPaste.C (pasteSelection): remove fudge used to set the
5611 masterFilename_ parameter in the include inset.
5613 * factory.C (createInset): changes due to the changes to InsetInclude.
5615 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5617 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5619 2003-09-18 Angus Leeming <leeming@lyx.org>
5622 * BufferView.C: pass the buffer when calling Inset::getLabelList,
5623 Inset::fillWithBibKeys.
5624 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5626 2003-09-18 Angus Leeming <leeming@lyx.org>
5628 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5630 (ctor): pass and store a 'Buffer const &'
5631 (buffer): new member function.
5633 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5634 '*this' to the LaTeXFeatures ctor.
5636 2003-09-18 Angus Leeming <leeming@lyx.org>
5642 * text.C: rename EnumLColor as LColor_color.
5644 2003-09-18 Angus Leeming <leeming@lyx.org>
5646 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5647 remove #include "insets/insetbase.h" from cursor.h.
5649 2003-09-18 Angus Leeming <leeming@lyx.org>
5651 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5652 InsetOld_code to remove #include "inset.h".
5654 * iterators.C: add #include "insets/inset.h"
5656 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
5658 * BufferView.C: remove more locking stuff that apparently doesn't
5659 do anything sensible.
5661 2003-09-16 André Pönitz <poenitz@gmx.net>
5664 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5667 2003-09-16 Angus Leeming <leeming@lyx.org>
5669 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5671 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5674 * paragraph.h: remove #include "lyxfont.h". Forward declare
5677 2003-09-16 Angus Leeming <leeming@lyx.org>
5679 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5680 of support/textutils.h.
5681 (isWord): move the contents of support/textutils.h's IsWordChar here.
5687 * text2.C: add #include "paragraph.h".
5690 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5692 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5698 * LaTeX.C: use namespace alias for lyx::support::os
5700 2003-09-16 Angus Leeming <leeming@lyx.org>
5703 * bufferview_funcs.C:
5706 * paragraph_pimpl.C:
5708 * text.C: add #include "LColor.h".
5710 2003-09-16 Angus Leeming <leeming@lyx.org>
5712 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5713 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5715 Store the FontBits::color variable as an int rather than as an
5716 LColor::colorso that we can move LColor.h out of the lyxfont.h header
5719 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5720 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5721 string calls together.
5723 * lyxrc.C: add #include "LColor.h".
5725 2003-09-15 Angus Leeming <leeming@lyx.org>
5727 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5730 2003-09-15 Angus Leeming <leeming@lyx.org>
5732 * LColor.h: add an EnumLColor wrapper for LColor::color.
5734 * lyxfont.[Ch] (color, setColor, realColor):
5735 * lyxtext.h, text.C (backgroundColor):
5736 pass EnumLColor args to/from the functions, rather than LColor::color
5740 * lyxtext.h: forward declare EnumLColor.
5742 * lyx_main.C: add #include "LColor.h".
5744 2003-09-15 Angus Leeming <leeming@lyx.org>
5746 * .cvsignore: add lyx-gtk.
5748 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5753 * ParagraphParameters.C
5757 * bufferview_funcs.C
5767 * vc-backend.C: remove usage of STRCONV
5769 2003-09-15 Angus Leeming <leeming@lyx.org>
5771 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5772 explicitly define the color passed to the painter.
5774 2003-09-15 Angus Leeming <leeming@lyx.org>
5776 * bufferparams.C (BufferParams): reorder member initializers to avoid
5779 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
5781 * CutAndPaste.C (pasteSelection): remove an outdated #warning
5782 * text.C (updateRowPositions): remove an unusual nop
5784 2003-09-12 André Pönitz <poenitz@gmx.net>
5786 * BufferView_pimpl.C:
5795 * Counters.[Ch]: finish the 'automatic counters' job
5797 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5799 * aspell.C: include <boost/assert.cpp> (compile fix)
5801 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
5803 * boost.C (assertion_failed): use lyx::support::abort instead of
5806 2003-09-10 Angus Leeming <leeming@lyx.org>
5808 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5809 with their _fwd progeny.
5811 2003-09-09 Angus Leeming <leeming@lyx.org>
5813 134 files throughtout the source tree: replace 'using namespace abc;'
5814 directives with the appropriate 'using abc::xyz;' declarations.
5816 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5818 * boost.C (emergencyCleanup): moved here from LAssert.c
5819 (assertion_failed): new function, called by BOOST_ASSERT
5821 * several files: change Assert to BOOST_ASSERT
5823 2003-09-09 Angus Leeming <leeming@lyx.org>
5825 * buffer.[Ch]: Add an Impl class and move Buffer's member
5826 variables into it. As a result move several header files out of
5829 Add header files to lots of .C files all over the tree as a result.
5831 2003-09-09 Angus Leeming <leeming@lyx.org>
5833 * buffer.[Ch]: make Buffer's member variables private. Add
5836 Lots of changes all over the tree as a result.
5838 2003-09-08 Angus Leeming <leeming@lyx.org>
5840 * graph.C: #include <config.h>.
5842 2003-09-08 Angus Leeming <leeming@lyx.org>
5846 * BufferView_pimpl.C:
5875 * toc.C: remove redundant using directives.
5877 2003-09-07 Angus Leeming <leeming@lyx.org>
5879 * LaTeXFeatures.h: remove #include "support/types.h".
5880 * ToolbarBackend.h: remove #include <algorithm>.
5881 * changes.h: remove #include <ctime>.
5882 * debug.h: remove #include <iosfwd>.
5883 * graph.h: remove #include "support/std_string.h".
5884 * lyx_main.h: remove #include <csignal>.
5885 * lyxlex_pimpl.h: remove #include <fstream>.
5886 * sgml.h: remove #include <algorithm>, <utility>.
5887 * toc.h: remove #include "support/std_ostream.h".
5888 Add #include <iosfwd>.
5890 2003-09-07 Angus Leeming <leeming@lyx.org>
5892 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5894 * converter.h: forward declare LatexRunParams.
5895 * encoding.h: remove #include "lyxrc.h".
5896 * lyxtext.h: remove #include "LColor.h".
5897 * lyxtextclass.h: remove #include "support/types.h".
5898 * trans.h: remove #include "tex-accent.h".
5899 * trans_mgr.h: remove #include "tex-accent.h".
5900 * insets/inset.h: remove #include "support/types.h", <vector>.
5901 * insets/insetcollapsable.h: remove #include "LColor.h".
5902 * insets/insetinclude.h: remove #include "dimension.h".
5903 * insets/insetlatexaccent.h: remove #include "dimension.h".
5904 * insets/insetoptarg.h:: remove #include "insettext.h".
5905 * insets/insettext.h: remove #include "dimension.h",
5906 <boost/shared_ptr.hpp>
5908 * insets/renderers.h: add #include "dimension.h".
5909 * insets/updatableinset.h: add #include "support/types.h".
5911 * many .C files: Associated changes.
5913 2003-09-06 Angus Leeming <leeming@lyx.org>
5915 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5916 one, inside testInvariant.
5918 * PrinterParams.C: new file.
5919 * PrinterParams.[Ch]: move the function bodies out of line.
5921 2003-09-06 Angus Leeming <leeming@lyx.org>
5923 * ParagraphParameters.h: forward declare ParameterStruct rather than
5924 including its header file.
5925 (depth): moved out-of-line.
5927 2003-09-06 Angus Leeming <leeming@lyx.org>
5929 * BufferView_pimpl.h:
5932 * lyxfunc.h: forward declare LyXKeySym rather than
5933 #include "frontends/LyXKeySym.h".
5935 * BufferView_pimpl.C:
5938 * lyxfunc.C: associated changes.
5940 2003-09-06 Angus Leeming <leeming@lyx.org>
5942 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5943 As a result, can remove the #include "insets/inset.h" from BufferView.h
5945 2003-09-06 Angus Leeming <leeming@lyx.org>
5947 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5948 As a result, can remove the #include "insets/inset.h" from BufferView.h
5950 2003-09-06 Angus Leeming <leeming@lyx.org>
5956 * bufferview_funcs.C:
5957 * BufferView_pimpl.C:
5962 * ParagraphParameters.C:
5967 * frontends/controllers/ControlDocument.C:
5968 * insets/insetcaption.C: rearrange the #includes into some sort of
5971 * buffer.h: remove #includes ErrorList.h, undo.h
5973 2003-09-06 Angus Leeming <leeming@lyx.org>
5975 * support/types.h: add a 'depth_type' typedef, used to store the
5976 nesting depth of a paragraph.
5979 * ParameterStruct.h: use this lyx::depth_type typedef rather than
5980 defining explicitly.
5983 * paragraph_funcs.h:
5984 * ParagraphParameters.h:
5985 * sgml.h: use lyx::depth_type rather than Paragraph or
5986 ParameterStruct's depth_type.
5989 * paragraph_funcs.h: no need to #include paragraph.h anymore.
5992 * BufferView_pimpl.C:
5994 * ParagraphParameters.C:
5997 * bufferview_funcs.C:
6004 * frontends/LyXView.C:
6005 * frontends/controllers/ControlDocument.C:
6006 * frontends/controllers/ControlErrorList.C:
6007 * insets/insetbibitem.C:
6008 * insets/insetbranch.C:
6009 * insets/insetcaption.C:
6010 * insets/insetcollapsable.C:
6011 * insets/insetenv.C:
6012 * insets/insetert.C:
6013 * insets/insetfloat.C:
6014 * insets/insetfoot.C:
6015 * insets/insetfootlike.C:
6016 * insets/insetnewline.C:
6017 * insets/insetquotes.C:
6018 * insets/insettabular.C:
6019 * insets/insettext.C:
6020 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
6022 * frontends/controllers/ControlChanges.C: #include "changes.h".
6024 2003-09-06 Angus Leeming <leeming@lyx.org>
6026 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
6027 than #including paragraph.h.
6030 * RowList.h: deleted. Superfluous.
6040 * insets/insettext.h: use ParagraphList_fwd.h rather than
6043 * paragraph.h: don't forward declare ParagraphList.
6046 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
6047 rather than ParagraphList.h. paragraph.h is still needed for the
6048 Paragraph::depth_type parameters.
6050 * textcursor.h: enable it to compile stand-alone in light of the
6053 * bufferview_funcs.C:
6065 * frontends/controllers/ControlParagraph.C:
6066 * frontends/controllers/ControlTabular.C:
6067 * insets/insetmarginal.C:
6068 * insets/insetminipage.C:
6069 * insets/insetnote.C:
6070 * insets/insetoptarg.C: add header files needed to compile again.
6072 2003-09-06 Angus Leeming <leeming@lyx.org>
6074 * RowList_fwd.h: new file, forward-declaring Row rather than
6075 #including lyxrow.h.
6080 * insets/insettext.h: use it instead of RowList.h
6082 * bufferview_funcs.C:
6089 * text3.C: #include "RowList.h".
6091 2003-09-05 Angus Leeming <leeming@lyx.org>
6093 * factory.C (createInset):
6094 * vspace.C (c-tor): replace sscanf call with an istringstream.
6095 * ispell.C: re-add missing HP/UX headers.
6096 * lyxserver.C: re-add missing os2 headers.
6098 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
6107 * text3.C: re-add missing system headers, needed for 2.95.2.
6109 2003-09-05 Angus Leeming <leeming@lyx.org>
6111 Changes most place everywhere due to the removal of using directives
6112 from support/std_sstream.h.
6114 2003-09-05 Angus Leeming <leeming@lyx.org>
6116 Replace LString.h with support/std_string.h,
6117 Lsstream.h with support/std_sstream.h,
6118 support/LIstream.h with support/std_istream.h,
6119 support/LOstream.h with support/std_ostream.h.
6121 Changes resulting throughout the tree.
6123 2003-09-05 Angus Leeming <leeming@lyx.org>
6125 * sgml.h: ensure that the header file can be compiled stand-alone.
6126 * *.C: strip out redundant #includes. (320 in total.)
6128 2003-09-04 Angus Leeming <leeming@lyx.org>
6130 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
6131 here (from getPackages).
6133 * debug.[Ch]: add a new EXTERNAL tag.
6135 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6137 * text2.C (cursorEnd): simplify
6139 (getColumnNearX): adjust
6141 * text.C (computeBidiTables): adjust
6144 * rowpainter.C (paintChars): adjust
6145 (paintSelection): adjust
6146 (paintChangeBar): adjust
6149 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
6151 (numberOfSeparators): adjust
6153 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
6159 * text3.C: Restricts the mouse click functionality
6160 of insets like bibtex, include, toc and floatlist to the visible
6161 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
6162 up the dialogs. Cursor has to be in front of the inset (i.e.
6163 start of row) for this to function.
6165 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6167 * bufferview_funcs.C (currentState): output row information
6169 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6171 * bufferview_funcs.C (currentState): output paragraph position
6173 2003-09-04 Angus Leeming <leeming@lyx.org>
6175 * FloatList.h: move out #include "Floating.h".
6176 * LaTeX.h: move out #include "DepTable.h".
6177 * LyXAction.h: move out #include "funcrequest.h".
6178 * buffer.h: move out #include "author.h", "iterators.h".
6179 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
6180 * lyx_main.h: move out #include "errorlist.h".
6181 * lyxfunc.h: move out #include "FuncStatus.h".
6182 * lyxtext: move out #include "lyxcursor.h".
6183 * paragraph_pimpl.h: move out #include "counters.h".
6185 2003-09-03 Angus Leeming <leeming@lyx.org>
6187 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
6188 preamble_snippets list, enabling us to add snippets to the preamble
6189 only if the snippet was not there already.
6191 2003-09-04 Angus Leeming <leeming@lyx.org>
6193 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
6195 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6197 * lyxfunc.C (dispatch): if fitCursor did something be sure to
6200 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
6202 * BranchList.C: point fix, earlier forgotten
6204 2003-09-02 Angus Leeming <leeming@lyx.org>
6206 * box.C (contains): renamed from 'contained' after a fantastic
6209 2003-09-02 John Levon <levon@movementarian.org>
6215 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
6217 2003-09-02 John Levon <levon@movementarian.org>
6219 * text2.C: simplification of cursorEnd(), including partial
6222 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6224 * buffer.C (readFile): add a space
6226 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
6228 * BufferView_pimpl.C (update): remove bogus fitCursor() call
6230 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6232 * buffer.C (readFile): new function, take a filename and a
6233 ParagraphList::iterator
6235 (readFile): adjust, make it private. don't use setStream, make
6236 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
6237 always contain the filename.
6239 * BufferView.C (insertLyXFile): simplify and make it work for
6242 2003-08-30 John Levon <levon@movementarian.org>
6244 * Makefile.am: fix dist (from Kayvan)
6246 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6248 * most files: change to use const Buffer refs
6250 2003-08-27 André Pönitz <poenitz@gmx.net>
6252 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
6253 on top of ownerPar().
6255 2003-08-27 John Levon <levon@movementarian.org>
6257 * funcrequest.C: properly initialise POD members
6259 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
6261 * lyxtext.h (top_y): move top_y from here
6266 * BufferView_pimpl.[Ch]: to here
6267 * frontends/screen.C:
6268 * insets/insettabular.C:
6269 * insets/insettext.C: adjust
6270 * rowpainter.[Ch] (paintRows): remove LyXText & argument
6272 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
6275 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
6277 2003-08-26 André Pönitz <poenitz@gmx.net>
6279 * paragraph_func.[Ch] (outerPar): new function
6282 * paragraph_funcs.C:
6283 * paragraph_funcs.h:
6284 * paragraph_pimpl.C:
6285 * text2.C: remove Inset::par_owner
6287 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
6292 * text2.C: eliminates the needFullRow/display() stuff
6293 altogether, putting the logic in metrics/draw in the insets.
6295 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
6297 * text2.C (redoParagraphInternal, redoParagraphs):
6298 * text.C (redoParagraph): add a call to updateRowPositions at the
6299 end of each 'metrics-like' call. Remove all others.
6300 (getRow): remove the 'y-computing' version.
6301 (getRowNearY): do not compute nor return the real y. Solve the
6302 'y < 0' problem and simplify.
6304 2003-08-22 Angus Leeming <leeming@lyx.org>
6306 * *.[Ch]: clean-up of licence and author blurbs.
6307 Also move config.h out of a few .h files and into a few .C files.
6309 2003-08-22 André Pönitz <poenitz@gmx.net>
6311 * lyxrow.[Ch]: add x_ and *fill_ members
6316 * text2.C: adjust/remove prepareToPrint() calls
6318 2003-08-22 André Pönitz <poenitz@gmx.net>
6320 * lyxrow.[Ch]: add end_ member
6322 * lyxrow_funcs.C: use LyXRow::end_
6324 * lyxtext.h (singleWidth): add LyXFont parameter
6327 * text2.C: adjust LyXText::singleWidth() calls
6329 * text.C (redoParagraph): simplify row breaking logic
6332 2003-08-19 André Pönitz <poenitz@gmx.net>
6334 * funcrequest.C: initialize button_ member
6337 * rowpainter.[Ch]: interface consolidation
6339 2003-08-18 André Pönitz <poenitz@gmx.net>
6342 * BufferView_pimpl.C:
6344 * paragraph_funcs.C:
6346 * text3.C: remove LyXScreen::draw() and fitCursor calls
6348 * BranchList.h: remove spurious semicolons
6350 * MenuBackend.C: fix branchlist related crash
6352 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
6360 * bufferparams.[Ch]:
6364 * text3.C: implements the 'branch inset'
6365 idea. This allows the output of various versions of a document
6366 from a single source version, selectively outputing or suppressing
6367 output of parts of the text.
6368 This implementation contains a 'branch list editor' in a separate
6369 tab of the document settings dialog. Branches are user definable
6370 and have a "display colour" to distinguish them on-screen.
6372 ColorHandler was somewhat cleaned up.
6373 (1) make possible a dynamically growing LColor list by allowing
6374 the graphic context cache to grow along (vector);
6375 (2) eliminate an IMHO unnecessary step in colour allocation.
6377 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
6379 * BufferView_pimpl.C: compile fix
6381 2003-08-15 André Pönitz <poenitz@gmx.net>
6383 * rowpainter.C: remove extra metrics calls
6385 * lyxtext.h: merge the two constructors into a single one,
6386 pass reference to owner's par list
6388 * BufferView_pimpl.C:
6392 2003-08-15 André Pönitz <poenitz@gmx.net>
6394 * lyxrow_funcs.[Ch]:
6397 * paragraph_funcs.C:
6402 * text_funcs.C: split LyXText::rowlist_ into individual
6403 Paragraph::rows_ chunks
6406 * BufferView_pimpl.[Ch]:
6409 * text3.C: remove toggleSelection()
6411 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
6413 * bufferlist.C: beautify two alerts (shorter text of buttons)
6414 * buffer.C: Remove redundant ' ' from message
6416 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6417 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6418 rename VALIGN_CENTER to VALIGN_MIDDLE
6420 2003-08-11 André Pönitz <poenitz@gmx.net>
6422 * lyxtext.h (getPar):
6423 * text.C: new function
6425 2003-08-11 André Pönitz <poenitz@gmx.net>
6428 * tracer.[Ch]: remove unneeded files
6430 * InsetList.[Ch]: remove resizeInsetsLyXText()
6435 * text3.C: merge insertParagraphs() and appendParagraph()
6436 remove breakAgain(), update()
6438 * BufferView_pimpl.[Ch]:
6439 * bufferview_funcs.[Ch]:
6443 * tabular.C: adjust after text & InsetList changes.
6445 2003-08-08 André Pönitz <poenitz@gmx.net>
6447 * text.C (insertChar, backspace): replace rowlist fiddling
6448 with rebreak of full par
6451 * text.C (breakAgainOneRow, redoHeightOfParagraph,
6452 checkParagraph, updateInset): removed
6454 2003-08-07 André Pönitz <poenitz@gmx.net>
6457 * text3.C: merge some LFUN handlers, remove dead code
6459 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6461 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6463 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
6465 * text2.C (DEPM): fix part of bug 1255 and 1256
6467 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6469 * BufferView_pimpl.C (workAreaDispatch): change to use
6470 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6471 that are no mouse related.
6473 2003-08-05 André Pönitz <poenitz@gmx.net>
6476 * BufferView_pimpl.[Ch]:
6477 * bufferview_funcs.C:
6479 * text3.C: rip out "deep update"
6481 * textcursor.[Ch] (last_sel_cursor): remove unused member
6483 2003-08-04 André Pönitz <poenitz@gmx.net>
6486 * BufferView_pimpl.[Ch]:
6487 * ParagraphParameters.C:
6488 * bufferview_funcs.C:
6494 * text3.C: replace "complicated" BufferView::update(...) calls with
6497 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6499 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
6501 * Makefile.am (lyx_SOURCES): add paper.h
6503 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6505 * Makefile.am: move things around so that both lyx-qt and
6506 lyx-xforms can be built (according to --with-frontend). Then lyx
6507 is a symbolic link to lyx-[firstfrontend]
6509 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
6511 * Always use std::endl with lyxerr
6513 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
6515 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6517 2003-08-01 André Pönitz <poenitz@gmx.net>
6520 * BufferView_pimpl.[Ch]:
6522 * text3.C: merge BufferView::repaint() and BufferView::update()
6524 2003-08-01 José Matos <jamatos@lyx.org>
6526 * buffer.[Ch]: file_format is no longer a buffer data element.
6528 2003-08-01 André Pönitz <poenitz@gmx.net>
6533 * text2.C: make redoParagraph more independent of current cursor
6535 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6537 * text2.C: remove unneeded members
6539 2003-07-30 André Pönitz <poenitz@gmx.net>
6541 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6543 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6544 create a single function...
6546 * paragraph_funcs.C (moveItem): ... here.
6549 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6551 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6553 * LColor.[Ch]: Add comment and greyedout logical colors.
6555 2003-07-30 André Pönitz <poenitz@gmx.net>
6557 * tabular.C: don't use Assert too heavily. This crashes where it
6560 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
6562 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6563 is disabled (bug 1232)
6565 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6567 * factory.C: limited 'arg' scope
6569 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6571 * factory.C: fixed Note submenu issues
6573 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6575 * factory.C: submenu for Note/Comment/Greyedout
6577 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
6580 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6582 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
6585 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6586 greyedout. Patch provided by Jürgen Spitzmüller.
6588 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6590 * kbmap.C (read): fix error message when reading bind files
6592 2003-07-29 Angus Leeming <leeming@lyx.org>
6594 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6595 certainly does not do what it purports to do. I am doing it, and
6596 us, a favour by killing it.
6598 2003-07-28 José Matos <jamatos@lyx.org>
6600 * buffer.C (readBody, do_writeFile):
6601 * paragraph.C(readParagraph): \end_document replaces \the_end.
6603 2003-07-29 André Pönitz <poenitz@gmx.net>
6606 * BufferView_pimpl.[Ch]:
6610 * textcursor.[Ch]: remove toggleToggle & Co
6612 2003-07-28 José Matos <jamatos@fep.up.pt>
6614 * buffer.C (readParagraph):
6615 * params_func (readParToken, readParagraph):
6616 * paragraph.C (write): \layout -> \begin_layout.
6618 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6620 * lyxlex_pimpl.C (setFile): clean up slightly.
6622 * bufferparams.h: add compressed var
6624 * buffer_funcs.C (readFile): adjust for LyXLex change
6625 (newFile): ditto + simplify
6627 * buffer.C (writeFile): handle writing of compressed files
6629 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6630 Check if the file is compressed and set a bufferparm if so.
6632 * Makefile.am (lyx_LDADD): remove explicit -lz
6634 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6636 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6637 makeDocBookFile): put the real LyX version in the first line of
6641 * version.C.in: remove lyx_docversion
6643 * tabular.C (write_attribute): add a template-based version to
6644 write enums properly
6646 2003-07-28 André Pönitz <poenitz@gmx.net>
6651 * text3.C: use doubles again for x-coordinates. They are needed.
6653 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6655 * messages.C (getLocaleDir): use lyx_localedir()
6657 * lyxlex_pimpl.C (setFile): compress stuff
6659 * buffer.C (writeFile): add some compression stuff
6660 (do_writeFile): new func, dont call expliti close... will this
6663 * Makefile.am (lyx_LDADD): add -lz
6665 2003-07-28 José Matos <jamatos@fep.up.pt>
6667 * buffer.C: increment file format.
6668 * paragraph_funcs (readParagraph, readParToken):
6669 * paragraph.C (readParagraph): add \end_layout.
6671 2003-07-27 Angus Leeming <leeming@lyx.org>
6673 * Makefile.am: remove special casing for configure-time setting of
6674 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6676 * lyx_main.C (init): remove all Jean-Marc's magic setting of
6677 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6679 2003-07-26 André Pönitz <poenitz@gmx.net>
6681 * paragraph_func.[Ch]:
6682 * paragraph.C (realizeFont): inline it whereever it is used
6687 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6690 2003-07-26 André Pönitz <poenitz@gmx.net>
6694 * text2.C: get rid of LyXText::need_break_row
6696 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6698 * toc.[Ch]: put namespace toc inside namespace lyx
6700 * MenuBackend.C (expandToc2): adjust for lyx::toc
6703 * lyxfunc.C (dispatch): adjust for lyx::find
6705 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6706 lyx::find instead. Reorganize a bit.
6707 (LyXReplace): rename to replace
6708 (LyXFind): rename to find
6710 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6713 2003-07-26 André Pönitz <poenitz@gmx.net>
6715 * text.C (setHeightOfRow): restrict scope of temporary variable
6717 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
6718 code (never has been used?)
6720 2003-07-27 Asger Alstrup <alstrup@local>
6722 * text.C (fill): Optimise algorithm to exploit that we can reuse
6723 the LyXFont for many characters.
6724 (setHeightOfRow): Same thing.
6725 (rowBreakPoint): Same thing.
6727 2003-07-26 Asger Alstrup <alstrup@local>
6729 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6731 * text.C (singleWidth): Spurious font copying in hot-spot
6732 singleWidth avoided. Reorder tests for arabic for efficiency.
6734 * text.C (fill): handle empty paragraphs better.
6736 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6739 * encoding.h: add includes
6741 * lyxrc.C: remove reading of bind files
6743 * lyx_main.C (init): setup bindings and menus only if we have a
6746 * kbmap.C (read): new method. Do the actual reading of bind
6749 * converter.C (dvipdfm_options):
6752 (output): adapt PAPER_* enums.
6754 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6756 * bufferparams.h: remove paper-related enums from there
6758 * paper.h: New file. A trivial header file to hold paper-related
6759 enums. It should later expand to contain many paper-related
6762 * lyxrc.C: declare extern displayTranslator
6764 2003-07-27 José Matos <jamatos@fep.up.pt>
6766 * tabular.[Ch] (linuxdoc): add support for tables and figures
6769 2003-07-27 José Matos <jamatos@fep.up.pt>
6771 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6772 consistency in both functions.
6773 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6775 2003-07-26 Asger Alstrup <alstrup@local>
6777 * rowpainter.C (paintRows): Change algorithm to work directly on
6778 the insets rather than asking every character in the document
6779 whether its an inset.
6781 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
6783 * buffer.C (openFileWrite): factorize some code
6785 2003-07-26 Angus Leeming <leeming@lyx.org>
6788 * lyx_main.[Ch]: replace occurances of system_tempdir with
6791 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6793 * rename Inset to InsetOld
6795 2003-07-25 Asger Alstrup <alstrup@diku.dk>
6797 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6798 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6799 which I think is a bit clearer. EDIT is gone, since it was
6800 premature optimisation, and broken for mathed anyway.
6801 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6802 with cursor positioning in insets as well (math insets still do not
6803 work, but that's a different story anyway.) It mysteriously
6804 crashes sometimes with undo in the first paragraph, but I'm fairly
6805 confident that this is a compiler bug.
6807 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6809 * paragraph.C (Paragraph): adjust for new clone return type
6811 (copyIntoMinibuffer): ditto
6813 2003-07-25 Asger Alstrup <alstrup@lyx.org>
6815 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6816 by not having a special case, and always doing a full rebreak of
6817 the document after undo.
6819 2003-07-23 Angus Leeming <leeming@lyx.org>
6821 * factory.C (createInset): InsetExternal::setParams now takes a
6824 2003-07-23 Angus Leeming <leeming@lyx.org>
6826 * factory.C (createInset): changed interface to the external and
6827 graphics mailers' string2params functions.
6829 2003-07-23 Angus Leeming <leeming@lyx.org>
6831 * factory.C (createInset): pass a
6832 Buffer const * parameter to InsetExternalMailer's string2params.
6834 2003-07-22 John Levon <levon@movementarian.org>
6836 * Thesaurus.h: include the right aiksaurus header
6838 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6840 * MenuBackend.C (expand): check menu shortcuts unconditionally
6842 2003-07-21 Angus Leeming <leeming@lyx.org>
6844 * factory.C (createInset): pass a
6845 buffer_path parameter to InsetGraphicsMailer's string2params.
6847 2003-07-21 Angus Leeming <leeming@lyx.org>
6849 * BufferView_pimpl.C (buffer):
6852 * lyxfunc.C (dispatch):
6853 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6854 rather than the grfx shortcut.
6856 2003-07-21 André Pönitz <poenitz@gmx.net>
6858 * rowpainter.C: remove unused variables
6861 * tabular_funcs.h: move to tabular.C
6862 * Makefile.am: adjust
6864 * tabular.[Ch]: basic optical cleaning
6866 * author.h: pass references, not values
6868 2003-07-18 André Pönitz <poenitz@gmx.net>
6876 * text3.C: two-phase drawing for InsetText and InsetTabular
6877 some float -> int changes.
6879 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6881 * lyx_main.C: fix the fix
6883 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6885 * lyx_main.C: fix a crash in batch mode if no files specified
6888 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
6890 * format.[Ch] (papersize): moved to BufferParams
6891 * converter.[Ch] (dvips_options): moved to BufferParams
6892 (dvipdfm_options): moved to anon namespace
6893 * bufferparams.[Ch]: added above functions.
6895 2003-07-17 André Pönitz <poenitz@gmx.net>
6899 * text2.C: don't call inset->update() anymore
6901 * metricsinfo.[Ch]: add convenience constructor
6903 2003-07-16 André Pönitz <poenitz@gmx.net>
6908 * text2.C: replace the LyXCursor::irow_ member with
6909 on-demand computation of the value
6911 2003-07-16 John Levon <levon@movementarian.org>
6913 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6915 2003-07-15 André Pönitz <poenitz@gmx.net>
6918 * text2.C: remove no more needed refresh_row
6920 2003-07-15 André Pönitz <poenitz@gmx.net>
6925 * text3.C: refresh_status tristate -> need_update bool
6927 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
6929 * lyxtext.h (init): remove reinit argument (act as if always true)
6930 * text2.C: adjust to that
6932 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6934 * bufferview_funcs.[Ch]: introduce function replaceSelection()
6935 * text3.C: use it to delete selections in some cases
6936 (bugs 441, 673, 702, 954).
6938 2003-07-14 André Pönitz <poenitz@gmx.net>
6940 * rowpainter.[Ch]: reduce interface
6942 2003-07-14 André Pönitz <poenitz@gmx.net>
6944 * BufferView_pimpl.C:
6945 * text2.C: adjust after removing unused BufferView * argument
6947 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
6949 * text2.C (init): fix a crash fired on resize
6951 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
6953 * buffer.[Ch]: added new closing signal
6954 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6955 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6956 BufferView::Pimpl via the closing the signal
6958 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
6960 * buffer.[Ch]: take out all bv-related from buffer
6962 * BufferView_pimpl.[Ch]: connect to new signals
6963 * CutAndPaste.C: removed useless asserts
6964 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6967 * lyxfunc.C: moved view-related funciontality from vc here
6968 * paragraph.C: removed outdated comments
6971 2003-07-10 André Pönitz <poenitz@gmx.net>
6973 * BufferView_pimpl.C:
6977 * text2.C: remove InsetText::InnerCache, clean up consequences
6979 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
6981 * ispell.C: fix two typos in error messages
6983 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
6985 * Extend Note inset to other forms of annotation like Comment
6986 and Greyedout. Right button click gives dialog.
6988 Files modified or added (+):
6992 * ControlNote.[Ch] +
6994 * Makefile.am in frontends/xforms, frontends/xforms/forms,
6995 frontends/controllers
6999 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
7001 * aspell.C: add missing namespace lyx::support
7003 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
7005 * BufferView.[Ch] (newFile): Add
7006 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
7007 * LaTeX.[Ch] (message): added this signal and use it
7008 * buffer.[Ch] (busy, message): added these signals and use them
7009 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
7013 * importer.C: use buffer signals instead of direct bv calling
7014 * lyx_cb.[Ch] (ShowMessage): removed
7017 * paragraph_funcs.C:
7018 * text2.C: use buffer signals
7020 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7022 * introduce namespace lyx::graphics
7024 2003-07-02 André Pönitz <poenitz@gmx.net>
7026 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
7028 2003-07-01 André Pönitz <poenitz@gmx.net>
7035 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
7036 text*.C to text_func.C
7038 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7040 * introduce namespace lyx::support
7042 2003-06-30 André Pönitz <poenitz@gmx.net>
7047 * text.C: re-enable --with-included-string
7049 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7051 * textcursor.C: add <config.h>
7053 * text.C (getWord): remove const from word_location arg
7055 * lyxvc.C (getLogFile): fix const type order
7057 * lyxtext.h: remove const from word_location arg, add arg name
7059 * lyxlayout.h: currect type on labeltype.
7061 * importer.C: correct \file
7063 * converter.C (intToFormat): use std:: on ret val, ws changes
7065 * bufferlist.h: correct \file
7067 * buffer.C (makeLinuxDocFile): fix const type order
7068 (makeDocBookFile): ditto
7069 (fillWithBibKeys): use std:: on stdlib args.
7071 * CutAndPaste.C: fix authors.
7072 (availableSelections): use std:: on return vector
7074 2003-06-27 André Pönitz <poenitz@gmx.net>
7076 * BufferView_pimpl.C:
7077 * bufferview_funcs.C:
7085 * text3.C: remove LyXCursor::row_ member
7088 * text.C: rename fullRebreak() to partialRebreak() and implement
7089 a fullRebreak() that really bereks fully
7091 * textcursor.h: new struct for cursor-related data
7093 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
7095 * lyx_main.C (LyX): get full path of document loaded on the
7098 2003-06-26 André Pönitz <poenitz@gmx.net>
7100 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
7101 remove unused/broken operator>,<,>=.
7103 * text.C: remove only use of broken operator<= in an Assert().
7105 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
7107 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
7108 moved errorlist_.clear to showErrorList
7110 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
7112 * converter.C (scanLog, runLaTeX):
7113 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
7114 move the bv->showErrorList call to the callers
7115 * lyxfunc.C: i.e. here...
7117 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
7118 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
7119 namespace, the second to...
7120 * buffer_funcs (BufferFormat, parseErrors): added
7121 * errorlist.C (ErrorList(TeXErrors const &)): removed
7123 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7125 * ToolbarBackend.C (getIcon): complain when icon cannot be found
7127 2003-06-24 "Garst R. Reese" <reese@isn.net>
7131 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7133 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
7135 * version.C.in: change docversion to 1.4
7137 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
7139 * buffer.C: fix a bug just introduced
7141 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
7143 * buffer.[Ch]: added the parseError signal and use it, removed
7145 * BufferView.[Ch] (addError): moved to ...
7146 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
7147 to the Buffer::parseError signal to catch (guess what) parse errors
7148 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
7150 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
7152 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
7153 ability to create a buffer and to return an existing one from
7154 the list. Moved these functions to...
7155 * buffer_funcs.[Ch]: added
7156 * BufferView.[Ch] (loadLyXFile): added
7157 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
7158 job removed from bufferlist::loadLyXFile.
7159 * buffer.C (setReadOnly): make it work without view
7160 (i.e added an if (users))
7162 2003-06-19 Angus Leeming <leeming@lyx.org>
7165 * LyXAction.C (init):
7166 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
7167 with LFUN_DIALOG_SHOW <name> <data>.
7169 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7171 * CutAndPaste.C (availableSelections): small compilation fix for
7172 ancient (gcc 2.9x) compilers
7174 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
7176 * text3.C (cursorNext): add tmp var
7178 * text2.C (updateCounters): for function calling out of for clause
7179 (replaceSelectionWithString): ditto
7180 (insertStringAsParagraphs): ditto
7181 (getColumnNearX): add tmp var
7182 (setCursorFromCoordinates): add tmp var
7183 (cursorDownParagraph): add tmp var
7184 (deleteEmptyParagraphMechanism): add tmp var
7186 * text.C (insertChar): add tmp var
7188 * rowpainter.C (paintDepthBar): add tmp var
7190 * CutAndPaste.C (availableSelections): potentially check all
7191 paragraphs in a cut to fill the shown strings.
7193 2003-06-18 André Pönitz <poenitz@gmx.net>
7195 * kbmap.[Ch]: use vector<> instead of list<>
7197 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
7199 * text3.C (dispatch): handle arg to LFUN_PASTE, call
7200 pasteSelection with index
7202 * text2.C (pasteSelection): modify, call pasteSelection with index
7204 * paragraph.C (asString): reimplement version with no interval to
7205 call the one with interval.
7207 * lyxtext.h: add index arg to pasteSelection
7209 * MenuBackend.C (MenuItem): handle PasteRecent
7210 (Menu::read::Menutags): add md_pasterecent
7212 (expandPasteRecent): new function
7215 * MenuBackend.h: add PasteRecent to MenuItem::Kind
7217 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
7219 (availableSelections): new function
7221 2003-06-17 Angus Leeming <leeming@lyx.org>
7223 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
7225 2003-06-17 Angus Leeming <leeming@lyx.org>
7228 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
7230 * lyxfunc.C (dispatch): invoke it.
7232 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7234 * iterators.C (operator++, ParPosition): reintroduce some
7235 const_cast for the benefit of older compilers.
7237 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7239 * text3.C (dispatch): do not modify clipboard when doing
7240 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
7241 LFUN_DELETE_SKIP on a selection selection
7243 2003-06-16 André Pönitz <poenitz@gmx.net>
7249 * tabular.[Ch]: IU of clone() and getLabelList();
7251 2003-06-13 André Pönitz <poenitz@gmx.net>
7253 * tabular.h: compactification
7255 2003-06-12 André Pönitz <poenitz@gmx.net>
7259 * tabular_funcs.h: some renaming plus whitespace
7261 2003-06-12 André Pönitz <poenitz@gmx.net>
7264 * BufferView_pimpl.C:
7270 * toc.C: Return a Paragraph & for ParIterator::operator*()
7272 2003-06-11 John Levon <levon@movementarian.org>
7276 * ToolbarBackend.C: add "Toolbars" section and
7279 2003-06-10 Angus Leeming <leeming@lyx.org>
7282 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
7284 * lyxfunc.C (dispatch): invoke it.
7286 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7288 * main.C: protect <ios> with HAVE_IOS
7289 (main): protect sync_with_stdio with HAVE_IOS
7291 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
7293 * text2.C (cutSelection): adjust
7294 (pasteSelection): adjust
7296 * messages.C: handle get of empty string
7298 * main.C (main): use sync_with_stdio(false)
7300 * lyxfunc.C (dispatch): adjust
7302 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
7303 (WriteAs): remove unneeded BufferView arg.
7305 * bufferparams.h: use correct types on papersize, papersize2 and
7308 * bufferparams.C (readToken): adjust for type
7309 (writeLaTeX): add missing cases to switch.
7311 * bufferlist.C (quitWriteBuffer): adjust
7314 * buffer.C (asciiParagraph): remove some commented code.
7316 * CutAndPaste.C: remove current_view extern variable.
7317 (cutSelection): add BufferParams arg.
7318 (eraseSelection): add BufferParams arg.
7319 (pasteSelection): add Buffer const & arg
7321 2003-06-07 John Levon <levon@movementarian.org>
7324 * paragraph_funcs.C:
7325 * paragraph_pimpl.C:
7329 * paragraph.C: allow InsetERT to freely space lines,
7330 and some consolidation of code
7332 2003-06-06 José Matos <jamatos@fep.up.pt>
7334 * buffer.C (makeDocBookFile): fix bug #821
7336 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
7338 * BufferView_pimpl.C (dispatch): use Dialogs::visible
7340 2003-06-04 Angus Leeming <leeming@lyx.org>
7342 * buffer.C: bump format to 224.
7344 2003-06-05 André Pönitz <poenitz@gmx.net>
7346 * text2.C (redoParagraphs): remove two const_cast<>
7348 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
7350 * ParagraphList.h: remove last remnants of NO_STD_LIST
7352 2003-06-03 Angus Leeming <leeming@lyx.org>
7354 * factory.C (createInset): small change to the way InsetExternal's params
7357 2003-06-04 André Pönitz <poenitz@gmx.net>
7359 * buffer.h: use Undo directly instead of shared_ptr<Undo>
7361 * paragraph_pimpl.h:
7362 * paragraph.[Ch]: some Inset -> UpdatableInset changes
7364 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
7366 * undo_funcs.C: make some simple cases of undo work again
7368 2003-06-03 John Levon <levon@movementarian.org>
7370 * ispell.C: HPUX doesn't have sys/select.h
7373 2003-06-03 John Levon <levon@movementarian.org>
7375 * CutAndPaste.C: update tabular and include inset
7380 * paragraph.C: remove owningBuffer(), don't pass Buffer
7383 * factory.C: insetGraphicsParams changed
7385 2003-06-02 John Levon <levon@movementarian.org>
7391 * text3.C: remove insetparent
7393 2003-06-02 John Levon <levon@movementarian.org>
7396 * buffer.C: fix inset_iterator.end(), move out of line
7399 2003-06-01 John Levon <levon@movementarian.org>
7401 * text3.C: use a proper cut/paste when doing inset
7402 insert (from Jürgen Spitzmüller)
7404 2003-06-01 John Levon <levon@movementarian.org>
7406 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7408 2003-05-30 André Pönitz <poenitz@gmx.net>
7410 * rowpainter.C: unify second drawing phase
7412 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7414 * trans_mgr.C: remove one case of current_view
7416 * text2.C (cursorBottom): delete NO_STD_LIST stuff
7418 * paragraph_funcs.h: remove paragraph.h include
7420 * paragraph.h: delete NO_STD_LIST stuff
7422 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7424 * buffer.h: remove paragraph.h include
7426 * ParagraphList.C: delete file
7428 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7430 * toc.C (getTocList): adjust
7432 * paragraph_pimpl.C (validate): adjust
7434 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7436 * paragraph.C (Paragraph): adjust
7437 (getPositionOfInset): use const_iterator, adjust
7438 (bibitem): use const_iterator, adjust
7439 (setInsetOwner): adjust
7441 * iterators.C (operator++): adjust
7443 * InsetList.[Ch]: Replace selfmade iterator with standard
7444 vector::iterator also introduce const_iterator. Remove getPos,
7445 getInset and setInset from InsetTable. Adjust accordingly.
7447 * BufferView.C (lockInset): adjust
7448 (ChangeInsets): adjust
7450 * tabular.[Ch]: delete commented same_id functions
7452 2003-05-28 John Levon <levon@movementarian.org>
7454 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7456 2003-05-28 André Pönitz <poenitz@gmx.net>
7458 * metricsinfo.[Ch]: remove 'fullredraw' member
7460 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
7462 * lyxtextclass.C (operator): remove caching.
7464 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7468 * text2.C (cursorBottom): adjust
7469 (setCounter): use ParagraphList::find, adjust
7471 * text.C (workWidth): use ParagraphList::find, adjust
7473 * lyxcursor.C (LyXCursor): adjust
7475 * buffer.C (inset_iterator): adjust
7477 * ParagraphList.h: make iterator(value_type) private, make
7478 ParagraphList a friend of iterator.
7480 * ParagraphList.C (find): new function
7482 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7484 2003-05-27 André Pönitz <poenitz@gmx.net>
7486 * dimension.[Ch]: a -> asc, d -> des, w -> wid
7488 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7490 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7492 2003-05-26 John Levon <levon@movementarian.org>
7494 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7496 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
7498 * remove same_id from function signatures, adjust.
7500 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7502 * undo_funcs.C (createUndo): use the id functions directly, adjust.
7504 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7506 * paragraph.C (Paragraph): get rid of same_ids parameter
7508 * ParagraphList.C (insert): adjust
7511 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7513 * paragraph_funcs.C (breakParagraph): adjust
7514 (breakParagraphConservative): adjust
7516 * buffer.C (readParagraph): adjust
7518 * ParagraphList.C (insert): take a reference instead of a pointer
7521 * paragraph.[Ch] (id): new function
7523 * bufferlist.C (newFile): adjust
7525 * ParagraphList.C (ParagraphList): adjust
7527 (push_back): take a reference instead of a pointer.
7529 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7531 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7534 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7535 set else use old code.
7537 * ParagraphList.C: remove all NO_NEXT code and only compile this
7538 code of NO_STD_LIST is set.
7540 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7542 * BufferView_pimpl.C:
7552 * graphics/GraphicsConverter.C:
7553 * graphics/PreviewLoader.C: header adjustment
7555 2003-05-23 Angus Leeming <leeming@lyx.org>
7557 * LaTeXFeatures.[Ch] (useBabel): new method.
7558 * bufferparams.C (writeLaTeX): use it.
7560 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7562 * ParagraphList.h (set): remove unused function.
7564 2003-05-23 André Pönitz <poenitz@gmx.net>
7567 * BufferView_pimpl.C:
7571 * undo_funcs.C: setUndo reworked
7573 * iterators.[Ch]: add access to topmost ParagraphList
7575 * lyxtext.[Ch] (workWidth): add a const
7577 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7579 * texrow.[Ch] (increasePos): remove function
7580 * exporter.C (export): removed unused var and outdated comment
7582 2003-05-23 Angus Leeming <leeming@lyx.org>
7584 * latexrunparams.h: rename fragile as moving_arg.
7585 * paragraph.C (simpleTeXOnePar): ditto.
7586 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7588 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7590 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7592 (textUndoOrRedo): comment out a currently unused var.
7594 * paragraph.h (NO_NEXT): enable NO_NEXT
7596 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7598 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7600 * exporter.C (Export): adjust for removeAutoInsets removal.
7602 * buffer.C (runChktex): adjust for removeAutoInsets removal.
7604 * LyXAction.C (init): remove LFUN_REMOVEERRORS
7606 * BufferView.[Ch] (removeAutoInsets): delete function
7608 2003-05-22 Angus Leeming <leeming@lyx.org>
7610 * latexrunparams.h: add a free_spacing variable.
7612 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7613 to pass moving_arg, as the data is stored in runparams.fragile.
7615 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7616 to Inset::latexOptional or to simpleTeXOnePar.
7618 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7619 free_spacing arg to Inset::latexOptional.
7621 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7624 2003-05-22 Angus Leeming <leeming@lyx.org>
7626 * latexrunparams.h: add fragile and use_babel variables.
7628 * bufferparams.[Ch] (writeLaTeX): return use_babel.
7629 * buffer.C (makeLaTeXFile): store this returned value in
7630 runparams.use_babel, thus passing it to the inset::latex methods.
7632 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7633 simpleTeXSpecialChars as it is now stored in runparams.fragile.
7635 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7636 longer has a fragile arg, as it is stored in runparams.fragile.
7638 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7639 moving_arg parameter as the data is stored in runparams.fragile.
7641 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7642 a fragile parameter as the data is stored in runparams.fragile.
7644 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7646 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7648 2003-05-22 Angus Leeming <leeming@lyx.org>
7650 * latexrunparams.h: add a 'bool nice' which defaults to false.
7652 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7653 now encapsulated within runparams.
7655 * bufferlist.C (updateIncludedTeXfiles):
7656 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7658 2003-05-22 Angus Leeming <leeming@lyx.org>
7660 * latexrunparams.h: new file containing struct LatexRunParams.
7661 * Makefile.am: add new file.
7663 * LaTeX.[Ch] (c-tor, run):
7664 * buffer.[Ch] (makeLaTeXFile):
7665 * bufferlist.[Ch] (updateIncludedTeXfiles):
7666 * converter.C (convert, scanLog):
7667 * converter.[Ch] (runLaTeX):
7668 * exporter.C (Export):
7669 * paragraph.[Ch] (simpleTeXOnePar):
7670 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7671 * paragraph_funcs.[Ch] (latexParagraphs):
7672 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7673 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7674 pass around a LatexRunParams parameter.
7676 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7678 * paragraph.[Ch]: remove unused constructor
7680 * ParagraphList.C (erase): new function, taking two iterators
7682 2003-05-22 André Pönitz <poenitz@gmx.net>
7684 * undo_funcs.C: remove duplicated code
7686 * iterator.[Ch]: operator=
7688 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7690 * tabular.C (SetMultiColumn): ws changes
7692 * rowpainter.C (paintFirst): get rid of a ->previous
7694 * lyx_cb.C (getPossibleLabel): parlist simplification
7696 * BufferView.C (ChangeInsets): simplify slightly.
7698 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
7700 * LyXAction.C: new lfun space-insert, kill protected-space-insert
7701 * lfuns.h: new LFUN_SPACE
7702 * lyxfunc.C: protected space has a new lfun
7703 * paragraph_funcs.C: read new space insets
7705 * factory.C: handle new space insets
7707 2003-05-22 André Pönitz <poenitz@gmx.net>
7710 * BufferView_pimpl.C:
7713 * undo_funcs.C: return a ParIterator from getParFromID.
7715 * iterators.[Ch]: add two const's
7717 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7719 * toc.C (getTocList): adjust
7721 * iterators.[Ch]: rework for parlist
7723 * buffer.C (par_iterator_begin): adjust
7724 (par_iterator_end): adjust
7726 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7728 * BufferView.C (removeAutoInsets): adjust
7729 (ChangeInsets): adjust
7731 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
7733 * text.C (top_y): fix bug 1110
7735 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
7737 * errorlist.[Ch]: added
7740 * BufferView_pimpl.C:
7741 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7744 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7746 * Makefile.am: ensure that lyx is relinked upon changes to the
7747 various "convenience" libs.
7749 2003-05-20 Angus Leeming <leeming@lyx.org>
7751 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7752 files are compiled in alphabetical order again.
7754 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7756 2003-05-19 Angus Leeming <leeming@lyx.org>
7758 * gettext.[Ch]: remove "char const * _(char const *)".
7760 2003-05-19 André Pönitz <poenitz@gmx.net>
7762 * dimension.[Ch]: promote from mathed/dimension.[Ch]
7771 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7773 2003-05-19 André Pönitz <poenitz@gmx.net>
7777 * lyxtextclass.[Ch]:
7779 * paragraph_funcs.[Ch]:
7781 * text3.C: more insetenv work
7783 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
7785 * ParagraphParameters.C (params2string): small bug fixed
7787 2003-05-16 André Pönitz <poenitz@gmx.net>
7790 * bufferview_funcs.C: patch from Kornel Benko to prevent
7791 crash when _(...) is called twice in a statement
7793 2003-05-16 André Pönitz <poenitz@gmx.net>
7800 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7802 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
7804 * lyx_main.C (init): remove spurious static_cast
7806 2003-05-14 André Pönitz <poenitz@gmx.net>
7808 * BufferView.C: fix format string
7810 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
7812 * BufferView.[Ch] (insertErrors): removed
7813 * BufferView.[Ch] (showErrorList): added
7814 * buffer.C (runChkTeX):
7815 * converter.C (scanLog): call showErrorList instead of inserterrors
7817 2003-05-13 André Pönitz <poenitz@gmx.net>
7819 * BufferView_pimpl.C:
7821 * bufferview_func.C:
7828 * tabular_funcs.h: tostr() from its own header
7830 * ParagraphParameters.C:
7835 * text3.C: STRCONV()
7837 2003-05-12 André Pönitz <poenitz@gmx.net>
7840 * BufferView_pimpl.C:
7844 * ParagraphParameters.C:
7848 * bufferview_funcs.C:
7861 * paragraph_funcs.C:
7865 * text3.C: boost::format -> bformat all over the place
7868 2003-05-09 André Pönitz <poenitz@gmx.net>
7870 * LColor.[Ch]: Pimpl the #include <map> away
7872 2003-05-09 John Levon <levon@movementarian.org>
7874 * bufferlist.C: never remove emergency saves
7876 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7878 * Makefile.am: better lib building
7880 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
7882 * texrow.[Ch]: remove dependency on Paragraph and just store a id
7884 * paragraph_pimpl.C (simpleTeXBlanks): adjust
7885 (simpleTeXSpecialChars): adjust
7886 (simpleTeXSpecialChars): adjust
7887 * paragraph.C (simpleTeXOnePar): adjust
7888 * buffer.C (makeLaTeXFile): adjust
7890 * Makefile.am (BOOST_LIBS): allow boost as system lib.
7892 * text2.C (changeDepth): parlist cleanup
7893 (getColumnNearX): ditto
7895 * rowpainter.C (getLabelFont): parlist cleanup
7897 * bufferlist.C (newFile): parlist cleanup
7899 * CutAndPaste.C (eraseSelection): parlist cleanup
7901 * BufferView_pimpl.C (trackChanges): parlist cleanup
7904 * BufferView.C (lockInset): parlist cleanup.
7905 (ChangeInsets): ditto
7907 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7909 * CutAndPaste.h: Update file header.
7911 * CutAndPaste.C: Update file header.
7912 Store the parts cut out of the Document in a limited_stack.
7913 (copySelection): adjust
7914 (pasteSelection): new function, takes the index in the limited stack.
7915 (nrOfParagraphs): adjust
7916 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7917 simplify error inset insertion.
7918 (checkPastePossible): adjust
7920 2003-05-06 John Levon <levon@movementarian.org>
7922 * text2.C: don't cast wrap inset to float
7924 2003-05-05 André Pönitz <poenitz@gmx.net>
7927 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7929 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7930 few naked Paragraph *.
7932 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
7934 * bufferparams.C: Output warning if a document with missing
7935 TeX document class is loaded
7936 * exporter.C: Disable TeX exports if the document class is missing
7939 * lyxtextclasslist.C: Handle new textclass.lst format; new method
7940 isTeXClassAvailable()
7942 2003-05-03 John Levon <levon@movementarian.org>
7945 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7946 explicit cursor show/hide
7948 * BufferView_pimpl.h:
7949 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7950 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7952 * lyxfunc.C: hide cursor before dispatching.
7957 * text3.C: remove explicit cursor hides
7959 2003-05-02 André Pönitz <poenitz@gmx.net>
7961 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7964 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7967 * text2.C: tiny whitespace
7969 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7971 * undo_funcs.C: almost only ws changes.
7973 * ParagraphList.C (splice): just return if pl is empty.
7975 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7977 * ParagraphList.C (splice): new function.
7979 * CutAndPaste.C (pasteSelection): use it
7981 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7983 * CutAndPaste.C (pasteSelection): remove the last next and
7984 previous from this file.
7986 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7988 * CutAndPaste.C (pasteSelection): more clean up, user proper
7989 ParagraphList functions for pasteing.
7991 * ParagraphList.C (insert): new function, three arg insert
7993 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7995 * ParagraphList.C (insert): new function, three arg insert
7997 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
8000 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8002 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
8004 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8006 * CutAndPaste.C (pasteSelection): remove some unneeded code.
8008 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8010 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
8011 (copySelection): clean up a bit.
8012 (pasteSelection): use make_pair
8014 * ParagraphList.C (ParagraphList): implement copy constructor
8015 (operator=): implement, base on copy constructor.
8018 * paragraph.C (erase): return a bool
8020 * paragraph_pimpl.C (erasePos): remove function, move contents...
8021 (erase): ... here. Return a bool.
8022 (erase): call erase instead of erasePos.
8024 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
8026 * ParagraphList.h: define PitPosPair
8027 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
8028 ParagraphList, fix a bug on pasting multiple pars
8029 * text2.C: change interface to C&P
8031 2003-04-30 André Pönitz <poenitz@gmx.net>
8033 * undo_func.C: revert part of yesterday's patch 2
8035 2003-04-30 John Levon <levon@movementarian.org>
8037 * LColor.C: s/tabular/table/
8039 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8041 * text3.C (dispatch): do not convert iterator -> pointer
8042 * undo_funcs.C (setCursorParUndo): ditto
8043 * text_funcs.C (transposeChars): ditto
8045 * text2.C (setLayout): ws changes only
8047 * text.C (breakParagraph): do not convert iterator -> pointer
8049 (acceptChange): ditto
8050 (rejectChange): ditto
8055 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
8058 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
8060 * text3.C (gotoInset): YABG (yet another bad getChar)
8062 2003-04-29 André Pönitz <poenitz@gmx.net>
8064 * paragraph.h: make operator= private unimplemented as long as
8067 * ParagraphList.C: whitespace
8070 * paragraph_pimpl.[Ch]:
8071 * paragraph_funcs.C:
8073 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
8076 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
8078 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
8080 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
8081 * paragraph.[Ch] (erase):
8082 * paragraph_pimpl.[Ch] (erase): change return type and value
8083 * text2.C (cutSelection): some rework
8085 2003-04-28 John Levon <levon@movementarian.org>
8087 * bufferlist.C: changes for unsaved changes dialog
8089 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8091 * bufferlist.C (newFile): set language (messages_) for new
8094 * buffer.C (readFile): ws changes only.
8096 2003-04-28 André Pönitz <poenitz@gmx.net>
8101 * BufferView_pimpl.C:
8102 * BufferView.C: getParFromID related ParagraphList::iterator changes
8104 2003-04-28 André Pönitz <poenitz@gmx.net>
8106 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
8109 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8111 * messages.C: remove one more localedir class variable.
8113 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8115 * messages.C (getLocaleDir): singleton generation function
8117 (Messages): add a default constructor.
8119 * main.C (main): do not setup localedir here, do not call
8122 * gettext.C (_): use it.
8123 (gettext_init): delete funciton
8125 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8127 * gettext.C (getLyXMessages): new singleton generating function.
8129 * buffer.C (updateDocLang): adjust
8131 * Makefile.am (messages.o): add target
8132 (main.o): remove target
8134 2003-04-27 John Levon <levon@movementarian.org>
8139 * lyxvc.C: specify cancel button in Alert::prompt
8141 2003-04-26 John Levon <levon@movementarian.org>
8146 * LyXAction.C: add LFUN_INSET_SETTINGS
8148 * lyxfunc.C: don't enable tabular-feature when there's
8149 just any locking inset
8151 2003-04-26 John Levon <levon@movementarian.org>
8153 * bufferlist.C: re-add Cancel to buffer close question
8155 * lyxfunc.C: fix import UI a bit
8157 2003-04-25 John Levon <levon@movementarian.org>
8159 * gettext.C: remove the broken asserts for now
8161 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
8163 * messages.C: make case where setlocale cannot comply work better.
8165 * buffer.C (updateDocLang): new function
8166 (changeLanguage): use it
8169 * text2.C (setCounter): use B_ a bit.
8171 * lyxlayout.C (Read): be sure to trim the label strings.
8173 * messages.C (Messages): fix typo in comment
8175 * buffer.C (readFile): set message_ after file is loaded.
8176 (makeDocBookFile): remove double return
8177 (changeLanguage): reset message_ upon language change.
8178 (B_): new func, use this to get translated buffer strings.
8180 * main.C: add myself and Jean Marc as authors.
8182 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
8184 * messages.[hC]: pimplify Messages, and three different pimpls to be
8185 used in different circumstances.
8187 * gettext.[Ch]: change for use with new message code.
8189 2003-04-24 André Pönitz <poenitz@gmx.net>
8191 * factory.C: support for eqref
8193 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
8195 * messages.[Ch]: add missing char
8197 * Makefile.am (lyx_SOURCES): add messages.[Ch]
8199 * messages.[Ch]: New files
8201 2003-04-18 John Levon <levon@movementarian.org>
8205 * BufferView_pimpl.C:
8209 * text2.C: remove layout-copy/paste (bug 778)
8211 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
8213 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
8215 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
8217 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
8218 if they succeed. Act accordingly.
8220 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8222 * text2.C (setCharFont): adjust
8223 (setCounter): adjust
8224 (insertStringAsLines): adjust
8226 * text.C (leftMargin): adjust
8227 (setHeightOfRow): adjust
8229 * rowpainter.C (paintFirst): adjust
8232 * paragraph_funcs.C (depthHook): ParagraphList::iterators
8234 (isFirstInSequence): ditto
8235 (getEndLabel): ditto
8238 * paragraph.C (getParLanguage): comment out some hard stuff.
8240 * buffer.C (insertStringAsLines): take a ParagraphList as arg
8242 (simpleDocBookOnePar): ditto
8243 (makeDocBookFile): use ParagraphList::iterator
8245 * CutAndPaste.C (pasteSelection): adjust
8247 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8249 * text2.C (getFont): adjust
8250 (getLayoutFont): adjust
8251 (getLabelFont): adjust
8253 * paragraph_funcs.C (TeXOnePar): adjust
8255 * buffer.C (simpleLinuxDocOnePar): adjust
8256 (simpleDocBookOnePar): adjust
8258 * CutAndPaste.C (pasteSelection): adjust
8260 * BufferView.C (getEncoding): adjust
8262 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
8264 2003-04-16 John Levon <levon@movementarian.org>
8266 * lyxfind.C: use parlist stuff for search/changes
8268 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8270 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
8272 * text2.C (deleteEmptyParagraphMechanism): adjust
8274 * text2.[Ch] (ownerParagraph): delete func (both of them
8276 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8278 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
8280 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8282 * ParagraphList.C: prepare for NO_NEXT
8284 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8286 * text2.C (getFont): adjust
8287 (getLayoutFont): adjust
8288 (getLabelFont): adjust
8290 * paragraph.C (getFont): adjust
8291 (getLabelFont): adjust
8292 (getLayoutFont): adjust
8294 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
8296 2003-04-15 John Levon <levon@movementarian.org>
8300 * lyx_main.C: handle Include in .ui files
8302 2003-04-15 John Levon <levon@movementarian.org>
8304 * MenuBackend.C: make the doc files length shorter
8307 * ToolbarBackend.C: handle toolbar placement flags,
8310 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8312 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
8315 * paragraph_funcs.C (TeXOnePar): adjust
8317 * paragraph.C (getLabelFont): add outerfont arg, adjust
8318 (getLayoutFont): ditto
8319 (simpleTeXOnePar): adjust
8321 * paragraph_pimpl.C (realizeFont): delete func
8323 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
8325 * text2.C (beforeFullRowInset): added a bad getchar check, removed
8326 row argument, constify cur argument.
8328 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8330 * text2.C (getFont): adjust
8331 (getLayoutFont): adjust
8332 (getLabelFont): adjust
8334 * paragraph_funcs.C (TeXOnePar): adjust
8335 (outerFont): new func...
8336 (realizeFont): ...moved out from here, changed this to facilitate
8339 * paragraph.C (getFont): take outerfont as arg, adjust
8340 (simpleTeXOnePar): add outerfont arg, adjust
8342 * buffer.C (simpleLinuxDocOnePar): adjust
8343 (simpleDocBookOnePar): adjust
8345 * CutAndPaste.C (pasteSelection): adjust
8347 * BufferView.C (getEncoding): adjust
8349 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8351 * text2.C (setCharFont): adjust
8352 (setCounter): adjust
8354 * text.C (leftMargin): adjust
8355 (setHeightOfRow): adjust
8357 * rowpainter.C (paintFirst): adjust
8360 * paragraph_pimpl.C (realizeFont): adjust
8362 * paragraph.C (isFirstInSequence): move from here...
8363 * paragraph_funcs.C (isFirstInSequence): ...to here
8365 * paragraph.C (outerHook): move from here...
8366 * paragraph_funcs.C (outerHook): ...to here
8368 * paragraph.C (depthHook): move from here...
8369 * paragraph_funcs.C (depthHook): ...to here
8371 * paragraph.C (getEndLabel): move from here...
8372 * paragraph_funcs.C (getEndLabel): ...to here
8374 * text2.C (realizeFont): move from here...
8375 * paragraph_funcs.C (realizeFont): ...to here
8377 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8379 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
8381 2003-04-14 Angus Leeming <leeming@lyx.org>
8383 * LColor.[Ch]: scrap LColor mathcursor.
8385 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8387 * lyxlex.[Ch] (text): delete function
8388 * trans.C (Load): adjust
8389 * paragraph_funcs.C (readParToken): adjust
8391 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8393 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8394 vector<char> instead of a char[].
8396 * lyxlex_pimpl.C (getString): adjust
8398 (lex): use getString
8402 * lyxlex.C (text): use pimpl_->getString()
8406 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8408 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8409 (makeFontEntriesLayoutSpecific): temp var for par.size()
8410 (setLayout): temp var for ownerParagraphs().end()
8411 (fullRebreak): temp var for rows().end()
8412 (selectionAsString): temp var for boost::next(startpit), realize
8413 that the while really is a regular for loop.
8414 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8415 setCursor in one place.
8416 (setParagraph): temp vr for ownerParagraphs().end()
8417 (updateCounters): make the while loop a for loop
8418 (cutSelection): temp var for ownerParagraphs().end()
8419 (updateInset): make the do {} while() a regular for loop
8420 (getCursorX): use temp vars
8421 (setCurrentFont): use temp vars
8422 (getColumnNearX): use temp vars
8424 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8426 * text.C (transformChar): use temp var for getChar
8427 (computeBidiTables): use temp var for row->par()
8428 (fill): move temp vars for row->par() and pit->layout() earlier in
8430 (labelFill): use temp var for row->par()
8431 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8432 asc and desc, realize that pit never changes and that firstpit is
8433 just a duplicate and not needed. Exchange rit->par() with pit in a
8435 (breakAgain): use a temp var for boost::next(rit)
8436 (breakAgainOneRow): ditto
8437 (breakParagraph): use a temp var for rows().begin()
8438 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8439 (cursorRightOneWord): use temp var for cursor.par() and
8440 cursor.pos(), remove usage of tmpcursor.
8441 (cursorLeftOneWord): use temp var for cursor.par() and
8442 cursor.pos() only set cur at end of function.
8444 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8446 * text.C, text2.C: exchange all usage of Paragraph::next with
8447 boost::next(ParagraphList::iterator)
8449 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8451 * text2.C (cursorTop): simplify implementation
8452 (cursorBottom): ditto
8453 (setParagraph): use ParagraphList::iterator
8454 (setCurrentFont): adjust
8455 (getColumnNearX): adjust
8456 (cursorRight): adjust
8457 (cursorLeft): remove usage of Paragraph::previous
8458 (cursorUpParagraph): ditto
8459 (deleteEmptyParagraphMechanism): slight cleanup
8461 * text.C (isBoundary): take a Paragraph const & instead of a
8463 (addressBreakPoint): ditto
8464 (leftMargin): remove usage of Paragraph::previous.
8465 (setHeightOfRow): ditto
8466 (cursorLeftOneWord): ditto
8467 (selectNextWordToSpellcheck): ditto
8470 (breakParagraph): remove one usage of Paragraph::next
8471 (redoParagraph): ditto
8472 (acceptChange): ditto
8473 (insertChar): adjust
8474 (rowBreakPoint): adjust
8476 * bufferview_funcs.C (toggleAndShow): adjust
8478 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
8480 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8481 methods to access it.
8483 * text.C: Added updateRowPositions to compute all row positions.
8484 Make top_y and getRowNearY() to use the cached y position
8486 2003-04-11 John Levon <levon@movementarian.org>
8488 * text.C (rowBreakPoint): reintroduce the labelEnd
8489 checks, code copied from the row fill stuff. Deep voodoo.
8491 * text.C (fill): add a comment and debugging for the
8494 2003-04-11 John Levon <levon@movementarian.org>
8496 * text.C: make sure fullrow insets get wrapped to the next line,
8497 even when they're in a manual label
8499 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
8501 * text2.C (insertParagraph): make it take ParagraphList::iterator
8503 (setLayout): make it return ParagraphList::iterator
8504 (redoParagraphs): ditto
8506 (checkParagraph): ditto
8508 * text.C (getRow): make getrow take ParagraphList::iterator as arg
8510 * text2.C: adjust several funcs.
8511 (realizeFont): take a ParagraphList::iterator as arg.
8512 (getLayoutFont): ditto
8513 (getLabelFont): ditto
8514 (setCharFont): ditto
8516 * text.C: adjust several funcs.
8518 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8520 * text.C (selectNextWordToSpellcheck): don't accidentally
8523 2003-04-10 John Levon <levon@movementarian.org>
8525 * ToolbarBackend.C (getIcon): special handling for
8528 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8530 * text2.C (cursorRight): a getChar assert fixed
8532 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8534 * text2.C (getFont): change to take a ParagraphList::iterator
8535 instead of Paragraph*
8536 Adjust several functions.
8538 * text.C (transformChar): change to take a ParagraphList::iterator
8539 instead of Paragraph*
8540 (singleWidth): ditto
8541 Adjust several functions.
8543 * rowpainter.C: adjust several functions
8544 * rowpainter.h:store a ParagraphList::iterator and not a
8548 2003-04-09 John Levon <levon@movementarian.org>
8553 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8554 and the "help" bits as well
8556 2003-04-09 John Levon <levon@movementarian.org>
8559 * ToolbarBackend.C: allow multiple toolbars
8561 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8563 * undo_funcs.C (setCursorParUndo): adjust
8565 * text_funcs.C (transposeChars): adjust
8567 * text3.C (gotoNextInset): adjust
8570 * text2.C (setLayout): adjust
8571 (changeDepth): adjust
8573 (redoParagraphs): adjust
8574 (selectionAsString): adjust
8575 (setParagraph): adjust
8576 (insertInset): adjust
8577 (cutSelection): adjust
8578 (copySelection): adjust
8579 (pasteSelection): adjust
8580 (insertStringAsLines): adjust
8581 (updateInset): adjust
8582 (setCursor): change to take a ParagraphList::iterator parameter
8583 (setCursorIntern): change to take a ParagraphList::iterator parameter
8584 (setCurrentFont): adjust
8585 (cursorLeft): adjust
8586 (cursorRight): adjust
8587 (deleteEmptyParagraphMechanism): adjust
8589 * text.C (breakParagraph): adjust
8590 (insertChar): adjust
8591 (acceptChange): adjust
8592 (rejectChange): adjust
8593 (selectNextWordToSpellcheck): adjust
8594 (changeCase): adjust
8598 * lyxfind.C (SearchForward): adjust
8599 (SearchBackward): adjust
8600 (nextChange): adjust
8602 * lyxcursor.C (par): adjust
8604 * lyxcursor.h: store a ParagraphList::iterator instead of a
8607 * lyx_cb.C (getPossibleLabel): adjust
8609 * bufferview_funcs.C (toggleAndShow): adjust
8611 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8614 * BufferView.C (removeAutoInsets): adjust
8615 (lockedInsetStoreUndo): adjust
8617 2003-04-09 John Levon <levon@movementarian.org>
8619 * ToolbarBackend.C: try icon without argument
8620 if with argument fails
8622 2003-04-08 John Levon <levon@movementarian.org>
8625 * ToolbarBackend.C: add getIcon(), handle tooltip,
8626 and change from "Icon" to "Item".
8628 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8630 * BufferView.C (lockInset): another bad getchar crunched
8632 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8634 * text2.C (changeDepth): do not setUndo on test_only (make undo work
8637 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
8639 * lyxfind.C (searchForward, searchBackwards): bug 782
8641 2003-04-07 John Levon <levon@movementarian.org>
8643 * paragraph.C: remove dead comment
8645 * text.C: remove troublesome depth-fiddling code
8646 in leftMargin() and rightMargin() (bug 1017)
8648 * text.C: fix breaking of rows in nested lists
8651 * text2.C (updateCounters): fix up depth values
8654 2003-04-07 John Levon <levon@movementarian.org>
8656 * BufferView_pimpl.C: clear message when doc finishes resizing,
8657 and after a mouse event
8659 * lyxfunc.C: clear message after exiting inset
8661 2003-04-07 John Levon <levon@movementarian.org>
8663 * bufferview_funcs.C: show math status not outside
8664 status in the statusbar
8666 2003-04-07 John Levon <levon@movementarian.org>
8668 * lyxfunc.C: note status changed after a depth change
8670 2003-04-04 Angus Leeming <leeming@lyx.org>
8672 * LaTeX.h: move AuxInfo operator==, != out of line.
8673 Remove LaTeX virtual destructor; nothing derives from it.
8674 Move operator()() out of public area and rename it startscript().
8675 Change protected for private.
8677 2003-04-04 Angus Leeming <leeming@lyx.org>
8680 * text2.C: remove unneeded #includes.
8682 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8684 * text2.C (dEPM): fix the heigth of the next row
8686 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8688 * text.C: squashed an invalid getChar requester + some ws changes
8690 2003-04-03 John Levon <levon@movementarian.org>
8692 * bufferview_funcs.h:
8693 * bufferview_funcs.C:
8696 * text2.C: make getStatus work for the env depth lfuns
8698 2003-04-03 John Levon <levon@movementarian.org>
8700 * bufferview_funcs.h:
8701 * bufferview_funcs.C:
8704 * text2.C: parlistize decDepth(), by merging it with incDepth()
8706 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8708 * lyxrow.h: store a ParagraphList::iterator instead of a
8709 Paragraph* and adjust other class functions to suit.
8711 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8714 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8716 * text2.C (setCursor): do not anchor to cursor row for the time being
8718 2003-04-02 John Levon <levon@movementarian.org>
8725 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8727 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8729 * paragraph.h: make ParagraphList and ParagraphList::iterator
8730 friends of Paragraph.
8732 * buffer.C (makeLinuxDocFile): move towards ParagraphList
8734 * ParagraphList.C: Use the private next_ and previous_ from
8737 2003-04-01 John Levon <levon@movementarian.org>
8741 * Makefile.am: rename, remove defaults gunk
8744 * MenuBackend.C: remove defaults gunk
8747 * Languages.C: remove defaults gunk
8750 * lyx_main.C: error out if files couldn't be found.
8752 2003-04-02 John Levon <levon@movementarian.org>
8754 * text2.C: make incDepth() use parlist
8756 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8758 * undo_funcs.C (firstUndoParagraph): adjust
8760 * text3.C (gotoInset): adjust
8761 (dispatch): adjust, and rewrite loop.
8763 * text2.C (init): adjust, and rewrite loop.
8764 (redoParagraphs): adjust
8765 (updateInset): adjust, and rewrite loop.
8766 (deleteEmptyParagraphMechanism): adjust
8768 * tabular.C (LyXTabular): adjust
8769 (SetMultiColumn): adjust
8772 * lyxtext.[Ch] (ownerParagraph): delete function
8773 (ownerParagraphs): new function returns a ParagraphList.
8775 * BufferView.C (removeAutoInsets): adjust
8776 (insertErrors): adjust
8777 (setCursorFromRow): adjust
8779 2003-04-01 Angus Leeming <leeming@lyx.org>
8781 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8784 2003-04-02 John Levon <levon@movementarian.org>
8790 * text_funcs.C: make transposeChars a free function
8792 * lyxrow_funcs.C: remove wrong comment
8794 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8797 * rowpainter.C: adjust
8802 * lyxrow_funcs. [Ch]: new files
8804 * lyxrow.[Ch]: remove next and previous pointers
8805 (next,previous): remove accessor functions
8806 (isParEnd): move to lyxrow_funcs
8807 (lastPos): move to lyxrow_funcs
8808 (nextRowIsAllInset): move to lyxrow_funcs
8809 (lastPrintablePos): move to lyxrow_funcs
8810 (numberOfSeparators): move to lyxrow_funcs
8811 (numberOfHfills): move to lyxrow_funcs
8812 (numberOfLabelHfills): move to lyxrow_funcs
8813 (hfillExpansion): move to lyxrow_funcs
8817 * bufferview_funcs.C (toggleAndShow): adjust
8819 * RowList.h: Remove class RowList from file leave just a
8822 * RowList.C: delete file
8824 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8827 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8829 * text3.C (cursorPrevious): adjust
8830 (cursorNext): adjust
8833 * text2.C (redoHeightOfParagraph): adjust
8834 (redoDrawingOfParagraph): adjust
8837 * text.C (breakParagraph): adjust
8838 (insertChar): adjust
8841 * rowpainter.C (RowPainter): adjust
8842 (leftMargin): simplify and adjust
8843 (most rowpainter functions): adjust.
8845 * rowpainter.h: store the row as RowList::iterator not as Row*
8847 * lyxcursor.C (row): taka RowList::iterator as arg
8850 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8853 2003-04-01 Angus Leeming <leeming@lyx.org>
8855 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8856 stuff like bool Bool.
8858 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8860 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8863 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8865 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8868 * lyxtext.h (rows): drop one version and leve a const variant that
8869 returns a RowList::iterator.
8871 2003-03-31 Angus Leeming <leeming@lyx.org>
8873 * text.C (fill): ensure that the signature is the same as that in the
8876 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
8878 * text2.C (redoParagraphs): adjust
8879 (updateCounters): adjust
8880 (checkParagraph): adjust
8881 (getColumnNearX): adjust and reformat a bit.
8883 * text.C (top_y): adjust
8885 (leftMargin): adjust
8886 (prepareToPrint): adjust
8888 (getRowNearY): adjust
8890 * lyxtext.h: make rowlist_ mutable.
8892 * RowList.h: add const_iterator
8893 * RowList.C: adjust for RowList::const_iterator.
8895 * text2.C (getCursorX): make it take a RowList::iterator as arg,
8898 2003-03-31 John Levon <levon@movementarian.org>
8901 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8903 * lyx_main.C: set default fonts from using lyx_gui funcs
8905 * exporter.C: pdf_mode moved from lyxrc
8908 * lyxfunc.C: changes from above
8910 2003-03-31 John Levon <levon@movementarian.org>
8912 * lyx_main.C: fix to the last fix
8914 2003-03-31 John Levon <levon@movementarian.org>
8916 * bufferlist.C: "Load original" -> "Load Original"
8922 * format.C: more Alert cleanups
8924 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8926 * text2.C (removeParagraph): make it take a RowList::iterator as
8928 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8929 (postRowPaint): make it take a RowList::iterator as arg, adjust.
8931 * text.C (anchor_row): make it take a RowList::iterator as arg,
8933 (computeBidiTables): make it take a const reference to Row instead
8934 of Row pointer, adjust.
8935 (leftMargin): make it take a RowList::iterator as arg, adjust.
8936 (rowBreakPoint): adjust
8937 (breakAgainOneRow): make it take a RowList::iterator as arg,
8939 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8941 * bufferview_funcs.C (toggleAndShow): adjust
8943 2003-03-30 John Levon <levon@movementarian.org>
8947 * boost-inst.C: moved to support
8949 * several files: changes as a result
8951 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8953 * text2.C (LyXText): adjust.
8955 (removeRow): make it take a RowList::iterator as arg, adjust.
8956 (fullRebreak): adjust
8957 (deleteEmptyParagraphMechanism): adjust
8958 (clearPaint): adjust
8961 * text.C (top_y): adjust
8962 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8963 (breakAgain): make it take a RowList::iterator as arg, adjust.
8964 (breakParagraph): adjust
8965 (insertChar): adjust
8968 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8969 need_break_row, and refresh_row.
8971 * text3.C (dispatch): adjust
8973 * text2.C (checkParagraph): adjust
8975 (setCursorFromCoordinates): adjust
8977 * text.C (top_y): adjust
8979 (getRow): make it return a RowList::iterator, adjust
8980 (getRowNearY): make it return a RowList::iterator, adjust
8982 * text2.C (init): adjust
8983 (insertRow): remove function
8984 (insertParagraph): adjust
8985 (redoParagraphs): adjust
8986 (fullRebreak): adjust
8987 (updateCounters): adjust
8989 * text.C (top_y): rewrite to use RowList iterators.
8991 (setHeightOfRow): rewrite to sue RowList iterators.
8992 (appendParagraph): adjust
8993 (breakAgain): adjust
8994 (breakAgainOneRow): adjust
8995 (breakParagraph): adjust
8997 (getRowNearY): adjust, and remove commented code.
8999 * lyxtext.h (firstRow): delete function
9000 (lastRow): delete function
9001 (rows): new function (const and non-const versions.)
9002 (insertRow): delete function
9004 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
9006 2003-03-29 John Levon <levon@movementarian.org>
9008 * BufferView_pimpl.C: always update scrollbar top
9009 because pasting text when we're anchored could mean we
9010 miss an update altogether
9012 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
9014 * text2.C (init): use rowlist_.end() and not 0.
9015 (insertRow): change to take a RowList::iterator as arg, adjust
9017 (insertParagraph): change to take a RowList::iterator as arg,
9019 (redoParagraphs): remove some debug msgs.
9021 * text.C (appendParagraph): change to take a RowList::iterator
9022 arg, adjust for this.
9023 (breakAgain): add an assert
9024 (breakAgainOneRow): ditto
9026 2003-03-29 John Levon <levon@movementarian.org>
9028 * text2.C: do not clear selection after inc/decDepth
9031 2003-03-29 John Levon <levon@movementarian.org>
9034 * buffer.C: fix broken strerrors according to Lars
9036 2003-03-29 John Levon <levon@movementarian.org>
9038 * converters.C: more Alert cleanups
9040 2003-03-29 John Levon <levon@movementarian.org>
9042 * bufferview_funcs.C: remove pointless Alert
9044 * buffer.C: fix confusing error message when
9045 a template is chmoded 000
9047 2003-03-29 John Levon <levon@movementarian.org>
9051 * BufferView_pimpl.C: Alert fixes
9055 * tabular-old.C: remove unused table compat reading
9057 2003-03-29 John Levon <levon@movementarian.org>
9062 * lyx_cb.C: more Alert cleanups
9064 * lyxfunc.C: don't allow chktex if not latex document
9066 2003-03-29 John Levon <levon@movementarian.org>
9070 * buffer.C: warnings pushed down from support/,
9073 2003-03-29 John Levon <levon@movementarian.org>
9075 * lyxfunc.C: safety check for C-r (revert)
9077 2003-03-29 John Levon <levon@movementarian.org>
9080 * bufferlist.C: several UI fixes using Alert::prompt.
9081 Fix the pointless looping quit code. Fix stupid revert
9086 * lyx_cb.C: use Alert::prompt
9088 * lyx_main.C: remove a silly question
9090 * lyxfunc.C: remove a couple of silly questions,
9093 2003-03-28 John Levon <levon@movementarian.org>
9095 * text2.C: fix bug 974 (End on empty par)
9097 2003-03-28 John Levon <levon@movementarian.org>
9099 * BufferView_pimpl.C:
9101 * lfuns.h: remove do-nothing math greek lfuns
9103 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
9105 * lyxgluelength.h (isValidGlueLength): add default arg on
9106 parameter 2. Remove default arg from friend in class.
9108 * lyxlength.h (isValidLength): add default arg on parameter 2.
9109 Remove default arg from friend in class.
9111 * text2.C (LyXText): adjust, initialize refresh_row.
9115 (insertParagraph): adjst
9116 (redoParagraphs): adjust
9117 (fullRebreak): adjust
9118 (updateCounters): adjust
9119 (deleteEmptyParagraphMechanism): first attempt at fixing a
9122 * text.C (top_y): adjust
9123 (setHeightOfRow): adjust
9125 (getRowNearY): adjust
9127 * lyxtext.h: include RowList.h
9128 (~LyXText): not needed anymore, deleted.
9129 (firstRow): modify for RowList
9130 (lastRow): new function
9131 Delete firstrow and lastrow class variables, add a Rowlist
9132 rowlist_ class variable.
9134 * lyxrow.C (lastPos): use empty() and not !size() to check if a
9137 * RowList.C (insert): fix case where it == begin().
9139 2003-03-26 Angus Leeming <leeming@lyx.org>
9141 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
9142 the thesaurus dialog.
9144 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
9146 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
9148 * RowList.[Ch]: new files
9150 * ParagraphList.C (erase): handle the case where it == begin
9153 2003-03-25 John Levon <levon@movementarian.org>
9157 * aspell.C: add new aspell support
9160 * lyxrc.C: Make use_pspell be use_spell_lib. Always
9163 2003-03-25 Angus Leeming <leeming@lyx.org>
9166 * LyXAction.C (init): new LFUN_INSET_INSERT.
9168 * BufferView_pimpl.C (dispatch): split out part of the
9169 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
9171 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
9174 2003-03-25 Angus Leeming <leeming@lyx.org>
9176 * lyxfunc.C (dispatch): changes to the Dialogs interface.
9178 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
9181 * text3.C: remove useless row->height(0)
9183 2003-03-25 John Levon <levon@movementarian.org>
9187 * text3.C: rename the refreshing stuff to better names
9189 2003-03-24 John Levon <levon@movementarian.org>
9191 * BufferView_pimpl.h:
9192 * BufferView_pimpl.C: update layout choice on a mouse
9195 2003-03-23 John Levon <levon@movementarian.org>
9197 * Makefile.am: fix commandtags.h reference
9199 2003-03-22 John Levon <levon@movementarian.org>
9201 * BufferView_pimpl.C:
9206 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
9208 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
9211 * text.C: take the rtl methods out of line
9213 2003-03-21 André Pönitz <poenitz@gmx.net>
9215 * metricsinfo.[Ch]: new files containing structures to be passed around
9216 during the two-phase-drawing...
9218 2003-03-21 André Pönitz <poenitz@gmx.net>
9220 * lyxtextclass.C: read 'environment' tag.
9222 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
9224 * text2.C (removeRow): fix bug 964
9226 2003-03-20 John Levon <levon@movementarian.org>
9230 * text2.C: paint cleanups. Inset::update() dropped font
9233 2003-03-19 John Levon <levon@movementarian.org>
9235 * lyxfunc.C: only fitcursor/markDirty if available()
9237 2003-03-19 John Levon <levon@movementarian.org>
9239 * commandtags.h: rename to ...
9241 * lfuns.h: ... this, and renumber / cleanup
9243 2003-03-19 John Levon <levon@movementarian.org>
9245 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
9246 fit the cursor after an lfun
9250 * BufferView_pimpl.h:
9251 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
9253 * LyXAction.C: layout-character should have ReadOnly
9255 * ParagraphParameters.C:
9257 * bufferview_funcs.C:
9264 * undo_funcs.C: changes from above
9266 2003-03-18 John Levon <levon@movementarian.org>
9268 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
9269 remove it from update()
9271 * lyxfunc.C: update layout choice after an lfun
9273 * text3.C: remove extra updateLayoutChoice()s
9275 2003-03-18 John Levon <levon@movementarian.org>
9277 * text.C: top_y change means full repaint, fix
9278 a drawing bug with cursor movement
9280 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
9284 * text2.C: anchor row on setCursor
9286 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
9288 * lyxtext.h: remove almost all mutable keywords
9291 * text3.C: remove const keywords accordingly
9293 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
9295 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
9297 (TeXEnvironment): ditto
9300 2003-03-17 John Levon <levon@movementarian.org>
9302 * text.C (rowBreakPoint): remove attempt to fix displayed
9303 math insets inside a manual label
9305 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
9307 * lyxtext.h: remove BufferView* as first arg from almost all class
9309 * other files: adjust.
9311 2003-03-17 John Levon <levon@movementarian.org>
9315 * text2.C: more paint cleanups
9317 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
9320 * rowpainter.C: remove "smart" background painting code
9322 2003-03-16 John Levon <levon@movementarian.org>
9327 * text3.C: add helper functions for setting refresh_row/y
9329 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
9331 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
9332 newline inset which *can* get inserted in the pass_thru layouts.
9333 This is primarily for literate documents.
9335 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
9337 * buffer.C: increment LYX_FORMAT to 223
9339 2003-03-14 André Pönitz <poenitz@gmx.net>
9341 * textclass.h: prepare for environment handling, ws changes
9342 * lyxlayout.C: read latexheader and latexfooter tags
9344 2003-03-14 John Levon <levon@movementarian.org>
9346 * text2.C: rewrite ::status() a bit
9348 2003-03-13 John Levon <levon@movementarian.org>
9350 * lyxtext.h: add some docs
9352 2003-03-13 John Levon <levon@movementarian.org>
9357 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
9359 2003-03-13 John Levon <levon@movementarian.org>
9361 * text3.C: fix appendix redrawing
9363 2003-03-13 John Levon <levon@movementarian.org>
9365 * text.C (setHeightOfRow):
9367 * rowpainter.C: make appendix mark have the text
9368 "Appendix" so the user knows what it is
9371 * LColor.C: s/appendixline/appendix/ from above
9373 2003-03-13 John Levon <levon@movementarian.org>
9375 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
9377 * text.C: fix a getChar(pos) bug properly
9379 2003-03-13 Angus Leeming <leeming@lyx.org>
9382 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
9383 Probably only temporary. Let's see how things pan out.
9385 * BufferView.C (unlockInset):
9386 * BufferView_pimpl.C (fitCursor):
9387 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
9389 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
9390 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
9392 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
9393 new functions that convert ParagraphParameters to and from a string.
9395 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9396 BufferView::Pimpl's dispatch.
9397 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9399 2003-03-13 André Pönitz <poenitz@gmx.net>
9403 * factory.C: make it aware of InsetEnv
9405 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
9407 * text2.C (setCursor): never ask for one past last
9408 (setCursor): add some debugging messages.
9410 * text.C (singleWidth): never ask for one past last
9411 (singleWidth): ditto
9413 (rightMargin): ditto
9414 (rowBreakPoint): ditto
9415 (setHeightOfRow): ditto
9416 (prepareToPrint): ditto
9418 * rowpainter.C (paintBackground): never ask for one past last
9419 (paintText): never ask for one past last
9421 * paragraph_pimpl.C (getChar): make the assert stricter, never
9422 allow the one past last pos to be taken
9424 * paragraph.C (getChar): ws changes only
9426 * lyxrow.C (nextRowIsAllInset): never ask for one past last
9427 (numberOfSeparators): ditto
9428 (numberOfHfills): ditto
9430 2003-03-12 John Levon <levon@movementarian.org>
9436 * paragraph_funcs.C: fix per-buffer authorlists
9438 2003-03-12 John Levon <levon@movementarian.org>
9440 * text.C: fix newline in right address
9442 2003-03-12 Angus Leeming <leeming@lyx.org>
9444 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9445 duplicate those in LyXFunc::dispatch.
9449 * ToolbarDefaults.C:
9450 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9451 Add LFUN_FONTFREE_UPDATE.
9453 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9454 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9456 * bufferview_func.[Ch]: several new functions to facilliate
9457 transfer of data to and from the character dialog.
9459 2003-03-12 John Levon <levon@movementarian.org>
9464 * paragraph_funcs.C:
9465 * paragraph_pimpl.C:
9469 * text3.C: remove META_NEWLINE in favour of an inset
9472 * rowpainter.C: remove paintNewline (done by inset)
9474 2003-03-12 John Levon <levon@movementarian.org>
9476 * paragraph_pimpl.C: complain about bad getChar()s
9477 for a while at least
9479 2003-03-12 John Levon <levon@movementarian.org>
9482 * buffer.C: move paragraph read into a separate function,
9483 a little renaming to reflect that.
9486 * bufferparams.C: remove the author_ids map, not necessary now
9489 * factory.C: moved Buffer::readInset to here
9491 * paragraph_funcs.h:
9492 * paragraph_funcs.C: readParagraph free function moved from
9495 * tabular.C: name change
9497 2003-03-12 John Levon <levon@movementarian.org>
9500 * ParagraphParameters.C: move par params input to
9503 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9504 behave like a normal read from the stream wrt reading
9505 a line vs. a \\token
9507 2003-03-12 John Levon <levon@movementarian.org>
9510 * ParagraphParameters.h:
9511 * ParagraphParameters.C: move output code to a
9514 2003-03-12 John Levon <levon@movementarian.org>
9516 * BufferView.C (insertLyXFile):
9519 * tabular.C: use a parlist iterator for creating the
9522 2003-03-12 John Levon <levon@movementarian.org>
9524 * buffer.C: make current_change static local not
9527 2003-03-12 John Levon <levon@movementarian.org>
9529 * buffer.C: fix insertStringAsLines for change tracking
9531 2003-03-12 John Levon <levon@movementarian.org>
9538 * bufferparams.C: move author list into params. Rename some
9539 functions. Move the header reading into a separate token
9540 loop. Move the header token reading into BufferParams.
9542 2003-03-12 John Levon <levon@movementarian.org>
9544 * changes.C: put debug inside lyxerr.debugging() checks
9546 2003-03-11 André Pönitz <poenitz@gmx.net>
9548 * factory.C: make it aware of InsetHFill
9550 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9552 * buffer.C (latexParagraphs): move function from here...
9553 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9556 2003-03-10 Angus Leeming <leeming@lyx.org>
9558 * LyXAction.C (init): fix bug in poplating array with multiple entries
9559 with the same LFUN (spotted by JMarc).
9561 2003-03-10 John Levon <levon@movementarian.org>
9564 * text2.C: move getColumnNearX() near its
9567 2003-03-10 John Levon <levon@movementarian.org>
9569 * text.C: fix break before a minipage
9571 2003-03-10 John Levon <levon@movementarian.org>
9573 * text.C: fix the last commit
9575 2003-03-09 John Levon <levon@movementarian.org>
9579 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9580 bug 365 (don't break before insets unless needed). Don't
9581 return a value > last under any circumstances.
9583 2003-03-09 Angus Leeming <leeming@lyx.org>
9585 * BufferView_pimpl.C (trackChanges, dispatch): call
9586 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9588 2003-03-09 Angus Leeming <leeming@lyx.org>
9590 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9591 than Dialogs::showAboutlyx().
9593 2003-03-09 Angus Leeming <leeming@lyx.org>
9595 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9596 than Dialogs::showTabularCreate().
9598 2003-03-09 John Levon <levon@movementarian.org>
9602 * text2.C: 3rd arg to nextBreakPoint was always the same.
9605 2003-03-08 John Levon <levon@movementarian.org>
9612 * text2.C: Remove the "main" bit from the "main body"
9615 2003-03-08 John Levon <levon@movementarian.org>
9617 * text.C (leftMargin): The left margin of an empty
9618 manual label paragraph should not include the label width
9621 * text.C (prepareToPrint): don't attempt to measure hfills
9622 for empty manual label paragraphs - the answer should be 0
9624 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9626 * CutAndPaste.C: remove commented code and reindent.
9628 2003-03-08 John Levon <levon@movementarian.org>
9631 * lyxfunc.C: move reloadBuffer()
9634 * BufferView.C: to here
9636 * lyxvc.C: add comment
9639 * vc-backend.C: call bv->reload() to avoid
9640 getStatus() check on MENURELOAD
9642 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
9644 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9645 to an old format .dep file.
9647 2003-03-07 Angus Leeming <leeming@lyx.org>
9649 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9650 when the LFUN_MOUSE_RELEASE should have been handled by
9651 inset->localDispatch.
9653 2003-03-07 Angus Leeming <leeming@lyx.org>
9655 * BufferView_pimpl.C (dispatch):
9656 * LyXAction.C (init):
9657 * ToolbarDefaults.C (init):
9659 * lyxfunc.C (getStatus):
9660 remove LFUN_INSET_GRAPHICS.
9662 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9664 2003-03-07 Angus Leeming <leeming@lyx.org>
9667 * LyXAction.C (init):
9668 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9670 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9673 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9675 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9676 localDispatch method LFUN_INSET_DIALOG_UPDATE.
9678 2003-03-07 Angus Leeming <leeming@lyx.org>
9680 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9683 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9685 * ParagraphList.C (front): new function
9688 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
9690 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9691 and top_row_offset_. removed var first_y.
9693 * text2.C (LyXText, removeRow):
9695 * BufferView_pimpl.C:
9696 use these methods instead of using first_y
9698 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9700 * text2.C (pasteSelection): adjust for checkPastePossible
9702 * CutAndPaste.C: remove Paragraph * buf and replace with
9703 ParagraphList paragraphs.
9704 (DeleteBuffer): delete
9705 (cutSelection): change the tc type to textclass_type
9706 (copySelection): change the tc type to textclass_type
9707 (copySelection): adjust for ParagraphList
9708 (pasteSelection): change the tc type to textclass_type
9709 (pasteSelection): adjust for Paragraphlist
9710 (nrOfParagraphs): simplify for ParagraphList
9711 (checkPastePossible): simplify for ParagraphList
9712 (checkPastePossible): remove unused arg
9714 * ParagraphList.C (insert): handle the case where there are no
9717 * CutAndPaste.h: make CutAndPaste a namespace.
9719 * text3.C (dispatch): adjust
9721 * text.C (breakParagraph): add a ParagraphList as arg
9723 * paragraph_funcs.C (breakParagraph): change to take a
9724 BufferParams and a ParagraphList as args.
9725 (breakParagraphConservative): ditto
9726 (mergeParagraph): ditto
9727 (TeXDeeper): add a ParagraphList arg
9728 (TeXEnvironment): ditto
9731 * buffer.C (readLyXformat2): adjust
9732 (insertStringAsLines): adjust
9733 (latexParagraphs): adjust
9735 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9736 (cutSelection): adjust
9737 (pasteSelection): adjust
9739 * BufferView_pimpl.C (insertInset): adjust
9741 2003-03-05 Angus Leeming <leeming@lyx.org>
9744 * LyXAction.C (init):
9745 * BufferView_pimpl.C (dispatch):
9746 * lyxfunc.C (getStatus):
9747 remove LFUN_CHILD_INSERT.
9749 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9751 2003-03-05 Angus Leeming <leeming@lyx.org>
9754 * LyXAction.C (init):
9755 * src/factory.C (createInset):
9756 * lyxfunc.C (getStatus):
9757 * text3.C (dispatch):
9758 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9760 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9762 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9764 * ParagraphList.C (insert): handle insert right before end()
9765 (erase): fix cases where it can be first or last paragraph.
9767 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9769 * paragraph_funcs.C (TeXEnvironment): remove all usage of
9770 Paragraph::next and Paragraph::previous
9773 * text.C (breakParagraph): adjust
9775 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9776 BufferParams& as arg.
9777 (breakParagraph): use ParagraphList::insert
9778 (breakParagraphConservative): take a Buffer* instead of a
9779 BufferParams& as arg.
9780 (breakParagraphConservative): use ParagraphList::insert.
9782 * buffer.C (insertStringAsLines): un-const it
9783 (insertStringAsLines): adjust
9785 * ParagraphList.C (insert): new function
9787 * CutAndPaste.C (pasteSelection): adjust
9789 * text.C (backspace): adjust
9791 * tabular.C (SetMultiColumn): adjust
9793 * CutAndPaste.C (cutSelection): adjust
9794 (pasteSelection): adjust
9796 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9797 Buffer const * as arg
9799 * ParagraphList.C (erase): new function
9800 * paragraph_funcs.C (mergeParagraph): use it
9801 (mergeParagraph): make it take a Buffer* instead of a
9802 BufferParams* as arg
9804 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9806 (breakParagraphConservative): ditto
9808 * paragraph.h: remove the breakParagraph friend
9810 * paragraph.C (eraseIntern): new function
9811 (setChange): new function
9813 * paragraph_funcs.C (mergeParagraph): make it take a
9814 ParagraphList::iterator instead of a Paragraph *, adjust
9817 * paragraph.h: move an #endif so that the change tracking stuff
9818 also works in the NO_NEXT case.
9820 2003-03-04 Angus Leeming <leeming@lyx.org>
9823 * LyXAction.C: new LFUN_INSET_MODIFY.
9825 * BufferView_pimpl.C (dispatch): if an inset is found to be open
9826 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9828 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9830 * several files: ws changes only
9832 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9833 (TeXEnvironment): ditto
9836 * buffer.C (makeLaTeXFile): adjust
9837 (latexParagraphs): make it take ParagraphList::iterator as args
9839 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
9841 * buffer.C (latexParagraphs): adjust
9843 * paragraph.C (TeXOnePar): move function...
9844 (optArgInset): move function...
9845 (TeXEnvironment): move function...
9846 * paragraph_pimpl.C (TeXDeeper): move function...
9847 * paragraph_funcs.C: ...here
9849 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9851 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9853 * buffer.C (readInset): remove compability code for old Figure and
9856 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9858 * buffer.C: ws changes
9861 * BufferView_pimpl.C: ditto
9864 * bufferlist.h: ditto
9868 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
9870 * converter.[Ch]: split into itself +
9873 * Makefile.am: += graph.[Ch] + format.[Ch]
9880 * lyxrc.C: added #include "format.h"
9882 2003-02-27 Angus Leeming <leeming@lyx.org>
9884 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9887 * factory.C (createInset): add "label" to the factory.
9889 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9890 string and do no more.
9892 2003-02-27 Angus Leeming <leeming@lyx.org>
9895 * LyXAction.C (init):
9896 * factory.C (createInset):
9897 * BufferView_pimpl.C (dispatch):
9898 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9900 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9902 * lyxfunc.C (dispatch):
9903 * text3.C (dispatch): pass name to params2string.
9905 2003-02-26 Angus Leeming <leeming@lyx.org>
9907 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9909 Rearrange the ~includes. Strip out the unnecessary ones.
9911 * factory.C (createInset): reformat.
9912 create new insets for the various LFUN_XYZ_APPLY lfuns.
9914 2003-02-26 John Levon <levon@movementarian.org>
9917 * lyxrow.C: add isParStart,isParEnd helpers
9919 * paragraph.h: make isInserted/DeletedText take refs
9921 * paragraph_funcs.h:
9922 * paragraph_funcs.C: remove #if 0'd code
9927 * text.C: use lyxrow helpers above.
9928 Move draw and paint routines to RowPainter.
9929 Make several methods use refs not pointers.
9930 Make backgroundColor() const.
9931 Add markChangeInDraw(), isInInset().
9932 Merge changeRegionCase into changeCase.
9933 Make workWidth() shouldn't-happen code into an Assert.
9936 * rowpainter.C: new class for painting a row.
9939 * vspace.C: make inPixels take a ref
9941 2003-02-26 Angus Leeming <leeming@lyx.org>
9943 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9946 2003-02-25 John Levon <levon@movementarian.org>
9948 * ispell.C: give the forked command a more accurate name
9950 2003-02-22 John Levon <levon@movementarian.org>
9953 * toc.C: make TocItem store an id not a Paragraph *
9956 2003-02-21 Angus Leeming <leeming@lyx.org>
9958 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9959 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9960 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9961 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9962 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9963 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9965 * BufferView_pimpl.C (dispatch):
9966 * LyXAction.C (init):
9967 * factory.C (createInset):
9968 * lyxfunc.C (getStatus, dispatch):
9969 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9971 2003-02-21 Angus Leeming <leeming@lyx.org>
9973 * BufferView_pimpl.C (MenuInsertLyXFile):
9974 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9975 * lyxfunc.C (menuNew, open, doImport):
9976 no longer pass a LyXView & to fileDlg.
9978 2003-02-21 Angus Leeming <leeming@lyx.org>
9980 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9981 * LyXAction.C: change, BIBKEY to BIBITEM.
9982 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9983 Change InsetBibKey to InsetBibitem.
9984 Change BIBKEY_CODE to BIBITEM_CODE.
9985 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9986 * factory.C: replace insetbib.h with insetbibitem.h.
9987 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9988 * paragraph.C: replace insetbib.h with insetbibitem.h.
9989 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9990 Change bibkey() to bibitem().
9991 * text.C: remove insetbib.h.
9992 * text2.C: replace insetbib.h with insetbibitem.h.
9993 change bibkey() to bibitem().
9994 * text3.C: remove insetbib.h.
9995 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9997 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9999 * lyxrc.C (output): enclose user email in quotes (in case there are
10002 2003-02-18 John Levon <levon@movementarian.org>
10004 * buffer.h: add std::
10006 2003-02-17 John Levon <levon@movementarian.org>
10012 * pspell.C: reworking. Especially in ispell, a large
10013 number of clean ups and bug fixes.
10015 * lyxfunc.C: fix revert to behave sensibly
10017 2003-02-17 André Pönitz <poenitz@gmx.net>
10020 * commandtags.h: new LFUN_INSERT_BIBKEY
10030 * paragraph_func.C: remove special bibkey handling
10032 2003-02-17 John Levon <levon@movementarian.org>
10034 * text.C (Delete): fix case where delete at the end of
10035 the very first paragraph would not merge the pars
10037 2003-02-17 John Levon <levon@movementarian.org>
10039 * lyxrow.C: fix lastPrintablePos()
10041 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10043 * bufferparams.C (writeLaTeX): add a std:here
10045 * buffer.C: and remove a using directive there
10047 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10049 * buffer.C (makeLaTeXFile): move the code that generates the
10052 * bufferparams.C (writeLaTeX): ... in this new method
10054 * LaTeXFeatures.C (getEncodingSet): make const
10055 (getLanguages): make const
10057 * MenuBackend.C (binding): returns the binding associated to this
10059 (add): sets the status of each item by calling getStatus. Adds
10061 (read): add support for OptSubMenu
10062 (expand): remove extra separator at the end of expanded menu
10064 2003-02-15 John Levon <levon@movementarian.org>
10067 * BufferView_pimpl.C:
10069 * bufferlist.C: remove pointless BufferStorage bloat. Remove
10070 inset code that had no actual effect. Remove unneeded status
10073 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10075 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
10078 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
10080 * text.C (drawLengthMarker): also draw an arrow marker for
10081 symbolic lengths (medskip...)
10083 2003-02-14 John Levon <levon@movementarian.org>
10086 * tabular.C: better method names
10088 2003-02-14 John Levon <levon@movementarian.org>
10090 * BufferView_pimpl.C:
10095 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
10096 it's a more accurate name. Remove some pointless uses.
10098 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10100 * text2.C (LyXText): change order of initilizers to shut off
10103 2003-02-14 John Levon <levon@movementarian.org>
10105 * buffer.C: use ParIterator for getParFromID()
10109 * paragraph_pimpl.h:
10110 * paragraph_pimpl.C: remove unused getParFromID()
10112 2003-02-14 John Levon <levon@movementarian.org>
10114 * buffer.C: remove some very old #if 0'd parse code
10116 2003-02-13 John Levon <levon@movementarian.org>
10120 * text2.C: move hfillExpansion(), numberOfSeparators(),
10121 rowLast(), rowLastPrintable(), numberofHfills(),
10122 numberOfLabelHfills() ...
10125 * lyxrow.C: ... to member functions here.
10130 * text.C: remove LyXText::beginningOfMainBody(), and call
10131 p->beginningOfMainBody() directly. Move the check for
10132 LABEL_MANUAL into the latter.
10139 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
10145 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
10146 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
10148 2003-02-13 John Levon <levon@movementarian.org>
10150 * CutAndPaste.C: remove debug
10152 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10154 * paragraph.C (asString): remove two unused variables
10156 * lyxtextclass.C (readTitleType):
10158 (LyXTextClass): handle new members titletype_ and titlename_
10160 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
10162 2003-02-09 John Levon <levon@movementarian.org>
10165 * buffer.C: replace hand-coded list with a map for the dep clean
10167 2003-02-08 John Levon <levon@movementarian.org>
10169 * LaTeX.C: consolidate code into showRunMessage() helper
10171 2003-02-08 John Levon <levon@movementarian.org>
10176 * BufferView.C: change setSelectionOverString() to setSelectionRange()
10177 and pass the size in explicitly
10179 * BufferView_pimpl.h:
10180 * BufferView_pimpl.C:
10182 * BufferView.C: add getCurrentChange()
10184 * BufferView_pimpl.h:
10185 * BufferView_pimpl.C: handle change lfuns
10187 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
10188 for changes. Mark pasted paragraphs as new.
10190 * support/lyxtime.h:
10191 * support/lyxtime.C:
10192 * DepTable.C: abstract time_t as lyx::time_type
10195 * LColor.C: add colours for new text, deleted text, changebars
10197 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
10198 package use "usenames" option.
10202 * LyXAction.C: add change lfuns
10206 * author.C: author handling
10209 * buffer.C: add a per-buffer author list, with first entry as
10210 current author. Handle new .lyx tokens for change tracking. Output
10211 author list to .lyx file. Output dvipost stuff to .tex preamble.
10212 Bump lyx format to 222.
10215 * bufferlist.C: add setCurrentAuthor() to reset current author details
10219 * bufferparams.C: add param for tracking
10221 * bufferview_funcs.C: output change info in minibuffer
10225 * changes.C: add change-tracking structure
10228 * debug.C: add CHANGES debug flag
10231 * lyxfind.C: add code for finding the next change piece
10234 * lyxrc.C: add user_name and user_email
10237 * lyxrow.C: add a metric for the top of the text line
10240 * text.C: implement accept/rejectChange()
10243 * text.C: paint changebars. Paint new/deleted text in the chosen
10244 colours. Strike through deleted text.
10248 * paragraph_pimpl.h:
10249 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
10250 in the current change to the insert functions. Rework erase to
10251 mark text as deleted, adding an eraseIntern() and a range-based
10252 erase(). Implement per-paragraph change lookup and
10255 * paragraph_funcs.C: Fixup paste for change tracking.
10257 * tabular.C: mark added row/columns as new.
10259 * text.C: fix rowLast() to never return -1. Don't allow
10260 spellchecking of deleted text. Track transpose changes. Don't
10261 allow paragraph break or merge where appropriate.
10263 * text2.C: leave cursor at end of selection after a cut.
10265 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10267 * text.C (getLengthMarkerHeight):
10268 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
10269 visible on screen too.
10271 2003-02-07 John Levon <levon@movementarian.org>
10273 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
10275 2003-02-05 Angus Leeming <leeming@lyx.org>
10277 * lyxserver.C (read_ready): revert my patch of 11 September last year
10278 as it sends PC cpu through the roof. Presumably this means that
10279 the lyxserver will no longer run on an Alpha...
10281 2003-01-30 Angus Leeming <leeming@lyx.org>
10283 * factory.C (createInset): create an InsetCommandParam of type "index"
10284 and use it to 'do the right thing'.
10286 * text2.C (getStringToIndex): ensure that cursor position is always
10287 reset to the reset_cursor position.
10289 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10291 * lyxfunc.C (getStatus): "buffer-export custom" should never be
10294 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
10298 * lyxfunc.C: Output messages with identical spelling, punctuation,
10301 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
10303 * MenuBackend.C (expandFormats): List only viewable export formats
10306 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
10309 * lyxfunc.C (getStatus): Make sure that formats other than
10310 "fax" can also be disabled
10312 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10314 * text3.C (dispatch): put the lfuns that insert insets in 3
10315 groups, and call doInsertInset with appropriate arguments.
10316 (doInsertInset): new function, that creates an inset and inserts
10317 it according to some boolean parameters.
10319 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
10321 * buffer.C (readFile): remember to pass on 'par' when calling
10322 readFile recursively.
10324 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10326 * MenuBackend.C (expandFormats): add "..." to import formats.
10328 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
10330 * paragraph.C (asString): Remove XForms RTL hacks.
10332 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
10333 * buffer.C: fix typo
10335 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
10337 * Makefile.am (LIBS): delete var
10338 (lyx_LDADD): add @LIBS@ here instead.
10340 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
10342 * Clarify the meaning of "wheel mouse jump"
10344 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10346 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
10349 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10351 * importer.C (Loaders): do not preallocate 3 elements in the
10352 vector, since one ends up with 6 elements otherwise
10354 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10356 * DepTable.C (write): write the file name as last element of the
10357 .dep file (because it may contain spaces)
10358 (read): read info in the right order
10360 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10362 * paragraph_pimpl.C (simpleTeXBlanks):
10363 (simpleTeXSpecialChars):
10364 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
10366 * tabular.C (latex): add some missing case statements. Reindent.
10368 * MenuBackend.C (expandToc): remove unused variable.
10370 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
10379 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
10382 2003-01-05 John Levon <levon@movementarian.org>
10385 * BufferView.C: add getEncoding()
10388 * kbsequence.C: do not store last keypress
10391 * lyxfunc.C: store last keypress here instead. Pass encoding
10394 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10396 * lyx_main.C (init): remove annoying error message when following
10397 symbolic links (bug #780)
10399 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10401 * text.C (insertChar):
10402 * lyxrc.C (getDescription): remove extra spaces
10404 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10406 * lyxrc.C (getDescription): remove extra spaces
10408 2002-12-20 John Levon <levon@movementarian.org>
10410 * text3.C: hack fix for page up/down across tall rows
10412 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10414 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10417 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10419 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10420 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10421 thesaurus is not compiled in
10423 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
10425 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
10427 2002-12-16 Angus Leeming <leeming@lyx.org>
10430 * lyx_main.C (init): remove override_x_deadkeys stuff.
10432 2002-12-12 John Levon <levon@movementarian.org>
10434 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10435 insert. Only remove shift modifier under strict
10438 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
10440 * MenuBackend.C (expandToc): fix crash.
10442 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
10444 * MenuBackend.C (expandToc): gettext on float names.
10446 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
10448 * lyxlength.[Ch]: set default unit to UNIT_NONE,
10449 implement bool empty() [bug 490]
10451 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
10453 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10455 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
10457 * several files: ws changes
10459 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
10461 * text2.C (setCounter): clean up a bit, use boost.format.
10462 (updateCounters): initialize par upon declaration.
10464 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10465 if the layout exists. We do not just store the layout any more.
10466 (SwitchLayoutsBetweenClasses): use boost.format
10468 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10470 * converter.C (convert): if from and to files are the same, use a
10471 temporary files as intermediary
10473 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10476 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10478 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
10480 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10482 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
10484 * tabular.C (asciiPrintCell): use string(size, char) instead of
10487 * sgml.C (openTag): fix order of arguments to string constructor
10490 * lyxfunc.C (dispatch): use boost.format
10492 * lots of files: change "c" -> 'c'
10494 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
10496 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10498 2002-11-25 Angus Leeming <leeming@lyx.org>
10500 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10502 * lyx_main.C (init): compile fix.
10504 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
10506 * lyx_cb.C (start): boost.formatify
10507 do not include <iostream>
10509 * lengthcommon.C: ws only
10511 * boost-inst.C,BoostFormat.h: add more explict instantations
10513 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
10515 * lots of files: handle USE_BOOST_FORMAT
10517 2002-11-21 John Levon <levon@movementarian.org>
10519 * pspell.C: fix compile
10521 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10523 * lyxfunc.C (dispatch): use boost::format
10527 * lyxfont.C (stateText): use boost::format
10529 * lyx_main.C (LyX): use boost::format
10531 (queryUserLyXDir): ditto
10532 (readRcFile): ditto
10534 (typedef boost::function): use the recommened syntax.
10536 * importer.C (Import): use boost::format
10538 * debug.C (showLevel): use boost::format
10540 * converter.C (view): use boost::format
10545 * bufferview_funcs.C (currentState): use boost::format
10547 * bufferlist.C (emergencyWrite): use boost::format
10549 * buffer.C (readLyXformat2): use boost::format
10550 (parseSingleLyXformat2Token): ditto
10552 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10554 * LaTeX.C (run): use boost::format
10556 * Chktex.C (scanLogFile): use boost::format
10558 * BufferView_pimpl.C (savePosition): use boost::format
10559 (restorePosition): ditto
10560 (MenuInsertLyXFile): ditto
10562 * BoostFormat.h: help file for explicit instation.
10564 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
10566 * tabular.C (latex): Support for block alignment in fixed width
10569 2002-11-17 John Levon <levon@movementarian.org>
10571 * BufferView_pimpl.C:
10573 * lyxfunc.C: split filedialog into open/save
10575 2002-11-08 Juergen Vigna <jug@sad.it>
10577 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10578 by my last patch (hopefully).
10580 2002-11-08 John Levon <levon@movementarian.org>
10589 * toc.C: ParConstIterator, and use it (from Lars)
10591 2002-11-07 Ben Stanley <bds02@uow.edu.au>
10593 * lyxtextclass.[Ch]: revise and add doxygen comments
10595 2002-11-07 John Levon <levon@movementarian.org>
10597 * text.C: fix progress value for spellchecker
10599 * toc.C: fix navigate menu for insetwrap inside minipage
10601 * paragraph_funcs.C: added FIXME for suspect code
10603 2002-11-07 John Levon <levon@movementarian.org>
10605 * BufferView_pimpl.C: fix redrawing of insets
10608 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10610 * text2.C (updateCounters): fix bug 668
10612 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
10614 * text3.C (dispatch): Do not make the buffer dirty when moving the
10617 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10619 * vc-backend.C: STRCONV
10620 (scanMaster): ditto
10622 * text2.C (setCounter): STRCONV
10624 * paragraph.C (asString): STRCONV
10626 * lyxlength.C (asString): STRCONV
10627 (asLatexString): ditto
10629 * lyxgluelength.C (asString): STRCONV
10630 (asLatexString): ditto
10632 * lyxfunc.C (dispatch): STRCONV
10635 * lyxfont.C (stateText): STRCONV
10637 * importer.C (Import): STRCONV
10639 * counters.C (labelItem): STRCONV
10640 (numberLabel): ditto
10641 (numberLabel): remove unused ostringstream o
10646 * bufferview_funcs.C (currentState): STRCONV
10648 * buffer.C (readFile): STRCONV
10649 (asciiParagraph): ditto
10650 (makeLaTeXFile): ditto
10652 * Spacing.C (writeEnvirBegin): STRCONV
10654 * LaTeXFeatures.C (getLanguages): STRCONV
10655 (getPackages): ditto
10657 (getBabelOptions): ditto
10658 (getTClassPreamble): ditto
10659 (getLyXSGMLEntities): ditto
10660 (getIncludedFiles): ditto
10664 (scanAuxFile): ditto
10667 * LString.h: add the STRCONV macros
10669 * BufferView_pimpl.C (savePosition): STRCONV
10670 (restorePosition): ditto
10671 (MenuInsertLyXFile): ditto
10673 * vc-backend.C (scanMaster): change from submatch[...] to
10676 * funcrequest.C: include config.h
10678 * factory.C: include config.h
10680 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10682 * box.C: include config.h
10684 * LaTeX.C (scanAuxFile): change from submatch[...] to
10688 2002-10-25 Angus Leeming <leeming@lyx.org>
10690 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10692 * ispell.[Ch] (setError): new method.
10693 * ispell.C (c-tor): move out child process into new class LaunchIspell.
10694 Use setError() insetead of goto END.
10696 * lyx_cb.C (AutoSave): move out child process into new class
10699 2002-10-30 John Levon <levon@movementarian.org>
10701 * text3.C: make start appendix undoable
10703 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
10705 * lyxlength.C (inPixels): Fix returned value.
10707 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10710 2002-10-24 Angus Leeming <leeming@lyx.org>
10712 * lyxgluelength.h: no need to forward declare BufferParams
10713 or BufferView, so don't.
10715 2002-10-21 John Levon <levon@movementarian.org>
10717 * BufferView.C: menuUndo ->undo, redo
10719 * BufferView.h: document, remove dead, make some methods private
10721 * paragraph_funcs.h:
10722 * paragraph_funcs.C:
10723 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10728 * sgml.C: move sgml open/close tag into sgml.C
10730 * bufferview_funcs.h: unused prototype
10733 * lyxfunc.C: remove unused
10736 * text.C: remove unused
10738 2002-10-21 John Levon <levon@movementarian.org>
10742 * BufferView_pimpl.h:
10743 * BufferView_pimpl.C: fix mouse wheel handling based on
10744 patch from Darren Freeman
10746 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
10748 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10750 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
10752 * lyxlength.C (inPixels): Fix hanfling of negative length.
10753 Fix LyXLength::MU case.
10755 2002-10-16 John Levon <levon@movementarian.org>
10757 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10759 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10761 * converter.C (view): add support for $$i (file name) and $$p
10762 (file path) for the viewer command. If $$i is not specified, then
10763 it is appended to the command (for compatibility with old syntax)
10765 2002-10-14 Juergen Vigna <jug@sad.it>
10767 * undo_funcs.C (textHandleUndo): alter the order in which the
10768 new undopar is added to the LyXText, as we have to set first
10769 the right prev/next and then add it as otherwise the rebuild of
10770 LyXText is not correct. Also reset the cursor to the right paragraph,
10771 with this IMO we could remove the hack in "redoParagraphs()".
10773 2002-10-09 Angus Leeming <leeming@lyx.org>
10775 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10776 to turn off an optimisation if a new inset is to be inserted.
10778 2002-10-11 André Pönitz <poenitz@gmx.net>
10780 * lyxtext.h: make some functions public to allow access
10781 from inset/lyxtext for handling LFUN_PRIOR/NEXT
10783 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10785 * text3.C (dispatch): when changing layout, avoid an infinite loop
10788 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10790 * lyxrc.C (read): treat a viewer or converter command of "none" as
10793 * MenuBackend.C (expandFormats): for an update, also allow the
10794 formats that are not viewable
10796 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10797 script if it is newer than the lyxrc.defaults in user directory
10799 2002-10-07 André Pönitz <poenitz@gmx.net>
10801 * text.C: Vitaly Lipatov's small i18n fix
10803 2002-09-25 Angus Leeming <leeming@lyx.org>
10805 * ispell.h: doxygen fix.
10807 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
10809 * buffer.h (readFile): Add a new argument to the method, to allow
10810 reading of old-format templates.
10812 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
10814 * toc.C (getTocList): Get TOC from InsetWrap.
10816 2002-09-16 John Levon <levon@movementarian.org>
10818 * lyxfunc.C: check tabular for cut/copy too
10820 2002-09-12 John Levon <levon@movementarian.org>
10822 * LyXAction.C: tidy
10825 * factory.C: add header
10827 * paragraph_funcs.h:
10828 * paragraph_funcs.C: cleanup
10830 2002-09-11 John Levon <levon@movementarian.org>
10832 * PrinterParams.h: odd/even default to true
10834 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
10836 * PrinterParams.h: update printer parameters for new xforms dialog
10838 2002-09-11 Angus Leeming <leeming@lyx.org>
10840 * lyxserver.C (read_ready): re-write to make it more transparent
10841 and to make it work in coherent fashion under Tru64 Unix.
10843 2002-09-11 André Pönitz <poenitz@gmx.net>
10847 * text3.C: implement LFUN_WORDSEL
10849 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10851 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10852 make floatlist_ a boost::shared_ptr<FloatList>
10854 * lyxtextclass.C: include FloatList.h
10855 (LyXTextClass): initialize floatlist_
10856 (TextClassTags): add TC_NOFLOAT
10857 (Read): match "nofloat" to TC_NOFLOAT and use it.
10858 (readFloat): modify call to floatlist_
10862 * FloatList.[Ch] (FloatList): remove commented out float
10864 (erase): new function
10866 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10868 * MenuBackend.C (expandToc): fix crash when there is no document
10871 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
10873 * many files: Add insetwrap.
10875 2002-09-09 John Levon <levon@movementarian.org>
10877 * text2.C: remove confusing and awkward depth wraparound
10879 2002-09-09 John Levon <levon@movementarian.org>
10881 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10884 * buffer.C: remove getIncludeonlyList()
10887 * lyxfunc.C: remove headers
10889 2002-09-09 Juergen Vigna <jug@sad.it>
10891 * text.C (getColumnNearX): fix form Michael this is most
10892 probably a cut&paste bug.
10894 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
10896 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10898 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10899 references, ws changes.
10901 * text2.C (init): update counters after init
10902 (insertParagraph): no need to set counter on idividual paragraphs.
10903 (setCounter): access the counters object in the textclass object
10904 on in the buffer object.
10905 (updateCounters): ditto
10907 * lyxtextclass.C: include counters.h, add variable ctrs_ as
10908 shared_ptr<Counters> to avoid loading counters.h in all
10910 (LyXTextClass): initialize ctrs_
10911 (TextClassTags): add TC_COUNTER, and ...
10912 (Read): use it here.
10913 (CounterTags): new tags
10914 (readCounter): new function
10915 (counters): new funtion
10916 (defaultLayoutName): return a const reference
10918 * counters.C (Counters): remove contructor
10919 (newCounter): remove a couple of unneeded statements.
10920 (newCounter): simplify a bit.
10921 (numberLabel): some small formatting changes.
10923 * buffer.[Ch]: remove all traces of counters, move the Counters
10924 object to the LyXTextClass.
10926 2002-09-06 Alain Castera <castera@in2p3.fr>
10928 * tabular.C: uses \tabularnewline; uses >{...} construct from array
10929 package to set the horizontal alignment on fixed width columns.
10932 * lyx_sty.h: added tabularnewline macro def.
10934 * LaTeXFeatures.C: added NeedTabularnewline macro feature
10936 2002-09-06 John Levon <levon@movementarian.org>
10938 * LyXAction.C: tooltips for sub/superscript
10940 * MenuBackend.C: a bit more verbose
10942 * lyxfunc.C: tiny clean
10944 * undo_funcs.C: document undo_frozen
10946 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
10948 * counters.C (Counters): add missing algorithm counter.
10950 * text2.C (setCounter): lookup the counter with layouts latexname
10951 instead of by section number.
10952 (setCounter): use a hackish way to lookup the correct enum
10954 a float name->type change
10955 reset enum couners with counter name directly instead of depth value.
10957 * counters.C (Counters): remove the push_backs, change to use the
10958 float type not the float name.
10959 (labelItem): remove unused string, float name->type change
10961 * counters.h: don't include vector, loose the enums and sects vectors
10963 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10965 * lyxtextclass.C (TextClassTags): add TC_FLOAT
10966 (Read): add float->TC_FLOAT to textclassTags
10967 (Read): and handle it in the switch
10968 (readFloat): new function
10970 * FloatList.C (FloatList): comment out the hardcoded float
10973 * lyxlayout.h: ws change.
10975 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
10977 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10979 2002-09-03 Angus Leeming <leeming@lyx.org>
10981 * BufferView_pimpl.h: qualified name is not allowed in member
10982 declaration: WorkArea & Pimpl::workarea() const;
10984 * factory.C: added using std::endl directive.
10986 * text3.C: added using std::find and std::vector directives.
10988 2002-08-29 André Pönitz <poenitz@gmx.net>
10991 * text2.C: remove unused member number_of_rows
10994 * BufferView2.C: remove file, move contents to...
10995 * BufferView.C: ... here
10997 * BufferView_pimpl.C:
10998 * factory.C: move more inset creation to factory
11000 * vspace.C: avoid direct usage of LyXText, ws changes
11003 don't provide direct access to WorkArea, use two simple
11004 acessors haveSelction() and workHeight() instead
11007 2002-08-29 John Levon <levon@movementarian.org>
11009 * BufferView_pimpl.C (dispatch): do not continue when
11012 2002-08-28 André Pönitz <poenitz@gmx.net>
11014 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
11017 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
11019 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
11021 * buffer.C: increment LYX_FORMAT to 221
11023 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
11024 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
11026 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
11028 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
11030 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11032 * factory.C (createInset): use LyXTextClass::floats
11034 * MenuBackend.C (expandFloatListInsert):
11035 (expandFloatInsert):
11038 * text2.C (setCounter):
11040 * LaTeXFeatures.C (useFloat):
11041 (getFloatDefinitions):
11043 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
11045 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
11046 floatlist_, with accessor floats().
11048 * FloatList.h: remove global FloatList
11050 2002-08-26 André Pönitz <poenitz@gmx.net>
11052 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
11056 * BufferView_pimpl.C:
11057 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
11059 2002-08-25 John Levon <levon@movementarian.org>
11061 * LyXAction.C: fix margin note description
11063 2002-08-24 John Levon <levon@movementarian.org>
11067 * bufferview_funcs.C:
11069 * undo_funcs.C: cleanups
11071 * lyxfunc.C: disable CUT/COPY when no selection
11073 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
11075 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
11076 in "enum UNIT"; e.g. PTW for Percent of TextWidth
11078 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
11079 Add backward compatibility to "mono", "gray" and "no".
11081 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
11083 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
11084 (and file_format >= 200).
11086 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11088 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
11090 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11092 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
11094 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
11096 * BufferView_pimpl.C:
11103 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
11104 inset and code to make it work with the paragraph code. The inset
11105 can be anywhere in the paragraph, but will only do the expected
11106 thing in LaTeX if the layout file contains the parameter line
11108 (or more generally, a nonzero value) for that layout.
11110 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
11112 * paragraph.h: remove the declaration of undefined counters class
11115 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
11117 * text2.C (setCounter): fixed enumeration mis-count as reported by
11118 Dr. Richard Hawkins.
11120 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11122 * paragraph_funcs.h: remove some unneeded includes
11124 * text.C (backspace): pasteParagraph now in global scipe
11126 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
11127 (pasteSelection): ditto
11129 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
11130 * paragraph_funcs.C (pasteParagraph): ... here
11132 2002-08-20 André Pönitz <poenitz@gmx.net>
11134 * commandtags.h: new LFUNs for swapping/copying table row/colums
11137 * lyxfunc.C: support for new lfuns
11139 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
11142 * buffer.[Ch]: remove NO_COMPABILITY stuff
11144 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
11146 * boost.C (throw_exception): new file, with helper function for
11147 boost compiled without exceptions.
11152 * ParameterStruct.h:
11153 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
11155 * bufferlist.C (emergencyWriteAll): use boost bind
11157 * BufferView_pimpl.C (moveCursorUpdate): remove inline
11159 * text.C: include paragraph_funcs.h
11160 (breakParagraph): breakParagraph is now in global scope
11162 * paragraph_funcs.[Ch]: new files
11164 * paragraph.C (breakParagraph,breakParagraphConservative): move to
11167 * buffer.C: include paragraph_funcs.h
11168 (insertStringAsLines): breakParagraph is now in global scope
11170 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
11173 * CutAndPaste.C: include paragraph_funcs.h
11174 (cutSelection): breakParagraphConservative is now in global scope
11175 (pasteSelection): ditto
11177 * buffer.h: declare oprator== and operator!= for
11178 Buffer::inset_iterator
11180 * bufferlist.C (emergencyWrite): don't use fmt(...)
11182 * text3.C: add using std::endl
11184 * BufferView.C (moveCursorUpdate): remove default arg
11186 2002-08-20 André Pönitz <poenitz@gmx.net>
11188 * buffer.[Ch]: move inline functions to .C
11191 * BufferView_pimpl.C:
11193 * buffer.[Ch]: use improved inset_iterator
11196 * paragraph.[Ch]: write one paragraph at a time
11198 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
11200 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
11201 style if style is not specified.
11203 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11205 * text2.C (setCounter): when searching for right label for a
11206 caption, make sure to recurse to parent insets (so that a caption
11207 in a minipage in a figure float works) (bug #568)
11209 2002-08-20 André Pönitz <poenitz@gmx.net>
11211 * text3.C: new file for LyXText::dispatch() and helpers
11213 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
11215 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
11217 2002-08-19 André Pönitz <poenitz@gmx.net>
11220 * text.C: new LyXText::dispatch()
11222 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
11224 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
11226 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
11228 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
11231 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11233 * Makefile.am: use $(variables) instead of @substitutions@
11235 2002-08-15 André Pönitz <poenitz@gmx.net>
11238 * BufferView_pimpl.C: streamlining mathed <-> outer world
11242 * LyXAction.C: remove unused LFUN_MATH
11244 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
11246 * paragraph.[Ch]: add some NO_NEXT ifdefs.
11248 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
11250 * paragraph.C (Paragraph): reformat a bit
11251 (cutIntoMinibuffer): use builtin InsetList function instad of
11255 * buffer.C: include boost/bind.hpp, add using std::for_each
11256 (writeFileAscii): use ParagraphList iterators
11257 (validate): use for_each for validate traversal of paragraphs
11258 (getBibkeyList): use ParagraphList iterators
11259 (resizeInsets): use for_each to resizeInsetsLyXText for all
11261 (getParFromID): use ParagraphList iterators
11263 * BufferView2.C (lockInset): use paragraph list and iterators
11265 2002-08-14 John Levon <levon@movementarian.org>
11267 * lyxserver.C: remove spurious xforms include
11269 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11271 * lyxfunc.C (getStatus): disable math-extern outside of math mode
11273 2002-08-13 André Pönitz <poenitz@gmx.net>
11276 * lyxfunc.C: further cleaning
11278 2002-08-13 André Pönitz <poenitz@gmx.net>
11280 * funcrequest.h: new constructor
11282 * funcrequest.C: move stuff here from .h
11285 * BufferView_pimpl.C:
11288 * lyxfunc.C: subsequent changes
11290 * lyxfunc.h: new view() member function
11292 * lyxfunc.C: subsequent changes
11294 2002-08-13 Angus Leeming <leeming@lyx.org>
11297 * BufferView_pimpl.C:
11305 changes due to the changed LyXView interface that now returns references
11306 to member variables not pointers.
11308 2002-08-13 Angus Leeming <leeming@lyx.org>
11310 * WordLangTuple (word, lang_code): return references to strings,
11315 * lyxtext.h: forward-declare WordLangTuple.
11320 * text.C: #include "WordLangTuple.h".
11323 * text.C: (selectNextWordToSpellcheck): constify return type.
11325 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
11331 * paragraph_pimpl.h:
11334 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
11335 suggested by Angus.
11336 Made updateCounter always count from start of buffer, and removed
11337 second argument (par).
11338 Reverted floats number display to '#'. Perhaps I'll try again when the
11339 code base is sanitized a bit.
11341 2002-08-12 Angus Leeming <leeming@lyx.org>
11343 * buffer.[Ch] (getLabelList): constify.
11345 2002-08-07 André Pönitz <poenitz@gmx.net>
11347 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
11349 * funcrequest.h: extension to keep mouse (x,y) position
11351 2002-08-12 Juergen Vigna <jug@sad.it>
11353 * BufferView2.C (insertErrors): forbid undo when inserting error
11356 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
11358 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
11360 * ParagraphList.[Ch]: new files
11362 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
11364 * BufferView2.C (lockInset): ParagraphList changes
11367 * bufferlist.C: ditto
11371 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11373 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
11374 unused class variable counter_,
11376 * paragraph.[Ch] (getFirstCounter): delete unused function
11378 * counters.C: include LAssert.h
11379 (reset): add a new function with no arg, change other version to
11380 not have def. arg and to not allow empty arg.
11382 * text2.C (setCounter): remove empty arg from call to Counters::reset
11384 2002-08-11 John Levon <levon@movementarian.org>
11386 * Makefile.am: add WordLangTuple.h
11388 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11390 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
11391 lyxfunc.C lyxlex_pimpl.C: ws changes only.
11393 * insets/insettext.C: InsetList changes
11395 * graphics/GraphicsSupport.C (operator()): InsetList changes
11397 * toc.C (getTocList): InsetList changes
11399 * paragraph_pimpl.[Ch]: InsetList changes
11401 * paragraph.[Ch]: InsetList changes
11403 * buffer.C (inset_iterator): InsetList changes
11404 (setParagraph): ditto
11405 * buffer.h (inset_iterator): ditto
11406 * iterators.C (operator++): ditto
11407 * iterators.h: ditto
11409 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11411 * InsetList.[Ch]: new files, most InsetList handling moved out of
11414 * BufferView2.C (removeAutoInsets): InsetList changes
11416 (ChangeInsets): ditto
11418 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
11420 * paragraph_pimpl.h (empty): new function
11422 * paragraph.[Ch] (empty): new function
11424 * other files: use the new Paragraph::empty function
11426 2002-08-09 John Levon <levon@movementarian.org>
11428 * lyxtext.h: remove unused refresh_height
11430 2002-08-09 John Levon <levon@movementarian.org>
11437 * paragraph.C: move sgml char escaping out of paragraph
11440 * paragraph.C: remove id setter
11444 * paragraph_pimpl.C: remove dead tex_code_break_column
11446 * bufferview_funcs.C: small cleanup
11448 * lyxfunc.C: remove dead proto
11450 * lyxtext.h: make some stuff private. Remove some dead stuff.
11452 * lyxgluelength.C: make as[LyX]String() readable
11454 2002-08-08 John Levon <levon@movementarian.org>
11459 * ToolbarDefaults.C:
11462 * toc.C: lyxaction cleanup
11464 2002-08-08 John Levon <levon@movementarian.org>
11466 * BufferView2.C: small cleanup
11469 * lyxfind.C: move unnecessary header into the .C
11471 2002-08-08 John Levon <levon@movementarian.org>
11473 * funcrequest.h: just tedious nonsense
11476 * lyx_main.C: cleanups
11479 * vspace.C: remove dead header lyx_main.h
11481 2002-08-07 Angus Leeming <leeming@lyx.org>
11484 * paragraph_pimpl.h:
11485 Forward declare class Counters in paragraph.h by moving the ctrs member
11486 variable into Paragraph::Pimpl.
11487 (counters): new method, returning a reference to pimpl_->ctrs.
11489 * text2.C: ensuing changes.
11491 2002-08-07 John Levon <levon@movementarian.org>
11493 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11495 * BufferView_pimpl.C: announce X selection on double/triple
11498 * lyx_main.C: use correct bool in batch dispatch
11500 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11502 2002-08-07 André Pönitz <poenitz@gmx.net>
11504 * funcrequest.h: new class to wrap a kb_action and its argument
11507 * BufferView_pimpl[Ch]:
11511 * lyxrc.C: subsequent changes
11514 2002-08-07 John Levon <levon@movementarian.org>
11516 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11517 document options change.
11519 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11524 * makefile.am: move counters functionality over from
11525 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11527 2002-08-06 John Levon <levon@movementarian.org>
11529 * WordLangTuple.h: new file for word + language code tuple
11540 * BufferView2.C: use WordLangTuple
11543 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11545 2002-08-06 John Levon <levon@movementarian.org>
11547 * lyx_main.C: fix cmdline batch handling
11549 2002-08-06 André Pönitz <poenitz@gmx.net>
11551 * lyxrc.C: set default for show_banner to true
11553 2002-08-06 John Levon <levon@movementarian.org>
11555 * pspell.C: fix a crash, and allow new aspell to work
11557 2002-08-06 John Levon <levon@movementarian.org>
11560 * kbmap.C: small cleanup
11563 * vspace.C: add const
11565 2002-08-05 John Levon <levon@movementarian.org>
11567 * LyXAction.C: back to tabular-insert
11569 2002-08-04 John Levon <levon@movementarian.org>
11572 * BufferView.C: cosmetic change
11574 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11584 * BufferView2.C: purge all "Lyx" not "LyX" strings
11587 * lyxcursor.C: attempt to add some documentation
11592 * ToolbarDefaults.C:
11593 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11594 merge with LFUN_TABULAR_INSERT
11601 * pspell.C: split up i/pspell implementations into separate
11602 files, many cleanups
11604 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11606 * text2.C: some cleanup
11608 * lyxfunc.C: don't check for isp_command == "none" any more, it
11609 didn't make any sense
11611 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11616 * makefile.am: move counters functionality over
11617 from text2.C/paragraph.[Ch] to counters.[Ch], and
11619 2002-08-02 John Levon <levon@movementarian.org>
11621 * buffer.C: s/lyxconvert/lyx2lyx/
11623 2002-08-02 Angus Leeming <leeming@lyx.org>
11625 * lyxlex.C: revert John's change as it breaks reading of the user
11628 2002-08-02 Angus Leeming <leeming@lyx.org>
11630 * importer.C (Import):
11631 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11632 changes due to LyXView::view() now returning a boost::shared_ptr.
11634 2002-08-02 John Levon <levon@movementarian.org>
11636 * lyxlex.C: small cleanup
11638 2002-08-02 John Levon <levon@movementarian.org>
11640 * text2.C (status): small cleanup, no logic change
11642 2002-08-01 John Levon <levon@movementarian.org>
11645 * buffer.C (writeFile): don't output alerts, caller
11649 * lyx_cb.C: from above
11651 * lyxfunc.C: allow to open non-existent files
11653 2002-07-31 John Levon <levon@movementarian.org>
11655 * lyxserver.C: don't let incidental errors get
11658 2002-07-30 John Levon <levon@movementarian.org>
11660 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11662 2002-07-30 John Levon <levon@movementarian.org>
11665 * lyxserver.C: remove I/O callback too
11667 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11669 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11672 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
11674 * many files: strip,frontStrip -> trim,ltrim,rtrim
11676 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
11678 * PrinterParams.h: remove extern containsOnly, and include
11679 support/lstrings.h instead.
11681 * LaTeX.C (scanAuxFile): modify because of strip changes
11683 * buffer.C (makeLaTeXFile): ditto
11684 * bufferparams.C (writeFile): ditt
11685 * lyxfont.C (stateText): ditto
11686 * lyxserver.C (read_ready): ditto
11687 * vc-backend.C (scanMaster): ditto
11689 * BufferView_pimpl.h: ws changes
11691 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11693 2002-07-26 André Pönitz <poenitz@gmx.net>
11695 * kb_sequence.C: remove unnedred usings
11697 2002-07-26 Juergen Vigna <jug@sad.it>
11699 * lyxfind.C (LyXReplace): we have to check better if the returned
11700 text is not of theLockingInset()->getLockingInset().
11702 2002-07-25 Juergen Vigna <jug@sad.it>
11704 * lyxfind.C (LyXReplace): don't replace if we don't get the
11707 * undo_funcs.C (createUndo): remove debugging code.
11709 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
11711 * buffer.C (parseSingleLyXformat2Token): Use default placement
11712 when reading old floats.
11714 * FloatList.C (FloatList): Change the default placement of figure
11715 and tables to "tbp".
11717 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
11719 * MenuBackend.C: using std::max
11721 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11723 * MenuBackend.C (expandToc):
11724 (expandToc2): code moved from xforms menu frontend. It is now
11725 generic and TOCs are transparent to menu frontends.
11727 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11729 * toc.C (getTocList): protect against buf=0
11731 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11732 Menu as first parameter. Now, this calls itself recursively to
11733 expand a whole tree (this will be useful for TOC handling)
11734 (expandFloatInsert): remove 'wide' version of floats
11736 * MenuBackend.h (submenuname): returns the name of the submenu.
11737 (submenu): returns the submenu itself, provided it has been
11738 created by MenuBackend::expand
11740 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11742 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11743 insets which have noFontChange == true. (bug #172)
11745 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11747 * BufferView_pimpl.C: add connection objects and use them...
11750 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11752 * MenuBackend.C (expandLastfiles):
11755 (expandFloatListInsert):
11756 (expandFloatInsert):
11757 (expand): split expand in parts
11759 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11761 * lyx_gui.C: use lyx_gui::exit()
11763 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11765 * LyXAction.C: show the failing pseudo action
11767 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
11769 * buffer.C (readFile): Run the lyxconvert script in order to read
11772 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11776 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11778 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11782 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11784 2002-07-22 Herbert Voss <voss@lyx.org>
11787 * lyxlength.[Ch]: add support for the vertical lengths
11789 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
11791 * toc.[Ch]: std:: fixes
11793 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11795 * lyxrc.C: do not include lyx_main.h
11797 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11803 * BufferView2.C: include "lyxlex.h"
11806 * bufferparams.h: do not #include "lyxlex.h"
11808 * lyxtextclasslist.C (Add): remove method
11809 (classlist): renamed to classlist_
11811 * paragraph_pimpl.C:
11815 * bufferview_funcs.C:
11820 * toc.C (getTocList): use BufferParams::getLyXTextClass
11822 * toc.C (getTocList): use InsetFloat::addToToc
11824 * toc.[Ch]: new files, containing helper functions to handle table
11827 * lyxfunc.C (dispatch): no need to remove spaces around command
11829 (getStatus): handle LFUN_SEQUENCE by returning the status of the
11830 first command of the sequence; it is not very clever, but I do not
11831 have a better idea, actually
11833 * LyXAction.C (LookupFunc): make sure to remove space at the
11834 beginning and end of the command
11836 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11838 * MenuBackend.C (getMenubar): new method: return the menubar of
11840 (read): treat differently reading of menu and menubar (in
11841 particular, the menubar has no name now)
11842 (Menu::menubar): remove
11844 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11847 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11849 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11850 a bibitem inset in a RTL paragraph.
11852 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
11854 * paragraph_pimpl.C: constify
11856 * BufferView_pimpl.C:
11858 * lyxfunc.C: fix dispatch in a nicer way
11860 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11862 * lyxfunc.C (dispatch):
11863 * BufferView_pimpl.C:
11864 * BufferView_pimpl.h:
11866 * BufferView.h: rename Dispatch() to dispatch()
11868 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11870 * lyxlayout.C (Read): honor DependsOn tag
11872 * lyxlayout.[Ch] (depends_on): new method
11874 * version.C.in: update lyx_docversion
11876 * LaTeXFeatures.C (getMacros): only define \LyX when needed
11878 * paragraph.C (validate): remove from here...
11879 * paragraph_pimpl.C (validate): ... and move here
11880 (isTextAt): make it const
11882 * buffer.C (getLists): ws cleanup
11884 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11886 * language.C (read): Use iso8859-1 encoding in latex_lang
11887 (this prevents LyX from crashing when using iso10646-1 encoding).
11889 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11891 * text2.C (toggleInset): if cursor is inside an inset, close the
11892 inset and leave cursor _after_ it
11894 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11896 * lyxfunc.C: move minibuffer completion handling out of here
11898 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11900 * BufferView_pimpl.C:
11901 * LaTeX.C: fix dispatch calls
11903 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
11905 * text.C (drawChars): Fix Arabic text rendering.
11907 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
11911 * lyxfunc.C: remove message-push/pop
11915 * lyxfunc.C: rationalise some code by removing verboseDispatch
11916 in favour of a bool argument to dispatch()
11918 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11920 * lyx_main.C (init): make sure to read symlinks as absolute paths
11922 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11925 * lyxfunc.C: no need for commandshortcut to be a member
11927 2002-07-15 André Pönitz <poenitz@gmx.net>
11929 * converter.C: add support for $$s (scripts from lib/scripts dir)
11930 * lyx_main.C: white space
11932 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11936 * lyxrc.C: remove second exit confirmation
11938 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11943 * BufferView_pimpl.h:
11944 * BufferView_pimpl.C:
11945 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11947 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11949 * MenuBackend.C (expand): add numeric shortcuts to document menu
11951 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11953 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11955 * lyxfont.C (setLyXFamily):
11962 * buffer.C (asciiParagraph): use ascii_lowercase
11964 2002-07-15 Mike Fabian <mfabian@suse.de>
11966 * lyxlex_pimpl.C (search_kw):
11967 * lyxlex.C (getLongString):
11968 * converter.h (operator<):
11969 * converter.C (operator<):
11970 * buffer.C (parseSingleLyXformat2Token):
11972 * ToolbarDefaults.C (read):
11973 * MenuBackend.C (checkShortcuts):
11975 * LColor.C (getFromGUIName):
11976 (getFromLyXName): use the compare_ascii_no_case instead of
11977 compare_no_case, because in turkish, 'i' is not the lowercase
11978 version of 'I', and thus turkish locale breaks parsing of tags.
11980 2002-07-16 Angus Leeming <leeming@lyx.org>
11982 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11983 now takes a Buffer const & argument.
11985 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
11987 * BufferView.C (resize): check there's a buffer to resize
11989 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
11991 * lyxfunc.C: remove dead code
11994 * lyxserver.C: use lyx_guii::set_read_callback
11996 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
11998 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11999 an inset in a RTL paragraph.
12001 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
12003 * lyxfunc.C: repaint after a font size update
12005 2002-07-15 André Pönitz <poenitz@gmx.net>
12007 * lyxlength.C: inBP should be able to return negative values
12009 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
12011 * lyxfunc.C: use lyx_gui::update_fonts()
12013 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
12015 * lyxfunc.C: use lyx_gui::update_color()
12017 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
12023 * lyxrc.C: remove file->new asks for name option, and let
12024 buffer-new take an argument
12026 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
12028 * BufferView_pimpl.C: remove unneeded extra repaint()
12030 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
12032 * LyXAction.C: allow command-sequence with NoBuffer
12034 * lyxfunc.C: don't insist on trailing ';' for command-sequence
12036 2002-07-10 Angus Leeming <leeming@lyx.org>
12038 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
12040 2002-07-09 Angus Leeming <leeming@lyx.org>
12042 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
12044 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
12046 * lengthcommon.h: whitespace
12048 * lyxfunc.C: update scrollbar after goto paragraph
12050 * lyxtext.h: factor out page break drawing, and fix it so
12051 page break/added space paints as selected nicely
12053 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
12055 * BufferView_pimpl.C: add FIXMEs, clean up a little
12057 2002-07-09 André Pönitz <poenitz@gmx.net>
12059 * lyxfont.[Ch]: support for wasy symbols
12061 2002-07-08 André Pönitz <poenitz@gmx.net>
12063 * BufferView_pimpl.C: apply John's patch for #93.
12065 2002-07-05 Angus Leeming <leeming@lyx.org>
12067 * BufferView_pimpl.C (buffer): generate previews if desired.
12069 * LColor.h: add "preview" to the color enum.
12071 * LColor.C (LColor): add a corresponding entry to the items array.
12073 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
12076 2002-07-05 Angus Leeming <leeming@lyx.org>
12078 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
12079 The body of the code is now in the method that is passed an ostream &
12080 rather than a file name.
12081 Pass an additional only_preamble parameter, useful for the forthcoming
12084 2002-07-03 André Pönitz <poenitz@gmx.net>
12086 * lyxfunc.C: simplify getStatus() a bit for math stuff
12088 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12090 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
12092 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12094 * text.C (changeRegionCase): do not change case of all the
12095 document when region ends at paragraph end (bug #461)
12097 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12099 * paragraph.C (startTeXParParams):
12100 (endTeXParParams): add \protect when necessary
12102 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12104 * BufferView_pimpl.C (workAreaExpose): remove warning
12106 2002-06-27 Angus Leeming <leeming@lyx.org>
12108 * Makefile.am: add lyxlayout_ptr_fwd.h.
12110 2002-06-26 André Pönitz <poenitz@gmx.net>
12112 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
12114 2002-06-25 Angus Leeming <leeming@lyx.org>
12116 * lyxfunc.C (dispatch): Comment out the call to
12117 grfx::GCache::changeDisplay. The method no longer exists now that the
12118 pixmap generation part of the graphics loader has been moved into
12121 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12123 * text2.C: layout as layout
12125 * text.C: layout as layout
12127 * tabular.C (OldFormatRead): layout as layout
12129 * paragraph_pimpl.C (TeXDeeper): layout as layout
12130 (realizeFont): layout as layout
12132 * paragraph.C (writeFile): layout as layout
12133 (validate): layout as layout
12134 (getFont): layout as layout
12135 (getLabelFont): layout as layout
12136 (getLayoutFont): layout as layout
12137 (breakParagraph): layout as layout
12138 (stripLeadingSpaces): layout as layout
12139 (getEndLabel): layout as layout
12140 (getMaxDepthAfter): layout as layout
12141 (applyLayout): layout as layout
12142 (TeXOnePar): layout as layout
12143 (simpleTeXOnePar): layout as layout
12144 (TeXEnvironment): layout as layout
12145 (layout): layout as layout
12146 (layout): layout as layout
12148 * lyxtextclass.C (compare_name): new functor to work with
12149 shared_ptr, layout as layout
12150 (Read): layout as layout
12151 (hasLayout): layout as layout
12152 (operator): layout as layout
12153 (delete_layout): layout as layout
12154 (defaultLayout): layout as layout
12156 * lyxlayout_ptr_fwd.h: new file
12158 * lyxlayout.C (Read): layout as layout
12160 * lyx_cb.C (MenuInsertLabel): layout as layout
12162 * bufferlist.C (newFile): layout as layout
12164 * buffer.C (readLyXformat2): layout as layout
12165 (parseSingleLyXformat2Token): layout as layout
12166 (insertStringAsLines): layout as layout
12167 (asciiParagraph): layout as layout
12168 (latexParagraphs): layout as layout
12169 (makeLinuxDocFile): layout as layout
12170 (simpleLinuxDocOnePar): layout as layout
12171 (makeDocBookFile): layout as layout
12172 (simpleDocBookOnePar): layout as layout
12173 (getLists): layout as layout
12175 * LaTeXFeatures.C (getTClassPreamble): layout as layout
12177 * CutAndPaste.C (cutSelection): layout as layout
12178 (pasteSelection): layout as layout
12179 (SwitchLayoutsBetweenClasses): layout as layout
12181 * BufferView_pimpl.C (Dispatch): layout as layout
12182 (smartQuote): layout as layout
12184 * BufferView2.C (unlockInset): layout as layout
12186 2002-06-24 André Pönitz <poenitz@gmx.net>
12188 * lyxfunc.C: fix #487
12190 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12194 * lyxfunc.C: remove display_shortcuts, show_banner
12196 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12198 * Buffer_pimpl.C: oops, update on resize
12200 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12207 * BufferView.C: use repaint()
12209 * BufferView_pimpl.h:
12210 * BufferView_pimpl.C: s/updateScreen()/repaint()/
12211 as it's a clearer description. Remove superfluous
12214 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12216 * text.C: fix bug 488. Not ideal, but getting
12217 getWord() to work properly for the insets that
12218 matter is more difficult ...
12220 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12222 * BufferView_pimpl.C:
12225 * lyxfunc.C: remove the six million index lyxfuncs to just
12226 one, and DTRT (bug 458)
12228 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12232 * BufferView_pimpl.h:
12233 * BufferView_pimpl.C: clean up resize() stuff,
12234 and unnecessary updateScreen()s
12236 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12240 * BufferView_pimpl.h:
12241 * BufferView_pimpl.C:
12244 * minibuffer.C: remove focus management of workarea,
12245 not needed. Use screen's greyOut()
12247 2002-06-17 Herbert Voss <voss@lyx.org>
12249 * converter.C: (convert) do not post a message, when converting
12250 fails, let the calling function decide what to do in this case
12252 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
12254 * lyxfunc.C: tidy up a little
12256 2002-06-16 <alstrup@diku.dk>
12258 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
12259 Got rid of FORMS_H_LOCATION include. Now we are
12262 2002-06-15 LyX Development team <lyx@rilke>
12264 * buffer.[Ch] (sgmlOpenTag):
12265 (sgmlCloseTag): Added support for avoiding pernicious mixed
12266 content. Return number of lines written.
12268 (makeLinuxDocFile):
12269 (makeDocBookFile): Fixed calls to sgml*Tag.
12270 Simple white space clean.
12272 (simpleDocBookOnePar): Simple white space clean.
12274 * tabular.[Ch] (docBook): Renamed to docbook and got another
12275 argument to related with the pernicious mixed content.
12277 (docbookRow): Fixed calls for docbook inset method.
12279 2002-06-15 Lyx Development team <larsbj@birdstep.com>
12281 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
12282 so it's X11 independent.
12286 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
12288 2002-06-15 Lyx Development team <lyx@electronia>
12290 * intl.h: Renamed getTrans to getTransManager.
12292 2002-06-14 Angus Leeming <leeming@lyx.org>
12294 * Makefile.am: nuke forgotten stl_string_fwd.h.
12296 2002-06-12 Angus Leeming <leeming@lyx.org>
12298 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
12300 2002-06-13 Angus Leeming <leeming@lyx.org>
12303 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
12305 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
12307 * kbmap.C (getiso): add support for cyrillic and greek
12309 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12313 * BufferView_pimpl.h:
12314 * BufferView_pimpl.C: move bogus scrolling logic
12317 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12320 * BufferView_pimpl.C: view->resize() change
12322 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12324 * BufferView_pimpl.C: topCursorVisible
12327 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12331 * lyx_gui.C: move to frontends/
12335 * lyx_main.C: changes from above
12337 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12344 * lyx_main.C: minor tidy
12346 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12348 * BufferView_pimpl.h:
12349 * BufferView_pimpl.C:
12351 * BufferView.C: make painter() const,
12354 * BufferView2.C: use screen() accessor
12357 * lyx_main.C: some minor cleanup
12359 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12361 * BufferView_pimpl.h:
12362 * BufferView_pimpl.C: remove enter/leaveView,
12365 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12370 * BufferView_pimpl.h:
12371 * BufferView_pimpl.C: only construct screen once,
12374 * lyxrc.C: remove pointless comment
12376 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
12379 * BufferView.C: remove active() and belowMouse()
12381 * BufferView_pimpl.h:
12382 * BufferView_pimpl.C: use workarea() not workarea_,
12383 and make it use a scoped_ptr instead
12385 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
12387 * lyx_gui.C: add debug message on BadWindow
12389 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12391 * sp_spell.C: fdopen is not part of the C++ standard.
12393 * paragraph.C (InsetIterator): use >= instead of ==
12395 2002-06-07 Angus Leeming <leeming@lyx.org>
12397 Fixes needed to compile with Compaq cxx 6.5.
12398 * BufferView_pimpl.C:
12405 * lyxtextclasslist.C:
12410 all c-library variables have been moved into namespace std. Wrap
12411 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12416 Add a using std::abs declaration.
12418 * kbmap.h (modifier_pair):
12419 * paragraph.h (InsetTable, InsetList):
12420 * lyxfont.h (FontBits):
12421 type definition made public.
12423 * bufferlist.C (emergencyWriteAll): the compiler complains that
12424 there is more than one possible lyx::class_fun template to choose from.
12425 I re-named the void specialisation as lyx::void_class_fun.
12427 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12429 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12430 the compiler is is unable to find tostr in write_attribute.
12432 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12434 * buffer.C (sgmlError): hide #warning
12436 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12438 * xtl/*: get rid of xtl, which is not in use anyway
12440 * LyXAction.C (init):
12441 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12442 were unimplemented xtl experimentation
12444 2002-06-04 André Pönitz <poenitz@gmx.net>
12446 * lyxfunc.C: disable array operation on simple formulae
12448 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
12450 * converter.C: constify a bit
12452 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
12454 * lyx_gui.C: check xforms version correctly
12456 2002-04-30 Herbert Voss <voss@lyx.org>
12458 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12461 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
12463 * lyxvc.C: fix bug 416 (make sure buffer is saved before
12464 attempt to register it with a VCS)
12466 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12468 * lyx_main.C (init): honor variables LYX_DIR_13x and
12471 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12475 * lyx_main.C: fix a crash on bad command line,
12476 and give a useful exit status on error
12478 * lyxfunc.C (doImport): allow -i lyx to work
12480 2002-03-30 André Pönitz <poenitz@gmx.net>
12482 * lyxfunc.C: mathed font changes
12484 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12499 * trans_mgr.h: srcdocs, and some minor cleanups
12501 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12503 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12504 call getFont all the time)
12506 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12508 * switch from SigC signals to boost::signals
12510 2002-05-29 André Pönitz <poenitz@gmx.net>
12512 * paragraph_pimpl.C (getChar): don't call size() too often...
12514 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12516 * paragraph_pimpl.C (insertChar): do not try to update tables when
12517 appending (pos == size())
12519 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12520 in order to reduce drastically the number of comparisons needed to
12521 parse a large document
12523 2002-05-29 André Pönitz <poenitz@gmx.net>
12529 * textclasslist.[Ch]:
12530 * sp_ispell.h: whitespace change
12532 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12534 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12535 lyxaction directly now.
12537 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
12541 * lyxvc.C: remove unused headers
12543 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12550 * undo_funcs.C: some cleanups. Use shared_ptr
12551 and a template for the undo stacks.
12553 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12555 * BufferView_pimpl.h:
12556 * BufferView_pimpl.C:
12563 * text2.C: use key_state/mouse_state
12565 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12567 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12570 * chset.C: change include order
12571 (loadFile): use boost regex and get rid of LRegex and LSubstring
12573 * Makefile.am (BOOST_LIBS): new variable
12574 (lyx_LDADD): use it
12576 * LaTeX.C: change include order.
12577 (scanAuxFile): use boost regex and get rid of LRegex and
12581 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12586 * FontInfo.C: moved to frontends/xforms/
12589 * FontLoader.C: moved into frontends for GUIIzation
12594 * lyxfunc.C: changes from above
12596 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12598 * LColor.C: remove spurious X include
12600 * BufferView_pimpl.C:
12605 * text2.C: move font metrics to frontends/
12607 2002-05-24 Juergen Vigna <jug@sad.it>
12609 * undo_funcs.C (textHandleUndo): fix the cursor selection after
12610 setting the undo_cursor.
12612 * ParagraphParameters.h: include local includes first.
12614 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12616 * BufferView_pimpl.C:
12617 * BufferView_pimpl.h:
12621 * screen.C: move WorkArea into frontends/
12627 * BufferView2.C: move LyXScreen into frontends/
12631 * lyx_gui.C: move lyxlookup into frontends/xforms/
12633 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12636 * BufferView_pimpl.C:
12646 * bufferview_funcs.C:
12659 * vc-backend.C: move LyX/XFormsView into frontends/
12661 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12673 * text2.C: move Painter to frontends/
12675 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
12677 * buffer.C: comment out some some code that depend upon lyx_format
12680 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12681 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12683 * buffer.h (NO_COMPABILITY): turn off compability
12685 * ColorHandler.C: include scoped_array.hpp
12687 * font.C: Use more specific smart_ptr header.
12690 * ShareContainer.h: ditto
12691 * lyx_main.h: ditto
12693 * FontInfo.h: ditto
12694 * BufferView_pimpl.h: ditto
12695 * ColorHandler.h: ditto
12697 * kbmap.C (defkey): change call to shared_ptr::reset
12699 2002-05-21 Juergen Vigna <jug@sad.it>
12701 * buffer.C (insertErtContents): fix to insert ert asis if it is
12702 non empty. Skip it completely if it contains only whitespaces.
12704 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
12706 * BufferView_pimpl.C:
12707 * BufferView2.C: clear selection on paste (bug 393)
12709 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12711 * DepTable.C: include ctime
12713 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
12715 * buffer.C (latexParagraphs): Add new argument (moving_arg).
12717 2002-05-14 Juergen Vigna <jug@sad.it>
12719 * text.C (breakParagraph): fixed function to honor the keepempty
12720 layout in the right maner and also to permit the right breaking
12721 algorithm on empty or non empyt keepempty paragraphs.
12723 * paragraph.C (breakParagraph): we have to check also if the par
12724 is really empty (!size()) for isempty otherwise we do the wrong
12727 2002-05-10 Juergen Vigna <jug@sad.it>
12729 * buffer.[Ch] : The following are only changes to the ert
12730 compatibility read reading old LaTeX layout and font stuff and
12731 convert it to ERTInsets.
12733 * buffer.h: added isErtInset().
12735 * buffer.C (struct ErtComp): add a fromlayout bool to check
12736 if we're inside a LaTeX layout.
12737 (isErtInset): new helper function.
12738 (insertErtContents): look for other ert insets before this one
12739 and insert the contents there, so that we don't have subsequent
12740 ERT insets with nothing between them. This way we create only one
12741 inset with multiple paragraphs. Also check if we don't insert only
12742 spaces ' ' as they are ignored anyway afterwards in the .tex file
12743 so if we have only spaces we will ignore this latex part in the
12745 (parseSingleLyXformat2Token \\layout): better compatibility when
12746 reading layout-latex stuff.
12747 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12749 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12750 stuff after reading the inset only get the information back from
12753 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
12755 * buffer.C (makeLaTeXFile): Put language options after loading babel.
12757 * LaTeXFeatures.C (getBabelOptions): New method.
12759 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12761 * BufferView_pimpl.C (Dispatch): work around missing argument for
12764 2002-05-08 Juergen Vigna <jug@sad.it>
12766 * text.C (leftMargin): handle paragraph leftindent.
12768 * paragraph.C (writeFile): write the new \\leftindent tag.
12769 (validate): handle leftindent code.
12770 (TeXEnvironment): handle paragraphleftindent code again.
12772 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12774 * buffer.C (parseSingleLyXformat2Token): added compatibility code
12775 for paragrap_extra indent code and new token \\leftindent.
12776 (latexParagraphs): handle the leftindent as environment.
12778 * ParameterStruct.h: added leftindent support.
12780 * ParagraphParameters.C (leftIndent): added support functions for
12781 the paragraph left indent.
12783 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12786 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
12788 * paragraph.C (isRightToLeftPar): Return false for a paragraph
12791 * text.C (computeBidiTables): No bidi in insetERT.
12793 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12796 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12798 * version.C.in: pre 5
12800 2002-05-02 José Matos <jamatos@fep.up.pt>
12801 * buffer.C (makeDocBookFile): white space changes, add newline to
12803 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12805 * tabular.C (docBook): fix typo.
12807 2002-05-03 Juergen Vigna <jug@sad.it>
12809 * screen.C (drawFromTo): recalculate the rowpointer if we had a
12810 change in LyXText as we can not be sure it was not freed.
12811 (drawOneRow): remove unused code.
12813 * text.C (drawInset): redo the calculation of the need_break_row as
12814 it could have a row which was already freed.
12815 (draw): look at the return value of drawInset and return false if
12816 it also returned false.
12817 (paintRowText): look at the return value of draw and return false if
12818 it also returned false.
12820 * lyxtext.h: added bool return type to drawInset() and draw() so that
12821 if we have a change in the row so that the rowbreak has to be redone
12822 we abort drawing as it will be called again.
12824 2002-05-02 Juergen Vigna <jug@sad.it>
12826 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12827 a change in the maintext also if we're inside an inset.
12828 (Dispatch): set the cursor again after a break line and after the
12829 screen has been updated as it could be we're in a different row.
12831 * text2.C (fixCursorAfterDelete): check to make sure we don't request
12832 to set the cursor behind the pargraph with > size().
12833 (setCursor): check also for the same paragraph when checking where
12834 to put the cursor if we have a NFR inset.
12836 * buffer.C (parseSingleLyXformat2Token): move the compatibility
12837 parts of layout read further up as it still was in the wrong
12840 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12842 * screen.C (drawFromTo): change sine fullRebreak always return
12845 * buffer.C (parseSingleLyXformat2Token): reindent some
12847 * BufferView_pimpl.C (update): change since fullRebreak always
12849 (Dispatch): git rid of the last hardcoded "Standard"s.
12851 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
12853 * text2.[Ch] (fullRebreak): make it return void now that we always
12856 2002-04-30 Juergen Vigna <jug@sad.it>
12858 * buffer.C (parseSingleLyXformat2Token): reset the font before the
12859 ert compatibility check for "latex" layout.
12861 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
12863 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12864 minipages: use col% instead of p%, and also use the current font.
12865 (makeLaTeXFile): Fix use babel condition.
12866 (parseSingleLyXformat2Token): Correct font when reading old floats.
12868 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
12870 * BufferView_pimpl.C (Dispatch): Check that float type exists when
12871 inserting list of floats.
12873 2002-04-25 Herbert Voss <voss@lyx.org>
12875 * MenuBackend.C (expand): don't add the graphics extensions to the
12878 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12880 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12881 non-existing layout, do not complain if it was the default layout
12882 of the original class (bug #342)
12884 2002-04-24 Juergen Vigna <jug@sad.it>
12886 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12887 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12889 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
12891 * buffer.C (getBibkeyList): If using \bibliography, return the
12892 option field with the reference itself. Enables us to provide natbib
12893 support when using \bibliography.
12895 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
12897 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12899 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12900 natbib is provided by the LaTeX class.
12902 2002-04-23 Juergen Vigna <jug@sad.it>
12904 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12907 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12909 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12911 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12913 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12914 ensuremath around textordmasculine, textordfeminine and
12917 2002-04-19 Juergen Vigna <jug@sad.it>
12919 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12920 reinitializing the buffer otherwise row-dimensions may be wrong.
12921 (update): reset also the selection cursors if they do exits otherwise
12922 their x/y positions may be wrong.
12924 * text2.C (cursorDown): don't enter the inset if we came from a row
12925 above and are one row over the inset.
12927 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12928 really leaving an inset.
12930 2002-04-18 Juergen Vigna <jug@sad.it>
12932 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12933 of the selected paragraph does not have the selected layout also if
12936 * text2.C (setLayout): fixed bug which did not change last selected
12939 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12940 changed the read and substituted \\end_float with \\end_inset!
12942 * BufferView_pimpl.C (cursorPrevious):
12943 (cursorNext): fixed to make it work with rows heigher than the work
12944 area without moving the cursor only the draw of the row.
12945 (workAreaMotionNotify): fix jumping over high rows.
12947 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12949 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12952 2002-04-16 Juergen Vigna <jug@sad.it>
12954 * text2.C (setCursor): set also the irow().
12955 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12957 (cursorDown): support for locking an inset if the x_fix value goes
12958 inside it. That way I can transverse insets too with cursor up/down.
12960 * lyxrow.h: added irow helper function same as other (i) functions.
12962 * BufferView_pimpl.C (cursorPrevious):
12963 (cursorNext): fixed for insets!
12965 2002-04-15 Juergen Vigna <jug@sad.it>
12967 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12968 position otherwise it is wrong in some cases.
12970 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12971 inside the inset before the call.
12973 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
12975 * buffer.[Ch] (getBibkeyList): make it const.
12977 2002-04-12 Juergen Vigna <jug@sad.it>
12979 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12981 * text2.C (getCursorX): new helper function
12982 (setCursor): compute also ix_
12983 (setCursorFromCoordinates): set also ix.
12985 * lyxcursor.h: added ix_ and helper functions.
12987 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12989 * buffer.C (insertStringAsLines): dont break paragraph if the this
12990 paragraph is inside an inset which does not permit it!
12992 * text.C (breakParagraph): honor keepempty flag and break the paragraph
12993 also with no chars on this paragraph.
12994 (paintRowText): only paint stuff if it's inside the workarea!
12996 * paragraph.C (breakParagraph): honor keepempty flag and break the
12997 paragraph always below not above.
12999 * BufferView2.C (unlockInset): update the paragraph layout on inset
13000 unlock as we changed paragraph in such a case.
13002 * lyxfind.C (LyXFind): clear the former selection if not found!
13004 * text2.C (insertInset): freeze Undo after setUndo so that it is not
13005 again called in insertChar().
13007 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
13008 an inset which uses the whole row!
13009 (rightMargin): ditto.
13010 (insertChar): force a rebreak if we inserted an inset!
13012 2002-03-28 Herbert Voss <voss@lyx.org>
13014 * lyxlength.[Ch]: add inBP() to get the right PS-point
13015 units (BigPoint). With inPixels we have rounding errors
13017 2002-04-11 Juergen Vigna <jug@sad.it>
13019 * text2.C (setCursorFromCoordinates): set iy to the right value.
13020 (setCursor): add check if row->previous exists!
13022 * buffer.C (parseSingleLyXformat2Token): reset font after read of
13023 an old float_type as this was the case in the old code!
13025 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
13027 * BufferView2.C (showLockedInsetCursor): use iy
13028 (fitLockedInsetCursor): ditto
13030 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
13031 locked insets as there we have the right value now.
13033 * lyxcursor.C: added iy_ variable and iy functions to set to the
13034 baseline of cursor-y of the locked inset.
13036 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
13037 (setCursor): fixed for insets which need a full row.
13039 * text.C (rowLastPrintable): don't ignore the last space when before
13040 an inset which needs a full row.
13041 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
13042 as last character of a row when before a inset which needs a full row.
13044 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13046 * version.C.in: update date
13048 * text2.C (fullRebreak): try to always return true and see what
13051 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13053 * MenuBackend.C (expand): use Floating::listName
13055 * FloatList.C (FloatList): add listName argument to the built-in
13058 * Floating.[Ch]: add listName member, which is the 'List of XXX'
13059 text associated with the float.
13061 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13063 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
13065 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13067 * ShareContainer.h: add a couple of missing typenames.
13069 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
13071 * lyxrc.C (getDescription): use _() correctly rather than N_().
13073 2002-03-28 Herbert Voss <voss@lyx.org>
13075 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
13076 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
13078 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13080 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
13081 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
13083 2002-03-29 Juergen Vigna <jug@sad.it>
13085 * lyxfunc.C (dispatch): add a missing fitCursor call.
13087 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
13088 it was scrolled by a cursor move, so return the bool status.
13090 * BufferView.C (fitCursor): return the bool flag also to the outside
13091 world as this is needed.
13093 * screen.C (toggleToggle): don't subtract the offset if it's positive.
13095 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
13096 call the edit() as it is not needed (and wrong) IMO.
13097 (workAreaButtonPress): set the screen_first variable before evt.
13098 unlock the inset as this may change screen_first and then we have
13099 a wrong y position for the click!
13101 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13103 * MenuBackend.C (expand): another translation that I missed
13105 2002-03-28 Juergen Vigna <jug@sad.it>
13107 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
13109 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
13111 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13113 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
13115 * MenuBackend.C (expand): fix export/view/update when there is no
13118 2002-03-27 Herbert Voss <voss@lyx.org>
13120 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
13123 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13125 * bufferview_funcs.C (currentState): only show paragraph number
13126 for is DEVEL_VERSION is set.
13128 * lyxfunc.C (dispatch): put warning in INFO channel
13130 * MenuBackend.C (expand): translate the name of floats
13132 * FloatList.C (FloatList): mark the float names for translation
13134 * converter.C (convert): use LibScriptSearch
13136 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13138 * MenuBackend.C (defaults): fix default menu (we might as well get
13141 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13143 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
13146 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13148 * lyxvc.C: reorder includes.
13150 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
13152 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
13155 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
13157 * CutAndPaste.C: change layouts earlier on paste
13158 to avoid crashing when calling getFont()
13160 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
13162 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
13165 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
13167 * WorkArea.C: remove 'Pending' debug message.
13169 * most files: ws cleanup
13171 * buffer.[Ch]: ws changes
13173 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
13175 2002-03-21 Juergen Vigna <jug@sad.it>
13177 * tabular.C (SetMultiColumn): collapse also the contents of the
13178 cells and set the last border right. Added a Buffer const * param.
13180 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
13182 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
13185 2002-03-19 Juergen Vigna <jug@sad.it>
13187 * text2.C (clearSelection): reset also xsel_cache.
13189 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
13190 where it needs to be called (John tells us to do so too :)
13191 (selectionLost): reset sel_cache.
13193 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
13195 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13197 * text2.C (setCursorIntern): put debuging code in INSETS channel
13199 2002-03-19 André Pönitz <poenitz@gmx.net>
13201 * lyxfunc.C: tiny whitespace change
13203 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13205 * ToolbarDefaults.C (init):
13206 * LyXAction.C (init):
13208 * BufferView_pimpl.C (Dispatch):
13209 * lyxfunc.C (dispatch): remove LFUN_DEPTH
13211 2002-03-19 Allan Rae <rae@lyx.org>
13213 * exporter.C (Export): removeAutoInsets before doing anything else.
13214 While I've just introduced a dependency on BufferView this really is
13215 the best place to clean the buffer otherwise you need to cleanup in
13216 a dozen places before calling export or cleanup in a dozen functions
13219 * converter.C (runLaTeX):
13220 (scanLog): Better handling of removeAutoInsets and screen updates.
13222 * lyxfunc.C (dispatch): small whitespace changes
13224 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13226 * WorkArea.C (C_WorkAreaEvent): return a value.
13227 (event_cb): return 1 if we handled the event, 0 otherwise.
13229 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
13231 2002-03-18 Juergen Vigna <jug@sad.it>
13233 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
13234 (GetAdditionalWidth): ditto.
13235 (RightLine): ditto.
13238 * BufferView2.C (copy): use getLyXText() so that we do it inside an
13239 inset if we're there actually (probably not used right now but this
13240 is the direction to go for unifying code).
13241 (paste): disable code to clear the selection.
13243 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
13244 inside an InsetText and move the check further up as it is in the
13247 * text2.C (pasteSelection): set a selection over the pasted text.
13249 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
13251 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
13252 and libgraphics to build on Cygwin.
13254 2002-03-15 Juergen Vigna <jug@sad.it>
13256 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
13257 inserting an Inset into the paragraph. I know this is not the best
13258 fix but we already use current_view in CutAndPaste so we will remove
13259 all of it's using at the same time.
13261 * buffer.C (sgmlError): deactivated function till it is rewritten in
13262 the right mode, now it can create problems.
13264 * paragraph.C (isLineSeparator): check if getInset returns != 0,
13265 before accessing it.
13267 2002-03-14 Juergen Vigna <jug@sad.it>
13269 * undo_funcs.C (textHandleUndo): do the right thing when updating
13270 the inset after the undo/redo.
13272 * text2.C (setCursor): just some testcode for #44 not ready yet.
13274 * undo_funcs.C (textHandleUndo): set the next() and previous()
13275 pointers of the paragraph to 0 before deleting otherwise we have
13276 problems with the Paragraph::[destructor].
13278 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
13279 on a paragraph insertion.
13281 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13283 * buffer.C (asciiParagraph): use += operator for char append to
13286 * paragraph.C (getFontSettings): compare >= not just >
13287 (highestFontInRange): ditto
13290 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13292 * paragraph.C: change several algorithm to be more appripriate for
13293 the problem domain. This is lookip in FontList and in the InsetList.
13295 2002-03-13 André Pönitz <poenitz@gmx.net>
13298 * LyXAction.C: remove unused LFUN_MATH_MACROARG
13300 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
13305 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
13307 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13309 * Painter.C (display): anon helper function, adjust code for this
13311 (pixmap): remove function.
13313 * Painter.h: remove private display variable.
13315 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
13317 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
13319 * WorkArea.[Ch]: remove figinset_canvas cruft.
13321 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13323 * lyxtextclass.C (operator): add one item cache optimization.
13325 * bufferlist.h: doxy changes
13327 * bufferlist.C: ws changes
13329 * DepTable.[Ch] (ext_exist): place const in the right spot.
13331 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
13333 (workAreaExpose): call resizeInsets when the with BufferView changes.
13334 (Dispatch): adjust for protectedBlank removal
13335 (specialChar): call updateInset if the insert went ok.
13337 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
13338 specialChar instead.
13340 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
13342 * BufferView.h: doxy change
13344 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
13346 * lyxtextclass.C (operator[]): remove non-const version
13347 (defaultLayout): remove non-const version
13349 2002-03-12 Juergen Vigna <jug@sad.it>
13351 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
13352 did resize the LyXText too.
13354 * buffer.C (readLyXformat2): set layout information on newly allocated
13357 * tabular.C (OldFormatRead): set layout information on the paragraph.
13359 2002-03-12 Jos�Ab�io Oliveira Matos <jamatos@novalis.fc.up.pt>
13361 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
13363 2002-03-11 Juergen Vigna <jug@sad.it>
13365 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
13367 (resizeCurrentBuffer): force also the insets to resize themselfes.
13368 (moveCursorUpdate): fixed up for InsetText.
13370 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
13373 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
13374 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
13375 value of Dialogs::tooltipsEnabled().
13376 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
13378 2002-03-08 Juergen Vigna <jug@sad.it>
13380 * BufferView_pimpl.C (updateInset): update inset inside inset also
13381 if it isn't inside theLockingInset().
13383 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13385 * buffer.C (asciiParagraph): redo some of the word and line length
13387 (getLists): look for Caption instead of caption.
13389 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13391 * buffer.C (Buffer): initialize niceFile to true
13393 (makeLinuxDocFile):
13394 (makeDocBookFile): make sure niceFile is true on exit
13396 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13398 * buffer.C (makeLaTeXFile): escape ~ in \input@path
13400 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
13402 * LyXSendto.C: remove.
13403 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13404 * lyx_gui.C: remove now-redundant comment.
13405 * ColorHandler.h: remove forward declaration of class WorkArea.
13406 * lyxfunc.C: remove #include "WorkArea.h".
13408 2002-03-07 Juergen Vigna <jug@sad.it>
13410 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13411 got moved away with the DEPM and also set the inset_owner always
13412 right which before could have been omitted.
13414 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13416 * buffer.C (parseSingleLyXformat2Token): use default layout is the
13417 wanted layout is not found.
13419 2002-03-07 Juergen Vigna <jug@sad.it>
13421 * CutAndPaste.C (cutSelection): another layout settings forgotten.
13423 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13425 * paragraph.C (breakParagraph): use default layout not layout of
13427 (Paragraph): clear ParagraphParameters.
13429 2002-03-06 Juergen Vigna <jug@sad.it>
13431 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13432 otherwise it would not be a valid lenght. Fixed a special case in
13433 the minipage compatibility read where we end the document with a
13436 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13437 was set as it could be 0 for InsetTexts first entry.
13439 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13441 * paragraph.C (writeFile): if layout is empty write out
13442 defaultLayoutName().
13444 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13445 file without named layout we set layout to defaultLayoutName().
13447 2002-03-06 Juergen Vigna <jug@sad.it>
13449 * CutAndPaste.C (copySelection): set layout for new paragraph.
13451 * text.C (prepareToPrint): leave ERT inset left aligned
13452 (leftMargin): don't indent paragraphs inside ERT insets
13454 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13456 * paragraph.C (breakParagraph): dont call clear do the work manually
13458 * paragraph.[Ch] (clear): remove function
13460 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13462 * paragraph.C (Paragraph): dont call clear, the work has already
13465 * lyxtextclass.C (operator): assert if n is empty
13467 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13468 work manually instead.
13470 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13472 * BufferView_pimpl.C: protect selectionLost against text == 0
13474 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13476 * text.C (breakParagraph): fix a setting layout to '0' problem.
13478 2002-03-05 Jos�Ab�io Oliveira Matos <jamatos@novalis.fc.up.pt>
13480 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13481 final location of file, for the included files, and graphics.
13483 2002-03-05 Juergen Vigna <jug@sad.it>
13485 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13487 2002-03-04 Juergen Vigna <jug@sad.it>
13489 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13491 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13492 last column of multicolumn cells.
13493 (SetWidthOfMulticolCell): recalculate NMC and real columns.
13495 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
13497 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13498 file if it doesn't go to a temporary file.
13500 * buffer.C (sgmlOpenTag):
13501 (sgmlCloseTag): remove extra newline insertion.
13503 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13505 * text.C (getRowNearY): comment out debug msg
13507 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13509 * text2.C: first -> first_y
13511 * text.C (getRowNearY): add some attemts at a possible
13512 optimization, not working.
13514 * tabular.[Ch]: add BufferParams to several function so that newly
13515 created paragraph can be initialized to he default layotu for the
13518 * tabular-old.C (ReadOld): add buf->params to call of Init
13520 * screen.C: rename text->first to text->first_y
13522 * paragraph.C (breakParagraph): always set layout in the broken
13525 * lyxtextclass.C (Read): remove lowercase
13528 (delete_layout): ditto
13530 * lyxtext.h: rename first -> first_y
13532 * lyxlayout.C (Read): remove lowercase
13535 (obsoleted_by): ditto
13537 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13539 * buffer.C (insertErtContents): add params are to InsetERT
13540 (parseSingleLyXformat2Token): add code to check if a paragraphs
13541 layout really exist.
13542 (parseSingleLyXformat2Token): add params to several inset
13544 (asciiParagraph): remove lowercase, do the layout comparisons with
13547 * BufferView_pimpl.C (cursorNext): first -> first_y
13548 (resizeCurrentBuffer): first -> first_y
13549 (updateScrollbar): first -> first_y
13550 (scrollCB): first -> first_y
13551 (workAreaMotionNotify): first -> first_y
13552 (workAreaButtonPress): first -> first_y
13553 (checkInsetHit): first -> first_y
13554 (cursorPrevious): first -> first_y
13555 (cursorNext): first -> first_y
13556 (Dispatch): add buffer_->params to severl inset contructors
13558 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13560 * lyxlayout.C (Read): remove some debug info that I forgot.
13562 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13563 clean up the code slightly.
13564 (makeLinuxDocFile): ditto
13565 (makeDocBookFile): ditto
13567 * text2.C: layout as string
13569 * text.C: layout as string
13571 * paragraph_pimpl.C: layout as string
13573 * paragraph.[Ch]: layout as string
13575 * lyxtextclasslist.[Ch]: layout as string
13577 * lyxtextclass.[Ch]: layout as string
13579 * lyxtext.h: layout as string
13581 * lyxlayout.[Ch]: layout as string
13583 * lyx_cb.C: layout as string
13585 * bufferview_funcs.C: layout as string
13587 * bufferparams.C: layout as string
13589 * buffer.C: layout as string
13591 * LyXView.[Ch]: layout as string
13593 * LaTeXFeatures.[Ch]: layout as string
13595 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13597 * BufferView_pimpl.C: change current_layout to string, remove
13602 (workAreaButtonRelease): layout as string
13604 * BufferView2.C (unlockInset): adjust
13606 * vspace.C (asLatexCommand): use an explict temp variable.
13608 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13610 * Makefile.am: use FRONTEND_*
13612 2002-03-01 Juergen Vigna <jug@sad.it>
13614 * tabular.C (SetWidthOfMulticolCell): changed to something better
13615 I hope but still work in progress.
13616 (recalculateMulticolumnsOfColumn): renamed function from
13617 recalculateMulticolCells as it is more appropriate now.
13618 (SetWidthOfCell): calculate multicols better.
13620 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13622 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13624 * lyxfunc.C (processKeySym): print sequence also if it is
13625 `deleted' (complete)
13627 * kbsequence.C (print): print sequence even if it is deleted
13628 (complete would be a better word, actually).
13630 * lyxfunc.C (dispatch): print complete options after a prefix key
13632 * vspace.C (asLatexCommand): rewrite in a slightly different form.
13634 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
13636 * text2.C (setCharFont): eliminate setCharFont code duplication.
13638 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13640 * BufferView_pimpl.C (Dispatch): remove bogus handling of
13641 LFUN_TABULAR_FEATURE (bug #177)
13643 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
13645 * Makefile.am: remove figure.h
13647 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
13649 * Bufferview_pimpl.C:
13661 * text2.C: remove #include "lyx_gui_misc.h".
13663 * LaTeX.C: added #include <cstdio>
13665 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13667 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13668 that the paragraph following this one can have.
13670 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13672 * vspace.C (asLatexCommand): fix bogus gcc warning
13674 * Makefile.am (lyx_SOURCES): remove vms_defines.h
13676 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
13678 * text2.C (setLayout): get rid of redundant code
13680 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
13682 * text2.C (incDepth): make sure depth cannot be increased beyond
13685 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
13687 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13688 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13690 * PainterBase.h (image):
13691 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13692 a LyXImage const *.
13694 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13698 * BufferView_pimpl.C:
13699 * BufferView_pimpl.h:
13719 * sp_spell.C: remove fig inset, and the crap house of
13720 cards that follows it
13722 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13727 * os2_errortable.h:
13728 * nt_defines.h: move .h into support/
13730 * vms_defines.h: remove
13732 * WorkArea.C: add space in debug output
13736 * buffer.C: add WITH_WARNINGS
13740 * bufferlist.C: s/retrive/retrieve/, add docs
13749 * chset.C: add docs
13751 * lyxgui.C: add ID to X error handler
13753 * lyxtestclass.c: fix typo
13755 2002-02-26 Juergen Vigna <jug@sad.it>
13757 * tabular_funcs.C (write_attribute): changed so that some default
13758 attributes are not written at all.
13759 (getTokenValue): set default values before trying to read the
13760 value so we have the return value always set as default if we don't
13761 find the token we search for.
13763 * tabular.C (Write): write bools as bools not as strings!
13765 2002-02-22 Juergen Vigna <jug@sad.it>
13767 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13768 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13770 * text.C (leftMargin): don't add an indent for paragraphs inside
13771 tabular cells (fix #208).
13773 2002-02-21 José Matos <jamatos@fep.up.pt>
13775 * tabular.C (docBook): fixed support for long tables.
13777 2002-02-20 Juergen Vigna <jug@sad.it>
13779 * text2.C (getFont): get the drawing font of the Inset if this
13780 paragraph is inside an inset (only important for InsetERT for now).
13782 * buffer.C (insertErtContents): use new lanugage params in ERT
13785 * CutAndPaste.C: commenting out seemingly uneeded code.
13787 2002-02-19 Allan Rae <rae@lyx.org>
13789 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13790 Iterators might be simple to use but they also get invalidated.
13791 (removeAutoInsets): renamed saved cursor tracking variables and added
13792 some comments to clarify what everything does.
13794 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
13801 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13802 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13805 * vc-backend.h: remove #include "support/syscall.h"
13809 * converter.C: rearrange #includes in Lars' approved fashion.
13811 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13812 forward declare class Timeout in the header file.
13814 * XFormsView.C: changes due to the above.
13816 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13817 similar to LyXView.
13819 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13820 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13822 2002-02-18 José Matos <jamatos@fep.up.pt>
13824 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13827 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
13829 * a lot of small ws changes
13830 * add a lot of using std::XXX
13831 * use std construcs some places where approp.
13832 * use some exisint stuff from lyxfunctional where approp.
13833 * Make file changes to use partial linking (lets test this now...)
13835 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13839 remove #include "support/syscontr.h" as it's redundant. Always has been.
13847 change Systemcalls::System to Systemcalls::Wait and
13848 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13849 No change of functionality, just reflects the stripped down Systemcalls
13852 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13854 * debug.[Ch]: add a GRAPHICS type to the enum.
13856 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13858 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13860 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13863 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13865 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13866 match the changes below.
13868 * text2.C (toggleInset): if there is not editable inset at cursor
13869 position, try to see if cursor is _inside_ a collapsable inset
13872 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13874 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13875 document menu has a nice checkbox
13877 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13879 * lyxlength.C (asLatexString): change PW to output as percent of
13882 * lengthcommon.C: change '%' to 't%'
13884 * lyxfunc.C (dispatch): a few comments from Martin
13886 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
13890 * BufferView_pimpl.h:
13891 * BufferView_pimpl.C: clear our selection when X tells us we've lost
13894 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13896 * vspace.C (inPixels): fix compiler warning
13898 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13900 * lyxfunc.C (getStatus): fix status message for disabled commands.
13902 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
13904 * BufferView_pimpl.C: fix crash on close buffer
13905 during selection (#227)
13907 2002-01-27 Herbert Voss <voss@lyx.org>
13909 * buffer.C: link old Figure to new graphic inset
13911 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
13913 * FontLoader.C (getFontinfo): Change the latex font names in order
13914 to match the names of type1inst.
13916 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
13918 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13920 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13921 (extchanged): ditto
13923 (remove_files_with_extension): ditto
13924 (remove_file): ditto
13927 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13928 document is smaller than the work area height. Do not initialize
13929 static variables to 0.
13931 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13933 * lyx_gui.C (init): give the toolbar tooltips a normal font.
13935 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13936 LFUN_LAYOUT_PARAGRAPHS.
13938 * tabular.C (GetCellFromInset): new method. Finds an inset in a
13939 tabular. It is possible to provide a possible cell, which will
13940 typically be the actcell from the corresponding insettabular
13942 * lyxfunc.C (getStatus): small cleanup; disable
13943 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13946 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13948 * tabular.C (Validate): remove broken optimization (fixes bug #201)
13950 * paragraph.C (startTeXParParams):
13951 (endTeXParParams): new methods. The LaTeX code to
13952 start/end paragraph formatting
13953 (simpleTeXOnePar): call startTeXParParams also when paragraph is
13954 empty (fixes bug #200)
13956 * vspace.C (inPixels): adapt to the change below
13957 (inPixels): [later] more cleanups (remove unused variables)
13959 * lyxlength.C (inPixels): change to use a width and a height as
13962 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13964 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13965 Replaced with \paperwidth
13967 * DepTable.C (insert): add std:: qualifier
13969 2002-01-18 Allan Rae <rae@lyx.org>
13971 * text2.C (removeRow): add comment. Should other refresh_?? vars be
13974 * text.C (drawInset): Turned out I didn't know enough about how
13975 rebreaking worked. This fixes most of the redraw problems. I see
13976 an occasional cursor trail when a line is broken now and the cursor
13977 placement can seem out by a few pixels also after a rebreak.
13979 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13981 * buffer.C (parseSingleLyXformat2Token): update because minipage
13982 width is now a LyXLength
13984 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13986 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13989 2002-01-17 Juergen Vigna <jug@sad.it>
13991 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13993 * BufferView2.C (lockInset): call edit() so that theLockingInset()
13994 is set correctly and the inset is updated correctly.
13996 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13998 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13999 the beginning of the loop.
14001 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
14003 * lyxrc.C: improve help for use_scalable_fonts
14005 2002-01-17 Allan Rae <rae@lyx.org>
14007 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
14009 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14011 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
14012 make sure to set their inset_owner to the right value (bug #171)
14014 2001-12-12 Ben Stanley <bds02@uow.edu.au>
14017 * DepTable.C: Implement mtime checking to reduce time spent doing
14020 2002-01-16 Juergen Vigna <jug@sad.it>
14022 * tabular.C (GetAdditionalHeight): one of error fixed.
14024 * lyxrc.C (output): small fix in writing use_pspell.
14026 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
14028 * sp_base.h: #include LString.h
14030 2002-01-16 Allan Rae <rae@lyx.org>
14032 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
14033 Can someone check this please?
14035 * text.C (drawInset): It was possible that p.row would be removed by
14036 breakAgainOneRow upsetting a few other settings. There may be another
14037 small tweak possible by setting need_break_row = 0 when p.row has been
14038 removed but I don't know enough about the logic here.
14040 2002-01-15 Allan Rae <rae@lyx.org>
14042 * text.C (insertChar): removed conditional truism.
14044 * BufferView2.C (removeAutoInsets): More tweaks.
14045 cur_par_prev could be a stray pointer. Check for trailing empty line
14046 in case last line was cur_par and only had an error inset on it.
14048 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14050 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
14053 * vc-backend.C (most methods):
14054 * exporter.C (Export):
14055 * converter.C (convert):
14057 * LyXSendto.C (SendtoApplyCB):
14058 * lyxfunc.C (dispatch):
14062 * lyx_cb.C (AutoSave):
14064 * BufferView_pimpl.C (MenuInsertLyXFile):
14065 * buffer.C (runChktex): use Buffer::filePath().
14067 * buffer.h: rename filename to filename_; rename filepath to
14068 filepath_ and make it private
14069 (filePath): new method
14071 * buffer.C (writeFile): use fileName()
14074 * lyx_main.C (init): fix starting of LyX when the binary is a
14075 link from so,ewhere else.
14077 * minibuffer.C: include <cctype> for isprint
14079 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
14081 * buffer.C (parseSingleLyXformat2Token): changes associated with the
14082 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
14083 name clash with InsetCollapsable's width function.
14085 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14087 * lastfiles.C: include <iterator>
14089 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
14091 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
14094 * buffer.C (makeLaTeXFile): ditto.
14095 Also make loop operation more transparent.
14097 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
14099 * ToolbarDefaults.C: remove trailing comma closing namespace.
14101 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
14103 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
14106 * trans.C (Load): comment out unused variable, allowed.
14108 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
14110 * minibuffer.[Ch] (append_char): new method to recieve input from the
14111 drop-down completion browser. If a key was pressed, then recieve this
14112 char and append it to the existing string.
14113 (peek_event): modify the positioning data passed to the completion
14114 browser so that it can be placed above the minibuffer rather than below.
14115 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14117 * LyXAction.C (init): alloe error-next for readonly documents.
14119 * BufferView2.C (ChangeRefsIfUnique): use standard version of
14122 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14124 * bufferlist.C (readFile): create the buffer _after_ checking that
14127 * lyxfunc.C (verboseDispatch): fix handling of arguments
14129 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
14131 * lyxrc.C: use string::erase() instead of initializing to "".
14134 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14136 * BufferView_pimpl.h:
14137 * BufferView_pimpl.C:
14140 * text2.C: tell X when we have made a selection for copying
14142 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14144 * BufferView_pimpl.C (MenuInsertLyXFile):
14145 * lyxfunc.C (menuNew):
14147 (doImport): add shortcuts to directory buttons
14149 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
14152 * lyxfunc.C (setStatusMessage):
14153 (getStatusMessage): new methods
14154 (getStatus):use setStatusMessage instead of setErrorMessage
14155 (dispatch): when function is disabled, set error message here
14156 [instead of in getStatus previously]
14158 * BufferView_pimpl.C (workAreaButtonRelease): update
14159 toolbar/menubar here too.
14161 2002-01-13 Allan Rae <rae@lyx.org>
14163 * BufferView2.C (removeAutoInsets): finished off earlier fix.
14164 Now seems indestructible. Remaining task is to audit all other
14165 code affected by deleteEmptyParagraphMechanism. One small quirk
14166 left is that an empty document with an error in the preamble can
14167 be made to report an error but no error box appears. I don't know
14169 (removeAutoInsets): Improved comments.
14171 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
14174 * Thesaurus.C: update for Aiksaurus 0.14
14176 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
14178 * text2.C (firstParagraph): removed member function, all uses
14179 replaces with ownerParagraph
14180 (redoParagraphs): here
14181 (updateInset): here
14182 (toggleAppendix): here
14183 * BufferView2.C (insertErrors): here
14184 (setCursorFromRow): here
14186 2002-01-13 Allan Rae <rae@lyx.org>
14188 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
14189 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
14190 There is still a way to segfault this although you may have to do this
14191 multiple times: Have an InsetERT with an unknown command in it.
14192 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
14193 <down-arrow>, <Enter> again, View->DVI, BANG!
14195 * text2.C (setCursor):
14196 (deleteEmptyParagraphMechanism):
14197 * lyxtext.h (setCursor):
14198 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
14199 Making use of the return value may help fix other bugs.
14201 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14203 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
14205 * LyXView.C (updateMenubar): call MenuBar::update here
14206 (updateToolbar): but not here
14207 (showState): do not update toolbar/menubar
14209 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
14210 should need to care about that.
14212 * lyxfunc.C (verboseDispatch): simplify a bit
14213 (getStatus): have a version which takes a pseudoaction, and
14214 another which requires a (kb_action,string).
14216 * LyXAction.C (retrieveActionArg): make it work also when action
14217 is not a pseudo-action.
14218 (getActionName): simplify a bit
14221 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14223 * lyxfunc.C (verboseDispatch): new families of methods with
14224 several ways to specify a command and a bool to indicate whether
14225 the command name and shortcut should be displayed in minibuffer
14226 (eventually, we could extend that to a finer bitmask like
14227 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
14228 (dispatch): the pristine dispatch command which just, well,
14229 dispatchs! Note it still sets its result to minibuffer; I'm not
14232 * lyxfunc.h: remove setHintMessage
14234 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
14236 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14238 * BufferView_pimpl.C (specialChar): delete new inset if we have
14239 not been able to insert it.
14241 * kbmap.C: revert to using int instead of kb_action, since all we
14242 are dealing with is pseudo-actions.
14244 * LyXAction.C (searchActionArg): change to return int instead of
14245 kb_action, since the result is a pseudoaction.
14247 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
14249 * buffer.C (insertErtContents): Fix (partially) the font bug.
14251 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
14253 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
14254 as the other one is broken on my machine!
14256 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
14259 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
14261 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
14263 * lyxrc.[Ch]: change names and descriptions of popup font variables to
14264 reflect their actual use. Provide compatibility code for older lyxrc
14267 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
14269 change names of popup font variables in line with the changes to lyxrc.C
14271 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14273 * buffer.C (asciiParagraph): avoid outputing a word twice after
14276 * lyxrc.C (getDescription): document that document_path and
14277 template_path can be empty.
14279 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14281 * LaTeXFeatures.C (getMacros):
14282 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
14284 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
14286 * LaTeXFeatures.C (useFloat): require "float" here instead of in
14288 (getPackages): rename feature "floats" to "float". Use an array to
14289 iterate over 'simple' features (i.e. just a \usepackage). Add
14290 handling of "amsmath" (renamed from "amsstyle").
14292 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
14294 * LaTeXFeatures.C (require): Prevent duplicate entries in the
14297 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
14299 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
14300 FuncStaus::FuncStatus & FuncStaus::some_method().
14302 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
14304 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
14305 of the func_satus stuff. Edited and massaged in various ways by
14308 * lyxfunc.C (getStatus): use FuncStatus
14310 2002-01-08 Juergen Vigna <jug@sad.it>
14312 * text.C (nextBreakPoint): use function Inset::isChar().
14314 * paragraph.C (TeXOnePar): use function
14315 Inset::forceDefaultParagraphs.
14317 * buffer.C (latexParagraphs): use function
14318 Inset::forceDefaultParagraphs.
14320 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14322 * lyx_gui.C (init): set the style of the menu popups to
14323 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
14325 2002-01-07 Juergen Vigna <jug@sad.it>
14327 * text.C (setHeightOfRow): small fix
14328 (prepareToPrint): don't look at alignment if we don't have the place
14331 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14333 * box.C: New file. Move the Box methods and functions out of box.h,
14334 following Lars' suggestion.
14336 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14338 * box.h: #include "support/LOstream.h", needed for inlined function.
14341 * lyxtextclasslist.C: added some using std declarations.
14343 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
14345 * box.h: make signed dimensions to allow insets wider than
14346 the screen (bug #162)
14348 * BufferView_pimpl.C: add some insetHit debug
14350 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
14352 * vc-backend.C: add FIXME
14354 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14356 * lyxfunc.C (getStatus): enable code for showing math font status
14359 2002-01-07 Juergen Vigna <jug@sad.it>
14361 * text.C (nextBreakPoint): removed debug output not needed anymore.
14363 2002-01-06 Juergen Vigna <jug@sad.it>
14365 * text.C (nextBreakPoint): fixed up this function we had this bug
14366 since ever but now hopefully we break row better.
14367 (insertChar): we have to check if an inset is the next char as it
14368 could now happen that a large inset is causing a break.
14370 2002-01-05 Juergen Vigna <jug@sad.it>
14372 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
14373 if it doesn't like to be drawed.
14375 2002-01-04 Juergen Vigna <jug@sad.it>
14377 * BufferView2.C (lockInset): forgot to set a cursor.
14379 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
14381 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
14383 * FormMathsPanel.C:
14386 * form_maths_panel.C:
14387 * form_maths_panel.h:
14388 * form_maths_panel.fd: implemented sub- and super- buttons in math
14391 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
14392 (or ^ space) to be used as in TeX (req'd by Andr�.
14394 * lyxfunc.C: Allow ^ and _ again to be used both as
14395 super/subscript (mathed) and as themselves (in text).
14397 2002-01-03 Allan Rae <rae@lyx.org>
14399 * LyXView.C (updateWindowTitle): Setup a short icon title of either
14400 "LyX" or the filename of the current buffer if it has one. This is a
14401 modified form of John Levon's patch.
14403 * XFormsView.C (setWindowTitle): also set icon title.
14405 * LyXView.h (setWindowTitle): signature changed.
14406 * XFormsView.h (setWindowTitle): ditto.
14408 2002-01-02 Juergen Vigna <jug@sad.it>
14410 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14412 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
14414 * screen.C (topCursorVisible): introduce a temp var for
14415 text->cursor.row(), handle the case where this row is null. (kindo
14418 * text2.C (setCursor): add a couple of asserts.
14420 * paragraph.h (inset_iterator): add -> operator
14422 * paragraph.[Ch] (autoDeleteInsets): remove member function
14424 * BufferView2.C (removeAutoInsets): rewrite to handle the old
14425 cursor pos correctly and handle inset deletion by itself.
14426 (insertErrors): move iterator declaration out of for expression
14428 * lyxtextclass.C: add <algorithm>
14430 * Makefile.am: added the new files to sources, removed layout.C
14432 * layout.C: removed file
14434 * layout.h: remove LYX_DUMMY_LAYOUT
14436 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14440 * lyxtextclass.[Ch]:
14441 * lyxtextclasslist.[Ch]: new files
14443 * include order changes to a lot of files, also changes because of
14446 2001-12-27 Juergen Vigna <jug@sad.it>
14448 * buffer.C (asciiParagraph): more fixes.
14450 * tabular.C (ascii): make ascii export support export of only the
14451 data separated by a column-delimiter.
14452 (ascii): better support for ascii export.
14454 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14456 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14458 * tabular_funcs.C: use a "using std::getline" instead of the
14459 previous fix from Angus (necessary for cxx + lyxstring)
14461 2001-12-24 Juergen Vigna <jug@sad.it>
14463 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14465 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14466 problems. First check a minipage also if we have some ert-contents
14467 (not only on par->size(), second set the right depth of the paragraph
14468 on the relink to the root-paragraph-list!
14470 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14471 which then did not anymore update the main paragraphs on undo/redo!
14473 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14475 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14476 code. Support all font-changing funcs (even those which are not in
14477 menu currently). Support for reporting font settings in
14478 mathed (disabled until Andre provides a function on mathed's side).
14480 * func_status.h (toggle): small helper function to set toggle
14483 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
14485 * tabular_funcs.C: getline -> std::getline
14487 2001-12-21 Juergen Vigna <jug@sad.it>
14489 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14490 accessed and could be 0 (I couldn't generate this but it seems
14493 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
14495 * tabular_funcs.C: add LIstream.h, move write_attribute to..
14496 * tabular_funcs.h: here and include iosfwd
14498 2001-12-20 Juergen Vigna <jug@sad.it>
14500 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14501 inside inset but undo_par was.
14503 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14505 * Thesaurus.C: always include <config.h> in sources.
14509 * box.h: do not include <config.h> in header files
14511 * text.C (paintLastRow): remove unused variable
14513 * text.C (transformChar):
14515 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14517 * Painter.C (text):
14518 * font.C (width): rewrite to use uppercase() instead of
14521 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14523 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
14525 * lyxfind.C: clean up of find failure position change
14527 2001-12-20 Juergen Vigna <jug@sad.it>
14529 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14531 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14532 (TeXRow): added to LaTeX a single tabular row.
14533 (TeXLongtableHeaderFooter): added to output LT-h/f data.
14534 (Latex): simplified and finally good LT-h/f support.
14535 (various_functions): just small adaptions for LT-h/f support.
14537 * tabular_funcs.[hC]: added and moved here all not classfunctions
14540 2001-12-19 Juergen Vigna <jug@sad.it>
14542 * tabular.[Ch]: better support for longtabular options (not finished
14545 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14547 * text.C (paintLastRow): use the label font instead of the font of
14548 the last character to compute the size of *_BOX. This makes more
14549 sense and avoids a crash with empty paragraphs.
14550 Use Painter::rectangle to draw EMPTY_BOX.
14552 2001-12-19 Juergen Vigna <jug@sad.it>
14554 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14555 the paragraphs if the replaced paragraph is not the first one!
14556 Tried to delete not used paragraphs but does not work yet so for
14557 now it's inside #ifdef's and by default off!
14559 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14561 * MenuBackend.C: include "lyx_main.h" instead of declaring
14562 lastfiles (actually was declared as LastFiles* instead of a
14565 2001-12-17 Juergen Vigna <jug@sad.it>
14567 * tabular.C (AppendColumn): applied John's fix
14569 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
14573 * BufferView_pimpl.h:
14574 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14577 * box.h: new start of class for above
14579 * lyxfunc.C: ignore space-only minibuffer dispatches.
14580 Show the command name when it doesn't exist
14582 * minibuffer.C: don't add empty lines to the history
14584 * minibuffer.C: add a space on dropdown completion
14586 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
14588 * text.C: fix line above/below drawing in insets
14590 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14592 * lyxlength.C (LyXLength): Initialize private variables.
14594 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
14596 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14597 when inserting error insets.
14599 2001-12-13 Juergen Vigna <jug@sad.it>
14601 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14602 actually sometimes the before-paragraph.
14603 (setUndo): don't clear the redostack if we're not actually undoing!
14605 2001-12-06 Juergen Vigna <jug@sad.it>
14607 * undo_funcs.C (textHandleUndo): well after John's hint I got here
14608 and fixed redoing of main paragraph, so we can use it now ;)
14610 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14612 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14614 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14617 2001-12-13 André Pönitz <poenitz@gmx.net>
14620 * undo_func.C: minor cleanup
14622 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14624 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14625 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14626 font in urw-fonts package which is marked as -urw-fontspecific and
14627 does not work (incidentally, changing the encoding in the
14628 fonts.dir of this package to -adobe-fontspecific fixes the
14631 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14632 is a crash when undoing first paragraph (Juergen, please take a
14633 look). THis does not mean the undo fix is wrong, just that it
14636 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14637 the (Paragraph*) version when needed instead of duplicating the
14640 * text.C (workWidth): use Inset::parOwner to find out where the
14641 inset has been inserted. This is a huge performance gain for large
14642 documents with lots of insets. If Inset::parOwner is not set, fall
14643 back on the brute force method
14645 * paragraph_pimpl.C (insertInset):
14646 * paragraph.C (Paragraph):
14647 (cutIntoMinibuffer): set parOwner of insets when
14648 inserting/removing them
14650 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14652 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
14658 * mathed/formulabase.C:
14659 * mathed/math_cursor.[Ch]:
14660 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14663 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14665 * lyxlength.[Ch] (operator!=): new function
14667 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14669 * text.C (workWidth): use Inset::parOwner to find out where the
14670 inset has been inserted. This is a huge performance gain for large
14671 documents with lots of insets. If Inset::parOwner is not set, fall
14672 back on the brute force method
14674 * paragraph_pimpl.C (insertInset):
14675 * paragraph.C (Paragraph):
14676 (cutIntoMinibuffer): set parOwner of insets when
14677 inserting/removing them
14679 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14681 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14683 * tabular-old.C (getTokenValue):
14684 * tabular.C (getTokenValue):
14685 (write_attribute): new versions for LyXLength
14686 (everywhere): adjust the use of widths
14688 * tabular.h: change the type of widths from string to LyXLength
14690 2001-12-11 Ben Stanley <bds02@uow.edu.au>
14692 * paragraph.C: fixed missing line number count when exporting
14693 Environments to LaTeX file
14695 * buffer.C: added informational message for checking line numbers.
14697 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14699 * text2.C (deleteEmptyParagraphMechanism): if there is only one
14700 paragraph, do the 'double space' part, but not the 'empty
14703 * text.C (workWidth): small optimization
14704 (getLengthMarkerHeight): use minimal size for negative lengths.
14706 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
14708 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14710 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14712 2001-12-11 André Pönitz <poenitz@gmx.net>
14715 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14717 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14719 * text2.C: keep selection on a setFont()
14721 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14723 * lyx_cb.C: another bv->text misuse, from insert label
14725 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14728 * kbsequence.C: re-instate nmodifier mask
14730 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
14732 * lyx_main.h: make lyxGUI private.
14734 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14736 * lyxfind.C: place the cursor correctly on failed search
14738 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14740 * text.C (getLengthMarkerHeight): for small heights, the arrows
14741 are not always on top/bottom of the text
14742 (drawLengthMarker): smaller arrows; take the left margin in
14743 account; draw also vfills.
14745 (paintLastRow): remove special code for vfill and standard spaces,
14746 since everything is handled in drawLengthMarker now.
14748 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14750 * buffer.C (insertErtContents): try to handle font and language
14751 interaction a bit better.g
14753 * ColorHandler.C (updateColor): change the hash to cover the whole
14754 LColor enum, ws cleanup
14755 (getGCLinepars): ditto
14756 (getGCLinepars): only lookup in the linecache once.
14758 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
14760 * iterators.C (operator++): Make the iterator more robust
14762 * BufferView2.C (removeAutoInsets): Use paragraph iterators
14764 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14766 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14769 * text.C: better added space drawing
14771 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14774 * BufferView2.C: fix layout combo update on inset unlock
14776 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14778 * Makefile.am: don't compile unused files
14780 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14784 * LyXAction.C: remove old LFUN_LAYOUTNO
14786 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14788 * paragraph_pimpl.h:
14789 * paragraph_pimpl.C: isTextAt() doesn't need font param
14791 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14794 * lyxlex.C: little cleanup
14796 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14798 * BufferView_pimpl.C: fix insertAscii for insets
14800 2001-12-05 Juergen Vigna <jug@sad.it>
14802 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14803 set the right font on the "multi" paragraph paste!
14805 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14811 * lyxlength.C: remove out-commented code.
14813 * BufferView_pimpl:
14827 * vc-backend.C: change "while(" to "while ("
14829 * lyxlength.[Ch]: add zero function to check if length is zero or
14831 * lyxgluelength.C: use it
14833 2001-12-05 Allan Rae <rae@lyx.org>
14835 * lyxlength.C: Attempted a fix for the abs(int) header selection.
14836 Works for 2.95.3, from what I understand of Garst's reports this should
14837 work for other g++ versions. We're screwed if the abs(int) definition
14838 changed between bugfix releases of gcc.
14840 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14842 * text.C: fix chapter label offset !
14844 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14847 * text.C: fix hfill at end of line, clean up
14849 2001-12-04 Juergen Vigna <jug@sad.it>
14851 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14852 that we force an update of the inset and it's owners if neccessary.
14854 2001-12-03 Juergen Vigna <jug@sad.it>
14856 * text.C (rowLast): simplified code
14858 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14860 * lyxfunc.C: fix show options on timeout
14862 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14864 * screen.C (topCursorVisible): scroll half a page when the cursor
14865 reached top of bottom of screen
14867 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
14869 * minibuffer.C: deactivate on loss of focus
14871 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14873 * vspace.[Ch] (operator!=): add operator.
14875 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
14877 * BufferView_pimpl.C: refuse to open an inset when
14878 there's a selection.
14880 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
14882 * BufferView_pimpl.C: allow to click on RHS of full row insets
14884 2001-11-30 Juergen Vigna <jug@sad.it>
14886 * tabular.C (LyXTabular): add a same_id to set the same id's in the
14887 insets for undo reasons.
14889 2001-11-28 André Pönitz <poenitz@gmx.net>
14891 * vspace.[Ch]: cosmetical changes
14893 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14903 * kbsequence.C: part re-write of old kb code
14906 * WorkArea.C: remove Lgb_bug_find_hack
14908 2001-11-30 José Matos <jamatos@fep.up.pt>
14910 * buffer.C (makeDocBookFile): add a comment to point a hack.
14911 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14912 Fixed a double write of labels.
14914 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14917 * LaTeX.h Fixed bug in LaTeX class where it would not
14918 re-run latex if no depfiles were changed, but the .dvi was removed.
14920 2001-11-28 André Pönitz <poenitz@gmx.net>
14922 * all the files from the change on 2001/11/26:
14923 use lyx::layout_type instead of LyXTextClass::size_type
14924 use lyx::textclass_type instead of LyXTextClassList::size_type
14926 2001-11-29 Juergen Vigna <jug@sad.it>
14928 * text.C: added support for paragraph::isFreeSpacing()
14930 * buffer.C: same as above
14932 * paragraph.h: inserted isFreeSpacing() function to enable
14933 FreeSpacing inside InsetERT.
14935 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14936 of the paragraph's in the cut/copy buffer to 0!
14938 * text2.C (removeRow): remove the assert as it can!
14940 * lyxtext.h: added helper function firstRow returning firstrow and
14941 made firstrow private again.
14943 * BufferView2.C (lockInset): don't relock if we're already locked!
14945 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14946 the only paragraph.
14947 (removeRow): added Assert::(firstrow)
14949 * debug.C: forgot to add INSETTEXT here.
14951 2001-11-28 Juergen Vigna <jug@sad.it>
14953 * sp_spell.C (initialize): changed error text to more general
14954 spellchecker command use (not only ispell!)
14956 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14958 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14960 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14962 * vspace.C: initialise lyxgluelength on failure
14964 2001-11-28 Allan Rae <rae@lyx.org>
14966 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14967 declaration & definition that looks like a function declaration.
14969 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14971 * BufferView2.C (copy):
14972 (copyEnvironment): do not clear the selection when doing a copy.
14974 * text.C (paintFirstRow): compilation fix
14976 2001-11-27 Ben Stanley <bds02@uow.edu.au>
14978 * tabular.C (Latex): correct line count when writing latex.
14980 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
14982 * paragraph_pimpl.h:
14983 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14986 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14990 * LColor.C: change vfillline->added_space
14992 * text.C: add markers and text for added space
14994 * vspace.C: fix comment
14996 2001-11-28 André Pönitz <poenitz@gmx.net>
14998 * paragraph.C: whitespace changes
14999 * all the other files from the change on 2001/11/26:
15000 change *::pos_type into lyx::pos_type
15002 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
15004 * buffer.C (parseSingleLyXformat2Token): Set the language to the
15005 language of the document when inserting error insets.
15007 2001-11-26 André Pönitz <poenitz@gmx.net>
15009 * BufferView_pimpl.[Ch]:
15017 * paragraph_pimpl.[Ch]:
15020 * text2.C: reduce header dependencies, introduce type for positions
15022 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
15024 * <various>: change to use Alert.h
15026 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
15028 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
15029 when encountering an unknown token.
15030 (readLyXformat2): Show an error message if there were unknown tokens.
15032 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
15035 * BufferView_pimpl.C:
15039 * text2.C: use par->isInset()
15041 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
15043 * paragraph_pimpl.h:
15044 * paragraph_pimpl.C: cleanup
15046 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15048 * text2.C (removeRow):
15049 * text.C (setHeightOfRow): remove useless (and costly) call to
15052 2001-11-20 Allan Rae <rae@lyx.org>
15054 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
15055 Now need Inset*::checkInsertChar() to return true for appropriate
15056 cases so that the characters in the minibuffer will actually be
15059 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
15061 * text.C: change the order of the includes.
15062 (workWidth): initialize it at once.
15063 (workWidth): make maxw unsigned
15064 (setHeightOfRow): remove unused variable (inset)
15065 (selectSelectedWord): remove unused variable (inset)
15066 (paintRowText): fix drawing of hfill characters, and clean up a bit.
15068 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15070 * lyxserver.C (emergencyCleanup): do not try to close pipes if
15071 server is not running.
15073 (closeConnection): add debug info when server is disabled.
15075 * ColorHandler.C (getGCForeground): send debug message to GUI
15078 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
15080 * kbmap.C (bind): modify because return conventions of
15081 kb_sequence::parse have changed.
15083 * kbsequence.C (parse): only ignore spaces and not any stupid
15084 control character. This avoids tests like s[i] <= ' ', which are
15085 guaranteed to fail with 8bit characters and signed chars.
15086 Change return code to string::npos when there have been no error
15087 (0 was a bad idea when error is at first character)
15089 2001-11-14 José Matos <jamatos@fep.up.pt>
15092 * buffer.C (simpleDocBookOnePar): removed unused argument.
15094 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15096 * text.C (selectNextWordToSpellcheck): do not test explicitely for
15097 insets which are part of a word. Paragraph::isLetter takes care of
15098 that now. Use Paragraph::isInset to identify insets.
15099 (selectSelectedWord): do not test for hyphenation break.
15101 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
15102 that protected spaces are considered as spaces.
15104 * paragraph.C (isLetter): cleanup the code for ispell extras; use
15107 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
15110 * lyxserver.C: fix it. and small cleanup.
15112 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
15114 * BufferView_pimpl.C: use inline helpers
15117 * LaTeXFeatures.C: fix typos
15120 * Spacing.C: move spacing_string into class
15122 * ToolbarDefaults.C: move stuff into namespace anon
15124 * layout.h: update enum
15126 * lyxfunc.C: use better debug
15128 * minibuffer.h: fix typo
15132 * WorkArea.C: add and use Debug::WORKAREA
15136 * text2.C: code re-organisation, inline helpers
15138 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
15140 * Layout.C: replaced a few cases of std::vector.size() == 0 with
15141 std::vector.empty().
15143 2001-11-09 Allan Rae <rae@lyx.org>
15145 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
15146 '\n's after tables. Tabular and ERT inset work now makes this no
15149 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
15152 * minibuffer.C: fix crash, improve drop-down completion
15154 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
15157 * lyxserver.C: invalidate fd's when doing endPipe()
15159 2001-11-08 José Matos <jamatos@fep.up.pt>
15161 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
15162 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
15165 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
15167 2001-11-07 José Matos <jamatos@fep.up.pt>
15170 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
15173 * buffer.C (sgmlOpenTag):
15174 * buffer.C (sgmlCloseTag): removed debug info.
15176 * buffer.h (sgmlOpenTag):
15177 * buffer.h (sgmlCloseTag): made public.
15179 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15181 * buffer.C (saveParamsAsDefaults):
15182 * lyx_cb.C (MenuLayoutSave): remove
15184 * LyXAction.C (init):
15186 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
15188 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15190 * buffer.C (setPaperStuff): removed from here...
15192 * bufferparams.C (setPaperStuff): ... and moved there.
15194 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
15198 * XFormsView.C: add support for drop-down completion
15200 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
15202 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
15205 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15207 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
15210 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
15212 * lyx_main.C: change ref to known bugs
15214 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
15216 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
15217 to work around older babel problems.
15219 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
15221 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
15223 2001-10-24 Juergen Vigna <jug@sad.it>
15225 * tabular-old.C (ReadOld): below variable changes reflected.
15227 * tabular.[Ch]: added ltType struct for longtable header/footer
15228 defines and changed all instances where they are used. Added
15229 future support for double top/bottom rows.
15231 2001-10-24 José Matos <jamatos@fep.up.pt>
15233 * buffer.h (docbookHandleCaption):
15234 * buffer.C (docbookHandleCaption): removed unused function.
15235 (makeDocBookFile): moved docbook supported version to v4.1.
15237 2001-10-24 José Matos <jamatos@fep.up.pt>
15240 * tabular.C (docbookRow): new function to export docbook code of a row.
15241 (DocBook): now honors the longtable flags.
15243 2001-10-23 José Matos <jamatos@fep.up.pt>
15246 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
15247 of the lyx defined sgml entities used in a docbook/linuxdoc document.
15249 * buffer.C (makeLinuxDocFile):
15250 (makeDocBookFile): reworked the preamble, more clean, and with
15251 support for lyx defined entities. Changed the document declaration
15252 to be more XML friendly.
15254 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
15255 if we need to output XML that should be done with a filter.
15257 2001-10-22 Juergen Vigna <jug@sad.it>
15259 * sp_pspell.h (class PSpell): add alive function needed in the
15260 controller to see if the spellchecker could be started.
15262 2001-10-22 Juergen Vigna <jug@sad.it>
15264 * buffer.C (insertStringAsLines): modify the font for inserting
15265 chars in certain conditions by calling checkInsertChar(font).
15267 2001-10-19 Juergen Vigna <jug@sad.it>
15269 * text.C (workWidth): use getRow instead of wrong algorithm.
15270 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
15272 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
15277 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
15279 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15281 * text.C (workWidth): do not search for the exact row when
15282 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
15283 optimization for big documents.
15285 2001-10-18 Juergen Vigna <jug@sad.it>
15287 * text.C (workWidth): new function with added Inset * parameter.
15289 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15291 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
15293 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
15294 change return type of getColumnNearX.
15297 * text.C (changeRegionCase): use uppercase/lowercase instead of
15300 (rightMargin): simplify code by factoring out the uses of
15305 (appendParagraph): use Paragraph::size_type
15307 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15309 * vspace.C (asLatexString): add a missing break
15311 2001-10-15 Herbert Voss <voss@perce.de>
15313 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
15315 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15317 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
15320 2001-10-10 André Pönitz <poenitz@gmx.net>
15322 * lyxfunc.C: removed greek_kb_flag.
15324 2001-10-10 Herbert Voss <voss@perce.de>
15326 * lyx_main.C: delete global string help_lyxdir.
15328 2001-10-09 Herbert Voss <voss@perce.de>
15330 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
15332 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
15334 * lyx_main.C: added global string help_lyxdir.
15336 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
15338 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
15340 * lyxrc.C (set_font_norm_type): support iso8859-4
15342 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
15344 * LaTeX.C (deplog): add another regex for MikTeX
15346 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
15348 * lyxrc.C (set_font_norm_type): support iso8859-3
15350 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15352 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
15354 * LaTeXFeatures.C: remove special case of french and index
15356 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
15357 before \begin{document}). This solves several incompatibilities.
15359 2001-10-03 Garst Reese <reese@isn.net>
15361 * lyx_cb.C: change CheckTex error msg.
15363 2001-10-03 José Matos <jamatos@fep.up.pt>
15365 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
15367 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15369 * .cvsignore: update
15371 * lyx_main.C (commandLineVersionInfo): use new style version info.
15373 * buffer.C (writeFile):
15375 (makeLinuxDocFile):
15376 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
15378 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
15380 * version.h: update to use stuff in version.C
15382 * version.C.in: new file. Contains version information determined
15383 at compile time. This is a merging of version.h and
15386 2001-10-03 Juergen Vigna <jug@sad.it>
15388 * BufferView_pimpl.C (update): don't change "dirty" status in
15391 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
15393 * WorkArea.C (c-tor): re-position version string slightly.
15395 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
15397 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15398 revert to previous code.
15400 WorkArea.[Ch]: (show, destroySplash): methods removed.
15402 WorkArea.C: rework code so that it's an amalgam of the codes before and
15403 after the splash screen was moved to WorkArea.
15405 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15408 * vspace.C (inPixels):
15411 * buffer.C (insertStringAsLines):
15412 (asciiParagraph): fix types to be large enough
15414 * lyxlex_pimpl.h: change member status from short to int
15416 * layout.h: fix type of endlabeltype
15419 * kbsequence.C (parse): change return type to string::size_type
15421 * LaTeX.C (updateBibtexDependencies): comment out unneeded
15424 * Bullet.C (bulletSize):
15425 (bulletEntry): do not use short ints as parameters
15427 * BufferView2.C (insertLyXFile): change a char to an int.
15429 * WorkArea.C (WorkArea): remove unneeded floats in computation
15431 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
15433 * buffer.C (asciiParagraph): Treat '\\' as other chars.
15435 * paragraph.C (asString): Do not ignore newline/hfill chars when
15436 copying to the clipboard.
15438 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
15440 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15441 after a multi-line inset.
15443 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
15445 * paragraph.C (validate): Set NeedLyXFootnoteCode
15447 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
15449 * lyxfont.C (LyXSizeNames): changed increase-error to increase
15450 and decrease-error to decrease.
15452 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15454 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15455 it more readable (should be equivalent)
15457 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
15459 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15461 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15463 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15464 of a cursor (row, etc.) after a character has been deleted
15465 (deleteEmptyParagraphMechanism): call the method above on _all_
15466 cursors held by the LyXText when a double space has been
15469 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
15471 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15473 (resizeCurrentBuff): remove code to destroy the old splash dialog.
15475 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15476 background. Use greyOut() and the new show() methods to toggle between
15477 the foreground and background. Add code to remove the splash after
15478 its initial showing.
15480 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15481 (create_forms): no longer call Dialogs::showSplash.
15483 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15485 * .cvsignore: add version_info.h
15487 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15489 * version_info.h.in: new file
15491 * Makefile.am: add version_info.h.in
15493 * lyx_main.C (commandLineVersionInfo): use version_info defined in
15494 version_info.h instead of VERSION_INFO
15496 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
15498 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15499 The ERT inset now returns string().
15501 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
15503 * lyxtext.h, text.C (selectNextWord): renamed as
15504 selectNextWordToSpellcheck.
15506 * text.C (selectNextWordToSpellcheck): Modified to not select
15507 words inside an ERT inset.
15509 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15511 * lyx_cb.C (MenuLayoutSave): change a bit the question
15513 * sp_base.h: include <sys/types.h>
15515 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
15517 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15519 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
15521 * several files: fix typos in user-visible strings
15523 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15525 * text2.C (pasteSelection): do not set the selection, since it
15526 will be cleared later. Actually, the intent was to fix the way the
15527 selection was set, but I figured rmoving the code was just as good.
15529 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
15531 * FontLoader.C (available): Check if font is available without
15534 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
15536 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15538 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
15540 * lyxrc.[Ch]: added display_graphics variable and associated code.
15542 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15544 * bufferparams.C (hasClassDefaults): new method. Returns true if
15545 the buffer parameters correspond to known class defaults
15547 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
15549 * XFormsView.C (show): set minimum size to the main window.
15551 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15553 * text2.C (copySelection):
15555 * lyxfind.C (LyXReplace):
15556 * BufferView_pimpl.C (Dispatch): pass the correct flag to
15557 LyXText::selectionAsString.
15559 * paragraph.C (asString): add "label" argument to the second form
15561 * text2.C (selectionAsString): add "label" argument and pass it to
15562 Paragraph::asString.
15564 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15566 * lyx_main.C (commandLineHelp): remove version information
15568 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
15570 * lyx_main.C: add -version commandline option
15572 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15574 * paragraph.h: make the optional constructor arg required instead.
15575 some modifications to other files because of this.
15577 * minibuffer.C (C_MiniBuffer_peek_event): make it static
15579 * lyxserver.C (C_LyXComm_callback): make it static
15581 * lyx_main.C (error_handler): make it static
15583 * lyx_gui.C (LyX_XErrHandler): make it static
15585 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15587 * WorkArea.C: make the extern "C" methods static.
15589 * Makefile.am (lyx_LDADD): simplify
15591 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15593 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15594 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15596 * LyXAction.C (init):
15597 * lyxfunc.C (dispatch): associated code removal.
15599 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15601 * lyxfont.h (isSymbolFont): shut off warning
15603 * text.C (setHeightOfRow):
15604 (getVisibleRow): fix crash with empty paragraphs which have a
15607 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
15609 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15612 2001-09-04 José Matos <jamatos@fep.up.pt>
15615 * tabular.C (docbook): rename docBook method to docbook.
15617 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15619 * Makefile.am: add dependencies to main.o.
15621 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
15623 * FontLoader.C (available): Return false if !lyxrc.use_gui
15625 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
15627 * FontInfo.C (query):
15628 * converter.C (view):
15629 * importer.C (Import):
15630 * exporter.C (Export): Can not -> cannot.
15632 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
15634 * BufferView_pimpl.C: allow to create index inset even if
15637 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15639 * buffer.C (getLists): replace boost::tie code with an explicit pair
15640 as boost::tie can break some compilers.
15642 * iterators.h: Added a std:: declaration to the return type of
15645 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
15647 * lyxrc.C: add help for view_dvi_paper_option, default to safe
15650 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
15652 * iterators.[Ch]: New files. Provide paragraph iterators.
15654 * buffer.C (changeLanguage): Use paragraph iterators.
15655 (isMultiLingual): ditto
15657 * BufferView2.C (ChangeInsets): Use paragraph iterators.
15659 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
15661 * FontLoader.C: Support for cmr font.
15663 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
15665 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15666 (available): New method.
15668 * FontInfo.C (getFontname): Use scalable fonts even when
15669 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15672 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15674 * converter.C (Formats::view): reverted! Incorrect fix.
15676 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15678 * converter.C (Formats::view): only output the -paper option
15679 if the dvi viewer is xdvi, thereby fixing bug #233429.
15681 2001-08-23 Herbert Voss <voss@perce>
15683 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15685 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
15687 * Spacing.h (Spacing): Set space to Default on in the default
15690 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
15692 * vc-backend.h (RCS::versionString): add RCS to version
15693 (CVS::versionString): add CVS to version
15695 * vc-backend.C (scanMaster): do not add CVS to version.
15696 (scanMaster): do not add RCS to version
15698 * lyxvc.C (versionString): new method
15700 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15702 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15704 * Spacing.C (set): initialize fval
15706 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
15708 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15711 2001-08-16 Juergen Vigna <jug@sad.it>
15713 * lyxfunc.C (dispatch): implemented the new FINISHED states.
15715 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15717 * BufferView_pimpl.C:
15720 * text2.C: setParagraph takes linespacing now
15722 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
15724 * LyxAction.C: add internal LFUN_CITATION_INSERT
15726 * LyXView.C: actually apply fix
15728 * bufferlist.C: fix open non-existent file
15730 * lyxfind.C: fix indentation
15732 * lyxfunc.C: remove unneeded assert, fix typo
15734 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15736 * MenuBackend.C: use "Floatname List"
15738 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
15740 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15741 when converting LaTeX layout to insetERT.
15742 Generate a non-collapsed float when reading old float
15744 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15746 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15749 2001-08-13 Juergen Vigna <jug@sad.it>
15751 * text.C (fill): return 0 instead of 20 as this seems to be the more
15754 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15756 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15759 2001-08-13 Juergen Vigna <jug@sad.it>
15761 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15763 (SearchBackward): comment out the unlocking of the inset_owner this
15764 should not be needed!
15766 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
15768 * Many files: Remove inherit_language, and add latex_language
15770 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15771 collapsible insets.
15773 2001-08-10 Juergen Vigna <jug@sad.it>
15775 * text.C (prepareToPrint): fixed hfill-width in draw!
15777 * BufferView2.C (selectLastWord): save the selection cursor as this
15778 now is cleared in the function LyXText::clearSelection!
15780 2001-08-08 Juergen Vigna <jug@sad.it>
15782 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15783 BACKSPACE type functions.
15785 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15786 is only cutted from the document but not put in the cut-buffer, where
15787 still the old stuff should be.
15789 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15791 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15793 * tabular.C (SetWidthOfCell): fixed special case where the width
15795 (LeftLine): handle '|' in align_special.
15797 (LeftAlreadyDrawed): ditto
15798 (SetWidthOfCell): ditto
15800 2001-08-07 Juergen Vigna <jug@sad.it>
15802 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15804 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15806 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15807 * lyxlex.[hC]: ditto
15809 2001-08-06 Juergen Vigna <jug@sad.it>
15811 * text.C (getVisibleRow): fix up row clearing a bit.
15813 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15815 * minibuffer.C: make sure the X server sees the changes in the input.
15817 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15819 * paragraph.C (getFont): split into...
15820 (getLabelFont): this
15821 (getLayoutFont): and this
15822 * paragraph_pimpl.C (realizeFont): calling this
15824 * text2.C (getFont): split into...
15825 (getLayoutFont): this
15826 (getLabelFont): and this
15827 (realizeFont): all three calling this
15829 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15832 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15834 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15836 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
15838 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15839 layouts from the Quote inset insertion.
15841 2001-08-03 Juergen Vigna <jug@sad.it>
15843 * BufferView_pimpl.C (update): do the fitCursor only at the end!
15845 * screen.C (drawFromTo): don't call fitcursor here and do the loop
15846 only if status not is already CHANGED_IN_DRAW (second level).
15848 * text.C (draw): don't set the need_break_row when inside an
15851 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
15853 * buffer.C (parseSingleLyXformat2Token): handle more latex
15856 * bufferview_funcs.[hC]: change function names to
15857 begin with small char, adjust other files.
15859 2001-08-02 André Pönitz <poenitz@gmx.net>
15862 BufferView_pimpl.C: remove broken special code for math-greek
15864 2001-08-02 Juergen Vigna <jug@sad.it>
15866 * BufferView_pimpl.C (update): redone this function so that we
15867 update the text again if there was a CHANGE_IN_DRAW.
15869 * screen.C (cursorToggle): removed LyXText parameter and recoded.
15870 (drawFromTo): added a new internal bool which is used by draw() and
15872 (general): some cursor drawing problems fixed.
15874 2001-08-01 Juergen Vigna <jug@sad.it>
15876 * lyxfind.C (LyXFind): fixed
15877 (SearchForward): ditto
15878 (SearchBackward): ditto
15880 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15881 spurius drawing of the cursor in the main area.
15883 * text2.C (status): small fix which could lead to a segfault!
15884 (clearSelection): remove unneeded BufferView param.
15886 2001-08-01 André Pönitz <poenitz@gmx.net>
15888 * lyxfunc.C: small change due to changed mathed interface
15890 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15892 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15894 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
15896 * lyxfunc.c: fail gracefully if file doesn't exist
15901 * BufferView_pimpl.C: IsDirWriteable() proto changed
15903 * LyXView.C: fix updateWindowTitle() to store the last title
15905 2001-07-31 Juergen Vigna <jug@sad.it>
15907 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15908 the font (wrong since using of Paragraph::highestFontInRange).
15910 * paragraph.C (highestFontInRange): added a default_size parameter.
15912 * text.C (getVisibleRow): minor clear row changes (still not perfect).
15913 (setHeightOfRow): reformat
15915 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15917 * converter.[hC] + affected files: move to (inital-char)lowercase
15920 * ParagraphParameters.C (ParagraphParameters): remove commented code
15922 * PainterBase.[Ch]: remove commented code
15924 * LaTeXFeatures.h: add "bool floats" for float.sty
15926 * LaTeXFeatures.C (LaTeXFeatures): init floats
15927 (require): handle float
15928 (getPackages): do it with floats
15930 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15932 * BufferView_pimpl.C (Dispatch): improve handling of
15933 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15935 * commandtags.h: #include lyxfont.h here temporarily to avoid
15938 * bufferlist.h: include LString.h here.
15940 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15942 * text2.C (getStringToIndex): new method.
15944 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
15946 * *: Reduced header file dependencies all over.
15948 2001-07-30 Baruch Even <baruch@lyx.org>
15950 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15952 2001-07-29 Baruch Even <baruch@lyx.org>
15954 * buffer.C (readInset): Changed GRAPHICS to Graphics.
15956 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15958 * ParameterStruct.h (endif): add a default constructor to make
15959 sure that all variables is initialized.
15961 * ParagraphParameters.C (ParagraphParameters): adjust
15963 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15965 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15966 index; also, check that there is something to index, and that it
15967 does not span over several paragraphs.
15968 (doubleClick): use WHOLE_WORD_STRICT for double click.
15970 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15972 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15975 2001-07-26 Baruch Even <baruch@lyx.org>
15977 * buffer.C (readInset): Changed to call up InsetGraphics when reading
15978 an InsetFig figure, backwards compatible reading of old figure code.
15980 2001-07-27 Juergen Vigna <jug@sad.it>
15982 * text2.C: font.realize function adaption.
15984 * text.C (draw): add a warnings lyxerr text if needed.
15986 * layout.C: font.realize function adaption.
15988 * language.C: add inherit_language and implement it's handlings
15990 * bufferview_funcs.C (StyleReset): remove language parameter from
15991 font creation (should be language_inherit now).
15993 * bufferparams.C (writeFile): handle ignore_language.
15995 * paragraph.C (getFontSettings): the language has to be resolved
15996 otherwise we have problems in LyXFont!
15998 * lyxfont.C (lyxWriteChanges): added document_language parameter
15999 (update): removed unneeded language parameter
16001 * paragraph.C (validate): fixed wrong output of color-package when
16002 using interface colors for certain fonts in certain environments,
16003 which should not seen as that on the final output.
16005 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
16007 * BufferView_pimpl.C:
16012 * LyXAction.C: add thesaurus support
16015 * lyxfind.C: add "once" parameter, for thesaurus, to not
16016 move to the next match
16018 2001-07-26 Juergen Vigna <jug@sad.it>
16020 * lyxfont.C (realize): honor ignore_language too!
16023 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
16025 * text.C (draw): one place more for ignore_language to not draw
16028 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
16030 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
16032 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16034 * buffer.C (parseSingleLyXformat2Token): a more general fix for
16035 the minipage conversion problem.
16037 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16039 * buffer.C (parseSingleLyXformat2Token): check minipage if we
16042 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16044 * BufferView.h: don't forward declare WorkArea
16046 * BufferView.C: don't include WorkArea.h
16048 2001-07-25 André Pönitz <poenitz@gmx.net>
16052 * lyxfunc.C: new LFUN 'math-space'
16054 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
16056 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16058 * text2.C (toggleInset): call open/close
16060 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16062 * lyxfunc.C (dispatch): add debug for the disabled case
16064 * font.C (buttonText): make similar to rectText
16066 * buffer.C (readInset): comment out parsing of insetlist and
16069 * PainterBase.C (rectText): small correction
16071 * BufferView_pimpl.C: comment out insettheorem and insetlist
16072 * LyXAction.C: ditto
16073 * commandtags.h: ditto
16075 2001-07-24 Juergen Vigna <jug@sad.it>
16077 * text.C (draw): honor the ignore_language.
16079 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
16081 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16083 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
16086 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16088 * lyxtext.h: remove unused (and unimplemented) methods
16090 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16092 * text.C (getVisibleRow): honor background color
16095 * Painter.h: remove default color argument for fillRectangle
16097 * text.C (backgroundColor): new method
16099 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16101 * text.C (getVisibleRow): adjust
16103 * font.[Ch] (rectText): new method, metrics
16104 (buttonText): new method, metrics
16106 * PainterBase.[hC]: make rectText and buttonText always draw and take
16109 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16111 * ToolbarDefaults.C (read):
16112 * MenuBackend.C (read): allow escaping in all strings
16114 * BufferView_pimpl.C (insertAndEditInset): new method.
16115 (Dispatch): use insertAndEditInset whenever appropriate.
16117 * BufferView_pimpl.C (insertNote): removed
16119 * BufferView_pimpl.C (smartQuote): new method, moved from
16120 BufferView; if an insetquote cannot be inserted, insert a '"'
16123 * BufferView2.C: remove insertCorrectQuote();
16125 * lyxfunc.C (getStatus): Add support for all remaingin
16126 inset-insert lfuns.
16128 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
16130 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
16131 command (necessary to pass " as parameter of self-insert.
16133 * text.C (selectWordWhenUnderCursor):
16134 (selectWord): add word_location parameter
16135 (selectWordWhenUnderCursor): same + remove special code for word
16137 (selectNextWord): use kind() to guess type of insetspecialchar,
16140 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
16141 (insertErtContents): create ert insets as collapsed.
16142 (readInset): better compatibility code for Info inset.
16144 2001-07-20 Juergen Vigna <jug@sad.it>
16146 * lyxfunc.C (dispatch): use always LyXFind now!
16148 * text2.C (init): add a reinit flag so that the LyXText can be
16149 reinited instead of deleted and reallocated (used in InsetText).
16151 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
16157 2001-07-18 Juergen Vigna <jug@sad.it>
16159 * text.C (selectNextWord): handle insets inside inset by calling
16160 always the bv->text functions so that we can go up the_locking_inset!
16162 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
16163 in strange locations when inside an inset!
16165 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
16166 handling to include insets.
16168 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
16170 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16172 * LyXAction.C (init):
16174 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
16175 LIGATURE_BREAK, since the name is so stupid.
16177 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
16179 * buffer.C (readInset): enable reading of new InsetNotes as well as old
16182 * FontLoader.C: remove FORMS_H_LOCATION cruft.
16184 * sp_form.[Ch]: remove.
16186 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
16188 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
16191 * src/buffer.C (readInset): ditto.
16193 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16195 * BufferView_pimpl.C (specialChar): new method. Obsoletes
16196 menuSeparator(), endOfSentenceDot(), ldots() and
16197 hyphenationPoint(), which are therefore removed.
16198 (Dispatch): handle LFUN_HYPHENATION_BREAK.
16200 * LyXAction.C (init):
16201 * commandtags.h: add LFUN_HYPHENATION_BREAK.
16203 * paragraph.C (getWord): removed.
16205 * BufferView_pimpl.C (Dispatch): use last word or selection for
16206 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
16208 * lyx_main.C (queryUserLyXDir): do not ask before creating
16209 user_dir, except if it has been named explicitely.
16211 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
16213 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
16214 a document of zero size.
16216 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
16218 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
16219 approriately in the c-tor and in require().
16220 (getPackages): output the appropriate LaTeX for natbib support.
16222 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
16223 variables "use_natbib" and "use_numerical_citations" when reading the
16225 (readInset): read the various natbib cite commands.
16226 (validate): white-space change.
16228 * bufferparams.[Ch]: new variables "bool use_natbib" and
16229 "bool use_numerical_citations".
16230 (writeFile): output them in the LyX file.
16232 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16234 * lyxfunc.C (getStatus): add support for all the inset insertion
16237 * text2.C (insertInset):
16238 * paragraph.C (insetAllowed):
16239 * BufferView_pimpl.C (insertInset): update to take in account the
16240 renaming of insertInsetAllowed
16242 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
16244 * text2.C (getInset): new method. returns inset at cursor position.
16246 * BufferView_pimpl.C (Dispatch): changes because of this.
16248 * LyXAction.C (init): rename open-stuff to inset-toggle.
16250 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
16252 * text2.C (toggleInset): renamed from openStuff; use
16255 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
16257 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
16259 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
16261 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
16263 * buffer.C (readLyXformat2): Add filename to the error dialog
16265 2001-07-18 Juergen Vigna <jug@sad.it>
16267 * tabular.C (GetCellNumber): put an assert here instead of the check!
16269 2001-07-17 Juergen Vigna <jug@sad.it>
16271 * BufferView_pimpl.C (toggleSelection): adapted too.
16273 * text.C (selectNextWord): adapted for use with insets.
16274 (selectSelectedWord): ditto
16276 2001-07-17 Juergen Vigna <jug@sad.it>
16278 * sp_spell.C (PSpell): fix initialitation order.
16280 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16282 * paragraph.C: spacing
16284 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
16286 * sp_spell.C: repair language selection for pspell
16288 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
16290 * lyxfunc.h: change more methods to begin with lower char.
16292 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
16294 * buffer.C (parseSingleLyXformat2Token): Generate error insets
16295 for unknown layouts.
16297 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
16299 * buffer.C (readLyXformat2): Generate an error dialog if there are
16302 2001-07-16 Juergen Vigna <jug@sad.it>
16304 * sp_spell.C: always compile ISpell part.
16306 * lyxrc.C: added use_pspell entry and it's handling.
16308 2001-07-13 Juergen Vigna <jug@sad.it>
16310 * sp_spell.C: removed double includes.
16312 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
16314 Consistent use of Lsstream.h:
16315 * Lsstream.h: added using std::stringstream for consistencies sake.
16317 * buffer.C: removed using std::stringstream
16319 * lyxfont.C (stateText):
16320 * paragraph.C (asString):
16321 * text.C (selectNextWord, selectSelectedWord):
16322 * text2.C (setCounter):
16323 * vspace.C (asString, asLatexString):
16324 std::ostringstream -> ostringstream.
16326 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
16328 * LyXAction.C: add LFUN_HELP_ABOUTLYX
16329 * commandtags.h: add LFUN_HELP_ABOUTLYX
16330 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
16332 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
16334 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
16336 * lyx_gui_misc.C: remove spellchecker
16337 * lyxfunc.C: showSpellchecker
16339 * sp_ispell.h: added
16340 * sp_pspell.h: added
16341 * sp_spell.C: added
16342 * sp_form.[Ch]: removed
16343 * spellchecker.[Ch]: removed
16345 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
16347 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
16349 (simpleTeXSpecialChars): Simply print the input character without
16350 any special translation if pass_thru is set.
16352 * layout.h: Added bool pass_thru to layout class for being able to
16353 implement pass through of a paragraph for Literate Programming.
16355 * layout.C: add LT_PASS_THRU to LayoutTags enum.
16356 * layout.C (LyXLayout): set pass_thru to flase in constructor.
16357 * layout.C (Read): add "passthru" to list of layout tags and add
16358 code to set the pass_thru boolean when it is read.
16360 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
16362 * trans_decl.h: remove allowed from KmodInfo
16364 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
16365 remove allowed code
16368 * paragraph_pimpl.C (erase): use boost::prior
16370 * Painter.C (text): use data() instead of c_str() when length is
16372 * WorkArea.C (putClipboard): ditto
16373 * font.h (width): ditto
16375 * BufferView2.C: use it-> instead of (*it). for iterators
16377 * paragraph_pimpl.C: ditto
16378 * paragraph.C: ditto
16379 * minibuffer.C: ditto
16380 * language.C: ditto
16382 * encoding.C: ditto
16383 * counters.C: ditto
16384 * converter.C: ditto
16386 * Variables.C: ditto
16387 * TextCache.C: ditto
16388 * MenuBackend.C: ditto
16389 * LyXAction.C: ditto
16391 * FloatList.C: ditto
16392 * DepTable.C: ditto
16393 * ColorHandler.C (LyXColorHandler): ditto
16395 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16397 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16399 * text2.C (openStuff): reintroduce this method (which had been
16400 nuked in NEW_INSETS frenzy).
16402 * lyxfunc.C (Dispatch): when an action has not been handled, use
16403 its name in the error message, not its number.
16405 * paragraph.C (inInset): change method name to begin with lowercase.
16408 * text2.C: updates because of this.
16410 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16412 * ToolbarDefaults.C (add): add spaces in error message
16414 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
16416 * buffer.C (readLyXformat2): initialize the ert comp. variables.
16417 (readLyXformat2): rename return_par to first_par, use lyxlex's
16418 pushToken and remove the manual push handling.
16419 (parseSingleLyXformat2Token): add another ert comp. variable:
16420 in_tabular, rename return_par to first_par. handle newlines better
16422 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16424 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16426 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
16428 * text2.C (getParFromID): removed
16430 * buffer.C (getParFromID): new method moved form lyxtext.
16431 * BufferView2.C (insertErrors): adjust
16432 (setCursorFromRow): adjust
16433 * BufferView_pimpl.C (restorePosition): adjust
16434 * lyxfunc.C (Dispatch): adjust
16435 * undo_funcs.C (textUndo): adjust
16437 (textHandleUndo): adjust
16438 (textHandleUndo): adjust
16440 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
16442 * buffer.C: up' the LYX_FORMAT
16444 * lyxfont.h: turn NO_LATEX on as default
16446 * buffer.C (insertErtContents): new methods of tex style compability.
16447 (parseSingleLyXformat2Token): use it several places.
16448 * tabular.C (OldFormatRead): and here
16450 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
16452 * text2.C: remove some commented code.
16455 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16456 * trans.C: changes because of the above.
16458 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
16460 * text2.C (setCounter): Fix counters bug with bibliography layout.
16462 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16464 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16465 own member functions
16466 (simpleTeXSpecialChars): ditto
16468 2001-07-06 Juergen Vigna <jug@sad.it>
16470 * a lot of files: changed the access to LyXText::status and the
16471 call of undo-functions.
16473 * undo.[Ch]: added a inset_id to the undo informations.
16475 * undo_funcs.[Ch]: added and moved here all undo functions.
16477 * lyxtext.h: give the status enum a weight, made status_ a private
16478 variable and made accessor functions for it, removed the whole bunch
16479 of undo-functions as they are now in their own file, make some
16480 functions publically available. Added function ownerParagraph with
16483 * paragraph.[Ch]: added "bool same_ids" to the constructor,
16484 made InInset() a const function, added getParFromID() function.
16486 * buffer.[Ch]: added const version for inset_iterator functions,
16487 added getInsetFromID() function.
16489 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16490 changed undo functions for new version.
16492 2001-07-05 Juergen Vigna <jug@sad.it>
16494 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16495 unknow mechanism does not call the proper constructor but only this
16496 one also if I request the other!?
16498 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16500 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16502 * text2.C (LyXText): use initialization lists.
16504 * lyxtext.h (Selection): initialize set_ and mark_
16505 (init): remove method
16507 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
16509 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16511 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16513 * screen.[Ch]: change method names to begin with lowercase
16515 * BufferView_pimpl.C (updateScrollbar): simplify further and
16516 hopefully make it a bit faster.
16518 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16520 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16521 calling directly xforms functions.
16523 * Painter.C (Painter):
16524 * lyx_cb.C (MenuWrite):
16525 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16528 * lyx_gui.C: remove bogus guiruntime extern declaration.
16530 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16532 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16534 (redoDrawingOfParagraph): ditto
16535 (redoParagraphs): ditto
16536 (cutSelection): don't create a object for CutAndPaste use the
16537 static method directly
16538 (pasteSelection): ditto
16540 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16543 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16545 * modifications to some other files because of this.
16547 * Makefile.am (lyx_SOURCES): add XFormsView
16549 * XFormsView.[Ch]: new files
16551 * LyXView.[Ch]: make LyXView a base class for the gui handling for
16552 the main window. Move the gui dependent stuff to XFormsView
16554 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16556 * tabular.C (GetCellInset): update cur_cell also in the row/col
16557 version of this function.
16559 * lyxfunc.C: no need to include figure_form.h here.
16565 * lyxvc.C: no need to include forms.h here.
16567 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16569 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16571 * lyxfunc.C (Dispatch):
16573 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16574 constructor argument.
16576 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16578 * paragraph.C (Paragraph): dont't clear, and just set layout.
16579 (makeSameLayout): use params's copy contructor.
16581 * ParagraphParameters.[Ch] (makeSame): delete method
16583 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
16585 * Variables.[Ch]: fix indentation, rename set to isSet
16587 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16589 * lyxfunc.C (Dispatch): fix typo
16591 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16593 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16596 * bufferlist.C: include assert.h for emergencyWrite().
16598 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16600 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16601 give up at last (bug #425202) !
16603 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
16609 * spellchecker.C: strip spellchecker options and bring up
16610 preferences tab instead
16612 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16614 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16615 the istringstream constructor
16617 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16619 * paragraph.C (getLayout): fix return value
16621 * paragraph.h: do not declare getLayout as inline.
16623 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16625 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16627 * lyxcursor.h (operator<): new func
16628 (operator>): new func
16629 (operator>=): new func
16630 (operator<=): new func
16632 * text.C (changeCase): use selection.start and selection.end
16633 (changeRegionCase): require from to be <= to. Require par to be a
16636 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16638 2001-06-27 Juergen Vigna <jug@sad.it>
16640 * text.C (cursorLeftOneWord): changed to return the cursor and added
16641 overlay with BufferView * parameter which calls this one.
16643 (selectWord): use new getWord function.
16644 (changeCase): renamed from changeWordCase as and extended to work
16645 also on selections.
16647 * lyxtext.h: added enum word_location
16649 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16650 changeCase as this operates now also on selections.
16652 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
16654 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16656 * many files: send debug output to Debug::INFO instead of
16659 * converter.C (View):
16661 (Move): send debug output to Debug::FILES instead of console.
16663 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
16665 * lyxfunc.C (getStatus): use func_status
16667 * func_status.h: new header, describing the results of
16668 LyXFunc::getStatus;
16670 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16673 2001-06-25 The LyX Project <jug@sad.it>
16675 * buffer.C (sgmlOpenTag):
16677 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
16679 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16681 * text2.C: remove some dead code
16683 * tabular.C (GetCellInset): store the last cell checked (gotten)
16685 * tabular.h: add the helper for the speedup
16687 * lyxtext.h: remove some dead code
16689 2001-06-26 The LyX Project <Asger>
16691 * paragraph.C: Change export to LaTeX of alignment to
16692 \begin{center} and family for better roundtrip work with reLyX.
16694 * Tune the math drawing a bit.
16696 2001-06-25 The LyX Project <Asger>
16698 * LColor.C (LColor): New color for math background. New color
16701 2001-06-25 The LyX Project <jug@sad.it>
16703 * lyxfunc.C (MenuNew): remove extra check for .lyx file
16705 * lyxfunc.C (Open):
16706 * bufferlist.C (newFile): do not restrict to files ending with
16709 * BufferView_pimpl.C (MenuInsertLyXFile):
16711 2001-06-24 The LyX Project <jug@sad.it>
16713 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16716 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16718 * lyxtext.h: rename most methods to begin with a small char.
16719 Lots of changes because of this.
16721 * paragraph.C (Paragraph): do not call fitToSize
16722 (erase): call Pimpl::erase
16723 (insertChar): call Pimpl::insertChar
16724 (insertInset): call Pipl::insertInset
16725 (breakParagraph): do not call fitToSize
16726 (breakParagraphConservative): do not call fitToSize
16727 (fitToSize): remove method
16729 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16731 2001-06-24 The LyX Project <Asger>
16733 * Fix Qt compilation^2
16735 2001-06-24 The LyX Project <jug@sad.it>
16737 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16738 depthHook(getDepth()-1).
16741 * ParagraphParameters.h:
16742 * ParameterStruct.h: change type of depth to unsigned int ==
16743 depth_type. Many adaptations to other files before of that.
16745 2001-06-24 The LyX Project <Asger>
16747 * Fix Qt compilation.
16749 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16751 * paragraph.h: renamed several methods to begin with small letter.
16752 several changes to many parts of the code because of this.
16754 2001-06-23 The LyX Project <jug@sad.it>
16756 * text2.C (InsertStringAsLines): renamed from InsertStringA;
16757 rewritten to discard all double spaces when KeepEmpty is off
16758 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16759 to only handle newlines but not fiddle with spaces and friends.
16761 * lyxfunc.C (MenuNew): when doing 'new from template', use
16762 template_path as default directory
16764 2001-06-23 The LyX Project <Asger>
16766 * Clean-up of header file includes all over
16767 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16769 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16771 * paragraph.h: renamed from lyxparagraph.h
16773 2001-06-23 Asger <lyx@violet.home.sad.it>
16775 * Buffer.h: Removed Buffer::resize
16776 * BufferList.h: Removed BufferList::resize
16777 * LyXView.h: Added LyXView::resize. This way, we will only reflow
16778 the document lazily when we change the width, or the font settings.
16780 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16782 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16784 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16786 * buffer.h: remove out of date comment
16788 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16791 * screen.C: fix "theoretical" GC leak
16793 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16795 * LaTeX.C (scanAuxFile):
16796 (deplog): remove trailing \r when reading stream (useful under
16799 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
16801 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16802 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16803 and BufferView::theLockingInset(Inset*), so should use them and not
16804 access bv_->text->the_locking_inset directly.
16806 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16808 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16811 * tex-defs.h: remove old unused file
16813 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
16815 * BufferView_pimpl.C: fix typo, remove minibuffer message
16816 when buffer has loaded
16818 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
16820 * lyxfunc.C (Dispatch): use stringstream
16821 (MenuNew): use stringstream
16822 (Open): use stringstream
16824 * importer.C (Import): use stringstream
16826 * bufferview_funcs.C (CurrentState): use stringstream
16828 * LaTeX.C (run): use stringstream
16830 * BufferView_pimpl.C (savePosition): use stringstream
16831 (restorePosition): use stringstream
16832 (MenuInsertLyXFile): use stringstream
16834 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
16847 * vspace.C: removed // -*- C++ -*- as first line.
16850 * version.h: added // -*- C++ -*- as first line.
16852 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16854 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16856 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16859 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
16861 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16864 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16866 * gettext.C: include LString.h even when --disable-nls is on.
16868 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
16870 * converter.h (Get): changed argument type from int to
16871 FormatList::size_type to avoid unnecessary conversion.
16873 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16876 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16878 * gettext.h: include LString.h even when --disable-nls is on.
16880 2001-06-07 Juergen Vigna <jug@sad.it>
16882 * text.C (BreakAgain): subst spaces with tabs.
16884 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16885 (resizeInsetsLyXText): set force on resizeLyXText.
16887 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16889 * gettext.h (gettext_init):
16890 (locale_init): use a real definition instead of a macro
16892 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16894 * Bufferview_pimpl.C:
16896 * LColor.C: further lcolor tidies
16898 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
16900 * BufferView_pimpl.C (updateScrollbar): simplify.
16902 * BufferView2.C: don't include insets/insetinfo.h, change
16903 prototype for insertInset and call the Pimpl version. let
16904 updateInset call Pimpl version.
16906 * BufferView.h: move inset_slept to BufferView::Pimpl, move
16907 gotoInset to BufferView::Pimpl
16909 2001-06-01 Juergen Vigna <jug@sad.it>
16911 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16912 inside a LockingInset (is the update needed at all?).
16914 2001-05-31 Juergen Vigna <jug@sad.it>
16916 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16917 here not the old one otherwise how should we compare it afterwards
16920 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16925 * FontInfo.C: bring C functions into global namespace when
16928 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16930 * LString.h: make sure config.h has been loaded before LString.h.
16932 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16933 (one for each char read by EatLine!).
16935 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16938 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
16940 * paragraph.C (BreakParagraph): set the inset_owner in the new par
16941 to the same as the par we break from
16943 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
16945 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16947 * MenuBackend.C (expand): also create menu entries for wide
16948 versions of the floats.
16950 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16952 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16954 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16955 frontends/Makefile.am
16961 * tabular.C (getTokenValue): add std::
16963 * tabular-old.C (getTokenValue): add std::
16964 (getTokenValue): ditto
16965 (getTokenValue): ditto
16967 * screen.C (ToggleSelection): adjust
16969 * lyxtext.h: put selection cursors inside a Selection struct.
16971 * lyxfunc.C (moveCursorUpdate): adjust
16973 * lyxfont.C (latexWriteStartChanges): add std::
16975 * lyxfind.C: adjust
16977 * font.h: delete with(char const *, LyXFont const &)
16979 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16981 * FontInfo.C (getFontname): add std::
16983 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16984 (workAreaButtonPress): adjust
16985 (tripleClick): adjust
16987 (moveCursorUpdate): adjust
16990 * BufferView2.C (gotoInset): adjust
16992 2001-05-30 Juergen Vigna <jug@sad.it>
16994 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16995 to check pspell I add this as default as I now have new pspell
16996 libraries and they seem to use this.
16998 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
17000 * text2.C (CutSelection): make the cursor valid before the call to
17003 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17005 * kbsequence.C (parse): de-uglify a bit the parsing code, which
17006 relied on 0 terminated strings and other horrors. Bug found due to
17007 the new assert in lyxstring!
17009 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
17012 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
17014 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
17017 * lyxfunc.C (processKeySym): change method of getting to the
17020 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
17021 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
17022 * BufferView_pimpl.[Ch]: here as private methods.
17024 2001-05-28 Juergen Vigna <jug@sad.it>
17026 * text.C (SetHeightOfRow): added the update() call again as it is
17027 needed to initialize inset dimensions!
17029 2001-05-16 Juergen Vigna <jug@sad.it>
17031 * text2.C (SetCharFont): Add new function with BufferView * and
17032 bool toggleall parameters for setting insets internal fonts.
17033 (SetFont): Freeze the undo as we may change fonts in Insets and
17034 all this change should be inside only one Undo!
17036 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
17037 setting font's in insets as for them we have the SetFont function!
17039 2001-05-15 Juergen Vigna <jug@sad.it>
17041 * text2.C (ClearSelection): to be sure we REALLY don't have any
17044 * tabular.C (TeXCellPreamble): fixed the left border problem for
17047 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
17049 * LaTeX.C (deplog): Make sure that the main .tex file is in the
17052 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
17054 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
17055 LFUN_BREAKPARAGRAPH.
17057 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
17058 help test to "internal only", similar for LFUN_INSERT_URL
17060 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
17061 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
17062 auto_region_delete and deadkeys.
17064 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
17067 * LColor.C: remove some dead entries, tidy a little
17069 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
17071 * lyxfunc.C (processKeySym): comment the Escape handling, remove
17073 (Dispatch): implement LFUN_ESCAPE
17075 * commandtags.h: add LFUN_ESCAPE
17077 * LyXAction.C (init): add entry for LFUN_ESCAPE
17079 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
17080 Remove commented code.
17081 (insertNote): moved here
17082 (open_new_inset): moved here
17084 * BufferView[2].[Ch]: move insertNote and open_new_inset to
17087 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17089 * kbmap.C (findbinding): clean it up and make it work correctly.
17091 * lyx_main.C (init): do not pass argc and argv as parameters
17093 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
17095 * buffer.C: fix path for OS/2 & Win32
17099 * lyx_main.C: Added os:: class.
17101 * os2_defines.h: update
17103 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
17105 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
17106 better by trying again with reduced state.
17108 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17110 * lyxrc.C (read): print error about invalid key sequence only when
17111 debugging (because not all latinX keysyms are known to some X
17114 * kbsequence.C (getiso): add a few std:: qualifiers
17115 (getiso): comment out extra return statement.
17117 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
17119 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
17121 (Dispatch): enhance the accent inset a bit. (not perfect)
17123 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
17125 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
17127 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17129 * bufferlist.C (emergencyWrite): fix assert() call
17131 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
17133 * text.C (InsertChar): Added trivial patch to only send the "you
17134 can not do multiple spaces this way" message once during a
17137 2001-05-08 Baruch Even <baruch@lyx.org>
17139 * Makefile.am: Changed order of libraries to get LyX to link properly
17140 with the gnome frontend.
17142 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17144 * LaTeXFeatures.h: add a std:: qualifier
17146 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
17148 * paragraph.C (String): use stringstream
17150 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
17152 * paragraph.C (writeFile): remove footflag arg
17154 * buffer.C (makeLaTeXFile): use stringstream
17155 (latexParagraphs): remove footnot gurba
17157 * LaTeXFeatures.C (getPackages): use stringstream
17158 (getMacros): likewise
17159 (getTClassPreamble): likewise
17160 (getFloatDefinitions): new method
17162 * paragraph.C (writeFile): reindent
17165 * WorkArea.h: revert the xpos + etc changes.
17167 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
17169 * lyxparagraph.[Ch]: add copy constructor, remove Clone
17171 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
17172 (pasteSelection): likewise
17173 * text2.C (CreateUndo): likewise
17175 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
17177 * minibuffer.C (peek_event): temporarily reduce the functionality
17178 of the minibuffer (to allow args on lfuns)
17180 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
17181 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
17183 * buffer.C (readInset): add compability reading of old float
17184 lists, add reading of new style float list.
17185 (readInset): avoid reevaluation of inscmd.getCmdName()
17186 (getLists): reindent
17188 * MenuBackend.C (MenuItem): implement parsing of
17189 md_floatlistinsert and md_floatinsert.
17190 (expand::LastFiles): move initalizaton of iterators out of loop,
17191 avoid reevaluation.
17192 (expand::Documents): introduce typdedef vector<string> Strings,
17194 (expand::ExportFormats): introduce typedef vector<Format const *>
17195 Formats, and use it.
17196 (expand): implement FloatListInsert and FloatInsert.
17198 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
17199 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
17200 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
17202 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
17204 (Dispatch::LFUN_FLOAT_LIST): implement
17206 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
17208 * LaTeX.C (run): Fix problem with --export code.
17210 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
17212 * BufferView.[Ch] (workarea): removed.
17213 (getClipboard) new method; wrapper for workarea()->getClipboard()
17215 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
17218 * WorkArea.h (width, height, xpos, ypos): These methods all
17219 returned the dimensions of the work_area sub-area of WorkArea,
17220 resulting in a position error if the WorkArea were resized. Now
17221 return the dimensions of the entire WorkArea.
17223 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
17225 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17227 * LaTeX.C (deplog): correct the syntax of regex reg1
17229 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
17231 * undo.C: remove !NEW_INSETS cruft
17233 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
17235 * text2.C: remove !NEW_INSETS cruft
17237 * text.C: remove !NEW_INSETS cruft
17239 * tabular.C: remove !NEW_INSETS cruft
17241 * spellchecker.C: remove !NEW_INSETS cruft
17243 * lyxtext.h: remove !NEW_INSETS cruft
17245 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
17247 * lyxfunc.C: remove !NEW_INSETS cruft
17249 * lyxfind.C: remove !NEW_INSETS cruft
17251 * lyx_cb.C: remove !NEW_INSETS cruft
17253 * figureForm.C: remove !NEW_INSETS cruft
17255 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
17257 * buffer.[Ch]: remove !NEW_INSETS cruft
17259 * ToolbarDefaults.C: remove !NEW_INSETS cruft
17261 * CutAndPaste.C: remove !NEW_INSETS cruft
17263 * BufferView_pimpl.C: remove !NEW_INSETS cruft
17265 * BufferView2.C: remove !NEW_INSETS cruft
17267 * BufferView.h: remove !NEW_INSETS cruft
17269 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17271 * Lsstream.h: include LString.h before the sstream headers to
17272 fix problem with gcc 2.95.3 and lyxstring
17274 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17276 * lyx_main.C: add using directives when needed for C functions
17277 declared in std:: namespace.
17279 2001-04-27 Juergen Vigna <jug@sad.it>
17281 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
17282 (SetHeightOfRow): comment out the update call should not be needed!
17284 2001-04-13 Juergen Vigna <jug@sad.it>
17286 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
17287 (LyXTabular): tried to minimize operator= operations (and realized
17288 hopfully Lars wish).
17290 2001-04-27 Juergen Vigna <jug@sad.it>
17292 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
17294 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
17296 * lyxfunc.C (Dispatch): hack to make listof algorithm work
17298 * buffer.C (readInset): hack to make listof algorithm work
17300 * BufferView_pimpl.C: hack to make listof algorithm work
17302 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
17304 * LyXAction.C: removed all !NEW_INSETS cruft
17305 (init): moved lfun_item in method
17307 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
17309 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
17311 * BufferView2.C (theLockingInset): white space.
17313 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
17315 * minibuffer.C: include <iostream>
17317 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
17319 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
17321 * commandtags.h: add LFUN_TRANSPOSE_CHARS
17323 * text.[Ch] (TransposeChars): new method
17325 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
17327 * call message directly through LyXView instead of through LyXFunc
17328 * BufferView2.C: adjust
17329 * BufferView_pimpl.C: adjust
17330 * FontLoader.C: adjust
17332 * bufferview_funcs.C: adjust
17333 * converter.C: adjust
17334 * figureForm.C: adjust
17335 * importer.C: adjust
17337 * lyx_gui_misc.C: adjust
17338 * lyxfunc.C: adjust
17341 + more files in subdirs
17343 * lyxparagraph.h (size): move up int file
17346 * adjust all uses of Assert to lyx::Assert.
17348 * BufferView2.C (ChangeCitationsIfUnique): adjust for
17349 lyxfunctional in namespace lyx
17350 * layout.C (hasLayout): ditto
17353 (delete_layout): ditto
17354 (NumberOfClass): ditto
17355 * converter.C (GetFormat): ditto
17360 * bufferlist.C (getFileNames): ditto
17361 (emergencyWriteAll): ditto
17364 * MenuBackend.C (hasSubmenu): ditto
17367 * BufferView_pimpl.C (getInsetByCode): ditto
17369 2001-04-18 Juergen Vigna <jug@sad.it>
17371 * vspace.C (asLatexString): fixed the 100% problem.
17373 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17375 * lyxfunc.C (Dispatch):
17377 * minibuffer.h: add a few std:: qualifiers
17379 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
17381 * minibuffer.[Ch]: reimplement so that commands is initiated and
17382 run from lyxfunc, simplified som handling, and made the completion
17383 and history code for complete. wip.
17385 * lyxfunc.C (processKeySym): call message
17386 (miniDispatch): new temporary method
17387 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
17388 (LFUN_MESSAGE): implement
17389 (LFUN_MESSAGE_PUSH): implement
17390 (LFUN_MESSAGE_POP): implement
17391 (initMiniBuffer): the initial/defualt minibuffer message.
17393 * lyxfont.[Ch]: inline some more getters
17395 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17397 * lyx_gui_misc.[Ch] (WriteStatus): remove method
17399 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17400 (AutoSave): use LFUN_MESSAGE
17401 (Reconfigure): ditto
17403 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17405 * figureForm.C: use LFUN_MESSAGE
17407 * converter.C (runLaTeX): use LFUN_MESSAGE
17409 * bufferview_funcs.C: use LFUN_MESSAGE
17411 (changeDepth): ditto
17413 * bufferparams.h: use boost::
17415 * bufferlist.h: inherit privately from noncopyable
17417 * bufferlist.C (loadLyXFile): remove some commented code.
17419 * buffer.C (runChktex): use LFUN_MESSAGE
17421 * ShareContainer.h: inherit privately from noncopyable
17423 * ParagraphParameters.[hC] (depth): inline it.
17425 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17427 (message): new method
17428 (messagePush): ditto
17429 (messagePop): ditto
17430 (show): init minibuffer
17431 (showState): direct call
17433 * LaTeX.[Ch]: inherit privately from noncopyable
17434 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17435 instead of WriteStatus.
17437 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17439 * BufferView_pimpl.C (buffer): don't init minibuffer
17440 (workAreaButtonPress): use LFUN_MESSAGE
17441 (workAreaButtonRelease): ditto
17442 (savePosition): ditto
17443 (restorePosition): ditto
17444 (MenuInsertLyXFile): ditto
17445 (workAreaExpose): don't init minibuffer
17446 (update): remove commented code, simplify
17448 * BufferView2.C (openStuff): use LFUN_MESSAGE
17449 (toggleFloat): ditto
17452 (copyEnvironment): ditto
17453 (pasteEnvironment): ditto
17458 (updateInset): remove some commented code
17460 * lastfiles.h: inherit privately from noncopyable
17463 * lyx_main.h: ditto
17465 * lyxlex_pimpl.h: ditto
17467 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17468 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17469 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17471 * LyXAction.h: inherit privately from noncopyable, add methods
17472 func_begin, func_end, returning iterators to the func map.
17474 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17475 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17476 (func_begin): new method
17477 (func_end): new method
17479 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17481 (copySelection): ditto
17482 (pasteSelection): ditto
17484 * BufferView.C: whitespace change
17485 * BufferView.h: inherit privately from noncopyable
17487 2001-04-16 Allan Rae <rae@lyx.org>
17489 * tabular-old.C (l_getline):
17490 * spellchecker.C (sc_check_word):
17491 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17492 an unrecognised preprocessor directive. So ensure they're wrapped.
17494 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
17496 * src/exporter.C (Export): Give an error message when path to file
17499 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
17501 * LaTeX.C (deplog): Always check that foundfile exists.
17503 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17506 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17508 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
17510 * tabular.[Ch] (getLabelList): implement new method
17512 * minibuffer.h: comment ouf setTiimer
17514 * minibuffer.C (ExecutingCB): constify res
17515 (peek_event): constify s
17516 (Set): constify ntext
17517 (Init): constify nicename
17519 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17521 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17522 (savePosition): use two params to Minibuffer::Set
17523 (restorePosition): ditto
17525 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17527 * lyx_main.C: include language.h
17529 * Makefile.am (lyx_main.o): add language.h
17531 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17537 * CutAndPaste.C: include gettext.h
17539 * lyxfont.h: remove old hack with ON and OFF.
17542 * lyxfont.h: do not include language.h...
17547 * bufferview_funcs.C:
17553 * paragraph.C: ... but do it here instead
17555 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
17557 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17559 * tabular.C: small reformat
17561 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17564 (BreakParagraph): ditto
17565 (SetOnlyLayout): ditto
17568 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17571 * lastfiles.C: removed most using decl, add std:: where needed
17573 * buffer.C: ws changes
17575 * MenuBackend.C (class compare_format): put into anon namespace
17576 (expand): constify label, names, action, action2
17579 * text.C (SingleWidth): constify font
17580 (IsBoundary): constify rtl2
17581 (GetVisibleRow): constify ww
17583 * LaTeX.C (deplog): constify logfile
17585 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17587 (workAreaExpose): constify widthChange, heightChange
17589 * lyxrow.C (par): moved
17592 * lyxrow.h: as inlines here
17594 * lyxfont.h (shape): moved from lyxfont.C
17595 (emph): moved from lyxfont.C
17597 * lyxfont.C (LyXFont): use initialization list for all
17599 (shape): move to lyxfont.h as inline
17600 (emph): move to lyxfont.h as inline
17603 2001-04-04 Juergen Vigna <jug@sad.it>
17605 * vspace.C: had to include stdio.h for use of sscanf
17607 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
17610 * BufferView_pimpl.h: remove xforms cruft. Both classes are
17611 independent of xforms.
17613 2001-04-02 Juergen Vigna <jug@sad.it>
17615 * spellchecker.C: fixed namespace placing!
17617 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
17619 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17620 the LyXParagraph * is 0.
17622 2001-03-29 Juergen Vigna <jug@sad.it>
17624 * vspace.C: added support for %, c%, p%, l%.
17625 (stringFromUnit): added helper function.
17626 (asLatexString): changed to give right results for the %-values.
17628 * buffer.C: convert the widthp in a width%.
17630 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
17632 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17635 * figureForm.[Ch]: stripped the FD_from_figure manipulation
17636 code out of lux_cb.[Ch], ready for its (imminent?) removal.
17638 * lyx_cb.[Ch]: see above.
17640 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17644 * lyx.[Ch]: replaced by figure_form.[Ch].
17648 * lyxfunc.C: changed headers associated with above changes.
17650 2001-03-27 Juergen Vigna <jug@sad.it>
17652 * BufferView_pimpl.C: set the temporary cursor right!
17654 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
17656 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17658 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
17660 * LString.h: removed "using std::getline"!
17662 * BufferView_pimpl.C (Dispatch): changes due to changes in
17663 InsetInclude::Params.
17665 * buffer.C (tag_name): removed redundant break statements as they were
17666 producing lots of warnings with my compiler.
17668 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17670 * LString.h: add "using std::getline" when using the real <string>.
17672 2001-03-23 Jos�Ab�io Matos <jamatos@fep.up.pt>
17674 * buffer.C: removed bitset usage.
17675 PAR_TAG moved to an anonymous name space.
17676 (tag_name): new funtion, also in the anonymous namespace.
17677 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17678 (makeDocBookFile): clean code. Completed transition from string arrays
17680 (SimpleDocBookOnePar): code clean.
17682 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17684 * tabular.C: add some comments.
17686 2001-03-22 Juergen Vigna <jug@sad.it>
17688 * buffer.C (parseSingleLyXformat2Token): redone the minipage
17689 compatibility read a bit and fixed bug with minipage in different
17692 2001-03-21 Jos�Ab�io Matos <jamatos@fep.up.pt>
17694 * buffer.C (pop_tag): removed.
17695 (push_tag): removed.
17696 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17697 array replaced with vector. Added support for CDATA sections.
17698 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17700 (makeDocBookFile): XML conformant declaration of CDATA section,
17701 fixed bug related to <emphasis> in the first paragraph char.
17702 (sgmlOpenTag): exclude empty tags.
17703 (sgmlCloseTag): ditto.
17705 * buffer.h (pop_tag): removed.
17706 (push_tag): removed.
17708 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
17710 * language.h (Languages): added size_type and size().
17712 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17714 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17715 response on compability reading of minipages. One probliem is that
17716 the old usage of minipages was flertydig
17718 * several files here and in subdirs: don't use static at file
17719 scope use anon namespaces instead.
17721 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
17723 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17724 LaTeX output. This is necessary for Literate document
17727 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17729 * buffer.C: insert hfill when needed.
17731 * tabular.C (l_getline): use string::erase, small whitespace change.
17733 * BufferView_pimpl.C: try the anon namespace.
17734 * WorkArea.C: ditto
17736 2001-03-16 Juergen Vigna <jug@sad.it>
17738 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17739 otherwise it won't open options-dialogs.
17741 * buffer.C: honor pextraWidth(p) on converting minipages.
17743 * tabular.C (l_getline): changed the functions to strip trailing \r.
17745 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
17747 * BufferView_pimpl.C:
17748 * minibuffer..C: added "using SigC::slot" declaration.
17750 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17752 * lyxlex_pimpl.h: noncopyable is in namespace boost.
17758 * paragraph.C: ditto
17760 * lyxtext.h: NO_PEXTRA
17762 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17764 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17765 * ParameterStruct.h: ditto
17766 * ParagraphParameters.h: ditto
17767 * lyxparagraph.h: ditto
17769 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17771 * buffer.C: add compability for minipage alignment.
17772 (latexParagraphs): remove unwanted pextra check.
17774 * several files: remove CXX_WORKING_NAMESPACES
17776 * buffer.C (pop_tag): tie is in namespace boost
17778 * BufferView.h: noncopyable is in namespace boost
17780 * lyx_main.h: ditto
17783 * lastfiles.h: ditto
17784 * bufferlist.h: ditto
17785 * ShareContainer.h: ditto
17787 * LyXAction.h: ditto
17790 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17792 * Merging changes from BRANCH_MVC back into HEAD.
17794 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17796 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
17798 * BufferView_pimpl.C: change from intl.C
17802 * Makefile.am: move combox.*
17808 * intl.C: remove dialog (covered by prefs)
17810 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17812 * lyxfunc.C (Dispatch): removed redundant break statement.
17814 2001-03-14 Juergen Vigna <jug@sad.it>
17816 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17818 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17820 * buffer.C: add hack to fix compability reading of minipages.
17822 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
17824 * buffer.C (getLists): Cleanup.
17826 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17828 * lyxfont.C (update): don't honor toggleall on font size.
17830 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
17834 * Makefile.am: moved to frontends/xforms/
17838 * BufferView_pimpl.C: changes for moved mathpanel
17840 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17842 * gettext.h: fix gettext_init() in --disable-nls
17844 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17846 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17848 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
17851 * lyx.h: strip external form
17853 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17855 * BufferView_pimpl.C: add comment, destroySplash()
17857 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17859 * BufferView_pimpl.C:
17863 * lyxfunc.C: use re-worked insetinclude
17865 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17867 * buffer.C: add using std::stringstream.
17869 * lyx_cb.C: readd using std::ios.
17871 * buffer.C: add using std::map.
17873 * BufferView_pimpl.C: add using std::vector.
17875 * ShareContainer.h: add std:: to swap.
17877 * buffer.h: add some typedefs
17878 * buffer.C (getLists): use them
17879 (getLists): renamed from getTocList.
17880 add a counter for the different float types and use it in the
17882 (getLists): use the same counter for the NEW_INSETS and the "non"
17885 * lyx_cb.h: remove unused items, includes, using etc.
17887 * ShareContainer.h: remove some commented code, add more comments
17888 and "documentation".
17890 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17892 * buffer.C (getTocList): make the list also when NEW_INSETS is
17895 * buffer.h: remove TocType
17897 * buffer.C (getTocList): change to return a map<string,
17898 vector<TocItem> >, implement for dynamic number of list.
17900 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17901 * text2.C (PasteSelection): adjust
17902 * CutAndPaste.C (pasteSelection): adjust
17904 * FloatList.C (FloatList): update from the new_insets branch.
17905 * Floating.[Ch]: ditto
17906 * LaTeXFeatures.C: ditto
17908 * lyxlex_pimpl.C: ditto
17910 * paragraph.C (Last): remove when NEW_INSETS is defined.
17912 * other file: changes because of the above.
17914 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17916 * lyxparagraph.h: rename next to next_, previous to previous_,
17917 make them private for NEW_INSETS. Rename Next() to next(),
17918 Previous() to previous().
17920 * other files: changes because of the above.
17922 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
17925 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17928 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17930 * main.C (main): pass lyx_localedir to gettext_init().
17932 * gettext.h: remove locale_init and gettext_init macros
17934 * gettext.C (locale_init): new function
17935 (gettext_init): new function
17937 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17940 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
17942 * Moved credits to frontends:
17943 * credits.[Ch]: removed
17944 * credits_form.[Ch]: removed
17945 * lyx_gui_misc.C: remove credits stuff
17948 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17950 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17952 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17953 unneeded destructor.
17955 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17956 a standalone pointer again.
17958 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17960 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
17966 * ToolbarDefaults.C:
17975 * BufferView_pimpl.C: use new file dialog in GUII
17978 * lyx_cb.C: remove LayoutsCB to Toolbar
17980 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17982 * ShareContainer.h (get): add std:: qualifier
17984 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17986 * ShareContainer.h: define a proper ShareContainer::value_type
17987 type (and use typename to please compaq cxx)
17989 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17991 * lyxparagraph.h: move serveral local vars to
17992 ParameterStruct/ParagraphParameters., use ShareContainer in
17993 FontTable., make vars in FontTable private and add getter and
17996 * paragraph.C: changes because of the above.
17998 * lyxfont.h: remove copy constructor and copy assignment. (the
17999 default ones is ok), move number inside FontBits. move inlines to
18002 * lyxfont.C: add number to initializaton of statics, move several
18003 inlines here. constify several local vars. some whitespace
18004 cleanup. Dont hide outerscope variables.
18006 * Spacing.h: add two new constructors to match the set methods.
18008 * ShareContainer.h: new file, will perhaps be moved to support
18010 * ParameterStruct.h: new file
18012 * ParagraphParameters.h: new file
18014 * ParagraphParameters.C: new file
18016 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
18017 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
18019 * BufferView_pimpl.C: ParagraphParameter changes.
18020 * buffer.C: Likewise.
18021 * bufferview_funcs.C: Likewise.
18022 * text.C: Likewise.
18023 * text2.C: Likewise.
18025 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18027 * lyxfind.C (LyXReplace): do not redefine default argument in
18029 (IsStringInText): ditto
18030 (SearchForward): ditto
18031 (SearchBackward): ditto
18033 2001-03-06 Juergen Vigna <jug@sad.it>
18035 * lyxfind.C (IsStringInText): put parentes around expressions.
18037 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
18039 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
18041 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
18043 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
18045 * stl_string_fwd.h: add comment
18047 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
18050 * tabular.C: remove unused DocBook methods
18056 killed DO_USE_DEFAULT_LANGUAGE
18058 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18060 * lyx_gui.C: do not include language.h.
18062 * bufferview_funcs.C (ToggleAndShow): do not provide optional
18063 arguments in function implementation.
18065 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18067 * BufferView_pimpl.C: add <ctime>
18069 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18071 * BufferView_pimpl.C: add using std::find_if
18073 2001-02-27 José Matos <jamatos@fep.up.pt>
18075 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
18078 2001-02-11 José Matos <jamatos@fep.up.pt>
18080 * buffer.C (makeDocBookFile): command styles now have a parameter as
18081 "title" by default.
18083 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
18085 * layout_forms.[Ch]: removed
18086 * lyx_cb.[Ch]: out character
18087 * lyx_gui.C: out character
18088 * lyx_gui_misc.C: out character
18089 * bufferview_funcs.C: : out character,
18090 added toggleall as parameter in ToggleAndShow
18092 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
18094 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
18096 * text2.C (SetCurrentFont): Disable number property at boundary.
18098 2001-02-26 Juergen Vigna <jug@sad.it>
18100 * lyxfunc.C (getStatus): added a string argument override function so
18101 that this is correctly called from LyXFunc::Dispatch if it contains a
18102 do_not_use_argument which is used!
18103 (Dispatch): added check for "custom" export and call appropriate func.
18105 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
18107 * lyxrc.C: Add language_command_local, language_use_babel and
18108 language_global_options.
18110 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
18112 * buffer.C (makeLaTeXFile): Use language_use_babel and
18113 language_global_options.
18115 2001-02-23 Juergen Vigna <jug@sad.it>
18117 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
18118 which works with LyXText and putted it inside BufferView. Here now we
18119 only call for that part the BufferView::Dispatch() function.
18121 * BufferView.C (Dispatch): added.
18123 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
18124 functions which needs to use a LyXText over from LyXFunc.
18125 (MenuInsertLyXFile): added
18126 (getInsetByCode): added
18127 (moveCursorUpdate): added
18128 (static TEXT): added
18130 2001-02-22 Juergen Vigna <jug@sad.it>
18132 * BufferView_pimpl.C (update): call a status update to see if LyXText
18135 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18137 * vc-backend.C (revert): implement for CVS
18138 (getLog): implement for CVS
18140 2001-02-20 Juergen Vigna <jug@sad.it>
18142 * text2.C (ClearSelection): added BufferView param for inset_owner call
18144 * lyxfunc.C (TEXT): added this function and use it instead of
18145 directly owner->view()-text of getLyXText().
18147 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
18149 * src/layout_forms.C: out preamble
18150 * src/layout_forms.h: out preamble
18151 * src/lyx_cb.C: out preamble
18152 * src/lyx_cb.h: out preamble
18153 * src/lyx_gui.C: out preamble
18154 * src/lyx_gui_misc.C: out preamble
18155 * src/lyxfunc.C: connect with guii preamble
18157 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
18159 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
18161 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
18163 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
18164 whether to run bibtex.
18166 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
18168 * Makefile.am (lyx_SOURCES): Remove BackStack.h
18170 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
18172 * Makefile.am (lyx_SOURCES): removed bibforms.h
18174 * vspace.h: doxygen
18176 * text.C (GetVisibleRow): make several local vars const
18178 * tabular.C: small cleanup.
18180 * lyxserver.C (callback): use compare instead of strncmp
18182 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
18183 inlines to after class or to paragraph.C
18185 * lyxfont.h: remove friend operator!=
18187 * converter.h: move friend bool operator< to non friend and after
18190 * combox.h: small cleanup
18192 * buffer.h: doxygen, remove unused constructor, move inclas inlies
18193 to inlines after class def.
18195 * buffer.C (pop_tag): use string operations instead of strcmp
18197 * bmtable.c: doxygen, small cleanup
18199 * LaTeX.h: remove friend operator==
18201 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
18213 * BufferView_pimpl.C:
18214 * BufferView.[Ch]: remove cruft
18216 2001-02-14 Juergen Vigna <jug@sad.it>
18218 * lyxfunc.C: removed #if 0 unused code
18220 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
18222 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
18224 * text2.C (SetSelection): added a BufferView * parameter
18226 2001-02-13 Juergen Vigna <jug@sad.it>
18228 * lyxfunc.C (Dispatch): fixed protected blank problem.
18229 * BufferView2.C (protectedBlank): added LyxText * parameter.
18231 * tabular.C (AppendRow): forgot to set row_info of newly added row.
18232 (AppendColumn): same as above for column_info.
18234 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
18235 (moveCursorUpdate): use a LyXText param for support of InsetText.
18237 * BufferView_pimpl.C (doubleClick): added support for InsetText.
18238 (tripleClick): ditto
18240 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
18242 * BufferView_pimpl.C (update): added LyXText param to honor insets.
18244 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
18246 * text2.C (SetSelection): set correct update status if inset_owner
18247 (ToggleFree): ditto
18249 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
18251 * tabular.C: remove some commented code.
18253 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
18255 * BufferView_pimpl.C: call hideSplash()
18257 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
18260 * bibforms.h: remove
18263 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
18264 add LFUN_CHILD_CREATE
18266 * counters.h: fix tiny typo
18271 * lyx.C: move splash to frontends/xforms/
18273 * lyx_gui_misc.C: move Include and Bibform to frontends
18275 * lyxvc.h: clarify comment
18277 * vspace.C: tiny housekeeping
18279 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
18281 * text.C (PrepareToPrint): RTL Fix.
18283 * paragraph.C (GetUChar): New method.
18284 (String): Use GetUChar.
18286 * buffer.C (asciiParagraph): Use GetUChar.
18288 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
18290 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
18292 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
18295 * buffer.C: rename to getLogName(), handle
18296 build log / latex log nicely
18298 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18301 * MenuBackend.h: remove support for reference menuitem type.
18303 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
18305 * BufferView_pimpl.C: housekeeping
18306 * BufferView_pimpl.h:
18311 * minibuffer.h: move Timeout GUI-I
18313 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
18315 * lyxrc.C (read): Update converters data-structures.
18317 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
18319 * LaTeX.h (operator!=): add operator != for Aux_Info
18321 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
18323 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
18325 * LaTeXLog.C: deleted, useful code moved to Buffer
18328 * buffer.C: new function getLatexLogName()
18334 * lyxfunc.C: use frontends for LaTeX and VC logs
18336 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18338 * LaTeX.h: yet another std:: that Allan forgot.
18340 * Variables.C (set): renamed from isset(), because this clashes
18341 with some HP-UX macros (grr).
18343 2001-02-06 Allan Rae <rae@lyx.org>
18345 * LaTeX.h: Another bug fix. Missing std:: this time.
18347 2001-02-04 Allan Rae <rae@lyx.org>
18349 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
18350 floats problem. I've left it commented out because it's not quite
18351 correct. It should also test that the current object is a table or
18352 figure inset. But I haven't gotten around to figuring out how to do
18353 that. I *think* it'll be something like: "table" == inset.type()
18355 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
18358 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
18360 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
18361 all the citation/databases/styles in the auxilary file.
18362 (run): Rerun latex if there was a babel language error.
18364 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
18366 * text.C (Backspace): Preserve the font when changing newline char
18368 (BreakParagraph): If the cursor is before a space, delete the space.
18370 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
18372 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
18374 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
18375 new argument (code).
18376 (ChangeCitationsIfUnique): New method.
18378 * paragraph.C (GetPositionOfInset): Handle bibkey.
18380 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18382 * BufferView_pimpl.h: change type of Position::par_pos to
18383 LyXParagraph::size_type.
18385 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
18387 * BufferView_pimpl.C (savePosition, restorePosition): Write
18388 messages to minibuffer.
18390 2001-01-28 José Matos <jamatos@fep.up.pt>
18392 * buffer.C (makeDocBookFile): adds support for document language.
18393 A silly restriction on the name of LatexCommand types where removed.
18394 Added support for CDATA sections, allows to chars unescaped, used
18395 among others in code, to avoid escape < and >.
18397 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
18399 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18400 saved positions instrad of a stack. Furthermore, a position is
18401 stored using paragraph id/paragraph position.
18403 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18404 Remove LFUN_REF_BACK.
18406 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
18408 * converter.C (dvipdfm_options): New method.
18410 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
18412 * vspace.C (isValidLength): Fix for empty input string.
18414 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18416 * LyXAction.C (init): change description of LFUN_FIGURE to
18419 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18421 * LaTeX.C: add using directive
18423 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
18425 * MenuBackend.C (expand): Fix the sorting of the formats.
18427 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
18429 * lyx_main.C: tiny error message fix
18431 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18433 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18434 calling fl_initialize(). This fixes the problem with ',' as
18435 decimal separator in text files.
18437 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
18439 * trans.C (process): Fix the keymap bug.
18441 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
18443 * LaTeX.C (scanAuxFiles): New method. Provides support for
18444 multiple bibliographies (when using the bibtopic/bibunits pacakges).
18445 (scanLogFile) Scan for "run BibTeX" messages.
18447 * buffer.C (makeLaTeXFile): Do not load the ae package when using
18448 OT1 font encoding. Also, load the aecompl package if the ae
18451 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18453 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18455 * texrow.C (increasePos): turn two error messages into debug
18458 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
18460 * LaTeX.C (scanAux): Handle the \@input macro.
18461 (runBibTeX): Use scanAux().
18463 * language.C (latex_options_): New field.
18465 * LaTeXFeatures.C (getMacros): Add language macros.
18467 * buffer.C (makeLaTeXFile): Small fix.
18469 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18471 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18473 * text2.C: add a using directive.
18475 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
18480 * lyxfunc.C: kill LyXBell.
18482 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
18484 * text.C (IsBoundary): Remove the error message
18486 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18488 * lyxrc.C (setDefaults): Correct initialization value for
18491 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
18493 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18496 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18497 and GotoNextNote().
18499 * src/LyXAction.C: Added reference-next.
18501 * text.C (InsertChar): Use contains instead of strchr.
18503 * lyx_cb.C (MenuInsertLabel): Enable default value code.
18505 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
18507 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18508 alignment commands (when needed).
18510 * text.C (InsertChar): Add ':' to number separator chars.