1 2005-12-30 Martin Vermeer <martin.vermeer@hut.fi>
6 * rowpainter.C: Speed up rendering by only re-painting rows that
7 have changed. When selection or whole-screen update active, all rows
8 are repainted, as are all rows within insets.
10 2005-12-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
12 * version.C.in: Use PACKAGE_VERSION instead of VERSION
14 2005-12-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
16 * tabular.C (toggleFixedWidth): Use default layout of text class
17 instead of hardcoded "Standard"
19 2005-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
21 * lyxfunc.C (dispatch): do not call getStatus again to determine
22 whether a lfun is disabled (bug 2172).
24 2005-12-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
26 * cursor.C (macroModeClose): set the cursor inside the new math
27 atom if relevant (think \frac{}{}) (bug 2034)
29 2005-12-19 Martin Vermeer <martin.vermeer@hut.fi>
33 * text3.C (Delete, backspace): force update when merging paragraphs
35 2005-12-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
37 * BufferView.C (mouseSetCursor): clear the selection properly (bug
40 2005-12-08 Georg Baum <Georg.Baum@post.rwth-aachen.de>
42 * text.C (redoParagraph): honor inset->noFontChange()
43 * rowpainter.C (paintInset): ditto
45 2005-12-15 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
47 * lyx_main.C (priv_exec): don't initialize Math on startup
48 (initMath() has been moved to math_hullinset).
50 2005-12-12 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
52 * lyxrc.C: set default_papersize to PAPER_DEFAULT;
53 handle PAPER_DEFAULT in LyXRC::read and LyXRC::write (bug 2148).
54 * paper.h: dispose dead PAPER_PACKAGES enum.
56 2005-12-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
58 * Makefile.am (OTHERLIBS): add SOCKET_LIBS in case we compile
61 2005-12-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
63 * exporter.C (Export): Don't try to copy a file if it does not exist
66 2005-12-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
68 * text2.C (makeFontEntriesLayoutSpecific): remove.
71 * text.C (insertChar): remove bogus caching of fonts (did not do
74 * text2.C (LyXText): initialize current_font to ALL_INHERIT (was
77 2005-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
79 * rowpainter.C (paintFirst): fix centering of
80 LABEL_CENTERED_TOP_ENVIRONMENT.
82 2005-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
84 * BufferView.C (mouseSetCursor): new method. Calls
85 deleteEmptyParagraphMechanism if necessary.
87 * lyxtext.h: make deleteEmptyParagraphMechanism public.
89 * text3.C (dispatch/LFUN_MOUSE_PRESS): use
90 BufferView::mouseSetCursor (bug 2109).
91 (dispatch/LFUN_PASTE): remove #warning that is now irrelevant.
93 2005-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
95 * text3.C (dispatch/LFUN_INDEX_INSERT): when a selection is set,
96 do not remove it (this inset behaves differently from the others).
98 2005-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
102 * BufferView_pimpl.C (getStatus): it is only possible to insert a
103 file in a text inset.
105 * buffer.C (readDocument): remove pit argument and code releated
106 to it; set the inset owner correctly (unrelated, but useful).
107 (readFile): get rid of pit argument.
109 * CutAndPaste.C (pasteSelectionHelper): use a ParagraphList and a
110 textclass instead of a selection index.
111 (pasteParagraphList): new function.
112 (pasteSelection): make it a wrapper around pasteParagraphList.
114 * BufferView_pimpl.C (MenuInsertLyXFile): use
115 cap::pasteParagraphList to insert a file.
117 2005-11-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
119 * buffer_funcs.C (bufferErrors): prevent endless loop (bug 2121)
121 2005-11-17 Michael Gerz <michael.gerz@teststep.org>
123 * exporter.C: fix typo in text message
125 2005-11-28 Georg Baum <Georg.Baum@post.rwth-aachen.de>
127 * text2.C (setLayout): move recUndo call to other setLayout method
128 * tabular.C (toggleFixedWidth): new, handle cell width changes
129 * tabular.C (setColumnPWidth): move some code from insettabular.C here
130 and use toggleFixedWidth
131 * tabular.C (setMColumnPWidth): ditto
133 2005-11-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
135 * paragraph.C (asString): use new inset->textString method (fix
138 2005-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
140 * CutAndPaste.C (numberOfSelections): new helper function.
142 * lyxfunc.C (getStatus): remove support for LFUN_COPY and LFUN_CUT.
144 * text3.C (getStatus): move code for LFUN_CUT and LFUN_COPY from
145 LyXFunc::getStatus; implement LFUN_PASTE.
147 2005-11-17 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
149 * dociterator.[Ch]: new member realInset() that returns the cell
150 for tabulars and the inset for the rest (bug 1952).
151 * undo.C (textUndoOrRedo): use realInset when resetting insetOwner
154 2005-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
156 * text.C (leftMargin): honor the NextNoIndent tag in layouts.
158 2005-11-17 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
162 * text3.C: InsetBase::forceDefaultParagraphs now takes a cell as
165 2005-11-07 Martin Vermeer <martin.vermeer@hut.fi>
167 * text.C (redoParagraph): Fix bug 1966: cursor doesn't go to next
168 line after typing ctrl-enter
170 2005-11-10 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
172 * bufferview_funcs.C (coordOffset): fix the fix for bug 2094, as
173 math insets do not return a proper editable() state yet (bug 2124).
175 2005-11-07 Martin Vermeer <martin.vermeer@hut.fi>
177 * BufferView_pimpl.[Ch]: Fix bug 1814: better scroll behaviour for
178 docs containing very large paragraphs.
180 2005-11-07 Martin Vermeer <martin.vermeer@hut.fi>
182 * cursor.C (selectionBegin, selectionEnd):
183 * text.C (drawSelection): Fix bug 2115: assertion when anchor and
184 cursor at different depths.
186 2005-11-03 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
188 * bufferview_funcs.C (coordOffset): do not call cursorPos
189 for collapsed collapsables (fix bug 2094).
191 2005-11-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
193 * paragraph.C (fontSpan): make sure that the FontSpan does not
194 span across beginOfBody (bug 1947).
196 2005-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
198 * lyxlength.h: undefine macros that clash with solaris/x86 (bug 992)
200 2005-11-03 Michael Gerz <michael.gerz@teststep.org>
202 * messages.C: fix crash and localization on MinGW/Windows platform
204 2005-11-02 Angus Leeming <leeming@lyx.org>
207 * lyxtextclass.C: trivial fixes to some MSVS warnings.
209 2005-10-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
211 * text3.C (getStatus): re-enable disabled code. (bug 2081)
213 * BranchList.h (empty): constify.
215 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
217 * text3.C (getStatus):
218 * MenuBackend.C (expandBranches): take the branch list from the
219 master document (bug 2092).
221 * MenuBackend.C (expandBranches):
222 * bufferparams.C (writeFile): use BranchList type.
224 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
226 * text3.C (dispatch, getStatus):
227 * LyXAction.C (init):
228 * lfuns.h: get rid of LFUN_KEYMAP_TOGGLE
230 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
232 * toc.C (getTocList): skip paragraphs which toclevel is NOT_IN_TOC.
234 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
236 * text.C (insertChar): do not reset boundary (bug 2061)
238 2005-10-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
240 * dociterator.C (updateInsets): new method. Updates the inset_
241 cache of all the slices of the iterator.
243 * text2.C (deleteEmptyParagraphMechanism): compare also containing
244 insets when comparing pit/pos; pass the right cursor to
245 recordUndo; when a paragraph has been deleted, compare `old.top()' to
246 the right cursor slice of `cur'; use updateInsets on cur to make
247 sure that the inset caches are correct; general cleanup.
249 2005-10-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
251 * text3.C (dispatch): LFUN_NEXT_INSET_TOGGLE: first try to
252 dispatch LFUN_INSET_TOGGLE to inset at cursor, and then to
253 containg inset. If this does not work, the same command will be
254 sent to other insets down the queue by LCursor::dispatch. (bug 2066)
256 * lyxfunc.C (dispatch): make sure the cursor is correct when doing
259 2005-10-20 Georg Baum <Georg.Baum@post.rwth-aachen.de>
261 * lyxtextclass.C (Read): convert layout file if the format is wrong
262 * lyxtextclass.C (layout2layout): new, needed for the above
264 2005-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
266 * messages.C: do not forget to include <cerrno>.
268 2005-10-12 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
270 * dociterator.h (StableDocIterator): add access to pos().
271 * undo.C (samePar): new method to check if two
272 iterators are in the same paragraph
273 * undo.C (recordUndo): check for samePar instead of cell identity
274 (which includes pos() and is too strict) (fixes bug 2097)
276 2005-10-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
278 * text.C (setCursorFromCoordinates): return a bool telling whether
281 * text3.C (cursorPrevious): update if needed after
282 setCursorFromCoordinates (when dEPM triggered).
284 * text2.C (cursorDown, cursorUp): make sure to reset the anchor
285 (otherwise the anchor may be completely wrong and make dEPM assert).
287 2005-10-12 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
289 * buffer.C: version upgrade to 245.
290 * bufferparams.C: remove \quotes_times (bug 2090).
291 * text3.C (doDispatch): LFUN_QUOTE_INSERT has to output double
292 quotation marks as default.
294 2005-10-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
296 * CutAndPaste.C (nrOfParagraphs): remove (unused)
297 * CutAndPaste.C (cutSelection): Remove debug message
298 * CutAndPaste.C (cutSelection): Use the real cursor in mathed, record
299 undo information and only copy if this is a real cut
300 * CutAndPaste.C (pasteSelection): remove superflous cur.resetAnchor()
302 * CutAndPaste.C (pasteSelection): remove now superflous mathed warning
304 * CutAndPaste.C (eraseSelection): prevent cursor corruption
305 * CutAndPaste.C (grabAndEraseSelection, selDel): remove now
306 superflous cur.selection() setting
307 * CutAndPaste.[Ch] (grabSelection): take a const cursor
308 * cursor.C (selectionAsString): implement mathed case ((bug 2059)
310 2005-10-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
312 * text3.C (mathDispatch, dispatch): Dont' record undo steps that don't
315 2005-10-11 Martin Vermeer <martin.vermeer@hut.fi>
317 * BufferView_pimpl.C: comment layout change
319 2005-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
323 * lyxfunc.C: reimplement LFUN_INSERT_CITATION, which is needed
324 by bibliography managers (bug 2071).
326 2005-10-07 Martin Vermeer <martin.vermeer@hut.fi>
328 * BufferView_pimpl.C (update): choose arguments to update call so
329 that single-par update works most times
330 * text3.C (dispatch): carefully tune updating separately for
331 whole-screen and current-paragraph
332 * rowpainter.C (paintText): 1) replace painting by caching for
333 the two extra paragraphs, because we can;
334 2) suppress greying out of areas below/above drawn area in case of
336 * lyxfunc.C (dispatch): remove superfluous update
337 * LyXAction.[Ch]: introduce SingleParUpdate
339 2005-10-05 Angus Leeming <leeming@lyx.org>
341 * BufferView_pimpl.C (loadLyXFile): ensure that a pointer is
342 always initialised before use.
344 * text.C (setHeightOfRow): squash warning about comparison
345 of signed and unsigned types.
347 2005-10-03 Martin Vermeer <martin.vermeer@hut.fi>
349 * text.C (cursorX): two fixes involving RtL text drawing
351 2005-10-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
353 * cursor.C (erase): fix 'clever' UI hack. It was activated for all
354 items, not only large ones (part of bug 2057)
356 2005-10-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
358 * text3.C (dispatch): when invoking LFUN_MATH_MACRO with no type
359 argument, use "newcommand".
361 2005-09-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
363 * cursor.C (setSelection): do not open collapsable insets;
364 the insets do by themselves now (autoopen).
366 2005-09-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
368 * buffer.C: format is up to 244.
370 2005-09-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
372 * text.C (redoParagraph): fix calcultation of inset width wrt
373 leftMargin (bug 1957).
375 * text3.C (dispatch): leave inset to the right when hitting ESC
378 2005-09-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
383 * messages.C: include <boost/current_function.hpp>
385 2005-09-12 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
387 * lyxfunc.C (sendDispatchMessage): do not update menubar/toolbar
388 when command is internal. (bug 1941)
390 2005-09-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
392 * text2.C (cursorRight): do not honor boundary when at the end of
393 a paragraph. (bug 2010 again)
395 2005-09-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
397 * cursor.C (paste): do nothing if `data' is empty. (bug 2033)
399 2005-09-19 Martin Vermeer <martin.vermeer@hut.fi>
401 * rowpainter.C (paintText): fix RtL space width display bug (2029)
403 2005-09-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
405 * text2.C (setCursor): remove the unused 'boundary' parameter for
406 the CursorSlice version; adapt the LCursor version.
409 * paragraph_pimpl.C (markErased):
410 * cursor.C (bruteFind2, bruteFond3): fix warnings.
412 2005-09-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
414 * rowpainter.C (paintFirst): use a 'labeladdon' for TOP_* labels,
415 as is already done for "chapter".
417 2005-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
419 * lyxfunc.C (dispatch): LFUN_TEXTCLASS_APPLY: actually set the
420 textclass; do not record undo if nothing is changed.
422 2005-09-16 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
424 * text3.C (dispatch): recordUndo in LFUN_PASTESELECTION (#2011).
426 2005-09-14 Michael Gerz <michael.gerz@teststep.org>
428 * lyxfunc.C: update display after LFUN_ALL_INSETS_TOGGLE
430 2005-09-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
432 * BufferView_pimpl.C (setBuffer): when one wants to set the layout
433 combox, it is necessary to search for the topmost paragraph in the
434 cursor stack (bug 1926)
436 2005-09-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
438 * text2.C (cursorEnd, cursorRight): do not set boundary to true at
439 end of paragraph. (bug 2010)
441 2005-09-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
443 * text.C (leftMargin): check for inInset == 0
445 2005-09-10 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
447 * text.C (leftMargin): test for insetbase's new neverIndent()
448 bool instead of listing each and every inset that does not
449 wish par indendation.
451 2005-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
453 * buffer_funcs.C (setCounter): put the code to compute enum label
454 here (where it belongs).
456 * counters.C (enumLabel): move code to buffer_funcs.C.
458 2005-09-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
460 * outputparams.[Ch]: store local_font instead of local_language
461 * paragraph.C (simpleTeXOnePar): adapt to the change above
463 2005-09-08 Martin Vermeer <martin.vermeer@hut.fi>
466 * counters.[Ch]: clean up special code for Hebrew.
468 2005-09-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
470 * lyxfunc.C (lookupChange): fix code when cursor depth is greater
473 2005-09-08 Angus Leeming <leeming@lyx.org>
476 * lyxrc.C: correct grammar describing invocation of the
479 2005-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
481 * text.C (read): remove unused variable.
482 (readParToken): remove static Change variable (never good in
483 recursive settings...); add it as a parameter instead.
485 * paragraph_pimpl.C (acceptChange): make debug info conditional.
487 * metricsinfo.C (PainterInfo): add new member erased_.
489 * rowpainter.C (RowPainter): add erased_ member, initialized from
491 (paintInset): pass erased_ to Inset::draw.
493 * lyxfunc.C (lookupChange): new function. Tells whether change
494 tracking is disabled at a given postion.
495 (getStatus): disable some actions when in deleted text with change
498 2005-08-03 John Levon <levon@movementarian.org>
500 * tabular.C (appendColumn, setMultiColumn): adapt to change to
503 * paragraph_pimpl.C (markErased): add bool argument and handle it.
504 Also make sure to mark insets recursively.
505 (rejectChange, erase): be recursive
507 * paragraph.C (markErased): add bool argument.
508 2005-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
510 * lyxfind.C (findNextChange): tiny cleanup.
512 * BufferView_pimpl.C (trackChanges): avoid crash when stopping
513 change tracking with the cursor in an inset; make sure the first
514 change is not skipped.
516 2005-09-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
518 * CutAndPaste.[Ch]: new methods dirtyTabularStack and
519 tabularStackDirty to work around bug 1919 (tabular needs
520 to know whether its own cell paste buffer or the one of
522 * CutAndPaste.C: mark tabular_stack_ clean after copy.
524 2005-08-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
526 * text2.C (cursorEnd): check for empty text (fixes bug 1998)
528 2005-08-19 Lars Gullik Bjønnes <larsbj@gullik.net>
530 * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
531 use old deleteion algorithm when changetracking is on.
533 2005-08-18 Martin Vermeer <martin.vermeer@hut.fi>
535 * messages.C (get): add debug output.
537 2005-08-02 Martin Vermeer <martin.vermeer@hut.fi>
539 * text.C (cursorX): fix bug 1965: cursor movement at
540 line end broken in RtL.
541 (drawSelection): fix bug 1970: drawing of single-line
542 selection broken for RtL.
544 2005-07-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
548 * dociterator.h (clear, push_back, pop_back): change from
551 * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
552 and changed to just return the value of the item depth; take a
553 ParIterator as argument; take the itemdepth at outer nesting level
554 in account if necessary; cleanup and comment the code.
555 (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
556 and changed to just return true if reset is needed; take a
557 ParIterator as argument; cleanup and comment the code.
558 (setCounter): adapt to above changes.
560 2005-07-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
562 * text3.C (dispatch): make debug message optional
564 2005-08-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
566 * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
569 2005-08-02 Martin Vermeer <martin.vermeer@hut.fi>
571 * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
573 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
575 * text.C (insertChar):
576 * text2.C (deleteEmptyParagraphMechanism): take care whether
577 a blank has been deleted (in change tracking mode) (bug 1254).
579 2005-07-20 John Levon <levon@movementarian.org>
581 * text2.C (insertStringAsLines): remove old dubious code,
584 2005-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
586 * MenuBackend.C (expandToc): use Floating::listName() as title of
589 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
591 * toc.[Ch]: Do not use translatable strings (bug 1870).
593 2005-07-20 John Levon <levon@movementarian.org>
595 * tabular.C: fix 1748 - setting multicolumn adds
596 left line to the first cell
598 2005-07-19 Lars Gullik Bjønnes <larsbj@lyx.org>
601 * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
604 2005-07-18 Lars Gullik Bjønnes <larsbj@lyx.org>
606 * messages.C: supress some lyxerr messages
608 2005-07-18 Juergen Vigna <jug@lyx.org>
610 * text.C (drawSelection): honor boundary when asking for cursorX.
612 2005-07-17 José Matos <jamatos@fc.up.pt>
614 * tabular.C (recalculateMulticolumns): fix handling of one column
617 2005-07-17 Juergen Vigna <jug@lyx.org>
619 * text.C (Delete, backspace): fixed so that paragraph with the
620 same layout can be merged by Delete/Backspace.
622 2005-07-17 Michael Schmitt <michael.schmitt@teststep.org>
624 * text.C (readParToken): fix spelling.
626 2005-07-17 Martin Vermeer <martin.vermeer@hut.fi>
628 * text2.C: fix counter update for DEPM problem reported by
631 2005-07-17 Juergen Vigna <jug@lyx.org>
633 * BufferView_pimpl.C (setBuffer): save/restore the
634 cursor/selection when switching buffers
637 * buffer.C (saveCursor): add saveDocumentIterators to save the
638 cursor when switching buffer.
640 2005-07-17 Michael Schmitt <michqel.schmitt@teststep.org>
643 * buffer.C: clarify message
645 2005-07-17 Lars Gullik Bjønnes <larsbj@lyx.org>
647 * dociterator.C (DocIterator): fix initialization order
649 2005-07-17 Juergen Vigna <jug@lyx.org>
651 * text2.C (cursorHome):
652 * text.C (drawSelection, cursorX):
653 * dociterator.C (textRow): add boundary to getRow() call
655 * paragraph.C (getRow): implementation of below
657 * paragraph.h: add parameter boundary for getRow() function
659 2005-07-17 José Matos <jamatos@fc.up.pt>
663 * tex-strings.[Ch]: new file format, remove support for a4.sty,
664 a4wide.sty and a4widemargins.
666 2005-07-17 Juergen Vigna <jug@lyx.org>
668 * text2.C (cursorLeft): fix one of error
670 2005-07-17 Juergen Vigna <jug@lyx.org>
672 * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
674 more fixes for boundary handling
676 * text3.C (dispatch): don't reset cursor if boundary has changed
679 2005-07-16 Juergen Vigna <jug@lyx.org>
681 * text2.C (getColumnNearX): hopefully got it right now,
682 check if we are on column 0 for special case.
684 2005-07-16 Juergen Vigna <jug@lyx.org>
686 * text2.C (getColumnNearX): handle special case Newline Inset
688 * text.C (singleWidth): Just remove bogus check
690 2005-07-16 Michael Schmitt <michael.schmitt@teststep.org>
692 * funcrequest.C (split): avoid reading uninitialized char c
694 2005-07-16 José Matos <jamatos@fc.up.pt>
700 * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
701 single papersize variable.
703 2005-07-16 Juergen Vigna <jug@lyx.org>
705 * text3.C (dispatch): honor boundary when checking if a cursor
706 movement has been done
708 * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown)
709 (setCursor, setCursorIntern): fix cursor movement with boundary
711 2005-07-16 Juergen Vigna <jug@lyx.org>
713 * text.C (currentState): output the actual Boundary
715 2005-07-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
717 * factory.C (createInset): fix bad logic for tabular creation
719 2005-07-16 Lars Gullik Bjønnes <larsbj@lyx.org>
721 * lyx_main.C (init): change some reLyX reference to tex2lyx
723 2005-07-16 Juergen Vigna <jug@lyx.org>
725 * dociterator.C (DocIterator): initialize boundary
727 2005-07-16 Juergen Vigna <jug@lyx.org>
729 * text2.C (getColumnNearX): Consider rows without trailing blank.
731 2005-07-16 André Pönitz <poenitz@gmx.net>
733 * lyxfont.h: Change order of declarations to give the compiler
734 a better chance to inline things
736 * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
737 questions on unsaved docs for better scritability
739 2005-07-16 André Pönitz <poenitz@gmx.net>
741 * paragraph.h (getChar): remove asserts as the same kind of security
742 can be achieved by using a suitable standard library implementation
743 and the function was in the critical path (25.9% in profiler)
745 2005-07-16 Juergen Vigna <jug@lyx.org>
747 * cursor.C (bruteFind2):
748 * bufferview_funcs.C (coordOffset):
749 * text.C (cursorX,cursorY): Handle cursor position after last char
750 in row before a inset which uses a whole row.
752 2005-07-15 José Matos <jamatos@lyx.org>
754 * output_plaintext.[Ch] (writeFileAscii): control reference title
756 (asciiParagraph): noparbreak was already deal and was incorrectly
759 2005-07-15 Juergen Vigna <jug@lyx.org>
761 * lyxfunc.C (dispatch): save and restore the cursor after a
764 2005-07-15 Lars Gullik Bjønnes <lgb@tandberg.net>
766 * text.C (backspace): bug 806 for empty keepempty paragraphs we
767 change the layout to default before letting DEPM do its thing.
769 * paragraph_funcs.C (breakParagraph): dont reset the layout on
772 * text.C (setCursorFromCoordinates): add a debug statement
774 * text2.C (getColumnNearX): bug 1825 make sure that we don't
775 return a pos that is not on the row
777 * output_latex.C (TeXDeeper): get rid of potential dereferencing
778 of past the end iterator
780 2005-07-14 André Pönitz <poenitz@gmx.net>
782 * undo.C (recordUndoFullBuffer): implement undo for
785 2005-07-14 André Pönitz <poenitz@gmx.net>
787 * cursor.C (setSelection): open insets when selection is set there
788 to avoid crashs with cold coord cache
790 2005-07-14 André Pönitz <poenitz@gmx.net>
792 * trans_mgr.C (insert): move cursor to the right after inserting
795 2005-07-14 Lars Gullik Bjønnes <larsbj@lyx.org>
797 * BufferView_pimpl.C (update): dampen some of the debug blabbering
798 * factory.C (readInset): ditto
799 * text.C, text2.C: ditto
801 2005-06-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
803 * buffer.C: format incremented to 242. There is no file format per
804 se, but the "frenchb" language has been removed from lib/language
805 and has to be translated to "french" by lyx2lyx.
807 2005-07-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
809 * cursor_slice.h, dociterator.h: add some documentation
810 * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
812 2005-07-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
814 * text.C (leftMargin): do not add identation to display() style
815 insets, because they are always centered (bug 1293).
817 2005-07-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
819 * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
820 formatted_time methods in support/lyxtime.
822 2005-07-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
824 * toc.[Ch]: new method getGuiName, which is used by the frontends
825 to set the toc combo (fixes bug 1870). Make TOC string translatable.
827 2005-07-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
829 * dociterator.[Ch]: implement operator==(StableDocIterator const &,
830 StableDocIterator const &)
831 * undo.C (recordUndo): use the above instead of cell.size() comparison
832 (fixes bug 1808; instructed by Andr�.
834 2005-06-29 Martin Vermeer <martin.vermeer@hut.fi>
837 * dociterator.h: Fix the assert when copying rows/cols in math
839 2005-06-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
841 * BufferView_pimpl.C:
843 * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
845 * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
846 (findInset): new functions, refactored from goto Inset that return
847 the position of a certain inset without setting the buffer's cursor
849 (gotoInset): rewrite to call findInset and then set the cursor
852 2005-06-16 Angus Leeming <leeming@lyx.org>
854 * lyxrc.C (output, read): wrap all input and output of paths with
855 calls to os::internal_path and os::external_path, respectively.
856 (output): wrap bind_file inside quotes.
858 * format.C (view): enable the viewer to use the '$$s' placeholder.
860 2005-06-16 Georg Baum <Georg.Baum@post.rwth-aachen.de>
862 * LColor.[Ch] (getFromLaTeXName): new
864 2005-06-16 Martin Vermeer <martin.vermeer@hut.fi>
866 * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
868 2005-06-14 Angus Leeming <leeming@lyx.org>
870 * lyx_main.C (init): ensure that the LyX binary dir is the first
871 element in the PATH on non-POSIX builds.
873 2005-06-11 Georg Baum <Georg.Baum@post.rwth-aachen.de>
875 * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
877 2005-06-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
879 * rowpainter.C (paintInset, paintHebrewComposeChar)
880 (paintArabicComposeChar, paintChars): add a LyXFont argument.
881 (paintChars): use getFontSpan to reduce calls to getFont to a
882 minimum; use Paragraph::lookupChange instead of isXXXText.
883 (paintForeignMark): rename LyXFont argument.
884 (paintFromPos): pass a LyXFont object to the various paintXXX
887 * FontIterator.C (FontIterator, operator++): use
888 Paragraph::getFontSpan
890 * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
891 version that returns the font span as a pair.
893 2005-06-09 Angus Leeming <leeming@lyx.org>
895 * converter.C (convert): Don't forget "outfile = real_outfile" as
896 the final step in a conversion where the input and output file names
897 are the same. Otherwise, future conversion steps won't work...
899 2005-06-09 Angus Leeming <leeming@lyx.org>
901 * lyxsocket.C: remove stub code as it isn't needed by
902 MinGW/MinSYS anyway. Let's see if the MSVC people scream...
904 2005-06-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
906 * lyx_main.C (parse_execute): Fix last fix: is_gui = false
907 effectively disabled -x
909 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
911 * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
912 when it actually makes sense.
914 2005-06-06 Martin Vermeer <martin.vermeer@hut.fi>
916 * BufferView_pimpl.C: revert to showCursor in connection with
917 Lars's front-end stack
919 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
921 * text.C (redoParagraph): move cursor right after a bibitem
924 * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
926 2005-06-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
928 * buffer_funcs.C (bufferErrors): fix computation of the end of an
931 2005-05-31 Martin Vermeer <martin.vermeer@hut.fi>
933 * BufferView.[Ch] (update):
934 * BufferView_pimpl.[Ch] (update, metrics):
935 * dimension.h (operator==):
936 * lyxfunc.C (dispatch):
937 * metricsinfo.h (ViewMetricsInfo):
938 * rowpainter.C (paintText):
940 * text.C (redoParagraph):
941 * text3.C (dispatch): Make LyX only repaint current paragraph in
942 case of character insert --> speedup. Also fix cursor draw
945 2005-05-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
947 * bufferview_funcs.C (gotoInset): fix the wrap-around code to
948 avoid a crash (bug 1891)
950 2005-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
954 * text2.C (getStringToIndex): constify cur argument.
956 * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
957 argument has been given
958 (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
959 try to invoke LFUN_INSET_APPLY).
961 * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
962 if no inset was created by doInsertInset
963 (doInsertInset): return true if an inset has been inserted.
965 2005-05-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
967 * vspace.C (asGUIName): new method. A version of the space
968 suitable for showing on screen.
970 2005-05-20 Michael Schmitt <michael.schmitt@teststep.org>
973 * lyxrc.C: rename "ASCII" to "Plain Text"
975 2005-05-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
977 * buffer_funcs.C (expandLabel): take a Buffer as argument;
978 translate the labelstring.
979 (setCounter): translate labelstring as needed.
981 * output_docbook.C (makeCommand): fix expandLabel invokation
983 2005-05-14 Michael Schmitt <michael.schmitt@teststep.org>
985 * BufferView.C: fix dialog title
987 2005-05-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
989 * lyx_main.C (priv_exec): fix logic error with help from Angus
990 * lyx_main.C (parse_execute): set is_gui = false and remove now
991 obsolete comment about a segfault
993 2005-05-18 Angus Leeming <leeming@lyx.org>
995 * buffer.C (readFile): Quote all file names passed to lyx2lyx.
997 2005-05-12 Martin Vermeer <martin.vermeer@hut.fi>
999 * tabular.[hC]: added setCellInset to fix tabular paste.
1001 2005-05-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1003 * buffer.C (save): check if destination is writable before trying
1006 2005-05-11 Martin Vermeer <martin.vermeer@hut.fi>
1008 * BufferView_pimpl.C (update): fix processEvents -caused update
1011 2005-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1013 * buffer_funcs.C (setCounter): fix test for numbering of
1016 * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
1017 depth correctly; use optional argument when it exists
1019 * lyxtextclass.C: remove unused MaxCounterTags enum
1020 (Read): compute min_toclevel_ and max_toclevel_ after reading class.
1021 (max_toclevel, min_toclevel): new methods.
1023 * MenuBackend.C (expandToc2): fix case where depth is smaller than
1024 the smallest depth in toc.
1026 * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
1027 layouts that should not appear in a table of contents.
1029 2005-05-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1031 * cursor.h (undispatched, noUpdate): add comments from Andr�
1032 2005-05-07 Michael Schmitt <michael.schmitt@teststep.org>
1036 * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
1038 2005-05-07 André Pönitz <poenitz@gmx.net>
1040 * cursor.[Ch] (leaveInset): new function
1042 2005-05-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1044 * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
1046 2005-05-04 Angus Leeming <leeming@lyx.org>
1048 * lyxfunc.C (getStatus): disable the spell checker dialog if
1049 none of USE_[AIP]SPELL are defined.
1051 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
1053 * tabular.C (setWidthOfCell): remove obsolete comment
1055 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
1057 * paragraph.C (bibitem):
1058 * buffer_funcs.C (setCounter):
1059 * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
1061 2005-05-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1063 * text3.C (getStatus): immediately return after setOnOff
1065 * rowpainter.C: fix drawing of appendix start
1067 2005-05-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1069 * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
1070 SwitchBetweenClasses and remove the unused return value.
1071 Handle character styles, too
1073 2005-05-03 Martin Vermeer <martin.vermeer@hut.fi>
1075 * factory.C (createInset): handle undefined character styles
1077 2005-05-02 Angus Leeming <leeming@lyx.org>
1079 * buffer.C: protect the #include of utime.h with a preprocessor
1082 2005-05-02 Angus Leeming <leeming@lyx.org>
1084 * lyx_cb.C: artificially define fork() on Windows as a no-op failing
1085 function so that auto-saving works, albeit in a blocking manner.
1087 * Makefile.am: make compilation of the client sub directory, of
1088 aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
1089 on conditionals set at configure time.
1091 * SpellBase.[Ch]: no longer an abstract base class. Instead,
1092 it can be compiled in its own right but has no-op functionality.
1094 * aspell.C, pspell.C: remove preprocessor guards. The files should
1095 be compiled only if the necessary functionality exists.
1097 * lyxserver.C, lyxsocket.C: disable on Windows.
1099 2005-05-01 Martin Vermeer <martin.vermeer@hut.fi>
1101 * text.C (leftMargin): Fix the parindent use bug (1764)
1104 2005-04-28 Michael Schmitt <michael.schmitt@teststep.org>
1106 * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
1109 2005-04-25 Angus Leeming <leeming@lyx.org>
1117 include <config.h> in .C files, not .h ones.
1119 protect headers inside preprocessor guards.
1121 2005-04-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1123 * FuncStatus.h (StatusCodes): document
1125 2005-04-21 André Pönitz <poenitz@gmx.net>
1127 * FuncStatus.h (enabled, onoff): document
1129 2005-04-19 Angus Leeming <leeming@lyx.org>
1131 * BufferView_pimpl.C (cursorToggle): no longer test whether
1132 any child processes have been reaped before calling
1133 handleCompletedProcesses().
1135 2005-04-19 Martin Vermeer <martin.vermeer@hut.fi>
1137 * text3.C (dispatch): fix, finally fix, the language problem in
1138 new lyxtexts, without disabling on-the-fly font changes (Helge's
1141 2005-04-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1143 * text3.C (dispatch): set cursor on double/triple click events
1146 2005-04-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1148 * lyxfunc.C (actOnUpdatedPrefs): avoid warning
1149 (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
1151 * rowpainter.C (paintFirst): simplify the code a little bit. In
1152 particular, remove the test for secnumdepth.
1153 * text.C (setHeightOfRow): only allocate space for chapter number
1154 when updateCounters provided an actual label, instead of looking
1155 at secnumdepth directly.
1157 * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
1159 * buffer_funcs.C (setCounter): only number LABEL_COUNTER
1160 paragraphs when secnumdepth is large enough or, for environments,
1161 when they are not the first in a sequence.
1163 2005-04-17 Angus Leeming <leeming@lyx.org>
1165 * buffer.C (makeLaTeXFile): replace code to manipulate a path
1166 containing space and '~' characters with a call to latex_path().
1168 2005-04-17 Angus Leeming <leeming@lyx.org>
1170 * converter.C (convert): protect all args of convertDefault.sh
1173 2005-04-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1175 * text3.C (dispatch): change the layout to "Caption" after inserting
1178 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
1180 * text3.C (dispatch): fix language problem in newly created
1181 textinsets (and main text) in non-english docs
1183 2005-04-13 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1185 * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
1186 * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
1187 * text3.C (getStatus): disable LFUN_INSET_MODIFY
1189 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
1193 * text2.C (getFont):
1194 * rowpainter.C (getFont): Fix metrics bug introduced by inset
1197 2005-04-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1199 * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
1200 output of \item arguments without trailing text.
1202 2005-04-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1204 * FontIterator.C (operator*): avoid a copy of the font.
1206 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
1208 * rowpainter.C (getFont): fix language bug from previous fix
1210 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
1212 * rowpainter.C (RowPainter, getFont): fix font inside inset
1215 2005-04-06 Martin Vermeer <martin.vermeer@hut.fi>
1217 * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
1218 preventing inserted font, deco, delim insets jumping to start of
1221 2005-03-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1223 * lyxfunc.C (dispatch): translate message before sending it to the
1226 2005-03-29 Angus Leeming <leeming@lyx.org>
1228 * lyx_main.C (priv_exec): call os::internal_path on each file passed
1229 to LyX on the command line.
1231 2005-03-25 Stephan Witt <stephan.witt@beusen.de>
1233 * vc-backend.C: use QuoteName to protect file names wherever
1236 2005-03-27 Martin Vermeer <martin.vermeer@hut.fi>
1239 * BranchList.h: fix bugs 1844,1845: document settings don't
1242 2005-03-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1244 * lyxrc.C (setDefaults, read, output, getDescription): add support
1245 for tex_allows_spaces.
1247 * exporter.C (Export): allows files in directory containing spaces
1248 if tex_allows_spaces is true.
1250 * buffer.C (makeLaTeXFile): if the document path contains spaces,
1251 output it in double quotes.
1253 2005-03-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1255 * rowpainter.C: use default text height for drawing change tracker
1258 2005-03-21 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1260 * lyx_main.C: fix binding of tabulator key (especially S-Tab).
1262 2005-03-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1264 * lyx_main.C (queryUserLyXDir): fix logic when LyX support
1265 directory is missing.
1267 2005-03-11 Martin Vermeer <martin.vermeer@hut.fi>
1269 * text2.C: fixed the fix, extended to other case.
1271 2005-03-08 Martin Vermeer <martin.vermeer@hut.fi>
1273 * text2.C: fix for cursor up/down stuck in math [bug 1792]
1275 2005-03-07 Alfredo Braunstein <abraunst@lyx.org>
1277 * text2.C (cursorUp): get rid of a crash
1278 * text.C (x2pos): add an assert
1280 2005-03-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1282 * lyxfunc.C (getStatus): fix warning when assertions are disabled
1286 * dociterator.C: include <boost/current_function.hpp>, which is
1287 needed when assertions are disabled.
1289 2005-03-05 Johnathan Burchill <jkerrb@users.sourceforge.net>
1291 * text2.C: fix for stuck cursor when traversing two
1292 consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
1294 2005-02-25 Andreas Vox <avox@arcor.de>
1296 * output_docbook.C (makeParagraph): suppress trailing newline
1297 after a run of paragraphs
1299 2005-02-28 Johnathan Burchill <jkerrb@users.sourceforge.net>
1301 * paragraph.C: fix for confused change tracker when pasting
1302 text that begins with a lineseparator. [bug 1827]
1303 (setChange(0, Change::INSERTED);)
1305 * paragraph_funcs.C: fix for lost changes on triple-paste
1306 in change tracking mode [bug 1827] (par.setChange()).
1308 2005-02-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1310 * text2.C (updateCounters, setCounter, expandLabel): move to
1313 * buffer_funcs.C (updateCounters): turn into a free standing
1314 function and add a buffer parameter. Remove dead code for tracking
1316 (setCounter): change into a free-standing function which gets a
1317 dociterator as argument. Use this iterator to fix captions in a
1318 simple way. When no float is found above the caption, use the
1319 labelstring of the caption layout as default.
1321 * text.C (breakParagraph, backspace):
1322 * text2.C (init, setLayout, changeDepth):
1323 * text3.C (dispatch):
1324 * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
1327 * dociterator.C (forwardPar): make it much faster by calling
1328 forwardPos() only when really necessary.
1330 * output_docbook.C (makeCommand): adapt to expandLabel move.
1332 * cursor.C: remove unused variable
1334 2005-02-24 Johnathan Burchill <jkerrb@users.sourceforge.net>
1336 * paragraph_funcs.C: fix crash when pasting insets in change
1337 tracking mode [bug 1277] (honour change type in moveItem).
1339 2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1341 * LaTeX.C (scanLogFile): recognize pdfTeX warnings
1343 2005-02-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1345 * BufferView.C (setCursor): change to use a DocIterator.
1346 (gotoLabel): use BufferView::setCursor (other part of bug 781).
1347 (putSelectionAt): adapt to BufferView::setCursor change.
1349 * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
1350 moved here from LyXText and rewritten to use proper cursor
1351 methods. Fixes bug 1787, 616 and 835.
1353 * BufferView_pimpl.C (restorePosition): set the cursor correctly
1354 when inside an inset (part of bug 781).
1355 (dispatch): adapt to change of BufferView::setCursor.
1356 (getStatus, dispatch): handle LFUN_GOTOERROR,
1357 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1359 * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
1360 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1361 * text3.C (gotoNextInset, gotoInset): removed.
1363 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1365 * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
1367 2005-02-15 Angus Leeming <leeming@lyx.org>
1369 * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
1370 can be used meaningfully in a comparison.
1372 2005-02-13 André Pönitz <poenitz@gmx.net>
1374 * bufferview_funcs.C (coordOffset): improve cursor drawing
1376 2005-02-13 André Pönitz <poenitz@gmx.net>
1378 * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
1379 * Cursor.C (dispatch): use fixIfBroken
1380 * lyxfunc.C (getStatus): use fixIfBroken
1382 2005-02-15 Angus Leeming <leeming@lyx.org>
1384 * lyx_main.C (error_handler):
1386 * lyxrc.C (setDefaults):
1388 #include "environment.h".
1390 * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
1392 2005-02-15 Angus Leeming <leeming@lyx.org>
1394 * lyxserver.C (startPipe): squash MSVC warning "local variable
1395 'fd' used without having been initialized".
1397 2005-02-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1399 * BufferView_pimpl.C: revert accidental commit.
1401 2005-02-14 André Pönitz <poenitz@gmx.net>
1403 * dociterator.[Ch]: new member forwardPosNoDescent(),
1404 which doesn't enter nested insets.
1405 * text2.C (setFont): use forwardPosNoDescent() instead
1406 of ForwardPos() (fixes crash on font change).
1408 2005-02-13 Angus Leeming <leeming@lyx.org>
1410 * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
1411 only if lyxrc.path_prefix is not empty.
1413 2005-02-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1415 * bufferparams.C (readGraphicsDriver): prevent crash
1417 2005-02-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1419 * text2.C (setCounter): check for inInset() == 0
1421 2005-02-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1423 * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
1424 but use update() to get correct screen display; use convert
1425 instead of istringstream.
1426 (getStatus): handle LFUN_GOTO_PARAGRAPH
1428 * lyxfunc.C (dispatch, getStatus): do not handle
1429 LFUN_GOTO_PARAGRAPH here.
1431 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1433 * text3.C (dispatch): size() -> depth()
1435 * text2.C: remove some debug output
1437 * paragraph.C: ws changes only
1439 * lyxfunc.C (getStatus): size() -> depth()
1441 * dociterator.h (clear, push_back, pop_back, internalData,
1442 operator[], resize, empty): new functions
1443 Make StableDocIterator and operator== be friends. Don't inherit
1444 from std::vector use a privat class variable slices_ instead.
1447 * dociterator.C: update because of not inheriting from std::vector
1448 anymore. Call explictly to slices_ instead. Use depth() instead of
1449 size() and top() instead of back()
1451 * cursor.C: chagne size() -> depth and back() -> top(). Also
1452 remove some direct operator[](i) calls in favour of foo[i]
1453 (getFont): remove some dead code
1455 * bufferview_funcs.C (coordOffset): size() -> depth()
1457 * buffer.C: ws changes only
1459 * CutAndPaste.C (eraseSelection): back() -> top()
1461 * BufferView_pimpl.C (selectionRequested): back() -> top()
1463 * BufferView.C (setCursor): size() -> depth()
1465 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1467 * text3.C (cursorPrevious): return true if depm changed something
1469 (dispatch): rename sl to oldTopSlice, remove moving use the new
1470 NoUpdate func attrib instead. Make sure that needsUpdate is set
1471 for function that have NoUpdate, but where depm might have changed
1474 * text2.C (cursorLeft): make us return true if depm changed
1476 (cursorRight): ditto
1477 (cursorUpParagraph): ditto
1478 (curosrDownParagraph): ditto
1479 (cursorUp, cursorDown): ditto, make sure to read comments in code
1480 (deleteEmptyParagraphMechanism): remove an assert, also return
1481 true if just a single char was deleted.
1483 * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
1484 cursor that we modify, to avoid modifying an active cursor before
1485 we call setCursor. This allows depm to run. Also return true if
1486 depm deleted something.
1488 * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
1489 cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
1490 cursorDownParagraph, cursorPrevious and cursorNext, return true if
1491 something was changed in the buffer because of them (ie. depm run)
1493 * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
1494 debug messages. Make update by default be false. Make sure that
1495 the result of update is retained throught several calls down to
1498 * LyXAction.h: add a new func_attrib: NoUpdate
1500 * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
1501 LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
1502 LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
1504 (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
1506 2005-02-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1508 * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
1509 bv_->owner(), bv_->buffer() by direct references to the private
1511 (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
1512 (getStatus): isSavedPosition() is in BufferView::Pimpl.
1513 (fitCursor): center() is in BufferView::Pimpl.
1514 (getStatus, trackChanges, dispatch): no need for a temporary buf
1516 (fitCursor, workAreaDispatch): use workarea().workheight()
1518 2005-02-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1520 * CutAndPaste.C (pasteSelectionHelper): fix a crash
1522 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1524 * buffer.C: format up to 241.
1525 * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
1526 break if pasting into ERT
1527 * lyxfunc.C (getStatus): suppress mathpanel and
1528 LFUN_DIALOG_SHOW_NEW_INSET in ERT
1530 2005-02-01 Angus Leeming <leeming@lyx.org>
1532 * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1534 2005-02-01 Angus Leeming <leeming@lyx.org>
1536 * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1537 calling fs::is_directory().
1539 2005-01-31 Angus Leeming <leeming@lyx.org>
1541 * lyx_main.C (priv_exec): specify explicitly the relative location
1542 of the top level build directory when run in-place.
1544 2005-01-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1546 * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1547 LyXText containing the cursor, not the top-level one.
1549 * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1551 (insertStringAsLines): rename par to pit; use temporary variable
1552 par to hold a Paragraph; do not store par.layout() in a variable,
1553 since the pointer may die when breaking paragraphs; pass pars to
1554 breakParagraph() instead of Buffer::paragraphs().
1556 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1558 * lyxlex_pimpl.h: #include <fstream>.
1560 * BufferView.[Ch] (getLyXText): add a const version.
1562 * BufferView_pimpl.C: add debug aids.
1567 * paragraph_funcs.h: add commentary explaining what the class does.
1570 * coordcache.[Ch]: add lots of commentary.
1571 (startUpdating, doneUpdating): debug aids.
1572 (arrays, insets, parPos, getParPos): accessors to private data.
1574 * cursor_slice.[Ch] (text): add a const version.
1575 * dociterator.[Ch] (text, innerText): add const versions.
1577 * lyxtext.h (breakParagraph): change the keep_layout arg to a
1580 * paragraph.C (getRow, pos2ros): add asserts.
1582 * paragraph.h: add commentary. Lots of.
1584 * paragraph.[Ch] (metrucs, draw): removed.
1587 * rowpainter.[Ch]: const-correct changes.
1589 * text.C: various obvious clean-ups. Removal of ancient cruft.
1592 2005-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
1594 * vc-backend.C (find_file): rewrite to use boost.filesystem
1597 * main.C (main): set default name check for boost.filesystem to
1600 * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1603 (actOnUpdatedPrefs): ditto
1605 * lyx_main.C (init): rewrite to use boost.filesystem
1606 (queryUserLyXDir): ditto
1608 * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1609 (getContentsOfAsciiFile): ditto
1611 * lastfiles.C (readFile): rewrite to use boost.filesystem
1613 * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1615 * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1616 (loadLyXFile): ditto
1618 * buffer.C (Buffer): adjust for destroydir
1619 (getLogName): rewrite to use boost.filesystem
1620 (setFileName): ditto
1621 (save): use fs::copy_file (from fs_extras)
1623 * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1625 * LaTeX.C (run): rewrite to use boost.filesystem
1626 (scanAuxFiles): ditto
1627 (handleFoundFile): ditto
1629 2005-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1631 * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1633 * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1635 2005-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1637 * lyxlayout.[Ch]: change some vars from float to double
1639 * buffer.C (readFile): make a local var const
1641 * Several files: use convert<> instead of atoi,strToXXX and friends
1643 2005-01-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1645 * LaTeXFeatures.[Ch]: Add a static list packages_ that
1646 holds the contents of packages.lst. New functions getAvailable
1647 and isAvailable to parse and check that list, resp.
1651 * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1653 * bufferparams.[Ch]: new param output_changes.
1655 * Buffer.C: increase file format to 240.
1656 Use output_changes and isVailable.
1660 * paragraph_pimpl.C: Use output_changes and isVailable.
1662 2005-01-23 Angus Leeming <leeming@lyx.org>
1664 * output_latex.C: #include "insetbibitem.h", rather than
1665 forward declare function bibitemWidest.
1667 2005-01-21 Andreas Vox <vox@isp.uni-luebeck.de>
1669 * lyx_main.C (init): make it compile on the Mac.
1671 2005-01-20 Angus Leeming <leeming@lyx.org>
1673 * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1674 (setLyXMisc): (char string literal) != (char string literal) is
1675 performing a comparison on the addresses. Convert one operand
1676 explicitly to string to guarantee expected behaviour.
1679 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1682 * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1684 * output_plaintext.C: remove unneeded #include gzstream.h.
1686 2005-01-20 Angus Leeming <leeming@lyx.org>
1688 * SpellBase.h: rename some of the elements of the Result enum.
1695 * pspell.C (check): ditto
1697 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1699 * buffer.C: add #include <fstream>.
1701 * lyx_main.C (init): Compile fix.
1703 * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1705 2005-01-20 Angus Leeming <leeming@lyx.org>
1707 * mover.h: change commentary to reflect the changed meaning of
1708 the $$s placeholder.
1710 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1712 * output_linuxdoc.C (linuxdocParagraphs): silence warning
1714 * lyxfind.C (MatchString::operator()): remove bogus semicolon
1716 2005-01-20 Angus Leeming <leeming@lyx.org>
1718 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1719 printing diagnostic data by not dereferecing an iterator past the
1722 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1724 * buffer.C (readHeader): use "&&" rather than "and".
1726 * lyxserver.h (inPipeName, outPipeName): make these const.
1728 2005-01-19 Angus Leeming <leeming@lyx.org>
1730 * lyx_main.C (error_handler, init): protect SIGHUP with
1731 #ifdef SIGHUP guards.
1733 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1735 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1737 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1739 * text.C (setHeightOfRow): add a margin at the top and bottom of
1740 the document (bug 1761)
1742 2005-01-17 Angus Leeming <leeming@lyx.org>
1744 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1745 with "python ". Workaround for a brain-dead Windows.
1747 2005-01-16 Angus Leeming <leeming@lyx.org>
1749 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1750 for MacOSX and Windows to use prependEnvPath.
1751 Strip out the hard-coded block to add elements to the PATH for
1752 MacOSX and replace it with a call to prependEnvPath using the
1753 contents of LyXRC::path_prefix.
1754 (queryUserLyXDir): strip out the code to run reconfigure, instead
1755 returning a boolean indicating the necessity to do so.
1756 (reconfigureUserLyXDir): contains the code to reconfigure the
1757 user support directory. Is now called after the various LyXRC data
1758 files have been read.
1760 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1762 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1764 * converter.[Ch] (convert): take a new parameter try_default. Use
1765 a default converter (imagemagick) if try_default is true.
1767 2005-01-13 Angus Leeming <leeming@lyx.org>
1769 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1770 os::cygwin_path_fix.
1771 (write): output LyXRC::cygwin_path_fix as necessary.
1773 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
1776 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1778 2005-01-12 Angus Leeming <leeming@lyx.org>
1780 * lyx_main.C (init): set the PATH variable to include the
1781 directory containing the LyX binary when running on Mac or Windows.
1783 2005-01-12 Angus Leeming <leeming@lyx.org>
1785 * lyx_main.C (init): remove cruft that purports to set the locale
1786 dir. It doesn't and is not needed anyway.
1788 2005-01-10 Angus Leeming <leeming@lyx.org>
1790 * Makefile.am: remove the lyx_main.C special casing.
1792 * BufferView_pimpl.C:
1798 * messages.C: use support/package.h to provide the paths to the
1799 various directories used by LyX.
1801 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1803 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1804 layout if pasting into an empty paragraph)
1806 2005-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
1808 * tex-accent.C: add <string>
1810 2005-01-06 José Matos <jamatos@lyx.org>
1812 * ParagraphParameters.C (write): put every parameter in its own line.
1813 * paragraph.C (write): reduce number of consecutive empty lines exported.
1814 * buffer.C (LYX_FORMAT): increase file format to 239.
1816 2005-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1818 * everywhere: change support/tostr.h -> support/convert.h
1820 * tabular.C: make all write_attributes templates, tostr -> convert
1822 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1823 (emptyTag): and -> &&, and fix type for ret from getChar
1824 (getFirstWord): fix type for ret from getChar
1825 (onlyText): and -> &&
1826 (simpleDocBookOnePar): and not -> && !, fix type for ret from
1829 * toc.C (goTo, action):
1830 * text3.C (dispatch):
1831 * text.C (currentState):
1832 * tex-accent.C (DoAccent):
1835 * lyxfunc.C (menuNew):
1836 * lyxfinc.C (replace):
1837 * counters.C (laberItem):
1838 * bufferview_funcs.C (font2string):
1839 * bufferparams.C (writeFile):
1840 * buffer.C (readFile):
1842 * MenuBackend.C: tostr -> convert
1844 * LaTeX.C (runMessage): fix format
1845 (scanAuxFiles): tostr -> convert
1847 * BufferView_pimpl.C (savePosition): fix format
1848 (restorePosition): ditto
1851 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1853 * Spacing.[Ch]: New method getValueAsString().
1857 * ParagraphParameters.C:
1860 * text3.C: store/read spacing value as string.
1862 * rowpainter.C: change float value (spacing_val) to double.
1864 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1865 broken custom document spacing).
1867 2005-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
1869 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1870 namespace, also more use of temp references and const
1872 * cursor.[Ch] (getStatus): move to lyxfunc.C
1874 * bufferparams.C: reformat slightly
1876 * bufferview_funcs.C (font2string): constify arg
1882 * buffer_funcs.C: (many funcs): constify arg on function
1883 definitions, also make more local vars const, also add ASSERTS on
1886 * buffer.C (LYX_FORMAT): put const in correct place
1887 (many funcs): constify arg on function definitions, also make
1888 more local vars const
1890 * aspell_local.h: remove "struct" from typdef setup
1892 * aspell.C (check): make word_ok const
1893 (nextMiss): simplify slightly
1896 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1898 * lyxrc.[Ch]: store all float values as strings.
1899 use int (not float) for lyxrc.dpi.
1901 2005-01-04 Angus Leeming <leeming@lyx.org>
1903 * lyx_cb.C (Reconfigure):
1904 * lyx_main.C (queryUserLyXDir):
1905 to run the <system_lyxdir>/configure correctly on Windows, prefix
1906 the path to the script with "sh " when generating the string that
1907 is passed to system().
1909 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1911 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1913 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1915 * lyxlength.C (asLatexString): get rid of setprecision
1917 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1919 * text2.C (setLayout): remove unused variable endpit.
1920 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1922 * paragraph.C (onlyText): remove unused variable style.
1924 * cursor.C (bruteFind): remove unused variables beg and end.
1926 * Makefile.am (dist_noinset_DATA): not needed anymore
1928 * cheaders/*: remove.
1930 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1932 * text3.C: fix LFUN_MATH_MODE.
1934 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1936 * buffer_funcs.C (countWords): new function. Counts words between
1939 * BufferView_pimpl.C (getStatus, dispatch): handle
1942 * LyXAction.C (init):
1943 * lfuns.h: add LFUN_WORDS_COUNT.
1945 2004-12-19 Angus Leeming <leeming@lyx.org>
1947 * buffer.C (save): s/slashify_path/internal_path/.
1949 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1951 * lyxfind.C (findChange): do not search for end of pars, because
1952 the change tracker cannot handle this (fixes bug 1719).
1954 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
1956 * paragraph.[Ch] (autoBreakRows): remove
1958 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1960 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1961 avoid using the paragraph one
1963 * text2.C (LyXText, insertStringAsLines): adjust
1965 2004-12-16 Angus Leeming <leeming@lyx.org>
1969 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1971 2004-12-14 Angus Leeming <leeming@lyx.org>
1973 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1975 * bufferlist.C (emergencyWrite):
1976 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1979 2004-12-14 Angus Leeming <leeming@lyx.org>
1981 * main.C: (main): no longer pass pointers to os::init.
1983 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1985 * undo.C (textUndoOrRedo): simplify logic, fix a crash
1986 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1988 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1991 * text3.C: remove selection_possible global flag
1993 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1995 * text2.C (getSelectionSpan): remove
1996 (changeDepth, changeDepthAllowed): adjust
1998 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
2000 * Makefile.am (BOOST_LIBS): use boost variables
2002 2004-12-03 José Matos <jamatos@lyx.org>
2004 * buffer.C: format up to 238.
2006 2004-12-03 José Matos <jamatos@lyx.org>
2008 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
2010 2004-12-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2012 * cursor.C (goUpDown): remove call to idxUpDown2
2014 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2016 * tabular.[Ch]: use size_t-like types for cell, row and column
2019 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2021 * lyxfunc.C (getStatus): do not lose previous information when
2022 calling BufferView::getStatus; do not set a default "Command
2023 disabled" message at the beginning, but just before returning.
2025 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2027 * cursor.h (getStatus): add better comment from src/cursor.C
2029 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2031 * text3.C (getStatus): return false when the lfun is not handled
2033 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2035 * broken_headers.h: remove
2037 * Makefile.am (lyx_SOURCES): remove broken_headers.h
2039 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
2041 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
2042 offset_ref accessors
2044 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
2045 top_y_, merge fitcursor with update
2046 (updateScrollbar, scrollDocView, fitCursor, center, update): new
2048 (metrics): introduce
2049 (workAreaDispatch): adapt to new coord scheme
2050 (redoCurrentBuffer): remove
2052 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
2054 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
2057 * coordcache.[Ch]: add paragraph cache and helpers
2059 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
2062 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
2063 (targetX, setTargetX): introduce
2065 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
2066 baseline -> ascent, as the rest of lyx
2068 * lyxtext.h: remove redoParagraphs, updateParPositions,
2069 fullRebreak, redoParagraphInternal. move dist to anon namespace in
2070 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
2071 have ascent/descent (ascent is ascent of first par)
2073 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
2076 * paragraph.[Ch]: unify dimension handling with the rest of lyx
2078 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
2080 * pariterator.C: fix infinite loop introduced in par->pit renaming
2082 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
2083 in insets and LyXText, draw two off-screen paragraphs using
2084 NullPainter, and adapt to new coord scheme
2088 * text3.C: adapt lfun handlers to the new coord scheme, which
2089 means: there's only guaranteed coord information for onscreen pars
2090 plus one above and one below. This implies that one can do search
2091 from y coordinates in the range [-1,workHeight]
2093 2004-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2095 * rename a lot of InsetOld to InsetBase
2097 2004-11-25 Angus Leeming <leeming@lyx.org>
2099 * BufferView_pimpl.C:
2101 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
2103 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2105 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
2106 call BufferView::getStatus if LCursor::getStatus did nothing
2107 (setStatusMessage, getStatusMessage): removed.
2109 * FuncStatus.C (message): new methods. Used to provide an error
2110 message indicating why a command is disabled.
2111 (clear, |=, FuncStatus): update for message.
2113 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2115 * lyxfunc.C (dispatch): always call sendDispatchMessage
2117 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
2120 * BufferView_pimpl.C:
2125 * cursor_slice.[Ch]:
2128 * paragraph_funcs.C:
2134 * undo.C: par->pit renaming
2136 2004-11-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2138 * tabular.C (cellstruct): use initialization, store a shared_ptr
2139 to insettext instead of the insettext directly, adjust to fit.
2140 (operator=): new function
2141 (swap): new function
2142 (rowstruct): use initialization
2143 (columnstruct): use initialization
2144 (ltType): use initialization
2147 * lyxlength.h (swap): new function
2149 * LColor.[Ch] (operator=): use the common semantics
2151 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2153 * lyxfind.C (findNextChange): update the bufferview after setting
2156 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2158 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
2159 number of InsetOptArgs has already been inserted.
2161 * output_latex.C (latexOptArgInsets): new method. This outputs all
2162 the optarg insets, up to the limit defined in the layout file.
2163 (optArgInset): removed
2164 (TeXOnePar): call latexOptArgInsets; correctly update texrow
2166 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2168 * paragraph.C (isLetter): remove special spellchecker-related
2169 code; return true also for digits
2170 (isWord, isKomma): remove
2172 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
2173 * lyxfind.C (MatchString()): use isLetter instead of isWord
2175 2004-11-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2177 * pariterator.h (operatir=): comment out un-implemented member
2180 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
2183 2004-11-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2185 * lyxfont.h: include LColor.h to satisfy concept checks.
2187 2004-11-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2189 * pariterator.h: add typdefs for value_type, difference_type,
2190 pointer and reference to satisfy concept checks. Also add default
2191 constructor for same reason.
2193 * pariterator.C (operator++): add post-increment operator to
2194 satisfy concept checks.
2196 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
2199 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
2201 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
2202 checks. Also rename base_type to BaseType to follow naming
2205 * FloatList.h: include Floating.h to satisfy concept checks.
2207 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2209 * lyxfunc.C (getStatus): when the origin of the request is menu or
2210 toolbar, and the LyXView does not have focus, do as if there was
2211 no buffer (bug 1720)
2213 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
2214 FuncRequest to individual entries of LFUN_SEQUENCE
2216 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2218 * output_latex.C (TeXOnePar): override runparams.moving_arg
2219 according to the needprotect value of the current paragraph (bug
2222 * paragraph.C (simpleTeXOnePar): no need to override
2223 runparams.moving_args here
2225 2004-11-14 John Spray <spray_john@users.sourceforge.net>
2227 * vspace.C: fix off-by-one-error, related to fix #1682
2229 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2231 * lengthcommon.C: a more general fix for bug 1682
2233 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
2235 * text.C (backspace): fix crash
2237 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2239 * format.[Ch] (getFormatFromFile): new method
2240 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
2242 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2244 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
2246 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2248 * lyxfunc.C (dispatch): remove the verbose argument
2249 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
2252 * kbmap.C (defkey): set the origin of func to KEYBOARD
2254 * MenuBackend.C (MenuItem):
2255 * ToolbarBackend.C (add): set the origin of func to UI
2257 * funcrequest.[Ch]: add origin member, which indicates which part
2258 of LyX requests an action
2260 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2262 * converter.C (move): don't lie in the error message
2263 * converter.h (isReachable, move): document
2265 2004-11-07 Lars Gullik Bjønnes <larsbj@gullik.net>
2267 * buffer.C: remove unused using lyx::support::atoi
2268 * paragraph_funcs.C: ditto
2270 2004-11-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2272 * bufferlist.C (exists): use bind and equal_to instead of
2275 * lyxtextclasslist.C (NumberOfClass): ditto
2277 * cursor.C (insert): use for_each instead of explicit for loop
2279 * bufferlist.C (getFileNames): use std::transform and
2280 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
2282 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
2285 * buffer.C (changeLanguage): use for_each instead of explicit for
2287 (hasParWithID): implement using getParFromID
2289 * LaTeXFeatures.C: ws change only
2291 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
2294 * BufferView_pimpl.C (trackChanges): use for_each instead of
2297 2004-11-04 André Pönitz <poenitz@gmx.net>
2300 * undo.C (textUndoOrRedo): fix crash when creating undo information.
2302 * dociterator.C (asDocIterator): use hard assert again.
2304 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2306 * lyxlength.C (asLatexString): rewrite so that it does not use
2309 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2311 * text3.C (specialChar, dispatch): make sure cursor moves to the
2312 right after inserting an inset
2314 2004-11-02 José Matos <jamatos@lyx.org>
2316 * output_docbook.C (docbook):
2317 * paragraph.C (getID):
2318 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
2319 garantee that the output is always legal.
2321 * tabular.C (docbook):
2322 * outputprams.[Ch]: remove mixed contents.
2324 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2326 * text2.C (setCounter): prevent endless loop
2328 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2330 * exporter.C (copyFile): use the mover instead of support::copy()
2331 * exporter.C (Export): pass format and latex name to copyFile()
2332 * exporter.h (addExternalFile): document
2333 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
2335 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2337 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
2339 2004-10-30 José Matos <jamatos@lyx.org>
2341 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
2342 text and no inset or font change. This allows to use CDATA
2343 sections just for the whole paragraph.
2345 2004-10-30 José Matos <jamatos@lyx.org>
2347 * paragraph.C (getFirstWord): remove unused variable.
2349 2004-10-30 José Matos <jamatos@lyx.org>
2351 * paragraph.C (getFirstWord): the content should always be escaped
2353 (simpleDocBookOnePar):
2354 * output_docbook.C (makeEnvironment): replace reference to CDATA
2357 2004-10-30 José Matos <jamatos@lyx.org>
2359 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
2361 2004-10-30 José Matos <jamatos@lyx.org>
2363 * output_docbook.C (makeParagraphs):
2364 * paragraph.[Ch] (emptyTag): for docbook and company, if the
2365 standard paragraph has only a given type of content drop the wrapper.
2367 2004-10-29 José Matos <jamatos@lyx.org>
2369 * output_docbook.C (makeEnvironment):
2371 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
2373 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
2375 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
2376 (cleanID): sanitize any id.
2378 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2380 * buffer.C, lyxlex_pimpl.C:
2381 * lyxlex_pimpl.C (setFile):
2382 s/getExtFromContents/getFormatFromContents/
2384 2004-10-28 José Matos <jamatos@lyx.org>
2386 * output_docbook.C (makeEnvironment): move id to broadest possible
2389 * sgml.C (openTag): apply substitution of <> for all attributes.
2391 2004-10-28 José Matos <jamatos@lyx.org>
2393 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2394 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2395 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
2397 * sgml.[Ch]: new version for open and closeTag for paragraph and
2398 for strings. Now they handle the ids of paragraphs.
2400 2004-10-26 Angus Leeming <leeming@lyx.org>
2402 * Makefile.am: add mover.[Ch].
2404 * converter.C (convert, move): use the new Movers to move external
2405 files to the temp directory.
2407 * lyx_main.C (init): ensure that the global system_movers data
2410 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
2413 * mover.[Ch]: new files, defining a Mover as a utility to move an
2414 external file between directories and, if necessary, manipulate this
2415 file using a helper script.
2417 2004-10-25 José Matos <jamatos@lyx.org>
2419 * output_docbook.C (makeCommand): merge two if's that tested the
2422 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2424 * sgml.C (escapeString): fix warning in a better way
2426 2004-10-25 José Matos <jamatos@lyx.org>
2428 * sgml.C (escapeString): import the require boosts header file for
2429 tie, and avoid a signed unsigned comparison.
2431 2004-10-25 José Matos <jamatos@lyx.org>
2433 * sgml.h: add #include <string>
2435 2004-10-25 José Matos <jamatos@lyx.org>
2437 * sgml.[Ch] (escapeString): new function to escape all the string.
2439 2004-10-24 José Matos <jamatos@lyx.org>
2441 * paragraph.[Ch] (getFirstWord): new function to get the first
2442 word. Useful for description.
2443 (simpleDocBookOnePar): remove depth argument, add another that
2444 says where to start the paragraph.
2446 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2447 use the new functions to fix cleanly the support for descriptions.
2449 2004-10-24 José Matos <jamatos@lyx.org>
2451 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2452 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2453 * output_linuxdoc.C (linuxdocParagraphs):
2454 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
2455 add buffer as argument.
2457 2004-10-24 José Matos <jamatos@lyx.org>
2459 * output_docbook.C (makeEnvironment, searchEnvironment): place
2460 CDATA inside paragraphs and fix scope for listitems.
2462 2004-10-24 José Matos <jamatos@lyx.org>
2464 * output_docbook.C: remove using statement for stack.
2466 2004-10-23 José Matos <jamatos@lyx.org>
2468 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
2469 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
2470 docbook. The new scheme is recursive and makes use of iterators, the
2471 same as latex export works.
2472 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
2473 directly with the paragraph contents. This code was moved up to
2474 output_docbook.C (docbookParagraphs).
2475 * sgml.C (openTag, closeTag): removed unneeded newlines.
2476 (closeEnvTags) removed.
2478 2004-10-23 André Pönitz <poenitz@gmx.net>
2480 * undo.C (textUndoOrRedo):
2481 * dociterator.C (asDocIterator): work around crash
2483 * cursor.C (getStatus): replace ASSERT by more verbose error message
2484 and manual correction of the problem. Should increase stability
2485 while providing more sensible information.
2487 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2489 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
2491 * bufferlist.C (previous, next): new methods
2494 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
2496 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
2498 * buffer.C (makeDocBookFile): add dsssl stylesheet control
2499 entities to preamble.
2501 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2503 * messages.C (Pimpl): strip off translation context information
2505 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2507 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
2508 the cursor is correct (bug 1694)
2510 2004-10-13 José Matos <jamatos@lyx.org>
2512 * output_docbook.C (docbookParagraphs): fix closing tags in the
2513 end of the document.
2515 2004-10-09 José Matos <jamatos@lyx.org>
2517 * buffer.C: format up to 237.
2518 * bufferparams.C (write): use tostr to convert booleans to strings.
2520 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
2522 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
2524 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2526 * LaTeX.C: implement use of babel language in xindy.
2528 2004-10-05 José Matos <jamatos@lyx.org>
2530 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2531 Add new translators to help reading and writing the lyx file.
2533 2004-10-05 José Matos <jamatos@lyx.org>
2535 * ParagraphParameters.C (read):
2536 * text.C (readParToken): replace nexToken by more appropriate lex
2539 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
2541 * LaTeX.C (runMakeIndex):
2542 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2543 (usually 'makeindex') configurable.
2545 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2546 with a variable rather than with a number.
2548 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2550 * output_latex.C (TeXOnePar): make sure font setting is the first
2551 thing that gets output (and the last at the end). Should fix bug
2554 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2556 * pch.h: use proper signal include
2558 * LaTeX.h: Use preferred calling of Boost.Signal
2561 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2563 * pch.h: dont include <boost/function/function0.hpp>
2565 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2567 * paragraph_pimpl.h: remove usage of ShareContainer
2569 * paragraph_pimpl.C: remove initialization of ShareContainer.
2571 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2575 * BufferView.C (putSelectionAt): change the semantics when
2576 backwards == true: now, this just swaps cursor and anchor wrt the
2579 * BufferView.h (putSelectionAt): add some documentation
2581 * lyxfind.C (findBackwards): rewrite using while(). In particular,
2582 make sure backwardChar is done at least once (to avoid getting
2584 (findNextChange): use putSelectionAt in the forward direction
2585 (operator()): use Paragraph::isWord
2587 2004-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2589 * Spacing.C (set): c_str fix
2591 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2593 * lyx_cb.C (Reconfigure): quote the name of configure script in
2594 case it contains spaces
2596 2004-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2600 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2601 (BOOST_LIBS): use top_buildir when looking for the file
2603 2004-08-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2605 * pch.h: do not use include boost/format.hpp, multiple symbols
2606 will result (gcc bug)
2609 2004-08-23 José Matos <jamatos@lyx.org>
2611 * bufferparams.C (readToken): fix reading of the author field.
2613 2004-08-20 José Matos <jamatos@lyx.org>
2615 * lyxrc.C: remove support/translator.h inclusion since it is not used.
2617 2004-08-20 José Matos <jamatos@lyx.org>
2619 * lyxlex.[Ch] (findToken): remove function.
2621 * ParagraphParameters.C (findToken):
2622 * bufferparams.C (findToken): replace call for previous function
2623 with local copy. This local function has one more argument, the
2624 read string argument.
2626 2004-08-16 José Matos <jamatos@lyx.org>
2628 * ParagraphParameters.C (write):
2629 * Spacing.C (writeFile):
2630 * bufferparams.C (writeLaTeX):
2631 * lyx_cb.C (Reconfigure):
2632 * paragraph.C (write):
2633 * tabular.C (write): remove unnecessary space at end of line.
2636 2004-08-16 José Matos <jamatos@lyx.org>
2638 * text.C (readParagraph): remove debug message.
2640 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2642 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2645 * output_plaintext.C (asciiParagraph): set depth correctly
2647 * outputparams.h: add member depth
2649 * paragraph_funcs.C (ownerPar): remove.
2651 * text2.C (setCounter): remove first_pit; comment out some
2652 non-working code that uses ownerPar
2654 * BufferView.C (getParentLanguage): remove. Not used anymore, and
2657 2004-08-16 José Matos <jamatos@lyx.org>
2659 * text.C (readParToken, readParagraph, read): report all unknown tokens.
2660 For the same level of importance use the same chanel to report problems.
2661 (read): add code to deal with \begin_body and \end_body.
2664 2004-08-15 José Matos <jamatos@lyx.org>
2666 * lyxlex.C (getString): fix comment, buffer::readBody is now
2667 buffer:readDocument.
2669 * tex-strings.C (string_papersize): Default -> default,
2670 Custom -> custom, for consistency with other options.
2672 2004-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2676 * Makefile.am: support pch
2678 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2680 * text.C (readParToken): remove the static LyXFont variable and
2681 pass it as a parameter instead. This fixes a nasty bug where an
2682 inset will be inserted with a bad font in some situations
2683 (readParagraph): adapt
2685 * text2.C (setCounter): reduce number of calls to pars_[pit]
2687 * text.C (singleWidth): add an assert, fix a test
2689 * rowpainter.C (paintText): reduce number of calls to singleWidth
2691 * paragraph.C (isHfill):
2692 (isNewline): ws only
2694 2004-08-14 André Pönitz <poenitz@gmx.net>
2699 * lyxtext.h (several functions): use a Paragraph & argument
2702 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2704 * metricsinfo.h: add a new field ltr_pos to PainterInfo
2706 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2708 * text.C (singleWidth): remove useless test
2710 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2712 * tabular.h: remove bogus comments
2714 * tabular.C (getDescentOfRow):
2715 (isPartOfMultiColumn): add assertions
2717 * lyxlength.C (inPixels): remove #warning
2719 2004-08-14 André Pönitz <poenitz@gmx.net>
2721 * paragraph.h: inline getChar()
2723 * BufferView.h: remove unused declarations
2725 2004-08-14 José Matos <jamatos@lyx.org>
2727 * Buffer.[Ch] (readDocument): new name for old readBody.
2728 * Buffer.C: new file format, new keywords: \begin_document,
2729 \begin_header, \begin_body, \end_body.
2731 * bufferparams.C (readToken): replace all calls to lex.nextToken
2732 by lex.next(). Do the same to eatLine except where really needed.
2734 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2735 line when writing to the lyx file.
2737 * output_plaintext.C (asciiParagraph): fix Bibliography style
2740 * text.C (read): fix end of file handling.
2742 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2744 * MenuBackend.C (Menu::operator[]): new method to access
2745 individual menu items
2746 (Menu::hasFunc): new method. search for an item that corresponds
2748 (MenuBackend::specialMenu): new method
2749 (MenuBackend::expand): if a special menu has been set, skip
2750 entries whose func() appears in this menu
2752 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2754 * text3.C: use Debug::DEBUG a bit more
2756 * text.C (leftMargin): try to simplify a tiny bit change var x to
2757 l_margin. Dont output the wide margins always.
2758 (rightMargin): no margin in inner texts
2760 * rowpainter.h (nestMargin): new func
2761 (changebarMargin): new func
2762 (rightMargin): new func
2764 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2768 * factory.C (createInset): modify setDrawFrame
2770 * cursor.C: use Debug::DEBUG a bit more
2772 2004-08-14 André Pönitz <poenitz@gmx.net>
2775 * Makefile.am: new files to accomodate an 'external' (x,y)-position
2776 cache for all insets in (at least partially) visible (top-level)
2779 * BufferView_pimpl.C: reset external coord cache before every update.
2780 This means the coord cache only contains valid entries.
2782 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2785 * BufferView_pimpl.C (getInsetByCode): move function out of class
2786 and change in to a template in anon namespace. Also fix to do what
2789 2004-08-13 Lars Gullik Bjønnes <larsbj@lyx.org>
2792 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2794 (breakParagraph): rename par to par_offset and use a local
2795 reference. Add code to keep the language over a rebreak.
2796 (breakParagraphConservative): rename par to par_offset, use a
2798 (mergeParagraph): ditto
2800 (isFirstInSequence): ditto
2801 (outerFont): rename pit to par_offset
2803 * paragraph.C: ws change
2804 * paragraph.h: ditto
2808 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2810 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2813 * paragraph.C (simpleTeXOnePar): when we have a \item with
2814 optional argument, enclose the argument with curly brackets (in
2815 case it contains a closing square bracket)
2819 * text3.C (checkInsetHit): constify
2821 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2823 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2824 documents (bug 1629)
2826 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2828 Fix toggling of collapsable insets with the mouse (bug 1558)
2830 * lyxfunc.C (dispatch): adapt to LCursor changes
2832 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2833 make sure that dispatch is not invoked twice
2835 * cursor.C (needsUpdate): new method
2836 (dispatch): return void
2837 (result): new method, to access the DispatchResult of the cursor.
2839 2004-08-13 José Matos <jamatos@lyx.org>
2841 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2843 2004-08-13 André Pönitz <poenitz@gmx.net>
2845 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2847 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2850 2004-08-12 André Pönitz <poenitz@gmx.net>
2852 * text3.C: take out the 'cursor right' form insertInset and only
2853 do it in those places when it is really needed. Fixes crash on
2856 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2858 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2860 * BufferView_pimpl.C (setBuffer): initialize the current font of
2861 the underlying LyXText
2863 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2865 * kbsequence.C (print): use UI native formatting for menu
2868 * text.C (insertChar): call Paragraph::insertChar with a font
2871 * paragraph.C (insertInset, insertChar): the version that takes a
2872 LyXFont argument is now a wrapper around the other one (the
2873 opposite used to be true).
2875 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2876 argument. Font setting is done in Paragraph now.
2878 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2880 * outputparams.h: add new members intitle and lang.
2882 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2883 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2885 2004-08-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2887 * text3.C (dispatch): remove special handling of button 4 and 5,
2888 it is now taken care of in the frontend code.
2890 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2892 * Spacing.h: add <string> (STLPort compile fix)
2894 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2896 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2898 2004-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2900 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2903 * converter.C (showMessage): inherit from unary_function, make
2906 * buffer.C (writeFile): initialize retval
2908 * InsetList.h: rename private variable list to list_
2909 * InsetList.[Ch]: adjust accordingly.
2911 2004-07-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2913 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2914 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2915 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2916 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2917 * ParagraphParameters.C, LaTeXFeatures.C: replace
2918 "support/std_sstream.h" with <sstream>
2920 2004-07-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2922 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2923 * lyxsocket.C (LyXServerSocket): ditto
2924 (serverCallback): ditto
2926 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2928 * LaTeXFeatures.C: check release date when loading jurabib.
2930 2004-07-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2932 * lyxserver.C (startPipe): call register_socket_callback
2933 (endPipe): call unregister_socket_callback
2935 2004-07-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2937 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2938 (LyXServerSocket): register the callback
2939 (LyXServerSocket): unregister the callback
2940 (fd): delete function
2941 (serverCallback): improve error checking and setup the callbacks.
2942 (dataCallback): change arg to fd.
2943 (writeln): new func (copied fro the client socket) used for server
2945 (LyXDataSocket): simplify
2946 (~LyXDataSocket): close ann unregiser callback
2947 (server): delete function
2948 (fd): delete function
2949 (readln): small changes, improve some std::string usage
2950 (writeln): constify a bit
2952 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2954 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2957 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2959 * BufferView_pimpl.C (setBuffer): set the layout combox value only
2960 after it has been populated
2962 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2964 * text2.C (insertInset): move cursor when inserting inset.
2966 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2968 * kbmap.C (findbindings): a couple of new methods. returns a
2969 container of kb_sequence objects. The real work is done by the
2970 private recursive version
2971 (printbindings): uses findbindings to print out a bracketed list
2972 of bindings (renamed from findbinding).
2974 * MenuBackend.C (binding): use kb_keymap::findbindings
2976 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2978 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2980 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2982 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2984 * paragraph.C (isWord): return true on insets that report
2987 * text.C (getWord): use Paragraph::isWord to decide what is in a
2988 word and what is not; fix bug 1609.
2990 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2992 * tex-strings.C: add "none" to string_paperpackages[], fixes
2993 off-by-one-error in the paperpackage selection.
2996 * tex-strings.[Ch]: char const * string[n]
2997 -> char const * const string[]
2999 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3001 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
3002 command, return early.
3004 2004-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
3006 * debug.h: add DEBUG to enum and fix size of ANY.
3008 * debug.C: add support for Debug::DEBUG
3009 (showTags): cast errorTags.level to unsigned int
3011 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
3012 (redoCurrentBuffer): ditto
3013 (updateScrollbar): ditto
3014 * cursor.C (dispatch): ditto
3015 * text2.C (setLayout): ditto
3017 (updateCounters): ditto
3019 (deleteEmptyParagraphMechanism): ditto
3021 2004-06-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3023 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
3024 annotations to cleanup the Makefile slightly.
3026 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3028 * lyxrc.C: do not set user_email to a default value but use empty
3029 instead. The entry used to be translated, which does not work
3030 since at the point where lyxrc is constructed there is no
3031 translation service available
3033 * messages.C (getLocaleDir): remove and use directly
3034 lyx_localedir() instead
3036 2004-06-02 Angus Leeming <leeming@lyx.org>
3038 Fix crash caused by dereferencing null pointer 'exportdata' in
3039 OutputParams by creating a new ExportData variable on the heap,
3040 storing it in a boost::shared_ptr.
3041 The crash was triggered when generating an Instant Preview
3042 of an external inset.
3044 * Makefile.am: add outputparams.C
3046 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
3047 (c-tor): allocate memory to it.
3049 * exporter.C (c-tor): associated changes.
3051 2004-06-01 Angus Leeming <leeming@lyx.org>
3053 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
3054 contains data before calling isInset(0). (Bug 1513.)
3056 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3058 * exporter.C (checkOverwrite): new method
3059 * exporter.C (copyFile): new method
3060 * exporter.C (Export): copy referenced files to the document dir
3061 * exporter.[Ch]: new class ExportedFile
3062 * exporter.[Ch]: new class ExportData. Contains currently the
3063 names of referenced external files
3064 * outputparams.h: add exportdata member.
3066 2004-05-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3068 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
3071 2004-05-19 Angus Leeming <leeming@lyx.org>
3076 * lyxfunc.C: small changes due to the introduction of namespace
3077 lyx::frontend and the moving of namespace biblio to lyx::biblio.
3079 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
3081 * text3.C (dispatch): supress update when only moving the cursor
3082 * cursor.C (selHandle): remove commented code
3084 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3086 * paragraph.C (startTeXParParams): correct column count
3087 * CutAndPaste.C (pasteSelection): remove const_cast
3088 * output_docbook.C (docbookParagraphs): remove const_cast
3089 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
3090 const_cast and return ParagraphList::const_iterator
3091 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
3092 * output_plaintext.C (writeFileAscii): remove const_cast
3093 * paragraph.[Ch] (simpleTeXOnePar): make const
3094 * paragraph_funcs.C (outerPar): use const iterators
3095 * paragraph_pimpl.C (validate): use const iterators
3096 * text.C (setHeightOfRow): use const iterators
3098 2004-05-17 Angus Leeming <leeming@lyx.org>
3101 * LyXAction.C (init): new LFUN_INSET_REFRESH.
3103 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
3104 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
3105 if the citation engine has changed.
3107 2004-05-14 José Matos <jamatos@lyx.org>
3109 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
3110 if the textclass does not provide it. Have it different for sgml and
3112 support the language of document.
3113 * output_docbook.C (docbookParagraphs):
3114 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
3115 first anchor as the id of the paragraph, remove special case code.
3116 * sgml.C (escapeChar): escape only < & >.
3118 2004-05-14 Angus Leeming <leeming@lyx.org>
3120 * bufferparams.h: move biblio::CiteEngine enum here to minimize
3121 dependencies on src/frontends/controllers/biblio.h. Define a
3122 CiteEngine_enum wrapper class to enable the enum to be forward
3125 2004-05-12 Angus Leeming <leeming@lyx.org>
3127 * buffer.C: up LYX_FORMAT to 234.
3128 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
3129 use_numerical_citations with a single biblio::CiteEngine cite_engine
3131 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
3133 2004-05-13 José Matos <jamatos@lyx.org>
3136 * converter.C (Converter, readFlags): add xml member.
3137 * outputparams.h: add XML flavor.
3138 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
3140 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3142 * lyxfunc.C (dispatch):
3143 (getStatus): fix handling of LFUN_SEQUENCE
3145 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3147 * debug.C (showLevel): do not forget the end-of-line marker
3149 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3151 * kbmap.C (read): do not stop parsing a bind file when an error
3154 2004-04-29 Angus Leeming <leeming@lyx.org>
3159 * text2.C: wrap a bunch of #warning statements
3160 inside #ifdef WITH_WARNINGS blocks.
3162 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3164 * buffer.C: increment format to 233.
3166 2004-04-28 Angus Leeming <leeming@lyx.org>
3168 * BufferView_pimpl.C:
3171 s/updateToolbar()/updateToolbars()/
3172 s/Toolbar.h/Toolbars.h/
3174 2004-04-28 Angus Leeming <leeming@lyx.org>
3176 * BufferView.[Ch] (c-tor):
3177 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
3178 No longer passes these data to the WorkArea generator.
3180 2004-04-28 Angus Leeming <leeming@lyx.org>
3182 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
3184 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3186 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
3188 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3190 * output_latex.C (TeXEnvironment): make sure that there is a line
3191 break before \end{foo} for the last paragraph of a document
3192 (TeXOnePar): if the paragraph is at the end of the document (or
3193 inset) and the language has to be reset, then make sure that the
3194 line break is _before_ the language command, not after (fixes bug
3195 1225); also make sure that the language reset command is the first
3196 thing after the paragraph (to ensure proper nesting of
3197 environments and thus fix bug 1404)
3199 2004-04-21 John Levon <levon@movementarian.org>
3202 * ToolbarBackend.C: make "name" be a programmatic name
3203 and a gui_name field.
3205 * lyxfunc.C: display the minibuffer on M-x
3207 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3209 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
3212 2004-04-19 Angus Leeming <leeming@lyx.org>
3214 * BufferView_pimpl.C (setBuffer): changed preview interface.
3216 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
3219 2004-04-19 John Levon <levon@movementarian.org>
3221 * BufferView_pimpl.C:
3222 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
3224 2004-04-05 Angus Leeming <leeming@lyx.org>
3226 * text.C (redoParagraphs): add call to updateCounters(), thereby
3227 fixing the missing "Figure #:" label from the caption of a
3230 2004-04-13 Angus Leeming <leeming@lyx.org>
3232 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
3233 cursor is clicked out of an inset.
3235 2004-04-13 Angus Leeming <leeming@lyx.org>
3237 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
3238 than an InsetOld one.
3240 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3242 * format.[Ch]: add editor to Format
3243 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
3244 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
3246 2004-04-08 André Pönitz <poenitz@gmx.net>
3248 * metricsinfo.h: remove PainterInfo::width member
3250 2004-04-08 Angus Leeming <leeming@lyx.org>
3252 * lyx_sty.C (boldsymbol_def): modify so that it outputs
3253 "\providecommand" rather than "\newcommand", thereby preventing
3254 clashes with packages that define "\boldsymbol" themselves.
3257 2004-04-08 Angus Leeming <leeming@lyx.org>
3259 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
3260 thereby squashing an unnecessary warning.
3262 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3264 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
3267 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
3269 * BufferView.C (setCursor): call redoParagraph (some insets could
3271 (putSelectionAt): remove the 'double update' trick
3273 * BufferView_pimpl.C (fitCursor): call refreshPar
3274 (workAreaDispatch): remove an uneeded update call
3275 (dispatch): remove some manual update calls
3277 * cursor.[Ch]: remove cached_y_, updatePos
3278 (selHandle): set noUpdate when appropriate
3280 * lyxfunc.C (dispatch): track if we need an update
3282 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
3284 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
3285 (paintSelection): cheap optimization, do not call cursorX when not
3287 (paintPars): change signature
3290 (paintTextInset): adjust
3294 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3296 * lengthcommon.C: compilation fix: remove explicit array size from
3297 unit_name[] and friends
3299 2004-04-05 Angus Leeming <leeming@lyx.org>
3301 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
3303 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
3304 present only for the preferences dialog.
3305 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
3307 2004-04-05 Angus Leeming <leeming@lyx.org>
3309 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
3310 to enable the frontends to export changes to lyxrc correctly.
3312 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
3314 2004-04-07 André Pönitz <poenitz@gmx.net>
3316 * cursor.[Ch] (selClear, adjust): remove math
3318 * cursor_slice.C: more agressive assert
3321 * BufferView_pimpl.C: rework mouse event dispatch
3328 2004-04-05 André Pönitz <poenitz@gmx.net>
3330 * cursor.[Ch] (valign, halign...): remove unneeded functions
3332 2004-04-05 Angus Leeming <leeming@lyx.org>
3334 * lyxlength.[Ch] (unit_name et al.): const-correct.
3336 2004-04-05 Angus Leeming <leeming@lyx.org>
3338 * BufferView_pimpl.C:
3347 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
3349 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3351 * text3.C (getStatus): add LFUN_BEGINNINGBUF
3353 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3355 * lyxfind.C: add a couple of inTexted() tests + other small fixes
3356 * BufferView_pimpl.[Ch] (getStatus)
3357 * BufferView.[Ch] (getStatus): add
3358 * lyxfunc.C (getStatus): move lfuns handled in
3359 BufferView::dispatch to te function above
3360 * Cursor.C (setSelection): set selection() = true
3362 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3364 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
3366 2004-03-31 Angus Leeming <leeming@lyx.org>
3368 * lyxfunc.C (dispatch): Fall through to the generic
3369 Dialogs::show("preamble").
3371 2004-03-31 Angus Leeming <leeming@lyx.org>
3373 * lyxfunc.C (dispatch): Fall through to the generic
3374 Dialogs::show("spellchecker").
3376 2004-03-31 Angus Leeming <leeming@lyx.org>
3378 * lyxfunc.C (getStatus, dispatch): changed invocation of the
3381 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
3386 * insetiterator.[Ch]:
3391 * undo.[Ch]: s/DocumentIterator/DocIterator/g
3393 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
3395 * BufferView.C (setCursor, putSelectionAt): call edit to open the
3396 insets where we are putting the cursor.
3398 2004-03-31 Angus Leeming <leeming@lyx.org>
3401 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
3403 * lyxrc.[Ch] (read, write): overloaded member functions taking
3404 a std::[io]stream arguments.
3406 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
3408 2004-03-31 Angus Leeming <leeming@lyx.org>
3410 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
3411 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
3413 * lyxtextclass.C (load): if the text class couldn't be loaded, then
3414 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
3416 2004-03-31 Angus Leeming <leeming@lyx.org>
3418 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
3419 the LFUN_ALL_INSETS_TOGGLE code.
3421 2004-03-30 Angus Leeming <leeming@lyx.org>
3423 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
3424 has died. Fall through to the generic Dialogs::show("document").
3426 2004-03-30 Angus Leeming <leeming@lyx.org>
3429 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
3430 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
3432 * lyxfunc.C (getStatus, dispatch): define the actions for these
3433 lfuns. Little more than a cut and pste job from ControlDocument.C
3435 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
3437 2004-03-30 Angus Leeming <leeming@lyx.org>
3440 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
3441 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
3443 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
3444 open/closed state of ollapsable insets. Usage:
3446 all-inset-toggle <state> <name>, where
3447 <state> == "open" || "closed" || "toggle" and
3448 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
3450 * lyxtext.h, text2.C (toggleInset): removed.
3452 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
3453 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
3454 now passes LFUN_INSET_TOGGLE to the found inset.
3456 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
3457 is now invoked as "all-insets-toggle toggle branch".
3459 2004-03-30 Angus Leeming <leeming@lyx.org>
3463 * pariterator.[Ch]: added/corrected header blurb.
3465 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
3467 * dociterator.[Ch]: add an inset_ member
3468 (backwardPos): implemented
3469 (backwardPos, forwardPos): use inset_ when the stack is empty.
3470 (doc_iterator_begin, doc_iterator_end): implemented
3471 * pariterator.[Ch]: adjust, add begin, end
3472 * insetiterator.[Ch]: adjust, add begin, end
3476 * BufferView_pimpl.C:
3477 * CutAndPaste.C: adjust
3479 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3481 * buffer.C: increment file format to 232.
3482 * LaTeXFeatures.C: add bibtopic package.
3483 * bufferparams.[Ch]: param \use_bibtopic.
3485 * lyxrc.[Ch]: add lyxrc bibtex_command
3486 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
3488 * buffer.C: increment file format to 231.
3490 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
3492 * dociterator.C: implement forwardPar
3493 * iterators.[Ch]: remove, replaced by
3494 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
3496 * BufferView_pimpl.C:
3499 * bufferview_funcs.C:
3505 * Makefile.am: adjust
3507 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
3509 * CutAndPaste.C (pasteSelection): fix 2 crashes
3510 (eraseSelection): fix a crash
3511 * paragraph_funcs.C: remove a warning
3513 2004-03-28 Angus Leeming <leeming@lyx.org>
3516 * LyXAction.C (init): new LFUN_PRINT.
3518 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
3520 2004-03-27 Angus Leeming <leeming@lyx.org>
3523 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
3525 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
3527 2004-03-27 Angus Leeming <leeming@lyx.org>
3529 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
3530 insetlist always contains non-null pointers to insets.
3532 2004-03-26 Angus Leeming <leeming@lyx.org>
3534 * src/BufferView_pimpl.C:
3535 * src/CutAndPaste.C:
3538 * src/output_plaintext.C:
3539 * src/outputparams.h:
3540 * src/paragraph_funcs.C:
3544 * src/frontends/controllers/ControlErrorList.C:
3545 * src/frontends/gtk/FileDialogPrivate.C:
3546 * src/frontends/gtk/GPainter.C:
3547 * src/frontends/gtk/GToolbar.C:
3548 * src/frontends/qt2/QRef.C:
3549 * src/mathed/math_scriptinset.C: squash compiler warnings.
3551 2004-03-26 Angus Leeming <leeming@lyx.org>
3553 * ispell.C (LaunchIspell::start):
3554 * lyx_cb.C (AutoSaveBuffer::start):
3555 invoke run(DontWait) rather than runNonBlocking().
3557 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
3559 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3561 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3563 * kbsequence.C (print): adjust
3565 * kbmap.C (printKeySym): rename and change signature
3566 (printKey): use LyXKeySym::print()
3568 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
3570 * undo.C: add using std::advance to compile for stlport
3572 2004-03-24 Angus Leeming <leeming@lyx.org>
3574 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3575 it leads to a crash when no buffer is present.
3577 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3578 Martin Vermeer <martin.vermeer@hut.fi>
3580 * lyxfunc.C (dispatch):
3581 * bufferparams.C (readToken): use the new LColor::setColor
3583 * LColor.[Ch] (setColor): new version that takes two strings as
3584 argument and creates a new color entry if necessary
3586 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3588 * buffer.C (makeLaTeXFile): if the main latex file that is
3589 processed is usually a subdocument of some master, then pretend
3590 for a while that it is actually the master
3592 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3594 * buffer.C (getLabelList):
3595 (getBibkeyList): use getMasterBuffer()
3596 (getMasterBuffer): new method. Returns the main document in the
3597 case where one is using included documents.
3599 2004-03-25 André Pönitz <poenitz@gmx.net>
3603 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3605 * ParagraphList_fwd.h: change ParagraphList to a std::vector
3607 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3608 text*.C over here. Rename namespace CutAndPaste to lyx::cap
3610 * ParameterStruct.h: merge with ParagraphParameters
3612 * lyxtext.h: remove LyXText::parOffset() and getPar()
3614 * text3.C: Remove all 'manual' update calls. We do now one per user
3615 interaction which is completely sufficient.
3619 * BufferView_pimpl.C:
3620 * FontIterator.[Ch]:
3622 * ParagraphParameters.[Ch]:
3627 * cursor_slice.[Ch]:
3634 * output_docbook.[Ch]:
3635 * output_latex.[Ch]:
3636 * output_linuxdoc.[Ch]:
3637 * output_plaintext.[Ch]:
3639 * paragraph_funcs.[Ch]:
3640 * paragraph_pimpl.[Ch]:
3648 * frontends/controllers/ControlDocument.C:
3649 * frontends/controllers/ControlErrorList.C:
3650 * frontends/controllers/ControlSpellchecker.C:
3653 * insets/insetbase.h:
3654 * insets/insetbibitem.C:
3655 * insets/insetbox.C:
3656 * insets/insetbranch.C:
3657 * insets/insetcaption.C:
3658 * insets/insetcharstyle.C:
3659 * insets/insetcharstyle.h:
3660 * insets/insetcollapsable.C:
3661 * insets/insetcollapsable.h:
3662 * insets/insetert.C:
3663 * insets/insetfloat.C:
3664 * insets/insetfoot.C:
3665 * insets/insetmarginal.C:
3666 * insets/insetnote.C:
3667 * insets/insetoptarg.C:
3668 * insets/insettabular.C:
3669 * insets/insettext.C:
3670 * insets/insettext.h:
3671 * insets/insetwrap.C:
3672 * mathed/math_mboxinset.C:
3673 * mathed/math_nestinset.C:
3674 * mathed/math_scriptinset.C:
3675 * mathed/math_scriptinset.h:
3678 2004-03-24 Angus Leeming <leeming@lyx.org>
3680 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3681 deal with any child processes that have finished but are waiting to
3682 communicate this fact to the rest of LyX.
3684 2004-03-24 Angus Leeming <leeming@lyx.org>
3686 64-bit compile fixes.
3688 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3689 (c-tor): pass lyx::pos_types rather than ints.
3691 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3694 * text.C (Delete): compile fix.
3695 (getPar): ensure that function declaration is the same as that in
3698 2004-03-23 Angus Leeming <leeming@lyx.org>
3700 * ispell.C (LaunchIspell):
3701 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3702 a boost::shred_ptr rather than a std::auto_ptr.
3704 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3706 * lyxfunc.C (getStatus): handle read-only buffers correctly;
3707 handle LFUN_FILE_INSERT_*
3709 * lyxrc.C (setDefaults, getDescription, output, read):
3710 * lyxrc.h: remove ps_command
3712 2004-03-22 Angus Leeming <leeming@lyx.org>
3714 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3715 Ensure that error_handler is processed once only and that all data
3716 is saved before attempting to output any warning messages.
3718 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3720 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
3722 * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3724 2004-03-19 André Pönitz <poenitz@gmx.net>
3726 * cursor.[Ch] (reset): take main text inset as argument
3728 * BufferView: adjust
3729 * BufferView_pimpl.C: adjust
3731 * paragraph.[Ch]: fix completely broken operator=()
3733 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3735 * LColor.C (getFromLyXName): make sure that the color name is used
3738 2004-03-17 Angus Leeming <leeming@lyx.org>
3741 * LyXAction.C (init): remove LFUN_FORKS_KILL.
3743 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3744 dialog and to kill a forked process.
3746 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3748 * text2.C (setCursorFromCoordinates): fix font problem
3750 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3752 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3753 bogus "rebuild cursor" code
3755 2004-03-11 André Pönitz <poenitz@gmx.net>
3757 * buffer.[Ch]: use InsetText instead of LyXText as container for
3760 * dociterator.[Ch]: drop the BufferView * member which is not needed
3761 anymore after the change to buffer.C
3763 * paragraph_funcs.C:
3767 * BufferView_pimpl.[Ch]:
3769 * cursor_slice.[Ch]: adjust
3771 * text3.C: fix bug in mathDispatch
3773 2004-03-08 André Pönitz <poenitz@gmx.net>
3775 * undo.[Ch]: use 'StableDocumentIterator' as base for
3778 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3781 * bufferparams.[Ch]: add jurabib support and param.
3783 * LaTeX.C: add FIXME/comment.
3785 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3787 * buffer.C: increment file format to 230.
3789 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
3791 * cursor.C (dispatch): avoid infinite loops
3793 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3795 * rowpainter.C (paintSelection): fix x coordinates
3797 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3799 * text.C (rowBreakPoint): fix breaking before displayed insets
3801 2004-03-01 André Pönitz <poenitz@gmx.net>
3803 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3805 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3809 * BufferView_pimpl.C:
3817 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3823 * BufferView_pimpl.C: rename textwidth -> maxwidth,
3824 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3826 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3828 * Bidi.[Ch] (computeTables): const correctness
3829 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3830 fill_hfill, fill_label_hfill and x from Row
3831 * lyxtext.h: prepareToPrint returns a RowMetrics
3832 * rowPainter.C: adjust
3833 * text.C (prepareToPrint): use width, not textWidth. adjust
3834 (redoParagraphInternal, cursorX): adjust
3835 * text2.C (getColumnNearX): adjust
3836 (init): put a default value to the top LyXText::width
3838 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3840 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3842 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3844 * lyxtext.h: add FontIterator class
3846 * text.C (FontIterator, operator*, operator->, operator++): add
3847 (rowBreakPoint, setRowWidth): adjust (fixing a
3850 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3852 * BufferView_pimpl.C (workAreaDispatch): allow also
3853 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3855 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
3857 * text.C (rowBreakPoint): fix a bug showing with very large insets
3859 2004-02-25 André Pönitz <poenitz@gmx.net>
3862 * cursor.[Ch]: move some mathed specific code to mathed
3864 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3866 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3867 use_tempdir in preferences
3868 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3870 * lyx_main.C: ensure that tempdir is valid
3871 * lyxlex.h: correct typo
3872 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3873 * paragraph.[Ch] (isMultiLingual): make const
3874 * cursor.[Ch] (openable): make const
3876 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3878 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3880 2004-02-20 André Pönitz <poenitz@gmx.net>
3882 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3884 * cursor.[Ch]: prepare for localized getStatus()
3890 * text3.C: streamlines the LyXText cursor movement handlers a bit.
3892 2004-02-20 André Pönitz <poenitz@gmx.net>
3894 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3896 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3898 * text2.C (setCursorFromCoordinates): switch to absolute coords
3900 (cursorDown): adjust
3901 * text3.C (dispatch): adjust
3903 2004-02-16 André Pönitz <poenitz@gmx.net>
3905 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3908 * cursor_slice.[Ch]: remove unneeded acessor function
3910 * lyxtext.h: rename rtl() to isRTL()
3918 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3920 * rowpainter.C (paintSelection): coord fix
3922 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3924 * Spacing.C: compile fix
3926 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3928 * cursor.C (dispatch): restore current_ before returning
3930 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3932 * text2.C (cursorUp, cursorDown): fix coords
3935 2004-02-12 André Pönitz <poenitz@gmx.net>
3940 * text3.C: add LCursor & parameter to most cursor movement functions
3941 remove usage of LyXText::cursorRow() and cursorPar()
3943 * cursor.[Ch]: add textRow() needed members
3946 * BufferView_pimpl.C:
3949 * BufferView_pimpl.C: adjust
3951 2004-02-11 André Pönitz <poenitz@gmx.net>
3955 * BufferView_pimpl.C: shift undo/redo handling
3957 * cursor.[Ch]: fix mathed crash
3960 * lyxtext.h: move selectionAsText to LCursor
3968 * rowpainter.C: fix excessive drawing
3970 2004-02-06 André Pönitz <poenitz@gmx.net>
3973 * BufferView_pimpl.[Ch]:
3974 * text3.C: move some text specific LFUN handling
3976 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
3978 * text3.C (checkInsetHit): adjust coords
3979 * text2.C (getColumnNearX): adjust coords
3980 (edit): adjust coords
3981 * text.C (getRowNearY): add two asserts
3983 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
3986 * format.C: add using std::distance to compile on gcc 2.95/stlport
3988 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
3990 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3992 2004-02-04 André Pönitz <poenitz@gmx.net>
3994 * BufferView.[Ch] (insertInset):
3995 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
4000 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
4002 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
4003 on the default clause of the switch
4004 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
4005 wasn't catched by LCursor::dispatch
4007 2004-02-03 André Pönitz <poenitz@gmx.net>
4010 * cursor.[Ch]: some additional asserts
4012 * undo.[Ch]: remove LyXText dependency in interface
4016 * lyxtext.h (firstPar, lastPar): remove dead functions
4021 * paragraph.[Ch]: adjust
4023 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
4025 * lyxfind.C (find): fix argument order in call to ::find
4027 2004-02-02 André Pönitz <poenitz@gmx.net>
4029 * cursor.[Ch]: remove direct access to anchor
4031 * text.C: remove findText() hack
4033 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
4035 * iterators.[Ch] (lockPath): remove in favour of...
4036 * BufferView.[Ch] (setCursor): this addition
4037 * BufferView.C (putSelectionAt): adjust
4038 * undo.C (performUndoOrRedo): adjust
4039 * lyxfunc.C (dispatch): adjust
4041 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
4043 * iterators.C (lockPath): add a missing slice
4044 * undo.C (performUndoOrRedo): remove redundant positioning code
4046 2004-02-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4048 * vc-backend.C (scanMaster): ";" -> ';'
4050 2004-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
4052 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
4053 std::binary_function
4055 * lyxtextclass.C (compare_name): rename to...
4056 (LayoutNamesEqual): ...this
4058 * lyxlex_pimpl.C (compare_tags): inherit from
4059 std::binary_function, put back into anon namespace
4061 * lyxfind.C (MatchString): inherig from std::binary_function
4062 (findChange): use empty() istead of !size()
4064 * format.C (FormatNamesEqual): new functor
4071 * converter.C (compare_Converter): rename to...
4072 (ConverterEqual): ...this, and fixup a bit.
4073 (getConverter): use it, and make function const
4074 (getNumber): use it, and make function const
4078 * bufferlist.C: add using boost::bind
4080 * MenuBackend.C (MenuNamesEqual): new functor
4081 (hasMenu): use it, and make function const
4082 (hasSubmenu): use nested bind to get rid of compare_memfun.
4084 2004-01-30 André Pönitz <poenitz@gmx.net>
4086 * BufferView_pimpl.C:
4089 * cursor_slice.[Ch]:
4092 * paragraph_funcs.C:
4093 * paragraph_funcs.h:
4097 * text3.C: move some of the edit(x,y) handling to the insets
4098 some coordinate changes.
4100 2004-01-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4102 * text.C: add using statements for std::advance and std::distance
4104 * paragraph.C: add using statement for std::distance
4106 * lyxfind.C: add using statement for std::advance
4108 * cursor.C (region): remove std:: from swap
4109 (openable): use nucleus in stead of operator->
4111 * BufferView.C: add using statements for std::distance and std::swap
4113 2004-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4115 * iterators.C: Remove the pimple, move the needed structures to
4116 the header file. Create accessor for the positions stack.
4117 (asPosIterator): remove function
4119 * PosIterator.C (PosIterator): move constructors to top of file
4120 (PosIterator): reimplement the constructor taking a ParIterator in
4122 (setFrom): new function
4123 (operator!=): inline it
4125 2004-01-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4127 * lyxfind.C (replaceAll): use std::advance
4129 * iterators.h: inherit from std::iterator.
4131 * PosIterator.C (advance, distance): remove
4132 * PosIterator.h: interit from std::iterator.
4134 2004-01-26 André Pönitz <poenitz@gmx.net>
4137 * BufferView_pimpl.[Ch]:
4141 * bufferview_funcs.C:
4151 * output_linuxdoc.C:
4152 * output_plaintext.C:
4154 * paragraph_funcs.[Ch]:
4155 * paragraph_pimpl.[Ch]:
4161 * text3.C: more IU: dumps most of the rest of the mathcursor
4162 implementation into cursor.[Ch]; "globalize" a bit of it.
4164 2004-01-25 Angus Leeming <leeming@lyx.org>
4166 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
4168 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4170 * LaTeXFeatures.h: add nice_ and nice() const
4171 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
4173 2004-01-20 André Pönitz <poenitz@gmx.net>
4176 * BufferView_pimpl.C:
4178 * bufferview_funcs.C:
4180 * cursor_slice.[Ch]:
4191 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
4192 LCursor and mathcursor parts to LCursor and InsetBase.
4194 2004-01-15 André Pönitz <poenitz@gmx.net>
4196 * cursor_slice.[Ch]: add a few covienience functions
4198 * funcrequest.[Ch]: remove BufferView * member
4200 * BufferView_pimpl.C:
4207 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
4209 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
4211 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
4212 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
4214 2004-01-13 André Pönitz <poenitz@gmx.net>
4217 * lyxtext.h: hide cursor and selection anchor behind accessor function
4220 * BufferView_pimpl.[Ch]:
4222 * bufferview_funcs.C:
4232 * cursor_slice.[Ch]: some integer type changes for inset unification
4234 * lyxcursor.[hC]: remove, it's CursorSlice now.
4237 * BufferView_pimpl.[Ch]:
4238 * bufferview_funcs.C:
4244 * textcursor.[Ch]: adjust
4246 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
4248 * text2.C (undoSpan): add and use
4249 * text.C (breakParagraph): use undoSpan (fix bug 578)
4252 2004-01-08 Angus Leeming <leeming@lyx.org>
4254 * BufferView_pimpl.C (MenuInsertLyXFile):
4255 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4256 * lyxfunc.C (menuNew, open, doImport):
4257 FileFilterList change to the FileDialog open and save functions.
4259 2004-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
4261 * ShareContainer.h: make isEqual and isUnique adaptable
4263 * CutAndPaste.C: make resetOwnerAndChanges adaptable
4265 2004-01-07 Angus Leeming <leeming@lyx.org>
4268 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
4270 * BufferView_pimpl.C (dispatch): act on these LFUNs.
4272 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
4273 functions replacing find, replace and replaceAll.
4275 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
4276 LFUN_WORDFIND(FORWARD|BACKWARD).
4278 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
4280 * text.C (breakParagraph): remove an outdated #warning
4282 2004-01-07 André Pönitz <poenitz@gmx.net>
4284 * lyxfind.C: somewhat clearer logic
4286 * text.C: prevent crash in cursorX on unitialized row cache
4288 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
4290 * lyxcursor.[Ch] (operator>): add
4291 * textcursor.C (selStart, selEnd): use std::min and std::max
4293 2004-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4295 * Chktex.C: include boost/format.hpp
4297 2004-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
4299 * InsetList.C: replace functor MathcIt with adaptable functor
4301 (insetIterator): modify accordingly
4303 * BranchList.h: move the BranchNamesEqual functor here from...
4304 * BranchList.C: ... to here
4306 * BranchList.C: new BranchListEqual fuctor, use it. Remove
4308 (add): replace a finding loop with std::find_if.
4310 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
4312 * output_docbook.C: moving LatexParam functionality into
4315 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4317 * buffer.C: increment format to 229.
4319 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
4322 * lyx_sty.[Ch]: remove minipageindent_def
4328 * text3.C: remove LFUN_INSET_MINIPAGE
4330 2003-12-28 Angus Leeming <leeming@lyx.org>
4332 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
4334 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
4336 * text2.C (setParagraph): fix off-by-one crash
4338 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
4340 * output_docbook.C: header stuff for AGU
4342 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
4344 * text2.C (redoCursor): remove
4347 * BufferView_pimpl.C: remove calls to redoCursor and
4348 setCursor(cursor.par(), cursor.pos()) all around
4350 2003-12-15 Angus Leeming <leeming@lyx.org>
4352 * buffer.C: up the format to 228.
4354 2003-12-15 André Pönitz <poenitz@gmx.net>
4356 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
4361 * BufferView_pimpl.C:
4370 2003-12-15 Angus Leeming <leeming@lyx.org>
4372 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
4373 than getFromGUIName to manipulate the color.
4375 2003-12-14 Angus Leeming <leeming@lyx.org>
4377 * BranchList.[Ch]: minimize the API.
4378 (Branch::getBranch, getColor): now return a 'const &'.
4379 (Branch::setSelected) now returns a bool set to true if the
4380 selection status changes.
4381 (BranchList::clear, size, getColor, setColor, setSelected,
4382 allBranches, allSelected, separator): removed.
4383 (BranchList::find): new functions, returning the Branch with
4385 (BranchList::add, remove): return a bool indicating that
4386 the operation was successful.
4388 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
4389 new InsetBranch::isBranchSlected member function.
4391 * LColor.[Ch]: mimimize the API.
4392 (fill): renamed as addColor and made private.
4393 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
4394 versions of these functions taking a string arg have been removed.
4396 * bufferparams.C (readToken):
4397 * lyxfunc.C (dispatch):
4398 * lyxrc.C (read): changes due to the altered BranchList and
4401 * factory.C (createInset, readInset): changes due to altered
4404 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4407 * lyxfunc.C: remove insetminipage. "minipage-insert"
4408 now produces a frameless minipage box inset.
4410 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4412 * textcursor.[Ch] (selStart,selEnd): add new methods
4413 remove selection::start, end, use LyXCursor::operator<
4414 * lyxcursor.[Ch] (operator<): add
4415 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
4416 * BufferView.[Ch] (unsetXSel): add
4417 * text2.C (clearSelection): use unsetXSel,adjust
4420 * rowpainter.C: adjust
4421 * bufferview_funcs.C (put_selection_at): adjust
4423 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4425 * BufferView_pimpl.C: small coord. correction
4427 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4429 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
4430 dragging over the splash screen.
4432 2003-12-11 Angus Leeming <leeming@lyx.org>
4434 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
4435 as it is now handled in LyXText::dispatch.
4437 * text3.C (doInsertInset): remove a level of nesting.
4439 2003-12-11 Angus Leeming <leeming@lyx.org>
4441 * factory.C (createInset): changes due to the changed interface to
4442 InsetCommandMailer::string2params.
4444 2003-12-10 Angus Leeming <leeming@lyx.org>
4446 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
4447 'dialog-show-new-inset <inset name>'
4449 2003-12-10 Angus Leeming <leeming@lyx.org>
4451 * buffer.C: up the format to 227.
4453 * factory.C: the box inset is now identified simply by 'Box'.
4455 2003-12-10 Angus Leeming <leeming@lyx.org>
4457 * buffer.C: up the format to 226.
4459 * factory.C: the note inset is now identified simply by 'Note'.
4461 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
4463 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
4464 when a pit is enough. Standarize a couple of loops.
4466 2003-12-05 Angus Leeming <leeming@lyx.org>
4468 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
4469 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
4470 data to the re-worked "log" dialog.
4472 2003-12-03 André Pönitz <poenitz@gmx.net>
4478 * paragraph_funcs.C:
4480 * text2.C: use Inset::getText instead of Inset::getParagraph
4482 2003-12-03 André Pönitz <poenitz@gmx.net>
4486 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
4487 InsetText::read() as LyXText::read()
4489 2003-12-02 Angus Leeming <leeming@lyx.org>
4491 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
4492 type. Add a comment in the implementation that the function uses
4493 the stream's bad() function rather than fail() as the std::streams
4496 2003-12-02 André Pönitz <poenitz@gmx.net>
4498 * lyxlex.[Ch]: make interface more similar to std::stream
4500 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
4502 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
4504 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
4506 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
4508 * vspace.[Ch]: remove VSpace::NONE
4510 2003-12-01 André Pönitz <poenitz@gmx.net>
4513 * lyxtext.h: move ParagraphList member to LyXText
4514 rename LyXText::ownerParagraphs to LyXText::paragraph
4517 * bufferview_funcs.C:
4527 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
4529 * undo.C: fix cursor positioning
4531 2003-12-01 John Levon <levon@movementarian.org>
4533 * BufferView_pimpl.C: fix a crash on exit with
4536 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
4538 * BranchList.C: fix setSelected() method.
4540 2003-11-28 André Pönitz <poenitz@gmx.net>
4542 * ParagraphParameters.[Ch]:
4543 * ParameterStruct.h: remove space above/below from Paragraph to
4546 * BufferView_pimpl.C:
4552 * paragraph_funcs.C:
4558 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
4560 * factory.C: Syntax change for CharStyles
4562 2003-11-28 André Pönitz <poenitz@gmx.net>
4567 * buffer.[Ch]: move LyXText member
4569 2003-11-28 André Pönitz <poenitz@gmx.net>
4571 * BufferView.[Ch]: make LyXText * text a private member
4573 * BufferView_pimpl.C:
4584 * output_plaintext.C: cleanup
4586 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
4589 * lyxtextclass.[Ch]: parametrize SGML document header
4591 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
4594 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4597 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
4599 * text2.C (setFont): rework using PosIterator (no more recursive)
4600 (setCharFont): no more needed
4601 (setLayout): no more selection cursors fiddling (done by redoCursor)
4602 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4603 destroy remaining ones)
4605 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
4607 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4609 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4612 * text3.C: adjust + re-allow multi par depth changes
4613 * textcursor.C: simplify a bit
4615 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
4621 * src/output_docbook.C:
4622 * src/output_latex.C:
4627 * src/text2.C: Introducing a number of tags parametrizing various
4628 XML formats that we may want to support
4630 2003-11-25 André Pönitz <poenitz@gmx.net>
4632 * InsetList.[Ch] (begein, end): inline as suggested by profiler
4634 * lyxtext.h (leftMargin/rightMargin): simplify interface
4641 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4643 * lyxfunc.C (dispatch): propogate the bibtex databases from the
4644 master file to any child files. Fixes bug 546.
4646 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4648 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4650 2003-11-24 André Pönitz <poenitz@gmx.net>
4652 * rowpainter.C: simplification
4654 * text2.C (updateCounters): remove call to redoParagraph on
4655 changed labels as this is far too expensive.
4657 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4659 * converter.C (convert): fix a crash: this function gets
4660 called with buffer == 0 from importer code.
4662 2003-11-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4664 * text3.C (cursorPrevious): make sure that we do not compare
4665 iterators form different containers.
4668 * rowpainter.C (paintSelection): make sure that we do not compare
4669 iterators from different containers.
4671 * text3.C (dispatch): [PRIOR] make sure that we do not compare
4672 iterators from different ParagraphList containers.
4675 * text2.C (LyXText): change order of initialization slightly
4676 (operator=): new function. copy all variables except cache_par_
4677 (moveUp): make sure that we do not compare iterators from
4678 different ParagraphList constainers.
4681 * text.C (firstPar): new function
4682 (lastPar): new function
4683 (endPar): new function
4685 * lyxtext.h: move things around and group public functions, public
4686 variables, private functions, private variables
4688 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
4690 * factory.C: change call to InsetERT constructor to avoid
4691 additional invocation of method status
4692 * text2.C (toggleInset): remove redundant update() call
4693 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4694 instead of a Bufferview pointer
4696 2003-11-21 André Pönitz <poenitz@gmx.net>
4698 * rowpainter.C: simplification
4700 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4702 * text3.C (dispatch): make possible to extend a word/row selection
4705 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4707 * lyxtext.h: x0_,y0_ -> xo_,yo_
4708 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4709 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4710 * rowpainter.C (paintRows): paint full paragraphs
4712 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4714 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4717 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4719 * lyxtext.h: add x0_, y0_
4720 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4721 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4723 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
4725 * text2.C (setCursorIntern): move the x_target update here *
4726 * text3.C: change some bv() to true/false in calls to
4727 cursorUp/Down/Right/Left
4728 * cursor.C: use helper function.
4730 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4732 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4733 * paragraph_funcs.[Ch]: correct comment
4734 * rowpainter.C: do not paint selections away from bv->cursor()
4735 Fix a long standing selection painting bug.
4736 * text3.C: generalize mouse-selection code to LyXTexts other that
4738 * textcursor.C: do not use y coords if we can use par offsets
4740 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4742 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4743 cursor position after e.g. inset insert)
4745 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
4747 * lyxfind.C (replace): adjust to locking removal + some
4750 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
4752 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4755 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
4758 * output_docbook.C: XML sanitation: new layout
4759 parameters InnerTag and CommandDepth
4761 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
4763 * BufferView_pimpl.C:
4765 * text3.C: Fix the insertion and modification of button-style
4768 2003-11-13 André Pönitz <poenitz@gmx.net>
4770 * InsetList.[Ch]: remove deleteLyXText
4772 * paragraph.[Ch]: cache beginOfBody position
4777 * text3.C: remove superfluous update() calls
4781 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
4783 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4784 * BufferView.C (fitLockedInsetCursor): remove
4785 * cursor.[Ch] (getDim): add
4786 * text.C (getRowNearY): add faster version
4787 * text3.C: remove some update calls
4789 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
4801 * text3.C: The Character Style /XML short element patch.
4803 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
4806 * factory.C: Small step to solving 'unable to insert some insets'
4809 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
4811 * cursor.[Ch] (updatePos): new function for updating the y
4812 position of the tip inset
4813 * bufferview_funcs.C (put_selection_at):
4814 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4816 2003-11-11 André Pönitz <poenitz@gmx.net>
4818 * text.C: remove big comment on invalid Paragraph pointers as it is
4821 2003-11-11 André Pönitz <poenitz@gmx.net>
4823 * text_funcs.[Ch]: merge with ...
4831 * Makefile.am: remove text_funcs.[Ch]
4833 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
4835 * cursor.C (getPos): return absolute cached y coord
4837 * BufferView_pimpl.C (fitCursor): new simplistic code
4838 (workAreaDispatch): add a fitCursor call
4840 2003-11-10 André Pönitz <poenitz@gmx.net>
4843 * BufferView_pimpl.[Ch]: merge update() and updateInset()
4845 2003-11-10 André Pönitz <poenitz@gmx.net>
4847 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4848 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4849 indicate that the cursor needs to leave an inset
4851 * lyxtext.h: remove inset locking
4853 * cursor.[Ch]: re-implement functionality provided by inset locking
4856 * BufferView_pimpl.[Ch]:
4858 * bufferview_funcs.[Ch]:
4870 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
4872 * PosIterator.[Ch]: replace the stack with a vector, add inset
4874 * iterators.[C]: adjust
4876 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4878 * lyxfind.C (replaceAll): mark the buffer dirty if something was
4880 * paragraph_funcs.C (readParToken): put the correct id in the
4881 error item, not the id of the top paragraph
4883 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4885 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4886 * bufferview_funcs.C (put_selection_at): use the above
4888 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4890 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4892 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4894 * output_linuxdoc.h:
4895 * output_plaintext.h:
4897 * output_docbook.h: add #include statements
4899 2003-11-05 José Matos <jamatos@lyx.org>
4901 * output_docbook.[Ch]:
4902 * output_latex.[Ch]:
4903 * output_linuxdoc.[Ch]:
4904 * output_plaintext.[Ch]: New files for output formats.
4905 * output.[Ch]: New file for helper functions.
4908 * paragraph_funcs.[Ch]: output functions moved to new files.
4910 * outputparams.h: rename of latexrunparams.h
4918 * paragraph_funcs.[Ch]:
4919 * paragraph_pimpl.[Ch]:
4920 * tabular.[Ch]: rename ascii to plaintext
4921 and LatexRunParams to OutputParams.
4923 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4925 * iterators.[Ch] (text): require bv argument
4926 * undo.C (recordUndo):
4927 * lyxfunc.C (dispatch):
4928 * bufferview_funcs.C (put_selection_at): adjust
4930 2003-11-05 Jo� Luis M. Assirati <assirati@fma.if.usp.br>
4932 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4934 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4936 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4939 2003-11-04 André Pönitz <poenitz@gmx.net>
4941 * cursor.[Ch]: restructure
4944 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4946 * iterators.[Ch] (asCursor): remove
4948 * lfuns.h: remove LFUN_INSET_EDIT
4954 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4956 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4958 * lyxfind.[Ch]: complete overhaul
4959 * BufferView_pimpl.C:
4961 * paragraph.[Ch] (insert): add
4963 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4967 * text.C: remove dead spellcheck code
4969 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4971 * dispatchresult.h: add a val setter
4973 * cursor.C (dispatch): use a tempvar for data_[i]
4975 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4977 * PosIterator.[Ch]: compile fix
4979 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4981 * text.C (cursorPar): deactivate the cursor cache
4983 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4985 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4987 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4989 * text3.C (dispatch): adjust for new DisptchResult semantics.
4991 * lyxfunc.C (dispatch): handle update when return from
4992 Cursor::dispatch, adjust for new DispatchResult semantics.
4994 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4995 DispatchResult(true) mean to not update. Add class functions for
4996 setting dispatched and update, as well as reading.
4998 * cursor.C (dispatch): don't handle update here
5000 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5002 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
5003 * trans_mgr.C: adjust
5005 * paragraph_funcs.C (readParToken): exception safety
5007 * lyxvc.h: store the vcs pointer in a scoped_ptr
5010 * lyxsocket.C (serverCallback): exception safety
5012 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
5014 * ispell.C (clone): make it return a auto_ptr
5016 * factory.C (createInset): exception safety
5017 (readInset): exception safety
5019 * bufferlist.C (newBuffer): exception safety
5021 * Thesaurus.C (Thesaurus): use initialization for aik_
5023 * MenuBackend.C (expandToc): exception safety.
5025 2003-11-03 André Pönitz <poenitz@gmx.net>
5029 * bufferview_funcs.C: remove getInsetFromId()
5032 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
5038 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
5040 * PosIterator.C (distance, advance): new
5041 * bufferview_funcs.[Ch] (put_selection_at): new
5042 * iterators.[Ch] (lockPath): new
5044 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
5046 * iterators.[Ch] (asPosIterator): added
5047 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
5048 * PosIterator.[Ch]: added
5050 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5054 * cursor.C (dispatch):
5055 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
5057 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
5058 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
5059 contructor, add a class function dispatched. Remove operator>=
5061 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5063 * debug.C: only use the default constructor for debugstream
5066 * main.C (main): include debug.h and setup the lyxerr streambuf
5069 2003-10-31 José Matos <jamatos@lyx.org>
5071 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
5073 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
5074 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
5075 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5076 * paragraph_pimpl.C (simpleTeXSpecialC):
5077 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
5078 add LatexRunParams argument.
5080 * exporter.C (Export): change call accordingly.
5082 * latexrunparams.h: add new member to take care of the other backends.
5083 2003-10-30 José Matos <jamatos@lyx.org>
5085 * buffer.C (makeLinuxDocFile, makeDocBookFile):
5086 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5087 factorise code for paragraph output.
5089 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
5092 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5094 * text3.C (dispatch):
5095 * lyxfunc.C (dispatch):
5096 * cursor.C (dispatch):
5097 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
5099 * dispatchresult.h: make the dispatch_result_t ctor explicit
5101 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
5104 * buffer.C: small refactoring of docbook stuff
5106 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5108 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
5111 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5113 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
5114 operator dispatch_result_t, and operators for == != and >=
5116 * cursor.C (dispatch): adjust for operator dispatch_result_t
5117 removal. comment out call to update
5119 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
5121 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5129 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
5132 * dispatchresult.h: new file, DispatchResult broken out of
5135 * Makefile.am (lyx_SOURCES): add dispatchresult.h
5137 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
5139 * text.C (rowBreakPoint): put a hack inside #if 0
5141 2003-10-28 André Pönitz <poenitz@gmx.net>
5145 * paragraph_funcs.C:
5148 * text2.C: general cleanup (lots of small stuff)
5150 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
5152 * text2.C (cursorEnd): simple fix to the "end key goes to one
5153 before the end on last row" bug
5155 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5157 * text.C (backspace): fix the "zombie characters"
5159 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5161 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
5163 2003-10-27 André Pönitz <poenitz@gmx.net>
5165 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
5167 * factory.C: handle new InsetPagebreak, InsetLine
5169 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
5170 and move handling into new InsetPagebreak, InsetLine
5172 * BufferView_pimpl.C:
5174 * ParagraphParameters.C:
5175 * ParameterStruct.h:
5180 * paragraph_funcs.C:
5181 * paragraph_pimpl.C:
5187 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5190 * lyxrow_funcs.[Ch]:
5196 * text3.C: remove lastPos uses in favour of Row::endpos
5198 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5200 * undo.C (performUndoOrRedo): fix two crashes by setting a
5201 cursor by hand and reordering some calls. Use bv->lockInset instead
5202 of inset->edit because the latter loses cursor information
5204 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
5206 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
5208 (rowBreakPoint): fix width. change point to point + 1.
5209 Add a missing check.
5211 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
5214 * lyxfunc.C: fix (at least partly) the problems
5215 with the Nav menu and headers inside branch insets
5218 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
5220 * paragraph.C (getChar): add strong asserts
5222 * lyxrow_funcs.C (lastPos): remove hideous hack
5224 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
5225 (fill): adjust to that (avoid an infinite loop)
5227 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
5229 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
5231 2003-10-23 André Pönitz <poenitz@gmx.net>
5233 * RowList_fwd.h: change list<> to vector<> to gain speed
5234 after suggestion from Alfredo
5236 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
5238 * lyxtext.h: move the bidi stuff from here...
5241 * Bidi.[Ch]: ... to here
5243 2003-10-23 André Pönitz <poenitz@gmx.net>
5246 * text.C (isLastRow, isFirstRow): new functions
5248 * paragraph.h: new width cache member
5250 * rowpainter.C: replace RowList::iterator with Row & where possible
5252 * lyxfunc.C: replace several view()->text with a single call
5254 * toc.C: fix 'unused' warning
5256 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5258 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
5259 when woring with stream::pos_type
5260 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
5262 2003-10-22 André Pönitz <poenitz@gmx.net>
5265 * text.C: use Row & instead of RowList::iterator
5267 * lyxrow.h: rename end() to endpos()
5273 2003-10-22 Angus Leeming <leeming@lyx.org>
5275 * buffer.[Ch] (fully_loaded): new member function, returning true
5276 only when the file has been loaded fully.
5277 Used to prevent the premature generation of previews and by the
5278 citation inset to prevent computation of the natbib-style label.
5280 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
5281 templates are all set up.
5283 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
5285 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
5287 * text.C: fixed an "oops" in the "is a bit silly"
5290 2003-10-21 André Pönitz <poenitz@gmx.net>
5292 * FuncStatus.[Ch]: small stuff, whitespace
5294 * lyxfont.[Ch]: operator<<() for debug reasons
5298 * lyxtext.h: whitespace, spelling
5300 * paragraph.C: naming of variables
5303 * text2.C: small stuff
5306 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
5308 * text.C: (1) finish off the inset display() work;
5309 (2) fix the "is a bit silly" bug (accessing char
5312 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
5314 * text.C: re-introduce display() for insets, fixing the
5315 various bugs (stretch of line above, math inset
5318 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5320 * text.C (rightMargin): remove spurious semicolon
5322 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
5325 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
5327 * text3.C: fix one crash due to wrong cursor def
5329 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5331 * vc-backend.C (scanMaster): make the regex static
5333 * LaTeX.C (scanAuxFile): make the regexs static
5335 * text3.C (doInsertInset, dispatch, dispatch):
5336 * text2.C (cursorUp, cursorDown):
5337 * text.C (selectNextWordToSpellcheck):
5338 * BufferView_pimpl.C (dispatch):
5339 * lyxfunc.C (dispatch): localDispatch -> dispatch
5341 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5343 * lyxsocket.C: include <cerrno>
5345 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5347 * lyxfunc.C (dispatch): remove textcache stuff
5349 * bufferlist.C (release): remove textcache stuff
5352 * TextCache.C: delete file
5353 * TextCache.h: delete file
5355 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
5357 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
5358 delete of the bv_->text.
5359 (resizeCurrentBuffer): remove texcache stuff
5360 (workAreaResize): ditto
5362 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5364 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
5367 2003-10-16 André Pönitz <poenitz@gmx.net>
5374 * text3.C: speed up by storing y positions per paragraph plus per-row
5375 offset instead of having a 'full' y position in the row.
5377 2003-10-15 André Pönitz <poenitz@gmx.net>
5381 * undo.[Ch]: make undo aware of inner insets
5383 2003-10-14 Angus Leeming <leeming@lyx.org>
5385 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
5386 static member functions LyX::ref() and LyX::cref.
5387 (lastfiles): new accessor functions for the new lastfiles_ member var.
5388 (addLyXView, views_): add a new LyXView to the list of views_.
5389 (updateInset): loop over all LyXViews to call their own updateInset
5390 member function, returning a pointer to the Buffer owning the inset.
5392 * BufferView_pimpl.C (loadLyXFile):
5393 * MenuBackend.C (expandLastfiles):
5394 * bufferlist.C (MenuWrite, QuitLyX):
5395 lastfiles is no longer a global variable.
5396 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
5398 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
5399 static function. Access through LyX::cref().emergencyCleanup().
5401 2003-10-14 André Pönitz <poenitz@gmx.net>
5403 * iterators.[Ch]: new direct access to innermost LyXText and Inset
5405 * undo.[Ch]: restoring part of 'undo in insets'
5408 * undo_funcs.[Ch]: merge with undo.[Ch]
5410 * tabular.C: small cleansing stuff
5412 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
5414 * paragraph_funcs.C (readParToken): report unknown insets as error
5415 boxes. Use the outer paragraph as location (also for unknown
5418 * factory.C (readInset): do not abort on reading an unknown inset.
5419 Eat it and return 0.
5421 2003-10-13 Angus Leeming <leeming@lyx.org>
5423 * lyx_main.C (LyX): remove call to setDisplayTranslator().
5425 * lyxrc.C: displayTranslator is now a function,
5426 declared in GraphicsTypes.h.
5428 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5430 * format.C: new placeholder $$a to pass the socket address.
5432 * bufferlist.[Ch]: new function getBufferFromTmp.
5434 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
5435 files in the temporary dir.
5437 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5439 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
5441 * Makefile.am: add lyxsocket.[Ch].
5443 * lyx_main.C (error_handler): handle SIGPIPE.
5445 2003-10-13 André Pönitz <poenitz@gmx.net>
5447 * BufferView_pimpl.C:
5452 * undo_funcs.[Ch]: use paroffset_type instead of
5453 ParagraphList::iterators to prevent multiple conversion
5454 (and get a more robust interface)
5456 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5458 * lyxfunc.C (dispatch): RESULT -> dispatch_result
5460 * text3.C (dispatch): ditto
5462 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5464 * LaTeX.C (handleFoundFile): move the static to smaller scope,
5465 move the onlyfile, use onlyfile instead of foundfile in a couple
5468 * DepTable.C (update): flush the error stream a bit more
5470 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5472 * lyxserver.C (callback): adjust
5474 * lyxfunc.C (getStatus): add a missing brace in commented code
5475 (ensureBufferClean): reindent
5476 (dispatch): delete version taking a string
5478 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5480 * LaTeX.C (deplog): move found file handlig from here...
5481 (handleFoundFile): .. to new function here.
5482 (deplog): make sure to discover several files mentioned on the
5485 2003-10-10 André Pönitz <poenitz@gmx.net>
5492 * text3.C: fix some of the tabular crashes
5494 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5496 * MenuBackend.C (binding): put debug message into Debug::KBMAP
5498 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
5500 2003-10-09 André Pönitz <poenitz@gmx.net>
5502 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
5505 * BufferView_pimpl.C:
5506 * bufferview_funcs.C:
5517 * undo_funcs.C: adjust
5519 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5521 * text2.C (incrementItemDepth): new function, use a backtracking
5522 algorithm to discover the correct item depth.
5523 (resetEnumCounterIfNeeded): new function, use a backtracking
5524 algorithm to discover if counter reset is needed.
5525 (setCounter): use them. Simplify a bit. Add different labels for
5526 different item depths for itemize.
5528 * paragraph.C (Paragraph): remove initialization of enumdepth
5531 * paragraph.h: get rid of enumdepth, and use itemdepth both for
5532 enumerate and itemize. Change the type of itemdepth to signed char.
5534 2003-10-08 André Pönitz <poenitz@gmx.net>
5536 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5541 * tabular.[Ch]: fix crash after 'row-insert'
5543 2003-10-08 Angus Leeming <leeming@lyx.org>
5545 Fix doxygen warnings.
5547 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5548 Remove CutAndPaste:: prefix from header file declaration.
5550 * LColor.h (fill): remove LColor:: prefix from declaration.
5552 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5553 use lyx::depth_type rather than Paragraph::depth_type so that
5554 header file and .C file match.
5556 * converter.h (intToFormat): remove Converters:: prefix from declaration.
5558 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5559 * aspell.C: \file aspell_local.C -> \file aspell.C
5560 * gettext.C: \file gettext.C -> \file src/gettext.C
5561 * gettext.h: \file gettext.h -> \file src/gettext.h
5562 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5563 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5564 * text.C: \file text.C -> \file src/text.C
5566 * toc.C: move comment so that doxygen is not confused.
5568 2003-10-07 Angus Leeming <leeming@lyx.org>
5570 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5572 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5575 * aspell_local.h: add forgotten std::string's.
5577 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
5584 * text3.C: The Box patch. Fancybox support, minipage, parbox
5586 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
5592 * ParagraphParameters.h:
5602 * lyxtextclasslist.h:
5605 * paragraph_pimpl.C:
5606 * textcursor.h: add <string> and other small fixes to make Lars'
5607 std::string patch compile with STLport.
5609 2003-10-06 Angus Leeming <leeming@lyx.org>
5611 * LColor.h: Add missing #include <string>.
5613 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5615 * All most all file in all subdirs: Make <string> be the prefered
5616 way of getting to std::string, add using declarations.
5618 2003-10-06 André Pönitz <poenitz@gmx.net>
5620 * metricsinfo.C: initialize LyXFont before changing attribute.
5621 (fixes the 'math in \emph is upright' bug)
5623 2003-10-06 André Pönitz <poenitz@gmx.net>
5625 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5627 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
5630 * paragraph_pimpl.C: Small fixes to build using STLport
5632 2003-10-02 André Pönitz <poenitz@gmx.net>
5635 * text3.C: move handling of LFUN_DEPTH *; fix #1360
5637 2003-10-01 André Pönitz <poenitz@gmx.net>
5639 * factory.C: assert early
5641 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5643 * lyx_main.C: remove the global debug object
5645 * debug.h: adjust for new debugstream
5647 * debug.C: adjust for new debugstream and keep the global debug
5650 2003-09-22 Angus Leeming <leeming@lyx.org>
5652 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5653 of g++ which otherwise complain that the scoped_ptr destructor can't delete
5654 an incomplete class LyXFont.
5656 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
5658 * factory.C: bug fix in branches
5660 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5662 * lyxfunc.C (processKeySym): adjust
5664 (dispatch): change arg name from ev to func, adjust
5665 (sendDispatchMessage): ditto
5667 * lyx_main.C (defaultKeyBindings): adjust keybindings
5668 (deadKeyBindings): ditto
5670 * kbsequence.C (addkey): return a FuncRequest
5672 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5674 * kbmap.C (bind): take a FuncRequest as arg, adjust
5677 (defkey): change to take a FuncRequest as arg, adjust
5678 (findbinding): take a FuncRequest as arg, adjust.
5680 * funcrequest.h (operator=): added
5682 * funcrequest.C (FuncRequest): default kb_action changed from
5683 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5685 * buffer.C (dispatch): simplify
5686 (dispatch): adjust to take a FuncRequest as arg, adjust
5688 * boost.C (assertion_failed): change assertion message slightly
5690 * ToolbarBackend.C (read): simplify
5692 * MenuBackend.C (binding): adjust call to findbinding, add a
5693 message if no binding is found.
5695 (expandToc): correct by adding a empty FuncRequest
5697 * LyXAction.C: include <boost/assert.hpp>
5698 (isPseudoAction): delete function
5699 (LookupFunc): change name to...
5700 (lookupFunc): this. change return type to FuncRequest.
5701 (getActionName): take kb_action as arg, simplify
5702 (funcHasFlag): add an assert, simplify.
5704 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5706 * toc.C (action): return a FuncRequest, simplify
5708 * lyxfunc.C (processKeySym): adjust
5709 (getStatus): delete version that takes an int.
5711 (dispatch): delete version that takes action as int
5713 (sendDispatchMessage): simplify and adjust
5715 * funcrequest.C (getArg): take unsigned int as arg
5717 * ToolbarBackend.C (read): adjust
5718 (add): delete version that takes func as a string.
5719 (getIton): take a FuncRequest as arg
5721 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5724 * MenuBackend.C (MenuItem): add a new construct that only takes a
5725 Kind, simplify the constructor use for submenus.
5727 (expandLastfiles): adjust
5728 (expandDocuments): adjust
5729 (expandFormats): adjust
5730 (expandFloatListInsert): adjust
5731 (expandFloatInsert): adjust
5732 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5734 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5735 Remove class variables lyx_pseudo_map and lyx_arg_map
5737 * LyXAction.C (searchActionArg): delete function
5738 (getPseudoAction): delete function
5739 (retrieveActionArg): delete function
5740 (LookupFunc): make it return kb_action, simplify.
5741 (getActionName): simplify
5743 * factory.C (createInset): fix new bug
5745 2003-09-19 Angus Leeming <leeming@lyx.org>
5747 * CutAndPaste.C (pasteSelection): remove fudge used to set the
5748 masterFilename_ parameter in the include inset.
5750 * factory.C (createInset): changes due to the changes to InsetInclude.
5752 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5754 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5756 2003-09-18 Angus Leeming <leeming@lyx.org>
5759 * BufferView.C: pass the buffer when calling Inset::getLabelList,
5760 Inset::fillWithBibKeys.
5761 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5763 2003-09-18 Angus Leeming <leeming@lyx.org>
5765 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5767 (ctor): pass and store a 'Buffer const &'
5768 (buffer): new member function.
5770 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5771 '*this' to the LaTeXFeatures ctor.
5773 2003-09-18 Angus Leeming <leeming@lyx.org>
5779 * text.C: rename EnumLColor as LColor_color.
5781 2003-09-18 Angus Leeming <leeming@lyx.org>
5783 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5784 remove #include "insets/insetbase.h" from cursor.h.
5786 2003-09-18 Angus Leeming <leeming@lyx.org>
5788 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5789 InsetOld_code to remove #include "inset.h".
5791 * iterators.C: add #include "insets/inset.h"
5793 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
5795 * BufferView.C: remove more locking stuff that apparently doesn't
5796 do anything sensible.
5798 2003-09-16 André Pönitz <poenitz@gmx.net>
5801 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5804 2003-09-16 Angus Leeming <leeming@lyx.org>
5806 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5808 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5811 * paragraph.h: remove #include "lyxfont.h". Forward declare
5814 2003-09-16 Angus Leeming <leeming@lyx.org>
5816 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5817 of support/textutils.h.
5818 (isWord): move the contents of support/textutils.h's IsWordChar here.
5824 * text2.C: add #include "paragraph.h".
5827 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5829 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5835 * LaTeX.C: use namespace alias for lyx::support::os
5837 2003-09-16 Angus Leeming <leeming@lyx.org>
5840 * bufferview_funcs.C:
5843 * paragraph_pimpl.C:
5845 * text.C: add #include "LColor.h".
5847 2003-09-16 Angus Leeming <leeming@lyx.org>
5849 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5850 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5852 Store the FontBits::color variable as an int rather than as an
5853 LColor::colorso that we can move LColor.h out of the lyxfont.h header
5856 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5857 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5858 string calls together.
5860 * lyxrc.C: add #include "LColor.h".
5862 2003-09-15 Angus Leeming <leeming@lyx.org>
5864 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5867 2003-09-15 Angus Leeming <leeming@lyx.org>
5869 * LColor.h: add an EnumLColor wrapper for LColor::color.
5871 * lyxfont.[Ch] (color, setColor, realColor):
5872 * lyxtext.h, text.C (backgroundColor):
5873 pass EnumLColor args to/from the functions, rather than LColor::color
5877 * lyxtext.h: forward declare EnumLColor.
5879 * lyx_main.C: add #include "LColor.h".
5881 2003-09-15 Angus Leeming <leeming@lyx.org>
5883 * .cvsignore: add lyx-gtk.
5885 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5890 * ParagraphParameters.C
5894 * bufferview_funcs.C
5904 * vc-backend.C: remove usage of STRCONV
5906 2003-09-15 Angus Leeming <leeming@lyx.org>
5908 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5909 explicitly define the color passed to the painter.
5911 2003-09-15 Angus Leeming <leeming@lyx.org>
5913 * bufferparams.C (BufferParams): reorder member initializers to avoid
5916 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
5918 * CutAndPaste.C (pasteSelection): remove an outdated #warning
5919 * text.C (updateRowPositions): remove an unusual nop
5921 2003-09-12 André Pönitz <poenitz@gmx.net>
5923 * BufferView_pimpl.C:
5932 * Counters.[Ch]: finish the 'automatic counters' job
5934 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5936 * aspell.C: include <boost/assert.cpp> (compile fix)
5938 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
5940 * boost.C (assertion_failed): use lyx::support::abort instead of
5943 2003-09-10 Angus Leeming <leeming@lyx.org>
5945 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5946 with their _fwd progeny.
5948 2003-09-09 Angus Leeming <leeming@lyx.org>
5950 134 files throughtout the source tree: replace 'using namespace abc;'
5951 directives with the appropriate 'using abc::xyz;' declarations.
5953 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5955 * boost.C (emergencyCleanup): moved here from LAssert.c
5956 (assertion_failed): new function, called by BOOST_ASSERT
5958 * several files: change Assert to BOOST_ASSERT
5960 2003-09-09 Angus Leeming <leeming@lyx.org>
5962 * buffer.[Ch]: Add an Impl class and move Buffer's member
5963 variables into it. As a result move several header files out of
5966 Add header files to lots of .C files all over the tree as a result.
5968 2003-09-09 Angus Leeming <leeming@lyx.org>
5970 * buffer.[Ch]: make Buffer's member variables private. Add
5973 Lots of changes all over the tree as a result.
5975 2003-09-08 Angus Leeming <leeming@lyx.org>
5977 * graph.C: #include <config.h>.
5979 2003-09-08 Angus Leeming <leeming@lyx.org>
5983 * BufferView_pimpl.C:
6012 * toc.C: remove redundant using directives.
6014 2003-09-07 Angus Leeming <leeming@lyx.org>
6016 * LaTeXFeatures.h: remove #include "support/types.h".
6017 * ToolbarBackend.h: remove #include <algorithm>.
6018 * changes.h: remove #include <ctime>.
6019 * debug.h: remove #include <iosfwd>.
6020 * graph.h: remove #include "support/std_string.h".
6021 * lyx_main.h: remove #include <csignal>.
6022 * lyxlex_pimpl.h: remove #include <fstream>.
6023 * sgml.h: remove #include <algorithm>, <utility>.
6024 * toc.h: remove #include "support/std_ostream.h".
6025 Add #include <iosfwd>.
6027 2003-09-07 Angus Leeming <leeming@lyx.org>
6029 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
6031 * converter.h: forward declare LatexRunParams.
6032 * encoding.h: remove #include "lyxrc.h".
6033 * lyxtext.h: remove #include "LColor.h".
6034 * lyxtextclass.h: remove #include "support/types.h".
6035 * trans.h: remove #include "tex-accent.h".
6036 * trans_mgr.h: remove #include "tex-accent.h".
6037 * insets/inset.h: remove #include "support/types.h", <vector>.
6038 * insets/insetcollapsable.h: remove #include "LColor.h".
6039 * insets/insetinclude.h: remove #include "dimension.h".
6040 * insets/insetlatexaccent.h: remove #include "dimension.h".
6041 * insets/insetoptarg.h:: remove #include "insettext.h".
6042 * insets/insettext.h: remove #include "dimension.h",
6043 <boost/shared_ptr.hpp>
6045 * insets/renderers.h: add #include "dimension.h".
6046 * insets/updatableinset.h: add #include "support/types.h".
6048 * many .C files: Associated changes.
6050 2003-09-06 Angus Leeming <leeming@lyx.org>
6052 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
6053 one, inside testInvariant.
6055 * PrinterParams.C: new file.
6056 * PrinterParams.[Ch]: move the function bodies out of line.
6058 2003-09-06 Angus Leeming <leeming@lyx.org>
6060 * ParagraphParameters.h: forward declare ParameterStruct rather than
6061 including its header file.
6062 (depth): moved out-of-line.
6064 2003-09-06 Angus Leeming <leeming@lyx.org>
6066 * BufferView_pimpl.h:
6069 * lyxfunc.h: forward declare LyXKeySym rather than
6070 #include "frontends/LyXKeySym.h".
6072 * BufferView_pimpl.C:
6075 * lyxfunc.C: associated changes.
6077 2003-09-06 Angus Leeming <leeming@lyx.org>
6079 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
6080 As a result, can remove the #include "insets/inset.h" from BufferView.h
6082 2003-09-06 Angus Leeming <leeming@lyx.org>
6084 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
6085 As a result, can remove the #include "insets/inset.h" from BufferView.h
6087 2003-09-06 Angus Leeming <leeming@lyx.org>
6093 * bufferview_funcs.C:
6094 * BufferView_pimpl.C:
6099 * ParagraphParameters.C:
6104 * frontends/controllers/ControlDocument.C:
6105 * insets/insetcaption.C: rearrange the #includes into some sort of
6108 * buffer.h: remove #includes ErrorList.h, undo.h
6110 2003-09-06 Angus Leeming <leeming@lyx.org>
6112 * support/types.h: add a 'depth_type' typedef, used to store the
6113 nesting depth of a paragraph.
6116 * ParameterStruct.h: use this lyx::depth_type typedef rather than
6117 defining explicitly.
6120 * paragraph_funcs.h:
6121 * ParagraphParameters.h:
6122 * sgml.h: use lyx::depth_type rather than Paragraph or
6123 ParameterStruct's depth_type.
6126 * paragraph_funcs.h: no need to #include paragraph.h anymore.
6129 * BufferView_pimpl.C:
6131 * ParagraphParameters.C:
6134 * bufferview_funcs.C:
6141 * frontends/LyXView.C:
6142 * frontends/controllers/ControlDocument.C:
6143 * frontends/controllers/ControlErrorList.C:
6144 * insets/insetbibitem.C:
6145 * insets/insetbranch.C:
6146 * insets/insetcaption.C:
6147 * insets/insetcollapsable.C:
6148 * insets/insetenv.C:
6149 * insets/insetert.C:
6150 * insets/insetfloat.C:
6151 * insets/insetfoot.C:
6152 * insets/insetfootlike.C:
6153 * insets/insetnewline.C:
6154 * insets/insetquotes.C:
6155 * insets/insettabular.C:
6156 * insets/insettext.C:
6157 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
6159 * frontends/controllers/ControlChanges.C: #include "changes.h".
6161 2003-09-06 Angus Leeming <leeming@lyx.org>
6163 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
6164 than #including paragraph.h.
6167 * RowList.h: deleted. Superfluous.
6177 * insets/insettext.h: use ParagraphList_fwd.h rather than
6180 * paragraph.h: don't forward declare ParagraphList.
6183 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
6184 rather than ParagraphList.h. paragraph.h is still needed for the
6185 Paragraph::depth_type parameters.
6187 * textcursor.h: enable it to compile stand-alone in light of the
6190 * bufferview_funcs.C:
6202 * frontends/controllers/ControlParagraph.C:
6203 * frontends/controllers/ControlTabular.C:
6204 * insets/insetmarginal.C:
6205 * insets/insetminipage.C:
6206 * insets/insetnote.C:
6207 * insets/insetoptarg.C: add header files needed to compile again.
6209 2003-09-06 Angus Leeming <leeming@lyx.org>
6211 * RowList_fwd.h: new file, forward-declaring Row rather than
6212 #including lyxrow.h.
6217 * insets/insettext.h: use it instead of RowList.h
6219 * bufferview_funcs.C:
6226 * text3.C: #include "RowList.h".
6228 2003-09-05 Angus Leeming <leeming@lyx.org>
6230 * factory.C (createInset):
6231 * vspace.C (c-tor): replace sscanf call with an istringstream.
6232 * ispell.C: re-add missing HP/UX headers.
6233 * lyxserver.C: re-add missing os2 headers.
6235 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
6244 * text3.C: re-add missing system headers, needed for 2.95.2.
6246 2003-09-05 Angus Leeming <leeming@lyx.org>
6248 Changes most place everywhere due to the removal of using directives
6249 from support/std_sstream.h.
6251 2003-09-05 Angus Leeming <leeming@lyx.org>
6253 Replace LString.h with support/std_string.h,
6254 Lsstream.h with support/std_sstream.h,
6255 support/LIstream.h with support/std_istream.h,
6256 support/LOstream.h with support/std_ostream.h.
6258 Changes resulting throughout the tree.
6260 2003-09-05 Angus Leeming <leeming@lyx.org>
6262 * sgml.h: ensure that the header file can be compiled stand-alone.
6263 * *.C: strip out redundant #includes. (320 in total.)
6265 2003-09-04 Angus Leeming <leeming@lyx.org>
6267 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
6268 here (from getPackages).
6270 * debug.[Ch]: add a new EXTERNAL tag.
6272 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6274 * text2.C (cursorEnd): simplify
6276 (getColumnNearX): adjust
6278 * text.C (computeBidiTables): adjust
6281 * rowpainter.C (paintChars): adjust
6282 (paintSelection): adjust
6283 (paintChangeBar): adjust
6286 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
6288 (numberOfSeparators): adjust
6290 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
6296 * text3.C: Restricts the mouse click functionality
6297 of insets like bibtex, include, toc and floatlist to the visible
6298 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
6299 up the dialogs. Cursor has to be in front of the inset (i.e.
6300 start of row) for this to function.
6302 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6304 * bufferview_funcs.C (currentState): output row information
6306 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6308 * bufferview_funcs.C (currentState): output paragraph position
6310 2003-09-04 Angus Leeming <leeming@lyx.org>
6312 * FloatList.h: move out #include "Floating.h".
6313 * LaTeX.h: move out #include "DepTable.h".
6314 * LyXAction.h: move out #include "funcrequest.h".
6315 * buffer.h: move out #include "author.h", "iterators.h".
6316 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
6317 * lyx_main.h: move out #include "errorlist.h".
6318 * lyxfunc.h: move out #include "FuncStatus.h".
6319 * lyxtext: move out #include "lyxcursor.h".
6320 * paragraph_pimpl.h: move out #include "counters.h".
6322 2003-09-03 Angus Leeming <leeming@lyx.org>
6324 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
6325 preamble_snippets list, enabling us to add snippets to the preamble
6326 only if the snippet was not there already.
6328 2003-09-04 Angus Leeming <leeming@lyx.org>
6330 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
6332 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6334 * lyxfunc.C (dispatch): if fitCursor did something be sure to
6337 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
6339 * BranchList.C: point fix, earlier forgotten
6341 2003-09-02 Angus Leeming <leeming@lyx.org>
6343 * box.C (contains): renamed from 'contained' after a fantastic
6346 2003-09-02 John Levon <levon@movementarian.org>
6352 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
6354 2003-09-02 John Levon <levon@movementarian.org>
6356 * text2.C: simplification of cursorEnd(), including partial
6359 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6361 * buffer.C (readFile): add a space
6363 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
6365 * BufferView_pimpl.C (update): remove bogus fitCursor() call
6367 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6369 * buffer.C (readFile): new function, take a filename and a
6370 ParagraphList::iterator
6372 (readFile): adjust, make it private. don't use setStream, make
6373 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
6374 always contain the filename.
6376 * BufferView.C (insertLyXFile): simplify and make it work for
6379 2003-08-30 John Levon <levon@movementarian.org>
6381 * Makefile.am: fix dist (from Kayvan)
6383 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6385 * most files: change to use const Buffer refs
6387 2003-08-27 André Pönitz <poenitz@gmx.net>
6389 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
6390 on top of ownerPar().
6392 2003-08-27 John Levon <levon@movementarian.org>
6394 * funcrequest.C: properly initialise POD members
6396 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
6398 * lyxtext.h (top_y): move top_y from here
6403 * BufferView_pimpl.[Ch]: to here
6404 * frontends/screen.C:
6405 * insets/insettabular.C:
6406 * insets/insettext.C: adjust
6407 * rowpainter.[Ch] (paintRows): remove LyXText & argument
6409 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
6412 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
6414 2003-08-26 André Pönitz <poenitz@gmx.net>
6416 * paragraph_func.[Ch] (outerPar): new function
6419 * paragraph_funcs.C:
6420 * paragraph_funcs.h:
6421 * paragraph_pimpl.C:
6422 * text2.C: remove Inset::par_owner
6424 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
6429 * text2.C: eliminates the needFullRow/display() stuff
6430 altogether, putting the logic in metrics/draw in the insets.
6432 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
6434 * text2.C (redoParagraphInternal, redoParagraphs):
6435 * text.C (redoParagraph): add a call to updateRowPositions at the
6436 end of each 'metrics-like' call. Remove all others.
6437 (getRow): remove the 'y-computing' version.
6438 (getRowNearY): do not compute nor return the real y. Solve the
6439 'y < 0' problem and simplify.
6441 2003-08-22 Angus Leeming <leeming@lyx.org>
6443 * *.[Ch]: clean-up of licence and author blurbs.
6444 Also move config.h out of a few .h files and into a few .C files.
6446 2003-08-22 André Pönitz <poenitz@gmx.net>
6448 * lyxrow.[Ch]: add x_ and *fill_ members
6453 * text2.C: adjust/remove prepareToPrint() calls
6455 2003-08-22 André Pönitz <poenitz@gmx.net>
6457 * lyxrow.[Ch]: add end_ member
6459 * lyxrow_funcs.C: use LyXRow::end_
6461 * lyxtext.h (singleWidth): add LyXFont parameter
6464 * text2.C: adjust LyXText::singleWidth() calls
6466 * text.C (redoParagraph): simplify row breaking logic
6469 2003-08-19 André Pönitz <poenitz@gmx.net>
6471 * funcrequest.C: initialize button_ member
6474 * rowpainter.[Ch]: interface consolidation
6476 2003-08-18 André Pönitz <poenitz@gmx.net>
6479 * BufferView_pimpl.C:
6481 * paragraph_funcs.C:
6483 * text3.C: remove LyXScreen::draw() and fitCursor calls
6485 * BranchList.h: remove spurious semicolons
6487 * MenuBackend.C: fix branchlist related crash
6489 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
6497 * bufferparams.[Ch]:
6501 * text3.C: implements the 'branch inset'
6502 idea. This allows the output of various versions of a document
6503 from a single source version, selectively outputing or suppressing
6504 output of parts of the text.
6505 This implementation contains a 'branch list editor' in a separate
6506 tab of the document settings dialog. Branches are user definable
6507 and have a "display colour" to distinguish them on-screen.
6509 ColorHandler was somewhat cleaned up.
6510 (1) make possible a dynamically growing LColor list by allowing
6511 the graphic context cache to grow along (vector);
6512 (2) eliminate an IMHO unnecessary step in colour allocation.
6514 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
6516 * BufferView_pimpl.C: compile fix
6518 2003-08-15 André Pönitz <poenitz@gmx.net>
6520 * rowpainter.C: remove extra metrics calls
6522 * lyxtext.h: merge the two constructors into a single one,
6523 pass reference to owner's par list
6525 * BufferView_pimpl.C:
6529 2003-08-15 André Pönitz <poenitz@gmx.net>
6531 * lyxrow_funcs.[Ch]:
6534 * paragraph_funcs.C:
6539 * text_funcs.C: split LyXText::rowlist_ into individual
6540 Paragraph::rows_ chunks
6543 * BufferView_pimpl.[Ch]:
6546 * text3.C: remove toggleSelection()
6548 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
6550 * bufferlist.C: beautify two alerts (shorter text of buttons)
6551 * buffer.C: Remove redundant ' ' from message
6553 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6554 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6555 rename VALIGN_CENTER to VALIGN_MIDDLE
6557 2003-08-11 André Pönitz <poenitz@gmx.net>
6559 * lyxtext.h (getPar):
6560 * text.C: new function
6562 2003-08-11 André Pönitz <poenitz@gmx.net>
6565 * tracer.[Ch]: remove unneeded files
6567 * InsetList.[Ch]: remove resizeInsetsLyXText()
6572 * text3.C: merge insertParagraphs() and appendParagraph()
6573 remove breakAgain(), update()
6575 * BufferView_pimpl.[Ch]:
6576 * bufferview_funcs.[Ch]:
6580 * tabular.C: adjust after text & InsetList changes.
6582 2003-08-08 André Pönitz <poenitz@gmx.net>
6584 * text.C (insertChar, backspace): replace rowlist fiddling
6585 with rebreak of full par
6588 * text.C (breakAgainOneRow, redoHeightOfParagraph,
6589 checkParagraph, updateInset): removed
6591 2003-08-07 André Pönitz <poenitz@gmx.net>
6594 * text3.C: merge some LFUN handlers, remove dead code
6596 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6598 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6600 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
6602 * text2.C (DEPM): fix part of bug 1255 and 1256
6604 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6606 * BufferView_pimpl.C (workAreaDispatch): change to use
6607 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6608 that are no mouse related.
6610 2003-08-05 André Pönitz <poenitz@gmx.net>
6613 * BufferView_pimpl.[Ch]:
6614 * bufferview_funcs.C:
6616 * text3.C: rip out "deep update"
6618 * textcursor.[Ch] (last_sel_cursor): remove unused member
6620 2003-08-04 André Pönitz <poenitz@gmx.net>
6623 * BufferView_pimpl.[Ch]:
6624 * ParagraphParameters.C:
6625 * bufferview_funcs.C:
6631 * text3.C: replace "complicated" BufferView::update(...) calls with
6634 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6636 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
6638 * Makefile.am (lyx_SOURCES): add paper.h
6640 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6642 * Makefile.am: move things around so that both lyx-qt and
6643 lyx-xforms can be built (according to --with-frontend). Then lyx
6644 is a symbolic link to lyx-[firstfrontend]
6646 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
6648 * Always use std::endl with lyxerr
6650 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
6652 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6654 2003-08-01 André Pönitz <poenitz@gmx.net>
6657 * BufferView_pimpl.[Ch]:
6659 * text3.C: merge BufferView::repaint() and BufferView::update()
6661 2003-08-01 José Matos <jamatos@lyx.org>
6663 * buffer.[Ch]: file_format is no longer a buffer data element.
6665 2003-08-01 André Pönitz <poenitz@gmx.net>
6670 * text2.C: make redoParagraph more independent of current cursor
6672 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6674 * text2.C: remove unneeded members
6676 2003-07-30 André Pönitz <poenitz@gmx.net>
6678 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6680 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6681 create a single function...
6683 * paragraph_funcs.C (moveItem): ... here.
6686 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6688 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6690 * LColor.[Ch]: Add comment and greyedout logical colors.
6692 2003-07-30 André Pönitz <poenitz@gmx.net>
6694 * tabular.C: don't use Assert too heavily. This crashes where it
6697 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
6699 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6700 is disabled (bug 1232)
6702 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6704 * factory.C: limited 'arg' scope
6706 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6708 * factory.C: fixed Note submenu issues
6710 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6712 * factory.C: submenu for Note/Comment/Greyedout
6714 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
6717 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6719 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
6722 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6723 greyedout. Patch provided by Jürgen Spitzmüller.
6725 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6727 * kbmap.C (read): fix error message when reading bind files
6729 2003-07-29 Angus Leeming <leeming@lyx.org>
6731 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6732 certainly does not do what it purports to do. I am doing it, and
6733 us, a favour by killing it.
6735 2003-07-28 José Matos <jamatos@lyx.org>
6737 * buffer.C (readBody, do_writeFile):
6738 * paragraph.C(readParagraph): \end_document replaces \the_end.
6740 2003-07-29 André Pönitz <poenitz@gmx.net>
6743 * BufferView_pimpl.[Ch]:
6747 * textcursor.[Ch]: remove toggleToggle & Co
6749 2003-07-28 José Matos <jamatos@fep.up.pt>
6751 * buffer.C (readParagraph):
6752 * params_func (readParToken, readParagraph):
6753 * paragraph.C (write): \layout -> \begin_layout.
6755 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6757 * lyxlex_pimpl.C (setFile): clean up slightly.
6759 * bufferparams.h: add compressed var
6761 * buffer_funcs.C (readFile): adjust for LyXLex change
6762 (newFile): ditto + simplify
6764 * buffer.C (writeFile): handle writing of compressed files
6766 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6767 Check if the file is compressed and set a bufferparm if so.
6769 * Makefile.am (lyx_LDADD): remove explicit -lz
6771 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6773 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6774 makeDocBookFile): put the real LyX version in the first line of
6778 * version.C.in: remove lyx_docversion
6780 * tabular.C (write_attribute): add a template-based version to
6781 write enums properly
6783 2003-07-28 André Pönitz <poenitz@gmx.net>
6788 * text3.C: use doubles again for x-coordinates. They are needed.
6790 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6792 * messages.C (getLocaleDir): use lyx_localedir()
6794 * lyxlex_pimpl.C (setFile): compress stuff
6796 * buffer.C (writeFile): add some compression stuff
6797 (do_writeFile): new func, dont call expliti close... will this
6800 * Makefile.am (lyx_LDADD): add -lz
6802 2003-07-28 José Matos <jamatos@fep.up.pt>
6804 * buffer.C: increment file format.
6805 * paragraph_funcs (readParagraph, readParToken):
6806 * paragraph.C (readParagraph): add \end_layout.
6808 2003-07-27 Angus Leeming <leeming@lyx.org>
6810 * Makefile.am: remove special casing for configure-time setting of
6811 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6813 * lyx_main.C (init): remove all Jean-Marc's magic setting of
6814 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6816 2003-07-26 André Pönitz <poenitz@gmx.net>
6818 * paragraph_func.[Ch]:
6819 * paragraph.C (realizeFont): inline it whereever it is used
6824 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6827 2003-07-26 André Pönitz <poenitz@gmx.net>
6831 * text2.C: get rid of LyXText::need_break_row
6833 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6835 * toc.[Ch]: put namespace toc inside namespace lyx
6837 * MenuBackend.C (expandToc2): adjust for lyx::toc
6840 * lyxfunc.C (dispatch): adjust for lyx::find
6842 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6843 lyx::find instead. Reorganize a bit.
6844 (LyXReplace): rename to replace
6845 (LyXFind): rename to find
6847 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6850 2003-07-26 André Pönitz <poenitz@gmx.net>
6852 * text.C (setHeightOfRow): restrict scope of temporary variable
6854 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
6855 code (never has been used?)
6857 2003-07-27 Asger Alstrup <alstrup@local>
6859 * text.C (fill): Optimise algorithm to exploit that we can reuse
6860 the LyXFont for many characters.
6861 (setHeightOfRow): Same thing.
6862 (rowBreakPoint): Same thing.
6864 2003-07-26 Asger Alstrup <alstrup@local>
6866 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6868 * text.C (singleWidth): Spurious font copying in hot-spot
6869 singleWidth avoided. Reorder tests for arabic for efficiency.
6871 * text.C (fill): handle empty paragraphs better.
6873 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6876 * encoding.h: add includes
6878 * lyxrc.C: remove reading of bind files
6880 * lyx_main.C (init): setup bindings and menus only if we have a
6883 * kbmap.C (read): new method. Do the actual reading of bind
6886 * converter.C (dvipdfm_options):
6889 (output): adapt PAPER_* enums.
6891 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6893 * bufferparams.h: remove paper-related enums from there
6895 * paper.h: New file. A trivial header file to hold paper-related
6896 enums. It should later expand to contain many paper-related
6899 * lyxrc.C: declare extern displayTranslator
6901 2003-07-27 José Matos <jamatos@fep.up.pt>
6903 * tabular.[Ch] (linuxdoc): add support for tables and figures
6906 2003-07-27 José Matos <jamatos@fep.up.pt>
6908 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6909 consistency in both functions.
6910 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6912 2003-07-26 Asger Alstrup <alstrup@local>
6914 * rowpainter.C (paintRows): Change algorithm to work directly on
6915 the insets rather than asking every character in the document
6916 whether its an inset.
6918 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
6920 * buffer.C (openFileWrite): factorize some code
6922 2003-07-26 Angus Leeming <leeming@lyx.org>
6925 * lyx_main.[Ch]: replace occurances of system_tempdir with
6928 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6930 * rename Inset to InsetOld
6932 2003-07-25 Asger Alstrup <alstrup@diku.dk>
6934 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6935 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6936 which I think is a bit clearer. EDIT is gone, since it was
6937 premature optimisation, and broken for mathed anyway.
6938 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6939 with cursor positioning in insets as well (math insets still do not
6940 work, but that's a different story anyway.) It mysteriously
6941 crashes sometimes with undo in the first paragraph, but I'm fairly
6942 confident that this is a compiler bug.
6944 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6946 * paragraph.C (Paragraph): adjust for new clone return type
6948 (copyIntoMinibuffer): ditto
6950 2003-07-25 Asger Alstrup <alstrup@lyx.org>
6952 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6953 by not having a special case, and always doing a full rebreak of
6954 the document after undo.
6956 2003-07-23 Angus Leeming <leeming@lyx.org>
6958 * factory.C (createInset): InsetExternal::setParams now takes a
6961 2003-07-23 Angus Leeming <leeming@lyx.org>
6963 * factory.C (createInset): changed interface to the external and
6964 graphics mailers' string2params functions.
6966 2003-07-23 Angus Leeming <leeming@lyx.org>
6968 * factory.C (createInset): pass a
6969 Buffer const * parameter to InsetExternalMailer's string2params.
6971 2003-07-22 John Levon <levon@movementarian.org>
6973 * Thesaurus.h: include the right aiksaurus header
6975 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6977 * MenuBackend.C (expand): check menu shortcuts unconditionally
6979 2003-07-21 Angus Leeming <leeming@lyx.org>
6981 * factory.C (createInset): pass a
6982 buffer_path parameter to InsetGraphicsMailer's string2params.
6984 2003-07-21 Angus Leeming <leeming@lyx.org>
6986 * BufferView_pimpl.C (buffer):
6989 * lyxfunc.C (dispatch):
6990 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6991 rather than the grfx shortcut.
6993 2003-07-21 André Pönitz <poenitz@gmx.net>
6995 * rowpainter.C: remove unused variables
6998 * tabular_funcs.h: move to tabular.C
6999 * Makefile.am: adjust
7001 * tabular.[Ch]: basic optical cleaning
7003 * author.h: pass references, not values
7005 2003-07-18 André Pönitz <poenitz@gmx.net>
7013 * text3.C: two-phase drawing for InsetText and InsetTabular
7014 some float -> int changes.
7016 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
7018 * lyx_main.C: fix the fix
7020 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
7022 * lyx_main.C: fix a crash in batch mode if no files specified
7025 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
7027 * format.[Ch] (papersize): moved to BufferParams
7028 * converter.[Ch] (dvips_options): moved to BufferParams
7029 (dvipdfm_options): moved to anon namespace
7030 * bufferparams.[Ch]: added above functions.
7032 2003-07-17 André Pönitz <poenitz@gmx.net>
7036 * text2.C: don't call inset->update() anymore
7038 * metricsinfo.[Ch]: add convenience constructor
7040 2003-07-16 André Pönitz <poenitz@gmx.net>
7045 * text2.C: replace the LyXCursor::irow_ member with
7046 on-demand computation of the value
7048 2003-07-16 John Levon <levon@movementarian.org>
7050 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
7052 2003-07-15 André Pönitz <poenitz@gmx.net>
7055 * text2.C: remove no more needed refresh_row
7057 2003-07-15 André Pönitz <poenitz@gmx.net>
7062 * text3.C: refresh_status tristate -> need_update bool
7064 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
7066 * lyxtext.h (init): remove reinit argument (act as if always true)
7067 * text2.C: adjust to that
7069 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
7071 * bufferview_funcs.[Ch]: introduce function replaceSelection()
7072 * text3.C: use it to delete selections in some cases
7073 (bugs 441, 673, 702, 954).
7075 2003-07-14 André Pönitz <poenitz@gmx.net>
7077 * rowpainter.[Ch]: reduce interface
7079 2003-07-14 André Pönitz <poenitz@gmx.net>
7081 * BufferView_pimpl.C:
7082 * text2.C: adjust after removing unused BufferView * argument
7084 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
7086 * text2.C (init): fix a crash fired on resize
7088 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
7090 * buffer.[Ch]: added new closing signal
7091 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
7092 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
7093 BufferView::Pimpl via the closing the signal
7095 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
7097 * buffer.[Ch]: take out all bv-related from buffer
7099 * BufferView_pimpl.[Ch]: connect to new signals
7100 * CutAndPaste.C: removed useless asserts
7101 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
7104 * lyxfunc.C: moved view-related funciontality from vc here
7105 * paragraph.C: removed outdated comments
7108 2003-07-10 André Pönitz <poenitz@gmx.net>
7110 * BufferView_pimpl.C:
7114 * text2.C: remove InsetText::InnerCache, clean up consequences
7116 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
7118 * ispell.C: fix two typos in error messages
7120 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
7122 * Extend Note inset to other forms of annotation like Comment
7123 and Greyedout. Right button click gives dialog.
7125 Files modified or added (+):
7129 * ControlNote.[Ch] +
7131 * Makefile.am in frontends/xforms, frontends/xforms/forms,
7132 frontends/controllers
7136 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
7138 * aspell.C: add missing namespace lyx::support
7140 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
7142 * BufferView.[Ch] (newFile): Add
7143 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
7144 * LaTeX.[Ch] (message): added this signal and use it
7145 * buffer.[Ch] (busy, message): added these signals and use them
7146 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
7150 * importer.C: use buffer signals instead of direct bv calling
7151 * lyx_cb.[Ch] (ShowMessage): removed
7154 * paragraph_funcs.C:
7155 * text2.C: use buffer signals
7157 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7159 * introduce namespace lyx::graphics
7161 2003-07-02 André Pönitz <poenitz@gmx.net>
7163 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
7165 2003-07-01 André Pönitz <poenitz@gmx.net>
7172 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
7173 text*.C to text_func.C
7175 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7177 * introduce namespace lyx::support
7179 2003-06-30 André Pönitz <poenitz@gmx.net>
7184 * text.C: re-enable --with-included-string
7186 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7188 * textcursor.C: add <config.h>
7190 * text.C (getWord): remove const from word_location arg
7192 * lyxvc.C (getLogFile): fix const type order
7194 * lyxtext.h: remove const from word_location arg, add arg name
7196 * lyxlayout.h: currect type on labeltype.
7198 * importer.C: correct \file
7200 * converter.C (intToFormat): use std:: on ret val, ws changes
7202 * bufferlist.h: correct \file
7204 * buffer.C (makeLinuxDocFile): fix const type order
7205 (makeDocBookFile): ditto
7206 (fillWithBibKeys): use std:: on stdlib args.
7208 * CutAndPaste.C: fix authors.
7209 (availableSelections): use std:: on return vector
7211 2003-06-27 André Pönitz <poenitz@gmx.net>
7213 * BufferView_pimpl.C:
7214 * bufferview_funcs.C:
7222 * text3.C: remove LyXCursor::row_ member
7225 * text.C: rename fullRebreak() to partialRebreak() and implement
7226 a fullRebreak() that really bereks fully
7228 * textcursor.h: new struct for cursor-related data
7230 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
7232 * lyx_main.C (LyX): get full path of document loaded on the
7235 2003-06-26 André Pönitz <poenitz@gmx.net>
7237 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
7238 remove unused/broken operator>,<,>=.
7240 * text.C: remove only use of broken operator<= in an Assert().
7242 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
7244 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
7245 moved errorlist_.clear to showErrorList
7247 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
7249 * converter.C (scanLog, runLaTeX):
7250 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
7251 move the bv->showErrorList call to the callers
7252 * lyxfunc.C: i.e. here...
7254 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
7255 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
7256 namespace, the second to...
7257 * buffer_funcs (BufferFormat, parseErrors): added
7258 * errorlist.C (ErrorList(TeXErrors const &)): removed
7260 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7262 * ToolbarBackend.C (getIcon): complain when icon cannot be found
7264 2003-06-24 "Garst R. Reese" <reese@isn.net>
7268 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7270 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
7272 * version.C.in: change docversion to 1.4
7274 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
7276 * buffer.C: fix a bug just introduced
7278 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
7280 * buffer.[Ch]: added the parseError signal and use it, removed
7282 * BufferView.[Ch] (addError): moved to ...
7283 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
7284 to the Buffer::parseError signal to catch (guess what) parse errors
7285 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
7287 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
7289 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
7290 ability to create a buffer and to return an existing one from
7291 the list. Moved these functions to...
7292 * buffer_funcs.[Ch]: added
7293 * BufferView.[Ch] (loadLyXFile): added
7294 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
7295 job removed from bufferlist::loadLyXFile.
7296 * buffer.C (setReadOnly): make it work without view
7297 (i.e added an if (users))
7299 2003-06-19 Angus Leeming <leeming@lyx.org>
7302 * LyXAction.C (init):
7303 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
7304 with LFUN_DIALOG_SHOW <name> <data>.
7306 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7308 * CutAndPaste.C (availableSelections): small compilation fix for
7309 ancient (gcc 2.9x) compilers
7311 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
7313 * text3.C (cursorNext): add tmp var
7315 * text2.C (updateCounters): for function calling out of for clause
7316 (replaceSelectionWithString): ditto
7317 (insertStringAsParagraphs): ditto
7318 (getColumnNearX): add tmp var
7319 (setCursorFromCoordinates): add tmp var
7320 (cursorDownParagraph): add tmp var
7321 (deleteEmptyParagraphMechanism): add tmp var
7323 * text.C (insertChar): add tmp var
7325 * rowpainter.C (paintDepthBar): add tmp var
7327 * CutAndPaste.C (availableSelections): potentially check all
7328 paragraphs in a cut to fill the shown strings.
7330 2003-06-18 André Pönitz <poenitz@gmx.net>
7332 * kbmap.[Ch]: use vector<> instead of list<>
7334 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
7336 * text3.C (dispatch): handle arg to LFUN_PASTE, call
7337 pasteSelection with index
7339 * text2.C (pasteSelection): modify, call pasteSelection with index
7341 * paragraph.C (asString): reimplement version with no interval to
7342 call the one with interval.
7344 * lyxtext.h: add index arg to pasteSelection
7346 * MenuBackend.C (MenuItem): handle PasteRecent
7347 (Menu::read::Menutags): add md_pasterecent
7349 (expandPasteRecent): new function
7352 * MenuBackend.h: add PasteRecent to MenuItem::Kind
7354 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
7356 (availableSelections): new function
7358 2003-06-17 Angus Leeming <leeming@lyx.org>
7360 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
7362 2003-06-17 Angus Leeming <leeming@lyx.org>
7365 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
7367 * lyxfunc.C (dispatch): invoke it.
7369 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7371 * iterators.C (operator++, ParPosition): reintroduce some
7372 const_cast for the benefit of older compilers.
7374 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7376 * text3.C (dispatch): do not modify clipboard when doing
7377 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
7378 LFUN_DELETE_SKIP on a selection selection
7380 2003-06-16 André Pönitz <poenitz@gmx.net>
7386 * tabular.[Ch]: IU of clone() and getLabelList();
7388 2003-06-13 André Pönitz <poenitz@gmx.net>
7390 * tabular.h: compactification
7392 2003-06-12 André Pönitz <poenitz@gmx.net>
7396 * tabular_funcs.h: some renaming plus whitespace
7398 2003-06-12 André Pönitz <poenitz@gmx.net>
7401 * BufferView_pimpl.C:
7407 * toc.C: Return a Paragraph & for ParIterator::operator*()
7409 2003-06-11 John Levon <levon@movementarian.org>
7413 * ToolbarBackend.C: add "Toolbars" section and
7416 2003-06-10 Angus Leeming <leeming@lyx.org>
7419 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
7421 * lyxfunc.C (dispatch): invoke it.
7423 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7425 * main.C: protect <ios> with HAVE_IOS
7426 (main): protect sync_with_stdio with HAVE_IOS
7428 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
7430 * text2.C (cutSelection): adjust
7431 (pasteSelection): adjust
7433 * messages.C: handle get of empty string
7435 * main.C (main): use sync_with_stdio(false)
7437 * lyxfunc.C (dispatch): adjust
7439 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
7440 (WriteAs): remove unneeded BufferView arg.
7442 * bufferparams.h: use correct types on papersize, papersize2 and
7445 * bufferparams.C (readToken): adjust for type
7446 (writeLaTeX): add missing cases to switch.
7448 * bufferlist.C (quitWriteBuffer): adjust
7451 * buffer.C (asciiParagraph): remove some commented code.
7453 * CutAndPaste.C: remove current_view extern variable.
7454 (cutSelection): add BufferParams arg.
7455 (eraseSelection): add BufferParams arg.
7456 (pasteSelection): add Buffer const & arg
7458 2003-06-07 John Levon <levon@movementarian.org>
7461 * paragraph_funcs.C:
7462 * paragraph_pimpl.C:
7466 * paragraph.C: allow InsetERT to freely space lines,
7467 and some consolidation of code
7469 2003-06-06 José Matos <jamatos@fep.up.pt>
7471 * buffer.C (makeDocBookFile): fix bug #821
7473 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
7475 * BufferView_pimpl.C (dispatch): use Dialogs::visible
7477 2003-06-04 Angus Leeming <leeming@lyx.org>
7479 * buffer.C: bump format to 224.
7481 2003-06-05 André Pönitz <poenitz@gmx.net>
7483 * text2.C (redoParagraphs): remove two const_cast<>
7485 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
7487 * ParagraphList.h: remove last remnants of NO_STD_LIST
7489 2003-06-03 Angus Leeming <leeming@lyx.org>
7491 * factory.C (createInset): small change to the way InsetExternal's params
7494 2003-06-04 André Pönitz <poenitz@gmx.net>
7496 * buffer.h: use Undo directly instead of shared_ptr<Undo>
7498 * paragraph_pimpl.h:
7499 * paragraph.[Ch]: some Inset -> UpdatableInset changes
7501 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
7503 * undo_funcs.C: make some simple cases of undo work again
7505 2003-06-03 John Levon <levon@movementarian.org>
7507 * ispell.C: HPUX doesn't have sys/select.h
7510 2003-06-03 John Levon <levon@movementarian.org>
7512 * CutAndPaste.C: update tabular and include inset
7517 * paragraph.C: remove owningBuffer(), don't pass Buffer
7520 * factory.C: insetGraphicsParams changed
7522 2003-06-02 John Levon <levon@movementarian.org>
7528 * text3.C: remove insetparent
7530 2003-06-02 John Levon <levon@movementarian.org>
7533 * buffer.C: fix inset_iterator.end(), move out of line
7536 2003-06-01 John Levon <levon@movementarian.org>
7538 * text3.C: use a proper cut/paste when doing inset
7539 insert (from Jürgen Spitzmüller)
7541 2003-06-01 John Levon <levon@movementarian.org>
7543 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7545 2003-05-30 André Pönitz <poenitz@gmx.net>
7547 * rowpainter.C: unify second drawing phase
7549 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7551 * trans_mgr.C: remove one case of current_view
7553 * text2.C (cursorBottom): delete NO_STD_LIST stuff
7555 * paragraph_funcs.h: remove paragraph.h include
7557 * paragraph.h: delete NO_STD_LIST stuff
7559 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7561 * buffer.h: remove paragraph.h include
7563 * ParagraphList.C: delete file
7565 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7567 * toc.C (getTocList): adjust
7569 * paragraph_pimpl.C (validate): adjust
7571 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7573 * paragraph.C (Paragraph): adjust
7574 (getPositionOfInset): use const_iterator, adjust
7575 (bibitem): use const_iterator, adjust
7576 (setInsetOwner): adjust
7578 * iterators.C (operator++): adjust
7580 * InsetList.[Ch]: Replace selfmade iterator with standard
7581 vector::iterator also introduce const_iterator. Remove getPos,
7582 getInset and setInset from InsetTable. Adjust accordingly.
7584 * BufferView.C (lockInset): adjust
7585 (ChangeInsets): adjust
7587 * tabular.[Ch]: delete commented same_id functions
7589 2003-05-28 John Levon <levon@movementarian.org>
7591 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7593 2003-05-28 André Pönitz <poenitz@gmx.net>
7595 * metricsinfo.[Ch]: remove 'fullredraw' member
7597 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
7599 * lyxtextclass.C (operator): remove caching.
7601 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7605 * text2.C (cursorBottom): adjust
7606 (setCounter): use ParagraphList::find, adjust
7608 * text.C (workWidth): use ParagraphList::find, adjust
7610 * lyxcursor.C (LyXCursor): adjust
7612 * buffer.C (inset_iterator): adjust
7614 * ParagraphList.h: make iterator(value_type) private, make
7615 ParagraphList a friend of iterator.
7617 * ParagraphList.C (find): new function
7619 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7621 2003-05-27 André Pönitz <poenitz@gmx.net>
7623 * dimension.[Ch]: a -> asc, d -> des, w -> wid
7625 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7627 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7629 2003-05-26 John Levon <levon@movementarian.org>
7631 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7633 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
7635 * remove same_id from function signatures, adjust.
7637 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7639 * undo_funcs.C (createUndo): use the id functions directly, adjust.
7641 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7643 * paragraph.C (Paragraph): get rid of same_ids parameter
7645 * ParagraphList.C (insert): adjust
7648 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7650 * paragraph_funcs.C (breakParagraph): adjust
7651 (breakParagraphConservative): adjust
7653 * buffer.C (readParagraph): adjust
7655 * ParagraphList.C (insert): take a reference instead of a pointer
7658 * paragraph.[Ch] (id): new function
7660 * bufferlist.C (newFile): adjust
7662 * ParagraphList.C (ParagraphList): adjust
7664 (push_back): take a reference instead of a pointer.
7666 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7668 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7671 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7672 set else use old code.
7674 * ParagraphList.C: remove all NO_NEXT code and only compile this
7675 code of NO_STD_LIST is set.
7677 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7679 * BufferView_pimpl.C:
7689 * graphics/GraphicsConverter.C:
7690 * graphics/PreviewLoader.C: header adjustment
7692 2003-05-23 Angus Leeming <leeming@lyx.org>
7694 * LaTeXFeatures.[Ch] (useBabel): new method.
7695 * bufferparams.C (writeLaTeX): use it.
7697 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7699 * ParagraphList.h (set): remove unused function.
7701 2003-05-23 André Pönitz <poenitz@gmx.net>
7704 * BufferView_pimpl.C:
7708 * undo_funcs.C: setUndo reworked
7710 * iterators.[Ch]: add access to topmost ParagraphList
7712 * lyxtext.[Ch] (workWidth): add a const
7714 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7716 * texrow.[Ch] (increasePos): remove function
7717 * exporter.C (export): removed unused var and outdated comment
7719 2003-05-23 Angus Leeming <leeming@lyx.org>
7721 * latexrunparams.h: rename fragile as moving_arg.
7722 * paragraph.C (simpleTeXOnePar): ditto.
7723 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7725 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7727 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7729 (textUndoOrRedo): comment out a currently unused var.
7731 * paragraph.h (NO_NEXT): enable NO_NEXT
7733 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7735 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7737 * exporter.C (Export): adjust for removeAutoInsets removal.
7739 * buffer.C (runChktex): adjust for removeAutoInsets removal.
7741 * LyXAction.C (init): remove LFUN_REMOVEERRORS
7743 * BufferView.[Ch] (removeAutoInsets): delete function
7745 2003-05-22 Angus Leeming <leeming@lyx.org>
7747 * latexrunparams.h: add a free_spacing variable.
7749 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7750 to pass moving_arg, as the data is stored in runparams.fragile.
7752 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7753 to Inset::latexOptional or to simpleTeXOnePar.
7755 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7756 free_spacing arg to Inset::latexOptional.
7758 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7761 2003-05-22 Angus Leeming <leeming@lyx.org>
7763 * latexrunparams.h: add fragile and use_babel variables.
7765 * bufferparams.[Ch] (writeLaTeX): return use_babel.
7766 * buffer.C (makeLaTeXFile): store this returned value in
7767 runparams.use_babel, thus passing it to the inset::latex methods.
7769 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7770 simpleTeXSpecialChars as it is now stored in runparams.fragile.
7772 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7773 longer has a fragile arg, as it is stored in runparams.fragile.
7775 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7776 moving_arg parameter as the data is stored in runparams.fragile.
7778 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7779 a fragile parameter as the data is stored in runparams.fragile.
7781 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7783 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7785 2003-05-22 Angus Leeming <leeming@lyx.org>
7787 * latexrunparams.h: add a 'bool nice' which defaults to false.
7789 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7790 now encapsulated within runparams.
7792 * bufferlist.C (updateIncludedTeXfiles):
7793 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7795 2003-05-22 Angus Leeming <leeming@lyx.org>
7797 * latexrunparams.h: new file containing struct LatexRunParams.
7798 * Makefile.am: add new file.
7800 * LaTeX.[Ch] (c-tor, run):
7801 * buffer.[Ch] (makeLaTeXFile):
7802 * bufferlist.[Ch] (updateIncludedTeXfiles):
7803 * converter.C (convert, scanLog):
7804 * converter.[Ch] (runLaTeX):
7805 * exporter.C (Export):
7806 * paragraph.[Ch] (simpleTeXOnePar):
7807 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7808 * paragraph_funcs.[Ch] (latexParagraphs):
7809 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7810 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7811 pass around a LatexRunParams parameter.
7813 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7815 * paragraph.[Ch]: remove unused constructor
7817 * ParagraphList.C (erase): new function, taking two iterators
7819 2003-05-22 André Pönitz <poenitz@gmx.net>
7821 * undo_funcs.C: remove duplicated code
7823 * iterator.[Ch]: operator=
7825 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7827 * tabular.C (SetMultiColumn): ws changes
7829 * rowpainter.C (paintFirst): get rid of a ->previous
7831 * lyx_cb.C (getPossibleLabel): parlist simplification
7833 * BufferView.C (ChangeInsets): simplify slightly.
7835 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
7837 * LyXAction.C: new lfun space-insert, kill protected-space-insert
7838 * lfuns.h: new LFUN_SPACE
7839 * lyxfunc.C: protected space has a new lfun
7840 * paragraph_funcs.C: read new space insets
7842 * factory.C: handle new space insets
7844 2003-05-22 André Pönitz <poenitz@gmx.net>
7847 * BufferView_pimpl.C:
7850 * undo_funcs.C: return a ParIterator from getParFromID.
7852 * iterators.[Ch]: add two const's
7854 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7856 * toc.C (getTocList): adjust
7858 * iterators.[Ch]: rework for parlist
7860 * buffer.C (par_iterator_begin): adjust
7861 (par_iterator_end): adjust
7863 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7865 * BufferView.C (removeAutoInsets): adjust
7866 (ChangeInsets): adjust
7868 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
7870 * text.C (top_y): fix bug 1110
7872 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
7874 * errorlist.[Ch]: added
7877 * BufferView_pimpl.C:
7878 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7881 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7883 * Makefile.am: ensure that lyx is relinked upon changes to the
7884 various "convenience" libs.
7886 2003-05-20 Angus Leeming <leeming@lyx.org>
7888 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7889 files are compiled in alphabetical order again.
7891 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7893 2003-05-19 Angus Leeming <leeming@lyx.org>
7895 * gettext.[Ch]: remove "char const * _(char const *)".
7897 2003-05-19 André Pönitz <poenitz@gmx.net>
7899 * dimension.[Ch]: promote from mathed/dimension.[Ch]
7908 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7910 2003-05-19 André Pönitz <poenitz@gmx.net>
7914 * lyxtextclass.[Ch]:
7916 * paragraph_funcs.[Ch]:
7918 * text3.C: more insetenv work
7920 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
7922 * ParagraphParameters.C (params2string): small bug fixed
7924 2003-05-16 André Pönitz <poenitz@gmx.net>
7927 * bufferview_funcs.C: patch from Kornel Benko to prevent
7928 crash when _(...) is called twice in a statement
7930 2003-05-16 André Pönitz <poenitz@gmx.net>
7937 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7939 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
7941 * lyx_main.C (init): remove spurious static_cast
7943 2003-05-14 André Pönitz <poenitz@gmx.net>
7945 * BufferView.C: fix format string
7947 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
7949 * BufferView.[Ch] (insertErrors): removed
7950 * BufferView.[Ch] (showErrorList): added
7951 * buffer.C (runChkTeX):
7952 * converter.C (scanLog): call showErrorList instead of inserterrors
7954 2003-05-13 André Pönitz <poenitz@gmx.net>
7956 * BufferView_pimpl.C:
7958 * bufferview_func.C:
7965 * tabular_funcs.h: tostr() from its own header
7967 * ParagraphParameters.C:
7972 * text3.C: STRCONV()
7974 2003-05-12 André Pönitz <poenitz@gmx.net>
7977 * BufferView_pimpl.C:
7981 * ParagraphParameters.C:
7985 * bufferview_funcs.C:
7998 * paragraph_funcs.C:
8002 * text3.C: boost::format -> bformat all over the place
8005 2003-05-09 André Pönitz <poenitz@gmx.net>
8007 * LColor.[Ch]: Pimpl the #include <map> away
8009 2003-05-09 John Levon <levon@movementarian.org>
8011 * bufferlist.C: never remove emergency saves
8013 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8015 * Makefile.am: better lib building
8017 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
8019 * texrow.[Ch]: remove dependency on Paragraph and just store a id
8021 * paragraph_pimpl.C (simpleTeXBlanks): adjust
8022 (simpleTeXSpecialChars): adjust
8023 (simpleTeXSpecialChars): adjust
8024 * paragraph.C (simpleTeXOnePar): adjust
8025 * buffer.C (makeLaTeXFile): adjust
8027 * Makefile.am (BOOST_LIBS): allow boost as system lib.
8029 * text2.C (changeDepth): parlist cleanup
8030 (getColumnNearX): ditto
8032 * rowpainter.C (getLabelFont): parlist cleanup
8034 * bufferlist.C (newFile): parlist cleanup
8036 * CutAndPaste.C (eraseSelection): parlist cleanup
8038 * BufferView_pimpl.C (trackChanges): parlist cleanup
8041 * BufferView.C (lockInset): parlist cleanup.
8042 (ChangeInsets): ditto
8044 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8046 * CutAndPaste.h: Update file header.
8048 * CutAndPaste.C: Update file header.
8049 Store the parts cut out of the Document in a limited_stack.
8050 (copySelection): adjust
8051 (pasteSelection): new function, takes the index in the limited stack.
8052 (nrOfParagraphs): adjust
8053 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
8054 simplify error inset insertion.
8055 (checkPastePossible): adjust
8057 2003-05-06 John Levon <levon@movementarian.org>
8059 * text2.C: don't cast wrap inset to float
8061 2003-05-05 André Pönitz <poenitz@gmx.net>
8064 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
8066 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
8067 few naked Paragraph *.
8069 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
8071 * bufferparams.C: Output warning if a document with missing
8072 TeX document class is loaded
8073 * exporter.C: Disable TeX exports if the document class is missing
8076 * lyxtextclasslist.C: Handle new textclass.lst format; new method
8077 isTeXClassAvailable()
8079 2003-05-03 John Levon <levon@movementarian.org>
8082 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
8083 explicit cursor show/hide
8085 * BufferView_pimpl.h:
8086 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
8087 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
8089 * lyxfunc.C: hide cursor before dispatching.
8094 * text3.C: remove explicit cursor hides
8096 2003-05-02 André Pönitz <poenitz@gmx.net>
8098 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
8101 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
8104 * text2.C: tiny whitespace
8106 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8108 * undo_funcs.C: almost only ws changes.
8110 * ParagraphList.C (splice): just return if pl is empty.
8112 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8114 * ParagraphList.C (splice): new function.
8116 * CutAndPaste.C (pasteSelection): use it
8118 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8120 * CutAndPaste.C (pasteSelection): remove the last next and
8121 previous from this file.
8123 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8125 * CutAndPaste.C (pasteSelection): more clean up, user proper
8126 ParagraphList functions for pasteing.
8128 * ParagraphList.C (insert): new function, three arg insert
8130 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8132 * ParagraphList.C (insert): new function, three arg insert
8134 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
8137 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8139 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
8141 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8143 * CutAndPaste.C (pasteSelection): remove some unneeded code.
8145 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8147 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
8148 (copySelection): clean up a bit.
8149 (pasteSelection): use make_pair
8151 * ParagraphList.C (ParagraphList): implement copy constructor
8152 (operator=): implement, base on copy constructor.
8155 * paragraph.C (erase): return a bool
8157 * paragraph_pimpl.C (erasePos): remove function, move contents...
8158 (erase): ... here. Return a bool.
8159 (erase): call erase instead of erasePos.
8161 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
8163 * ParagraphList.h: define PitPosPair
8164 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
8165 ParagraphList, fix a bug on pasting multiple pars
8166 * text2.C: change interface to C&P
8168 2003-04-30 André Pönitz <poenitz@gmx.net>
8170 * undo_func.C: revert part of yesterday's patch 2
8172 2003-04-30 John Levon <levon@movementarian.org>
8174 * LColor.C: s/tabular/table/
8176 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8178 * text3.C (dispatch): do not convert iterator -> pointer
8179 * undo_funcs.C (setCursorParUndo): ditto
8180 * text_funcs.C (transposeChars): ditto
8182 * text2.C (setLayout): ws changes only
8184 * text.C (breakParagraph): do not convert iterator -> pointer
8186 (acceptChange): ditto
8187 (rejectChange): ditto
8192 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
8195 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
8197 * text3.C (gotoInset): YABG (yet another bad getChar)
8199 2003-04-29 André Pönitz <poenitz@gmx.net>
8201 * paragraph.h: make operator= private unimplemented as long as
8204 * ParagraphList.C: whitespace
8207 * paragraph_pimpl.[Ch]:
8208 * paragraph_funcs.C:
8210 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
8213 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
8215 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
8217 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
8218 * paragraph.[Ch] (erase):
8219 * paragraph_pimpl.[Ch] (erase): change return type and value
8220 * text2.C (cutSelection): some rework
8222 2003-04-28 John Levon <levon@movementarian.org>
8224 * bufferlist.C: changes for unsaved changes dialog
8226 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8228 * bufferlist.C (newFile): set language (messages_) for new
8231 * buffer.C (readFile): ws changes only.
8233 2003-04-28 André Pönitz <poenitz@gmx.net>
8238 * BufferView_pimpl.C:
8239 * BufferView.C: getParFromID related ParagraphList::iterator changes
8241 2003-04-28 André Pönitz <poenitz@gmx.net>
8243 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
8246 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8248 * messages.C: remove one more localedir class variable.
8250 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8252 * messages.C (getLocaleDir): singleton generation function
8254 (Messages): add a default constructor.
8256 * main.C (main): do not setup localedir here, do not call
8259 * gettext.C (_): use it.
8260 (gettext_init): delete funciton
8262 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8264 * gettext.C (getLyXMessages): new singleton generating function.
8266 * buffer.C (updateDocLang): adjust
8268 * Makefile.am (messages.o): add target
8269 (main.o): remove target
8271 2003-04-27 John Levon <levon@movementarian.org>
8276 * lyxvc.C: specify cancel button in Alert::prompt
8278 2003-04-26 John Levon <levon@movementarian.org>
8283 * LyXAction.C: add LFUN_INSET_SETTINGS
8285 * lyxfunc.C: don't enable tabular-feature when there's
8286 just any locking inset
8288 2003-04-26 John Levon <levon@movementarian.org>
8290 * bufferlist.C: re-add Cancel to buffer close question
8292 * lyxfunc.C: fix import UI a bit
8294 2003-04-25 John Levon <levon@movementarian.org>
8296 * gettext.C: remove the broken asserts for now
8298 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
8300 * messages.C: make case where setlocale cannot comply work better.
8302 * buffer.C (updateDocLang): new function
8303 (changeLanguage): use it
8306 * text2.C (setCounter): use B_ a bit.
8308 * lyxlayout.C (Read): be sure to trim the label strings.
8310 * messages.C (Messages): fix typo in comment
8312 * buffer.C (readFile): set message_ after file is loaded.
8313 (makeDocBookFile): remove double return
8314 (changeLanguage): reset message_ upon language change.
8315 (B_): new func, use this to get translated buffer strings.
8317 * main.C: add myself and Jean Marc as authors.
8319 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
8321 * messages.[hC]: pimplify Messages, and three different pimpls to be
8322 used in different circumstances.
8324 * gettext.[Ch]: change for use with new message code.
8326 2003-04-24 André Pönitz <poenitz@gmx.net>
8328 * factory.C: support for eqref
8330 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
8332 * messages.[Ch]: add missing char
8334 * Makefile.am (lyx_SOURCES): add messages.[Ch]
8336 * messages.[Ch]: New files
8338 2003-04-18 John Levon <levon@movementarian.org>
8342 * BufferView_pimpl.C:
8346 * text2.C: remove layout-copy/paste (bug 778)
8348 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
8350 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
8352 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
8354 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
8355 if they succeed. Act accordingly.
8357 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8359 * text2.C (setCharFont): adjust
8360 (setCounter): adjust
8361 (insertStringAsLines): adjust
8363 * text.C (leftMargin): adjust
8364 (setHeightOfRow): adjust
8366 * rowpainter.C (paintFirst): adjust
8369 * paragraph_funcs.C (depthHook): ParagraphList::iterators
8371 (isFirstInSequence): ditto
8372 (getEndLabel): ditto
8375 * paragraph.C (getParLanguage): comment out some hard stuff.
8377 * buffer.C (insertStringAsLines): take a ParagraphList as arg
8379 (simpleDocBookOnePar): ditto
8380 (makeDocBookFile): use ParagraphList::iterator
8382 * CutAndPaste.C (pasteSelection): adjust
8384 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8386 * text2.C (getFont): adjust
8387 (getLayoutFont): adjust
8388 (getLabelFont): adjust
8390 * paragraph_funcs.C (TeXOnePar): adjust
8392 * buffer.C (simpleLinuxDocOnePar): adjust
8393 (simpleDocBookOnePar): adjust
8395 * CutAndPaste.C (pasteSelection): adjust
8397 * BufferView.C (getEncoding): adjust
8399 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
8401 2003-04-16 John Levon <levon@movementarian.org>
8403 * lyxfind.C: use parlist stuff for search/changes
8405 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8407 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
8409 * text2.C (deleteEmptyParagraphMechanism): adjust
8411 * text2.[Ch] (ownerParagraph): delete func (both of them
8413 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8415 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
8417 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8419 * ParagraphList.C: prepare for NO_NEXT
8421 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8423 * text2.C (getFont): adjust
8424 (getLayoutFont): adjust
8425 (getLabelFont): adjust
8427 * paragraph.C (getFont): adjust
8428 (getLabelFont): adjust
8429 (getLayoutFont): adjust
8431 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
8433 2003-04-15 John Levon <levon@movementarian.org>
8437 * lyx_main.C: handle Include in .ui files
8439 2003-04-15 John Levon <levon@movementarian.org>
8441 * MenuBackend.C: make the doc files length shorter
8444 * ToolbarBackend.C: handle toolbar placement flags,
8447 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8449 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
8452 * paragraph_funcs.C (TeXOnePar): adjust
8454 * paragraph.C (getLabelFont): add outerfont arg, adjust
8455 (getLayoutFont): ditto
8456 (simpleTeXOnePar): adjust
8458 * paragraph_pimpl.C (realizeFont): delete func
8460 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
8462 * text2.C (beforeFullRowInset): added a bad getchar check, removed
8463 row argument, constify cur argument.
8465 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8467 * text2.C (getFont): adjust
8468 (getLayoutFont): adjust
8469 (getLabelFont): adjust
8471 * paragraph_funcs.C (TeXOnePar): adjust
8472 (outerFont): new func...
8473 (realizeFont): ...moved out from here, changed this to facilitate
8476 * paragraph.C (getFont): take outerfont as arg, adjust
8477 (simpleTeXOnePar): add outerfont arg, adjust
8479 * buffer.C (simpleLinuxDocOnePar): adjust
8480 (simpleDocBookOnePar): adjust
8482 * CutAndPaste.C (pasteSelection): adjust
8484 * BufferView.C (getEncoding): adjust
8486 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8488 * text2.C (setCharFont): adjust
8489 (setCounter): adjust
8491 * text.C (leftMargin): adjust
8492 (setHeightOfRow): adjust
8494 * rowpainter.C (paintFirst): adjust
8497 * paragraph_pimpl.C (realizeFont): adjust
8499 * paragraph.C (isFirstInSequence): move from here...
8500 * paragraph_funcs.C (isFirstInSequence): ...to here
8502 * paragraph.C (outerHook): move from here...
8503 * paragraph_funcs.C (outerHook): ...to here
8505 * paragraph.C (depthHook): move from here...
8506 * paragraph_funcs.C (depthHook): ...to here
8508 * paragraph.C (getEndLabel): move from here...
8509 * paragraph_funcs.C (getEndLabel): ...to here
8511 * text2.C (realizeFont): move from here...
8512 * paragraph_funcs.C (realizeFont): ...to here
8514 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8516 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
8518 2003-04-14 Angus Leeming <leeming@lyx.org>
8520 * LColor.[Ch]: scrap LColor mathcursor.
8522 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8524 * lyxlex.[Ch] (text): delete function
8525 * trans.C (Load): adjust
8526 * paragraph_funcs.C (readParToken): adjust
8528 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8530 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8531 vector<char> instead of a char[].
8533 * lyxlex_pimpl.C (getString): adjust
8535 (lex): use getString
8539 * lyxlex.C (text): use pimpl_->getString()
8543 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8545 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8546 (makeFontEntriesLayoutSpecific): temp var for par.size()
8547 (setLayout): temp var for ownerParagraphs().end()
8548 (fullRebreak): temp var for rows().end()
8549 (selectionAsString): temp var for boost::next(startpit), realize
8550 that the while really is a regular for loop.
8551 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8552 setCursor in one place.
8553 (setParagraph): temp vr for ownerParagraphs().end()
8554 (updateCounters): make the while loop a for loop
8555 (cutSelection): temp var for ownerParagraphs().end()
8556 (updateInset): make the do {} while() a regular for loop
8557 (getCursorX): use temp vars
8558 (setCurrentFont): use temp vars
8559 (getColumnNearX): use temp vars
8561 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8563 * text.C (transformChar): use temp var for getChar
8564 (computeBidiTables): use temp var for row->par()
8565 (fill): move temp vars for row->par() and pit->layout() earlier in
8567 (labelFill): use temp var for row->par()
8568 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8569 asc and desc, realize that pit never changes and that firstpit is
8570 just a duplicate and not needed. Exchange rit->par() with pit in a
8572 (breakAgain): use a temp var for boost::next(rit)
8573 (breakAgainOneRow): ditto
8574 (breakParagraph): use a temp var for rows().begin()
8575 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8576 (cursorRightOneWord): use temp var for cursor.par() and
8577 cursor.pos(), remove usage of tmpcursor.
8578 (cursorLeftOneWord): use temp var for cursor.par() and
8579 cursor.pos() only set cur at end of function.
8581 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8583 * text.C, text2.C: exchange all usage of Paragraph::next with
8584 boost::next(ParagraphList::iterator)
8586 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8588 * text2.C (cursorTop): simplify implementation
8589 (cursorBottom): ditto
8590 (setParagraph): use ParagraphList::iterator
8591 (setCurrentFont): adjust
8592 (getColumnNearX): adjust
8593 (cursorRight): adjust
8594 (cursorLeft): remove usage of Paragraph::previous
8595 (cursorUpParagraph): ditto
8596 (deleteEmptyParagraphMechanism): slight cleanup
8598 * text.C (isBoundary): take a Paragraph const & instead of a
8600 (addressBreakPoint): ditto
8601 (leftMargin): remove usage of Paragraph::previous.
8602 (setHeightOfRow): ditto
8603 (cursorLeftOneWord): ditto
8604 (selectNextWordToSpellcheck): ditto
8607 (breakParagraph): remove one usage of Paragraph::next
8608 (redoParagraph): ditto
8609 (acceptChange): ditto
8610 (insertChar): adjust
8611 (rowBreakPoint): adjust
8613 * bufferview_funcs.C (toggleAndShow): adjust
8615 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
8617 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8618 methods to access it.
8620 * text.C: Added updateRowPositions to compute all row positions.
8621 Make top_y and getRowNearY() to use the cached y position
8623 2003-04-11 John Levon <levon@movementarian.org>
8625 * text.C (rowBreakPoint): reintroduce the labelEnd
8626 checks, code copied from the row fill stuff. Deep voodoo.
8628 * text.C (fill): add a comment and debugging for the
8631 2003-04-11 John Levon <levon@movementarian.org>
8633 * text.C: make sure fullrow insets get wrapped to the next line,
8634 even when they're in a manual label
8636 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
8638 * text2.C (insertParagraph): make it take ParagraphList::iterator
8640 (setLayout): make it return ParagraphList::iterator
8641 (redoParagraphs): ditto
8643 (checkParagraph): ditto
8645 * text.C (getRow): make getrow take ParagraphList::iterator as arg
8647 * text2.C: adjust several funcs.
8648 (realizeFont): take a ParagraphList::iterator as arg.
8649 (getLayoutFont): ditto
8650 (getLabelFont): ditto
8651 (setCharFont): ditto
8653 * text.C: adjust several funcs.
8655 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8657 * text.C (selectNextWordToSpellcheck): don't accidentally
8660 2003-04-10 John Levon <levon@movementarian.org>
8662 * ToolbarBackend.C (getIcon): special handling for
8665 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8667 * text2.C (cursorRight): a getChar assert fixed
8669 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8671 * text2.C (getFont): change to take a ParagraphList::iterator
8672 instead of Paragraph*
8673 Adjust several functions.
8675 * text.C (transformChar): change to take a ParagraphList::iterator
8676 instead of Paragraph*
8677 (singleWidth): ditto
8678 Adjust several functions.
8680 * rowpainter.C: adjust several functions
8681 * rowpainter.h:store a ParagraphList::iterator and not a
8685 2003-04-09 John Levon <levon@movementarian.org>
8690 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8691 and the "help" bits as well
8693 2003-04-09 John Levon <levon@movementarian.org>
8696 * ToolbarBackend.C: allow multiple toolbars
8698 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8700 * undo_funcs.C (setCursorParUndo): adjust
8702 * text_funcs.C (transposeChars): adjust
8704 * text3.C (gotoNextInset): adjust
8707 * text2.C (setLayout): adjust
8708 (changeDepth): adjust
8710 (redoParagraphs): adjust
8711 (selectionAsString): adjust
8712 (setParagraph): adjust
8713 (insertInset): adjust
8714 (cutSelection): adjust
8715 (copySelection): adjust
8716 (pasteSelection): adjust
8717 (insertStringAsLines): adjust
8718 (updateInset): adjust
8719 (setCursor): change to take a ParagraphList::iterator parameter
8720 (setCursorIntern): change to take a ParagraphList::iterator parameter
8721 (setCurrentFont): adjust
8722 (cursorLeft): adjust
8723 (cursorRight): adjust
8724 (deleteEmptyParagraphMechanism): adjust
8726 * text.C (breakParagraph): adjust
8727 (insertChar): adjust
8728 (acceptChange): adjust
8729 (rejectChange): adjust
8730 (selectNextWordToSpellcheck): adjust
8731 (changeCase): adjust
8735 * lyxfind.C (SearchForward): adjust
8736 (SearchBackward): adjust
8737 (nextChange): adjust
8739 * lyxcursor.C (par): adjust
8741 * lyxcursor.h: store a ParagraphList::iterator instead of a
8744 * lyx_cb.C (getPossibleLabel): adjust
8746 * bufferview_funcs.C (toggleAndShow): adjust
8748 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8751 * BufferView.C (removeAutoInsets): adjust
8752 (lockedInsetStoreUndo): adjust
8754 2003-04-09 John Levon <levon@movementarian.org>
8756 * ToolbarBackend.C: try icon without argument
8757 if with argument fails
8759 2003-04-08 John Levon <levon@movementarian.org>
8762 * ToolbarBackend.C: add getIcon(), handle tooltip,
8763 and change from "Icon" to "Item".
8765 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8767 * BufferView.C (lockInset): another bad getchar crunched
8769 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8771 * text2.C (changeDepth): do not setUndo on test_only (make undo work
8774 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
8776 * lyxfind.C (searchForward, searchBackwards): bug 782
8778 2003-04-07 John Levon <levon@movementarian.org>
8780 * paragraph.C: remove dead comment
8782 * text.C: remove troublesome depth-fiddling code
8783 in leftMargin() and rightMargin() (bug 1017)
8785 * text.C: fix breaking of rows in nested lists
8788 * text2.C (updateCounters): fix up depth values
8791 2003-04-07 John Levon <levon@movementarian.org>
8793 * BufferView_pimpl.C: clear message when doc finishes resizing,
8794 and after a mouse event
8796 * lyxfunc.C: clear message after exiting inset
8798 2003-04-07 John Levon <levon@movementarian.org>
8800 * bufferview_funcs.C: show math status not outside
8801 status in the statusbar
8803 2003-04-07 John Levon <levon@movementarian.org>
8805 * lyxfunc.C: note status changed after a depth change
8807 2003-04-04 Angus Leeming <leeming@lyx.org>
8809 * LaTeX.h: move AuxInfo operator==, != out of line.
8810 Remove LaTeX virtual destructor; nothing derives from it.
8811 Move operator()() out of public area and rename it startscript().
8812 Change protected for private.
8814 2003-04-04 Angus Leeming <leeming@lyx.org>
8817 * text2.C: remove unneeded #includes.
8819 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8821 * text2.C (dEPM): fix the heigth of the next row
8823 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8825 * text.C: squashed an invalid getChar requester + some ws changes
8827 2003-04-03 John Levon <levon@movementarian.org>
8829 * bufferview_funcs.h:
8830 * bufferview_funcs.C:
8833 * text2.C: make getStatus work for the env depth lfuns
8835 2003-04-03 John Levon <levon@movementarian.org>
8837 * bufferview_funcs.h:
8838 * bufferview_funcs.C:
8841 * text2.C: parlistize decDepth(), by merging it with incDepth()
8843 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8845 * lyxrow.h: store a ParagraphList::iterator instead of a
8846 Paragraph* and adjust other class functions to suit.
8848 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8851 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8853 * text2.C (setCursor): do not anchor to cursor row for the time being
8855 2003-04-02 John Levon <levon@movementarian.org>
8862 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8864 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8866 * paragraph.h: make ParagraphList and ParagraphList::iterator
8867 friends of Paragraph.
8869 * buffer.C (makeLinuxDocFile): move towards ParagraphList
8871 * ParagraphList.C: Use the private next_ and previous_ from
8874 2003-04-01 John Levon <levon@movementarian.org>
8878 * Makefile.am: rename, remove defaults gunk
8881 * MenuBackend.C: remove defaults gunk
8884 * Languages.C: remove defaults gunk
8887 * lyx_main.C: error out if files couldn't be found.
8889 2003-04-02 John Levon <levon@movementarian.org>
8891 * text2.C: make incDepth() use parlist
8893 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8895 * undo_funcs.C (firstUndoParagraph): adjust
8897 * text3.C (gotoInset): adjust
8898 (dispatch): adjust, and rewrite loop.
8900 * text2.C (init): adjust, and rewrite loop.
8901 (redoParagraphs): adjust
8902 (updateInset): adjust, and rewrite loop.
8903 (deleteEmptyParagraphMechanism): adjust
8905 * tabular.C (LyXTabular): adjust
8906 (SetMultiColumn): adjust
8909 * lyxtext.[Ch] (ownerParagraph): delete function
8910 (ownerParagraphs): new function returns a ParagraphList.
8912 * BufferView.C (removeAutoInsets): adjust
8913 (insertErrors): adjust
8914 (setCursorFromRow): adjust
8916 2003-04-01 Angus Leeming <leeming@lyx.org>
8918 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8921 2003-04-02 John Levon <levon@movementarian.org>
8927 * text_funcs.C: make transposeChars a free function
8929 * lyxrow_funcs.C: remove wrong comment
8931 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8934 * rowpainter.C: adjust
8939 * lyxrow_funcs. [Ch]: new files
8941 * lyxrow.[Ch]: remove next and previous pointers
8942 (next,previous): remove accessor functions
8943 (isParEnd): move to lyxrow_funcs
8944 (lastPos): move to lyxrow_funcs
8945 (nextRowIsAllInset): move to lyxrow_funcs
8946 (lastPrintablePos): move to lyxrow_funcs
8947 (numberOfSeparators): move to lyxrow_funcs
8948 (numberOfHfills): move to lyxrow_funcs
8949 (numberOfLabelHfills): move to lyxrow_funcs
8950 (hfillExpansion): move to lyxrow_funcs
8954 * bufferview_funcs.C (toggleAndShow): adjust
8956 * RowList.h: Remove class RowList from file leave just a
8959 * RowList.C: delete file
8961 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8964 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8966 * text3.C (cursorPrevious): adjust
8967 (cursorNext): adjust
8970 * text2.C (redoHeightOfParagraph): adjust
8971 (redoDrawingOfParagraph): adjust
8974 * text.C (breakParagraph): adjust
8975 (insertChar): adjust
8978 * rowpainter.C (RowPainter): adjust
8979 (leftMargin): simplify and adjust
8980 (most rowpainter functions): adjust.
8982 * rowpainter.h: store the row as RowList::iterator not as Row*
8984 * lyxcursor.C (row): taka RowList::iterator as arg
8987 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8990 2003-04-01 Angus Leeming <leeming@lyx.org>
8992 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8993 stuff like bool Bool.
8995 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8997 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
9000 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9002 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
9005 * lyxtext.h (rows): drop one version and leve a const variant that
9006 returns a RowList::iterator.
9008 2003-03-31 Angus Leeming <leeming@lyx.org>
9010 * text.C (fill): ensure that the signature is the same as that in the
9013 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
9015 * text2.C (redoParagraphs): adjust
9016 (updateCounters): adjust
9017 (checkParagraph): adjust
9018 (getColumnNearX): adjust and reformat a bit.
9020 * text.C (top_y): adjust
9022 (leftMargin): adjust
9023 (prepareToPrint): adjust
9025 (getRowNearY): adjust
9027 * lyxtext.h: make rowlist_ mutable.
9029 * RowList.h: add const_iterator
9030 * RowList.C: adjust for RowList::const_iterator.
9032 * text2.C (getCursorX): make it take a RowList::iterator as arg,
9035 2003-03-31 John Levon <levon@movementarian.org>
9038 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
9040 * lyx_main.C: set default fonts from using lyx_gui funcs
9042 * exporter.C: pdf_mode moved from lyxrc
9045 * lyxfunc.C: changes from above
9047 2003-03-31 John Levon <levon@movementarian.org>
9049 * lyx_main.C: fix to the last fix
9051 2003-03-31 John Levon <levon@movementarian.org>
9053 * bufferlist.C: "Load original" -> "Load Original"
9059 * format.C: more Alert cleanups
9061 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
9063 * text2.C (removeParagraph): make it take a RowList::iterator as
9065 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
9066 (postRowPaint): make it take a RowList::iterator as arg, adjust.
9068 * text.C (anchor_row): make it take a RowList::iterator as arg,
9070 (computeBidiTables): make it take a const reference to Row instead
9071 of Row pointer, adjust.
9072 (leftMargin): make it take a RowList::iterator as arg, adjust.
9073 (rowBreakPoint): adjust
9074 (breakAgainOneRow): make it take a RowList::iterator as arg,
9076 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
9078 * bufferview_funcs.C (toggleAndShow): adjust
9080 2003-03-30 John Levon <levon@movementarian.org>
9084 * boost-inst.C: moved to support
9086 * several files: changes as a result
9088 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
9090 * text2.C (LyXText): adjust.
9092 (removeRow): make it take a RowList::iterator as arg, adjust.
9093 (fullRebreak): adjust
9094 (deleteEmptyParagraphMechanism): adjust
9095 (clearPaint): adjust
9098 * text.C (top_y): adjust
9099 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
9100 (breakAgain): make it take a RowList::iterator as arg, adjust.
9101 (breakParagraph): adjust
9102 (insertChar): adjust
9105 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
9106 need_break_row, and refresh_row.
9108 * text3.C (dispatch): adjust
9110 * text2.C (checkParagraph): adjust
9112 (setCursorFromCoordinates): adjust
9114 * text.C (top_y): adjust
9116 (getRow): make it return a RowList::iterator, adjust
9117 (getRowNearY): make it return a RowList::iterator, adjust
9119 * text2.C (init): adjust
9120 (insertRow): remove function
9121 (insertParagraph): adjust
9122 (redoParagraphs): adjust
9123 (fullRebreak): adjust
9124 (updateCounters): adjust
9126 * text.C (top_y): rewrite to use RowList iterators.
9128 (setHeightOfRow): rewrite to sue RowList iterators.
9129 (appendParagraph): adjust
9130 (breakAgain): adjust
9131 (breakAgainOneRow): adjust
9132 (breakParagraph): adjust
9134 (getRowNearY): adjust, and remove commented code.
9136 * lyxtext.h (firstRow): delete function
9137 (lastRow): delete function
9138 (rows): new function (const and non-const versions.)
9139 (insertRow): delete function
9141 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
9143 2003-03-29 John Levon <levon@movementarian.org>
9145 * BufferView_pimpl.C: always update scrollbar top
9146 because pasting text when we're anchored could mean we
9147 miss an update altogether
9149 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
9151 * text2.C (init): use rowlist_.end() and not 0.
9152 (insertRow): change to take a RowList::iterator as arg, adjust
9154 (insertParagraph): change to take a RowList::iterator as arg,
9156 (redoParagraphs): remove some debug msgs.
9158 * text.C (appendParagraph): change to take a RowList::iterator
9159 arg, adjust for this.
9160 (breakAgain): add an assert
9161 (breakAgainOneRow): ditto
9163 2003-03-29 John Levon <levon@movementarian.org>
9165 * text2.C: do not clear selection after inc/decDepth
9168 2003-03-29 John Levon <levon@movementarian.org>
9171 * buffer.C: fix broken strerrors according to Lars
9173 2003-03-29 John Levon <levon@movementarian.org>
9175 * converters.C: more Alert cleanups
9177 2003-03-29 John Levon <levon@movementarian.org>
9179 * bufferview_funcs.C: remove pointless Alert
9181 * buffer.C: fix confusing error message when
9182 a template is chmoded 000
9184 2003-03-29 John Levon <levon@movementarian.org>
9188 * BufferView_pimpl.C: Alert fixes
9192 * tabular-old.C: remove unused table compat reading
9194 2003-03-29 John Levon <levon@movementarian.org>
9199 * lyx_cb.C: more Alert cleanups
9201 * lyxfunc.C: don't allow chktex if not latex document
9203 2003-03-29 John Levon <levon@movementarian.org>
9207 * buffer.C: warnings pushed down from support/,
9210 2003-03-29 John Levon <levon@movementarian.org>
9212 * lyxfunc.C: safety check for C-r (revert)
9214 2003-03-29 John Levon <levon@movementarian.org>
9217 * bufferlist.C: several UI fixes using Alert::prompt.
9218 Fix the pointless looping quit code. Fix stupid revert
9223 * lyx_cb.C: use Alert::prompt
9225 * lyx_main.C: remove a silly question
9227 * lyxfunc.C: remove a couple of silly questions,
9230 2003-03-28 John Levon <levon@movementarian.org>
9232 * text2.C: fix bug 974 (End on empty par)
9234 2003-03-28 John Levon <levon@movementarian.org>
9236 * BufferView_pimpl.C:
9238 * lfuns.h: remove do-nothing math greek lfuns
9240 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
9242 * lyxgluelength.h (isValidGlueLength): add default arg on
9243 parameter 2. Remove default arg from friend in class.
9245 * lyxlength.h (isValidLength): add default arg on parameter 2.
9246 Remove default arg from friend in class.
9248 * text2.C (LyXText): adjust, initialize refresh_row.
9252 (insertParagraph): adjst
9253 (redoParagraphs): adjust
9254 (fullRebreak): adjust
9255 (updateCounters): adjust
9256 (deleteEmptyParagraphMechanism): first attempt at fixing a
9259 * text.C (top_y): adjust
9260 (setHeightOfRow): adjust
9262 (getRowNearY): adjust
9264 * lyxtext.h: include RowList.h
9265 (~LyXText): not needed anymore, deleted.
9266 (firstRow): modify for RowList
9267 (lastRow): new function
9268 Delete firstrow and lastrow class variables, add a Rowlist
9269 rowlist_ class variable.
9271 * lyxrow.C (lastPos): use empty() and not !size() to check if a
9274 * RowList.C (insert): fix case where it == begin().
9276 2003-03-26 Angus Leeming <leeming@lyx.org>
9278 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
9279 the thesaurus dialog.
9281 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
9283 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
9285 * RowList.[Ch]: new files
9287 * ParagraphList.C (erase): handle the case where it == begin
9290 2003-03-25 John Levon <levon@movementarian.org>
9294 * aspell.C: add new aspell support
9297 * lyxrc.C: Make use_pspell be use_spell_lib. Always
9300 2003-03-25 Angus Leeming <leeming@lyx.org>
9303 * LyXAction.C (init): new LFUN_INSET_INSERT.
9305 * BufferView_pimpl.C (dispatch): split out part of the
9306 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
9308 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
9311 2003-03-25 Angus Leeming <leeming@lyx.org>
9313 * lyxfunc.C (dispatch): changes to the Dialogs interface.
9315 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
9318 * text3.C: remove useless row->height(0)
9320 2003-03-25 John Levon <levon@movementarian.org>
9324 * text3.C: rename the refreshing stuff to better names
9326 2003-03-24 John Levon <levon@movementarian.org>
9328 * BufferView_pimpl.h:
9329 * BufferView_pimpl.C: update layout choice on a mouse
9332 2003-03-23 John Levon <levon@movementarian.org>
9334 * Makefile.am: fix commandtags.h reference
9336 2003-03-22 John Levon <levon@movementarian.org>
9338 * BufferView_pimpl.C:
9343 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
9345 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
9348 * text.C: take the rtl methods out of line
9350 2003-03-21 André Pönitz <poenitz@gmx.net>
9352 * metricsinfo.[Ch]: new files containing structures to be passed around
9353 during the two-phase-drawing...
9355 2003-03-21 André Pönitz <poenitz@gmx.net>
9357 * lyxtextclass.C: read 'environment' tag.
9359 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
9361 * text2.C (removeRow): fix bug 964
9363 2003-03-20 John Levon <levon@movementarian.org>
9367 * text2.C: paint cleanups. Inset::update() dropped font
9370 2003-03-19 John Levon <levon@movementarian.org>
9372 * lyxfunc.C: only fitcursor/markDirty if available()
9374 2003-03-19 John Levon <levon@movementarian.org>
9376 * commandtags.h: rename to ...
9378 * lfuns.h: ... this, and renumber / cleanup
9380 2003-03-19 John Levon <levon@movementarian.org>
9382 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
9383 fit the cursor after an lfun
9387 * BufferView_pimpl.h:
9388 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
9390 * LyXAction.C: layout-character should have ReadOnly
9392 * ParagraphParameters.C:
9394 * bufferview_funcs.C:
9401 * undo_funcs.C: changes from above
9403 2003-03-18 John Levon <levon@movementarian.org>
9405 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
9406 remove it from update()
9408 * lyxfunc.C: update layout choice after an lfun
9410 * text3.C: remove extra updateLayoutChoice()s
9412 2003-03-18 John Levon <levon@movementarian.org>
9414 * text.C: top_y change means full repaint, fix
9415 a drawing bug with cursor movement
9417 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
9421 * text2.C: anchor row on setCursor
9423 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
9425 * lyxtext.h: remove almost all mutable keywords
9428 * text3.C: remove const keywords accordingly
9430 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
9432 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
9434 (TeXEnvironment): ditto
9437 2003-03-17 John Levon <levon@movementarian.org>
9439 * text.C (rowBreakPoint): remove attempt to fix displayed
9440 math insets inside a manual label
9442 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
9444 * lyxtext.h: remove BufferView* as first arg from almost all class
9446 * other files: adjust.
9448 2003-03-17 John Levon <levon@movementarian.org>
9452 * text2.C: more paint cleanups
9454 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
9457 * rowpainter.C: remove "smart" background painting code
9459 2003-03-16 John Levon <levon@movementarian.org>
9464 * text3.C: add helper functions for setting refresh_row/y
9466 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
9468 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
9469 newline inset which *can* get inserted in the pass_thru layouts.
9470 This is primarily for literate documents.
9472 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
9474 * buffer.C: increment LYX_FORMAT to 223
9476 2003-03-14 André Pönitz <poenitz@gmx.net>
9478 * textclass.h: prepare for environment handling, ws changes
9479 * lyxlayout.C: read latexheader and latexfooter tags
9481 2003-03-14 John Levon <levon@movementarian.org>
9483 * text2.C: rewrite ::status() a bit
9485 2003-03-13 John Levon <levon@movementarian.org>
9487 * lyxtext.h: add some docs
9489 2003-03-13 John Levon <levon@movementarian.org>
9494 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
9496 2003-03-13 John Levon <levon@movementarian.org>
9498 * text3.C: fix appendix redrawing
9500 2003-03-13 John Levon <levon@movementarian.org>
9502 * text.C (setHeightOfRow):
9504 * rowpainter.C: make appendix mark have the text
9505 "Appendix" so the user knows what it is
9508 * LColor.C: s/appendixline/appendix/ from above
9510 2003-03-13 John Levon <levon@movementarian.org>
9512 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
9514 * text.C: fix a getChar(pos) bug properly
9516 2003-03-13 Angus Leeming <leeming@lyx.org>
9519 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
9520 Probably only temporary. Let's see how things pan out.
9522 * BufferView.C (unlockInset):
9523 * BufferView_pimpl.C (fitCursor):
9524 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
9526 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
9527 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
9529 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
9530 new functions that convert ParagraphParameters to and from a string.
9532 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9533 BufferView::Pimpl's dispatch.
9534 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9536 2003-03-13 André Pönitz <poenitz@gmx.net>
9540 * factory.C: make it aware of InsetEnv
9542 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
9544 * text2.C (setCursor): never ask for one past last
9545 (setCursor): add some debugging messages.
9547 * text.C (singleWidth): never ask for one past last
9548 (singleWidth): ditto
9550 (rightMargin): ditto
9551 (rowBreakPoint): ditto
9552 (setHeightOfRow): ditto
9553 (prepareToPrint): ditto
9555 * rowpainter.C (paintBackground): never ask for one past last
9556 (paintText): never ask for one past last
9558 * paragraph_pimpl.C (getChar): make the assert stricter, never
9559 allow the one past last pos to be taken
9561 * paragraph.C (getChar): ws changes only
9563 * lyxrow.C (nextRowIsAllInset): never ask for one past last
9564 (numberOfSeparators): ditto
9565 (numberOfHfills): ditto
9567 2003-03-12 John Levon <levon@movementarian.org>
9573 * paragraph_funcs.C: fix per-buffer authorlists
9575 2003-03-12 John Levon <levon@movementarian.org>
9577 * text.C: fix newline in right address
9579 2003-03-12 Angus Leeming <leeming@lyx.org>
9581 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9582 duplicate those in LyXFunc::dispatch.
9586 * ToolbarDefaults.C:
9587 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9588 Add LFUN_FONTFREE_UPDATE.
9590 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9591 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9593 * bufferview_func.[Ch]: several new functions to facilliate
9594 transfer of data to and from the character dialog.
9596 2003-03-12 John Levon <levon@movementarian.org>
9601 * paragraph_funcs.C:
9602 * paragraph_pimpl.C:
9606 * text3.C: remove META_NEWLINE in favour of an inset
9609 * rowpainter.C: remove paintNewline (done by inset)
9611 2003-03-12 John Levon <levon@movementarian.org>
9613 * paragraph_pimpl.C: complain about bad getChar()s
9614 for a while at least
9616 2003-03-12 John Levon <levon@movementarian.org>
9619 * buffer.C: move paragraph read into a separate function,
9620 a little renaming to reflect that.
9623 * bufferparams.C: remove the author_ids map, not necessary now
9626 * factory.C: moved Buffer::readInset to here
9628 * paragraph_funcs.h:
9629 * paragraph_funcs.C: readParagraph free function moved from
9632 * tabular.C: name change
9634 2003-03-12 John Levon <levon@movementarian.org>
9637 * ParagraphParameters.C: move par params input to
9640 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9641 behave like a normal read from the stream wrt reading
9642 a line vs. a \\token
9644 2003-03-12 John Levon <levon@movementarian.org>
9647 * ParagraphParameters.h:
9648 * ParagraphParameters.C: move output code to a
9651 2003-03-12 John Levon <levon@movementarian.org>
9653 * BufferView.C (insertLyXFile):
9656 * tabular.C: use a parlist iterator for creating the
9659 2003-03-12 John Levon <levon@movementarian.org>
9661 * buffer.C: make current_change static local not
9664 2003-03-12 John Levon <levon@movementarian.org>
9666 * buffer.C: fix insertStringAsLines for change tracking
9668 2003-03-12 John Levon <levon@movementarian.org>
9675 * bufferparams.C: move author list into params. Rename some
9676 functions. Move the header reading into a separate token
9677 loop. Move the header token reading into BufferParams.
9679 2003-03-12 John Levon <levon@movementarian.org>
9681 * changes.C: put debug inside lyxerr.debugging() checks
9683 2003-03-11 André Pönitz <poenitz@gmx.net>
9685 * factory.C: make it aware of InsetHFill
9687 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9689 * buffer.C (latexParagraphs): move function from here...
9690 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9693 2003-03-10 Angus Leeming <leeming@lyx.org>
9695 * LyXAction.C (init): fix bug in poplating array with multiple entries
9696 with the same LFUN (spotted by JMarc).
9698 2003-03-10 John Levon <levon@movementarian.org>
9701 * text2.C: move getColumnNearX() near its
9704 2003-03-10 John Levon <levon@movementarian.org>
9706 * text.C: fix break before a minipage
9708 2003-03-10 John Levon <levon@movementarian.org>
9710 * text.C: fix the last commit
9712 2003-03-09 John Levon <levon@movementarian.org>
9716 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9717 bug 365 (don't break before insets unless needed). Don't
9718 return a value > last under any circumstances.
9720 2003-03-09 Angus Leeming <leeming@lyx.org>
9722 * BufferView_pimpl.C (trackChanges, dispatch): call
9723 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9725 2003-03-09 Angus Leeming <leeming@lyx.org>
9727 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9728 than Dialogs::showAboutlyx().
9730 2003-03-09 Angus Leeming <leeming@lyx.org>
9732 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9733 than Dialogs::showTabularCreate().
9735 2003-03-09 John Levon <levon@movementarian.org>
9739 * text2.C: 3rd arg to nextBreakPoint was always the same.
9742 2003-03-08 John Levon <levon@movementarian.org>
9749 * text2.C: Remove the "main" bit from the "main body"
9752 2003-03-08 John Levon <levon@movementarian.org>
9754 * text.C (leftMargin): The left margin of an empty
9755 manual label paragraph should not include the label width
9758 * text.C (prepareToPrint): don't attempt to measure hfills
9759 for empty manual label paragraphs - the answer should be 0
9761 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9763 * CutAndPaste.C: remove commented code and reindent.
9765 2003-03-08 John Levon <levon@movementarian.org>
9768 * lyxfunc.C: move reloadBuffer()
9771 * BufferView.C: to here
9773 * lyxvc.C: add comment
9776 * vc-backend.C: call bv->reload() to avoid
9777 getStatus() check on MENURELOAD
9779 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
9781 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9782 to an old format .dep file.
9784 2003-03-07 Angus Leeming <leeming@lyx.org>
9786 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9787 when the LFUN_MOUSE_RELEASE should have been handled by
9788 inset->localDispatch.
9790 2003-03-07 Angus Leeming <leeming@lyx.org>
9792 * BufferView_pimpl.C (dispatch):
9793 * LyXAction.C (init):
9794 * ToolbarDefaults.C (init):
9796 * lyxfunc.C (getStatus):
9797 remove LFUN_INSET_GRAPHICS.
9799 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9801 2003-03-07 Angus Leeming <leeming@lyx.org>
9804 * LyXAction.C (init):
9805 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9807 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9810 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9812 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9813 localDispatch method LFUN_INSET_DIALOG_UPDATE.
9815 2003-03-07 Angus Leeming <leeming@lyx.org>
9817 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9820 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9822 * ParagraphList.C (front): new function
9825 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
9827 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9828 and top_row_offset_. removed var first_y.
9830 * text2.C (LyXText, removeRow):
9832 * BufferView_pimpl.C:
9833 use these methods instead of using first_y
9835 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9837 * text2.C (pasteSelection): adjust for checkPastePossible
9839 * CutAndPaste.C: remove Paragraph * buf and replace with
9840 ParagraphList paragraphs.
9841 (DeleteBuffer): delete
9842 (cutSelection): change the tc type to textclass_type
9843 (copySelection): change the tc type to textclass_type
9844 (copySelection): adjust for ParagraphList
9845 (pasteSelection): change the tc type to textclass_type
9846 (pasteSelection): adjust for Paragraphlist
9847 (nrOfParagraphs): simplify for ParagraphList
9848 (checkPastePossible): simplify for ParagraphList
9849 (checkPastePossible): remove unused arg
9851 * ParagraphList.C (insert): handle the case where there are no
9854 * CutAndPaste.h: make CutAndPaste a namespace.
9856 * text3.C (dispatch): adjust
9858 * text.C (breakParagraph): add a ParagraphList as arg
9860 * paragraph_funcs.C (breakParagraph): change to take a
9861 BufferParams and a ParagraphList as args.
9862 (breakParagraphConservative): ditto
9863 (mergeParagraph): ditto
9864 (TeXDeeper): add a ParagraphList arg
9865 (TeXEnvironment): ditto
9868 * buffer.C (readLyXformat2): adjust
9869 (insertStringAsLines): adjust
9870 (latexParagraphs): adjust
9872 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9873 (cutSelection): adjust
9874 (pasteSelection): adjust
9876 * BufferView_pimpl.C (insertInset): adjust
9878 2003-03-05 Angus Leeming <leeming@lyx.org>
9881 * LyXAction.C (init):
9882 * BufferView_pimpl.C (dispatch):
9883 * lyxfunc.C (getStatus):
9884 remove LFUN_CHILD_INSERT.
9886 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9888 2003-03-05 Angus Leeming <leeming@lyx.org>
9891 * LyXAction.C (init):
9892 * src/factory.C (createInset):
9893 * lyxfunc.C (getStatus):
9894 * text3.C (dispatch):
9895 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9897 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9899 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9901 * ParagraphList.C (insert): handle insert right before end()
9902 (erase): fix cases where it can be first or last paragraph.
9904 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9906 * paragraph_funcs.C (TeXEnvironment): remove all usage of
9907 Paragraph::next and Paragraph::previous
9910 * text.C (breakParagraph): adjust
9912 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9913 BufferParams& as arg.
9914 (breakParagraph): use ParagraphList::insert
9915 (breakParagraphConservative): take a Buffer* instead of a
9916 BufferParams& as arg.
9917 (breakParagraphConservative): use ParagraphList::insert.
9919 * buffer.C (insertStringAsLines): un-const it
9920 (insertStringAsLines): adjust
9922 * ParagraphList.C (insert): new function
9924 * CutAndPaste.C (pasteSelection): adjust
9926 * text.C (backspace): adjust
9928 * tabular.C (SetMultiColumn): adjust
9930 * CutAndPaste.C (cutSelection): adjust
9931 (pasteSelection): adjust
9933 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9934 Buffer const * as arg
9936 * ParagraphList.C (erase): new function
9937 * paragraph_funcs.C (mergeParagraph): use it
9938 (mergeParagraph): make it take a Buffer* instead of a
9939 BufferParams* as arg
9941 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9943 (breakParagraphConservative): ditto
9945 * paragraph.h: remove the breakParagraph friend
9947 * paragraph.C (eraseIntern): new function
9948 (setChange): new function
9950 * paragraph_funcs.C (mergeParagraph): make it take a
9951 ParagraphList::iterator instead of a Paragraph *, adjust
9954 * paragraph.h: move an #endif so that the change tracking stuff
9955 also works in the NO_NEXT case.
9957 2003-03-04 Angus Leeming <leeming@lyx.org>
9960 * LyXAction.C: new LFUN_INSET_MODIFY.
9962 * BufferView_pimpl.C (dispatch): if an inset is found to be open
9963 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9965 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9967 * several files: ws changes only
9969 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9970 (TeXEnvironment): ditto
9973 * buffer.C (makeLaTeXFile): adjust
9974 (latexParagraphs): make it take ParagraphList::iterator as args
9976 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
9978 * buffer.C (latexParagraphs): adjust
9980 * paragraph.C (TeXOnePar): move function...
9981 (optArgInset): move function...
9982 (TeXEnvironment): move function...
9983 * paragraph_pimpl.C (TeXDeeper): move function...
9984 * paragraph_funcs.C: ...here
9986 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9988 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9990 * buffer.C (readInset): remove compability code for old Figure and
9993 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9995 * buffer.C: ws changes
9998 * BufferView_pimpl.C: ditto
10001 * bufferlist.h: ditto
10005 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
10007 * converter.[Ch]: split into itself +
10010 * Makefile.am: += graph.[Ch] + format.[Ch]
10017 * lyxrc.C: added #include "format.h"
10019 2003-02-27 Angus Leeming <leeming@lyx.org>
10021 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
10024 * factory.C (createInset): add "label" to the factory.
10026 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
10027 string and do no more.
10029 2003-02-27 Angus Leeming <leeming@lyx.org>
10032 * LyXAction.C (init):
10033 * factory.C (createInset):
10034 * BufferView_pimpl.C (dispatch):
10035 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
10037 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
10039 * lyxfunc.C (dispatch):
10040 * text3.C (dispatch): pass name to params2string.
10042 2003-02-26 Angus Leeming <leeming@lyx.org>
10044 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
10046 Rearrange the ~includes. Strip out the unnecessary ones.
10048 * factory.C (createInset): reformat.
10049 create new insets for the various LFUN_XYZ_APPLY lfuns.
10051 2003-02-26 John Levon <levon@movementarian.org>
10054 * lyxrow.C: add isParStart,isParEnd helpers
10056 * paragraph.h: make isInserted/DeletedText take refs
10058 * paragraph_funcs.h:
10059 * paragraph_funcs.C: remove #if 0'd code
10064 * text.C: use lyxrow helpers above.
10065 Move draw and paint routines to RowPainter.
10066 Make several methods use refs not pointers.
10067 Make backgroundColor() const.
10068 Add markChangeInDraw(), isInInset().
10069 Merge changeRegionCase into changeCase.
10070 Make workWidth() shouldn't-happen code into an Assert.
10073 * rowpainter.C: new class for painting a row.
10076 * vspace.C: make inPixels take a ref
10078 2003-02-26 Angus Leeming <leeming@lyx.org>
10080 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
10083 2003-02-25 John Levon <levon@movementarian.org>
10085 * ispell.C: give the forked command a more accurate name
10087 2003-02-22 John Levon <levon@movementarian.org>
10090 * toc.C: make TocItem store an id not a Paragraph *
10093 2003-02-21 Angus Leeming <leeming@lyx.org>
10095 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
10096 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
10097 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
10098 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
10099 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
10100 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
10102 * BufferView_pimpl.C (dispatch):
10103 * LyXAction.C (init):
10104 * factory.C (createInset):
10105 * lyxfunc.C (getStatus, dispatch):
10106 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
10108 2003-02-21 Angus Leeming <leeming@lyx.org>
10110 * BufferView_pimpl.C (MenuInsertLyXFile):
10111 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
10112 * lyxfunc.C (menuNew, open, doImport):
10113 no longer pass a LyXView & to fileDlg.
10115 2003-02-21 Angus Leeming <leeming@lyx.org>
10117 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
10118 * LyXAction.C: change, BIBKEY to BIBITEM.
10119 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
10120 Change InsetBibKey to InsetBibitem.
10121 Change BIBKEY_CODE to BIBITEM_CODE.
10122 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10123 * factory.C: replace insetbib.h with insetbibitem.h.
10124 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10125 * paragraph.C: replace insetbib.h with insetbibitem.h.
10126 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
10127 Change bibkey() to bibitem().
10128 * text.C: remove insetbib.h.
10129 * text2.C: replace insetbib.h with insetbibitem.h.
10130 change bibkey() to bibitem().
10131 * text3.C: remove insetbib.h.
10132 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10134 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10136 * lyxrc.C (output): enclose user email in quotes (in case there are
10139 2003-02-18 John Levon <levon@movementarian.org>
10141 * buffer.h: add std::
10143 2003-02-17 John Levon <levon@movementarian.org>
10149 * pspell.C: reworking. Especially in ispell, a large
10150 number of clean ups and bug fixes.
10152 * lyxfunc.C: fix revert to behave sensibly
10154 2003-02-17 André Pönitz <poenitz@gmx.net>
10157 * commandtags.h: new LFUN_INSERT_BIBKEY
10167 * paragraph_func.C: remove special bibkey handling
10169 2003-02-17 John Levon <levon@movementarian.org>
10171 * text.C (Delete): fix case where delete at the end of
10172 the very first paragraph would not merge the pars
10174 2003-02-17 John Levon <levon@movementarian.org>
10176 * lyxrow.C: fix lastPrintablePos()
10178 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10180 * bufferparams.C (writeLaTeX): add a std:here
10182 * buffer.C: and remove a using directive there
10184 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10186 * buffer.C (makeLaTeXFile): move the code that generates the
10189 * bufferparams.C (writeLaTeX): ... in this new method
10191 * LaTeXFeatures.C (getEncodingSet): make const
10192 (getLanguages): make const
10194 * MenuBackend.C (binding): returns the binding associated to this
10196 (add): sets the status of each item by calling getStatus. Adds
10198 (read): add support for OptSubMenu
10199 (expand): remove extra separator at the end of expanded menu
10201 2003-02-15 John Levon <levon@movementarian.org>
10204 * BufferView_pimpl.C:
10206 * bufferlist.C: remove pointless BufferStorage bloat. Remove
10207 inset code that had no actual effect. Remove unneeded status
10210 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10212 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
10215 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
10217 * text.C (drawLengthMarker): also draw an arrow marker for
10218 symbolic lengths (medskip...)
10220 2003-02-14 John Levon <levon@movementarian.org>
10223 * tabular.C: better method names
10225 2003-02-14 John Levon <levon@movementarian.org>
10227 * BufferView_pimpl.C:
10232 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
10233 it's a more accurate name. Remove some pointless uses.
10235 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10237 * text2.C (LyXText): change order of initilizers to shut off
10240 2003-02-14 John Levon <levon@movementarian.org>
10242 * buffer.C: use ParIterator for getParFromID()
10246 * paragraph_pimpl.h:
10247 * paragraph_pimpl.C: remove unused getParFromID()
10249 2003-02-14 John Levon <levon@movementarian.org>
10251 * buffer.C: remove some very old #if 0'd parse code
10253 2003-02-13 John Levon <levon@movementarian.org>
10257 * text2.C: move hfillExpansion(), numberOfSeparators(),
10258 rowLast(), rowLastPrintable(), numberofHfills(),
10259 numberOfLabelHfills() ...
10262 * lyxrow.C: ... to member functions here.
10267 * text.C: remove LyXText::beginningOfMainBody(), and call
10268 p->beginningOfMainBody() directly. Move the check for
10269 LABEL_MANUAL into the latter.
10276 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
10282 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
10283 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
10285 2003-02-13 John Levon <levon@movementarian.org>
10287 * CutAndPaste.C: remove debug
10289 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10291 * paragraph.C (asString): remove two unused variables
10293 * lyxtextclass.C (readTitleType):
10295 (LyXTextClass): handle new members titletype_ and titlename_
10297 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
10299 2003-02-09 John Levon <levon@movementarian.org>
10302 * buffer.C: replace hand-coded list with a map for the dep clean
10304 2003-02-08 John Levon <levon@movementarian.org>
10306 * LaTeX.C: consolidate code into showRunMessage() helper
10308 2003-02-08 John Levon <levon@movementarian.org>
10313 * BufferView.C: change setSelectionOverString() to setSelectionRange()
10314 and pass the size in explicitly
10316 * BufferView_pimpl.h:
10317 * BufferView_pimpl.C:
10319 * BufferView.C: add getCurrentChange()
10321 * BufferView_pimpl.h:
10322 * BufferView_pimpl.C: handle change lfuns
10324 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
10325 for changes. Mark pasted paragraphs as new.
10327 * support/lyxtime.h:
10328 * support/lyxtime.C:
10329 * DepTable.C: abstract time_t as lyx::time_type
10332 * LColor.C: add colours for new text, deleted text, changebars
10334 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
10335 package use "usenames" option.
10339 * LyXAction.C: add change lfuns
10343 * author.C: author handling
10346 * buffer.C: add a per-buffer author list, with first entry as
10347 current author. Handle new .lyx tokens for change tracking. Output
10348 author list to .lyx file. Output dvipost stuff to .tex preamble.
10349 Bump lyx format to 222.
10352 * bufferlist.C: add setCurrentAuthor() to reset current author details
10356 * bufferparams.C: add param for tracking
10358 * bufferview_funcs.C: output change info in minibuffer
10362 * changes.C: add change-tracking structure
10365 * debug.C: add CHANGES debug flag
10368 * lyxfind.C: add code for finding the next change piece
10371 * lyxrc.C: add user_name and user_email
10374 * lyxrow.C: add a metric for the top of the text line
10377 * text.C: implement accept/rejectChange()
10380 * text.C: paint changebars. Paint new/deleted text in the chosen
10381 colours. Strike through deleted text.
10385 * paragraph_pimpl.h:
10386 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
10387 in the current change to the insert functions. Rework erase to
10388 mark text as deleted, adding an eraseIntern() and a range-based
10389 erase(). Implement per-paragraph change lookup and
10392 * paragraph_funcs.C: Fixup paste for change tracking.
10394 * tabular.C: mark added row/columns as new.
10396 * text.C: fix rowLast() to never return -1. Don't allow
10397 spellchecking of deleted text. Track transpose changes. Don't
10398 allow paragraph break or merge where appropriate.
10400 * text2.C: leave cursor at end of selection after a cut.
10402 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10404 * text.C (getLengthMarkerHeight):
10405 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
10406 visible on screen too.
10408 2003-02-07 John Levon <levon@movementarian.org>
10410 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
10412 2003-02-05 Angus Leeming <leeming@lyx.org>
10414 * lyxserver.C (read_ready): revert my patch of 11 September last year
10415 as it sends PC cpu through the roof. Presumably this means that
10416 the lyxserver will no longer run on an Alpha...
10418 2003-01-30 Angus Leeming <leeming@lyx.org>
10420 * factory.C (createInset): create an InsetCommandParam of type "index"
10421 and use it to 'do the right thing'.
10423 * text2.C (getStringToIndex): ensure that cursor position is always
10424 reset to the reset_cursor position.
10426 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10428 * lyxfunc.C (getStatus): "buffer-export custom" should never be
10431 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
10435 * lyxfunc.C: Output messages with identical spelling, punctuation,
10438 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
10440 * MenuBackend.C (expandFormats): List only viewable export formats
10443 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
10446 * lyxfunc.C (getStatus): Make sure that formats other than
10447 "fax" can also be disabled
10449 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10451 * text3.C (dispatch): put the lfuns that insert insets in 3
10452 groups, and call doInsertInset with appropriate arguments.
10453 (doInsertInset): new function, that creates an inset and inserts
10454 it according to some boolean parameters.
10456 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
10458 * buffer.C (readFile): remember to pass on 'par' when calling
10459 readFile recursively.
10461 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10463 * MenuBackend.C (expandFormats): add "..." to import formats.
10465 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
10467 * paragraph.C (asString): Remove XForms RTL hacks.
10469 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
10470 * buffer.C: fix typo
10472 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
10474 * Makefile.am (LIBS): delete var
10475 (lyx_LDADD): add @LIBS@ here instead.
10477 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
10479 * Clarify the meaning of "wheel mouse jump"
10481 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10483 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
10486 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10488 * importer.C (Loaders): do not preallocate 3 elements in the
10489 vector, since one ends up with 6 elements otherwise
10491 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10493 * DepTable.C (write): write the file name as last element of the
10494 .dep file (because it may contain spaces)
10495 (read): read info in the right order
10497 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10499 * paragraph_pimpl.C (simpleTeXBlanks):
10500 (simpleTeXSpecialChars):
10501 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
10503 * tabular.C (latex): add some missing case statements. Reindent.
10505 * MenuBackend.C (expandToc): remove unused variable.
10507 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
10516 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
10519 2003-01-05 John Levon <levon@movementarian.org>
10522 * BufferView.C: add getEncoding()
10525 * kbsequence.C: do not store last keypress
10528 * lyxfunc.C: store last keypress here instead. Pass encoding
10531 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10533 * lyx_main.C (init): remove annoying error message when following
10534 symbolic links (bug #780)
10536 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10538 * text.C (insertChar):
10539 * lyxrc.C (getDescription): remove extra spaces
10541 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10543 * lyxrc.C (getDescription): remove extra spaces
10545 2002-12-20 John Levon <levon@movementarian.org>
10547 * text3.C: hack fix for page up/down across tall rows
10549 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10551 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10554 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10556 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10557 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10558 thesaurus is not compiled in
10560 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
10562 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
10564 2002-12-16 Angus Leeming <leeming@lyx.org>
10567 * lyx_main.C (init): remove override_x_deadkeys stuff.
10569 2002-12-12 John Levon <levon@movementarian.org>
10571 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10572 insert. Only remove shift modifier under strict
10575 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
10577 * MenuBackend.C (expandToc): fix crash.
10579 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
10581 * MenuBackend.C (expandToc): gettext on float names.
10583 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
10585 * lyxlength.[Ch]: set default unit to UNIT_NONE,
10586 implement bool empty() [bug 490]
10588 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
10590 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10592 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
10594 * several files: ws changes
10596 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
10598 * text2.C (setCounter): clean up a bit, use boost.format.
10599 (updateCounters): initialize par upon declaration.
10601 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10602 if the layout exists. We do not just store the layout any more.
10603 (SwitchLayoutsBetweenClasses): use boost.format
10605 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10607 * converter.C (convert): if from and to files are the same, use a
10608 temporary files as intermediary
10610 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10613 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10615 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
10617 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10619 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
10621 * tabular.C (asciiPrintCell): use string(size, char) instead of
10624 * sgml.C (openTag): fix order of arguments to string constructor
10627 * lyxfunc.C (dispatch): use boost.format
10629 * lots of files: change "c" -> 'c'
10631 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
10633 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10635 2002-11-25 Angus Leeming <leeming@lyx.org>
10637 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10639 * lyx_main.C (init): compile fix.
10641 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
10643 * lyx_cb.C (start): boost.formatify
10644 do not include <iostream>
10646 * lengthcommon.C: ws only
10648 * boost-inst.C,BoostFormat.h: add more explict instantations
10650 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
10652 * lots of files: handle USE_BOOST_FORMAT
10654 2002-11-21 John Levon <levon@movementarian.org>
10656 * pspell.C: fix compile
10658 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10660 * lyxfunc.C (dispatch): use boost::format
10664 * lyxfont.C (stateText): use boost::format
10666 * lyx_main.C (LyX): use boost::format
10668 (queryUserLyXDir): ditto
10669 (readRcFile): ditto
10671 (typedef boost::function): use the recommened syntax.
10673 * importer.C (Import): use boost::format
10675 * debug.C (showLevel): use boost::format
10677 * converter.C (view): use boost::format
10682 * bufferview_funcs.C (currentState): use boost::format
10684 * bufferlist.C (emergencyWrite): use boost::format
10686 * buffer.C (readLyXformat2): use boost::format
10687 (parseSingleLyXformat2Token): ditto
10689 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10691 * LaTeX.C (run): use boost::format
10693 * Chktex.C (scanLogFile): use boost::format
10695 * BufferView_pimpl.C (savePosition): use boost::format
10696 (restorePosition): ditto
10697 (MenuInsertLyXFile): ditto
10699 * BoostFormat.h: help file for explicit instation.
10701 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
10703 * tabular.C (latex): Support for block alignment in fixed width
10706 2002-11-17 John Levon <levon@movementarian.org>
10708 * BufferView_pimpl.C:
10710 * lyxfunc.C: split filedialog into open/save
10712 2002-11-08 Juergen Vigna <jug@sad.it>
10714 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10715 by my last patch (hopefully).
10717 2002-11-08 John Levon <levon@movementarian.org>
10726 * toc.C: ParConstIterator, and use it (from Lars)
10728 2002-11-07 Ben Stanley <bds02@uow.edu.au>
10730 * lyxtextclass.[Ch]: revise and add doxygen comments
10732 2002-11-07 John Levon <levon@movementarian.org>
10734 * text.C: fix progress value for spellchecker
10736 * toc.C: fix navigate menu for insetwrap inside minipage
10738 * paragraph_funcs.C: added FIXME for suspect code
10740 2002-11-07 John Levon <levon@movementarian.org>
10742 * BufferView_pimpl.C: fix redrawing of insets
10745 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10747 * text2.C (updateCounters): fix bug 668
10749 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
10751 * text3.C (dispatch): Do not make the buffer dirty when moving the
10754 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10756 * vc-backend.C: STRCONV
10757 (scanMaster): ditto
10759 * text2.C (setCounter): STRCONV
10761 * paragraph.C (asString): STRCONV
10763 * lyxlength.C (asString): STRCONV
10764 (asLatexString): ditto
10766 * lyxgluelength.C (asString): STRCONV
10767 (asLatexString): ditto
10769 * lyxfunc.C (dispatch): STRCONV
10772 * lyxfont.C (stateText): STRCONV
10774 * importer.C (Import): STRCONV
10776 * counters.C (labelItem): STRCONV
10777 (numberLabel): ditto
10778 (numberLabel): remove unused ostringstream o
10783 * bufferview_funcs.C (currentState): STRCONV
10785 * buffer.C (readFile): STRCONV
10786 (asciiParagraph): ditto
10787 (makeLaTeXFile): ditto
10789 * Spacing.C (writeEnvirBegin): STRCONV
10791 * LaTeXFeatures.C (getLanguages): STRCONV
10792 (getPackages): ditto
10794 (getBabelOptions): ditto
10795 (getTClassPreamble): ditto
10796 (getLyXSGMLEntities): ditto
10797 (getIncludedFiles): ditto
10801 (scanAuxFile): ditto
10804 * LString.h: add the STRCONV macros
10806 * BufferView_pimpl.C (savePosition): STRCONV
10807 (restorePosition): ditto
10808 (MenuInsertLyXFile): ditto
10810 * vc-backend.C (scanMaster): change from submatch[...] to
10813 * funcrequest.C: include config.h
10815 * factory.C: include config.h
10817 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10819 * box.C: include config.h
10821 * LaTeX.C (scanAuxFile): change from submatch[...] to
10825 2002-10-25 Angus Leeming <leeming@lyx.org>
10827 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10829 * ispell.[Ch] (setError): new method.
10830 * ispell.C (c-tor): move out child process into new class LaunchIspell.
10831 Use setError() insetead of goto END.
10833 * lyx_cb.C (AutoSave): move out child process into new class
10836 2002-10-30 John Levon <levon@movementarian.org>
10838 * text3.C: make start appendix undoable
10840 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
10842 * lyxlength.C (inPixels): Fix returned value.
10844 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10847 2002-10-24 Angus Leeming <leeming@lyx.org>
10849 * lyxgluelength.h: no need to forward declare BufferParams
10850 or BufferView, so don't.
10852 2002-10-21 John Levon <levon@movementarian.org>
10854 * BufferView.C: menuUndo ->undo, redo
10856 * BufferView.h: document, remove dead, make some methods private
10858 * paragraph_funcs.h:
10859 * paragraph_funcs.C:
10860 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10865 * sgml.C: move sgml open/close tag into sgml.C
10867 * bufferview_funcs.h: unused prototype
10870 * lyxfunc.C: remove unused
10873 * text.C: remove unused
10875 2002-10-21 John Levon <levon@movementarian.org>
10879 * BufferView_pimpl.h:
10880 * BufferView_pimpl.C: fix mouse wheel handling based on
10881 patch from Darren Freeman
10883 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
10885 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10887 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
10889 * lyxlength.C (inPixels): Fix hanfling of negative length.
10890 Fix LyXLength::MU case.
10892 2002-10-16 John Levon <levon@movementarian.org>
10894 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10896 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10898 * converter.C (view): add support for $$i (file name) and $$p
10899 (file path) for the viewer command. If $$i is not specified, then
10900 it is appended to the command (for compatibility with old syntax)
10902 2002-10-14 Juergen Vigna <jug@sad.it>
10904 * undo_funcs.C (textHandleUndo): alter the order in which the
10905 new undopar is added to the LyXText, as we have to set first
10906 the right prev/next and then add it as otherwise the rebuild of
10907 LyXText is not correct. Also reset the cursor to the right paragraph,
10908 with this IMO we could remove the hack in "redoParagraphs()".
10910 2002-10-09 Angus Leeming <leeming@lyx.org>
10912 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10913 to turn off an optimisation if a new inset is to be inserted.
10915 2002-10-11 André Pönitz <poenitz@gmx.net>
10917 * lyxtext.h: make some functions public to allow access
10918 from inset/lyxtext for handling LFUN_PRIOR/NEXT
10920 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10922 * text3.C (dispatch): when changing layout, avoid an infinite loop
10925 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10927 * lyxrc.C (read): treat a viewer or converter command of "none" as
10930 * MenuBackend.C (expandFormats): for an update, also allow the
10931 formats that are not viewable
10933 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10934 script if it is newer than the lyxrc.defaults in user directory
10936 2002-10-07 André Pönitz <poenitz@gmx.net>
10938 * text.C: Vitaly Lipatov's small i18n fix
10940 2002-09-25 Angus Leeming <leeming@lyx.org>
10942 * ispell.h: doxygen fix.
10944 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
10946 * buffer.h (readFile): Add a new argument to the method, to allow
10947 reading of old-format templates.
10949 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
10951 * toc.C (getTocList): Get TOC from InsetWrap.
10953 2002-09-16 John Levon <levon@movementarian.org>
10955 * lyxfunc.C: check tabular for cut/copy too
10957 2002-09-12 John Levon <levon@movementarian.org>
10959 * LyXAction.C: tidy
10962 * factory.C: add header
10964 * paragraph_funcs.h:
10965 * paragraph_funcs.C: cleanup
10967 2002-09-11 John Levon <levon@movementarian.org>
10969 * PrinterParams.h: odd/even default to true
10971 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
10973 * PrinterParams.h: update printer parameters for new xforms dialog
10975 2002-09-11 Angus Leeming <leeming@lyx.org>
10977 * lyxserver.C (read_ready): re-write to make it more transparent
10978 and to make it work in coherent fashion under Tru64 Unix.
10980 2002-09-11 André Pönitz <poenitz@gmx.net>
10984 * text3.C: implement LFUN_WORDSEL
10986 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10988 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10989 make floatlist_ a boost::shared_ptr<FloatList>
10991 * lyxtextclass.C: include FloatList.h
10992 (LyXTextClass): initialize floatlist_
10993 (TextClassTags): add TC_NOFLOAT
10994 (Read): match "nofloat" to TC_NOFLOAT and use it.
10995 (readFloat): modify call to floatlist_
10999 * FloatList.[Ch] (FloatList): remove commented out float
11001 (erase): new function
11003 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11005 * MenuBackend.C (expandToc): fix crash when there is no document
11008 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
11010 * many files: Add insetwrap.
11012 2002-09-09 John Levon <levon@movementarian.org>
11014 * text2.C: remove confusing and awkward depth wraparound
11016 2002-09-09 John Levon <levon@movementarian.org>
11018 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
11021 * buffer.C: remove getIncludeonlyList()
11024 * lyxfunc.C: remove headers
11026 2002-09-09 Juergen Vigna <jug@sad.it>
11028 * text.C (getColumnNearX): fix form Michael this is most
11029 probably a cut&paste bug.
11031 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
11033 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
11035 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
11036 references, ws changes.
11038 * text2.C (init): update counters after init
11039 (insertParagraph): no need to set counter on idividual paragraphs.
11040 (setCounter): access the counters object in the textclass object
11041 on in the buffer object.
11042 (updateCounters): ditto
11044 * lyxtextclass.C: include counters.h, add variable ctrs_ as
11045 shared_ptr<Counters> to avoid loading counters.h in all
11047 (LyXTextClass): initialize ctrs_
11048 (TextClassTags): add TC_COUNTER, and ...
11049 (Read): use it here.
11050 (CounterTags): new tags
11051 (readCounter): new function
11052 (counters): new funtion
11053 (defaultLayoutName): return a const reference
11055 * counters.C (Counters): remove contructor
11056 (newCounter): remove a couple of unneeded statements.
11057 (newCounter): simplify a bit.
11058 (numberLabel): some small formatting changes.
11060 * buffer.[Ch]: remove all traces of counters, move the Counters
11061 object to the LyXTextClass.
11063 2002-09-06 Alain Castera <castera@in2p3.fr>
11065 * tabular.C: uses \tabularnewline; uses >{...} construct from array
11066 package to set the horizontal alignment on fixed width columns.
11069 * lyx_sty.h: added tabularnewline macro def.
11071 * LaTeXFeatures.C: added NeedTabularnewline macro feature
11073 2002-09-06 John Levon <levon@movementarian.org>
11075 * LyXAction.C: tooltips for sub/superscript
11077 * MenuBackend.C: a bit more verbose
11079 * lyxfunc.C: tiny clean
11081 * undo_funcs.C: document undo_frozen
11083 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
11085 * counters.C (Counters): add missing algorithm counter.
11087 * text2.C (setCounter): lookup the counter with layouts latexname
11088 instead of by section number.
11089 (setCounter): use a hackish way to lookup the correct enum
11091 a float name->type change
11092 reset enum couners with counter name directly instead of depth value.
11094 * counters.C (Counters): remove the push_backs, change to use the
11095 float type not the float name.
11096 (labelItem): remove unused string, float name->type change
11098 * counters.h: don't include vector, loose the enums and sects vectors
11100 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
11102 * lyxtextclass.C (TextClassTags): add TC_FLOAT
11103 (Read): add float->TC_FLOAT to textclassTags
11104 (Read): and handle it in the switch
11105 (readFloat): new function
11107 * FloatList.C (FloatList): comment out the hardcoded float
11110 * lyxlayout.h: ws change.
11112 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
11114 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
11116 2002-09-03 Angus Leeming <leeming@lyx.org>
11118 * BufferView_pimpl.h: qualified name is not allowed in member
11119 declaration: WorkArea & Pimpl::workarea() const;
11121 * factory.C: added using std::endl directive.
11123 * text3.C: added using std::find and std::vector directives.
11125 2002-08-29 André Pönitz <poenitz@gmx.net>
11128 * text2.C: remove unused member number_of_rows
11131 * BufferView2.C: remove file, move contents to...
11132 * BufferView.C: ... here
11134 * BufferView_pimpl.C:
11135 * factory.C: move more inset creation to factory
11137 * vspace.C: avoid direct usage of LyXText, ws changes
11140 don't provide direct access to WorkArea, use two simple
11141 acessors haveSelction() and workHeight() instead
11144 2002-08-29 John Levon <levon@movementarian.org>
11146 * BufferView_pimpl.C (dispatch): do not continue when
11149 2002-08-28 André Pönitz <poenitz@gmx.net>
11151 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
11154 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
11156 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
11158 * buffer.C: increment LYX_FORMAT to 221
11160 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
11161 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
11163 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
11165 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
11167 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11169 * factory.C (createInset): use LyXTextClass::floats
11171 * MenuBackend.C (expandFloatListInsert):
11172 (expandFloatInsert):
11175 * text2.C (setCounter):
11177 * LaTeXFeatures.C (useFloat):
11178 (getFloatDefinitions):
11180 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
11182 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
11183 floatlist_, with accessor floats().
11185 * FloatList.h: remove global FloatList
11187 2002-08-26 André Pönitz <poenitz@gmx.net>
11189 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
11193 * BufferView_pimpl.C:
11194 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
11196 2002-08-25 John Levon <levon@movementarian.org>
11198 * LyXAction.C: fix margin note description
11200 2002-08-24 John Levon <levon@movementarian.org>
11204 * bufferview_funcs.C:
11206 * undo_funcs.C: cleanups
11208 * lyxfunc.C: disable CUT/COPY when no selection
11210 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
11212 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
11213 in "enum UNIT"; e.g. PTW for Percent of TextWidth
11215 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
11216 Add backward compatibility to "mono", "gray" and "no".
11218 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
11220 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
11221 (and file_format >= 200).
11223 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11225 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
11227 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11229 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
11231 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
11233 * BufferView_pimpl.C:
11240 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
11241 inset and code to make it work with the paragraph code. The inset
11242 can be anywhere in the paragraph, but will only do the expected
11243 thing in LaTeX if the layout file contains the parameter line
11245 (or more generally, a nonzero value) for that layout.
11247 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
11249 * paragraph.h: remove the declaration of undefined counters class
11252 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
11254 * text2.C (setCounter): fixed enumeration mis-count as reported by
11255 Dr. Richard Hawkins.
11257 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11259 * paragraph_funcs.h: remove some unneeded includes
11261 * text.C (backspace): pasteParagraph now in global scipe
11263 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
11264 (pasteSelection): ditto
11266 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
11267 * paragraph_funcs.C (pasteParagraph): ... here
11269 2002-08-20 André Pönitz <poenitz@gmx.net>
11271 * commandtags.h: new LFUNs for swapping/copying table row/colums
11274 * lyxfunc.C: support for new lfuns
11276 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
11279 * buffer.[Ch]: remove NO_COMPABILITY stuff
11281 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
11283 * boost.C (throw_exception): new file, with helper function for
11284 boost compiled without exceptions.
11289 * ParameterStruct.h:
11290 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
11292 * bufferlist.C (emergencyWriteAll): use boost bind
11294 * BufferView_pimpl.C (moveCursorUpdate): remove inline
11296 * text.C: include paragraph_funcs.h
11297 (breakParagraph): breakParagraph is now in global scope
11299 * paragraph_funcs.[Ch]: new files
11301 * paragraph.C (breakParagraph,breakParagraphConservative): move to
11304 * buffer.C: include paragraph_funcs.h
11305 (insertStringAsLines): breakParagraph is now in global scope
11307 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
11310 * CutAndPaste.C: include paragraph_funcs.h
11311 (cutSelection): breakParagraphConservative is now in global scope
11312 (pasteSelection): ditto
11314 * buffer.h: declare oprator== and operator!= for
11315 Buffer::inset_iterator
11317 * bufferlist.C (emergencyWrite): don't use fmt(...)
11319 * text3.C: add using std::endl
11321 * BufferView.C (moveCursorUpdate): remove default arg
11323 2002-08-20 André Pönitz <poenitz@gmx.net>
11325 * buffer.[Ch]: move inline functions to .C
11328 * BufferView_pimpl.C:
11330 * buffer.[Ch]: use improved inset_iterator
11333 * paragraph.[Ch]: write one paragraph at a time
11335 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
11337 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
11338 style if style is not specified.
11340 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11342 * text2.C (setCounter): when searching for right label for a
11343 caption, make sure to recurse to parent insets (so that a caption
11344 in a minipage in a figure float works) (bug #568)
11346 2002-08-20 André Pönitz <poenitz@gmx.net>
11348 * text3.C: new file for LyXText::dispatch() and helpers
11350 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
11352 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
11354 2002-08-19 André Pönitz <poenitz@gmx.net>
11357 * text.C: new LyXText::dispatch()
11359 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
11361 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
11363 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
11365 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
11368 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11370 * Makefile.am: use $(variables) instead of @substitutions@
11372 2002-08-15 André Pönitz <poenitz@gmx.net>
11375 * BufferView_pimpl.C: streamlining mathed <-> outer world
11379 * LyXAction.C: remove unused LFUN_MATH
11381 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
11383 * paragraph.[Ch]: add some NO_NEXT ifdefs.
11385 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
11387 * paragraph.C (Paragraph): reformat a bit
11388 (cutIntoMinibuffer): use builtin InsetList function instad of
11392 * buffer.C: include boost/bind.hpp, add using std::for_each
11393 (writeFileAscii): use ParagraphList iterators
11394 (validate): use for_each for validate traversal of paragraphs
11395 (getBibkeyList): use ParagraphList iterators
11396 (resizeInsets): use for_each to resizeInsetsLyXText for all
11398 (getParFromID): use ParagraphList iterators
11400 * BufferView2.C (lockInset): use paragraph list and iterators
11402 2002-08-14 John Levon <levon@movementarian.org>
11404 * lyxserver.C: remove spurious xforms include
11406 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11408 * lyxfunc.C (getStatus): disable math-extern outside of math mode
11410 2002-08-13 André Pönitz <poenitz@gmx.net>
11413 * lyxfunc.C: further cleaning
11415 2002-08-13 André Pönitz <poenitz@gmx.net>
11417 * funcrequest.h: new constructor
11419 * funcrequest.C: move stuff here from .h
11422 * BufferView_pimpl.C:
11425 * lyxfunc.C: subsequent changes
11427 * lyxfunc.h: new view() member function
11429 * lyxfunc.C: subsequent changes
11431 2002-08-13 Angus Leeming <leeming@lyx.org>
11434 * BufferView_pimpl.C:
11442 changes due to the changed LyXView interface that now returns references
11443 to member variables not pointers.
11445 2002-08-13 Angus Leeming <leeming@lyx.org>
11447 * WordLangTuple (word, lang_code): return references to strings,
11452 * lyxtext.h: forward-declare WordLangTuple.
11457 * text.C: #include "WordLangTuple.h".
11460 * text.C: (selectNextWordToSpellcheck): constify return type.
11462 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
11468 * paragraph_pimpl.h:
11471 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
11472 suggested by Angus.
11473 Made updateCounter always count from start of buffer, and removed
11474 second argument (par).
11475 Reverted floats number display to '#'. Perhaps I'll try again when the
11476 code base is sanitized a bit.
11478 2002-08-12 Angus Leeming <leeming@lyx.org>
11480 * buffer.[Ch] (getLabelList): constify.
11482 2002-08-07 André Pönitz <poenitz@gmx.net>
11484 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
11486 * funcrequest.h: extension to keep mouse (x,y) position
11488 2002-08-12 Juergen Vigna <jug@sad.it>
11490 * BufferView2.C (insertErrors): forbid undo when inserting error
11493 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
11495 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
11497 * ParagraphList.[Ch]: new files
11499 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
11501 * BufferView2.C (lockInset): ParagraphList changes
11504 * bufferlist.C: ditto
11508 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11510 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
11511 unused class variable counter_,
11513 * paragraph.[Ch] (getFirstCounter): delete unused function
11515 * counters.C: include LAssert.h
11516 (reset): add a new function with no arg, change other version to
11517 not have def. arg and to not allow empty arg.
11519 * text2.C (setCounter): remove empty arg from call to Counters::reset
11521 2002-08-11 John Levon <levon@movementarian.org>
11523 * Makefile.am: add WordLangTuple.h
11525 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11527 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
11528 lyxfunc.C lyxlex_pimpl.C: ws changes only.
11530 * insets/insettext.C: InsetList changes
11532 * graphics/GraphicsSupport.C (operator()): InsetList changes
11534 * toc.C (getTocList): InsetList changes
11536 * paragraph_pimpl.[Ch]: InsetList changes
11538 * paragraph.[Ch]: InsetList changes
11540 * buffer.C (inset_iterator): InsetList changes
11541 (setParagraph): ditto
11542 * buffer.h (inset_iterator): ditto
11543 * iterators.C (operator++): ditto
11544 * iterators.h: ditto
11546 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11548 * InsetList.[Ch]: new files, most InsetList handling moved out of
11551 * BufferView2.C (removeAutoInsets): InsetList changes
11553 (ChangeInsets): ditto
11555 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
11557 * paragraph_pimpl.h (empty): new function
11559 * paragraph.[Ch] (empty): new function
11561 * other files: use the new Paragraph::empty function
11563 2002-08-09 John Levon <levon@movementarian.org>
11565 * lyxtext.h: remove unused refresh_height
11567 2002-08-09 John Levon <levon@movementarian.org>
11574 * paragraph.C: move sgml char escaping out of paragraph
11577 * paragraph.C: remove id setter
11581 * paragraph_pimpl.C: remove dead tex_code_break_column
11583 * bufferview_funcs.C: small cleanup
11585 * lyxfunc.C: remove dead proto
11587 * lyxtext.h: make some stuff private. Remove some dead stuff.
11589 * lyxgluelength.C: make as[LyX]String() readable
11591 2002-08-08 John Levon <levon@movementarian.org>
11596 * ToolbarDefaults.C:
11599 * toc.C: lyxaction cleanup
11601 2002-08-08 John Levon <levon@movementarian.org>
11603 * BufferView2.C: small cleanup
11606 * lyxfind.C: move unnecessary header into the .C
11608 2002-08-08 John Levon <levon@movementarian.org>
11610 * funcrequest.h: just tedious nonsense
11613 * lyx_main.C: cleanups
11616 * vspace.C: remove dead header lyx_main.h
11618 2002-08-07 Angus Leeming <leeming@lyx.org>
11621 * paragraph_pimpl.h:
11622 Forward declare class Counters in paragraph.h by moving the ctrs member
11623 variable into Paragraph::Pimpl.
11624 (counters): new method, returning a reference to pimpl_->ctrs.
11626 * text2.C: ensuing changes.
11628 2002-08-07 John Levon <levon@movementarian.org>
11630 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11632 * BufferView_pimpl.C: announce X selection on double/triple
11635 * lyx_main.C: use correct bool in batch dispatch
11637 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11639 2002-08-07 André Pönitz <poenitz@gmx.net>
11641 * funcrequest.h: new class to wrap a kb_action and its argument
11644 * BufferView_pimpl[Ch]:
11648 * lyxrc.C: subsequent changes
11651 2002-08-07 John Levon <levon@movementarian.org>
11653 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11654 document options change.
11656 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11661 * makefile.am: move counters functionality over from
11662 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11664 2002-08-06 John Levon <levon@movementarian.org>
11666 * WordLangTuple.h: new file for word + language code tuple
11677 * BufferView2.C: use WordLangTuple
11680 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11682 2002-08-06 John Levon <levon@movementarian.org>
11684 * lyx_main.C: fix cmdline batch handling
11686 2002-08-06 André Pönitz <poenitz@gmx.net>
11688 * lyxrc.C: set default for show_banner to true
11690 2002-08-06 John Levon <levon@movementarian.org>
11692 * pspell.C: fix a crash, and allow new aspell to work
11694 2002-08-06 John Levon <levon@movementarian.org>
11697 * kbmap.C: small cleanup
11700 * vspace.C: add const
11702 2002-08-05 John Levon <levon@movementarian.org>
11704 * LyXAction.C: back to tabular-insert
11706 2002-08-04 John Levon <levon@movementarian.org>
11709 * BufferView.C: cosmetic change
11711 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11721 * BufferView2.C: purge all "Lyx" not "LyX" strings
11724 * lyxcursor.C: attempt to add some documentation
11729 * ToolbarDefaults.C:
11730 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11731 merge with LFUN_TABULAR_INSERT
11738 * pspell.C: split up i/pspell implementations into separate
11739 files, many cleanups
11741 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11743 * text2.C: some cleanup
11745 * lyxfunc.C: don't check for isp_command == "none" any more, it
11746 didn't make any sense
11748 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11753 * makefile.am: move counters functionality over
11754 from text2.C/paragraph.[Ch] to counters.[Ch], and
11756 2002-08-02 John Levon <levon@movementarian.org>
11758 * buffer.C: s/lyxconvert/lyx2lyx/
11760 2002-08-02 Angus Leeming <leeming@lyx.org>
11762 * lyxlex.C: revert John's change as it breaks reading of the user
11765 2002-08-02 Angus Leeming <leeming@lyx.org>
11767 * importer.C (Import):
11768 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11769 changes due to LyXView::view() now returning a boost::shared_ptr.
11771 2002-08-02 John Levon <levon@movementarian.org>
11773 * lyxlex.C: small cleanup
11775 2002-08-02 John Levon <levon@movementarian.org>
11777 * text2.C (status): small cleanup, no logic change
11779 2002-08-01 John Levon <levon@movementarian.org>
11782 * buffer.C (writeFile): don't output alerts, caller
11786 * lyx_cb.C: from above
11788 * lyxfunc.C: allow to open non-existent files
11790 2002-07-31 John Levon <levon@movementarian.org>
11792 * lyxserver.C: don't let incidental errors get
11795 2002-07-30 John Levon <levon@movementarian.org>
11797 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11799 2002-07-30 John Levon <levon@movementarian.org>
11802 * lyxserver.C: remove I/O callback too
11804 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11806 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11809 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
11811 * many files: strip,frontStrip -> trim,ltrim,rtrim
11813 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
11815 * PrinterParams.h: remove extern containsOnly, and include
11816 support/lstrings.h instead.
11818 * LaTeX.C (scanAuxFile): modify because of strip changes
11820 * buffer.C (makeLaTeXFile): ditto
11821 * bufferparams.C (writeFile): ditt
11822 * lyxfont.C (stateText): ditto
11823 * lyxserver.C (read_ready): ditto
11824 * vc-backend.C (scanMaster): ditto
11826 * BufferView_pimpl.h: ws changes
11828 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11830 2002-07-26 André Pönitz <poenitz@gmx.net>
11832 * kb_sequence.C: remove unnedred usings
11834 2002-07-26 Juergen Vigna <jug@sad.it>
11836 * lyxfind.C (LyXReplace): we have to check better if the returned
11837 text is not of theLockingInset()->getLockingInset().
11839 2002-07-25 Juergen Vigna <jug@sad.it>
11841 * lyxfind.C (LyXReplace): don't replace if we don't get the
11844 * undo_funcs.C (createUndo): remove debugging code.
11846 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
11848 * buffer.C (parseSingleLyXformat2Token): Use default placement
11849 when reading old floats.
11851 * FloatList.C (FloatList): Change the default placement of figure
11852 and tables to "tbp".
11854 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
11856 * MenuBackend.C: using std::max
11858 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11860 * MenuBackend.C (expandToc):
11861 (expandToc2): code moved from xforms menu frontend. It is now
11862 generic and TOCs are transparent to menu frontends.
11864 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11866 * toc.C (getTocList): protect against buf=0
11868 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11869 Menu as first parameter. Now, this calls itself recursively to
11870 expand a whole tree (this will be useful for TOC handling)
11871 (expandFloatInsert): remove 'wide' version of floats
11873 * MenuBackend.h (submenuname): returns the name of the submenu.
11874 (submenu): returns the submenu itself, provided it has been
11875 created by MenuBackend::expand
11877 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11879 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11880 insets which have noFontChange == true. (bug #172)
11882 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11884 * BufferView_pimpl.C: add connection objects and use them...
11887 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11889 * MenuBackend.C (expandLastfiles):
11892 (expandFloatListInsert):
11893 (expandFloatInsert):
11894 (expand): split expand in parts
11896 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11898 * lyx_gui.C: use lyx_gui::exit()
11900 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11902 * LyXAction.C: show the failing pseudo action
11904 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
11906 * buffer.C (readFile): Run the lyxconvert script in order to read
11909 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11913 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11915 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11919 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11921 2002-07-22 Herbert Voss <voss@lyx.org>
11924 * lyxlength.[Ch]: add support for the vertical lengths
11926 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
11928 * toc.[Ch]: std:: fixes
11930 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11932 * lyxrc.C: do not include lyx_main.h
11934 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11940 * BufferView2.C: include "lyxlex.h"
11943 * bufferparams.h: do not #include "lyxlex.h"
11945 * lyxtextclasslist.C (Add): remove method
11946 (classlist): renamed to classlist_
11948 * paragraph_pimpl.C:
11952 * bufferview_funcs.C:
11957 * toc.C (getTocList): use BufferParams::getLyXTextClass
11959 * toc.C (getTocList): use InsetFloat::addToToc
11961 * toc.[Ch]: new files, containing helper functions to handle table
11964 * lyxfunc.C (dispatch): no need to remove spaces around command
11966 (getStatus): handle LFUN_SEQUENCE by returning the status of the
11967 first command of the sequence; it is not very clever, but I do not
11968 have a better idea, actually
11970 * LyXAction.C (LookupFunc): make sure to remove space at the
11971 beginning and end of the command
11973 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11975 * MenuBackend.C (getMenubar): new method: return the menubar of
11977 (read): treat differently reading of menu and menubar (in
11978 particular, the menubar has no name now)
11979 (Menu::menubar): remove
11981 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11984 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11986 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11987 a bibitem inset in a RTL paragraph.
11989 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
11991 * paragraph_pimpl.C: constify
11993 * BufferView_pimpl.C:
11995 * lyxfunc.C: fix dispatch in a nicer way
11997 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11999 * lyxfunc.C (dispatch):
12000 * BufferView_pimpl.C:
12001 * BufferView_pimpl.h:
12003 * BufferView.h: rename Dispatch() to dispatch()
12005 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
12007 * lyxlayout.C (Read): honor DependsOn tag
12009 * lyxlayout.[Ch] (depends_on): new method
12011 * version.C.in: update lyx_docversion
12013 * LaTeXFeatures.C (getMacros): only define \LyX when needed
12015 * paragraph.C (validate): remove from here...
12016 * paragraph_pimpl.C (validate): ... and move here
12017 (isTextAt): make it const
12019 * buffer.C (getLists): ws cleanup
12021 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
12023 * language.C (read): Use iso8859-1 encoding in latex_lang
12024 (this prevents LyX from crashing when using iso10646-1 encoding).
12026 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12028 * text2.C (toggleInset): if cursor is inside an inset, close the
12029 inset and leave cursor _after_ it
12031 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
12033 * lyxfunc.C: move minibuffer completion handling out of here
12035 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
12037 * BufferView_pimpl.C:
12038 * LaTeX.C: fix dispatch calls
12040 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
12042 * text.C (drawChars): Fix Arabic text rendering.
12044 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
12048 * lyxfunc.C: remove message-push/pop
12052 * lyxfunc.C: rationalise some code by removing verboseDispatch
12053 in favour of a bool argument to dispatch()
12055 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12057 * lyx_main.C (init): make sure to read symlinks as absolute paths
12059 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
12062 * lyxfunc.C: no need for commandshortcut to be a member
12064 2002-07-15 André Pönitz <poenitz@gmx.net>
12066 * converter.C: add support for $$s (scripts from lib/scripts dir)
12067 * lyx_main.C: white space
12069 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
12073 * lyxrc.C: remove second exit confirmation
12075 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
12080 * BufferView_pimpl.h:
12081 * BufferView_pimpl.C:
12082 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
12084 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12086 * MenuBackend.C (expand): add numeric shortcuts to document menu
12088 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
12090 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12092 * lyxfont.C (setLyXFamily):
12099 * buffer.C (asciiParagraph): use ascii_lowercase
12101 2002-07-15 Mike Fabian <mfabian@suse.de>
12103 * lyxlex_pimpl.C (search_kw):
12104 * lyxlex.C (getLongString):
12105 * converter.h (operator<):
12106 * converter.C (operator<):
12107 * buffer.C (parseSingleLyXformat2Token):
12109 * ToolbarDefaults.C (read):
12110 * MenuBackend.C (checkShortcuts):
12112 * LColor.C (getFromGUIName):
12113 (getFromLyXName): use the compare_ascii_no_case instead of
12114 compare_no_case, because in turkish, 'i' is not the lowercase
12115 version of 'I', and thus turkish locale breaks parsing of tags.
12117 2002-07-16 Angus Leeming <leeming@lyx.org>
12119 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
12120 now takes a Buffer const & argument.
12122 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
12124 * BufferView.C (resize): check there's a buffer to resize
12126 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
12128 * lyxfunc.C: remove dead code
12131 * lyxserver.C: use lyx_guii::set_read_callback
12133 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
12135 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
12136 an inset in a RTL paragraph.
12138 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
12140 * lyxfunc.C: repaint after a font size update
12142 2002-07-15 André Pönitz <poenitz@gmx.net>
12144 * lyxlength.C: inBP should be able to return negative values
12146 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
12148 * lyxfunc.C: use lyx_gui::update_fonts()
12150 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
12152 * lyxfunc.C: use lyx_gui::update_color()
12154 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
12160 * lyxrc.C: remove file->new asks for name option, and let
12161 buffer-new take an argument
12163 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
12165 * BufferView_pimpl.C: remove unneeded extra repaint()
12167 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
12169 * LyXAction.C: allow command-sequence with NoBuffer
12171 * lyxfunc.C: don't insist on trailing ';' for command-sequence
12173 2002-07-10 Angus Leeming <leeming@lyx.org>
12175 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
12177 2002-07-09 Angus Leeming <leeming@lyx.org>
12179 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
12181 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
12183 * lengthcommon.h: whitespace
12185 * lyxfunc.C: update scrollbar after goto paragraph
12187 * lyxtext.h: factor out page break drawing, and fix it so
12188 page break/added space paints as selected nicely
12190 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
12192 * BufferView_pimpl.C: add FIXMEs, clean up a little
12194 2002-07-09 André Pönitz <poenitz@gmx.net>
12196 * lyxfont.[Ch]: support for wasy symbols
12198 2002-07-08 André Pönitz <poenitz@gmx.net>
12200 * BufferView_pimpl.C: apply John's patch for #93.
12202 2002-07-05 Angus Leeming <leeming@lyx.org>
12204 * BufferView_pimpl.C (buffer): generate previews if desired.
12206 * LColor.h: add "preview" to the color enum.
12208 * LColor.C (LColor): add a corresponding entry to the items array.
12210 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
12213 2002-07-05 Angus Leeming <leeming@lyx.org>
12215 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
12216 The body of the code is now in the method that is passed an ostream &
12217 rather than a file name.
12218 Pass an additional only_preamble parameter, useful for the forthcoming
12221 2002-07-03 André Pönitz <poenitz@gmx.net>
12223 * lyxfunc.C: simplify getStatus() a bit for math stuff
12225 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12227 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
12229 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12231 * text.C (changeRegionCase): do not change case of all the
12232 document when region ends at paragraph end (bug #461)
12234 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12236 * paragraph.C (startTeXParParams):
12237 (endTeXParParams): add \protect when necessary
12239 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12241 * BufferView_pimpl.C (workAreaExpose): remove warning
12243 2002-06-27 Angus Leeming <leeming@lyx.org>
12245 * Makefile.am: add lyxlayout_ptr_fwd.h.
12247 2002-06-26 André Pönitz <poenitz@gmx.net>
12249 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
12251 2002-06-25 Angus Leeming <leeming@lyx.org>
12253 * lyxfunc.C (dispatch): Comment out the call to
12254 grfx::GCache::changeDisplay. The method no longer exists now that the
12255 pixmap generation part of the graphics loader has been moved into
12258 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12260 * text2.C: layout as layout
12262 * text.C: layout as layout
12264 * tabular.C (OldFormatRead): layout as layout
12266 * paragraph_pimpl.C (TeXDeeper): layout as layout
12267 (realizeFont): layout as layout
12269 * paragraph.C (writeFile): layout as layout
12270 (validate): layout as layout
12271 (getFont): layout as layout
12272 (getLabelFont): layout as layout
12273 (getLayoutFont): layout as layout
12274 (breakParagraph): layout as layout
12275 (stripLeadingSpaces): layout as layout
12276 (getEndLabel): layout as layout
12277 (getMaxDepthAfter): layout as layout
12278 (applyLayout): layout as layout
12279 (TeXOnePar): layout as layout
12280 (simpleTeXOnePar): layout as layout
12281 (TeXEnvironment): layout as layout
12282 (layout): layout as layout
12283 (layout): layout as layout
12285 * lyxtextclass.C (compare_name): new functor to work with
12286 shared_ptr, layout as layout
12287 (Read): layout as layout
12288 (hasLayout): layout as layout
12289 (operator): layout as layout
12290 (delete_layout): layout as layout
12291 (defaultLayout): layout as layout
12293 * lyxlayout_ptr_fwd.h: new file
12295 * lyxlayout.C (Read): layout as layout
12297 * lyx_cb.C (MenuInsertLabel): layout as layout
12299 * bufferlist.C (newFile): layout as layout
12301 * buffer.C (readLyXformat2): layout as layout
12302 (parseSingleLyXformat2Token): layout as layout
12303 (insertStringAsLines): layout as layout
12304 (asciiParagraph): layout as layout
12305 (latexParagraphs): layout as layout
12306 (makeLinuxDocFile): layout as layout
12307 (simpleLinuxDocOnePar): layout as layout
12308 (makeDocBookFile): layout as layout
12309 (simpleDocBookOnePar): layout as layout
12310 (getLists): layout as layout
12312 * LaTeXFeatures.C (getTClassPreamble): layout as layout
12314 * CutAndPaste.C (cutSelection): layout as layout
12315 (pasteSelection): layout as layout
12316 (SwitchLayoutsBetweenClasses): layout as layout
12318 * BufferView_pimpl.C (Dispatch): layout as layout
12319 (smartQuote): layout as layout
12321 * BufferView2.C (unlockInset): layout as layout
12323 2002-06-24 André Pönitz <poenitz@gmx.net>
12325 * lyxfunc.C: fix #487
12327 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12331 * lyxfunc.C: remove display_shortcuts, show_banner
12333 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12335 * Buffer_pimpl.C: oops, update on resize
12337 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12344 * BufferView.C: use repaint()
12346 * BufferView_pimpl.h:
12347 * BufferView_pimpl.C: s/updateScreen()/repaint()/
12348 as it's a clearer description. Remove superfluous
12351 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12353 * text.C: fix bug 488. Not ideal, but getting
12354 getWord() to work properly for the insets that
12355 matter is more difficult ...
12357 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12359 * BufferView_pimpl.C:
12362 * lyxfunc.C: remove the six million index lyxfuncs to just
12363 one, and DTRT (bug 458)
12365 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12369 * BufferView_pimpl.h:
12370 * BufferView_pimpl.C: clean up resize() stuff,
12371 and unnecessary updateScreen()s
12373 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12377 * BufferView_pimpl.h:
12378 * BufferView_pimpl.C:
12381 * minibuffer.C: remove focus management of workarea,
12382 not needed. Use screen's greyOut()
12384 2002-06-17 Herbert Voss <voss@lyx.org>
12386 * converter.C: (convert) do not post a message, when converting
12387 fails, let the calling function decide what to do in this case
12389 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
12391 * lyxfunc.C: tidy up a little
12393 2002-06-16 <alstrup@diku.dk>
12395 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
12396 Got rid of FORMS_H_LOCATION include. Now we are
12399 2002-06-15 LyX Development team <lyx@rilke>
12401 * buffer.[Ch] (sgmlOpenTag):
12402 (sgmlCloseTag): Added support for avoiding pernicious mixed
12403 content. Return number of lines written.
12405 (makeLinuxDocFile):
12406 (makeDocBookFile): Fixed calls to sgml*Tag.
12407 Simple white space clean.
12409 (simpleDocBookOnePar): Simple white space clean.
12411 * tabular.[Ch] (docBook): Renamed to docbook and got another
12412 argument to related with the pernicious mixed content.
12414 (docbookRow): Fixed calls for docbook inset method.
12416 2002-06-15 Lyx Development team <larsbj@birdstep.com>
12418 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
12419 so it's X11 independent.
12423 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
12425 2002-06-15 Lyx Development team <lyx@electronia>
12427 * intl.h: Renamed getTrans to getTransManager.
12429 2002-06-14 Angus Leeming <leeming@lyx.org>
12431 * Makefile.am: nuke forgotten stl_string_fwd.h.
12433 2002-06-12 Angus Leeming <leeming@lyx.org>
12435 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
12437 2002-06-13 Angus Leeming <leeming@lyx.org>
12440 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
12442 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
12444 * kbmap.C (getiso): add support for cyrillic and greek
12446 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12450 * BufferView_pimpl.h:
12451 * BufferView_pimpl.C: move bogus scrolling logic
12454 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12457 * BufferView_pimpl.C: view->resize() change
12459 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12461 * BufferView_pimpl.C: topCursorVisible
12464 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12468 * lyx_gui.C: move to frontends/
12472 * lyx_main.C: changes from above
12474 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12481 * lyx_main.C: minor tidy
12483 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12485 * BufferView_pimpl.h:
12486 * BufferView_pimpl.C:
12488 * BufferView.C: make painter() const,
12491 * BufferView2.C: use screen() accessor
12494 * lyx_main.C: some minor cleanup
12496 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12498 * BufferView_pimpl.h:
12499 * BufferView_pimpl.C: remove enter/leaveView,
12502 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12507 * BufferView_pimpl.h:
12508 * BufferView_pimpl.C: only construct screen once,
12511 * lyxrc.C: remove pointless comment
12513 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
12516 * BufferView.C: remove active() and belowMouse()
12518 * BufferView_pimpl.h:
12519 * BufferView_pimpl.C: use workarea() not workarea_,
12520 and make it use a scoped_ptr instead
12522 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
12524 * lyx_gui.C: add debug message on BadWindow
12526 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12528 * sp_spell.C: fdopen is not part of the C++ standard.
12530 * paragraph.C (InsetIterator): use >= instead of ==
12532 2002-06-07 Angus Leeming <leeming@lyx.org>
12534 Fixes needed to compile with Compaq cxx 6.5.
12535 * BufferView_pimpl.C:
12542 * lyxtextclasslist.C:
12547 all c-library variables have been moved into namespace std. Wrap
12548 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12553 Add a using std::abs declaration.
12555 * kbmap.h (modifier_pair):
12556 * paragraph.h (InsetTable, InsetList):
12557 * lyxfont.h (FontBits):
12558 type definition made public.
12560 * bufferlist.C (emergencyWriteAll): the compiler complains that
12561 there is more than one possible lyx::class_fun template to choose from.
12562 I re-named the void specialisation as lyx::void_class_fun.
12564 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12566 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12567 the compiler is is unable to find tostr in write_attribute.
12569 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12571 * buffer.C (sgmlError): hide #warning
12573 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12575 * xtl/*: get rid of xtl, which is not in use anyway
12577 * LyXAction.C (init):
12578 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12579 were unimplemented xtl experimentation
12581 2002-06-04 André Pönitz <poenitz@gmx.net>
12583 * lyxfunc.C: disable array operation on simple formulae
12585 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
12587 * converter.C: constify a bit
12589 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
12591 * lyx_gui.C: check xforms version correctly
12593 2002-04-30 Herbert Voss <voss@lyx.org>
12595 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12598 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
12600 * lyxvc.C: fix bug 416 (make sure buffer is saved before
12601 attempt to register it with a VCS)
12603 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12605 * lyx_main.C (init): honor variables LYX_DIR_13x and
12608 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12612 * lyx_main.C: fix a crash on bad command line,
12613 and give a useful exit status on error
12615 * lyxfunc.C (doImport): allow -i lyx to work
12617 2002-03-30 André Pönitz <poenitz@gmx.net>
12619 * lyxfunc.C: mathed font changes
12621 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12636 * trans_mgr.h: srcdocs, and some minor cleanups
12638 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12640 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12641 call getFont all the time)
12643 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12645 * switch from SigC signals to boost::signals
12647 2002-05-29 André Pönitz <poenitz@gmx.net>
12649 * paragraph_pimpl.C (getChar): don't call size() too often...
12651 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12653 * paragraph_pimpl.C (insertChar): do not try to update tables when
12654 appending (pos == size())
12656 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12657 in order to reduce drastically the number of comparisons needed to
12658 parse a large document
12660 2002-05-29 André Pönitz <poenitz@gmx.net>
12666 * textclasslist.[Ch]:
12667 * sp_ispell.h: whitespace change
12669 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12671 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12672 lyxaction directly now.
12674 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
12678 * lyxvc.C: remove unused headers
12680 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12687 * undo_funcs.C: some cleanups. Use shared_ptr
12688 and a template for the undo stacks.
12690 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12692 * BufferView_pimpl.h:
12693 * BufferView_pimpl.C:
12700 * text2.C: use key_state/mouse_state
12702 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12704 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12707 * chset.C: change include order
12708 (loadFile): use boost regex and get rid of LRegex and LSubstring
12710 * Makefile.am (BOOST_LIBS): new variable
12711 (lyx_LDADD): use it
12713 * LaTeX.C: change include order.
12714 (scanAuxFile): use boost regex and get rid of LRegex and
12718 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12723 * FontInfo.C: moved to frontends/xforms/
12726 * FontLoader.C: moved into frontends for GUIIzation
12731 * lyxfunc.C: changes from above
12733 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12735 * LColor.C: remove spurious X include
12737 * BufferView_pimpl.C:
12742 * text2.C: move font metrics to frontends/
12744 2002-05-24 Juergen Vigna <jug@sad.it>
12746 * undo_funcs.C (textHandleUndo): fix the cursor selection after
12747 setting the undo_cursor.
12749 * ParagraphParameters.h: include local includes first.
12751 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12753 * BufferView_pimpl.C:
12754 * BufferView_pimpl.h:
12758 * screen.C: move WorkArea into frontends/
12764 * BufferView2.C: move LyXScreen into frontends/
12768 * lyx_gui.C: move lyxlookup into frontends/xforms/
12770 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12773 * BufferView_pimpl.C:
12783 * bufferview_funcs.C:
12796 * vc-backend.C: move LyX/XFormsView into frontends/
12798 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12810 * text2.C: move Painter to frontends/
12812 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
12814 * buffer.C: comment out some some code that depend upon lyx_format
12817 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12818 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12820 * buffer.h (NO_COMPABILITY): turn off compability
12822 * ColorHandler.C: include scoped_array.hpp
12824 * font.C: Use more specific smart_ptr header.
12827 * ShareContainer.h: ditto
12828 * lyx_main.h: ditto
12830 * FontInfo.h: ditto
12831 * BufferView_pimpl.h: ditto
12832 * ColorHandler.h: ditto
12834 * kbmap.C (defkey): change call to shared_ptr::reset
12836 2002-05-21 Juergen Vigna <jug@sad.it>
12838 * buffer.C (insertErtContents): fix to insert ert asis if it is
12839 non empty. Skip it completely if it contains only whitespaces.
12841 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
12843 * BufferView_pimpl.C:
12844 * BufferView2.C: clear selection on paste (bug 393)
12846 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12848 * DepTable.C: include ctime
12850 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
12852 * buffer.C (latexParagraphs): Add new argument (moving_arg).
12854 2002-05-14 Juergen Vigna <jug@sad.it>
12856 * text.C (breakParagraph): fixed function to honor the keepempty
12857 layout in the right maner and also to permit the right breaking
12858 algorithm on empty or non empyt keepempty paragraphs.
12860 * paragraph.C (breakParagraph): we have to check also if the par
12861 is really empty (!size()) for isempty otherwise we do the wrong
12864 2002-05-10 Juergen Vigna <jug@sad.it>
12866 * buffer.[Ch] : The following are only changes to the ert
12867 compatibility read reading old LaTeX layout and font stuff and
12868 convert it to ERTInsets.
12870 * buffer.h: added isErtInset().
12872 * buffer.C (struct ErtComp): add a fromlayout bool to check
12873 if we're inside a LaTeX layout.
12874 (isErtInset): new helper function.
12875 (insertErtContents): look for other ert insets before this one
12876 and insert the contents there, so that we don't have subsequent
12877 ERT insets with nothing between them. This way we create only one
12878 inset with multiple paragraphs. Also check if we don't insert only
12879 spaces ' ' as they are ignored anyway afterwards in the .tex file
12880 so if we have only spaces we will ignore this latex part in the
12882 (parseSingleLyXformat2Token \\layout): better compatibility when
12883 reading layout-latex stuff.
12884 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12886 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12887 stuff after reading the inset only get the information back from
12890 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
12892 * buffer.C (makeLaTeXFile): Put language options after loading babel.
12894 * LaTeXFeatures.C (getBabelOptions): New method.
12896 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12898 * BufferView_pimpl.C (Dispatch): work around missing argument for
12901 2002-05-08 Juergen Vigna <jug@sad.it>
12903 * text.C (leftMargin): handle paragraph leftindent.
12905 * paragraph.C (writeFile): write the new \\leftindent tag.
12906 (validate): handle leftindent code.
12907 (TeXEnvironment): handle paragraphleftindent code again.
12909 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12911 * buffer.C (parseSingleLyXformat2Token): added compatibility code
12912 for paragrap_extra indent code and new token \\leftindent.
12913 (latexParagraphs): handle the leftindent as environment.
12915 * ParameterStruct.h: added leftindent support.
12917 * ParagraphParameters.C (leftIndent): added support functions for
12918 the paragraph left indent.
12920 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12923 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
12925 * paragraph.C (isRightToLeftPar): Return false for a paragraph
12928 * text.C (computeBidiTables): No bidi in insetERT.
12930 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12933 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12935 * version.C.in: pre 5
12937 2002-05-02 José Matos <jamatos@fep.up.pt>
12938 * buffer.C (makeDocBookFile): white space changes, add newline to
12940 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12942 * tabular.C (docBook): fix typo.
12944 2002-05-03 Juergen Vigna <jug@sad.it>
12946 * screen.C (drawFromTo): recalculate the rowpointer if we had a
12947 change in LyXText as we can not be sure it was not freed.
12948 (drawOneRow): remove unused code.
12950 * text.C (drawInset): redo the calculation of the need_break_row as
12951 it could have a row which was already freed.
12952 (draw): look at the return value of drawInset and return false if
12953 it also returned false.
12954 (paintRowText): look at the return value of draw and return false if
12955 it also returned false.
12957 * lyxtext.h: added bool return type to drawInset() and draw() so that
12958 if we have a change in the row so that the rowbreak has to be redone
12959 we abort drawing as it will be called again.
12961 2002-05-02 Juergen Vigna <jug@sad.it>
12963 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12964 a change in the maintext also if we're inside an inset.
12965 (Dispatch): set the cursor again after a break line and after the
12966 screen has been updated as it could be we're in a different row.
12968 * text2.C (fixCursorAfterDelete): check to make sure we don't request
12969 to set the cursor behind the pargraph with > size().
12970 (setCursor): check also for the same paragraph when checking where
12971 to put the cursor if we have a NFR inset.
12973 * buffer.C (parseSingleLyXformat2Token): move the compatibility
12974 parts of layout read further up as it still was in the wrong
12977 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12979 * screen.C (drawFromTo): change sine fullRebreak always return
12982 * buffer.C (parseSingleLyXformat2Token): reindent some
12984 * BufferView_pimpl.C (update): change since fullRebreak always
12986 (Dispatch): git rid of the last hardcoded "Standard"s.
12988 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
12990 * text2.[Ch] (fullRebreak): make it return void now that we always
12993 2002-04-30 Juergen Vigna <jug@sad.it>
12995 * buffer.C (parseSingleLyXformat2Token): reset the font before the
12996 ert compatibility check for "latex" layout.
12998 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
13000 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
13001 minipages: use col% instead of p%, and also use the current font.
13002 (makeLaTeXFile): Fix use babel condition.
13003 (parseSingleLyXformat2Token): Correct font when reading old floats.
13005 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
13007 * BufferView_pimpl.C (Dispatch): Check that float type exists when
13008 inserting list of floats.
13010 2002-04-25 Herbert Voss <voss@lyx.org>
13012 * MenuBackend.C (expand): don't add the graphics extensions to the
13015 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13017 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
13018 non-existing layout, do not complain if it was the default layout
13019 of the original class (bug #342)
13021 2002-04-24 Juergen Vigna <jug@sad.it>
13023 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
13024 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
13026 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
13028 * buffer.C (getBibkeyList): If using \bibliography, return the
13029 option field with the reference itself. Enables us to provide natbib
13030 support when using \bibliography.
13032 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
13034 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
13036 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
13037 natbib is provided by the LaTeX class.
13039 2002-04-23 Juergen Vigna <jug@sad.it>
13041 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
13044 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
13046 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13048 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
13050 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
13051 ensuremath around textordmasculine, textordfeminine and
13054 2002-04-19 Juergen Vigna <jug@sad.it>
13056 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
13057 reinitializing the buffer otherwise row-dimensions may be wrong.
13058 (update): reset also the selection cursors if they do exits otherwise
13059 their x/y positions may be wrong.
13061 * text2.C (cursorDown): don't enter the inset if we came from a row
13062 above and are one row over the inset.
13064 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
13065 really leaving an inset.
13067 2002-04-18 Juergen Vigna <jug@sad.it>
13069 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
13070 of the selected paragraph does not have the selected layout also if
13073 * text2.C (setLayout): fixed bug which did not change last selected
13076 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
13077 changed the read and substituted \\end_float with \\end_inset!
13079 * BufferView_pimpl.C (cursorPrevious):
13080 (cursorNext): fixed to make it work with rows heigher than the work
13081 area without moving the cursor only the draw of the row.
13082 (workAreaMotionNotify): fix jumping over high rows.
13084 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13086 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
13089 2002-04-16 Juergen Vigna <jug@sad.it>
13091 * text2.C (setCursor): set also the irow().
13092 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
13094 (cursorDown): support for locking an inset if the x_fix value goes
13095 inside it. That way I can transverse insets too with cursor up/down.
13097 * lyxrow.h: added irow helper function same as other (i) functions.
13099 * BufferView_pimpl.C (cursorPrevious):
13100 (cursorNext): fixed for insets!
13102 2002-04-15 Juergen Vigna <jug@sad.it>
13104 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
13105 position otherwise it is wrong in some cases.
13107 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
13108 inside the inset before the call.
13110 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
13112 * buffer.[Ch] (getBibkeyList): make it const.
13114 2002-04-12 Juergen Vigna <jug@sad.it>
13116 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
13118 * text2.C (getCursorX): new helper function
13119 (setCursor): compute also ix_
13120 (setCursorFromCoordinates): set also ix.
13122 * lyxcursor.h: added ix_ and helper functions.
13124 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
13126 * buffer.C (insertStringAsLines): dont break paragraph if the this
13127 paragraph is inside an inset which does not permit it!
13129 * text.C (breakParagraph): honor keepempty flag and break the paragraph
13130 also with no chars on this paragraph.
13131 (paintRowText): only paint stuff if it's inside the workarea!
13133 * paragraph.C (breakParagraph): honor keepempty flag and break the
13134 paragraph always below not above.
13136 * BufferView2.C (unlockInset): update the paragraph layout on inset
13137 unlock as we changed paragraph in such a case.
13139 * lyxfind.C (LyXFind): clear the former selection if not found!
13141 * text2.C (insertInset): freeze Undo after setUndo so that it is not
13142 again called in insertChar().
13144 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
13145 an inset which uses the whole row!
13146 (rightMargin): ditto.
13147 (insertChar): force a rebreak if we inserted an inset!
13149 2002-03-28 Herbert Voss <voss@lyx.org>
13151 * lyxlength.[Ch]: add inBP() to get the right PS-point
13152 units (BigPoint). With inPixels we have rounding errors
13154 2002-04-11 Juergen Vigna <jug@sad.it>
13156 * text2.C (setCursorFromCoordinates): set iy to the right value.
13157 (setCursor): add check if row->previous exists!
13159 * buffer.C (parseSingleLyXformat2Token): reset font after read of
13160 an old float_type as this was the case in the old code!
13162 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
13164 * BufferView2.C (showLockedInsetCursor): use iy
13165 (fitLockedInsetCursor): ditto
13167 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
13168 locked insets as there we have the right value now.
13170 * lyxcursor.C: added iy_ variable and iy functions to set to the
13171 baseline of cursor-y of the locked inset.
13173 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
13174 (setCursor): fixed for insets which need a full row.
13176 * text.C (rowLastPrintable): don't ignore the last space when before
13177 an inset which needs a full row.
13178 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
13179 as last character of a row when before a inset which needs a full row.
13181 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13183 * version.C.in: update date
13185 * text2.C (fullRebreak): try to always return true and see what
13188 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13190 * MenuBackend.C (expand): use Floating::listName
13192 * FloatList.C (FloatList): add listName argument to the built-in
13195 * Floating.[Ch]: add listName member, which is the 'List of XXX'
13196 text associated with the float.
13198 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13200 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
13202 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13204 * ShareContainer.h: add a couple of missing typenames.
13206 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
13208 * lyxrc.C (getDescription): use _() correctly rather than N_().
13210 2002-03-28 Herbert Voss <voss@lyx.org>
13212 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
13213 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
13215 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13217 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
13218 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
13220 2002-03-29 Juergen Vigna <jug@sad.it>
13222 * lyxfunc.C (dispatch): add a missing fitCursor call.
13224 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
13225 it was scrolled by a cursor move, so return the bool status.
13227 * BufferView.C (fitCursor): return the bool flag also to the outside
13228 world as this is needed.
13230 * screen.C (toggleToggle): don't subtract the offset if it's positive.
13232 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
13233 call the edit() as it is not needed (and wrong) IMO.
13234 (workAreaButtonPress): set the screen_first variable before evt.
13235 unlock the inset as this may change screen_first and then we have
13236 a wrong y position for the click!
13238 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13240 * MenuBackend.C (expand): another translation that I missed
13242 2002-03-28 Juergen Vigna <jug@sad.it>
13244 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
13246 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
13248 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13250 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
13252 * MenuBackend.C (expand): fix export/view/update when there is no
13255 2002-03-27 Herbert Voss <voss@lyx.org>
13257 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
13260 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13262 * bufferview_funcs.C (currentState): only show paragraph number
13263 for is DEVEL_VERSION is set.
13265 * lyxfunc.C (dispatch): put warning in INFO channel
13267 * MenuBackend.C (expand): translate the name of floats
13269 * FloatList.C (FloatList): mark the float names for translation
13271 * converter.C (convert): use LibScriptSearch
13273 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13275 * MenuBackend.C (defaults): fix default menu (we might as well get
13278 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13280 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
13283 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13285 * lyxvc.C: reorder includes.
13287 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
13289 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
13292 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
13294 * CutAndPaste.C: change layouts earlier on paste
13295 to avoid crashing when calling getFont()
13297 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
13299 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
13302 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
13304 * WorkArea.C: remove 'Pending' debug message.
13306 * most files: ws cleanup
13308 * buffer.[Ch]: ws changes
13310 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
13312 2002-03-21 Juergen Vigna <jug@sad.it>
13314 * tabular.C (SetMultiColumn): collapse also the contents of the
13315 cells and set the last border right. Added a Buffer const * param.
13317 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
13319 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
13322 2002-03-19 Juergen Vigna <jug@sad.it>
13324 * text2.C (clearSelection): reset also xsel_cache.
13326 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
13327 where it needs to be called (John tells us to do so too :)
13328 (selectionLost): reset sel_cache.
13330 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
13332 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13334 * text2.C (setCursorIntern): put debuging code in INSETS channel
13336 2002-03-19 André Pönitz <poenitz@gmx.net>
13338 * lyxfunc.C: tiny whitespace change
13340 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13342 * ToolbarDefaults.C (init):
13343 * LyXAction.C (init):
13345 * BufferView_pimpl.C (Dispatch):
13346 * lyxfunc.C (dispatch): remove LFUN_DEPTH
13348 2002-03-19 Allan Rae <rae@lyx.org>
13350 * exporter.C (Export): removeAutoInsets before doing anything else.
13351 While I've just introduced a dependency on BufferView this really is
13352 the best place to clean the buffer otherwise you need to cleanup in
13353 a dozen places before calling export or cleanup in a dozen functions
13356 * converter.C (runLaTeX):
13357 (scanLog): Better handling of removeAutoInsets and screen updates.
13359 * lyxfunc.C (dispatch): small whitespace changes
13361 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13363 * WorkArea.C (C_WorkAreaEvent): return a value.
13364 (event_cb): return 1 if we handled the event, 0 otherwise.
13366 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
13368 2002-03-18 Juergen Vigna <jug@sad.it>
13370 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
13371 (GetAdditionalWidth): ditto.
13372 (RightLine): ditto.
13375 * BufferView2.C (copy): use getLyXText() so that we do it inside an
13376 inset if we're there actually (probably not used right now but this
13377 is the direction to go for unifying code).
13378 (paste): disable code to clear the selection.
13380 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
13381 inside an InsetText and move the check further up as it is in the
13384 * text2.C (pasteSelection): set a selection over the pasted text.
13386 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
13388 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
13389 and libgraphics to build on Cygwin.
13391 2002-03-15 Juergen Vigna <jug@sad.it>
13393 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
13394 inserting an Inset into the paragraph. I know this is not the best
13395 fix but we already use current_view in CutAndPaste so we will remove
13396 all of it's using at the same time.
13398 * buffer.C (sgmlError): deactivated function till it is rewritten in
13399 the right mode, now it can create problems.
13401 * paragraph.C (isLineSeparator): check if getInset returns != 0,
13402 before accessing it.
13404 2002-03-14 Juergen Vigna <jug@sad.it>
13406 * undo_funcs.C (textHandleUndo): do the right thing when updating
13407 the inset after the undo/redo.
13409 * text2.C (setCursor): just some testcode for #44 not ready yet.
13411 * undo_funcs.C (textHandleUndo): set the next() and previous()
13412 pointers of the paragraph to 0 before deleting otherwise we have
13413 problems with the Paragraph::[destructor].
13415 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
13416 on a paragraph insertion.
13418 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13420 * buffer.C (asciiParagraph): use += operator for char append to
13423 * paragraph.C (getFontSettings): compare >= not just >
13424 (highestFontInRange): ditto
13427 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13429 * paragraph.C: change several algorithm to be more appripriate for
13430 the problem domain. This is lookip in FontList and in the InsetList.
13432 2002-03-13 André Pönitz <poenitz@gmx.net>
13435 * LyXAction.C: remove unused LFUN_MATH_MACROARG
13437 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
13442 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
13444 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13446 * Painter.C (display): anon helper function, adjust code for this
13448 (pixmap): remove function.
13450 * Painter.h: remove private display variable.
13452 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
13454 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
13456 * WorkArea.[Ch]: remove figinset_canvas cruft.
13458 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13460 * lyxtextclass.C (operator): add one item cache optimization.
13462 * bufferlist.h: doxy changes
13464 * bufferlist.C: ws changes
13466 * DepTable.[Ch] (ext_exist): place const in the right spot.
13468 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
13470 (workAreaExpose): call resizeInsets when the with BufferView changes.
13471 (Dispatch): adjust for protectedBlank removal
13472 (specialChar): call updateInset if the insert went ok.
13474 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
13475 specialChar instead.
13477 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
13479 * BufferView.h: doxy change
13481 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
13483 * lyxtextclass.C (operator[]): remove non-const version
13484 (defaultLayout): remove non-const version
13486 2002-03-12 Juergen Vigna <jug@sad.it>
13488 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
13489 did resize the LyXText too.
13491 * buffer.C (readLyXformat2): set layout information on newly allocated
13494 * tabular.C (OldFormatRead): set layout information on the paragraph.
13496 2002-03-12 Jos�Ab�io Oliveira Matos <jamatos@novalis.fc.up.pt>
13498 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
13500 2002-03-11 Juergen Vigna <jug@sad.it>
13502 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
13504 (resizeCurrentBuffer): force also the insets to resize themselfes.
13505 (moveCursorUpdate): fixed up for InsetText.
13507 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
13510 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
13511 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
13512 value of Dialogs::tooltipsEnabled().
13513 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
13515 2002-03-08 Juergen Vigna <jug@sad.it>
13517 * BufferView_pimpl.C (updateInset): update inset inside inset also
13518 if it isn't inside theLockingInset().
13520 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13522 * buffer.C (asciiParagraph): redo some of the word and line length
13524 (getLists): look for Caption instead of caption.
13526 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13528 * buffer.C (Buffer): initialize niceFile to true
13530 (makeLinuxDocFile):
13531 (makeDocBookFile): make sure niceFile is true on exit
13533 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13535 * buffer.C (makeLaTeXFile): escape ~ in \input@path
13537 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
13539 * LyXSendto.C: remove.
13540 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13541 * lyx_gui.C: remove now-redundant comment.
13542 * ColorHandler.h: remove forward declaration of class WorkArea.
13543 * lyxfunc.C: remove #include "WorkArea.h".
13545 2002-03-07 Juergen Vigna <jug@sad.it>
13547 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13548 got moved away with the DEPM and also set the inset_owner always
13549 right which before could have been omitted.
13551 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13553 * buffer.C (parseSingleLyXformat2Token): use default layout is the
13554 wanted layout is not found.
13556 2002-03-07 Juergen Vigna <jug@sad.it>
13558 * CutAndPaste.C (cutSelection): another layout settings forgotten.
13560 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13562 * paragraph.C (breakParagraph): use default layout not layout of
13564 (Paragraph): clear ParagraphParameters.
13566 2002-03-06 Juergen Vigna <jug@sad.it>
13568 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13569 otherwise it would not be a valid lenght. Fixed a special case in
13570 the minipage compatibility read where we end the document with a
13573 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13574 was set as it could be 0 for InsetTexts first entry.
13576 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13578 * paragraph.C (writeFile): if layout is empty write out
13579 defaultLayoutName().
13581 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13582 file without named layout we set layout to defaultLayoutName().
13584 2002-03-06 Juergen Vigna <jug@sad.it>
13586 * CutAndPaste.C (copySelection): set layout for new paragraph.
13588 * text.C (prepareToPrint): leave ERT inset left aligned
13589 (leftMargin): don't indent paragraphs inside ERT insets
13591 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13593 * paragraph.C (breakParagraph): dont call clear do the work manually
13595 * paragraph.[Ch] (clear): remove function
13597 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13599 * paragraph.C (Paragraph): dont call clear, the work has already
13602 * lyxtextclass.C (operator): assert if n is empty
13604 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13605 work manually instead.
13607 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13609 * BufferView_pimpl.C: protect selectionLost against text == 0
13611 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13613 * text.C (breakParagraph): fix a setting layout to '0' problem.
13615 2002-03-05 Jos�Ab�io Oliveira Matos <jamatos@novalis.fc.up.pt>
13617 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13618 final location of file, for the included files, and graphics.
13620 2002-03-05 Juergen Vigna <jug@sad.it>
13622 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13624 2002-03-04 Juergen Vigna <jug@sad.it>
13626 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13628 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13629 last column of multicolumn cells.
13630 (SetWidthOfMulticolCell): recalculate NMC and real columns.
13632 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
13634 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13635 file if it doesn't go to a temporary file.
13637 * buffer.C (sgmlOpenTag):
13638 (sgmlCloseTag): remove extra newline insertion.
13640 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13642 * text.C (getRowNearY): comment out debug msg
13644 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13646 * text2.C: first -> first_y
13648 * text.C (getRowNearY): add some attemts at a possible
13649 optimization, not working.
13651 * tabular.[Ch]: add BufferParams to several function so that newly
13652 created paragraph can be initialized to he default layotu for the
13655 * tabular-old.C (ReadOld): add buf->params to call of Init
13657 * screen.C: rename text->first to text->first_y
13659 * paragraph.C (breakParagraph): always set layout in the broken
13662 * lyxtextclass.C (Read): remove lowercase
13665 (delete_layout): ditto
13667 * lyxtext.h: rename first -> first_y
13669 * lyxlayout.C (Read): remove lowercase
13672 (obsoleted_by): ditto
13674 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13676 * buffer.C (insertErtContents): add params are to InsetERT
13677 (parseSingleLyXformat2Token): add code to check if a paragraphs
13678 layout really exist.
13679 (parseSingleLyXformat2Token): add params to several inset
13681 (asciiParagraph): remove lowercase, do the layout comparisons with
13684 * BufferView_pimpl.C (cursorNext): first -> first_y
13685 (resizeCurrentBuffer): first -> first_y
13686 (updateScrollbar): first -> first_y
13687 (scrollCB): first -> first_y
13688 (workAreaMotionNotify): first -> first_y
13689 (workAreaButtonPress): first -> first_y
13690 (checkInsetHit): first -> first_y
13691 (cursorPrevious): first -> first_y
13692 (cursorNext): first -> first_y
13693 (Dispatch): add buffer_->params to severl inset contructors
13695 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13697 * lyxlayout.C (Read): remove some debug info that I forgot.
13699 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13700 clean up the code slightly.
13701 (makeLinuxDocFile): ditto
13702 (makeDocBookFile): ditto
13704 * text2.C: layout as string
13706 * text.C: layout as string
13708 * paragraph_pimpl.C: layout as string
13710 * paragraph.[Ch]: layout as string
13712 * lyxtextclasslist.[Ch]: layout as string
13714 * lyxtextclass.[Ch]: layout as string
13716 * lyxtext.h: layout as string
13718 * lyxlayout.[Ch]: layout as string
13720 * lyx_cb.C: layout as string
13722 * bufferview_funcs.C: layout as string
13724 * bufferparams.C: layout as string
13726 * buffer.C: layout as string
13728 * LyXView.[Ch]: layout as string
13730 * LaTeXFeatures.[Ch]: layout as string
13732 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13734 * BufferView_pimpl.C: change current_layout to string, remove
13739 (workAreaButtonRelease): layout as string
13741 * BufferView2.C (unlockInset): adjust
13743 * vspace.C (asLatexCommand): use an explict temp variable.
13745 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13747 * Makefile.am: use FRONTEND_*
13749 2002-03-01 Juergen Vigna <jug@sad.it>
13751 * tabular.C (SetWidthOfMulticolCell): changed to something better
13752 I hope but still work in progress.
13753 (recalculateMulticolumnsOfColumn): renamed function from
13754 recalculateMulticolCells as it is more appropriate now.
13755 (SetWidthOfCell): calculate multicols better.
13757 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13759 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13761 * lyxfunc.C (processKeySym): print sequence also if it is
13762 `deleted' (complete)
13764 * kbsequence.C (print): print sequence even if it is deleted
13765 (complete would be a better word, actually).
13767 * lyxfunc.C (dispatch): print complete options after a prefix key
13769 * vspace.C (asLatexCommand): rewrite in a slightly different form.
13771 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
13773 * text2.C (setCharFont): eliminate setCharFont code duplication.
13775 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13777 * BufferView_pimpl.C (Dispatch): remove bogus handling of
13778 LFUN_TABULAR_FEATURE (bug #177)
13780 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
13782 * Makefile.am: remove figure.h
13784 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
13786 * Bufferview_pimpl.C:
13798 * text2.C: remove #include "lyx_gui_misc.h".
13800 * LaTeX.C: added #include <cstdio>
13802 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13804 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13805 that the paragraph following this one can have.
13807 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13809 * vspace.C (asLatexCommand): fix bogus gcc warning
13811 * Makefile.am (lyx_SOURCES): remove vms_defines.h
13813 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
13815 * text2.C (setLayout): get rid of redundant code
13817 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
13819 * text2.C (incDepth): make sure depth cannot be increased beyond
13822 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
13824 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13825 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13827 * PainterBase.h (image):
13828 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13829 a LyXImage const *.
13831 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13835 * BufferView_pimpl.C:
13836 * BufferView_pimpl.h:
13856 * sp_spell.C: remove fig inset, and the crap house of
13857 cards that follows it
13859 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13864 * os2_errortable.h:
13865 * nt_defines.h: move .h into support/
13867 * vms_defines.h: remove
13869 * WorkArea.C: add space in debug output
13873 * buffer.C: add WITH_WARNINGS
13877 * bufferlist.C: s/retrive/retrieve/, add docs
13886 * chset.C: add docs
13888 * lyxgui.C: add ID to X error handler
13890 * lyxtestclass.c: fix typo
13892 2002-02-26 Juergen Vigna <jug@sad.it>
13894 * tabular_funcs.C (write_attribute): changed so that some default
13895 attributes are not written at all.
13896 (getTokenValue): set default values before trying to read the
13897 value so we have the return value always set as default if we don't
13898 find the token we search for.
13900 * tabular.C (Write): write bools as bools not as strings!
13902 2002-02-22 Juergen Vigna <jug@sad.it>
13904 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13905 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13907 * text.C (leftMargin): don't add an indent for paragraphs inside
13908 tabular cells (fix #208).
13910 2002-02-21 José Matos <jamatos@fep.up.pt>
13912 * tabular.C (docBook): fixed support for long tables.
13914 2002-02-20 Juergen Vigna <jug@sad.it>
13916 * text2.C (getFont): get the drawing font of the Inset if this
13917 paragraph is inside an inset (only important for InsetERT for now).
13919 * buffer.C (insertErtContents): use new lanugage params in ERT
13922 * CutAndPaste.C: commenting out seemingly uneeded code.
13924 2002-02-19 Allan Rae <rae@lyx.org>
13926 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13927 Iterators might be simple to use but they also get invalidated.
13928 (removeAutoInsets): renamed saved cursor tracking variables and added
13929 some comments to clarify what everything does.
13931 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
13938 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13939 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13942 * vc-backend.h: remove #include "support/syscall.h"
13946 * converter.C: rearrange #includes in Lars' approved fashion.
13948 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13949 forward declare class Timeout in the header file.
13951 * XFormsView.C: changes due to the above.
13953 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13954 similar to LyXView.
13956 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13957 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13959 2002-02-18 José Matos <jamatos@fep.up.pt>
13961 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13964 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
13966 * a lot of small ws changes
13967 * add a lot of using std::XXX
13968 * use std construcs some places where approp.
13969 * use some exisint stuff from lyxfunctional where approp.
13970 * Make file changes to use partial linking (lets test this now...)
13972 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13976 remove #include "support/syscontr.h" as it's redundant. Always has been.
13984 change Systemcalls::System to Systemcalls::Wait and
13985 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13986 No change of functionality, just reflects the stripped down Systemcalls
13989 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13991 * debug.[Ch]: add a GRAPHICS type to the enum.
13993 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13995 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13997 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
14000 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14002 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
14003 match the changes below.
14005 * text2.C (toggleInset): if there is not editable inset at cursor
14006 position, try to see if cursor is _inside_ a collapsable inset
14009 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14011 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
14012 document menu has a nice checkbox
14014 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14016 * lyxlength.C (asLatexString): change PW to output as percent of
14019 * lengthcommon.C: change '%' to 't%'
14021 * lyxfunc.C (dispatch): a few comments from Martin
14023 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
14027 * BufferView_pimpl.h:
14028 * BufferView_pimpl.C: clear our selection when X tells us we've lost
14031 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14033 * vspace.C (inPixels): fix compiler warning
14035 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14037 * lyxfunc.C (getStatus): fix status message for disabled commands.
14039 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
14041 * BufferView_pimpl.C: fix crash on close buffer
14042 during selection (#227)
14044 2002-01-27 Herbert Voss <voss@lyx.org>
14046 * buffer.C: link old Figure to new graphic inset
14048 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
14050 * FontLoader.C (getFontinfo): Change the latex font names in order
14051 to match the names of type1inst.
14053 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
14055 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
14057 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
14058 (extchanged): ditto
14060 (remove_files_with_extension): ditto
14061 (remove_file): ditto
14064 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
14065 document is smaller than the work area height. Do not initialize
14066 static variables to 0.
14068 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14070 * lyx_gui.C (init): give the toolbar tooltips a normal font.
14072 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
14073 LFUN_LAYOUT_PARAGRAPHS.
14075 * tabular.C (GetCellFromInset): new method. Finds an inset in a
14076 tabular. It is possible to provide a possible cell, which will
14077 typically be the actcell from the corresponding insettabular
14079 * lyxfunc.C (getStatus): small cleanup; disable
14080 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
14083 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14085 * tabular.C (Validate): remove broken optimization (fixes bug #201)
14087 * paragraph.C (startTeXParParams):
14088 (endTeXParParams): new methods. The LaTeX code to
14089 start/end paragraph formatting
14090 (simpleTeXOnePar): call startTeXParParams also when paragraph is
14091 empty (fixes bug #200)
14093 * vspace.C (inPixels): adapt to the change below
14094 (inPixels): [later] more cleanups (remove unused variables)
14096 * lyxlength.C (inPixels): change to use a width and a height as
14099 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14101 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
14102 Replaced with \paperwidth
14104 * DepTable.C (insert): add std:: qualifier
14106 2002-01-18 Allan Rae <rae@lyx.org>
14108 * text2.C (removeRow): add comment. Should other refresh_?? vars be
14111 * text.C (drawInset): Turned out I didn't know enough about how
14112 rebreaking worked. This fixes most of the redraw problems. I see
14113 an occasional cursor trail when a line is broken now and the cursor
14114 placement can seem out by a few pixels also after a rebreak.
14116 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14118 * buffer.C (parseSingleLyXformat2Token): update because minipage
14119 width is now a LyXLength
14121 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
14123 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
14126 2002-01-17 Juergen Vigna <jug@sad.it>
14128 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
14130 * BufferView2.C (lockInset): call edit() so that theLockingInset()
14131 is set correctly and the inset is updated correctly.
14133 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14135 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
14136 the beginning of the loop.
14138 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
14140 * lyxrc.C: improve help for use_scalable_fonts
14142 2002-01-17 Allan Rae <rae@lyx.org>
14144 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
14146 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14148 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
14149 make sure to set their inset_owner to the right value (bug #171)
14151 2001-12-12 Ben Stanley <bds02@uow.edu.au>
14154 * DepTable.C: Implement mtime checking to reduce time spent doing
14157 2002-01-16 Juergen Vigna <jug@sad.it>
14159 * tabular.C (GetAdditionalHeight): one of error fixed.
14161 * lyxrc.C (output): small fix in writing use_pspell.
14163 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
14165 * sp_base.h: #include LString.h
14167 2002-01-16 Allan Rae <rae@lyx.org>
14169 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
14170 Can someone check this please?
14172 * text.C (drawInset): It was possible that p.row would be removed by
14173 breakAgainOneRow upsetting a few other settings. There may be another
14174 small tweak possible by setting need_break_row = 0 when p.row has been
14175 removed but I don't know enough about the logic here.
14177 2002-01-15 Allan Rae <rae@lyx.org>
14179 * text.C (insertChar): removed conditional truism.
14181 * BufferView2.C (removeAutoInsets): More tweaks.
14182 cur_par_prev could be a stray pointer. Check for trailing empty line
14183 in case last line was cur_par and only had an error inset on it.
14185 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14187 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
14190 * vc-backend.C (most methods):
14191 * exporter.C (Export):
14192 * converter.C (convert):
14194 * LyXSendto.C (SendtoApplyCB):
14195 * lyxfunc.C (dispatch):
14199 * lyx_cb.C (AutoSave):
14201 * BufferView_pimpl.C (MenuInsertLyXFile):
14202 * buffer.C (runChktex): use Buffer::filePath().
14204 * buffer.h: rename filename to filename_; rename filepath to
14205 filepath_ and make it private
14206 (filePath): new method
14208 * buffer.C (writeFile): use fileName()
14211 * lyx_main.C (init): fix starting of LyX when the binary is a
14212 link from so,ewhere else.
14214 * minibuffer.C: include <cctype> for isprint
14216 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
14218 * buffer.C (parseSingleLyXformat2Token): changes associated with the
14219 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
14220 name clash with InsetCollapsable's width function.
14222 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14224 * lastfiles.C: include <iterator>
14226 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
14228 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
14231 * buffer.C (makeLaTeXFile): ditto.
14232 Also make loop operation more transparent.
14234 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
14236 * ToolbarDefaults.C: remove trailing comma closing namespace.
14238 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
14240 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
14243 * trans.C (Load): comment out unused variable, allowed.
14245 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
14247 * minibuffer.[Ch] (append_char): new method to recieve input from the
14248 drop-down completion browser. If a key was pressed, then recieve this
14249 char and append it to the existing string.
14250 (peek_event): modify the positioning data passed to the completion
14251 browser so that it can be placed above the minibuffer rather than below.
14252 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14254 * LyXAction.C (init): alloe error-next for readonly documents.
14256 * BufferView2.C (ChangeRefsIfUnique): use standard version of
14259 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14261 * bufferlist.C (readFile): create the buffer _after_ checking that
14264 * lyxfunc.C (verboseDispatch): fix handling of arguments
14266 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
14268 * lyxrc.C: use string::erase() instead of initializing to "".
14271 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14273 * BufferView_pimpl.h:
14274 * BufferView_pimpl.C:
14277 * text2.C: tell X when we have made a selection for copying
14279 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14281 * BufferView_pimpl.C (MenuInsertLyXFile):
14282 * lyxfunc.C (menuNew):
14284 (doImport): add shortcuts to directory buttons
14286 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
14289 * lyxfunc.C (setStatusMessage):
14290 (getStatusMessage): new methods
14291 (getStatus):use setStatusMessage instead of setErrorMessage
14292 (dispatch): when function is disabled, set error message here
14293 [instead of in getStatus previously]
14295 * BufferView_pimpl.C (workAreaButtonRelease): update
14296 toolbar/menubar here too.
14298 2002-01-13 Allan Rae <rae@lyx.org>
14300 * BufferView2.C (removeAutoInsets): finished off earlier fix.
14301 Now seems indestructible. Remaining task is to audit all other
14302 code affected by deleteEmptyParagraphMechanism. One small quirk
14303 left is that an empty document with an error in the preamble can
14304 be made to report an error but no error box appears. I don't know
14306 (removeAutoInsets): Improved comments.
14308 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
14311 * Thesaurus.C: update for Aiksaurus 0.14
14313 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
14315 * text2.C (firstParagraph): removed member function, all uses
14316 replaces with ownerParagraph
14317 (redoParagraphs): here
14318 (updateInset): here
14319 (toggleAppendix): here
14320 * BufferView2.C (insertErrors): here
14321 (setCursorFromRow): here
14323 2002-01-13 Allan Rae <rae@lyx.org>
14325 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
14326 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
14327 There is still a way to segfault this although you may have to do this
14328 multiple times: Have an InsetERT with an unknown command in it.
14329 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
14330 <down-arrow>, <Enter> again, View->DVI, BANG!
14332 * text2.C (setCursor):
14333 (deleteEmptyParagraphMechanism):
14334 * lyxtext.h (setCursor):
14335 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
14336 Making use of the return value may help fix other bugs.
14338 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14340 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
14342 * LyXView.C (updateMenubar): call MenuBar::update here
14343 (updateToolbar): but not here
14344 (showState): do not update toolbar/menubar
14346 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
14347 should need to care about that.
14349 * lyxfunc.C (verboseDispatch): simplify a bit
14350 (getStatus): have a version which takes a pseudoaction, and
14351 another which requires a (kb_action,string).
14353 * LyXAction.C (retrieveActionArg): make it work also when action
14354 is not a pseudo-action.
14355 (getActionName): simplify a bit
14358 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14360 * lyxfunc.C (verboseDispatch): new families of methods with
14361 several ways to specify a command and a bool to indicate whether
14362 the command name and shortcut should be displayed in minibuffer
14363 (eventually, we could extend that to a finer bitmask like
14364 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
14365 (dispatch): the pristine dispatch command which just, well,
14366 dispatchs! Note it still sets its result to minibuffer; I'm not
14369 * lyxfunc.h: remove setHintMessage
14371 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
14373 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14375 * BufferView_pimpl.C (specialChar): delete new inset if we have
14376 not been able to insert it.
14378 * kbmap.C: revert to using int instead of kb_action, since all we
14379 are dealing with is pseudo-actions.
14381 * LyXAction.C (searchActionArg): change to return int instead of
14382 kb_action, since the result is a pseudoaction.
14384 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
14386 * buffer.C (insertErtContents): Fix (partially) the font bug.
14388 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
14390 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
14391 as the other one is broken on my machine!
14393 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
14396 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
14398 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
14400 * lyxrc.[Ch]: change names and descriptions of popup font variables to
14401 reflect their actual use. Provide compatibility code for older lyxrc
14404 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
14406 change names of popup font variables in line with the changes to lyxrc.C
14408 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14410 * buffer.C (asciiParagraph): avoid outputing a word twice after
14413 * lyxrc.C (getDescription): document that document_path and
14414 template_path can be empty.
14416 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14418 * LaTeXFeatures.C (getMacros):
14419 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
14421 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
14423 * LaTeXFeatures.C (useFloat): require "float" here instead of in
14425 (getPackages): rename feature "floats" to "float". Use an array to
14426 iterate over 'simple' features (i.e. just a \usepackage). Add
14427 handling of "amsmath" (renamed from "amsstyle").
14429 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
14431 * LaTeXFeatures.C (require): Prevent duplicate entries in the
14434 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
14436 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
14437 FuncStaus::FuncStatus & FuncStaus::some_method().
14439 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
14441 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
14442 of the func_satus stuff. Edited and massaged in various ways by
14445 * lyxfunc.C (getStatus): use FuncStatus
14447 2002-01-08 Juergen Vigna <jug@sad.it>
14449 * text.C (nextBreakPoint): use function Inset::isChar().
14451 * paragraph.C (TeXOnePar): use function
14452 Inset::forceDefaultParagraphs.
14454 * buffer.C (latexParagraphs): use function
14455 Inset::forceDefaultParagraphs.
14457 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14459 * lyx_gui.C (init): set the style of the menu popups to
14460 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
14462 2002-01-07 Juergen Vigna <jug@sad.it>
14464 * text.C (setHeightOfRow): small fix
14465 (prepareToPrint): don't look at alignment if we don't have the place
14468 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14470 * box.C: New file. Move the Box methods and functions out of box.h,
14471 following Lars' suggestion.
14473 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14475 * box.h: #include "support/LOstream.h", needed for inlined function.
14478 * lyxtextclasslist.C: added some using std declarations.
14480 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
14482 * box.h: make signed dimensions to allow insets wider than
14483 the screen (bug #162)
14485 * BufferView_pimpl.C: add some insetHit debug
14487 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
14489 * vc-backend.C: add FIXME
14491 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14493 * lyxfunc.C (getStatus): enable code for showing math font status
14496 2002-01-07 Juergen Vigna <jug@sad.it>
14498 * text.C (nextBreakPoint): removed debug output not needed anymore.
14500 2002-01-06 Juergen Vigna <jug@sad.it>
14502 * text.C (nextBreakPoint): fixed up this function we had this bug
14503 since ever but now hopefully we break row better.
14504 (insertChar): we have to check if an inset is the next char as it
14505 could now happen that a large inset is causing a break.
14507 2002-01-05 Juergen Vigna <jug@sad.it>
14509 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
14510 if it doesn't like to be drawed.
14512 2002-01-04 Juergen Vigna <jug@sad.it>
14514 * BufferView2.C (lockInset): forgot to set a cursor.
14516 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
14518 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
14520 * FormMathsPanel.C:
14523 * form_maths_panel.C:
14524 * form_maths_panel.h:
14525 * form_maths_panel.fd: implemented sub- and super- buttons in math
14528 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
14529 (or ^ space) to be used as in TeX (req'd by Andr�.
14531 * lyxfunc.C: Allow ^ and _ again to be used both as
14532 super/subscript (mathed) and as themselves (in text).
14534 2002-01-03 Allan Rae <rae@lyx.org>
14536 * LyXView.C (updateWindowTitle): Setup a short icon title of either
14537 "LyX" or the filename of the current buffer if it has one. This is a
14538 modified form of John Levon's patch.
14540 * XFormsView.C (setWindowTitle): also set icon title.
14542 * LyXView.h (setWindowTitle): signature changed.
14543 * XFormsView.h (setWindowTitle): ditto.
14545 2002-01-02 Juergen Vigna <jug@sad.it>
14547 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14549 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
14551 * screen.C (topCursorVisible): introduce a temp var for
14552 text->cursor.row(), handle the case where this row is null. (kindo
14555 * text2.C (setCursor): add a couple of asserts.
14557 * paragraph.h (inset_iterator): add -> operator
14559 * paragraph.[Ch] (autoDeleteInsets): remove member function
14561 * BufferView2.C (removeAutoInsets): rewrite to handle the old
14562 cursor pos correctly and handle inset deletion by itself.
14563 (insertErrors): move iterator declaration out of for expression
14565 * lyxtextclass.C: add <algorithm>
14567 * Makefile.am: added the new files to sources, removed layout.C
14569 * layout.C: removed file
14571 * layout.h: remove LYX_DUMMY_LAYOUT
14573 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14577 * lyxtextclass.[Ch]:
14578 * lyxtextclasslist.[Ch]: new files
14580 * include order changes to a lot of files, also changes because of
14583 2001-12-27 Juergen Vigna <jug@sad.it>
14585 * buffer.C (asciiParagraph): more fixes.
14587 * tabular.C (ascii): make ascii export support export of only the
14588 data separated by a column-delimiter.
14589 (ascii): better support for ascii export.
14591 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14593 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14595 * tabular_funcs.C: use a "using std::getline" instead of the
14596 previous fix from Angus (necessary for cxx + lyxstring)
14598 2001-12-24 Juergen Vigna <jug@sad.it>
14600 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14602 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14603 problems. First check a minipage also if we have some ert-contents
14604 (not only on par->size(), second set the right depth of the paragraph
14605 on the relink to the root-paragraph-list!
14607 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14608 which then did not anymore update the main paragraphs on undo/redo!
14610 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14612 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14613 code. Support all font-changing funcs (even those which are not in
14614 menu currently). Support for reporting font settings in
14615 mathed (disabled until Andre provides a function on mathed's side).
14617 * func_status.h (toggle): small helper function to set toggle
14620 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
14622 * tabular_funcs.C: getline -> std::getline
14624 2001-12-21 Juergen Vigna <jug@sad.it>
14626 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14627 accessed and could be 0 (I couldn't generate this but it seems
14630 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
14632 * tabular_funcs.C: add LIstream.h, move write_attribute to..
14633 * tabular_funcs.h: here and include iosfwd
14635 2001-12-20 Juergen Vigna <jug@sad.it>
14637 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14638 inside inset but undo_par was.
14640 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14642 * Thesaurus.C: always include <config.h> in sources.
14646 * box.h: do not include <config.h> in header files
14648 * text.C (paintLastRow): remove unused variable
14650 * text.C (transformChar):
14652 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14654 * Painter.C (text):
14655 * font.C (width): rewrite to use uppercase() instead of
14658 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14660 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
14662 * lyxfind.C: clean up of find failure position change
14664 2001-12-20 Juergen Vigna <jug@sad.it>
14666 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14668 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14669 (TeXRow): added to LaTeX a single tabular row.
14670 (TeXLongtableHeaderFooter): added to output LT-h/f data.
14671 (Latex): simplified and finally good LT-h/f support.
14672 (various_functions): just small adaptions for LT-h/f support.
14674 * tabular_funcs.[hC]: added and moved here all not classfunctions
14677 2001-12-19 Juergen Vigna <jug@sad.it>
14679 * tabular.[Ch]: better support for longtabular options (not finished
14682 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14684 * text.C (paintLastRow): use the label font instead of the font of
14685 the last character to compute the size of *_BOX. This makes more
14686 sense and avoids a crash with empty paragraphs.
14687 Use Painter::rectangle to draw EMPTY_BOX.
14689 2001-12-19 Juergen Vigna <jug@sad.it>
14691 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14692 the paragraphs if the replaced paragraph is not the first one!
14693 Tried to delete not used paragraphs but does not work yet so for
14694 now it's inside #ifdef's and by default off!
14696 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14698 * MenuBackend.C: include "lyx_main.h" instead of declaring
14699 lastfiles (actually was declared as LastFiles* instead of a
14702 2001-12-17 Juergen Vigna <jug@sad.it>
14704 * tabular.C (AppendColumn): applied John's fix
14706 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
14710 * BufferView_pimpl.h:
14711 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14714 * box.h: new start of class for above
14716 * lyxfunc.C: ignore space-only minibuffer dispatches.
14717 Show the command name when it doesn't exist
14719 * minibuffer.C: don't add empty lines to the history
14721 * minibuffer.C: add a space on dropdown completion
14723 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
14725 * text.C: fix line above/below drawing in insets
14727 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14729 * lyxlength.C (LyXLength): Initialize private variables.
14731 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
14733 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14734 when inserting error insets.
14736 2001-12-13 Juergen Vigna <jug@sad.it>
14738 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14739 actually sometimes the before-paragraph.
14740 (setUndo): don't clear the redostack if we're not actually undoing!
14742 2001-12-06 Juergen Vigna <jug@sad.it>
14744 * undo_funcs.C (textHandleUndo): well after John's hint I got here
14745 and fixed redoing of main paragraph, so we can use it now ;)
14747 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14749 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14751 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14754 2001-12-13 André Pönitz <poenitz@gmx.net>
14757 * undo_func.C: minor cleanup
14759 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14761 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14762 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14763 font in urw-fonts package which is marked as -urw-fontspecific and
14764 does not work (incidentally, changing the encoding in the
14765 fonts.dir of this package to -adobe-fontspecific fixes the
14768 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14769 is a crash when undoing first paragraph (Juergen, please take a
14770 look). THis does not mean the undo fix is wrong, just that it
14773 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14774 the (Paragraph*) version when needed instead of duplicating the
14777 * text.C (workWidth): use Inset::parOwner to find out where the
14778 inset has been inserted. This is a huge performance gain for large
14779 documents with lots of insets. If Inset::parOwner is not set, fall
14780 back on the brute force method
14782 * paragraph_pimpl.C (insertInset):
14783 * paragraph.C (Paragraph):
14784 (cutIntoMinibuffer): set parOwner of insets when
14785 inserting/removing them
14787 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14789 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
14795 * mathed/formulabase.C:
14796 * mathed/math_cursor.[Ch]:
14797 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14800 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14802 * lyxlength.[Ch] (operator!=): new function
14804 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14806 * text.C (workWidth): use Inset::parOwner to find out where the
14807 inset has been inserted. This is a huge performance gain for large
14808 documents with lots of insets. If Inset::parOwner is not set, fall
14809 back on the brute force method
14811 * paragraph_pimpl.C (insertInset):
14812 * paragraph.C (Paragraph):
14813 (cutIntoMinibuffer): set parOwner of insets when
14814 inserting/removing them
14816 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14818 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14820 * tabular-old.C (getTokenValue):
14821 * tabular.C (getTokenValue):
14822 (write_attribute): new versions for LyXLength
14823 (everywhere): adjust the use of widths
14825 * tabular.h: change the type of widths from string to LyXLength
14827 2001-12-11 Ben Stanley <bds02@uow.edu.au>
14829 * paragraph.C: fixed missing line number count when exporting
14830 Environments to LaTeX file
14832 * buffer.C: added informational message for checking line numbers.
14834 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14836 * text2.C (deleteEmptyParagraphMechanism): if there is only one
14837 paragraph, do the 'double space' part, but not the 'empty
14840 * text.C (workWidth): small optimization
14841 (getLengthMarkerHeight): use minimal size for negative lengths.
14843 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
14845 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14847 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14849 2001-12-11 André Pönitz <poenitz@gmx.net>
14852 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14854 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14856 * text2.C: keep selection on a setFont()
14858 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14860 * lyx_cb.C: another bv->text misuse, from insert label
14862 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14865 * kbsequence.C: re-instate nmodifier mask
14867 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
14869 * lyx_main.h: make lyxGUI private.
14871 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14873 * lyxfind.C: place the cursor correctly on failed search
14875 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14877 * text.C (getLengthMarkerHeight): for small heights, the arrows
14878 are not always on top/bottom of the text
14879 (drawLengthMarker): smaller arrows; take the left margin in
14880 account; draw also vfills.
14882 (paintLastRow): remove special code for vfill and standard spaces,
14883 since everything is handled in drawLengthMarker now.
14885 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14887 * buffer.C (insertErtContents): try to handle font and language
14888 interaction a bit better.g
14890 * ColorHandler.C (updateColor): change the hash to cover the whole
14891 LColor enum, ws cleanup
14892 (getGCLinepars): ditto
14893 (getGCLinepars): only lookup in the linecache once.
14895 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
14897 * iterators.C (operator++): Make the iterator more robust
14899 * BufferView2.C (removeAutoInsets): Use paragraph iterators
14901 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14903 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14906 * text.C: better added space drawing
14908 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14911 * BufferView2.C: fix layout combo update on inset unlock
14913 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14915 * Makefile.am: don't compile unused files
14917 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14921 * LyXAction.C: remove old LFUN_LAYOUTNO
14923 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14925 * paragraph_pimpl.h:
14926 * paragraph_pimpl.C: isTextAt() doesn't need font param
14928 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14931 * lyxlex.C: little cleanup
14933 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14935 * BufferView_pimpl.C: fix insertAscii for insets
14937 2001-12-05 Juergen Vigna <jug@sad.it>
14939 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14940 set the right font on the "multi" paragraph paste!
14942 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14948 * lyxlength.C: remove out-commented code.
14950 * BufferView_pimpl:
14964 * vc-backend.C: change "while(" to "while ("
14966 * lyxlength.[Ch]: add zero function to check if length is zero or
14968 * lyxgluelength.C: use it
14970 2001-12-05 Allan Rae <rae@lyx.org>
14972 * lyxlength.C: Attempted a fix for the abs(int) header selection.
14973 Works for 2.95.3, from what I understand of Garst's reports this should
14974 work for other g++ versions. We're screwed if the abs(int) definition
14975 changed between bugfix releases of gcc.
14977 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14979 * text.C: fix chapter label offset !
14981 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14984 * text.C: fix hfill at end of line, clean up
14986 2001-12-04 Juergen Vigna <jug@sad.it>
14988 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14989 that we force an update of the inset and it's owners if neccessary.
14991 2001-12-03 Juergen Vigna <jug@sad.it>
14993 * text.C (rowLast): simplified code
14995 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14997 * lyxfunc.C: fix show options on timeout
14999 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15001 * screen.C (topCursorVisible): scroll half a page when the cursor
15002 reached top of bottom of screen
15004 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
15006 * minibuffer.C: deactivate on loss of focus
15008 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
15010 * vspace.[Ch] (operator!=): add operator.
15012 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
15014 * BufferView_pimpl.C: refuse to open an inset when
15015 there's a selection.
15017 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
15019 * BufferView_pimpl.C: allow to click on RHS of full row insets
15021 2001-11-30 Juergen Vigna <jug@sad.it>
15023 * tabular.C (LyXTabular): add a same_id to set the same id's in the
15024 insets for undo reasons.
15026 2001-11-28 André Pönitz <poenitz@gmx.net>
15028 * vspace.[Ch]: cosmetical changes
15030 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
15040 * kbsequence.C: part re-write of old kb code
15043 * WorkArea.C: remove Lgb_bug_find_hack
15045 2001-11-30 José Matos <jamatos@fep.up.pt>
15047 * buffer.C (makeDocBookFile): add a comment to point a hack.
15048 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
15049 Fixed a double write of labels.
15051 2001-11-29 Ben Stanley <bds02@uow.edu.au>
15054 * LaTeX.h Fixed bug in LaTeX class where it would not
15055 re-run latex if no depfiles were changed, but the .dvi was removed.
15057 2001-11-28 André Pönitz <poenitz@gmx.net>
15059 * all the files from the change on 2001/11/26:
15060 use lyx::layout_type instead of LyXTextClass::size_type
15061 use lyx::textclass_type instead of LyXTextClassList::size_type
15063 2001-11-29 Juergen Vigna <jug@sad.it>
15065 * text.C: added support for paragraph::isFreeSpacing()
15067 * buffer.C: same as above
15069 * paragraph.h: inserted isFreeSpacing() function to enable
15070 FreeSpacing inside InsetERT.
15072 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
15073 of the paragraph's in the cut/copy buffer to 0!
15075 * text2.C (removeRow): remove the assert as it can!
15077 * lyxtext.h: added helper function firstRow returning firstrow and
15078 made firstrow private again.
15080 * BufferView2.C (lockInset): don't relock if we're already locked!
15082 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
15083 the only paragraph.
15084 (removeRow): added Assert::(firstrow)
15086 * debug.C: forgot to add INSETTEXT here.
15088 2001-11-28 Juergen Vigna <jug@sad.it>
15090 * sp_spell.C (initialize): changed error text to more general
15091 spellchecker command use (not only ispell!)
15093 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
15095 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
15097 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
15099 * vspace.C: initialise lyxgluelength on failure
15101 2001-11-28 Allan Rae <rae@lyx.org>
15103 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
15104 declaration & definition that looks like a function declaration.
15106 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15108 * BufferView2.C (copy):
15109 (copyEnvironment): do not clear the selection when doing a copy.
15111 * text.C (paintFirstRow): compilation fix
15113 2001-11-27 Ben Stanley <bds02@uow.edu.au>
15115 * tabular.C (Latex): correct line count when writing latex.
15117 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
15119 * paragraph_pimpl.h:
15120 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
15123 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
15127 * LColor.C: change vfillline->added_space
15129 * text.C: add markers and text for added space
15131 * vspace.C: fix comment
15133 2001-11-28 André Pönitz <poenitz@gmx.net>
15135 * paragraph.C: whitespace changes
15136 * all the other files from the change on 2001/11/26:
15137 change *::pos_type into lyx::pos_type
15139 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
15141 * buffer.C (parseSingleLyXformat2Token): Set the language to the
15142 language of the document when inserting error insets.
15144 2001-11-26 André Pönitz <poenitz@gmx.net>
15146 * BufferView_pimpl.[Ch]:
15154 * paragraph_pimpl.[Ch]:
15157 * text2.C: reduce header dependencies, introduce type for positions
15159 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
15161 * <various>: change to use Alert.h
15163 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
15165 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
15166 when encountering an unknown token.
15167 (readLyXformat2): Show an error message if there were unknown tokens.
15169 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
15172 * BufferView_pimpl.C:
15176 * text2.C: use par->isInset()
15178 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
15180 * paragraph_pimpl.h:
15181 * paragraph_pimpl.C: cleanup
15183 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15185 * text2.C (removeRow):
15186 * text.C (setHeightOfRow): remove useless (and costly) call to
15189 2001-11-20 Allan Rae <rae@lyx.org>
15191 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
15192 Now need Inset*::checkInsertChar() to return true for appropriate
15193 cases so that the characters in the minibuffer will actually be
15196 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
15198 * text.C: change the order of the includes.
15199 (workWidth): initialize it at once.
15200 (workWidth): make maxw unsigned
15201 (setHeightOfRow): remove unused variable (inset)
15202 (selectSelectedWord): remove unused variable (inset)
15203 (paintRowText): fix drawing of hfill characters, and clean up a bit.
15205 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15207 * lyxserver.C (emergencyCleanup): do not try to close pipes if
15208 server is not running.
15210 (closeConnection): add debug info when server is disabled.
15212 * ColorHandler.C (getGCForeground): send debug message to GUI
15215 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
15217 * kbmap.C (bind): modify because return conventions of
15218 kb_sequence::parse have changed.
15220 * kbsequence.C (parse): only ignore spaces and not any stupid
15221 control character. This avoids tests like s[i] <= ' ', which are
15222 guaranteed to fail with 8bit characters and signed chars.
15223 Change return code to string::npos when there have been no error
15224 (0 was a bad idea when error is at first character)
15226 2001-11-14 José Matos <jamatos@fep.up.pt>
15229 * buffer.C (simpleDocBookOnePar): removed unused argument.
15231 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15233 * text.C (selectNextWordToSpellcheck): do not test explicitely for
15234 insets which are part of a word. Paragraph::isLetter takes care of
15235 that now. Use Paragraph::isInset to identify insets.
15236 (selectSelectedWord): do not test for hyphenation break.
15238 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
15239 that protected spaces are considered as spaces.
15241 * paragraph.C (isLetter): cleanup the code for ispell extras; use
15244 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
15247 * lyxserver.C: fix it. and small cleanup.
15249 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
15251 * BufferView_pimpl.C: use inline helpers
15254 * LaTeXFeatures.C: fix typos
15257 * Spacing.C: move spacing_string into class
15259 * ToolbarDefaults.C: move stuff into namespace anon
15261 * layout.h: update enum
15263 * lyxfunc.C: use better debug
15265 * minibuffer.h: fix typo
15269 * WorkArea.C: add and use Debug::WORKAREA
15273 * text2.C: code re-organisation, inline helpers
15275 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
15277 * Layout.C: replaced a few cases of std::vector.size() == 0 with
15278 std::vector.empty().
15280 2001-11-09 Allan Rae <rae@lyx.org>
15282 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
15283 '\n's after tables. Tabular and ERT inset work now makes this no
15286 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
15289 * minibuffer.C: fix crash, improve drop-down completion
15291 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
15294 * lyxserver.C: invalidate fd's when doing endPipe()
15296 2001-11-08 José Matos <jamatos@fep.up.pt>
15298 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
15299 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
15302 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
15304 2001-11-07 José Matos <jamatos@fep.up.pt>
15307 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
15310 * buffer.C (sgmlOpenTag):
15311 * buffer.C (sgmlCloseTag): removed debug info.
15313 * buffer.h (sgmlOpenTag):
15314 * buffer.h (sgmlCloseTag): made public.
15316 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15318 * buffer.C (saveParamsAsDefaults):
15319 * lyx_cb.C (MenuLayoutSave): remove
15321 * LyXAction.C (init):
15323 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
15325 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15327 * buffer.C (setPaperStuff): removed from here...
15329 * bufferparams.C (setPaperStuff): ... and moved there.
15331 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
15335 * XFormsView.C: add support for drop-down completion
15337 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
15339 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
15342 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15344 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
15347 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
15349 * lyx_main.C: change ref to known bugs
15351 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
15353 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
15354 to work around older babel problems.
15356 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
15358 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
15360 2001-10-24 Juergen Vigna <jug@sad.it>
15362 * tabular-old.C (ReadOld): below variable changes reflected.
15364 * tabular.[Ch]: added ltType struct for longtable header/footer
15365 defines and changed all instances where they are used. Added
15366 future support for double top/bottom rows.
15368 2001-10-24 José Matos <jamatos@fep.up.pt>
15370 * buffer.h (docbookHandleCaption):
15371 * buffer.C (docbookHandleCaption): removed unused function.
15372 (makeDocBookFile): moved docbook supported version to v4.1.
15374 2001-10-24 José Matos <jamatos@fep.up.pt>
15377 * tabular.C (docbookRow): new function to export docbook code of a row.
15378 (DocBook): now honors the longtable flags.
15380 2001-10-23 José Matos <jamatos@fep.up.pt>
15383 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
15384 of the lyx defined sgml entities used in a docbook/linuxdoc document.
15386 * buffer.C (makeLinuxDocFile):
15387 (makeDocBookFile): reworked the preamble, more clean, and with
15388 support for lyx defined entities. Changed the document declaration
15389 to be more XML friendly.
15391 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
15392 if we need to output XML that should be done with a filter.
15394 2001-10-22 Juergen Vigna <jug@sad.it>
15396 * sp_pspell.h (class PSpell): add alive function needed in the
15397 controller to see if the spellchecker could be started.
15399 2001-10-22 Juergen Vigna <jug@sad.it>
15401 * buffer.C (insertStringAsLines): modify the font for inserting
15402 chars in certain conditions by calling checkInsertChar(font).
15404 2001-10-19 Juergen Vigna <jug@sad.it>
15406 * text.C (workWidth): use getRow instead of wrong algorithm.
15407 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
15409 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
15414 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
15416 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15418 * text.C (workWidth): do not search for the exact row when
15419 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
15420 optimization for big documents.
15422 2001-10-18 Juergen Vigna <jug@sad.it>
15424 * text.C (workWidth): new function with added Inset * parameter.
15426 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15428 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
15430 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
15431 change return type of getColumnNearX.
15434 * text.C (changeRegionCase): use uppercase/lowercase instead of
15437 (rightMargin): simplify code by factoring out the uses of
15442 (appendParagraph): use Paragraph::size_type
15444 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15446 * vspace.C (asLatexString): add a missing break
15448 2001-10-15 Herbert Voss <voss@perce.de>
15450 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
15452 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15454 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
15457 2001-10-10 André Pönitz <poenitz@gmx.net>
15459 * lyxfunc.C: removed greek_kb_flag.
15461 2001-10-10 Herbert Voss <voss@perce.de>
15463 * lyx_main.C: delete global string help_lyxdir.
15465 2001-10-09 Herbert Voss <voss@perce.de>
15467 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
15469 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
15471 * lyx_main.C: added global string help_lyxdir.
15473 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
15475 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
15477 * lyxrc.C (set_font_norm_type): support iso8859-4
15479 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
15481 * LaTeX.C (deplog): add another regex for MikTeX
15483 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
15485 * lyxrc.C (set_font_norm_type): support iso8859-3
15487 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15489 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
15491 * LaTeXFeatures.C: remove special case of french and index
15493 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
15494 before \begin{document}). This solves several incompatibilities.
15496 2001-10-03 Garst Reese <reese@isn.net>
15498 * lyx_cb.C: change CheckTex error msg.
15500 2001-10-03 José Matos <jamatos@fep.up.pt>
15502 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
15504 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15506 * .cvsignore: update
15508 * lyx_main.C (commandLineVersionInfo): use new style version info.
15510 * buffer.C (writeFile):
15512 (makeLinuxDocFile):
15513 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
15515 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
15517 * version.h: update to use stuff in version.C
15519 * version.C.in: new file. Contains version information determined
15520 at compile time. This is a merging of version.h and
15523 2001-10-03 Juergen Vigna <jug@sad.it>
15525 * BufferView_pimpl.C (update): don't change "dirty" status in
15528 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
15530 * WorkArea.C (c-tor): re-position version string slightly.
15532 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
15534 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15535 revert to previous code.
15537 WorkArea.[Ch]: (show, destroySplash): methods removed.
15539 WorkArea.C: rework code so that it's an amalgam of the codes before and
15540 after the splash screen was moved to WorkArea.
15542 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15545 * vspace.C (inPixels):
15548 * buffer.C (insertStringAsLines):
15549 (asciiParagraph): fix types to be large enough
15551 * lyxlex_pimpl.h: change member status from short to int
15553 * layout.h: fix type of endlabeltype
15556 * kbsequence.C (parse): change return type to string::size_type
15558 * LaTeX.C (updateBibtexDependencies): comment out unneeded
15561 * Bullet.C (bulletSize):
15562 (bulletEntry): do not use short ints as parameters
15564 * BufferView2.C (insertLyXFile): change a char to an int.
15566 * WorkArea.C (WorkArea): remove unneeded floats in computation
15568 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
15570 * buffer.C (asciiParagraph): Treat '\\' as other chars.
15572 * paragraph.C (asString): Do not ignore newline/hfill chars when
15573 copying to the clipboard.
15575 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
15577 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15578 after a multi-line inset.
15580 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
15582 * paragraph.C (validate): Set NeedLyXFootnoteCode
15584 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
15586 * lyxfont.C (LyXSizeNames): changed increase-error to increase
15587 and decrease-error to decrease.
15589 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15591 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15592 it more readable (should be equivalent)
15594 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
15596 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15598 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15600 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15601 of a cursor (row, etc.) after a character has been deleted
15602 (deleteEmptyParagraphMechanism): call the method above on _all_
15603 cursors held by the LyXText when a double space has been
15606 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
15608 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15610 (resizeCurrentBuff): remove code to destroy the old splash dialog.
15612 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15613 background. Use greyOut() and the new show() methods to toggle between
15614 the foreground and background. Add code to remove the splash after
15615 its initial showing.
15617 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15618 (create_forms): no longer call Dialogs::showSplash.
15620 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15622 * .cvsignore: add version_info.h
15624 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15626 * version_info.h.in: new file
15628 * Makefile.am: add version_info.h.in
15630 * lyx_main.C (commandLineVersionInfo): use version_info defined in
15631 version_info.h instead of VERSION_INFO
15633 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
15635 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15636 The ERT inset now returns string().
15638 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
15640 * lyxtext.h, text.C (selectNextWord): renamed as
15641 selectNextWordToSpellcheck.
15643 * text.C (selectNextWordToSpellcheck): Modified to not select
15644 words inside an ERT inset.
15646 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15648 * lyx_cb.C (MenuLayoutSave): change a bit the question
15650 * sp_base.h: include <sys/types.h>
15652 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
15654 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15656 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
15658 * several files: fix typos in user-visible strings
15660 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15662 * text2.C (pasteSelection): do not set the selection, since it
15663 will be cleared later. Actually, the intent was to fix the way the
15664 selection was set, but I figured rmoving the code was just as good.
15666 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
15668 * FontLoader.C (available): Check if font is available without
15671 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
15673 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15675 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
15677 * lyxrc.[Ch]: added display_graphics variable and associated code.
15679 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15681 * bufferparams.C (hasClassDefaults): new method. Returns true if
15682 the buffer parameters correspond to known class defaults
15684 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
15686 * XFormsView.C (show): set minimum size to the main window.
15688 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15690 * text2.C (copySelection):
15692 * lyxfind.C (LyXReplace):
15693 * BufferView_pimpl.C (Dispatch): pass the correct flag to
15694 LyXText::selectionAsString.
15696 * paragraph.C (asString): add "label" argument to the second form
15698 * text2.C (selectionAsString): add "label" argument and pass it to
15699 Paragraph::asString.
15701 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15703 * lyx_main.C (commandLineHelp): remove version information
15705 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
15707 * lyx_main.C: add -version commandline option
15709 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15711 * paragraph.h: make the optional constructor arg required instead.
15712 some modifications to other files because of this.
15714 * minibuffer.C (C_MiniBuffer_peek_event): make it static
15716 * lyxserver.C (C_LyXComm_callback): make it static
15718 * lyx_main.C (error_handler): make it static
15720 * lyx_gui.C (LyX_XErrHandler): make it static
15722 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15724 * WorkArea.C: make the extern "C" methods static.
15726 * Makefile.am (lyx_LDADD): simplify
15728 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15730 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15731 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15733 * LyXAction.C (init):
15734 * lyxfunc.C (dispatch): associated code removal.
15736 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15738 * lyxfont.h (isSymbolFont): shut off warning
15740 * text.C (setHeightOfRow):
15741 (getVisibleRow): fix crash with empty paragraphs which have a
15744 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
15746 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15749 2001-09-04 José Matos <jamatos@fep.up.pt>
15752 * tabular.C (docbook): rename docBook method to docbook.
15754 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15756 * Makefile.am: add dependencies to main.o.
15758 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
15760 * FontLoader.C (available): Return false if !lyxrc.use_gui
15762 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
15764 * FontInfo.C (query):
15765 * converter.C (view):
15766 * importer.C (Import):
15767 * exporter.C (Export): Can not -> cannot.
15769 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
15771 * BufferView_pimpl.C: allow to create index inset even if
15774 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15776 * buffer.C (getLists): replace boost::tie code with an explicit pair
15777 as boost::tie can break some compilers.
15779 * iterators.h: Added a std:: declaration to the return type of
15782 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
15784 * lyxrc.C: add help for view_dvi_paper_option, default to safe
15787 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
15789 * iterators.[Ch]: New files. Provide paragraph iterators.
15791 * buffer.C (changeLanguage): Use paragraph iterators.
15792 (isMultiLingual): ditto
15794 * BufferView2.C (ChangeInsets): Use paragraph iterators.
15796 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
15798 * FontLoader.C: Support for cmr font.
15800 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
15802 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15803 (available): New method.
15805 * FontInfo.C (getFontname): Use scalable fonts even when
15806 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15809 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15811 * converter.C (Formats::view): reverted! Incorrect fix.
15813 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15815 * converter.C (Formats::view): only output the -paper option
15816 if the dvi viewer is xdvi, thereby fixing bug #233429.
15818 2001-08-23 Herbert Voss <voss@perce>
15820 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15822 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
15824 * Spacing.h (Spacing): Set space to Default on in the default
15827 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
15829 * vc-backend.h (RCS::versionString): add RCS to version
15830 (CVS::versionString): add CVS to version
15832 * vc-backend.C (scanMaster): do not add CVS to version.
15833 (scanMaster): do not add RCS to version
15835 * lyxvc.C (versionString): new method
15837 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15839 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15841 * Spacing.C (set): initialize fval
15843 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
15845 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15848 2001-08-16 Juergen Vigna <jug@sad.it>
15850 * lyxfunc.C (dispatch): implemented the new FINISHED states.
15852 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15854 * BufferView_pimpl.C:
15857 * text2.C: setParagraph takes linespacing now
15859 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
15861 * LyxAction.C: add internal LFUN_CITATION_INSERT
15863 * LyXView.C: actually apply fix
15865 * bufferlist.C: fix open non-existent file
15867 * lyxfind.C: fix indentation
15869 * lyxfunc.C: remove unneeded assert, fix typo
15871 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15873 * MenuBackend.C: use "Floatname List"
15875 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
15877 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15878 when converting LaTeX layout to insetERT.
15879 Generate a non-collapsed float when reading old float
15881 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15883 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15886 2001-08-13 Juergen Vigna <jug@sad.it>
15888 * text.C (fill): return 0 instead of 20 as this seems to be the more
15891 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15893 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15896 2001-08-13 Juergen Vigna <jug@sad.it>
15898 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15900 (SearchBackward): comment out the unlocking of the inset_owner this
15901 should not be needed!
15903 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
15905 * Many files: Remove inherit_language, and add latex_language
15907 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15908 collapsible insets.
15910 2001-08-10 Juergen Vigna <jug@sad.it>
15912 * text.C (prepareToPrint): fixed hfill-width in draw!
15914 * BufferView2.C (selectLastWord): save the selection cursor as this
15915 now is cleared in the function LyXText::clearSelection!
15917 2001-08-08 Juergen Vigna <jug@sad.it>
15919 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15920 BACKSPACE type functions.
15922 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15923 is only cutted from the document but not put in the cut-buffer, where
15924 still the old stuff should be.
15926 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15928 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15930 * tabular.C (SetWidthOfCell): fixed special case where the width
15932 (LeftLine): handle '|' in align_special.
15934 (LeftAlreadyDrawed): ditto
15935 (SetWidthOfCell): ditto
15937 2001-08-07 Juergen Vigna <jug@sad.it>
15939 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15941 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15943 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15944 * lyxlex.[hC]: ditto
15946 2001-08-06 Juergen Vigna <jug@sad.it>
15948 * text.C (getVisibleRow): fix up row clearing a bit.
15950 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15952 * minibuffer.C: make sure the X server sees the changes in the input.
15954 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15956 * paragraph.C (getFont): split into...
15957 (getLabelFont): this
15958 (getLayoutFont): and this
15959 * paragraph_pimpl.C (realizeFont): calling this
15961 * text2.C (getFont): split into...
15962 (getLayoutFont): this
15963 (getLabelFont): and this
15964 (realizeFont): all three calling this
15966 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15969 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15971 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15973 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
15975 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15976 layouts from the Quote inset insertion.
15978 2001-08-03 Juergen Vigna <jug@sad.it>
15980 * BufferView_pimpl.C (update): do the fitCursor only at the end!
15982 * screen.C (drawFromTo): don't call fitcursor here and do the loop
15983 only if status not is already CHANGED_IN_DRAW (second level).
15985 * text.C (draw): don't set the need_break_row when inside an
15988 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
15990 * buffer.C (parseSingleLyXformat2Token): handle more latex
15993 * bufferview_funcs.[hC]: change function names to
15994 begin with small char, adjust other files.
15996 2001-08-02 André Pönitz <poenitz@gmx.net>
15999 BufferView_pimpl.C: remove broken special code for math-greek
16001 2001-08-02 Juergen Vigna <jug@sad.it>
16003 * BufferView_pimpl.C (update): redone this function so that we
16004 update the text again if there was a CHANGE_IN_DRAW.
16006 * screen.C (cursorToggle): removed LyXText parameter and recoded.
16007 (drawFromTo): added a new internal bool which is used by draw() and
16009 (general): some cursor drawing problems fixed.
16011 2001-08-01 Juergen Vigna <jug@sad.it>
16013 * lyxfind.C (LyXFind): fixed
16014 (SearchForward): ditto
16015 (SearchBackward): ditto
16017 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
16018 spurius drawing of the cursor in the main area.
16020 * text2.C (status): small fix which could lead to a segfault!
16021 (clearSelection): remove unneeded BufferView param.
16023 2001-08-01 André Pönitz <poenitz@gmx.net>
16025 * lyxfunc.C: small change due to changed mathed interface
16027 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16029 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
16031 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
16033 * lyxfunc.c: fail gracefully if file doesn't exist
16038 * BufferView_pimpl.C: IsDirWriteable() proto changed
16040 * LyXView.C: fix updateWindowTitle() to store the last title
16042 2001-07-31 Juergen Vigna <jug@sad.it>
16044 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
16045 the font (wrong since using of Paragraph::highestFontInRange).
16047 * paragraph.C (highestFontInRange): added a default_size parameter.
16049 * text.C (getVisibleRow): minor clear row changes (still not perfect).
16050 (setHeightOfRow): reformat
16052 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
16054 * converter.[hC] + affected files: move to (inital-char)lowercase
16057 * ParagraphParameters.C (ParagraphParameters): remove commented code
16059 * PainterBase.[Ch]: remove commented code
16061 * LaTeXFeatures.h: add "bool floats" for float.sty
16063 * LaTeXFeatures.C (LaTeXFeatures): init floats
16064 (require): handle float
16065 (getPackages): do it with floats
16067 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16069 * BufferView_pimpl.C (Dispatch): improve handling of
16070 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
16072 * commandtags.h: #include lyxfont.h here temporarily to avoid
16075 * bufferlist.h: include LString.h here.
16077 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16079 * text2.C (getStringToIndex): new method.
16081 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
16083 * *: Reduced header file dependencies all over.
16085 2001-07-30 Baruch Even <baruch@lyx.org>
16087 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
16089 2001-07-29 Baruch Even <baruch@lyx.org>
16091 * buffer.C (readInset): Changed GRAPHICS to Graphics.
16093 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16095 * ParameterStruct.h (endif): add a default constructor to make
16096 sure that all variables is initialized.
16098 * ParagraphParameters.C (ParagraphParameters): adjust
16100 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16102 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
16103 index; also, check that there is something to index, and that it
16104 does not span over several paragraphs.
16105 (doubleClick): use WHOLE_WORD_STRICT for double click.
16107 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
16109 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
16112 2001-07-26 Baruch Even <baruch@lyx.org>
16114 * buffer.C (readInset): Changed to call up InsetGraphics when reading
16115 an InsetFig figure, backwards compatible reading of old figure code.
16117 2001-07-27 Juergen Vigna <jug@sad.it>
16119 * text2.C: font.realize function adaption.
16121 * text.C (draw): add a warnings lyxerr text if needed.
16123 * layout.C: font.realize function adaption.
16125 * language.C: add inherit_language and implement it's handlings
16127 * bufferview_funcs.C (StyleReset): remove language parameter from
16128 font creation (should be language_inherit now).
16130 * bufferparams.C (writeFile): handle ignore_language.
16132 * paragraph.C (getFontSettings): the language has to be resolved
16133 otherwise we have problems in LyXFont!
16135 * lyxfont.C (lyxWriteChanges): added document_language parameter
16136 (update): removed unneeded language parameter
16138 * paragraph.C (validate): fixed wrong output of color-package when
16139 using interface colors for certain fonts in certain environments,
16140 which should not seen as that on the final output.
16142 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
16144 * BufferView_pimpl.C:
16149 * LyXAction.C: add thesaurus support
16152 * lyxfind.C: add "once" parameter, for thesaurus, to not
16153 move to the next match
16155 2001-07-26 Juergen Vigna <jug@sad.it>
16157 * lyxfont.C (realize): honor ignore_language too!
16160 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
16162 * text.C (draw): one place more for ignore_language to not draw
16165 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
16167 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
16169 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16171 * buffer.C (parseSingleLyXformat2Token): a more general fix for
16172 the minipage conversion problem.
16174 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16176 * buffer.C (parseSingleLyXformat2Token): check minipage if we
16179 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16181 * BufferView.h: don't forward declare WorkArea
16183 * BufferView.C: don't include WorkArea.h
16185 2001-07-25 André Pönitz <poenitz@gmx.net>
16189 * lyxfunc.C: new LFUN 'math-space'
16191 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
16193 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16195 * text2.C (toggleInset): call open/close
16197 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16199 * lyxfunc.C (dispatch): add debug for the disabled case
16201 * font.C (buttonText): make similar to rectText
16203 * buffer.C (readInset): comment out parsing of insetlist and
16206 * PainterBase.C (rectText): small correction
16208 * BufferView_pimpl.C: comment out insettheorem and insetlist
16209 * LyXAction.C: ditto
16210 * commandtags.h: ditto
16212 2001-07-24 Juergen Vigna <jug@sad.it>
16214 * text.C (draw): honor the ignore_language.
16216 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
16218 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16220 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
16223 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16225 * lyxtext.h: remove unused (and unimplemented) methods
16227 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16229 * text.C (getVisibleRow): honor background color
16232 * Painter.h: remove default color argument for fillRectangle
16234 * text.C (backgroundColor): new method
16236 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16238 * text.C (getVisibleRow): adjust
16240 * font.[Ch] (rectText): new method, metrics
16241 (buttonText): new method, metrics
16243 * PainterBase.[hC]: make rectText and buttonText always draw and take
16246 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16248 * ToolbarDefaults.C (read):
16249 * MenuBackend.C (read): allow escaping in all strings
16251 * BufferView_pimpl.C (insertAndEditInset): new method.
16252 (Dispatch): use insertAndEditInset whenever appropriate.
16254 * BufferView_pimpl.C (insertNote): removed
16256 * BufferView_pimpl.C (smartQuote): new method, moved from
16257 BufferView; if an insetquote cannot be inserted, insert a '"'
16260 * BufferView2.C: remove insertCorrectQuote();
16262 * lyxfunc.C (getStatus): Add support for all remaingin
16263 inset-insert lfuns.
16265 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
16267 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
16268 command (necessary to pass " as parameter of self-insert.
16270 * text.C (selectWordWhenUnderCursor):
16271 (selectWord): add word_location parameter
16272 (selectWordWhenUnderCursor): same + remove special code for word
16274 (selectNextWord): use kind() to guess type of insetspecialchar,
16277 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
16278 (insertErtContents): create ert insets as collapsed.
16279 (readInset): better compatibility code for Info inset.
16281 2001-07-20 Juergen Vigna <jug@sad.it>
16283 * lyxfunc.C (dispatch): use always LyXFind now!
16285 * text2.C (init): add a reinit flag so that the LyXText can be
16286 reinited instead of deleted and reallocated (used in InsetText).
16288 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
16294 2001-07-18 Juergen Vigna <jug@sad.it>
16296 * text.C (selectNextWord): handle insets inside inset by calling
16297 always the bv->text functions so that we can go up the_locking_inset!
16299 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
16300 in strange locations when inside an inset!
16302 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
16303 handling to include insets.
16305 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
16307 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16309 * LyXAction.C (init):
16311 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
16312 LIGATURE_BREAK, since the name is so stupid.
16314 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
16316 * buffer.C (readInset): enable reading of new InsetNotes as well as old
16319 * FontLoader.C: remove FORMS_H_LOCATION cruft.
16321 * sp_form.[Ch]: remove.
16323 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
16325 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
16328 * src/buffer.C (readInset): ditto.
16330 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16332 * BufferView_pimpl.C (specialChar): new method. Obsoletes
16333 menuSeparator(), endOfSentenceDot(), ldots() and
16334 hyphenationPoint(), which are therefore removed.
16335 (Dispatch): handle LFUN_HYPHENATION_BREAK.
16337 * LyXAction.C (init):
16338 * commandtags.h: add LFUN_HYPHENATION_BREAK.
16340 * paragraph.C (getWord): removed.
16342 * BufferView_pimpl.C (Dispatch): use last word or selection for
16343 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
16345 * lyx_main.C (queryUserLyXDir): do not ask before creating
16346 user_dir, except if it has been named explicitely.
16348 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
16350 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
16351 a document of zero size.
16353 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
16355 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
16356 approriately in the c-tor and in require().
16357 (getPackages): output the appropriate LaTeX for natbib support.
16359 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
16360 variables "use_natbib" and "use_numerical_citations" when reading the
16362 (readInset): read the various natbib cite commands.
16363 (validate): white-space change.
16365 * bufferparams.[Ch]: new variables "bool use_natbib" and
16366 "bool use_numerical_citations".
16367 (writeFile): output them in the LyX file.
16369 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16371 * lyxfunc.C (getStatus): add support for all the inset insertion
16374 * text2.C (insertInset):
16375 * paragraph.C (insetAllowed):
16376 * BufferView_pimpl.C (insertInset): update to take in account the
16377 renaming of insertInsetAllowed
16379 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
16381 * text2.C (getInset): new method. returns inset at cursor position.
16383 * BufferView_pimpl.C (Dispatch): changes because of this.
16385 * LyXAction.C (init): rename open-stuff to inset-toggle.
16387 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
16389 * text2.C (toggleInset): renamed from openStuff; use
16392 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
16394 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
16396 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
16398 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
16400 * buffer.C (readLyXformat2): Add filename to the error dialog
16402 2001-07-18 Juergen Vigna <jug@sad.it>
16404 * tabular.C (GetCellNumber): put an assert here instead of the check!
16406 2001-07-17 Juergen Vigna <jug@sad.it>
16408 * BufferView_pimpl.C (toggleSelection): adapted too.
16410 * text.C (selectNextWord): adapted for use with insets.
16411 (selectSelectedWord): ditto
16413 2001-07-17 Juergen Vigna <jug@sad.it>
16415 * sp_spell.C (PSpell): fix initialitation order.
16417 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16419 * paragraph.C: spacing
16421 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
16423 * sp_spell.C: repair language selection for pspell
16425 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
16427 * lyxfunc.h: change more methods to begin with lower char.
16429 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
16431 * buffer.C (parseSingleLyXformat2Token): Generate error insets
16432 for unknown layouts.
16434 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
16436 * buffer.C (readLyXformat2): Generate an error dialog if there are
16439 2001-07-16 Juergen Vigna <jug@sad.it>
16441 * sp_spell.C: always compile ISpell part.
16443 * lyxrc.C: added use_pspell entry and it's handling.
16445 2001-07-13 Juergen Vigna <jug@sad.it>
16447 * sp_spell.C: removed double includes.
16449 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
16451 Consistent use of Lsstream.h:
16452 * Lsstream.h: added using std::stringstream for consistencies sake.
16454 * buffer.C: removed using std::stringstream
16456 * lyxfont.C (stateText):
16457 * paragraph.C (asString):
16458 * text.C (selectNextWord, selectSelectedWord):
16459 * text2.C (setCounter):
16460 * vspace.C (asString, asLatexString):
16461 std::ostringstream -> ostringstream.
16463 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
16465 * LyXAction.C: add LFUN_HELP_ABOUTLYX
16466 * commandtags.h: add LFUN_HELP_ABOUTLYX
16467 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
16469 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
16471 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
16473 * lyx_gui_misc.C: remove spellchecker
16474 * lyxfunc.C: showSpellchecker
16476 * sp_ispell.h: added
16477 * sp_pspell.h: added
16478 * sp_spell.C: added
16479 * sp_form.[Ch]: removed
16480 * spellchecker.[Ch]: removed
16482 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
16484 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
16486 (simpleTeXSpecialChars): Simply print the input character without
16487 any special translation if pass_thru is set.
16489 * layout.h: Added bool pass_thru to layout class for being able to
16490 implement pass through of a paragraph for Literate Programming.
16492 * layout.C: add LT_PASS_THRU to LayoutTags enum.
16493 * layout.C (LyXLayout): set pass_thru to flase in constructor.
16494 * layout.C (Read): add "passthru" to list of layout tags and add
16495 code to set the pass_thru boolean when it is read.
16497 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
16499 * trans_decl.h: remove allowed from KmodInfo
16501 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
16502 remove allowed code
16505 * paragraph_pimpl.C (erase): use boost::prior
16507 * Painter.C (text): use data() instead of c_str() when length is
16509 * WorkArea.C (putClipboard): ditto
16510 * font.h (width): ditto
16512 * BufferView2.C: use it-> instead of (*it). for iterators
16514 * paragraph_pimpl.C: ditto
16515 * paragraph.C: ditto
16516 * minibuffer.C: ditto
16517 * language.C: ditto
16519 * encoding.C: ditto
16520 * counters.C: ditto
16521 * converter.C: ditto
16523 * Variables.C: ditto
16524 * TextCache.C: ditto
16525 * MenuBackend.C: ditto
16526 * LyXAction.C: ditto
16528 * FloatList.C: ditto
16529 * DepTable.C: ditto
16530 * ColorHandler.C (LyXColorHandler): ditto
16532 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16534 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16536 * text2.C (openStuff): reintroduce this method (which had been
16537 nuked in NEW_INSETS frenzy).
16539 * lyxfunc.C (Dispatch): when an action has not been handled, use
16540 its name in the error message, not its number.
16542 * paragraph.C (inInset): change method name to begin with lowercase.
16545 * text2.C: updates because of this.
16547 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16549 * ToolbarDefaults.C (add): add spaces in error message
16551 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
16553 * buffer.C (readLyXformat2): initialize the ert comp. variables.
16554 (readLyXformat2): rename return_par to first_par, use lyxlex's
16555 pushToken and remove the manual push handling.
16556 (parseSingleLyXformat2Token): add another ert comp. variable:
16557 in_tabular, rename return_par to first_par. handle newlines better
16559 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16561 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16563 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
16565 * text2.C (getParFromID): removed
16567 * buffer.C (getParFromID): new method moved form lyxtext.
16568 * BufferView2.C (insertErrors): adjust
16569 (setCursorFromRow): adjust
16570 * BufferView_pimpl.C (restorePosition): adjust
16571 * lyxfunc.C (Dispatch): adjust
16572 * undo_funcs.C (textUndo): adjust
16574 (textHandleUndo): adjust
16575 (textHandleUndo): adjust
16577 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
16579 * buffer.C: up' the LYX_FORMAT
16581 * lyxfont.h: turn NO_LATEX on as default
16583 * buffer.C (insertErtContents): new methods of tex style compability.
16584 (parseSingleLyXformat2Token): use it several places.
16585 * tabular.C (OldFormatRead): and here
16587 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
16589 * text2.C: remove some commented code.
16592 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16593 * trans.C: changes because of the above.
16595 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
16597 * text2.C (setCounter): Fix counters bug with bibliography layout.
16599 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16601 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16602 own member functions
16603 (simpleTeXSpecialChars): ditto
16605 2001-07-06 Juergen Vigna <jug@sad.it>
16607 * a lot of files: changed the access to LyXText::status and the
16608 call of undo-functions.
16610 * undo.[Ch]: added a inset_id to the undo informations.
16612 * undo_funcs.[Ch]: added and moved here all undo functions.
16614 * lyxtext.h: give the status enum a weight, made status_ a private
16615 variable and made accessor functions for it, removed the whole bunch
16616 of undo-functions as they are now in their own file, make some
16617 functions publically available. Added function ownerParagraph with
16620 * paragraph.[Ch]: added "bool same_ids" to the constructor,
16621 made InInset() a const function, added getParFromID() function.
16623 * buffer.[Ch]: added const version for inset_iterator functions,
16624 added getInsetFromID() function.
16626 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16627 changed undo functions for new version.
16629 2001-07-05 Juergen Vigna <jug@sad.it>
16631 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16632 unknow mechanism does not call the proper constructor but only this
16633 one also if I request the other!?
16635 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16637 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16639 * text2.C (LyXText): use initialization lists.
16641 * lyxtext.h (Selection): initialize set_ and mark_
16642 (init): remove method
16644 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
16646 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16648 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16650 * screen.[Ch]: change method names to begin with lowercase
16652 * BufferView_pimpl.C (updateScrollbar): simplify further and
16653 hopefully make it a bit faster.
16655 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16657 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16658 calling directly xforms functions.
16660 * Painter.C (Painter):
16661 * lyx_cb.C (MenuWrite):
16662 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16665 * lyx_gui.C: remove bogus guiruntime extern declaration.
16667 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16669 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16671 (redoDrawingOfParagraph): ditto
16672 (redoParagraphs): ditto
16673 (cutSelection): don't create a object for CutAndPaste use the
16674 static method directly
16675 (pasteSelection): ditto
16677 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16680 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16682 * modifications to some other files because of this.
16684 * Makefile.am (lyx_SOURCES): add XFormsView
16686 * XFormsView.[Ch]: new files
16688 * LyXView.[Ch]: make LyXView a base class for the gui handling for
16689 the main window. Move the gui dependent stuff to XFormsView
16691 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16693 * tabular.C (GetCellInset): update cur_cell also in the row/col
16694 version of this function.
16696 * lyxfunc.C: no need to include figure_form.h here.
16702 * lyxvc.C: no need to include forms.h here.
16704 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16706 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16708 * lyxfunc.C (Dispatch):
16710 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16711 constructor argument.
16713 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16715 * paragraph.C (Paragraph): dont't clear, and just set layout.
16716 (makeSameLayout): use params's copy contructor.
16718 * ParagraphParameters.[Ch] (makeSame): delete method
16720 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
16722 * Variables.[Ch]: fix indentation, rename set to isSet
16724 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16726 * lyxfunc.C (Dispatch): fix typo
16728 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16730 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16733 * bufferlist.C: include assert.h for emergencyWrite().
16735 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16737 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16738 give up at last (bug #425202) !
16740 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
16746 * spellchecker.C: strip spellchecker options and bring up
16747 preferences tab instead
16749 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16751 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16752 the istringstream constructor
16754 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16756 * paragraph.C (getLayout): fix return value
16758 * paragraph.h: do not declare getLayout as inline.
16760 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16762 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16764 * lyxcursor.h (operator<): new func
16765 (operator>): new func
16766 (operator>=): new func
16767 (operator<=): new func
16769 * text.C (changeCase): use selection.start and selection.end
16770 (changeRegionCase): require from to be <= to. Require par to be a
16773 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16775 2001-06-27 Juergen Vigna <jug@sad.it>
16777 * text.C (cursorLeftOneWord): changed to return the cursor and added
16778 overlay with BufferView * parameter which calls this one.
16780 (selectWord): use new getWord function.
16781 (changeCase): renamed from changeWordCase as and extended to work
16782 also on selections.
16784 * lyxtext.h: added enum word_location
16786 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16787 changeCase as this operates now also on selections.
16789 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
16791 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16793 * many files: send debug output to Debug::INFO instead of
16796 * converter.C (View):
16798 (Move): send debug output to Debug::FILES instead of console.
16800 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
16802 * lyxfunc.C (getStatus): use func_status
16804 * func_status.h: new header, describing the results of
16805 LyXFunc::getStatus;
16807 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16810 2001-06-25 The LyX Project <jug@sad.it>
16812 * buffer.C (sgmlOpenTag):
16814 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
16816 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16818 * text2.C: remove some dead code
16820 * tabular.C (GetCellInset): store the last cell checked (gotten)
16822 * tabular.h: add the helper for the speedup
16824 * lyxtext.h: remove some dead code
16826 2001-06-26 The LyX Project <Asger>
16828 * paragraph.C: Change export to LaTeX of alignment to
16829 \begin{center} and family for better roundtrip work with reLyX.
16831 * Tune the math drawing a bit.
16833 2001-06-25 The LyX Project <Asger>
16835 * LColor.C (LColor): New color for math background. New color
16838 2001-06-25 The LyX Project <jug@sad.it>
16840 * lyxfunc.C (MenuNew): remove extra check for .lyx file
16842 * lyxfunc.C (Open):
16843 * bufferlist.C (newFile): do not restrict to files ending with
16846 * BufferView_pimpl.C (MenuInsertLyXFile):
16848 2001-06-24 The LyX Project <jug@sad.it>
16850 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16853 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16855 * lyxtext.h: rename most methods to begin with a small char.
16856 Lots of changes because of this.
16858 * paragraph.C (Paragraph): do not call fitToSize
16859 (erase): call Pimpl::erase
16860 (insertChar): call Pimpl::insertChar
16861 (insertInset): call Pipl::insertInset
16862 (breakParagraph): do not call fitToSize
16863 (breakParagraphConservative): do not call fitToSize
16864 (fitToSize): remove method
16866 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16868 2001-06-24 The LyX Project <Asger>
16870 * Fix Qt compilation^2
16872 2001-06-24 The LyX Project <jug@sad.it>
16874 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16875 depthHook(getDepth()-1).
16878 * ParagraphParameters.h:
16879 * ParameterStruct.h: change type of depth to unsigned int ==
16880 depth_type. Many adaptations to other files before of that.
16882 2001-06-24 The LyX Project <Asger>
16884 * Fix Qt compilation.
16886 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16888 * paragraph.h: renamed several methods to begin with small letter.
16889 several changes to many parts of the code because of this.
16891 2001-06-23 The LyX Project <jug@sad.it>
16893 * text2.C (InsertStringAsLines): renamed from InsertStringA;
16894 rewritten to discard all double spaces when KeepEmpty is off
16895 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16896 to only handle newlines but not fiddle with spaces and friends.
16898 * lyxfunc.C (MenuNew): when doing 'new from template', use
16899 template_path as default directory
16901 2001-06-23 The LyX Project <Asger>
16903 * Clean-up of header file includes all over
16904 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16906 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16908 * paragraph.h: renamed from lyxparagraph.h
16910 2001-06-23 Asger <lyx@violet.home.sad.it>
16912 * Buffer.h: Removed Buffer::resize
16913 * BufferList.h: Removed BufferList::resize
16914 * LyXView.h: Added LyXView::resize. This way, we will only reflow
16915 the document lazily when we change the width, or the font settings.
16917 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16919 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16921 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16923 * buffer.h: remove out of date comment
16925 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16928 * screen.C: fix "theoretical" GC leak
16930 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16932 * LaTeX.C (scanAuxFile):
16933 (deplog): remove trailing \r when reading stream (useful under
16936 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
16938 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16939 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16940 and BufferView::theLockingInset(Inset*), so should use them and not
16941 access bv_->text->the_locking_inset directly.
16943 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16945 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16948 * tex-defs.h: remove old unused file
16950 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
16952 * BufferView_pimpl.C: fix typo, remove minibuffer message
16953 when buffer has loaded
16955 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
16957 * lyxfunc.C (Dispatch): use stringstream
16958 (MenuNew): use stringstream
16959 (Open): use stringstream
16961 * importer.C (Import): use stringstream
16963 * bufferview_funcs.C (CurrentState): use stringstream
16965 * LaTeX.C (run): use stringstream
16967 * BufferView_pimpl.C (savePosition): use stringstream
16968 (restorePosition): use stringstream
16969 (MenuInsertLyXFile): use stringstream
16971 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
16984 * vspace.C: removed // -*- C++ -*- as first line.
16987 * version.h: added // -*- C++ -*- as first line.
16989 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16991 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16993 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16996 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
16998 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
17001 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17003 * gettext.C: include LString.h even when --disable-nls is on.
17005 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
17007 * converter.h (Get): changed argument type from int to
17008 FormatList::size_type to avoid unnecessary conversion.
17010 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
17013 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17015 * gettext.h: include LString.h even when --disable-nls is on.
17017 2001-06-07 Juergen Vigna <jug@sad.it>
17019 * text.C (BreakAgain): subst spaces with tabs.
17021 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
17022 (resizeInsetsLyXText): set force on resizeLyXText.
17024 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17026 * gettext.h (gettext_init):
17027 (locale_init): use a real definition instead of a macro
17029 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
17031 * Bufferview_pimpl.C:
17033 * LColor.C: further lcolor tidies
17035 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
17037 * BufferView_pimpl.C (updateScrollbar): simplify.
17039 * BufferView2.C: don't include insets/insetinfo.h, change
17040 prototype for insertInset and call the Pimpl version. let
17041 updateInset call Pimpl version.
17043 * BufferView.h: move inset_slept to BufferView::Pimpl, move
17044 gotoInset to BufferView::Pimpl
17046 2001-06-01 Juergen Vigna <jug@sad.it>
17048 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
17049 inside a LockingInset (is the update needed at all?).
17051 2001-05-31 Juergen Vigna <jug@sad.it>
17053 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
17054 here not the old one otherwise how should we compare it afterwards
17057 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17062 * FontInfo.C: bring C functions into global namespace when
17065 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17067 * LString.h: make sure config.h has been loaded before LString.h.
17069 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
17070 (one for each char read by EatLine!).
17072 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
17075 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
17077 * paragraph.C (BreakParagraph): set the inset_owner in the new par
17078 to the same as the par we break from
17080 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
17082 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
17084 * MenuBackend.C (expand): also create menu entries for wide
17085 versions of the floats.
17087 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
17089 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
17091 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
17092 frontends/Makefile.am
17098 * tabular.C (getTokenValue): add std::
17100 * tabular-old.C (getTokenValue): add std::
17101 (getTokenValue): ditto
17102 (getTokenValue): ditto
17104 * screen.C (ToggleSelection): adjust
17106 * lyxtext.h: put selection cursors inside a Selection struct.
17108 * lyxfunc.C (moveCursorUpdate): adjust
17110 * lyxfont.C (latexWriteStartChanges): add std::
17112 * lyxfind.C: adjust
17114 * font.h: delete with(char const *, LyXFont const &)
17116 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
17118 * FontInfo.C (getFontname): add std::
17120 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
17121 (workAreaButtonPress): adjust
17122 (tripleClick): adjust
17124 (moveCursorUpdate): adjust
17127 * BufferView2.C (gotoInset): adjust
17129 2001-05-30 Juergen Vigna <jug@sad.it>
17131 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
17132 to check pspell I add this as default as I now have new pspell
17133 libraries and they seem to use this.
17135 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
17137 * text2.C (CutSelection): make the cursor valid before the call to
17140 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17142 * kbsequence.C (parse): de-uglify a bit the parsing code, which
17143 relied on 0 terminated strings and other horrors. Bug found due to
17144 the new assert in lyxstring!
17146 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
17149 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
17151 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
17154 * lyxfunc.C (processKeySym): change method of getting to the
17157 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
17158 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
17159 * BufferView_pimpl.[Ch]: here as private methods.
17161 2001-05-28 Juergen Vigna <jug@sad.it>
17163 * text.C (SetHeightOfRow): added the update() call again as it is
17164 needed to initialize inset dimensions!
17166 2001-05-16 Juergen Vigna <jug@sad.it>
17168 * text2.C (SetCharFont): Add new function with BufferView * and
17169 bool toggleall parameters for setting insets internal fonts.
17170 (SetFont): Freeze the undo as we may change fonts in Insets and
17171 all this change should be inside only one Undo!
17173 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
17174 setting font's in insets as for them we have the SetFont function!
17176 2001-05-15 Juergen Vigna <jug@sad.it>
17178 * text2.C (ClearSelection): to be sure we REALLY don't have any
17181 * tabular.C (TeXCellPreamble): fixed the left border problem for
17184 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
17186 * LaTeX.C (deplog): Make sure that the main .tex file is in the
17189 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
17191 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
17192 LFUN_BREAKPARAGRAPH.
17194 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
17195 help test to "internal only", similar for LFUN_INSERT_URL
17197 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
17198 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
17199 auto_region_delete and deadkeys.
17201 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
17204 * LColor.C: remove some dead entries, tidy a little
17206 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
17208 * lyxfunc.C (processKeySym): comment the Escape handling, remove
17210 (Dispatch): implement LFUN_ESCAPE
17212 * commandtags.h: add LFUN_ESCAPE
17214 * LyXAction.C (init): add entry for LFUN_ESCAPE
17216 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
17217 Remove commented code.
17218 (insertNote): moved here
17219 (open_new_inset): moved here
17221 * BufferView[2].[Ch]: move insertNote and open_new_inset to
17224 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17226 * kbmap.C (findbinding): clean it up and make it work correctly.
17228 * lyx_main.C (init): do not pass argc and argv as parameters
17230 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
17232 * buffer.C: fix path for OS/2 & Win32
17236 * lyx_main.C: Added os:: class.
17238 * os2_defines.h: update
17240 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
17242 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
17243 better by trying again with reduced state.
17245 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17247 * lyxrc.C (read): print error about invalid key sequence only when
17248 debugging (because not all latinX keysyms are known to some X
17251 * kbsequence.C (getiso): add a few std:: qualifiers
17252 (getiso): comment out extra return statement.
17254 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
17256 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
17258 (Dispatch): enhance the accent inset a bit. (not perfect)
17260 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
17262 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
17264 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17266 * bufferlist.C (emergencyWrite): fix assert() call
17268 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
17270 * text.C (InsertChar): Added trivial patch to only send the "you
17271 can not do multiple spaces this way" message once during a
17274 2001-05-08 Baruch Even <baruch@lyx.org>
17276 * Makefile.am: Changed order of libraries to get LyX to link properly
17277 with the gnome frontend.
17279 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17281 * LaTeXFeatures.h: add a std:: qualifier
17283 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
17285 * paragraph.C (String): use stringstream
17287 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
17289 * paragraph.C (writeFile): remove footflag arg
17291 * buffer.C (makeLaTeXFile): use stringstream
17292 (latexParagraphs): remove footnot gurba
17294 * LaTeXFeatures.C (getPackages): use stringstream
17295 (getMacros): likewise
17296 (getTClassPreamble): likewise
17297 (getFloatDefinitions): new method
17299 * paragraph.C (writeFile): reindent
17302 * WorkArea.h: revert the xpos + etc changes.
17304 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
17306 * lyxparagraph.[Ch]: add copy constructor, remove Clone
17308 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
17309 (pasteSelection): likewise
17310 * text2.C (CreateUndo): likewise
17312 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
17314 * minibuffer.C (peek_event): temporarily reduce the functionality
17315 of the minibuffer (to allow args on lfuns)
17317 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
17318 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
17320 * buffer.C (readInset): add compability reading of old float
17321 lists, add reading of new style float list.
17322 (readInset): avoid reevaluation of inscmd.getCmdName()
17323 (getLists): reindent
17325 * MenuBackend.C (MenuItem): implement parsing of
17326 md_floatlistinsert and md_floatinsert.
17327 (expand::LastFiles): move initalizaton of iterators out of loop,
17328 avoid reevaluation.
17329 (expand::Documents): introduce typdedef vector<string> Strings,
17331 (expand::ExportFormats): introduce typedef vector<Format const *>
17332 Formats, and use it.
17333 (expand): implement FloatListInsert and FloatInsert.
17335 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
17336 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
17337 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
17339 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
17341 (Dispatch::LFUN_FLOAT_LIST): implement
17343 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
17345 * LaTeX.C (run): Fix problem with --export code.
17347 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
17349 * BufferView.[Ch] (workarea): removed.
17350 (getClipboard) new method; wrapper for workarea()->getClipboard()
17352 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
17355 * WorkArea.h (width, height, xpos, ypos): These methods all
17356 returned the dimensions of the work_area sub-area of WorkArea,
17357 resulting in a position error if the WorkArea were resized. Now
17358 return the dimensions of the entire WorkArea.
17360 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
17362 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17364 * LaTeX.C (deplog): correct the syntax of regex reg1
17366 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
17368 * undo.C: remove !NEW_INSETS cruft
17370 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
17372 * text2.C: remove !NEW_INSETS cruft
17374 * text.C: remove !NEW_INSETS cruft
17376 * tabular.C: remove !NEW_INSETS cruft
17378 * spellchecker.C: remove !NEW_INSETS cruft
17380 * lyxtext.h: remove !NEW_INSETS cruft
17382 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
17384 * lyxfunc.C: remove !NEW_INSETS cruft
17386 * lyxfind.C: remove !NEW_INSETS cruft
17388 * lyx_cb.C: remove !NEW_INSETS cruft
17390 * figureForm.C: remove !NEW_INSETS cruft
17392 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
17394 * buffer.[Ch]: remove !NEW_INSETS cruft
17396 * ToolbarDefaults.C: remove !NEW_INSETS cruft
17398 * CutAndPaste.C: remove !NEW_INSETS cruft
17400 * BufferView_pimpl.C: remove !NEW_INSETS cruft
17402 * BufferView2.C: remove !NEW_INSETS cruft
17404 * BufferView.h: remove !NEW_INSETS cruft
17406 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17408 * Lsstream.h: include LString.h before the sstream headers to
17409 fix problem with gcc 2.95.3 and lyxstring
17411 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17413 * lyx_main.C: add using directives when needed for C functions
17414 declared in std:: namespace.
17416 2001-04-27 Juergen Vigna <jug@sad.it>
17418 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
17419 (SetHeightOfRow): comment out the update call should not be needed!
17421 2001-04-13 Juergen Vigna <jug@sad.it>
17423 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
17424 (LyXTabular): tried to minimize operator= operations (and realized
17425 hopfully Lars wish).
17427 2001-04-27 Juergen Vigna <jug@sad.it>
17429 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
17431 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
17433 * lyxfunc.C (Dispatch): hack to make listof algorithm work
17435 * buffer.C (readInset): hack to make listof algorithm work
17437 * BufferView_pimpl.C: hack to make listof algorithm work
17439 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
17441 * LyXAction.C: removed all !NEW_INSETS cruft
17442 (init): moved lfun_item in method
17444 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
17446 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
17448 * BufferView2.C (theLockingInset): white space.
17450 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
17452 * minibuffer.C: include <iostream>
17454 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
17456 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
17458 * commandtags.h: add LFUN_TRANSPOSE_CHARS
17460 * text.[Ch] (TransposeChars): new method
17462 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
17464 * call message directly through LyXView instead of through LyXFunc
17465 * BufferView2.C: adjust
17466 * BufferView_pimpl.C: adjust
17467 * FontLoader.C: adjust
17469 * bufferview_funcs.C: adjust
17470 * converter.C: adjust
17471 * figureForm.C: adjust
17472 * importer.C: adjust
17474 * lyx_gui_misc.C: adjust
17475 * lyxfunc.C: adjust
17478 + more files in subdirs
17480 * lyxparagraph.h (size): move up int file
17483 * adjust all uses of Assert to lyx::Assert.
17485 * BufferView2.C (ChangeCitationsIfUnique): adjust for
17486 lyxfunctional in namespace lyx
17487 * layout.C (hasLayout): ditto
17490 (delete_layout): ditto
17491 (NumberOfClass): ditto
17492 * converter.C (GetFormat): ditto
17497 * bufferlist.C (getFileNames): ditto
17498 (emergencyWriteAll): ditto
17501 * MenuBackend.C (hasSubmenu): ditto
17504 * BufferView_pimpl.C (getInsetByCode): ditto
17506 2001-04-18 Juergen Vigna <jug@sad.it>
17508 * vspace.C (asLatexString): fixed the 100% problem.
17510 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17512 * lyxfunc.C (Dispatch):
17514 * minibuffer.h: add a few std:: qualifiers
17516 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
17518 * minibuffer.[Ch]: reimplement so that commands is initiated and
17519 run from lyxfunc, simplified som handling, and made the completion
17520 and history code for complete. wip.
17522 * lyxfunc.C (processKeySym): call message
17523 (miniDispatch): new temporary method
17524 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
17525 (LFUN_MESSAGE): implement
17526 (LFUN_MESSAGE_PUSH): implement
17527 (LFUN_MESSAGE_POP): implement
17528 (initMiniBuffer): the initial/defualt minibuffer message.
17530 * lyxfont.[Ch]: inline some more getters
17532 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17534 * lyx_gui_misc.[Ch] (WriteStatus): remove method
17536 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17537 (AutoSave): use LFUN_MESSAGE
17538 (Reconfigure): ditto
17540 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17542 * figureForm.C: use LFUN_MESSAGE
17544 * converter.C (runLaTeX): use LFUN_MESSAGE
17546 * bufferview_funcs.C: use LFUN_MESSAGE
17548 (changeDepth): ditto
17550 * bufferparams.h: use boost::
17552 * bufferlist.h: inherit privately from noncopyable
17554 * bufferlist.C (loadLyXFile): remove some commented code.
17556 * buffer.C (runChktex): use LFUN_MESSAGE
17558 * ShareContainer.h: inherit privately from noncopyable
17560 * ParagraphParameters.[hC] (depth): inline it.
17562 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17564 (message): new method
17565 (messagePush): ditto
17566 (messagePop): ditto
17567 (show): init minibuffer
17568 (showState): direct call
17570 * LaTeX.[Ch]: inherit privately from noncopyable
17571 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17572 instead of WriteStatus.
17574 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17576 * BufferView_pimpl.C (buffer): don't init minibuffer
17577 (workAreaButtonPress): use LFUN_MESSAGE
17578 (workAreaButtonRelease): ditto
17579 (savePosition): ditto
17580 (restorePosition): ditto
17581 (MenuInsertLyXFile): ditto
17582 (workAreaExpose): don't init minibuffer
17583 (update): remove commented code, simplify
17585 * BufferView2.C (openStuff): use LFUN_MESSAGE
17586 (toggleFloat): ditto
17589 (copyEnvironment): ditto
17590 (pasteEnvironment): ditto
17595 (updateInset): remove some commented code
17597 * lastfiles.h: inherit privately from noncopyable
17600 * lyx_main.h: ditto
17602 * lyxlex_pimpl.h: ditto
17604 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17605 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17606 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17608 * LyXAction.h: inherit privately from noncopyable, add methods
17609 func_begin, func_end, returning iterators to the func map.
17611 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17612 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17613 (func_begin): new method
17614 (func_end): new method
17616 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17618 (copySelection): ditto
17619 (pasteSelection): ditto
17621 * BufferView.C: whitespace change
17622 * BufferView.h: inherit privately from noncopyable
17624 2001-04-16 Allan Rae <rae@lyx.org>
17626 * tabular-old.C (l_getline):
17627 * spellchecker.C (sc_check_word):
17628 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17629 an unrecognised preprocessor directive. So ensure they're wrapped.
17631 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
17633 * src/exporter.C (Export): Give an error message when path to file
17636 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
17638 * LaTeX.C (deplog): Always check that foundfile exists.
17640 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17643 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17645 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
17647 * tabular.[Ch] (getLabelList): implement new method
17649 * minibuffer.h: comment ouf setTiimer
17651 * minibuffer.C (ExecutingCB): constify res
17652 (peek_event): constify s
17653 (Set): constify ntext
17654 (Init): constify nicename
17656 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17658 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17659 (savePosition): use two params to Minibuffer::Set
17660 (restorePosition): ditto
17662 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17664 * lyx_main.C: include language.h
17666 * Makefile.am (lyx_main.o): add language.h
17668 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17674 * CutAndPaste.C: include gettext.h
17676 * lyxfont.h: remove old hack with ON and OFF.
17679 * lyxfont.h: do not include language.h...
17684 * bufferview_funcs.C:
17690 * paragraph.C: ... but do it here instead
17692 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
17694 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17696 * tabular.C: small reformat
17698 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17701 (BreakParagraph): ditto
17702 (SetOnlyLayout): ditto
17705 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17708 * lastfiles.C: removed most using decl, add std:: where needed
17710 * buffer.C: ws changes
17712 * MenuBackend.C (class compare_format): put into anon namespace
17713 (expand): constify label, names, action, action2
17716 * text.C (SingleWidth): constify font
17717 (IsBoundary): constify rtl2
17718 (GetVisibleRow): constify ww
17720 * LaTeX.C (deplog): constify logfile
17722 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17724 (workAreaExpose): constify widthChange, heightChange
17726 * lyxrow.C (par): moved
17729 * lyxrow.h: as inlines here
17731 * lyxfont.h (shape): moved from lyxfont.C
17732 (emph): moved from lyxfont.C
17734 * lyxfont.C (LyXFont): use initialization list for all
17736 (shape): move to lyxfont.h as inline
17737 (emph): move to lyxfont.h as inline
17740 2001-04-04 Juergen Vigna <jug@sad.it>
17742 * vspace.C: had to include stdio.h for use of sscanf
17744 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
17747 * BufferView_pimpl.h: remove xforms cruft. Both classes are
17748 independent of xforms.
17750 2001-04-02 Juergen Vigna <jug@sad.it>
17752 * spellchecker.C: fixed namespace placing!
17754 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
17756 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17757 the LyXParagraph * is 0.
17759 2001-03-29 Juergen Vigna <jug@sad.it>
17761 * vspace.C: added support for %, c%, p%, l%.
17762 (stringFromUnit): added helper function.
17763 (asLatexString): changed to give right results for the %-values.
17765 * buffer.C: convert the widthp in a width%.
17767 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
17769 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17772 * figureForm.[Ch]: stripped the FD_from_figure manipulation
17773 code out of lux_cb.[Ch], ready for its (imminent?) removal.
17775 * lyx_cb.[Ch]: see above.
17777 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17781 * lyx.[Ch]: replaced by figure_form.[Ch].
17785 * lyxfunc.C: changed headers associated with above changes.
17787 2001-03-27 Juergen Vigna <jug@sad.it>
17789 * BufferView_pimpl.C: set the temporary cursor right!
17791 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
17793 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17795 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
17797 * LString.h: removed "using std::getline"!
17799 * BufferView_pimpl.C (Dispatch): changes due to changes in
17800 InsetInclude::Params.
17802 * buffer.C (tag_name): removed redundant break statements as they were
17803 producing lots of warnings with my compiler.
17805 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17807 * LString.h: add "using std::getline" when using the real <string>.
17809 2001-03-23 Jos�Ab�io Matos <jamatos@fep.up.pt>
17811 * buffer.C: removed bitset usage.
17812 PAR_TAG moved to an anonymous name space.
17813 (tag_name): new funtion, also in the anonymous namespace.
17814 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17815 (makeDocBookFile): clean code. Completed transition from string arrays
17817 (SimpleDocBookOnePar): code clean.
17819 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17821 * tabular.C: add some comments.
17823 2001-03-22 Juergen Vigna <jug@sad.it>
17825 * buffer.C (parseSingleLyXformat2Token): redone the minipage
17826 compatibility read a bit and fixed bug with minipage in different
17829 2001-03-21 Jos�Ab�io Matos <jamatos@fep.up.pt>
17831 * buffer.C (pop_tag): removed.
17832 (push_tag): removed.
17833 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17834 array replaced with vector. Added support for CDATA sections.
17835 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17837 (makeDocBookFile): XML conformant declaration of CDATA section,
17838 fixed bug related to <emphasis> in the first paragraph char.
17839 (sgmlOpenTag): exclude empty tags.
17840 (sgmlCloseTag): ditto.
17842 * buffer.h (pop_tag): removed.
17843 (push_tag): removed.
17845 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
17847 * language.h (Languages): added size_type and size().
17849 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17851 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17852 response on compability reading of minipages. One probliem is that
17853 the old usage of minipages was flertydig
17855 * several files here and in subdirs: don't use static at file
17856 scope use anon namespaces instead.
17858 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
17860 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17861 LaTeX output. This is necessary for Literate document
17864 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17866 * buffer.C: insert hfill when needed.
17868 * tabular.C (l_getline): use string::erase, small whitespace change.
17870 * BufferView_pimpl.C: try the anon namespace.
17871 * WorkArea.C: ditto
17873 2001-03-16 Juergen Vigna <jug@sad.it>
17875 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17876 otherwise it won't open options-dialogs.
17878 * buffer.C: honor pextraWidth(p) on converting minipages.
17880 * tabular.C (l_getline): changed the functions to strip trailing \r.
17882 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
17884 * BufferView_pimpl.C:
17885 * minibuffer..C: added "using SigC::slot" declaration.
17887 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17889 * lyxlex_pimpl.h: noncopyable is in namespace boost.
17895 * paragraph.C: ditto
17897 * lyxtext.h: NO_PEXTRA
17899 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17901 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17902 * ParameterStruct.h: ditto
17903 * ParagraphParameters.h: ditto
17904 * lyxparagraph.h: ditto
17906 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17908 * buffer.C: add compability for minipage alignment.
17909 (latexParagraphs): remove unwanted pextra check.
17911 * several files: remove CXX_WORKING_NAMESPACES
17913 * buffer.C (pop_tag): tie is in namespace boost
17915 * BufferView.h: noncopyable is in namespace boost
17917 * lyx_main.h: ditto
17920 * lastfiles.h: ditto
17921 * bufferlist.h: ditto
17922 * ShareContainer.h: ditto
17924 * LyXAction.h: ditto
17927 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17929 * Merging changes from BRANCH_MVC back into HEAD.
17931 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17933 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
17935 * BufferView_pimpl.C: change from intl.C
17939 * Makefile.am: move combox.*
17945 * intl.C: remove dialog (covered by prefs)
17947 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17949 * lyxfunc.C (Dispatch): removed redundant break statement.
17951 2001-03-14 Juergen Vigna <jug@sad.it>
17953 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17955 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17957 * buffer.C: add hack to fix compability reading of minipages.
17959 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
17961 * buffer.C (getLists): Cleanup.
17963 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17965 * lyxfont.C (update): don't honor toggleall on font size.
17967 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
17971 * Makefile.am: moved to frontends/xforms/
17975 * BufferView_pimpl.C: changes for moved mathpanel
17977 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17979 * gettext.h: fix gettext_init() in --disable-nls
17981 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17983 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17985 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
17988 * lyx.h: strip external form
17990 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17992 * BufferView_pimpl.C: add comment, destroySplash()
17994 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17996 * BufferView_pimpl.C:
18000 * lyxfunc.C: use re-worked insetinclude
18002 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18004 * buffer.C: add using std::stringstream.
18006 * lyx_cb.C: readd using std::ios.
18008 * buffer.C: add using std::map.
18010 * BufferView_pimpl.C: add using std::vector.
18012 * ShareContainer.h: add std:: to swap.
18014 * buffer.h: add some typedefs
18015 * buffer.C (getLists): use them
18016 (getLists): renamed from getTocList.
18017 add a counter for the different float types and use it in the
18019 (getLists): use the same counter for the NEW_INSETS and the "non"
18022 * lyx_cb.h: remove unused items, includes, using etc.
18024 * ShareContainer.h: remove some commented code, add more comments
18025 and "documentation".
18027 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18029 * buffer.C (getTocList): make the list also when NEW_INSETS is
18032 * buffer.h: remove TocType
18034 * buffer.C (getTocList): change to return a map<string,
18035 vector<TocItem> >, implement for dynamic number of list.
18037 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
18038 * text2.C (PasteSelection): adjust
18039 * CutAndPaste.C (pasteSelection): adjust
18041 * FloatList.C (FloatList): update from the new_insets branch.
18042 * Floating.[Ch]: ditto
18043 * LaTeXFeatures.C: ditto
18045 * lyxlex_pimpl.C: ditto
18047 * paragraph.C (Last): remove when NEW_INSETS is defined.
18049 * other file: changes because of the above.
18051 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18053 * lyxparagraph.h: rename next to next_, previous to previous_,
18054 make them private for NEW_INSETS. Rename Next() to next(),
18055 Previous() to previous().
18057 * other files: changes because of the above.
18059 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
18062 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
18065 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18067 * main.C (main): pass lyx_localedir to gettext_init().
18069 * gettext.h: remove locale_init and gettext_init macros
18071 * gettext.C (locale_init): new function
18072 (gettext_init): new function
18074 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
18077 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
18079 * Moved credits to frontends:
18080 * credits.[Ch]: removed
18081 * credits_form.[Ch]: removed
18082 * lyx_gui_misc.C: remove credits stuff
18085 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18087 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
18089 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
18090 unneeded destructor.
18092 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
18093 a standalone pointer again.
18095 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
18097 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
18103 * ToolbarDefaults.C:
18112 * BufferView_pimpl.C: use new file dialog in GUII
18115 * lyx_cb.C: remove LayoutsCB to Toolbar
18117 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18119 * ShareContainer.h (get): add std:: qualifier
18121 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18123 * ShareContainer.h: define a proper ShareContainer::value_type
18124 type (and use typename to please compaq cxx)
18126 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18128 * lyxparagraph.h: move serveral local vars to
18129 ParameterStruct/ParagraphParameters., use ShareContainer in
18130 FontTable., make vars in FontTable private and add getter and
18133 * paragraph.C: changes because of the above.
18135 * lyxfont.h: remove copy constructor and copy assignment. (the
18136 default ones is ok), move number inside FontBits. move inlines to
18139 * lyxfont.C: add number to initializaton of statics, move several
18140 inlines here. constify several local vars. some whitespace
18141 cleanup. Dont hide outerscope variables.
18143 * Spacing.h: add two new constructors to match the set methods.
18145 * ShareContainer.h: new file, will perhaps be moved to support
18147 * ParameterStruct.h: new file
18149 * ParagraphParameters.h: new file
18151 * ParagraphParameters.C: new file
18153 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
18154 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
18156 * BufferView_pimpl.C: ParagraphParameter changes.
18157 * buffer.C: Likewise.
18158 * bufferview_funcs.C: Likewise.
18159 * text.C: Likewise.
18160 * text2.C: Likewise.
18162 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18164 * lyxfind.C (LyXReplace): do not redefine default argument in
18166 (IsStringInText): ditto
18167 (SearchForward): ditto
18168 (SearchBackward): ditto
18170 2001-03-06 Juergen Vigna <jug@sad.it>
18172 * lyxfind.C (IsStringInText): put parentes around expressions.
18174 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
18176 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
18178 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
18180 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
18182 * stl_string_fwd.h: add comment
18184 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
18187 * tabular.C: remove unused DocBook methods
18193 killed DO_USE_DEFAULT_LANGUAGE
18195 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18197 * lyx_gui.C: do not include language.h.
18199 * bufferview_funcs.C (ToggleAndShow): do not provide optional
18200 arguments in function implementation.
18202 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18204 * BufferView_pimpl.C: add <ctime>
18206 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18208 * BufferView_pimpl.C: add using std::find_if
18210 2001-02-27 José Matos <jamatos@fep.up.pt>
18212 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
18215 2001-02-11 José Matos <jamatos@fep.up.pt>
18217 * buffer.C (makeDocBookFile): command styles now have a parameter as
18218 "title" by default.
18220 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
18222 * layout_forms.[Ch]: removed
18223 * lyx_cb.[Ch]: out character
18224 * lyx_gui.C: out character
18225 * lyx_gui_misc.C: out character
18226 * bufferview_funcs.C: : out character,
18227 added toggleall as parameter in ToggleAndShow
18229 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
18231 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
18233 * text2.C (SetCurrentFont): Disable number property at boundary.
18235 2001-02-26 Juergen Vigna <jug@sad.it>
18237 * lyxfunc.C (getStatus): added a string argument override function so
18238 that this is correctly called from LyXFunc::Dispatch if it contains a
18239 do_not_use_argument which is used!
18240 (Dispatch): added check for "custom" export and call appropriate func.
18242 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
18244 * lyxrc.C: Add language_command_local, language_use_babel and
18245 language_global_options.
18247 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
18249 * buffer.C (makeLaTeXFile): Use language_use_babel and
18250 language_global_options.
18252 2001-02-23 Juergen Vigna <jug@sad.it>
18254 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
18255 which works with LyXText and putted it inside BufferView. Here now we
18256 only call for that part the BufferView::Dispatch() function.
18258 * BufferView.C (Dispatch): added.
18260 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
18261 functions which needs to use a LyXText over from LyXFunc.
18262 (MenuInsertLyXFile): added
18263 (getInsetByCode): added
18264 (moveCursorUpdate): added
18265 (static TEXT): added
18267 2001-02-22 Juergen Vigna <jug@sad.it>
18269 * BufferView_pimpl.C (update): call a status update to see if LyXText
18272 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18274 * vc-backend.C (revert): implement for CVS
18275 (getLog): implement for CVS
18277 2001-02-20 Juergen Vigna <jug@sad.it>
18279 * text2.C (ClearSelection): added BufferView param for inset_owner call
18281 * lyxfunc.C (TEXT): added this function and use it instead of
18282 directly owner->view()-text of getLyXText().
18284 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
18286 * src/layout_forms.C: out preamble
18287 * src/layout_forms.h: out preamble
18288 * src/lyx_cb.C: out preamble
18289 * src/lyx_cb.h: out preamble
18290 * src/lyx_gui.C: out preamble
18291 * src/lyx_gui_misc.C: out preamble
18292 * src/lyxfunc.C: connect with guii preamble
18294 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
18296 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
18298 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
18300 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
18301 whether to run bibtex.
18303 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
18305 * Makefile.am (lyx_SOURCES): Remove BackStack.h
18307 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
18309 * Makefile.am (lyx_SOURCES): removed bibforms.h
18311 * vspace.h: doxygen
18313 * text.C (GetVisibleRow): make several local vars const
18315 * tabular.C: small cleanup.
18317 * lyxserver.C (callback): use compare instead of strncmp
18319 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
18320 inlines to after class or to paragraph.C
18322 * lyxfont.h: remove friend operator!=
18324 * converter.h: move friend bool operator< to non friend and after
18327 * combox.h: small cleanup
18329 * buffer.h: doxygen, remove unused constructor, move inclas inlies
18330 to inlines after class def.
18332 * buffer.C (pop_tag): use string operations instead of strcmp
18334 * bmtable.c: doxygen, small cleanup
18336 * LaTeX.h: remove friend operator==
18338 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
18350 * BufferView_pimpl.C:
18351 * BufferView.[Ch]: remove cruft
18353 2001-02-14 Juergen Vigna <jug@sad.it>
18355 * lyxfunc.C: removed #if 0 unused code
18357 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
18359 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
18361 * text2.C (SetSelection): added a BufferView * parameter
18363 2001-02-13 Juergen Vigna <jug@sad.it>
18365 * lyxfunc.C (Dispatch): fixed protected blank problem.
18366 * BufferView2.C (protectedBlank): added LyxText * parameter.
18368 * tabular.C (AppendRow): forgot to set row_info of newly added row.
18369 (AppendColumn): same as above for column_info.
18371 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
18372 (moveCursorUpdate): use a LyXText param for support of InsetText.
18374 * BufferView_pimpl.C (doubleClick): added support for InsetText.
18375 (tripleClick): ditto
18377 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
18379 * BufferView_pimpl.C (update): added LyXText param to honor insets.
18381 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
18383 * text2.C (SetSelection): set correct update status if inset_owner
18384 (ToggleFree): ditto
18386 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
18388 * tabular.C: remove some commented code.
18390 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
18392 * BufferView_pimpl.C: call hideSplash()
18394 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
18397 * bibforms.h: remove
18400 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
18401 add LFUN_CHILD_CREATE
18403 * counters.h: fix tiny typo
18408 * lyx.C: move splash to frontends/xforms/
18410 * lyx_gui_misc.C: move Include and Bibform to frontends
18412 * lyxvc.h: clarify comment
18414 * vspace.C: tiny housekeeping
18416 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
18418 * text.C (PrepareToPrint): RTL Fix.
18420 * paragraph.C (GetUChar): New method.
18421 (String): Use GetUChar.
18423 * buffer.C (asciiParagraph): Use GetUChar.
18425 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
18427 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
18429 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
18432 * buffer.C: rename to getLogName(), handle
18433 build log / latex log nicely
18435 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18438 * MenuBackend.h: remove support for reference menuitem type.
18440 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
18442 * BufferView_pimpl.C: housekeeping
18443 * BufferView_pimpl.h:
18448 * minibuffer.h: move Timeout GUI-I
18450 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
18452 * lyxrc.C (read): Update converters data-structures.
18454 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
18456 * LaTeX.h (operator!=): add operator != for Aux_Info
18458 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
18460 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
18462 * LaTeXLog.C: deleted, useful code moved to Buffer
18465 * buffer.C: new function getLatexLogName()
18471 * lyxfunc.C: use frontends for LaTeX and VC logs
18473 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18475 * LaTeX.h: yet another std:: that Allan forgot.
18477 * Variables.C (set): renamed from isset(), because this clashes
18478 with some HP-UX macros (grr).
18480 2001-02-06 Allan Rae <rae@lyx.org>
18482 * LaTeX.h: Another bug fix. Missing std:: this time.
18484 2001-02-04 Allan Rae <rae@lyx.org>
18486 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
18487 floats problem. I've left it commented out because it's not quite
18488 correct. It should also test that the current object is a table or
18489 figure inset. But I haven't gotten around to figuring out how to do
18490 that. I *think* it'll be something like: "table" == inset.type()
18492 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
18495 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
18497 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
18498 all the citation/databases/styles in the auxilary file.
18499 (run): Rerun latex if there was a babel language error.
18501 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
18503 * text.C (Backspace): Preserve the font when changing newline char
18505 (BreakParagraph): If the cursor is before a space, delete the space.
18507 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
18509 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
18511 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
18512 new argument (code).
18513 (ChangeCitationsIfUnique): New method.
18515 * paragraph.C (GetPositionOfInset): Handle bibkey.
18517 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18519 * BufferView_pimpl.h: change type of Position::par_pos to
18520 LyXParagraph::size_type.
18522 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
18524 * BufferView_pimpl.C (savePosition, restorePosition): Write
18525 messages to minibuffer.
18527 2001-01-28 José Matos <jamatos@fep.up.pt>
18529 * buffer.C (makeDocBookFile): adds support for document language.
18530 A silly restriction on the name of LatexCommand types where removed.
18531 Added support for CDATA sections, allows to chars unescaped, used
18532 among others in code, to avoid escape < and >.
18534 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
18536 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18537 saved positions instrad of a stack. Furthermore, a position is
18538 stored using paragraph id/paragraph position.
18540 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18541 Remove LFUN_REF_BACK.
18543 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
18545 * converter.C (dvipdfm_options): New method.
18547 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
18549 * vspace.C (isValidLength): Fix for empty input string.
18551 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18553 * LyXAction.C (init): change description of LFUN_FIGURE to
18556 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18558 * LaTeX.C: add using directive
18560 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
18562 * MenuBackend.C (expand): Fix the sorting of the formats.
18564 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
18566 * lyx_main.C: tiny error message fix
18568 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18570 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18571 calling fl_initialize(). This fixes the problem with ',' as
18572 decimal separator in text files.
18574 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
18576 * trans.C (process): Fix the keymap bug.
18578 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
18580 * LaTeX.C (scanAuxFiles): New method. Provides support for
18581 multiple bibliographies (when using the bibtopic/bibunits pacakges).
18582 (scanLogFile) Scan for "run BibTeX" messages.
18584 * buffer.C (makeLaTeXFile): Do not load the ae package when using
18585 OT1 font encoding. Also, load the aecompl package if the ae
18588 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18590 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18592 * texrow.C (increasePos): turn two error messages into debug
18595 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
18597 * LaTeX.C (scanAux): Handle the \@input macro.
18598 (runBibTeX): Use scanAux().
18600 * language.C (latex_options_): New field.
18602 * LaTeXFeatures.C (getMacros): Add language macros.
18604 * buffer.C (makeLaTeXFile): Small fix.
18606 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18608 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18610 * text2.C: add a using directive.
18612 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
18617 * lyxfunc.C: kill LyXBell.
18619 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
18621 * text.C (IsBoundary): Remove the error message
18623 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18625 * lyxrc.C (setDefaults): Correct initialization value for
18628 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
18630 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18633 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18634 and GotoNextNote().
18636 * src/LyXAction.C: Added reference-next.
18638 * text.C (InsertChar): Use contains instead of strchr.
18640 * lyx_cb.C (MenuInsertLabel): Enable default value code.
18642 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
18644 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18645 alignment commands (when needed).
18647 * text.C (InsertChar): Add ':' to number separator chars.