1 2005-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5 * BufferView_pimpl.C (getStatus): it is only possible to insert a
8 * buffer.C (readDocument): remove pit argument and code releated
9 to it; set the inset owner correctly (unrelated, but useful).
10 (readFile): get rid of pit argument.
12 * CutAndPaste.C (pasteSelectionHelper): use a ParagraphList and a
13 textclass instead of a selection index.
14 (pasteParagraphList): new function.
15 (pasteSelection): make it a wrapper around pasteParagraphList.
17 * BufferView_pimpl.C (MenuInsertLyXFile): use
18 cap::pasteParagraphList to insert a file.
20 2005-11-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
22 * buffer_funcs.C (bufferErrors): prevent endless loop (bug 2121)
24 2005-11-17 Michael Gerz <michael.gerz@teststep.org>
26 * exporter.C: fix typo in text message
28 2005-11-28 Georg Baum <Georg.Baum@post.rwth-aachen.de>
30 * text2.C (setLayout): move recUndo call to other setLayout method
31 * tabular.C (toggleFixedWidth): new, handle cell width changes
32 * tabular.C (setColumnPWidth): move some code from insettabular.C here
33 and use toggleFixedWidth
34 * tabular.C (setMColumnPWidth): ditto
36 2005-11-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
38 * paragraph.C (asString): use new inset->textString method (fix
41 2005-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
43 * CutAndPaste.C (numberOfSelections): new helper function.
45 * lyxfunc.C (getStatus): remove support for LFUN_COPY and LFUN_CUT.
47 * text3.C (getStatus): move code for LFUN_CUT and LFUN_COPY from
48 LyXFunc::getStatus; implement LFUN_PASTE.
50 2005-11-17 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
52 * dociterator.[Ch]: new member realInset() that returns the cell
53 for tabulars and the inset for the rest (bug 1952).
54 * undo.C (textUndoOrRedo): use realInset when resetting insetOwner
57 2005-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
59 * text.C (leftMargin): honor the NextNoIndent tag in layouts.
61 2005-11-17 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
65 * text3.C: InsetBase::forceDefaultParagraphs now takes a cell as
68 2005-11-07 Martin Vermeer <martin.vermeer@hut.fi>
70 * text.C (redoParagraph): Fix bug 1966: cursor doesn't go to next
71 line after typing ctrl-enter
73 2005-11-10 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
75 * bufferview_funcs.C (coordOffset): fix the fix for bug 2094, as
76 math insets do not return a proper editable() state yet (bug 2124).
78 2005-11-07 Martin Vermeer <martin.vermeer@hut.fi>
80 * BufferView_pimpl.[Ch]: Fix bug 1814: better scroll behaviour for
81 docs containing very large paragraphs.
83 2005-11-07 Martin Vermeer <martin.vermeer@hut.fi>
85 * cursor.C (selectionBegin, selectionEnd):
86 * text.C (drawSelection): Fix bug 2115: assertion when anchor and
87 cursor at different depths.
89 2005-11-03 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
91 * bufferview_funcs.C (coordOffset): do not call cursorPos
92 for collapsed collapsables (fix bug 2094).
94 2005-11-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
96 * paragraph.C (fontSpan): make sure that the FontSpan does not
97 span across beginOfBody (bug 1947).
99 2005-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
101 * lyxlength.h: undefine macros that clash with solaris/x86 (bug 992)
103 2005-11-03 Michael Gerz <michael.gerz@teststep.org>
105 * messages.C: fix crash and localization on MinGW/Windows platform
107 2005-11-02 Angus Leeming <leeming@lyx.org>
110 * lyxtextclass.C: trivial fixes to some MSVS warnings.
112 2005-10-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
114 * text3.C (getStatus): re-enable disabled code. (bug 2081)
116 * BranchList.h (empty): constify.
118 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
120 * text3.C (getStatus):
121 * MenuBackend.C (expandBranches): take the branch list from the
122 master document (bug 2092).
124 * MenuBackend.C (expandBranches):
125 * bufferparams.C (writeFile): use BranchList type.
127 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
129 * text3.C (dispatch, getStatus):
130 * LyXAction.C (init):
131 * lfuns.h: get rid of LFUN_KEYMAP_TOGGLE
133 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
135 * toc.C (getTocList): skip paragraphs which toclevel is NOT_IN_TOC.
137 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
139 * text.C (insertChar): do not reset boundary (bug 2061)
141 2005-10-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
143 * dociterator.C (updateInsets): new method. Updates the inset_
144 cache of all the slices of the iterator.
146 * text2.C (deleteEmptyParagraphMechanism): compare also containing
147 insets when comparing pit/pos; pass the right cursor to
148 recordUndo; when a paragraph has been deleted, compare `old.top()' to
149 the right cursor slice of `cur'; use updateInsets on cur to make
150 sure that the inset caches are correct; general cleanup.
152 2005-10-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
154 * text3.C (dispatch): LFUN_NEXT_INSET_TOGGLE: first try to
155 dispatch LFUN_INSET_TOGGLE to inset at cursor, and then to
156 containg inset. If this does not work, the same command will be
157 sent to other insets down the queue by LCursor::dispatch. (bug 2066)
159 * lyxfunc.C (dispatch): make sure the cursor is correct when doing
162 2005-10-20 Georg Baum <Georg.Baum@post.rwth-aachen.de>
164 * lyxtextclass.C (Read): convert layout file if the format is wrong
165 * lyxtextclass.C (layout2layout): new, needed for the above
167 2005-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
169 * messages.C: do not forget to include <cerrno>.
171 2005-10-12 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
173 * dociterator.h (StableDocIterator): add access to pos().
174 * undo.C (samePar): new method to check if two
175 iterators are in the same paragraph
176 * undo.C (recordUndo): check for samePar instead of cell identity
177 (which includes pos() and is too strict) (fixes bug 2097)
179 2005-10-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
181 * text.C (setCursorFromCoordinates): return a bool telling whether
184 * text3.C (cursorPrevious): update if needed after
185 setCursorFromCoordinates (when dEPM triggered).
187 * text2.C (cursorDown, cursorUp): make sure to reset the anchor
188 (otherwise the anchor may be completely wrong and make dEPM assert).
190 2005-10-12 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
192 * buffer.C: version upgrade to 245.
193 * bufferparams.C: remove \quotes_times (bug 2090).
194 * text3.C (doDispatch): LFUN_QUOTE_INSERT has to output double
195 quotation marks as default.
197 2005-10-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
199 * CutAndPaste.C (nrOfParagraphs): remove (unused)
200 * CutAndPaste.C (cutSelection): Remove debug message
201 * CutAndPaste.C (cutSelection): Use the real cursor in mathed, record
202 undo information and only copy if this is a real cut
203 * CutAndPaste.C (pasteSelection): remove superflous cur.resetAnchor()
205 * CutAndPaste.C (pasteSelection): remove now superflous mathed warning
207 * CutAndPaste.C (eraseSelection): prevent cursor corruption
208 * CutAndPaste.C (grabAndEraseSelection, selDel): remove now
209 superflous cur.selection() setting
210 * CutAndPaste.[Ch] (grabSelection): take a const cursor
211 * cursor.C (selectionAsString): implement mathed case ((bug 2059)
213 2005-10-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
215 * text3.C (mathDispatch, dispatch): Dont' record undo steps that don't
218 2005-10-11 Martin Vermeer <martin.vermeer@hut.fi>
220 * BufferView_pimpl.C: comment layout change
222 2005-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
226 * lyxfunc.C: reimplement LFUN_INSERT_CITATION, which is needed
227 by bibliography managers (bug 2071).
229 2005-10-07 Martin Vermeer <martin.vermeer@hut.fi>
231 * BufferView_pimpl.C (update): choose arguments to update call so
232 that single-par update works most times
233 * text3.C (dispatch): carefully tune updating separately for
234 whole-screen and current-paragraph
235 * rowpainter.C (paintText): 1) replace painting by caching for
236 the two extra paragraphs, because we can;
237 2) suppress greying out of areas below/above drawn area in case of
239 * lyxfunc.C (dispatch): remove superfluous update
240 * LyXAction.[Ch]: introduce SingleParUpdate
242 2005-10-05 Angus Leeming <leeming@lyx.org>
244 * BufferView_pimpl.C (loadLyXFile): ensure that a pointer is
245 always initialised before use.
247 * text.C (setHeightOfRow): squash warning about comparison
248 of signed and unsigned types.
250 2005-10-03 Martin Vermeer <martin.vermeer@hut.fi>
252 * text.C (cursorX): two fixes involving RtL text drawing
254 2005-10-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
256 * cursor.C (erase): fix 'clever' UI hack. It was activated for all
257 items, not only large ones (part of bug 2057)
259 2005-10-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
261 * text3.C (dispatch): when invoking LFUN_MATH_MACRO with no type
262 argument, use "newcommand".
264 2005-09-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
266 * cursor.C (setSelection): do not open collapsable insets;
267 the insets do by themselves now (autoopen).
269 2005-09-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
271 * buffer.C: format is up to 244.
273 2005-09-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
275 * text.C (redoParagraph): fix calcultation of inset width wrt
276 leftMargin (bug 1957).
278 * text3.C (dispatch): leave inset to the right when hitting ESC
281 2005-09-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
286 * messages.C: include <boost/current_function.hpp>
288 2005-09-12 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
290 * lyxfunc.C (sendDispatchMessage): do not update menubar/toolbar
291 when command is internal. (bug 1941)
293 2005-09-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
295 * text2.C (cursorRight): do not honor boundary when at the end of
296 a paragraph. (bug 2010 again)
298 2005-09-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
300 * cursor.C (paste): do nothing if `data' is empty. (bug 2033)
302 2005-09-19 Martin Vermeer <martin.vermeer@hut.fi>
304 * rowpainter.C (paintText): fix RtL space width display bug (2029)
306 2005-09-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
308 * text2.C (setCursor): remove the unused 'boundary' parameter for
309 the CursorSlice version; adapt the LCursor version.
312 * paragraph_pimpl.C (markErased):
313 * cursor.C (bruteFind2, bruteFond3): fix warnings.
315 2005-09-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
317 * rowpainter.C (paintFirst): use a 'labeladdon' for TOP_* labels,
318 as is already done for "chapter".
320 2005-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
322 * lyxfunc.C (dispatch): LFUN_TEXTCLASS_APPLY: actually set the
323 textclass; do not record undo if nothing is changed.
325 2005-09-16 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
327 * text3.C (dispatch): recordUndo in LFUN_PASTESELECTION (#2011).
329 2005-09-14 Michael Gerz <michael.gerz@teststep.org>
331 * lyxfunc.C: update display after LFUN_ALL_INSETS_TOGGLE
333 2005-09-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
335 * BufferView_pimpl.C (setBuffer): when one wants to set the layout
336 combox, it is necessary to search for the topmost paragraph in the
337 cursor stack (bug 1926)
339 2005-09-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
341 * text2.C (cursorEnd, cursorRight): do not set boundary to true at
342 end of paragraph. (bug 2010)
344 2005-09-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
346 * text.C (leftMargin): check for inInset == 0
348 2005-09-10 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
350 * text.C (leftMargin): test for insetbase's new neverIndent()
351 bool instead of listing each and every inset that does not
352 wish par indendation.
354 2005-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
356 * buffer_funcs.C (setCounter): put the code to compute enum label
357 here (where it belongs).
359 * counters.C (enumLabel): move code to buffer_funcs.C.
361 2005-09-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
363 * outputparams.[Ch]: store local_font instead of local_language
364 * paragraph.C (simpleTeXOnePar): adapt to the change above
366 2005-09-08 Martin Vermeer <martin.vermeer@hut.fi>
369 * counters.[Ch]: clean up special code for Hebrew.
371 2005-09-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
373 * lyxfunc.C (lookupChange): fix code when cursor depth is greater
376 2005-09-08 Angus Leeming <leeming@lyx.org>
379 * lyxrc.C: correct grammar describing invocation of the
382 2005-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
384 * text.C (read): remove unused variable.
385 (readParToken): remove static Change variable (never good in
386 recursive settings...); add it as a parameter instead.
388 * paragraph_pimpl.C (acceptChange): make debug info conditional.
390 * metricsinfo.C (PainterInfo): add new member erased_.
392 * rowpainter.C (RowPainter): add erased_ member, initialized from
394 (paintInset): pass erased_ to Inset::draw.
396 * lyxfunc.C (lookupChange): new function. Tells whether change
397 tracking is disabled at a given postion.
398 (getStatus): disable some actions when in deleted text with change
401 2005-08-03 John Levon <levon@movementarian.org>
403 * tabular.C (appendColumn, setMultiColumn): adapt to change to
406 * paragraph_pimpl.C (markErased): add bool argument and handle it.
407 Also make sure to mark insets recursively.
408 (rejectChange, erase): be recursive
410 * paragraph.C (markErased): add bool argument.
411 2005-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
413 * lyxfind.C (findNextChange): tiny cleanup.
415 * BufferView_pimpl.C (trackChanges): avoid crash when stopping
416 change tracking with the cursor in an inset; make sure the first
417 change is not skipped.
419 2005-09-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
421 * CutAndPaste.[Ch]: new methods dirtyTabularStack and
422 tabularStackDirty to work around bug 1919 (tabular needs
423 to know whether its own cell paste buffer or the one of
425 * CutAndPaste.C: mark tabular_stack_ clean after copy.
427 2005-08-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
429 * text2.C (cursorEnd): check for empty text (fixes bug 1998)
431 2005-08-19 Lars Gullik Bjønnes <larsbj@gullik.net>
433 * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
434 use old deleteion algorithm when changetracking is on.
436 2005-08-18 Martin Vermeer <martin.vermeer@hut.fi>
438 * messages.C (get): add debug output.
440 2005-08-02 Martin Vermeer <martin.vermeer@hut.fi>
442 * text.C (cursorX): fix bug 1965: cursor movement at
443 line end broken in RtL.
444 (drawSelection): fix bug 1970: drawing of single-line
445 selection broken for RtL.
447 2005-07-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
451 * dociterator.h (clear, push_back, pop_back): change from
454 * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
455 and changed to just return the value of the item depth; take a
456 ParIterator as argument; take the itemdepth at outer nesting level
457 in account if necessary; cleanup and comment the code.
458 (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
459 and changed to just return true if reset is needed; take a
460 ParIterator as argument; cleanup and comment the code.
461 (setCounter): adapt to above changes.
463 2005-07-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
465 * text3.C (dispatch): make debug message optional
467 2005-08-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
469 * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
472 2005-08-02 Martin Vermeer <martin.vermeer@hut.fi>
474 * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
476 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
478 * text.C (insertChar):
479 * text2.C (deleteEmptyParagraphMechanism): take care whether
480 a blank has been deleted (in change tracking mode) (bug 1254).
482 2005-07-20 John Levon <levon@movementarian.org>
484 * text2.C (insertStringAsLines): remove old dubious code,
487 2005-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
489 * MenuBackend.C (expandToc): use Floating::listName() as title of
492 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
494 * toc.[Ch]: Do not use translatable strings (bug 1870).
496 2005-07-20 John Levon <levon@movementarian.org>
498 * tabular.C: fix 1748 - setting multicolumn adds
499 left line to the first cell
501 2005-07-19 Lars Gullik Bjønnes <larsbj@lyx.org>
504 * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
507 2005-07-18 Lars Gullik Bjønnes <larsbj@lyx.org>
509 * messages.C: supress some lyxerr messages
511 2005-07-18 Juergen Vigna <jug@lyx.org>
513 * text.C (drawSelection): honor boundary when asking for cursorX.
515 2005-07-17 José Matos <jamatos@fc.up.pt>
517 * tabular.C (recalculateMulticolumns): fix handling of one column
520 2005-07-17 Juergen Vigna <jug@lyx.org>
522 * text.C (Delete, backspace): fixed so that paragraph with the
523 same layout can be merged by Delete/Backspace.
525 2005-07-17 Michael Schmitt <michael.schmitt@teststep.org>
527 * text.C (readParToken): fix spelling.
529 2005-07-17 Martin Vermeer <martin.vermeer@hut.fi>
531 * text2.C: fix counter update for DEPM problem reported by
534 2005-07-17 Juergen Vigna <jug@lyx.org>
536 * BufferView_pimpl.C (setBuffer): save/restore the
537 cursor/selection when switching buffers
540 * buffer.C (saveCursor): add saveDocumentIterators to save the
541 cursor when switching buffer.
543 2005-07-17 Michael Schmitt <michqel.schmitt@teststep.org>
546 * buffer.C: clarify message
548 2005-07-17 Lars Gullik Bjønnes <larsbj@lyx.org>
550 * dociterator.C (DocIterator): fix initialization order
552 2005-07-17 Juergen Vigna <jug@lyx.org>
554 * text2.C (cursorHome):
555 * text.C (drawSelection, cursorX):
556 * dociterator.C (textRow): add boundary to getRow() call
558 * paragraph.C (getRow): implementation of below
560 * paragraph.h: add parameter boundary for getRow() function
562 2005-07-17 José Matos <jamatos@fc.up.pt>
566 * tex-strings.[Ch]: new file format, remove support for a4.sty,
567 a4wide.sty and a4widemargins.
569 2005-07-17 Juergen Vigna <jug@lyx.org>
571 * text2.C (cursorLeft): fix one of error
573 2005-07-17 Juergen Vigna <jug@lyx.org>
575 * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
577 more fixes for boundary handling
579 * text3.C (dispatch): don't reset cursor if boundary has changed
582 2005-07-16 Juergen Vigna <jug@lyx.org>
584 * text2.C (getColumnNearX): hopefully got it right now,
585 check if we are on column 0 for special case.
587 2005-07-16 Juergen Vigna <jug@lyx.org>
589 * text2.C (getColumnNearX): handle special case Newline Inset
591 * text.C (singleWidth): Just remove bogus check
593 2005-07-16 Michael Schmitt <michael.schmitt@teststep.org>
595 * funcrequest.C (split): avoid reading uninitialized char c
597 2005-07-16 José Matos <jamatos@fc.up.pt>
603 * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
604 single papersize variable.
606 2005-07-16 Juergen Vigna <jug@lyx.org>
608 * text3.C (dispatch): honor boundary when checking if a cursor
609 movement has been done
611 * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown)
612 (setCursor, setCursorIntern): fix cursor movement with boundary
614 2005-07-16 Juergen Vigna <jug@lyx.org>
616 * text.C (currentState): output the actual Boundary
618 2005-07-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
620 * factory.C (createInset): fix bad logic for tabular creation
622 2005-07-16 Lars Gullik Bjønnes <larsbj@lyx.org>
624 * lyx_main.C (init): change some reLyX reference to tex2lyx
626 2005-07-16 Juergen Vigna <jug@lyx.org>
628 * dociterator.C (DocIterator): initialize boundary
630 2005-07-16 Juergen Vigna <jug@lyx.org>
632 * text2.C (getColumnNearX): Consider rows without trailing blank.
634 2005-07-16 André Pönitz <poenitz@gmx.net>
636 * lyxfont.h: Change order of declarations to give the compiler
637 a better chance to inline things
639 * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
640 questions on unsaved docs for better scritability
642 2005-07-16 André Pönitz <poenitz@gmx.net>
644 * paragraph.h (getChar): remove asserts as the same kind of security
645 can be achieved by using a suitable standard library implementation
646 and the function was in the critical path (25.9% in profiler)
648 2005-07-16 Juergen Vigna <jug@lyx.org>
650 * cursor.C (bruteFind2):
651 * bufferview_funcs.C (coordOffset):
652 * text.C (cursorX,cursorY): Handle cursor position after last char
653 in row before a inset which uses a whole row.
655 2005-07-15 José Matos <jamatos@lyx.org>
657 * output_plaintext.[Ch] (writeFileAscii): control reference title
659 (asciiParagraph): noparbreak was already deal and was incorrectly
662 2005-07-15 Juergen Vigna <jug@lyx.org>
664 * lyxfunc.C (dispatch): save and restore the cursor after a
667 2005-07-15 Lars Gullik Bjønnes <lgb@tandberg.net>
669 * text.C (backspace): bug 806 for empty keepempty paragraphs we
670 change the layout to default before letting DEPM do its thing.
672 * paragraph_funcs.C (breakParagraph): dont reset the layout on
675 * text.C (setCursorFromCoordinates): add a debug statement
677 * text2.C (getColumnNearX): bug 1825 make sure that we don't
678 return a pos that is not on the row
680 * output_latex.C (TeXDeeper): get rid of potential dereferencing
681 of past the end iterator
683 2005-07-14 André Pönitz <poenitz@gmx.net>
685 * undo.C (recordUndoFullBuffer): implement undo for
688 2005-07-14 André Pönitz <poenitz@gmx.net>
690 * cursor.C (setSelection): open insets when selection is set there
691 to avoid crashs with cold coord cache
693 2005-07-14 André Pönitz <poenitz@gmx.net>
695 * trans_mgr.C (insert): move cursor to the right after inserting
698 2005-07-14 Lars Gullik Bjønnes <larsbj@lyx.org>
700 * BufferView_pimpl.C (update): dampen some of the debug blabbering
701 * factory.C (readInset): ditto
702 * text.C, text2.C: ditto
704 2005-06-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
706 * buffer.C: format incremented to 242. There is no file format per
707 se, but the "frenchb" language has been removed from lib/language
708 and has to be translated to "french" by lyx2lyx.
710 2005-07-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
712 * cursor_slice.h, dociterator.h: add some documentation
713 * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
715 2005-07-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
717 * text.C (leftMargin): do not add identation to display() style
718 insets, because they are always centered (bug 1293).
720 2005-07-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
722 * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
723 formatted_time methods in support/lyxtime.
725 2005-07-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
727 * toc.[Ch]: new method getGuiName, which is used by the frontends
728 to set the toc combo (fixes bug 1870). Make TOC string translatable.
730 2005-07-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
732 * dociterator.[Ch]: implement operator==(StableDocIterator const &,
733 StableDocIterator const &)
734 * undo.C (recordUndo): use the above instead of cell.size() comparison
735 (fixes bug 1808; instructed by Andr�.
737 2005-06-29 Martin Vermeer <martin.vermeer@hut.fi>
740 * dociterator.h: Fix the assert when copying rows/cols in math
742 2005-06-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
744 * BufferView_pimpl.C:
746 * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
748 * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
749 (findInset): new functions, refactored from goto Inset that return
750 the position of a certain inset without setting the buffer's cursor
752 (gotoInset): rewrite to call findInset and then set the cursor
755 2005-06-16 Angus Leeming <leeming@lyx.org>
757 * lyxrc.C (output, read): wrap all input and output of paths with
758 calls to os::internal_path and os::external_path, respectively.
759 (output): wrap bind_file inside quotes.
761 * format.C (view): enable the viewer to use the '$$s' placeholder.
763 2005-06-16 Georg Baum <Georg.Baum@post.rwth-aachen.de>
765 * LColor.[Ch] (getFromLaTeXName): new
767 2005-06-16 Martin Vermeer <martin.vermeer@hut.fi>
769 * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
771 2005-06-14 Angus Leeming <leeming@lyx.org>
773 * lyx_main.C (init): ensure that the LyX binary dir is the first
774 element in the PATH on non-POSIX builds.
776 2005-06-11 Georg Baum <Georg.Baum@post.rwth-aachen.de>
778 * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
780 2005-06-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
782 * rowpainter.C (paintInset, paintHebrewComposeChar)
783 (paintArabicComposeChar, paintChars): add a LyXFont argument.
784 (paintChars): use getFontSpan to reduce calls to getFont to a
785 minimum; use Paragraph::lookupChange instead of isXXXText.
786 (paintForeignMark): rename LyXFont argument.
787 (paintFromPos): pass a LyXFont object to the various paintXXX
790 * FontIterator.C (FontIterator, operator++): use
791 Paragraph::getFontSpan
793 * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
794 version that returns the font span as a pair.
796 2005-06-09 Angus Leeming <leeming@lyx.org>
798 * converter.C (convert): Don't forget "outfile = real_outfile" as
799 the final step in a conversion where the input and output file names
800 are the same. Otherwise, future conversion steps won't work...
802 2005-06-09 Angus Leeming <leeming@lyx.org>
804 * lyxsocket.C: remove stub code as it isn't needed by
805 MinGW/MinSYS anyway. Let's see if the MSVC people scream...
807 2005-06-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
809 * lyx_main.C (parse_execute): Fix last fix: is_gui = false
810 effectively disabled -x
812 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
814 * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
815 when it actually makes sense.
817 2005-06-06 Martin Vermeer <martin.vermeer@hut.fi>
819 * BufferView_pimpl.C: revert to showCursor in connection with
820 Lars's front-end stack
822 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
824 * text.C (redoParagraph): move cursor right after a bibitem
827 * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
829 2005-06-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
831 * buffer_funcs.C (bufferErrors): fix computation of the end of an
834 2005-05-31 Martin Vermeer <martin.vermeer@hut.fi>
836 * BufferView.[Ch] (update):
837 * BufferView_pimpl.[Ch] (update, metrics):
838 * dimension.h (operator==):
839 * lyxfunc.C (dispatch):
840 * metricsinfo.h (ViewMetricsInfo):
841 * rowpainter.C (paintText):
843 * text.C (redoParagraph):
844 * text3.C (dispatch): Make LyX only repaint current paragraph in
845 case of character insert --> speedup. Also fix cursor draw
848 2005-05-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
850 * bufferview_funcs.C (gotoInset): fix the wrap-around code to
851 avoid a crash (bug 1891)
853 2005-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
857 * text2.C (getStringToIndex): constify cur argument.
859 * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
860 argument has been given
861 (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
862 try to invoke LFUN_INSET_APPLY).
864 * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
865 if no inset was created by doInsertInset
866 (doInsertInset): return true if an inset has been inserted.
868 2005-05-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
870 * vspace.C (asGUIName): new method. A version of the space
871 suitable for showing on screen.
873 2005-05-20 Michael Schmitt <michael.schmitt@teststep.org>
876 * lyxrc.C: rename "ASCII" to "Plain Text"
878 2005-05-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
880 * buffer_funcs.C (expandLabel): take a Buffer as argument;
881 translate the labelstring.
882 (setCounter): translate labelstring as needed.
884 * output_docbook.C (makeCommand): fix expandLabel invokation
886 2005-05-14 Michael Schmitt <michael.schmitt@teststep.org>
888 * BufferView.C: fix dialog title
890 2005-05-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
892 * lyx_main.C (priv_exec): fix logic error with help from Angus
893 * lyx_main.C (parse_execute): set is_gui = false and remove now
894 obsolete comment about a segfault
896 2005-05-18 Angus Leeming <leeming@lyx.org>
898 * buffer.C (readFile): Quote all file names passed to lyx2lyx.
900 2005-05-12 Martin Vermeer <martin.vermeer@hut.fi>
902 * tabular.[hC]: added setCellInset to fix tabular paste.
904 2005-05-11 Lars Gullik Bjønnes <larsbj@gullik.net>
906 * buffer.C (save): check if destination is writable before trying
909 2005-05-11 Martin Vermeer <martin.vermeer@hut.fi>
911 * BufferView_pimpl.C (update): fix processEvents -caused update
914 2005-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
916 * buffer_funcs.C (setCounter): fix test for numbering of
919 * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
920 depth correctly; use optional argument when it exists
922 * lyxtextclass.C: remove unused MaxCounterTags enum
923 (Read): compute min_toclevel_ and max_toclevel_ after reading class.
924 (max_toclevel, min_toclevel): new methods.
926 * MenuBackend.C (expandToc2): fix case where depth is smaller than
927 the smallest depth in toc.
929 * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
930 layouts that should not appear in a table of contents.
932 2005-05-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
934 * cursor.h (undispatched, noUpdate): add comments from Andr�
935 2005-05-07 Michael Schmitt <michael.schmitt@teststep.org>
939 * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
941 2005-05-07 André Pönitz <poenitz@gmx.net>
943 * cursor.[Ch] (leaveInset): new function
945 2005-05-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
947 * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
949 2005-05-04 Angus Leeming <leeming@lyx.org>
951 * lyxfunc.C (getStatus): disable the spell checker dialog if
952 none of USE_[AIP]SPELL are defined.
954 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
956 * tabular.C (setWidthOfCell): remove obsolete comment
958 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
960 * paragraph.C (bibitem):
961 * buffer_funcs.C (setCounter):
962 * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
964 2005-05-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
966 * text3.C (getStatus): immediately return after setOnOff
968 * rowpainter.C: fix drawing of appendix start
970 2005-05-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
972 * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
973 SwitchBetweenClasses and remove the unused return value.
974 Handle character styles, too
976 2005-05-03 Martin Vermeer <martin.vermeer@hut.fi>
978 * factory.C (createInset): handle undefined character styles
980 2005-05-02 Angus Leeming <leeming@lyx.org>
982 * buffer.C: protect the #include of utime.h with a preprocessor
985 2005-05-02 Angus Leeming <leeming@lyx.org>
987 * lyx_cb.C: artificially define fork() on Windows as a no-op failing
988 function so that auto-saving works, albeit in a blocking manner.
990 * Makefile.am: make compilation of the client sub directory, of
991 aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
992 on conditionals set at configure time.
994 * SpellBase.[Ch]: no longer an abstract base class. Instead,
995 it can be compiled in its own right but has no-op functionality.
997 * aspell.C, pspell.C: remove preprocessor guards. The files should
998 be compiled only if the necessary functionality exists.
1000 * lyxserver.C, lyxsocket.C: disable on Windows.
1002 2005-05-01 Martin Vermeer <martin.vermeer@hut.fi>
1004 * text.C (leftMargin): Fix the parindent use bug (1764)
1007 2005-04-28 Michael Schmitt <michael.schmitt@teststep.org>
1009 * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
1012 2005-04-25 Angus Leeming <leeming@lyx.org>
1020 include <config.h> in .C files, not .h ones.
1022 protect headers inside preprocessor guards.
1024 2005-04-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1026 * FuncStatus.h (StatusCodes): document
1028 2005-04-21 André Pönitz <poenitz@gmx.net>
1030 * FuncStatus.h (enabled, onoff): document
1032 2005-04-19 Angus Leeming <leeming@lyx.org>
1034 * BufferView_pimpl.C (cursorToggle): no longer test whether
1035 any child processes have been reaped before calling
1036 handleCompletedProcesses().
1038 2005-04-19 Martin Vermeer <martin.vermeer@hut.fi>
1040 * text3.C (dispatch): fix, finally fix, the language problem in
1041 new lyxtexts, without disabling on-the-fly font changes (Helge's
1044 2005-04-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1046 * text3.C (dispatch): set cursor on double/triple click events
1049 2005-04-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1051 * lyxfunc.C (actOnUpdatedPrefs): avoid warning
1052 (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
1054 * rowpainter.C (paintFirst): simplify the code a little bit. In
1055 particular, remove the test for secnumdepth.
1056 * text.C (setHeightOfRow): only allocate space for chapter number
1057 when updateCounters provided an actual label, instead of looking
1058 at secnumdepth directly.
1060 * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
1062 * buffer_funcs.C (setCounter): only number LABEL_COUNTER
1063 paragraphs when secnumdepth is large enough or, for environments,
1064 when they are not the first in a sequence.
1066 2005-04-17 Angus Leeming <leeming@lyx.org>
1068 * buffer.C (makeLaTeXFile): replace code to manipulate a path
1069 containing space and '~' characters with a call to latex_path().
1071 2005-04-17 Angus Leeming <leeming@lyx.org>
1073 * converter.C (convert): protect all args of convertDefault.sh
1076 2005-04-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1078 * text3.C (dispatch): change the layout to "Caption" after inserting
1081 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
1083 * text3.C (dispatch): fix language problem in newly created
1084 textinsets (and main text) in non-english docs
1086 2005-04-13 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1088 * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
1089 * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
1090 * text3.C (getStatus): disable LFUN_INSET_MODIFY
1092 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
1096 * text2.C (getFont):
1097 * rowpainter.C (getFont): Fix metrics bug introduced by inset
1100 2005-04-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1102 * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
1103 output of \item arguments without trailing text.
1105 2005-04-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1107 * FontIterator.C (operator*): avoid a copy of the font.
1109 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
1111 * rowpainter.C (getFont): fix language bug from previous fix
1113 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
1115 * rowpainter.C (RowPainter, getFont): fix font inside inset
1118 2005-04-06 Martin Vermeer <martin.vermeer@hut.fi>
1120 * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
1121 preventing inserted font, deco, delim insets jumping to start of
1124 2005-03-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1126 * lyxfunc.C (dispatch): translate message before sending it to the
1129 2005-03-29 Angus Leeming <leeming@lyx.org>
1131 * lyx_main.C (priv_exec): call os::internal_path on each file passed
1132 to LyX on the command line.
1134 2005-03-25 Stephan Witt <stephan.witt@beusen.de>
1136 * vc-backend.C: use QuoteName to protect file names wherever
1139 2005-03-27 Martin Vermeer <martin.vermeer@hut.fi>
1142 * BranchList.h: fix bugs 1844,1845: document settings don't
1145 2005-03-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1147 * lyxrc.C (setDefaults, read, output, getDescription): add support
1148 for tex_allows_spaces.
1150 * exporter.C (Export): allows files in directory containing spaces
1151 if tex_allows_spaces is true.
1153 * buffer.C (makeLaTeXFile): if the document path contains spaces,
1154 output it in double quotes.
1156 2005-03-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1158 * rowpainter.C: use default text height for drawing change tracker
1161 2005-03-21 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1163 * lyx_main.C: fix binding of tabulator key (especially S-Tab).
1165 2005-03-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1167 * lyx_main.C (queryUserLyXDir): fix logic when LyX support
1168 directory is missing.
1170 2005-03-11 Martin Vermeer <martin.vermeer@hut.fi>
1172 * text2.C: fixed the fix, extended to other case.
1174 2005-03-08 Martin Vermeer <martin.vermeer@hut.fi>
1176 * text2.C: fix for cursor up/down stuck in math [bug 1792]
1178 2005-03-07 Alfredo Braunstein <abraunst@lyx.org>
1180 * text2.C (cursorUp): get rid of a crash
1181 * text.C (x2pos): add an assert
1183 2005-03-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1185 * lyxfunc.C (getStatus): fix warning when assertions are disabled
1189 * dociterator.C: include <boost/current_function.hpp>, which is
1190 needed when assertions are disabled.
1192 2005-03-05 Johnathan Burchill <jkerrb@users.sourceforge.net>
1194 * text2.C: fix for stuck cursor when traversing two
1195 consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
1197 2005-02-25 Andreas Vox <avox@arcor.de>
1199 * output_docbook.C (makeParagraph): suppress trailing newline
1200 after a run of paragraphs
1202 2005-02-28 Johnathan Burchill <jkerrb@users.sourceforge.net>
1204 * paragraph.C: fix for confused change tracker when pasting
1205 text that begins with a lineseparator. [bug 1827]
1206 (setChange(0, Change::INSERTED);)
1208 * paragraph_funcs.C: fix for lost changes on triple-paste
1209 in change tracking mode [bug 1827] (par.setChange()).
1211 2005-02-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1213 * text2.C (updateCounters, setCounter, expandLabel): move to
1216 * buffer_funcs.C (updateCounters): turn into a free standing
1217 function and add a buffer parameter. Remove dead code for tracking
1219 (setCounter): change into a free-standing function which gets a
1220 dociterator as argument. Use this iterator to fix captions in a
1221 simple way. When no float is found above the caption, use the
1222 labelstring of the caption layout as default.
1224 * text.C (breakParagraph, backspace):
1225 * text2.C (init, setLayout, changeDepth):
1226 * text3.C (dispatch):
1227 * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
1230 * dociterator.C (forwardPar): make it much faster by calling
1231 forwardPos() only when really necessary.
1233 * output_docbook.C (makeCommand): adapt to expandLabel move.
1235 * cursor.C: remove unused variable
1237 2005-02-24 Johnathan Burchill <jkerrb@users.sourceforge.net>
1239 * paragraph_funcs.C: fix crash when pasting insets in change
1240 tracking mode [bug 1277] (honour change type in moveItem).
1242 2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1244 * LaTeX.C (scanLogFile): recognize pdfTeX warnings
1246 2005-02-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1248 * BufferView.C (setCursor): change to use a DocIterator.
1249 (gotoLabel): use BufferView::setCursor (other part of bug 781).
1250 (putSelectionAt): adapt to BufferView::setCursor change.
1252 * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
1253 moved here from LyXText and rewritten to use proper cursor
1254 methods. Fixes bug 1787, 616 and 835.
1256 * BufferView_pimpl.C (restorePosition): set the cursor correctly
1257 when inside an inset (part of bug 781).
1258 (dispatch): adapt to change of BufferView::setCursor.
1259 (getStatus, dispatch): handle LFUN_GOTOERROR,
1260 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1262 * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
1263 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1264 * text3.C (gotoNextInset, gotoInset): removed.
1266 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1268 * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
1270 2005-02-15 Angus Leeming <leeming@lyx.org>
1272 * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
1273 can be used meaningfully in a comparison.
1275 2005-02-13 André Pönitz <poenitz@gmx.net>
1277 * bufferview_funcs.C (coordOffset): improve cursor drawing
1279 2005-02-13 André Pönitz <poenitz@gmx.net>
1281 * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
1282 * Cursor.C (dispatch): use fixIfBroken
1283 * lyxfunc.C (getStatus): use fixIfBroken
1285 2005-02-15 Angus Leeming <leeming@lyx.org>
1287 * lyx_main.C (error_handler):
1289 * lyxrc.C (setDefaults):
1291 #include "environment.h".
1293 * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
1295 2005-02-15 Angus Leeming <leeming@lyx.org>
1297 * lyxserver.C (startPipe): squash MSVC warning "local variable
1298 'fd' used without having been initialized".
1300 2005-02-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1302 * BufferView_pimpl.C: revert accidental commit.
1304 2005-02-14 André Pönitz <poenitz@gmx.net>
1306 * dociterator.[Ch]: new member forwardPosNoDescent(),
1307 which doesn't enter nested insets.
1308 * text2.C (setFont): use forwardPosNoDescent() instead
1309 of ForwardPos() (fixes crash on font change).
1311 2005-02-13 Angus Leeming <leeming@lyx.org>
1313 * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
1314 only if lyxrc.path_prefix is not empty.
1316 2005-02-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1318 * bufferparams.C (readGraphicsDriver): prevent crash
1320 2005-02-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1322 * text2.C (setCounter): check for inInset() == 0
1324 2005-02-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1326 * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
1327 but use update() to get correct screen display; use convert
1328 instead of istringstream.
1329 (getStatus): handle LFUN_GOTO_PARAGRAPH
1331 * lyxfunc.C (dispatch, getStatus): do not handle
1332 LFUN_GOTO_PARAGRAPH here.
1334 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1336 * text3.C (dispatch): size() -> depth()
1338 * text2.C: remove some debug output
1340 * paragraph.C: ws changes only
1342 * lyxfunc.C (getStatus): size() -> depth()
1344 * dociterator.h (clear, push_back, pop_back, internalData,
1345 operator[], resize, empty): new functions
1346 Make StableDocIterator and operator== be friends. Don't inherit
1347 from std::vector use a privat class variable slices_ instead.
1350 * dociterator.C: update because of not inheriting from std::vector
1351 anymore. Call explictly to slices_ instead. Use depth() instead of
1352 size() and top() instead of back()
1354 * cursor.C: chagne size() -> depth and back() -> top(). Also
1355 remove some direct operator[](i) calls in favour of foo[i]
1356 (getFont): remove some dead code
1358 * bufferview_funcs.C (coordOffset): size() -> depth()
1360 * buffer.C: ws changes only
1362 * CutAndPaste.C (eraseSelection): back() -> top()
1364 * BufferView_pimpl.C (selectionRequested): back() -> top()
1366 * BufferView.C (setCursor): size() -> depth()
1368 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1370 * text3.C (cursorPrevious): return true if depm changed something
1372 (dispatch): rename sl to oldTopSlice, remove moving use the new
1373 NoUpdate func attrib instead. Make sure that needsUpdate is set
1374 for function that have NoUpdate, but where depm might have changed
1377 * text2.C (cursorLeft): make us return true if depm changed
1379 (cursorRight): ditto
1380 (cursorUpParagraph): ditto
1381 (curosrDownParagraph): ditto
1382 (cursorUp, cursorDown): ditto, make sure to read comments in code
1383 (deleteEmptyParagraphMechanism): remove an assert, also return
1384 true if just a single char was deleted.
1386 * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
1387 cursor that we modify, to avoid modifying an active cursor before
1388 we call setCursor. This allows depm to run. Also return true if
1389 depm deleted something.
1391 * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
1392 cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
1393 cursorDownParagraph, cursorPrevious and cursorNext, return true if
1394 something was changed in the buffer because of them (ie. depm run)
1396 * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
1397 debug messages. Make update by default be false. Make sure that
1398 the result of update is retained throught several calls down to
1401 * LyXAction.h: add a new func_attrib: NoUpdate
1403 * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
1404 LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
1405 LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
1407 (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
1409 2005-02-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1411 * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
1412 bv_->owner(), bv_->buffer() by direct references to the private
1414 (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
1415 (getStatus): isSavedPosition() is in BufferView::Pimpl.
1416 (fitCursor): center() is in BufferView::Pimpl.
1417 (getStatus, trackChanges, dispatch): no need for a temporary buf
1419 (fitCursor, workAreaDispatch): use workarea().workheight()
1421 2005-02-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1423 * CutAndPaste.C (pasteSelectionHelper): fix a crash
1425 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1427 * buffer.C: format up to 241.
1428 * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
1429 break if pasting into ERT
1430 * lyxfunc.C (getStatus): suppress mathpanel and
1431 LFUN_DIALOG_SHOW_NEW_INSET in ERT
1433 2005-02-01 Angus Leeming <leeming@lyx.org>
1435 * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1437 2005-02-01 Angus Leeming <leeming@lyx.org>
1439 * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1440 calling fs::is_directory().
1442 2005-01-31 Angus Leeming <leeming@lyx.org>
1444 * lyx_main.C (priv_exec): specify explicitly the relative location
1445 of the top level build directory when run in-place.
1447 2005-01-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1449 * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1450 LyXText containing the cursor, not the top-level one.
1452 * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1454 (insertStringAsLines): rename par to pit; use temporary variable
1455 par to hold a Paragraph; do not store par.layout() in a variable,
1456 since the pointer may die when breaking paragraphs; pass pars to
1457 breakParagraph() instead of Buffer::paragraphs().
1459 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1461 * lyxlex_pimpl.h: #include <fstream>.
1463 * BufferView.[Ch] (getLyXText): add a const version.
1465 * BufferView_pimpl.C: add debug aids.
1470 * paragraph_funcs.h: add commentary explaining what the class does.
1473 * coordcache.[Ch]: add lots of commentary.
1474 (startUpdating, doneUpdating): debug aids.
1475 (arrays, insets, parPos, getParPos): accessors to private data.
1477 * cursor_slice.[Ch] (text): add a const version.
1478 * dociterator.[Ch] (text, innerText): add const versions.
1480 * lyxtext.h (breakParagraph): change the keep_layout arg to a
1483 * paragraph.C (getRow, pos2ros): add asserts.
1485 * paragraph.h: add commentary. Lots of.
1487 * paragraph.[Ch] (metrucs, draw): removed.
1490 * rowpainter.[Ch]: const-correct changes.
1492 * text.C: various obvious clean-ups. Removal of ancient cruft.
1495 2005-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
1497 * vc-backend.C (find_file): rewrite to use boost.filesystem
1500 * main.C (main): set default name check for boost.filesystem to
1503 * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1506 (actOnUpdatedPrefs): ditto
1508 * lyx_main.C (init): rewrite to use boost.filesystem
1509 (queryUserLyXDir): ditto
1511 * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1512 (getContentsOfAsciiFile): ditto
1514 * lastfiles.C (readFile): rewrite to use boost.filesystem
1516 * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1518 * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1519 (loadLyXFile): ditto
1521 * buffer.C (Buffer): adjust for destroydir
1522 (getLogName): rewrite to use boost.filesystem
1523 (setFileName): ditto
1524 (save): use fs::copy_file (from fs_extras)
1526 * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1528 * LaTeX.C (run): rewrite to use boost.filesystem
1529 (scanAuxFiles): ditto
1530 (handleFoundFile): ditto
1532 2005-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1534 * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1536 * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1538 2005-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1540 * lyxlayout.[Ch]: change some vars from float to double
1542 * buffer.C (readFile): make a local var const
1544 * Several files: use convert<> instead of atoi,strToXXX and friends
1546 2005-01-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1548 * LaTeXFeatures.[Ch]: Add a static list packages_ that
1549 holds the contents of packages.lst. New functions getAvailable
1550 and isAvailable to parse and check that list, resp.
1554 * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1556 * bufferparams.[Ch]: new param output_changes.
1558 * Buffer.C: increase file format to 240.
1559 Use output_changes and isVailable.
1563 * paragraph_pimpl.C: Use output_changes and isVailable.
1565 2005-01-23 Angus Leeming <leeming@lyx.org>
1567 * output_latex.C: #include "insetbibitem.h", rather than
1568 forward declare function bibitemWidest.
1570 2005-01-21 Andreas Vox <vox@isp.uni-luebeck.de>
1572 * lyx_main.C (init): make it compile on the Mac.
1574 2005-01-20 Angus Leeming <leeming@lyx.org>
1576 * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1577 (setLyXMisc): (char string literal) != (char string literal) is
1578 performing a comparison on the addresses. Convert one operand
1579 explicitly to string to guarantee expected behaviour.
1582 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1585 * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1587 * output_plaintext.C: remove unneeded #include gzstream.h.
1589 2005-01-20 Angus Leeming <leeming@lyx.org>
1591 * SpellBase.h: rename some of the elements of the Result enum.
1598 * pspell.C (check): ditto
1600 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1602 * buffer.C: add #include <fstream>.
1604 * lyx_main.C (init): Compile fix.
1606 * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1608 2005-01-20 Angus Leeming <leeming@lyx.org>
1610 * mover.h: change commentary to reflect the changed meaning of
1611 the $$s placeholder.
1613 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1615 * output_linuxdoc.C (linuxdocParagraphs): silence warning
1617 * lyxfind.C (MatchString::operator()): remove bogus semicolon
1619 2005-01-20 Angus Leeming <leeming@lyx.org>
1621 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1622 printing diagnostic data by not dereferecing an iterator past the
1625 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1627 * buffer.C (readHeader): use "&&" rather than "and".
1629 * lyxserver.h (inPipeName, outPipeName): make these const.
1631 2005-01-19 Angus Leeming <leeming@lyx.org>
1633 * lyx_main.C (error_handler, init): protect SIGHUP with
1634 #ifdef SIGHUP guards.
1636 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1638 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1640 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1642 * text.C (setHeightOfRow): add a margin at the top and bottom of
1643 the document (bug 1761)
1645 2005-01-17 Angus Leeming <leeming@lyx.org>
1647 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1648 with "python ". Workaround for a brain-dead Windows.
1650 2005-01-16 Angus Leeming <leeming@lyx.org>
1652 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1653 for MacOSX and Windows to use prependEnvPath.
1654 Strip out the hard-coded block to add elements to the PATH for
1655 MacOSX and replace it with a call to prependEnvPath using the
1656 contents of LyXRC::path_prefix.
1657 (queryUserLyXDir): strip out the code to run reconfigure, instead
1658 returning a boolean indicating the necessity to do so.
1659 (reconfigureUserLyXDir): contains the code to reconfigure the
1660 user support directory. Is now called after the various LyXRC data
1661 files have been read.
1663 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1665 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1667 * converter.[Ch] (convert): take a new parameter try_default. Use
1668 a default converter (imagemagick) if try_default is true.
1670 2005-01-13 Angus Leeming <leeming@lyx.org>
1672 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1673 os::cygwin_path_fix.
1674 (write): output LyXRC::cygwin_path_fix as necessary.
1676 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
1679 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1681 2005-01-12 Angus Leeming <leeming@lyx.org>
1683 * lyx_main.C (init): set the PATH variable to include the
1684 directory containing the LyX binary when running on Mac or Windows.
1686 2005-01-12 Angus Leeming <leeming@lyx.org>
1688 * lyx_main.C (init): remove cruft that purports to set the locale
1689 dir. It doesn't and is not needed anyway.
1691 2005-01-10 Angus Leeming <leeming@lyx.org>
1693 * Makefile.am: remove the lyx_main.C special casing.
1695 * BufferView_pimpl.C:
1701 * messages.C: use support/package.h to provide the paths to the
1702 various directories used by LyX.
1704 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1706 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1707 layout if pasting into an empty paragraph)
1709 2005-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
1711 * tex-accent.C: add <string>
1713 2005-01-06 José Matos <jamatos@lyx.org>
1715 * ParagraphParameters.C (write): put every parameter in its own line.
1716 * paragraph.C (write): reduce number of consecutive empty lines exported.
1717 * buffer.C (LYX_FORMAT): increase file format to 239.
1719 2005-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1721 * everywhere: change support/tostr.h -> support/convert.h
1723 * tabular.C: make all write_attributes templates, tostr -> convert
1725 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1726 (emptyTag): and -> &&, and fix type for ret from getChar
1727 (getFirstWord): fix type for ret from getChar
1728 (onlyText): and -> &&
1729 (simpleDocBookOnePar): and not -> && !, fix type for ret from
1732 * toc.C (goTo, action):
1733 * text3.C (dispatch):
1734 * text.C (currentState):
1735 * tex-accent.C (DoAccent):
1738 * lyxfunc.C (menuNew):
1739 * lyxfinc.C (replace):
1740 * counters.C (laberItem):
1741 * bufferview_funcs.C (font2string):
1742 * bufferparams.C (writeFile):
1743 * buffer.C (readFile):
1745 * MenuBackend.C: tostr -> convert
1747 * LaTeX.C (runMessage): fix format
1748 (scanAuxFiles): tostr -> convert
1750 * BufferView_pimpl.C (savePosition): fix format
1751 (restorePosition): ditto
1754 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1756 * Spacing.[Ch]: New method getValueAsString().
1760 * ParagraphParameters.C:
1763 * text3.C: store/read spacing value as string.
1765 * rowpainter.C: change float value (spacing_val) to double.
1767 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1768 broken custom document spacing).
1770 2005-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
1772 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1773 namespace, also more use of temp references and const
1775 * cursor.[Ch] (getStatus): move to lyxfunc.C
1777 * bufferparams.C: reformat slightly
1779 * bufferview_funcs.C (font2string): constify arg
1785 * buffer_funcs.C: (many funcs): constify arg on function
1786 definitions, also make more local vars const, also add ASSERTS on
1789 * buffer.C (LYX_FORMAT): put const in correct place
1790 (many funcs): constify arg on function definitions, also make
1791 more local vars const
1793 * aspell_local.h: remove "struct" from typdef setup
1795 * aspell.C (check): make word_ok const
1796 (nextMiss): simplify slightly
1799 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1801 * lyxrc.[Ch]: store all float values as strings.
1802 use int (not float) for lyxrc.dpi.
1804 2005-01-04 Angus Leeming <leeming@lyx.org>
1806 * lyx_cb.C (Reconfigure):
1807 * lyx_main.C (queryUserLyXDir):
1808 to run the <system_lyxdir>/configure correctly on Windows, prefix
1809 the path to the script with "sh " when generating the string that
1810 is passed to system().
1812 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1814 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1816 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1818 * lyxlength.C (asLatexString): get rid of setprecision
1820 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1822 * text2.C (setLayout): remove unused variable endpit.
1823 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1825 * paragraph.C (onlyText): remove unused variable style.
1827 * cursor.C (bruteFind): remove unused variables beg and end.
1829 * Makefile.am (dist_noinset_DATA): not needed anymore
1831 * cheaders/*: remove.
1833 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1835 * text3.C: fix LFUN_MATH_MODE.
1837 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1839 * buffer_funcs.C (countWords): new function. Counts words between
1842 * BufferView_pimpl.C (getStatus, dispatch): handle
1845 * LyXAction.C (init):
1846 * lfuns.h: add LFUN_WORDS_COUNT.
1848 2004-12-19 Angus Leeming <leeming@lyx.org>
1850 * buffer.C (save): s/slashify_path/internal_path/.
1852 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1854 * lyxfind.C (findChange): do not search for end of pars, because
1855 the change tracker cannot handle this (fixes bug 1719).
1857 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
1859 * paragraph.[Ch] (autoBreakRows): remove
1861 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1863 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1864 avoid using the paragraph one
1866 * text2.C (LyXText, insertStringAsLines): adjust
1868 2004-12-16 Angus Leeming <leeming@lyx.org>
1872 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1874 2004-12-14 Angus Leeming <leeming@lyx.org>
1876 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1878 * bufferlist.C (emergencyWrite):
1879 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1882 2004-12-14 Angus Leeming <leeming@lyx.org>
1884 * main.C: (main): no longer pass pointers to os::init.
1886 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1888 * undo.C (textUndoOrRedo): simplify logic, fix a crash
1889 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1891 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1894 * text3.C: remove selection_possible global flag
1896 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1898 * text2.C (getSelectionSpan): remove
1899 (changeDepth, changeDepthAllowed): adjust
1901 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
1903 * Makefile.am (BOOST_LIBS): use boost variables
1905 2004-12-03 José Matos <jamatos@lyx.org>
1907 * buffer.C: format up to 238.
1909 2004-12-03 José Matos <jamatos@lyx.org>
1911 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1913 2004-12-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1915 * cursor.C (goUpDown): remove call to idxUpDown2
1917 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1919 * tabular.[Ch]: use size_t-like types for cell, row and column
1922 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1924 * lyxfunc.C (getStatus): do not lose previous information when
1925 calling BufferView::getStatus; do not set a default "Command
1926 disabled" message at the beginning, but just before returning.
1928 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1930 * cursor.h (getStatus): add better comment from src/cursor.C
1932 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1934 * text3.C (getStatus): return false when the lfun is not handled
1936 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1938 * broken_headers.h: remove
1940 * Makefile.am (lyx_SOURCES): remove broken_headers.h
1942 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1944 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1945 offset_ref accessors
1947 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1948 top_y_, merge fitcursor with update
1949 (updateScrollbar, scrollDocView, fitCursor, center, update): new
1951 (metrics): introduce
1952 (workAreaDispatch): adapt to new coord scheme
1953 (redoCurrentBuffer): remove
1955 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1957 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1960 * coordcache.[Ch]: add paragraph cache and helpers
1962 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1965 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1966 (targetX, setTargetX): introduce
1968 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1969 baseline -> ascent, as the rest of lyx
1971 * lyxtext.h: remove redoParagraphs, updateParPositions,
1972 fullRebreak, redoParagraphInternal. move dist to anon namespace in
1973 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1974 have ascent/descent (ascent is ascent of first par)
1976 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1979 * paragraph.[Ch]: unify dimension handling with the rest of lyx
1981 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1983 * pariterator.C: fix infinite loop introduced in par->pit renaming
1985 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1986 in insets and LyXText, draw two off-screen paragraphs using
1987 NullPainter, and adapt to new coord scheme
1991 * text3.C: adapt lfun handlers to the new coord scheme, which
1992 means: there's only guaranteed coord information for onscreen pars
1993 plus one above and one below. This implies that one can do search
1994 from y coordinates in the range [-1,workHeight]
1996 2004-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1998 * rename a lot of InsetOld to InsetBase
2000 2004-11-25 Angus Leeming <leeming@lyx.org>
2002 * BufferView_pimpl.C:
2004 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
2006 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2008 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
2009 call BufferView::getStatus if LCursor::getStatus did nothing
2010 (setStatusMessage, getStatusMessage): removed.
2012 * FuncStatus.C (message): new methods. Used to provide an error
2013 message indicating why a command is disabled.
2014 (clear, |=, FuncStatus): update for message.
2016 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2018 * lyxfunc.C (dispatch): always call sendDispatchMessage
2020 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
2023 * BufferView_pimpl.C:
2028 * cursor_slice.[Ch]:
2031 * paragraph_funcs.C:
2037 * undo.C: par->pit renaming
2039 2004-11-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2041 * tabular.C (cellstruct): use initialization, store a shared_ptr
2042 to insettext instead of the insettext directly, adjust to fit.
2043 (operator=): new function
2044 (swap): new function
2045 (rowstruct): use initialization
2046 (columnstruct): use initialization
2047 (ltType): use initialization
2050 * lyxlength.h (swap): new function
2052 * LColor.[Ch] (operator=): use the common semantics
2054 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2056 * lyxfind.C (findNextChange): update the bufferview after setting
2059 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2061 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
2062 number of InsetOptArgs has already been inserted.
2064 * output_latex.C (latexOptArgInsets): new method. This outputs all
2065 the optarg insets, up to the limit defined in the layout file.
2066 (optArgInset): removed
2067 (TeXOnePar): call latexOptArgInsets; correctly update texrow
2069 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2071 * paragraph.C (isLetter): remove special spellchecker-related
2072 code; return true also for digits
2073 (isWord, isKomma): remove
2075 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
2076 * lyxfind.C (MatchString()): use isLetter instead of isWord
2078 2004-11-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2080 * pariterator.h (operatir=): comment out un-implemented member
2083 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
2086 2004-11-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2088 * lyxfont.h: include LColor.h to satisfy concept checks.
2090 2004-11-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2092 * pariterator.h: add typdefs for value_type, difference_type,
2093 pointer and reference to satisfy concept checks. Also add default
2094 constructor for same reason.
2096 * pariterator.C (operator++): add post-increment operator to
2097 satisfy concept checks.
2099 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
2102 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
2104 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
2105 checks. Also rename base_type to BaseType to follow naming
2108 * FloatList.h: include Floating.h to satisfy concept checks.
2110 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2112 * lyxfunc.C (getStatus): when the origin of the request is menu or
2113 toolbar, and the LyXView does not have focus, do as if there was
2114 no buffer (bug 1720)
2116 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
2117 FuncRequest to individual entries of LFUN_SEQUENCE
2119 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2121 * output_latex.C (TeXOnePar): override runparams.moving_arg
2122 according to the needprotect value of the current paragraph (bug
2125 * paragraph.C (simpleTeXOnePar): no need to override
2126 runparams.moving_args here
2128 2004-11-14 John Spray <spray_john@users.sourceforge.net>
2130 * vspace.C: fix off-by-one-error, related to fix #1682
2132 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2134 * lengthcommon.C: a more general fix for bug 1682
2136 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
2138 * text.C (backspace): fix crash
2140 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2142 * format.[Ch] (getFormatFromFile): new method
2143 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
2145 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2147 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
2149 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2151 * lyxfunc.C (dispatch): remove the verbose argument
2152 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
2155 * kbmap.C (defkey): set the origin of func to KEYBOARD
2157 * MenuBackend.C (MenuItem):
2158 * ToolbarBackend.C (add): set the origin of func to UI
2160 * funcrequest.[Ch]: add origin member, which indicates which part
2161 of LyX requests an action
2163 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2165 * converter.C (move): don't lie in the error message
2166 * converter.h (isReachable, move): document
2168 2004-11-07 Lars Gullik Bjønnes <larsbj@gullik.net>
2170 * buffer.C: remove unused using lyx::support::atoi
2171 * paragraph_funcs.C: ditto
2173 2004-11-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2175 * bufferlist.C (exists): use bind and equal_to instead of
2178 * lyxtextclasslist.C (NumberOfClass): ditto
2180 * cursor.C (insert): use for_each instead of explicit for loop
2182 * bufferlist.C (getFileNames): use std::transform and
2183 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
2185 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
2188 * buffer.C (changeLanguage): use for_each instead of explicit for
2190 (hasParWithID): implement using getParFromID
2192 * LaTeXFeatures.C: ws change only
2194 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
2197 * BufferView_pimpl.C (trackChanges): use for_each instead of
2200 2004-11-04 André Pönitz <poenitz@gmx.net>
2203 * undo.C (textUndoOrRedo): fix crash when creating undo information.
2205 * dociterator.C (asDocIterator): use hard assert again.
2207 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2209 * lyxlength.C (asLatexString): rewrite so that it does not use
2212 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2214 * text3.C (specialChar, dispatch): make sure cursor moves to the
2215 right after inserting an inset
2217 2004-11-02 José Matos <jamatos@lyx.org>
2219 * output_docbook.C (docbook):
2220 * paragraph.C (getID):
2221 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
2222 garantee that the output is always legal.
2224 * tabular.C (docbook):
2225 * outputprams.[Ch]: remove mixed contents.
2227 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2229 * text2.C (setCounter): prevent endless loop
2231 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2233 * exporter.C (copyFile): use the mover instead of support::copy()
2234 * exporter.C (Export): pass format and latex name to copyFile()
2235 * exporter.h (addExternalFile): document
2236 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
2238 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2240 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
2242 2004-10-30 José Matos <jamatos@lyx.org>
2244 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
2245 text and no inset or font change. This allows to use CDATA
2246 sections just for the whole paragraph.
2248 2004-10-30 José Matos <jamatos@lyx.org>
2250 * paragraph.C (getFirstWord): remove unused variable.
2252 2004-10-30 José Matos <jamatos@lyx.org>
2254 * paragraph.C (getFirstWord): the content should always be escaped
2256 (simpleDocBookOnePar):
2257 * output_docbook.C (makeEnvironment): replace reference to CDATA
2260 2004-10-30 José Matos <jamatos@lyx.org>
2262 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
2264 2004-10-30 José Matos <jamatos@lyx.org>
2266 * output_docbook.C (makeParagraphs):
2267 * paragraph.[Ch] (emptyTag): for docbook and company, if the
2268 standard paragraph has only a given type of content drop the wrapper.
2270 2004-10-29 José Matos <jamatos@lyx.org>
2272 * output_docbook.C (makeEnvironment):
2274 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
2276 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
2278 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
2279 (cleanID): sanitize any id.
2281 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2283 * buffer.C, lyxlex_pimpl.C:
2284 * lyxlex_pimpl.C (setFile):
2285 s/getExtFromContents/getFormatFromContents/
2287 2004-10-28 José Matos <jamatos@lyx.org>
2289 * output_docbook.C (makeEnvironment): move id to broadest possible
2292 * sgml.C (openTag): apply substitution of <> for all attributes.
2294 2004-10-28 José Matos <jamatos@lyx.org>
2296 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2297 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2298 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
2300 * sgml.[Ch]: new version for open and closeTag for paragraph and
2301 for strings. Now they handle the ids of paragraphs.
2303 2004-10-26 Angus Leeming <leeming@lyx.org>
2305 * Makefile.am: add mover.[Ch].
2307 * converter.C (convert, move): use the new Movers to move external
2308 files to the temp directory.
2310 * lyx_main.C (init): ensure that the global system_movers data
2313 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
2316 * mover.[Ch]: new files, defining a Mover as a utility to move an
2317 external file between directories and, if necessary, manipulate this
2318 file using a helper script.
2320 2004-10-25 José Matos <jamatos@lyx.org>
2322 * output_docbook.C (makeCommand): merge two if's that tested the
2325 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2327 * sgml.C (escapeString): fix warning in a better way
2329 2004-10-25 José Matos <jamatos@lyx.org>
2331 * sgml.C (escapeString): import the require boosts header file for
2332 tie, and avoid a signed unsigned comparison.
2334 2004-10-25 José Matos <jamatos@lyx.org>
2336 * sgml.h: add #include <string>
2338 2004-10-25 José Matos <jamatos@lyx.org>
2340 * sgml.[Ch] (escapeString): new function to escape all the string.
2342 2004-10-24 José Matos <jamatos@lyx.org>
2344 * paragraph.[Ch] (getFirstWord): new function to get the first
2345 word. Useful for description.
2346 (simpleDocBookOnePar): remove depth argument, add another that
2347 says where to start the paragraph.
2349 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2350 use the new functions to fix cleanly the support for descriptions.
2352 2004-10-24 José Matos <jamatos@lyx.org>
2354 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2355 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2356 * output_linuxdoc.C (linuxdocParagraphs):
2357 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
2358 add buffer as argument.
2360 2004-10-24 José Matos <jamatos@lyx.org>
2362 * output_docbook.C (makeEnvironment, searchEnvironment): place
2363 CDATA inside paragraphs and fix scope for listitems.
2365 2004-10-24 José Matos <jamatos@lyx.org>
2367 * output_docbook.C: remove using statement for stack.
2369 2004-10-23 José Matos <jamatos@lyx.org>
2371 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
2372 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
2373 docbook. The new scheme is recursive and makes use of iterators, the
2374 same as latex export works.
2375 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
2376 directly with the paragraph contents. This code was moved up to
2377 output_docbook.C (docbookParagraphs).
2378 * sgml.C (openTag, closeTag): removed unneeded newlines.
2379 (closeEnvTags) removed.
2381 2004-10-23 André Pönitz <poenitz@gmx.net>
2383 * undo.C (textUndoOrRedo):
2384 * dociterator.C (asDocIterator): work around crash
2386 * cursor.C (getStatus): replace ASSERT by more verbose error message
2387 and manual correction of the problem. Should increase stability
2388 while providing more sensible information.
2390 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2392 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
2394 * bufferlist.C (previous, next): new methods
2397 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
2399 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
2401 * buffer.C (makeDocBookFile): add dsssl stylesheet control
2402 entities to preamble.
2404 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2406 * messages.C (Pimpl): strip off translation context information
2408 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2410 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
2411 the cursor is correct (bug 1694)
2413 2004-10-13 José Matos <jamatos@lyx.org>
2415 * output_docbook.C (docbookParagraphs): fix closing tags in the
2416 end of the document.
2418 2004-10-09 José Matos <jamatos@lyx.org>
2420 * buffer.C: format up to 237.
2421 * bufferparams.C (write): use tostr to convert booleans to strings.
2423 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
2425 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
2427 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2429 * LaTeX.C: implement use of babel language in xindy.
2431 2004-10-05 José Matos <jamatos@lyx.org>
2433 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2434 Add new translators to help reading and writing the lyx file.
2436 2004-10-05 José Matos <jamatos@lyx.org>
2438 * ParagraphParameters.C (read):
2439 * text.C (readParToken): replace nexToken by more appropriate lex
2442 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
2444 * LaTeX.C (runMakeIndex):
2445 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2446 (usually 'makeindex') configurable.
2448 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2449 with a variable rather than with a number.
2451 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2453 * output_latex.C (TeXOnePar): make sure font setting is the first
2454 thing that gets output (and the last at the end). Should fix bug
2457 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2459 * pch.h: use proper signal include
2461 * LaTeX.h: Use preferred calling of Boost.Signal
2464 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2466 * pch.h: dont include <boost/function/function0.hpp>
2468 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2470 * paragraph_pimpl.h: remove usage of ShareContainer
2472 * paragraph_pimpl.C: remove initialization of ShareContainer.
2474 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2478 * BufferView.C (putSelectionAt): change the semantics when
2479 backwards == true: now, this just swaps cursor and anchor wrt the
2482 * BufferView.h (putSelectionAt): add some documentation
2484 * lyxfind.C (findBackwards): rewrite using while(). In particular,
2485 make sure backwardChar is done at least once (to avoid getting
2487 (findNextChange): use putSelectionAt in the forward direction
2488 (operator()): use Paragraph::isWord
2490 2004-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2492 * Spacing.C (set): c_str fix
2494 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2496 * lyx_cb.C (Reconfigure): quote the name of configure script in
2497 case it contains spaces
2499 2004-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2503 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2504 (BOOST_LIBS): use top_buildir when looking for the file
2506 2004-08-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2508 * pch.h: do not use include boost/format.hpp, multiple symbols
2509 will result (gcc bug)
2512 2004-08-23 José Matos <jamatos@lyx.org>
2514 * bufferparams.C (readToken): fix reading of the author field.
2516 2004-08-20 José Matos <jamatos@lyx.org>
2518 * lyxrc.C: remove support/translator.h inclusion since it is not used.
2520 2004-08-20 José Matos <jamatos@lyx.org>
2522 * lyxlex.[Ch] (findToken): remove function.
2524 * ParagraphParameters.C (findToken):
2525 * bufferparams.C (findToken): replace call for previous function
2526 with local copy. This local function has one more argument, the
2527 read string argument.
2529 2004-08-16 José Matos <jamatos@lyx.org>
2531 * ParagraphParameters.C (write):
2532 * Spacing.C (writeFile):
2533 * bufferparams.C (writeLaTeX):
2534 * lyx_cb.C (Reconfigure):
2535 * paragraph.C (write):
2536 * tabular.C (write): remove unnecessary space at end of line.
2539 2004-08-16 José Matos <jamatos@lyx.org>
2541 * text.C (readParagraph): remove debug message.
2543 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2545 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2548 * output_plaintext.C (asciiParagraph): set depth correctly
2550 * outputparams.h: add member depth
2552 * paragraph_funcs.C (ownerPar): remove.
2554 * text2.C (setCounter): remove first_pit; comment out some
2555 non-working code that uses ownerPar
2557 * BufferView.C (getParentLanguage): remove. Not used anymore, and
2560 2004-08-16 José Matos <jamatos@lyx.org>
2562 * text.C (readParToken, readParagraph, read): report all unknown tokens.
2563 For the same level of importance use the same chanel to report problems.
2564 (read): add code to deal with \begin_body and \end_body.
2567 2004-08-15 José Matos <jamatos@lyx.org>
2569 * lyxlex.C (getString): fix comment, buffer::readBody is now
2570 buffer:readDocument.
2572 * tex-strings.C (string_papersize): Default -> default,
2573 Custom -> custom, for consistency with other options.
2575 2004-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2579 * Makefile.am: support pch
2581 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2583 * text.C (readParToken): remove the static LyXFont variable and
2584 pass it as a parameter instead. This fixes a nasty bug where an
2585 inset will be inserted with a bad font in some situations
2586 (readParagraph): adapt
2588 * text2.C (setCounter): reduce number of calls to pars_[pit]
2590 * text.C (singleWidth): add an assert, fix a test
2592 * rowpainter.C (paintText): reduce number of calls to singleWidth
2594 * paragraph.C (isHfill):
2595 (isNewline): ws only
2597 2004-08-14 André Pönitz <poenitz@gmx.net>
2602 * lyxtext.h (several functions): use a Paragraph & argument
2605 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2607 * metricsinfo.h: add a new field ltr_pos to PainterInfo
2609 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2611 * text.C (singleWidth): remove useless test
2613 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2615 * tabular.h: remove bogus comments
2617 * tabular.C (getDescentOfRow):
2618 (isPartOfMultiColumn): add assertions
2620 * lyxlength.C (inPixels): remove #warning
2622 2004-08-14 André Pönitz <poenitz@gmx.net>
2624 * paragraph.h: inline getChar()
2626 * BufferView.h: remove unused declarations
2628 2004-08-14 José Matos <jamatos@lyx.org>
2630 * Buffer.[Ch] (readDocument): new name for old readBody.
2631 * Buffer.C: new file format, new keywords: \begin_document,
2632 \begin_header, \begin_body, \end_body.
2634 * bufferparams.C (readToken): replace all calls to lex.nextToken
2635 by lex.next(). Do the same to eatLine except where really needed.
2637 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2638 line when writing to the lyx file.
2640 * output_plaintext.C (asciiParagraph): fix Bibliography style
2643 * text.C (read): fix end of file handling.
2645 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2647 * MenuBackend.C (Menu::operator[]): new method to access
2648 individual menu items
2649 (Menu::hasFunc): new method. search for an item that corresponds
2651 (MenuBackend::specialMenu): new method
2652 (MenuBackend::expand): if a special menu has been set, skip
2653 entries whose func() appears in this menu
2655 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2657 * text3.C: use Debug::DEBUG a bit more
2659 * text.C (leftMargin): try to simplify a tiny bit change var x to
2660 l_margin. Dont output the wide margins always.
2661 (rightMargin): no margin in inner texts
2663 * rowpainter.h (nestMargin): new func
2664 (changebarMargin): new func
2665 (rightMargin): new func
2667 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2671 * factory.C (createInset): modify setDrawFrame
2673 * cursor.C: use Debug::DEBUG a bit more
2675 2004-08-14 André Pönitz <poenitz@gmx.net>
2678 * Makefile.am: new files to accomodate an 'external' (x,y)-position
2679 cache for all insets in (at least partially) visible (top-level)
2682 * BufferView_pimpl.C: reset external coord cache before every update.
2683 This means the coord cache only contains valid entries.
2685 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2688 * BufferView_pimpl.C (getInsetByCode): move function out of class
2689 and change in to a template in anon namespace. Also fix to do what
2692 2004-08-13 Lars Gullik Bjønnes <larsbj@lyx.org>
2695 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2697 (breakParagraph): rename par to par_offset and use a local
2698 reference. Add code to keep the language over a rebreak.
2699 (breakParagraphConservative): rename par to par_offset, use a
2701 (mergeParagraph): ditto
2703 (isFirstInSequence): ditto
2704 (outerFont): rename pit to par_offset
2706 * paragraph.C: ws change
2707 * paragraph.h: ditto
2711 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2713 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2716 * paragraph.C (simpleTeXOnePar): when we have a \item with
2717 optional argument, enclose the argument with curly brackets (in
2718 case it contains a closing square bracket)
2722 * text3.C (checkInsetHit): constify
2724 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2726 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2727 documents (bug 1629)
2729 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2731 Fix toggling of collapsable insets with the mouse (bug 1558)
2733 * lyxfunc.C (dispatch): adapt to LCursor changes
2735 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2736 make sure that dispatch is not invoked twice
2738 * cursor.C (needsUpdate): new method
2739 (dispatch): return void
2740 (result): new method, to access the DispatchResult of the cursor.
2742 2004-08-13 José Matos <jamatos@lyx.org>
2744 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2746 2004-08-13 André Pönitz <poenitz@gmx.net>
2748 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2750 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2753 2004-08-12 André Pönitz <poenitz@gmx.net>
2755 * text3.C: take out the 'cursor right' form insertInset and only
2756 do it in those places when it is really needed. Fixes crash on
2759 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2761 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2763 * BufferView_pimpl.C (setBuffer): initialize the current font of
2764 the underlying LyXText
2766 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2768 * kbsequence.C (print): use UI native formatting for menu
2771 * text.C (insertChar): call Paragraph::insertChar with a font
2774 * paragraph.C (insertInset, insertChar): the version that takes a
2775 LyXFont argument is now a wrapper around the other one (the
2776 opposite used to be true).
2778 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2779 argument. Font setting is done in Paragraph now.
2781 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2783 * outputparams.h: add new members intitle and lang.
2785 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2786 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2788 2004-08-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2790 * text3.C (dispatch): remove special handling of button 4 and 5,
2791 it is now taken care of in the frontend code.
2793 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2795 * Spacing.h: add <string> (STLPort compile fix)
2797 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2799 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2801 2004-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2803 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2806 * converter.C (showMessage): inherit from unary_function, make
2809 * buffer.C (writeFile): initialize retval
2811 * InsetList.h: rename private variable list to list_
2812 * InsetList.[Ch]: adjust accordingly.
2814 2004-07-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2816 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2817 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2818 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2819 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2820 * ParagraphParameters.C, LaTeXFeatures.C: replace
2821 "support/std_sstream.h" with <sstream>
2823 2004-07-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2825 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2826 * lyxsocket.C (LyXServerSocket): ditto
2827 (serverCallback): ditto
2829 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2831 * LaTeXFeatures.C: check release date when loading jurabib.
2833 2004-07-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2835 * lyxserver.C (startPipe): call register_socket_callback
2836 (endPipe): call unregister_socket_callback
2838 2004-07-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2840 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2841 (LyXServerSocket): register the callback
2842 (LyXServerSocket): unregister the callback
2843 (fd): delete function
2844 (serverCallback): improve error checking and setup the callbacks.
2845 (dataCallback): change arg to fd.
2846 (writeln): new func (copied fro the client socket) used for server
2848 (LyXDataSocket): simplify
2849 (~LyXDataSocket): close ann unregiser callback
2850 (server): delete function
2851 (fd): delete function
2852 (readln): small changes, improve some std::string usage
2853 (writeln): constify a bit
2855 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2857 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2860 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2862 * BufferView_pimpl.C (setBuffer): set the layout combox value only
2863 after it has been populated
2865 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2867 * text2.C (insertInset): move cursor when inserting inset.
2869 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2871 * kbmap.C (findbindings): a couple of new methods. returns a
2872 container of kb_sequence objects. The real work is done by the
2873 private recursive version
2874 (printbindings): uses findbindings to print out a bracketed list
2875 of bindings (renamed from findbinding).
2877 * MenuBackend.C (binding): use kb_keymap::findbindings
2879 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2881 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2883 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2885 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2887 * paragraph.C (isWord): return true on insets that report
2890 * text.C (getWord): use Paragraph::isWord to decide what is in a
2891 word and what is not; fix bug 1609.
2893 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2895 * tex-strings.C: add "none" to string_paperpackages[], fixes
2896 off-by-one-error in the paperpackage selection.
2899 * tex-strings.[Ch]: char const * string[n]
2900 -> char const * const string[]
2902 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2904 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2905 command, return early.
2907 2004-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
2909 * debug.h: add DEBUG to enum and fix size of ANY.
2911 * debug.C: add support for Debug::DEBUG
2912 (showTags): cast errorTags.level to unsigned int
2914 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2915 (redoCurrentBuffer): ditto
2916 (updateScrollbar): ditto
2917 * cursor.C (dispatch): ditto
2918 * text2.C (setLayout): ditto
2920 (updateCounters): ditto
2922 (deleteEmptyParagraphMechanism): ditto
2924 2004-06-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2926 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2927 annotations to cleanup the Makefile slightly.
2929 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2931 * lyxrc.C: do not set user_email to a default value but use empty
2932 instead. The entry used to be translated, which does not work
2933 since at the point where lyxrc is constructed there is no
2934 translation service available
2936 * messages.C (getLocaleDir): remove and use directly
2937 lyx_localedir() instead
2939 2004-06-02 Angus Leeming <leeming@lyx.org>
2941 Fix crash caused by dereferencing null pointer 'exportdata' in
2942 OutputParams by creating a new ExportData variable on the heap,
2943 storing it in a boost::shared_ptr.
2944 The crash was triggered when generating an Instant Preview
2945 of an external inset.
2947 * Makefile.am: add outputparams.C
2949 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2950 (c-tor): allocate memory to it.
2952 * exporter.C (c-tor): associated changes.
2954 2004-06-01 Angus Leeming <leeming@lyx.org>
2956 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2957 contains data before calling isInset(0). (Bug 1513.)
2959 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2961 * exporter.C (checkOverwrite): new method
2962 * exporter.C (copyFile): new method
2963 * exporter.C (Export): copy referenced files to the document dir
2964 * exporter.[Ch]: new class ExportedFile
2965 * exporter.[Ch]: new class ExportData. Contains currently the
2966 names of referenced external files
2967 * outputparams.h: add exportdata member.
2969 2004-05-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2971 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2974 2004-05-19 Angus Leeming <leeming@lyx.org>
2979 * lyxfunc.C: small changes due to the introduction of namespace
2980 lyx::frontend and the moving of namespace biblio to lyx::biblio.
2982 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
2984 * text3.C (dispatch): supress update when only moving the cursor
2985 * cursor.C (selHandle): remove commented code
2987 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2989 * paragraph.C (startTeXParParams): correct column count
2990 * CutAndPaste.C (pasteSelection): remove const_cast
2991 * output_docbook.C (docbookParagraphs): remove const_cast
2992 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2993 const_cast and return ParagraphList::const_iterator
2994 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2995 * output_plaintext.C (writeFileAscii): remove const_cast
2996 * paragraph.[Ch] (simpleTeXOnePar): make const
2997 * paragraph_funcs.C (outerPar): use const iterators
2998 * paragraph_pimpl.C (validate): use const iterators
2999 * text.C (setHeightOfRow): use const iterators
3001 2004-05-17 Angus Leeming <leeming@lyx.org>
3004 * LyXAction.C (init): new LFUN_INSET_REFRESH.
3006 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
3007 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
3008 if the citation engine has changed.
3010 2004-05-14 José Matos <jamatos@lyx.org>
3012 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
3013 if the textclass does not provide it. Have it different for sgml and
3015 support the language of document.
3016 * output_docbook.C (docbookParagraphs):
3017 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
3018 first anchor as the id of the paragraph, remove special case code.
3019 * sgml.C (escapeChar): escape only < & >.
3021 2004-05-14 Angus Leeming <leeming@lyx.org>
3023 * bufferparams.h: move biblio::CiteEngine enum here to minimize
3024 dependencies on src/frontends/controllers/biblio.h. Define a
3025 CiteEngine_enum wrapper class to enable the enum to be forward
3028 2004-05-12 Angus Leeming <leeming@lyx.org>
3030 * buffer.C: up LYX_FORMAT to 234.
3031 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
3032 use_numerical_citations with a single biblio::CiteEngine cite_engine
3034 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
3036 2004-05-13 José Matos <jamatos@lyx.org>
3039 * converter.C (Converter, readFlags): add xml member.
3040 * outputparams.h: add XML flavor.
3041 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
3043 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3045 * lyxfunc.C (dispatch):
3046 (getStatus): fix handling of LFUN_SEQUENCE
3048 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3050 * debug.C (showLevel): do not forget the end-of-line marker
3052 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3054 * kbmap.C (read): do not stop parsing a bind file when an error
3057 2004-04-29 Angus Leeming <leeming@lyx.org>
3062 * text2.C: wrap a bunch of #warning statements
3063 inside #ifdef WITH_WARNINGS blocks.
3065 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3067 * buffer.C: increment format to 233.
3069 2004-04-28 Angus Leeming <leeming@lyx.org>
3071 * BufferView_pimpl.C:
3074 s/updateToolbar()/updateToolbars()/
3075 s/Toolbar.h/Toolbars.h/
3077 2004-04-28 Angus Leeming <leeming@lyx.org>
3079 * BufferView.[Ch] (c-tor):
3080 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
3081 No longer passes these data to the WorkArea generator.
3083 2004-04-28 Angus Leeming <leeming@lyx.org>
3085 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
3087 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3089 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
3091 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3093 * output_latex.C (TeXEnvironment): make sure that there is a line
3094 break before \end{foo} for the last paragraph of a document
3095 (TeXOnePar): if the paragraph is at the end of the document (or
3096 inset) and the language has to be reset, then make sure that the
3097 line break is _before_ the language command, not after (fixes bug
3098 1225); also make sure that the language reset command is the first
3099 thing after the paragraph (to ensure proper nesting of
3100 environments and thus fix bug 1404)
3102 2004-04-21 John Levon <levon@movementarian.org>
3105 * ToolbarBackend.C: make "name" be a programmatic name
3106 and a gui_name field.
3108 * lyxfunc.C: display the minibuffer on M-x
3110 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3112 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
3115 2004-04-19 Angus Leeming <leeming@lyx.org>
3117 * BufferView_pimpl.C (setBuffer): changed preview interface.
3119 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
3122 2004-04-19 John Levon <levon@movementarian.org>
3124 * BufferView_pimpl.C:
3125 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
3127 2004-04-05 Angus Leeming <leeming@lyx.org>
3129 * text.C (redoParagraphs): add call to updateCounters(), thereby
3130 fixing the missing "Figure #:" label from the caption of a
3133 2004-04-13 Angus Leeming <leeming@lyx.org>
3135 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
3136 cursor is clicked out of an inset.
3138 2004-04-13 Angus Leeming <leeming@lyx.org>
3140 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
3141 than an InsetOld one.
3143 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3145 * format.[Ch]: add editor to Format
3146 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
3147 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
3149 2004-04-08 André Pönitz <poenitz@gmx.net>
3151 * metricsinfo.h: remove PainterInfo::width member
3153 2004-04-08 Angus Leeming <leeming@lyx.org>
3155 * lyx_sty.C (boldsymbol_def): modify so that it outputs
3156 "\providecommand" rather than "\newcommand", thereby preventing
3157 clashes with packages that define "\boldsymbol" themselves.
3160 2004-04-08 Angus Leeming <leeming@lyx.org>
3162 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
3163 thereby squashing an unnecessary warning.
3165 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3167 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
3170 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
3172 * BufferView.C (setCursor): call redoParagraph (some insets could
3174 (putSelectionAt): remove the 'double update' trick
3176 * BufferView_pimpl.C (fitCursor): call refreshPar
3177 (workAreaDispatch): remove an uneeded update call
3178 (dispatch): remove some manual update calls
3180 * cursor.[Ch]: remove cached_y_, updatePos
3181 (selHandle): set noUpdate when appropriate
3183 * lyxfunc.C (dispatch): track if we need an update
3185 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
3187 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
3188 (paintSelection): cheap optimization, do not call cursorX when not
3190 (paintPars): change signature
3193 (paintTextInset): adjust
3197 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3199 * lengthcommon.C: compilation fix: remove explicit array size from
3200 unit_name[] and friends
3202 2004-04-05 Angus Leeming <leeming@lyx.org>
3204 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
3206 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
3207 present only for the preferences dialog.
3208 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
3210 2004-04-05 Angus Leeming <leeming@lyx.org>
3212 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
3213 to enable the frontends to export changes to lyxrc correctly.
3215 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
3217 2004-04-07 André Pönitz <poenitz@gmx.net>
3219 * cursor.[Ch] (selClear, adjust): remove math
3221 * cursor_slice.C: more agressive assert
3224 * BufferView_pimpl.C: rework mouse event dispatch
3231 2004-04-05 André Pönitz <poenitz@gmx.net>
3233 * cursor.[Ch] (valign, halign...): remove unneeded functions
3235 2004-04-05 Angus Leeming <leeming@lyx.org>
3237 * lyxlength.[Ch] (unit_name et al.): const-correct.
3239 2004-04-05 Angus Leeming <leeming@lyx.org>
3241 * BufferView_pimpl.C:
3250 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
3252 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3254 * text3.C (getStatus): add LFUN_BEGINNINGBUF
3256 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3258 * lyxfind.C: add a couple of inTexted() tests + other small fixes
3259 * BufferView_pimpl.[Ch] (getStatus)
3260 * BufferView.[Ch] (getStatus): add
3261 * lyxfunc.C (getStatus): move lfuns handled in
3262 BufferView::dispatch to te function above
3263 * Cursor.C (setSelection): set selection() = true
3265 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3267 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
3269 2004-03-31 Angus Leeming <leeming@lyx.org>
3271 * lyxfunc.C (dispatch): Fall through to the generic
3272 Dialogs::show("preamble").
3274 2004-03-31 Angus Leeming <leeming@lyx.org>
3276 * lyxfunc.C (dispatch): Fall through to the generic
3277 Dialogs::show("spellchecker").
3279 2004-03-31 Angus Leeming <leeming@lyx.org>
3281 * lyxfunc.C (getStatus, dispatch): changed invocation of the
3284 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
3289 * insetiterator.[Ch]:
3294 * undo.[Ch]: s/DocumentIterator/DocIterator/g
3296 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
3298 * BufferView.C (setCursor, putSelectionAt): call edit to open the
3299 insets where we are putting the cursor.
3301 2004-03-31 Angus Leeming <leeming@lyx.org>
3304 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
3306 * lyxrc.[Ch] (read, write): overloaded member functions taking
3307 a std::[io]stream arguments.
3309 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
3311 2004-03-31 Angus Leeming <leeming@lyx.org>
3313 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
3314 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
3316 * lyxtextclass.C (load): if the text class couldn't be loaded, then
3317 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
3319 2004-03-31 Angus Leeming <leeming@lyx.org>
3321 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
3322 the LFUN_ALL_INSETS_TOGGLE code.
3324 2004-03-30 Angus Leeming <leeming@lyx.org>
3326 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
3327 has died. Fall through to the generic Dialogs::show("document").
3329 2004-03-30 Angus Leeming <leeming@lyx.org>
3332 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
3333 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
3335 * lyxfunc.C (getStatus, dispatch): define the actions for these
3336 lfuns. Little more than a cut and pste job from ControlDocument.C
3338 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
3340 2004-03-30 Angus Leeming <leeming@lyx.org>
3343 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
3344 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
3346 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
3347 open/closed state of ollapsable insets. Usage:
3349 all-inset-toggle <state> <name>, where
3350 <state> == "open" || "closed" || "toggle" and
3351 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
3353 * lyxtext.h, text2.C (toggleInset): removed.
3355 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
3356 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
3357 now passes LFUN_INSET_TOGGLE to the found inset.
3359 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
3360 is now invoked as "all-insets-toggle toggle branch".
3362 2004-03-30 Angus Leeming <leeming@lyx.org>
3366 * pariterator.[Ch]: added/corrected header blurb.
3368 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
3370 * dociterator.[Ch]: add an inset_ member
3371 (backwardPos): implemented
3372 (backwardPos, forwardPos): use inset_ when the stack is empty.
3373 (doc_iterator_begin, doc_iterator_end): implemented
3374 * pariterator.[Ch]: adjust, add begin, end
3375 * insetiterator.[Ch]: adjust, add begin, end
3379 * BufferView_pimpl.C:
3380 * CutAndPaste.C: adjust
3382 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3384 * buffer.C: increment file format to 232.
3385 * LaTeXFeatures.C: add bibtopic package.
3386 * bufferparams.[Ch]: param \use_bibtopic.
3388 * lyxrc.[Ch]: add lyxrc bibtex_command
3389 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
3391 * buffer.C: increment file format to 231.
3393 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
3395 * dociterator.C: implement forwardPar
3396 * iterators.[Ch]: remove, replaced by
3397 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
3399 * BufferView_pimpl.C:
3402 * bufferview_funcs.C:
3408 * Makefile.am: adjust
3410 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
3412 * CutAndPaste.C (pasteSelection): fix 2 crashes
3413 (eraseSelection): fix a crash
3414 * paragraph_funcs.C: remove a warning
3416 2004-03-28 Angus Leeming <leeming@lyx.org>
3419 * LyXAction.C (init): new LFUN_PRINT.
3421 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
3423 2004-03-27 Angus Leeming <leeming@lyx.org>
3426 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
3428 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
3430 2004-03-27 Angus Leeming <leeming@lyx.org>
3432 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
3433 insetlist always contains non-null pointers to insets.
3435 2004-03-26 Angus Leeming <leeming@lyx.org>
3437 * src/BufferView_pimpl.C:
3438 * src/CutAndPaste.C:
3441 * src/output_plaintext.C:
3442 * src/outputparams.h:
3443 * src/paragraph_funcs.C:
3447 * src/frontends/controllers/ControlErrorList.C:
3448 * src/frontends/gtk/FileDialogPrivate.C:
3449 * src/frontends/gtk/GPainter.C:
3450 * src/frontends/gtk/GToolbar.C:
3451 * src/frontends/qt2/QRef.C:
3452 * src/mathed/math_scriptinset.C: squash compiler warnings.
3454 2004-03-26 Angus Leeming <leeming@lyx.org>
3456 * ispell.C (LaunchIspell::start):
3457 * lyx_cb.C (AutoSaveBuffer::start):
3458 invoke run(DontWait) rather than runNonBlocking().
3460 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
3462 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3464 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3466 * kbsequence.C (print): adjust
3468 * kbmap.C (printKeySym): rename and change signature
3469 (printKey): use LyXKeySym::print()
3471 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
3473 * undo.C: add using std::advance to compile for stlport
3475 2004-03-24 Angus Leeming <leeming@lyx.org>
3477 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3478 it leads to a crash when no buffer is present.
3480 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3481 Martin Vermeer <martin.vermeer@hut.fi>
3483 * lyxfunc.C (dispatch):
3484 * bufferparams.C (readToken): use the new LColor::setColor
3486 * LColor.[Ch] (setColor): new version that takes two strings as
3487 argument and creates a new color entry if necessary
3489 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3491 * buffer.C (makeLaTeXFile): if the main latex file that is
3492 processed is usually a subdocument of some master, then pretend
3493 for a while that it is actually the master
3495 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3497 * buffer.C (getLabelList):
3498 (getBibkeyList): use getMasterBuffer()
3499 (getMasterBuffer): new method. Returns the main document in the
3500 case where one is using included documents.
3502 2004-03-25 André Pönitz <poenitz@gmx.net>
3506 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3508 * ParagraphList_fwd.h: change ParagraphList to a std::vector
3510 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3511 text*.C over here. Rename namespace CutAndPaste to lyx::cap
3513 * ParameterStruct.h: merge with ParagraphParameters
3515 * lyxtext.h: remove LyXText::parOffset() and getPar()
3517 * text3.C: Remove all 'manual' update calls. We do now one per user
3518 interaction which is completely sufficient.
3522 * BufferView_pimpl.C:
3523 * FontIterator.[Ch]:
3525 * ParagraphParameters.[Ch]:
3530 * cursor_slice.[Ch]:
3537 * output_docbook.[Ch]:
3538 * output_latex.[Ch]:
3539 * output_linuxdoc.[Ch]:
3540 * output_plaintext.[Ch]:
3542 * paragraph_funcs.[Ch]:
3543 * paragraph_pimpl.[Ch]:
3551 * frontends/controllers/ControlDocument.C:
3552 * frontends/controllers/ControlErrorList.C:
3553 * frontends/controllers/ControlSpellchecker.C:
3556 * insets/insetbase.h:
3557 * insets/insetbibitem.C:
3558 * insets/insetbox.C:
3559 * insets/insetbranch.C:
3560 * insets/insetcaption.C:
3561 * insets/insetcharstyle.C:
3562 * insets/insetcharstyle.h:
3563 * insets/insetcollapsable.C:
3564 * insets/insetcollapsable.h:
3565 * insets/insetert.C:
3566 * insets/insetfloat.C:
3567 * insets/insetfoot.C:
3568 * insets/insetmarginal.C:
3569 * insets/insetnote.C:
3570 * insets/insetoptarg.C:
3571 * insets/insettabular.C:
3572 * insets/insettext.C:
3573 * insets/insettext.h:
3574 * insets/insetwrap.C:
3575 * mathed/math_mboxinset.C:
3576 * mathed/math_nestinset.C:
3577 * mathed/math_scriptinset.C:
3578 * mathed/math_scriptinset.h:
3581 2004-03-24 Angus Leeming <leeming@lyx.org>
3583 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3584 deal with any child processes that have finished but are waiting to
3585 communicate this fact to the rest of LyX.
3587 2004-03-24 Angus Leeming <leeming@lyx.org>
3589 64-bit compile fixes.
3591 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3592 (c-tor): pass lyx::pos_types rather than ints.
3594 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3597 * text.C (Delete): compile fix.
3598 (getPar): ensure that function declaration is the same as that in
3601 2004-03-23 Angus Leeming <leeming@lyx.org>
3603 * ispell.C (LaunchIspell):
3604 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3605 a boost::shred_ptr rather than a std::auto_ptr.
3607 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3609 * lyxfunc.C (getStatus): handle read-only buffers correctly;
3610 handle LFUN_FILE_INSERT_*
3612 * lyxrc.C (setDefaults, getDescription, output, read):
3613 * lyxrc.h: remove ps_command
3615 2004-03-22 Angus Leeming <leeming@lyx.org>
3617 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3618 Ensure that error_handler is processed once only and that all data
3619 is saved before attempting to output any warning messages.
3621 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3623 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
3625 * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3627 2004-03-19 André Pönitz <poenitz@gmx.net>
3629 * cursor.[Ch] (reset): take main text inset as argument
3631 * BufferView: adjust
3632 * BufferView_pimpl.C: adjust
3634 * paragraph.[Ch]: fix completely broken operator=()
3636 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3638 * LColor.C (getFromLyXName): make sure that the color name is used
3641 2004-03-17 Angus Leeming <leeming@lyx.org>
3644 * LyXAction.C (init): remove LFUN_FORKS_KILL.
3646 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3647 dialog and to kill a forked process.
3649 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3651 * text2.C (setCursorFromCoordinates): fix font problem
3653 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3655 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3656 bogus "rebuild cursor" code
3658 2004-03-11 André Pönitz <poenitz@gmx.net>
3660 * buffer.[Ch]: use InsetText instead of LyXText as container for
3663 * dociterator.[Ch]: drop the BufferView * member which is not needed
3664 anymore after the change to buffer.C
3666 * paragraph_funcs.C:
3670 * BufferView_pimpl.[Ch]:
3672 * cursor_slice.[Ch]: adjust
3674 * text3.C: fix bug in mathDispatch
3676 2004-03-08 André Pönitz <poenitz@gmx.net>
3678 * undo.[Ch]: use 'StableDocumentIterator' as base for
3681 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3684 * bufferparams.[Ch]: add jurabib support and param.
3686 * LaTeX.C: add FIXME/comment.
3688 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3690 * buffer.C: increment file format to 230.
3692 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
3694 * cursor.C (dispatch): avoid infinite loops
3696 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3698 * rowpainter.C (paintSelection): fix x coordinates
3700 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3702 * text.C (rowBreakPoint): fix breaking before displayed insets
3704 2004-03-01 André Pönitz <poenitz@gmx.net>
3706 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3708 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3712 * BufferView_pimpl.C:
3720 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3726 * BufferView_pimpl.C: rename textwidth -> maxwidth,
3727 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3729 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3731 * Bidi.[Ch] (computeTables): const correctness
3732 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3733 fill_hfill, fill_label_hfill and x from Row
3734 * lyxtext.h: prepareToPrint returns a RowMetrics
3735 * rowPainter.C: adjust
3736 * text.C (prepareToPrint): use width, not textWidth. adjust
3737 (redoParagraphInternal, cursorX): adjust
3738 * text2.C (getColumnNearX): adjust
3739 (init): put a default value to the top LyXText::width
3741 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3743 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3745 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3747 * lyxtext.h: add FontIterator class
3749 * text.C (FontIterator, operator*, operator->, operator++): add
3750 (rowBreakPoint, setRowWidth): adjust (fixing a
3753 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3755 * BufferView_pimpl.C (workAreaDispatch): allow also
3756 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3758 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
3760 * text.C (rowBreakPoint): fix a bug showing with very large insets
3762 2004-02-25 André Pönitz <poenitz@gmx.net>
3765 * cursor.[Ch]: move some mathed specific code to mathed
3767 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3769 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3770 use_tempdir in preferences
3771 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3773 * lyx_main.C: ensure that tempdir is valid
3774 * lyxlex.h: correct typo
3775 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3776 * paragraph.[Ch] (isMultiLingual): make const
3777 * cursor.[Ch] (openable): make const
3779 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3781 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3783 2004-02-20 André Pönitz <poenitz@gmx.net>
3785 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3787 * cursor.[Ch]: prepare for localized getStatus()
3793 * text3.C: streamlines the LyXText cursor movement handlers a bit.
3795 2004-02-20 André Pönitz <poenitz@gmx.net>
3797 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3799 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3801 * text2.C (setCursorFromCoordinates): switch to absolute coords
3803 (cursorDown): adjust
3804 * text3.C (dispatch): adjust
3806 2004-02-16 André Pönitz <poenitz@gmx.net>
3808 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3811 * cursor_slice.[Ch]: remove unneeded acessor function
3813 * lyxtext.h: rename rtl() to isRTL()
3821 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3823 * rowpainter.C (paintSelection): coord fix
3825 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3827 * Spacing.C: compile fix
3829 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3831 * cursor.C (dispatch): restore current_ before returning
3833 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3835 * text2.C (cursorUp, cursorDown): fix coords
3838 2004-02-12 André Pönitz <poenitz@gmx.net>
3843 * text3.C: add LCursor & parameter to most cursor movement functions
3844 remove usage of LyXText::cursorRow() and cursorPar()
3846 * cursor.[Ch]: add textRow() needed members
3849 * BufferView_pimpl.C:
3852 * BufferView_pimpl.C: adjust
3854 2004-02-11 André Pönitz <poenitz@gmx.net>
3858 * BufferView_pimpl.C: shift undo/redo handling
3860 * cursor.[Ch]: fix mathed crash
3863 * lyxtext.h: move selectionAsText to LCursor
3871 * rowpainter.C: fix excessive drawing
3873 2004-02-06 André Pönitz <poenitz@gmx.net>
3876 * BufferView_pimpl.[Ch]:
3877 * text3.C: move some text specific LFUN handling
3879 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
3881 * text3.C (checkInsetHit): adjust coords
3882 * text2.C (getColumnNearX): adjust coords
3883 (edit): adjust coords
3884 * text.C (getRowNearY): add two asserts
3886 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
3889 * format.C: add using std::distance to compile on gcc 2.95/stlport
3891 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
3893 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3895 2004-02-04 André Pönitz <poenitz@gmx.net>
3897 * BufferView.[Ch] (insertInset):
3898 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3903 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3905 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3906 on the default clause of the switch
3907 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3908 wasn't catched by LCursor::dispatch
3910 2004-02-03 André Pönitz <poenitz@gmx.net>
3913 * cursor.[Ch]: some additional asserts
3915 * undo.[Ch]: remove LyXText dependency in interface
3919 * lyxtext.h (firstPar, lastPar): remove dead functions
3924 * paragraph.[Ch]: adjust
3926 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3928 * lyxfind.C (find): fix argument order in call to ::find
3930 2004-02-02 André Pönitz <poenitz@gmx.net>
3932 * cursor.[Ch]: remove direct access to anchor
3934 * text.C: remove findText() hack
3936 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3938 * iterators.[Ch] (lockPath): remove in favour of...
3939 * BufferView.[Ch] (setCursor): this addition
3940 * BufferView.C (putSelectionAt): adjust
3941 * undo.C (performUndoOrRedo): adjust
3942 * lyxfunc.C (dispatch): adjust
3944 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3946 * iterators.C (lockPath): add a missing slice
3947 * undo.C (performUndoOrRedo): remove redundant positioning code
3949 2004-02-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3951 * vc-backend.C (scanMaster): ";" -> ';'
3953 2004-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
3955 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3956 std::binary_function
3958 * lyxtextclass.C (compare_name): rename to...
3959 (LayoutNamesEqual): ...this
3961 * lyxlex_pimpl.C (compare_tags): inherit from
3962 std::binary_function, put back into anon namespace
3964 * lyxfind.C (MatchString): inherig from std::binary_function
3965 (findChange): use empty() istead of !size()
3967 * format.C (FormatNamesEqual): new functor
3974 * converter.C (compare_Converter): rename to...
3975 (ConverterEqual): ...this, and fixup a bit.
3976 (getConverter): use it, and make function const
3977 (getNumber): use it, and make function const
3981 * bufferlist.C: add using boost::bind
3983 * MenuBackend.C (MenuNamesEqual): new functor
3984 (hasMenu): use it, and make function const
3985 (hasSubmenu): use nested bind to get rid of compare_memfun.
3987 2004-01-30 André Pönitz <poenitz@gmx.net>
3989 * BufferView_pimpl.C:
3992 * cursor_slice.[Ch]:
3995 * paragraph_funcs.C:
3996 * paragraph_funcs.h:
4000 * text3.C: move some of the edit(x,y) handling to the insets
4001 some coordinate changes.
4003 2004-01-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4005 * text.C: add using statements for std::advance and std::distance
4007 * paragraph.C: add using statement for std::distance
4009 * lyxfind.C: add using statement for std::advance
4011 * cursor.C (region): remove std:: from swap
4012 (openable): use nucleus in stead of operator->
4014 * BufferView.C: add using statements for std::distance and std::swap
4016 2004-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4018 * iterators.C: Remove the pimple, move the needed structures to
4019 the header file. Create accessor for the positions stack.
4020 (asPosIterator): remove function
4022 * PosIterator.C (PosIterator): move constructors to top of file
4023 (PosIterator): reimplement the constructor taking a ParIterator in
4025 (setFrom): new function
4026 (operator!=): inline it
4028 2004-01-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4030 * lyxfind.C (replaceAll): use std::advance
4032 * iterators.h: inherit from std::iterator.
4034 * PosIterator.C (advance, distance): remove
4035 * PosIterator.h: interit from std::iterator.
4037 2004-01-26 André Pönitz <poenitz@gmx.net>
4040 * BufferView_pimpl.[Ch]:
4044 * bufferview_funcs.C:
4054 * output_linuxdoc.C:
4055 * output_plaintext.C:
4057 * paragraph_funcs.[Ch]:
4058 * paragraph_pimpl.[Ch]:
4064 * text3.C: more IU: dumps most of the rest of the mathcursor
4065 implementation into cursor.[Ch]; "globalize" a bit of it.
4067 2004-01-25 Angus Leeming <leeming@lyx.org>
4069 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
4071 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4073 * LaTeXFeatures.h: add nice_ and nice() const
4074 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
4076 2004-01-20 André Pönitz <poenitz@gmx.net>
4079 * BufferView_pimpl.C:
4081 * bufferview_funcs.C:
4083 * cursor_slice.[Ch]:
4094 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
4095 LCursor and mathcursor parts to LCursor and InsetBase.
4097 2004-01-15 André Pönitz <poenitz@gmx.net>
4099 * cursor_slice.[Ch]: add a few covienience functions
4101 * funcrequest.[Ch]: remove BufferView * member
4103 * BufferView_pimpl.C:
4110 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
4112 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
4114 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
4115 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
4117 2004-01-13 André Pönitz <poenitz@gmx.net>
4120 * lyxtext.h: hide cursor and selection anchor behind accessor function
4123 * BufferView_pimpl.[Ch]:
4125 * bufferview_funcs.C:
4135 * cursor_slice.[Ch]: some integer type changes for inset unification
4137 * lyxcursor.[hC]: remove, it's CursorSlice now.
4140 * BufferView_pimpl.[Ch]:
4141 * bufferview_funcs.C:
4147 * textcursor.[Ch]: adjust
4149 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
4151 * text2.C (undoSpan): add and use
4152 * text.C (breakParagraph): use undoSpan (fix bug 578)
4155 2004-01-08 Angus Leeming <leeming@lyx.org>
4157 * BufferView_pimpl.C (MenuInsertLyXFile):
4158 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4159 * lyxfunc.C (menuNew, open, doImport):
4160 FileFilterList change to the FileDialog open and save functions.
4162 2004-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
4164 * ShareContainer.h: make isEqual and isUnique adaptable
4166 * CutAndPaste.C: make resetOwnerAndChanges adaptable
4168 2004-01-07 Angus Leeming <leeming@lyx.org>
4171 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
4173 * BufferView_pimpl.C (dispatch): act on these LFUNs.
4175 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
4176 functions replacing find, replace and replaceAll.
4178 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
4179 LFUN_WORDFIND(FORWARD|BACKWARD).
4181 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
4183 * text.C (breakParagraph): remove an outdated #warning
4185 2004-01-07 André Pönitz <poenitz@gmx.net>
4187 * lyxfind.C: somewhat clearer logic
4189 * text.C: prevent crash in cursorX on unitialized row cache
4191 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
4193 * lyxcursor.[Ch] (operator>): add
4194 * textcursor.C (selStart, selEnd): use std::min and std::max
4196 2004-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4198 * Chktex.C: include boost/format.hpp
4200 2004-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
4202 * InsetList.C: replace functor MathcIt with adaptable functor
4204 (insetIterator): modify accordingly
4206 * BranchList.h: move the BranchNamesEqual functor here from...
4207 * BranchList.C: ... to here
4209 * BranchList.C: new BranchListEqual fuctor, use it. Remove
4211 (add): replace a finding loop with std::find_if.
4213 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
4215 * output_docbook.C: moving LatexParam functionality into
4218 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4220 * buffer.C: increment format to 229.
4222 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
4225 * lyx_sty.[Ch]: remove minipageindent_def
4231 * text3.C: remove LFUN_INSET_MINIPAGE
4233 2003-12-28 Angus Leeming <leeming@lyx.org>
4235 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
4237 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
4239 * text2.C (setParagraph): fix off-by-one crash
4241 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
4243 * output_docbook.C: header stuff for AGU
4245 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
4247 * text2.C (redoCursor): remove
4250 * BufferView_pimpl.C: remove calls to redoCursor and
4251 setCursor(cursor.par(), cursor.pos()) all around
4253 2003-12-15 Angus Leeming <leeming@lyx.org>
4255 * buffer.C: up the format to 228.
4257 2003-12-15 André Pönitz <poenitz@gmx.net>
4259 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
4264 * BufferView_pimpl.C:
4273 2003-12-15 Angus Leeming <leeming@lyx.org>
4275 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
4276 than getFromGUIName to manipulate the color.
4278 2003-12-14 Angus Leeming <leeming@lyx.org>
4280 * BranchList.[Ch]: minimize the API.
4281 (Branch::getBranch, getColor): now return a 'const &'.
4282 (Branch::setSelected) now returns a bool set to true if the
4283 selection status changes.
4284 (BranchList::clear, size, getColor, setColor, setSelected,
4285 allBranches, allSelected, separator): removed.
4286 (BranchList::find): new functions, returning the Branch with
4288 (BranchList::add, remove): return a bool indicating that
4289 the operation was successful.
4291 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
4292 new InsetBranch::isBranchSlected member function.
4294 * LColor.[Ch]: mimimize the API.
4295 (fill): renamed as addColor and made private.
4296 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
4297 versions of these functions taking a string arg have been removed.
4299 * bufferparams.C (readToken):
4300 * lyxfunc.C (dispatch):
4301 * lyxrc.C (read): changes due to the altered BranchList and
4304 * factory.C (createInset, readInset): changes due to altered
4307 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4310 * lyxfunc.C: remove insetminipage. "minipage-insert"
4311 now produces a frameless minipage box inset.
4313 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4315 * textcursor.[Ch] (selStart,selEnd): add new methods
4316 remove selection::start, end, use LyXCursor::operator<
4317 * lyxcursor.[Ch] (operator<): add
4318 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
4319 * BufferView.[Ch] (unsetXSel): add
4320 * text2.C (clearSelection): use unsetXSel,adjust
4323 * rowpainter.C: adjust
4324 * bufferview_funcs.C (put_selection_at): adjust
4326 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4328 * BufferView_pimpl.C: small coord. correction
4330 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4332 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
4333 dragging over the splash screen.
4335 2003-12-11 Angus Leeming <leeming@lyx.org>
4337 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
4338 as it is now handled in LyXText::dispatch.
4340 * text3.C (doInsertInset): remove a level of nesting.
4342 2003-12-11 Angus Leeming <leeming@lyx.org>
4344 * factory.C (createInset): changes due to the changed interface to
4345 InsetCommandMailer::string2params.
4347 2003-12-10 Angus Leeming <leeming@lyx.org>
4349 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
4350 'dialog-show-new-inset <inset name>'
4352 2003-12-10 Angus Leeming <leeming@lyx.org>
4354 * buffer.C: up the format to 227.
4356 * factory.C: the box inset is now identified simply by 'Box'.
4358 2003-12-10 Angus Leeming <leeming@lyx.org>
4360 * buffer.C: up the format to 226.
4362 * factory.C: the note inset is now identified simply by 'Note'.
4364 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
4366 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
4367 when a pit is enough. Standarize a couple of loops.
4369 2003-12-05 Angus Leeming <leeming@lyx.org>
4371 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
4372 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
4373 data to the re-worked "log" dialog.
4375 2003-12-03 André Pönitz <poenitz@gmx.net>
4381 * paragraph_funcs.C:
4383 * text2.C: use Inset::getText instead of Inset::getParagraph
4385 2003-12-03 André Pönitz <poenitz@gmx.net>
4389 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
4390 InsetText::read() as LyXText::read()
4392 2003-12-02 Angus Leeming <leeming@lyx.org>
4394 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
4395 type. Add a comment in the implementation that the function uses
4396 the stream's bad() function rather than fail() as the std::streams
4399 2003-12-02 André Pönitz <poenitz@gmx.net>
4401 * lyxlex.[Ch]: make interface more similar to std::stream
4403 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
4405 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
4407 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
4409 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
4411 * vspace.[Ch]: remove VSpace::NONE
4413 2003-12-01 André Pönitz <poenitz@gmx.net>
4416 * lyxtext.h: move ParagraphList member to LyXText
4417 rename LyXText::ownerParagraphs to LyXText::paragraph
4420 * bufferview_funcs.C:
4430 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
4432 * undo.C: fix cursor positioning
4434 2003-12-01 John Levon <levon@movementarian.org>
4436 * BufferView_pimpl.C: fix a crash on exit with
4439 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
4441 * BranchList.C: fix setSelected() method.
4443 2003-11-28 André Pönitz <poenitz@gmx.net>
4445 * ParagraphParameters.[Ch]:
4446 * ParameterStruct.h: remove space above/below from Paragraph to
4449 * BufferView_pimpl.C:
4455 * paragraph_funcs.C:
4461 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
4463 * factory.C: Syntax change for CharStyles
4465 2003-11-28 André Pönitz <poenitz@gmx.net>
4470 * buffer.[Ch]: move LyXText member
4472 2003-11-28 André Pönitz <poenitz@gmx.net>
4474 * BufferView.[Ch]: make LyXText * text a private member
4476 * BufferView_pimpl.C:
4487 * output_plaintext.C: cleanup
4489 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
4492 * lyxtextclass.[Ch]: parametrize SGML document header
4494 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
4497 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4500 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
4502 * text2.C (setFont): rework using PosIterator (no more recursive)
4503 (setCharFont): no more needed
4504 (setLayout): no more selection cursors fiddling (done by redoCursor)
4505 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4506 destroy remaining ones)
4508 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
4510 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4512 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4515 * text3.C: adjust + re-allow multi par depth changes
4516 * textcursor.C: simplify a bit
4518 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
4524 * src/output_docbook.C:
4525 * src/output_latex.C:
4530 * src/text2.C: Introducing a number of tags parametrizing various
4531 XML formats that we may want to support
4533 2003-11-25 André Pönitz <poenitz@gmx.net>
4535 * InsetList.[Ch] (begein, end): inline as suggested by profiler
4537 * lyxtext.h (leftMargin/rightMargin): simplify interface
4544 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4546 * lyxfunc.C (dispatch): propogate the bibtex databases from the
4547 master file to any child files. Fixes bug 546.
4549 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4551 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4553 2003-11-24 André Pönitz <poenitz@gmx.net>
4555 * rowpainter.C: simplification
4557 * text2.C (updateCounters): remove call to redoParagraph on
4558 changed labels as this is far too expensive.
4560 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4562 * converter.C (convert): fix a crash: this function gets
4563 called with buffer == 0 from importer code.
4565 2003-11-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4567 * text3.C (cursorPrevious): make sure that we do not compare
4568 iterators form different containers.
4571 * rowpainter.C (paintSelection): make sure that we do not compare
4572 iterators from different containers.
4574 * text3.C (dispatch): [PRIOR] make sure that we do not compare
4575 iterators from different ParagraphList containers.
4578 * text2.C (LyXText): change order of initialization slightly
4579 (operator=): new function. copy all variables except cache_par_
4580 (moveUp): make sure that we do not compare iterators from
4581 different ParagraphList constainers.
4584 * text.C (firstPar): new function
4585 (lastPar): new function
4586 (endPar): new function
4588 * lyxtext.h: move things around and group public functions, public
4589 variables, private functions, private variables
4591 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
4593 * factory.C: change call to InsetERT constructor to avoid
4594 additional invocation of method status
4595 * text2.C (toggleInset): remove redundant update() call
4596 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4597 instead of a Bufferview pointer
4599 2003-11-21 André Pönitz <poenitz@gmx.net>
4601 * rowpainter.C: simplification
4603 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4605 * text3.C (dispatch): make possible to extend a word/row selection
4608 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4610 * lyxtext.h: x0_,y0_ -> xo_,yo_
4611 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4612 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4613 * rowpainter.C (paintRows): paint full paragraphs
4615 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4617 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4620 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4622 * lyxtext.h: add x0_, y0_
4623 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4624 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4626 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
4628 * text2.C (setCursorIntern): move the x_target update here *
4629 * text3.C: change some bv() to true/false in calls to
4630 cursorUp/Down/Right/Left
4631 * cursor.C: use helper function.
4633 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4635 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4636 * paragraph_funcs.[Ch]: correct comment
4637 * rowpainter.C: do not paint selections away from bv->cursor()
4638 Fix a long standing selection painting bug.
4639 * text3.C: generalize mouse-selection code to LyXTexts other that
4641 * textcursor.C: do not use y coords if we can use par offsets
4643 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4645 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4646 cursor position after e.g. inset insert)
4648 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
4650 * lyxfind.C (replace): adjust to locking removal + some
4653 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
4655 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4658 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
4661 * output_docbook.C: XML sanitation: new layout
4662 parameters InnerTag and CommandDepth
4664 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
4666 * BufferView_pimpl.C:
4668 * text3.C: Fix the insertion and modification of button-style
4671 2003-11-13 André Pönitz <poenitz@gmx.net>
4673 * InsetList.[Ch]: remove deleteLyXText
4675 * paragraph.[Ch]: cache beginOfBody position
4680 * text3.C: remove superfluous update() calls
4684 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
4686 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4687 * BufferView.C (fitLockedInsetCursor): remove
4688 * cursor.[Ch] (getDim): add
4689 * text.C (getRowNearY): add faster version
4690 * text3.C: remove some update calls
4692 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
4704 * text3.C: The Character Style /XML short element patch.
4706 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
4709 * factory.C: Small step to solving 'unable to insert some insets'
4712 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
4714 * cursor.[Ch] (updatePos): new function for updating the y
4715 position of the tip inset
4716 * bufferview_funcs.C (put_selection_at):
4717 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4719 2003-11-11 André Pönitz <poenitz@gmx.net>
4721 * text.C: remove big comment on invalid Paragraph pointers as it is
4724 2003-11-11 André Pönitz <poenitz@gmx.net>
4726 * text_funcs.[Ch]: merge with ...
4734 * Makefile.am: remove text_funcs.[Ch]
4736 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
4738 * cursor.C (getPos): return absolute cached y coord
4740 * BufferView_pimpl.C (fitCursor): new simplistic code
4741 (workAreaDispatch): add a fitCursor call
4743 2003-11-10 André Pönitz <poenitz@gmx.net>
4746 * BufferView_pimpl.[Ch]: merge update() and updateInset()
4748 2003-11-10 André Pönitz <poenitz@gmx.net>
4750 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4751 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4752 indicate that the cursor needs to leave an inset
4754 * lyxtext.h: remove inset locking
4756 * cursor.[Ch]: re-implement functionality provided by inset locking
4759 * BufferView_pimpl.[Ch]:
4761 * bufferview_funcs.[Ch]:
4773 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
4775 * PosIterator.[Ch]: replace the stack with a vector, add inset
4777 * iterators.[C]: adjust
4779 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4781 * lyxfind.C (replaceAll): mark the buffer dirty if something was
4783 * paragraph_funcs.C (readParToken): put the correct id in the
4784 error item, not the id of the top paragraph
4786 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4788 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4789 * bufferview_funcs.C (put_selection_at): use the above
4791 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4793 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4795 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4797 * output_linuxdoc.h:
4798 * output_plaintext.h:
4800 * output_docbook.h: add #include statements
4802 2003-11-05 José Matos <jamatos@lyx.org>
4804 * output_docbook.[Ch]:
4805 * output_latex.[Ch]:
4806 * output_linuxdoc.[Ch]:
4807 * output_plaintext.[Ch]: New files for output formats.
4808 * output.[Ch]: New file for helper functions.
4811 * paragraph_funcs.[Ch]: output functions moved to new files.
4813 * outputparams.h: rename of latexrunparams.h
4821 * paragraph_funcs.[Ch]:
4822 * paragraph_pimpl.[Ch]:
4823 * tabular.[Ch]: rename ascii to plaintext
4824 and LatexRunParams to OutputParams.
4826 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4828 * iterators.[Ch] (text): require bv argument
4829 * undo.C (recordUndo):
4830 * lyxfunc.C (dispatch):
4831 * bufferview_funcs.C (put_selection_at): adjust
4833 2003-11-05 Jo� Luis M. Assirati <assirati@fma.if.usp.br>
4835 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4837 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4839 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4842 2003-11-04 André Pönitz <poenitz@gmx.net>
4844 * cursor.[Ch]: restructure
4847 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4849 * iterators.[Ch] (asCursor): remove
4851 * lfuns.h: remove LFUN_INSET_EDIT
4857 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4859 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4861 * lyxfind.[Ch]: complete overhaul
4862 * BufferView_pimpl.C:
4864 * paragraph.[Ch] (insert): add
4866 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4870 * text.C: remove dead spellcheck code
4872 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4874 * dispatchresult.h: add a val setter
4876 * cursor.C (dispatch): use a tempvar for data_[i]
4878 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4880 * PosIterator.[Ch]: compile fix
4882 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4884 * text.C (cursorPar): deactivate the cursor cache
4886 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4888 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4890 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4892 * text3.C (dispatch): adjust for new DisptchResult semantics.
4894 * lyxfunc.C (dispatch): handle update when return from
4895 Cursor::dispatch, adjust for new DispatchResult semantics.
4897 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4898 DispatchResult(true) mean to not update. Add class functions for
4899 setting dispatched and update, as well as reading.
4901 * cursor.C (dispatch): don't handle update here
4903 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4905 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4906 * trans_mgr.C: adjust
4908 * paragraph_funcs.C (readParToken): exception safety
4910 * lyxvc.h: store the vcs pointer in a scoped_ptr
4913 * lyxsocket.C (serverCallback): exception safety
4915 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4917 * ispell.C (clone): make it return a auto_ptr
4919 * factory.C (createInset): exception safety
4920 (readInset): exception safety
4922 * bufferlist.C (newBuffer): exception safety
4924 * Thesaurus.C (Thesaurus): use initialization for aik_
4926 * MenuBackend.C (expandToc): exception safety.
4928 2003-11-03 André Pönitz <poenitz@gmx.net>
4932 * bufferview_funcs.C: remove getInsetFromId()
4935 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4941 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4943 * PosIterator.C (distance, advance): new
4944 * bufferview_funcs.[Ch] (put_selection_at): new
4945 * iterators.[Ch] (lockPath): new
4947 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
4949 * iterators.[Ch] (asPosIterator): added
4950 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4951 * PosIterator.[Ch]: added
4953 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4957 * cursor.C (dispatch):
4958 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4960 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4961 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4962 contructor, add a class function dispatched. Remove operator>=
4964 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4966 * debug.C: only use the default constructor for debugstream
4969 * main.C (main): include debug.h and setup the lyxerr streambuf
4972 2003-10-31 José Matos <jamatos@lyx.org>
4974 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4976 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4977 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4978 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4979 * paragraph_pimpl.C (simpleTeXSpecialC):
4980 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4981 add LatexRunParams argument.
4983 * exporter.C (Export): change call accordingly.
4985 * latexrunparams.h: add new member to take care of the other backends.
4986 2003-10-30 José Matos <jamatos@lyx.org>
4988 * buffer.C (makeLinuxDocFile, makeDocBookFile):
4989 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4990 factorise code for paragraph output.
4992 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4995 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4997 * text3.C (dispatch):
4998 * lyxfunc.C (dispatch):
4999 * cursor.C (dispatch):
5000 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
5002 * dispatchresult.h: make the dispatch_result_t ctor explicit
5004 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
5007 * buffer.C: small refactoring of docbook stuff
5009 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5011 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
5014 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5016 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
5017 operator dispatch_result_t, and operators for == != and >=
5019 * cursor.C (dispatch): adjust for operator dispatch_result_t
5020 removal. comment out call to update
5022 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
5024 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5032 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
5035 * dispatchresult.h: new file, DispatchResult broken out of
5038 * Makefile.am (lyx_SOURCES): add dispatchresult.h
5040 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
5042 * text.C (rowBreakPoint): put a hack inside #if 0
5044 2003-10-28 André Pönitz <poenitz@gmx.net>
5048 * paragraph_funcs.C:
5051 * text2.C: general cleanup (lots of small stuff)
5053 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
5055 * text2.C (cursorEnd): simple fix to the "end key goes to one
5056 before the end on last row" bug
5058 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5060 * text.C (backspace): fix the "zombie characters"
5062 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5064 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
5066 2003-10-27 André Pönitz <poenitz@gmx.net>
5068 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
5070 * factory.C: handle new InsetPagebreak, InsetLine
5072 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
5073 and move handling into new InsetPagebreak, InsetLine
5075 * BufferView_pimpl.C:
5077 * ParagraphParameters.C:
5078 * ParameterStruct.h:
5083 * paragraph_funcs.C:
5084 * paragraph_pimpl.C:
5090 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5093 * lyxrow_funcs.[Ch]:
5099 * text3.C: remove lastPos uses in favour of Row::endpos
5101 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5103 * undo.C (performUndoOrRedo): fix two crashes by setting a
5104 cursor by hand and reordering some calls. Use bv->lockInset instead
5105 of inset->edit because the latter loses cursor information
5107 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
5109 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
5111 (rowBreakPoint): fix width. change point to point + 1.
5112 Add a missing check.
5114 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
5117 * lyxfunc.C: fix (at least partly) the problems
5118 with the Nav menu and headers inside branch insets
5121 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
5123 * paragraph.C (getChar): add strong asserts
5125 * lyxrow_funcs.C (lastPos): remove hideous hack
5127 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
5128 (fill): adjust to that (avoid an infinite loop)
5130 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
5132 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
5134 2003-10-23 André Pönitz <poenitz@gmx.net>
5136 * RowList_fwd.h: change list<> to vector<> to gain speed
5137 after suggestion from Alfredo
5139 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
5141 * lyxtext.h: move the bidi stuff from here...
5144 * Bidi.[Ch]: ... to here
5146 2003-10-23 André Pönitz <poenitz@gmx.net>
5149 * text.C (isLastRow, isFirstRow): new functions
5151 * paragraph.h: new width cache member
5153 * rowpainter.C: replace RowList::iterator with Row & where possible
5155 * lyxfunc.C: replace several view()->text with a single call
5157 * toc.C: fix 'unused' warning
5159 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5161 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
5162 when woring with stream::pos_type
5163 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
5165 2003-10-22 André Pönitz <poenitz@gmx.net>
5168 * text.C: use Row & instead of RowList::iterator
5170 * lyxrow.h: rename end() to endpos()
5176 2003-10-22 Angus Leeming <leeming@lyx.org>
5178 * buffer.[Ch] (fully_loaded): new member function, returning true
5179 only when the file has been loaded fully.
5180 Used to prevent the premature generation of previews and by the
5181 citation inset to prevent computation of the natbib-style label.
5183 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
5184 templates are all set up.
5186 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
5188 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
5190 * text.C: fixed an "oops" in the "is a bit silly"
5193 2003-10-21 André Pönitz <poenitz@gmx.net>
5195 * FuncStatus.[Ch]: small stuff, whitespace
5197 * lyxfont.[Ch]: operator<<() for debug reasons
5201 * lyxtext.h: whitespace, spelling
5203 * paragraph.C: naming of variables
5206 * text2.C: small stuff
5209 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
5211 * text.C: (1) finish off the inset display() work;
5212 (2) fix the "is a bit silly" bug (accessing char
5215 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
5217 * text.C: re-introduce display() for insets, fixing the
5218 various bugs (stretch of line above, math inset
5221 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5223 * text.C (rightMargin): remove spurious semicolon
5225 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
5228 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
5230 * text3.C: fix one crash due to wrong cursor def
5232 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5234 * vc-backend.C (scanMaster): make the regex static
5236 * LaTeX.C (scanAuxFile): make the regexs static
5238 * text3.C (doInsertInset, dispatch, dispatch):
5239 * text2.C (cursorUp, cursorDown):
5240 * text.C (selectNextWordToSpellcheck):
5241 * BufferView_pimpl.C (dispatch):
5242 * lyxfunc.C (dispatch): localDispatch -> dispatch
5244 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5246 * lyxsocket.C: include <cerrno>
5248 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5250 * lyxfunc.C (dispatch): remove textcache stuff
5252 * bufferlist.C (release): remove textcache stuff
5255 * TextCache.C: delete file
5256 * TextCache.h: delete file
5258 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
5260 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
5261 delete of the bv_->text.
5262 (resizeCurrentBuffer): remove texcache stuff
5263 (workAreaResize): ditto
5265 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5267 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
5270 2003-10-16 André Pönitz <poenitz@gmx.net>
5277 * text3.C: speed up by storing y positions per paragraph plus per-row
5278 offset instead of having a 'full' y position in the row.
5280 2003-10-15 André Pönitz <poenitz@gmx.net>
5284 * undo.[Ch]: make undo aware of inner insets
5286 2003-10-14 Angus Leeming <leeming@lyx.org>
5288 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
5289 static member functions LyX::ref() and LyX::cref.
5290 (lastfiles): new accessor functions for the new lastfiles_ member var.
5291 (addLyXView, views_): add a new LyXView to the list of views_.
5292 (updateInset): loop over all LyXViews to call their own updateInset
5293 member function, returning a pointer to the Buffer owning the inset.
5295 * BufferView_pimpl.C (loadLyXFile):
5296 * MenuBackend.C (expandLastfiles):
5297 * bufferlist.C (MenuWrite, QuitLyX):
5298 lastfiles is no longer a global variable.
5299 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
5301 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
5302 static function. Access through LyX::cref().emergencyCleanup().
5304 2003-10-14 André Pönitz <poenitz@gmx.net>
5306 * iterators.[Ch]: new direct access to innermost LyXText and Inset
5308 * undo.[Ch]: restoring part of 'undo in insets'
5311 * undo_funcs.[Ch]: merge with undo.[Ch]
5313 * tabular.C: small cleansing stuff
5315 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
5317 * paragraph_funcs.C (readParToken): report unknown insets as error
5318 boxes. Use the outer paragraph as location (also for unknown
5321 * factory.C (readInset): do not abort on reading an unknown inset.
5322 Eat it and return 0.
5324 2003-10-13 Angus Leeming <leeming@lyx.org>
5326 * lyx_main.C (LyX): remove call to setDisplayTranslator().
5328 * lyxrc.C: displayTranslator is now a function,
5329 declared in GraphicsTypes.h.
5331 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5333 * format.C: new placeholder $$a to pass the socket address.
5335 * bufferlist.[Ch]: new function getBufferFromTmp.
5337 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
5338 files in the temporary dir.
5340 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5342 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
5344 * Makefile.am: add lyxsocket.[Ch].
5346 * lyx_main.C (error_handler): handle SIGPIPE.
5348 2003-10-13 André Pönitz <poenitz@gmx.net>
5350 * BufferView_pimpl.C:
5355 * undo_funcs.[Ch]: use paroffset_type instead of
5356 ParagraphList::iterators to prevent multiple conversion
5357 (and get a more robust interface)
5359 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5361 * lyxfunc.C (dispatch): RESULT -> dispatch_result
5363 * text3.C (dispatch): ditto
5365 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5367 * LaTeX.C (handleFoundFile): move the static to smaller scope,
5368 move the onlyfile, use onlyfile instead of foundfile in a couple
5371 * DepTable.C (update): flush the error stream a bit more
5373 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5375 * lyxserver.C (callback): adjust
5377 * lyxfunc.C (getStatus): add a missing brace in commented code
5378 (ensureBufferClean): reindent
5379 (dispatch): delete version taking a string
5381 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5383 * LaTeX.C (deplog): move found file handlig from here...
5384 (handleFoundFile): .. to new function here.
5385 (deplog): make sure to discover several files mentioned on the
5388 2003-10-10 André Pönitz <poenitz@gmx.net>
5395 * text3.C: fix some of the tabular crashes
5397 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5399 * MenuBackend.C (binding): put debug message into Debug::KBMAP
5401 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
5403 2003-10-09 André Pönitz <poenitz@gmx.net>
5405 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
5408 * BufferView_pimpl.C:
5409 * bufferview_funcs.C:
5420 * undo_funcs.C: adjust
5422 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5424 * text2.C (incrementItemDepth): new function, use a backtracking
5425 algorithm to discover the correct item depth.
5426 (resetEnumCounterIfNeeded): new function, use a backtracking
5427 algorithm to discover if counter reset is needed.
5428 (setCounter): use them. Simplify a bit. Add different labels for
5429 different item depths for itemize.
5431 * paragraph.C (Paragraph): remove initialization of enumdepth
5434 * paragraph.h: get rid of enumdepth, and use itemdepth both for
5435 enumerate and itemize. Change the type of itemdepth to signed char.
5437 2003-10-08 André Pönitz <poenitz@gmx.net>
5439 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5444 * tabular.[Ch]: fix crash after 'row-insert'
5446 2003-10-08 Angus Leeming <leeming@lyx.org>
5448 Fix doxygen warnings.
5450 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5451 Remove CutAndPaste:: prefix from header file declaration.
5453 * LColor.h (fill): remove LColor:: prefix from declaration.
5455 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5456 use lyx::depth_type rather than Paragraph::depth_type so that
5457 header file and .C file match.
5459 * converter.h (intToFormat): remove Converters:: prefix from declaration.
5461 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5462 * aspell.C: \file aspell_local.C -> \file aspell.C
5463 * gettext.C: \file gettext.C -> \file src/gettext.C
5464 * gettext.h: \file gettext.h -> \file src/gettext.h
5465 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5466 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5467 * text.C: \file text.C -> \file src/text.C
5469 * toc.C: move comment so that doxygen is not confused.
5471 2003-10-07 Angus Leeming <leeming@lyx.org>
5473 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5475 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5478 * aspell_local.h: add forgotten std::string's.
5480 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
5487 * text3.C: The Box patch. Fancybox support, minipage, parbox
5489 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
5495 * ParagraphParameters.h:
5505 * lyxtextclasslist.h:
5508 * paragraph_pimpl.C:
5509 * textcursor.h: add <string> and other small fixes to make Lars'
5510 std::string patch compile with STLport.
5512 2003-10-06 Angus Leeming <leeming@lyx.org>
5514 * LColor.h: Add missing #include <string>.
5516 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5518 * All most all file in all subdirs: Make <string> be the prefered
5519 way of getting to std::string, add using declarations.
5521 2003-10-06 André Pönitz <poenitz@gmx.net>
5523 * metricsinfo.C: initialize LyXFont before changing attribute.
5524 (fixes the 'math in \emph is upright' bug)
5526 2003-10-06 André Pönitz <poenitz@gmx.net>
5528 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5530 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
5533 * paragraph_pimpl.C: Small fixes to build using STLport
5535 2003-10-02 André Pönitz <poenitz@gmx.net>
5538 * text3.C: move handling of LFUN_DEPTH *; fix #1360
5540 2003-10-01 André Pönitz <poenitz@gmx.net>
5542 * factory.C: assert early
5544 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5546 * lyx_main.C: remove the global debug object
5548 * debug.h: adjust for new debugstream
5550 * debug.C: adjust for new debugstream and keep the global debug
5553 2003-09-22 Angus Leeming <leeming@lyx.org>
5555 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5556 of g++ which otherwise complain that the scoped_ptr destructor can't delete
5557 an incomplete class LyXFont.
5559 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
5561 * factory.C: bug fix in branches
5563 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5565 * lyxfunc.C (processKeySym): adjust
5567 (dispatch): change arg name from ev to func, adjust
5568 (sendDispatchMessage): ditto
5570 * lyx_main.C (defaultKeyBindings): adjust keybindings
5571 (deadKeyBindings): ditto
5573 * kbsequence.C (addkey): return a FuncRequest
5575 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5577 * kbmap.C (bind): take a FuncRequest as arg, adjust
5580 (defkey): change to take a FuncRequest as arg, adjust
5581 (findbinding): take a FuncRequest as arg, adjust.
5583 * funcrequest.h (operator=): added
5585 * funcrequest.C (FuncRequest): default kb_action changed from
5586 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5588 * buffer.C (dispatch): simplify
5589 (dispatch): adjust to take a FuncRequest as arg, adjust
5591 * boost.C (assertion_failed): change assertion message slightly
5593 * ToolbarBackend.C (read): simplify
5595 * MenuBackend.C (binding): adjust call to findbinding, add a
5596 message if no binding is found.
5598 (expandToc): correct by adding a empty FuncRequest
5600 * LyXAction.C: include <boost/assert.hpp>
5601 (isPseudoAction): delete function
5602 (LookupFunc): change name to...
5603 (lookupFunc): this. change return type to FuncRequest.
5604 (getActionName): take kb_action as arg, simplify
5605 (funcHasFlag): add an assert, simplify.
5607 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5609 * toc.C (action): return a FuncRequest, simplify
5611 * lyxfunc.C (processKeySym): adjust
5612 (getStatus): delete version that takes an int.
5614 (dispatch): delete version that takes action as int
5616 (sendDispatchMessage): simplify and adjust
5618 * funcrequest.C (getArg): take unsigned int as arg
5620 * ToolbarBackend.C (read): adjust
5621 (add): delete version that takes func as a string.
5622 (getIton): take a FuncRequest as arg
5624 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5627 * MenuBackend.C (MenuItem): add a new construct that only takes a
5628 Kind, simplify the constructor use for submenus.
5630 (expandLastfiles): adjust
5631 (expandDocuments): adjust
5632 (expandFormats): adjust
5633 (expandFloatListInsert): adjust
5634 (expandFloatInsert): adjust
5635 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5637 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5638 Remove class variables lyx_pseudo_map and lyx_arg_map
5640 * LyXAction.C (searchActionArg): delete function
5641 (getPseudoAction): delete function
5642 (retrieveActionArg): delete function
5643 (LookupFunc): make it return kb_action, simplify.
5644 (getActionName): simplify
5646 * factory.C (createInset): fix new bug
5648 2003-09-19 Angus Leeming <leeming@lyx.org>
5650 * CutAndPaste.C (pasteSelection): remove fudge used to set the
5651 masterFilename_ parameter in the include inset.
5653 * factory.C (createInset): changes due to the changes to InsetInclude.
5655 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5657 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5659 2003-09-18 Angus Leeming <leeming@lyx.org>
5662 * BufferView.C: pass the buffer when calling Inset::getLabelList,
5663 Inset::fillWithBibKeys.
5664 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5666 2003-09-18 Angus Leeming <leeming@lyx.org>
5668 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5670 (ctor): pass and store a 'Buffer const &'
5671 (buffer): new member function.
5673 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5674 '*this' to the LaTeXFeatures ctor.
5676 2003-09-18 Angus Leeming <leeming@lyx.org>
5682 * text.C: rename EnumLColor as LColor_color.
5684 2003-09-18 Angus Leeming <leeming@lyx.org>
5686 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5687 remove #include "insets/insetbase.h" from cursor.h.
5689 2003-09-18 Angus Leeming <leeming@lyx.org>
5691 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5692 InsetOld_code to remove #include "inset.h".
5694 * iterators.C: add #include "insets/inset.h"
5696 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
5698 * BufferView.C: remove more locking stuff that apparently doesn't
5699 do anything sensible.
5701 2003-09-16 André Pönitz <poenitz@gmx.net>
5704 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5707 2003-09-16 Angus Leeming <leeming@lyx.org>
5709 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5711 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5714 * paragraph.h: remove #include "lyxfont.h". Forward declare
5717 2003-09-16 Angus Leeming <leeming@lyx.org>
5719 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5720 of support/textutils.h.
5721 (isWord): move the contents of support/textutils.h's IsWordChar here.
5727 * text2.C: add #include "paragraph.h".
5730 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5732 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5738 * LaTeX.C: use namespace alias for lyx::support::os
5740 2003-09-16 Angus Leeming <leeming@lyx.org>
5743 * bufferview_funcs.C:
5746 * paragraph_pimpl.C:
5748 * text.C: add #include "LColor.h".
5750 2003-09-16 Angus Leeming <leeming@lyx.org>
5752 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5753 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5755 Store the FontBits::color variable as an int rather than as an
5756 LColor::colorso that we can move LColor.h out of the lyxfont.h header
5759 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5760 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5761 string calls together.
5763 * lyxrc.C: add #include "LColor.h".
5765 2003-09-15 Angus Leeming <leeming@lyx.org>
5767 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5770 2003-09-15 Angus Leeming <leeming@lyx.org>
5772 * LColor.h: add an EnumLColor wrapper for LColor::color.
5774 * lyxfont.[Ch] (color, setColor, realColor):
5775 * lyxtext.h, text.C (backgroundColor):
5776 pass EnumLColor args to/from the functions, rather than LColor::color
5780 * lyxtext.h: forward declare EnumLColor.
5782 * lyx_main.C: add #include "LColor.h".
5784 2003-09-15 Angus Leeming <leeming@lyx.org>
5786 * .cvsignore: add lyx-gtk.
5788 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5793 * ParagraphParameters.C
5797 * bufferview_funcs.C
5807 * vc-backend.C: remove usage of STRCONV
5809 2003-09-15 Angus Leeming <leeming@lyx.org>
5811 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5812 explicitly define the color passed to the painter.
5814 2003-09-15 Angus Leeming <leeming@lyx.org>
5816 * bufferparams.C (BufferParams): reorder member initializers to avoid
5819 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
5821 * CutAndPaste.C (pasteSelection): remove an outdated #warning
5822 * text.C (updateRowPositions): remove an unusual nop
5824 2003-09-12 André Pönitz <poenitz@gmx.net>
5826 * BufferView_pimpl.C:
5835 * Counters.[Ch]: finish the 'automatic counters' job
5837 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5839 * aspell.C: include <boost/assert.cpp> (compile fix)
5841 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
5843 * boost.C (assertion_failed): use lyx::support::abort instead of
5846 2003-09-10 Angus Leeming <leeming@lyx.org>
5848 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5849 with their _fwd progeny.
5851 2003-09-09 Angus Leeming <leeming@lyx.org>
5853 134 files throughtout the source tree: replace 'using namespace abc;'
5854 directives with the appropriate 'using abc::xyz;' declarations.
5856 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5858 * boost.C (emergencyCleanup): moved here from LAssert.c
5859 (assertion_failed): new function, called by BOOST_ASSERT
5861 * several files: change Assert to BOOST_ASSERT
5863 2003-09-09 Angus Leeming <leeming@lyx.org>
5865 * buffer.[Ch]: Add an Impl class and move Buffer's member
5866 variables into it. As a result move several header files out of
5869 Add header files to lots of .C files all over the tree as a result.
5871 2003-09-09 Angus Leeming <leeming@lyx.org>
5873 * buffer.[Ch]: make Buffer's member variables private. Add
5876 Lots of changes all over the tree as a result.
5878 2003-09-08 Angus Leeming <leeming@lyx.org>
5880 * graph.C: #include <config.h>.
5882 2003-09-08 Angus Leeming <leeming@lyx.org>
5886 * BufferView_pimpl.C:
5915 * toc.C: remove redundant using directives.
5917 2003-09-07 Angus Leeming <leeming@lyx.org>
5919 * LaTeXFeatures.h: remove #include "support/types.h".
5920 * ToolbarBackend.h: remove #include <algorithm>.
5921 * changes.h: remove #include <ctime>.
5922 * debug.h: remove #include <iosfwd>.
5923 * graph.h: remove #include "support/std_string.h".
5924 * lyx_main.h: remove #include <csignal>.
5925 * lyxlex_pimpl.h: remove #include <fstream>.
5926 * sgml.h: remove #include <algorithm>, <utility>.
5927 * toc.h: remove #include "support/std_ostream.h".
5928 Add #include <iosfwd>.
5930 2003-09-07 Angus Leeming <leeming@lyx.org>
5932 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5934 * converter.h: forward declare LatexRunParams.
5935 * encoding.h: remove #include "lyxrc.h".
5936 * lyxtext.h: remove #include "LColor.h".
5937 * lyxtextclass.h: remove #include "support/types.h".
5938 * trans.h: remove #include "tex-accent.h".
5939 * trans_mgr.h: remove #include "tex-accent.h".
5940 * insets/inset.h: remove #include "support/types.h", <vector>.
5941 * insets/insetcollapsable.h: remove #include "LColor.h".
5942 * insets/insetinclude.h: remove #include "dimension.h".
5943 * insets/insetlatexaccent.h: remove #include "dimension.h".
5944 * insets/insetoptarg.h:: remove #include "insettext.h".
5945 * insets/insettext.h: remove #include "dimension.h",
5946 <boost/shared_ptr.hpp>
5948 * insets/renderers.h: add #include "dimension.h".
5949 * insets/updatableinset.h: add #include "support/types.h".
5951 * many .C files: Associated changes.
5953 2003-09-06 Angus Leeming <leeming@lyx.org>
5955 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5956 one, inside testInvariant.
5958 * PrinterParams.C: new file.
5959 * PrinterParams.[Ch]: move the function bodies out of line.
5961 2003-09-06 Angus Leeming <leeming@lyx.org>
5963 * ParagraphParameters.h: forward declare ParameterStruct rather than
5964 including its header file.
5965 (depth): moved out-of-line.
5967 2003-09-06 Angus Leeming <leeming@lyx.org>
5969 * BufferView_pimpl.h:
5972 * lyxfunc.h: forward declare LyXKeySym rather than
5973 #include "frontends/LyXKeySym.h".
5975 * BufferView_pimpl.C:
5978 * lyxfunc.C: associated changes.
5980 2003-09-06 Angus Leeming <leeming@lyx.org>
5982 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5983 As a result, can remove the #include "insets/inset.h" from BufferView.h
5985 2003-09-06 Angus Leeming <leeming@lyx.org>
5987 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5988 As a result, can remove the #include "insets/inset.h" from BufferView.h
5990 2003-09-06 Angus Leeming <leeming@lyx.org>
5996 * bufferview_funcs.C:
5997 * BufferView_pimpl.C:
6002 * ParagraphParameters.C:
6007 * frontends/controllers/ControlDocument.C:
6008 * insets/insetcaption.C: rearrange the #includes into some sort of
6011 * buffer.h: remove #includes ErrorList.h, undo.h
6013 2003-09-06 Angus Leeming <leeming@lyx.org>
6015 * support/types.h: add a 'depth_type' typedef, used to store the
6016 nesting depth of a paragraph.
6019 * ParameterStruct.h: use this lyx::depth_type typedef rather than
6020 defining explicitly.
6023 * paragraph_funcs.h:
6024 * ParagraphParameters.h:
6025 * sgml.h: use lyx::depth_type rather than Paragraph or
6026 ParameterStruct's depth_type.
6029 * paragraph_funcs.h: no need to #include paragraph.h anymore.
6032 * BufferView_pimpl.C:
6034 * ParagraphParameters.C:
6037 * bufferview_funcs.C:
6044 * frontends/LyXView.C:
6045 * frontends/controllers/ControlDocument.C:
6046 * frontends/controllers/ControlErrorList.C:
6047 * insets/insetbibitem.C:
6048 * insets/insetbranch.C:
6049 * insets/insetcaption.C:
6050 * insets/insetcollapsable.C:
6051 * insets/insetenv.C:
6052 * insets/insetert.C:
6053 * insets/insetfloat.C:
6054 * insets/insetfoot.C:
6055 * insets/insetfootlike.C:
6056 * insets/insetnewline.C:
6057 * insets/insetquotes.C:
6058 * insets/insettabular.C:
6059 * insets/insettext.C:
6060 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
6062 * frontends/controllers/ControlChanges.C: #include "changes.h".
6064 2003-09-06 Angus Leeming <leeming@lyx.org>
6066 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
6067 than #including paragraph.h.
6070 * RowList.h: deleted. Superfluous.
6080 * insets/insettext.h: use ParagraphList_fwd.h rather than
6083 * paragraph.h: don't forward declare ParagraphList.
6086 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
6087 rather than ParagraphList.h. paragraph.h is still needed for the
6088 Paragraph::depth_type parameters.
6090 * textcursor.h: enable it to compile stand-alone in light of the
6093 * bufferview_funcs.C:
6105 * frontends/controllers/ControlParagraph.C:
6106 * frontends/controllers/ControlTabular.C:
6107 * insets/insetmarginal.C:
6108 * insets/insetminipage.C:
6109 * insets/insetnote.C:
6110 * insets/insetoptarg.C: add header files needed to compile again.
6112 2003-09-06 Angus Leeming <leeming@lyx.org>
6114 * RowList_fwd.h: new file, forward-declaring Row rather than
6115 #including lyxrow.h.
6120 * insets/insettext.h: use it instead of RowList.h
6122 * bufferview_funcs.C:
6129 * text3.C: #include "RowList.h".
6131 2003-09-05 Angus Leeming <leeming@lyx.org>
6133 * factory.C (createInset):
6134 * vspace.C (c-tor): replace sscanf call with an istringstream.
6135 * ispell.C: re-add missing HP/UX headers.
6136 * lyxserver.C: re-add missing os2 headers.
6138 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
6147 * text3.C: re-add missing system headers, needed for 2.95.2.
6149 2003-09-05 Angus Leeming <leeming@lyx.org>
6151 Changes most place everywhere due to the removal of using directives
6152 from support/std_sstream.h.
6154 2003-09-05 Angus Leeming <leeming@lyx.org>
6156 Replace LString.h with support/std_string.h,
6157 Lsstream.h with support/std_sstream.h,
6158 support/LIstream.h with support/std_istream.h,
6159 support/LOstream.h with support/std_ostream.h.
6161 Changes resulting throughout the tree.
6163 2003-09-05 Angus Leeming <leeming@lyx.org>
6165 * sgml.h: ensure that the header file can be compiled stand-alone.
6166 * *.C: strip out redundant #includes. (320 in total.)
6168 2003-09-04 Angus Leeming <leeming@lyx.org>
6170 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
6171 here (from getPackages).
6173 * debug.[Ch]: add a new EXTERNAL tag.
6175 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6177 * text2.C (cursorEnd): simplify
6179 (getColumnNearX): adjust
6181 * text.C (computeBidiTables): adjust
6184 * rowpainter.C (paintChars): adjust
6185 (paintSelection): adjust
6186 (paintChangeBar): adjust
6189 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
6191 (numberOfSeparators): adjust
6193 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
6199 * text3.C: Restricts the mouse click functionality
6200 of insets like bibtex, include, toc and floatlist to the visible
6201 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
6202 up the dialogs. Cursor has to be in front of the inset (i.e.
6203 start of row) for this to function.
6205 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6207 * bufferview_funcs.C (currentState): output row information
6209 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6211 * bufferview_funcs.C (currentState): output paragraph position
6213 2003-09-04 Angus Leeming <leeming@lyx.org>
6215 * FloatList.h: move out #include "Floating.h".
6216 * LaTeX.h: move out #include "DepTable.h".
6217 * LyXAction.h: move out #include "funcrequest.h".
6218 * buffer.h: move out #include "author.h", "iterators.h".
6219 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
6220 * lyx_main.h: move out #include "errorlist.h".
6221 * lyxfunc.h: move out #include "FuncStatus.h".
6222 * lyxtext: move out #include "lyxcursor.h".
6223 * paragraph_pimpl.h: move out #include "counters.h".
6225 2003-09-03 Angus Leeming <leeming@lyx.org>
6227 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
6228 preamble_snippets list, enabling us to add snippets to the preamble
6229 only if the snippet was not there already.
6231 2003-09-04 Angus Leeming <leeming@lyx.org>
6233 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
6235 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6237 * lyxfunc.C (dispatch): if fitCursor did something be sure to
6240 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
6242 * BranchList.C: point fix, earlier forgotten
6244 2003-09-02 Angus Leeming <leeming@lyx.org>
6246 * box.C (contains): renamed from 'contained' after a fantastic
6249 2003-09-02 John Levon <levon@movementarian.org>
6255 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
6257 2003-09-02 John Levon <levon@movementarian.org>
6259 * text2.C: simplification of cursorEnd(), including partial
6262 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6264 * buffer.C (readFile): add a space
6266 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
6268 * BufferView_pimpl.C (update): remove bogus fitCursor() call
6270 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6272 * buffer.C (readFile): new function, take a filename and a
6273 ParagraphList::iterator
6275 (readFile): adjust, make it private. don't use setStream, make
6276 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
6277 always contain the filename.
6279 * BufferView.C (insertLyXFile): simplify and make it work for
6282 2003-08-30 John Levon <levon@movementarian.org>
6284 * Makefile.am: fix dist (from Kayvan)
6286 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6288 * most files: change to use const Buffer refs
6290 2003-08-27 André Pönitz <poenitz@gmx.net>
6292 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
6293 on top of ownerPar().
6295 2003-08-27 John Levon <levon@movementarian.org>
6297 * funcrequest.C: properly initialise POD members
6299 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
6301 * lyxtext.h (top_y): move top_y from here
6306 * BufferView_pimpl.[Ch]: to here
6307 * frontends/screen.C:
6308 * insets/insettabular.C:
6309 * insets/insettext.C: adjust
6310 * rowpainter.[Ch] (paintRows): remove LyXText & argument
6312 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
6315 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
6317 2003-08-26 André Pönitz <poenitz@gmx.net>
6319 * paragraph_func.[Ch] (outerPar): new function
6322 * paragraph_funcs.C:
6323 * paragraph_funcs.h:
6324 * paragraph_pimpl.C:
6325 * text2.C: remove Inset::par_owner
6327 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
6332 * text2.C: eliminates the needFullRow/display() stuff
6333 altogether, putting the logic in metrics/draw in the insets.
6335 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
6337 * text2.C (redoParagraphInternal, redoParagraphs):
6338 * text.C (redoParagraph): add a call to updateRowPositions at the
6339 end of each 'metrics-like' call. Remove all others.
6340 (getRow): remove the 'y-computing' version.
6341 (getRowNearY): do not compute nor return the real y. Solve the
6342 'y < 0' problem and simplify.
6344 2003-08-22 Angus Leeming <leeming@lyx.org>
6346 * *.[Ch]: clean-up of licence and author blurbs.
6347 Also move config.h out of a few .h files and into a few .C files.
6349 2003-08-22 André Pönitz <poenitz@gmx.net>
6351 * lyxrow.[Ch]: add x_ and *fill_ members
6356 * text2.C: adjust/remove prepareToPrint() calls
6358 2003-08-22 André Pönitz <poenitz@gmx.net>
6360 * lyxrow.[Ch]: add end_ member
6362 * lyxrow_funcs.C: use LyXRow::end_
6364 * lyxtext.h (singleWidth): add LyXFont parameter
6367 * text2.C: adjust LyXText::singleWidth() calls
6369 * text.C (redoParagraph): simplify row breaking logic
6372 2003-08-19 André Pönitz <poenitz@gmx.net>
6374 * funcrequest.C: initialize button_ member
6377 * rowpainter.[Ch]: interface consolidation
6379 2003-08-18 André Pönitz <poenitz@gmx.net>
6382 * BufferView_pimpl.C:
6384 * paragraph_funcs.C:
6386 * text3.C: remove LyXScreen::draw() and fitCursor calls
6388 * BranchList.h: remove spurious semicolons
6390 * MenuBackend.C: fix branchlist related crash
6392 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
6400 * bufferparams.[Ch]:
6404 * text3.C: implements the 'branch inset'
6405 idea. This allows the output of various versions of a document
6406 from a single source version, selectively outputing or suppressing
6407 output of parts of the text.
6408 This implementation contains a 'branch list editor' in a separate
6409 tab of the document settings dialog. Branches are user definable
6410 and have a "display colour" to distinguish them on-screen.
6412 ColorHandler was somewhat cleaned up.
6413 (1) make possible a dynamically growing LColor list by allowing
6414 the graphic context cache to grow along (vector);
6415 (2) eliminate an IMHO unnecessary step in colour allocation.
6417 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
6419 * BufferView_pimpl.C: compile fix
6421 2003-08-15 André Pönitz <poenitz@gmx.net>
6423 * rowpainter.C: remove extra metrics calls
6425 * lyxtext.h: merge the two constructors into a single one,
6426 pass reference to owner's par list
6428 * BufferView_pimpl.C:
6432 2003-08-15 André Pönitz <poenitz@gmx.net>
6434 * lyxrow_funcs.[Ch]:
6437 * paragraph_funcs.C:
6442 * text_funcs.C: split LyXText::rowlist_ into individual
6443 Paragraph::rows_ chunks
6446 * BufferView_pimpl.[Ch]:
6449 * text3.C: remove toggleSelection()
6451 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
6453 * bufferlist.C: beautify two alerts (shorter text of buttons)
6454 * buffer.C: Remove redundant ' ' from message
6456 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6457 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6458 rename VALIGN_CENTER to VALIGN_MIDDLE
6460 2003-08-11 André Pönitz <poenitz@gmx.net>
6462 * lyxtext.h (getPar):
6463 * text.C: new function
6465 2003-08-11 André Pönitz <poenitz@gmx.net>
6468 * tracer.[Ch]: remove unneeded files
6470 * InsetList.[Ch]: remove resizeInsetsLyXText()
6475 * text3.C: merge insertParagraphs() and appendParagraph()
6476 remove breakAgain(), update()
6478 * BufferView_pimpl.[Ch]:
6479 * bufferview_funcs.[Ch]:
6483 * tabular.C: adjust after text & InsetList changes.
6485 2003-08-08 André Pönitz <poenitz@gmx.net>
6487 * text.C (insertChar, backspace): replace rowlist fiddling
6488 with rebreak of full par
6491 * text.C (breakAgainOneRow, redoHeightOfParagraph,
6492 checkParagraph, updateInset): removed
6494 2003-08-07 André Pönitz <poenitz@gmx.net>
6497 * text3.C: merge some LFUN handlers, remove dead code
6499 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6501 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6503 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
6505 * text2.C (DEPM): fix part of bug 1255 and 1256
6507 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6509 * BufferView_pimpl.C (workAreaDispatch): change to use
6510 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6511 that are no mouse related.
6513 2003-08-05 André Pönitz <poenitz@gmx.net>
6516 * BufferView_pimpl.[Ch]:
6517 * bufferview_funcs.C:
6519 * text3.C: rip out "deep update"
6521 * textcursor.[Ch] (last_sel_cursor): remove unused member
6523 2003-08-04 André Pönitz <poenitz@gmx.net>
6526 * BufferView_pimpl.[Ch]:
6527 * ParagraphParameters.C:
6528 * bufferview_funcs.C:
6534 * text3.C: replace "complicated" BufferView::update(...) calls with
6537 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6539 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
6541 * Makefile.am (lyx_SOURCES): add paper.h
6543 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6545 * Makefile.am: move things around so that both lyx-qt and
6546 lyx-xforms can be built (according to --with-frontend). Then lyx
6547 is a symbolic link to lyx-[firstfrontend]
6549 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
6551 * Always use std::endl with lyxerr
6553 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
6555 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6557 2003-08-01 André Pönitz <poenitz@gmx.net>
6560 * BufferView_pimpl.[Ch]:
6562 * text3.C: merge BufferView::repaint() and BufferView::update()
6564 2003-08-01 José Matos <jamatos@lyx.org>
6566 * buffer.[Ch]: file_format is no longer a buffer data element.
6568 2003-08-01 André Pönitz <poenitz@gmx.net>
6573 * text2.C: make redoParagraph more independent of current cursor
6575 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6577 * text2.C: remove unneeded members
6579 2003-07-30 André Pönitz <poenitz@gmx.net>
6581 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6583 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6584 create a single function...
6586 * paragraph_funcs.C (moveItem): ... here.
6589 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6591 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6593 * LColor.[Ch]: Add comment and greyedout logical colors.
6595 2003-07-30 André Pönitz <poenitz@gmx.net>
6597 * tabular.C: don't use Assert too heavily. This crashes where it
6600 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
6602 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6603 is disabled (bug 1232)
6605 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6607 * factory.C: limited 'arg' scope
6609 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6611 * factory.C: fixed Note submenu issues
6613 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6615 * factory.C: submenu for Note/Comment/Greyedout
6617 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
6620 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6622 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
6625 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6626 greyedout. Patch provided by Jürgen Spitzmüller.
6628 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6630 * kbmap.C (read): fix error message when reading bind files
6632 2003-07-29 Angus Leeming <leeming@lyx.org>
6634 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6635 certainly does not do what it purports to do. I am doing it, and
6636 us, a favour by killing it.
6638 2003-07-28 José Matos <jamatos@lyx.org>
6640 * buffer.C (readBody, do_writeFile):
6641 * paragraph.C(readParagraph): \end_document replaces \the_end.
6643 2003-07-29 André Pönitz <poenitz@gmx.net>
6646 * BufferView_pimpl.[Ch]:
6650 * textcursor.[Ch]: remove toggleToggle & Co
6652 2003-07-28 José Matos <jamatos@fep.up.pt>
6654 * buffer.C (readParagraph):
6655 * params_func (readParToken, readParagraph):
6656 * paragraph.C (write): \layout -> \begin_layout.
6658 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6660 * lyxlex_pimpl.C (setFile): clean up slightly.
6662 * bufferparams.h: add compressed var
6664 * buffer_funcs.C (readFile): adjust for LyXLex change
6665 (newFile): ditto + simplify
6667 * buffer.C (writeFile): handle writing of compressed files
6669 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6670 Check if the file is compressed and set a bufferparm if so.
6672 * Makefile.am (lyx_LDADD): remove explicit -lz
6674 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6676 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6677 makeDocBookFile): put the real LyX version in the first line of
6681 * version.C.in: remove lyx_docversion
6683 * tabular.C (write_attribute): add a template-based version to
6684 write enums properly
6686 2003-07-28 André Pönitz <poenitz@gmx.net>
6691 * text3.C: use doubles again for x-coordinates. They are needed.
6693 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6695 * messages.C (getLocaleDir): use lyx_localedir()
6697 * lyxlex_pimpl.C (setFile): compress stuff
6699 * buffer.C (writeFile): add some compression stuff
6700 (do_writeFile): new func, dont call expliti close... will this
6703 * Makefile.am (lyx_LDADD): add -lz
6705 2003-07-28 José Matos <jamatos@fep.up.pt>
6707 * buffer.C: increment file format.
6708 * paragraph_funcs (readParagraph, readParToken):
6709 * paragraph.C (readParagraph): add \end_layout.
6711 2003-07-27 Angus Leeming <leeming@lyx.org>
6713 * Makefile.am: remove special casing for configure-time setting of
6714 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6716 * lyx_main.C (init): remove all Jean-Marc's magic setting of
6717 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6719 2003-07-26 André Pönitz <poenitz@gmx.net>
6721 * paragraph_func.[Ch]:
6722 * paragraph.C (realizeFont): inline it whereever it is used
6727 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6730 2003-07-26 André Pönitz <poenitz@gmx.net>
6734 * text2.C: get rid of LyXText::need_break_row
6736 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6738 * toc.[Ch]: put namespace toc inside namespace lyx
6740 * MenuBackend.C (expandToc2): adjust for lyx::toc
6743 * lyxfunc.C (dispatch): adjust for lyx::find
6745 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6746 lyx::find instead. Reorganize a bit.
6747 (LyXReplace): rename to replace
6748 (LyXFind): rename to find
6750 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6753 2003-07-26 André Pönitz <poenitz@gmx.net>
6755 * text.C (setHeightOfRow): restrict scope of temporary variable
6757 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
6758 code (never has been used?)
6760 2003-07-27 Asger Alstrup <alstrup@local>
6762 * text.C (fill): Optimise algorithm to exploit that we can reuse
6763 the LyXFont for many characters.
6764 (setHeightOfRow): Same thing.
6765 (rowBreakPoint): Same thing.
6767 2003-07-26 Asger Alstrup <alstrup@local>
6769 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6771 * text.C (singleWidth): Spurious font copying in hot-spot
6772 singleWidth avoided. Reorder tests for arabic for efficiency.
6774 * text.C (fill): handle empty paragraphs better.
6776 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6779 * encoding.h: add includes
6781 * lyxrc.C: remove reading of bind files
6783 * lyx_main.C (init): setup bindings and menus only if we have a
6786 * kbmap.C (read): new method. Do the actual reading of bind
6789 * converter.C (dvipdfm_options):
6792 (output): adapt PAPER_* enums.
6794 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6796 * bufferparams.h: remove paper-related enums from there
6798 * paper.h: New file. A trivial header file to hold paper-related
6799 enums. It should later expand to contain many paper-related
6802 * lyxrc.C: declare extern displayTranslator
6804 2003-07-27 José Matos <jamatos@fep.up.pt>
6806 * tabular.[Ch] (linuxdoc): add support for tables and figures
6809 2003-07-27 José Matos <jamatos@fep.up.pt>
6811 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6812 consistency in both functions.
6813 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6815 2003-07-26 Asger Alstrup <alstrup@local>
6817 * rowpainter.C (paintRows): Change algorithm to work directly on
6818 the insets rather than asking every character in the document
6819 whether its an inset.
6821 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
6823 * buffer.C (openFileWrite): factorize some code
6825 2003-07-26 Angus Leeming <leeming@lyx.org>
6828 * lyx_main.[Ch]: replace occurances of system_tempdir with
6831 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6833 * rename Inset to InsetOld
6835 2003-07-25 Asger Alstrup <alstrup@diku.dk>
6837 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6838 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6839 which I think is a bit clearer. EDIT is gone, since it was
6840 premature optimisation, and broken for mathed anyway.
6841 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6842 with cursor positioning in insets as well (math insets still do not
6843 work, but that's a different story anyway.) It mysteriously
6844 crashes sometimes with undo in the first paragraph, but I'm fairly
6845 confident that this is a compiler bug.
6847 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6849 * paragraph.C (Paragraph): adjust for new clone return type
6851 (copyIntoMinibuffer): ditto
6853 2003-07-25 Asger Alstrup <alstrup@lyx.org>
6855 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6856 by not having a special case, and always doing a full rebreak of
6857 the document after undo.
6859 2003-07-23 Angus Leeming <leeming@lyx.org>
6861 * factory.C (createInset): InsetExternal::setParams now takes a
6864 2003-07-23 Angus Leeming <leeming@lyx.org>
6866 * factory.C (createInset): changed interface to the external and
6867 graphics mailers' string2params functions.
6869 2003-07-23 Angus Leeming <leeming@lyx.org>
6871 * factory.C (createInset): pass a
6872 Buffer const * parameter to InsetExternalMailer's string2params.
6874 2003-07-22 John Levon <levon@movementarian.org>
6876 * Thesaurus.h: include the right aiksaurus header
6878 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6880 * MenuBackend.C (expand): check menu shortcuts unconditionally
6882 2003-07-21 Angus Leeming <leeming@lyx.org>
6884 * factory.C (createInset): pass a
6885 buffer_path parameter to InsetGraphicsMailer's string2params.
6887 2003-07-21 Angus Leeming <leeming@lyx.org>
6889 * BufferView_pimpl.C (buffer):
6892 * lyxfunc.C (dispatch):
6893 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6894 rather than the grfx shortcut.
6896 2003-07-21 André Pönitz <poenitz@gmx.net>
6898 * rowpainter.C: remove unused variables
6901 * tabular_funcs.h: move to tabular.C
6902 * Makefile.am: adjust
6904 * tabular.[Ch]: basic optical cleaning
6906 * author.h: pass references, not values
6908 2003-07-18 André Pönitz <poenitz@gmx.net>
6916 * text3.C: two-phase drawing for InsetText and InsetTabular
6917 some float -> int changes.
6919 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6921 * lyx_main.C: fix the fix
6923 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6925 * lyx_main.C: fix a crash in batch mode if no files specified
6928 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
6930 * format.[Ch] (papersize): moved to BufferParams
6931 * converter.[Ch] (dvips_options): moved to BufferParams
6932 (dvipdfm_options): moved to anon namespace
6933 * bufferparams.[Ch]: added above functions.
6935 2003-07-17 André Pönitz <poenitz@gmx.net>
6939 * text2.C: don't call inset->update() anymore
6941 * metricsinfo.[Ch]: add convenience constructor
6943 2003-07-16 André Pönitz <poenitz@gmx.net>
6948 * text2.C: replace the LyXCursor::irow_ member with
6949 on-demand computation of the value
6951 2003-07-16 John Levon <levon@movementarian.org>
6953 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6955 2003-07-15 André Pönitz <poenitz@gmx.net>
6958 * text2.C: remove no more needed refresh_row
6960 2003-07-15 André Pönitz <poenitz@gmx.net>
6965 * text3.C: refresh_status tristate -> need_update bool
6967 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
6969 * lyxtext.h (init): remove reinit argument (act as if always true)
6970 * text2.C: adjust to that
6972 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6974 * bufferview_funcs.[Ch]: introduce function replaceSelection()
6975 * text3.C: use it to delete selections in some cases
6976 (bugs 441, 673, 702, 954).
6978 2003-07-14 André Pönitz <poenitz@gmx.net>
6980 * rowpainter.[Ch]: reduce interface
6982 2003-07-14 André Pönitz <poenitz@gmx.net>
6984 * BufferView_pimpl.C:
6985 * text2.C: adjust after removing unused BufferView * argument
6987 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
6989 * text2.C (init): fix a crash fired on resize
6991 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
6993 * buffer.[Ch]: added new closing signal
6994 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6995 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6996 BufferView::Pimpl via the closing the signal
6998 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
7000 * buffer.[Ch]: take out all bv-related from buffer
7002 * BufferView_pimpl.[Ch]: connect to new signals
7003 * CutAndPaste.C: removed useless asserts
7004 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
7007 * lyxfunc.C: moved view-related funciontality from vc here
7008 * paragraph.C: removed outdated comments
7011 2003-07-10 André Pönitz <poenitz@gmx.net>
7013 * BufferView_pimpl.C:
7017 * text2.C: remove InsetText::InnerCache, clean up consequences
7019 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
7021 * ispell.C: fix two typos in error messages
7023 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
7025 * Extend Note inset to other forms of annotation like Comment
7026 and Greyedout. Right button click gives dialog.
7028 Files modified or added (+):
7032 * ControlNote.[Ch] +
7034 * Makefile.am in frontends/xforms, frontends/xforms/forms,
7035 frontends/controllers
7039 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
7041 * aspell.C: add missing namespace lyx::support
7043 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
7045 * BufferView.[Ch] (newFile): Add
7046 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
7047 * LaTeX.[Ch] (message): added this signal and use it
7048 * buffer.[Ch] (busy, message): added these signals and use them
7049 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
7053 * importer.C: use buffer signals instead of direct bv calling
7054 * lyx_cb.[Ch] (ShowMessage): removed
7057 * paragraph_funcs.C:
7058 * text2.C: use buffer signals
7060 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7062 * introduce namespace lyx::graphics
7064 2003-07-02 André Pönitz <poenitz@gmx.net>
7066 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
7068 2003-07-01 André Pönitz <poenitz@gmx.net>
7075 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
7076 text*.C to text_func.C
7078 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7080 * introduce namespace lyx::support
7082 2003-06-30 André Pönitz <poenitz@gmx.net>
7087 * text.C: re-enable --with-included-string
7089 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7091 * textcursor.C: add <config.h>
7093 * text.C (getWord): remove const from word_location arg
7095 * lyxvc.C (getLogFile): fix const type order
7097 * lyxtext.h: remove const from word_location arg, add arg name
7099 * lyxlayout.h: currect type on labeltype.
7101 * importer.C: correct \file
7103 * converter.C (intToFormat): use std:: on ret val, ws changes
7105 * bufferlist.h: correct \file
7107 * buffer.C (makeLinuxDocFile): fix const type order
7108 (makeDocBookFile): ditto
7109 (fillWithBibKeys): use std:: on stdlib args.
7111 * CutAndPaste.C: fix authors.
7112 (availableSelections): use std:: on return vector
7114 2003-06-27 André Pönitz <poenitz@gmx.net>
7116 * BufferView_pimpl.C:
7117 * bufferview_funcs.C:
7125 * text3.C: remove LyXCursor::row_ member
7128 * text.C: rename fullRebreak() to partialRebreak() and implement
7129 a fullRebreak() that really bereks fully
7131 * textcursor.h: new struct for cursor-related data
7133 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
7135 * lyx_main.C (LyX): get full path of document loaded on the
7138 2003-06-26 André Pönitz <poenitz@gmx.net>
7140 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
7141 remove unused/broken operator>,<,>=.
7143 * text.C: remove only use of broken operator<= in an Assert().
7145 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
7147 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
7148 moved errorlist_.clear to showErrorList
7150 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
7152 * converter.C (scanLog, runLaTeX):
7153 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
7154 move the bv->showErrorList call to the callers
7155 * lyxfunc.C: i.e. here...
7157 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
7158 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
7159 namespace, the second to...
7160 * buffer_funcs (BufferFormat, parseErrors): added
7161 * errorlist.C (ErrorList(TeXErrors const &)): removed
7163 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7165 * ToolbarBackend.C (getIcon): complain when icon cannot be found
7167 2003-06-24 "Garst R. Reese" <reese@isn.net>
7171 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7173 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
7175 * version.C.in: change docversion to 1.4
7177 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
7179 * buffer.C: fix a bug just introduced
7181 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
7183 * buffer.[Ch]: added the parseError signal and use it, removed
7185 * BufferView.[Ch] (addError): moved to ...
7186 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
7187 to the Buffer::parseError signal to catch (guess what) parse errors
7188 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
7190 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
7192 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
7193 ability to create a buffer and to return an existing one from
7194 the list. Moved these functions to...
7195 * buffer_funcs.[Ch]: added
7196 * BufferView.[Ch] (loadLyXFile): added
7197 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
7198 job removed from bufferlist::loadLyXFile.
7199 * buffer.C (setReadOnly): make it work without view
7200 (i.e added an if (users))
7202 2003-06-19 Angus Leeming <leeming@lyx.org>
7205 * LyXAction.C (init):
7206 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
7207 with LFUN_DIALOG_SHOW <name> <data>.
7209 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7211 * CutAndPaste.C (availableSelections): small compilation fix for
7212 ancient (gcc 2.9x) compilers
7214 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
7216 * text3.C (cursorNext): add tmp var
7218 * text2.C (updateCounters): for function calling out of for clause
7219 (replaceSelectionWithString): ditto
7220 (insertStringAsParagraphs): ditto
7221 (getColumnNearX): add tmp var
7222 (setCursorFromCoordinates): add tmp var
7223 (cursorDownParagraph): add tmp var
7224 (deleteEmptyParagraphMechanism): add tmp var
7226 * text.C (insertChar): add tmp var
7228 * rowpainter.C (paintDepthBar): add tmp var
7230 * CutAndPaste.C (availableSelections): potentially check all
7231 paragraphs in a cut to fill the shown strings.
7233 2003-06-18 André Pönitz <poenitz@gmx.net>
7235 * kbmap.[Ch]: use vector<> instead of list<>
7237 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
7239 * text3.C (dispatch): handle arg to LFUN_PASTE, call
7240 pasteSelection with index
7242 * text2.C (pasteSelection): modify, call pasteSelection with index
7244 * paragraph.C (asString): reimplement version with no interval to
7245 call the one with interval.
7247 * lyxtext.h: add index arg to pasteSelection
7249 * MenuBackend.C (MenuItem): handle PasteRecent
7250 (Menu::read::Menutags): add md_pasterecent
7252 (expandPasteRecent): new function
7255 * MenuBackend.h: add PasteRecent to MenuItem::Kind
7257 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
7259 (availableSelections): new function
7261 2003-06-17 Angus Leeming <leeming@lyx.org>
7263 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
7265 2003-06-17 Angus Leeming <leeming@lyx.org>
7268 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
7270 * lyxfunc.C (dispatch): invoke it.
7272 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7274 * iterators.C (operator++, ParPosition): reintroduce some
7275 const_cast for the benefit of older compilers.
7277 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7279 * text3.C (dispatch): do not modify clipboard when doing
7280 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
7281 LFUN_DELETE_SKIP on a selection selection
7283 2003-06-16 André Pönitz <poenitz@gmx.net>
7289 * tabular.[Ch]: IU of clone() and getLabelList();
7291 2003-06-13 André Pönitz <poenitz@gmx.net>
7293 * tabular.h: compactification
7295 2003-06-12 André Pönitz <poenitz@gmx.net>
7299 * tabular_funcs.h: some renaming plus whitespace
7301 2003-06-12 André Pönitz <poenitz@gmx.net>
7304 * BufferView_pimpl.C:
7310 * toc.C: Return a Paragraph & for ParIterator::operator*()
7312 2003-06-11 John Levon <levon@movementarian.org>
7316 * ToolbarBackend.C: add "Toolbars" section and
7319 2003-06-10 Angus Leeming <leeming@lyx.org>
7322 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
7324 * lyxfunc.C (dispatch): invoke it.
7326 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7328 * main.C: protect <ios> with HAVE_IOS
7329 (main): protect sync_with_stdio with HAVE_IOS
7331 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
7333 * text2.C (cutSelection): adjust
7334 (pasteSelection): adjust
7336 * messages.C: handle get of empty string
7338 * main.C (main): use sync_with_stdio(false)
7340 * lyxfunc.C (dispatch): adjust
7342 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
7343 (WriteAs): remove unneeded BufferView arg.
7345 * bufferparams.h: use correct types on papersize, papersize2 and
7348 * bufferparams.C (readToken): adjust for type
7349 (writeLaTeX): add missing cases to switch.
7351 * bufferlist.C (quitWriteBuffer): adjust
7354 * buffer.C (asciiParagraph): remove some commented code.
7356 * CutAndPaste.C: remove current_view extern variable.
7357 (cutSelection): add BufferParams arg.
7358 (eraseSelection): add BufferParams arg.
7359 (pasteSelection): add Buffer const & arg
7361 2003-06-07 John Levon <levon@movementarian.org>
7364 * paragraph_funcs.C:
7365 * paragraph_pimpl.C:
7369 * paragraph.C: allow InsetERT to freely space lines,
7370 and some consolidation of code
7372 2003-06-06 José Matos <jamatos@fep.up.pt>
7374 * buffer.C (makeDocBookFile): fix bug #821
7376 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
7378 * BufferView_pimpl.C (dispatch): use Dialogs::visible
7380 2003-06-04 Angus Leeming <leeming@lyx.org>
7382 * buffer.C: bump format to 224.
7384 2003-06-05 André Pönitz <poenitz@gmx.net>
7386 * text2.C (redoParagraphs): remove two const_cast<>
7388 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
7390 * ParagraphList.h: remove last remnants of NO_STD_LIST
7392 2003-06-03 Angus Leeming <leeming@lyx.org>
7394 * factory.C (createInset): small change to the way InsetExternal's params
7397 2003-06-04 André Pönitz <poenitz@gmx.net>
7399 * buffer.h: use Undo directly instead of shared_ptr<Undo>
7401 * paragraph_pimpl.h:
7402 * paragraph.[Ch]: some Inset -> UpdatableInset changes
7404 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
7406 * undo_funcs.C: make some simple cases of undo work again
7408 2003-06-03 John Levon <levon@movementarian.org>
7410 * ispell.C: HPUX doesn't have sys/select.h
7413 2003-06-03 John Levon <levon@movementarian.org>
7415 * CutAndPaste.C: update tabular and include inset
7420 * paragraph.C: remove owningBuffer(), don't pass Buffer
7423 * factory.C: insetGraphicsParams changed
7425 2003-06-02 John Levon <levon@movementarian.org>
7431 * text3.C: remove insetparent
7433 2003-06-02 John Levon <levon@movementarian.org>
7436 * buffer.C: fix inset_iterator.end(), move out of line
7439 2003-06-01 John Levon <levon@movementarian.org>
7441 * text3.C: use a proper cut/paste when doing inset
7442 insert (from Jürgen Spitzmüller)
7444 2003-06-01 John Levon <levon@movementarian.org>
7446 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7448 2003-05-30 André Pönitz <poenitz@gmx.net>
7450 * rowpainter.C: unify second drawing phase
7452 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7454 * trans_mgr.C: remove one case of current_view
7456 * text2.C (cursorBottom): delete NO_STD_LIST stuff
7458 * paragraph_funcs.h: remove paragraph.h include
7460 * paragraph.h: delete NO_STD_LIST stuff
7462 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7464 * buffer.h: remove paragraph.h include
7466 * ParagraphList.C: delete file
7468 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7470 * toc.C (getTocList): adjust
7472 * paragraph_pimpl.C (validate): adjust
7474 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7476 * paragraph.C (Paragraph): adjust
7477 (getPositionOfInset): use const_iterator, adjust
7478 (bibitem): use const_iterator, adjust
7479 (setInsetOwner): adjust
7481 * iterators.C (operator++): adjust
7483 * InsetList.[Ch]: Replace selfmade iterator with standard
7484 vector::iterator also introduce const_iterator. Remove getPos,
7485 getInset and setInset from InsetTable. Adjust accordingly.
7487 * BufferView.C (lockInset): adjust
7488 (ChangeInsets): adjust
7490 * tabular.[Ch]: delete commented same_id functions
7492 2003-05-28 John Levon <levon@movementarian.org>
7494 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7496 2003-05-28 André Pönitz <poenitz@gmx.net>
7498 * metricsinfo.[Ch]: remove 'fullredraw' member
7500 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
7502 * lyxtextclass.C (operator): remove caching.
7504 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7508 * text2.C (cursorBottom): adjust
7509 (setCounter): use ParagraphList::find, adjust
7511 * text.C (workWidth): use ParagraphList::find, adjust
7513 * lyxcursor.C (LyXCursor): adjust
7515 * buffer.C (inset_iterator): adjust
7517 * ParagraphList.h: make iterator(value_type) private, make
7518 ParagraphList a friend of iterator.
7520 * ParagraphList.C (find): new function
7522 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7524 2003-05-27 André Pönitz <poenitz@gmx.net>
7526 * dimension.[Ch]: a -> asc, d -> des, w -> wid
7528 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7530 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7532 2003-05-26 John Levon <levon@movementarian.org>
7534 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7536 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
7538 * remove same_id from function signatures, adjust.
7540 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7542 * undo_funcs.C (createUndo): use the id functions directly, adjust.
7544 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7546 * paragraph.C (Paragraph): get rid of same_ids parameter
7548 * ParagraphList.C (insert): adjust
7551 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7553 * paragraph_funcs.C (breakParagraph): adjust
7554 (breakParagraphConservative): adjust
7556 * buffer.C (readParagraph): adjust
7558 * ParagraphList.C (insert): take a reference instead of a pointer
7561 * paragraph.[Ch] (id): new function
7563 * bufferlist.C (newFile): adjust
7565 * ParagraphList.C (ParagraphList): adjust
7567 (push_back): take a reference instead of a pointer.
7569 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7571 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7574 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7575 set else use old code.
7577 * ParagraphList.C: remove all NO_NEXT code and only compile this
7578 code of NO_STD_LIST is set.
7580 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7582 * BufferView_pimpl.C:
7592 * graphics/GraphicsConverter.C:
7593 * graphics/PreviewLoader.C: header adjustment
7595 2003-05-23 Angus Leeming <leeming@lyx.org>
7597 * LaTeXFeatures.[Ch] (useBabel): new method.
7598 * bufferparams.C (writeLaTeX): use it.
7600 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7602 * ParagraphList.h (set): remove unused function.
7604 2003-05-23 André Pönitz <poenitz@gmx.net>
7607 * BufferView_pimpl.C:
7611 * undo_funcs.C: setUndo reworked
7613 * iterators.[Ch]: add access to topmost ParagraphList
7615 * lyxtext.[Ch] (workWidth): add a const
7617 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7619 * texrow.[Ch] (increasePos): remove function
7620 * exporter.C (export): removed unused var and outdated comment
7622 2003-05-23 Angus Leeming <leeming@lyx.org>
7624 * latexrunparams.h: rename fragile as moving_arg.
7625 * paragraph.C (simpleTeXOnePar): ditto.
7626 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7628 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7630 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7632 (textUndoOrRedo): comment out a currently unused var.
7634 * paragraph.h (NO_NEXT): enable NO_NEXT
7636 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7638 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7640 * exporter.C (Export): adjust for removeAutoInsets removal.
7642 * buffer.C (runChktex): adjust for removeAutoInsets removal.
7644 * LyXAction.C (init): remove LFUN_REMOVEERRORS
7646 * BufferView.[Ch] (removeAutoInsets): delete function
7648 2003-05-22 Angus Leeming <leeming@lyx.org>
7650 * latexrunparams.h: add a free_spacing variable.
7652 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7653 to pass moving_arg, as the data is stored in runparams.fragile.
7655 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7656 to Inset::latexOptional or to simpleTeXOnePar.
7658 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7659 free_spacing arg to Inset::latexOptional.
7661 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7664 2003-05-22 Angus Leeming <leeming@lyx.org>
7666 * latexrunparams.h: add fragile and use_babel variables.
7668 * bufferparams.[Ch] (writeLaTeX): return use_babel.
7669 * buffer.C (makeLaTeXFile): store this returned value in
7670 runparams.use_babel, thus passing it to the inset::latex methods.
7672 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7673 simpleTeXSpecialChars as it is now stored in runparams.fragile.
7675 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7676 longer has a fragile arg, as it is stored in runparams.fragile.
7678 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7679 moving_arg parameter as the data is stored in runparams.fragile.
7681 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7682 a fragile parameter as the data is stored in runparams.fragile.
7684 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7686 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7688 2003-05-22 Angus Leeming <leeming@lyx.org>
7690 * latexrunparams.h: add a 'bool nice' which defaults to false.
7692 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7693 now encapsulated within runparams.
7695 * bufferlist.C (updateIncludedTeXfiles):
7696 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7698 2003-05-22 Angus Leeming <leeming@lyx.org>
7700 * latexrunparams.h: new file containing struct LatexRunParams.
7701 * Makefile.am: add new file.
7703 * LaTeX.[Ch] (c-tor, run):
7704 * buffer.[Ch] (makeLaTeXFile):
7705 * bufferlist.[Ch] (updateIncludedTeXfiles):
7706 * converter.C (convert, scanLog):
7707 * converter.[Ch] (runLaTeX):
7708 * exporter.C (Export):
7709 * paragraph.[Ch] (simpleTeXOnePar):
7710 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7711 * paragraph_funcs.[Ch] (latexParagraphs):
7712 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7713 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7714 pass around a LatexRunParams parameter.
7716 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7718 * paragraph.[Ch]: remove unused constructor
7720 * ParagraphList.C (erase): new function, taking two iterators
7722 2003-05-22 André Pönitz <poenitz@gmx.net>
7724 * undo_funcs.C: remove duplicated code
7726 * iterator.[Ch]: operator=
7728 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7730 * tabular.C (SetMultiColumn): ws changes
7732 * rowpainter.C (paintFirst): get rid of a ->previous
7734 * lyx_cb.C (getPossibleLabel): parlist simplification
7736 * BufferView.C (ChangeInsets): simplify slightly.
7738 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
7740 * LyXAction.C: new lfun space-insert, kill protected-space-insert
7741 * lfuns.h: new LFUN_SPACE
7742 * lyxfunc.C: protected space has a new lfun
7743 * paragraph_funcs.C: read new space insets
7745 * factory.C: handle new space insets
7747 2003-05-22 André Pönitz <poenitz@gmx.net>
7750 * BufferView_pimpl.C:
7753 * undo_funcs.C: return a ParIterator from getParFromID.
7755 * iterators.[Ch]: add two const's
7757 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7759 * toc.C (getTocList): adjust
7761 * iterators.[Ch]: rework for parlist
7763 * buffer.C (par_iterator_begin): adjust
7764 (par_iterator_end): adjust
7766 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7768 * BufferView.C (removeAutoInsets): adjust
7769 (ChangeInsets): adjust
7771 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
7773 * text.C (top_y): fix bug 1110
7775 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
7777 * errorlist.[Ch]: added
7780 * BufferView_pimpl.C:
7781 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7784 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7786 * Makefile.am: ensure that lyx is relinked upon changes to the
7787 various "convenience" libs.
7789 2003-05-20 Angus Leeming <leeming@lyx.org>
7791 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7792 files are compiled in alphabetical order again.
7794 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7796 2003-05-19 Angus Leeming <leeming@lyx.org>
7798 * gettext.[Ch]: remove "char const * _(char const *)".
7800 2003-05-19 André Pönitz <poenitz@gmx.net>
7802 * dimension.[Ch]: promote from mathed/dimension.[Ch]
7811 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7813 2003-05-19 André Pönitz <poenitz@gmx.net>
7817 * lyxtextclass.[Ch]:
7819 * paragraph_funcs.[Ch]:
7821 * text3.C: more insetenv work
7823 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
7825 * ParagraphParameters.C (params2string): small bug fixed
7827 2003-05-16 André Pönitz <poenitz@gmx.net>
7830 * bufferview_funcs.C: patch from Kornel Benko to prevent
7831 crash when _(...) is called twice in a statement
7833 2003-05-16 André Pönitz <poenitz@gmx.net>
7840 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7842 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
7844 * lyx_main.C (init): remove spurious static_cast
7846 2003-05-14 André Pönitz <poenitz@gmx.net>
7848 * BufferView.C: fix format string
7850 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
7852 * BufferView.[Ch] (insertErrors): removed
7853 * BufferView.[Ch] (showErrorList): added
7854 * buffer.C (runChkTeX):
7855 * converter.C (scanLog): call showErrorList instead of inserterrors
7857 2003-05-13 André Pönitz <poenitz@gmx.net>
7859 * BufferView_pimpl.C:
7861 * bufferview_func.C:
7868 * tabular_funcs.h: tostr() from its own header
7870 * ParagraphParameters.C:
7875 * text3.C: STRCONV()
7877 2003-05-12 André Pönitz <poenitz@gmx.net>
7880 * BufferView_pimpl.C:
7884 * ParagraphParameters.C:
7888 * bufferview_funcs.C:
7901 * paragraph_funcs.C:
7905 * text3.C: boost::format -> bformat all over the place
7908 2003-05-09 André Pönitz <poenitz@gmx.net>
7910 * LColor.[Ch]: Pimpl the #include <map> away
7912 2003-05-09 John Levon <levon@movementarian.org>
7914 * bufferlist.C: never remove emergency saves
7916 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7918 * Makefile.am: better lib building
7920 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
7922 * texrow.[Ch]: remove dependency on Paragraph and just store a id
7924 * paragraph_pimpl.C (simpleTeXBlanks): adjust
7925 (simpleTeXSpecialChars): adjust
7926 (simpleTeXSpecialChars): adjust
7927 * paragraph.C (simpleTeXOnePar): adjust
7928 * buffer.C (makeLaTeXFile): adjust
7930 * Makefile.am (BOOST_LIBS): allow boost as system lib.
7932 * text2.C (changeDepth): parlist cleanup
7933 (getColumnNearX): ditto
7935 * rowpainter.C (getLabelFont): parlist cleanup
7937 * bufferlist.C (newFile): parlist cleanup
7939 * CutAndPaste.C (eraseSelection): parlist cleanup
7941 * BufferView_pimpl.C (trackChanges): parlist cleanup
7944 * BufferView.C (lockInset): parlist cleanup.
7945 (ChangeInsets): ditto
7947 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7949 * CutAndPaste.h: Update file header.
7951 * CutAndPaste.C: Update file header.
7952 Store the parts cut out of the Document in a limited_stack.
7953 (copySelection): adjust
7954 (pasteSelection): new function, takes the index in the limited stack.
7955 (nrOfParagraphs): adjust
7956 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7957 simplify error inset insertion.
7958 (checkPastePossible): adjust
7960 2003-05-06 John Levon <levon@movementarian.org>
7962 * text2.C: don't cast wrap inset to float
7964 2003-05-05 André Pönitz <poenitz@gmx.net>
7967 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7969 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7970 few naked Paragraph *.
7972 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
7974 * bufferparams.C: Output warning if a document with missing
7975 TeX document class is loaded
7976 * exporter.C: Disable TeX exports if the document class is missing
7979 * lyxtextclasslist.C: Handle new textclass.lst format; new method
7980 isTeXClassAvailable()
7982 2003-05-03 John Levon <levon@movementarian.org>
7985 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7986 explicit cursor show/hide
7988 * BufferView_pimpl.h:
7989 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7990 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7992 * lyxfunc.C: hide cursor before dispatching.
7997 * text3.C: remove explicit cursor hides
7999 2003-05-02 André Pönitz <poenitz@gmx.net>
8001 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
8004 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
8007 * text2.C: tiny whitespace
8009 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8011 * undo_funcs.C: almost only ws changes.
8013 * ParagraphList.C (splice): just return if pl is empty.
8015 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8017 * ParagraphList.C (splice): new function.
8019 * CutAndPaste.C (pasteSelection): use it
8021 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8023 * CutAndPaste.C (pasteSelection): remove the last next and
8024 previous from this file.
8026 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8028 * CutAndPaste.C (pasteSelection): more clean up, user proper
8029 ParagraphList functions for pasteing.
8031 * ParagraphList.C (insert): new function, three arg insert
8033 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8035 * ParagraphList.C (insert): new function, three arg insert
8037 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
8040 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8042 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
8044 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8046 * CutAndPaste.C (pasteSelection): remove some unneeded code.
8048 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8050 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
8051 (copySelection): clean up a bit.
8052 (pasteSelection): use make_pair
8054 * ParagraphList.C (ParagraphList): implement copy constructor
8055 (operator=): implement, base on copy constructor.
8058 * paragraph.C (erase): return a bool
8060 * paragraph_pimpl.C (erasePos): remove function, move contents...
8061 (erase): ... here. Return a bool.
8062 (erase): call erase instead of erasePos.
8064 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
8066 * ParagraphList.h: define PitPosPair
8067 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
8068 ParagraphList, fix a bug on pasting multiple pars
8069 * text2.C: change interface to C&P
8071 2003-04-30 André Pönitz <poenitz@gmx.net>
8073 * undo_func.C: revert part of yesterday's patch 2
8075 2003-04-30 John Levon <levon@movementarian.org>
8077 * LColor.C: s/tabular/table/
8079 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8081 * text3.C (dispatch): do not convert iterator -> pointer
8082 * undo_funcs.C (setCursorParUndo): ditto
8083 * text_funcs.C (transposeChars): ditto
8085 * text2.C (setLayout): ws changes only
8087 * text.C (breakParagraph): do not convert iterator -> pointer
8089 (acceptChange): ditto
8090 (rejectChange): ditto
8095 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
8098 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
8100 * text3.C (gotoInset): YABG (yet another bad getChar)
8102 2003-04-29 André Pönitz <poenitz@gmx.net>
8104 * paragraph.h: make operator= private unimplemented as long as
8107 * ParagraphList.C: whitespace
8110 * paragraph_pimpl.[Ch]:
8111 * paragraph_funcs.C:
8113 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
8116 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
8118 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
8120 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
8121 * paragraph.[Ch] (erase):
8122 * paragraph_pimpl.[Ch] (erase): change return type and value
8123 * text2.C (cutSelection): some rework
8125 2003-04-28 John Levon <levon@movementarian.org>
8127 * bufferlist.C: changes for unsaved changes dialog
8129 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8131 * bufferlist.C (newFile): set language (messages_) for new
8134 * buffer.C (readFile): ws changes only.
8136 2003-04-28 André Pönitz <poenitz@gmx.net>
8141 * BufferView_pimpl.C:
8142 * BufferView.C: getParFromID related ParagraphList::iterator changes
8144 2003-04-28 André Pönitz <poenitz@gmx.net>
8146 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
8149 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8151 * messages.C: remove one more localedir class variable.
8153 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8155 * messages.C (getLocaleDir): singleton generation function
8157 (Messages): add a default constructor.
8159 * main.C (main): do not setup localedir here, do not call
8162 * gettext.C (_): use it.
8163 (gettext_init): delete funciton
8165 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8167 * gettext.C (getLyXMessages): new singleton generating function.
8169 * buffer.C (updateDocLang): adjust
8171 * Makefile.am (messages.o): add target
8172 (main.o): remove target
8174 2003-04-27 John Levon <levon@movementarian.org>
8179 * lyxvc.C: specify cancel button in Alert::prompt
8181 2003-04-26 John Levon <levon@movementarian.org>
8186 * LyXAction.C: add LFUN_INSET_SETTINGS
8188 * lyxfunc.C: don't enable tabular-feature when there's
8189 just any locking inset
8191 2003-04-26 John Levon <levon@movementarian.org>
8193 * bufferlist.C: re-add Cancel to buffer close question
8195 * lyxfunc.C: fix import UI a bit
8197 2003-04-25 John Levon <levon@movementarian.org>
8199 * gettext.C: remove the broken asserts for now
8201 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
8203 * messages.C: make case where setlocale cannot comply work better.
8205 * buffer.C (updateDocLang): new function
8206 (changeLanguage): use it
8209 * text2.C (setCounter): use B_ a bit.
8211 * lyxlayout.C (Read): be sure to trim the label strings.
8213 * messages.C (Messages): fix typo in comment
8215 * buffer.C (readFile): set message_ after file is loaded.
8216 (makeDocBookFile): remove double return
8217 (changeLanguage): reset message_ upon language change.
8218 (B_): new func, use this to get translated buffer strings.
8220 * main.C: add myself and Jean Marc as authors.
8222 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
8224 * messages.[hC]: pimplify Messages, and three different pimpls to be
8225 used in different circumstances.
8227 * gettext.[Ch]: change for use with new message code.
8229 2003-04-24 André Pönitz <poenitz@gmx.net>
8231 * factory.C: support for eqref
8233 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
8235 * messages.[Ch]: add missing char
8237 * Makefile.am (lyx_SOURCES): add messages.[Ch]
8239 * messages.[Ch]: New files
8241 2003-04-18 John Levon <levon@movementarian.org>
8245 * BufferView_pimpl.C:
8249 * text2.C: remove layout-copy/paste (bug 778)
8251 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
8253 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
8255 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
8257 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
8258 if they succeed. Act accordingly.
8260 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8262 * text2.C (setCharFont): adjust
8263 (setCounter): adjust
8264 (insertStringAsLines): adjust
8266 * text.C (leftMargin): adjust
8267 (setHeightOfRow): adjust
8269 * rowpainter.C (paintFirst): adjust
8272 * paragraph_funcs.C (depthHook): ParagraphList::iterators
8274 (isFirstInSequence): ditto
8275 (getEndLabel): ditto
8278 * paragraph.C (getParLanguage): comment out some hard stuff.
8280 * buffer.C (insertStringAsLines): take a ParagraphList as arg
8282 (simpleDocBookOnePar): ditto
8283 (makeDocBookFile): use ParagraphList::iterator
8285 * CutAndPaste.C (pasteSelection): adjust
8287 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8289 * text2.C (getFont): adjust
8290 (getLayoutFont): adjust
8291 (getLabelFont): adjust
8293 * paragraph_funcs.C (TeXOnePar): adjust
8295 * buffer.C (simpleLinuxDocOnePar): adjust
8296 (simpleDocBookOnePar): adjust
8298 * CutAndPaste.C (pasteSelection): adjust
8300 * BufferView.C (getEncoding): adjust
8302 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
8304 2003-04-16 John Levon <levon@movementarian.org>
8306 * lyxfind.C: use parlist stuff for search/changes
8308 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8310 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
8312 * text2.C (deleteEmptyParagraphMechanism): adjust
8314 * text2.[Ch] (ownerParagraph): delete func (both of them
8316 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8318 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
8320 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8322 * ParagraphList.C: prepare for NO_NEXT
8324 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8326 * text2.C (getFont): adjust
8327 (getLayoutFont): adjust
8328 (getLabelFont): adjust
8330 * paragraph.C (getFont): adjust
8331 (getLabelFont): adjust
8332 (getLayoutFont): adjust
8334 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
8336 2003-04-15 John Levon <levon@movementarian.org>
8340 * lyx_main.C: handle Include in .ui files
8342 2003-04-15 John Levon <levon@movementarian.org>
8344 * MenuBackend.C: make the doc files length shorter
8347 * ToolbarBackend.C: handle toolbar placement flags,
8350 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8352 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
8355 * paragraph_funcs.C (TeXOnePar): adjust
8357 * paragraph.C (getLabelFont): add outerfont arg, adjust
8358 (getLayoutFont): ditto
8359 (simpleTeXOnePar): adjust
8361 * paragraph_pimpl.C (realizeFont): delete func
8363 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
8365 * text2.C (beforeFullRowInset): added a bad getchar check, removed
8366 row argument, constify cur argument.
8368 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8370 * text2.C (getFont): adjust
8371 (getLayoutFont): adjust
8372 (getLabelFont): adjust
8374 * paragraph_funcs.C (TeXOnePar): adjust
8375 (outerFont): new func...
8376 (realizeFont): ...moved out from here, changed this to facilitate
8379 * paragraph.C (getFont): take outerfont as arg, adjust
8380 (simpleTeXOnePar): add outerfont arg, adjust
8382 * buffer.C (simpleLinuxDocOnePar): adjust
8383 (simpleDocBookOnePar): adjust
8385 * CutAndPaste.C (pasteSelection): adjust
8387 * BufferView.C (getEncoding): adjust
8389 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8391 * text2.C (setCharFont): adjust
8392 (setCounter): adjust
8394 * text.C (leftMargin): adjust
8395 (setHeightOfRow): adjust
8397 * rowpainter.C (paintFirst): adjust
8400 * paragraph_pimpl.C (realizeFont): adjust
8402 * paragraph.C (isFirstInSequence): move from here...
8403 * paragraph_funcs.C (isFirstInSequence): ...to here
8405 * paragraph.C (outerHook): move from here...
8406 * paragraph_funcs.C (outerHook): ...to here
8408 * paragraph.C (depthHook): move from here...
8409 * paragraph_funcs.C (depthHook): ...to here
8411 * paragraph.C (getEndLabel): move from here...
8412 * paragraph_funcs.C (getEndLabel): ...to here
8414 * text2.C (realizeFont): move from here...
8415 * paragraph_funcs.C (realizeFont): ...to here
8417 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8419 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
8421 2003-04-14 Angus Leeming <leeming@lyx.org>
8423 * LColor.[Ch]: scrap LColor mathcursor.
8425 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8427 * lyxlex.[Ch] (text): delete function
8428 * trans.C (Load): adjust
8429 * paragraph_funcs.C (readParToken): adjust
8431 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8433 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8434 vector<char> instead of a char[].
8436 * lyxlex_pimpl.C (getString): adjust
8438 (lex): use getString
8442 * lyxlex.C (text): use pimpl_->getString()
8446 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8448 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8449 (makeFontEntriesLayoutSpecific): temp var for par.size()
8450 (setLayout): temp var for ownerParagraphs().end()
8451 (fullRebreak): temp var for rows().end()
8452 (selectionAsString): temp var for boost::next(startpit), realize
8453 that the while really is a regular for loop.
8454 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8455 setCursor in one place.
8456 (setParagraph): temp vr for ownerParagraphs().end()
8457 (updateCounters): make the while loop a for loop
8458 (cutSelection): temp var for ownerParagraphs().end()
8459 (updateInset): make the do {} while() a regular for loop
8460 (getCursorX): use temp vars
8461 (setCurrentFont): use temp vars
8462 (getColumnNearX): use temp vars
8464 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8466 * text.C (transformChar): use temp var for getChar
8467 (computeBidiTables): use temp var for row->par()
8468 (fill): move temp vars for row->par() and pit->layout() earlier in
8470 (labelFill): use temp var for row->par()
8471 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8472 asc and desc, realize that pit never changes and that firstpit is
8473 just a duplicate and not needed. Exchange rit->par() with pit in a
8475 (breakAgain): use a temp var for boost::next(rit)
8476 (breakAgainOneRow): ditto
8477 (breakParagraph): use a temp var for rows().begin()
8478 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8479 (cursorRightOneWord): use temp var for cursor.par() and
8480 cursor.pos(), remove usage of tmpcursor.
8481 (cursorLeftOneWord): use temp var for cursor.par() and
8482 cursor.pos() only set cur at end of function.
8484 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8486 * text.C, text2.C: exchange all usage of Paragraph::next with
8487 boost::next(ParagraphList::iterator)
8489 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8491 * text2.C (cursorTop): simplify implementation
8492 (cursorBottom): ditto
8493 (setParagraph): use ParagraphList::iterator
8494 (setCurrentFont): adjust
8495 (getColumnNearX): adjust
8496 (cursorRight): adjust
8497 (cursorLeft): remove usage of Paragraph::previous
8498 (cursorUpParagraph): ditto
8499 (deleteEmptyParagraphMechanism): slight cleanup
8501 * text.C (isBoundary): take a Paragraph const & instead of a
8503 (addressBreakPoint): ditto
8504 (leftMargin): remove usage of Paragraph::previous.
8505 (setHeightOfRow): ditto
8506 (cursorLeftOneWord): ditto
8507 (selectNextWordToSpellcheck): ditto
8510 (breakParagraph): remove one usage of Paragraph::next
8511 (redoParagraph): ditto
8512 (acceptChange): ditto
8513 (insertChar): adjust
8514 (rowBreakPoint): adjust
8516 * bufferview_funcs.C (toggleAndShow): adjust
8518 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
8520 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8521 methods to access it.
8523 * text.C: Added updateRowPositions to compute all row positions.
8524 Make top_y and getRowNearY() to use the cached y position
8526 2003-04-11 John Levon <levon@movementarian.org>
8528 * text.C (rowBreakPoint): reintroduce the labelEnd
8529 checks, code copied from the row fill stuff. Deep voodoo.
8531 * text.C (fill): add a comment and debugging for the
8534 2003-04-11 John Levon <levon@movementarian.org>
8536 * text.C: make sure fullrow insets get wrapped to the next line,
8537 even when they're in a manual label
8539 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
8541 * text2.C (insertParagraph): make it take ParagraphList::iterator
8543 (setLayout): make it return ParagraphList::iterator
8544 (redoParagraphs): ditto
8546 (checkParagraph): ditto
8548 * text.C (getRow): make getrow take ParagraphList::iterator as arg
8550 * text2.C: adjust several funcs.
8551 (realizeFont): take a ParagraphList::iterator as arg.
8552 (getLayoutFont): ditto
8553 (getLabelFont): ditto
8554 (setCharFont): ditto
8556 * text.C: adjust several funcs.
8558 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8560 * text.C (selectNextWordToSpellcheck): don't accidentally
8563 2003-04-10 John Levon <levon@movementarian.org>
8565 * ToolbarBackend.C (getIcon): special handling for
8568 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8570 * text2.C (cursorRight): a getChar assert fixed
8572 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8574 * text2.C (getFont): change to take a ParagraphList::iterator
8575 instead of Paragraph*
8576 Adjust several functions.
8578 * text.C (transformChar): change to take a ParagraphList::iterator
8579 instead of Paragraph*
8580 (singleWidth): ditto
8581 Adjust several functions.
8583 * rowpainter.C: adjust several functions
8584 * rowpainter.h:store a ParagraphList::iterator and not a
8588 2003-04-09 John Levon <levon@movementarian.org>
8593 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8594 and the "help" bits as well
8596 2003-04-09 John Levon <levon@movementarian.org>
8599 * ToolbarBackend.C: allow multiple toolbars
8601 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8603 * undo_funcs.C (setCursorParUndo): adjust
8605 * text_funcs.C (transposeChars): adjust
8607 * text3.C (gotoNextInset): adjust
8610 * text2.C (setLayout): adjust
8611 (changeDepth): adjust
8613 (redoParagraphs): adjust
8614 (selectionAsString): adjust
8615 (setParagraph): adjust
8616 (insertInset): adjust
8617 (cutSelection): adjust
8618 (copySelection): adjust
8619 (pasteSelection): adjust
8620 (insertStringAsLines): adjust
8621 (updateInset): adjust
8622 (setCursor): change to take a ParagraphList::iterator parameter
8623 (setCursorIntern): change to take a ParagraphList::iterator parameter
8624 (setCurrentFont): adjust
8625 (cursorLeft): adjust
8626 (cursorRight): adjust
8627 (deleteEmptyParagraphMechanism): adjust
8629 * text.C (breakParagraph): adjust
8630 (insertChar): adjust
8631 (acceptChange): adjust
8632 (rejectChange): adjust
8633 (selectNextWordToSpellcheck): adjust
8634 (changeCase): adjust
8638 * lyxfind.C (SearchForward): adjust
8639 (SearchBackward): adjust
8640 (nextChange): adjust
8642 * lyxcursor.C (par): adjust
8644 * lyxcursor.h: store a ParagraphList::iterator instead of a
8647 * lyx_cb.C (getPossibleLabel): adjust
8649 * bufferview_funcs.C (toggleAndShow): adjust
8651 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8654 * BufferView.C (removeAutoInsets): adjust
8655 (lockedInsetStoreUndo): adjust
8657 2003-04-09 John Levon <levon@movementarian.org>
8659 * ToolbarBackend.C: try icon without argument
8660 if with argument fails
8662 2003-04-08 John Levon <levon@movementarian.org>
8665 * ToolbarBackend.C: add getIcon(), handle tooltip,
8666 and change from "Icon" to "Item".
8668 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8670 * BufferView.C (lockInset): another bad getchar crunched
8672 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8674 * text2.C (changeDepth): do not setUndo on test_only (make undo work
8677 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
8679 * lyxfind.C (searchForward, searchBackwards): bug 782
8681 2003-04-07 John Levon <levon@movementarian.org>
8683 * paragraph.C: remove dead comment
8685 * text.C: remove troublesome depth-fiddling code
8686 in leftMargin() and rightMargin() (bug 1017)
8688 * text.C: fix breaking of rows in nested lists
8691 * text2.C (updateCounters): fix up depth values
8694 2003-04-07 John Levon <levon@movementarian.org>
8696 * BufferView_pimpl.C: clear message when doc finishes resizing,
8697 and after a mouse event
8699 * lyxfunc.C: clear message after exiting inset
8701 2003-04-07 John Levon <levon@movementarian.org>
8703 * bufferview_funcs.C: show math status not outside
8704 status in the statusbar
8706 2003-04-07 John Levon <levon@movementarian.org>
8708 * lyxfunc.C: note status changed after a depth change
8710 2003-04-04 Angus Leeming <leeming@lyx.org>
8712 * LaTeX.h: move AuxInfo operator==, != out of line.
8713 Remove LaTeX virtual destructor; nothing derives from it.
8714 Move operator()() out of public area and rename it startscript().
8715 Change protected for private.
8717 2003-04-04 Angus Leeming <leeming@lyx.org>
8720 * text2.C: remove unneeded #includes.
8722 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8724 * text2.C (dEPM): fix the heigth of the next row
8726 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8728 * text.C: squashed an invalid getChar requester + some ws changes
8730 2003-04-03 John Levon <levon@movementarian.org>
8732 * bufferview_funcs.h:
8733 * bufferview_funcs.C:
8736 * text2.C: make getStatus work for the env depth lfuns
8738 2003-04-03 John Levon <levon@movementarian.org>
8740 * bufferview_funcs.h:
8741 * bufferview_funcs.C:
8744 * text2.C: parlistize decDepth(), by merging it with incDepth()
8746 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8748 * lyxrow.h: store a ParagraphList::iterator instead of a
8749 Paragraph* and adjust other class functions to suit.
8751 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8754 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8756 * text2.C (setCursor): do not anchor to cursor row for the time being
8758 2003-04-02 John Levon <levon@movementarian.org>
8765 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8767 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8769 * paragraph.h: make ParagraphList and ParagraphList::iterator
8770 friends of Paragraph.
8772 * buffer.C (makeLinuxDocFile): move towards ParagraphList
8774 * ParagraphList.C: Use the private next_ and previous_ from
8777 2003-04-01 John Levon <levon@movementarian.org>
8781 * Makefile.am: rename, remove defaults gunk
8784 * MenuBackend.C: remove defaults gunk
8787 * Languages.C: remove defaults gunk
8790 * lyx_main.C: error out if files couldn't be found.
8792 2003-04-02 John Levon <levon@movementarian.org>
8794 * text2.C: make incDepth() use parlist
8796 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8798 * undo_funcs.C (firstUndoParagraph): adjust
8800 * text3.C (gotoInset): adjust
8801 (dispatch): adjust, and rewrite loop.
8803 * text2.C (init): adjust, and rewrite loop.
8804 (redoParagraphs): adjust
8805 (updateInset): adjust, and rewrite loop.
8806 (deleteEmptyParagraphMechanism): adjust
8808 * tabular.C (LyXTabular): adjust
8809 (SetMultiColumn): adjust
8812 * lyxtext.[Ch] (ownerParagraph): delete function
8813 (ownerParagraphs): new function returns a ParagraphList.
8815 * BufferView.C (removeAutoInsets): adjust
8816 (insertErrors): adjust
8817 (setCursorFromRow): adjust
8819 2003-04-01 Angus Leeming <leeming@lyx.org>
8821 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8824 2003-04-02 John Levon <levon@movementarian.org>
8830 * text_funcs.C: make transposeChars a free function
8832 * lyxrow_funcs.C: remove wrong comment
8834 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8837 * rowpainter.C: adjust
8842 * lyxrow_funcs. [Ch]: new files
8844 * lyxrow.[Ch]: remove next and previous pointers
8845 (next,previous): remove accessor functions
8846 (isParEnd): move to lyxrow_funcs
8847 (lastPos): move to lyxrow_funcs
8848 (nextRowIsAllInset): move to lyxrow_funcs
8849 (lastPrintablePos): move to lyxrow_funcs
8850 (numberOfSeparators): move to lyxrow_funcs
8851 (numberOfHfills): move to lyxrow_funcs
8852 (numberOfLabelHfills): move to lyxrow_funcs
8853 (hfillExpansion): move to lyxrow_funcs
8857 * bufferview_funcs.C (toggleAndShow): adjust
8859 * RowList.h: Remove class RowList from file leave just a
8862 * RowList.C: delete file
8864 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8867 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8869 * text3.C (cursorPrevious): adjust
8870 (cursorNext): adjust
8873 * text2.C (redoHeightOfParagraph): adjust
8874 (redoDrawingOfParagraph): adjust
8877 * text.C (breakParagraph): adjust
8878 (insertChar): adjust
8881 * rowpainter.C (RowPainter): adjust
8882 (leftMargin): simplify and adjust
8883 (most rowpainter functions): adjust.
8885 * rowpainter.h: store the row as RowList::iterator not as Row*
8887 * lyxcursor.C (row): taka RowList::iterator as arg
8890 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8893 2003-04-01 Angus Leeming <leeming@lyx.org>
8895 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8896 stuff like bool Bool.
8898 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8900 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8903 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8905 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8908 * lyxtext.h (rows): drop one version and leve a const variant that
8909 returns a RowList::iterator.
8911 2003-03-31 Angus Leeming <leeming@lyx.org>
8913 * text.C (fill): ensure that the signature is the same as that in the
8916 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
8918 * text2.C (redoParagraphs): adjust
8919 (updateCounters): adjust
8920 (checkParagraph): adjust
8921 (getColumnNearX): adjust and reformat a bit.
8923 * text.C (top_y): adjust
8925 (leftMargin): adjust
8926 (prepareToPrint): adjust
8928 (getRowNearY): adjust
8930 * lyxtext.h: make rowlist_ mutable.
8932 * RowList.h: add const_iterator
8933 * RowList.C: adjust for RowList::const_iterator.
8935 * text2.C (getCursorX): make it take a RowList::iterator as arg,
8938 2003-03-31 John Levon <levon@movementarian.org>
8941 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8943 * lyx_main.C: set default fonts from using lyx_gui funcs
8945 * exporter.C: pdf_mode moved from lyxrc
8948 * lyxfunc.C: changes from above
8950 2003-03-31 John Levon <levon@movementarian.org>
8952 * lyx_main.C: fix to the last fix
8954 2003-03-31 John Levon <levon@movementarian.org>
8956 * bufferlist.C: "Load original" -> "Load Original"
8962 * format.C: more Alert cleanups
8964 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8966 * text2.C (removeParagraph): make it take a RowList::iterator as
8968 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8969 (postRowPaint): make it take a RowList::iterator as arg, adjust.
8971 * text.C (anchor_row): make it take a RowList::iterator as arg,
8973 (computeBidiTables): make it take a const reference to Row instead
8974 of Row pointer, adjust.
8975 (leftMargin): make it take a RowList::iterator as arg, adjust.
8976 (rowBreakPoint): adjust
8977 (breakAgainOneRow): make it take a RowList::iterator as arg,
8979 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8981 * bufferview_funcs.C (toggleAndShow): adjust
8983 2003-03-30 John Levon <levon@movementarian.org>
8987 * boost-inst.C: moved to support
8989 * several files: changes as a result
8991 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8993 * text2.C (LyXText): adjust.
8995 (removeRow): make it take a RowList::iterator as arg, adjust.
8996 (fullRebreak): adjust
8997 (deleteEmptyParagraphMechanism): adjust
8998 (clearPaint): adjust
9001 * text.C (top_y): adjust
9002 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
9003 (breakAgain): make it take a RowList::iterator as arg, adjust.
9004 (breakParagraph): adjust
9005 (insertChar): adjust
9008 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
9009 need_break_row, and refresh_row.
9011 * text3.C (dispatch): adjust
9013 * text2.C (checkParagraph): adjust
9015 (setCursorFromCoordinates): adjust
9017 * text.C (top_y): adjust
9019 (getRow): make it return a RowList::iterator, adjust
9020 (getRowNearY): make it return a RowList::iterator, adjust
9022 * text2.C (init): adjust
9023 (insertRow): remove function
9024 (insertParagraph): adjust
9025 (redoParagraphs): adjust
9026 (fullRebreak): adjust
9027 (updateCounters): adjust
9029 * text.C (top_y): rewrite to use RowList iterators.
9031 (setHeightOfRow): rewrite to sue RowList iterators.
9032 (appendParagraph): adjust
9033 (breakAgain): adjust
9034 (breakAgainOneRow): adjust
9035 (breakParagraph): adjust
9037 (getRowNearY): adjust, and remove commented code.
9039 * lyxtext.h (firstRow): delete function
9040 (lastRow): delete function
9041 (rows): new function (const and non-const versions.)
9042 (insertRow): delete function
9044 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
9046 2003-03-29 John Levon <levon@movementarian.org>
9048 * BufferView_pimpl.C: always update scrollbar top
9049 because pasting text when we're anchored could mean we
9050 miss an update altogether
9052 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
9054 * text2.C (init): use rowlist_.end() and not 0.
9055 (insertRow): change to take a RowList::iterator as arg, adjust
9057 (insertParagraph): change to take a RowList::iterator as arg,
9059 (redoParagraphs): remove some debug msgs.
9061 * text.C (appendParagraph): change to take a RowList::iterator
9062 arg, adjust for this.
9063 (breakAgain): add an assert
9064 (breakAgainOneRow): ditto
9066 2003-03-29 John Levon <levon@movementarian.org>
9068 * text2.C: do not clear selection after inc/decDepth
9071 2003-03-29 John Levon <levon@movementarian.org>
9074 * buffer.C: fix broken strerrors according to Lars
9076 2003-03-29 John Levon <levon@movementarian.org>
9078 * converters.C: more Alert cleanups
9080 2003-03-29 John Levon <levon@movementarian.org>
9082 * bufferview_funcs.C: remove pointless Alert
9084 * buffer.C: fix confusing error message when
9085 a template is chmoded 000
9087 2003-03-29 John Levon <levon@movementarian.org>
9091 * BufferView_pimpl.C: Alert fixes
9095 * tabular-old.C: remove unused table compat reading
9097 2003-03-29 John Levon <levon@movementarian.org>
9102 * lyx_cb.C: more Alert cleanups
9104 * lyxfunc.C: don't allow chktex if not latex document
9106 2003-03-29 John Levon <levon@movementarian.org>
9110 * buffer.C: warnings pushed down from support/,
9113 2003-03-29 John Levon <levon@movementarian.org>
9115 * lyxfunc.C: safety check for C-r (revert)
9117 2003-03-29 John Levon <levon@movementarian.org>
9120 * bufferlist.C: several UI fixes using Alert::prompt.
9121 Fix the pointless looping quit code. Fix stupid revert
9126 * lyx_cb.C: use Alert::prompt
9128 * lyx_main.C: remove a silly question
9130 * lyxfunc.C: remove a couple of silly questions,
9133 2003-03-28 John Levon <levon@movementarian.org>
9135 * text2.C: fix bug 974 (End on empty par)
9137 2003-03-28 John Levon <levon@movementarian.org>
9139 * BufferView_pimpl.C:
9141 * lfuns.h: remove do-nothing math greek lfuns
9143 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
9145 * lyxgluelength.h (isValidGlueLength): add default arg on
9146 parameter 2. Remove default arg from friend in class.
9148 * lyxlength.h (isValidLength): add default arg on parameter 2.
9149 Remove default arg from friend in class.
9151 * text2.C (LyXText): adjust, initialize refresh_row.
9155 (insertParagraph): adjst
9156 (redoParagraphs): adjust
9157 (fullRebreak): adjust
9158 (updateCounters): adjust
9159 (deleteEmptyParagraphMechanism): first attempt at fixing a
9162 * text.C (top_y): adjust
9163 (setHeightOfRow): adjust
9165 (getRowNearY): adjust
9167 * lyxtext.h: include RowList.h
9168 (~LyXText): not needed anymore, deleted.
9169 (firstRow): modify for RowList
9170 (lastRow): new function
9171 Delete firstrow and lastrow class variables, add a Rowlist
9172 rowlist_ class variable.
9174 * lyxrow.C (lastPos): use empty() and not !size() to check if a
9177 * RowList.C (insert): fix case where it == begin().
9179 2003-03-26 Angus Leeming <leeming@lyx.org>
9181 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
9182 the thesaurus dialog.
9184 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
9186 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
9188 * RowList.[Ch]: new files
9190 * ParagraphList.C (erase): handle the case where it == begin
9193 2003-03-25 John Levon <levon@movementarian.org>
9197 * aspell.C: add new aspell support
9200 * lyxrc.C: Make use_pspell be use_spell_lib. Always
9203 2003-03-25 Angus Leeming <leeming@lyx.org>
9206 * LyXAction.C (init): new LFUN_INSET_INSERT.
9208 * BufferView_pimpl.C (dispatch): split out part of the
9209 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
9211 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
9214 2003-03-25 Angus Leeming <leeming@lyx.org>
9216 * lyxfunc.C (dispatch): changes to the Dialogs interface.
9218 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
9221 * text3.C: remove useless row->height(0)
9223 2003-03-25 John Levon <levon@movementarian.org>
9227 * text3.C: rename the refreshing stuff to better names
9229 2003-03-24 John Levon <levon@movementarian.org>
9231 * BufferView_pimpl.h:
9232 * BufferView_pimpl.C: update layout choice on a mouse
9235 2003-03-23 John Levon <levon@movementarian.org>
9237 * Makefile.am: fix commandtags.h reference
9239 2003-03-22 John Levon <levon@movementarian.org>
9241 * BufferView_pimpl.C:
9246 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
9248 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
9251 * text.C: take the rtl methods out of line
9253 2003-03-21 André Pönitz <poenitz@gmx.net>
9255 * metricsinfo.[Ch]: new files containing structures to be passed around
9256 during the two-phase-drawing...
9258 2003-03-21 André Pönitz <poenitz@gmx.net>
9260 * lyxtextclass.C: read 'environment' tag.
9262 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
9264 * text2.C (removeRow): fix bug 964
9266 2003-03-20 John Levon <levon@movementarian.org>
9270 * text2.C: paint cleanups. Inset::update() dropped font
9273 2003-03-19 John Levon <levon@movementarian.org>
9275 * lyxfunc.C: only fitcursor/markDirty if available()
9277 2003-03-19 John Levon <levon@movementarian.org>
9279 * commandtags.h: rename to ...
9281 * lfuns.h: ... this, and renumber / cleanup
9283 2003-03-19 John Levon <levon@movementarian.org>
9285 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
9286 fit the cursor after an lfun
9290 * BufferView_pimpl.h:
9291 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
9293 * LyXAction.C: layout-character should have ReadOnly
9295 * ParagraphParameters.C:
9297 * bufferview_funcs.C:
9304 * undo_funcs.C: changes from above
9306 2003-03-18 John Levon <levon@movementarian.org>
9308 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
9309 remove it from update()
9311 * lyxfunc.C: update layout choice after an lfun
9313 * text3.C: remove extra updateLayoutChoice()s
9315 2003-03-18 John Levon <levon@movementarian.org>
9317 * text.C: top_y change means full repaint, fix
9318 a drawing bug with cursor movement
9320 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
9324 * text2.C: anchor row on setCursor
9326 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
9328 * lyxtext.h: remove almost all mutable keywords
9331 * text3.C: remove const keywords accordingly
9333 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
9335 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
9337 (TeXEnvironment): ditto
9340 2003-03-17 John Levon <levon@movementarian.org>
9342 * text.C (rowBreakPoint): remove attempt to fix displayed
9343 math insets inside a manual label
9345 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
9347 * lyxtext.h: remove BufferView* as first arg from almost all class
9349 * other files: adjust.
9351 2003-03-17 John Levon <levon@movementarian.org>
9355 * text2.C: more paint cleanups
9357 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
9360 * rowpainter.C: remove "smart" background painting code
9362 2003-03-16 John Levon <levon@movementarian.org>
9367 * text3.C: add helper functions for setting refresh_row/y
9369 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
9371 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
9372 newline inset which *can* get inserted in the pass_thru layouts.
9373 This is primarily for literate documents.
9375 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
9377 * buffer.C: increment LYX_FORMAT to 223
9379 2003-03-14 André Pönitz <poenitz@gmx.net>
9381 * textclass.h: prepare for environment handling, ws changes
9382 * lyxlayout.C: read latexheader and latexfooter tags
9384 2003-03-14 John Levon <levon@movementarian.org>
9386 * text2.C: rewrite ::status() a bit
9388 2003-03-13 John Levon <levon@movementarian.org>
9390 * lyxtext.h: add some docs
9392 2003-03-13 John Levon <levon@movementarian.org>
9397 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
9399 2003-03-13 John Levon <levon@movementarian.org>
9401 * text3.C: fix appendix redrawing
9403 2003-03-13 John Levon <levon@movementarian.org>
9405 * text.C (setHeightOfRow):
9407 * rowpainter.C: make appendix mark have the text
9408 "Appendix" so the user knows what it is
9411 * LColor.C: s/appendixline/appendix/ from above
9413 2003-03-13 John Levon <levon@movementarian.org>
9415 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
9417 * text.C: fix a getChar(pos) bug properly
9419 2003-03-13 Angus Leeming <leeming@lyx.org>
9422 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
9423 Probably only temporary. Let's see how things pan out.
9425 * BufferView.C (unlockInset):
9426 * BufferView_pimpl.C (fitCursor):
9427 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
9429 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
9430 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
9432 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
9433 new functions that convert ParagraphParameters to and from a string.
9435 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9436 BufferView::Pimpl's dispatch.
9437 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9439 2003-03-13 André Pönitz <poenitz@gmx.net>
9443 * factory.C: make it aware of InsetEnv
9445 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
9447 * text2.C (setCursor): never ask for one past last
9448 (setCursor): add some debugging messages.
9450 * text.C (singleWidth): never ask for one past last
9451 (singleWidth): ditto
9453 (rightMargin): ditto
9454 (rowBreakPoint): ditto
9455 (setHeightOfRow): ditto
9456 (prepareToPrint): ditto
9458 * rowpainter.C (paintBackground): never ask for one past last
9459 (paintText): never ask for one past last
9461 * paragraph_pimpl.C (getChar): make the assert stricter, never
9462 allow the one past last pos to be taken
9464 * paragraph.C (getChar): ws changes only
9466 * lyxrow.C (nextRowIsAllInset): never ask for one past last
9467 (numberOfSeparators): ditto
9468 (numberOfHfills): ditto
9470 2003-03-12 John Levon <levon@movementarian.org>
9476 * paragraph_funcs.C: fix per-buffer authorlists
9478 2003-03-12 John Levon <levon@movementarian.org>
9480 * text.C: fix newline in right address
9482 2003-03-12 Angus Leeming <leeming@lyx.org>
9484 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9485 duplicate those in LyXFunc::dispatch.
9489 * ToolbarDefaults.C:
9490 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9491 Add LFUN_FONTFREE_UPDATE.
9493 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9494 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9496 * bufferview_func.[Ch]: several new functions to facilliate
9497 transfer of data to and from the character dialog.
9499 2003-03-12 John Levon <levon@movementarian.org>
9504 * paragraph_funcs.C:
9505 * paragraph_pimpl.C:
9509 * text3.C: remove META_NEWLINE in favour of an inset
9512 * rowpainter.C: remove paintNewline (done by inset)
9514 2003-03-12 John Levon <levon@movementarian.org>
9516 * paragraph_pimpl.C: complain about bad getChar()s
9517 for a while at least
9519 2003-03-12 John Levon <levon@movementarian.org>
9522 * buffer.C: move paragraph read into a separate function,
9523 a little renaming to reflect that.
9526 * bufferparams.C: remove the author_ids map, not necessary now
9529 * factory.C: moved Buffer::readInset to here
9531 * paragraph_funcs.h:
9532 * paragraph_funcs.C: readParagraph free function moved from
9535 * tabular.C: name change
9537 2003-03-12 John Levon <levon@movementarian.org>
9540 * ParagraphParameters.C: move par params input to
9543 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9544 behave like a normal read from the stream wrt reading
9545 a line vs. a \\token
9547 2003-03-12 John Levon <levon@movementarian.org>
9550 * ParagraphParameters.h:
9551 * ParagraphParameters.C: move output code to a
9554 2003-03-12 John Levon <levon@movementarian.org>
9556 * BufferView.C (insertLyXFile):
9559 * tabular.C: use a parlist iterator for creating the
9562 2003-03-12 John Levon <levon@movementarian.org>
9564 * buffer.C: make current_change static local not
9567 2003-03-12 John Levon <levon@movementarian.org>
9569 * buffer.C: fix insertStringAsLines for change tracking
9571 2003-03-12 John Levon <levon@movementarian.org>
9578 * bufferparams.C: move author list into params. Rename some
9579 functions. Move the header reading into a separate token
9580 loop. Move the header token reading into BufferParams.
9582 2003-03-12 John Levon <levon@movementarian.org>
9584 * changes.C: put debug inside lyxerr.debugging() checks
9586 2003-03-11 André Pönitz <poenitz@gmx.net>
9588 * factory.C: make it aware of InsetHFill
9590 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9592 * buffer.C (latexParagraphs): move function from here...
9593 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9596 2003-03-10 Angus Leeming <leeming@lyx.org>
9598 * LyXAction.C (init): fix bug in poplating array with multiple entries
9599 with the same LFUN (spotted by JMarc).
9601 2003-03-10 John Levon <levon@movementarian.org>
9604 * text2.C: move getColumnNearX() near its
9607 2003-03-10 John Levon <levon@movementarian.org>
9609 * text.C: fix break before a minipage
9611 2003-03-10 John Levon <levon@movementarian.org>
9613 * text.C: fix the last commit
9615 2003-03-09 John Levon <levon@movementarian.org>
9619 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9620 bug 365 (don't break before insets unless needed). Don't
9621 return a value > last under any circumstances.
9623 2003-03-09 Angus Leeming <leeming@lyx.org>
9625 * BufferView_pimpl.C (trackChanges, dispatch): call
9626 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9628 2003-03-09 Angus Leeming <leeming@lyx.org>
9630 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9631 than Dialogs::showAboutlyx().
9633 2003-03-09 Angus Leeming <leeming@lyx.org>
9635 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9636 than Dialogs::showTabularCreate().
9638 2003-03-09 John Levon <levon@movementarian.org>
9642 * text2.C: 3rd arg to nextBreakPoint was always the same.
9645 2003-03-08 John Levon <levon@movementarian.org>
9652 * text2.C: Remove the "main" bit from the "main body"
9655 2003-03-08 John Levon <levon@movementarian.org>
9657 * text.C (leftMargin): The left margin of an empty
9658 manual label paragraph should not include the label width
9661 * text.C (prepareToPrint): don't attempt to measure hfills
9662 for empty manual label paragraphs - the answer should be 0
9664 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9666 * CutAndPaste.C: remove commented code and reindent.
9668 2003-03-08 John Levon <levon@movementarian.org>
9671 * lyxfunc.C: move reloadBuffer()
9674 * BufferView.C: to here
9676 * lyxvc.C: add comment
9679 * vc-backend.C: call bv->reload() to avoid
9680 getStatus() check on MENURELOAD
9682 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
9684 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9685 to an old format .dep file.
9687 2003-03-07 Angus Leeming <leeming@lyx.org>
9689 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9690 when the LFUN_MOUSE_RELEASE should have been handled by
9691 inset->localDispatch.
9693 2003-03-07 Angus Leeming <leeming@lyx.org>
9695 * BufferView_pimpl.C (dispatch):
9696 * LyXAction.C (init):
9697 * ToolbarDefaults.C (init):
9699 * lyxfunc.C (getStatus):
9700 remove LFUN_INSET_GRAPHICS.
9702 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9704 2003-03-07 Angus Leeming <leeming@lyx.org>
9707 * LyXAction.C (init):
9708 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9710 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9713 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9715 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9716 localDispatch method LFUN_INSET_DIALOG_UPDATE.
9718 2003-03-07 Angus Leeming <leeming@lyx.org>
9720 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9723 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9725 * ParagraphList.C (front): new function
9728 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
9730 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9731 and top_row_offset_. removed var first_y.
9733 * text2.C (LyXText, removeRow):
9735 * BufferView_pimpl.C:
9736 use these methods instead of using first_y
9738 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9740 * text2.C (pasteSelection): adjust for checkPastePossible
9742 * CutAndPaste.C: remove Paragraph * buf and replace with
9743 ParagraphList paragraphs.
9744 (DeleteBuffer): delete
9745 (cutSelection): change the tc type to textclass_type
9746 (copySelection): change the tc type to textclass_type
9747 (copySelection): adjust for ParagraphList
9748 (pasteSelection): change the tc type to textclass_type
9749 (pasteSelection): adjust for Paragraphlist
9750 (nrOfParagraphs): simplify for ParagraphList
9751 (checkPastePossible): simplify for ParagraphList
9752 (checkPastePossible): remove unused arg
9754 * ParagraphList.C (insert): handle the case where there are no
9757 * CutAndPaste.h: make CutAndPaste a namespace.
9759 * text3.C (dispatch): adjust
9761 * text.C (breakParagraph): add a ParagraphList as arg
9763 * paragraph_funcs.C (breakParagraph): change to take a
9764 BufferParams and a ParagraphList as args.
9765 (breakParagraphConservative): ditto
9766 (mergeParagraph): ditto
9767 (TeXDeeper): add a ParagraphList arg
9768 (TeXEnvironment): ditto
9771 * buffer.C (readLyXformat2): adjust
9772 (insertStringAsLines): adjust
9773 (latexParagraphs): adjust
9775 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9776 (cutSelection): adjust
9777 (pasteSelection): adjust
9779 * BufferView_pimpl.C (insertInset): adjust
9781 2003-03-05 Angus Leeming <leeming@lyx.org>
9784 * LyXAction.C (init):
9785 * BufferView_pimpl.C (dispatch):
9786 * lyxfunc.C (getStatus):
9787 remove LFUN_CHILD_INSERT.
9789 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9791 2003-03-05 Angus Leeming <leeming@lyx.org>
9794 * LyXAction.C (init):
9795 * src/factory.C (createInset):
9796 * lyxfunc.C (getStatus):
9797 * text3.C (dispatch):
9798 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9800 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9802 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9804 * ParagraphList.C (insert): handle insert right before end()
9805 (erase): fix cases where it can be first or last paragraph.
9807 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9809 * paragraph_funcs.C (TeXEnvironment): remove all usage of
9810 Paragraph::next and Paragraph::previous
9813 * text.C (breakParagraph): adjust
9815 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9816 BufferParams& as arg.
9817 (breakParagraph): use ParagraphList::insert
9818 (breakParagraphConservative): take a Buffer* instead of a
9819 BufferParams& as arg.
9820 (breakParagraphConservative): use ParagraphList::insert.
9822 * buffer.C (insertStringAsLines): un-const it
9823 (insertStringAsLines): adjust
9825 * ParagraphList.C (insert): new function
9827 * CutAndPaste.C (pasteSelection): adjust
9829 * text.C (backspace): adjust
9831 * tabular.C (SetMultiColumn): adjust
9833 * CutAndPaste.C (cutSelection): adjust
9834 (pasteSelection): adjust
9836 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9837 Buffer const * as arg
9839 * ParagraphList.C (erase): new function
9840 * paragraph_funcs.C (mergeParagraph): use it
9841 (mergeParagraph): make it take a Buffer* instead of a
9842 BufferParams* as arg
9844 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9846 (breakParagraphConservative): ditto
9848 * paragraph.h: remove the breakParagraph friend
9850 * paragraph.C (eraseIntern): new function
9851 (setChange): new function
9853 * paragraph_funcs.C (mergeParagraph): make it take a
9854 ParagraphList::iterator instead of a Paragraph *, adjust
9857 * paragraph.h: move an #endif so that the change tracking stuff
9858 also works in the NO_NEXT case.
9860 2003-03-04 Angus Leeming <leeming@lyx.org>
9863 * LyXAction.C: new LFUN_INSET_MODIFY.
9865 * BufferView_pimpl.C (dispatch): if an inset is found to be open
9866 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9868 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9870 * several files: ws changes only
9872 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9873 (TeXEnvironment): ditto
9876 * buffer.C (makeLaTeXFile): adjust
9877 (latexParagraphs): make it take ParagraphList::iterator as args
9879 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
9881 * buffer.C (latexParagraphs): adjust
9883 * paragraph.C (TeXOnePar): move function...
9884 (optArgInset): move function...
9885 (TeXEnvironment): move function...
9886 * paragraph_pimpl.C (TeXDeeper): move function...
9887 * paragraph_funcs.C: ...here
9889 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9891 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9893 * buffer.C (readInset): remove compability code for old Figure and
9896 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9898 * buffer.C: ws changes
9901 * BufferView_pimpl.C: ditto
9904 * bufferlist.h: ditto
9908 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
9910 * converter.[Ch]: split into itself +
9913 * Makefile.am: += graph.[Ch] + format.[Ch]
9920 * lyxrc.C: added #include "format.h"
9922 2003-02-27 Angus Leeming <leeming@lyx.org>
9924 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9927 * factory.C (createInset): add "label" to the factory.
9929 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9930 string and do no more.
9932 2003-02-27 Angus Leeming <leeming@lyx.org>
9935 * LyXAction.C (init):
9936 * factory.C (createInset):
9937 * BufferView_pimpl.C (dispatch):
9938 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9940 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9942 * lyxfunc.C (dispatch):
9943 * text3.C (dispatch): pass name to params2string.
9945 2003-02-26 Angus Leeming <leeming@lyx.org>
9947 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9949 Rearrange the ~includes. Strip out the unnecessary ones.
9951 * factory.C (createInset): reformat.
9952 create new insets for the various LFUN_XYZ_APPLY lfuns.
9954 2003-02-26 John Levon <levon@movementarian.org>
9957 * lyxrow.C: add isParStart,isParEnd helpers
9959 * paragraph.h: make isInserted/DeletedText take refs
9961 * paragraph_funcs.h:
9962 * paragraph_funcs.C: remove #if 0'd code
9967 * text.C: use lyxrow helpers above.
9968 Move draw and paint routines to RowPainter.
9969 Make several methods use refs not pointers.
9970 Make backgroundColor() const.
9971 Add markChangeInDraw(), isInInset().
9972 Merge changeRegionCase into changeCase.
9973 Make workWidth() shouldn't-happen code into an Assert.
9976 * rowpainter.C: new class for painting a row.
9979 * vspace.C: make inPixels take a ref
9981 2003-02-26 Angus Leeming <leeming@lyx.org>
9983 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9986 2003-02-25 John Levon <levon@movementarian.org>
9988 * ispell.C: give the forked command a more accurate name
9990 2003-02-22 John Levon <levon@movementarian.org>
9993 * toc.C: make TocItem store an id not a Paragraph *
9996 2003-02-21 Angus Leeming <leeming@lyx.org>
9998 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9999 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
10000 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
10001 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
10002 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
10003 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
10005 * BufferView_pimpl.C (dispatch):
10006 * LyXAction.C (init):
10007 * factory.C (createInset):
10008 * lyxfunc.C (getStatus, dispatch):
10009 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
10011 2003-02-21 Angus Leeming <leeming@lyx.org>
10013 * BufferView_pimpl.C (MenuInsertLyXFile):
10014 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
10015 * lyxfunc.C (menuNew, open, doImport):
10016 no longer pass a LyXView & to fileDlg.
10018 2003-02-21 Angus Leeming <leeming@lyx.org>
10020 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
10021 * LyXAction.C: change, BIBKEY to BIBITEM.
10022 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
10023 Change InsetBibKey to InsetBibitem.
10024 Change BIBKEY_CODE to BIBITEM_CODE.
10025 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10026 * factory.C: replace insetbib.h with insetbibitem.h.
10027 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10028 * paragraph.C: replace insetbib.h with insetbibitem.h.
10029 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
10030 Change bibkey() to bibitem().
10031 * text.C: remove insetbib.h.
10032 * text2.C: replace insetbib.h with insetbibitem.h.
10033 change bibkey() to bibitem().
10034 * text3.C: remove insetbib.h.
10035 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10037 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10039 * lyxrc.C (output): enclose user email in quotes (in case there are
10042 2003-02-18 John Levon <levon@movementarian.org>
10044 * buffer.h: add std::
10046 2003-02-17 John Levon <levon@movementarian.org>
10052 * pspell.C: reworking. Especially in ispell, a large
10053 number of clean ups and bug fixes.
10055 * lyxfunc.C: fix revert to behave sensibly
10057 2003-02-17 André Pönitz <poenitz@gmx.net>
10060 * commandtags.h: new LFUN_INSERT_BIBKEY
10070 * paragraph_func.C: remove special bibkey handling
10072 2003-02-17 John Levon <levon@movementarian.org>
10074 * text.C (Delete): fix case where delete at the end of
10075 the very first paragraph would not merge the pars
10077 2003-02-17 John Levon <levon@movementarian.org>
10079 * lyxrow.C: fix lastPrintablePos()
10081 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10083 * bufferparams.C (writeLaTeX): add a std:here
10085 * buffer.C: and remove a using directive there
10087 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10089 * buffer.C (makeLaTeXFile): move the code that generates the
10092 * bufferparams.C (writeLaTeX): ... in this new method
10094 * LaTeXFeatures.C (getEncodingSet): make const
10095 (getLanguages): make const
10097 * MenuBackend.C (binding): returns the binding associated to this
10099 (add): sets the status of each item by calling getStatus. Adds
10101 (read): add support for OptSubMenu
10102 (expand): remove extra separator at the end of expanded menu
10104 2003-02-15 John Levon <levon@movementarian.org>
10107 * BufferView_pimpl.C:
10109 * bufferlist.C: remove pointless BufferStorage bloat. Remove
10110 inset code that had no actual effect. Remove unneeded status
10113 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10115 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
10118 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
10120 * text.C (drawLengthMarker): also draw an arrow marker for
10121 symbolic lengths (medskip...)
10123 2003-02-14 John Levon <levon@movementarian.org>
10126 * tabular.C: better method names
10128 2003-02-14 John Levon <levon@movementarian.org>
10130 * BufferView_pimpl.C:
10135 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
10136 it's a more accurate name. Remove some pointless uses.
10138 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10140 * text2.C (LyXText): change order of initilizers to shut off
10143 2003-02-14 John Levon <levon@movementarian.org>
10145 * buffer.C: use ParIterator for getParFromID()
10149 * paragraph_pimpl.h:
10150 * paragraph_pimpl.C: remove unused getParFromID()
10152 2003-02-14 John Levon <levon@movementarian.org>
10154 * buffer.C: remove some very old #if 0'd parse code
10156 2003-02-13 John Levon <levon@movementarian.org>
10160 * text2.C: move hfillExpansion(), numberOfSeparators(),
10161 rowLast(), rowLastPrintable(), numberofHfills(),
10162 numberOfLabelHfills() ...
10165 * lyxrow.C: ... to member functions here.
10170 * text.C: remove LyXText::beginningOfMainBody(), and call
10171 p->beginningOfMainBody() directly. Move the check for
10172 LABEL_MANUAL into the latter.
10179 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
10185 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
10186 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
10188 2003-02-13 John Levon <levon@movementarian.org>
10190 * CutAndPaste.C: remove debug
10192 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10194 * paragraph.C (asString): remove two unused variables
10196 * lyxtextclass.C (readTitleType):
10198 (LyXTextClass): handle new members titletype_ and titlename_
10200 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
10202 2003-02-09 John Levon <levon@movementarian.org>
10205 * buffer.C: replace hand-coded list with a map for the dep clean
10207 2003-02-08 John Levon <levon@movementarian.org>
10209 * LaTeX.C: consolidate code into showRunMessage() helper
10211 2003-02-08 John Levon <levon@movementarian.org>
10216 * BufferView.C: change setSelectionOverString() to setSelectionRange()
10217 and pass the size in explicitly
10219 * BufferView_pimpl.h:
10220 * BufferView_pimpl.C:
10222 * BufferView.C: add getCurrentChange()
10224 * BufferView_pimpl.h:
10225 * BufferView_pimpl.C: handle change lfuns
10227 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
10228 for changes. Mark pasted paragraphs as new.
10230 * support/lyxtime.h:
10231 * support/lyxtime.C:
10232 * DepTable.C: abstract time_t as lyx::time_type
10235 * LColor.C: add colours for new text, deleted text, changebars
10237 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
10238 package use "usenames" option.
10242 * LyXAction.C: add change lfuns
10246 * author.C: author handling
10249 * buffer.C: add a per-buffer author list, with first entry as
10250 current author. Handle new .lyx tokens for change tracking. Output
10251 author list to .lyx file. Output dvipost stuff to .tex preamble.
10252 Bump lyx format to 222.
10255 * bufferlist.C: add setCurrentAuthor() to reset current author details
10259 * bufferparams.C: add param for tracking
10261 * bufferview_funcs.C: output change info in minibuffer
10265 * changes.C: add change-tracking structure
10268 * debug.C: add CHANGES debug flag
10271 * lyxfind.C: add code for finding the next change piece
10274 * lyxrc.C: add user_name and user_email
10277 * lyxrow.C: add a metric for the top of the text line
10280 * text.C: implement accept/rejectChange()
10283 * text.C: paint changebars. Paint new/deleted text in the chosen
10284 colours. Strike through deleted text.
10288 * paragraph_pimpl.h:
10289 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
10290 in the current change to the insert functions. Rework erase to
10291 mark text as deleted, adding an eraseIntern() and a range-based
10292 erase(). Implement per-paragraph change lookup and
10295 * paragraph_funcs.C: Fixup paste for change tracking.
10297 * tabular.C: mark added row/columns as new.
10299 * text.C: fix rowLast() to never return -1. Don't allow
10300 spellchecking of deleted text. Track transpose changes. Don't
10301 allow paragraph break or merge where appropriate.
10303 * text2.C: leave cursor at end of selection after a cut.
10305 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10307 * text.C (getLengthMarkerHeight):
10308 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
10309 visible on screen too.
10311 2003-02-07 John Levon <levon@movementarian.org>
10313 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
10315 2003-02-05 Angus Leeming <leeming@lyx.org>
10317 * lyxserver.C (read_ready): revert my patch of 11 September last year
10318 as it sends PC cpu through the roof. Presumably this means that
10319 the lyxserver will no longer run on an Alpha...
10321 2003-01-30 Angus Leeming <leeming@lyx.org>
10323 * factory.C (createInset): create an InsetCommandParam of type "index"
10324 and use it to 'do the right thing'.
10326 * text2.C (getStringToIndex): ensure that cursor position is always
10327 reset to the reset_cursor position.
10329 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10331 * lyxfunc.C (getStatus): "buffer-export custom" should never be
10334 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
10338 * lyxfunc.C: Output messages with identical spelling, punctuation,
10341 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
10343 * MenuBackend.C (expandFormats): List only viewable export formats
10346 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
10349 * lyxfunc.C (getStatus): Make sure that formats other than
10350 "fax" can also be disabled
10352 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10354 * text3.C (dispatch): put the lfuns that insert insets in 3
10355 groups, and call doInsertInset with appropriate arguments.
10356 (doInsertInset): new function, that creates an inset and inserts
10357 it according to some boolean parameters.
10359 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
10361 * buffer.C (readFile): remember to pass on 'par' when calling
10362 readFile recursively.
10364 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10366 * MenuBackend.C (expandFormats): add "..." to import formats.
10368 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
10370 * paragraph.C (asString): Remove XForms RTL hacks.
10372 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
10373 * buffer.C: fix typo
10375 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
10377 * Makefile.am (LIBS): delete var
10378 (lyx_LDADD): add @LIBS@ here instead.
10380 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
10382 * Clarify the meaning of "wheel mouse jump"
10384 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10386 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
10389 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10391 * importer.C (Loaders): do not preallocate 3 elements in the
10392 vector, since one ends up with 6 elements otherwise
10394 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10396 * DepTable.C (write): write the file name as last element of the
10397 .dep file (because it may contain spaces)
10398 (read): read info in the right order
10400 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10402 * paragraph_pimpl.C (simpleTeXBlanks):
10403 (simpleTeXSpecialChars):
10404 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
10406 * tabular.C (latex): add some missing case statements. Reindent.
10408 * MenuBackend.C (expandToc): remove unused variable.
10410 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
10419 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
10422 2003-01-05 John Levon <levon@movementarian.org>
10425 * BufferView.C: add getEncoding()
10428 * kbsequence.C: do not store last keypress
10431 * lyxfunc.C: store last keypress here instead. Pass encoding
10434 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10436 * lyx_main.C (init): remove annoying error message when following
10437 symbolic links (bug #780)
10439 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10441 * text.C (insertChar):
10442 * lyxrc.C (getDescription): remove extra spaces
10444 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10446 * lyxrc.C (getDescription): remove extra spaces
10448 2002-12-20 John Levon <levon@movementarian.org>
10450 * text3.C: hack fix for page up/down across tall rows
10452 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10454 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10457 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10459 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10460 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10461 thesaurus is not compiled in
10463 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
10465 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
10467 2002-12-16 Angus Leeming <leeming@lyx.org>
10470 * lyx_main.C (init): remove override_x_deadkeys stuff.
10472 2002-12-12 John Levon <levon@movementarian.org>
10474 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10475 insert. Only remove shift modifier under strict
10478 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
10480 * MenuBackend.C (expandToc): fix crash.
10482 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
10484 * MenuBackend.C (expandToc): gettext on float names.
10486 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
10488 * lyxlength.[Ch]: set default unit to UNIT_NONE,
10489 implement bool empty() [bug 490]
10491 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
10493 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10495 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
10497 * several files: ws changes
10499 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
10501 * text2.C (setCounter): clean up a bit, use boost.format.
10502 (updateCounters): initialize par upon declaration.
10504 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10505 if the layout exists. We do not just store the layout any more.
10506 (SwitchLayoutsBetweenClasses): use boost.format
10508 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10510 * converter.C (convert): if from and to files are the same, use a
10511 temporary files as intermediary
10513 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10516 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10518 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
10520 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10522 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
10524 * tabular.C (asciiPrintCell): use string(size, char) instead of
10527 * sgml.C (openTag): fix order of arguments to string constructor
10530 * lyxfunc.C (dispatch): use boost.format
10532 * lots of files: change "c" -> 'c'
10534 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
10536 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10538 2002-11-25 Angus Leeming <leeming@lyx.org>
10540 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10542 * lyx_main.C (init): compile fix.
10544 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
10546 * lyx_cb.C (start): boost.formatify
10547 do not include <iostream>
10549 * lengthcommon.C: ws only
10551 * boost-inst.C,BoostFormat.h: add more explict instantations
10553 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
10555 * lots of files: handle USE_BOOST_FORMAT
10557 2002-11-21 John Levon <levon@movementarian.org>
10559 * pspell.C: fix compile
10561 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10563 * lyxfunc.C (dispatch): use boost::format
10567 * lyxfont.C (stateText): use boost::format
10569 * lyx_main.C (LyX): use boost::format
10571 (queryUserLyXDir): ditto
10572 (readRcFile): ditto
10574 (typedef boost::function): use the recommened syntax.
10576 * importer.C (Import): use boost::format
10578 * debug.C (showLevel): use boost::format
10580 * converter.C (view): use boost::format
10585 * bufferview_funcs.C (currentState): use boost::format
10587 * bufferlist.C (emergencyWrite): use boost::format
10589 * buffer.C (readLyXformat2): use boost::format
10590 (parseSingleLyXformat2Token): ditto
10592 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10594 * LaTeX.C (run): use boost::format
10596 * Chktex.C (scanLogFile): use boost::format
10598 * BufferView_pimpl.C (savePosition): use boost::format
10599 (restorePosition): ditto
10600 (MenuInsertLyXFile): ditto
10602 * BoostFormat.h: help file for explicit instation.
10604 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
10606 * tabular.C (latex): Support for block alignment in fixed width
10609 2002-11-17 John Levon <levon@movementarian.org>
10611 * BufferView_pimpl.C:
10613 * lyxfunc.C: split filedialog into open/save
10615 2002-11-08 Juergen Vigna <jug@sad.it>
10617 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10618 by my last patch (hopefully).
10620 2002-11-08 John Levon <levon@movementarian.org>
10629 * toc.C: ParConstIterator, and use it (from Lars)
10631 2002-11-07 Ben Stanley <bds02@uow.edu.au>
10633 * lyxtextclass.[Ch]: revise and add doxygen comments
10635 2002-11-07 John Levon <levon@movementarian.org>
10637 * text.C: fix progress value for spellchecker
10639 * toc.C: fix navigate menu for insetwrap inside minipage
10641 * paragraph_funcs.C: added FIXME for suspect code
10643 2002-11-07 John Levon <levon@movementarian.org>
10645 * BufferView_pimpl.C: fix redrawing of insets
10648 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10650 * text2.C (updateCounters): fix bug 668
10652 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
10654 * text3.C (dispatch): Do not make the buffer dirty when moving the
10657 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10659 * vc-backend.C: STRCONV
10660 (scanMaster): ditto
10662 * text2.C (setCounter): STRCONV
10664 * paragraph.C (asString): STRCONV
10666 * lyxlength.C (asString): STRCONV
10667 (asLatexString): ditto
10669 * lyxgluelength.C (asString): STRCONV
10670 (asLatexString): ditto
10672 * lyxfunc.C (dispatch): STRCONV
10675 * lyxfont.C (stateText): STRCONV
10677 * importer.C (Import): STRCONV
10679 * counters.C (labelItem): STRCONV
10680 (numberLabel): ditto
10681 (numberLabel): remove unused ostringstream o
10686 * bufferview_funcs.C (currentState): STRCONV
10688 * buffer.C (readFile): STRCONV
10689 (asciiParagraph): ditto
10690 (makeLaTeXFile): ditto
10692 * Spacing.C (writeEnvirBegin): STRCONV
10694 * LaTeXFeatures.C (getLanguages): STRCONV
10695 (getPackages): ditto
10697 (getBabelOptions): ditto
10698 (getTClassPreamble): ditto
10699 (getLyXSGMLEntities): ditto
10700 (getIncludedFiles): ditto
10704 (scanAuxFile): ditto
10707 * LString.h: add the STRCONV macros
10709 * BufferView_pimpl.C (savePosition): STRCONV
10710 (restorePosition): ditto
10711 (MenuInsertLyXFile): ditto
10713 * vc-backend.C (scanMaster): change from submatch[...] to
10716 * funcrequest.C: include config.h
10718 * factory.C: include config.h
10720 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10722 * box.C: include config.h
10724 * LaTeX.C (scanAuxFile): change from submatch[...] to
10728 2002-10-25 Angus Leeming <leeming@lyx.org>
10730 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10732 * ispell.[Ch] (setError): new method.
10733 * ispell.C (c-tor): move out child process into new class LaunchIspell.
10734 Use setError() insetead of goto END.
10736 * lyx_cb.C (AutoSave): move out child process into new class
10739 2002-10-30 John Levon <levon@movementarian.org>
10741 * text3.C: make start appendix undoable
10743 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
10745 * lyxlength.C (inPixels): Fix returned value.
10747 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10750 2002-10-24 Angus Leeming <leeming@lyx.org>
10752 * lyxgluelength.h: no need to forward declare BufferParams
10753 or BufferView, so don't.
10755 2002-10-21 John Levon <levon@movementarian.org>
10757 * BufferView.C: menuUndo ->undo, redo
10759 * BufferView.h: document, remove dead, make some methods private
10761 * paragraph_funcs.h:
10762 * paragraph_funcs.C:
10763 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10768 * sgml.C: move sgml open/close tag into sgml.C
10770 * bufferview_funcs.h: unused prototype
10773 * lyxfunc.C: remove unused
10776 * text.C: remove unused
10778 2002-10-21 John Levon <levon@movementarian.org>
10782 * BufferView_pimpl.h:
10783 * BufferView_pimpl.C: fix mouse wheel handling based on
10784 patch from Darren Freeman
10786 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
10788 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10790 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
10792 * lyxlength.C (inPixels): Fix hanfling of negative length.
10793 Fix LyXLength::MU case.
10795 2002-10-16 John Levon <levon@movementarian.org>
10797 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10799 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10801 * converter.C (view): add support for $$i (file name) and $$p
10802 (file path) for the viewer command. If $$i is not specified, then
10803 it is appended to the command (for compatibility with old syntax)
10805 2002-10-14 Juergen Vigna <jug@sad.it>
10807 * undo_funcs.C (textHandleUndo): alter the order in which the
10808 new undopar is added to the LyXText, as we have to set first
10809 the right prev/next and then add it as otherwise the rebuild of
10810 LyXText is not correct. Also reset the cursor to the right paragraph,
10811 with this IMO we could remove the hack in "redoParagraphs()".
10813 2002-10-09 Angus Leeming <leeming@lyx.org>
10815 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10816 to turn off an optimisation if a new inset is to be inserted.
10818 2002-10-11 André Pönitz <poenitz@gmx.net>
10820 * lyxtext.h: make some functions public to allow access
10821 from inset/lyxtext for handling LFUN_PRIOR/NEXT
10823 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10825 * text3.C (dispatch): when changing layout, avoid an infinite loop
10828 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10830 * lyxrc.C (read): treat a viewer or converter command of "none" as
10833 * MenuBackend.C (expandFormats): for an update, also allow the
10834 formats that are not viewable
10836 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10837 script if it is newer than the lyxrc.defaults in user directory
10839 2002-10-07 André Pönitz <poenitz@gmx.net>
10841 * text.C: Vitaly Lipatov's small i18n fix
10843 2002-09-25 Angus Leeming <leeming@lyx.org>
10845 * ispell.h: doxygen fix.
10847 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
10849 * buffer.h (readFile): Add a new argument to the method, to allow
10850 reading of old-format templates.
10852 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
10854 * toc.C (getTocList): Get TOC from InsetWrap.
10856 2002-09-16 John Levon <levon@movementarian.org>
10858 * lyxfunc.C: check tabular for cut/copy too
10860 2002-09-12 John Levon <levon@movementarian.org>
10862 * LyXAction.C: tidy
10865 * factory.C: add header
10867 * paragraph_funcs.h:
10868 * paragraph_funcs.C: cleanup
10870 2002-09-11 John Levon <levon@movementarian.org>
10872 * PrinterParams.h: odd/even default to true
10874 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
10876 * PrinterParams.h: update printer parameters for new xforms dialog
10878 2002-09-11 Angus Leeming <leeming@lyx.org>
10880 * lyxserver.C (read_ready): re-write to make it more transparent
10881 and to make it work in coherent fashion under Tru64 Unix.
10883 2002-09-11 André Pönitz <poenitz@gmx.net>
10887 * text3.C: implement LFUN_WORDSEL
10889 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10891 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10892 make floatlist_ a boost::shared_ptr<FloatList>
10894 * lyxtextclass.C: include FloatList.h
10895 (LyXTextClass): initialize floatlist_
10896 (TextClassTags): add TC_NOFLOAT
10897 (Read): match "nofloat" to TC_NOFLOAT and use it.
10898 (readFloat): modify call to floatlist_
10902 * FloatList.[Ch] (FloatList): remove commented out float
10904 (erase): new function
10906 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10908 * MenuBackend.C (expandToc): fix crash when there is no document
10911 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
10913 * many files: Add insetwrap.
10915 2002-09-09 John Levon <levon@movementarian.org>
10917 * text2.C: remove confusing and awkward depth wraparound
10919 2002-09-09 John Levon <levon@movementarian.org>
10921 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10924 * buffer.C: remove getIncludeonlyList()
10927 * lyxfunc.C: remove headers
10929 2002-09-09 Juergen Vigna <jug@sad.it>
10931 * text.C (getColumnNearX): fix form Michael this is most
10932 probably a cut&paste bug.
10934 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
10936 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10938 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10939 references, ws changes.
10941 * text2.C (init): update counters after init
10942 (insertParagraph): no need to set counter on idividual paragraphs.
10943 (setCounter): access the counters object in the textclass object
10944 on in the buffer object.
10945 (updateCounters): ditto
10947 * lyxtextclass.C: include counters.h, add variable ctrs_ as
10948 shared_ptr<Counters> to avoid loading counters.h in all
10950 (LyXTextClass): initialize ctrs_
10951 (TextClassTags): add TC_COUNTER, and ...
10952 (Read): use it here.
10953 (CounterTags): new tags
10954 (readCounter): new function
10955 (counters): new funtion
10956 (defaultLayoutName): return a const reference
10958 * counters.C (Counters): remove contructor
10959 (newCounter): remove a couple of unneeded statements.
10960 (newCounter): simplify a bit.
10961 (numberLabel): some small formatting changes.
10963 * buffer.[Ch]: remove all traces of counters, move the Counters
10964 object to the LyXTextClass.
10966 2002-09-06 Alain Castera <castera@in2p3.fr>
10968 * tabular.C: uses \tabularnewline; uses >{...} construct from array
10969 package to set the horizontal alignment on fixed width columns.
10972 * lyx_sty.h: added tabularnewline macro def.
10974 * LaTeXFeatures.C: added NeedTabularnewline macro feature
10976 2002-09-06 John Levon <levon@movementarian.org>
10978 * LyXAction.C: tooltips for sub/superscript
10980 * MenuBackend.C: a bit more verbose
10982 * lyxfunc.C: tiny clean
10984 * undo_funcs.C: document undo_frozen
10986 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
10988 * counters.C (Counters): add missing algorithm counter.
10990 * text2.C (setCounter): lookup the counter with layouts latexname
10991 instead of by section number.
10992 (setCounter): use a hackish way to lookup the correct enum
10994 a float name->type change
10995 reset enum couners with counter name directly instead of depth value.
10997 * counters.C (Counters): remove the push_backs, change to use the
10998 float type not the float name.
10999 (labelItem): remove unused string, float name->type change
11001 * counters.h: don't include vector, loose the enums and sects vectors
11003 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
11005 * lyxtextclass.C (TextClassTags): add TC_FLOAT
11006 (Read): add float->TC_FLOAT to textclassTags
11007 (Read): and handle it in the switch
11008 (readFloat): new function
11010 * FloatList.C (FloatList): comment out the hardcoded float
11013 * lyxlayout.h: ws change.
11015 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
11017 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
11019 2002-09-03 Angus Leeming <leeming@lyx.org>
11021 * BufferView_pimpl.h: qualified name is not allowed in member
11022 declaration: WorkArea & Pimpl::workarea() const;
11024 * factory.C: added using std::endl directive.
11026 * text3.C: added using std::find and std::vector directives.
11028 2002-08-29 André Pönitz <poenitz@gmx.net>
11031 * text2.C: remove unused member number_of_rows
11034 * BufferView2.C: remove file, move contents to...
11035 * BufferView.C: ... here
11037 * BufferView_pimpl.C:
11038 * factory.C: move more inset creation to factory
11040 * vspace.C: avoid direct usage of LyXText, ws changes
11043 don't provide direct access to WorkArea, use two simple
11044 acessors haveSelction() and workHeight() instead
11047 2002-08-29 John Levon <levon@movementarian.org>
11049 * BufferView_pimpl.C (dispatch): do not continue when
11052 2002-08-28 André Pönitz <poenitz@gmx.net>
11054 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
11057 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
11059 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
11061 * buffer.C: increment LYX_FORMAT to 221
11063 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
11064 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
11066 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
11068 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
11070 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11072 * factory.C (createInset): use LyXTextClass::floats
11074 * MenuBackend.C (expandFloatListInsert):
11075 (expandFloatInsert):
11078 * text2.C (setCounter):
11080 * LaTeXFeatures.C (useFloat):
11081 (getFloatDefinitions):
11083 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
11085 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
11086 floatlist_, with accessor floats().
11088 * FloatList.h: remove global FloatList
11090 2002-08-26 André Pönitz <poenitz@gmx.net>
11092 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
11096 * BufferView_pimpl.C:
11097 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
11099 2002-08-25 John Levon <levon@movementarian.org>
11101 * LyXAction.C: fix margin note description
11103 2002-08-24 John Levon <levon@movementarian.org>
11107 * bufferview_funcs.C:
11109 * undo_funcs.C: cleanups
11111 * lyxfunc.C: disable CUT/COPY when no selection
11113 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
11115 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
11116 in "enum UNIT"; e.g. PTW for Percent of TextWidth
11118 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
11119 Add backward compatibility to "mono", "gray" and "no".
11121 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
11123 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
11124 (and file_format >= 200).
11126 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11128 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
11130 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11132 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
11134 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
11136 * BufferView_pimpl.C:
11143 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
11144 inset and code to make it work with the paragraph code. The inset
11145 can be anywhere in the paragraph, but will only do the expected
11146 thing in LaTeX if the layout file contains the parameter line
11148 (or more generally, a nonzero value) for that layout.
11150 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
11152 * paragraph.h: remove the declaration of undefined counters class
11155 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
11157 * text2.C (setCounter): fixed enumeration mis-count as reported by
11158 Dr. Richard Hawkins.
11160 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11162 * paragraph_funcs.h: remove some unneeded includes
11164 * text.C (backspace): pasteParagraph now in global scipe
11166 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
11167 (pasteSelection): ditto
11169 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
11170 * paragraph_funcs.C (pasteParagraph): ... here
11172 2002-08-20 André Pönitz <poenitz@gmx.net>
11174 * commandtags.h: new LFUNs for swapping/copying table row/colums
11177 * lyxfunc.C: support for new lfuns
11179 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
11182 * buffer.[Ch]: remove NO_COMPABILITY stuff
11184 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
11186 * boost.C (throw_exception): new file, with helper function for
11187 boost compiled without exceptions.
11192 * ParameterStruct.h:
11193 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
11195 * bufferlist.C (emergencyWriteAll): use boost bind
11197 * BufferView_pimpl.C (moveCursorUpdate): remove inline
11199 * text.C: include paragraph_funcs.h
11200 (breakParagraph): breakParagraph is now in global scope
11202 * paragraph_funcs.[Ch]: new files
11204 * paragraph.C (breakParagraph,breakParagraphConservative): move to
11207 * buffer.C: include paragraph_funcs.h
11208 (insertStringAsLines): breakParagraph is now in global scope
11210 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
11213 * CutAndPaste.C: include paragraph_funcs.h
11214 (cutSelection): breakParagraphConservative is now in global scope
11215 (pasteSelection): ditto
11217 * buffer.h: declare oprator== and operator!= for
11218 Buffer::inset_iterator
11220 * bufferlist.C (emergencyWrite): don't use fmt(...)
11222 * text3.C: add using std::endl
11224 * BufferView.C (moveCursorUpdate): remove default arg
11226 2002-08-20 André Pönitz <poenitz@gmx.net>
11228 * buffer.[Ch]: move inline functions to .C
11231 * BufferView_pimpl.C:
11233 * buffer.[Ch]: use improved inset_iterator
11236 * paragraph.[Ch]: write one paragraph at a time
11238 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
11240 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
11241 style if style is not specified.
11243 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11245 * text2.C (setCounter): when searching for right label for a
11246 caption, make sure to recurse to parent insets (so that a caption
11247 in a minipage in a figure float works) (bug #568)
11249 2002-08-20 André Pönitz <poenitz@gmx.net>
11251 * text3.C: new file for LyXText::dispatch() and helpers
11253 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
11255 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
11257 2002-08-19 André Pönitz <poenitz@gmx.net>
11260 * text.C: new LyXText::dispatch()
11262 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
11264 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
11266 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
11268 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
11271 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11273 * Makefile.am: use $(variables) instead of @substitutions@
11275 2002-08-15 André Pönitz <poenitz@gmx.net>
11278 * BufferView_pimpl.C: streamlining mathed <-> outer world
11282 * LyXAction.C: remove unused LFUN_MATH
11284 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
11286 * paragraph.[Ch]: add some NO_NEXT ifdefs.
11288 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
11290 * paragraph.C (Paragraph): reformat a bit
11291 (cutIntoMinibuffer): use builtin InsetList function instad of
11295 * buffer.C: include boost/bind.hpp, add using std::for_each
11296 (writeFileAscii): use ParagraphList iterators
11297 (validate): use for_each for validate traversal of paragraphs
11298 (getBibkeyList): use ParagraphList iterators
11299 (resizeInsets): use for_each to resizeInsetsLyXText for all
11301 (getParFromID): use ParagraphList iterators
11303 * BufferView2.C (lockInset): use paragraph list and iterators
11305 2002-08-14 John Levon <levon@movementarian.org>
11307 * lyxserver.C: remove spurious xforms include
11309 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11311 * lyxfunc.C (getStatus): disable math-extern outside of math mode
11313 2002-08-13 André Pönitz <poenitz@gmx.net>
11316 * lyxfunc.C: further cleaning
11318 2002-08-13 André Pönitz <poenitz@gmx.net>
11320 * funcrequest.h: new constructor
11322 * funcrequest.C: move stuff here from .h
11325 * BufferView_pimpl.C:
11328 * lyxfunc.C: subsequent changes
11330 * lyxfunc.h: new view() member function
11332 * lyxfunc.C: subsequent changes
11334 2002-08-13 Angus Leeming <leeming@lyx.org>
11337 * BufferView_pimpl.C:
11345 changes due to the changed LyXView interface that now returns references
11346 to member variables not pointers.
11348 2002-08-13 Angus Leeming <leeming@lyx.org>
11350 * WordLangTuple (word, lang_code): return references to strings,
11355 * lyxtext.h: forward-declare WordLangTuple.
11360 * text.C: #include "WordLangTuple.h".
11363 * text.C: (selectNextWordToSpellcheck): constify return type.
11365 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
11371 * paragraph_pimpl.h:
11374 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
11375 suggested by Angus.
11376 Made updateCounter always count from start of buffer, and removed
11377 second argument (par).
11378 Reverted floats number display to '#'. Perhaps I'll try again when the
11379 code base is sanitized a bit.
11381 2002-08-12 Angus Leeming <leeming@lyx.org>
11383 * buffer.[Ch] (getLabelList): constify.
11385 2002-08-07 André Pönitz <poenitz@gmx.net>
11387 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
11389 * funcrequest.h: extension to keep mouse (x,y) position
11391 2002-08-12 Juergen Vigna <jug@sad.it>
11393 * BufferView2.C (insertErrors): forbid undo when inserting error
11396 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
11398 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
11400 * ParagraphList.[Ch]: new files
11402 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
11404 * BufferView2.C (lockInset): ParagraphList changes
11407 * bufferlist.C: ditto
11411 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11413 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
11414 unused class variable counter_,
11416 * paragraph.[Ch] (getFirstCounter): delete unused function
11418 * counters.C: include LAssert.h
11419 (reset): add a new function with no arg, change other version to
11420 not have def. arg and to not allow empty arg.
11422 * text2.C (setCounter): remove empty arg from call to Counters::reset
11424 2002-08-11 John Levon <levon@movementarian.org>
11426 * Makefile.am: add WordLangTuple.h
11428 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11430 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
11431 lyxfunc.C lyxlex_pimpl.C: ws changes only.
11433 * insets/insettext.C: InsetList changes
11435 * graphics/GraphicsSupport.C (operator()): InsetList changes
11437 * toc.C (getTocList): InsetList changes
11439 * paragraph_pimpl.[Ch]: InsetList changes
11441 * paragraph.[Ch]: InsetList changes
11443 * buffer.C (inset_iterator): InsetList changes
11444 (setParagraph): ditto
11445 * buffer.h (inset_iterator): ditto
11446 * iterators.C (operator++): ditto
11447 * iterators.h: ditto
11449 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11451 * InsetList.[Ch]: new files, most InsetList handling moved out of
11454 * BufferView2.C (removeAutoInsets): InsetList changes
11456 (ChangeInsets): ditto
11458 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
11460 * paragraph_pimpl.h (empty): new function
11462 * paragraph.[Ch] (empty): new function
11464 * other files: use the new Paragraph::empty function
11466 2002-08-09 John Levon <levon@movementarian.org>
11468 * lyxtext.h: remove unused refresh_height
11470 2002-08-09 John Levon <levon@movementarian.org>
11477 * paragraph.C: move sgml char escaping out of paragraph
11480 * paragraph.C: remove id setter
11484 * paragraph_pimpl.C: remove dead tex_code_break_column
11486 * bufferview_funcs.C: small cleanup
11488 * lyxfunc.C: remove dead proto
11490 * lyxtext.h: make some stuff private. Remove some dead stuff.
11492 * lyxgluelength.C: make as[LyX]String() readable
11494 2002-08-08 John Levon <levon@movementarian.org>
11499 * ToolbarDefaults.C:
11502 * toc.C: lyxaction cleanup
11504 2002-08-08 John Levon <levon@movementarian.org>
11506 * BufferView2.C: small cleanup
11509 * lyxfind.C: move unnecessary header into the .C
11511 2002-08-08 John Levon <levon@movementarian.org>
11513 * funcrequest.h: just tedious nonsense
11516 * lyx_main.C: cleanups
11519 * vspace.C: remove dead header lyx_main.h
11521 2002-08-07 Angus Leeming <leeming@lyx.org>
11524 * paragraph_pimpl.h:
11525 Forward declare class Counters in paragraph.h by moving the ctrs member
11526 variable into Paragraph::Pimpl.
11527 (counters): new method, returning a reference to pimpl_->ctrs.
11529 * text2.C: ensuing changes.
11531 2002-08-07 John Levon <levon@movementarian.org>
11533 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11535 * BufferView_pimpl.C: announce X selection on double/triple
11538 * lyx_main.C: use correct bool in batch dispatch
11540 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11542 2002-08-07 André Pönitz <poenitz@gmx.net>
11544 * funcrequest.h: new class to wrap a kb_action and its argument
11547 * BufferView_pimpl[Ch]:
11551 * lyxrc.C: subsequent changes
11554 2002-08-07 John Levon <levon@movementarian.org>
11556 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11557 document options change.
11559 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11564 * makefile.am: move counters functionality over from
11565 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11567 2002-08-06 John Levon <levon@movementarian.org>
11569 * WordLangTuple.h: new file for word + language code tuple
11580 * BufferView2.C: use WordLangTuple
11583 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11585 2002-08-06 John Levon <levon@movementarian.org>
11587 * lyx_main.C: fix cmdline batch handling
11589 2002-08-06 André Pönitz <poenitz@gmx.net>
11591 * lyxrc.C: set default for show_banner to true
11593 2002-08-06 John Levon <levon@movementarian.org>
11595 * pspell.C: fix a crash, and allow new aspell to work
11597 2002-08-06 John Levon <levon@movementarian.org>
11600 * kbmap.C: small cleanup
11603 * vspace.C: add const
11605 2002-08-05 John Levon <levon@movementarian.org>
11607 * LyXAction.C: back to tabular-insert
11609 2002-08-04 John Levon <levon@movementarian.org>
11612 * BufferView.C: cosmetic change
11614 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11624 * BufferView2.C: purge all "Lyx" not "LyX" strings
11627 * lyxcursor.C: attempt to add some documentation
11632 * ToolbarDefaults.C:
11633 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11634 merge with LFUN_TABULAR_INSERT
11641 * pspell.C: split up i/pspell implementations into separate
11642 files, many cleanups
11644 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11646 * text2.C: some cleanup
11648 * lyxfunc.C: don't check for isp_command == "none" any more, it
11649 didn't make any sense
11651 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11656 * makefile.am: move counters functionality over
11657 from text2.C/paragraph.[Ch] to counters.[Ch], and
11659 2002-08-02 John Levon <levon@movementarian.org>
11661 * buffer.C: s/lyxconvert/lyx2lyx/
11663 2002-08-02 Angus Leeming <leeming@lyx.org>
11665 * lyxlex.C: revert John's change as it breaks reading of the user
11668 2002-08-02 Angus Leeming <leeming@lyx.org>
11670 * importer.C (Import):
11671 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11672 changes due to LyXView::view() now returning a boost::shared_ptr.
11674 2002-08-02 John Levon <levon@movementarian.org>
11676 * lyxlex.C: small cleanup
11678 2002-08-02 John Levon <levon@movementarian.org>
11680 * text2.C (status): small cleanup, no logic change
11682 2002-08-01 John Levon <levon@movementarian.org>
11685 * buffer.C (writeFile): don't output alerts, caller
11689 * lyx_cb.C: from above
11691 * lyxfunc.C: allow to open non-existent files
11693 2002-07-31 John Levon <levon@movementarian.org>
11695 * lyxserver.C: don't let incidental errors get
11698 2002-07-30 John Levon <levon@movementarian.org>
11700 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11702 2002-07-30 John Levon <levon@movementarian.org>
11705 * lyxserver.C: remove I/O callback too
11707 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11709 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11712 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
11714 * many files: strip,frontStrip -> trim,ltrim,rtrim
11716 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
11718 * PrinterParams.h: remove extern containsOnly, and include
11719 support/lstrings.h instead.
11721 * LaTeX.C (scanAuxFile): modify because of strip changes
11723 * buffer.C (makeLaTeXFile): ditto
11724 * bufferparams.C (writeFile): ditt
11725 * lyxfont.C (stateText): ditto
11726 * lyxserver.C (read_ready): ditto
11727 * vc-backend.C (scanMaster): ditto
11729 * BufferView_pimpl.h: ws changes
11731 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11733 2002-07-26 André Pönitz <poenitz@gmx.net>
11735 * kb_sequence.C: remove unnedred usings
11737 2002-07-26 Juergen Vigna <jug@sad.it>
11739 * lyxfind.C (LyXReplace): we have to check better if the returned
11740 text is not of theLockingInset()->getLockingInset().
11742 2002-07-25 Juergen Vigna <jug@sad.it>
11744 * lyxfind.C (LyXReplace): don't replace if we don't get the
11747 * undo_funcs.C (createUndo): remove debugging code.
11749 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
11751 * buffer.C (parseSingleLyXformat2Token): Use default placement
11752 when reading old floats.
11754 * FloatList.C (FloatList): Change the default placement of figure
11755 and tables to "tbp".
11757 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
11759 * MenuBackend.C: using std::max
11761 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11763 * MenuBackend.C (expandToc):
11764 (expandToc2): code moved from xforms menu frontend. It is now
11765 generic and TOCs are transparent to menu frontends.
11767 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11769 * toc.C (getTocList): protect against buf=0
11771 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11772 Menu as first parameter. Now, this calls itself recursively to
11773 expand a whole tree (this will be useful for TOC handling)
11774 (expandFloatInsert): remove 'wide' version of floats
11776 * MenuBackend.h (submenuname): returns the name of the submenu.
11777 (submenu): returns the submenu itself, provided it has been
11778 created by MenuBackend::expand
11780 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11782 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11783 insets which have noFontChange == true. (bug #172)
11785 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11787 * BufferView_pimpl.C: add connection objects and use them...
11790 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11792 * MenuBackend.C (expandLastfiles):
11795 (expandFloatListInsert):
11796 (expandFloatInsert):
11797 (expand): split expand in parts
11799 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11801 * lyx_gui.C: use lyx_gui::exit()
11803 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11805 * LyXAction.C: show the failing pseudo action
11807 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
11809 * buffer.C (readFile): Run the lyxconvert script in order to read
11812 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11816 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11818 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11822 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11824 2002-07-22 Herbert Voss <voss@lyx.org>
11827 * lyxlength.[Ch]: add support for the vertical lengths
11829 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
11831 * toc.[Ch]: std:: fixes
11833 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11835 * lyxrc.C: do not include lyx_main.h
11837 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11843 * BufferView2.C: include "lyxlex.h"
11846 * bufferparams.h: do not #include "lyxlex.h"
11848 * lyxtextclasslist.C (Add): remove method
11849 (classlist): renamed to classlist_
11851 * paragraph_pimpl.C:
11855 * bufferview_funcs.C:
11860 * toc.C (getTocList): use BufferParams::getLyXTextClass
11862 * toc.C (getTocList): use InsetFloat::addToToc
11864 * toc.[Ch]: new files, containing helper functions to handle table
11867 * lyxfunc.C (dispatch): no need to remove spaces around command
11869 (getStatus): handle LFUN_SEQUENCE by returning the status of the
11870 first command of the sequence; it is not very clever, but I do not
11871 have a better idea, actually
11873 * LyXAction.C (LookupFunc): make sure to remove space at the
11874 beginning and end of the command
11876 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11878 * MenuBackend.C (getMenubar): new method: return the menubar of
11880 (read): treat differently reading of menu and menubar (in
11881 particular, the menubar has no name now)
11882 (Menu::menubar): remove
11884 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11887 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11889 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11890 a bibitem inset in a RTL paragraph.
11892 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
11894 * paragraph_pimpl.C: constify
11896 * BufferView_pimpl.C:
11898 * lyxfunc.C: fix dispatch in a nicer way
11900 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11902 * lyxfunc.C (dispatch):
11903 * BufferView_pimpl.C:
11904 * BufferView_pimpl.h:
11906 * BufferView.h: rename Dispatch() to dispatch()
11908 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11910 * lyxlayout.C (Read): honor DependsOn tag
11912 * lyxlayout.[Ch] (depends_on): new method
11914 * version.C.in: update lyx_docversion
11916 * LaTeXFeatures.C (getMacros): only define \LyX when needed
11918 * paragraph.C (validate): remove from here...
11919 * paragraph_pimpl.C (validate): ... and move here
11920 (isTextAt): make it const
11922 * buffer.C (getLists): ws cleanup
11924 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11926 * language.C (read): Use iso8859-1 encoding in latex_lang
11927 (this prevents LyX from crashing when using iso10646-1 encoding).
11929 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11931 * text2.C (toggleInset): if cursor is inside an inset, close the
11932 inset and leave cursor _after_ it
11934 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11936 * lyxfunc.C: move minibuffer completion handling out of here
11938 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11940 * BufferView_pimpl.C:
11941 * LaTeX.C: fix dispatch calls
11943 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
11945 * text.C (drawChars): Fix Arabic text rendering.
11947 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
11951 * lyxfunc.C: remove message-push/pop
11955 * lyxfunc.C: rationalise some code by removing verboseDispatch
11956 in favour of a bool argument to dispatch()
11958 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11960 * lyx_main.C (init): make sure to read symlinks as absolute paths
11962 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11965 * lyxfunc.C: no need for commandshortcut to be a member
11967 2002-07-15 André Pönitz <poenitz@gmx.net>
11969 * converter.C: add support for $$s (scripts from lib/scripts dir)
11970 * lyx_main.C: white space
11972 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11976 * lyxrc.C: remove second exit confirmation
11978 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11983 * BufferView_pimpl.h:
11984 * BufferView_pimpl.C:
11985 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11987 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11989 * MenuBackend.C (expand): add numeric shortcuts to document menu
11991 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11993 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11995 * lyxfont.C (setLyXFamily):
12002 * buffer.C (asciiParagraph): use ascii_lowercase
12004 2002-07-15 Mike Fabian <mfabian@suse.de>
12006 * lyxlex_pimpl.C (search_kw):
12007 * lyxlex.C (getLongString):
12008 * converter.h (operator<):
12009 * converter.C (operator<):
12010 * buffer.C (parseSingleLyXformat2Token):
12012 * ToolbarDefaults.C (read):
12013 * MenuBackend.C (checkShortcuts):
12015 * LColor.C (getFromGUIName):
12016 (getFromLyXName): use the compare_ascii_no_case instead of
12017 compare_no_case, because in turkish, 'i' is not the lowercase
12018 version of 'I', and thus turkish locale breaks parsing of tags.
12020 2002-07-16 Angus Leeming <leeming@lyx.org>
12022 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
12023 now takes a Buffer const & argument.
12025 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
12027 * BufferView.C (resize): check there's a buffer to resize
12029 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
12031 * lyxfunc.C: remove dead code
12034 * lyxserver.C: use lyx_guii::set_read_callback
12036 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
12038 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
12039 an inset in a RTL paragraph.
12041 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
12043 * lyxfunc.C: repaint after a font size update
12045 2002-07-15 André Pönitz <poenitz@gmx.net>
12047 * lyxlength.C: inBP should be able to return negative values
12049 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
12051 * lyxfunc.C: use lyx_gui::update_fonts()
12053 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
12055 * lyxfunc.C: use lyx_gui::update_color()
12057 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
12063 * lyxrc.C: remove file->new asks for name option, and let
12064 buffer-new take an argument
12066 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
12068 * BufferView_pimpl.C: remove unneeded extra repaint()
12070 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
12072 * LyXAction.C: allow command-sequence with NoBuffer
12074 * lyxfunc.C: don't insist on trailing ';' for command-sequence
12076 2002-07-10 Angus Leeming <leeming@lyx.org>
12078 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
12080 2002-07-09 Angus Leeming <leeming@lyx.org>
12082 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
12084 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
12086 * lengthcommon.h: whitespace
12088 * lyxfunc.C: update scrollbar after goto paragraph
12090 * lyxtext.h: factor out page break drawing, and fix it so
12091 page break/added space paints as selected nicely
12093 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
12095 * BufferView_pimpl.C: add FIXMEs, clean up a little
12097 2002-07-09 André Pönitz <poenitz@gmx.net>
12099 * lyxfont.[Ch]: support for wasy symbols
12101 2002-07-08 André Pönitz <poenitz@gmx.net>
12103 * BufferView_pimpl.C: apply John's patch for #93.
12105 2002-07-05 Angus Leeming <leeming@lyx.org>
12107 * BufferView_pimpl.C (buffer): generate previews if desired.
12109 * LColor.h: add "preview" to the color enum.
12111 * LColor.C (LColor): add a corresponding entry to the items array.
12113 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
12116 2002-07-05 Angus Leeming <leeming@lyx.org>
12118 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
12119 The body of the code is now in the method that is passed an ostream &
12120 rather than a file name.
12121 Pass an additional only_preamble parameter, useful for the forthcoming
12124 2002-07-03 André Pönitz <poenitz@gmx.net>
12126 * lyxfunc.C: simplify getStatus() a bit for math stuff
12128 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12130 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
12132 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12134 * text.C (changeRegionCase): do not change case of all the
12135 document when region ends at paragraph end (bug #461)
12137 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12139 * paragraph.C (startTeXParParams):
12140 (endTeXParParams): add \protect when necessary
12142 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12144 * BufferView_pimpl.C (workAreaExpose): remove warning
12146 2002-06-27 Angus Leeming <leeming@lyx.org>
12148 * Makefile.am: add lyxlayout_ptr_fwd.h.
12150 2002-06-26 André Pönitz <poenitz@gmx.net>
12152 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
12154 2002-06-25 Angus Leeming <leeming@lyx.org>
12156 * lyxfunc.C (dispatch): Comment out the call to
12157 grfx::GCache::changeDisplay. The method no longer exists now that the
12158 pixmap generation part of the graphics loader has been moved into
12161 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12163 * text2.C: layout as layout
12165 * text.C: layout as layout
12167 * tabular.C (OldFormatRead): layout as layout
12169 * paragraph_pimpl.C (TeXDeeper): layout as layout
12170 (realizeFont): layout as layout
12172 * paragraph.C (writeFile): layout as layout
12173 (validate): layout as layout
12174 (getFont): layout as layout
12175 (getLabelFont): layout as layout
12176 (getLayoutFont): layout as layout
12177 (breakParagraph): layout as layout
12178 (stripLeadingSpaces): layout as layout
12179 (getEndLabel): layout as layout
12180 (getMaxDepthAfter): layout as layout
12181 (applyLayout): layout as layout
12182 (TeXOnePar): layout as layout
12183 (simpleTeXOnePar): layout as layout
12184 (TeXEnvironment): layout as layout
12185 (layout): layout as layout
12186 (layout): layout as layout
12188 * lyxtextclass.C (compare_name): new functor to work with
12189 shared_ptr, layout as layout
12190 (Read): layout as layout
12191 (hasLayout): layout as layout
12192 (operator): layout as layout
12193 (delete_layout): layout as layout
12194 (defaultLayout): layout as layout
12196 * lyxlayout_ptr_fwd.h: new file
12198 * lyxlayout.C (Read): layout as layout
12200 * lyx_cb.C (MenuInsertLabel): layout as layout
12202 * bufferlist.C (newFile): layout as layout
12204 * buffer.C (readLyXformat2): layout as layout
12205 (parseSingleLyXformat2Token): layout as layout
12206 (insertStringAsLines): layout as layout
12207 (asciiParagraph): layout as layout
12208 (latexParagraphs): layout as layout
12209 (makeLinuxDocFile): layout as layout
12210 (simpleLinuxDocOnePar): layout as layout
12211 (makeDocBookFile): layout as layout
12212 (simpleDocBookOnePar): layout as layout
12213 (getLists): layout as layout
12215 * LaTeXFeatures.C (getTClassPreamble): layout as layout
12217 * CutAndPaste.C (cutSelection): layout as layout
12218 (pasteSelection): layout as layout
12219 (SwitchLayoutsBetweenClasses): layout as layout
12221 * BufferView_pimpl.C (Dispatch): layout as layout
12222 (smartQuote): layout as layout
12224 * BufferView2.C (unlockInset): layout as layout
12226 2002-06-24 André Pönitz <poenitz@gmx.net>
12228 * lyxfunc.C: fix #487
12230 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12234 * lyxfunc.C: remove display_shortcuts, show_banner
12236 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12238 * Buffer_pimpl.C: oops, update on resize
12240 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12247 * BufferView.C: use repaint()
12249 * BufferView_pimpl.h:
12250 * BufferView_pimpl.C: s/updateScreen()/repaint()/
12251 as it's a clearer description. Remove superfluous
12254 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12256 * text.C: fix bug 488. Not ideal, but getting
12257 getWord() to work properly for the insets that
12258 matter is more difficult ...
12260 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12262 * BufferView_pimpl.C:
12265 * lyxfunc.C: remove the six million index lyxfuncs to just
12266 one, and DTRT (bug 458)
12268 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12272 * BufferView_pimpl.h:
12273 * BufferView_pimpl.C: clean up resize() stuff,
12274 and unnecessary updateScreen()s
12276 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12280 * BufferView_pimpl.h:
12281 * BufferView_pimpl.C:
12284 * minibuffer.C: remove focus management of workarea,
12285 not needed. Use screen's greyOut()
12287 2002-06-17 Herbert Voss <voss@lyx.org>
12289 * converter.C: (convert) do not post a message, when converting
12290 fails, let the calling function decide what to do in this case
12292 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
12294 * lyxfunc.C: tidy up a little
12296 2002-06-16 <alstrup@diku.dk>
12298 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
12299 Got rid of FORMS_H_LOCATION include. Now we are
12302 2002-06-15 LyX Development team <lyx@rilke>
12304 * buffer.[Ch] (sgmlOpenTag):
12305 (sgmlCloseTag): Added support for avoiding pernicious mixed
12306 content. Return number of lines written.
12308 (makeLinuxDocFile):
12309 (makeDocBookFile): Fixed calls to sgml*Tag.
12310 Simple white space clean.
12312 (simpleDocBookOnePar): Simple white space clean.
12314 * tabular.[Ch] (docBook): Renamed to docbook and got another
12315 argument to related with the pernicious mixed content.
12317 (docbookRow): Fixed calls for docbook inset method.
12319 2002-06-15 Lyx Development team <larsbj@birdstep.com>
12321 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
12322 so it's X11 independent.
12326 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
12328 2002-06-15 Lyx Development team <lyx@electronia>
12330 * intl.h: Renamed getTrans to getTransManager.
12332 2002-06-14 Angus Leeming <leeming@lyx.org>
12334 * Makefile.am: nuke forgotten stl_string_fwd.h.
12336 2002-06-12 Angus Leeming <leeming@lyx.org>
12338 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
12340 2002-06-13 Angus Leeming <leeming@lyx.org>
12343 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
12345 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
12347 * kbmap.C (getiso): add support for cyrillic and greek
12349 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12353 * BufferView_pimpl.h:
12354 * BufferView_pimpl.C: move bogus scrolling logic
12357 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12360 * BufferView_pimpl.C: view->resize() change
12362 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12364 * BufferView_pimpl.C: topCursorVisible
12367 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12371 * lyx_gui.C: move to frontends/
12375 * lyx_main.C: changes from above
12377 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12384 * lyx_main.C: minor tidy
12386 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12388 * BufferView_pimpl.h:
12389 * BufferView_pimpl.C:
12391 * BufferView.C: make painter() const,
12394 * BufferView2.C: use screen() accessor
12397 * lyx_main.C: some minor cleanup
12399 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12401 * BufferView_pimpl.h:
12402 * BufferView_pimpl.C: remove enter/leaveView,
12405 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12410 * BufferView_pimpl.h:
12411 * BufferView_pimpl.C: only construct screen once,
12414 * lyxrc.C: remove pointless comment
12416 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
12419 * BufferView.C: remove active() and belowMouse()
12421 * BufferView_pimpl.h:
12422 * BufferView_pimpl.C: use workarea() not workarea_,
12423 and make it use a scoped_ptr instead
12425 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
12427 * lyx_gui.C: add debug message on BadWindow
12429 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12431 * sp_spell.C: fdopen is not part of the C++ standard.
12433 * paragraph.C (InsetIterator): use >= instead of ==
12435 2002-06-07 Angus Leeming <leeming@lyx.org>
12437 Fixes needed to compile with Compaq cxx 6.5.
12438 * BufferView_pimpl.C:
12445 * lyxtextclasslist.C:
12450 all c-library variables have been moved into namespace std. Wrap
12451 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12456 Add a using std::abs declaration.
12458 * kbmap.h (modifier_pair):
12459 * paragraph.h (InsetTable, InsetList):
12460 * lyxfont.h (FontBits):
12461 type definition made public.
12463 * bufferlist.C (emergencyWriteAll): the compiler complains that
12464 there is more than one possible lyx::class_fun template to choose from.
12465 I re-named the void specialisation as lyx::void_class_fun.
12467 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12469 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12470 the compiler is is unable to find tostr in write_attribute.
12472 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12474 * buffer.C (sgmlError): hide #warning
12476 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12478 * xtl/*: get rid of xtl, which is not in use anyway
12480 * LyXAction.C (init):
12481 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12482 were unimplemented xtl experimentation
12484 2002-06-04 André Pönitz <poenitz@gmx.net>
12486 * lyxfunc.C: disable array operation on simple formulae
12488 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
12490 * converter.C: constify a bit
12492 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
12494 * lyx_gui.C: check xforms version correctly
12496 2002-04-30 Herbert Voss <voss@lyx.org>
12498 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12501 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
12503 * lyxvc.C: fix bug 416 (make sure buffer is saved before
12504 attempt to register it with a VCS)
12506 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12508 * lyx_main.C (init): honor variables LYX_DIR_13x and
12511 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12515 * lyx_main.C: fix a crash on bad command line,
12516 and give a useful exit status on error
12518 * lyxfunc.C (doImport): allow -i lyx to work
12520 2002-03-30 André Pönitz <poenitz@gmx.net>
12522 * lyxfunc.C: mathed font changes
12524 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12539 * trans_mgr.h: srcdocs, and some minor cleanups
12541 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12543 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12544 call getFont all the time)
12546 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12548 * switch from SigC signals to boost::signals
12550 2002-05-29 André Pönitz <poenitz@gmx.net>
12552 * paragraph_pimpl.C (getChar): don't call size() too often...
12554 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12556 * paragraph_pimpl.C (insertChar): do not try to update tables when
12557 appending (pos == size())
12559 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12560 in order to reduce drastically the number of comparisons needed to
12561 parse a large document
12563 2002-05-29 André Pönitz <poenitz@gmx.net>
12569 * textclasslist.[Ch]:
12570 * sp_ispell.h: whitespace change
12572 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12574 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12575 lyxaction directly now.
12577 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
12581 * lyxvc.C: remove unused headers
12583 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12590 * undo_funcs.C: some cleanups. Use shared_ptr
12591 and a template for the undo stacks.
12593 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12595 * BufferView_pimpl.h:
12596 * BufferView_pimpl.C:
12603 * text2.C: use key_state/mouse_state
12605 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12607 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12610 * chset.C: change include order
12611 (loadFile): use boost regex and get rid of LRegex and LSubstring
12613 * Makefile.am (BOOST_LIBS): new variable
12614 (lyx_LDADD): use it
12616 * LaTeX.C: change include order.
12617 (scanAuxFile): use boost regex and get rid of LRegex and
12621 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12626 * FontInfo.C: moved to frontends/xforms/
12629 * FontLoader.C: moved into frontends for GUIIzation
12634 * lyxfunc.C: changes from above
12636 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12638 * LColor.C: remove spurious X include
12640 * BufferView_pimpl.C:
12645 * text2.C: move font metrics to frontends/
12647 2002-05-24 Juergen Vigna <jug@sad.it>
12649 * undo_funcs.C (textHandleUndo): fix the cursor selection after
12650 setting the undo_cursor.
12652 * ParagraphParameters.h: include local includes first.
12654 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12656 * BufferView_pimpl.C:
12657 * BufferView_pimpl.h:
12661 * screen.C: move WorkArea into frontends/
12667 * BufferView2.C: move LyXScreen into frontends/
12671 * lyx_gui.C: move lyxlookup into frontends/xforms/
12673 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12676 * BufferView_pimpl.C:
12686 * bufferview_funcs.C:
12699 * vc-backend.C: move LyX/XFormsView into frontends/
12701 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12713 * text2.C: move Painter to frontends/
12715 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
12717 * buffer.C: comment out some some code that depend upon lyx_format
12720 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12721 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12723 * buffer.h (NO_COMPABILITY): turn off compability
12725 * ColorHandler.C: include scoped_array.hpp
12727 * font.C: Use more specific smart_ptr header.
12730 * ShareContainer.h: ditto
12731 * lyx_main.h: ditto
12733 * FontInfo.h: ditto
12734 * BufferView_pimpl.h: ditto
12735 * ColorHandler.h: ditto
12737 * kbmap.C (defkey): change call to shared_ptr::reset
12739 2002-05-21 Juergen Vigna <jug@sad.it>
12741 * buffer.C (insertErtContents): fix to insert ert asis if it is
12742 non empty. Skip it completely if it contains only whitespaces.
12744 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
12746 * BufferView_pimpl.C:
12747 * BufferView2.C: clear selection on paste (bug 393)
12749 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12751 * DepTable.C: include ctime
12753 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
12755 * buffer.C (latexParagraphs): Add new argument (moving_arg).
12757 2002-05-14 Juergen Vigna <jug@sad.it>
12759 * text.C (breakParagraph): fixed function to honor the keepempty
12760 layout in the right maner and also to permit the right breaking
12761 algorithm on empty or non empyt keepempty paragraphs.
12763 * paragraph.C (breakParagraph): we have to check also if the par
12764 is really empty (!size()) for isempty otherwise we do the wrong
12767 2002-05-10 Juergen Vigna <jug@sad.it>
12769 * buffer.[Ch] : The following are only changes to the ert
12770 compatibility read reading old LaTeX layout and font stuff and
12771 convert it to ERTInsets.
12773 * buffer.h: added isErtInset().
12775 * buffer.C (struct ErtComp): add a fromlayout bool to check
12776 if we're inside a LaTeX layout.
12777 (isErtInset): new helper function.
12778 (insertErtContents): look for other ert insets before this one
12779 and insert the contents there, so that we don't have subsequent
12780 ERT insets with nothing between them. This way we create only one
12781 inset with multiple paragraphs. Also check if we don't insert only
12782 spaces ' ' as they are ignored anyway afterwards in the .tex file
12783 so if we have only spaces we will ignore this latex part in the
12785 (parseSingleLyXformat2Token \\layout): better compatibility when
12786 reading layout-latex stuff.
12787 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12789 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12790 stuff after reading the inset only get the information back from
12793 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
12795 * buffer.C (makeLaTeXFile): Put language options after loading babel.
12797 * LaTeXFeatures.C (getBabelOptions): New method.
12799 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12801 * BufferView_pimpl.C (Dispatch): work around missing argument for
12804 2002-05-08 Juergen Vigna <jug@sad.it>
12806 * text.C (leftMargin): handle paragraph leftindent.
12808 * paragraph.C (writeFile): write the new \\leftindent tag.
12809 (validate): handle leftindent code.
12810 (TeXEnvironment): handle paragraphleftindent code again.
12812 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12814 * buffer.C (parseSingleLyXformat2Token): added compatibility code
12815 for paragrap_extra indent code and new token \\leftindent.
12816 (latexParagraphs): handle the leftindent as environment.
12818 * ParameterStruct.h: added leftindent support.
12820 * ParagraphParameters.C (leftIndent): added support functions for
12821 the paragraph left indent.
12823 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12826 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
12828 * paragraph.C (isRightToLeftPar): Return false for a paragraph
12831 * text.C (computeBidiTables): No bidi in insetERT.
12833 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12836 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12838 * version.C.in: pre 5
12840 2002-05-02 José Matos <jamatos@fep.up.pt>
12841 * buffer.C (makeDocBookFile): white space changes, add newline to
12843 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12845 * tabular.C (docBook): fix typo.
12847 2002-05-03 Juergen Vigna <jug@sad.it>
12849 * screen.C (drawFromTo): recalculate the rowpointer if we had a
12850 change in LyXText as we can not be sure it was not freed.
12851 (drawOneRow): remove unused code.
12853 * text.C (drawInset): redo the calculation of the need_break_row as
12854 it could have a row which was already freed.
12855 (draw): look at the return value of drawInset and return false if
12856 it also returned false.
12857 (paintRowText): look at the return value of draw and return false if
12858 it also returned false.
12860 * lyxtext.h: added bool return type to drawInset() and draw() so that
12861 if we have a change in the row so that the rowbreak has to be redone
12862 we abort drawing as it will be called again.
12864 2002-05-02 Juergen Vigna <jug@sad.it>
12866 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12867 a change in the maintext also if we're inside an inset.
12868 (Dispatch): set the cursor again after a break line and after the
12869 screen has been updated as it could be we're in a different row.
12871 * text2.C (fixCursorAfterDelete): check to make sure we don't request
12872 to set the cursor behind the pargraph with > size().
12873 (setCursor): check also for the same paragraph when checking where
12874 to put the cursor if we have a NFR inset.
12876 * buffer.C (parseSingleLyXformat2Token): move the compatibility
12877 parts of layout read further up as it still was in the wrong
12880 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12882 * screen.C (drawFromTo): change sine fullRebreak always return
12885 * buffer.C (parseSingleLyXformat2Token): reindent some
12887 * BufferView_pimpl.C (update): change since fullRebreak always
12889 (Dispatch): git rid of the last hardcoded "Standard"s.
12891 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
12893 * text2.[Ch] (fullRebreak): make it return void now that we always
12896 2002-04-30 Juergen Vigna <jug@sad.it>
12898 * buffer.C (parseSingleLyXformat2Token): reset the font before the
12899 ert compatibility check for "latex" layout.
12901 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
12903 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12904 minipages: use col% instead of p%, and also use the current font.
12905 (makeLaTeXFile): Fix use babel condition.
12906 (parseSingleLyXformat2Token): Correct font when reading old floats.
12908 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
12910 * BufferView_pimpl.C (Dispatch): Check that float type exists when
12911 inserting list of floats.
12913 2002-04-25 Herbert Voss <voss@lyx.org>
12915 * MenuBackend.C (expand): don't add the graphics extensions to the
12918 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12920 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12921 non-existing layout, do not complain if it was the default layout
12922 of the original class (bug #342)
12924 2002-04-24 Juergen Vigna <jug@sad.it>
12926 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12927 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12929 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
12931 * buffer.C (getBibkeyList): If using \bibliography, return the
12932 option field with the reference itself. Enables us to provide natbib
12933 support when using \bibliography.
12935 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
12937 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12939 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12940 natbib is provided by the LaTeX class.
12942 2002-04-23 Juergen Vigna <jug@sad.it>
12944 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12947 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12949 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12951 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12953 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12954 ensuremath around textordmasculine, textordfeminine and
12957 2002-04-19 Juergen Vigna <jug@sad.it>
12959 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12960 reinitializing the buffer otherwise row-dimensions may be wrong.
12961 (update): reset also the selection cursors if they do exits otherwise
12962 their x/y positions may be wrong.
12964 * text2.C (cursorDown): don't enter the inset if we came from a row
12965 above and are one row over the inset.
12967 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12968 really leaving an inset.
12970 2002-04-18 Juergen Vigna <jug@sad.it>
12972 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12973 of the selected paragraph does not have the selected layout also if
12976 * text2.C (setLayout): fixed bug which did not change last selected
12979 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12980 changed the read and substituted \\end_float with \\end_inset!
12982 * BufferView_pimpl.C (cursorPrevious):
12983 (cursorNext): fixed to make it work with rows heigher than the work
12984 area without moving the cursor only the draw of the row.
12985 (workAreaMotionNotify): fix jumping over high rows.
12987 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12989 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12992 2002-04-16 Juergen Vigna <jug@sad.it>
12994 * text2.C (setCursor): set also the irow().
12995 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12997 (cursorDown): support for locking an inset if the x_fix value goes
12998 inside it. That way I can transverse insets too with cursor up/down.
13000 * lyxrow.h: added irow helper function same as other (i) functions.
13002 * BufferView_pimpl.C (cursorPrevious):
13003 (cursorNext): fixed for insets!
13005 2002-04-15 Juergen Vigna <jug@sad.it>
13007 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
13008 position otherwise it is wrong in some cases.
13010 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
13011 inside the inset before the call.
13013 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
13015 * buffer.[Ch] (getBibkeyList): make it const.
13017 2002-04-12 Juergen Vigna <jug@sad.it>
13019 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
13021 * text2.C (getCursorX): new helper function
13022 (setCursor): compute also ix_
13023 (setCursorFromCoordinates): set also ix.
13025 * lyxcursor.h: added ix_ and helper functions.
13027 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
13029 * buffer.C (insertStringAsLines): dont break paragraph if the this
13030 paragraph is inside an inset which does not permit it!
13032 * text.C (breakParagraph): honor keepempty flag and break the paragraph
13033 also with no chars on this paragraph.
13034 (paintRowText): only paint stuff if it's inside the workarea!
13036 * paragraph.C (breakParagraph): honor keepempty flag and break the
13037 paragraph always below not above.
13039 * BufferView2.C (unlockInset): update the paragraph layout on inset
13040 unlock as we changed paragraph in such a case.
13042 * lyxfind.C (LyXFind): clear the former selection if not found!
13044 * text2.C (insertInset): freeze Undo after setUndo so that it is not
13045 again called in insertChar().
13047 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
13048 an inset which uses the whole row!
13049 (rightMargin): ditto.
13050 (insertChar): force a rebreak if we inserted an inset!
13052 2002-03-28 Herbert Voss <voss@lyx.org>
13054 * lyxlength.[Ch]: add inBP() to get the right PS-point
13055 units (BigPoint). With inPixels we have rounding errors
13057 2002-04-11 Juergen Vigna <jug@sad.it>
13059 * text2.C (setCursorFromCoordinates): set iy to the right value.
13060 (setCursor): add check if row->previous exists!
13062 * buffer.C (parseSingleLyXformat2Token): reset font after read of
13063 an old float_type as this was the case in the old code!
13065 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
13067 * BufferView2.C (showLockedInsetCursor): use iy
13068 (fitLockedInsetCursor): ditto
13070 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
13071 locked insets as there we have the right value now.
13073 * lyxcursor.C: added iy_ variable and iy functions to set to the
13074 baseline of cursor-y of the locked inset.
13076 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
13077 (setCursor): fixed for insets which need a full row.
13079 * text.C (rowLastPrintable): don't ignore the last space when before
13080 an inset which needs a full row.
13081 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
13082 as last character of a row when before a inset which needs a full row.
13084 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13086 * version.C.in: update date
13088 * text2.C (fullRebreak): try to always return true and see what
13091 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13093 * MenuBackend.C (expand): use Floating::listName
13095 * FloatList.C (FloatList): add listName argument to the built-in
13098 * Floating.[Ch]: add listName member, which is the 'List of XXX'
13099 text associated with the float.
13101 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13103 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
13105 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13107 * ShareContainer.h: add a couple of missing typenames.
13109 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
13111 * lyxrc.C (getDescription): use _() correctly rather than N_().
13113 2002-03-28 Herbert Voss <voss@lyx.org>
13115 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
13116 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
13118 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13120 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
13121 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
13123 2002-03-29 Juergen Vigna <jug@sad.it>
13125 * lyxfunc.C (dispatch): add a missing fitCursor call.
13127 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
13128 it was scrolled by a cursor move, so return the bool status.
13130 * BufferView.C (fitCursor): return the bool flag also to the outside
13131 world as this is needed.
13133 * screen.C (toggleToggle): don't subtract the offset if it's positive.
13135 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
13136 call the edit() as it is not needed (and wrong) IMO.
13137 (workAreaButtonPress): set the screen_first variable before evt.
13138 unlock the inset as this may change screen_first and then we have
13139 a wrong y position for the click!
13141 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13143 * MenuBackend.C (expand): another translation that I missed
13145 2002-03-28 Juergen Vigna <jug@sad.it>
13147 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
13149 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
13151 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13153 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
13155 * MenuBackend.C (expand): fix export/view/update when there is no
13158 2002-03-27 Herbert Voss <voss@lyx.org>
13160 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
13163 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13165 * bufferview_funcs.C (currentState): only show paragraph number
13166 for is DEVEL_VERSION is set.
13168 * lyxfunc.C (dispatch): put warning in INFO channel
13170 * MenuBackend.C (expand): translate the name of floats
13172 * FloatList.C (FloatList): mark the float names for translation
13174 * converter.C (convert): use LibScriptSearch
13176 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13178 * MenuBackend.C (defaults): fix default menu (we might as well get
13181 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13183 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
13186 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13188 * lyxvc.C: reorder includes.
13190 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
13192 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
13195 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
13197 * CutAndPaste.C: change layouts earlier on paste
13198 to avoid crashing when calling getFont()
13200 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
13202 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
13205 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
13207 * WorkArea.C: remove 'Pending' debug message.
13209 * most files: ws cleanup
13211 * buffer.[Ch]: ws changes
13213 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
13215 2002-03-21 Juergen Vigna <jug@sad.it>
13217 * tabular.C (SetMultiColumn): collapse also the contents of the
13218 cells and set the last border right. Added a Buffer const * param.
13220 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
13222 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
13225 2002-03-19 Juergen Vigna <jug@sad.it>
13227 * text2.C (clearSelection): reset also xsel_cache.
13229 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
13230 where it needs to be called (John tells us to do so too :)
13231 (selectionLost): reset sel_cache.
13233 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
13235 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13237 * text2.C (setCursorIntern): put debuging code in INSETS channel
13239 2002-03-19 André Pönitz <poenitz@gmx.net>
13241 * lyxfunc.C: tiny whitespace change
13243 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13245 * ToolbarDefaults.C (init):
13246 * LyXAction.C (init):
13248 * BufferView_pimpl.C (Dispatch):
13249 * lyxfunc.C (dispatch): remove LFUN_DEPTH
13251 2002-03-19 Allan Rae <rae@lyx.org>
13253 * exporter.C (Export): removeAutoInsets before doing anything else.
13254 While I've just introduced a dependency on BufferView this really is
13255 the best place to clean the buffer otherwise you need to cleanup in
13256 a dozen places before calling export or cleanup in a dozen functions
13259 * converter.C (runLaTeX):
13260 (scanLog): Better handling of removeAutoInsets and screen updates.
13262 * lyxfunc.C (dispatch): small whitespace changes
13264 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13266 * WorkArea.C (C_WorkAreaEvent): return a value.
13267 (event_cb): return 1 if we handled the event, 0 otherwise.
13269 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
13271 2002-03-18 Juergen Vigna <jug@sad.it>
13273 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
13274 (GetAdditionalWidth): ditto.
13275 (RightLine): ditto.
13278 * BufferView2.C (copy): use getLyXText() so that we do it inside an
13279 inset if we're there actually (probably not used right now but this
13280 is the direction to go for unifying code).
13281 (paste): disable code to clear the selection.
13283 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
13284 inside an InsetText and move the check further up as it is in the
13287 * text2.C (pasteSelection): set a selection over the pasted text.
13289 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
13291 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
13292 and libgraphics to build on Cygwin.
13294 2002-03-15 Juergen Vigna <jug@sad.it>
13296 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
13297 inserting an Inset into the paragraph. I know this is not the best
13298 fix but we already use current_view in CutAndPaste so we will remove
13299 all of it's using at the same time.
13301 * buffer.C (sgmlError): deactivated function till it is rewritten in
13302 the right mode, now it can create problems.
13304 * paragraph.C (isLineSeparator): check if getInset returns != 0,
13305 before accessing it.
13307 2002-03-14 Juergen Vigna <jug@sad.it>
13309 * undo_funcs.C (textHandleUndo): do the right thing when updating
13310 the inset after the undo/redo.
13312 * text2.C (setCursor): just some testcode for #44 not ready yet.
13314 * undo_funcs.C (textHandleUndo): set the next() and previous()
13315 pointers of the paragraph to 0 before deleting otherwise we have
13316 problems with the Paragraph::[destructor].
13318 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
13319 on a paragraph insertion.
13321 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13323 * buffer.C (asciiParagraph): use += operator for char append to
13326 * paragraph.C (getFontSettings): compare >= not just >
13327 (highestFontInRange): ditto
13330 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13332 * paragraph.C: change several algorithm to be more appripriate for
13333 the problem domain. This is lookip in FontList and in the InsetList.
13335 2002-03-13 André Pönitz <poenitz@gmx.net>
13338 * LyXAction.C: remove unused LFUN_MATH_MACROARG
13340 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
13345 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
13347 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13349 * Painter.C (display): anon helper function, adjust code for this
13351 (pixmap): remove function.
13353 * Painter.h: remove private display variable.
13355 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
13357 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
13359 * WorkArea.[Ch]: remove figinset_canvas cruft.
13361 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13363 * lyxtextclass.C (operator): add one item cache optimization.
13365 * bufferlist.h: doxy changes
13367 * bufferlist.C: ws changes
13369 * DepTable.[Ch] (ext_exist): place const in the right spot.
13371 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
13373 (workAreaExpose): call resizeInsets when the with BufferView changes.
13374 (Dispatch): adjust for protectedBlank removal
13375 (specialChar): call updateInset if the insert went ok.
13377 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
13378 specialChar instead.
13380 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
13382 * BufferView.h: doxy change
13384 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
13386 * lyxtextclass.C (operator[]): remove non-const version
13387 (defaultLayout): remove non-const version
13389 2002-03-12 Juergen Vigna <jug@sad.it>
13391 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
13392 did resize the LyXText too.
13394 * buffer.C (readLyXformat2): set layout information on newly allocated
13397 * tabular.C (OldFormatRead): set layout information on the paragraph.
13399 2002-03-12 Jos�Ab�io Oliveira Matos <jamatos@novalis.fc.up.pt>
13401 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
13403 2002-03-11 Juergen Vigna <jug@sad.it>
13405 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
13407 (resizeCurrentBuffer): force also the insets to resize themselfes.
13408 (moveCursorUpdate): fixed up for InsetText.
13410 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
13413 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
13414 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
13415 value of Dialogs::tooltipsEnabled().
13416 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
13418 2002-03-08 Juergen Vigna <jug@sad.it>
13420 * BufferView_pimpl.C (updateInset): update inset inside inset also
13421 if it isn't inside theLockingInset().
13423 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13425 * buffer.C (asciiParagraph): redo some of the word and line length
13427 (getLists): look for Caption instead of caption.
13429 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13431 * buffer.C (Buffer): initialize niceFile to true
13433 (makeLinuxDocFile):
13434 (makeDocBookFile): make sure niceFile is true on exit
13436 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13438 * buffer.C (makeLaTeXFile): escape ~ in \input@path
13440 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
13442 * LyXSendto.C: remove.
13443 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13444 * lyx_gui.C: remove now-redundant comment.
13445 * ColorHandler.h: remove forward declaration of class WorkArea.
13446 * lyxfunc.C: remove #include "WorkArea.h".
13448 2002-03-07 Juergen Vigna <jug@sad.it>
13450 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13451 got moved away with the DEPM and also set the inset_owner always
13452 right which before could have been omitted.
13454 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13456 * buffer.C (parseSingleLyXformat2Token): use default layout is the
13457 wanted layout is not found.
13459 2002-03-07 Juergen Vigna <jug@sad.it>
13461 * CutAndPaste.C (cutSelection): another layout settings forgotten.
13463 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13465 * paragraph.C (breakParagraph): use default layout not layout of
13467 (Paragraph): clear ParagraphParameters.
13469 2002-03-06 Juergen Vigna <jug@sad.it>
13471 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13472 otherwise it would not be a valid lenght. Fixed a special case in
13473 the minipage compatibility read where we end the document with a
13476 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13477 was set as it could be 0 for InsetTexts first entry.
13479 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13481 * paragraph.C (writeFile): if layout is empty write out
13482 defaultLayoutName().
13484 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13485 file without named layout we set layout to defaultLayoutName().
13487 2002-03-06 Juergen Vigna <jug@sad.it>
13489 * CutAndPaste.C (copySelection): set layout for new paragraph.
13491 * text.C (prepareToPrint): leave ERT inset left aligned
13492 (leftMargin): don't indent paragraphs inside ERT insets
13494 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13496 * paragraph.C (breakParagraph): dont call clear do the work manually
13498 * paragraph.[Ch] (clear): remove function
13500 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13502 * paragraph.C (Paragraph): dont call clear, the work has already
13505 * lyxtextclass.C (operator): assert if n is empty
13507 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13508 work manually instead.
13510 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13512 * BufferView_pimpl.C: protect selectionLost against text == 0
13514 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13516 * text.C (breakParagraph): fix a setting layout to '0' problem.
13518 2002-03-05 Jos�Ab�io Oliveira Matos <jamatos@novalis.fc.up.pt>
13520 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13521 final location of file, for the included files, and graphics.
13523 2002-03-05 Juergen Vigna <jug@sad.it>
13525 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13527 2002-03-04 Juergen Vigna <jug@sad.it>
13529 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13531 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13532 last column of multicolumn cells.
13533 (SetWidthOfMulticolCell): recalculate NMC and real columns.
13535 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
13537 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13538 file if it doesn't go to a temporary file.
13540 * buffer.C (sgmlOpenTag):
13541 (sgmlCloseTag): remove extra newline insertion.
13543 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13545 * text.C (getRowNearY): comment out debug msg
13547 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13549 * text2.C: first -> first_y
13551 * text.C (getRowNearY): add some attemts at a possible
13552 optimization, not working.
13554 * tabular.[Ch]: add BufferParams to several function so that newly
13555 created paragraph can be initialized to he default layotu for the
13558 * tabular-old.C (ReadOld): add buf->params to call of Init
13560 * screen.C: rename text->first to text->first_y
13562 * paragraph.C (breakParagraph): always set layout in the broken
13565 * lyxtextclass.C (Read): remove lowercase
13568 (delete_layout): ditto
13570 * lyxtext.h: rename first -> first_y
13572 * lyxlayout.C (Read): remove lowercase
13575 (obsoleted_by): ditto
13577 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13579 * buffer.C (insertErtContents): add params are to InsetERT
13580 (parseSingleLyXformat2Token): add code to check if a paragraphs
13581 layout really exist.
13582 (parseSingleLyXformat2Token): add params to several inset
13584 (asciiParagraph): remove lowercase, do the layout comparisons with
13587 * BufferView_pimpl.C (cursorNext): first -> first_y
13588 (resizeCurrentBuffer): first -> first_y
13589 (updateScrollbar): first -> first_y
13590 (scrollCB): first -> first_y
13591 (workAreaMotionNotify): first -> first_y
13592 (workAreaButtonPress): first -> first_y
13593 (checkInsetHit): first -> first_y
13594 (cursorPrevious): first -> first_y
13595 (cursorNext): first -> first_y
13596 (Dispatch): add buffer_->params to severl inset contructors
13598 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13600 * lyxlayout.C (Read): remove some debug info that I forgot.
13602 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13603 clean up the code slightly.
13604 (makeLinuxDocFile): ditto
13605 (makeDocBookFile): ditto
13607 * text2.C: layout as string
13609 * text.C: layout as string
13611 * paragraph_pimpl.C: layout as string
13613 * paragraph.[Ch]: layout as string
13615 * lyxtextclasslist.[Ch]: layout as string
13617 * lyxtextclass.[Ch]: layout as string
13619 * lyxtext.h: layout as string
13621 * lyxlayout.[Ch]: layout as string
13623 * lyx_cb.C: layout as string
13625 * bufferview_funcs.C: layout as string
13627 * bufferparams.C: layout as string
13629 * buffer.C: layout as string
13631 * LyXView.[Ch]: layout as string
13633 * LaTeXFeatures.[Ch]: layout as string
13635 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13637 * BufferView_pimpl.C: change current_layout to string, remove
13642 (workAreaButtonRelease): layout as string
13644 * BufferView2.C (unlockInset): adjust
13646 * vspace.C (asLatexCommand): use an explict temp variable.
13648 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13650 * Makefile.am: use FRONTEND_*
13652 2002-03-01 Juergen Vigna <jug@sad.it>
13654 * tabular.C (SetWidthOfMulticolCell): changed to something better
13655 I hope but still work in progress.
13656 (recalculateMulticolumnsOfColumn): renamed function from
13657 recalculateMulticolCells as it is more appropriate now.
13658 (SetWidthOfCell): calculate multicols better.
13660 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13662 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13664 * lyxfunc.C (processKeySym): print sequence also if it is
13665 `deleted' (complete)
13667 * kbsequence.C (print): print sequence even if it is deleted
13668 (complete would be a better word, actually).
13670 * lyxfunc.C (dispatch): print complete options after a prefix key
13672 * vspace.C (asLatexCommand): rewrite in a slightly different form.
13674 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
13676 * text2.C (setCharFont): eliminate setCharFont code duplication.
13678 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13680 * BufferView_pimpl.C (Dispatch): remove bogus handling of
13681 LFUN_TABULAR_FEATURE (bug #177)
13683 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
13685 * Makefile.am: remove figure.h
13687 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
13689 * Bufferview_pimpl.C:
13701 * text2.C: remove #include "lyx_gui_misc.h".
13703 * LaTeX.C: added #include <cstdio>
13705 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13707 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13708 that the paragraph following this one can have.
13710 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13712 * vspace.C (asLatexCommand): fix bogus gcc warning
13714 * Makefile.am (lyx_SOURCES): remove vms_defines.h
13716 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
13718 * text2.C (setLayout): get rid of redundant code
13720 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
13722 * text2.C (incDepth): make sure depth cannot be increased beyond
13725 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
13727 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13728 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13730 * PainterBase.h (image):
13731 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13732 a LyXImage const *.
13734 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13738 * BufferView_pimpl.C:
13739 * BufferView_pimpl.h:
13759 * sp_spell.C: remove fig inset, and the crap house of
13760 cards that follows it
13762 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13767 * os2_errortable.h:
13768 * nt_defines.h: move .h into support/
13770 * vms_defines.h: remove
13772 * WorkArea.C: add space in debug output
13776 * buffer.C: add WITH_WARNINGS
13780 * bufferlist.C: s/retrive/retrieve/, add docs
13789 * chset.C: add docs
13791 * lyxgui.C: add ID to X error handler
13793 * lyxtestclass.c: fix typo
13795 2002-02-26 Juergen Vigna <jug@sad.it>
13797 * tabular_funcs.C (write_attribute): changed so that some default
13798 attributes are not written at all.
13799 (getTokenValue): set default values before trying to read the
13800 value so we have the return value always set as default if we don't
13801 find the token we search for.
13803 * tabular.C (Write): write bools as bools not as strings!
13805 2002-02-22 Juergen Vigna <jug@sad.it>
13807 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13808 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13810 * text.C (leftMargin): don't add an indent for paragraphs inside
13811 tabular cells (fix #208).
13813 2002-02-21 José Matos <jamatos@fep.up.pt>
13815 * tabular.C (docBook): fixed support for long tables.
13817 2002-02-20 Juergen Vigna <jug@sad.it>
13819 * text2.C (getFont): get the drawing font of the Inset if this
13820 paragraph is inside an inset (only important for InsetERT for now).
13822 * buffer.C (insertErtContents): use new lanugage params in ERT
13825 * CutAndPaste.C: commenting out seemingly uneeded code.
13827 2002-02-19 Allan Rae <rae@lyx.org>
13829 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13830 Iterators might be simple to use but they also get invalidated.
13831 (removeAutoInsets): renamed saved cursor tracking variables and added
13832 some comments to clarify what everything does.
13834 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
13841 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13842 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13845 * vc-backend.h: remove #include "support/syscall.h"
13849 * converter.C: rearrange #includes in Lars' approved fashion.
13851 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13852 forward declare class Timeout in the header file.
13854 * XFormsView.C: changes due to the above.
13856 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13857 similar to LyXView.
13859 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13860 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13862 2002-02-18 José Matos <jamatos@fep.up.pt>
13864 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13867 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
13869 * a lot of small ws changes
13870 * add a lot of using std::XXX
13871 * use std construcs some places where approp.
13872 * use some exisint stuff from lyxfunctional where approp.
13873 * Make file changes to use partial linking (lets test this now...)
13875 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13879 remove #include "support/syscontr.h" as it's redundant. Always has been.
13887 change Systemcalls::System to Systemcalls::Wait and
13888 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13889 No change of functionality, just reflects the stripped down Systemcalls
13892 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13894 * debug.[Ch]: add a GRAPHICS type to the enum.
13896 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13898 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13900 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13903 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13905 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13906 match the changes below.
13908 * text2.C (toggleInset): if there is not editable inset at cursor
13909 position, try to see if cursor is _inside_ a collapsable inset
13912 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13914 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13915 document menu has a nice checkbox
13917 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13919 * lyxlength.C (asLatexString): change PW to output as percent of
13922 * lengthcommon.C: change '%' to 't%'
13924 * lyxfunc.C (dispatch): a few comments from Martin
13926 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
13930 * BufferView_pimpl.h:
13931 * BufferView_pimpl.C: clear our selection when X tells us we've lost
13934 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13936 * vspace.C (inPixels): fix compiler warning
13938 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13940 * lyxfunc.C (getStatus): fix status message for disabled commands.
13942 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
13944 * BufferView_pimpl.C: fix crash on close buffer
13945 during selection (#227)
13947 2002-01-27 Herbert Voss <voss@lyx.org>
13949 * buffer.C: link old Figure to new graphic inset
13951 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
13953 * FontLoader.C (getFontinfo): Change the latex font names in order
13954 to match the names of type1inst.
13956 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
13958 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13960 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13961 (extchanged): ditto
13963 (remove_files_with_extension): ditto
13964 (remove_file): ditto
13967 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13968 document is smaller than the work area height. Do not initialize
13969 static variables to 0.
13971 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13973 * lyx_gui.C (init): give the toolbar tooltips a normal font.
13975 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13976 LFUN_LAYOUT_PARAGRAPHS.
13978 * tabular.C (GetCellFromInset): new method. Finds an inset in a
13979 tabular. It is possible to provide a possible cell, which will
13980 typically be the actcell from the corresponding insettabular
13982 * lyxfunc.C (getStatus): small cleanup; disable
13983 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13986 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13988 * tabular.C (Validate): remove broken optimization (fixes bug #201)
13990 * paragraph.C (startTeXParParams):
13991 (endTeXParParams): new methods. The LaTeX code to
13992 start/end paragraph formatting
13993 (simpleTeXOnePar): call startTeXParParams also when paragraph is
13994 empty (fixes bug #200)
13996 * vspace.C (inPixels): adapt to the change below
13997 (inPixels): [later] more cleanups (remove unused variables)
13999 * lyxlength.C (inPixels): change to use a width and a height as
14002 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14004 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
14005 Replaced with \paperwidth
14007 * DepTable.C (insert): add std:: qualifier
14009 2002-01-18 Allan Rae <rae@lyx.org>
14011 * text2.C (removeRow): add comment. Should other refresh_?? vars be
14014 * text.C (drawInset): Turned out I didn't know enough about how
14015 rebreaking worked. This fixes most of the redraw problems. I see
14016 an occasional cursor trail when a line is broken now and the cursor
14017 placement can seem out by a few pixels also after a rebreak.
14019 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14021 * buffer.C (parseSingleLyXformat2Token): update because minipage
14022 width is now a LyXLength
14024 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
14026 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
14029 2002-01-17 Juergen Vigna <jug@sad.it>
14031 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
14033 * BufferView2.C (lockInset): call edit() so that theLockingInset()
14034 is set correctly and the inset is updated correctly.
14036 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14038 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
14039 the beginning of the loop.
14041 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
14043 * lyxrc.C: improve help for use_scalable_fonts
14045 2002-01-17 Allan Rae <rae@lyx.org>
14047 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
14049 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14051 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
14052 make sure to set their inset_owner to the right value (bug #171)
14054 2001-12-12 Ben Stanley <bds02@uow.edu.au>
14057 * DepTable.C: Implement mtime checking to reduce time spent doing
14060 2002-01-16 Juergen Vigna <jug@sad.it>
14062 * tabular.C (GetAdditionalHeight): one of error fixed.
14064 * lyxrc.C (output): small fix in writing use_pspell.
14066 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
14068 * sp_base.h: #include LString.h
14070 2002-01-16 Allan Rae <rae@lyx.org>
14072 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
14073 Can someone check this please?
14075 * text.C (drawInset): It was possible that p.row would be removed by
14076 breakAgainOneRow upsetting a few other settings. There may be another
14077 small tweak possible by setting need_break_row = 0 when p.row has been
14078 removed but I don't know enough about the logic here.
14080 2002-01-15 Allan Rae <rae@lyx.org>
14082 * text.C (insertChar): removed conditional truism.
14084 * BufferView2.C (removeAutoInsets): More tweaks.
14085 cur_par_prev could be a stray pointer. Check for trailing empty line
14086 in case last line was cur_par and only had an error inset on it.
14088 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14090 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
14093 * vc-backend.C (most methods):
14094 * exporter.C (Export):
14095 * converter.C (convert):
14097 * LyXSendto.C (SendtoApplyCB):
14098 * lyxfunc.C (dispatch):
14102 * lyx_cb.C (AutoSave):
14104 * BufferView_pimpl.C (MenuInsertLyXFile):
14105 * buffer.C (runChktex): use Buffer::filePath().
14107 * buffer.h: rename filename to filename_; rename filepath to
14108 filepath_ and make it private
14109 (filePath): new method
14111 * buffer.C (writeFile): use fileName()
14114 * lyx_main.C (init): fix starting of LyX when the binary is a
14115 link from so,ewhere else.
14117 * minibuffer.C: include <cctype> for isprint
14119 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
14121 * buffer.C (parseSingleLyXformat2Token): changes associated with the
14122 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
14123 name clash with InsetCollapsable's width function.
14125 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14127 * lastfiles.C: include <iterator>
14129 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
14131 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
14134 * buffer.C (makeLaTeXFile): ditto.
14135 Also make loop operation more transparent.
14137 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
14139 * ToolbarDefaults.C: remove trailing comma closing namespace.
14141 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
14143 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
14146 * trans.C (Load): comment out unused variable, allowed.
14148 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
14150 * minibuffer.[Ch] (append_char): new method to recieve input from the
14151 drop-down completion browser. If a key was pressed, then recieve this
14152 char and append it to the existing string.
14153 (peek_event): modify the positioning data passed to the completion
14154 browser so that it can be placed above the minibuffer rather than below.
14155 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14157 * LyXAction.C (init): alloe error-next for readonly documents.
14159 * BufferView2.C (ChangeRefsIfUnique): use standard version of
14162 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14164 * bufferlist.C (readFile): create the buffer _after_ checking that
14167 * lyxfunc.C (verboseDispatch): fix handling of arguments
14169 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
14171 * lyxrc.C: use string::erase() instead of initializing to "".
14174 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14176 * BufferView_pimpl.h:
14177 * BufferView_pimpl.C:
14180 * text2.C: tell X when we have made a selection for copying
14182 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14184 * BufferView_pimpl.C (MenuInsertLyXFile):
14185 * lyxfunc.C (menuNew):
14187 (doImport): add shortcuts to directory buttons
14189 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
14192 * lyxfunc.C (setStatusMessage):
14193 (getStatusMessage): new methods
14194 (getStatus):use setStatusMessage instead of setErrorMessage
14195 (dispatch): when function is disabled, set error message here
14196 [instead of in getStatus previously]
14198 * BufferView_pimpl.C (workAreaButtonRelease): update
14199 toolbar/menubar here too.
14201 2002-01-13 Allan Rae <rae@lyx.org>
14203 * BufferView2.C (removeAutoInsets): finished off earlier fix.
14204 Now seems indestructible. Remaining task is to audit all other
14205 code affected by deleteEmptyParagraphMechanism. One small quirk
14206 left is that an empty document with an error in the preamble can
14207 be made to report an error but no error box appears. I don't know
14209 (removeAutoInsets): Improved comments.
14211 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
14214 * Thesaurus.C: update for Aiksaurus 0.14
14216 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
14218 * text2.C (firstParagraph): removed member function, all uses
14219 replaces with ownerParagraph
14220 (redoParagraphs): here
14221 (updateInset): here
14222 (toggleAppendix): here
14223 * BufferView2.C (insertErrors): here
14224 (setCursorFromRow): here
14226 2002-01-13 Allan Rae <rae@lyx.org>
14228 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
14229 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
14230 There is still a way to segfault this although you may have to do this
14231 multiple times: Have an InsetERT with an unknown command in it.
14232 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
14233 <down-arrow>, <Enter> again, View->DVI, BANG!
14235 * text2.C (setCursor):
14236 (deleteEmptyParagraphMechanism):
14237 * lyxtext.h (setCursor):
14238 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
14239 Making use of the return value may help fix other bugs.
14241 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14243 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
14245 * LyXView.C (updateMenubar): call MenuBar::update here
14246 (updateToolbar): but not here
14247 (showState): do not update toolbar/menubar
14249 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
14250 should need to care about that.
14252 * lyxfunc.C (verboseDispatch): simplify a bit
14253 (getStatus): have a version which takes a pseudoaction, and
14254 another which requires a (kb_action,string).
14256 * LyXAction.C (retrieveActionArg): make it work also when action
14257 is not a pseudo-action.
14258 (getActionName): simplify a bit
14261 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14263 * lyxfunc.C (verboseDispatch): new families of methods with
14264 several ways to specify a command and a bool to indicate whether
14265 the command name and shortcut should be displayed in minibuffer
14266 (eventually, we could extend that to a finer bitmask like
14267 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
14268 (dispatch): the pristine dispatch command which just, well,
14269 dispatchs! Note it still sets its result to minibuffer; I'm not
14272 * lyxfunc.h: remove setHintMessage
14274 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
14276 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14278 * BufferView_pimpl.C (specialChar): delete new inset if we have
14279 not been able to insert it.
14281 * kbmap.C: revert to using int instead of kb_action, since all we
14282 are dealing with is pseudo-actions.
14284 * LyXAction.C (searchActionArg): change to return int instead of
14285 kb_action, since the result is a pseudoaction.
14287 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
14289 * buffer.C (insertErtContents): Fix (partially) the font bug.
14291 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
14293 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
14294 as the other one is broken on my machine!
14296 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
14299 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
14301 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
14303 * lyxrc.[Ch]: change names and descriptions of popup font variables to
14304 reflect their actual use. Provide compatibility code for older lyxrc
14307 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
14309 change names of popup font variables in line with the changes to lyxrc.C
14311 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14313 * buffer.C (asciiParagraph): avoid outputing a word twice after
14316 * lyxrc.C (getDescription): document that document_path and
14317 template_path can be empty.
14319 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14321 * LaTeXFeatures.C (getMacros):
14322 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
14324 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
14326 * LaTeXFeatures.C (useFloat): require "float" here instead of in
14328 (getPackages): rename feature "floats" to "float". Use an array to
14329 iterate over 'simple' features (i.e. just a \usepackage). Add
14330 handling of "amsmath" (renamed from "amsstyle").
14332 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
14334 * LaTeXFeatures.C (require): Prevent duplicate entries in the
14337 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
14339 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
14340 FuncStaus::FuncStatus & FuncStaus::some_method().
14342 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
14344 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
14345 of the func_satus stuff. Edited and massaged in various ways by
14348 * lyxfunc.C (getStatus): use FuncStatus
14350 2002-01-08 Juergen Vigna <jug@sad.it>
14352 * text.C (nextBreakPoint): use function Inset::isChar().
14354 * paragraph.C (TeXOnePar): use function
14355 Inset::forceDefaultParagraphs.
14357 * buffer.C (latexParagraphs): use function
14358 Inset::forceDefaultParagraphs.
14360 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14362 * lyx_gui.C (init): set the style of the menu popups to
14363 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
14365 2002-01-07 Juergen Vigna <jug@sad.it>
14367 * text.C (setHeightOfRow): small fix
14368 (prepareToPrint): don't look at alignment if we don't have the place
14371 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14373 * box.C: New file. Move the Box methods and functions out of box.h,
14374 following Lars' suggestion.
14376 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14378 * box.h: #include "support/LOstream.h", needed for inlined function.
14381 * lyxtextclasslist.C: added some using std declarations.
14383 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
14385 * box.h: make signed dimensions to allow insets wider than
14386 the screen (bug #162)
14388 * BufferView_pimpl.C: add some insetHit debug
14390 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
14392 * vc-backend.C: add FIXME
14394 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14396 * lyxfunc.C (getStatus): enable code for showing math font status
14399 2002-01-07 Juergen Vigna <jug@sad.it>
14401 * text.C (nextBreakPoint): removed debug output not needed anymore.
14403 2002-01-06 Juergen Vigna <jug@sad.it>
14405 * text.C (nextBreakPoint): fixed up this function we had this bug
14406 since ever but now hopefully we break row better.
14407 (insertChar): we have to check if an inset is the next char as it
14408 could now happen that a large inset is causing a break.
14410 2002-01-05 Juergen Vigna <jug@sad.it>
14412 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
14413 if it doesn't like to be drawed.
14415 2002-01-04 Juergen Vigna <jug@sad.it>
14417 * BufferView2.C (lockInset): forgot to set a cursor.
14419 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
14421 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
14423 * FormMathsPanel.C:
14426 * form_maths_panel.C:
14427 * form_maths_panel.h:
14428 * form_maths_panel.fd: implemented sub- and super- buttons in math
14431 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
14432 (or ^ space) to be used as in TeX (req'd by Andr�.
14434 * lyxfunc.C: Allow ^ and _ again to be used both as
14435 super/subscript (mathed) and as themselves (in text).
14437 2002-01-03 Allan Rae <rae@lyx.org>
14439 * LyXView.C (updateWindowTitle): Setup a short icon title of either
14440 "LyX" or the filename of the current buffer if it has one. This is a
14441 modified form of John Levon's patch.
14443 * XFormsView.C (setWindowTitle): also set icon title.
14445 * LyXView.h (setWindowTitle): signature changed.
14446 * XFormsView.h (setWindowTitle): ditto.
14448 2002-01-02 Juergen Vigna <jug@sad.it>
14450 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14452 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
14454 * screen.C (topCursorVisible): introduce a temp var for
14455 text->cursor.row(), handle the case where this row is null. (kindo
14458 * text2.C (setCursor): add a couple of asserts.
14460 * paragraph.h (inset_iterator): add -> operator
14462 * paragraph.[Ch] (autoDeleteInsets): remove member function
14464 * BufferView2.C (removeAutoInsets): rewrite to handle the old
14465 cursor pos correctly and handle inset deletion by itself.
14466 (insertErrors): move iterator declaration out of for expression
14468 * lyxtextclass.C: add <algorithm>
14470 * Makefile.am: added the new files to sources, removed layout.C
14472 * layout.C: removed file
14474 * layout.h: remove LYX_DUMMY_LAYOUT
14476 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14480 * lyxtextclass.[Ch]:
14481 * lyxtextclasslist.[Ch]: new files
14483 * include order changes to a lot of files, also changes because of
14486 2001-12-27 Juergen Vigna <jug@sad.it>
14488 * buffer.C (asciiParagraph): more fixes.
14490 * tabular.C (ascii): make ascii export support export of only the
14491 data separated by a column-delimiter.
14492 (ascii): better support for ascii export.
14494 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14496 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14498 * tabular_funcs.C: use a "using std::getline" instead of the
14499 previous fix from Angus (necessary for cxx + lyxstring)
14501 2001-12-24 Juergen Vigna <jug@sad.it>
14503 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14505 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14506 problems. First check a minipage also if we have some ert-contents
14507 (not only on par->size(), second set the right depth of the paragraph
14508 on the relink to the root-paragraph-list!
14510 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14511 which then did not anymore update the main paragraphs on undo/redo!
14513 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14515 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14516 code. Support all font-changing funcs (even those which are not in
14517 menu currently). Support for reporting font settings in
14518 mathed (disabled until Andre provides a function on mathed's side).
14520 * func_status.h (toggle): small helper function to set toggle
14523 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
14525 * tabular_funcs.C: getline -> std::getline
14527 2001-12-21 Juergen Vigna <jug@sad.it>
14529 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14530 accessed and could be 0 (I couldn't generate this but it seems
14533 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
14535 * tabular_funcs.C: add LIstream.h, move write_attribute to..
14536 * tabular_funcs.h: here and include iosfwd
14538 2001-12-20 Juergen Vigna <jug@sad.it>
14540 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14541 inside inset but undo_par was.
14543 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14545 * Thesaurus.C: always include <config.h> in sources.
14549 * box.h: do not include <config.h> in header files
14551 * text.C (paintLastRow): remove unused variable
14553 * text.C (transformChar):
14555 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14557 * Painter.C (text):
14558 * font.C (width): rewrite to use uppercase() instead of
14561 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14563 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
14565 * lyxfind.C: clean up of find failure position change
14567 2001-12-20 Juergen Vigna <jug@sad.it>
14569 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14571 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14572 (TeXRow): added to LaTeX a single tabular row.
14573 (TeXLongtableHeaderFooter): added to output LT-h/f data.
14574 (Latex): simplified and finally good LT-h/f support.
14575 (various_functions): just small adaptions for LT-h/f support.
14577 * tabular_funcs.[hC]: added and moved here all not classfunctions
14580 2001-12-19 Juergen Vigna <jug@sad.it>
14582 * tabular.[Ch]: better support for longtabular options (not finished
14585 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14587 * text.C (paintLastRow): use the label font instead of the font of
14588 the last character to compute the size of *_BOX. This makes more
14589 sense and avoids a crash with empty paragraphs.
14590 Use Painter::rectangle to draw EMPTY_BOX.
14592 2001-12-19 Juergen Vigna <jug@sad.it>
14594 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14595 the paragraphs if the replaced paragraph is not the first one!
14596 Tried to delete not used paragraphs but does not work yet so for
14597 now it's inside #ifdef's and by default off!
14599 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14601 * MenuBackend.C: include "lyx_main.h" instead of declaring
14602 lastfiles (actually was declared as LastFiles* instead of a
14605 2001-12-17 Juergen Vigna <jug@sad.it>
14607 * tabular.C (AppendColumn): applied John's fix
14609 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
14613 * BufferView_pimpl.h:
14614 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14617 * box.h: new start of class for above
14619 * lyxfunc.C: ignore space-only minibuffer dispatches.
14620 Show the command name when it doesn't exist
14622 * minibuffer.C: don't add empty lines to the history
14624 * minibuffer.C: add a space on dropdown completion
14626 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
14628 * text.C: fix line above/below drawing in insets
14630 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14632 * lyxlength.C (LyXLength): Initialize private variables.
14634 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
14636 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14637 when inserting error insets.
14639 2001-12-13 Juergen Vigna <jug@sad.it>
14641 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14642 actually sometimes the before-paragraph.
14643 (setUndo): don't clear the redostack if we're not actually undoing!
14645 2001-12-06 Juergen Vigna <jug@sad.it>
14647 * undo_funcs.C (textHandleUndo): well after John's hint I got here
14648 and fixed redoing of main paragraph, so we can use it now ;)
14650 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14652 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14654 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14657 2001-12-13 André Pönitz <poenitz@gmx.net>
14660 * undo_func.C: minor cleanup
14662 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14664 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14665 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14666 font in urw-fonts package which is marked as -urw-fontspecific and
14667 does not work (incidentally, changing the encoding in the
14668 fonts.dir of this package to -adobe-fontspecific fixes the
14671 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14672 is a crash when undoing first paragraph (Juergen, please take a
14673 look). THis does not mean the undo fix is wrong, just that it
14676 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14677 the (Paragraph*) version when needed instead of duplicating the
14680 * text.C (workWidth): use Inset::parOwner to find out where the
14681 inset has been inserted. This is a huge performance gain for large
14682 documents with lots of insets. If Inset::parOwner is not set, fall
14683 back on the brute force method
14685 * paragraph_pimpl.C (insertInset):
14686 * paragraph.C (Paragraph):
14687 (cutIntoMinibuffer): set parOwner of insets when
14688 inserting/removing them
14690 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14692 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
14698 * mathed/formulabase.C:
14699 * mathed/math_cursor.[Ch]:
14700 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14703 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14705 * lyxlength.[Ch] (operator!=): new function
14707 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14709 * text.C (workWidth): use Inset::parOwner to find out where the
14710 inset has been inserted. This is a huge performance gain for large
14711 documents with lots of insets. If Inset::parOwner is not set, fall
14712 back on the brute force method
14714 * paragraph_pimpl.C (insertInset):
14715 * paragraph.C (Paragraph):
14716 (cutIntoMinibuffer): set parOwner of insets when
14717 inserting/removing them
14719 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14721 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14723 * tabular-old.C (getTokenValue):
14724 * tabular.C (getTokenValue):
14725 (write_attribute): new versions for LyXLength
14726 (everywhere): adjust the use of widths
14728 * tabular.h: change the type of widths from string to LyXLength
14730 2001-12-11 Ben Stanley <bds02@uow.edu.au>
14732 * paragraph.C: fixed missing line number count when exporting
14733 Environments to LaTeX file
14735 * buffer.C: added informational message for checking line numbers.
14737 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14739 * text2.C (deleteEmptyParagraphMechanism): if there is only one
14740 paragraph, do the 'double space' part, but not the 'empty
14743 * text.C (workWidth): small optimization
14744 (getLengthMarkerHeight): use minimal size for negative lengths.
14746 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
14748 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14750 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14752 2001-12-11 André Pönitz <poenitz@gmx.net>
14755 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14757 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14759 * text2.C: keep selection on a setFont()
14761 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14763 * lyx_cb.C: another bv->text misuse, from insert label
14765 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14768 * kbsequence.C: re-instate nmodifier mask
14770 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
14772 * lyx_main.h: make lyxGUI private.
14774 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14776 * lyxfind.C: place the cursor correctly on failed search
14778 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14780 * text.C (getLengthMarkerHeight): for small heights, the arrows
14781 are not always on top/bottom of the text
14782 (drawLengthMarker): smaller arrows; take the left margin in
14783 account; draw also vfills.
14785 (paintLastRow): remove special code for vfill and standard spaces,
14786 since everything is handled in drawLengthMarker now.
14788 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14790 * buffer.C (insertErtContents): try to handle font and language
14791 interaction a bit better.g
14793 * ColorHandler.C (updateColor): change the hash to cover the whole
14794 LColor enum, ws cleanup
14795 (getGCLinepars): ditto
14796 (getGCLinepars): only lookup in the linecache once.
14798 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
14800 * iterators.C (operator++): Make the iterator more robust
14802 * BufferView2.C (removeAutoInsets): Use paragraph iterators
14804 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14806 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14809 * text.C: better added space drawing
14811 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14814 * BufferView2.C: fix layout combo update on inset unlock
14816 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14818 * Makefile.am: don't compile unused files
14820 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14824 * LyXAction.C: remove old LFUN_LAYOUTNO
14826 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14828 * paragraph_pimpl.h:
14829 * paragraph_pimpl.C: isTextAt() doesn't need font param
14831 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14834 * lyxlex.C: little cleanup
14836 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14838 * BufferView_pimpl.C: fix insertAscii for insets
14840 2001-12-05 Juergen Vigna <jug@sad.it>
14842 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14843 set the right font on the "multi" paragraph paste!
14845 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14851 * lyxlength.C: remove out-commented code.
14853 * BufferView_pimpl:
14867 * vc-backend.C: change "while(" to "while ("
14869 * lyxlength.[Ch]: add zero function to check if length is zero or
14871 * lyxgluelength.C: use it
14873 2001-12-05 Allan Rae <rae@lyx.org>
14875 * lyxlength.C: Attempted a fix for the abs(int) header selection.
14876 Works for 2.95.3, from what I understand of Garst's reports this should
14877 work for other g++ versions. We're screwed if the abs(int) definition
14878 changed between bugfix releases of gcc.
14880 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14882 * text.C: fix chapter label offset !
14884 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14887 * text.C: fix hfill at end of line, clean up
14889 2001-12-04 Juergen Vigna <jug@sad.it>
14891 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14892 that we force an update of the inset and it's owners if neccessary.
14894 2001-12-03 Juergen Vigna <jug@sad.it>
14896 * text.C (rowLast): simplified code
14898 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14900 * lyxfunc.C: fix show options on timeout
14902 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14904 * screen.C (topCursorVisible): scroll half a page when the cursor
14905 reached top of bottom of screen
14907 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
14909 * minibuffer.C: deactivate on loss of focus
14911 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14913 * vspace.[Ch] (operator!=): add operator.
14915 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
14917 * BufferView_pimpl.C: refuse to open an inset when
14918 there's a selection.
14920 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
14922 * BufferView_pimpl.C: allow to click on RHS of full row insets
14924 2001-11-30 Juergen Vigna <jug@sad.it>
14926 * tabular.C (LyXTabular): add a same_id to set the same id's in the
14927 insets for undo reasons.
14929 2001-11-28 André Pönitz <poenitz@gmx.net>
14931 * vspace.[Ch]: cosmetical changes
14933 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14943 * kbsequence.C: part re-write of old kb code
14946 * WorkArea.C: remove Lgb_bug_find_hack
14948 2001-11-30 José Matos <jamatos@fep.up.pt>
14950 * buffer.C (makeDocBookFile): add a comment to point a hack.
14951 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14952 Fixed a double write of labels.
14954 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14957 * LaTeX.h Fixed bug in LaTeX class where it would not
14958 re-run latex if no depfiles were changed, but the .dvi was removed.
14960 2001-11-28 André Pönitz <poenitz@gmx.net>
14962 * all the files from the change on 2001/11/26:
14963 use lyx::layout_type instead of LyXTextClass::size_type
14964 use lyx::textclass_type instead of LyXTextClassList::size_type
14966 2001-11-29 Juergen Vigna <jug@sad.it>
14968 * text.C: added support for paragraph::isFreeSpacing()
14970 * buffer.C: same as above
14972 * paragraph.h: inserted isFreeSpacing() function to enable
14973 FreeSpacing inside InsetERT.
14975 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14976 of the paragraph's in the cut/copy buffer to 0!
14978 * text2.C (removeRow): remove the assert as it can!
14980 * lyxtext.h: added helper function firstRow returning firstrow and
14981 made firstrow private again.
14983 * BufferView2.C (lockInset): don't relock if we're already locked!
14985 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14986 the only paragraph.
14987 (removeRow): added Assert::(firstrow)
14989 * debug.C: forgot to add INSETTEXT here.
14991 2001-11-28 Juergen Vigna <jug@sad.it>
14993 * sp_spell.C (initialize): changed error text to more general
14994 spellchecker command use (not only ispell!)
14996 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14998 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
15000 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
15002 * vspace.C: initialise lyxgluelength on failure
15004 2001-11-28 Allan Rae <rae@lyx.org>
15006 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
15007 declaration & definition that looks like a function declaration.
15009 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15011 * BufferView2.C (copy):
15012 (copyEnvironment): do not clear the selection when doing a copy.
15014 * text.C (paintFirstRow): compilation fix
15016 2001-11-27 Ben Stanley <bds02@uow.edu.au>
15018 * tabular.C (Latex): correct line count when writing latex.
15020 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
15022 * paragraph_pimpl.h:
15023 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
15026 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
15030 * LColor.C: change vfillline->added_space
15032 * text.C: add markers and text for added space
15034 * vspace.C: fix comment
15036 2001-11-28 André Pönitz <poenitz@gmx.net>
15038 * paragraph.C: whitespace changes
15039 * all the other files from the change on 2001/11/26:
15040 change *::pos_type into lyx::pos_type
15042 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
15044 * buffer.C (parseSingleLyXformat2Token): Set the language to the
15045 language of the document when inserting error insets.
15047 2001-11-26 André Pönitz <poenitz@gmx.net>
15049 * BufferView_pimpl.[Ch]:
15057 * paragraph_pimpl.[Ch]:
15060 * text2.C: reduce header dependencies, introduce type for positions
15062 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
15064 * <various>: change to use Alert.h
15066 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
15068 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
15069 when encountering an unknown token.
15070 (readLyXformat2): Show an error message if there were unknown tokens.
15072 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
15075 * BufferView_pimpl.C:
15079 * text2.C: use par->isInset()
15081 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
15083 * paragraph_pimpl.h:
15084 * paragraph_pimpl.C: cleanup
15086 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15088 * text2.C (removeRow):
15089 * text.C (setHeightOfRow): remove useless (and costly) call to
15092 2001-11-20 Allan Rae <rae@lyx.org>
15094 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
15095 Now need Inset*::checkInsertChar() to return true for appropriate
15096 cases so that the characters in the minibuffer will actually be
15099 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
15101 * text.C: change the order of the includes.
15102 (workWidth): initialize it at once.
15103 (workWidth): make maxw unsigned
15104 (setHeightOfRow): remove unused variable (inset)
15105 (selectSelectedWord): remove unused variable (inset)
15106 (paintRowText): fix drawing of hfill characters, and clean up a bit.
15108 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15110 * lyxserver.C (emergencyCleanup): do not try to close pipes if
15111 server is not running.
15113 (closeConnection): add debug info when server is disabled.
15115 * ColorHandler.C (getGCForeground): send debug message to GUI
15118 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
15120 * kbmap.C (bind): modify because return conventions of
15121 kb_sequence::parse have changed.
15123 * kbsequence.C (parse): only ignore spaces and not any stupid
15124 control character. This avoids tests like s[i] <= ' ', which are
15125 guaranteed to fail with 8bit characters and signed chars.
15126 Change return code to string::npos when there have been no error
15127 (0 was a bad idea when error is at first character)
15129 2001-11-14 José Matos <jamatos@fep.up.pt>
15132 * buffer.C (simpleDocBookOnePar): removed unused argument.
15134 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15136 * text.C (selectNextWordToSpellcheck): do not test explicitely for
15137 insets which are part of a word. Paragraph::isLetter takes care of
15138 that now. Use Paragraph::isInset to identify insets.
15139 (selectSelectedWord): do not test for hyphenation break.
15141 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
15142 that protected spaces are considered as spaces.
15144 * paragraph.C (isLetter): cleanup the code for ispell extras; use
15147 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
15150 * lyxserver.C: fix it. and small cleanup.
15152 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
15154 * BufferView_pimpl.C: use inline helpers
15157 * LaTeXFeatures.C: fix typos
15160 * Spacing.C: move spacing_string into class
15162 * ToolbarDefaults.C: move stuff into namespace anon
15164 * layout.h: update enum
15166 * lyxfunc.C: use better debug
15168 * minibuffer.h: fix typo
15172 * WorkArea.C: add and use Debug::WORKAREA
15176 * text2.C: code re-organisation, inline helpers
15178 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
15180 * Layout.C: replaced a few cases of std::vector.size() == 0 with
15181 std::vector.empty().
15183 2001-11-09 Allan Rae <rae@lyx.org>
15185 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
15186 '\n's after tables. Tabular and ERT inset work now makes this no
15189 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
15192 * minibuffer.C: fix crash, improve drop-down completion
15194 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
15197 * lyxserver.C: invalidate fd's when doing endPipe()
15199 2001-11-08 José Matos <jamatos@fep.up.pt>
15201 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
15202 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
15205 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
15207 2001-11-07 José Matos <jamatos@fep.up.pt>
15210 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
15213 * buffer.C (sgmlOpenTag):
15214 * buffer.C (sgmlCloseTag): removed debug info.
15216 * buffer.h (sgmlOpenTag):
15217 * buffer.h (sgmlCloseTag): made public.
15219 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15221 * buffer.C (saveParamsAsDefaults):
15222 * lyx_cb.C (MenuLayoutSave): remove
15224 * LyXAction.C (init):
15226 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
15228 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15230 * buffer.C (setPaperStuff): removed from here...
15232 * bufferparams.C (setPaperStuff): ... and moved there.
15234 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
15238 * XFormsView.C: add support for drop-down completion
15240 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
15242 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
15245 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15247 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
15250 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
15252 * lyx_main.C: change ref to known bugs
15254 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
15256 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
15257 to work around older babel problems.
15259 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
15261 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
15263 2001-10-24 Juergen Vigna <jug@sad.it>
15265 * tabular-old.C (ReadOld): below variable changes reflected.
15267 * tabular.[Ch]: added ltType struct for longtable header/footer
15268 defines and changed all instances where they are used. Added
15269 future support for double top/bottom rows.
15271 2001-10-24 José Matos <jamatos@fep.up.pt>
15273 * buffer.h (docbookHandleCaption):
15274 * buffer.C (docbookHandleCaption): removed unused function.
15275 (makeDocBookFile): moved docbook supported version to v4.1.
15277 2001-10-24 José Matos <jamatos@fep.up.pt>
15280 * tabular.C (docbookRow): new function to export docbook code of a row.
15281 (DocBook): now honors the longtable flags.
15283 2001-10-23 José Matos <jamatos@fep.up.pt>
15286 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
15287 of the lyx defined sgml entities used in a docbook/linuxdoc document.
15289 * buffer.C (makeLinuxDocFile):
15290 (makeDocBookFile): reworked the preamble, more clean, and with
15291 support for lyx defined entities. Changed the document declaration
15292 to be more XML friendly.
15294 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
15295 if we need to output XML that should be done with a filter.
15297 2001-10-22 Juergen Vigna <jug@sad.it>
15299 * sp_pspell.h (class PSpell): add alive function needed in the
15300 controller to see if the spellchecker could be started.
15302 2001-10-22 Juergen Vigna <jug@sad.it>
15304 * buffer.C (insertStringAsLines): modify the font for inserting
15305 chars in certain conditions by calling checkInsertChar(font).
15307 2001-10-19 Juergen Vigna <jug@sad.it>
15309 * text.C (workWidth): use getRow instead of wrong algorithm.
15310 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
15312 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
15317 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
15319 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15321 * text.C (workWidth): do not search for the exact row when
15322 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
15323 optimization for big documents.
15325 2001-10-18 Juergen Vigna <jug@sad.it>
15327 * text.C (workWidth): new function with added Inset * parameter.
15329 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15331 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
15333 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
15334 change return type of getColumnNearX.
15337 * text.C (changeRegionCase): use uppercase/lowercase instead of
15340 (rightMargin): simplify code by factoring out the uses of
15345 (appendParagraph): use Paragraph::size_type
15347 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15349 * vspace.C (asLatexString): add a missing break
15351 2001-10-15 Herbert Voss <voss@perce.de>
15353 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
15355 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15357 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
15360 2001-10-10 André Pönitz <poenitz@gmx.net>
15362 * lyxfunc.C: removed greek_kb_flag.
15364 2001-10-10 Herbert Voss <voss@perce.de>
15366 * lyx_main.C: delete global string help_lyxdir.
15368 2001-10-09 Herbert Voss <voss@perce.de>
15370 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
15372 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
15374 * lyx_main.C: added global string help_lyxdir.
15376 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
15378 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
15380 * lyxrc.C (set_font_norm_type): support iso8859-4
15382 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
15384 * LaTeX.C (deplog): add another regex for MikTeX
15386 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
15388 * lyxrc.C (set_font_norm_type): support iso8859-3
15390 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15392 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
15394 * LaTeXFeatures.C: remove special case of french and index
15396 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
15397 before \begin{document}). This solves several incompatibilities.
15399 2001-10-03 Garst Reese <reese@isn.net>
15401 * lyx_cb.C: change CheckTex error msg.
15403 2001-10-03 José Matos <jamatos@fep.up.pt>
15405 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
15407 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15409 * .cvsignore: update
15411 * lyx_main.C (commandLineVersionInfo): use new style version info.
15413 * buffer.C (writeFile):
15415 (makeLinuxDocFile):
15416 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
15418 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
15420 * version.h: update to use stuff in version.C
15422 * version.C.in: new file. Contains version information determined
15423 at compile time. This is a merging of version.h and
15426 2001-10-03 Juergen Vigna <jug@sad.it>
15428 * BufferView_pimpl.C (update): don't change "dirty" status in
15431 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
15433 * WorkArea.C (c-tor): re-position version string slightly.
15435 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
15437 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15438 revert to previous code.
15440 WorkArea.[Ch]: (show, destroySplash): methods removed.
15442 WorkArea.C: rework code so that it's an amalgam of the codes before and
15443 after the splash screen was moved to WorkArea.
15445 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15448 * vspace.C (inPixels):
15451 * buffer.C (insertStringAsLines):
15452 (asciiParagraph): fix types to be large enough
15454 * lyxlex_pimpl.h: change member status from short to int
15456 * layout.h: fix type of endlabeltype
15459 * kbsequence.C (parse): change return type to string::size_type
15461 * LaTeX.C (updateBibtexDependencies): comment out unneeded
15464 * Bullet.C (bulletSize):
15465 (bulletEntry): do not use short ints as parameters
15467 * BufferView2.C (insertLyXFile): change a char to an int.
15469 * WorkArea.C (WorkArea): remove unneeded floats in computation
15471 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
15473 * buffer.C (asciiParagraph): Treat '\\' as other chars.
15475 * paragraph.C (asString): Do not ignore newline/hfill chars when
15476 copying to the clipboard.
15478 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
15480 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15481 after a multi-line inset.
15483 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
15485 * paragraph.C (validate): Set NeedLyXFootnoteCode
15487 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
15489 * lyxfont.C (LyXSizeNames): changed increase-error to increase
15490 and decrease-error to decrease.
15492 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15494 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15495 it more readable (should be equivalent)
15497 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
15499 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15501 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15503 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15504 of a cursor (row, etc.) after a character has been deleted
15505 (deleteEmptyParagraphMechanism): call the method above on _all_
15506 cursors held by the LyXText when a double space has been
15509 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
15511 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15513 (resizeCurrentBuff): remove code to destroy the old splash dialog.
15515 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15516 background. Use greyOut() and the new show() methods to toggle between
15517 the foreground and background. Add code to remove the splash after
15518 its initial showing.
15520 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15521 (create_forms): no longer call Dialogs::showSplash.
15523 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15525 * .cvsignore: add version_info.h
15527 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15529 * version_info.h.in: new file
15531 * Makefile.am: add version_info.h.in
15533 * lyx_main.C (commandLineVersionInfo): use version_info defined in
15534 version_info.h instead of VERSION_INFO
15536 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
15538 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15539 The ERT inset now returns string().
15541 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
15543 * lyxtext.h, text.C (selectNextWord): renamed as
15544 selectNextWordToSpellcheck.
15546 * text.C (selectNextWordToSpellcheck): Modified to not select
15547 words inside an ERT inset.
15549 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15551 * lyx_cb.C (MenuLayoutSave): change a bit the question
15553 * sp_base.h: include <sys/types.h>
15555 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
15557 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15559 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
15561 * several files: fix typos in user-visible strings
15563 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15565 * text2.C (pasteSelection): do not set the selection, since it
15566 will be cleared later. Actually, the intent was to fix the way the
15567 selection was set, but I figured rmoving the code was just as good.
15569 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
15571 * FontLoader.C (available): Check if font is available without
15574 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
15576 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15578 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
15580 * lyxrc.[Ch]: added display_graphics variable and associated code.
15582 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15584 * bufferparams.C (hasClassDefaults): new method. Returns true if
15585 the buffer parameters correspond to known class defaults
15587 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
15589 * XFormsView.C (show): set minimum size to the main window.
15591 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15593 * text2.C (copySelection):
15595 * lyxfind.C (LyXReplace):
15596 * BufferView_pimpl.C (Dispatch): pass the correct flag to
15597 LyXText::selectionAsString.
15599 * paragraph.C (asString): add "label" argument to the second form
15601 * text2.C (selectionAsString): add "label" argument and pass it to
15602 Paragraph::asString.
15604 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15606 * lyx_main.C (commandLineHelp): remove version information
15608 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
15610 * lyx_main.C: add -version commandline option
15612 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15614 * paragraph.h: make the optional constructor arg required instead.
15615 some modifications to other files because of this.
15617 * minibuffer.C (C_MiniBuffer_peek_event): make it static
15619 * lyxserver.C (C_LyXComm_callback): make it static
15621 * lyx_main.C (error_handler): make it static
15623 * lyx_gui.C (LyX_XErrHandler): make it static
15625 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15627 * WorkArea.C: make the extern "C" methods static.
15629 * Makefile.am (lyx_LDADD): simplify
15631 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15633 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15634 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15636 * LyXAction.C (init):
15637 * lyxfunc.C (dispatch): associated code removal.
15639 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15641 * lyxfont.h (isSymbolFont): shut off warning
15643 * text.C (setHeightOfRow):
15644 (getVisibleRow): fix crash with empty paragraphs which have a
15647 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
15649 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15652 2001-09-04 José Matos <jamatos@fep.up.pt>
15655 * tabular.C (docbook): rename docBook method to docbook.
15657 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15659 * Makefile.am: add dependencies to main.o.
15661 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
15663 * FontLoader.C (available): Return false if !lyxrc.use_gui
15665 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
15667 * FontInfo.C (query):
15668 * converter.C (view):
15669 * importer.C (Import):
15670 * exporter.C (Export): Can not -> cannot.
15672 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
15674 * BufferView_pimpl.C: allow to create index inset even if
15677 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15679 * buffer.C (getLists): replace boost::tie code with an explicit pair
15680 as boost::tie can break some compilers.
15682 * iterators.h: Added a std:: declaration to the return type of
15685 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
15687 * lyxrc.C: add help for view_dvi_paper_option, default to safe
15690 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
15692 * iterators.[Ch]: New files. Provide paragraph iterators.
15694 * buffer.C (changeLanguage): Use paragraph iterators.
15695 (isMultiLingual): ditto
15697 * BufferView2.C (ChangeInsets): Use paragraph iterators.
15699 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
15701 * FontLoader.C: Support for cmr font.
15703 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
15705 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15706 (available): New method.
15708 * FontInfo.C (getFontname): Use scalable fonts even when
15709 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15712 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15714 * converter.C (Formats::view): reverted! Incorrect fix.
15716 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15718 * converter.C (Formats::view): only output the -paper option
15719 if the dvi viewer is xdvi, thereby fixing bug #233429.
15721 2001-08-23 Herbert Voss <voss@perce>
15723 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15725 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
15727 * Spacing.h (Spacing): Set space to Default on in the default
15730 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
15732 * vc-backend.h (RCS::versionString): add RCS to version
15733 (CVS::versionString): add CVS to version
15735 * vc-backend.C (scanMaster): do not add CVS to version.
15736 (scanMaster): do not add RCS to version
15738 * lyxvc.C (versionString): new method
15740 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15742 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15744 * Spacing.C (set): initialize fval
15746 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
15748 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15751 2001-08-16 Juergen Vigna <jug@sad.it>
15753 * lyxfunc.C (dispatch): implemented the new FINISHED states.
15755 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15757 * BufferView_pimpl.C:
15760 * text2.C: setParagraph takes linespacing now
15762 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
15764 * LyxAction.C: add internal LFUN_CITATION_INSERT
15766 * LyXView.C: actually apply fix
15768 * bufferlist.C: fix open non-existent file
15770 * lyxfind.C: fix indentation
15772 * lyxfunc.C: remove unneeded assert, fix typo
15774 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15776 * MenuBackend.C: use "Floatname List"
15778 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
15780 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15781 when converting LaTeX layout to insetERT.
15782 Generate a non-collapsed float when reading old float
15784 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15786 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15789 2001-08-13 Juergen Vigna <jug@sad.it>
15791 * text.C (fill): return 0 instead of 20 as this seems to be the more
15794 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15796 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15799 2001-08-13 Juergen Vigna <jug@sad.it>
15801 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15803 (SearchBackward): comment out the unlocking of the inset_owner this
15804 should not be needed!
15806 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
15808 * Many files: Remove inherit_language, and add latex_language
15810 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15811 collapsible insets.
15813 2001-08-10 Juergen Vigna <jug@sad.it>
15815 * text.C (prepareToPrint): fixed hfill-width in draw!
15817 * BufferView2.C (selectLastWord): save the selection cursor as this
15818 now is cleared in the function LyXText::clearSelection!
15820 2001-08-08 Juergen Vigna <jug@sad.it>
15822 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15823 BACKSPACE type functions.
15825 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15826 is only cutted from the document but not put in the cut-buffer, where
15827 still the old stuff should be.
15829 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15831 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15833 * tabular.C (SetWidthOfCell): fixed special case where the width
15835 (LeftLine): handle '|' in align_special.
15837 (LeftAlreadyDrawed): ditto
15838 (SetWidthOfCell): ditto
15840 2001-08-07 Juergen Vigna <jug@sad.it>
15842 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15844 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15846 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15847 * lyxlex.[hC]: ditto
15849 2001-08-06 Juergen Vigna <jug@sad.it>
15851 * text.C (getVisibleRow): fix up row clearing a bit.
15853 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15855 * minibuffer.C: make sure the X server sees the changes in the input.
15857 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15859 * paragraph.C (getFont): split into...
15860 (getLabelFont): this
15861 (getLayoutFont): and this
15862 * paragraph_pimpl.C (realizeFont): calling this
15864 * text2.C (getFont): split into...
15865 (getLayoutFont): this
15866 (getLabelFont): and this
15867 (realizeFont): all three calling this
15869 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15872 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15874 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15876 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
15878 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15879 layouts from the Quote inset insertion.
15881 2001-08-03 Juergen Vigna <jug@sad.it>
15883 * BufferView_pimpl.C (update): do the fitCursor only at the end!
15885 * screen.C (drawFromTo): don't call fitcursor here and do the loop
15886 only if status not is already CHANGED_IN_DRAW (second level).
15888 * text.C (draw): don't set the need_break_row when inside an
15891 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
15893 * buffer.C (parseSingleLyXformat2Token): handle more latex
15896 * bufferview_funcs.[hC]: change function names to
15897 begin with small char, adjust other files.
15899 2001-08-02 André Pönitz <poenitz@gmx.net>
15902 BufferView_pimpl.C: remove broken special code for math-greek
15904 2001-08-02 Juergen Vigna <jug@sad.it>
15906 * BufferView_pimpl.C (update): redone this function so that we
15907 update the text again if there was a CHANGE_IN_DRAW.
15909 * screen.C (cursorToggle): removed LyXText parameter and recoded.
15910 (drawFromTo): added a new internal bool which is used by draw() and
15912 (general): some cursor drawing problems fixed.
15914 2001-08-01 Juergen Vigna <jug@sad.it>
15916 * lyxfind.C (LyXFind): fixed
15917 (SearchForward): ditto
15918 (SearchBackward): ditto
15920 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15921 spurius drawing of the cursor in the main area.
15923 * text2.C (status): small fix which could lead to a segfault!
15924 (clearSelection): remove unneeded BufferView param.
15926 2001-08-01 André Pönitz <poenitz@gmx.net>
15928 * lyxfunc.C: small change due to changed mathed interface
15930 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15932 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15934 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
15936 * lyxfunc.c: fail gracefully if file doesn't exist
15941 * BufferView_pimpl.C: IsDirWriteable() proto changed
15943 * LyXView.C: fix updateWindowTitle() to store the last title
15945 2001-07-31 Juergen Vigna <jug@sad.it>
15947 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15948 the font (wrong since using of Paragraph::highestFontInRange).
15950 * paragraph.C (highestFontInRange): added a default_size parameter.
15952 * text.C (getVisibleRow): minor clear row changes (still not perfect).
15953 (setHeightOfRow): reformat
15955 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15957 * converter.[hC] + affected files: move to (inital-char)lowercase
15960 * ParagraphParameters.C (ParagraphParameters): remove commented code
15962 * PainterBase.[Ch]: remove commented code
15964 * LaTeXFeatures.h: add "bool floats" for float.sty
15966 * LaTeXFeatures.C (LaTeXFeatures): init floats
15967 (require): handle float
15968 (getPackages): do it with floats
15970 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15972 * BufferView_pimpl.C (Dispatch): improve handling of
15973 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15975 * commandtags.h: #include lyxfont.h here temporarily to avoid
15978 * bufferlist.h: include LString.h here.
15980 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15982 * text2.C (getStringToIndex): new method.
15984 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
15986 * *: Reduced header file dependencies all over.
15988 2001-07-30 Baruch Even <baruch@lyx.org>
15990 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15992 2001-07-29 Baruch Even <baruch@lyx.org>
15994 * buffer.C (readInset): Changed GRAPHICS to Graphics.
15996 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15998 * ParameterStruct.h (endif): add a default constructor to make
15999 sure that all variables is initialized.
16001 * ParagraphParameters.C (ParagraphParameters): adjust
16003 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16005 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
16006 index; also, check that there is something to index, and that it
16007 does not span over several paragraphs.
16008 (doubleClick): use WHOLE_WORD_STRICT for double click.
16010 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
16012 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
16015 2001-07-26 Baruch Even <baruch@lyx.org>
16017 * buffer.C (readInset): Changed to call up InsetGraphics when reading
16018 an InsetFig figure, backwards compatible reading of old figure code.
16020 2001-07-27 Juergen Vigna <jug@sad.it>
16022 * text2.C: font.realize function adaption.
16024 * text.C (draw): add a warnings lyxerr text if needed.
16026 * layout.C: font.realize function adaption.
16028 * language.C: add inherit_language and implement it's handlings
16030 * bufferview_funcs.C (StyleReset): remove language parameter from
16031 font creation (should be language_inherit now).
16033 * bufferparams.C (writeFile): handle ignore_language.
16035 * paragraph.C (getFontSettings): the language has to be resolved
16036 otherwise we have problems in LyXFont!
16038 * lyxfont.C (lyxWriteChanges): added document_language parameter
16039 (update): removed unneeded language parameter
16041 * paragraph.C (validate): fixed wrong output of color-package when
16042 using interface colors for certain fonts in certain environments,
16043 which should not seen as that on the final output.
16045 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
16047 * BufferView_pimpl.C:
16052 * LyXAction.C: add thesaurus support
16055 * lyxfind.C: add "once" parameter, for thesaurus, to not
16056 move to the next match
16058 2001-07-26 Juergen Vigna <jug@sad.it>
16060 * lyxfont.C (realize): honor ignore_language too!
16063 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
16065 * text.C (draw): one place more for ignore_language to not draw
16068 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
16070 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
16072 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16074 * buffer.C (parseSingleLyXformat2Token): a more general fix for
16075 the minipage conversion problem.
16077 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16079 * buffer.C (parseSingleLyXformat2Token): check minipage if we
16082 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16084 * BufferView.h: don't forward declare WorkArea
16086 * BufferView.C: don't include WorkArea.h
16088 2001-07-25 André Pönitz <poenitz@gmx.net>
16092 * lyxfunc.C: new LFUN 'math-space'
16094 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
16096 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16098 * text2.C (toggleInset): call open/close
16100 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16102 * lyxfunc.C (dispatch): add debug for the disabled case
16104 * font.C (buttonText): make similar to rectText
16106 * buffer.C (readInset): comment out parsing of insetlist and
16109 * PainterBase.C (rectText): small correction
16111 * BufferView_pimpl.C: comment out insettheorem and insetlist
16112 * LyXAction.C: ditto
16113 * commandtags.h: ditto
16115 2001-07-24 Juergen Vigna <jug@sad.it>
16117 * text.C (draw): honor the ignore_language.
16119 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
16121 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16123 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
16126 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16128 * lyxtext.h: remove unused (and unimplemented) methods
16130 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16132 * text.C (getVisibleRow): honor background color
16135 * Painter.h: remove default color argument for fillRectangle
16137 * text.C (backgroundColor): new method
16139 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16141 * text.C (getVisibleRow): adjust
16143 * font.[Ch] (rectText): new method, metrics
16144 (buttonText): new method, metrics
16146 * PainterBase.[hC]: make rectText and buttonText always draw and take
16149 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16151 * ToolbarDefaults.C (read):
16152 * MenuBackend.C (read): allow escaping in all strings
16154 * BufferView_pimpl.C (insertAndEditInset): new method.
16155 (Dispatch): use insertAndEditInset whenever appropriate.
16157 * BufferView_pimpl.C (insertNote): removed
16159 * BufferView_pimpl.C (smartQuote): new method, moved from
16160 BufferView; if an insetquote cannot be inserted, insert a '"'
16163 * BufferView2.C: remove insertCorrectQuote();
16165 * lyxfunc.C (getStatus): Add support for all remaingin
16166 inset-insert lfuns.
16168 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
16170 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
16171 command (necessary to pass " as parameter of self-insert.
16173 * text.C (selectWordWhenUnderCursor):
16174 (selectWord): add word_location parameter
16175 (selectWordWhenUnderCursor): same + remove special code for word
16177 (selectNextWord): use kind() to guess type of insetspecialchar,
16180 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
16181 (insertErtContents): create ert insets as collapsed.
16182 (readInset): better compatibility code for Info inset.
16184 2001-07-20 Juergen Vigna <jug@sad.it>
16186 * lyxfunc.C (dispatch): use always LyXFind now!
16188 * text2.C (init): add a reinit flag so that the LyXText can be
16189 reinited instead of deleted and reallocated (used in InsetText).
16191 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
16197 2001-07-18 Juergen Vigna <jug@sad.it>
16199 * text.C (selectNextWord): handle insets inside inset by calling
16200 always the bv->text functions so that we can go up the_locking_inset!
16202 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
16203 in strange locations when inside an inset!
16205 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
16206 handling to include insets.
16208 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
16210 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16212 * LyXAction.C (init):
16214 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
16215 LIGATURE_BREAK, since the name is so stupid.
16217 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
16219 * buffer.C (readInset): enable reading of new InsetNotes as well as old
16222 * FontLoader.C: remove FORMS_H_LOCATION cruft.
16224 * sp_form.[Ch]: remove.
16226 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
16228 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
16231 * src/buffer.C (readInset): ditto.
16233 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16235 * BufferView_pimpl.C (specialChar): new method. Obsoletes
16236 menuSeparator(), endOfSentenceDot(), ldots() and
16237 hyphenationPoint(), which are therefore removed.
16238 (Dispatch): handle LFUN_HYPHENATION_BREAK.
16240 * LyXAction.C (init):
16241 * commandtags.h: add LFUN_HYPHENATION_BREAK.
16243 * paragraph.C (getWord): removed.
16245 * BufferView_pimpl.C (Dispatch): use last word or selection for
16246 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
16248 * lyx_main.C (queryUserLyXDir): do not ask before creating
16249 user_dir, except if it has been named explicitely.
16251 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
16253 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
16254 a document of zero size.
16256 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
16258 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
16259 approriately in the c-tor and in require().
16260 (getPackages): output the appropriate LaTeX for natbib support.
16262 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
16263 variables "use_natbib" and "use_numerical_citations" when reading the
16265 (readInset): read the various natbib cite commands.
16266 (validate): white-space change.
16268 * bufferparams.[Ch]: new variables "bool use_natbib" and
16269 "bool use_numerical_citations".
16270 (writeFile): output them in the LyX file.
16272 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16274 * lyxfunc.C (getStatus): add support for all the inset insertion
16277 * text2.C (insertInset):
16278 * paragraph.C (insetAllowed):
16279 * BufferView_pimpl.C (insertInset): update to take in account the
16280 renaming of insertInsetAllowed
16282 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
16284 * text2.C (getInset): new method. returns inset at cursor position.
16286 * BufferView_pimpl.C (Dispatch): changes because of this.
16288 * LyXAction.C (init): rename open-stuff to inset-toggle.
16290 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
16292 * text2.C (toggleInset): renamed from openStuff; use
16295 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
16297 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
16299 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
16301 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
16303 * buffer.C (readLyXformat2): Add filename to the error dialog
16305 2001-07-18 Juergen Vigna <jug@sad.it>
16307 * tabular.C (GetCellNumber): put an assert here instead of the check!
16309 2001-07-17 Juergen Vigna <jug@sad.it>
16311 * BufferView_pimpl.C (toggleSelection): adapted too.
16313 * text.C (selectNextWord): adapted for use with insets.
16314 (selectSelectedWord): ditto
16316 2001-07-17 Juergen Vigna <jug@sad.it>
16318 * sp_spell.C (PSpell): fix initialitation order.
16320 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16322 * paragraph.C: spacing
16324 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
16326 * sp_spell.C: repair language selection for pspell
16328 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
16330 * lyxfunc.h: change more methods to begin with lower char.
16332 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
16334 * buffer.C (parseSingleLyXformat2Token): Generate error insets
16335 for unknown layouts.
16337 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
16339 * buffer.C (readLyXformat2): Generate an error dialog if there are
16342 2001-07-16 Juergen Vigna <jug@sad.it>
16344 * sp_spell.C: always compile ISpell part.
16346 * lyxrc.C: added use_pspell entry and it's handling.
16348 2001-07-13 Juergen Vigna <jug@sad.it>
16350 * sp_spell.C: removed double includes.
16352 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
16354 Consistent use of Lsstream.h:
16355 * Lsstream.h: added using std::stringstream for consistencies sake.
16357 * buffer.C: removed using std::stringstream
16359 * lyxfont.C (stateText):
16360 * paragraph.C (asString):
16361 * text.C (selectNextWord, selectSelectedWord):
16362 * text2.C (setCounter):
16363 * vspace.C (asString, asLatexString):
16364 std::ostringstream -> ostringstream.
16366 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
16368 * LyXAction.C: add LFUN_HELP_ABOUTLYX
16369 * commandtags.h: add LFUN_HELP_ABOUTLYX
16370 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
16372 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
16374 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
16376 * lyx_gui_misc.C: remove spellchecker
16377 * lyxfunc.C: showSpellchecker
16379 * sp_ispell.h: added
16380 * sp_pspell.h: added
16381 * sp_spell.C: added
16382 * sp_form.[Ch]: removed
16383 * spellchecker.[Ch]: removed
16385 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
16387 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
16389 (simpleTeXSpecialChars): Simply print the input character without
16390 any special translation if pass_thru is set.
16392 * layout.h: Added bool pass_thru to layout class for being able to
16393 implement pass through of a paragraph for Literate Programming.
16395 * layout.C: add LT_PASS_THRU to LayoutTags enum.
16396 * layout.C (LyXLayout): set pass_thru to flase in constructor.
16397 * layout.C (Read): add "passthru" to list of layout tags and add
16398 code to set the pass_thru boolean when it is read.
16400 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
16402 * trans_decl.h: remove allowed from KmodInfo
16404 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
16405 remove allowed code
16408 * paragraph_pimpl.C (erase): use boost::prior
16410 * Painter.C (text): use data() instead of c_str() when length is
16412 * WorkArea.C (putClipboard): ditto
16413 * font.h (width): ditto
16415 * BufferView2.C: use it-> instead of (*it). for iterators
16417 * paragraph_pimpl.C: ditto
16418 * paragraph.C: ditto
16419 * minibuffer.C: ditto
16420 * language.C: ditto
16422 * encoding.C: ditto
16423 * counters.C: ditto
16424 * converter.C: ditto
16426 * Variables.C: ditto
16427 * TextCache.C: ditto
16428 * MenuBackend.C: ditto
16429 * LyXAction.C: ditto
16431 * FloatList.C: ditto
16432 * DepTable.C: ditto
16433 * ColorHandler.C (LyXColorHandler): ditto
16435 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16437 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16439 * text2.C (openStuff): reintroduce this method (which had been
16440 nuked in NEW_INSETS frenzy).
16442 * lyxfunc.C (Dispatch): when an action has not been handled, use
16443 its name in the error message, not its number.
16445 * paragraph.C (inInset): change method name to begin with lowercase.
16448 * text2.C: updates because of this.
16450 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16452 * ToolbarDefaults.C (add): add spaces in error message
16454 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
16456 * buffer.C (readLyXformat2): initialize the ert comp. variables.
16457 (readLyXformat2): rename return_par to first_par, use lyxlex's
16458 pushToken and remove the manual push handling.
16459 (parseSingleLyXformat2Token): add another ert comp. variable:
16460 in_tabular, rename return_par to first_par. handle newlines better
16462 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16464 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16466 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
16468 * text2.C (getParFromID): removed
16470 * buffer.C (getParFromID): new method moved form lyxtext.
16471 * BufferView2.C (insertErrors): adjust
16472 (setCursorFromRow): adjust
16473 * BufferView_pimpl.C (restorePosition): adjust
16474 * lyxfunc.C (Dispatch): adjust
16475 * undo_funcs.C (textUndo): adjust
16477 (textHandleUndo): adjust
16478 (textHandleUndo): adjust
16480 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
16482 * buffer.C: up' the LYX_FORMAT
16484 * lyxfont.h: turn NO_LATEX on as default
16486 * buffer.C (insertErtContents): new methods of tex style compability.
16487 (parseSingleLyXformat2Token): use it several places.
16488 * tabular.C (OldFormatRead): and here
16490 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
16492 * text2.C: remove some commented code.
16495 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16496 * trans.C: changes because of the above.
16498 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
16500 * text2.C (setCounter): Fix counters bug with bibliography layout.
16502 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16504 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16505 own member functions
16506 (simpleTeXSpecialChars): ditto
16508 2001-07-06 Juergen Vigna <jug@sad.it>
16510 * a lot of files: changed the access to LyXText::status and the
16511 call of undo-functions.
16513 * undo.[Ch]: added a inset_id to the undo informations.
16515 * undo_funcs.[Ch]: added and moved here all undo functions.
16517 * lyxtext.h: give the status enum a weight, made status_ a private
16518 variable and made accessor functions for it, removed the whole bunch
16519 of undo-functions as they are now in their own file, make some
16520 functions publically available. Added function ownerParagraph with
16523 * paragraph.[Ch]: added "bool same_ids" to the constructor,
16524 made InInset() a const function, added getParFromID() function.
16526 * buffer.[Ch]: added const version for inset_iterator functions,
16527 added getInsetFromID() function.
16529 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16530 changed undo functions for new version.
16532 2001-07-05 Juergen Vigna <jug@sad.it>
16534 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16535 unknow mechanism does not call the proper constructor but only this
16536 one also if I request the other!?
16538 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16540 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16542 * text2.C (LyXText): use initialization lists.
16544 * lyxtext.h (Selection): initialize set_ and mark_
16545 (init): remove method
16547 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
16549 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16551 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16553 * screen.[Ch]: change method names to begin with lowercase
16555 * BufferView_pimpl.C (updateScrollbar): simplify further and
16556 hopefully make it a bit faster.
16558 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16560 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16561 calling directly xforms functions.
16563 * Painter.C (Painter):
16564 * lyx_cb.C (MenuWrite):
16565 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16568 * lyx_gui.C: remove bogus guiruntime extern declaration.
16570 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16572 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16574 (redoDrawingOfParagraph): ditto
16575 (redoParagraphs): ditto
16576 (cutSelection): don't create a object for CutAndPaste use the
16577 static method directly
16578 (pasteSelection): ditto
16580 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16583 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16585 * modifications to some other files because of this.
16587 * Makefile.am (lyx_SOURCES): add XFormsView
16589 * XFormsView.[Ch]: new files
16591 * LyXView.[Ch]: make LyXView a base class for the gui handling for
16592 the main window. Move the gui dependent stuff to XFormsView
16594 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16596 * tabular.C (GetCellInset): update cur_cell also in the row/col
16597 version of this function.
16599 * lyxfunc.C: no need to include figure_form.h here.
16605 * lyxvc.C: no need to include forms.h here.
16607 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16609 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16611 * lyxfunc.C (Dispatch):
16613 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16614 constructor argument.
16616 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16618 * paragraph.C (Paragraph): dont't clear, and just set layout.
16619 (makeSameLayout): use params's copy contructor.
16621 * ParagraphParameters.[Ch] (makeSame): delete method
16623 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
16625 * Variables.[Ch]: fix indentation, rename set to isSet
16627 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16629 * lyxfunc.C (Dispatch): fix typo
16631 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16633 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16636 * bufferlist.C: include assert.h for emergencyWrite().
16638 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16640 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16641 give up at last (bug #425202) !
16643 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
16649 * spellchecker.C: strip spellchecker options and bring up
16650 preferences tab instead
16652 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16654 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16655 the istringstream constructor
16657 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16659 * paragraph.C (getLayout): fix return value
16661 * paragraph.h: do not declare getLayout as inline.
16663 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16665 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16667 * lyxcursor.h (operator<): new func
16668 (operator>): new func
16669 (operator>=): new func
16670 (operator<=): new func
16672 * text.C (changeCase): use selection.start and selection.end
16673 (changeRegionCase): require from to be <= to. Require par to be a
16676 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16678 2001-06-27 Juergen Vigna <jug@sad.it>
16680 * text.C (cursorLeftOneWord): changed to return the cursor and added
16681 overlay with BufferView * parameter which calls this one.
16683 (selectWord): use new getWord function.
16684 (changeCase): renamed from changeWordCase as and extended to work
16685 also on selections.
16687 * lyxtext.h: added enum word_location
16689 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16690 changeCase as this operates now also on selections.
16692 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
16694 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16696 * many files: send debug output to Debug::INFO instead of
16699 * converter.C (View):
16701 (Move): send debug output to Debug::FILES instead of console.
16703 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
16705 * lyxfunc.C (getStatus): use func_status
16707 * func_status.h: new header, describing the results of
16708 LyXFunc::getStatus;
16710 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16713 2001-06-25 The LyX Project <jug@sad.it>
16715 * buffer.C (sgmlOpenTag):
16717 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
16719 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16721 * text2.C: remove some dead code
16723 * tabular.C (GetCellInset): store the last cell checked (gotten)
16725 * tabular.h: add the helper for the speedup
16727 * lyxtext.h: remove some dead code
16729 2001-06-26 The LyX Project <Asger>
16731 * paragraph.C: Change export to LaTeX of alignment to
16732 \begin{center} and family for better roundtrip work with reLyX.
16734 * Tune the math drawing a bit.
16736 2001-06-25 The LyX Project <Asger>
16738 * LColor.C (LColor): New color for math background. New color
16741 2001-06-25 The LyX Project <jug@sad.it>
16743 * lyxfunc.C (MenuNew): remove extra check for .lyx file
16745 * lyxfunc.C (Open):
16746 * bufferlist.C (newFile): do not restrict to files ending with
16749 * BufferView_pimpl.C (MenuInsertLyXFile):
16751 2001-06-24 The LyX Project <jug@sad.it>
16753 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16756 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16758 * lyxtext.h: rename most methods to begin with a small char.
16759 Lots of changes because of this.
16761 * paragraph.C (Paragraph): do not call fitToSize
16762 (erase): call Pimpl::erase
16763 (insertChar): call Pimpl::insertChar
16764 (insertInset): call Pipl::insertInset
16765 (breakParagraph): do not call fitToSize
16766 (breakParagraphConservative): do not call fitToSize
16767 (fitToSize): remove method
16769 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16771 2001-06-24 The LyX Project <Asger>
16773 * Fix Qt compilation^2
16775 2001-06-24 The LyX Project <jug@sad.it>
16777 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16778 depthHook(getDepth()-1).
16781 * ParagraphParameters.h:
16782 * ParameterStruct.h: change type of depth to unsigned int ==
16783 depth_type. Many adaptations to other files before of that.
16785 2001-06-24 The LyX Project <Asger>
16787 * Fix Qt compilation.
16789 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16791 * paragraph.h: renamed several methods to begin with small letter.
16792 several changes to many parts of the code because of this.
16794 2001-06-23 The LyX Project <jug@sad.it>
16796 * text2.C (InsertStringAsLines): renamed from InsertStringA;
16797 rewritten to discard all double spaces when KeepEmpty is off
16798 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16799 to only handle newlines but not fiddle with spaces and friends.
16801 * lyxfunc.C (MenuNew): when doing 'new from template', use
16802 template_path as default directory
16804 2001-06-23 The LyX Project <Asger>
16806 * Clean-up of header file includes all over
16807 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16809 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16811 * paragraph.h: renamed from lyxparagraph.h
16813 2001-06-23 Asger <lyx@violet.home.sad.it>
16815 * Buffer.h: Removed Buffer::resize
16816 * BufferList.h: Removed BufferList::resize
16817 * LyXView.h: Added LyXView::resize. This way, we will only reflow
16818 the document lazily when we change the width, or the font settings.
16820 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16822 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16824 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16826 * buffer.h: remove out of date comment
16828 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16831 * screen.C: fix "theoretical" GC leak
16833 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16835 * LaTeX.C (scanAuxFile):
16836 (deplog): remove trailing \r when reading stream (useful under
16839 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
16841 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16842 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16843 and BufferView::theLockingInset(Inset*), so should use them and not
16844 access bv_->text->the_locking_inset directly.
16846 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16848 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16851 * tex-defs.h: remove old unused file
16853 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
16855 * BufferView_pimpl.C: fix typo, remove minibuffer message
16856 when buffer has loaded
16858 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
16860 * lyxfunc.C (Dispatch): use stringstream
16861 (MenuNew): use stringstream
16862 (Open): use stringstream
16864 * importer.C (Import): use stringstream
16866 * bufferview_funcs.C (CurrentState): use stringstream
16868 * LaTeX.C (run): use stringstream
16870 * BufferView_pimpl.C (savePosition): use stringstream
16871 (restorePosition): use stringstream
16872 (MenuInsertLyXFile): use stringstream
16874 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
16887 * vspace.C: removed // -*- C++ -*- as first line.
16890 * version.h: added // -*- C++ -*- as first line.
16892 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16894 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16896 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16899 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
16901 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16904 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16906 * gettext.C: include LString.h even when --disable-nls is on.
16908 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
16910 * converter.h (Get): changed argument type from int to
16911 FormatList::size_type to avoid unnecessary conversion.
16913 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16916 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16918 * gettext.h: include LString.h even when --disable-nls is on.
16920 2001-06-07 Juergen Vigna <jug@sad.it>
16922 * text.C (BreakAgain): subst spaces with tabs.
16924 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16925 (resizeInsetsLyXText): set force on resizeLyXText.
16927 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16929 * gettext.h (gettext_init):
16930 (locale_init): use a real definition instead of a macro
16932 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16934 * Bufferview_pimpl.C:
16936 * LColor.C: further lcolor tidies
16938 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
16940 * BufferView_pimpl.C (updateScrollbar): simplify.
16942 * BufferView2.C: don't include insets/insetinfo.h, change
16943 prototype for insertInset and call the Pimpl version. let
16944 updateInset call Pimpl version.
16946 * BufferView.h: move inset_slept to BufferView::Pimpl, move
16947 gotoInset to BufferView::Pimpl
16949 2001-06-01 Juergen Vigna <jug@sad.it>
16951 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16952 inside a LockingInset (is the update needed at all?).
16954 2001-05-31 Juergen Vigna <jug@sad.it>
16956 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16957 here not the old one otherwise how should we compare it afterwards
16960 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16965 * FontInfo.C: bring C functions into global namespace when
16968 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16970 * LString.h: make sure config.h has been loaded before LString.h.
16972 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16973 (one for each char read by EatLine!).
16975 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16978 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
16980 * paragraph.C (BreakParagraph): set the inset_owner in the new par
16981 to the same as the par we break from
16983 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
16985 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16987 * MenuBackend.C (expand): also create menu entries for wide
16988 versions of the floats.
16990 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16992 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16994 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16995 frontends/Makefile.am
17001 * tabular.C (getTokenValue): add std::
17003 * tabular-old.C (getTokenValue): add std::
17004 (getTokenValue): ditto
17005 (getTokenValue): ditto
17007 * screen.C (ToggleSelection): adjust
17009 * lyxtext.h: put selection cursors inside a Selection struct.
17011 * lyxfunc.C (moveCursorUpdate): adjust
17013 * lyxfont.C (latexWriteStartChanges): add std::
17015 * lyxfind.C: adjust
17017 * font.h: delete with(char const *, LyXFont const &)
17019 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
17021 * FontInfo.C (getFontname): add std::
17023 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
17024 (workAreaButtonPress): adjust
17025 (tripleClick): adjust
17027 (moveCursorUpdate): adjust
17030 * BufferView2.C (gotoInset): adjust
17032 2001-05-30 Juergen Vigna <jug@sad.it>
17034 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
17035 to check pspell I add this as default as I now have new pspell
17036 libraries and they seem to use this.
17038 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
17040 * text2.C (CutSelection): make the cursor valid before the call to
17043 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17045 * kbsequence.C (parse): de-uglify a bit the parsing code, which
17046 relied on 0 terminated strings and other horrors. Bug found due to
17047 the new assert in lyxstring!
17049 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
17052 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
17054 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
17057 * lyxfunc.C (processKeySym): change method of getting to the
17060 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
17061 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
17062 * BufferView_pimpl.[Ch]: here as private methods.
17064 2001-05-28 Juergen Vigna <jug@sad.it>
17066 * text.C (SetHeightOfRow): added the update() call again as it is
17067 needed to initialize inset dimensions!
17069 2001-05-16 Juergen Vigna <jug@sad.it>
17071 * text2.C (SetCharFont): Add new function with BufferView * and
17072 bool toggleall parameters for setting insets internal fonts.
17073 (SetFont): Freeze the undo as we may change fonts in Insets and
17074 all this change should be inside only one Undo!
17076 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
17077 setting font's in insets as for them we have the SetFont function!
17079 2001-05-15 Juergen Vigna <jug@sad.it>
17081 * text2.C (ClearSelection): to be sure we REALLY don't have any
17084 * tabular.C (TeXCellPreamble): fixed the left border problem for
17087 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
17089 * LaTeX.C (deplog): Make sure that the main .tex file is in the
17092 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
17094 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
17095 LFUN_BREAKPARAGRAPH.
17097 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
17098 help test to "internal only", similar for LFUN_INSERT_URL
17100 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
17101 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
17102 auto_region_delete and deadkeys.
17104 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
17107 * LColor.C: remove some dead entries, tidy a little
17109 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
17111 * lyxfunc.C (processKeySym): comment the Escape handling, remove
17113 (Dispatch): implement LFUN_ESCAPE
17115 * commandtags.h: add LFUN_ESCAPE
17117 * LyXAction.C (init): add entry for LFUN_ESCAPE
17119 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
17120 Remove commented code.
17121 (insertNote): moved here
17122 (open_new_inset): moved here
17124 * BufferView[2].[Ch]: move insertNote and open_new_inset to
17127 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17129 * kbmap.C (findbinding): clean it up and make it work correctly.
17131 * lyx_main.C (init): do not pass argc and argv as parameters
17133 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
17135 * buffer.C: fix path for OS/2 & Win32
17139 * lyx_main.C: Added os:: class.
17141 * os2_defines.h: update
17143 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
17145 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
17146 better by trying again with reduced state.
17148 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17150 * lyxrc.C (read): print error about invalid key sequence only when
17151 debugging (because not all latinX keysyms are known to some X
17154 * kbsequence.C (getiso): add a few std:: qualifiers
17155 (getiso): comment out extra return statement.
17157 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
17159 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
17161 (Dispatch): enhance the accent inset a bit. (not perfect)
17163 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
17165 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
17167 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17169 * bufferlist.C (emergencyWrite): fix assert() call
17171 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
17173 * text.C (InsertChar): Added trivial patch to only send the "you
17174 can not do multiple spaces this way" message once during a
17177 2001-05-08 Baruch Even <baruch@lyx.org>
17179 * Makefile.am: Changed order of libraries to get LyX to link properly
17180 with the gnome frontend.
17182 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17184 * LaTeXFeatures.h: add a std:: qualifier
17186 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
17188 * paragraph.C (String): use stringstream
17190 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
17192 * paragraph.C (writeFile): remove footflag arg
17194 * buffer.C (makeLaTeXFile): use stringstream
17195 (latexParagraphs): remove footnot gurba
17197 * LaTeXFeatures.C (getPackages): use stringstream
17198 (getMacros): likewise
17199 (getTClassPreamble): likewise
17200 (getFloatDefinitions): new method
17202 * paragraph.C (writeFile): reindent
17205 * WorkArea.h: revert the xpos + etc changes.
17207 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
17209 * lyxparagraph.[Ch]: add copy constructor, remove Clone
17211 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
17212 (pasteSelection): likewise
17213 * text2.C (CreateUndo): likewise
17215 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
17217 * minibuffer.C (peek_event): temporarily reduce the functionality
17218 of the minibuffer (to allow args on lfuns)
17220 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
17221 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
17223 * buffer.C (readInset): add compability reading of old float
17224 lists, add reading of new style float list.
17225 (readInset): avoid reevaluation of inscmd.getCmdName()
17226 (getLists): reindent
17228 * MenuBackend.C (MenuItem): implement parsing of
17229 md_floatlistinsert and md_floatinsert.
17230 (expand::LastFiles): move initalizaton of iterators out of loop,
17231 avoid reevaluation.
17232 (expand::Documents): introduce typdedef vector<string> Strings,
17234 (expand::ExportFormats): introduce typedef vector<Format const *>
17235 Formats, and use it.
17236 (expand): implement FloatListInsert and FloatInsert.
17238 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
17239 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
17240 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
17242 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
17244 (Dispatch::LFUN_FLOAT_LIST): implement
17246 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
17248 * LaTeX.C (run): Fix problem with --export code.
17250 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
17252 * BufferView.[Ch] (workarea): removed.
17253 (getClipboard) new method; wrapper for workarea()->getClipboard()
17255 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
17258 * WorkArea.h (width, height, xpos, ypos): These methods all
17259 returned the dimensions of the work_area sub-area of WorkArea,
17260 resulting in a position error if the WorkArea were resized. Now
17261 return the dimensions of the entire WorkArea.
17263 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
17265 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17267 * LaTeX.C (deplog): correct the syntax of regex reg1
17269 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
17271 * undo.C: remove !NEW_INSETS cruft
17273 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
17275 * text2.C: remove !NEW_INSETS cruft
17277 * text.C: remove !NEW_INSETS cruft
17279 * tabular.C: remove !NEW_INSETS cruft
17281 * spellchecker.C: remove !NEW_INSETS cruft
17283 * lyxtext.h: remove !NEW_INSETS cruft
17285 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
17287 * lyxfunc.C: remove !NEW_INSETS cruft
17289 * lyxfind.C: remove !NEW_INSETS cruft
17291 * lyx_cb.C: remove !NEW_INSETS cruft
17293 * figureForm.C: remove !NEW_INSETS cruft
17295 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
17297 * buffer.[Ch]: remove !NEW_INSETS cruft
17299 * ToolbarDefaults.C: remove !NEW_INSETS cruft
17301 * CutAndPaste.C: remove !NEW_INSETS cruft
17303 * BufferView_pimpl.C: remove !NEW_INSETS cruft
17305 * BufferView2.C: remove !NEW_INSETS cruft
17307 * BufferView.h: remove !NEW_INSETS cruft
17309 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17311 * Lsstream.h: include LString.h before the sstream headers to
17312 fix problem with gcc 2.95.3 and lyxstring
17314 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17316 * lyx_main.C: add using directives when needed for C functions
17317 declared in std:: namespace.
17319 2001-04-27 Juergen Vigna <jug@sad.it>
17321 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
17322 (SetHeightOfRow): comment out the update call should not be needed!
17324 2001-04-13 Juergen Vigna <jug@sad.it>
17326 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
17327 (LyXTabular): tried to minimize operator= operations (and realized
17328 hopfully Lars wish).
17330 2001-04-27 Juergen Vigna <jug@sad.it>
17332 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
17334 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
17336 * lyxfunc.C (Dispatch): hack to make listof algorithm work
17338 * buffer.C (readInset): hack to make listof algorithm work
17340 * BufferView_pimpl.C: hack to make listof algorithm work
17342 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
17344 * LyXAction.C: removed all !NEW_INSETS cruft
17345 (init): moved lfun_item in method
17347 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
17349 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
17351 * BufferView2.C (theLockingInset): white space.
17353 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
17355 * minibuffer.C: include <iostream>
17357 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
17359 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
17361 * commandtags.h: add LFUN_TRANSPOSE_CHARS
17363 * text.[Ch] (TransposeChars): new method
17365 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
17367 * call message directly through LyXView instead of through LyXFunc
17368 * BufferView2.C: adjust
17369 * BufferView_pimpl.C: adjust
17370 * FontLoader.C: adjust
17372 * bufferview_funcs.C: adjust
17373 * converter.C: adjust
17374 * figureForm.C: adjust
17375 * importer.C: adjust
17377 * lyx_gui_misc.C: adjust
17378 * lyxfunc.C: adjust
17381 + more files in subdirs
17383 * lyxparagraph.h (size): move up int file
17386 * adjust all uses of Assert to lyx::Assert.
17388 * BufferView2.C (ChangeCitationsIfUnique): adjust for
17389 lyxfunctional in namespace lyx
17390 * layout.C (hasLayout): ditto
17393 (delete_layout): ditto
17394 (NumberOfClass): ditto
17395 * converter.C (GetFormat): ditto
17400 * bufferlist.C (getFileNames): ditto
17401 (emergencyWriteAll): ditto
17404 * MenuBackend.C (hasSubmenu): ditto
17407 * BufferView_pimpl.C (getInsetByCode): ditto
17409 2001-04-18 Juergen Vigna <jug@sad.it>
17411 * vspace.C (asLatexString): fixed the 100% problem.
17413 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17415 * lyxfunc.C (Dispatch):
17417 * minibuffer.h: add a few std:: qualifiers
17419 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
17421 * minibuffer.[Ch]: reimplement so that commands is initiated and
17422 run from lyxfunc, simplified som handling, and made the completion
17423 and history code for complete. wip.
17425 * lyxfunc.C (processKeySym): call message
17426 (miniDispatch): new temporary method
17427 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
17428 (LFUN_MESSAGE): implement
17429 (LFUN_MESSAGE_PUSH): implement
17430 (LFUN_MESSAGE_POP): implement
17431 (initMiniBuffer): the initial/defualt minibuffer message.
17433 * lyxfont.[Ch]: inline some more getters
17435 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17437 * lyx_gui_misc.[Ch] (WriteStatus): remove method
17439 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17440 (AutoSave): use LFUN_MESSAGE
17441 (Reconfigure): ditto
17443 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17445 * figureForm.C: use LFUN_MESSAGE
17447 * converter.C (runLaTeX): use LFUN_MESSAGE
17449 * bufferview_funcs.C: use LFUN_MESSAGE
17451 (changeDepth): ditto
17453 * bufferparams.h: use boost::
17455 * bufferlist.h: inherit privately from noncopyable
17457 * bufferlist.C (loadLyXFile): remove some commented code.
17459 * buffer.C (runChktex): use LFUN_MESSAGE
17461 * ShareContainer.h: inherit privately from noncopyable
17463 * ParagraphParameters.[hC] (depth): inline it.
17465 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17467 (message): new method
17468 (messagePush): ditto
17469 (messagePop): ditto
17470 (show): init minibuffer
17471 (showState): direct call
17473 * LaTeX.[Ch]: inherit privately from noncopyable
17474 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17475 instead of WriteStatus.
17477 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17479 * BufferView_pimpl.C (buffer): don't init minibuffer
17480 (workAreaButtonPress): use LFUN_MESSAGE
17481 (workAreaButtonRelease): ditto
17482 (savePosition): ditto
17483 (restorePosition): ditto
17484 (MenuInsertLyXFile): ditto
17485 (workAreaExpose): don't init minibuffer
17486 (update): remove commented code, simplify
17488 * BufferView2.C (openStuff): use LFUN_MESSAGE
17489 (toggleFloat): ditto
17492 (copyEnvironment): ditto
17493 (pasteEnvironment): ditto
17498 (updateInset): remove some commented code
17500 * lastfiles.h: inherit privately from noncopyable
17503 * lyx_main.h: ditto
17505 * lyxlex_pimpl.h: ditto
17507 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17508 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17509 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17511 * LyXAction.h: inherit privately from noncopyable, add methods
17512 func_begin, func_end, returning iterators to the func map.
17514 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17515 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17516 (func_begin): new method
17517 (func_end): new method
17519 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17521 (copySelection): ditto
17522 (pasteSelection): ditto
17524 * BufferView.C: whitespace change
17525 * BufferView.h: inherit privately from noncopyable
17527 2001-04-16 Allan Rae <rae@lyx.org>
17529 * tabular-old.C (l_getline):
17530 * spellchecker.C (sc_check_word):
17531 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17532 an unrecognised preprocessor directive. So ensure they're wrapped.
17534 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
17536 * src/exporter.C (Export): Give an error message when path to file
17539 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
17541 * LaTeX.C (deplog): Always check that foundfile exists.
17543 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17546 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17548 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
17550 * tabular.[Ch] (getLabelList): implement new method
17552 * minibuffer.h: comment ouf setTiimer
17554 * minibuffer.C (ExecutingCB): constify res
17555 (peek_event): constify s
17556 (Set): constify ntext
17557 (Init): constify nicename
17559 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17561 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17562 (savePosition): use two params to Minibuffer::Set
17563 (restorePosition): ditto
17565 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17567 * lyx_main.C: include language.h
17569 * Makefile.am (lyx_main.o): add language.h
17571 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17577 * CutAndPaste.C: include gettext.h
17579 * lyxfont.h: remove old hack with ON and OFF.
17582 * lyxfont.h: do not include language.h...
17587 * bufferview_funcs.C:
17593 * paragraph.C: ... but do it here instead
17595 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
17597 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17599 * tabular.C: small reformat
17601 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17604 (BreakParagraph): ditto
17605 (SetOnlyLayout): ditto
17608 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17611 * lastfiles.C: removed most using decl, add std:: where needed
17613 * buffer.C: ws changes
17615 * MenuBackend.C (class compare_format): put into anon namespace
17616 (expand): constify label, names, action, action2
17619 * text.C (SingleWidth): constify font
17620 (IsBoundary): constify rtl2
17621 (GetVisibleRow): constify ww
17623 * LaTeX.C (deplog): constify logfile
17625 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17627 (workAreaExpose): constify widthChange, heightChange
17629 * lyxrow.C (par): moved
17632 * lyxrow.h: as inlines here
17634 * lyxfont.h (shape): moved from lyxfont.C
17635 (emph): moved from lyxfont.C
17637 * lyxfont.C (LyXFont): use initialization list for all
17639 (shape): move to lyxfont.h as inline
17640 (emph): move to lyxfont.h as inline
17643 2001-04-04 Juergen Vigna <jug@sad.it>
17645 * vspace.C: had to include stdio.h for use of sscanf
17647 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
17650 * BufferView_pimpl.h: remove xforms cruft. Both classes are
17651 independent of xforms.
17653 2001-04-02 Juergen Vigna <jug@sad.it>
17655 * spellchecker.C: fixed namespace placing!
17657 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
17659 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17660 the LyXParagraph * is 0.
17662 2001-03-29 Juergen Vigna <jug@sad.it>
17664 * vspace.C: added support for %, c%, p%, l%.
17665 (stringFromUnit): added helper function.
17666 (asLatexString): changed to give right results for the %-values.
17668 * buffer.C: convert the widthp in a width%.
17670 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
17672 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17675 * figureForm.[Ch]: stripped the FD_from_figure manipulation
17676 code out of lux_cb.[Ch], ready for its (imminent?) removal.
17678 * lyx_cb.[Ch]: see above.
17680 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17684 * lyx.[Ch]: replaced by figure_form.[Ch].
17688 * lyxfunc.C: changed headers associated with above changes.
17690 2001-03-27 Juergen Vigna <jug@sad.it>
17692 * BufferView_pimpl.C: set the temporary cursor right!
17694 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
17696 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17698 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
17700 * LString.h: removed "using std::getline"!
17702 * BufferView_pimpl.C (Dispatch): changes due to changes in
17703 InsetInclude::Params.
17705 * buffer.C (tag_name): removed redundant break statements as they were
17706 producing lots of warnings with my compiler.
17708 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17710 * LString.h: add "using std::getline" when using the real <string>.
17712 2001-03-23 Jos�Ab�io Matos <jamatos@fep.up.pt>
17714 * buffer.C: removed bitset usage.
17715 PAR_TAG moved to an anonymous name space.
17716 (tag_name): new funtion, also in the anonymous namespace.
17717 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17718 (makeDocBookFile): clean code. Completed transition from string arrays
17720 (SimpleDocBookOnePar): code clean.
17722 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17724 * tabular.C: add some comments.
17726 2001-03-22 Juergen Vigna <jug@sad.it>
17728 * buffer.C (parseSingleLyXformat2Token): redone the minipage
17729 compatibility read a bit and fixed bug with minipage in different
17732 2001-03-21 Jos�Ab�io Matos <jamatos@fep.up.pt>
17734 * buffer.C (pop_tag): removed.
17735 (push_tag): removed.
17736 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17737 array replaced with vector. Added support for CDATA sections.
17738 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17740 (makeDocBookFile): XML conformant declaration of CDATA section,
17741 fixed bug related to <emphasis> in the first paragraph char.
17742 (sgmlOpenTag): exclude empty tags.
17743 (sgmlCloseTag): ditto.
17745 * buffer.h (pop_tag): removed.
17746 (push_tag): removed.
17748 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
17750 * language.h (Languages): added size_type and size().
17752 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17754 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17755 response on compability reading of minipages. One probliem is that
17756 the old usage of minipages was flertydig
17758 * several files here and in subdirs: don't use static at file
17759 scope use anon namespaces instead.
17761 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
17763 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17764 LaTeX output. This is necessary for Literate document
17767 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17769 * buffer.C: insert hfill when needed.
17771 * tabular.C (l_getline): use string::erase, small whitespace change.
17773 * BufferView_pimpl.C: try the anon namespace.
17774 * WorkArea.C: ditto
17776 2001-03-16 Juergen Vigna <jug@sad.it>
17778 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17779 otherwise it won't open options-dialogs.
17781 * buffer.C: honor pextraWidth(p) on converting minipages.
17783 * tabular.C (l_getline): changed the functions to strip trailing \r.
17785 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
17787 * BufferView_pimpl.C:
17788 * minibuffer..C: added "using SigC::slot" declaration.
17790 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17792 * lyxlex_pimpl.h: noncopyable is in namespace boost.
17798 * paragraph.C: ditto
17800 * lyxtext.h: NO_PEXTRA
17802 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17804 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17805 * ParameterStruct.h: ditto
17806 * ParagraphParameters.h: ditto
17807 * lyxparagraph.h: ditto
17809 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17811 * buffer.C: add compability for minipage alignment.
17812 (latexParagraphs): remove unwanted pextra check.
17814 * several files: remove CXX_WORKING_NAMESPACES
17816 * buffer.C (pop_tag): tie is in namespace boost
17818 * BufferView.h: noncopyable is in namespace boost
17820 * lyx_main.h: ditto
17823 * lastfiles.h: ditto
17824 * bufferlist.h: ditto
17825 * ShareContainer.h: ditto
17827 * LyXAction.h: ditto
17830 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17832 * Merging changes from BRANCH_MVC back into HEAD.
17834 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17836 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
17838 * BufferView_pimpl.C: change from intl.C
17842 * Makefile.am: move combox.*
17848 * intl.C: remove dialog (covered by prefs)
17850 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17852 * lyxfunc.C (Dispatch): removed redundant break statement.
17854 2001-03-14 Juergen Vigna <jug@sad.it>
17856 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17858 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17860 * buffer.C: add hack to fix compability reading of minipages.
17862 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
17864 * buffer.C (getLists): Cleanup.
17866 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17868 * lyxfont.C (update): don't honor toggleall on font size.
17870 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
17874 * Makefile.am: moved to frontends/xforms/
17878 * BufferView_pimpl.C: changes for moved mathpanel
17880 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17882 * gettext.h: fix gettext_init() in --disable-nls
17884 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17886 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17888 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
17891 * lyx.h: strip external form
17893 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17895 * BufferView_pimpl.C: add comment, destroySplash()
17897 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17899 * BufferView_pimpl.C:
17903 * lyxfunc.C: use re-worked insetinclude
17905 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17907 * buffer.C: add using std::stringstream.
17909 * lyx_cb.C: readd using std::ios.
17911 * buffer.C: add using std::map.
17913 * BufferView_pimpl.C: add using std::vector.
17915 * ShareContainer.h: add std:: to swap.
17917 * buffer.h: add some typedefs
17918 * buffer.C (getLists): use them
17919 (getLists): renamed from getTocList.
17920 add a counter for the different float types and use it in the
17922 (getLists): use the same counter for the NEW_INSETS and the "non"
17925 * lyx_cb.h: remove unused items, includes, using etc.
17927 * ShareContainer.h: remove some commented code, add more comments
17928 and "documentation".
17930 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17932 * buffer.C (getTocList): make the list also when NEW_INSETS is
17935 * buffer.h: remove TocType
17937 * buffer.C (getTocList): change to return a map<string,
17938 vector<TocItem> >, implement for dynamic number of list.
17940 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17941 * text2.C (PasteSelection): adjust
17942 * CutAndPaste.C (pasteSelection): adjust
17944 * FloatList.C (FloatList): update from the new_insets branch.
17945 * Floating.[Ch]: ditto
17946 * LaTeXFeatures.C: ditto
17948 * lyxlex_pimpl.C: ditto
17950 * paragraph.C (Last): remove when NEW_INSETS is defined.
17952 * other file: changes because of the above.
17954 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17956 * lyxparagraph.h: rename next to next_, previous to previous_,
17957 make them private for NEW_INSETS. Rename Next() to next(),
17958 Previous() to previous().
17960 * other files: changes because of the above.
17962 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
17965 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17968 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17970 * main.C (main): pass lyx_localedir to gettext_init().
17972 * gettext.h: remove locale_init and gettext_init macros
17974 * gettext.C (locale_init): new function
17975 (gettext_init): new function
17977 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17980 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
17982 * Moved credits to frontends:
17983 * credits.[Ch]: removed
17984 * credits_form.[Ch]: removed
17985 * lyx_gui_misc.C: remove credits stuff
17988 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17990 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17992 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17993 unneeded destructor.
17995 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17996 a standalone pointer again.
17998 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
18000 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
18006 * ToolbarDefaults.C:
18015 * BufferView_pimpl.C: use new file dialog in GUII
18018 * lyx_cb.C: remove LayoutsCB to Toolbar
18020 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18022 * ShareContainer.h (get): add std:: qualifier
18024 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18026 * ShareContainer.h: define a proper ShareContainer::value_type
18027 type (and use typename to please compaq cxx)
18029 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18031 * lyxparagraph.h: move serveral local vars to
18032 ParameterStruct/ParagraphParameters., use ShareContainer in
18033 FontTable., make vars in FontTable private and add getter and
18036 * paragraph.C: changes because of the above.
18038 * lyxfont.h: remove copy constructor and copy assignment. (the
18039 default ones is ok), move number inside FontBits. move inlines to
18042 * lyxfont.C: add number to initializaton of statics, move several
18043 inlines here. constify several local vars. some whitespace
18044 cleanup. Dont hide outerscope variables.
18046 * Spacing.h: add two new constructors to match the set methods.
18048 * ShareContainer.h: new file, will perhaps be moved to support
18050 * ParameterStruct.h: new file
18052 * ParagraphParameters.h: new file
18054 * ParagraphParameters.C: new file
18056 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
18057 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
18059 * BufferView_pimpl.C: ParagraphParameter changes.
18060 * buffer.C: Likewise.
18061 * bufferview_funcs.C: Likewise.
18062 * text.C: Likewise.
18063 * text2.C: Likewise.
18065 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18067 * lyxfind.C (LyXReplace): do not redefine default argument in
18069 (IsStringInText): ditto
18070 (SearchForward): ditto
18071 (SearchBackward): ditto
18073 2001-03-06 Juergen Vigna <jug@sad.it>
18075 * lyxfind.C (IsStringInText): put parentes around expressions.
18077 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
18079 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
18081 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
18083 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
18085 * stl_string_fwd.h: add comment
18087 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
18090 * tabular.C: remove unused DocBook methods
18096 killed DO_USE_DEFAULT_LANGUAGE
18098 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18100 * lyx_gui.C: do not include language.h.
18102 * bufferview_funcs.C (ToggleAndShow): do not provide optional
18103 arguments in function implementation.
18105 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18107 * BufferView_pimpl.C: add <ctime>
18109 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18111 * BufferView_pimpl.C: add using std::find_if
18113 2001-02-27 José Matos <jamatos@fep.up.pt>
18115 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
18118 2001-02-11 José Matos <jamatos@fep.up.pt>
18120 * buffer.C (makeDocBookFile): command styles now have a parameter as
18121 "title" by default.
18123 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
18125 * layout_forms.[Ch]: removed
18126 * lyx_cb.[Ch]: out character
18127 * lyx_gui.C: out character
18128 * lyx_gui_misc.C: out character
18129 * bufferview_funcs.C: : out character,
18130 added toggleall as parameter in ToggleAndShow
18132 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
18134 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
18136 * text2.C (SetCurrentFont): Disable number property at boundary.
18138 2001-02-26 Juergen Vigna <jug@sad.it>
18140 * lyxfunc.C (getStatus): added a string argument override function so
18141 that this is correctly called from LyXFunc::Dispatch if it contains a
18142 do_not_use_argument which is used!
18143 (Dispatch): added check for "custom" export and call appropriate func.
18145 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
18147 * lyxrc.C: Add language_command_local, language_use_babel and
18148 language_global_options.
18150 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
18152 * buffer.C (makeLaTeXFile): Use language_use_babel and
18153 language_global_options.
18155 2001-02-23 Juergen Vigna <jug@sad.it>
18157 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
18158 which works with LyXText and putted it inside BufferView. Here now we
18159 only call for that part the BufferView::Dispatch() function.
18161 * BufferView.C (Dispatch): added.
18163 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
18164 functions which needs to use a LyXText over from LyXFunc.
18165 (MenuInsertLyXFile): added
18166 (getInsetByCode): added
18167 (moveCursorUpdate): added
18168 (static TEXT): added
18170 2001-02-22 Juergen Vigna <jug@sad.it>
18172 * BufferView_pimpl.C (update): call a status update to see if LyXText
18175 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18177 * vc-backend.C (revert): implement for CVS
18178 (getLog): implement for CVS
18180 2001-02-20 Juergen Vigna <jug@sad.it>
18182 * text2.C (ClearSelection): added BufferView param for inset_owner call
18184 * lyxfunc.C (TEXT): added this function and use it instead of
18185 directly owner->view()-text of getLyXText().
18187 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
18189 * src/layout_forms.C: out preamble
18190 * src/layout_forms.h: out preamble
18191 * src/lyx_cb.C: out preamble
18192 * src/lyx_cb.h: out preamble
18193 * src/lyx_gui.C: out preamble
18194 * src/lyx_gui_misc.C: out preamble
18195 * src/lyxfunc.C: connect with guii preamble
18197 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
18199 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
18201 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
18203 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
18204 whether to run bibtex.
18206 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
18208 * Makefile.am (lyx_SOURCES): Remove BackStack.h
18210 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
18212 * Makefile.am (lyx_SOURCES): removed bibforms.h
18214 * vspace.h: doxygen
18216 * text.C (GetVisibleRow): make several local vars const
18218 * tabular.C: small cleanup.
18220 * lyxserver.C (callback): use compare instead of strncmp
18222 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
18223 inlines to after class or to paragraph.C
18225 * lyxfont.h: remove friend operator!=
18227 * converter.h: move friend bool operator< to non friend and after
18230 * combox.h: small cleanup
18232 * buffer.h: doxygen, remove unused constructor, move inclas inlies
18233 to inlines after class def.
18235 * buffer.C (pop_tag): use string operations instead of strcmp
18237 * bmtable.c: doxygen, small cleanup
18239 * LaTeX.h: remove friend operator==
18241 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
18253 * BufferView_pimpl.C:
18254 * BufferView.[Ch]: remove cruft
18256 2001-02-14 Juergen Vigna <jug@sad.it>
18258 * lyxfunc.C: removed #if 0 unused code
18260 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
18262 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
18264 * text2.C (SetSelection): added a BufferView * parameter
18266 2001-02-13 Juergen Vigna <jug@sad.it>
18268 * lyxfunc.C (Dispatch): fixed protected blank problem.
18269 * BufferView2.C (protectedBlank): added LyxText * parameter.
18271 * tabular.C (AppendRow): forgot to set row_info of newly added row.
18272 (AppendColumn): same as above for column_info.
18274 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
18275 (moveCursorUpdate): use a LyXText param for support of InsetText.
18277 * BufferView_pimpl.C (doubleClick): added support for InsetText.
18278 (tripleClick): ditto
18280 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
18282 * BufferView_pimpl.C (update): added LyXText param to honor insets.
18284 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
18286 * text2.C (SetSelection): set correct update status if inset_owner
18287 (ToggleFree): ditto
18289 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
18291 * tabular.C: remove some commented code.
18293 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
18295 * BufferView_pimpl.C: call hideSplash()
18297 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
18300 * bibforms.h: remove
18303 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
18304 add LFUN_CHILD_CREATE
18306 * counters.h: fix tiny typo
18311 * lyx.C: move splash to frontends/xforms/
18313 * lyx_gui_misc.C: move Include and Bibform to frontends
18315 * lyxvc.h: clarify comment
18317 * vspace.C: tiny housekeeping
18319 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
18321 * text.C (PrepareToPrint): RTL Fix.
18323 * paragraph.C (GetUChar): New method.
18324 (String): Use GetUChar.
18326 * buffer.C (asciiParagraph): Use GetUChar.
18328 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
18330 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
18332 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
18335 * buffer.C: rename to getLogName(), handle
18336 build log / latex log nicely
18338 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18341 * MenuBackend.h: remove support for reference menuitem type.
18343 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
18345 * BufferView_pimpl.C: housekeeping
18346 * BufferView_pimpl.h:
18351 * minibuffer.h: move Timeout GUI-I
18353 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
18355 * lyxrc.C (read): Update converters data-structures.
18357 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
18359 * LaTeX.h (operator!=): add operator != for Aux_Info
18361 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
18363 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
18365 * LaTeXLog.C: deleted, useful code moved to Buffer
18368 * buffer.C: new function getLatexLogName()
18374 * lyxfunc.C: use frontends for LaTeX and VC logs
18376 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18378 * LaTeX.h: yet another std:: that Allan forgot.
18380 * Variables.C (set): renamed from isset(), because this clashes
18381 with some HP-UX macros (grr).
18383 2001-02-06 Allan Rae <rae@lyx.org>
18385 * LaTeX.h: Another bug fix. Missing std:: this time.
18387 2001-02-04 Allan Rae <rae@lyx.org>
18389 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
18390 floats problem. I've left it commented out because it's not quite
18391 correct. It should also test that the current object is a table or
18392 figure inset. But I haven't gotten around to figuring out how to do
18393 that. I *think* it'll be something like: "table" == inset.type()
18395 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
18398 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
18400 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
18401 all the citation/databases/styles in the auxilary file.
18402 (run): Rerun latex if there was a babel language error.
18404 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
18406 * text.C (Backspace): Preserve the font when changing newline char
18408 (BreakParagraph): If the cursor is before a space, delete the space.
18410 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
18412 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
18414 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
18415 new argument (code).
18416 (ChangeCitationsIfUnique): New method.
18418 * paragraph.C (GetPositionOfInset): Handle bibkey.
18420 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18422 * BufferView_pimpl.h: change type of Position::par_pos to
18423 LyXParagraph::size_type.
18425 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
18427 * BufferView_pimpl.C (savePosition, restorePosition): Write
18428 messages to minibuffer.
18430 2001-01-28 José Matos <jamatos@fep.up.pt>
18432 * buffer.C (makeDocBookFile): adds support for document language.
18433 A silly restriction on the name of LatexCommand types where removed.
18434 Added support for CDATA sections, allows to chars unescaped, used
18435 among others in code, to avoid escape < and >.
18437 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
18439 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18440 saved positions instrad of a stack. Furthermore, a position is
18441 stored using paragraph id/paragraph position.
18443 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18444 Remove LFUN_REF_BACK.
18446 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
18448 * converter.C (dvipdfm_options): New method.
18450 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
18452 * vspace.C (isValidLength): Fix for empty input string.
18454 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18456 * LyXAction.C (init): change description of LFUN_FIGURE to
18459 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18461 * LaTeX.C: add using directive
18463 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
18465 * MenuBackend.C (expand): Fix the sorting of the formats.
18467 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
18469 * lyx_main.C: tiny error message fix
18471 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18473 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18474 calling fl_initialize(). This fixes the problem with ',' as
18475 decimal separator in text files.
18477 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
18479 * trans.C (process): Fix the keymap bug.
18481 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
18483 * LaTeX.C (scanAuxFiles): New method. Provides support for
18484 multiple bibliographies (when using the bibtopic/bibunits pacakges).
18485 (scanLogFile) Scan for "run BibTeX" messages.
18487 * buffer.C (makeLaTeXFile): Do not load the ae package when using
18488 OT1 font encoding. Also, load the aecompl package if the ae
18491 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18493 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18495 * texrow.C (increasePos): turn two error messages into debug
18498 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
18500 * LaTeX.C (scanAux): Handle the \@input macro.
18501 (runBibTeX): Use scanAux().
18503 * language.C (latex_options_): New field.
18505 * LaTeXFeatures.C (getMacros): Add language macros.
18507 * buffer.C (makeLaTeXFile): Small fix.
18509 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18511 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18513 * text2.C: add a using directive.
18515 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
18520 * lyxfunc.C: kill LyXBell.
18522 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
18524 * text.C (IsBoundary): Remove the error message
18526 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18528 * lyxrc.C (setDefaults): Correct initialization value for
18531 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
18533 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18536 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18537 and GotoNextNote().
18539 * src/LyXAction.C: Added reference-next.
18541 * text.C (InsertChar): Use contains instead of strchr.
18543 * lyx_cb.C (MenuInsertLabel): Enable default value code.
18545 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
18547 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18548 alignment commands (when needed).
18550 * text.C (InsertChar): Add ':' to number separator chars.