1 2006-01-16 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3 * rowpainter.C (isCursorOnRow): do not exclude endpos().
5 2006-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7 * cursor.C (macroModeClose): returns true if an inset actually got
8 inserted; revert faulty fix to bug 2034.
10 2006-01-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12 * tabular.C (getLabelList): remove (not used anymore).
14 2006-01-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
16 * outputparams.[Ch]: add new flag inComment
18 2006-01-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
20 * text2.C (deleteEmptyParagraphMechanism): since we delete a
21 paragraph, recordUndo should span two paragraphs (bug 2155).
23 2006-01-01 Martin Vermeer <martin.vermeer@hut.fi>
25 * rowpainter.C (paintPar): always repaint the row with the
28 2006-01-01 Lars Gullik Bjønnes <larsbj@gullik.net>
34 * vspace.h: fix syntax error
36 2005-12-31 Martin Vermeer <martin.vermeer@hut.fi>
38 * text3.C (dispatch): Force refresh if typing into inset changes its
41 2005-12-30 Martin Vermeer <martin.vermeer@hut.fi>
46 * rowpainter.C: Speed up rendering by only re-painting rows that
47 have changed. When selection or whole-screen update active, all rows
48 are repainted, as are all rows within insets.
50 2005-12-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
52 * version.C.in: Use PACKAGE_VERSION instead of VERSION
54 2005-12-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
56 * tabular.C (toggleFixedWidth): Use default layout of text class
57 instead of hardcoded "Standard"
59 2005-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
61 * lyxfunc.C (dispatch): do not call getStatus again to determine
62 whether a lfun is disabled (bug 2172).
64 2005-12-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
66 * cursor.C (macroModeClose): set the cursor inside the new math
67 atom if relevant (think \frac{}{}) (bug 2034)
69 2005-12-19 Martin Vermeer <martin.vermeer@hut.fi>
73 * text3.C (Delete, backspace): force update when merging paragraphs
75 2005-12-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
77 * BufferView.C (mouseSetCursor): clear the selection properly (bug
80 2005-12-08 Georg Baum <Georg.Baum@post.rwth-aachen.de>
82 * text.C (redoParagraph): honor inset->noFontChange()
83 * rowpainter.C (paintInset): ditto
85 2005-12-15 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
87 * lyx_main.C (priv_exec): don't initialize Math on startup
88 (initMath() has been moved to math_hullinset).
90 2005-12-12 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
92 * lyxrc.C: set default_papersize to PAPER_DEFAULT;
93 handle PAPER_DEFAULT in LyXRC::read and LyXRC::write (bug 2148).
94 * paper.h: dispose dead PAPER_PACKAGES enum.
96 2005-12-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
98 * Makefile.am (OTHERLIBS): add SOCKET_LIBS in case we compile
101 2005-12-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
103 * exporter.C (Export): Don't try to copy a file if it does not exist
106 2005-12-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
108 * text2.C (makeFontEntriesLayoutSpecific): remove.
111 * text.C (insertChar): remove bogus caching of fonts (did not do
114 * text2.C (LyXText): initialize current_font to ALL_INHERIT (was
115 ALL_SANE). (bug 2146)
117 2005-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
119 * rowpainter.C (paintFirst): fix centering of
120 LABEL_CENTERED_TOP_ENVIRONMENT.
122 2005-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
124 * BufferView.C (mouseSetCursor): new method. Calls
125 deleteEmptyParagraphMechanism if necessary.
127 * lyxtext.h: make deleteEmptyParagraphMechanism public.
129 * text3.C (dispatch/LFUN_MOUSE_PRESS): use
130 BufferView::mouseSetCursor (bug 2109).
131 (dispatch/LFUN_PASTE): remove #warning that is now irrelevant.
133 2005-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
135 * text3.C (dispatch/LFUN_INDEX_INSERT): when a selection is set,
136 do not remove it (this inset behaves differently from the others).
138 2005-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
142 * BufferView_pimpl.C (getStatus): it is only possible to insert a
143 file in a text inset.
145 * buffer.C (readDocument): remove pit argument and code releated
146 to it; set the inset owner correctly (unrelated, but useful).
147 (readFile): get rid of pit argument.
149 * CutAndPaste.C (pasteSelectionHelper): use a ParagraphList and a
150 textclass instead of a selection index.
151 (pasteParagraphList): new function.
152 (pasteSelection): make it a wrapper around pasteParagraphList.
154 * BufferView_pimpl.C (MenuInsertLyXFile): use
155 cap::pasteParagraphList to insert a file.
157 2005-11-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
159 * buffer_funcs.C (bufferErrors): prevent endless loop (bug 2121)
161 2005-11-17 Michael Gerz <michael.gerz@teststep.org>
163 * exporter.C: fix typo in text message
165 2005-11-28 Georg Baum <Georg.Baum@post.rwth-aachen.de>
167 * text2.C (setLayout): move recUndo call to other setLayout method
168 * tabular.C (toggleFixedWidth): new, handle cell width changes
169 * tabular.C (setColumnPWidth): move some code from insettabular.C here
170 and use toggleFixedWidth
171 * tabular.C (setMColumnPWidth): ditto
173 2005-11-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
175 * paragraph.C (asString): use new inset->textString method (fix
178 2005-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
180 * CutAndPaste.C (numberOfSelections): new helper function.
182 * lyxfunc.C (getStatus): remove support for LFUN_COPY and LFUN_CUT.
184 * text3.C (getStatus): move code for LFUN_CUT and LFUN_COPY from
185 LyXFunc::getStatus; implement LFUN_PASTE.
187 2005-11-17 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
189 * dociterator.[Ch]: new member realInset() that returns the cell
190 for tabulars and the inset for the rest (bug 1952).
191 * undo.C (textUndoOrRedo): use realInset when resetting insetOwner
194 2005-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
196 * text.C (leftMargin): honor the NextNoIndent tag in layouts.
198 2005-11-17 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
202 * text3.C: InsetBase::forceDefaultParagraphs now takes a cell as
205 2005-11-07 Martin Vermeer <martin.vermeer@hut.fi>
207 * text.C (redoParagraph): Fix bug 1966: cursor doesn't go to next
208 line after typing ctrl-enter
210 2005-11-10 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
212 * bufferview_funcs.C (coordOffset): fix the fix for bug 2094, as
213 math insets do not return a proper editable() state yet (bug 2124).
215 2005-11-07 Martin Vermeer <martin.vermeer@hut.fi>
217 * BufferView_pimpl.[Ch]: Fix bug 1814: better scroll behaviour for
218 docs containing very large paragraphs.
220 2005-11-07 Martin Vermeer <martin.vermeer@hut.fi>
222 * cursor.C (selectionBegin, selectionEnd):
223 * text.C (drawSelection): Fix bug 2115: assertion when anchor and
224 cursor at different depths.
226 2005-11-03 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
228 * bufferview_funcs.C (coordOffset): do not call cursorPos
229 for collapsed collapsables (fix bug 2094).
231 2005-11-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
233 * paragraph.C (fontSpan): make sure that the FontSpan does not
234 span across beginOfBody (bug 1947).
236 2005-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
238 * lyxlength.h: undefine macros that clash with solaris/x86 (bug 992)
240 2005-11-03 Michael Gerz <michael.gerz@teststep.org>
242 * messages.C: fix crash and localization on MinGW/Windows platform
244 2005-11-02 Angus Leeming <leeming@lyx.org>
247 * lyxtextclass.C: trivial fixes to some MSVS warnings.
249 2005-10-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
251 * text3.C (getStatus): re-enable disabled code. (bug 2081)
253 * BranchList.h (empty): constify.
255 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
257 * text3.C (getStatus):
258 * MenuBackend.C (expandBranches): take the branch list from the
259 master document (bug 2092).
261 * MenuBackend.C (expandBranches):
262 * bufferparams.C (writeFile): use BranchList type.
264 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
266 * text3.C (dispatch, getStatus):
267 * LyXAction.C (init):
268 * lfuns.h: get rid of LFUN_KEYMAP_TOGGLE
270 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
272 * toc.C (getTocList): skip paragraphs which toclevel is NOT_IN_TOC.
274 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
276 * text.C (insertChar): do not reset boundary (bug 2061)
278 2005-10-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
280 * dociterator.C (updateInsets): new method. Updates the inset_
281 cache of all the slices of the iterator.
283 * text2.C (deleteEmptyParagraphMechanism): compare also containing
284 insets when comparing pit/pos; pass the right cursor to
285 recordUndo; when a paragraph has been deleted, compare `old.top()' to
286 the right cursor slice of `cur'; use updateInsets on cur to make
287 sure that the inset caches are correct; general cleanup.
289 2005-10-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
291 * text3.C (dispatch): LFUN_NEXT_INSET_TOGGLE: first try to
292 dispatch LFUN_INSET_TOGGLE to inset at cursor, and then to
293 containg inset. If this does not work, the same command will be
294 sent to other insets down the queue by LCursor::dispatch. (bug 2066)
296 * lyxfunc.C (dispatch): make sure the cursor is correct when doing
299 2005-10-20 Georg Baum <Georg.Baum@post.rwth-aachen.de>
301 * lyxtextclass.C (Read): convert layout file if the format is wrong
302 * lyxtextclass.C (layout2layout): new, needed for the above
304 2005-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
306 * messages.C: do not forget to include <cerrno>.
308 2005-10-12 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
310 * dociterator.h (StableDocIterator): add access to pos().
311 * undo.C (samePar): new method to check if two
312 iterators are in the same paragraph
313 * undo.C (recordUndo): check for samePar instead of cell identity
314 (which includes pos() and is too strict) (fixes bug 2097)
316 2005-10-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
318 * text.C (setCursorFromCoordinates): return a bool telling whether
321 * text3.C (cursorPrevious): update if needed after
322 setCursorFromCoordinates (when dEPM triggered).
324 * text2.C (cursorDown, cursorUp): make sure to reset the anchor
325 (otherwise the anchor may be completely wrong and make dEPM assert).
327 2005-10-12 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
329 * buffer.C: version upgrade to 245.
330 * bufferparams.C: remove \quotes_times (bug 2090).
331 * text3.C (doDispatch): LFUN_QUOTE_INSERT has to output double
332 quotation marks as default.
334 2005-10-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
336 * CutAndPaste.C (nrOfParagraphs): remove (unused)
337 * CutAndPaste.C (cutSelection): Remove debug message
338 * CutAndPaste.C (cutSelection): Use the real cursor in mathed, record
339 undo information and only copy if this is a real cut
340 * CutAndPaste.C (pasteSelection): remove superflous cur.resetAnchor()
342 * CutAndPaste.C (pasteSelection): remove now superflous mathed warning
344 * CutAndPaste.C (eraseSelection): prevent cursor corruption
345 * CutAndPaste.C (grabAndEraseSelection, selDel): remove now
346 superflous cur.selection() setting
347 * CutAndPaste.[Ch] (grabSelection): take a const cursor
348 * cursor.C (selectionAsString): implement mathed case ((bug 2059)
350 2005-10-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
352 * text3.C (mathDispatch, dispatch): Dont' record undo steps that don't
355 2005-10-11 Martin Vermeer <martin.vermeer@hut.fi>
357 * BufferView_pimpl.C: comment layout change
359 2005-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
363 * lyxfunc.C: reimplement LFUN_INSERT_CITATION, which is needed
364 by bibliography managers (bug 2071).
366 2005-10-07 Martin Vermeer <martin.vermeer@hut.fi>
368 * BufferView_pimpl.C (update): choose arguments to update call so
369 that single-par update works most times
370 * text3.C (dispatch): carefully tune updating separately for
371 whole-screen and current-paragraph
372 * rowpainter.C (paintText): 1) replace painting by caching for
373 the two extra paragraphs, because we can;
374 2) suppress greying out of areas below/above drawn area in case of
376 * lyxfunc.C (dispatch): remove superfluous update
377 * LyXAction.[Ch]: introduce SingleParUpdate
379 2005-10-05 Angus Leeming <leeming@lyx.org>
381 * BufferView_pimpl.C (loadLyXFile): ensure that a pointer is
382 always initialised before use.
384 * text.C (setHeightOfRow): squash warning about comparison
385 of signed and unsigned types.
387 2005-10-03 Martin Vermeer <martin.vermeer@hut.fi>
389 * text.C (cursorX): two fixes involving RtL text drawing
391 2005-10-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
393 * cursor.C (erase): fix 'clever' UI hack. It was activated for all
394 items, not only large ones (part of bug 2057)
396 2005-10-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
398 * text3.C (dispatch): when invoking LFUN_MATH_MACRO with no type
399 argument, use "newcommand".
401 2005-09-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
403 * cursor.C (setSelection): do not open collapsable insets;
404 the insets do by themselves now (autoopen).
406 2005-09-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
408 * buffer.C: format is up to 244.
410 2005-09-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
412 * text.C (redoParagraph): fix calcultation of inset width wrt
413 leftMargin (bug 1957).
415 * text3.C (dispatch): leave inset to the right when hitting ESC
418 2005-09-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
423 * messages.C: include <boost/current_function.hpp>
425 2005-09-12 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
427 * lyxfunc.C (sendDispatchMessage): do not update menubar/toolbar
428 when command is internal. (bug 1941)
430 2005-09-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
432 * text2.C (cursorRight): do not honor boundary when at the end of
433 a paragraph. (bug 2010 again)
435 2005-09-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
437 * cursor.C (paste): do nothing if `data' is empty. (bug 2033)
439 2005-09-19 Martin Vermeer <martin.vermeer@hut.fi>
441 * rowpainter.C (paintText): fix RtL space width display bug (2029)
443 2005-09-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
445 * text2.C (setCursor): remove the unused 'boundary' parameter for
446 the CursorSlice version; adapt the LCursor version.
449 * paragraph_pimpl.C (markErased):
450 * cursor.C (bruteFind2, bruteFond3): fix warnings.
452 2005-09-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
454 * rowpainter.C (paintFirst): use a 'labeladdon' for TOP_* labels,
455 as is already done for "chapter".
457 2005-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
459 * lyxfunc.C (dispatch): LFUN_TEXTCLASS_APPLY: actually set the
460 textclass; do not record undo if nothing is changed.
462 2005-09-16 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
464 * text3.C (dispatch): recordUndo in LFUN_PASTESELECTION (#2011).
466 2005-09-14 Michael Gerz <michael.gerz@teststep.org>
468 * lyxfunc.C: update display after LFUN_ALL_INSETS_TOGGLE
470 2005-09-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
472 * BufferView_pimpl.C (setBuffer): when one wants to set the layout
473 combox, it is necessary to search for the topmost paragraph in the
474 cursor stack (bug 1926)
476 2005-09-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
478 * text2.C (cursorEnd, cursorRight): do not set boundary to true at
479 end of paragraph. (bug 2010)
481 2005-09-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
483 * text.C (leftMargin): check for inInset == 0
485 2005-09-10 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
487 * text.C (leftMargin): test for insetbase's new neverIndent()
488 bool instead of listing each and every inset that does not
489 wish par indendation.
491 2005-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
493 * buffer_funcs.C (setCounter): put the code to compute enum label
494 here (where it belongs).
496 * counters.C (enumLabel): move code to buffer_funcs.C.
498 2005-09-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
500 * outputparams.[Ch]: store local_font instead of local_language
501 * paragraph.C (simpleTeXOnePar): adapt to the change above
503 2005-09-08 Martin Vermeer <martin.vermeer@hut.fi>
506 * counters.[Ch]: clean up special code for Hebrew.
508 2005-09-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
510 * lyxfunc.C (lookupChange): fix code when cursor depth is greater
513 2005-09-08 Angus Leeming <leeming@lyx.org>
516 * lyxrc.C: correct grammar describing invocation of the
519 2005-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
521 * text.C (read): remove unused variable.
522 (readParToken): remove static Change variable (never good in
523 recursive settings...); add it as a parameter instead.
525 * paragraph_pimpl.C (acceptChange): make debug info conditional.
527 * metricsinfo.C (PainterInfo): add new member erased_.
529 * rowpainter.C (RowPainter): add erased_ member, initialized from
531 (paintInset): pass erased_ to Inset::draw.
533 * lyxfunc.C (lookupChange): new function. Tells whether change
534 tracking is disabled at a given postion.
535 (getStatus): disable some actions when in deleted text with change
538 2005-08-03 John Levon <levon@movementarian.org>
540 * tabular.C (appendColumn, setMultiColumn): adapt to change to
543 * paragraph_pimpl.C (markErased): add bool argument and handle it.
544 Also make sure to mark insets recursively.
545 (rejectChange, erase): be recursive
547 * paragraph.C (markErased): add bool argument.
548 2005-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
550 * lyxfind.C (findNextChange): tiny cleanup.
552 * BufferView_pimpl.C (trackChanges): avoid crash when stopping
553 change tracking with the cursor in an inset; make sure the first
554 change is not skipped.
556 2005-09-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
558 * CutAndPaste.[Ch]: new methods dirtyTabularStack and
559 tabularStackDirty to work around bug 1919 (tabular needs
560 to know whether its own cell paste buffer or the one of
562 * CutAndPaste.C: mark tabular_stack_ clean after copy.
564 2005-08-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
566 * text2.C (cursorEnd): check for empty text (fixes bug 1998)
568 2005-08-19 Lars Gullik Bjønnes <larsbj@gullik.net>
570 * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
571 use old deleteion algorithm when changetracking is on.
573 2005-08-18 Martin Vermeer <martin.vermeer@hut.fi>
575 * messages.C (get): add debug output.
577 2005-08-02 Martin Vermeer <martin.vermeer@hut.fi>
579 * text.C (cursorX): fix bug 1965: cursor movement at
580 line end broken in RtL.
581 (drawSelection): fix bug 1970: drawing of single-line
582 selection broken for RtL.
584 2005-07-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
588 * dociterator.h (clear, push_back, pop_back): change from
591 * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
592 and changed to just return the value of the item depth; take a
593 ParIterator as argument; take the itemdepth at outer nesting level
594 in account if necessary; cleanup and comment the code.
595 (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
596 and changed to just return true if reset is needed; take a
597 ParIterator as argument; cleanup and comment the code.
598 (setCounter): adapt to above changes.
600 2005-07-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
602 * text3.C (dispatch): make debug message optional
604 2005-08-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
606 * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
609 2005-08-02 Martin Vermeer <martin.vermeer@hut.fi>
611 * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
613 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
615 * text.C (insertChar):
616 * text2.C (deleteEmptyParagraphMechanism): take care whether
617 a blank has been deleted (in change tracking mode) (bug 1254).
619 2005-07-20 John Levon <levon@movementarian.org>
621 * text2.C (insertStringAsLines): remove old dubious code,
624 2005-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
626 * MenuBackend.C (expandToc): use Floating::listName() as title of
629 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
631 * toc.[Ch]: Do not use translatable strings (bug 1870).
633 2005-07-20 John Levon <levon@movementarian.org>
635 * tabular.C: fix 1748 - setting multicolumn adds
636 left line to the first cell
638 2005-07-19 Lars Gullik Bjønnes <larsbj@lyx.org>
641 * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
644 2005-07-18 Lars Gullik Bjønnes <larsbj@lyx.org>
646 * messages.C: supress some lyxerr messages
648 2005-07-18 Juergen Vigna <jug@lyx.org>
650 * text.C (drawSelection): honor boundary when asking for cursorX.
652 2005-07-17 José Matos <jamatos@fc.up.pt>
654 * tabular.C (recalculateMulticolumns): fix handling of one column
657 2005-07-17 Juergen Vigna <jug@lyx.org>
659 * text.C (Delete, backspace): fixed so that paragraph with the
660 same layout can be merged by Delete/Backspace.
662 2005-07-17 Michael Schmitt <michael.schmitt@teststep.org>
664 * text.C (readParToken): fix spelling.
666 2005-07-17 Martin Vermeer <martin.vermeer@hut.fi>
668 * text2.C: fix counter update for DEPM problem reported by
671 2005-07-17 Juergen Vigna <jug@lyx.org>
673 * BufferView_pimpl.C (setBuffer): save/restore the
674 cursor/selection when switching buffers
677 * buffer.C (saveCursor): add saveDocumentIterators to save the
678 cursor when switching buffer.
680 2005-07-17 Michael Schmitt <michqel.schmitt@teststep.org>
683 * buffer.C: clarify message
685 2005-07-17 Lars Gullik Bjønnes <larsbj@lyx.org>
687 * dociterator.C (DocIterator): fix initialization order
689 2005-07-17 Juergen Vigna <jug@lyx.org>
691 * text2.C (cursorHome):
692 * text.C (drawSelection, cursorX):
693 * dociterator.C (textRow): add boundary to getRow() call
695 * paragraph.C (getRow): implementation of below
697 * paragraph.h: add parameter boundary for getRow() function
699 2005-07-17 José Matos <jamatos@fc.up.pt>
703 * tex-strings.[Ch]: new file format, remove support for a4.sty,
704 a4wide.sty and a4widemargins.
706 2005-07-17 Juergen Vigna <jug@lyx.org>
708 * text2.C (cursorLeft): fix one of error
710 2005-07-17 Juergen Vigna <jug@lyx.org>
712 * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
714 more fixes for boundary handling
716 * text3.C (dispatch): don't reset cursor if boundary has changed
719 2005-07-16 Juergen Vigna <jug@lyx.org>
721 * text2.C (getColumnNearX): hopefully got it right now,
722 check if we are on column 0 for special case.
724 2005-07-16 Juergen Vigna <jug@lyx.org>
726 * text2.C (getColumnNearX): handle special case Newline Inset
728 * text.C (singleWidth): Just remove bogus check
730 2005-07-16 Michael Schmitt <michael.schmitt@teststep.org>
732 * funcrequest.C (split): avoid reading uninitialized char c
734 2005-07-16 José Matos <jamatos@fc.up.pt>
740 * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
741 single papersize variable.
743 2005-07-16 Juergen Vigna <jug@lyx.org>
745 * text3.C (dispatch): honor boundary when checking if a cursor
746 movement has been done
748 * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown)
749 (setCursor, setCursorIntern): fix cursor movement with boundary
751 2005-07-16 Juergen Vigna <jug@lyx.org>
753 * text.C (currentState): output the actual Boundary
755 2005-07-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
757 * factory.C (createInset): fix bad logic for tabular creation
759 2005-07-16 Lars Gullik Bjønnes <larsbj@lyx.org>
761 * lyx_main.C (init): change some reLyX reference to tex2lyx
763 2005-07-16 Juergen Vigna <jug@lyx.org>
765 * dociterator.C (DocIterator): initialize boundary
767 2005-07-16 Juergen Vigna <jug@lyx.org>
769 * text2.C (getColumnNearX): Consider rows without trailing blank.
771 2005-07-16 André Pönitz <poenitz@gmx.net>
773 * lyxfont.h: Change order of declarations to give the compiler
774 a better chance to inline things
776 * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
777 questions on unsaved docs for better scritability
779 2005-07-16 André Pönitz <poenitz@gmx.net>
781 * paragraph.h (getChar): remove asserts as the same kind of security
782 can be achieved by using a suitable standard library implementation
783 and the function was in the critical path (25.9% in profiler)
785 2005-07-16 Juergen Vigna <jug@lyx.org>
787 * cursor.C (bruteFind2):
788 * bufferview_funcs.C (coordOffset):
789 * text.C (cursorX,cursorY): Handle cursor position after last char
790 in row before a inset which uses a whole row.
792 2005-07-15 José Matos <jamatos@lyx.org>
794 * output_plaintext.[Ch] (writeFileAscii): control reference title
796 (asciiParagraph): noparbreak was already deal and was incorrectly
799 2005-07-15 Juergen Vigna <jug@lyx.org>
801 * lyxfunc.C (dispatch): save and restore the cursor after a
804 2005-07-15 Lars Gullik Bjønnes <lgb@tandberg.net>
806 * text.C (backspace): bug 806 for empty keepempty paragraphs we
807 change the layout to default before letting DEPM do its thing.
809 * paragraph_funcs.C (breakParagraph): dont reset the layout on
812 * text.C (setCursorFromCoordinates): add a debug statement
814 * text2.C (getColumnNearX): bug 1825 make sure that we don't
815 return a pos that is not on the row
817 * output_latex.C (TeXDeeper): get rid of potential dereferencing
818 of past the end iterator
820 2005-07-14 André Pönitz <poenitz@gmx.net>
822 * undo.C (recordUndoFullBuffer): implement undo for
825 2005-07-14 André Pönitz <poenitz@gmx.net>
827 * cursor.C (setSelection): open insets when selection is set there
828 to avoid crashs with cold coord cache
830 2005-07-14 André Pönitz <poenitz@gmx.net>
832 * trans_mgr.C (insert): move cursor to the right after inserting
835 2005-07-14 Lars Gullik Bjønnes <larsbj@lyx.org>
837 * BufferView_pimpl.C (update): dampen some of the debug blabbering
838 * factory.C (readInset): ditto
839 * text.C, text2.C: ditto
841 2005-06-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
843 * buffer.C: format incremented to 242. There is no file format per
844 se, but the "frenchb" language has been removed from lib/language
845 and has to be translated to "french" by lyx2lyx.
847 2005-07-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
849 * cursor_slice.h, dociterator.h: add some documentation
850 * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
852 2005-07-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
854 * text.C (leftMargin): do not add identation to display() style
855 insets, because they are always centered (bug 1293).
857 2005-07-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
859 * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
860 formatted_time methods in support/lyxtime.
862 2005-07-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
864 * toc.[Ch]: new method getGuiName, which is used by the frontends
865 to set the toc combo (fixes bug 1870). Make TOC string translatable.
867 2005-07-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
869 * dociterator.[Ch]: implement operator==(StableDocIterator const &,
870 StableDocIterator const &)
871 * undo.C (recordUndo): use the above instead of cell.size() comparison
872 (fixes bug 1808; instructed by Andr�.
874 2005-06-29 Martin Vermeer <martin.vermeer@hut.fi>
877 * dociterator.h: Fix the assert when copying rows/cols in math
879 2005-06-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
881 * BufferView_pimpl.C:
883 * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
885 * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
886 (findInset): new functions, refactored from goto Inset that return
887 the position of a certain inset without setting the buffer's cursor
889 (gotoInset): rewrite to call findInset and then set the cursor
892 2005-06-16 Angus Leeming <leeming@lyx.org>
894 * lyxrc.C (output, read): wrap all input and output of paths with
895 calls to os::internal_path and os::external_path, respectively.
896 (output): wrap bind_file inside quotes.
898 * format.C (view): enable the viewer to use the '$$s' placeholder.
900 2005-06-16 Georg Baum <Georg.Baum@post.rwth-aachen.de>
902 * LColor.[Ch] (getFromLaTeXName): new
904 2005-06-16 Martin Vermeer <martin.vermeer@hut.fi>
906 * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
908 2005-06-14 Angus Leeming <leeming@lyx.org>
910 * lyx_main.C (init): ensure that the LyX binary dir is the first
911 element in the PATH on non-POSIX builds.
913 2005-06-11 Georg Baum <Georg.Baum@post.rwth-aachen.de>
915 * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
917 2005-06-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
919 * rowpainter.C (paintInset, paintHebrewComposeChar)
920 (paintArabicComposeChar, paintChars): add a LyXFont argument.
921 (paintChars): use getFontSpan to reduce calls to getFont to a
922 minimum; use Paragraph::lookupChange instead of isXXXText.
923 (paintForeignMark): rename LyXFont argument.
924 (paintFromPos): pass a LyXFont object to the various paintXXX
927 * FontIterator.C (FontIterator, operator++): use
928 Paragraph::getFontSpan
930 * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
931 version that returns the font span as a pair.
933 2005-06-09 Angus Leeming <leeming@lyx.org>
935 * converter.C (convert): Don't forget "outfile = real_outfile" as
936 the final step in a conversion where the input and output file names
937 are the same. Otherwise, future conversion steps won't work...
939 2005-06-09 Angus Leeming <leeming@lyx.org>
941 * lyxsocket.C: remove stub code as it isn't needed by
942 MinGW/MinSYS anyway. Let's see if the MSVC people scream...
944 2005-06-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
946 * lyx_main.C (parse_execute): Fix last fix: is_gui = false
947 effectively disabled -x
949 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
951 * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
952 when it actually makes sense.
954 2005-06-06 Martin Vermeer <martin.vermeer@hut.fi>
956 * BufferView_pimpl.C: revert to showCursor in connection with
957 Lars's front-end stack
959 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
961 * text.C (redoParagraph): move cursor right after a bibitem
964 * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
966 2005-06-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
968 * buffer_funcs.C (bufferErrors): fix computation of the end of an
971 2005-05-31 Martin Vermeer <martin.vermeer@hut.fi>
973 * BufferView.[Ch] (update):
974 * BufferView_pimpl.[Ch] (update, metrics):
975 * dimension.h (operator==):
976 * lyxfunc.C (dispatch):
977 * metricsinfo.h (ViewMetricsInfo):
978 * rowpainter.C (paintText):
980 * text.C (redoParagraph):
981 * text3.C (dispatch): Make LyX only repaint current paragraph in
982 case of character insert --> speedup. Also fix cursor draw
985 2005-05-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
987 * bufferview_funcs.C (gotoInset): fix the wrap-around code to
988 avoid a crash (bug 1891)
990 2005-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
994 * text2.C (getStringToIndex): constify cur argument.
996 * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
997 argument has been given
998 (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
999 try to invoke LFUN_INSET_APPLY).
1001 * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
1002 if no inset was created by doInsertInset
1003 (doInsertInset): return true if an inset has been inserted.
1005 2005-05-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1007 * vspace.C (asGUIName): new method. A version of the space
1008 suitable for showing on screen.
1010 2005-05-20 Michael Schmitt <michael.schmitt@teststep.org>
1013 * lyxrc.C: rename "ASCII" to "Plain Text"
1015 2005-05-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1017 * buffer_funcs.C (expandLabel): take a Buffer as argument;
1018 translate the labelstring.
1019 (setCounter): translate labelstring as needed.
1021 * output_docbook.C (makeCommand): fix expandLabel invokation
1023 2005-05-14 Michael Schmitt <michael.schmitt@teststep.org>
1025 * BufferView.C: fix dialog title
1027 2005-05-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1029 * lyx_main.C (priv_exec): fix logic error with help from Angus
1030 * lyx_main.C (parse_execute): set is_gui = false and remove now
1031 obsolete comment about a segfault
1033 2005-05-18 Angus Leeming <leeming@lyx.org>
1035 * buffer.C (readFile): Quote all file names passed to lyx2lyx.
1037 2005-05-12 Martin Vermeer <martin.vermeer@hut.fi>
1039 * tabular.[hC]: added setCellInset to fix tabular paste.
1041 2005-05-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1043 * buffer.C (save): check if destination is writable before trying
1046 2005-05-11 Martin Vermeer <martin.vermeer@hut.fi>
1048 * BufferView_pimpl.C (update): fix processEvents -caused update
1051 2005-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1053 * buffer_funcs.C (setCounter): fix test for numbering of
1056 * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
1057 depth correctly; use optional argument when it exists
1059 * lyxtextclass.C: remove unused MaxCounterTags enum
1060 (Read): compute min_toclevel_ and max_toclevel_ after reading class.
1061 (max_toclevel, min_toclevel): new methods.
1063 * MenuBackend.C (expandToc2): fix case where depth is smaller than
1064 the smallest depth in toc.
1066 * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
1067 layouts that should not appear in a table of contents.
1069 2005-05-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1071 * cursor.h (undispatched, noUpdate): add comments from Andr�
1072 2005-05-07 Michael Schmitt <michael.schmitt@teststep.org>
1076 * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
1078 2005-05-07 André Pönitz <poenitz@gmx.net>
1080 * cursor.[Ch] (leaveInset): new function
1082 2005-05-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1084 * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
1086 2005-05-04 Angus Leeming <leeming@lyx.org>
1088 * lyxfunc.C (getStatus): disable the spell checker dialog if
1089 none of USE_[AIP]SPELL are defined.
1091 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
1093 * tabular.C (setWidthOfCell): remove obsolete comment
1095 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
1097 * paragraph.C (bibitem):
1098 * buffer_funcs.C (setCounter):
1099 * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
1101 2005-05-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1103 * text3.C (getStatus): immediately return after setOnOff
1105 * rowpainter.C: fix drawing of appendix start
1107 2005-05-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1109 * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
1110 SwitchBetweenClasses and remove the unused return value.
1111 Handle character styles, too
1113 2005-05-03 Martin Vermeer <martin.vermeer@hut.fi>
1115 * factory.C (createInset): handle undefined character styles
1117 2005-05-02 Angus Leeming <leeming@lyx.org>
1119 * buffer.C: protect the #include of utime.h with a preprocessor
1122 2005-05-02 Angus Leeming <leeming@lyx.org>
1124 * lyx_cb.C: artificially define fork() on Windows as a no-op failing
1125 function so that auto-saving works, albeit in a blocking manner.
1127 * Makefile.am: make compilation of the client sub directory, of
1128 aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
1129 on conditionals set at configure time.
1131 * SpellBase.[Ch]: no longer an abstract base class. Instead,
1132 it can be compiled in its own right but has no-op functionality.
1134 * aspell.C, pspell.C: remove preprocessor guards. The files should
1135 be compiled only if the necessary functionality exists.
1137 * lyxserver.C, lyxsocket.C: disable on Windows.
1139 2005-05-01 Martin Vermeer <martin.vermeer@hut.fi>
1141 * text.C (leftMargin): Fix the parindent use bug (1764)
1144 2005-04-28 Michael Schmitt <michael.schmitt@teststep.org>
1146 * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
1149 2005-04-25 Angus Leeming <leeming@lyx.org>
1157 include <config.h> in .C files, not .h ones.
1159 protect headers inside preprocessor guards.
1161 2005-04-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1163 * FuncStatus.h (StatusCodes): document
1165 2005-04-21 André Pönitz <poenitz@gmx.net>
1167 * FuncStatus.h (enabled, onoff): document
1169 2005-04-19 Angus Leeming <leeming@lyx.org>
1171 * BufferView_pimpl.C (cursorToggle): no longer test whether
1172 any child processes have been reaped before calling
1173 handleCompletedProcesses().
1175 2005-04-19 Martin Vermeer <martin.vermeer@hut.fi>
1177 * text3.C (dispatch): fix, finally fix, the language problem in
1178 new lyxtexts, without disabling on-the-fly font changes (Helge's
1181 2005-04-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1183 * text3.C (dispatch): set cursor on double/triple click events
1186 2005-04-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1188 * lyxfunc.C (actOnUpdatedPrefs): avoid warning
1189 (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
1191 * rowpainter.C (paintFirst): simplify the code a little bit. In
1192 particular, remove the test for secnumdepth.
1193 * text.C (setHeightOfRow): only allocate space for chapter number
1194 when updateCounters provided an actual label, instead of looking
1195 at secnumdepth directly.
1197 * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
1199 * buffer_funcs.C (setCounter): only number LABEL_COUNTER
1200 paragraphs when secnumdepth is large enough or, for environments,
1201 when they are not the first in a sequence.
1203 2005-04-17 Angus Leeming <leeming@lyx.org>
1205 * buffer.C (makeLaTeXFile): replace code to manipulate a path
1206 containing space and '~' characters with a call to latex_path().
1208 2005-04-17 Angus Leeming <leeming@lyx.org>
1210 * converter.C (convert): protect all args of convertDefault.sh
1213 2005-04-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1215 * text3.C (dispatch): change the layout to "Caption" after inserting
1218 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
1220 * text3.C (dispatch): fix language problem in newly created
1221 textinsets (and main text) in non-english docs
1223 2005-04-13 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1225 * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
1226 * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
1227 * text3.C (getStatus): disable LFUN_INSET_MODIFY
1229 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
1233 * text2.C (getFont):
1234 * rowpainter.C (getFont): Fix metrics bug introduced by inset
1237 2005-04-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1239 * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
1240 output of \item arguments without trailing text.
1242 2005-04-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1244 * FontIterator.C (operator*): avoid a copy of the font.
1246 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
1248 * rowpainter.C (getFont): fix language bug from previous fix
1250 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
1252 * rowpainter.C (RowPainter, getFont): fix font inside inset
1255 2005-04-06 Martin Vermeer <martin.vermeer@hut.fi>
1257 * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
1258 preventing inserted font, deco, delim insets jumping to start of
1261 2005-03-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1263 * lyxfunc.C (dispatch): translate message before sending it to the
1266 2005-03-29 Angus Leeming <leeming@lyx.org>
1268 * lyx_main.C (priv_exec): call os::internal_path on each file passed
1269 to LyX on the command line.
1271 2005-03-25 Stephan Witt <stephan.witt@beusen.de>
1273 * vc-backend.C: use QuoteName to protect file names wherever
1276 2005-03-27 Martin Vermeer <martin.vermeer@hut.fi>
1279 * BranchList.h: fix bugs 1844,1845: document settings don't
1282 2005-03-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1284 * lyxrc.C (setDefaults, read, output, getDescription): add support
1285 for tex_allows_spaces.
1287 * exporter.C (Export): allows files in directory containing spaces
1288 if tex_allows_spaces is true.
1290 * buffer.C (makeLaTeXFile): if the document path contains spaces,
1291 output it in double quotes.
1293 2005-03-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1295 * rowpainter.C: use default text height for drawing change tracker
1298 2005-03-21 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1300 * lyx_main.C: fix binding of tabulator key (especially S-Tab).
1302 2005-03-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1304 * lyx_main.C (queryUserLyXDir): fix logic when LyX support
1305 directory is missing.
1307 2005-03-11 Martin Vermeer <martin.vermeer@hut.fi>
1309 * text2.C: fixed the fix, extended to other case.
1311 2005-03-08 Martin Vermeer <martin.vermeer@hut.fi>
1313 * text2.C: fix for cursor up/down stuck in math [bug 1792]
1315 2005-03-07 Alfredo Braunstein <abraunst@lyx.org>
1317 * text2.C (cursorUp): get rid of a crash
1318 * text.C (x2pos): add an assert
1320 2005-03-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1322 * lyxfunc.C (getStatus): fix warning when assertions are disabled
1326 * dociterator.C: include <boost/current_function.hpp>, which is
1327 needed when assertions are disabled.
1329 2005-03-05 Johnathan Burchill <jkerrb@users.sourceforge.net>
1331 * text2.C: fix for stuck cursor when traversing two
1332 consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
1334 2005-02-25 Andreas Vox <avox@arcor.de>
1336 * output_docbook.C (makeParagraph): suppress trailing newline
1337 after a run of paragraphs
1339 2005-02-28 Johnathan Burchill <jkerrb@users.sourceforge.net>
1341 * paragraph.C: fix for confused change tracker when pasting
1342 text that begins with a lineseparator. [bug 1827]
1343 (setChange(0, Change::INSERTED);)
1345 * paragraph_funcs.C: fix for lost changes on triple-paste
1346 in change tracking mode [bug 1827] (par.setChange()).
1348 2005-02-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1350 * text2.C (updateCounters, setCounter, expandLabel): move to
1353 * buffer_funcs.C (updateCounters): turn into a free standing
1354 function and add a buffer parameter. Remove dead code for tracking
1356 (setCounter): change into a free-standing function which gets a
1357 dociterator as argument. Use this iterator to fix captions in a
1358 simple way. When no float is found above the caption, use the
1359 labelstring of the caption layout as default.
1361 * text.C (breakParagraph, backspace):
1362 * text2.C (init, setLayout, changeDepth):
1363 * text3.C (dispatch):
1364 * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
1367 * dociterator.C (forwardPar): make it much faster by calling
1368 forwardPos() only when really necessary.
1370 * output_docbook.C (makeCommand): adapt to expandLabel move.
1372 * cursor.C: remove unused variable
1374 2005-02-24 Johnathan Burchill <jkerrb@users.sourceforge.net>
1376 * paragraph_funcs.C: fix crash when pasting insets in change
1377 tracking mode [bug 1277] (honour change type in moveItem).
1379 2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1381 * LaTeX.C (scanLogFile): recognize pdfTeX warnings
1383 2005-02-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1385 * BufferView.C (setCursor): change to use a DocIterator.
1386 (gotoLabel): use BufferView::setCursor (other part of bug 781).
1387 (putSelectionAt): adapt to BufferView::setCursor change.
1389 * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
1390 moved here from LyXText and rewritten to use proper cursor
1391 methods. Fixes bug 1787, 616 and 835.
1393 * BufferView_pimpl.C (restorePosition): set the cursor correctly
1394 when inside an inset (part of bug 781).
1395 (dispatch): adapt to change of BufferView::setCursor.
1396 (getStatus, dispatch): handle LFUN_GOTOERROR,
1397 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1399 * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
1400 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1401 * text3.C (gotoNextInset, gotoInset): removed.
1403 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1405 * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
1407 2005-02-15 Angus Leeming <leeming@lyx.org>
1409 * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
1410 can be used meaningfully in a comparison.
1412 2005-02-13 André Pönitz <poenitz@gmx.net>
1414 * bufferview_funcs.C (coordOffset): improve cursor drawing
1416 2005-02-13 André Pönitz <poenitz@gmx.net>
1418 * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
1419 * Cursor.C (dispatch): use fixIfBroken
1420 * lyxfunc.C (getStatus): use fixIfBroken
1422 2005-02-15 Angus Leeming <leeming@lyx.org>
1424 * lyx_main.C (error_handler):
1426 * lyxrc.C (setDefaults):
1428 #include "environment.h".
1430 * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
1432 2005-02-15 Angus Leeming <leeming@lyx.org>
1434 * lyxserver.C (startPipe): squash MSVC warning "local variable
1435 'fd' used without having been initialized".
1437 2005-02-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1439 * BufferView_pimpl.C: revert accidental commit.
1441 2005-02-14 André Pönitz <poenitz@gmx.net>
1443 * dociterator.[Ch]: new member forwardPosNoDescent(),
1444 which doesn't enter nested insets.
1445 * text2.C (setFont): use forwardPosNoDescent() instead
1446 of ForwardPos() (fixes crash on font change).
1448 2005-02-13 Angus Leeming <leeming@lyx.org>
1450 * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
1451 only if lyxrc.path_prefix is not empty.
1453 2005-02-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1455 * bufferparams.C (readGraphicsDriver): prevent crash
1457 2005-02-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1459 * text2.C (setCounter): check for inInset() == 0
1461 2005-02-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1463 * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
1464 but use update() to get correct screen display; use convert
1465 instead of istringstream.
1466 (getStatus): handle LFUN_GOTO_PARAGRAPH
1468 * lyxfunc.C (dispatch, getStatus): do not handle
1469 LFUN_GOTO_PARAGRAPH here.
1471 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1473 * text3.C (dispatch): size() -> depth()
1475 * text2.C: remove some debug output
1477 * paragraph.C: ws changes only
1479 * lyxfunc.C (getStatus): size() -> depth()
1481 * dociterator.h (clear, push_back, pop_back, internalData,
1482 operator[], resize, empty): new functions
1483 Make StableDocIterator and operator== be friends. Don't inherit
1484 from std::vector use a privat class variable slices_ instead.
1487 * dociterator.C: update because of not inheriting from std::vector
1488 anymore. Call explictly to slices_ instead. Use depth() instead of
1489 size() and top() instead of back()
1491 * cursor.C: chagne size() -> depth and back() -> top(). Also
1492 remove some direct operator[](i) calls in favour of foo[i]
1493 (getFont): remove some dead code
1495 * bufferview_funcs.C (coordOffset): size() -> depth()
1497 * buffer.C: ws changes only
1499 * CutAndPaste.C (eraseSelection): back() -> top()
1501 * BufferView_pimpl.C (selectionRequested): back() -> top()
1503 * BufferView.C (setCursor): size() -> depth()
1505 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1507 * text3.C (cursorPrevious): return true if depm changed something
1509 (dispatch): rename sl to oldTopSlice, remove moving use the new
1510 NoUpdate func attrib instead. Make sure that needsUpdate is set
1511 for function that have NoUpdate, but where depm might have changed
1514 * text2.C (cursorLeft): make us return true if depm changed
1516 (cursorRight): ditto
1517 (cursorUpParagraph): ditto
1518 (curosrDownParagraph): ditto
1519 (cursorUp, cursorDown): ditto, make sure to read comments in code
1520 (deleteEmptyParagraphMechanism): remove an assert, also return
1521 true if just a single char was deleted.
1523 * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
1524 cursor that we modify, to avoid modifying an active cursor before
1525 we call setCursor. This allows depm to run. Also return true if
1526 depm deleted something.
1528 * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
1529 cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
1530 cursorDownParagraph, cursorPrevious and cursorNext, return true if
1531 something was changed in the buffer because of them (ie. depm run)
1533 * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
1534 debug messages. Make update by default be false. Make sure that
1535 the result of update is retained throught several calls down to
1538 * LyXAction.h: add a new func_attrib: NoUpdate
1540 * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
1541 LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
1542 LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
1544 (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
1546 2005-02-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1548 * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
1549 bv_->owner(), bv_->buffer() by direct references to the private
1551 (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
1552 (getStatus): isSavedPosition() is in BufferView::Pimpl.
1553 (fitCursor): center() is in BufferView::Pimpl.
1554 (getStatus, trackChanges, dispatch): no need for a temporary buf
1556 (fitCursor, workAreaDispatch): use workarea().workheight()
1558 2005-02-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1560 * CutAndPaste.C (pasteSelectionHelper): fix a crash
1562 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1564 * buffer.C: format up to 241.
1565 * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
1566 break if pasting into ERT
1567 * lyxfunc.C (getStatus): suppress mathpanel and
1568 LFUN_DIALOG_SHOW_NEW_INSET in ERT
1570 2005-02-01 Angus Leeming <leeming@lyx.org>
1572 * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1574 2005-02-01 Angus Leeming <leeming@lyx.org>
1576 * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1577 calling fs::is_directory().
1579 2005-01-31 Angus Leeming <leeming@lyx.org>
1581 * lyx_main.C (priv_exec): specify explicitly the relative location
1582 of the top level build directory when run in-place.
1584 2005-01-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1586 * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1587 LyXText containing the cursor, not the top-level one.
1589 * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1591 (insertStringAsLines): rename par to pit; use temporary variable
1592 par to hold a Paragraph; do not store par.layout() in a variable,
1593 since the pointer may die when breaking paragraphs; pass pars to
1594 breakParagraph() instead of Buffer::paragraphs().
1596 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1598 * lyxlex_pimpl.h: #include <fstream>.
1600 * BufferView.[Ch] (getLyXText): add a const version.
1602 * BufferView_pimpl.C: add debug aids.
1607 * paragraph_funcs.h: add commentary explaining what the class does.
1610 * coordcache.[Ch]: add lots of commentary.
1611 (startUpdating, doneUpdating): debug aids.
1612 (arrays, insets, parPos, getParPos): accessors to private data.
1614 * cursor_slice.[Ch] (text): add a const version.
1615 * dociterator.[Ch] (text, innerText): add const versions.
1617 * lyxtext.h (breakParagraph): change the keep_layout arg to a
1620 * paragraph.C (getRow, pos2ros): add asserts.
1622 * paragraph.h: add commentary. Lots of.
1624 * paragraph.[Ch] (metrucs, draw): removed.
1627 * rowpainter.[Ch]: const-correct changes.
1629 * text.C: various obvious clean-ups. Removal of ancient cruft.
1632 2005-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
1634 * vc-backend.C (find_file): rewrite to use boost.filesystem
1637 * main.C (main): set default name check for boost.filesystem to
1640 * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1643 (actOnUpdatedPrefs): ditto
1645 * lyx_main.C (init): rewrite to use boost.filesystem
1646 (queryUserLyXDir): ditto
1648 * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1649 (getContentsOfAsciiFile): ditto
1651 * lastfiles.C (readFile): rewrite to use boost.filesystem
1653 * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1655 * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1656 (loadLyXFile): ditto
1658 * buffer.C (Buffer): adjust for destroydir
1659 (getLogName): rewrite to use boost.filesystem
1660 (setFileName): ditto
1661 (save): use fs::copy_file (from fs_extras)
1663 * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1665 * LaTeX.C (run): rewrite to use boost.filesystem
1666 (scanAuxFiles): ditto
1667 (handleFoundFile): ditto
1669 2005-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1671 * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1673 * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1675 2005-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1677 * lyxlayout.[Ch]: change some vars from float to double
1679 * buffer.C (readFile): make a local var const
1681 * Several files: use convert<> instead of atoi,strToXXX and friends
1683 2005-01-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1685 * LaTeXFeatures.[Ch]: Add a static list packages_ that
1686 holds the contents of packages.lst. New functions getAvailable
1687 and isAvailable to parse and check that list, resp.
1691 * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1693 * bufferparams.[Ch]: new param output_changes.
1695 * Buffer.C: increase file format to 240.
1696 Use output_changes and isVailable.
1700 * paragraph_pimpl.C: Use output_changes and isVailable.
1702 2005-01-23 Angus Leeming <leeming@lyx.org>
1704 * output_latex.C: #include "insetbibitem.h", rather than
1705 forward declare function bibitemWidest.
1707 2005-01-21 Andreas Vox <vox@isp.uni-luebeck.de>
1709 * lyx_main.C (init): make it compile on the Mac.
1711 2005-01-20 Angus Leeming <leeming@lyx.org>
1713 * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1714 (setLyXMisc): (char string literal) != (char string literal) is
1715 performing a comparison on the addresses. Convert one operand
1716 explicitly to string to guarantee expected behaviour.
1719 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1722 * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1724 * output_plaintext.C: remove unneeded #include gzstream.h.
1726 2005-01-20 Angus Leeming <leeming@lyx.org>
1728 * SpellBase.h: rename some of the elements of the Result enum.
1735 * pspell.C (check): ditto
1737 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1739 * buffer.C: add #include <fstream>.
1741 * lyx_main.C (init): Compile fix.
1743 * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1745 2005-01-20 Angus Leeming <leeming@lyx.org>
1747 * mover.h: change commentary to reflect the changed meaning of
1748 the $$s placeholder.
1750 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1752 * output_linuxdoc.C (linuxdocParagraphs): silence warning
1754 * lyxfind.C (MatchString::operator()): remove bogus semicolon
1756 2005-01-20 Angus Leeming <leeming@lyx.org>
1758 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1759 printing diagnostic data by not dereferecing an iterator past the
1762 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1764 * buffer.C (readHeader): use "&&" rather than "and".
1766 * lyxserver.h (inPipeName, outPipeName): make these const.
1768 2005-01-19 Angus Leeming <leeming@lyx.org>
1770 * lyx_main.C (error_handler, init): protect SIGHUP with
1771 #ifdef SIGHUP guards.
1773 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1775 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1777 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1779 * text.C (setHeightOfRow): add a margin at the top and bottom of
1780 the document (bug 1761)
1782 2005-01-17 Angus Leeming <leeming@lyx.org>
1784 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1785 with "python ". Workaround for a brain-dead Windows.
1787 2005-01-16 Angus Leeming <leeming@lyx.org>
1789 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1790 for MacOSX and Windows to use prependEnvPath.
1791 Strip out the hard-coded block to add elements to the PATH for
1792 MacOSX and replace it with a call to prependEnvPath using the
1793 contents of LyXRC::path_prefix.
1794 (queryUserLyXDir): strip out the code to run reconfigure, instead
1795 returning a boolean indicating the necessity to do so.
1796 (reconfigureUserLyXDir): contains the code to reconfigure the
1797 user support directory. Is now called after the various LyXRC data
1798 files have been read.
1800 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1802 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1804 * converter.[Ch] (convert): take a new parameter try_default. Use
1805 a default converter (imagemagick) if try_default is true.
1807 2005-01-13 Angus Leeming <leeming@lyx.org>
1809 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1810 os::cygwin_path_fix.
1811 (write): output LyXRC::cygwin_path_fix as necessary.
1813 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
1816 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1818 2005-01-12 Angus Leeming <leeming@lyx.org>
1820 * lyx_main.C (init): set the PATH variable to include the
1821 directory containing the LyX binary when running on Mac or Windows.
1823 2005-01-12 Angus Leeming <leeming@lyx.org>
1825 * lyx_main.C (init): remove cruft that purports to set the locale
1826 dir. It doesn't and is not needed anyway.
1828 2005-01-10 Angus Leeming <leeming@lyx.org>
1830 * Makefile.am: remove the lyx_main.C special casing.
1832 * BufferView_pimpl.C:
1838 * messages.C: use support/package.h to provide the paths to the
1839 various directories used by LyX.
1841 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1843 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1844 layout if pasting into an empty paragraph)
1846 2005-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
1848 * tex-accent.C: add <string>
1850 2005-01-06 José Matos <jamatos@lyx.org>
1852 * ParagraphParameters.C (write): put every parameter in its own line.
1853 * paragraph.C (write): reduce number of consecutive empty lines exported.
1854 * buffer.C (LYX_FORMAT): increase file format to 239.
1856 2005-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1858 * everywhere: change support/tostr.h -> support/convert.h
1860 * tabular.C: make all write_attributes templates, tostr -> convert
1862 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1863 (emptyTag): and -> &&, and fix type for ret from getChar
1864 (getFirstWord): fix type for ret from getChar
1865 (onlyText): and -> &&
1866 (simpleDocBookOnePar): and not -> && !, fix type for ret from
1869 * toc.C (goTo, action):
1870 * text3.C (dispatch):
1871 * text.C (currentState):
1872 * tex-accent.C (DoAccent):
1875 * lyxfunc.C (menuNew):
1876 * lyxfinc.C (replace):
1877 * counters.C (laberItem):
1878 * bufferview_funcs.C (font2string):
1879 * bufferparams.C (writeFile):
1880 * buffer.C (readFile):
1882 * MenuBackend.C: tostr -> convert
1884 * LaTeX.C (runMessage): fix format
1885 (scanAuxFiles): tostr -> convert
1887 * BufferView_pimpl.C (savePosition): fix format
1888 (restorePosition): ditto
1891 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1893 * Spacing.[Ch]: New method getValueAsString().
1897 * ParagraphParameters.C:
1900 * text3.C: store/read spacing value as string.
1902 * rowpainter.C: change float value (spacing_val) to double.
1904 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1905 broken custom document spacing).
1907 2005-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
1909 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1910 namespace, also more use of temp references and const
1912 * cursor.[Ch] (getStatus): move to lyxfunc.C
1914 * bufferparams.C: reformat slightly
1916 * bufferview_funcs.C (font2string): constify arg
1922 * buffer_funcs.C: (many funcs): constify arg on function
1923 definitions, also make more local vars const, also add ASSERTS on
1926 * buffer.C (LYX_FORMAT): put const in correct place
1927 (many funcs): constify arg on function definitions, also make
1928 more local vars const
1930 * aspell_local.h: remove "struct" from typdef setup
1932 * aspell.C (check): make word_ok const
1933 (nextMiss): simplify slightly
1936 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1938 * lyxrc.[Ch]: store all float values as strings.
1939 use int (not float) for lyxrc.dpi.
1941 2005-01-04 Angus Leeming <leeming@lyx.org>
1943 * lyx_cb.C (Reconfigure):
1944 * lyx_main.C (queryUserLyXDir):
1945 to run the <system_lyxdir>/configure correctly on Windows, prefix
1946 the path to the script with "sh " when generating the string that
1947 is passed to system().
1949 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1951 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1953 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1955 * lyxlength.C (asLatexString): get rid of setprecision
1957 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1959 * text2.C (setLayout): remove unused variable endpit.
1960 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1962 * paragraph.C (onlyText): remove unused variable style.
1964 * cursor.C (bruteFind): remove unused variables beg and end.
1966 * Makefile.am (dist_noinset_DATA): not needed anymore
1968 * cheaders/*: remove.
1970 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1972 * text3.C: fix LFUN_MATH_MODE.
1974 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1976 * buffer_funcs.C (countWords): new function. Counts words between
1979 * BufferView_pimpl.C (getStatus, dispatch): handle
1982 * LyXAction.C (init):
1983 * lfuns.h: add LFUN_WORDS_COUNT.
1985 2004-12-19 Angus Leeming <leeming@lyx.org>
1987 * buffer.C (save): s/slashify_path/internal_path/.
1989 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1991 * lyxfind.C (findChange): do not search for end of pars, because
1992 the change tracker cannot handle this (fixes bug 1719).
1994 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
1996 * paragraph.[Ch] (autoBreakRows): remove
1998 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
2000 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
2001 avoid using the paragraph one
2003 * text2.C (LyXText, insertStringAsLines): adjust
2005 2004-12-16 Angus Leeming <leeming@lyx.org>
2009 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
2011 2004-12-14 Angus Leeming <leeming@lyx.org>
2013 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
2015 * bufferlist.C (emergencyWrite):
2016 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
2019 2004-12-14 Angus Leeming <leeming@lyx.org>
2021 * main.C: (main): no longer pass pointers to os::init.
2023 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
2025 * undo.C (textUndoOrRedo): simplify logic, fix a crash
2026 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
2028 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
2031 * text3.C: remove selection_possible global flag
2033 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
2035 * text2.C (getSelectionSpan): remove
2036 (changeDepth, changeDepthAllowed): adjust
2038 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
2040 * Makefile.am (BOOST_LIBS): use boost variables
2042 2004-12-03 José Matos <jamatos@lyx.org>
2044 * buffer.C: format up to 238.
2046 2004-12-03 José Matos <jamatos@lyx.org>
2048 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
2050 2004-12-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2052 * cursor.C (goUpDown): remove call to idxUpDown2
2054 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2056 * tabular.[Ch]: use size_t-like types for cell, row and column
2059 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2061 * lyxfunc.C (getStatus): do not lose previous information when
2062 calling BufferView::getStatus; do not set a default "Command
2063 disabled" message at the beginning, but just before returning.
2065 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2067 * cursor.h (getStatus): add better comment from src/cursor.C
2069 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2071 * text3.C (getStatus): return false when the lfun is not handled
2073 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2075 * broken_headers.h: remove
2077 * Makefile.am (lyx_SOURCES): remove broken_headers.h
2079 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
2081 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
2082 offset_ref accessors
2084 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
2085 top_y_, merge fitcursor with update
2086 (updateScrollbar, scrollDocView, fitCursor, center, update): new
2088 (metrics): introduce
2089 (workAreaDispatch): adapt to new coord scheme
2090 (redoCurrentBuffer): remove
2092 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
2094 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
2097 * coordcache.[Ch]: add paragraph cache and helpers
2099 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
2102 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
2103 (targetX, setTargetX): introduce
2105 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
2106 baseline -> ascent, as the rest of lyx
2108 * lyxtext.h: remove redoParagraphs, updateParPositions,
2109 fullRebreak, redoParagraphInternal. move dist to anon namespace in
2110 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
2111 have ascent/descent (ascent is ascent of first par)
2113 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
2116 * paragraph.[Ch]: unify dimension handling with the rest of lyx
2118 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
2120 * pariterator.C: fix infinite loop introduced in par->pit renaming
2122 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
2123 in insets and LyXText, draw two off-screen paragraphs using
2124 NullPainter, and adapt to new coord scheme
2128 * text3.C: adapt lfun handlers to the new coord scheme, which
2129 means: there's only guaranteed coord information for onscreen pars
2130 plus one above and one below. This implies that one can do search
2131 from y coordinates in the range [-1,workHeight]
2133 2004-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2135 * rename a lot of InsetOld to InsetBase
2137 2004-11-25 Angus Leeming <leeming@lyx.org>
2139 * BufferView_pimpl.C:
2141 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
2143 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2145 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
2146 call BufferView::getStatus if LCursor::getStatus did nothing
2147 (setStatusMessage, getStatusMessage): removed.
2149 * FuncStatus.C (message): new methods. Used to provide an error
2150 message indicating why a command is disabled.
2151 (clear, |=, FuncStatus): update for message.
2153 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2155 * lyxfunc.C (dispatch): always call sendDispatchMessage
2157 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
2160 * BufferView_pimpl.C:
2165 * cursor_slice.[Ch]:
2168 * paragraph_funcs.C:
2174 * undo.C: par->pit renaming
2176 2004-11-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2178 * tabular.C (cellstruct): use initialization, store a shared_ptr
2179 to insettext instead of the insettext directly, adjust to fit.
2180 (operator=): new function
2181 (swap): new function
2182 (rowstruct): use initialization
2183 (columnstruct): use initialization
2184 (ltType): use initialization
2187 * lyxlength.h (swap): new function
2189 * LColor.[Ch] (operator=): use the common semantics
2191 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2193 * lyxfind.C (findNextChange): update the bufferview after setting
2196 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2198 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
2199 number of InsetOptArgs has already been inserted.
2201 * output_latex.C (latexOptArgInsets): new method. This outputs all
2202 the optarg insets, up to the limit defined in the layout file.
2203 (optArgInset): removed
2204 (TeXOnePar): call latexOptArgInsets; correctly update texrow
2206 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2208 * paragraph.C (isLetter): remove special spellchecker-related
2209 code; return true also for digits
2210 (isWord, isKomma): remove
2212 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
2213 * lyxfind.C (MatchString()): use isLetter instead of isWord
2215 2004-11-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2217 * pariterator.h (operatir=): comment out un-implemented member
2220 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
2223 2004-11-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2225 * lyxfont.h: include LColor.h to satisfy concept checks.
2227 2004-11-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2229 * pariterator.h: add typdefs for value_type, difference_type,
2230 pointer and reference to satisfy concept checks. Also add default
2231 constructor for same reason.
2233 * pariterator.C (operator++): add post-increment operator to
2234 satisfy concept checks.
2236 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
2239 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
2241 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
2242 checks. Also rename base_type to BaseType to follow naming
2245 * FloatList.h: include Floating.h to satisfy concept checks.
2247 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2249 * lyxfunc.C (getStatus): when the origin of the request is menu or
2250 toolbar, and the LyXView does not have focus, do as if there was
2251 no buffer (bug 1720)
2253 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
2254 FuncRequest to individual entries of LFUN_SEQUENCE
2256 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2258 * output_latex.C (TeXOnePar): override runparams.moving_arg
2259 according to the needprotect value of the current paragraph (bug
2262 * paragraph.C (simpleTeXOnePar): no need to override
2263 runparams.moving_args here
2265 2004-11-14 John Spray <spray_john@users.sourceforge.net>
2267 * vspace.C: fix off-by-one-error, related to fix #1682
2269 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2271 * lengthcommon.C: a more general fix for bug 1682
2273 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
2275 * text.C (backspace): fix crash
2277 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2279 * format.[Ch] (getFormatFromFile): new method
2280 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
2282 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2284 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
2286 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2288 * lyxfunc.C (dispatch): remove the verbose argument
2289 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
2292 * kbmap.C (defkey): set the origin of func to KEYBOARD
2294 * MenuBackend.C (MenuItem):
2295 * ToolbarBackend.C (add): set the origin of func to UI
2297 * funcrequest.[Ch]: add origin member, which indicates which part
2298 of LyX requests an action
2300 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2302 * converter.C (move): don't lie in the error message
2303 * converter.h (isReachable, move): document
2305 2004-11-07 Lars Gullik Bjønnes <larsbj@gullik.net>
2307 * buffer.C: remove unused using lyx::support::atoi
2308 * paragraph_funcs.C: ditto
2310 2004-11-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2312 * bufferlist.C (exists): use bind and equal_to instead of
2315 * lyxtextclasslist.C (NumberOfClass): ditto
2317 * cursor.C (insert): use for_each instead of explicit for loop
2319 * bufferlist.C (getFileNames): use std::transform and
2320 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
2322 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
2325 * buffer.C (changeLanguage): use for_each instead of explicit for
2327 (hasParWithID): implement using getParFromID
2329 * LaTeXFeatures.C: ws change only
2331 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
2334 * BufferView_pimpl.C (trackChanges): use for_each instead of
2337 2004-11-04 André Pönitz <poenitz@gmx.net>
2340 * undo.C (textUndoOrRedo): fix crash when creating undo information.
2342 * dociterator.C (asDocIterator): use hard assert again.
2344 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2346 * lyxlength.C (asLatexString): rewrite so that it does not use
2349 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2351 * text3.C (specialChar, dispatch): make sure cursor moves to the
2352 right after inserting an inset
2354 2004-11-02 José Matos <jamatos@lyx.org>
2356 * output_docbook.C (docbook):
2357 * paragraph.C (getID):
2358 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
2359 garantee that the output is always legal.
2361 * tabular.C (docbook):
2362 * outputprams.[Ch]: remove mixed contents.
2364 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2366 * text2.C (setCounter): prevent endless loop
2368 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2370 * exporter.C (copyFile): use the mover instead of support::copy()
2371 * exporter.C (Export): pass format and latex name to copyFile()
2372 * exporter.h (addExternalFile): document
2373 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
2375 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2377 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
2379 2004-10-30 José Matos <jamatos@lyx.org>
2381 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
2382 text and no inset or font change. This allows to use CDATA
2383 sections just for the whole paragraph.
2385 2004-10-30 José Matos <jamatos@lyx.org>
2387 * paragraph.C (getFirstWord): remove unused variable.
2389 2004-10-30 José Matos <jamatos@lyx.org>
2391 * paragraph.C (getFirstWord): the content should always be escaped
2393 (simpleDocBookOnePar):
2394 * output_docbook.C (makeEnvironment): replace reference to CDATA
2397 2004-10-30 José Matos <jamatos@lyx.org>
2399 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
2401 2004-10-30 José Matos <jamatos@lyx.org>
2403 * output_docbook.C (makeParagraphs):
2404 * paragraph.[Ch] (emptyTag): for docbook and company, if the
2405 standard paragraph has only a given type of content drop the wrapper.
2407 2004-10-29 José Matos <jamatos@lyx.org>
2409 * output_docbook.C (makeEnvironment):
2411 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
2413 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
2415 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
2416 (cleanID): sanitize any id.
2418 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2420 * buffer.C, lyxlex_pimpl.C:
2421 * lyxlex_pimpl.C (setFile):
2422 s/getExtFromContents/getFormatFromContents/
2424 2004-10-28 José Matos <jamatos@lyx.org>
2426 * output_docbook.C (makeEnvironment): move id to broadest possible
2429 * sgml.C (openTag): apply substitution of <> for all attributes.
2431 2004-10-28 José Matos <jamatos@lyx.org>
2433 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2434 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2435 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
2437 * sgml.[Ch]: new version for open and closeTag for paragraph and
2438 for strings. Now they handle the ids of paragraphs.
2440 2004-10-26 Angus Leeming <leeming@lyx.org>
2442 * Makefile.am: add mover.[Ch].
2444 * converter.C (convert, move): use the new Movers to move external
2445 files to the temp directory.
2447 * lyx_main.C (init): ensure that the global system_movers data
2450 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
2453 * mover.[Ch]: new files, defining a Mover as a utility to move an
2454 external file between directories and, if necessary, manipulate this
2455 file using a helper script.
2457 2004-10-25 José Matos <jamatos@lyx.org>
2459 * output_docbook.C (makeCommand): merge two if's that tested the
2462 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2464 * sgml.C (escapeString): fix warning in a better way
2466 2004-10-25 José Matos <jamatos@lyx.org>
2468 * sgml.C (escapeString): import the require boosts header file for
2469 tie, and avoid a signed unsigned comparison.
2471 2004-10-25 José Matos <jamatos@lyx.org>
2473 * sgml.h: add #include <string>
2475 2004-10-25 José Matos <jamatos@lyx.org>
2477 * sgml.[Ch] (escapeString): new function to escape all the string.
2479 2004-10-24 José Matos <jamatos@lyx.org>
2481 * paragraph.[Ch] (getFirstWord): new function to get the first
2482 word. Useful for description.
2483 (simpleDocBookOnePar): remove depth argument, add another that
2484 says where to start the paragraph.
2486 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2487 use the new functions to fix cleanly the support for descriptions.
2489 2004-10-24 José Matos <jamatos@lyx.org>
2491 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2492 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2493 * output_linuxdoc.C (linuxdocParagraphs):
2494 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
2495 add buffer as argument.
2497 2004-10-24 José Matos <jamatos@lyx.org>
2499 * output_docbook.C (makeEnvironment, searchEnvironment): place
2500 CDATA inside paragraphs and fix scope for listitems.
2502 2004-10-24 José Matos <jamatos@lyx.org>
2504 * output_docbook.C: remove using statement for stack.
2506 2004-10-23 José Matos <jamatos@lyx.org>
2508 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
2509 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
2510 docbook. The new scheme is recursive and makes use of iterators, the
2511 same as latex export works.
2512 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
2513 directly with the paragraph contents. This code was moved up to
2514 output_docbook.C (docbookParagraphs).
2515 * sgml.C (openTag, closeTag): removed unneeded newlines.
2516 (closeEnvTags) removed.
2518 2004-10-23 André Pönitz <poenitz@gmx.net>
2520 * undo.C (textUndoOrRedo):
2521 * dociterator.C (asDocIterator): work around crash
2523 * cursor.C (getStatus): replace ASSERT by more verbose error message
2524 and manual correction of the problem. Should increase stability
2525 while providing more sensible information.
2527 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2529 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
2531 * bufferlist.C (previous, next): new methods
2534 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
2536 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
2538 * buffer.C (makeDocBookFile): add dsssl stylesheet control
2539 entities to preamble.
2541 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2543 * messages.C (Pimpl): strip off translation context information
2545 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2547 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
2548 the cursor is correct (bug 1694)
2550 2004-10-13 José Matos <jamatos@lyx.org>
2552 * output_docbook.C (docbookParagraphs): fix closing tags in the
2553 end of the document.
2555 2004-10-09 José Matos <jamatos@lyx.org>
2557 * buffer.C: format up to 237.
2558 * bufferparams.C (write): use tostr to convert booleans to strings.
2560 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
2562 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
2564 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2566 * LaTeX.C: implement use of babel language in xindy.
2568 2004-10-05 José Matos <jamatos@lyx.org>
2570 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2571 Add new translators to help reading and writing the lyx file.
2573 2004-10-05 José Matos <jamatos@lyx.org>
2575 * ParagraphParameters.C (read):
2576 * text.C (readParToken): replace nexToken by more appropriate lex
2579 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
2581 * LaTeX.C (runMakeIndex):
2582 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2583 (usually 'makeindex') configurable.
2585 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2586 with a variable rather than with a number.
2588 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2590 * output_latex.C (TeXOnePar): make sure font setting is the first
2591 thing that gets output (and the last at the end). Should fix bug
2594 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2596 * pch.h: use proper signal include
2598 * LaTeX.h: Use preferred calling of Boost.Signal
2601 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2603 * pch.h: dont include <boost/function/function0.hpp>
2605 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2607 * paragraph_pimpl.h: remove usage of ShareContainer
2609 * paragraph_pimpl.C: remove initialization of ShareContainer.
2611 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2615 * BufferView.C (putSelectionAt): change the semantics when
2616 backwards == true: now, this just swaps cursor and anchor wrt the
2619 * BufferView.h (putSelectionAt): add some documentation
2621 * lyxfind.C (findBackwards): rewrite using while(). In particular,
2622 make sure backwardChar is done at least once (to avoid getting
2624 (findNextChange): use putSelectionAt in the forward direction
2625 (operator()): use Paragraph::isWord
2627 2004-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2629 * Spacing.C (set): c_str fix
2631 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2633 * lyx_cb.C (Reconfigure): quote the name of configure script in
2634 case it contains spaces
2636 2004-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2640 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2641 (BOOST_LIBS): use top_buildir when looking for the file
2643 2004-08-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2645 * pch.h: do not use include boost/format.hpp, multiple symbols
2646 will result (gcc bug)
2649 2004-08-23 José Matos <jamatos@lyx.org>
2651 * bufferparams.C (readToken): fix reading of the author field.
2653 2004-08-20 José Matos <jamatos@lyx.org>
2655 * lyxrc.C: remove support/translator.h inclusion since it is not used.
2657 2004-08-20 José Matos <jamatos@lyx.org>
2659 * lyxlex.[Ch] (findToken): remove function.
2661 * ParagraphParameters.C (findToken):
2662 * bufferparams.C (findToken): replace call for previous function
2663 with local copy. This local function has one more argument, the
2664 read string argument.
2666 2004-08-16 José Matos <jamatos@lyx.org>
2668 * ParagraphParameters.C (write):
2669 * Spacing.C (writeFile):
2670 * bufferparams.C (writeLaTeX):
2671 * lyx_cb.C (Reconfigure):
2672 * paragraph.C (write):
2673 * tabular.C (write): remove unnecessary space at end of line.
2676 2004-08-16 José Matos <jamatos@lyx.org>
2678 * text.C (readParagraph): remove debug message.
2680 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2682 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2685 * output_plaintext.C (asciiParagraph): set depth correctly
2687 * outputparams.h: add member depth
2689 * paragraph_funcs.C (ownerPar): remove.
2691 * text2.C (setCounter): remove first_pit; comment out some
2692 non-working code that uses ownerPar
2694 * BufferView.C (getParentLanguage): remove. Not used anymore, and
2697 2004-08-16 José Matos <jamatos@lyx.org>
2699 * text.C (readParToken, readParagraph, read): report all unknown tokens.
2700 For the same level of importance use the same chanel to report problems.
2701 (read): add code to deal with \begin_body and \end_body.
2704 2004-08-15 José Matos <jamatos@lyx.org>
2706 * lyxlex.C (getString): fix comment, buffer::readBody is now
2707 buffer:readDocument.
2709 * tex-strings.C (string_papersize): Default -> default,
2710 Custom -> custom, for consistency with other options.
2712 2004-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2716 * Makefile.am: support pch
2718 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2720 * text.C (readParToken): remove the static LyXFont variable and
2721 pass it as a parameter instead. This fixes a nasty bug where an
2722 inset will be inserted with a bad font in some situations
2723 (readParagraph): adapt
2725 * text2.C (setCounter): reduce number of calls to pars_[pit]
2727 * text.C (singleWidth): add an assert, fix a test
2729 * rowpainter.C (paintText): reduce number of calls to singleWidth
2731 * paragraph.C (isHfill):
2732 (isNewline): ws only
2734 2004-08-14 André Pönitz <poenitz@gmx.net>
2739 * lyxtext.h (several functions): use a Paragraph & argument
2742 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2744 * metricsinfo.h: add a new field ltr_pos to PainterInfo
2746 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2748 * text.C (singleWidth): remove useless test
2750 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2752 * tabular.h: remove bogus comments
2754 * tabular.C (getDescentOfRow):
2755 (isPartOfMultiColumn): add assertions
2757 * lyxlength.C (inPixels): remove #warning
2759 2004-08-14 André Pönitz <poenitz@gmx.net>
2761 * paragraph.h: inline getChar()
2763 * BufferView.h: remove unused declarations
2765 2004-08-14 José Matos <jamatos@lyx.org>
2767 * Buffer.[Ch] (readDocument): new name for old readBody.
2768 * Buffer.C: new file format, new keywords: \begin_document,
2769 \begin_header, \begin_body, \end_body.
2771 * bufferparams.C (readToken): replace all calls to lex.nextToken
2772 by lex.next(). Do the same to eatLine except where really needed.
2774 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2775 line when writing to the lyx file.
2777 * output_plaintext.C (asciiParagraph): fix Bibliography style
2780 * text.C (read): fix end of file handling.
2782 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2784 * MenuBackend.C (Menu::operator[]): new method to access
2785 individual menu items
2786 (Menu::hasFunc): new method. search for an item that corresponds
2788 (MenuBackend::specialMenu): new method
2789 (MenuBackend::expand): if a special menu has been set, skip
2790 entries whose func() appears in this menu
2792 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2794 * text3.C: use Debug::DEBUG a bit more
2796 * text.C (leftMargin): try to simplify a tiny bit change var x to
2797 l_margin. Dont output the wide margins always.
2798 (rightMargin): no margin in inner texts
2800 * rowpainter.h (nestMargin): new func
2801 (changebarMargin): new func
2802 (rightMargin): new func
2804 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2808 * factory.C (createInset): modify setDrawFrame
2810 * cursor.C: use Debug::DEBUG a bit more
2812 2004-08-14 André Pönitz <poenitz@gmx.net>
2815 * Makefile.am: new files to accomodate an 'external' (x,y)-position
2816 cache for all insets in (at least partially) visible (top-level)
2819 * BufferView_pimpl.C: reset external coord cache before every update.
2820 This means the coord cache only contains valid entries.
2822 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2825 * BufferView_pimpl.C (getInsetByCode): move function out of class
2826 and change in to a template in anon namespace. Also fix to do what
2829 2004-08-13 Lars Gullik Bjønnes <larsbj@lyx.org>
2832 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2834 (breakParagraph): rename par to par_offset and use a local
2835 reference. Add code to keep the language over a rebreak.
2836 (breakParagraphConservative): rename par to par_offset, use a
2838 (mergeParagraph): ditto
2840 (isFirstInSequence): ditto
2841 (outerFont): rename pit to par_offset
2843 * paragraph.C: ws change
2844 * paragraph.h: ditto
2848 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2850 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2853 * paragraph.C (simpleTeXOnePar): when we have a \item with
2854 optional argument, enclose the argument with curly brackets (in
2855 case it contains a closing square bracket)
2859 * text3.C (checkInsetHit): constify
2861 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2863 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2864 documents (bug 1629)
2866 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2868 Fix toggling of collapsable insets with the mouse (bug 1558)
2870 * lyxfunc.C (dispatch): adapt to LCursor changes
2872 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2873 make sure that dispatch is not invoked twice
2875 * cursor.C (needsUpdate): new method
2876 (dispatch): return void
2877 (result): new method, to access the DispatchResult of the cursor.
2879 2004-08-13 José Matos <jamatos@lyx.org>
2881 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2883 2004-08-13 André Pönitz <poenitz@gmx.net>
2885 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2887 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2890 2004-08-12 André Pönitz <poenitz@gmx.net>
2892 * text3.C: take out the 'cursor right' form insertInset and only
2893 do it in those places when it is really needed. Fixes crash on
2896 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2898 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2900 * BufferView_pimpl.C (setBuffer): initialize the current font of
2901 the underlying LyXText
2903 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2905 * kbsequence.C (print): use UI native formatting for menu
2908 * text.C (insertChar): call Paragraph::insertChar with a font
2911 * paragraph.C (insertInset, insertChar): the version that takes a
2912 LyXFont argument is now a wrapper around the other one (the
2913 opposite used to be true).
2915 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2916 argument. Font setting is done in Paragraph now.
2918 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2920 * outputparams.h: add new members intitle and lang.
2922 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2923 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2925 2004-08-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2927 * text3.C (dispatch): remove special handling of button 4 and 5,
2928 it is now taken care of in the frontend code.
2930 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2932 * Spacing.h: add <string> (STLPort compile fix)
2934 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2936 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2938 2004-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2940 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2943 * converter.C (showMessage): inherit from unary_function, make
2946 * buffer.C (writeFile): initialize retval
2948 * InsetList.h: rename private variable list to list_
2949 * InsetList.[Ch]: adjust accordingly.
2951 2004-07-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2953 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2954 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2955 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2956 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2957 * ParagraphParameters.C, LaTeXFeatures.C: replace
2958 "support/std_sstream.h" with <sstream>
2960 2004-07-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2962 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2963 * lyxsocket.C (LyXServerSocket): ditto
2964 (serverCallback): ditto
2966 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2968 * LaTeXFeatures.C: check release date when loading jurabib.
2970 2004-07-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2972 * lyxserver.C (startPipe): call register_socket_callback
2973 (endPipe): call unregister_socket_callback
2975 2004-07-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2977 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2978 (LyXServerSocket): register the callback
2979 (LyXServerSocket): unregister the callback
2980 (fd): delete function
2981 (serverCallback): improve error checking and setup the callbacks.
2982 (dataCallback): change arg to fd.
2983 (writeln): new func (copied fro the client socket) used for server
2985 (LyXDataSocket): simplify
2986 (~LyXDataSocket): close ann unregiser callback
2987 (server): delete function
2988 (fd): delete function
2989 (readln): small changes, improve some std::string usage
2990 (writeln): constify a bit
2992 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2994 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2997 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2999 * BufferView_pimpl.C (setBuffer): set the layout combox value only
3000 after it has been populated
3002 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3004 * text2.C (insertInset): move cursor when inserting inset.
3006 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3008 * kbmap.C (findbindings): a couple of new methods. returns a
3009 container of kb_sequence objects. The real work is done by the
3010 private recursive version
3011 (printbindings): uses findbindings to print out a bracketed list
3012 of bindings (renamed from findbinding).
3014 * MenuBackend.C (binding): use kb_keymap::findbindings
3016 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
3018 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3020 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
3022 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3024 * paragraph.C (isWord): return true on insets that report
3027 * text.C (getWord): use Paragraph::isWord to decide what is in a
3028 word and what is not; fix bug 1609.
3030 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3032 * tex-strings.C: add "none" to string_paperpackages[], fixes
3033 off-by-one-error in the paperpackage selection.
3036 * tex-strings.[Ch]: char const * string[n]
3037 -> char const * const string[]
3039 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3041 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
3042 command, return early.
3044 2004-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
3046 * debug.h: add DEBUG to enum and fix size of ANY.
3048 * debug.C: add support for Debug::DEBUG
3049 (showTags): cast errorTags.level to unsigned int
3051 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
3052 (redoCurrentBuffer): ditto
3053 (updateScrollbar): ditto
3054 * cursor.C (dispatch): ditto
3055 * text2.C (setLayout): ditto
3057 (updateCounters): ditto
3059 (deleteEmptyParagraphMechanism): ditto
3061 2004-06-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3063 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
3064 annotations to cleanup the Makefile slightly.
3066 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3068 * lyxrc.C: do not set user_email to a default value but use empty
3069 instead. The entry used to be translated, which does not work
3070 since at the point where lyxrc is constructed there is no
3071 translation service available
3073 * messages.C (getLocaleDir): remove and use directly
3074 lyx_localedir() instead
3076 2004-06-02 Angus Leeming <leeming@lyx.org>
3078 Fix crash caused by dereferencing null pointer 'exportdata' in
3079 OutputParams by creating a new ExportData variable on the heap,
3080 storing it in a boost::shared_ptr.
3081 The crash was triggered when generating an Instant Preview
3082 of an external inset.
3084 * Makefile.am: add outputparams.C
3086 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
3087 (c-tor): allocate memory to it.
3089 * exporter.C (c-tor): associated changes.
3091 2004-06-01 Angus Leeming <leeming@lyx.org>
3093 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
3094 contains data before calling isInset(0). (Bug 1513.)
3096 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3098 * exporter.C (checkOverwrite): new method
3099 * exporter.C (copyFile): new method
3100 * exporter.C (Export): copy referenced files to the document dir
3101 * exporter.[Ch]: new class ExportedFile
3102 * exporter.[Ch]: new class ExportData. Contains currently the
3103 names of referenced external files
3104 * outputparams.h: add exportdata member.
3106 2004-05-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3108 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
3111 2004-05-19 Angus Leeming <leeming@lyx.org>
3116 * lyxfunc.C: small changes due to the introduction of namespace
3117 lyx::frontend and the moving of namespace biblio to lyx::biblio.
3119 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
3121 * text3.C (dispatch): supress update when only moving the cursor
3122 * cursor.C (selHandle): remove commented code
3124 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3126 * paragraph.C (startTeXParParams): correct column count
3127 * CutAndPaste.C (pasteSelection): remove const_cast
3128 * output_docbook.C (docbookParagraphs): remove const_cast
3129 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
3130 const_cast and return ParagraphList::const_iterator
3131 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
3132 * output_plaintext.C (writeFileAscii): remove const_cast
3133 * paragraph.[Ch] (simpleTeXOnePar): make const
3134 * paragraph_funcs.C (outerPar): use const iterators
3135 * paragraph_pimpl.C (validate): use const iterators
3136 * text.C (setHeightOfRow): use const iterators
3138 2004-05-17 Angus Leeming <leeming@lyx.org>
3141 * LyXAction.C (init): new LFUN_INSET_REFRESH.
3143 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
3144 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
3145 if the citation engine has changed.
3147 2004-05-14 José Matos <jamatos@lyx.org>
3149 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
3150 if the textclass does not provide it. Have it different for sgml and
3152 support the language of document.
3153 * output_docbook.C (docbookParagraphs):
3154 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
3155 first anchor as the id of the paragraph, remove special case code.
3156 * sgml.C (escapeChar): escape only < & >.
3158 2004-05-14 Angus Leeming <leeming@lyx.org>
3160 * bufferparams.h: move biblio::CiteEngine enum here to minimize
3161 dependencies on src/frontends/controllers/biblio.h. Define a
3162 CiteEngine_enum wrapper class to enable the enum to be forward
3165 2004-05-12 Angus Leeming <leeming@lyx.org>
3167 * buffer.C: up LYX_FORMAT to 234.
3168 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
3169 use_numerical_citations with a single biblio::CiteEngine cite_engine
3171 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
3173 2004-05-13 José Matos <jamatos@lyx.org>
3176 * converter.C (Converter, readFlags): add xml member.
3177 * outputparams.h: add XML flavor.
3178 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
3180 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3182 * lyxfunc.C (dispatch):
3183 (getStatus): fix handling of LFUN_SEQUENCE
3185 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3187 * debug.C (showLevel): do not forget the end-of-line marker
3189 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3191 * kbmap.C (read): do not stop parsing a bind file when an error
3194 2004-04-29 Angus Leeming <leeming@lyx.org>
3199 * text2.C: wrap a bunch of #warning statements
3200 inside #ifdef WITH_WARNINGS blocks.
3202 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3204 * buffer.C: increment format to 233.
3206 2004-04-28 Angus Leeming <leeming@lyx.org>
3208 * BufferView_pimpl.C:
3211 s/updateToolbar()/updateToolbars()/
3212 s/Toolbar.h/Toolbars.h/
3214 2004-04-28 Angus Leeming <leeming@lyx.org>
3216 * BufferView.[Ch] (c-tor):
3217 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
3218 No longer passes these data to the WorkArea generator.
3220 2004-04-28 Angus Leeming <leeming@lyx.org>
3222 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
3224 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3226 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
3228 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3230 * output_latex.C (TeXEnvironment): make sure that there is a line
3231 break before \end{foo} for the last paragraph of a document
3232 (TeXOnePar): if the paragraph is at the end of the document (or
3233 inset) and the language has to be reset, then make sure that the
3234 line break is _before_ the language command, not after (fixes bug
3235 1225); also make sure that the language reset command is the first
3236 thing after the paragraph (to ensure proper nesting of
3237 environments and thus fix bug 1404)
3239 2004-04-21 John Levon <levon@movementarian.org>
3242 * ToolbarBackend.C: make "name" be a programmatic name
3243 and a gui_name field.
3245 * lyxfunc.C: display the minibuffer on M-x
3247 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3249 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
3252 2004-04-19 Angus Leeming <leeming@lyx.org>
3254 * BufferView_pimpl.C (setBuffer): changed preview interface.
3256 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
3259 2004-04-19 John Levon <levon@movementarian.org>
3261 * BufferView_pimpl.C:
3262 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
3264 2004-04-05 Angus Leeming <leeming@lyx.org>
3266 * text.C (redoParagraphs): add call to updateCounters(), thereby
3267 fixing the missing "Figure #:" label from the caption of a
3270 2004-04-13 Angus Leeming <leeming@lyx.org>
3272 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
3273 cursor is clicked out of an inset.
3275 2004-04-13 Angus Leeming <leeming@lyx.org>
3277 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
3278 than an InsetOld one.
3280 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3282 * format.[Ch]: add editor to Format
3283 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
3284 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
3286 2004-04-08 André Pönitz <poenitz@gmx.net>
3288 * metricsinfo.h: remove PainterInfo::width member
3290 2004-04-08 Angus Leeming <leeming@lyx.org>
3292 * lyx_sty.C (boldsymbol_def): modify so that it outputs
3293 "\providecommand" rather than "\newcommand", thereby preventing
3294 clashes with packages that define "\boldsymbol" themselves.
3297 2004-04-08 Angus Leeming <leeming@lyx.org>
3299 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
3300 thereby squashing an unnecessary warning.
3302 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3304 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
3307 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
3309 * BufferView.C (setCursor): call redoParagraph (some insets could
3311 (putSelectionAt): remove the 'double update' trick
3313 * BufferView_pimpl.C (fitCursor): call refreshPar
3314 (workAreaDispatch): remove an uneeded update call
3315 (dispatch): remove some manual update calls
3317 * cursor.[Ch]: remove cached_y_, updatePos
3318 (selHandle): set noUpdate when appropriate
3320 * lyxfunc.C (dispatch): track if we need an update
3322 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
3324 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
3325 (paintSelection): cheap optimization, do not call cursorX when not
3327 (paintPars): change signature
3330 (paintTextInset): adjust
3334 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3336 * lengthcommon.C: compilation fix: remove explicit array size from
3337 unit_name[] and friends
3339 2004-04-05 Angus Leeming <leeming@lyx.org>
3341 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
3343 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
3344 present only for the preferences dialog.
3345 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
3347 2004-04-05 Angus Leeming <leeming@lyx.org>
3349 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
3350 to enable the frontends to export changes to lyxrc correctly.
3352 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
3354 2004-04-07 André Pönitz <poenitz@gmx.net>
3356 * cursor.[Ch] (selClear, adjust): remove math
3358 * cursor_slice.C: more agressive assert
3361 * BufferView_pimpl.C: rework mouse event dispatch
3368 2004-04-05 André Pönitz <poenitz@gmx.net>
3370 * cursor.[Ch] (valign, halign...): remove unneeded functions
3372 2004-04-05 Angus Leeming <leeming@lyx.org>
3374 * lyxlength.[Ch] (unit_name et al.): const-correct.
3376 2004-04-05 Angus Leeming <leeming@lyx.org>
3378 * BufferView_pimpl.C:
3387 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
3389 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3391 * text3.C (getStatus): add LFUN_BEGINNINGBUF
3393 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3395 * lyxfind.C: add a couple of inTexted() tests + other small fixes
3396 * BufferView_pimpl.[Ch] (getStatus)
3397 * BufferView.[Ch] (getStatus): add
3398 * lyxfunc.C (getStatus): move lfuns handled in
3399 BufferView::dispatch to te function above
3400 * Cursor.C (setSelection): set selection() = true
3402 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3404 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
3406 2004-03-31 Angus Leeming <leeming@lyx.org>
3408 * lyxfunc.C (dispatch): Fall through to the generic
3409 Dialogs::show("preamble").
3411 2004-03-31 Angus Leeming <leeming@lyx.org>
3413 * lyxfunc.C (dispatch): Fall through to the generic
3414 Dialogs::show("spellchecker").
3416 2004-03-31 Angus Leeming <leeming@lyx.org>
3418 * lyxfunc.C (getStatus, dispatch): changed invocation of the
3421 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
3426 * insetiterator.[Ch]:
3431 * undo.[Ch]: s/DocumentIterator/DocIterator/g
3433 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
3435 * BufferView.C (setCursor, putSelectionAt): call edit to open the
3436 insets where we are putting the cursor.
3438 2004-03-31 Angus Leeming <leeming@lyx.org>
3441 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
3443 * lyxrc.[Ch] (read, write): overloaded member functions taking
3444 a std::[io]stream arguments.
3446 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
3448 2004-03-31 Angus Leeming <leeming@lyx.org>
3450 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
3451 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
3453 * lyxtextclass.C (load): if the text class couldn't be loaded, then
3454 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
3456 2004-03-31 Angus Leeming <leeming@lyx.org>
3458 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
3459 the LFUN_ALL_INSETS_TOGGLE code.
3461 2004-03-30 Angus Leeming <leeming@lyx.org>
3463 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
3464 has died. Fall through to the generic Dialogs::show("document").
3466 2004-03-30 Angus Leeming <leeming@lyx.org>
3469 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
3470 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
3472 * lyxfunc.C (getStatus, dispatch): define the actions for these
3473 lfuns. Little more than a cut and pste job from ControlDocument.C
3475 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
3477 2004-03-30 Angus Leeming <leeming@lyx.org>
3480 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
3481 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
3483 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
3484 open/closed state of ollapsable insets. Usage:
3486 all-inset-toggle <state> <name>, where
3487 <state> == "open" || "closed" || "toggle" and
3488 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
3490 * lyxtext.h, text2.C (toggleInset): removed.
3492 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
3493 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
3494 now passes LFUN_INSET_TOGGLE to the found inset.
3496 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
3497 is now invoked as "all-insets-toggle toggle branch".
3499 2004-03-30 Angus Leeming <leeming@lyx.org>
3503 * pariterator.[Ch]: added/corrected header blurb.
3505 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
3507 * dociterator.[Ch]: add an inset_ member
3508 (backwardPos): implemented
3509 (backwardPos, forwardPos): use inset_ when the stack is empty.
3510 (doc_iterator_begin, doc_iterator_end): implemented
3511 * pariterator.[Ch]: adjust, add begin, end
3512 * insetiterator.[Ch]: adjust, add begin, end
3516 * BufferView_pimpl.C:
3517 * CutAndPaste.C: adjust
3519 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3521 * buffer.C: increment file format to 232.
3522 * LaTeXFeatures.C: add bibtopic package.
3523 * bufferparams.[Ch]: param \use_bibtopic.
3525 * lyxrc.[Ch]: add lyxrc bibtex_command
3526 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
3528 * buffer.C: increment file format to 231.
3530 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
3532 * dociterator.C: implement forwardPar
3533 * iterators.[Ch]: remove, replaced by
3534 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
3536 * BufferView_pimpl.C:
3539 * bufferview_funcs.C:
3545 * Makefile.am: adjust
3547 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
3549 * CutAndPaste.C (pasteSelection): fix 2 crashes
3550 (eraseSelection): fix a crash
3551 * paragraph_funcs.C: remove a warning
3553 2004-03-28 Angus Leeming <leeming@lyx.org>
3556 * LyXAction.C (init): new LFUN_PRINT.
3558 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
3560 2004-03-27 Angus Leeming <leeming@lyx.org>
3563 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
3565 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
3567 2004-03-27 Angus Leeming <leeming@lyx.org>
3569 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
3570 insetlist always contains non-null pointers to insets.
3572 2004-03-26 Angus Leeming <leeming@lyx.org>
3574 * src/BufferView_pimpl.C:
3575 * src/CutAndPaste.C:
3578 * src/output_plaintext.C:
3579 * src/outputparams.h:
3580 * src/paragraph_funcs.C:
3584 * src/frontends/controllers/ControlErrorList.C:
3585 * src/frontends/gtk/FileDialogPrivate.C:
3586 * src/frontends/gtk/GPainter.C:
3587 * src/frontends/gtk/GToolbar.C:
3588 * src/frontends/qt2/QRef.C:
3589 * src/mathed/math_scriptinset.C: squash compiler warnings.
3591 2004-03-26 Angus Leeming <leeming@lyx.org>
3593 * ispell.C (LaunchIspell::start):
3594 * lyx_cb.C (AutoSaveBuffer::start):
3595 invoke run(DontWait) rather than runNonBlocking().
3597 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
3599 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3601 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3603 * kbsequence.C (print): adjust
3605 * kbmap.C (printKeySym): rename and change signature
3606 (printKey): use LyXKeySym::print()
3608 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
3610 * undo.C: add using std::advance to compile for stlport
3612 2004-03-24 Angus Leeming <leeming@lyx.org>
3614 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3615 it leads to a crash when no buffer is present.
3617 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3618 Martin Vermeer <martin.vermeer@hut.fi>
3620 * lyxfunc.C (dispatch):
3621 * bufferparams.C (readToken): use the new LColor::setColor
3623 * LColor.[Ch] (setColor): new version that takes two strings as
3624 argument and creates a new color entry if necessary
3626 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3628 * buffer.C (makeLaTeXFile): if the main latex file that is
3629 processed is usually a subdocument of some master, then pretend
3630 for a while that it is actually the master
3632 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3634 * buffer.C (getLabelList):
3635 (getBibkeyList): use getMasterBuffer()
3636 (getMasterBuffer): new method. Returns the main document in the
3637 case where one is using included documents.
3639 2004-03-25 André Pönitz <poenitz@gmx.net>
3643 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3645 * ParagraphList_fwd.h: change ParagraphList to a std::vector
3647 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3648 text*.C over here. Rename namespace CutAndPaste to lyx::cap
3650 * ParameterStruct.h: merge with ParagraphParameters
3652 * lyxtext.h: remove LyXText::parOffset() and getPar()
3654 * text3.C: Remove all 'manual' update calls. We do now one per user
3655 interaction which is completely sufficient.
3659 * BufferView_pimpl.C:
3660 * FontIterator.[Ch]:
3662 * ParagraphParameters.[Ch]:
3667 * cursor_slice.[Ch]:
3674 * output_docbook.[Ch]:
3675 * output_latex.[Ch]:
3676 * output_linuxdoc.[Ch]:
3677 * output_plaintext.[Ch]:
3679 * paragraph_funcs.[Ch]:
3680 * paragraph_pimpl.[Ch]:
3688 * frontends/controllers/ControlDocument.C:
3689 * frontends/controllers/ControlErrorList.C:
3690 * frontends/controllers/ControlSpellchecker.C:
3693 * insets/insetbase.h:
3694 * insets/insetbibitem.C:
3695 * insets/insetbox.C:
3696 * insets/insetbranch.C:
3697 * insets/insetcaption.C:
3698 * insets/insetcharstyle.C:
3699 * insets/insetcharstyle.h:
3700 * insets/insetcollapsable.C:
3701 * insets/insetcollapsable.h:
3702 * insets/insetert.C:
3703 * insets/insetfloat.C:
3704 * insets/insetfoot.C:
3705 * insets/insetmarginal.C:
3706 * insets/insetnote.C:
3707 * insets/insetoptarg.C:
3708 * insets/insettabular.C:
3709 * insets/insettext.C:
3710 * insets/insettext.h:
3711 * insets/insetwrap.C:
3712 * mathed/math_mboxinset.C:
3713 * mathed/math_nestinset.C:
3714 * mathed/math_scriptinset.C:
3715 * mathed/math_scriptinset.h:
3718 2004-03-24 Angus Leeming <leeming@lyx.org>
3720 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3721 deal with any child processes that have finished but are waiting to
3722 communicate this fact to the rest of LyX.
3724 2004-03-24 Angus Leeming <leeming@lyx.org>
3726 64-bit compile fixes.
3728 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3729 (c-tor): pass lyx::pos_types rather than ints.
3731 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3734 * text.C (Delete): compile fix.
3735 (getPar): ensure that function declaration is the same as that in
3738 2004-03-23 Angus Leeming <leeming@lyx.org>
3740 * ispell.C (LaunchIspell):
3741 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3742 a boost::shred_ptr rather than a std::auto_ptr.
3744 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3746 * lyxfunc.C (getStatus): handle read-only buffers correctly;
3747 handle LFUN_FILE_INSERT_*
3749 * lyxrc.C (setDefaults, getDescription, output, read):
3750 * lyxrc.h: remove ps_command
3752 2004-03-22 Angus Leeming <leeming@lyx.org>
3754 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3755 Ensure that error_handler is processed once only and that all data
3756 is saved before attempting to output any warning messages.
3758 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3760 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
3762 * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3764 2004-03-19 André Pönitz <poenitz@gmx.net>
3766 * cursor.[Ch] (reset): take main text inset as argument
3768 * BufferView: adjust
3769 * BufferView_pimpl.C: adjust
3771 * paragraph.[Ch]: fix completely broken operator=()
3773 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3775 * LColor.C (getFromLyXName): make sure that the color name is used
3778 2004-03-17 Angus Leeming <leeming@lyx.org>
3781 * LyXAction.C (init): remove LFUN_FORKS_KILL.
3783 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3784 dialog and to kill a forked process.
3786 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3788 * text2.C (setCursorFromCoordinates): fix font problem
3790 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3792 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3793 bogus "rebuild cursor" code
3795 2004-03-11 André Pönitz <poenitz@gmx.net>
3797 * buffer.[Ch]: use InsetText instead of LyXText as container for
3800 * dociterator.[Ch]: drop the BufferView * member which is not needed
3801 anymore after the change to buffer.C
3803 * paragraph_funcs.C:
3807 * BufferView_pimpl.[Ch]:
3809 * cursor_slice.[Ch]: adjust
3811 * text3.C: fix bug in mathDispatch
3813 2004-03-08 André Pönitz <poenitz@gmx.net>
3815 * undo.[Ch]: use 'StableDocumentIterator' as base for
3818 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3821 * bufferparams.[Ch]: add jurabib support and param.
3823 * LaTeX.C: add FIXME/comment.
3825 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3827 * buffer.C: increment file format to 230.
3829 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
3831 * cursor.C (dispatch): avoid infinite loops
3833 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3835 * rowpainter.C (paintSelection): fix x coordinates
3837 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3839 * text.C (rowBreakPoint): fix breaking before displayed insets
3841 2004-03-01 André Pönitz <poenitz@gmx.net>
3843 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3845 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3849 * BufferView_pimpl.C:
3857 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3863 * BufferView_pimpl.C: rename textwidth -> maxwidth,
3864 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3866 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3868 * Bidi.[Ch] (computeTables): const correctness
3869 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3870 fill_hfill, fill_label_hfill and x from Row
3871 * lyxtext.h: prepareToPrint returns a RowMetrics
3872 * rowPainter.C: adjust
3873 * text.C (prepareToPrint): use width, not textWidth. adjust
3874 (redoParagraphInternal, cursorX): adjust
3875 * text2.C (getColumnNearX): adjust
3876 (init): put a default value to the top LyXText::width
3878 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3880 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3882 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3884 * lyxtext.h: add FontIterator class
3886 * text.C (FontIterator, operator*, operator->, operator++): add
3887 (rowBreakPoint, setRowWidth): adjust (fixing a
3890 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3892 * BufferView_pimpl.C (workAreaDispatch): allow also
3893 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3895 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
3897 * text.C (rowBreakPoint): fix a bug showing with very large insets
3899 2004-02-25 André Pönitz <poenitz@gmx.net>
3902 * cursor.[Ch]: move some mathed specific code to mathed
3904 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3906 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3907 use_tempdir in preferences
3908 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3910 * lyx_main.C: ensure that tempdir is valid
3911 * lyxlex.h: correct typo
3912 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3913 * paragraph.[Ch] (isMultiLingual): make const
3914 * cursor.[Ch] (openable): make const
3916 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3918 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3920 2004-02-20 André Pönitz <poenitz@gmx.net>
3922 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3924 * cursor.[Ch]: prepare for localized getStatus()
3930 * text3.C: streamlines the LyXText cursor movement handlers a bit.
3932 2004-02-20 André Pönitz <poenitz@gmx.net>
3934 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3936 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3938 * text2.C (setCursorFromCoordinates): switch to absolute coords
3940 (cursorDown): adjust
3941 * text3.C (dispatch): adjust
3943 2004-02-16 André Pönitz <poenitz@gmx.net>
3945 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3948 * cursor_slice.[Ch]: remove unneeded acessor function
3950 * lyxtext.h: rename rtl() to isRTL()
3958 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3960 * rowpainter.C (paintSelection): coord fix
3962 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3964 * Spacing.C: compile fix
3966 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3968 * cursor.C (dispatch): restore current_ before returning
3970 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3972 * text2.C (cursorUp, cursorDown): fix coords
3975 2004-02-12 André Pönitz <poenitz@gmx.net>
3980 * text3.C: add LCursor & parameter to most cursor movement functions
3981 remove usage of LyXText::cursorRow() and cursorPar()
3983 * cursor.[Ch]: add textRow() needed members
3986 * BufferView_pimpl.C:
3989 * BufferView_pimpl.C: adjust
3991 2004-02-11 André Pönitz <poenitz@gmx.net>
3995 * BufferView_pimpl.C: shift undo/redo handling
3997 * cursor.[Ch]: fix mathed crash
4000 * lyxtext.h: move selectionAsText to LCursor
4008 * rowpainter.C: fix excessive drawing
4010 2004-02-06 André Pönitz <poenitz@gmx.net>
4013 * BufferView_pimpl.[Ch]:
4014 * text3.C: move some text specific LFUN handling
4016 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
4018 * text3.C (checkInsetHit): adjust coords
4019 * text2.C (getColumnNearX): adjust coords
4020 (edit): adjust coords
4021 * text.C (getRowNearY): add two asserts
4023 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
4026 * format.C: add using std::distance to compile on gcc 2.95/stlport
4028 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
4030 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
4032 2004-02-04 André Pönitz <poenitz@gmx.net>
4034 * BufferView.[Ch] (insertInset):
4035 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
4040 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
4042 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
4043 on the default clause of the switch
4044 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
4045 wasn't catched by LCursor::dispatch
4047 2004-02-03 André Pönitz <poenitz@gmx.net>
4050 * cursor.[Ch]: some additional asserts
4052 * undo.[Ch]: remove LyXText dependency in interface
4056 * lyxtext.h (firstPar, lastPar): remove dead functions
4061 * paragraph.[Ch]: adjust
4063 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
4065 * lyxfind.C (find): fix argument order in call to ::find
4067 2004-02-02 André Pönitz <poenitz@gmx.net>
4069 * cursor.[Ch]: remove direct access to anchor
4071 * text.C: remove findText() hack
4073 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
4075 * iterators.[Ch] (lockPath): remove in favour of...
4076 * BufferView.[Ch] (setCursor): this addition
4077 * BufferView.C (putSelectionAt): adjust
4078 * undo.C (performUndoOrRedo): adjust
4079 * lyxfunc.C (dispatch): adjust
4081 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
4083 * iterators.C (lockPath): add a missing slice
4084 * undo.C (performUndoOrRedo): remove redundant positioning code
4086 2004-02-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4088 * vc-backend.C (scanMaster): ";" -> ';'
4090 2004-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
4092 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
4093 std::binary_function
4095 * lyxtextclass.C (compare_name): rename to...
4096 (LayoutNamesEqual): ...this
4098 * lyxlex_pimpl.C (compare_tags): inherit from
4099 std::binary_function, put back into anon namespace
4101 * lyxfind.C (MatchString): inherig from std::binary_function
4102 (findChange): use empty() istead of !size()
4104 * format.C (FormatNamesEqual): new functor
4111 * converter.C (compare_Converter): rename to...
4112 (ConverterEqual): ...this, and fixup a bit.
4113 (getConverter): use it, and make function const
4114 (getNumber): use it, and make function const
4118 * bufferlist.C: add using boost::bind
4120 * MenuBackend.C (MenuNamesEqual): new functor
4121 (hasMenu): use it, and make function const
4122 (hasSubmenu): use nested bind to get rid of compare_memfun.
4124 2004-01-30 André Pönitz <poenitz@gmx.net>
4126 * BufferView_pimpl.C:
4129 * cursor_slice.[Ch]:
4132 * paragraph_funcs.C:
4133 * paragraph_funcs.h:
4137 * text3.C: move some of the edit(x,y) handling to the insets
4138 some coordinate changes.
4140 2004-01-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4142 * text.C: add using statements for std::advance and std::distance
4144 * paragraph.C: add using statement for std::distance
4146 * lyxfind.C: add using statement for std::advance
4148 * cursor.C (region): remove std:: from swap
4149 (openable): use nucleus in stead of operator->
4151 * BufferView.C: add using statements for std::distance and std::swap
4153 2004-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4155 * iterators.C: Remove the pimple, move the needed structures to
4156 the header file. Create accessor for the positions stack.
4157 (asPosIterator): remove function
4159 * PosIterator.C (PosIterator): move constructors to top of file
4160 (PosIterator): reimplement the constructor taking a ParIterator in
4162 (setFrom): new function
4163 (operator!=): inline it
4165 2004-01-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4167 * lyxfind.C (replaceAll): use std::advance
4169 * iterators.h: inherit from std::iterator.
4171 * PosIterator.C (advance, distance): remove
4172 * PosIterator.h: interit from std::iterator.
4174 2004-01-26 André Pönitz <poenitz@gmx.net>
4177 * BufferView_pimpl.[Ch]:
4181 * bufferview_funcs.C:
4191 * output_linuxdoc.C:
4192 * output_plaintext.C:
4194 * paragraph_funcs.[Ch]:
4195 * paragraph_pimpl.[Ch]:
4201 * text3.C: more IU: dumps most of the rest of the mathcursor
4202 implementation into cursor.[Ch]; "globalize" a bit of it.
4204 2004-01-25 Angus Leeming <leeming@lyx.org>
4206 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
4208 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4210 * LaTeXFeatures.h: add nice_ and nice() const
4211 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
4213 2004-01-20 André Pönitz <poenitz@gmx.net>
4216 * BufferView_pimpl.C:
4218 * bufferview_funcs.C:
4220 * cursor_slice.[Ch]:
4231 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
4232 LCursor and mathcursor parts to LCursor and InsetBase.
4234 2004-01-15 André Pönitz <poenitz@gmx.net>
4236 * cursor_slice.[Ch]: add a few covienience functions
4238 * funcrequest.[Ch]: remove BufferView * member
4240 * BufferView_pimpl.C:
4247 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
4249 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
4251 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
4252 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
4254 2004-01-13 André Pönitz <poenitz@gmx.net>
4257 * lyxtext.h: hide cursor and selection anchor behind accessor function
4260 * BufferView_pimpl.[Ch]:
4262 * bufferview_funcs.C:
4272 * cursor_slice.[Ch]: some integer type changes for inset unification
4274 * lyxcursor.[hC]: remove, it's CursorSlice now.
4277 * BufferView_pimpl.[Ch]:
4278 * bufferview_funcs.C:
4284 * textcursor.[Ch]: adjust
4286 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
4288 * text2.C (undoSpan): add and use
4289 * text.C (breakParagraph): use undoSpan (fix bug 578)
4292 2004-01-08 Angus Leeming <leeming@lyx.org>
4294 * BufferView_pimpl.C (MenuInsertLyXFile):
4295 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4296 * lyxfunc.C (menuNew, open, doImport):
4297 FileFilterList change to the FileDialog open and save functions.
4299 2004-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
4301 * ShareContainer.h: make isEqual and isUnique adaptable
4303 * CutAndPaste.C: make resetOwnerAndChanges adaptable
4305 2004-01-07 Angus Leeming <leeming@lyx.org>
4308 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
4310 * BufferView_pimpl.C (dispatch): act on these LFUNs.
4312 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
4313 functions replacing find, replace and replaceAll.
4315 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
4316 LFUN_WORDFIND(FORWARD|BACKWARD).
4318 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
4320 * text.C (breakParagraph): remove an outdated #warning
4322 2004-01-07 André Pönitz <poenitz@gmx.net>
4324 * lyxfind.C: somewhat clearer logic
4326 * text.C: prevent crash in cursorX on unitialized row cache
4328 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
4330 * lyxcursor.[Ch] (operator>): add
4331 * textcursor.C (selStart, selEnd): use std::min and std::max
4333 2004-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4335 * Chktex.C: include boost/format.hpp
4337 2004-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
4339 * InsetList.C: replace functor MathcIt with adaptable functor
4341 (insetIterator): modify accordingly
4343 * BranchList.h: move the BranchNamesEqual functor here from...
4344 * BranchList.C: ... to here
4346 * BranchList.C: new BranchListEqual fuctor, use it. Remove
4348 (add): replace a finding loop with std::find_if.
4350 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
4352 * output_docbook.C: moving LatexParam functionality into
4355 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4357 * buffer.C: increment format to 229.
4359 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
4362 * lyx_sty.[Ch]: remove minipageindent_def
4368 * text3.C: remove LFUN_INSET_MINIPAGE
4370 2003-12-28 Angus Leeming <leeming@lyx.org>
4372 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
4374 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
4376 * text2.C (setParagraph): fix off-by-one crash
4378 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
4380 * output_docbook.C: header stuff for AGU
4382 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
4384 * text2.C (redoCursor): remove
4387 * BufferView_pimpl.C: remove calls to redoCursor and
4388 setCursor(cursor.par(), cursor.pos()) all around
4390 2003-12-15 Angus Leeming <leeming@lyx.org>
4392 * buffer.C: up the format to 228.
4394 2003-12-15 André Pönitz <poenitz@gmx.net>
4396 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
4401 * BufferView_pimpl.C:
4410 2003-12-15 Angus Leeming <leeming@lyx.org>
4412 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
4413 than getFromGUIName to manipulate the color.
4415 2003-12-14 Angus Leeming <leeming@lyx.org>
4417 * BranchList.[Ch]: minimize the API.
4418 (Branch::getBranch, getColor): now return a 'const &'.
4419 (Branch::setSelected) now returns a bool set to true if the
4420 selection status changes.
4421 (BranchList::clear, size, getColor, setColor, setSelected,
4422 allBranches, allSelected, separator): removed.
4423 (BranchList::find): new functions, returning the Branch with
4425 (BranchList::add, remove): return a bool indicating that
4426 the operation was successful.
4428 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
4429 new InsetBranch::isBranchSlected member function.
4431 * LColor.[Ch]: mimimize the API.
4432 (fill): renamed as addColor and made private.
4433 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
4434 versions of these functions taking a string arg have been removed.
4436 * bufferparams.C (readToken):
4437 * lyxfunc.C (dispatch):
4438 * lyxrc.C (read): changes due to the altered BranchList and
4441 * factory.C (createInset, readInset): changes due to altered
4444 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4447 * lyxfunc.C: remove insetminipage. "minipage-insert"
4448 now produces a frameless minipage box inset.
4450 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4452 * textcursor.[Ch] (selStart,selEnd): add new methods
4453 remove selection::start, end, use LyXCursor::operator<
4454 * lyxcursor.[Ch] (operator<): add
4455 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
4456 * BufferView.[Ch] (unsetXSel): add
4457 * text2.C (clearSelection): use unsetXSel,adjust
4460 * rowpainter.C: adjust
4461 * bufferview_funcs.C (put_selection_at): adjust
4463 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4465 * BufferView_pimpl.C: small coord. correction
4467 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4469 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
4470 dragging over the splash screen.
4472 2003-12-11 Angus Leeming <leeming@lyx.org>
4474 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
4475 as it is now handled in LyXText::dispatch.
4477 * text3.C (doInsertInset): remove a level of nesting.
4479 2003-12-11 Angus Leeming <leeming@lyx.org>
4481 * factory.C (createInset): changes due to the changed interface to
4482 InsetCommandMailer::string2params.
4484 2003-12-10 Angus Leeming <leeming@lyx.org>
4486 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
4487 'dialog-show-new-inset <inset name>'
4489 2003-12-10 Angus Leeming <leeming@lyx.org>
4491 * buffer.C: up the format to 227.
4493 * factory.C: the box inset is now identified simply by 'Box'.
4495 2003-12-10 Angus Leeming <leeming@lyx.org>
4497 * buffer.C: up the format to 226.
4499 * factory.C: the note inset is now identified simply by 'Note'.
4501 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
4503 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
4504 when a pit is enough. Standarize a couple of loops.
4506 2003-12-05 Angus Leeming <leeming@lyx.org>
4508 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
4509 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
4510 data to the re-worked "log" dialog.
4512 2003-12-03 André Pönitz <poenitz@gmx.net>
4518 * paragraph_funcs.C:
4520 * text2.C: use Inset::getText instead of Inset::getParagraph
4522 2003-12-03 André Pönitz <poenitz@gmx.net>
4526 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
4527 InsetText::read() as LyXText::read()
4529 2003-12-02 Angus Leeming <leeming@lyx.org>
4531 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
4532 type. Add a comment in the implementation that the function uses
4533 the stream's bad() function rather than fail() as the std::streams
4536 2003-12-02 André Pönitz <poenitz@gmx.net>
4538 * lyxlex.[Ch]: make interface more similar to std::stream
4540 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
4542 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
4544 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
4546 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
4548 * vspace.[Ch]: remove VSpace::NONE
4550 2003-12-01 André Pönitz <poenitz@gmx.net>
4553 * lyxtext.h: move ParagraphList member to LyXText
4554 rename LyXText::ownerParagraphs to LyXText::paragraph
4557 * bufferview_funcs.C:
4567 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
4569 * undo.C: fix cursor positioning
4571 2003-12-01 John Levon <levon@movementarian.org>
4573 * BufferView_pimpl.C: fix a crash on exit with
4576 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
4578 * BranchList.C: fix setSelected() method.
4580 2003-11-28 André Pönitz <poenitz@gmx.net>
4582 * ParagraphParameters.[Ch]:
4583 * ParameterStruct.h: remove space above/below from Paragraph to
4586 * BufferView_pimpl.C:
4592 * paragraph_funcs.C:
4598 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
4600 * factory.C: Syntax change for CharStyles
4602 2003-11-28 André Pönitz <poenitz@gmx.net>
4607 * buffer.[Ch]: move LyXText member
4609 2003-11-28 André Pönitz <poenitz@gmx.net>
4611 * BufferView.[Ch]: make LyXText * text a private member
4613 * BufferView_pimpl.C:
4624 * output_plaintext.C: cleanup
4626 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
4629 * lyxtextclass.[Ch]: parametrize SGML document header
4631 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
4634 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4637 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
4639 * text2.C (setFont): rework using PosIterator (no more recursive)
4640 (setCharFont): no more needed
4641 (setLayout): no more selection cursors fiddling (done by redoCursor)
4642 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4643 destroy remaining ones)
4645 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
4647 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4649 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4652 * text3.C: adjust + re-allow multi par depth changes
4653 * textcursor.C: simplify a bit
4655 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
4661 * src/output_docbook.C:
4662 * src/output_latex.C:
4667 * src/text2.C: Introducing a number of tags parametrizing various
4668 XML formats that we may want to support
4670 2003-11-25 André Pönitz <poenitz@gmx.net>
4672 * InsetList.[Ch] (begein, end): inline as suggested by profiler
4674 * lyxtext.h (leftMargin/rightMargin): simplify interface
4681 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4683 * lyxfunc.C (dispatch): propogate the bibtex databases from the
4684 master file to any child files. Fixes bug 546.
4686 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4688 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4690 2003-11-24 André Pönitz <poenitz@gmx.net>
4692 * rowpainter.C: simplification
4694 * text2.C (updateCounters): remove call to redoParagraph on
4695 changed labels as this is far too expensive.
4697 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4699 * converter.C (convert): fix a crash: this function gets
4700 called with buffer == 0 from importer code.
4702 2003-11-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4704 * text3.C (cursorPrevious): make sure that we do not compare
4705 iterators form different containers.
4708 * rowpainter.C (paintSelection): make sure that we do not compare
4709 iterators from different containers.
4711 * text3.C (dispatch): [PRIOR] make sure that we do not compare
4712 iterators from different ParagraphList containers.
4715 * text2.C (LyXText): change order of initialization slightly
4716 (operator=): new function. copy all variables except cache_par_
4717 (moveUp): make sure that we do not compare iterators from
4718 different ParagraphList constainers.
4721 * text.C (firstPar): new function
4722 (lastPar): new function
4723 (endPar): new function
4725 * lyxtext.h: move things around and group public functions, public
4726 variables, private functions, private variables
4728 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
4730 * factory.C: change call to InsetERT constructor to avoid
4731 additional invocation of method status
4732 * text2.C (toggleInset): remove redundant update() call
4733 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4734 instead of a Bufferview pointer
4736 2003-11-21 André Pönitz <poenitz@gmx.net>
4738 * rowpainter.C: simplification
4740 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4742 * text3.C (dispatch): make possible to extend a word/row selection
4745 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4747 * lyxtext.h: x0_,y0_ -> xo_,yo_
4748 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4749 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4750 * rowpainter.C (paintRows): paint full paragraphs
4752 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4754 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4757 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4759 * lyxtext.h: add x0_, y0_
4760 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4761 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4763 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
4765 * text2.C (setCursorIntern): move the x_target update here *
4766 * text3.C: change some bv() to true/false in calls to
4767 cursorUp/Down/Right/Left
4768 * cursor.C: use helper function.
4770 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4772 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4773 * paragraph_funcs.[Ch]: correct comment
4774 * rowpainter.C: do not paint selections away from bv->cursor()
4775 Fix a long standing selection painting bug.
4776 * text3.C: generalize mouse-selection code to LyXTexts other that
4778 * textcursor.C: do not use y coords if we can use par offsets
4780 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4782 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4783 cursor position after e.g. inset insert)
4785 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
4787 * lyxfind.C (replace): adjust to locking removal + some
4790 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
4792 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4795 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
4798 * output_docbook.C: XML sanitation: new layout
4799 parameters InnerTag and CommandDepth
4801 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
4803 * BufferView_pimpl.C:
4805 * text3.C: Fix the insertion and modification of button-style
4808 2003-11-13 André Pönitz <poenitz@gmx.net>
4810 * InsetList.[Ch]: remove deleteLyXText
4812 * paragraph.[Ch]: cache beginOfBody position
4817 * text3.C: remove superfluous update() calls
4821 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
4823 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4824 * BufferView.C (fitLockedInsetCursor): remove
4825 * cursor.[Ch] (getDim): add
4826 * text.C (getRowNearY): add faster version
4827 * text3.C: remove some update calls
4829 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
4841 * text3.C: The Character Style /XML short element patch.
4843 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
4846 * factory.C: Small step to solving 'unable to insert some insets'
4849 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
4851 * cursor.[Ch] (updatePos): new function for updating the y
4852 position of the tip inset
4853 * bufferview_funcs.C (put_selection_at):
4854 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4856 2003-11-11 André Pönitz <poenitz@gmx.net>
4858 * text.C: remove big comment on invalid Paragraph pointers as it is
4861 2003-11-11 André Pönitz <poenitz@gmx.net>
4863 * text_funcs.[Ch]: merge with ...
4871 * Makefile.am: remove text_funcs.[Ch]
4873 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
4875 * cursor.C (getPos): return absolute cached y coord
4877 * BufferView_pimpl.C (fitCursor): new simplistic code
4878 (workAreaDispatch): add a fitCursor call
4880 2003-11-10 André Pönitz <poenitz@gmx.net>
4883 * BufferView_pimpl.[Ch]: merge update() and updateInset()
4885 2003-11-10 André Pönitz <poenitz@gmx.net>
4887 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4888 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4889 indicate that the cursor needs to leave an inset
4891 * lyxtext.h: remove inset locking
4893 * cursor.[Ch]: re-implement functionality provided by inset locking
4896 * BufferView_pimpl.[Ch]:
4898 * bufferview_funcs.[Ch]:
4910 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
4912 * PosIterator.[Ch]: replace the stack with a vector, add inset
4914 * iterators.[C]: adjust
4916 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4918 * lyxfind.C (replaceAll): mark the buffer dirty if something was
4920 * paragraph_funcs.C (readParToken): put the correct id in the
4921 error item, not the id of the top paragraph
4923 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4925 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4926 * bufferview_funcs.C (put_selection_at): use the above
4928 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4930 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4932 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4934 * output_linuxdoc.h:
4935 * output_plaintext.h:
4937 * output_docbook.h: add #include statements
4939 2003-11-05 José Matos <jamatos@lyx.org>
4941 * output_docbook.[Ch]:
4942 * output_latex.[Ch]:
4943 * output_linuxdoc.[Ch]:
4944 * output_plaintext.[Ch]: New files for output formats.
4945 * output.[Ch]: New file for helper functions.
4948 * paragraph_funcs.[Ch]: output functions moved to new files.
4950 * outputparams.h: rename of latexrunparams.h
4958 * paragraph_funcs.[Ch]:
4959 * paragraph_pimpl.[Ch]:
4960 * tabular.[Ch]: rename ascii to plaintext
4961 and LatexRunParams to OutputParams.
4963 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4965 * iterators.[Ch] (text): require bv argument
4966 * undo.C (recordUndo):
4967 * lyxfunc.C (dispatch):
4968 * bufferview_funcs.C (put_selection_at): adjust
4970 2003-11-05 Jo� Luis M. Assirati <assirati@fma.if.usp.br>
4972 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4974 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4976 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4979 2003-11-04 André Pönitz <poenitz@gmx.net>
4981 * cursor.[Ch]: restructure
4984 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4986 * iterators.[Ch] (asCursor): remove
4988 * lfuns.h: remove LFUN_INSET_EDIT
4994 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4996 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4998 * lyxfind.[Ch]: complete overhaul
4999 * BufferView_pimpl.C:
5001 * paragraph.[Ch] (insert): add
5003 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
5007 * text.C: remove dead spellcheck code
5009 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5011 * dispatchresult.h: add a val setter
5013 * cursor.C (dispatch): use a tempvar for data_[i]
5015 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
5017 * PosIterator.[Ch]: compile fix
5019 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
5021 * text.C (cursorPar): deactivate the cursor cache
5023 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
5025 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
5027 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5029 * text3.C (dispatch): adjust for new DisptchResult semantics.
5031 * lyxfunc.C (dispatch): handle update when return from
5032 Cursor::dispatch, adjust for new DispatchResult semantics.
5034 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
5035 DispatchResult(true) mean to not update. Add class functions for
5036 setting dispatched and update, as well as reading.
5038 * cursor.C (dispatch): don't handle update here
5040 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5042 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
5043 * trans_mgr.C: adjust
5045 * paragraph_funcs.C (readParToken): exception safety
5047 * lyxvc.h: store the vcs pointer in a scoped_ptr
5050 * lyxsocket.C (serverCallback): exception safety
5052 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
5054 * ispell.C (clone): make it return a auto_ptr
5056 * factory.C (createInset): exception safety
5057 (readInset): exception safety
5059 * bufferlist.C (newBuffer): exception safety
5061 * Thesaurus.C (Thesaurus): use initialization for aik_
5063 * MenuBackend.C (expandToc): exception safety.
5065 2003-11-03 André Pönitz <poenitz@gmx.net>
5069 * bufferview_funcs.C: remove getInsetFromId()
5072 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
5078 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
5080 * PosIterator.C (distance, advance): new
5081 * bufferview_funcs.[Ch] (put_selection_at): new
5082 * iterators.[Ch] (lockPath): new
5084 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
5086 * iterators.[Ch] (asPosIterator): added
5087 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
5088 * PosIterator.[Ch]: added
5090 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5094 * cursor.C (dispatch):
5095 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
5097 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
5098 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
5099 contructor, add a class function dispatched. Remove operator>=
5101 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5103 * debug.C: only use the default constructor for debugstream
5106 * main.C (main): include debug.h and setup the lyxerr streambuf
5109 2003-10-31 José Matos <jamatos@lyx.org>
5111 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
5113 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
5114 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
5115 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5116 * paragraph_pimpl.C (simpleTeXSpecialC):
5117 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
5118 add LatexRunParams argument.
5120 * exporter.C (Export): change call accordingly.
5122 * latexrunparams.h: add new member to take care of the other backends.
5123 2003-10-30 José Matos <jamatos@lyx.org>
5125 * buffer.C (makeLinuxDocFile, makeDocBookFile):
5126 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5127 factorise code for paragraph output.
5129 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
5132 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5134 * text3.C (dispatch):
5135 * lyxfunc.C (dispatch):
5136 * cursor.C (dispatch):
5137 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
5139 * dispatchresult.h: make the dispatch_result_t ctor explicit
5141 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
5144 * buffer.C: small refactoring of docbook stuff
5146 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5148 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
5151 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5153 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
5154 operator dispatch_result_t, and operators for == != and >=
5156 * cursor.C (dispatch): adjust for operator dispatch_result_t
5157 removal. comment out call to update
5159 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
5161 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5169 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
5172 * dispatchresult.h: new file, DispatchResult broken out of
5175 * Makefile.am (lyx_SOURCES): add dispatchresult.h
5177 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
5179 * text.C (rowBreakPoint): put a hack inside #if 0
5181 2003-10-28 André Pönitz <poenitz@gmx.net>
5185 * paragraph_funcs.C:
5188 * text2.C: general cleanup (lots of small stuff)
5190 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
5192 * text2.C (cursorEnd): simple fix to the "end key goes to one
5193 before the end on last row" bug
5195 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5197 * text.C (backspace): fix the "zombie characters"
5199 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5201 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
5203 2003-10-27 André Pönitz <poenitz@gmx.net>
5205 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
5207 * factory.C: handle new InsetPagebreak, InsetLine
5209 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
5210 and move handling into new InsetPagebreak, InsetLine
5212 * BufferView_pimpl.C:
5214 * ParagraphParameters.C:
5215 * ParameterStruct.h:
5220 * paragraph_funcs.C:
5221 * paragraph_pimpl.C:
5227 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5230 * lyxrow_funcs.[Ch]:
5236 * text3.C: remove lastPos uses in favour of Row::endpos
5238 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5240 * undo.C (performUndoOrRedo): fix two crashes by setting a
5241 cursor by hand and reordering some calls. Use bv->lockInset instead
5242 of inset->edit because the latter loses cursor information
5244 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
5246 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
5248 (rowBreakPoint): fix width. change point to point + 1.
5249 Add a missing check.
5251 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
5254 * lyxfunc.C: fix (at least partly) the problems
5255 with the Nav menu and headers inside branch insets
5258 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
5260 * paragraph.C (getChar): add strong asserts
5262 * lyxrow_funcs.C (lastPos): remove hideous hack
5264 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
5265 (fill): adjust to that (avoid an infinite loop)
5267 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
5269 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
5271 2003-10-23 André Pönitz <poenitz@gmx.net>
5273 * RowList_fwd.h: change list<> to vector<> to gain speed
5274 after suggestion from Alfredo
5276 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
5278 * lyxtext.h: move the bidi stuff from here...
5281 * Bidi.[Ch]: ... to here
5283 2003-10-23 André Pönitz <poenitz@gmx.net>
5286 * text.C (isLastRow, isFirstRow): new functions
5288 * paragraph.h: new width cache member
5290 * rowpainter.C: replace RowList::iterator with Row & where possible
5292 * lyxfunc.C: replace several view()->text with a single call
5294 * toc.C: fix 'unused' warning
5296 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5298 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
5299 when woring with stream::pos_type
5300 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
5302 2003-10-22 André Pönitz <poenitz@gmx.net>
5305 * text.C: use Row & instead of RowList::iterator
5307 * lyxrow.h: rename end() to endpos()
5313 2003-10-22 Angus Leeming <leeming@lyx.org>
5315 * buffer.[Ch] (fully_loaded): new member function, returning true
5316 only when the file has been loaded fully.
5317 Used to prevent the premature generation of previews and by the
5318 citation inset to prevent computation of the natbib-style label.
5320 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
5321 templates are all set up.
5323 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
5325 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
5327 * text.C: fixed an "oops" in the "is a bit silly"
5330 2003-10-21 André Pönitz <poenitz@gmx.net>
5332 * FuncStatus.[Ch]: small stuff, whitespace
5334 * lyxfont.[Ch]: operator<<() for debug reasons
5338 * lyxtext.h: whitespace, spelling
5340 * paragraph.C: naming of variables
5343 * text2.C: small stuff
5346 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
5348 * text.C: (1) finish off the inset display() work;
5349 (2) fix the "is a bit silly" bug (accessing char
5352 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
5354 * text.C: re-introduce display() for insets, fixing the
5355 various bugs (stretch of line above, math inset
5358 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5360 * text.C (rightMargin): remove spurious semicolon
5362 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
5365 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
5367 * text3.C: fix one crash due to wrong cursor def
5369 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5371 * vc-backend.C (scanMaster): make the regex static
5373 * LaTeX.C (scanAuxFile): make the regexs static
5375 * text3.C (doInsertInset, dispatch, dispatch):
5376 * text2.C (cursorUp, cursorDown):
5377 * text.C (selectNextWordToSpellcheck):
5378 * BufferView_pimpl.C (dispatch):
5379 * lyxfunc.C (dispatch): localDispatch -> dispatch
5381 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5383 * lyxsocket.C: include <cerrno>
5385 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5387 * lyxfunc.C (dispatch): remove textcache stuff
5389 * bufferlist.C (release): remove textcache stuff
5392 * TextCache.C: delete file
5393 * TextCache.h: delete file
5395 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
5397 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
5398 delete of the bv_->text.
5399 (resizeCurrentBuffer): remove texcache stuff
5400 (workAreaResize): ditto
5402 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5404 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
5407 2003-10-16 André Pönitz <poenitz@gmx.net>
5414 * text3.C: speed up by storing y positions per paragraph plus per-row
5415 offset instead of having a 'full' y position in the row.
5417 2003-10-15 André Pönitz <poenitz@gmx.net>
5421 * undo.[Ch]: make undo aware of inner insets
5423 2003-10-14 Angus Leeming <leeming@lyx.org>
5425 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
5426 static member functions LyX::ref() and LyX::cref.
5427 (lastfiles): new accessor functions for the new lastfiles_ member var.
5428 (addLyXView, views_): add a new LyXView to the list of views_.
5429 (updateInset): loop over all LyXViews to call their own updateInset
5430 member function, returning a pointer to the Buffer owning the inset.
5432 * BufferView_pimpl.C (loadLyXFile):
5433 * MenuBackend.C (expandLastfiles):
5434 * bufferlist.C (MenuWrite, QuitLyX):
5435 lastfiles is no longer a global variable.
5436 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
5438 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
5439 static function. Access through LyX::cref().emergencyCleanup().
5441 2003-10-14 André Pönitz <poenitz@gmx.net>
5443 * iterators.[Ch]: new direct access to innermost LyXText and Inset
5445 * undo.[Ch]: restoring part of 'undo in insets'
5448 * undo_funcs.[Ch]: merge with undo.[Ch]
5450 * tabular.C: small cleansing stuff
5452 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
5454 * paragraph_funcs.C (readParToken): report unknown insets as error
5455 boxes. Use the outer paragraph as location (also for unknown
5458 * factory.C (readInset): do not abort on reading an unknown inset.
5459 Eat it and return 0.
5461 2003-10-13 Angus Leeming <leeming@lyx.org>
5463 * lyx_main.C (LyX): remove call to setDisplayTranslator().
5465 * lyxrc.C: displayTranslator is now a function,
5466 declared in GraphicsTypes.h.
5468 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5470 * format.C: new placeholder $$a to pass the socket address.
5472 * bufferlist.[Ch]: new function getBufferFromTmp.
5474 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
5475 files in the temporary dir.
5477 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5479 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
5481 * Makefile.am: add lyxsocket.[Ch].
5483 * lyx_main.C (error_handler): handle SIGPIPE.
5485 2003-10-13 André Pönitz <poenitz@gmx.net>
5487 * BufferView_pimpl.C:
5492 * undo_funcs.[Ch]: use paroffset_type instead of
5493 ParagraphList::iterators to prevent multiple conversion
5494 (and get a more robust interface)
5496 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5498 * lyxfunc.C (dispatch): RESULT -> dispatch_result
5500 * text3.C (dispatch): ditto
5502 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5504 * LaTeX.C (handleFoundFile): move the static to smaller scope,
5505 move the onlyfile, use onlyfile instead of foundfile in a couple
5508 * DepTable.C (update): flush the error stream a bit more
5510 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5512 * lyxserver.C (callback): adjust
5514 * lyxfunc.C (getStatus): add a missing brace in commented code
5515 (ensureBufferClean): reindent
5516 (dispatch): delete version taking a string
5518 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5520 * LaTeX.C (deplog): move found file handlig from here...
5521 (handleFoundFile): .. to new function here.
5522 (deplog): make sure to discover several files mentioned on the
5525 2003-10-10 André Pönitz <poenitz@gmx.net>
5532 * text3.C: fix some of the tabular crashes
5534 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5536 * MenuBackend.C (binding): put debug message into Debug::KBMAP
5538 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
5540 2003-10-09 André Pönitz <poenitz@gmx.net>
5542 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
5545 * BufferView_pimpl.C:
5546 * bufferview_funcs.C:
5557 * undo_funcs.C: adjust
5559 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5561 * text2.C (incrementItemDepth): new function, use a backtracking
5562 algorithm to discover the correct item depth.
5563 (resetEnumCounterIfNeeded): new function, use a backtracking
5564 algorithm to discover if counter reset is needed.
5565 (setCounter): use them. Simplify a bit. Add different labels for
5566 different item depths for itemize.
5568 * paragraph.C (Paragraph): remove initialization of enumdepth
5571 * paragraph.h: get rid of enumdepth, and use itemdepth both for
5572 enumerate and itemize. Change the type of itemdepth to signed char.
5574 2003-10-08 André Pönitz <poenitz@gmx.net>
5576 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5581 * tabular.[Ch]: fix crash after 'row-insert'
5583 2003-10-08 Angus Leeming <leeming@lyx.org>
5585 Fix doxygen warnings.
5587 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5588 Remove CutAndPaste:: prefix from header file declaration.
5590 * LColor.h (fill): remove LColor:: prefix from declaration.
5592 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5593 use lyx::depth_type rather than Paragraph::depth_type so that
5594 header file and .C file match.
5596 * converter.h (intToFormat): remove Converters:: prefix from declaration.
5598 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5599 * aspell.C: \file aspell_local.C -> \file aspell.C
5600 * gettext.C: \file gettext.C -> \file src/gettext.C
5601 * gettext.h: \file gettext.h -> \file src/gettext.h
5602 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5603 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5604 * text.C: \file text.C -> \file src/text.C
5606 * toc.C: move comment so that doxygen is not confused.
5608 2003-10-07 Angus Leeming <leeming@lyx.org>
5610 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5612 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5615 * aspell_local.h: add forgotten std::string's.
5617 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
5624 * text3.C: The Box patch. Fancybox support, minipage, parbox
5626 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
5632 * ParagraphParameters.h:
5642 * lyxtextclasslist.h:
5645 * paragraph_pimpl.C:
5646 * textcursor.h: add <string> and other small fixes to make Lars'
5647 std::string patch compile with STLport.
5649 2003-10-06 Angus Leeming <leeming@lyx.org>
5651 * LColor.h: Add missing #include <string>.
5653 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5655 * All most all file in all subdirs: Make <string> be the prefered
5656 way of getting to std::string, add using declarations.
5658 2003-10-06 André Pönitz <poenitz@gmx.net>
5660 * metricsinfo.C: initialize LyXFont before changing attribute.
5661 (fixes the 'math in \emph is upright' bug)
5663 2003-10-06 André Pönitz <poenitz@gmx.net>
5665 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5667 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
5670 * paragraph_pimpl.C: Small fixes to build using STLport
5672 2003-10-02 André Pönitz <poenitz@gmx.net>
5675 * text3.C: move handling of LFUN_DEPTH *; fix #1360
5677 2003-10-01 André Pönitz <poenitz@gmx.net>
5679 * factory.C: assert early
5681 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5683 * lyx_main.C: remove the global debug object
5685 * debug.h: adjust for new debugstream
5687 * debug.C: adjust for new debugstream and keep the global debug
5690 2003-09-22 Angus Leeming <leeming@lyx.org>
5692 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5693 of g++ which otherwise complain that the scoped_ptr destructor can't delete
5694 an incomplete class LyXFont.
5696 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
5698 * factory.C: bug fix in branches
5700 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5702 * lyxfunc.C (processKeySym): adjust
5704 (dispatch): change arg name from ev to func, adjust
5705 (sendDispatchMessage): ditto
5707 * lyx_main.C (defaultKeyBindings): adjust keybindings
5708 (deadKeyBindings): ditto
5710 * kbsequence.C (addkey): return a FuncRequest
5712 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5714 * kbmap.C (bind): take a FuncRequest as arg, adjust
5717 (defkey): change to take a FuncRequest as arg, adjust
5718 (findbinding): take a FuncRequest as arg, adjust.
5720 * funcrequest.h (operator=): added
5722 * funcrequest.C (FuncRequest): default kb_action changed from
5723 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5725 * buffer.C (dispatch): simplify
5726 (dispatch): adjust to take a FuncRequest as arg, adjust
5728 * boost.C (assertion_failed): change assertion message slightly
5730 * ToolbarBackend.C (read): simplify
5732 * MenuBackend.C (binding): adjust call to findbinding, add a
5733 message if no binding is found.
5735 (expandToc): correct by adding a empty FuncRequest
5737 * LyXAction.C: include <boost/assert.hpp>
5738 (isPseudoAction): delete function
5739 (LookupFunc): change name to...
5740 (lookupFunc): this. change return type to FuncRequest.
5741 (getActionName): take kb_action as arg, simplify
5742 (funcHasFlag): add an assert, simplify.
5744 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5746 * toc.C (action): return a FuncRequest, simplify
5748 * lyxfunc.C (processKeySym): adjust
5749 (getStatus): delete version that takes an int.
5751 (dispatch): delete version that takes action as int
5753 (sendDispatchMessage): simplify and adjust
5755 * funcrequest.C (getArg): take unsigned int as arg
5757 * ToolbarBackend.C (read): adjust
5758 (add): delete version that takes func as a string.
5759 (getIton): take a FuncRequest as arg
5761 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5764 * MenuBackend.C (MenuItem): add a new construct that only takes a
5765 Kind, simplify the constructor use for submenus.
5767 (expandLastfiles): adjust
5768 (expandDocuments): adjust
5769 (expandFormats): adjust
5770 (expandFloatListInsert): adjust
5771 (expandFloatInsert): adjust
5772 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5774 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5775 Remove class variables lyx_pseudo_map and lyx_arg_map
5777 * LyXAction.C (searchActionArg): delete function
5778 (getPseudoAction): delete function
5779 (retrieveActionArg): delete function
5780 (LookupFunc): make it return kb_action, simplify.
5781 (getActionName): simplify
5783 * factory.C (createInset): fix new bug
5785 2003-09-19 Angus Leeming <leeming@lyx.org>
5787 * CutAndPaste.C (pasteSelection): remove fudge used to set the
5788 masterFilename_ parameter in the include inset.
5790 * factory.C (createInset): changes due to the changes to InsetInclude.
5792 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5794 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5796 2003-09-18 Angus Leeming <leeming@lyx.org>
5799 * BufferView.C: pass the buffer when calling Inset::getLabelList,
5800 Inset::fillWithBibKeys.
5801 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5803 2003-09-18 Angus Leeming <leeming@lyx.org>
5805 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5807 (ctor): pass and store a 'Buffer const &'
5808 (buffer): new member function.
5810 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5811 '*this' to the LaTeXFeatures ctor.
5813 2003-09-18 Angus Leeming <leeming@lyx.org>
5819 * text.C: rename EnumLColor as LColor_color.
5821 2003-09-18 Angus Leeming <leeming@lyx.org>
5823 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5824 remove #include "insets/insetbase.h" from cursor.h.
5826 2003-09-18 Angus Leeming <leeming@lyx.org>
5828 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5829 InsetOld_code to remove #include "inset.h".
5831 * iterators.C: add #include "insets/inset.h"
5833 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
5835 * BufferView.C: remove more locking stuff that apparently doesn't
5836 do anything sensible.
5838 2003-09-16 André Pönitz <poenitz@gmx.net>
5841 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5844 2003-09-16 Angus Leeming <leeming@lyx.org>
5846 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5848 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5851 * paragraph.h: remove #include "lyxfont.h". Forward declare
5854 2003-09-16 Angus Leeming <leeming@lyx.org>
5856 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5857 of support/textutils.h.
5858 (isWord): move the contents of support/textutils.h's IsWordChar here.
5864 * text2.C: add #include "paragraph.h".
5867 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5869 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5875 * LaTeX.C: use namespace alias for lyx::support::os
5877 2003-09-16 Angus Leeming <leeming@lyx.org>
5880 * bufferview_funcs.C:
5883 * paragraph_pimpl.C:
5885 * text.C: add #include "LColor.h".
5887 2003-09-16 Angus Leeming <leeming@lyx.org>
5889 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5890 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5892 Store the FontBits::color variable as an int rather than as an
5893 LColor::colorso that we can move LColor.h out of the lyxfont.h header
5896 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5897 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5898 string calls together.
5900 * lyxrc.C: add #include "LColor.h".
5902 2003-09-15 Angus Leeming <leeming@lyx.org>
5904 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5907 2003-09-15 Angus Leeming <leeming@lyx.org>
5909 * LColor.h: add an EnumLColor wrapper for LColor::color.
5911 * lyxfont.[Ch] (color, setColor, realColor):
5912 * lyxtext.h, text.C (backgroundColor):
5913 pass EnumLColor args to/from the functions, rather than LColor::color
5917 * lyxtext.h: forward declare EnumLColor.
5919 * lyx_main.C: add #include "LColor.h".
5921 2003-09-15 Angus Leeming <leeming@lyx.org>
5923 * .cvsignore: add lyx-gtk.
5925 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5930 * ParagraphParameters.C
5934 * bufferview_funcs.C
5944 * vc-backend.C: remove usage of STRCONV
5946 2003-09-15 Angus Leeming <leeming@lyx.org>
5948 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5949 explicitly define the color passed to the painter.
5951 2003-09-15 Angus Leeming <leeming@lyx.org>
5953 * bufferparams.C (BufferParams): reorder member initializers to avoid
5956 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
5958 * CutAndPaste.C (pasteSelection): remove an outdated #warning
5959 * text.C (updateRowPositions): remove an unusual nop
5961 2003-09-12 André Pönitz <poenitz@gmx.net>
5963 * BufferView_pimpl.C:
5972 * Counters.[Ch]: finish the 'automatic counters' job
5974 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5976 * aspell.C: include <boost/assert.cpp> (compile fix)
5978 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
5980 * boost.C (assertion_failed): use lyx::support::abort instead of
5983 2003-09-10 Angus Leeming <leeming@lyx.org>
5985 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5986 with their _fwd progeny.
5988 2003-09-09 Angus Leeming <leeming@lyx.org>
5990 134 files throughtout the source tree: replace 'using namespace abc;'
5991 directives with the appropriate 'using abc::xyz;' declarations.
5993 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5995 * boost.C (emergencyCleanup): moved here from LAssert.c
5996 (assertion_failed): new function, called by BOOST_ASSERT
5998 * several files: change Assert to BOOST_ASSERT
6000 2003-09-09 Angus Leeming <leeming@lyx.org>
6002 * buffer.[Ch]: Add an Impl class and move Buffer's member
6003 variables into it. As a result move several header files out of
6006 Add header files to lots of .C files all over the tree as a result.
6008 2003-09-09 Angus Leeming <leeming@lyx.org>
6010 * buffer.[Ch]: make Buffer's member variables private. Add
6013 Lots of changes all over the tree as a result.
6015 2003-09-08 Angus Leeming <leeming@lyx.org>
6017 * graph.C: #include <config.h>.
6019 2003-09-08 Angus Leeming <leeming@lyx.org>
6023 * BufferView_pimpl.C:
6052 * toc.C: remove redundant using directives.
6054 2003-09-07 Angus Leeming <leeming@lyx.org>
6056 * LaTeXFeatures.h: remove #include "support/types.h".
6057 * ToolbarBackend.h: remove #include <algorithm>.
6058 * changes.h: remove #include <ctime>.
6059 * debug.h: remove #include <iosfwd>.
6060 * graph.h: remove #include "support/std_string.h".
6061 * lyx_main.h: remove #include <csignal>.
6062 * lyxlex_pimpl.h: remove #include <fstream>.
6063 * sgml.h: remove #include <algorithm>, <utility>.
6064 * toc.h: remove #include "support/std_ostream.h".
6065 Add #include <iosfwd>.
6067 2003-09-07 Angus Leeming <leeming@lyx.org>
6069 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
6071 * converter.h: forward declare LatexRunParams.
6072 * encoding.h: remove #include "lyxrc.h".
6073 * lyxtext.h: remove #include "LColor.h".
6074 * lyxtextclass.h: remove #include "support/types.h".
6075 * trans.h: remove #include "tex-accent.h".
6076 * trans_mgr.h: remove #include "tex-accent.h".
6077 * insets/inset.h: remove #include "support/types.h", <vector>.
6078 * insets/insetcollapsable.h: remove #include "LColor.h".
6079 * insets/insetinclude.h: remove #include "dimension.h".
6080 * insets/insetlatexaccent.h: remove #include "dimension.h".
6081 * insets/insetoptarg.h:: remove #include "insettext.h".
6082 * insets/insettext.h: remove #include "dimension.h",
6083 <boost/shared_ptr.hpp>
6085 * insets/renderers.h: add #include "dimension.h".
6086 * insets/updatableinset.h: add #include "support/types.h".
6088 * many .C files: Associated changes.
6090 2003-09-06 Angus Leeming <leeming@lyx.org>
6092 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
6093 one, inside testInvariant.
6095 * PrinterParams.C: new file.
6096 * PrinterParams.[Ch]: move the function bodies out of line.
6098 2003-09-06 Angus Leeming <leeming@lyx.org>
6100 * ParagraphParameters.h: forward declare ParameterStruct rather than
6101 including its header file.
6102 (depth): moved out-of-line.
6104 2003-09-06 Angus Leeming <leeming@lyx.org>
6106 * BufferView_pimpl.h:
6109 * lyxfunc.h: forward declare LyXKeySym rather than
6110 #include "frontends/LyXKeySym.h".
6112 * BufferView_pimpl.C:
6115 * lyxfunc.C: associated changes.
6117 2003-09-06 Angus Leeming <leeming@lyx.org>
6119 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
6120 As a result, can remove the #include "insets/inset.h" from BufferView.h
6122 2003-09-06 Angus Leeming <leeming@lyx.org>
6124 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
6125 As a result, can remove the #include "insets/inset.h" from BufferView.h
6127 2003-09-06 Angus Leeming <leeming@lyx.org>
6133 * bufferview_funcs.C:
6134 * BufferView_pimpl.C:
6139 * ParagraphParameters.C:
6144 * frontends/controllers/ControlDocument.C:
6145 * insets/insetcaption.C: rearrange the #includes into some sort of
6148 * buffer.h: remove #includes ErrorList.h, undo.h
6150 2003-09-06 Angus Leeming <leeming@lyx.org>
6152 * support/types.h: add a 'depth_type' typedef, used to store the
6153 nesting depth of a paragraph.
6156 * ParameterStruct.h: use this lyx::depth_type typedef rather than
6157 defining explicitly.
6160 * paragraph_funcs.h:
6161 * ParagraphParameters.h:
6162 * sgml.h: use lyx::depth_type rather than Paragraph or
6163 ParameterStruct's depth_type.
6166 * paragraph_funcs.h: no need to #include paragraph.h anymore.
6169 * BufferView_pimpl.C:
6171 * ParagraphParameters.C:
6174 * bufferview_funcs.C:
6181 * frontends/LyXView.C:
6182 * frontends/controllers/ControlDocument.C:
6183 * frontends/controllers/ControlErrorList.C:
6184 * insets/insetbibitem.C:
6185 * insets/insetbranch.C:
6186 * insets/insetcaption.C:
6187 * insets/insetcollapsable.C:
6188 * insets/insetenv.C:
6189 * insets/insetert.C:
6190 * insets/insetfloat.C:
6191 * insets/insetfoot.C:
6192 * insets/insetfootlike.C:
6193 * insets/insetnewline.C:
6194 * insets/insetquotes.C:
6195 * insets/insettabular.C:
6196 * insets/insettext.C:
6197 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
6199 * frontends/controllers/ControlChanges.C: #include "changes.h".
6201 2003-09-06 Angus Leeming <leeming@lyx.org>
6203 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
6204 than #including paragraph.h.
6207 * RowList.h: deleted. Superfluous.
6217 * insets/insettext.h: use ParagraphList_fwd.h rather than
6220 * paragraph.h: don't forward declare ParagraphList.
6223 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
6224 rather than ParagraphList.h. paragraph.h is still needed for the
6225 Paragraph::depth_type parameters.
6227 * textcursor.h: enable it to compile stand-alone in light of the
6230 * bufferview_funcs.C:
6242 * frontends/controllers/ControlParagraph.C:
6243 * frontends/controllers/ControlTabular.C:
6244 * insets/insetmarginal.C:
6245 * insets/insetminipage.C:
6246 * insets/insetnote.C:
6247 * insets/insetoptarg.C: add header files needed to compile again.
6249 2003-09-06 Angus Leeming <leeming@lyx.org>
6251 * RowList_fwd.h: new file, forward-declaring Row rather than
6252 #including lyxrow.h.
6257 * insets/insettext.h: use it instead of RowList.h
6259 * bufferview_funcs.C:
6266 * text3.C: #include "RowList.h".
6268 2003-09-05 Angus Leeming <leeming@lyx.org>
6270 * factory.C (createInset):
6271 * vspace.C (c-tor): replace sscanf call with an istringstream.
6272 * ispell.C: re-add missing HP/UX headers.
6273 * lyxserver.C: re-add missing os2 headers.
6275 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
6284 * text3.C: re-add missing system headers, needed for 2.95.2.
6286 2003-09-05 Angus Leeming <leeming@lyx.org>
6288 Changes most place everywhere due to the removal of using directives
6289 from support/std_sstream.h.
6291 2003-09-05 Angus Leeming <leeming@lyx.org>
6293 Replace LString.h with support/std_string.h,
6294 Lsstream.h with support/std_sstream.h,
6295 support/LIstream.h with support/std_istream.h,
6296 support/LOstream.h with support/std_ostream.h.
6298 Changes resulting throughout the tree.
6300 2003-09-05 Angus Leeming <leeming@lyx.org>
6302 * sgml.h: ensure that the header file can be compiled stand-alone.
6303 * *.C: strip out redundant #includes. (320 in total.)
6305 2003-09-04 Angus Leeming <leeming@lyx.org>
6307 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
6308 here (from getPackages).
6310 * debug.[Ch]: add a new EXTERNAL tag.
6312 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6314 * text2.C (cursorEnd): simplify
6316 (getColumnNearX): adjust
6318 * text.C (computeBidiTables): adjust
6321 * rowpainter.C (paintChars): adjust
6322 (paintSelection): adjust
6323 (paintChangeBar): adjust
6326 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
6328 (numberOfSeparators): adjust
6330 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
6336 * text3.C: Restricts the mouse click functionality
6337 of insets like bibtex, include, toc and floatlist to the visible
6338 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
6339 up the dialogs. Cursor has to be in front of the inset (i.e.
6340 start of row) for this to function.
6342 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6344 * bufferview_funcs.C (currentState): output row information
6346 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6348 * bufferview_funcs.C (currentState): output paragraph position
6350 2003-09-04 Angus Leeming <leeming@lyx.org>
6352 * FloatList.h: move out #include "Floating.h".
6353 * LaTeX.h: move out #include "DepTable.h".
6354 * LyXAction.h: move out #include "funcrequest.h".
6355 * buffer.h: move out #include "author.h", "iterators.h".
6356 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
6357 * lyx_main.h: move out #include "errorlist.h".
6358 * lyxfunc.h: move out #include "FuncStatus.h".
6359 * lyxtext: move out #include "lyxcursor.h".
6360 * paragraph_pimpl.h: move out #include "counters.h".
6362 2003-09-03 Angus Leeming <leeming@lyx.org>
6364 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
6365 preamble_snippets list, enabling us to add snippets to the preamble
6366 only if the snippet was not there already.
6368 2003-09-04 Angus Leeming <leeming@lyx.org>
6370 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
6372 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6374 * lyxfunc.C (dispatch): if fitCursor did something be sure to
6377 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
6379 * BranchList.C: point fix, earlier forgotten
6381 2003-09-02 Angus Leeming <leeming@lyx.org>
6383 * box.C (contains): renamed from 'contained' after a fantastic
6386 2003-09-02 John Levon <levon@movementarian.org>
6392 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
6394 2003-09-02 John Levon <levon@movementarian.org>
6396 * text2.C: simplification of cursorEnd(), including partial
6399 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6401 * buffer.C (readFile): add a space
6403 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
6405 * BufferView_pimpl.C (update): remove bogus fitCursor() call
6407 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6409 * buffer.C (readFile): new function, take a filename and a
6410 ParagraphList::iterator
6412 (readFile): adjust, make it private. don't use setStream, make
6413 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
6414 always contain the filename.
6416 * BufferView.C (insertLyXFile): simplify and make it work for
6419 2003-08-30 John Levon <levon@movementarian.org>
6421 * Makefile.am: fix dist (from Kayvan)
6423 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6425 * most files: change to use const Buffer refs
6427 2003-08-27 André Pönitz <poenitz@gmx.net>
6429 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
6430 on top of ownerPar().
6432 2003-08-27 John Levon <levon@movementarian.org>
6434 * funcrequest.C: properly initialise POD members
6436 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
6438 * lyxtext.h (top_y): move top_y from here
6443 * BufferView_pimpl.[Ch]: to here
6444 * frontends/screen.C:
6445 * insets/insettabular.C:
6446 * insets/insettext.C: adjust
6447 * rowpainter.[Ch] (paintRows): remove LyXText & argument
6449 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
6452 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
6454 2003-08-26 André Pönitz <poenitz@gmx.net>
6456 * paragraph_func.[Ch] (outerPar): new function
6459 * paragraph_funcs.C:
6460 * paragraph_funcs.h:
6461 * paragraph_pimpl.C:
6462 * text2.C: remove Inset::par_owner
6464 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
6469 * text2.C: eliminates the needFullRow/display() stuff
6470 altogether, putting the logic in metrics/draw in the insets.
6472 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
6474 * text2.C (redoParagraphInternal, redoParagraphs):
6475 * text.C (redoParagraph): add a call to updateRowPositions at the
6476 end of each 'metrics-like' call. Remove all others.
6477 (getRow): remove the 'y-computing' version.
6478 (getRowNearY): do not compute nor return the real y. Solve the
6479 'y < 0' problem and simplify.
6481 2003-08-22 Angus Leeming <leeming@lyx.org>
6483 * *.[Ch]: clean-up of licence and author blurbs.
6484 Also move config.h out of a few .h files and into a few .C files.
6486 2003-08-22 André Pönitz <poenitz@gmx.net>
6488 * lyxrow.[Ch]: add x_ and *fill_ members
6493 * text2.C: adjust/remove prepareToPrint() calls
6495 2003-08-22 André Pönitz <poenitz@gmx.net>
6497 * lyxrow.[Ch]: add end_ member
6499 * lyxrow_funcs.C: use LyXRow::end_
6501 * lyxtext.h (singleWidth): add LyXFont parameter
6504 * text2.C: adjust LyXText::singleWidth() calls
6506 * text.C (redoParagraph): simplify row breaking logic
6509 2003-08-19 André Pönitz <poenitz@gmx.net>
6511 * funcrequest.C: initialize button_ member
6514 * rowpainter.[Ch]: interface consolidation
6516 2003-08-18 André Pönitz <poenitz@gmx.net>
6519 * BufferView_pimpl.C:
6521 * paragraph_funcs.C:
6523 * text3.C: remove LyXScreen::draw() and fitCursor calls
6525 * BranchList.h: remove spurious semicolons
6527 * MenuBackend.C: fix branchlist related crash
6529 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
6537 * bufferparams.[Ch]:
6541 * text3.C: implements the 'branch inset'
6542 idea. This allows the output of various versions of a document
6543 from a single source version, selectively outputing or suppressing
6544 output of parts of the text.
6545 This implementation contains a 'branch list editor' in a separate
6546 tab of the document settings dialog. Branches are user definable
6547 and have a "display colour" to distinguish them on-screen.
6549 ColorHandler was somewhat cleaned up.
6550 (1) make possible a dynamically growing LColor list by allowing
6551 the graphic context cache to grow along (vector);
6552 (2) eliminate an IMHO unnecessary step in colour allocation.
6554 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
6556 * BufferView_pimpl.C: compile fix
6558 2003-08-15 André Pönitz <poenitz@gmx.net>
6560 * rowpainter.C: remove extra metrics calls
6562 * lyxtext.h: merge the two constructors into a single one,
6563 pass reference to owner's par list
6565 * BufferView_pimpl.C:
6569 2003-08-15 André Pönitz <poenitz@gmx.net>
6571 * lyxrow_funcs.[Ch]:
6574 * paragraph_funcs.C:
6579 * text_funcs.C: split LyXText::rowlist_ into individual
6580 Paragraph::rows_ chunks
6583 * BufferView_pimpl.[Ch]:
6586 * text3.C: remove toggleSelection()
6588 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
6590 * bufferlist.C: beautify two alerts (shorter text of buttons)
6591 * buffer.C: Remove redundant ' ' from message
6593 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6594 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6595 rename VALIGN_CENTER to VALIGN_MIDDLE
6597 2003-08-11 André Pönitz <poenitz@gmx.net>
6599 * lyxtext.h (getPar):
6600 * text.C: new function
6602 2003-08-11 André Pönitz <poenitz@gmx.net>
6605 * tracer.[Ch]: remove unneeded files
6607 * InsetList.[Ch]: remove resizeInsetsLyXText()
6612 * text3.C: merge insertParagraphs() and appendParagraph()
6613 remove breakAgain(), update()
6615 * BufferView_pimpl.[Ch]:
6616 * bufferview_funcs.[Ch]:
6620 * tabular.C: adjust after text & InsetList changes.
6622 2003-08-08 André Pönitz <poenitz@gmx.net>
6624 * text.C (insertChar, backspace): replace rowlist fiddling
6625 with rebreak of full par
6628 * text.C (breakAgainOneRow, redoHeightOfParagraph,
6629 checkParagraph, updateInset): removed
6631 2003-08-07 André Pönitz <poenitz@gmx.net>
6634 * text3.C: merge some LFUN handlers, remove dead code
6636 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6638 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6640 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
6642 * text2.C (DEPM): fix part of bug 1255 and 1256
6644 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6646 * BufferView_pimpl.C (workAreaDispatch): change to use
6647 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6648 that are no mouse related.
6650 2003-08-05 André Pönitz <poenitz@gmx.net>
6653 * BufferView_pimpl.[Ch]:
6654 * bufferview_funcs.C:
6656 * text3.C: rip out "deep update"
6658 * textcursor.[Ch] (last_sel_cursor): remove unused member
6660 2003-08-04 André Pönitz <poenitz@gmx.net>
6663 * BufferView_pimpl.[Ch]:
6664 * ParagraphParameters.C:
6665 * bufferview_funcs.C:
6671 * text3.C: replace "complicated" BufferView::update(...) calls with
6674 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6676 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
6678 * Makefile.am (lyx_SOURCES): add paper.h
6680 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6682 * Makefile.am: move things around so that both lyx-qt and
6683 lyx-xforms can be built (according to --with-frontend). Then lyx
6684 is a symbolic link to lyx-[firstfrontend]
6686 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
6688 * Always use std::endl with lyxerr
6690 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
6692 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6694 2003-08-01 André Pönitz <poenitz@gmx.net>
6697 * BufferView_pimpl.[Ch]:
6699 * text3.C: merge BufferView::repaint() and BufferView::update()
6701 2003-08-01 José Matos <jamatos@lyx.org>
6703 * buffer.[Ch]: file_format is no longer a buffer data element.
6705 2003-08-01 André Pönitz <poenitz@gmx.net>
6710 * text2.C: make redoParagraph more independent of current cursor
6712 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6714 * text2.C: remove unneeded members
6716 2003-07-30 André Pönitz <poenitz@gmx.net>
6718 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6720 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6721 create a single function...
6723 * paragraph_funcs.C (moveItem): ... here.
6726 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6728 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6730 * LColor.[Ch]: Add comment and greyedout logical colors.
6732 2003-07-30 André Pönitz <poenitz@gmx.net>
6734 * tabular.C: don't use Assert too heavily. This crashes where it
6737 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
6739 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6740 is disabled (bug 1232)
6742 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6744 * factory.C: limited 'arg' scope
6746 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6748 * factory.C: fixed Note submenu issues
6750 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6752 * factory.C: submenu for Note/Comment/Greyedout
6754 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
6757 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6759 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
6762 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6763 greyedout. Patch provided by Jürgen Spitzmüller.
6765 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6767 * kbmap.C (read): fix error message when reading bind files
6769 2003-07-29 Angus Leeming <leeming@lyx.org>
6771 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6772 certainly does not do what it purports to do. I am doing it, and
6773 us, a favour by killing it.
6775 2003-07-28 José Matos <jamatos@lyx.org>
6777 * buffer.C (readBody, do_writeFile):
6778 * paragraph.C(readParagraph): \end_document replaces \the_end.
6780 2003-07-29 André Pönitz <poenitz@gmx.net>
6783 * BufferView_pimpl.[Ch]:
6787 * textcursor.[Ch]: remove toggleToggle & Co
6789 2003-07-28 José Matos <jamatos@fep.up.pt>
6791 * buffer.C (readParagraph):
6792 * params_func (readParToken, readParagraph):
6793 * paragraph.C (write): \layout -> \begin_layout.
6795 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6797 * lyxlex_pimpl.C (setFile): clean up slightly.
6799 * bufferparams.h: add compressed var
6801 * buffer_funcs.C (readFile): adjust for LyXLex change
6802 (newFile): ditto + simplify
6804 * buffer.C (writeFile): handle writing of compressed files
6806 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6807 Check if the file is compressed and set a bufferparm if so.
6809 * Makefile.am (lyx_LDADD): remove explicit -lz
6811 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6813 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6814 makeDocBookFile): put the real LyX version in the first line of
6818 * version.C.in: remove lyx_docversion
6820 * tabular.C (write_attribute): add a template-based version to
6821 write enums properly
6823 2003-07-28 André Pönitz <poenitz@gmx.net>
6828 * text3.C: use doubles again for x-coordinates. They are needed.
6830 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6832 * messages.C (getLocaleDir): use lyx_localedir()
6834 * lyxlex_pimpl.C (setFile): compress stuff
6836 * buffer.C (writeFile): add some compression stuff
6837 (do_writeFile): new func, dont call expliti close... will this
6840 * Makefile.am (lyx_LDADD): add -lz
6842 2003-07-28 José Matos <jamatos@fep.up.pt>
6844 * buffer.C: increment file format.
6845 * paragraph_funcs (readParagraph, readParToken):
6846 * paragraph.C (readParagraph): add \end_layout.
6848 2003-07-27 Angus Leeming <leeming@lyx.org>
6850 * Makefile.am: remove special casing for configure-time setting of
6851 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6853 * lyx_main.C (init): remove all Jean-Marc's magic setting of
6854 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6856 2003-07-26 André Pönitz <poenitz@gmx.net>
6858 * paragraph_func.[Ch]:
6859 * paragraph.C (realizeFont): inline it whereever it is used
6864 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6867 2003-07-26 André Pönitz <poenitz@gmx.net>
6871 * text2.C: get rid of LyXText::need_break_row
6873 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6875 * toc.[Ch]: put namespace toc inside namespace lyx
6877 * MenuBackend.C (expandToc2): adjust for lyx::toc
6880 * lyxfunc.C (dispatch): adjust for lyx::find
6882 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6883 lyx::find instead. Reorganize a bit.
6884 (LyXReplace): rename to replace
6885 (LyXFind): rename to find
6887 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6890 2003-07-26 André Pönitz <poenitz@gmx.net>
6892 * text.C (setHeightOfRow): restrict scope of temporary variable
6894 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
6895 code (never has been used?)
6897 2003-07-27 Asger Alstrup <alstrup@local>
6899 * text.C (fill): Optimise algorithm to exploit that we can reuse
6900 the LyXFont for many characters.
6901 (setHeightOfRow): Same thing.
6902 (rowBreakPoint): Same thing.
6904 2003-07-26 Asger Alstrup <alstrup@local>
6906 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6908 * text.C (singleWidth): Spurious font copying in hot-spot
6909 singleWidth avoided. Reorder tests for arabic for efficiency.
6911 * text.C (fill): handle empty paragraphs better.
6913 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6916 * encoding.h: add includes
6918 * lyxrc.C: remove reading of bind files
6920 * lyx_main.C (init): setup bindings and menus only if we have a
6923 * kbmap.C (read): new method. Do the actual reading of bind
6926 * converter.C (dvipdfm_options):
6929 (output): adapt PAPER_* enums.
6931 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6933 * bufferparams.h: remove paper-related enums from there
6935 * paper.h: New file. A trivial header file to hold paper-related
6936 enums. It should later expand to contain many paper-related
6939 * lyxrc.C: declare extern displayTranslator
6941 2003-07-27 José Matos <jamatos@fep.up.pt>
6943 * tabular.[Ch] (linuxdoc): add support for tables and figures
6946 2003-07-27 José Matos <jamatos@fep.up.pt>
6948 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6949 consistency in both functions.
6950 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6952 2003-07-26 Asger Alstrup <alstrup@local>
6954 * rowpainter.C (paintRows): Change algorithm to work directly on
6955 the insets rather than asking every character in the document
6956 whether its an inset.
6958 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
6960 * buffer.C (openFileWrite): factorize some code
6962 2003-07-26 Angus Leeming <leeming@lyx.org>
6965 * lyx_main.[Ch]: replace occurances of system_tempdir with
6968 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6970 * rename Inset to InsetOld
6972 2003-07-25 Asger Alstrup <alstrup@diku.dk>
6974 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6975 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6976 which I think is a bit clearer. EDIT is gone, since it was
6977 premature optimisation, and broken for mathed anyway.
6978 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6979 with cursor positioning in insets as well (math insets still do not
6980 work, but that's a different story anyway.) It mysteriously
6981 crashes sometimes with undo in the first paragraph, but I'm fairly
6982 confident that this is a compiler bug.
6984 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6986 * paragraph.C (Paragraph): adjust for new clone return type
6988 (copyIntoMinibuffer): ditto
6990 2003-07-25 Asger Alstrup <alstrup@lyx.org>
6992 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6993 by not having a special case, and always doing a full rebreak of
6994 the document after undo.
6996 2003-07-23 Angus Leeming <leeming@lyx.org>
6998 * factory.C (createInset): InsetExternal::setParams now takes a
7001 2003-07-23 Angus Leeming <leeming@lyx.org>
7003 * factory.C (createInset): changed interface to the external and
7004 graphics mailers' string2params functions.
7006 2003-07-23 Angus Leeming <leeming@lyx.org>
7008 * factory.C (createInset): pass a
7009 Buffer const * parameter to InsetExternalMailer's string2params.
7011 2003-07-22 John Levon <levon@movementarian.org>
7013 * Thesaurus.h: include the right aiksaurus header
7015 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7017 * MenuBackend.C (expand): check menu shortcuts unconditionally
7019 2003-07-21 Angus Leeming <leeming@lyx.org>
7021 * factory.C (createInset): pass a
7022 buffer_path parameter to InsetGraphicsMailer's string2params.
7024 2003-07-21 Angus Leeming <leeming@lyx.org>
7026 * BufferView_pimpl.C (buffer):
7029 * lyxfunc.C (dispatch):
7030 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
7031 rather than the grfx shortcut.
7033 2003-07-21 André Pönitz <poenitz@gmx.net>
7035 * rowpainter.C: remove unused variables
7038 * tabular_funcs.h: move to tabular.C
7039 * Makefile.am: adjust
7041 * tabular.[Ch]: basic optical cleaning
7043 * author.h: pass references, not values
7045 2003-07-18 André Pönitz <poenitz@gmx.net>
7053 * text3.C: two-phase drawing for InsetText and InsetTabular
7054 some float -> int changes.
7056 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
7058 * lyx_main.C: fix the fix
7060 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
7062 * lyx_main.C: fix a crash in batch mode if no files specified
7065 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
7067 * format.[Ch] (papersize): moved to BufferParams
7068 * converter.[Ch] (dvips_options): moved to BufferParams
7069 (dvipdfm_options): moved to anon namespace
7070 * bufferparams.[Ch]: added above functions.
7072 2003-07-17 André Pönitz <poenitz@gmx.net>
7076 * text2.C: don't call inset->update() anymore
7078 * metricsinfo.[Ch]: add convenience constructor
7080 2003-07-16 André Pönitz <poenitz@gmx.net>
7085 * text2.C: replace the LyXCursor::irow_ member with
7086 on-demand computation of the value
7088 2003-07-16 John Levon <levon@movementarian.org>
7090 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
7092 2003-07-15 André Pönitz <poenitz@gmx.net>
7095 * text2.C: remove no more needed refresh_row
7097 2003-07-15 André Pönitz <poenitz@gmx.net>
7102 * text3.C: refresh_status tristate -> need_update bool
7104 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
7106 * lyxtext.h (init): remove reinit argument (act as if always true)
7107 * text2.C: adjust to that
7109 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
7111 * bufferview_funcs.[Ch]: introduce function replaceSelection()
7112 * text3.C: use it to delete selections in some cases
7113 (bugs 441, 673, 702, 954).
7115 2003-07-14 André Pönitz <poenitz@gmx.net>
7117 * rowpainter.[Ch]: reduce interface
7119 2003-07-14 André Pönitz <poenitz@gmx.net>
7121 * BufferView_pimpl.C:
7122 * text2.C: adjust after removing unused BufferView * argument
7124 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
7126 * text2.C (init): fix a crash fired on resize
7128 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
7130 * buffer.[Ch]: added new closing signal
7131 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
7132 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
7133 BufferView::Pimpl via the closing the signal
7135 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
7137 * buffer.[Ch]: take out all bv-related from buffer
7139 * BufferView_pimpl.[Ch]: connect to new signals
7140 * CutAndPaste.C: removed useless asserts
7141 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
7144 * lyxfunc.C: moved view-related funciontality from vc here
7145 * paragraph.C: removed outdated comments
7148 2003-07-10 André Pönitz <poenitz@gmx.net>
7150 * BufferView_pimpl.C:
7154 * text2.C: remove InsetText::InnerCache, clean up consequences
7156 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
7158 * ispell.C: fix two typos in error messages
7160 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
7162 * Extend Note inset to other forms of annotation like Comment
7163 and Greyedout. Right button click gives dialog.
7165 Files modified or added (+):
7169 * ControlNote.[Ch] +
7171 * Makefile.am in frontends/xforms, frontends/xforms/forms,
7172 frontends/controllers
7176 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
7178 * aspell.C: add missing namespace lyx::support
7180 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
7182 * BufferView.[Ch] (newFile): Add
7183 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
7184 * LaTeX.[Ch] (message): added this signal and use it
7185 * buffer.[Ch] (busy, message): added these signals and use them
7186 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
7190 * importer.C: use buffer signals instead of direct bv calling
7191 * lyx_cb.[Ch] (ShowMessage): removed
7194 * paragraph_funcs.C:
7195 * text2.C: use buffer signals
7197 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7199 * introduce namespace lyx::graphics
7201 2003-07-02 André Pönitz <poenitz@gmx.net>
7203 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
7205 2003-07-01 André Pönitz <poenitz@gmx.net>
7212 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
7213 text*.C to text_func.C
7215 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7217 * introduce namespace lyx::support
7219 2003-06-30 André Pönitz <poenitz@gmx.net>
7224 * text.C: re-enable --with-included-string
7226 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7228 * textcursor.C: add <config.h>
7230 * text.C (getWord): remove const from word_location arg
7232 * lyxvc.C (getLogFile): fix const type order
7234 * lyxtext.h: remove const from word_location arg, add arg name
7236 * lyxlayout.h: currect type on labeltype.
7238 * importer.C: correct \file
7240 * converter.C (intToFormat): use std:: on ret val, ws changes
7242 * bufferlist.h: correct \file
7244 * buffer.C (makeLinuxDocFile): fix const type order
7245 (makeDocBookFile): ditto
7246 (fillWithBibKeys): use std:: on stdlib args.
7248 * CutAndPaste.C: fix authors.
7249 (availableSelections): use std:: on return vector
7251 2003-06-27 André Pönitz <poenitz@gmx.net>
7253 * BufferView_pimpl.C:
7254 * bufferview_funcs.C:
7262 * text3.C: remove LyXCursor::row_ member
7265 * text.C: rename fullRebreak() to partialRebreak() and implement
7266 a fullRebreak() that really bereks fully
7268 * textcursor.h: new struct for cursor-related data
7270 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
7272 * lyx_main.C (LyX): get full path of document loaded on the
7275 2003-06-26 André Pönitz <poenitz@gmx.net>
7277 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
7278 remove unused/broken operator>,<,>=.
7280 * text.C: remove only use of broken operator<= in an Assert().
7282 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
7284 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
7285 moved errorlist_.clear to showErrorList
7287 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
7289 * converter.C (scanLog, runLaTeX):
7290 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
7291 move the bv->showErrorList call to the callers
7292 * lyxfunc.C: i.e. here...
7294 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
7295 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
7296 namespace, the second to...
7297 * buffer_funcs (BufferFormat, parseErrors): added
7298 * errorlist.C (ErrorList(TeXErrors const &)): removed
7300 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7302 * ToolbarBackend.C (getIcon): complain when icon cannot be found
7304 2003-06-24 "Garst R. Reese" <reese@isn.net>
7308 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7310 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
7312 * version.C.in: change docversion to 1.4
7314 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
7316 * buffer.C: fix a bug just introduced
7318 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
7320 * buffer.[Ch]: added the parseError signal and use it, removed
7322 * BufferView.[Ch] (addError): moved to ...
7323 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
7324 to the Buffer::parseError signal to catch (guess what) parse errors
7325 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
7327 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
7329 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
7330 ability to create a buffer and to return an existing one from
7331 the list. Moved these functions to...
7332 * buffer_funcs.[Ch]: added
7333 * BufferView.[Ch] (loadLyXFile): added
7334 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
7335 job removed from bufferlist::loadLyXFile.
7336 * buffer.C (setReadOnly): make it work without view
7337 (i.e added an if (users))
7339 2003-06-19 Angus Leeming <leeming@lyx.org>
7342 * LyXAction.C (init):
7343 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
7344 with LFUN_DIALOG_SHOW <name> <data>.
7346 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7348 * CutAndPaste.C (availableSelections): small compilation fix for
7349 ancient (gcc 2.9x) compilers
7351 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
7353 * text3.C (cursorNext): add tmp var
7355 * text2.C (updateCounters): for function calling out of for clause
7356 (replaceSelectionWithString): ditto
7357 (insertStringAsParagraphs): ditto
7358 (getColumnNearX): add tmp var
7359 (setCursorFromCoordinates): add tmp var
7360 (cursorDownParagraph): add tmp var
7361 (deleteEmptyParagraphMechanism): add tmp var
7363 * text.C (insertChar): add tmp var
7365 * rowpainter.C (paintDepthBar): add tmp var
7367 * CutAndPaste.C (availableSelections): potentially check all
7368 paragraphs in a cut to fill the shown strings.
7370 2003-06-18 André Pönitz <poenitz@gmx.net>
7372 * kbmap.[Ch]: use vector<> instead of list<>
7374 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
7376 * text3.C (dispatch): handle arg to LFUN_PASTE, call
7377 pasteSelection with index
7379 * text2.C (pasteSelection): modify, call pasteSelection with index
7381 * paragraph.C (asString): reimplement version with no interval to
7382 call the one with interval.
7384 * lyxtext.h: add index arg to pasteSelection
7386 * MenuBackend.C (MenuItem): handle PasteRecent
7387 (Menu::read::Menutags): add md_pasterecent
7389 (expandPasteRecent): new function
7392 * MenuBackend.h: add PasteRecent to MenuItem::Kind
7394 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
7396 (availableSelections): new function
7398 2003-06-17 Angus Leeming <leeming@lyx.org>
7400 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
7402 2003-06-17 Angus Leeming <leeming@lyx.org>
7405 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
7407 * lyxfunc.C (dispatch): invoke it.
7409 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7411 * iterators.C (operator++, ParPosition): reintroduce some
7412 const_cast for the benefit of older compilers.
7414 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7416 * text3.C (dispatch): do not modify clipboard when doing
7417 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
7418 LFUN_DELETE_SKIP on a selection selection
7420 2003-06-16 André Pönitz <poenitz@gmx.net>
7426 * tabular.[Ch]: IU of clone() and getLabelList();
7428 2003-06-13 André Pönitz <poenitz@gmx.net>
7430 * tabular.h: compactification
7432 2003-06-12 André Pönitz <poenitz@gmx.net>
7436 * tabular_funcs.h: some renaming plus whitespace
7438 2003-06-12 André Pönitz <poenitz@gmx.net>
7441 * BufferView_pimpl.C:
7447 * toc.C: Return a Paragraph & for ParIterator::operator*()
7449 2003-06-11 John Levon <levon@movementarian.org>
7453 * ToolbarBackend.C: add "Toolbars" section and
7456 2003-06-10 Angus Leeming <leeming@lyx.org>
7459 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
7461 * lyxfunc.C (dispatch): invoke it.
7463 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7465 * main.C: protect <ios> with HAVE_IOS
7466 (main): protect sync_with_stdio with HAVE_IOS
7468 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
7470 * text2.C (cutSelection): adjust
7471 (pasteSelection): adjust
7473 * messages.C: handle get of empty string
7475 * main.C (main): use sync_with_stdio(false)
7477 * lyxfunc.C (dispatch): adjust
7479 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
7480 (WriteAs): remove unneeded BufferView arg.
7482 * bufferparams.h: use correct types on papersize, papersize2 and
7485 * bufferparams.C (readToken): adjust for type
7486 (writeLaTeX): add missing cases to switch.
7488 * bufferlist.C (quitWriteBuffer): adjust
7491 * buffer.C (asciiParagraph): remove some commented code.
7493 * CutAndPaste.C: remove current_view extern variable.
7494 (cutSelection): add BufferParams arg.
7495 (eraseSelection): add BufferParams arg.
7496 (pasteSelection): add Buffer const & arg
7498 2003-06-07 John Levon <levon@movementarian.org>
7501 * paragraph_funcs.C:
7502 * paragraph_pimpl.C:
7506 * paragraph.C: allow InsetERT to freely space lines,
7507 and some consolidation of code
7509 2003-06-06 José Matos <jamatos@fep.up.pt>
7511 * buffer.C (makeDocBookFile): fix bug #821
7513 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
7515 * BufferView_pimpl.C (dispatch): use Dialogs::visible
7517 2003-06-04 Angus Leeming <leeming@lyx.org>
7519 * buffer.C: bump format to 224.
7521 2003-06-05 André Pönitz <poenitz@gmx.net>
7523 * text2.C (redoParagraphs): remove two const_cast<>
7525 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
7527 * ParagraphList.h: remove last remnants of NO_STD_LIST
7529 2003-06-03 Angus Leeming <leeming@lyx.org>
7531 * factory.C (createInset): small change to the way InsetExternal's params
7534 2003-06-04 André Pönitz <poenitz@gmx.net>
7536 * buffer.h: use Undo directly instead of shared_ptr<Undo>
7538 * paragraph_pimpl.h:
7539 * paragraph.[Ch]: some Inset -> UpdatableInset changes
7541 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
7543 * undo_funcs.C: make some simple cases of undo work again
7545 2003-06-03 John Levon <levon@movementarian.org>
7547 * ispell.C: HPUX doesn't have sys/select.h
7550 2003-06-03 John Levon <levon@movementarian.org>
7552 * CutAndPaste.C: update tabular and include inset
7557 * paragraph.C: remove owningBuffer(), don't pass Buffer
7560 * factory.C: insetGraphicsParams changed
7562 2003-06-02 John Levon <levon@movementarian.org>
7568 * text3.C: remove insetparent
7570 2003-06-02 John Levon <levon@movementarian.org>
7573 * buffer.C: fix inset_iterator.end(), move out of line
7576 2003-06-01 John Levon <levon@movementarian.org>
7578 * text3.C: use a proper cut/paste when doing inset
7579 insert (from Jürgen Spitzmüller)
7581 2003-06-01 John Levon <levon@movementarian.org>
7583 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7585 2003-05-30 André Pönitz <poenitz@gmx.net>
7587 * rowpainter.C: unify second drawing phase
7589 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7591 * trans_mgr.C: remove one case of current_view
7593 * text2.C (cursorBottom): delete NO_STD_LIST stuff
7595 * paragraph_funcs.h: remove paragraph.h include
7597 * paragraph.h: delete NO_STD_LIST stuff
7599 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7601 * buffer.h: remove paragraph.h include
7603 * ParagraphList.C: delete file
7605 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7607 * toc.C (getTocList): adjust
7609 * paragraph_pimpl.C (validate): adjust
7611 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7613 * paragraph.C (Paragraph): adjust
7614 (getPositionOfInset): use const_iterator, adjust
7615 (bibitem): use const_iterator, adjust
7616 (setInsetOwner): adjust
7618 * iterators.C (operator++): adjust
7620 * InsetList.[Ch]: Replace selfmade iterator with standard
7621 vector::iterator also introduce const_iterator. Remove getPos,
7622 getInset and setInset from InsetTable. Adjust accordingly.
7624 * BufferView.C (lockInset): adjust
7625 (ChangeInsets): adjust
7627 * tabular.[Ch]: delete commented same_id functions
7629 2003-05-28 John Levon <levon@movementarian.org>
7631 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7633 2003-05-28 André Pönitz <poenitz@gmx.net>
7635 * metricsinfo.[Ch]: remove 'fullredraw' member
7637 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
7639 * lyxtextclass.C (operator): remove caching.
7641 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7645 * text2.C (cursorBottom): adjust
7646 (setCounter): use ParagraphList::find, adjust
7648 * text.C (workWidth): use ParagraphList::find, adjust
7650 * lyxcursor.C (LyXCursor): adjust
7652 * buffer.C (inset_iterator): adjust
7654 * ParagraphList.h: make iterator(value_type) private, make
7655 ParagraphList a friend of iterator.
7657 * ParagraphList.C (find): new function
7659 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7661 2003-05-27 André Pönitz <poenitz@gmx.net>
7663 * dimension.[Ch]: a -> asc, d -> des, w -> wid
7665 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7667 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7669 2003-05-26 John Levon <levon@movementarian.org>
7671 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7673 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
7675 * remove same_id from function signatures, adjust.
7677 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7679 * undo_funcs.C (createUndo): use the id functions directly, adjust.
7681 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7683 * paragraph.C (Paragraph): get rid of same_ids parameter
7685 * ParagraphList.C (insert): adjust
7688 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7690 * paragraph_funcs.C (breakParagraph): adjust
7691 (breakParagraphConservative): adjust
7693 * buffer.C (readParagraph): adjust
7695 * ParagraphList.C (insert): take a reference instead of a pointer
7698 * paragraph.[Ch] (id): new function
7700 * bufferlist.C (newFile): adjust
7702 * ParagraphList.C (ParagraphList): adjust
7704 (push_back): take a reference instead of a pointer.
7706 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7708 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7711 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7712 set else use old code.
7714 * ParagraphList.C: remove all NO_NEXT code and only compile this
7715 code of NO_STD_LIST is set.
7717 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7719 * BufferView_pimpl.C:
7729 * graphics/GraphicsConverter.C:
7730 * graphics/PreviewLoader.C: header adjustment
7732 2003-05-23 Angus Leeming <leeming@lyx.org>
7734 * LaTeXFeatures.[Ch] (useBabel): new method.
7735 * bufferparams.C (writeLaTeX): use it.
7737 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7739 * ParagraphList.h (set): remove unused function.
7741 2003-05-23 André Pönitz <poenitz@gmx.net>
7744 * BufferView_pimpl.C:
7748 * undo_funcs.C: setUndo reworked
7750 * iterators.[Ch]: add access to topmost ParagraphList
7752 * lyxtext.[Ch] (workWidth): add a const
7754 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7756 * texrow.[Ch] (increasePos): remove function
7757 * exporter.C (export): removed unused var and outdated comment
7759 2003-05-23 Angus Leeming <leeming@lyx.org>
7761 * latexrunparams.h: rename fragile as moving_arg.
7762 * paragraph.C (simpleTeXOnePar): ditto.
7763 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7765 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7767 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7769 (textUndoOrRedo): comment out a currently unused var.
7771 * paragraph.h (NO_NEXT): enable NO_NEXT
7773 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7775 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7777 * exporter.C (Export): adjust for removeAutoInsets removal.
7779 * buffer.C (runChktex): adjust for removeAutoInsets removal.
7781 * LyXAction.C (init): remove LFUN_REMOVEERRORS
7783 * BufferView.[Ch] (removeAutoInsets): delete function
7785 2003-05-22 Angus Leeming <leeming@lyx.org>
7787 * latexrunparams.h: add a free_spacing variable.
7789 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7790 to pass moving_arg, as the data is stored in runparams.fragile.
7792 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7793 to Inset::latexOptional or to simpleTeXOnePar.
7795 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7796 free_spacing arg to Inset::latexOptional.
7798 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7801 2003-05-22 Angus Leeming <leeming@lyx.org>
7803 * latexrunparams.h: add fragile and use_babel variables.
7805 * bufferparams.[Ch] (writeLaTeX): return use_babel.
7806 * buffer.C (makeLaTeXFile): store this returned value in
7807 runparams.use_babel, thus passing it to the inset::latex methods.
7809 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7810 simpleTeXSpecialChars as it is now stored in runparams.fragile.
7812 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7813 longer has a fragile arg, as it is stored in runparams.fragile.
7815 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7816 moving_arg parameter as the data is stored in runparams.fragile.
7818 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7819 a fragile parameter as the data is stored in runparams.fragile.
7821 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7823 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7825 2003-05-22 Angus Leeming <leeming@lyx.org>
7827 * latexrunparams.h: add a 'bool nice' which defaults to false.
7829 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7830 now encapsulated within runparams.
7832 * bufferlist.C (updateIncludedTeXfiles):
7833 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7835 2003-05-22 Angus Leeming <leeming@lyx.org>
7837 * latexrunparams.h: new file containing struct LatexRunParams.
7838 * Makefile.am: add new file.
7840 * LaTeX.[Ch] (c-tor, run):
7841 * buffer.[Ch] (makeLaTeXFile):
7842 * bufferlist.[Ch] (updateIncludedTeXfiles):
7843 * converter.C (convert, scanLog):
7844 * converter.[Ch] (runLaTeX):
7845 * exporter.C (Export):
7846 * paragraph.[Ch] (simpleTeXOnePar):
7847 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7848 * paragraph_funcs.[Ch] (latexParagraphs):
7849 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7850 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7851 pass around a LatexRunParams parameter.
7853 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7855 * paragraph.[Ch]: remove unused constructor
7857 * ParagraphList.C (erase): new function, taking two iterators
7859 2003-05-22 André Pönitz <poenitz@gmx.net>
7861 * undo_funcs.C: remove duplicated code
7863 * iterator.[Ch]: operator=
7865 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7867 * tabular.C (SetMultiColumn): ws changes
7869 * rowpainter.C (paintFirst): get rid of a ->previous
7871 * lyx_cb.C (getPossibleLabel): parlist simplification
7873 * BufferView.C (ChangeInsets): simplify slightly.
7875 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
7877 * LyXAction.C: new lfun space-insert, kill protected-space-insert
7878 * lfuns.h: new LFUN_SPACE
7879 * lyxfunc.C: protected space has a new lfun
7880 * paragraph_funcs.C: read new space insets
7882 * factory.C: handle new space insets
7884 2003-05-22 André Pönitz <poenitz@gmx.net>
7887 * BufferView_pimpl.C:
7890 * undo_funcs.C: return a ParIterator from getParFromID.
7892 * iterators.[Ch]: add two const's
7894 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7896 * toc.C (getTocList): adjust
7898 * iterators.[Ch]: rework for parlist
7900 * buffer.C (par_iterator_begin): adjust
7901 (par_iterator_end): adjust
7903 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7905 * BufferView.C (removeAutoInsets): adjust
7906 (ChangeInsets): adjust
7908 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
7910 * text.C (top_y): fix bug 1110
7912 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
7914 * errorlist.[Ch]: added
7917 * BufferView_pimpl.C:
7918 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7921 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7923 * Makefile.am: ensure that lyx is relinked upon changes to the
7924 various "convenience" libs.
7926 2003-05-20 Angus Leeming <leeming@lyx.org>
7928 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7929 files are compiled in alphabetical order again.
7931 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7933 2003-05-19 Angus Leeming <leeming@lyx.org>
7935 * gettext.[Ch]: remove "char const * _(char const *)".
7937 2003-05-19 André Pönitz <poenitz@gmx.net>
7939 * dimension.[Ch]: promote from mathed/dimension.[Ch]
7948 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7950 2003-05-19 André Pönitz <poenitz@gmx.net>
7954 * lyxtextclass.[Ch]:
7956 * paragraph_funcs.[Ch]:
7958 * text3.C: more insetenv work
7960 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
7962 * ParagraphParameters.C (params2string): small bug fixed
7964 2003-05-16 André Pönitz <poenitz@gmx.net>
7967 * bufferview_funcs.C: patch from Kornel Benko to prevent
7968 crash when _(...) is called twice in a statement
7970 2003-05-16 André Pönitz <poenitz@gmx.net>
7977 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7979 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
7981 * lyx_main.C (init): remove spurious static_cast
7983 2003-05-14 André Pönitz <poenitz@gmx.net>
7985 * BufferView.C: fix format string
7987 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
7989 * BufferView.[Ch] (insertErrors): removed
7990 * BufferView.[Ch] (showErrorList): added
7991 * buffer.C (runChkTeX):
7992 * converter.C (scanLog): call showErrorList instead of inserterrors
7994 2003-05-13 André Pönitz <poenitz@gmx.net>
7996 * BufferView_pimpl.C:
7998 * bufferview_func.C:
8005 * tabular_funcs.h: tostr() from its own header
8007 * ParagraphParameters.C:
8012 * text3.C: STRCONV()
8014 2003-05-12 André Pönitz <poenitz@gmx.net>
8017 * BufferView_pimpl.C:
8021 * ParagraphParameters.C:
8025 * bufferview_funcs.C:
8038 * paragraph_funcs.C:
8042 * text3.C: boost::format -> bformat all over the place
8045 2003-05-09 André Pönitz <poenitz@gmx.net>
8047 * LColor.[Ch]: Pimpl the #include <map> away
8049 2003-05-09 John Levon <levon@movementarian.org>
8051 * bufferlist.C: never remove emergency saves
8053 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8055 * Makefile.am: better lib building
8057 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
8059 * texrow.[Ch]: remove dependency on Paragraph and just store a id
8061 * paragraph_pimpl.C (simpleTeXBlanks): adjust
8062 (simpleTeXSpecialChars): adjust
8063 (simpleTeXSpecialChars): adjust
8064 * paragraph.C (simpleTeXOnePar): adjust
8065 * buffer.C (makeLaTeXFile): adjust
8067 * Makefile.am (BOOST_LIBS): allow boost as system lib.
8069 * text2.C (changeDepth): parlist cleanup
8070 (getColumnNearX): ditto
8072 * rowpainter.C (getLabelFont): parlist cleanup
8074 * bufferlist.C (newFile): parlist cleanup
8076 * CutAndPaste.C (eraseSelection): parlist cleanup
8078 * BufferView_pimpl.C (trackChanges): parlist cleanup
8081 * BufferView.C (lockInset): parlist cleanup.
8082 (ChangeInsets): ditto
8084 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8086 * CutAndPaste.h: Update file header.
8088 * CutAndPaste.C: Update file header.
8089 Store the parts cut out of the Document in a limited_stack.
8090 (copySelection): adjust
8091 (pasteSelection): new function, takes the index in the limited stack.
8092 (nrOfParagraphs): adjust
8093 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
8094 simplify error inset insertion.
8095 (checkPastePossible): adjust
8097 2003-05-06 John Levon <levon@movementarian.org>
8099 * text2.C: don't cast wrap inset to float
8101 2003-05-05 André Pönitz <poenitz@gmx.net>
8104 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
8106 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
8107 few naked Paragraph *.
8109 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
8111 * bufferparams.C: Output warning if a document with missing
8112 TeX document class is loaded
8113 * exporter.C: Disable TeX exports if the document class is missing
8116 * lyxtextclasslist.C: Handle new textclass.lst format; new method
8117 isTeXClassAvailable()
8119 2003-05-03 John Levon <levon@movementarian.org>
8122 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
8123 explicit cursor show/hide
8125 * BufferView_pimpl.h:
8126 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
8127 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
8129 * lyxfunc.C: hide cursor before dispatching.
8134 * text3.C: remove explicit cursor hides
8136 2003-05-02 André Pönitz <poenitz@gmx.net>
8138 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
8141 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
8144 * text2.C: tiny whitespace
8146 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8148 * undo_funcs.C: almost only ws changes.
8150 * ParagraphList.C (splice): just return if pl is empty.
8152 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8154 * ParagraphList.C (splice): new function.
8156 * CutAndPaste.C (pasteSelection): use it
8158 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8160 * CutAndPaste.C (pasteSelection): remove the last next and
8161 previous from this file.
8163 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8165 * CutAndPaste.C (pasteSelection): more clean up, user proper
8166 ParagraphList functions for pasteing.
8168 * ParagraphList.C (insert): new function, three arg insert
8170 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8172 * ParagraphList.C (insert): new function, three arg insert
8174 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
8177 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8179 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
8181 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8183 * CutAndPaste.C (pasteSelection): remove some unneeded code.
8185 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8187 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
8188 (copySelection): clean up a bit.
8189 (pasteSelection): use make_pair
8191 * ParagraphList.C (ParagraphList): implement copy constructor
8192 (operator=): implement, base on copy constructor.
8195 * paragraph.C (erase): return a bool
8197 * paragraph_pimpl.C (erasePos): remove function, move contents...
8198 (erase): ... here. Return a bool.
8199 (erase): call erase instead of erasePos.
8201 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
8203 * ParagraphList.h: define PitPosPair
8204 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
8205 ParagraphList, fix a bug on pasting multiple pars
8206 * text2.C: change interface to C&P
8208 2003-04-30 André Pönitz <poenitz@gmx.net>
8210 * undo_func.C: revert part of yesterday's patch 2
8212 2003-04-30 John Levon <levon@movementarian.org>
8214 * LColor.C: s/tabular/table/
8216 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8218 * text3.C (dispatch): do not convert iterator -> pointer
8219 * undo_funcs.C (setCursorParUndo): ditto
8220 * text_funcs.C (transposeChars): ditto
8222 * text2.C (setLayout): ws changes only
8224 * text.C (breakParagraph): do not convert iterator -> pointer
8226 (acceptChange): ditto
8227 (rejectChange): ditto
8232 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
8235 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
8237 * text3.C (gotoInset): YABG (yet another bad getChar)
8239 2003-04-29 André Pönitz <poenitz@gmx.net>
8241 * paragraph.h: make operator= private unimplemented as long as
8244 * ParagraphList.C: whitespace
8247 * paragraph_pimpl.[Ch]:
8248 * paragraph_funcs.C:
8250 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
8253 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
8255 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
8257 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
8258 * paragraph.[Ch] (erase):
8259 * paragraph_pimpl.[Ch] (erase): change return type and value
8260 * text2.C (cutSelection): some rework
8262 2003-04-28 John Levon <levon@movementarian.org>
8264 * bufferlist.C: changes for unsaved changes dialog
8266 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8268 * bufferlist.C (newFile): set language (messages_) for new
8271 * buffer.C (readFile): ws changes only.
8273 2003-04-28 André Pönitz <poenitz@gmx.net>
8278 * BufferView_pimpl.C:
8279 * BufferView.C: getParFromID related ParagraphList::iterator changes
8281 2003-04-28 André Pönitz <poenitz@gmx.net>
8283 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
8286 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8288 * messages.C: remove one more localedir class variable.
8290 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8292 * messages.C (getLocaleDir): singleton generation function
8294 (Messages): add a default constructor.
8296 * main.C (main): do not setup localedir here, do not call
8299 * gettext.C (_): use it.
8300 (gettext_init): delete funciton
8302 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8304 * gettext.C (getLyXMessages): new singleton generating function.
8306 * buffer.C (updateDocLang): adjust
8308 * Makefile.am (messages.o): add target
8309 (main.o): remove target
8311 2003-04-27 John Levon <levon@movementarian.org>
8316 * lyxvc.C: specify cancel button in Alert::prompt
8318 2003-04-26 John Levon <levon@movementarian.org>
8323 * LyXAction.C: add LFUN_INSET_SETTINGS
8325 * lyxfunc.C: don't enable tabular-feature when there's
8326 just any locking inset
8328 2003-04-26 John Levon <levon@movementarian.org>
8330 * bufferlist.C: re-add Cancel to buffer close question
8332 * lyxfunc.C: fix import UI a bit
8334 2003-04-25 John Levon <levon@movementarian.org>
8336 * gettext.C: remove the broken asserts for now
8338 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
8340 * messages.C: make case where setlocale cannot comply work better.
8342 * buffer.C (updateDocLang): new function
8343 (changeLanguage): use it
8346 * text2.C (setCounter): use B_ a bit.
8348 * lyxlayout.C (Read): be sure to trim the label strings.
8350 * messages.C (Messages): fix typo in comment
8352 * buffer.C (readFile): set message_ after file is loaded.
8353 (makeDocBookFile): remove double return
8354 (changeLanguage): reset message_ upon language change.
8355 (B_): new func, use this to get translated buffer strings.
8357 * main.C: add myself and Jean Marc as authors.
8359 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
8361 * messages.[hC]: pimplify Messages, and three different pimpls to be
8362 used in different circumstances.
8364 * gettext.[Ch]: change for use with new message code.
8366 2003-04-24 André Pönitz <poenitz@gmx.net>
8368 * factory.C: support for eqref
8370 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
8372 * messages.[Ch]: add missing char
8374 * Makefile.am (lyx_SOURCES): add messages.[Ch]
8376 * messages.[Ch]: New files
8378 2003-04-18 John Levon <levon@movementarian.org>
8382 * BufferView_pimpl.C:
8386 * text2.C: remove layout-copy/paste (bug 778)
8388 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
8390 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
8392 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
8394 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
8395 if they succeed. Act accordingly.
8397 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8399 * text2.C (setCharFont): adjust
8400 (setCounter): adjust
8401 (insertStringAsLines): adjust
8403 * text.C (leftMargin): adjust
8404 (setHeightOfRow): adjust
8406 * rowpainter.C (paintFirst): adjust
8409 * paragraph_funcs.C (depthHook): ParagraphList::iterators
8411 (isFirstInSequence): ditto
8412 (getEndLabel): ditto
8415 * paragraph.C (getParLanguage): comment out some hard stuff.
8417 * buffer.C (insertStringAsLines): take a ParagraphList as arg
8419 (simpleDocBookOnePar): ditto
8420 (makeDocBookFile): use ParagraphList::iterator
8422 * CutAndPaste.C (pasteSelection): adjust
8424 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8426 * text2.C (getFont): adjust
8427 (getLayoutFont): adjust
8428 (getLabelFont): adjust
8430 * paragraph_funcs.C (TeXOnePar): adjust
8432 * buffer.C (simpleLinuxDocOnePar): adjust
8433 (simpleDocBookOnePar): adjust
8435 * CutAndPaste.C (pasteSelection): adjust
8437 * BufferView.C (getEncoding): adjust
8439 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
8441 2003-04-16 John Levon <levon@movementarian.org>
8443 * lyxfind.C: use parlist stuff for search/changes
8445 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8447 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
8449 * text2.C (deleteEmptyParagraphMechanism): adjust
8451 * text2.[Ch] (ownerParagraph): delete func (both of them
8453 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8455 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
8457 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8459 * ParagraphList.C: prepare for NO_NEXT
8461 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8463 * text2.C (getFont): adjust
8464 (getLayoutFont): adjust
8465 (getLabelFont): adjust
8467 * paragraph.C (getFont): adjust
8468 (getLabelFont): adjust
8469 (getLayoutFont): adjust
8471 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
8473 2003-04-15 John Levon <levon@movementarian.org>
8477 * lyx_main.C: handle Include in .ui files
8479 2003-04-15 John Levon <levon@movementarian.org>
8481 * MenuBackend.C: make the doc files length shorter
8484 * ToolbarBackend.C: handle toolbar placement flags,
8487 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8489 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
8492 * paragraph_funcs.C (TeXOnePar): adjust
8494 * paragraph.C (getLabelFont): add outerfont arg, adjust
8495 (getLayoutFont): ditto
8496 (simpleTeXOnePar): adjust
8498 * paragraph_pimpl.C (realizeFont): delete func
8500 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
8502 * text2.C (beforeFullRowInset): added a bad getchar check, removed
8503 row argument, constify cur argument.
8505 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8507 * text2.C (getFont): adjust
8508 (getLayoutFont): adjust
8509 (getLabelFont): adjust
8511 * paragraph_funcs.C (TeXOnePar): adjust
8512 (outerFont): new func...
8513 (realizeFont): ...moved out from here, changed this to facilitate
8516 * paragraph.C (getFont): take outerfont as arg, adjust
8517 (simpleTeXOnePar): add outerfont arg, adjust
8519 * buffer.C (simpleLinuxDocOnePar): adjust
8520 (simpleDocBookOnePar): adjust
8522 * CutAndPaste.C (pasteSelection): adjust
8524 * BufferView.C (getEncoding): adjust
8526 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8528 * text2.C (setCharFont): adjust
8529 (setCounter): adjust
8531 * text.C (leftMargin): adjust
8532 (setHeightOfRow): adjust
8534 * rowpainter.C (paintFirst): adjust
8537 * paragraph_pimpl.C (realizeFont): adjust
8539 * paragraph.C (isFirstInSequence): move from here...
8540 * paragraph_funcs.C (isFirstInSequence): ...to here
8542 * paragraph.C (outerHook): move from here...
8543 * paragraph_funcs.C (outerHook): ...to here
8545 * paragraph.C (depthHook): move from here...
8546 * paragraph_funcs.C (depthHook): ...to here
8548 * paragraph.C (getEndLabel): move from here...
8549 * paragraph_funcs.C (getEndLabel): ...to here
8551 * text2.C (realizeFont): move from here...
8552 * paragraph_funcs.C (realizeFont): ...to here
8554 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8556 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
8558 2003-04-14 Angus Leeming <leeming@lyx.org>
8560 * LColor.[Ch]: scrap LColor mathcursor.
8562 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8564 * lyxlex.[Ch] (text): delete function
8565 * trans.C (Load): adjust
8566 * paragraph_funcs.C (readParToken): adjust
8568 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8570 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8571 vector<char> instead of a char[].
8573 * lyxlex_pimpl.C (getString): adjust
8575 (lex): use getString
8579 * lyxlex.C (text): use pimpl_->getString()
8583 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8585 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8586 (makeFontEntriesLayoutSpecific): temp var for par.size()
8587 (setLayout): temp var for ownerParagraphs().end()
8588 (fullRebreak): temp var for rows().end()
8589 (selectionAsString): temp var for boost::next(startpit), realize
8590 that the while really is a regular for loop.
8591 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8592 setCursor in one place.
8593 (setParagraph): temp vr for ownerParagraphs().end()
8594 (updateCounters): make the while loop a for loop
8595 (cutSelection): temp var for ownerParagraphs().end()
8596 (updateInset): make the do {} while() a regular for loop
8597 (getCursorX): use temp vars
8598 (setCurrentFont): use temp vars
8599 (getColumnNearX): use temp vars
8601 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8603 * text.C (transformChar): use temp var for getChar
8604 (computeBidiTables): use temp var for row->par()
8605 (fill): move temp vars for row->par() and pit->layout() earlier in
8607 (labelFill): use temp var for row->par()
8608 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8609 asc and desc, realize that pit never changes and that firstpit is
8610 just a duplicate and not needed. Exchange rit->par() with pit in a
8612 (breakAgain): use a temp var for boost::next(rit)
8613 (breakAgainOneRow): ditto
8614 (breakParagraph): use a temp var for rows().begin()
8615 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8616 (cursorRightOneWord): use temp var for cursor.par() and
8617 cursor.pos(), remove usage of tmpcursor.
8618 (cursorLeftOneWord): use temp var for cursor.par() and
8619 cursor.pos() only set cur at end of function.
8621 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8623 * text.C, text2.C: exchange all usage of Paragraph::next with
8624 boost::next(ParagraphList::iterator)
8626 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8628 * text2.C (cursorTop): simplify implementation
8629 (cursorBottom): ditto
8630 (setParagraph): use ParagraphList::iterator
8631 (setCurrentFont): adjust
8632 (getColumnNearX): adjust
8633 (cursorRight): adjust
8634 (cursorLeft): remove usage of Paragraph::previous
8635 (cursorUpParagraph): ditto
8636 (deleteEmptyParagraphMechanism): slight cleanup
8638 * text.C (isBoundary): take a Paragraph const & instead of a
8640 (addressBreakPoint): ditto
8641 (leftMargin): remove usage of Paragraph::previous.
8642 (setHeightOfRow): ditto
8643 (cursorLeftOneWord): ditto
8644 (selectNextWordToSpellcheck): ditto
8647 (breakParagraph): remove one usage of Paragraph::next
8648 (redoParagraph): ditto
8649 (acceptChange): ditto
8650 (insertChar): adjust
8651 (rowBreakPoint): adjust
8653 * bufferview_funcs.C (toggleAndShow): adjust
8655 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
8657 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8658 methods to access it.
8660 * text.C: Added updateRowPositions to compute all row positions.
8661 Make top_y and getRowNearY() to use the cached y position
8663 2003-04-11 John Levon <levon@movementarian.org>
8665 * text.C (rowBreakPoint): reintroduce the labelEnd
8666 checks, code copied from the row fill stuff. Deep voodoo.
8668 * text.C (fill): add a comment and debugging for the
8671 2003-04-11 John Levon <levon@movementarian.org>
8673 * text.C: make sure fullrow insets get wrapped to the next line,
8674 even when they're in a manual label
8676 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
8678 * text2.C (insertParagraph): make it take ParagraphList::iterator
8680 (setLayout): make it return ParagraphList::iterator
8681 (redoParagraphs): ditto
8683 (checkParagraph): ditto
8685 * text.C (getRow): make getrow take ParagraphList::iterator as arg
8687 * text2.C: adjust several funcs.
8688 (realizeFont): take a ParagraphList::iterator as arg.
8689 (getLayoutFont): ditto
8690 (getLabelFont): ditto
8691 (setCharFont): ditto
8693 * text.C: adjust several funcs.
8695 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8697 * text.C (selectNextWordToSpellcheck): don't accidentally
8700 2003-04-10 John Levon <levon@movementarian.org>
8702 * ToolbarBackend.C (getIcon): special handling for
8705 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8707 * text2.C (cursorRight): a getChar assert fixed
8709 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8711 * text2.C (getFont): change to take a ParagraphList::iterator
8712 instead of Paragraph*
8713 Adjust several functions.
8715 * text.C (transformChar): change to take a ParagraphList::iterator
8716 instead of Paragraph*
8717 (singleWidth): ditto
8718 Adjust several functions.
8720 * rowpainter.C: adjust several functions
8721 * rowpainter.h:store a ParagraphList::iterator and not a
8725 2003-04-09 John Levon <levon@movementarian.org>
8730 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8731 and the "help" bits as well
8733 2003-04-09 John Levon <levon@movementarian.org>
8736 * ToolbarBackend.C: allow multiple toolbars
8738 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8740 * undo_funcs.C (setCursorParUndo): adjust
8742 * text_funcs.C (transposeChars): adjust
8744 * text3.C (gotoNextInset): adjust
8747 * text2.C (setLayout): adjust
8748 (changeDepth): adjust
8750 (redoParagraphs): adjust
8751 (selectionAsString): adjust
8752 (setParagraph): adjust
8753 (insertInset): adjust
8754 (cutSelection): adjust
8755 (copySelection): adjust
8756 (pasteSelection): adjust
8757 (insertStringAsLines): adjust
8758 (updateInset): adjust
8759 (setCursor): change to take a ParagraphList::iterator parameter
8760 (setCursorIntern): change to take a ParagraphList::iterator parameter
8761 (setCurrentFont): adjust
8762 (cursorLeft): adjust
8763 (cursorRight): adjust
8764 (deleteEmptyParagraphMechanism): adjust
8766 * text.C (breakParagraph): adjust
8767 (insertChar): adjust
8768 (acceptChange): adjust
8769 (rejectChange): adjust
8770 (selectNextWordToSpellcheck): adjust
8771 (changeCase): adjust
8775 * lyxfind.C (SearchForward): adjust
8776 (SearchBackward): adjust
8777 (nextChange): adjust
8779 * lyxcursor.C (par): adjust
8781 * lyxcursor.h: store a ParagraphList::iterator instead of a
8784 * lyx_cb.C (getPossibleLabel): adjust
8786 * bufferview_funcs.C (toggleAndShow): adjust
8788 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8791 * BufferView.C (removeAutoInsets): adjust
8792 (lockedInsetStoreUndo): adjust
8794 2003-04-09 John Levon <levon@movementarian.org>
8796 * ToolbarBackend.C: try icon without argument
8797 if with argument fails
8799 2003-04-08 John Levon <levon@movementarian.org>
8802 * ToolbarBackend.C: add getIcon(), handle tooltip,
8803 and change from "Icon" to "Item".
8805 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8807 * BufferView.C (lockInset): another bad getchar crunched
8809 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8811 * text2.C (changeDepth): do not setUndo on test_only (make undo work
8814 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
8816 * lyxfind.C (searchForward, searchBackwards): bug 782
8818 2003-04-07 John Levon <levon@movementarian.org>
8820 * paragraph.C: remove dead comment
8822 * text.C: remove troublesome depth-fiddling code
8823 in leftMargin() and rightMargin() (bug 1017)
8825 * text.C: fix breaking of rows in nested lists
8828 * text2.C (updateCounters): fix up depth values
8831 2003-04-07 John Levon <levon@movementarian.org>
8833 * BufferView_pimpl.C: clear message when doc finishes resizing,
8834 and after a mouse event
8836 * lyxfunc.C: clear message after exiting inset
8838 2003-04-07 John Levon <levon@movementarian.org>
8840 * bufferview_funcs.C: show math status not outside
8841 status in the statusbar
8843 2003-04-07 John Levon <levon@movementarian.org>
8845 * lyxfunc.C: note status changed after a depth change
8847 2003-04-04 Angus Leeming <leeming@lyx.org>
8849 * LaTeX.h: move AuxInfo operator==, != out of line.
8850 Remove LaTeX virtual destructor; nothing derives from it.
8851 Move operator()() out of public area and rename it startscript().
8852 Change protected for private.
8854 2003-04-04 Angus Leeming <leeming@lyx.org>
8857 * text2.C: remove unneeded #includes.
8859 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8861 * text2.C (dEPM): fix the heigth of the next row
8863 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8865 * text.C: squashed an invalid getChar requester + some ws changes
8867 2003-04-03 John Levon <levon@movementarian.org>
8869 * bufferview_funcs.h:
8870 * bufferview_funcs.C:
8873 * text2.C: make getStatus work for the env depth lfuns
8875 2003-04-03 John Levon <levon@movementarian.org>
8877 * bufferview_funcs.h:
8878 * bufferview_funcs.C:
8881 * text2.C: parlistize decDepth(), by merging it with incDepth()
8883 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8885 * lyxrow.h: store a ParagraphList::iterator instead of a
8886 Paragraph* and adjust other class functions to suit.
8888 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8891 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8893 * text2.C (setCursor): do not anchor to cursor row for the time being
8895 2003-04-02 John Levon <levon@movementarian.org>
8902 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8904 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8906 * paragraph.h: make ParagraphList and ParagraphList::iterator
8907 friends of Paragraph.
8909 * buffer.C (makeLinuxDocFile): move towards ParagraphList
8911 * ParagraphList.C: Use the private next_ and previous_ from
8914 2003-04-01 John Levon <levon@movementarian.org>
8918 * Makefile.am: rename, remove defaults gunk
8921 * MenuBackend.C: remove defaults gunk
8924 * Languages.C: remove defaults gunk
8927 * lyx_main.C: error out if files couldn't be found.
8929 2003-04-02 John Levon <levon@movementarian.org>
8931 * text2.C: make incDepth() use parlist
8933 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8935 * undo_funcs.C (firstUndoParagraph): adjust
8937 * text3.C (gotoInset): adjust
8938 (dispatch): adjust, and rewrite loop.
8940 * text2.C (init): adjust, and rewrite loop.
8941 (redoParagraphs): adjust
8942 (updateInset): adjust, and rewrite loop.
8943 (deleteEmptyParagraphMechanism): adjust
8945 * tabular.C (LyXTabular): adjust
8946 (SetMultiColumn): adjust
8949 * lyxtext.[Ch] (ownerParagraph): delete function
8950 (ownerParagraphs): new function returns a ParagraphList.
8952 * BufferView.C (removeAutoInsets): adjust
8953 (insertErrors): adjust
8954 (setCursorFromRow): adjust
8956 2003-04-01 Angus Leeming <leeming@lyx.org>
8958 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8961 2003-04-02 John Levon <levon@movementarian.org>
8967 * text_funcs.C: make transposeChars a free function
8969 * lyxrow_funcs.C: remove wrong comment
8971 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8974 * rowpainter.C: adjust
8979 * lyxrow_funcs. [Ch]: new files
8981 * lyxrow.[Ch]: remove next and previous pointers
8982 (next,previous): remove accessor functions
8983 (isParEnd): move to lyxrow_funcs
8984 (lastPos): move to lyxrow_funcs
8985 (nextRowIsAllInset): move to lyxrow_funcs
8986 (lastPrintablePos): move to lyxrow_funcs
8987 (numberOfSeparators): move to lyxrow_funcs
8988 (numberOfHfills): move to lyxrow_funcs
8989 (numberOfLabelHfills): move to lyxrow_funcs
8990 (hfillExpansion): move to lyxrow_funcs
8994 * bufferview_funcs.C (toggleAndShow): adjust
8996 * RowList.h: Remove class RowList from file leave just a
8999 * RowList.C: delete file
9001 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
9004 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9006 * text3.C (cursorPrevious): adjust
9007 (cursorNext): adjust
9010 * text2.C (redoHeightOfParagraph): adjust
9011 (redoDrawingOfParagraph): adjust
9014 * text.C (breakParagraph): adjust
9015 (insertChar): adjust
9018 * rowpainter.C (RowPainter): adjust
9019 (leftMargin): simplify and adjust
9020 (most rowpainter functions): adjust.
9022 * rowpainter.h: store the row as RowList::iterator not as Row*
9024 * lyxcursor.C (row): taka RowList::iterator as arg
9027 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
9030 2003-04-01 Angus Leeming <leeming@lyx.org>
9032 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
9033 stuff like bool Bool.
9035 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
9037 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
9040 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9042 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
9045 * lyxtext.h (rows): drop one version and leve a const variant that
9046 returns a RowList::iterator.
9048 2003-03-31 Angus Leeming <leeming@lyx.org>
9050 * text.C (fill): ensure that the signature is the same as that in the
9053 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
9055 * text2.C (redoParagraphs): adjust
9056 (updateCounters): adjust
9057 (checkParagraph): adjust
9058 (getColumnNearX): adjust and reformat a bit.
9060 * text.C (top_y): adjust
9062 (leftMargin): adjust
9063 (prepareToPrint): adjust
9065 (getRowNearY): adjust
9067 * lyxtext.h: make rowlist_ mutable.
9069 * RowList.h: add const_iterator
9070 * RowList.C: adjust for RowList::const_iterator.
9072 * text2.C (getCursorX): make it take a RowList::iterator as arg,
9075 2003-03-31 John Levon <levon@movementarian.org>
9078 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
9080 * lyx_main.C: set default fonts from using lyx_gui funcs
9082 * exporter.C: pdf_mode moved from lyxrc
9085 * lyxfunc.C: changes from above
9087 2003-03-31 John Levon <levon@movementarian.org>
9089 * lyx_main.C: fix to the last fix
9091 2003-03-31 John Levon <levon@movementarian.org>
9093 * bufferlist.C: "Load original" -> "Load Original"
9099 * format.C: more Alert cleanups
9101 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
9103 * text2.C (removeParagraph): make it take a RowList::iterator as
9105 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
9106 (postRowPaint): make it take a RowList::iterator as arg, adjust.
9108 * text.C (anchor_row): make it take a RowList::iterator as arg,
9110 (computeBidiTables): make it take a const reference to Row instead
9111 of Row pointer, adjust.
9112 (leftMargin): make it take a RowList::iterator as arg, adjust.
9113 (rowBreakPoint): adjust
9114 (breakAgainOneRow): make it take a RowList::iterator as arg,
9116 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
9118 * bufferview_funcs.C (toggleAndShow): adjust
9120 2003-03-30 John Levon <levon@movementarian.org>
9124 * boost-inst.C: moved to support
9126 * several files: changes as a result
9128 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
9130 * text2.C (LyXText): adjust.
9132 (removeRow): make it take a RowList::iterator as arg, adjust.
9133 (fullRebreak): adjust
9134 (deleteEmptyParagraphMechanism): adjust
9135 (clearPaint): adjust
9138 * text.C (top_y): adjust
9139 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
9140 (breakAgain): make it take a RowList::iterator as arg, adjust.
9141 (breakParagraph): adjust
9142 (insertChar): adjust
9145 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
9146 need_break_row, and refresh_row.
9148 * text3.C (dispatch): adjust
9150 * text2.C (checkParagraph): adjust
9152 (setCursorFromCoordinates): adjust
9154 * text.C (top_y): adjust
9156 (getRow): make it return a RowList::iterator, adjust
9157 (getRowNearY): make it return a RowList::iterator, adjust
9159 * text2.C (init): adjust
9160 (insertRow): remove function
9161 (insertParagraph): adjust
9162 (redoParagraphs): adjust
9163 (fullRebreak): adjust
9164 (updateCounters): adjust
9166 * text.C (top_y): rewrite to use RowList iterators.
9168 (setHeightOfRow): rewrite to sue RowList iterators.
9169 (appendParagraph): adjust
9170 (breakAgain): adjust
9171 (breakAgainOneRow): adjust
9172 (breakParagraph): adjust
9174 (getRowNearY): adjust, and remove commented code.
9176 * lyxtext.h (firstRow): delete function
9177 (lastRow): delete function
9178 (rows): new function (const and non-const versions.)
9179 (insertRow): delete function
9181 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
9183 2003-03-29 John Levon <levon@movementarian.org>
9185 * BufferView_pimpl.C: always update scrollbar top
9186 because pasting text when we're anchored could mean we
9187 miss an update altogether
9189 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
9191 * text2.C (init): use rowlist_.end() and not 0.
9192 (insertRow): change to take a RowList::iterator as arg, adjust
9194 (insertParagraph): change to take a RowList::iterator as arg,
9196 (redoParagraphs): remove some debug msgs.
9198 * text.C (appendParagraph): change to take a RowList::iterator
9199 arg, adjust for this.
9200 (breakAgain): add an assert
9201 (breakAgainOneRow): ditto
9203 2003-03-29 John Levon <levon@movementarian.org>
9205 * text2.C: do not clear selection after inc/decDepth
9208 2003-03-29 John Levon <levon@movementarian.org>
9211 * buffer.C: fix broken strerrors according to Lars
9213 2003-03-29 John Levon <levon@movementarian.org>
9215 * converters.C: more Alert cleanups
9217 2003-03-29 John Levon <levon@movementarian.org>
9219 * bufferview_funcs.C: remove pointless Alert
9221 * buffer.C: fix confusing error message when
9222 a template is chmoded 000
9224 2003-03-29 John Levon <levon@movementarian.org>
9228 * BufferView_pimpl.C: Alert fixes
9232 * tabular-old.C: remove unused table compat reading
9234 2003-03-29 John Levon <levon@movementarian.org>
9239 * lyx_cb.C: more Alert cleanups
9241 * lyxfunc.C: don't allow chktex if not latex document
9243 2003-03-29 John Levon <levon@movementarian.org>
9247 * buffer.C: warnings pushed down from support/,
9250 2003-03-29 John Levon <levon@movementarian.org>
9252 * lyxfunc.C: safety check for C-r (revert)
9254 2003-03-29 John Levon <levon@movementarian.org>
9257 * bufferlist.C: several UI fixes using Alert::prompt.
9258 Fix the pointless looping quit code. Fix stupid revert
9263 * lyx_cb.C: use Alert::prompt
9265 * lyx_main.C: remove a silly question
9267 * lyxfunc.C: remove a couple of silly questions,
9270 2003-03-28 John Levon <levon@movementarian.org>
9272 * text2.C: fix bug 974 (End on empty par)
9274 2003-03-28 John Levon <levon@movementarian.org>
9276 * BufferView_pimpl.C:
9278 * lfuns.h: remove do-nothing math greek lfuns
9280 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
9282 * lyxgluelength.h (isValidGlueLength): add default arg on
9283 parameter 2. Remove default arg from friend in class.
9285 * lyxlength.h (isValidLength): add default arg on parameter 2.
9286 Remove default arg from friend in class.
9288 * text2.C (LyXText): adjust, initialize refresh_row.
9292 (insertParagraph): adjst
9293 (redoParagraphs): adjust
9294 (fullRebreak): adjust
9295 (updateCounters): adjust
9296 (deleteEmptyParagraphMechanism): first attempt at fixing a
9299 * text.C (top_y): adjust
9300 (setHeightOfRow): adjust
9302 (getRowNearY): adjust
9304 * lyxtext.h: include RowList.h
9305 (~LyXText): not needed anymore, deleted.
9306 (firstRow): modify for RowList
9307 (lastRow): new function
9308 Delete firstrow and lastrow class variables, add a Rowlist
9309 rowlist_ class variable.
9311 * lyxrow.C (lastPos): use empty() and not !size() to check if a
9314 * RowList.C (insert): fix case where it == begin().
9316 2003-03-26 Angus Leeming <leeming@lyx.org>
9318 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
9319 the thesaurus dialog.
9321 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
9323 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
9325 * RowList.[Ch]: new files
9327 * ParagraphList.C (erase): handle the case where it == begin
9330 2003-03-25 John Levon <levon@movementarian.org>
9334 * aspell.C: add new aspell support
9337 * lyxrc.C: Make use_pspell be use_spell_lib. Always
9340 2003-03-25 Angus Leeming <leeming@lyx.org>
9343 * LyXAction.C (init): new LFUN_INSET_INSERT.
9345 * BufferView_pimpl.C (dispatch): split out part of the
9346 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
9348 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
9351 2003-03-25 Angus Leeming <leeming@lyx.org>
9353 * lyxfunc.C (dispatch): changes to the Dialogs interface.
9355 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
9358 * text3.C: remove useless row->height(0)
9360 2003-03-25 John Levon <levon@movementarian.org>
9364 * text3.C: rename the refreshing stuff to better names
9366 2003-03-24 John Levon <levon@movementarian.org>
9368 * BufferView_pimpl.h:
9369 * BufferView_pimpl.C: update layout choice on a mouse
9372 2003-03-23 John Levon <levon@movementarian.org>
9374 * Makefile.am: fix commandtags.h reference
9376 2003-03-22 John Levon <levon@movementarian.org>
9378 * BufferView_pimpl.C:
9383 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
9385 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
9388 * text.C: take the rtl methods out of line
9390 2003-03-21 André Pönitz <poenitz@gmx.net>
9392 * metricsinfo.[Ch]: new files containing structures to be passed around
9393 during the two-phase-drawing...
9395 2003-03-21 André Pönitz <poenitz@gmx.net>
9397 * lyxtextclass.C: read 'environment' tag.
9399 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
9401 * text2.C (removeRow): fix bug 964
9403 2003-03-20 John Levon <levon@movementarian.org>
9407 * text2.C: paint cleanups. Inset::update() dropped font
9410 2003-03-19 John Levon <levon@movementarian.org>
9412 * lyxfunc.C: only fitcursor/markDirty if available()
9414 2003-03-19 John Levon <levon@movementarian.org>
9416 * commandtags.h: rename to ...
9418 * lfuns.h: ... this, and renumber / cleanup
9420 2003-03-19 John Levon <levon@movementarian.org>
9422 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
9423 fit the cursor after an lfun
9427 * BufferView_pimpl.h:
9428 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
9430 * LyXAction.C: layout-character should have ReadOnly
9432 * ParagraphParameters.C:
9434 * bufferview_funcs.C:
9441 * undo_funcs.C: changes from above
9443 2003-03-18 John Levon <levon@movementarian.org>
9445 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
9446 remove it from update()
9448 * lyxfunc.C: update layout choice after an lfun
9450 * text3.C: remove extra updateLayoutChoice()s
9452 2003-03-18 John Levon <levon@movementarian.org>
9454 * text.C: top_y change means full repaint, fix
9455 a drawing bug with cursor movement
9457 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
9461 * text2.C: anchor row on setCursor
9463 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
9465 * lyxtext.h: remove almost all mutable keywords
9468 * text3.C: remove const keywords accordingly
9470 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
9472 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
9474 (TeXEnvironment): ditto
9477 2003-03-17 John Levon <levon@movementarian.org>
9479 * text.C (rowBreakPoint): remove attempt to fix displayed
9480 math insets inside a manual label
9482 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
9484 * lyxtext.h: remove BufferView* as first arg from almost all class
9486 * other files: adjust.
9488 2003-03-17 John Levon <levon@movementarian.org>
9492 * text2.C: more paint cleanups
9494 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
9497 * rowpainter.C: remove "smart" background painting code
9499 2003-03-16 John Levon <levon@movementarian.org>
9504 * text3.C: add helper functions for setting refresh_row/y
9506 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
9508 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
9509 newline inset which *can* get inserted in the pass_thru layouts.
9510 This is primarily for literate documents.
9512 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
9514 * buffer.C: increment LYX_FORMAT to 223
9516 2003-03-14 André Pönitz <poenitz@gmx.net>
9518 * textclass.h: prepare for environment handling, ws changes
9519 * lyxlayout.C: read latexheader and latexfooter tags
9521 2003-03-14 John Levon <levon@movementarian.org>
9523 * text2.C: rewrite ::status() a bit
9525 2003-03-13 John Levon <levon@movementarian.org>
9527 * lyxtext.h: add some docs
9529 2003-03-13 John Levon <levon@movementarian.org>
9534 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
9536 2003-03-13 John Levon <levon@movementarian.org>
9538 * text3.C: fix appendix redrawing
9540 2003-03-13 John Levon <levon@movementarian.org>
9542 * text.C (setHeightOfRow):
9544 * rowpainter.C: make appendix mark have the text
9545 "Appendix" so the user knows what it is
9548 * LColor.C: s/appendixline/appendix/ from above
9550 2003-03-13 John Levon <levon@movementarian.org>
9552 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
9554 * text.C: fix a getChar(pos) bug properly
9556 2003-03-13 Angus Leeming <leeming@lyx.org>
9559 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
9560 Probably only temporary. Let's see how things pan out.
9562 * BufferView.C (unlockInset):
9563 * BufferView_pimpl.C (fitCursor):
9564 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
9566 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
9567 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
9569 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
9570 new functions that convert ParagraphParameters to and from a string.
9572 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9573 BufferView::Pimpl's dispatch.
9574 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9576 2003-03-13 André Pönitz <poenitz@gmx.net>
9580 * factory.C: make it aware of InsetEnv
9582 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
9584 * text2.C (setCursor): never ask for one past last
9585 (setCursor): add some debugging messages.
9587 * text.C (singleWidth): never ask for one past last
9588 (singleWidth): ditto
9590 (rightMargin): ditto
9591 (rowBreakPoint): ditto
9592 (setHeightOfRow): ditto
9593 (prepareToPrint): ditto
9595 * rowpainter.C (paintBackground): never ask for one past last
9596 (paintText): never ask for one past last
9598 * paragraph_pimpl.C (getChar): make the assert stricter, never
9599 allow the one past last pos to be taken
9601 * paragraph.C (getChar): ws changes only
9603 * lyxrow.C (nextRowIsAllInset): never ask for one past last
9604 (numberOfSeparators): ditto
9605 (numberOfHfills): ditto
9607 2003-03-12 John Levon <levon@movementarian.org>
9613 * paragraph_funcs.C: fix per-buffer authorlists
9615 2003-03-12 John Levon <levon@movementarian.org>
9617 * text.C: fix newline in right address
9619 2003-03-12 Angus Leeming <leeming@lyx.org>
9621 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9622 duplicate those in LyXFunc::dispatch.
9626 * ToolbarDefaults.C:
9627 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9628 Add LFUN_FONTFREE_UPDATE.
9630 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9631 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9633 * bufferview_func.[Ch]: several new functions to facilliate
9634 transfer of data to and from the character dialog.
9636 2003-03-12 John Levon <levon@movementarian.org>
9641 * paragraph_funcs.C:
9642 * paragraph_pimpl.C:
9646 * text3.C: remove META_NEWLINE in favour of an inset
9649 * rowpainter.C: remove paintNewline (done by inset)
9651 2003-03-12 John Levon <levon@movementarian.org>
9653 * paragraph_pimpl.C: complain about bad getChar()s
9654 for a while at least
9656 2003-03-12 John Levon <levon@movementarian.org>
9659 * buffer.C: move paragraph read into a separate function,
9660 a little renaming to reflect that.
9663 * bufferparams.C: remove the author_ids map, not necessary now
9666 * factory.C: moved Buffer::readInset to here
9668 * paragraph_funcs.h:
9669 * paragraph_funcs.C: readParagraph free function moved from
9672 * tabular.C: name change
9674 2003-03-12 John Levon <levon@movementarian.org>
9677 * ParagraphParameters.C: move par params input to
9680 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9681 behave like a normal read from the stream wrt reading
9682 a line vs. a \\token
9684 2003-03-12 John Levon <levon@movementarian.org>
9687 * ParagraphParameters.h:
9688 * ParagraphParameters.C: move output code to a
9691 2003-03-12 John Levon <levon@movementarian.org>
9693 * BufferView.C (insertLyXFile):
9696 * tabular.C: use a parlist iterator for creating the
9699 2003-03-12 John Levon <levon@movementarian.org>
9701 * buffer.C: make current_change static local not
9704 2003-03-12 John Levon <levon@movementarian.org>
9706 * buffer.C: fix insertStringAsLines for change tracking
9708 2003-03-12 John Levon <levon@movementarian.org>
9715 * bufferparams.C: move author list into params. Rename some
9716 functions. Move the header reading into a separate token
9717 loop. Move the header token reading into BufferParams.
9719 2003-03-12 John Levon <levon@movementarian.org>
9721 * changes.C: put debug inside lyxerr.debugging() checks
9723 2003-03-11 André Pönitz <poenitz@gmx.net>
9725 * factory.C: make it aware of InsetHFill
9727 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9729 * buffer.C (latexParagraphs): move function from here...
9730 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9733 2003-03-10 Angus Leeming <leeming@lyx.org>
9735 * LyXAction.C (init): fix bug in poplating array with multiple entries
9736 with the same LFUN (spotted by JMarc).
9738 2003-03-10 John Levon <levon@movementarian.org>
9741 * text2.C: move getColumnNearX() near its
9744 2003-03-10 John Levon <levon@movementarian.org>
9746 * text.C: fix break before a minipage
9748 2003-03-10 John Levon <levon@movementarian.org>
9750 * text.C: fix the last commit
9752 2003-03-09 John Levon <levon@movementarian.org>
9756 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9757 bug 365 (don't break before insets unless needed). Don't
9758 return a value > last under any circumstances.
9760 2003-03-09 Angus Leeming <leeming@lyx.org>
9762 * BufferView_pimpl.C (trackChanges, dispatch): call
9763 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9765 2003-03-09 Angus Leeming <leeming@lyx.org>
9767 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9768 than Dialogs::showAboutlyx().
9770 2003-03-09 Angus Leeming <leeming@lyx.org>
9772 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9773 than Dialogs::showTabularCreate().
9775 2003-03-09 John Levon <levon@movementarian.org>
9779 * text2.C: 3rd arg to nextBreakPoint was always the same.
9782 2003-03-08 John Levon <levon@movementarian.org>
9789 * text2.C: Remove the "main" bit from the "main body"
9792 2003-03-08 John Levon <levon@movementarian.org>
9794 * text.C (leftMargin): The left margin of an empty
9795 manual label paragraph should not include the label width
9798 * text.C (prepareToPrint): don't attempt to measure hfills
9799 for empty manual label paragraphs - the answer should be 0
9801 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9803 * CutAndPaste.C: remove commented code and reindent.
9805 2003-03-08 John Levon <levon@movementarian.org>
9808 * lyxfunc.C: move reloadBuffer()
9811 * BufferView.C: to here
9813 * lyxvc.C: add comment
9816 * vc-backend.C: call bv->reload() to avoid
9817 getStatus() check on MENURELOAD
9819 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
9821 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9822 to an old format .dep file.
9824 2003-03-07 Angus Leeming <leeming@lyx.org>
9826 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9827 when the LFUN_MOUSE_RELEASE should have been handled by
9828 inset->localDispatch.
9830 2003-03-07 Angus Leeming <leeming@lyx.org>
9832 * BufferView_pimpl.C (dispatch):
9833 * LyXAction.C (init):
9834 * ToolbarDefaults.C (init):
9836 * lyxfunc.C (getStatus):
9837 remove LFUN_INSET_GRAPHICS.
9839 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9841 2003-03-07 Angus Leeming <leeming@lyx.org>
9844 * LyXAction.C (init):
9845 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9847 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9850 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9852 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9853 localDispatch method LFUN_INSET_DIALOG_UPDATE.
9855 2003-03-07 Angus Leeming <leeming@lyx.org>
9857 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9860 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9862 * ParagraphList.C (front): new function
9865 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
9867 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9868 and top_row_offset_. removed var first_y.
9870 * text2.C (LyXText, removeRow):
9872 * BufferView_pimpl.C:
9873 use these methods instead of using first_y
9875 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9877 * text2.C (pasteSelection): adjust for checkPastePossible
9879 * CutAndPaste.C: remove Paragraph * buf and replace with
9880 ParagraphList paragraphs.
9881 (DeleteBuffer): delete
9882 (cutSelection): change the tc type to textclass_type
9883 (copySelection): change the tc type to textclass_type
9884 (copySelection): adjust for ParagraphList
9885 (pasteSelection): change the tc type to textclass_type
9886 (pasteSelection): adjust for Paragraphlist
9887 (nrOfParagraphs): simplify for ParagraphList
9888 (checkPastePossible): simplify for ParagraphList
9889 (checkPastePossible): remove unused arg
9891 * ParagraphList.C (insert): handle the case where there are no
9894 * CutAndPaste.h: make CutAndPaste a namespace.
9896 * text3.C (dispatch): adjust
9898 * text.C (breakParagraph): add a ParagraphList as arg
9900 * paragraph_funcs.C (breakParagraph): change to take a
9901 BufferParams and a ParagraphList as args.
9902 (breakParagraphConservative): ditto
9903 (mergeParagraph): ditto
9904 (TeXDeeper): add a ParagraphList arg
9905 (TeXEnvironment): ditto
9908 * buffer.C (readLyXformat2): adjust
9909 (insertStringAsLines): adjust
9910 (latexParagraphs): adjust
9912 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9913 (cutSelection): adjust
9914 (pasteSelection): adjust
9916 * BufferView_pimpl.C (insertInset): adjust
9918 2003-03-05 Angus Leeming <leeming@lyx.org>
9921 * LyXAction.C (init):
9922 * BufferView_pimpl.C (dispatch):
9923 * lyxfunc.C (getStatus):
9924 remove LFUN_CHILD_INSERT.
9926 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9928 2003-03-05 Angus Leeming <leeming@lyx.org>
9931 * LyXAction.C (init):
9932 * src/factory.C (createInset):
9933 * lyxfunc.C (getStatus):
9934 * text3.C (dispatch):
9935 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9937 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9939 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9941 * ParagraphList.C (insert): handle insert right before end()
9942 (erase): fix cases where it can be first or last paragraph.
9944 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9946 * paragraph_funcs.C (TeXEnvironment): remove all usage of
9947 Paragraph::next and Paragraph::previous
9950 * text.C (breakParagraph): adjust
9952 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9953 BufferParams& as arg.
9954 (breakParagraph): use ParagraphList::insert
9955 (breakParagraphConservative): take a Buffer* instead of a
9956 BufferParams& as arg.
9957 (breakParagraphConservative): use ParagraphList::insert.
9959 * buffer.C (insertStringAsLines): un-const it
9960 (insertStringAsLines): adjust
9962 * ParagraphList.C (insert): new function
9964 * CutAndPaste.C (pasteSelection): adjust
9966 * text.C (backspace): adjust
9968 * tabular.C (SetMultiColumn): adjust
9970 * CutAndPaste.C (cutSelection): adjust
9971 (pasteSelection): adjust
9973 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9974 Buffer const * as arg
9976 * ParagraphList.C (erase): new function
9977 * paragraph_funcs.C (mergeParagraph): use it
9978 (mergeParagraph): make it take a Buffer* instead of a
9979 BufferParams* as arg
9981 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9983 (breakParagraphConservative): ditto
9985 * paragraph.h: remove the breakParagraph friend
9987 * paragraph.C (eraseIntern): new function
9988 (setChange): new function
9990 * paragraph_funcs.C (mergeParagraph): make it take a
9991 ParagraphList::iterator instead of a Paragraph *, adjust
9994 * paragraph.h: move an #endif so that the change tracking stuff
9995 also works in the NO_NEXT case.
9997 2003-03-04 Angus Leeming <leeming@lyx.org>
10000 * LyXAction.C: new LFUN_INSET_MODIFY.
10002 * BufferView_pimpl.C (dispatch): if an inset is found to be open
10003 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
10005 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10007 * several files: ws changes only
10009 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
10010 (TeXEnvironment): ditto
10013 * buffer.C (makeLaTeXFile): adjust
10014 (latexParagraphs): make it take ParagraphList::iterator as args
10016 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
10018 * buffer.C (latexParagraphs): adjust
10020 * paragraph.C (TeXOnePar): move function...
10021 (optArgInset): move function...
10022 (TeXEnvironment): move function...
10023 * paragraph_pimpl.C (TeXDeeper): move function...
10024 * paragraph_funcs.C: ...here
10026 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
10028 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
10030 * buffer.C (readInset): remove compability code for old Figure and
10033 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
10035 * buffer.C: ws changes
10038 * BufferView_pimpl.C: ditto
10041 * bufferlist.h: ditto
10045 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
10047 * converter.[Ch]: split into itself +
10050 * Makefile.am: += graph.[Ch] + format.[Ch]
10057 * lyxrc.C: added #include "format.h"
10059 2003-02-27 Angus Leeming <leeming@lyx.org>
10061 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
10064 * factory.C (createInset): add "label" to the factory.
10066 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
10067 string and do no more.
10069 2003-02-27 Angus Leeming <leeming@lyx.org>
10072 * LyXAction.C (init):
10073 * factory.C (createInset):
10074 * BufferView_pimpl.C (dispatch):
10075 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
10077 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
10079 * lyxfunc.C (dispatch):
10080 * text3.C (dispatch): pass name to params2string.
10082 2003-02-26 Angus Leeming <leeming@lyx.org>
10084 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
10086 Rearrange the ~includes. Strip out the unnecessary ones.
10088 * factory.C (createInset): reformat.
10089 create new insets for the various LFUN_XYZ_APPLY lfuns.
10091 2003-02-26 John Levon <levon@movementarian.org>
10094 * lyxrow.C: add isParStart,isParEnd helpers
10096 * paragraph.h: make isInserted/DeletedText take refs
10098 * paragraph_funcs.h:
10099 * paragraph_funcs.C: remove #if 0'd code
10104 * text.C: use lyxrow helpers above.
10105 Move draw and paint routines to RowPainter.
10106 Make several methods use refs not pointers.
10107 Make backgroundColor() const.
10108 Add markChangeInDraw(), isInInset().
10109 Merge changeRegionCase into changeCase.
10110 Make workWidth() shouldn't-happen code into an Assert.
10113 * rowpainter.C: new class for painting a row.
10116 * vspace.C: make inPixels take a ref
10118 2003-02-26 Angus Leeming <leeming@lyx.org>
10120 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
10123 2003-02-25 John Levon <levon@movementarian.org>
10125 * ispell.C: give the forked command a more accurate name
10127 2003-02-22 John Levon <levon@movementarian.org>
10130 * toc.C: make TocItem store an id not a Paragraph *
10133 2003-02-21 Angus Leeming <leeming@lyx.org>
10135 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
10136 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
10137 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
10138 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
10139 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
10140 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
10142 * BufferView_pimpl.C (dispatch):
10143 * LyXAction.C (init):
10144 * factory.C (createInset):
10145 * lyxfunc.C (getStatus, dispatch):
10146 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
10148 2003-02-21 Angus Leeming <leeming@lyx.org>
10150 * BufferView_pimpl.C (MenuInsertLyXFile):
10151 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
10152 * lyxfunc.C (menuNew, open, doImport):
10153 no longer pass a LyXView & to fileDlg.
10155 2003-02-21 Angus Leeming <leeming@lyx.org>
10157 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
10158 * LyXAction.C: change, BIBKEY to BIBITEM.
10159 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
10160 Change InsetBibKey to InsetBibitem.
10161 Change BIBKEY_CODE to BIBITEM_CODE.
10162 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10163 * factory.C: replace insetbib.h with insetbibitem.h.
10164 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10165 * paragraph.C: replace insetbib.h with insetbibitem.h.
10166 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
10167 Change bibkey() to bibitem().
10168 * text.C: remove insetbib.h.
10169 * text2.C: replace insetbib.h with insetbibitem.h.
10170 change bibkey() to bibitem().
10171 * text3.C: remove insetbib.h.
10172 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10174 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10176 * lyxrc.C (output): enclose user email in quotes (in case there are
10179 2003-02-18 John Levon <levon@movementarian.org>
10181 * buffer.h: add std::
10183 2003-02-17 John Levon <levon@movementarian.org>
10189 * pspell.C: reworking. Especially in ispell, a large
10190 number of clean ups and bug fixes.
10192 * lyxfunc.C: fix revert to behave sensibly
10194 2003-02-17 André Pönitz <poenitz@gmx.net>
10197 * commandtags.h: new LFUN_INSERT_BIBKEY
10207 * paragraph_func.C: remove special bibkey handling
10209 2003-02-17 John Levon <levon@movementarian.org>
10211 * text.C (Delete): fix case where delete at the end of
10212 the very first paragraph would not merge the pars
10214 2003-02-17 John Levon <levon@movementarian.org>
10216 * lyxrow.C: fix lastPrintablePos()
10218 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10220 * bufferparams.C (writeLaTeX): add a std:here
10222 * buffer.C: and remove a using directive there
10224 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10226 * buffer.C (makeLaTeXFile): move the code that generates the
10229 * bufferparams.C (writeLaTeX): ... in this new method
10231 * LaTeXFeatures.C (getEncodingSet): make const
10232 (getLanguages): make const
10234 * MenuBackend.C (binding): returns the binding associated to this
10236 (add): sets the status of each item by calling getStatus. Adds
10238 (read): add support for OptSubMenu
10239 (expand): remove extra separator at the end of expanded menu
10241 2003-02-15 John Levon <levon@movementarian.org>
10244 * BufferView_pimpl.C:
10246 * bufferlist.C: remove pointless BufferStorage bloat. Remove
10247 inset code that had no actual effect. Remove unneeded status
10250 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10252 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
10255 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
10257 * text.C (drawLengthMarker): also draw an arrow marker for
10258 symbolic lengths (medskip...)
10260 2003-02-14 John Levon <levon@movementarian.org>
10263 * tabular.C: better method names
10265 2003-02-14 John Levon <levon@movementarian.org>
10267 * BufferView_pimpl.C:
10272 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
10273 it's a more accurate name. Remove some pointless uses.
10275 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10277 * text2.C (LyXText): change order of initilizers to shut off
10280 2003-02-14 John Levon <levon@movementarian.org>
10282 * buffer.C: use ParIterator for getParFromID()
10286 * paragraph_pimpl.h:
10287 * paragraph_pimpl.C: remove unused getParFromID()
10289 2003-02-14 John Levon <levon@movementarian.org>
10291 * buffer.C: remove some very old #if 0'd parse code
10293 2003-02-13 John Levon <levon@movementarian.org>
10297 * text2.C: move hfillExpansion(), numberOfSeparators(),
10298 rowLast(), rowLastPrintable(), numberofHfills(),
10299 numberOfLabelHfills() ...
10302 * lyxrow.C: ... to member functions here.
10307 * text.C: remove LyXText::beginningOfMainBody(), and call
10308 p->beginningOfMainBody() directly. Move the check for
10309 LABEL_MANUAL into the latter.
10316 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
10322 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
10323 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
10325 2003-02-13 John Levon <levon@movementarian.org>
10327 * CutAndPaste.C: remove debug
10329 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10331 * paragraph.C (asString): remove two unused variables
10333 * lyxtextclass.C (readTitleType):
10335 (LyXTextClass): handle new members titletype_ and titlename_
10337 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
10339 2003-02-09 John Levon <levon@movementarian.org>
10342 * buffer.C: replace hand-coded list with a map for the dep clean
10344 2003-02-08 John Levon <levon@movementarian.org>
10346 * LaTeX.C: consolidate code into showRunMessage() helper
10348 2003-02-08 John Levon <levon@movementarian.org>
10353 * BufferView.C: change setSelectionOverString() to setSelectionRange()
10354 and pass the size in explicitly
10356 * BufferView_pimpl.h:
10357 * BufferView_pimpl.C:
10359 * BufferView.C: add getCurrentChange()
10361 * BufferView_pimpl.h:
10362 * BufferView_pimpl.C: handle change lfuns
10364 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
10365 for changes. Mark pasted paragraphs as new.
10367 * support/lyxtime.h:
10368 * support/lyxtime.C:
10369 * DepTable.C: abstract time_t as lyx::time_type
10372 * LColor.C: add colours for new text, deleted text, changebars
10374 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
10375 package use "usenames" option.
10379 * LyXAction.C: add change lfuns
10383 * author.C: author handling
10386 * buffer.C: add a per-buffer author list, with first entry as
10387 current author. Handle new .lyx tokens for change tracking. Output
10388 author list to .lyx file. Output dvipost stuff to .tex preamble.
10389 Bump lyx format to 222.
10392 * bufferlist.C: add setCurrentAuthor() to reset current author details
10396 * bufferparams.C: add param for tracking
10398 * bufferview_funcs.C: output change info in minibuffer
10402 * changes.C: add change-tracking structure
10405 * debug.C: add CHANGES debug flag
10408 * lyxfind.C: add code for finding the next change piece
10411 * lyxrc.C: add user_name and user_email
10414 * lyxrow.C: add a metric for the top of the text line
10417 * text.C: implement accept/rejectChange()
10420 * text.C: paint changebars. Paint new/deleted text in the chosen
10421 colours. Strike through deleted text.
10425 * paragraph_pimpl.h:
10426 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
10427 in the current change to the insert functions. Rework erase to
10428 mark text as deleted, adding an eraseIntern() and a range-based
10429 erase(). Implement per-paragraph change lookup and
10432 * paragraph_funcs.C: Fixup paste for change tracking.
10434 * tabular.C: mark added row/columns as new.
10436 * text.C: fix rowLast() to never return -1. Don't allow
10437 spellchecking of deleted text. Track transpose changes. Don't
10438 allow paragraph break or merge where appropriate.
10440 * text2.C: leave cursor at end of selection after a cut.
10442 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10444 * text.C (getLengthMarkerHeight):
10445 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
10446 visible on screen too.
10448 2003-02-07 John Levon <levon@movementarian.org>
10450 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
10452 2003-02-05 Angus Leeming <leeming@lyx.org>
10454 * lyxserver.C (read_ready): revert my patch of 11 September last year
10455 as it sends PC cpu through the roof. Presumably this means that
10456 the lyxserver will no longer run on an Alpha...
10458 2003-01-30 Angus Leeming <leeming@lyx.org>
10460 * factory.C (createInset): create an InsetCommandParam of type "index"
10461 and use it to 'do the right thing'.
10463 * text2.C (getStringToIndex): ensure that cursor position is always
10464 reset to the reset_cursor position.
10466 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10468 * lyxfunc.C (getStatus): "buffer-export custom" should never be
10471 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
10475 * lyxfunc.C: Output messages with identical spelling, punctuation,
10478 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
10480 * MenuBackend.C (expandFormats): List only viewable export formats
10483 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
10486 * lyxfunc.C (getStatus): Make sure that formats other than
10487 "fax" can also be disabled
10489 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10491 * text3.C (dispatch): put the lfuns that insert insets in 3
10492 groups, and call doInsertInset with appropriate arguments.
10493 (doInsertInset): new function, that creates an inset and inserts
10494 it according to some boolean parameters.
10496 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
10498 * buffer.C (readFile): remember to pass on 'par' when calling
10499 readFile recursively.
10501 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10503 * MenuBackend.C (expandFormats): add "..." to import formats.
10505 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
10507 * paragraph.C (asString): Remove XForms RTL hacks.
10509 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
10510 * buffer.C: fix typo
10512 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
10514 * Makefile.am (LIBS): delete var
10515 (lyx_LDADD): add @LIBS@ here instead.
10517 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
10519 * Clarify the meaning of "wheel mouse jump"
10521 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10523 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
10526 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10528 * importer.C (Loaders): do not preallocate 3 elements in the
10529 vector, since one ends up with 6 elements otherwise
10531 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10533 * DepTable.C (write): write the file name as last element of the
10534 .dep file (because it may contain spaces)
10535 (read): read info in the right order
10537 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10539 * paragraph_pimpl.C (simpleTeXBlanks):
10540 (simpleTeXSpecialChars):
10541 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
10543 * tabular.C (latex): add some missing case statements. Reindent.
10545 * MenuBackend.C (expandToc): remove unused variable.
10547 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
10556 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
10559 2003-01-05 John Levon <levon@movementarian.org>
10562 * BufferView.C: add getEncoding()
10565 * kbsequence.C: do not store last keypress
10568 * lyxfunc.C: store last keypress here instead. Pass encoding
10571 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10573 * lyx_main.C (init): remove annoying error message when following
10574 symbolic links (bug #780)
10576 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10578 * text.C (insertChar):
10579 * lyxrc.C (getDescription): remove extra spaces
10581 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10583 * lyxrc.C (getDescription): remove extra spaces
10585 2002-12-20 John Levon <levon@movementarian.org>
10587 * text3.C: hack fix for page up/down across tall rows
10589 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10591 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10594 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10596 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10597 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10598 thesaurus is not compiled in
10600 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
10602 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
10604 2002-12-16 Angus Leeming <leeming@lyx.org>
10607 * lyx_main.C (init): remove override_x_deadkeys stuff.
10609 2002-12-12 John Levon <levon@movementarian.org>
10611 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10612 insert. Only remove shift modifier under strict
10615 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
10617 * MenuBackend.C (expandToc): fix crash.
10619 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
10621 * MenuBackend.C (expandToc): gettext on float names.
10623 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
10625 * lyxlength.[Ch]: set default unit to UNIT_NONE,
10626 implement bool empty() [bug 490]
10628 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
10630 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10632 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
10634 * several files: ws changes
10636 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
10638 * text2.C (setCounter): clean up a bit, use boost.format.
10639 (updateCounters): initialize par upon declaration.
10641 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10642 if the layout exists. We do not just store the layout any more.
10643 (SwitchLayoutsBetweenClasses): use boost.format
10645 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10647 * converter.C (convert): if from and to files are the same, use a
10648 temporary files as intermediary
10650 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10653 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10655 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
10657 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10659 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
10661 * tabular.C (asciiPrintCell): use string(size, char) instead of
10664 * sgml.C (openTag): fix order of arguments to string constructor
10667 * lyxfunc.C (dispatch): use boost.format
10669 * lots of files: change "c" -> 'c'
10671 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
10673 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10675 2002-11-25 Angus Leeming <leeming@lyx.org>
10677 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10679 * lyx_main.C (init): compile fix.
10681 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
10683 * lyx_cb.C (start): boost.formatify
10684 do not include <iostream>
10686 * lengthcommon.C: ws only
10688 * boost-inst.C,BoostFormat.h: add more explict instantations
10690 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
10692 * lots of files: handle USE_BOOST_FORMAT
10694 2002-11-21 John Levon <levon@movementarian.org>
10696 * pspell.C: fix compile
10698 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10700 * lyxfunc.C (dispatch): use boost::format
10704 * lyxfont.C (stateText): use boost::format
10706 * lyx_main.C (LyX): use boost::format
10708 (queryUserLyXDir): ditto
10709 (readRcFile): ditto
10711 (typedef boost::function): use the recommened syntax.
10713 * importer.C (Import): use boost::format
10715 * debug.C (showLevel): use boost::format
10717 * converter.C (view): use boost::format
10722 * bufferview_funcs.C (currentState): use boost::format
10724 * bufferlist.C (emergencyWrite): use boost::format
10726 * buffer.C (readLyXformat2): use boost::format
10727 (parseSingleLyXformat2Token): ditto
10729 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10731 * LaTeX.C (run): use boost::format
10733 * Chktex.C (scanLogFile): use boost::format
10735 * BufferView_pimpl.C (savePosition): use boost::format
10736 (restorePosition): ditto
10737 (MenuInsertLyXFile): ditto
10739 * BoostFormat.h: help file for explicit instation.
10741 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
10743 * tabular.C (latex): Support for block alignment in fixed width
10746 2002-11-17 John Levon <levon@movementarian.org>
10748 * BufferView_pimpl.C:
10750 * lyxfunc.C: split filedialog into open/save
10752 2002-11-08 Juergen Vigna <jug@sad.it>
10754 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10755 by my last patch (hopefully).
10757 2002-11-08 John Levon <levon@movementarian.org>
10766 * toc.C: ParConstIterator, and use it (from Lars)
10768 2002-11-07 Ben Stanley <bds02@uow.edu.au>
10770 * lyxtextclass.[Ch]: revise and add doxygen comments
10772 2002-11-07 John Levon <levon@movementarian.org>
10774 * text.C: fix progress value for spellchecker
10776 * toc.C: fix navigate menu for insetwrap inside minipage
10778 * paragraph_funcs.C: added FIXME for suspect code
10780 2002-11-07 John Levon <levon@movementarian.org>
10782 * BufferView_pimpl.C: fix redrawing of insets
10785 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10787 * text2.C (updateCounters): fix bug 668
10789 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
10791 * text3.C (dispatch): Do not make the buffer dirty when moving the
10794 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10796 * vc-backend.C: STRCONV
10797 (scanMaster): ditto
10799 * text2.C (setCounter): STRCONV
10801 * paragraph.C (asString): STRCONV
10803 * lyxlength.C (asString): STRCONV
10804 (asLatexString): ditto
10806 * lyxgluelength.C (asString): STRCONV
10807 (asLatexString): ditto
10809 * lyxfunc.C (dispatch): STRCONV
10812 * lyxfont.C (stateText): STRCONV
10814 * importer.C (Import): STRCONV
10816 * counters.C (labelItem): STRCONV
10817 (numberLabel): ditto
10818 (numberLabel): remove unused ostringstream o
10823 * bufferview_funcs.C (currentState): STRCONV
10825 * buffer.C (readFile): STRCONV
10826 (asciiParagraph): ditto
10827 (makeLaTeXFile): ditto
10829 * Spacing.C (writeEnvirBegin): STRCONV
10831 * LaTeXFeatures.C (getLanguages): STRCONV
10832 (getPackages): ditto
10834 (getBabelOptions): ditto
10835 (getTClassPreamble): ditto
10836 (getLyXSGMLEntities): ditto
10837 (getIncludedFiles): ditto
10841 (scanAuxFile): ditto
10844 * LString.h: add the STRCONV macros
10846 * BufferView_pimpl.C (savePosition): STRCONV
10847 (restorePosition): ditto
10848 (MenuInsertLyXFile): ditto
10850 * vc-backend.C (scanMaster): change from submatch[...] to
10853 * funcrequest.C: include config.h
10855 * factory.C: include config.h
10857 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10859 * box.C: include config.h
10861 * LaTeX.C (scanAuxFile): change from submatch[...] to
10865 2002-10-25 Angus Leeming <leeming@lyx.org>
10867 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10869 * ispell.[Ch] (setError): new method.
10870 * ispell.C (c-tor): move out child process into new class LaunchIspell.
10871 Use setError() insetead of goto END.
10873 * lyx_cb.C (AutoSave): move out child process into new class
10876 2002-10-30 John Levon <levon@movementarian.org>
10878 * text3.C: make start appendix undoable
10880 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
10882 * lyxlength.C (inPixels): Fix returned value.
10884 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10887 2002-10-24 Angus Leeming <leeming@lyx.org>
10889 * lyxgluelength.h: no need to forward declare BufferParams
10890 or BufferView, so don't.
10892 2002-10-21 John Levon <levon@movementarian.org>
10894 * BufferView.C: menuUndo ->undo, redo
10896 * BufferView.h: document, remove dead, make some methods private
10898 * paragraph_funcs.h:
10899 * paragraph_funcs.C:
10900 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10905 * sgml.C: move sgml open/close tag into sgml.C
10907 * bufferview_funcs.h: unused prototype
10910 * lyxfunc.C: remove unused
10913 * text.C: remove unused
10915 2002-10-21 John Levon <levon@movementarian.org>
10919 * BufferView_pimpl.h:
10920 * BufferView_pimpl.C: fix mouse wheel handling based on
10921 patch from Darren Freeman
10923 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
10925 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10927 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
10929 * lyxlength.C (inPixels): Fix hanfling of negative length.
10930 Fix LyXLength::MU case.
10932 2002-10-16 John Levon <levon@movementarian.org>
10934 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10936 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10938 * converter.C (view): add support for $$i (file name) and $$p
10939 (file path) for the viewer command. If $$i is not specified, then
10940 it is appended to the command (for compatibility with old syntax)
10942 2002-10-14 Juergen Vigna <jug@sad.it>
10944 * undo_funcs.C (textHandleUndo): alter the order in which the
10945 new undopar is added to the LyXText, as we have to set first
10946 the right prev/next and then add it as otherwise the rebuild of
10947 LyXText is not correct. Also reset the cursor to the right paragraph,
10948 with this IMO we could remove the hack in "redoParagraphs()".
10950 2002-10-09 Angus Leeming <leeming@lyx.org>
10952 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10953 to turn off an optimisation if a new inset is to be inserted.
10955 2002-10-11 André Pönitz <poenitz@gmx.net>
10957 * lyxtext.h: make some functions public to allow access
10958 from inset/lyxtext for handling LFUN_PRIOR/NEXT
10960 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10962 * text3.C (dispatch): when changing layout, avoid an infinite loop
10965 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10967 * lyxrc.C (read): treat a viewer or converter command of "none" as
10970 * MenuBackend.C (expandFormats): for an update, also allow the
10971 formats that are not viewable
10973 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10974 script if it is newer than the lyxrc.defaults in user directory
10976 2002-10-07 André Pönitz <poenitz@gmx.net>
10978 * text.C: Vitaly Lipatov's small i18n fix
10980 2002-09-25 Angus Leeming <leeming@lyx.org>
10982 * ispell.h: doxygen fix.
10984 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
10986 * buffer.h (readFile): Add a new argument to the method, to allow
10987 reading of old-format templates.
10989 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
10991 * toc.C (getTocList): Get TOC from InsetWrap.
10993 2002-09-16 John Levon <levon@movementarian.org>
10995 * lyxfunc.C: check tabular for cut/copy too
10997 2002-09-12 John Levon <levon@movementarian.org>
10999 * LyXAction.C: tidy
11002 * factory.C: add header
11004 * paragraph_funcs.h:
11005 * paragraph_funcs.C: cleanup
11007 2002-09-11 John Levon <levon@movementarian.org>
11009 * PrinterParams.h: odd/even default to true
11011 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
11013 * PrinterParams.h: update printer parameters for new xforms dialog
11015 2002-09-11 Angus Leeming <leeming@lyx.org>
11017 * lyxserver.C (read_ready): re-write to make it more transparent
11018 and to make it work in coherent fashion under Tru64 Unix.
11020 2002-09-11 André Pönitz <poenitz@gmx.net>
11024 * text3.C: implement LFUN_WORDSEL
11026 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11028 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
11029 make floatlist_ a boost::shared_ptr<FloatList>
11031 * lyxtextclass.C: include FloatList.h
11032 (LyXTextClass): initialize floatlist_
11033 (TextClassTags): add TC_NOFLOAT
11034 (Read): match "nofloat" to TC_NOFLOAT and use it.
11035 (readFloat): modify call to floatlist_
11039 * FloatList.[Ch] (FloatList): remove commented out float
11041 (erase): new function
11043 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11045 * MenuBackend.C (expandToc): fix crash when there is no document
11048 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
11050 * many files: Add insetwrap.
11052 2002-09-09 John Levon <levon@movementarian.org>
11054 * text2.C: remove confusing and awkward depth wraparound
11056 2002-09-09 John Levon <levon@movementarian.org>
11058 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
11061 * buffer.C: remove getIncludeonlyList()
11064 * lyxfunc.C: remove headers
11066 2002-09-09 Juergen Vigna <jug@sad.it>
11068 * text.C (getColumnNearX): fix form Michael this is most
11069 probably a cut&paste bug.
11071 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
11073 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
11075 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
11076 references, ws changes.
11078 * text2.C (init): update counters after init
11079 (insertParagraph): no need to set counter on idividual paragraphs.
11080 (setCounter): access the counters object in the textclass object
11081 on in the buffer object.
11082 (updateCounters): ditto
11084 * lyxtextclass.C: include counters.h, add variable ctrs_ as
11085 shared_ptr<Counters> to avoid loading counters.h in all
11087 (LyXTextClass): initialize ctrs_
11088 (TextClassTags): add TC_COUNTER, and ...
11089 (Read): use it here.
11090 (CounterTags): new tags
11091 (readCounter): new function
11092 (counters): new funtion
11093 (defaultLayoutName): return a const reference
11095 * counters.C (Counters): remove contructor
11096 (newCounter): remove a couple of unneeded statements.
11097 (newCounter): simplify a bit.
11098 (numberLabel): some small formatting changes.
11100 * buffer.[Ch]: remove all traces of counters, move the Counters
11101 object to the LyXTextClass.
11103 2002-09-06 Alain Castera <castera@in2p3.fr>
11105 * tabular.C: uses \tabularnewline; uses >{...} construct from array
11106 package to set the horizontal alignment on fixed width columns.
11109 * lyx_sty.h: added tabularnewline macro def.
11111 * LaTeXFeatures.C: added NeedTabularnewline macro feature
11113 2002-09-06 John Levon <levon@movementarian.org>
11115 * LyXAction.C: tooltips for sub/superscript
11117 * MenuBackend.C: a bit more verbose
11119 * lyxfunc.C: tiny clean
11121 * undo_funcs.C: document undo_frozen
11123 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
11125 * counters.C (Counters): add missing algorithm counter.
11127 * text2.C (setCounter): lookup the counter with layouts latexname
11128 instead of by section number.
11129 (setCounter): use a hackish way to lookup the correct enum
11131 a float name->type change
11132 reset enum couners with counter name directly instead of depth value.
11134 * counters.C (Counters): remove the push_backs, change to use the
11135 float type not the float name.
11136 (labelItem): remove unused string, float name->type change
11138 * counters.h: don't include vector, loose the enums and sects vectors
11140 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
11142 * lyxtextclass.C (TextClassTags): add TC_FLOAT
11143 (Read): add float->TC_FLOAT to textclassTags
11144 (Read): and handle it in the switch
11145 (readFloat): new function
11147 * FloatList.C (FloatList): comment out the hardcoded float
11150 * lyxlayout.h: ws change.
11152 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
11154 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
11156 2002-09-03 Angus Leeming <leeming@lyx.org>
11158 * BufferView_pimpl.h: qualified name is not allowed in member
11159 declaration: WorkArea & Pimpl::workarea() const;
11161 * factory.C: added using std::endl directive.
11163 * text3.C: added using std::find and std::vector directives.
11165 2002-08-29 André Pönitz <poenitz@gmx.net>
11168 * text2.C: remove unused member number_of_rows
11171 * BufferView2.C: remove file, move contents to...
11172 * BufferView.C: ... here
11174 * BufferView_pimpl.C:
11175 * factory.C: move more inset creation to factory
11177 * vspace.C: avoid direct usage of LyXText, ws changes
11180 don't provide direct access to WorkArea, use two simple
11181 acessors haveSelction() and workHeight() instead
11184 2002-08-29 John Levon <levon@movementarian.org>
11186 * BufferView_pimpl.C (dispatch): do not continue when
11189 2002-08-28 André Pönitz <poenitz@gmx.net>
11191 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
11194 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
11196 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
11198 * buffer.C: increment LYX_FORMAT to 221
11200 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
11201 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
11203 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
11205 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
11207 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11209 * factory.C (createInset): use LyXTextClass::floats
11211 * MenuBackend.C (expandFloatListInsert):
11212 (expandFloatInsert):
11215 * text2.C (setCounter):
11217 * LaTeXFeatures.C (useFloat):
11218 (getFloatDefinitions):
11220 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
11222 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
11223 floatlist_, with accessor floats().
11225 * FloatList.h: remove global FloatList
11227 2002-08-26 André Pönitz <poenitz@gmx.net>
11229 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
11233 * BufferView_pimpl.C:
11234 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
11236 2002-08-25 John Levon <levon@movementarian.org>
11238 * LyXAction.C: fix margin note description
11240 2002-08-24 John Levon <levon@movementarian.org>
11244 * bufferview_funcs.C:
11246 * undo_funcs.C: cleanups
11248 * lyxfunc.C: disable CUT/COPY when no selection
11250 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
11252 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
11253 in "enum UNIT"; e.g. PTW for Percent of TextWidth
11255 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
11256 Add backward compatibility to "mono", "gray" and "no".
11258 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
11260 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
11261 (and file_format >= 200).
11263 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11265 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
11267 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11269 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
11271 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
11273 * BufferView_pimpl.C:
11280 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
11281 inset and code to make it work with the paragraph code. The inset
11282 can be anywhere in the paragraph, but will only do the expected
11283 thing in LaTeX if the layout file contains the parameter line
11285 (or more generally, a nonzero value) for that layout.
11287 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
11289 * paragraph.h: remove the declaration of undefined counters class
11292 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
11294 * text2.C (setCounter): fixed enumeration mis-count as reported by
11295 Dr. Richard Hawkins.
11297 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11299 * paragraph_funcs.h: remove some unneeded includes
11301 * text.C (backspace): pasteParagraph now in global scipe
11303 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
11304 (pasteSelection): ditto
11306 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
11307 * paragraph_funcs.C (pasteParagraph): ... here
11309 2002-08-20 André Pönitz <poenitz@gmx.net>
11311 * commandtags.h: new LFUNs for swapping/copying table row/colums
11314 * lyxfunc.C: support for new lfuns
11316 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
11319 * buffer.[Ch]: remove NO_COMPABILITY stuff
11321 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
11323 * boost.C (throw_exception): new file, with helper function for
11324 boost compiled without exceptions.
11329 * ParameterStruct.h:
11330 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
11332 * bufferlist.C (emergencyWriteAll): use boost bind
11334 * BufferView_pimpl.C (moveCursorUpdate): remove inline
11336 * text.C: include paragraph_funcs.h
11337 (breakParagraph): breakParagraph is now in global scope
11339 * paragraph_funcs.[Ch]: new files
11341 * paragraph.C (breakParagraph,breakParagraphConservative): move to
11344 * buffer.C: include paragraph_funcs.h
11345 (insertStringAsLines): breakParagraph is now in global scope
11347 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
11350 * CutAndPaste.C: include paragraph_funcs.h
11351 (cutSelection): breakParagraphConservative is now in global scope
11352 (pasteSelection): ditto
11354 * buffer.h: declare oprator== and operator!= for
11355 Buffer::inset_iterator
11357 * bufferlist.C (emergencyWrite): don't use fmt(...)
11359 * text3.C: add using std::endl
11361 * BufferView.C (moveCursorUpdate): remove default arg
11363 2002-08-20 André Pönitz <poenitz@gmx.net>
11365 * buffer.[Ch]: move inline functions to .C
11368 * BufferView_pimpl.C:
11370 * buffer.[Ch]: use improved inset_iterator
11373 * paragraph.[Ch]: write one paragraph at a time
11375 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
11377 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
11378 style if style is not specified.
11380 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11382 * text2.C (setCounter): when searching for right label for a
11383 caption, make sure to recurse to parent insets (so that a caption
11384 in a minipage in a figure float works) (bug #568)
11386 2002-08-20 André Pönitz <poenitz@gmx.net>
11388 * text3.C: new file for LyXText::dispatch() and helpers
11390 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
11392 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
11394 2002-08-19 André Pönitz <poenitz@gmx.net>
11397 * text.C: new LyXText::dispatch()
11399 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
11401 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
11403 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
11405 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
11408 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11410 * Makefile.am: use $(variables) instead of @substitutions@
11412 2002-08-15 André Pönitz <poenitz@gmx.net>
11415 * BufferView_pimpl.C: streamlining mathed <-> outer world
11419 * LyXAction.C: remove unused LFUN_MATH
11421 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
11423 * paragraph.[Ch]: add some NO_NEXT ifdefs.
11425 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
11427 * paragraph.C (Paragraph): reformat a bit
11428 (cutIntoMinibuffer): use builtin InsetList function instad of
11432 * buffer.C: include boost/bind.hpp, add using std::for_each
11433 (writeFileAscii): use ParagraphList iterators
11434 (validate): use for_each for validate traversal of paragraphs
11435 (getBibkeyList): use ParagraphList iterators
11436 (resizeInsets): use for_each to resizeInsetsLyXText for all
11438 (getParFromID): use ParagraphList iterators
11440 * BufferView2.C (lockInset): use paragraph list and iterators
11442 2002-08-14 John Levon <levon@movementarian.org>
11444 * lyxserver.C: remove spurious xforms include
11446 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11448 * lyxfunc.C (getStatus): disable math-extern outside of math mode
11450 2002-08-13 André Pönitz <poenitz@gmx.net>
11453 * lyxfunc.C: further cleaning
11455 2002-08-13 André Pönitz <poenitz@gmx.net>
11457 * funcrequest.h: new constructor
11459 * funcrequest.C: move stuff here from .h
11462 * BufferView_pimpl.C:
11465 * lyxfunc.C: subsequent changes
11467 * lyxfunc.h: new view() member function
11469 * lyxfunc.C: subsequent changes
11471 2002-08-13 Angus Leeming <leeming@lyx.org>
11474 * BufferView_pimpl.C:
11482 changes due to the changed LyXView interface that now returns references
11483 to member variables not pointers.
11485 2002-08-13 Angus Leeming <leeming@lyx.org>
11487 * WordLangTuple (word, lang_code): return references to strings,
11492 * lyxtext.h: forward-declare WordLangTuple.
11497 * text.C: #include "WordLangTuple.h".
11500 * text.C: (selectNextWordToSpellcheck): constify return type.
11502 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
11508 * paragraph_pimpl.h:
11511 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
11512 suggested by Angus.
11513 Made updateCounter always count from start of buffer, and removed
11514 second argument (par).
11515 Reverted floats number display to '#'. Perhaps I'll try again when the
11516 code base is sanitized a bit.
11518 2002-08-12 Angus Leeming <leeming@lyx.org>
11520 * buffer.[Ch] (getLabelList): constify.
11522 2002-08-07 André Pönitz <poenitz@gmx.net>
11524 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
11526 * funcrequest.h: extension to keep mouse (x,y) position
11528 2002-08-12 Juergen Vigna <jug@sad.it>
11530 * BufferView2.C (insertErrors): forbid undo when inserting error
11533 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
11535 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
11537 * ParagraphList.[Ch]: new files
11539 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
11541 * BufferView2.C (lockInset): ParagraphList changes
11544 * bufferlist.C: ditto
11548 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11550 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
11551 unused class variable counter_,
11553 * paragraph.[Ch] (getFirstCounter): delete unused function
11555 * counters.C: include LAssert.h
11556 (reset): add a new function with no arg, change other version to
11557 not have def. arg and to not allow empty arg.
11559 * text2.C (setCounter): remove empty arg from call to Counters::reset
11561 2002-08-11 John Levon <levon@movementarian.org>
11563 * Makefile.am: add WordLangTuple.h
11565 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11567 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
11568 lyxfunc.C lyxlex_pimpl.C: ws changes only.
11570 * insets/insettext.C: InsetList changes
11572 * graphics/GraphicsSupport.C (operator()): InsetList changes
11574 * toc.C (getTocList): InsetList changes
11576 * paragraph_pimpl.[Ch]: InsetList changes
11578 * paragraph.[Ch]: InsetList changes
11580 * buffer.C (inset_iterator): InsetList changes
11581 (setParagraph): ditto
11582 * buffer.h (inset_iterator): ditto
11583 * iterators.C (operator++): ditto
11584 * iterators.h: ditto
11586 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11588 * InsetList.[Ch]: new files, most InsetList handling moved out of
11591 * BufferView2.C (removeAutoInsets): InsetList changes
11593 (ChangeInsets): ditto
11595 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
11597 * paragraph_pimpl.h (empty): new function
11599 * paragraph.[Ch] (empty): new function
11601 * other files: use the new Paragraph::empty function
11603 2002-08-09 John Levon <levon@movementarian.org>
11605 * lyxtext.h: remove unused refresh_height
11607 2002-08-09 John Levon <levon@movementarian.org>
11614 * paragraph.C: move sgml char escaping out of paragraph
11617 * paragraph.C: remove id setter
11621 * paragraph_pimpl.C: remove dead tex_code_break_column
11623 * bufferview_funcs.C: small cleanup
11625 * lyxfunc.C: remove dead proto
11627 * lyxtext.h: make some stuff private. Remove some dead stuff.
11629 * lyxgluelength.C: make as[LyX]String() readable
11631 2002-08-08 John Levon <levon@movementarian.org>
11636 * ToolbarDefaults.C:
11639 * toc.C: lyxaction cleanup
11641 2002-08-08 John Levon <levon@movementarian.org>
11643 * BufferView2.C: small cleanup
11646 * lyxfind.C: move unnecessary header into the .C
11648 2002-08-08 John Levon <levon@movementarian.org>
11650 * funcrequest.h: just tedious nonsense
11653 * lyx_main.C: cleanups
11656 * vspace.C: remove dead header lyx_main.h
11658 2002-08-07 Angus Leeming <leeming@lyx.org>
11661 * paragraph_pimpl.h:
11662 Forward declare class Counters in paragraph.h by moving the ctrs member
11663 variable into Paragraph::Pimpl.
11664 (counters): new method, returning a reference to pimpl_->ctrs.
11666 * text2.C: ensuing changes.
11668 2002-08-07 John Levon <levon@movementarian.org>
11670 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11672 * BufferView_pimpl.C: announce X selection on double/triple
11675 * lyx_main.C: use correct bool in batch dispatch
11677 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11679 2002-08-07 André Pönitz <poenitz@gmx.net>
11681 * funcrequest.h: new class to wrap a kb_action and its argument
11684 * BufferView_pimpl[Ch]:
11688 * lyxrc.C: subsequent changes
11691 2002-08-07 John Levon <levon@movementarian.org>
11693 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11694 document options change.
11696 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11701 * makefile.am: move counters functionality over from
11702 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11704 2002-08-06 John Levon <levon@movementarian.org>
11706 * WordLangTuple.h: new file for word + language code tuple
11717 * BufferView2.C: use WordLangTuple
11720 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11722 2002-08-06 John Levon <levon@movementarian.org>
11724 * lyx_main.C: fix cmdline batch handling
11726 2002-08-06 André Pönitz <poenitz@gmx.net>
11728 * lyxrc.C: set default for show_banner to true
11730 2002-08-06 John Levon <levon@movementarian.org>
11732 * pspell.C: fix a crash, and allow new aspell to work
11734 2002-08-06 John Levon <levon@movementarian.org>
11737 * kbmap.C: small cleanup
11740 * vspace.C: add const
11742 2002-08-05 John Levon <levon@movementarian.org>
11744 * LyXAction.C: back to tabular-insert
11746 2002-08-04 John Levon <levon@movementarian.org>
11749 * BufferView.C: cosmetic change
11751 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11761 * BufferView2.C: purge all "Lyx" not "LyX" strings
11764 * lyxcursor.C: attempt to add some documentation
11769 * ToolbarDefaults.C:
11770 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11771 merge with LFUN_TABULAR_INSERT
11778 * pspell.C: split up i/pspell implementations into separate
11779 files, many cleanups
11781 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11783 * text2.C: some cleanup
11785 * lyxfunc.C: don't check for isp_command == "none" any more, it
11786 didn't make any sense
11788 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11793 * makefile.am: move counters functionality over
11794 from text2.C/paragraph.[Ch] to counters.[Ch], and
11796 2002-08-02 John Levon <levon@movementarian.org>
11798 * buffer.C: s/lyxconvert/lyx2lyx/
11800 2002-08-02 Angus Leeming <leeming@lyx.org>
11802 * lyxlex.C: revert John's change as it breaks reading of the user
11805 2002-08-02 Angus Leeming <leeming@lyx.org>
11807 * importer.C (Import):
11808 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11809 changes due to LyXView::view() now returning a boost::shared_ptr.
11811 2002-08-02 John Levon <levon@movementarian.org>
11813 * lyxlex.C: small cleanup
11815 2002-08-02 John Levon <levon@movementarian.org>
11817 * text2.C (status): small cleanup, no logic change
11819 2002-08-01 John Levon <levon@movementarian.org>
11822 * buffer.C (writeFile): don't output alerts, caller
11826 * lyx_cb.C: from above
11828 * lyxfunc.C: allow to open non-existent files
11830 2002-07-31 John Levon <levon@movementarian.org>
11832 * lyxserver.C: don't let incidental errors get
11835 2002-07-30 John Levon <levon@movementarian.org>
11837 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11839 2002-07-30 John Levon <levon@movementarian.org>
11842 * lyxserver.C: remove I/O callback too
11844 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11846 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11849 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
11851 * many files: strip,frontStrip -> trim,ltrim,rtrim
11853 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
11855 * PrinterParams.h: remove extern containsOnly, and include
11856 support/lstrings.h instead.
11858 * LaTeX.C (scanAuxFile): modify because of strip changes
11860 * buffer.C (makeLaTeXFile): ditto
11861 * bufferparams.C (writeFile): ditt
11862 * lyxfont.C (stateText): ditto
11863 * lyxserver.C (read_ready): ditto
11864 * vc-backend.C (scanMaster): ditto
11866 * BufferView_pimpl.h: ws changes
11868 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11870 2002-07-26 André Pönitz <poenitz@gmx.net>
11872 * kb_sequence.C: remove unnedred usings
11874 2002-07-26 Juergen Vigna <jug@sad.it>
11876 * lyxfind.C (LyXReplace): we have to check better if the returned
11877 text is not of theLockingInset()->getLockingInset().
11879 2002-07-25 Juergen Vigna <jug@sad.it>
11881 * lyxfind.C (LyXReplace): don't replace if we don't get the
11884 * undo_funcs.C (createUndo): remove debugging code.
11886 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
11888 * buffer.C (parseSingleLyXformat2Token): Use default placement
11889 when reading old floats.
11891 * FloatList.C (FloatList): Change the default placement of figure
11892 and tables to "tbp".
11894 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
11896 * MenuBackend.C: using std::max
11898 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11900 * MenuBackend.C (expandToc):
11901 (expandToc2): code moved from xforms menu frontend. It is now
11902 generic and TOCs are transparent to menu frontends.
11904 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11906 * toc.C (getTocList): protect against buf=0
11908 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11909 Menu as first parameter. Now, this calls itself recursively to
11910 expand a whole tree (this will be useful for TOC handling)
11911 (expandFloatInsert): remove 'wide' version of floats
11913 * MenuBackend.h (submenuname): returns the name of the submenu.
11914 (submenu): returns the submenu itself, provided it has been
11915 created by MenuBackend::expand
11917 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11919 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11920 insets which have noFontChange == true. (bug #172)
11922 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11924 * BufferView_pimpl.C: add connection objects and use them...
11927 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11929 * MenuBackend.C (expandLastfiles):
11932 (expandFloatListInsert):
11933 (expandFloatInsert):
11934 (expand): split expand in parts
11936 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11938 * lyx_gui.C: use lyx_gui::exit()
11940 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11942 * LyXAction.C: show the failing pseudo action
11944 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
11946 * buffer.C (readFile): Run the lyxconvert script in order to read
11949 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11953 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11955 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11959 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11961 2002-07-22 Herbert Voss <voss@lyx.org>
11964 * lyxlength.[Ch]: add support for the vertical lengths
11966 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
11968 * toc.[Ch]: std:: fixes
11970 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11972 * lyxrc.C: do not include lyx_main.h
11974 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11980 * BufferView2.C: include "lyxlex.h"
11983 * bufferparams.h: do not #include "lyxlex.h"
11985 * lyxtextclasslist.C (Add): remove method
11986 (classlist): renamed to classlist_
11988 * paragraph_pimpl.C:
11992 * bufferview_funcs.C:
11997 * toc.C (getTocList): use BufferParams::getLyXTextClass
11999 * toc.C (getTocList): use InsetFloat::addToToc
12001 * toc.[Ch]: new files, containing helper functions to handle table
12004 * lyxfunc.C (dispatch): no need to remove spaces around command
12006 (getStatus): handle LFUN_SEQUENCE by returning the status of the
12007 first command of the sequence; it is not very clever, but I do not
12008 have a better idea, actually
12010 * LyXAction.C (LookupFunc): make sure to remove space at the
12011 beginning and end of the command
12013 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12015 * MenuBackend.C (getMenubar): new method: return the menubar of
12017 (read): treat differently reading of menu and menubar (in
12018 particular, the menubar has no name now)
12019 (Menu::menubar): remove
12021 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
12024 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
12026 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
12027 a bibitem inset in a RTL paragraph.
12029 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
12031 * paragraph_pimpl.C: constify
12033 * BufferView_pimpl.C:
12035 * lyxfunc.C: fix dispatch in a nicer way
12037 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12039 * lyxfunc.C (dispatch):
12040 * BufferView_pimpl.C:
12041 * BufferView_pimpl.h:
12043 * BufferView.h: rename Dispatch() to dispatch()
12045 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
12047 * lyxlayout.C (Read): honor DependsOn tag
12049 * lyxlayout.[Ch] (depends_on): new method
12051 * version.C.in: update lyx_docversion
12053 * LaTeXFeatures.C (getMacros): only define \LyX when needed
12055 * paragraph.C (validate): remove from here...
12056 * paragraph_pimpl.C (validate): ... and move here
12057 (isTextAt): make it const
12059 * buffer.C (getLists): ws cleanup
12061 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
12063 * language.C (read): Use iso8859-1 encoding in latex_lang
12064 (this prevents LyX from crashing when using iso10646-1 encoding).
12066 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12068 * text2.C (toggleInset): if cursor is inside an inset, close the
12069 inset and leave cursor _after_ it
12071 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
12073 * lyxfunc.C: move minibuffer completion handling out of here
12075 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
12077 * BufferView_pimpl.C:
12078 * LaTeX.C: fix dispatch calls
12080 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
12082 * text.C (drawChars): Fix Arabic text rendering.
12084 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
12088 * lyxfunc.C: remove message-push/pop
12092 * lyxfunc.C: rationalise some code by removing verboseDispatch
12093 in favour of a bool argument to dispatch()
12095 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12097 * lyx_main.C (init): make sure to read symlinks as absolute paths
12099 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
12102 * lyxfunc.C: no need for commandshortcut to be a member
12104 2002-07-15 André Pönitz <poenitz@gmx.net>
12106 * converter.C: add support for $$s (scripts from lib/scripts dir)
12107 * lyx_main.C: white space
12109 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
12113 * lyxrc.C: remove second exit confirmation
12115 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
12120 * BufferView_pimpl.h:
12121 * BufferView_pimpl.C:
12122 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
12124 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12126 * MenuBackend.C (expand): add numeric shortcuts to document menu
12128 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
12130 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12132 * lyxfont.C (setLyXFamily):
12139 * buffer.C (asciiParagraph): use ascii_lowercase
12141 2002-07-15 Mike Fabian <mfabian@suse.de>
12143 * lyxlex_pimpl.C (search_kw):
12144 * lyxlex.C (getLongString):
12145 * converter.h (operator<):
12146 * converter.C (operator<):
12147 * buffer.C (parseSingleLyXformat2Token):
12149 * ToolbarDefaults.C (read):
12150 * MenuBackend.C (checkShortcuts):
12152 * LColor.C (getFromGUIName):
12153 (getFromLyXName): use the compare_ascii_no_case instead of
12154 compare_no_case, because in turkish, 'i' is not the lowercase
12155 version of 'I', and thus turkish locale breaks parsing of tags.
12157 2002-07-16 Angus Leeming <leeming@lyx.org>
12159 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
12160 now takes a Buffer const & argument.
12162 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
12164 * BufferView.C (resize): check there's a buffer to resize
12166 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
12168 * lyxfunc.C: remove dead code
12171 * lyxserver.C: use lyx_guii::set_read_callback
12173 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
12175 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
12176 an inset in a RTL paragraph.
12178 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
12180 * lyxfunc.C: repaint after a font size update
12182 2002-07-15 André Pönitz <poenitz@gmx.net>
12184 * lyxlength.C: inBP should be able to return negative values
12186 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
12188 * lyxfunc.C: use lyx_gui::update_fonts()
12190 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
12192 * lyxfunc.C: use lyx_gui::update_color()
12194 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
12200 * lyxrc.C: remove file->new asks for name option, and let
12201 buffer-new take an argument
12203 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
12205 * BufferView_pimpl.C: remove unneeded extra repaint()
12207 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
12209 * LyXAction.C: allow command-sequence with NoBuffer
12211 * lyxfunc.C: don't insist on trailing ';' for command-sequence
12213 2002-07-10 Angus Leeming <leeming@lyx.org>
12215 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
12217 2002-07-09 Angus Leeming <leeming@lyx.org>
12219 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
12221 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
12223 * lengthcommon.h: whitespace
12225 * lyxfunc.C: update scrollbar after goto paragraph
12227 * lyxtext.h: factor out page break drawing, and fix it so
12228 page break/added space paints as selected nicely
12230 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
12232 * BufferView_pimpl.C: add FIXMEs, clean up a little
12234 2002-07-09 André Pönitz <poenitz@gmx.net>
12236 * lyxfont.[Ch]: support for wasy symbols
12238 2002-07-08 André Pönitz <poenitz@gmx.net>
12240 * BufferView_pimpl.C: apply John's patch for #93.
12242 2002-07-05 Angus Leeming <leeming@lyx.org>
12244 * BufferView_pimpl.C (buffer): generate previews if desired.
12246 * LColor.h: add "preview" to the color enum.
12248 * LColor.C (LColor): add a corresponding entry to the items array.
12250 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
12253 2002-07-05 Angus Leeming <leeming@lyx.org>
12255 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
12256 The body of the code is now in the method that is passed an ostream &
12257 rather than a file name.
12258 Pass an additional only_preamble parameter, useful for the forthcoming
12261 2002-07-03 André Pönitz <poenitz@gmx.net>
12263 * lyxfunc.C: simplify getStatus() a bit for math stuff
12265 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12267 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
12269 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12271 * text.C (changeRegionCase): do not change case of all the
12272 document when region ends at paragraph end (bug #461)
12274 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12276 * paragraph.C (startTeXParParams):
12277 (endTeXParParams): add \protect when necessary
12279 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12281 * BufferView_pimpl.C (workAreaExpose): remove warning
12283 2002-06-27 Angus Leeming <leeming@lyx.org>
12285 * Makefile.am: add lyxlayout_ptr_fwd.h.
12287 2002-06-26 André Pönitz <poenitz@gmx.net>
12289 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
12291 2002-06-25 Angus Leeming <leeming@lyx.org>
12293 * lyxfunc.C (dispatch): Comment out the call to
12294 grfx::GCache::changeDisplay. The method no longer exists now that the
12295 pixmap generation part of the graphics loader has been moved into
12298 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12300 * text2.C: layout as layout
12302 * text.C: layout as layout
12304 * tabular.C (OldFormatRead): layout as layout
12306 * paragraph_pimpl.C (TeXDeeper): layout as layout
12307 (realizeFont): layout as layout
12309 * paragraph.C (writeFile): layout as layout
12310 (validate): layout as layout
12311 (getFont): layout as layout
12312 (getLabelFont): layout as layout
12313 (getLayoutFont): layout as layout
12314 (breakParagraph): layout as layout
12315 (stripLeadingSpaces): layout as layout
12316 (getEndLabel): layout as layout
12317 (getMaxDepthAfter): layout as layout
12318 (applyLayout): layout as layout
12319 (TeXOnePar): layout as layout
12320 (simpleTeXOnePar): layout as layout
12321 (TeXEnvironment): layout as layout
12322 (layout): layout as layout
12323 (layout): layout as layout
12325 * lyxtextclass.C (compare_name): new functor to work with
12326 shared_ptr, layout as layout
12327 (Read): layout as layout
12328 (hasLayout): layout as layout
12329 (operator): layout as layout
12330 (delete_layout): layout as layout
12331 (defaultLayout): layout as layout
12333 * lyxlayout_ptr_fwd.h: new file
12335 * lyxlayout.C (Read): layout as layout
12337 * lyx_cb.C (MenuInsertLabel): layout as layout
12339 * bufferlist.C (newFile): layout as layout
12341 * buffer.C (readLyXformat2): layout as layout
12342 (parseSingleLyXformat2Token): layout as layout
12343 (insertStringAsLines): layout as layout
12344 (asciiParagraph): layout as layout
12345 (latexParagraphs): layout as layout
12346 (makeLinuxDocFile): layout as layout
12347 (simpleLinuxDocOnePar): layout as layout
12348 (makeDocBookFile): layout as layout
12349 (simpleDocBookOnePar): layout as layout
12350 (getLists): layout as layout
12352 * LaTeXFeatures.C (getTClassPreamble): layout as layout
12354 * CutAndPaste.C (cutSelection): layout as layout
12355 (pasteSelection): layout as layout
12356 (SwitchLayoutsBetweenClasses): layout as layout
12358 * BufferView_pimpl.C (Dispatch): layout as layout
12359 (smartQuote): layout as layout
12361 * BufferView2.C (unlockInset): layout as layout
12363 2002-06-24 André Pönitz <poenitz@gmx.net>
12365 * lyxfunc.C: fix #487
12367 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12371 * lyxfunc.C: remove display_shortcuts, show_banner
12373 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12375 * Buffer_pimpl.C: oops, update on resize
12377 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12384 * BufferView.C: use repaint()
12386 * BufferView_pimpl.h:
12387 * BufferView_pimpl.C: s/updateScreen()/repaint()/
12388 as it's a clearer description. Remove superfluous
12391 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12393 * text.C: fix bug 488. Not ideal, but getting
12394 getWord() to work properly for the insets that
12395 matter is more difficult ...
12397 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12399 * BufferView_pimpl.C:
12402 * lyxfunc.C: remove the six million index lyxfuncs to just
12403 one, and DTRT (bug 458)
12405 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12409 * BufferView_pimpl.h:
12410 * BufferView_pimpl.C: clean up resize() stuff,
12411 and unnecessary updateScreen()s
12413 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12417 * BufferView_pimpl.h:
12418 * BufferView_pimpl.C:
12421 * minibuffer.C: remove focus management of workarea,
12422 not needed. Use screen's greyOut()
12424 2002-06-17 Herbert Voss <voss@lyx.org>
12426 * converter.C: (convert) do not post a message, when converting
12427 fails, let the calling function decide what to do in this case
12429 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
12431 * lyxfunc.C: tidy up a little
12433 2002-06-16 <alstrup@diku.dk>
12435 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
12436 Got rid of FORMS_H_LOCATION include. Now we are
12439 2002-06-15 LyX Development team <lyx@rilke>
12441 * buffer.[Ch] (sgmlOpenTag):
12442 (sgmlCloseTag): Added support for avoiding pernicious mixed
12443 content. Return number of lines written.
12445 (makeLinuxDocFile):
12446 (makeDocBookFile): Fixed calls to sgml*Tag.
12447 Simple white space clean.
12449 (simpleDocBookOnePar): Simple white space clean.
12451 * tabular.[Ch] (docBook): Renamed to docbook and got another
12452 argument to related with the pernicious mixed content.
12454 (docbookRow): Fixed calls for docbook inset method.
12456 2002-06-15 Lyx Development team <larsbj@birdstep.com>
12458 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
12459 so it's X11 independent.
12463 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
12465 2002-06-15 Lyx Development team <lyx@electronia>
12467 * intl.h: Renamed getTrans to getTransManager.
12469 2002-06-14 Angus Leeming <leeming@lyx.org>
12471 * Makefile.am: nuke forgotten stl_string_fwd.h.
12473 2002-06-12 Angus Leeming <leeming@lyx.org>
12475 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
12477 2002-06-13 Angus Leeming <leeming@lyx.org>
12480 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
12482 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
12484 * kbmap.C (getiso): add support for cyrillic and greek
12486 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12490 * BufferView_pimpl.h:
12491 * BufferView_pimpl.C: move bogus scrolling logic
12494 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12497 * BufferView_pimpl.C: view->resize() change
12499 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12501 * BufferView_pimpl.C: topCursorVisible
12504 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12508 * lyx_gui.C: move to frontends/
12512 * lyx_main.C: changes from above
12514 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12521 * lyx_main.C: minor tidy
12523 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12525 * BufferView_pimpl.h:
12526 * BufferView_pimpl.C:
12528 * BufferView.C: make painter() const,
12531 * BufferView2.C: use screen() accessor
12534 * lyx_main.C: some minor cleanup
12536 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12538 * BufferView_pimpl.h:
12539 * BufferView_pimpl.C: remove enter/leaveView,
12542 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12547 * BufferView_pimpl.h:
12548 * BufferView_pimpl.C: only construct screen once,
12551 * lyxrc.C: remove pointless comment
12553 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
12556 * BufferView.C: remove active() and belowMouse()
12558 * BufferView_pimpl.h:
12559 * BufferView_pimpl.C: use workarea() not workarea_,
12560 and make it use a scoped_ptr instead
12562 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
12564 * lyx_gui.C: add debug message on BadWindow
12566 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12568 * sp_spell.C: fdopen is not part of the C++ standard.
12570 * paragraph.C (InsetIterator): use >= instead of ==
12572 2002-06-07 Angus Leeming <leeming@lyx.org>
12574 Fixes needed to compile with Compaq cxx 6.5.
12575 * BufferView_pimpl.C:
12582 * lyxtextclasslist.C:
12587 all c-library variables have been moved into namespace std. Wrap
12588 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12593 Add a using std::abs declaration.
12595 * kbmap.h (modifier_pair):
12596 * paragraph.h (InsetTable, InsetList):
12597 * lyxfont.h (FontBits):
12598 type definition made public.
12600 * bufferlist.C (emergencyWriteAll): the compiler complains that
12601 there is more than one possible lyx::class_fun template to choose from.
12602 I re-named the void specialisation as lyx::void_class_fun.
12604 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12606 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12607 the compiler is is unable to find tostr in write_attribute.
12609 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12611 * buffer.C (sgmlError): hide #warning
12613 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12615 * xtl/*: get rid of xtl, which is not in use anyway
12617 * LyXAction.C (init):
12618 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12619 were unimplemented xtl experimentation
12621 2002-06-04 André Pönitz <poenitz@gmx.net>
12623 * lyxfunc.C: disable array operation on simple formulae
12625 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
12627 * converter.C: constify a bit
12629 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
12631 * lyx_gui.C: check xforms version correctly
12633 2002-04-30 Herbert Voss <voss@lyx.org>
12635 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12638 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
12640 * lyxvc.C: fix bug 416 (make sure buffer is saved before
12641 attempt to register it with a VCS)
12643 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12645 * lyx_main.C (init): honor variables LYX_DIR_13x and
12648 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12652 * lyx_main.C: fix a crash on bad command line,
12653 and give a useful exit status on error
12655 * lyxfunc.C (doImport): allow -i lyx to work
12657 2002-03-30 André Pönitz <poenitz@gmx.net>
12659 * lyxfunc.C: mathed font changes
12661 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12676 * trans_mgr.h: srcdocs, and some minor cleanups
12678 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12680 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12681 call getFont all the time)
12683 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12685 * switch from SigC signals to boost::signals
12687 2002-05-29 André Pönitz <poenitz@gmx.net>
12689 * paragraph_pimpl.C (getChar): don't call size() too often...
12691 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12693 * paragraph_pimpl.C (insertChar): do not try to update tables when
12694 appending (pos == size())
12696 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12697 in order to reduce drastically the number of comparisons needed to
12698 parse a large document
12700 2002-05-29 André Pönitz <poenitz@gmx.net>
12706 * textclasslist.[Ch]:
12707 * sp_ispell.h: whitespace change
12709 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12711 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12712 lyxaction directly now.
12714 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
12718 * lyxvc.C: remove unused headers
12720 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12727 * undo_funcs.C: some cleanups. Use shared_ptr
12728 and a template for the undo stacks.
12730 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12732 * BufferView_pimpl.h:
12733 * BufferView_pimpl.C:
12740 * text2.C: use key_state/mouse_state
12742 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12744 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12747 * chset.C: change include order
12748 (loadFile): use boost regex and get rid of LRegex and LSubstring
12750 * Makefile.am (BOOST_LIBS): new variable
12751 (lyx_LDADD): use it
12753 * LaTeX.C: change include order.
12754 (scanAuxFile): use boost regex and get rid of LRegex and
12758 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12763 * FontInfo.C: moved to frontends/xforms/
12766 * FontLoader.C: moved into frontends for GUIIzation
12771 * lyxfunc.C: changes from above
12773 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12775 * LColor.C: remove spurious X include
12777 * BufferView_pimpl.C:
12782 * text2.C: move font metrics to frontends/
12784 2002-05-24 Juergen Vigna <jug@sad.it>
12786 * undo_funcs.C (textHandleUndo): fix the cursor selection after
12787 setting the undo_cursor.
12789 * ParagraphParameters.h: include local includes first.
12791 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12793 * BufferView_pimpl.C:
12794 * BufferView_pimpl.h:
12798 * screen.C: move WorkArea into frontends/
12804 * BufferView2.C: move LyXScreen into frontends/
12808 * lyx_gui.C: move lyxlookup into frontends/xforms/
12810 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12813 * BufferView_pimpl.C:
12823 * bufferview_funcs.C:
12836 * vc-backend.C: move LyX/XFormsView into frontends/
12838 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12850 * text2.C: move Painter to frontends/
12852 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
12854 * buffer.C: comment out some some code that depend upon lyx_format
12857 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12858 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12860 * buffer.h (NO_COMPABILITY): turn off compability
12862 * ColorHandler.C: include scoped_array.hpp
12864 * font.C: Use more specific smart_ptr header.
12867 * ShareContainer.h: ditto
12868 * lyx_main.h: ditto
12870 * FontInfo.h: ditto
12871 * BufferView_pimpl.h: ditto
12872 * ColorHandler.h: ditto
12874 * kbmap.C (defkey): change call to shared_ptr::reset
12876 2002-05-21 Juergen Vigna <jug@sad.it>
12878 * buffer.C (insertErtContents): fix to insert ert asis if it is
12879 non empty. Skip it completely if it contains only whitespaces.
12881 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
12883 * BufferView_pimpl.C:
12884 * BufferView2.C: clear selection on paste (bug 393)
12886 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12888 * DepTable.C: include ctime
12890 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
12892 * buffer.C (latexParagraphs): Add new argument (moving_arg).
12894 2002-05-14 Juergen Vigna <jug@sad.it>
12896 * text.C (breakParagraph): fixed function to honor the keepempty
12897 layout in the right maner and also to permit the right breaking
12898 algorithm on empty or non empyt keepempty paragraphs.
12900 * paragraph.C (breakParagraph): we have to check also if the par
12901 is really empty (!size()) for isempty otherwise we do the wrong
12904 2002-05-10 Juergen Vigna <jug@sad.it>
12906 * buffer.[Ch] : The following are only changes to the ert
12907 compatibility read reading old LaTeX layout and font stuff and
12908 convert it to ERTInsets.
12910 * buffer.h: added isErtInset().
12912 * buffer.C (struct ErtComp): add a fromlayout bool to check
12913 if we're inside a LaTeX layout.
12914 (isErtInset): new helper function.
12915 (insertErtContents): look for other ert insets before this one
12916 and insert the contents there, so that we don't have subsequent
12917 ERT insets with nothing between them. This way we create only one
12918 inset with multiple paragraphs. Also check if we don't insert only
12919 spaces ' ' as they are ignored anyway afterwards in the .tex file
12920 so if we have only spaces we will ignore this latex part in the
12922 (parseSingleLyXformat2Token \\layout): better compatibility when
12923 reading layout-latex stuff.
12924 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12926 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12927 stuff after reading the inset only get the information back from
12930 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
12932 * buffer.C (makeLaTeXFile): Put language options after loading babel.
12934 * LaTeXFeatures.C (getBabelOptions): New method.
12936 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12938 * BufferView_pimpl.C (Dispatch): work around missing argument for
12941 2002-05-08 Juergen Vigna <jug@sad.it>
12943 * text.C (leftMargin): handle paragraph leftindent.
12945 * paragraph.C (writeFile): write the new \\leftindent tag.
12946 (validate): handle leftindent code.
12947 (TeXEnvironment): handle paragraphleftindent code again.
12949 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12951 * buffer.C (parseSingleLyXformat2Token): added compatibility code
12952 for paragrap_extra indent code and new token \\leftindent.
12953 (latexParagraphs): handle the leftindent as environment.
12955 * ParameterStruct.h: added leftindent support.
12957 * ParagraphParameters.C (leftIndent): added support functions for
12958 the paragraph left indent.
12960 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12963 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
12965 * paragraph.C (isRightToLeftPar): Return false for a paragraph
12968 * text.C (computeBidiTables): No bidi in insetERT.
12970 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12973 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12975 * version.C.in: pre 5
12977 2002-05-02 José Matos <jamatos@fep.up.pt>
12978 * buffer.C (makeDocBookFile): white space changes, add newline to
12980 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12982 * tabular.C (docBook): fix typo.
12984 2002-05-03 Juergen Vigna <jug@sad.it>
12986 * screen.C (drawFromTo): recalculate the rowpointer if we had a
12987 change in LyXText as we can not be sure it was not freed.
12988 (drawOneRow): remove unused code.
12990 * text.C (drawInset): redo the calculation of the need_break_row as
12991 it could have a row which was already freed.
12992 (draw): look at the return value of drawInset and return false if
12993 it also returned false.
12994 (paintRowText): look at the return value of draw and return false if
12995 it also returned false.
12997 * lyxtext.h: added bool return type to drawInset() and draw() so that
12998 if we have a change in the row so that the rowbreak has to be redone
12999 we abort drawing as it will be called again.
13001 2002-05-02 Juergen Vigna <jug@sad.it>
13003 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
13004 a change in the maintext also if we're inside an inset.
13005 (Dispatch): set the cursor again after a break line and after the
13006 screen has been updated as it could be we're in a different row.
13008 * text2.C (fixCursorAfterDelete): check to make sure we don't request
13009 to set the cursor behind the pargraph with > size().
13010 (setCursor): check also for the same paragraph when checking where
13011 to put the cursor if we have a NFR inset.
13013 * buffer.C (parseSingleLyXformat2Token): move the compatibility
13014 parts of layout read further up as it still was in the wrong
13017 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13019 * screen.C (drawFromTo): change sine fullRebreak always return
13022 * buffer.C (parseSingleLyXformat2Token): reindent some
13024 * BufferView_pimpl.C (update): change since fullRebreak always
13026 (Dispatch): git rid of the last hardcoded "Standard"s.
13028 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
13030 * text2.[Ch] (fullRebreak): make it return void now that we always
13033 2002-04-30 Juergen Vigna <jug@sad.it>
13035 * buffer.C (parseSingleLyXformat2Token): reset the font before the
13036 ert compatibility check for "latex" layout.
13038 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
13040 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
13041 minipages: use col% instead of p%, and also use the current font.
13042 (makeLaTeXFile): Fix use babel condition.
13043 (parseSingleLyXformat2Token): Correct font when reading old floats.
13045 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
13047 * BufferView_pimpl.C (Dispatch): Check that float type exists when
13048 inserting list of floats.
13050 2002-04-25 Herbert Voss <voss@lyx.org>
13052 * MenuBackend.C (expand): don't add the graphics extensions to the
13055 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13057 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
13058 non-existing layout, do not complain if it was the default layout
13059 of the original class (bug #342)
13061 2002-04-24 Juergen Vigna <jug@sad.it>
13063 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
13064 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
13066 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
13068 * buffer.C (getBibkeyList): If using \bibliography, return the
13069 option field with the reference itself. Enables us to provide natbib
13070 support when using \bibliography.
13072 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
13074 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
13076 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
13077 natbib is provided by the LaTeX class.
13079 2002-04-23 Juergen Vigna <jug@sad.it>
13081 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
13084 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
13086 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13088 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
13090 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
13091 ensuremath around textordmasculine, textordfeminine and
13094 2002-04-19 Juergen Vigna <jug@sad.it>
13096 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
13097 reinitializing the buffer otherwise row-dimensions may be wrong.
13098 (update): reset also the selection cursors if they do exits otherwise
13099 their x/y positions may be wrong.
13101 * text2.C (cursorDown): don't enter the inset if we came from a row
13102 above and are one row over the inset.
13104 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
13105 really leaving an inset.
13107 2002-04-18 Juergen Vigna <jug@sad.it>
13109 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
13110 of the selected paragraph does not have the selected layout also if
13113 * text2.C (setLayout): fixed bug which did not change last selected
13116 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
13117 changed the read and substituted \\end_float with \\end_inset!
13119 * BufferView_pimpl.C (cursorPrevious):
13120 (cursorNext): fixed to make it work with rows heigher than the work
13121 area without moving the cursor only the draw of the row.
13122 (workAreaMotionNotify): fix jumping over high rows.
13124 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13126 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
13129 2002-04-16 Juergen Vigna <jug@sad.it>
13131 * text2.C (setCursor): set also the irow().
13132 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
13134 (cursorDown): support for locking an inset if the x_fix value goes
13135 inside it. That way I can transverse insets too with cursor up/down.
13137 * lyxrow.h: added irow helper function same as other (i) functions.
13139 * BufferView_pimpl.C (cursorPrevious):
13140 (cursorNext): fixed for insets!
13142 2002-04-15 Juergen Vigna <jug@sad.it>
13144 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
13145 position otherwise it is wrong in some cases.
13147 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
13148 inside the inset before the call.
13150 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
13152 * buffer.[Ch] (getBibkeyList): make it const.
13154 2002-04-12 Juergen Vigna <jug@sad.it>
13156 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
13158 * text2.C (getCursorX): new helper function
13159 (setCursor): compute also ix_
13160 (setCursorFromCoordinates): set also ix.
13162 * lyxcursor.h: added ix_ and helper functions.
13164 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
13166 * buffer.C (insertStringAsLines): dont break paragraph if the this
13167 paragraph is inside an inset which does not permit it!
13169 * text.C (breakParagraph): honor keepempty flag and break the paragraph
13170 also with no chars on this paragraph.
13171 (paintRowText): only paint stuff if it's inside the workarea!
13173 * paragraph.C (breakParagraph): honor keepempty flag and break the
13174 paragraph always below not above.
13176 * BufferView2.C (unlockInset): update the paragraph layout on inset
13177 unlock as we changed paragraph in such a case.
13179 * lyxfind.C (LyXFind): clear the former selection if not found!
13181 * text2.C (insertInset): freeze Undo after setUndo so that it is not
13182 again called in insertChar().
13184 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
13185 an inset which uses the whole row!
13186 (rightMargin): ditto.
13187 (insertChar): force a rebreak if we inserted an inset!
13189 2002-03-28 Herbert Voss <voss@lyx.org>
13191 * lyxlength.[Ch]: add inBP() to get the right PS-point
13192 units (BigPoint). With inPixels we have rounding errors
13194 2002-04-11 Juergen Vigna <jug@sad.it>
13196 * text2.C (setCursorFromCoordinates): set iy to the right value.
13197 (setCursor): add check if row->previous exists!
13199 * buffer.C (parseSingleLyXformat2Token): reset font after read of
13200 an old float_type as this was the case in the old code!
13202 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
13204 * BufferView2.C (showLockedInsetCursor): use iy
13205 (fitLockedInsetCursor): ditto
13207 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
13208 locked insets as there we have the right value now.
13210 * lyxcursor.C: added iy_ variable and iy functions to set to the
13211 baseline of cursor-y of the locked inset.
13213 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
13214 (setCursor): fixed for insets which need a full row.
13216 * text.C (rowLastPrintable): don't ignore the last space when before
13217 an inset which needs a full row.
13218 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
13219 as last character of a row when before a inset which needs a full row.
13221 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13223 * version.C.in: update date
13225 * text2.C (fullRebreak): try to always return true and see what
13228 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13230 * MenuBackend.C (expand): use Floating::listName
13232 * FloatList.C (FloatList): add listName argument to the built-in
13235 * Floating.[Ch]: add listName member, which is the 'List of XXX'
13236 text associated with the float.
13238 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13240 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
13242 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13244 * ShareContainer.h: add a couple of missing typenames.
13246 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
13248 * lyxrc.C (getDescription): use _() correctly rather than N_().
13250 2002-03-28 Herbert Voss <voss@lyx.org>
13252 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
13253 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
13255 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13257 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
13258 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
13260 2002-03-29 Juergen Vigna <jug@sad.it>
13262 * lyxfunc.C (dispatch): add a missing fitCursor call.
13264 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
13265 it was scrolled by a cursor move, so return the bool status.
13267 * BufferView.C (fitCursor): return the bool flag also to the outside
13268 world as this is needed.
13270 * screen.C (toggleToggle): don't subtract the offset if it's positive.
13272 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
13273 call the edit() as it is not needed (and wrong) IMO.
13274 (workAreaButtonPress): set the screen_first variable before evt.
13275 unlock the inset as this may change screen_first and then we have
13276 a wrong y position for the click!
13278 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13280 * MenuBackend.C (expand): another translation that I missed
13282 2002-03-28 Juergen Vigna <jug@sad.it>
13284 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
13286 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
13288 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13290 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
13292 * MenuBackend.C (expand): fix export/view/update when there is no
13295 2002-03-27 Herbert Voss <voss@lyx.org>
13297 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
13300 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13302 * bufferview_funcs.C (currentState): only show paragraph number
13303 for is DEVEL_VERSION is set.
13305 * lyxfunc.C (dispatch): put warning in INFO channel
13307 * MenuBackend.C (expand): translate the name of floats
13309 * FloatList.C (FloatList): mark the float names for translation
13311 * converter.C (convert): use LibScriptSearch
13313 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13315 * MenuBackend.C (defaults): fix default menu (we might as well get
13318 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13320 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
13323 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13325 * lyxvc.C: reorder includes.
13327 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
13329 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
13332 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
13334 * CutAndPaste.C: change layouts earlier on paste
13335 to avoid crashing when calling getFont()
13337 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
13339 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
13342 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
13344 * WorkArea.C: remove 'Pending' debug message.
13346 * most files: ws cleanup
13348 * buffer.[Ch]: ws changes
13350 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
13352 2002-03-21 Juergen Vigna <jug@sad.it>
13354 * tabular.C (SetMultiColumn): collapse also the contents of the
13355 cells and set the last border right. Added a Buffer const * param.
13357 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
13359 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
13362 2002-03-19 Juergen Vigna <jug@sad.it>
13364 * text2.C (clearSelection): reset also xsel_cache.
13366 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
13367 where it needs to be called (John tells us to do so too :)
13368 (selectionLost): reset sel_cache.
13370 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
13372 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13374 * text2.C (setCursorIntern): put debuging code in INSETS channel
13376 2002-03-19 André Pönitz <poenitz@gmx.net>
13378 * lyxfunc.C: tiny whitespace change
13380 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13382 * ToolbarDefaults.C (init):
13383 * LyXAction.C (init):
13385 * BufferView_pimpl.C (Dispatch):
13386 * lyxfunc.C (dispatch): remove LFUN_DEPTH
13388 2002-03-19 Allan Rae <rae@lyx.org>
13390 * exporter.C (Export): removeAutoInsets before doing anything else.
13391 While I've just introduced a dependency on BufferView this really is
13392 the best place to clean the buffer otherwise you need to cleanup in
13393 a dozen places before calling export or cleanup in a dozen functions
13396 * converter.C (runLaTeX):
13397 (scanLog): Better handling of removeAutoInsets and screen updates.
13399 * lyxfunc.C (dispatch): small whitespace changes
13401 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13403 * WorkArea.C (C_WorkAreaEvent): return a value.
13404 (event_cb): return 1 if we handled the event, 0 otherwise.
13406 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
13408 2002-03-18 Juergen Vigna <jug@sad.it>
13410 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
13411 (GetAdditionalWidth): ditto.
13412 (RightLine): ditto.
13415 * BufferView2.C (copy): use getLyXText() so that we do it inside an
13416 inset if we're there actually (probably not used right now but this
13417 is the direction to go for unifying code).
13418 (paste): disable code to clear the selection.
13420 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
13421 inside an InsetText and move the check further up as it is in the
13424 * text2.C (pasteSelection): set a selection over the pasted text.
13426 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
13428 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
13429 and libgraphics to build on Cygwin.
13431 2002-03-15 Juergen Vigna <jug@sad.it>
13433 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
13434 inserting an Inset into the paragraph. I know this is not the best
13435 fix but we already use current_view in CutAndPaste so we will remove
13436 all of it's using at the same time.
13438 * buffer.C (sgmlError): deactivated function till it is rewritten in
13439 the right mode, now it can create problems.
13441 * paragraph.C (isLineSeparator): check if getInset returns != 0,
13442 before accessing it.
13444 2002-03-14 Juergen Vigna <jug@sad.it>
13446 * undo_funcs.C (textHandleUndo): do the right thing when updating
13447 the inset after the undo/redo.
13449 * text2.C (setCursor): just some testcode for #44 not ready yet.
13451 * undo_funcs.C (textHandleUndo): set the next() and previous()
13452 pointers of the paragraph to 0 before deleting otherwise we have
13453 problems with the Paragraph::[destructor].
13455 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
13456 on a paragraph insertion.
13458 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13460 * buffer.C (asciiParagraph): use += operator for char append to
13463 * paragraph.C (getFontSettings): compare >= not just >
13464 (highestFontInRange): ditto
13467 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13469 * paragraph.C: change several algorithm to be more appripriate for
13470 the problem domain. This is lookip in FontList and in the InsetList.
13472 2002-03-13 André Pönitz <poenitz@gmx.net>
13475 * LyXAction.C: remove unused LFUN_MATH_MACROARG
13477 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
13482 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
13484 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13486 * Painter.C (display): anon helper function, adjust code for this
13488 (pixmap): remove function.
13490 * Painter.h: remove private display variable.
13492 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
13494 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
13496 * WorkArea.[Ch]: remove figinset_canvas cruft.
13498 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13500 * lyxtextclass.C (operator): add one item cache optimization.
13502 * bufferlist.h: doxy changes
13504 * bufferlist.C: ws changes
13506 * DepTable.[Ch] (ext_exist): place const in the right spot.
13508 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
13510 (workAreaExpose): call resizeInsets when the with BufferView changes.
13511 (Dispatch): adjust for protectedBlank removal
13512 (specialChar): call updateInset if the insert went ok.
13514 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
13515 specialChar instead.
13517 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
13519 * BufferView.h: doxy change
13521 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
13523 * lyxtextclass.C (operator[]): remove non-const version
13524 (defaultLayout): remove non-const version
13526 2002-03-12 Juergen Vigna <jug@sad.it>
13528 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
13529 did resize the LyXText too.
13531 * buffer.C (readLyXformat2): set layout information on newly allocated
13534 * tabular.C (OldFormatRead): set layout information on the paragraph.
13536 2002-03-12 Jos�Ab�io Oliveira Matos <jamatos@novalis.fc.up.pt>
13538 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
13540 2002-03-11 Juergen Vigna <jug@sad.it>
13542 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
13544 (resizeCurrentBuffer): force also the insets to resize themselfes.
13545 (moveCursorUpdate): fixed up for InsetText.
13547 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
13550 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
13551 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
13552 value of Dialogs::tooltipsEnabled().
13553 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
13555 2002-03-08 Juergen Vigna <jug@sad.it>
13557 * BufferView_pimpl.C (updateInset): update inset inside inset also
13558 if it isn't inside theLockingInset().
13560 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13562 * buffer.C (asciiParagraph): redo some of the word and line length
13564 (getLists): look for Caption instead of caption.
13566 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13568 * buffer.C (Buffer): initialize niceFile to true
13570 (makeLinuxDocFile):
13571 (makeDocBookFile): make sure niceFile is true on exit
13573 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13575 * buffer.C (makeLaTeXFile): escape ~ in \input@path
13577 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
13579 * LyXSendto.C: remove.
13580 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13581 * lyx_gui.C: remove now-redundant comment.
13582 * ColorHandler.h: remove forward declaration of class WorkArea.
13583 * lyxfunc.C: remove #include "WorkArea.h".
13585 2002-03-07 Juergen Vigna <jug@sad.it>
13587 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13588 got moved away with the DEPM and also set the inset_owner always
13589 right which before could have been omitted.
13591 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13593 * buffer.C (parseSingleLyXformat2Token): use default layout is the
13594 wanted layout is not found.
13596 2002-03-07 Juergen Vigna <jug@sad.it>
13598 * CutAndPaste.C (cutSelection): another layout settings forgotten.
13600 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13602 * paragraph.C (breakParagraph): use default layout not layout of
13604 (Paragraph): clear ParagraphParameters.
13606 2002-03-06 Juergen Vigna <jug@sad.it>
13608 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13609 otherwise it would not be a valid lenght. Fixed a special case in
13610 the minipage compatibility read where we end the document with a
13613 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13614 was set as it could be 0 for InsetTexts first entry.
13616 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13618 * paragraph.C (writeFile): if layout is empty write out
13619 defaultLayoutName().
13621 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13622 file without named layout we set layout to defaultLayoutName().
13624 2002-03-06 Juergen Vigna <jug@sad.it>
13626 * CutAndPaste.C (copySelection): set layout for new paragraph.
13628 * text.C (prepareToPrint): leave ERT inset left aligned
13629 (leftMargin): don't indent paragraphs inside ERT insets
13631 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13633 * paragraph.C (breakParagraph): dont call clear do the work manually
13635 * paragraph.[Ch] (clear): remove function
13637 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13639 * paragraph.C (Paragraph): dont call clear, the work has already
13642 * lyxtextclass.C (operator): assert if n is empty
13644 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13645 work manually instead.
13647 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13649 * BufferView_pimpl.C: protect selectionLost against text == 0
13651 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13653 * text.C (breakParagraph): fix a setting layout to '0' problem.
13655 2002-03-05 Jos�Ab�io Oliveira Matos <jamatos@novalis.fc.up.pt>
13657 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13658 final location of file, for the included files, and graphics.
13660 2002-03-05 Juergen Vigna <jug@sad.it>
13662 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13664 2002-03-04 Juergen Vigna <jug@sad.it>
13666 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13668 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13669 last column of multicolumn cells.
13670 (SetWidthOfMulticolCell): recalculate NMC and real columns.
13672 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
13674 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13675 file if it doesn't go to a temporary file.
13677 * buffer.C (sgmlOpenTag):
13678 (sgmlCloseTag): remove extra newline insertion.
13680 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13682 * text.C (getRowNearY): comment out debug msg
13684 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13686 * text2.C: first -> first_y
13688 * text.C (getRowNearY): add some attemts at a possible
13689 optimization, not working.
13691 * tabular.[Ch]: add BufferParams to several function so that newly
13692 created paragraph can be initialized to he default layotu for the
13695 * tabular-old.C (ReadOld): add buf->params to call of Init
13697 * screen.C: rename text->first to text->first_y
13699 * paragraph.C (breakParagraph): always set layout in the broken
13702 * lyxtextclass.C (Read): remove lowercase
13705 (delete_layout): ditto
13707 * lyxtext.h: rename first -> first_y
13709 * lyxlayout.C (Read): remove lowercase
13712 (obsoleted_by): ditto
13714 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13716 * buffer.C (insertErtContents): add params are to InsetERT
13717 (parseSingleLyXformat2Token): add code to check if a paragraphs
13718 layout really exist.
13719 (parseSingleLyXformat2Token): add params to several inset
13721 (asciiParagraph): remove lowercase, do the layout comparisons with
13724 * BufferView_pimpl.C (cursorNext): first -> first_y
13725 (resizeCurrentBuffer): first -> first_y
13726 (updateScrollbar): first -> first_y
13727 (scrollCB): first -> first_y
13728 (workAreaMotionNotify): first -> first_y
13729 (workAreaButtonPress): first -> first_y
13730 (checkInsetHit): first -> first_y
13731 (cursorPrevious): first -> first_y
13732 (cursorNext): first -> first_y
13733 (Dispatch): add buffer_->params to severl inset contructors
13735 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13737 * lyxlayout.C (Read): remove some debug info that I forgot.
13739 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13740 clean up the code slightly.
13741 (makeLinuxDocFile): ditto
13742 (makeDocBookFile): ditto
13744 * text2.C: layout as string
13746 * text.C: layout as string
13748 * paragraph_pimpl.C: layout as string
13750 * paragraph.[Ch]: layout as string
13752 * lyxtextclasslist.[Ch]: layout as string
13754 * lyxtextclass.[Ch]: layout as string
13756 * lyxtext.h: layout as string
13758 * lyxlayout.[Ch]: layout as string
13760 * lyx_cb.C: layout as string
13762 * bufferview_funcs.C: layout as string
13764 * bufferparams.C: layout as string
13766 * buffer.C: layout as string
13768 * LyXView.[Ch]: layout as string
13770 * LaTeXFeatures.[Ch]: layout as string
13772 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13774 * BufferView_pimpl.C: change current_layout to string, remove
13779 (workAreaButtonRelease): layout as string
13781 * BufferView2.C (unlockInset): adjust
13783 * vspace.C (asLatexCommand): use an explict temp variable.
13785 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13787 * Makefile.am: use FRONTEND_*
13789 2002-03-01 Juergen Vigna <jug@sad.it>
13791 * tabular.C (SetWidthOfMulticolCell): changed to something better
13792 I hope but still work in progress.
13793 (recalculateMulticolumnsOfColumn): renamed function from
13794 recalculateMulticolCells as it is more appropriate now.
13795 (SetWidthOfCell): calculate multicols better.
13797 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13799 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13801 * lyxfunc.C (processKeySym): print sequence also if it is
13802 `deleted' (complete)
13804 * kbsequence.C (print): print sequence even if it is deleted
13805 (complete would be a better word, actually).
13807 * lyxfunc.C (dispatch): print complete options after a prefix key
13809 * vspace.C (asLatexCommand): rewrite in a slightly different form.
13811 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
13813 * text2.C (setCharFont): eliminate setCharFont code duplication.
13815 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13817 * BufferView_pimpl.C (Dispatch): remove bogus handling of
13818 LFUN_TABULAR_FEATURE (bug #177)
13820 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
13822 * Makefile.am: remove figure.h
13824 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
13826 * Bufferview_pimpl.C:
13838 * text2.C: remove #include "lyx_gui_misc.h".
13840 * LaTeX.C: added #include <cstdio>
13842 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13844 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13845 that the paragraph following this one can have.
13847 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13849 * vspace.C (asLatexCommand): fix bogus gcc warning
13851 * Makefile.am (lyx_SOURCES): remove vms_defines.h
13853 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
13855 * text2.C (setLayout): get rid of redundant code
13857 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
13859 * text2.C (incDepth): make sure depth cannot be increased beyond
13862 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
13864 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13865 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13867 * PainterBase.h (image):
13868 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13869 a LyXImage const *.
13871 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13875 * BufferView_pimpl.C:
13876 * BufferView_pimpl.h:
13896 * sp_spell.C: remove fig inset, and the crap house of
13897 cards that follows it
13899 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13904 * os2_errortable.h:
13905 * nt_defines.h: move .h into support/
13907 * vms_defines.h: remove
13909 * WorkArea.C: add space in debug output
13913 * buffer.C: add WITH_WARNINGS
13917 * bufferlist.C: s/retrive/retrieve/, add docs
13926 * chset.C: add docs
13928 * lyxgui.C: add ID to X error handler
13930 * lyxtestclass.c: fix typo
13932 2002-02-26 Juergen Vigna <jug@sad.it>
13934 * tabular_funcs.C (write_attribute): changed so that some default
13935 attributes are not written at all.
13936 (getTokenValue): set default values before trying to read the
13937 value so we have the return value always set as default if we don't
13938 find the token we search for.
13940 * tabular.C (Write): write bools as bools not as strings!
13942 2002-02-22 Juergen Vigna <jug@sad.it>
13944 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13945 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13947 * text.C (leftMargin): don't add an indent for paragraphs inside
13948 tabular cells (fix #208).
13950 2002-02-21 José Matos <jamatos@fep.up.pt>
13952 * tabular.C (docBook): fixed support for long tables.
13954 2002-02-20 Juergen Vigna <jug@sad.it>
13956 * text2.C (getFont): get the drawing font of the Inset if this
13957 paragraph is inside an inset (only important for InsetERT for now).
13959 * buffer.C (insertErtContents): use new lanugage params in ERT
13962 * CutAndPaste.C: commenting out seemingly uneeded code.
13964 2002-02-19 Allan Rae <rae@lyx.org>
13966 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13967 Iterators might be simple to use but they also get invalidated.
13968 (removeAutoInsets): renamed saved cursor tracking variables and added
13969 some comments to clarify what everything does.
13971 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
13978 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13979 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13982 * vc-backend.h: remove #include "support/syscall.h"
13986 * converter.C: rearrange #includes in Lars' approved fashion.
13988 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13989 forward declare class Timeout in the header file.
13991 * XFormsView.C: changes due to the above.
13993 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13994 similar to LyXView.
13996 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13997 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13999 2002-02-18 José Matos <jamatos@fep.up.pt>
14001 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
14004 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
14006 * a lot of small ws changes
14007 * add a lot of using std::XXX
14008 * use std construcs some places where approp.
14009 * use some exisint stuff from lyxfunctional where approp.
14010 * Make file changes to use partial linking (lets test this now...)
14012 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
14016 remove #include "support/syscontr.h" as it's redundant. Always has been.
14024 change Systemcalls::System to Systemcalls::Wait and
14025 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
14026 No change of functionality, just reflects the stripped down Systemcalls
14029 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
14031 * debug.[Ch]: add a GRAPHICS type to the enum.
14033 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14035 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
14037 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
14040 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14042 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
14043 match the changes below.
14045 * text2.C (toggleInset): if there is not editable inset at cursor
14046 position, try to see if cursor is _inside_ a collapsable inset
14049 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14051 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
14052 document menu has a nice checkbox
14054 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14056 * lyxlength.C (asLatexString): change PW to output as percent of
14059 * lengthcommon.C: change '%' to 't%'
14061 * lyxfunc.C (dispatch): a few comments from Martin
14063 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
14067 * BufferView_pimpl.h:
14068 * BufferView_pimpl.C: clear our selection when X tells us we've lost
14071 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14073 * vspace.C (inPixels): fix compiler warning
14075 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14077 * lyxfunc.C (getStatus): fix status message for disabled commands.
14079 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
14081 * BufferView_pimpl.C: fix crash on close buffer
14082 during selection (#227)
14084 2002-01-27 Herbert Voss <voss@lyx.org>
14086 * buffer.C: link old Figure to new graphic inset
14088 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
14090 * FontLoader.C (getFontinfo): Change the latex font names in order
14091 to match the names of type1inst.
14093 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
14095 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
14097 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
14098 (extchanged): ditto
14100 (remove_files_with_extension): ditto
14101 (remove_file): ditto
14104 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
14105 document is smaller than the work area height. Do not initialize
14106 static variables to 0.
14108 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14110 * lyx_gui.C (init): give the toolbar tooltips a normal font.
14112 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
14113 LFUN_LAYOUT_PARAGRAPHS.
14115 * tabular.C (GetCellFromInset): new method. Finds an inset in a
14116 tabular. It is possible to provide a possible cell, which will
14117 typically be the actcell from the corresponding insettabular
14119 * lyxfunc.C (getStatus): small cleanup; disable
14120 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
14123 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14125 * tabular.C (Validate): remove broken optimization (fixes bug #201)
14127 * paragraph.C (startTeXParParams):
14128 (endTeXParParams): new methods. The LaTeX code to
14129 start/end paragraph formatting
14130 (simpleTeXOnePar): call startTeXParParams also when paragraph is
14131 empty (fixes bug #200)
14133 * vspace.C (inPixels): adapt to the change below
14134 (inPixels): [later] more cleanups (remove unused variables)
14136 * lyxlength.C (inPixels): change to use a width and a height as
14139 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14141 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
14142 Replaced with \paperwidth
14144 * DepTable.C (insert): add std:: qualifier
14146 2002-01-18 Allan Rae <rae@lyx.org>
14148 * text2.C (removeRow): add comment. Should other refresh_?? vars be
14151 * text.C (drawInset): Turned out I didn't know enough about how
14152 rebreaking worked. This fixes most of the redraw problems. I see
14153 an occasional cursor trail when a line is broken now and the cursor
14154 placement can seem out by a few pixels also after a rebreak.
14156 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14158 * buffer.C (parseSingleLyXformat2Token): update because minipage
14159 width is now a LyXLength
14161 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
14163 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
14166 2002-01-17 Juergen Vigna <jug@sad.it>
14168 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
14170 * BufferView2.C (lockInset): call edit() so that theLockingInset()
14171 is set correctly and the inset is updated correctly.
14173 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14175 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
14176 the beginning of the loop.
14178 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
14180 * lyxrc.C: improve help for use_scalable_fonts
14182 2002-01-17 Allan Rae <rae@lyx.org>
14184 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
14186 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14188 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
14189 make sure to set their inset_owner to the right value (bug #171)
14191 2001-12-12 Ben Stanley <bds02@uow.edu.au>
14194 * DepTable.C: Implement mtime checking to reduce time spent doing
14197 2002-01-16 Juergen Vigna <jug@sad.it>
14199 * tabular.C (GetAdditionalHeight): one of error fixed.
14201 * lyxrc.C (output): small fix in writing use_pspell.
14203 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
14205 * sp_base.h: #include LString.h
14207 2002-01-16 Allan Rae <rae@lyx.org>
14209 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
14210 Can someone check this please?
14212 * text.C (drawInset): It was possible that p.row would be removed by
14213 breakAgainOneRow upsetting a few other settings. There may be another
14214 small tweak possible by setting need_break_row = 0 when p.row has been
14215 removed but I don't know enough about the logic here.
14217 2002-01-15 Allan Rae <rae@lyx.org>
14219 * text.C (insertChar): removed conditional truism.
14221 * BufferView2.C (removeAutoInsets): More tweaks.
14222 cur_par_prev could be a stray pointer. Check for trailing empty line
14223 in case last line was cur_par and only had an error inset on it.
14225 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14227 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
14230 * vc-backend.C (most methods):
14231 * exporter.C (Export):
14232 * converter.C (convert):
14234 * LyXSendto.C (SendtoApplyCB):
14235 * lyxfunc.C (dispatch):
14239 * lyx_cb.C (AutoSave):
14241 * BufferView_pimpl.C (MenuInsertLyXFile):
14242 * buffer.C (runChktex): use Buffer::filePath().
14244 * buffer.h: rename filename to filename_; rename filepath to
14245 filepath_ and make it private
14246 (filePath): new method
14248 * buffer.C (writeFile): use fileName()
14251 * lyx_main.C (init): fix starting of LyX when the binary is a
14252 link from so,ewhere else.
14254 * minibuffer.C: include <cctype> for isprint
14256 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
14258 * buffer.C (parseSingleLyXformat2Token): changes associated with the
14259 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
14260 name clash with InsetCollapsable's width function.
14262 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14264 * lastfiles.C: include <iterator>
14266 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
14268 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
14271 * buffer.C (makeLaTeXFile): ditto.
14272 Also make loop operation more transparent.
14274 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
14276 * ToolbarDefaults.C: remove trailing comma closing namespace.
14278 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
14280 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
14283 * trans.C (Load): comment out unused variable, allowed.
14285 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
14287 * minibuffer.[Ch] (append_char): new method to recieve input from the
14288 drop-down completion browser. If a key was pressed, then recieve this
14289 char and append it to the existing string.
14290 (peek_event): modify the positioning data passed to the completion
14291 browser so that it can be placed above the minibuffer rather than below.
14292 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14294 * LyXAction.C (init): alloe error-next for readonly documents.
14296 * BufferView2.C (ChangeRefsIfUnique): use standard version of
14299 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14301 * bufferlist.C (readFile): create the buffer _after_ checking that
14304 * lyxfunc.C (verboseDispatch): fix handling of arguments
14306 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
14308 * lyxrc.C: use string::erase() instead of initializing to "".
14311 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14313 * BufferView_pimpl.h:
14314 * BufferView_pimpl.C:
14317 * text2.C: tell X when we have made a selection for copying
14319 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14321 * BufferView_pimpl.C (MenuInsertLyXFile):
14322 * lyxfunc.C (menuNew):
14324 (doImport): add shortcuts to directory buttons
14326 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
14329 * lyxfunc.C (setStatusMessage):
14330 (getStatusMessage): new methods
14331 (getStatus):use setStatusMessage instead of setErrorMessage
14332 (dispatch): when function is disabled, set error message here
14333 [instead of in getStatus previously]
14335 * BufferView_pimpl.C (workAreaButtonRelease): update
14336 toolbar/menubar here too.
14338 2002-01-13 Allan Rae <rae@lyx.org>
14340 * BufferView2.C (removeAutoInsets): finished off earlier fix.
14341 Now seems indestructible. Remaining task is to audit all other
14342 code affected by deleteEmptyParagraphMechanism. One small quirk
14343 left is that an empty document with an error in the preamble can
14344 be made to report an error but no error box appears. I don't know
14346 (removeAutoInsets): Improved comments.
14348 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
14351 * Thesaurus.C: update for Aiksaurus 0.14
14353 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
14355 * text2.C (firstParagraph): removed member function, all uses
14356 replaces with ownerParagraph
14357 (redoParagraphs): here
14358 (updateInset): here
14359 (toggleAppendix): here
14360 * BufferView2.C (insertErrors): here
14361 (setCursorFromRow): here
14363 2002-01-13 Allan Rae <rae@lyx.org>
14365 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
14366 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
14367 There is still a way to segfault this although you may have to do this
14368 multiple times: Have an InsetERT with an unknown command in it.
14369 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
14370 <down-arrow>, <Enter> again, View->DVI, BANG!
14372 * text2.C (setCursor):
14373 (deleteEmptyParagraphMechanism):
14374 * lyxtext.h (setCursor):
14375 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
14376 Making use of the return value may help fix other bugs.
14378 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14380 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
14382 * LyXView.C (updateMenubar): call MenuBar::update here
14383 (updateToolbar): but not here
14384 (showState): do not update toolbar/menubar
14386 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
14387 should need to care about that.
14389 * lyxfunc.C (verboseDispatch): simplify a bit
14390 (getStatus): have a version which takes a pseudoaction, and
14391 another which requires a (kb_action,string).
14393 * LyXAction.C (retrieveActionArg): make it work also when action
14394 is not a pseudo-action.
14395 (getActionName): simplify a bit
14398 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14400 * lyxfunc.C (verboseDispatch): new families of methods with
14401 several ways to specify a command and a bool to indicate whether
14402 the command name and shortcut should be displayed in minibuffer
14403 (eventually, we could extend that to a finer bitmask like
14404 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
14405 (dispatch): the pristine dispatch command which just, well,
14406 dispatchs! Note it still sets its result to minibuffer; I'm not
14409 * lyxfunc.h: remove setHintMessage
14411 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
14413 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14415 * BufferView_pimpl.C (specialChar): delete new inset if we have
14416 not been able to insert it.
14418 * kbmap.C: revert to using int instead of kb_action, since all we
14419 are dealing with is pseudo-actions.
14421 * LyXAction.C (searchActionArg): change to return int instead of
14422 kb_action, since the result is a pseudoaction.
14424 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
14426 * buffer.C (insertErtContents): Fix (partially) the font bug.
14428 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
14430 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
14431 as the other one is broken on my machine!
14433 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
14436 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
14438 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
14440 * lyxrc.[Ch]: change names and descriptions of popup font variables to
14441 reflect their actual use. Provide compatibility code for older lyxrc
14444 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
14446 change names of popup font variables in line with the changes to lyxrc.C
14448 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14450 * buffer.C (asciiParagraph): avoid outputing a word twice after
14453 * lyxrc.C (getDescription): document that document_path and
14454 template_path can be empty.
14456 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14458 * LaTeXFeatures.C (getMacros):
14459 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
14461 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
14463 * LaTeXFeatures.C (useFloat): require "float" here instead of in
14465 (getPackages): rename feature "floats" to "float". Use an array to
14466 iterate over 'simple' features (i.e. just a \usepackage). Add
14467 handling of "amsmath" (renamed from "amsstyle").
14469 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
14471 * LaTeXFeatures.C (require): Prevent duplicate entries in the
14474 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
14476 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
14477 FuncStaus::FuncStatus & FuncStaus::some_method().
14479 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
14481 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
14482 of the func_satus stuff. Edited and massaged in various ways by
14485 * lyxfunc.C (getStatus): use FuncStatus
14487 2002-01-08 Juergen Vigna <jug@sad.it>
14489 * text.C (nextBreakPoint): use function Inset::isChar().
14491 * paragraph.C (TeXOnePar): use function
14492 Inset::forceDefaultParagraphs.
14494 * buffer.C (latexParagraphs): use function
14495 Inset::forceDefaultParagraphs.
14497 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14499 * lyx_gui.C (init): set the style of the menu popups to
14500 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
14502 2002-01-07 Juergen Vigna <jug@sad.it>
14504 * text.C (setHeightOfRow): small fix
14505 (prepareToPrint): don't look at alignment if we don't have the place
14508 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14510 * box.C: New file. Move the Box methods and functions out of box.h,
14511 following Lars' suggestion.
14513 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14515 * box.h: #include "support/LOstream.h", needed for inlined function.
14518 * lyxtextclasslist.C: added some using std declarations.
14520 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
14522 * box.h: make signed dimensions to allow insets wider than
14523 the screen (bug #162)
14525 * BufferView_pimpl.C: add some insetHit debug
14527 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
14529 * vc-backend.C: add FIXME
14531 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14533 * lyxfunc.C (getStatus): enable code for showing math font status
14536 2002-01-07 Juergen Vigna <jug@sad.it>
14538 * text.C (nextBreakPoint): removed debug output not needed anymore.
14540 2002-01-06 Juergen Vigna <jug@sad.it>
14542 * text.C (nextBreakPoint): fixed up this function we had this bug
14543 since ever but now hopefully we break row better.
14544 (insertChar): we have to check if an inset is the next char as it
14545 could now happen that a large inset is causing a break.
14547 2002-01-05 Juergen Vigna <jug@sad.it>
14549 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
14550 if it doesn't like to be drawed.
14552 2002-01-04 Juergen Vigna <jug@sad.it>
14554 * BufferView2.C (lockInset): forgot to set a cursor.
14556 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
14558 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
14560 * FormMathsPanel.C:
14563 * form_maths_panel.C:
14564 * form_maths_panel.h:
14565 * form_maths_panel.fd: implemented sub- and super- buttons in math
14568 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
14569 (or ^ space) to be used as in TeX (req'd by Andr�.
14571 * lyxfunc.C: Allow ^ and _ again to be used both as
14572 super/subscript (mathed) and as themselves (in text).
14574 2002-01-03 Allan Rae <rae@lyx.org>
14576 * LyXView.C (updateWindowTitle): Setup a short icon title of either
14577 "LyX" or the filename of the current buffer if it has one. This is a
14578 modified form of John Levon's patch.
14580 * XFormsView.C (setWindowTitle): also set icon title.
14582 * LyXView.h (setWindowTitle): signature changed.
14583 * XFormsView.h (setWindowTitle): ditto.
14585 2002-01-02 Juergen Vigna <jug@sad.it>
14587 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14589 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
14591 * screen.C (topCursorVisible): introduce a temp var for
14592 text->cursor.row(), handle the case where this row is null. (kindo
14595 * text2.C (setCursor): add a couple of asserts.
14597 * paragraph.h (inset_iterator): add -> operator
14599 * paragraph.[Ch] (autoDeleteInsets): remove member function
14601 * BufferView2.C (removeAutoInsets): rewrite to handle the old
14602 cursor pos correctly and handle inset deletion by itself.
14603 (insertErrors): move iterator declaration out of for expression
14605 * lyxtextclass.C: add <algorithm>
14607 * Makefile.am: added the new files to sources, removed layout.C
14609 * layout.C: removed file
14611 * layout.h: remove LYX_DUMMY_LAYOUT
14613 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14617 * lyxtextclass.[Ch]:
14618 * lyxtextclasslist.[Ch]: new files
14620 * include order changes to a lot of files, also changes because of
14623 2001-12-27 Juergen Vigna <jug@sad.it>
14625 * buffer.C (asciiParagraph): more fixes.
14627 * tabular.C (ascii): make ascii export support export of only the
14628 data separated by a column-delimiter.
14629 (ascii): better support for ascii export.
14631 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14633 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14635 * tabular_funcs.C: use a "using std::getline" instead of the
14636 previous fix from Angus (necessary for cxx + lyxstring)
14638 2001-12-24 Juergen Vigna <jug@sad.it>
14640 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14642 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14643 problems. First check a minipage also if we have some ert-contents
14644 (not only on par->size(), second set the right depth of the paragraph
14645 on the relink to the root-paragraph-list!
14647 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14648 which then did not anymore update the main paragraphs on undo/redo!
14650 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14652 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14653 code. Support all font-changing funcs (even those which are not in
14654 menu currently). Support for reporting font settings in
14655 mathed (disabled until Andre provides a function on mathed's side).
14657 * func_status.h (toggle): small helper function to set toggle
14660 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
14662 * tabular_funcs.C: getline -> std::getline
14664 2001-12-21 Juergen Vigna <jug@sad.it>
14666 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14667 accessed and could be 0 (I couldn't generate this but it seems
14670 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
14672 * tabular_funcs.C: add LIstream.h, move write_attribute to..
14673 * tabular_funcs.h: here and include iosfwd
14675 2001-12-20 Juergen Vigna <jug@sad.it>
14677 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14678 inside inset but undo_par was.
14680 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14682 * Thesaurus.C: always include <config.h> in sources.
14686 * box.h: do not include <config.h> in header files
14688 * text.C (paintLastRow): remove unused variable
14690 * text.C (transformChar):
14692 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14694 * Painter.C (text):
14695 * font.C (width): rewrite to use uppercase() instead of
14698 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14700 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
14702 * lyxfind.C: clean up of find failure position change
14704 2001-12-20 Juergen Vigna <jug@sad.it>
14706 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14708 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14709 (TeXRow): added to LaTeX a single tabular row.
14710 (TeXLongtableHeaderFooter): added to output LT-h/f data.
14711 (Latex): simplified and finally good LT-h/f support.
14712 (various_functions): just small adaptions for LT-h/f support.
14714 * tabular_funcs.[hC]: added and moved here all not classfunctions
14717 2001-12-19 Juergen Vigna <jug@sad.it>
14719 * tabular.[Ch]: better support for longtabular options (not finished
14722 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14724 * text.C (paintLastRow): use the label font instead of the font of
14725 the last character to compute the size of *_BOX. This makes more
14726 sense and avoids a crash with empty paragraphs.
14727 Use Painter::rectangle to draw EMPTY_BOX.
14729 2001-12-19 Juergen Vigna <jug@sad.it>
14731 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14732 the paragraphs if the replaced paragraph is not the first one!
14733 Tried to delete not used paragraphs but does not work yet so for
14734 now it's inside #ifdef's and by default off!
14736 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14738 * MenuBackend.C: include "lyx_main.h" instead of declaring
14739 lastfiles (actually was declared as LastFiles* instead of a
14742 2001-12-17 Juergen Vigna <jug@sad.it>
14744 * tabular.C (AppendColumn): applied John's fix
14746 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
14750 * BufferView_pimpl.h:
14751 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14754 * box.h: new start of class for above
14756 * lyxfunc.C: ignore space-only minibuffer dispatches.
14757 Show the command name when it doesn't exist
14759 * minibuffer.C: don't add empty lines to the history
14761 * minibuffer.C: add a space on dropdown completion
14763 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
14765 * text.C: fix line above/below drawing in insets
14767 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14769 * lyxlength.C (LyXLength): Initialize private variables.
14771 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
14773 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14774 when inserting error insets.
14776 2001-12-13 Juergen Vigna <jug@sad.it>
14778 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14779 actually sometimes the before-paragraph.
14780 (setUndo): don't clear the redostack if we're not actually undoing!
14782 2001-12-06 Juergen Vigna <jug@sad.it>
14784 * undo_funcs.C (textHandleUndo): well after John's hint I got here
14785 and fixed redoing of main paragraph, so we can use it now ;)
14787 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14789 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14791 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14794 2001-12-13 André Pönitz <poenitz@gmx.net>
14797 * undo_func.C: minor cleanup
14799 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14801 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14802 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14803 font in urw-fonts package which is marked as -urw-fontspecific and
14804 does not work (incidentally, changing the encoding in the
14805 fonts.dir of this package to -adobe-fontspecific fixes the
14808 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14809 is a crash when undoing first paragraph (Juergen, please take a
14810 look). THis does not mean the undo fix is wrong, just that it
14813 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14814 the (Paragraph*) version when needed instead of duplicating the
14817 * text.C (workWidth): use Inset::parOwner to find out where the
14818 inset has been inserted. This is a huge performance gain for large
14819 documents with lots of insets. If Inset::parOwner is not set, fall
14820 back on the brute force method
14822 * paragraph_pimpl.C (insertInset):
14823 * paragraph.C (Paragraph):
14824 (cutIntoMinibuffer): set parOwner of insets when
14825 inserting/removing them
14827 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14829 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
14835 * mathed/formulabase.C:
14836 * mathed/math_cursor.[Ch]:
14837 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14840 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14842 * lyxlength.[Ch] (operator!=): new function
14844 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14846 * text.C (workWidth): use Inset::parOwner to find out where the
14847 inset has been inserted. This is a huge performance gain for large
14848 documents with lots of insets. If Inset::parOwner is not set, fall
14849 back on the brute force method
14851 * paragraph_pimpl.C (insertInset):
14852 * paragraph.C (Paragraph):
14853 (cutIntoMinibuffer): set parOwner of insets when
14854 inserting/removing them
14856 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14858 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14860 * tabular-old.C (getTokenValue):
14861 * tabular.C (getTokenValue):
14862 (write_attribute): new versions for LyXLength
14863 (everywhere): adjust the use of widths
14865 * tabular.h: change the type of widths from string to LyXLength
14867 2001-12-11 Ben Stanley <bds02@uow.edu.au>
14869 * paragraph.C: fixed missing line number count when exporting
14870 Environments to LaTeX file
14872 * buffer.C: added informational message for checking line numbers.
14874 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14876 * text2.C (deleteEmptyParagraphMechanism): if there is only one
14877 paragraph, do the 'double space' part, but not the 'empty
14880 * text.C (workWidth): small optimization
14881 (getLengthMarkerHeight): use minimal size for negative lengths.
14883 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
14885 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14887 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14889 2001-12-11 André Pönitz <poenitz@gmx.net>
14892 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14894 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14896 * text2.C: keep selection on a setFont()
14898 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14900 * lyx_cb.C: another bv->text misuse, from insert label
14902 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14905 * kbsequence.C: re-instate nmodifier mask
14907 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
14909 * lyx_main.h: make lyxGUI private.
14911 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14913 * lyxfind.C: place the cursor correctly on failed search
14915 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14917 * text.C (getLengthMarkerHeight): for small heights, the arrows
14918 are not always on top/bottom of the text
14919 (drawLengthMarker): smaller arrows; take the left margin in
14920 account; draw also vfills.
14922 (paintLastRow): remove special code for vfill and standard spaces,
14923 since everything is handled in drawLengthMarker now.
14925 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14927 * buffer.C (insertErtContents): try to handle font and language
14928 interaction a bit better.g
14930 * ColorHandler.C (updateColor): change the hash to cover the whole
14931 LColor enum, ws cleanup
14932 (getGCLinepars): ditto
14933 (getGCLinepars): only lookup in the linecache once.
14935 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
14937 * iterators.C (operator++): Make the iterator more robust
14939 * BufferView2.C (removeAutoInsets): Use paragraph iterators
14941 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14943 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14946 * text.C: better added space drawing
14948 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14951 * BufferView2.C: fix layout combo update on inset unlock
14953 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14955 * Makefile.am: don't compile unused files
14957 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14961 * LyXAction.C: remove old LFUN_LAYOUTNO
14963 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14965 * paragraph_pimpl.h:
14966 * paragraph_pimpl.C: isTextAt() doesn't need font param
14968 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14971 * lyxlex.C: little cleanup
14973 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14975 * BufferView_pimpl.C: fix insertAscii for insets
14977 2001-12-05 Juergen Vigna <jug@sad.it>
14979 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14980 set the right font on the "multi" paragraph paste!
14982 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14988 * lyxlength.C: remove out-commented code.
14990 * BufferView_pimpl:
15004 * vc-backend.C: change "while(" to "while ("
15006 * lyxlength.[Ch]: add zero function to check if length is zero or
15008 * lyxgluelength.C: use it
15010 2001-12-05 Allan Rae <rae@lyx.org>
15012 * lyxlength.C: Attempted a fix for the abs(int) header selection.
15013 Works for 2.95.3, from what I understand of Garst's reports this should
15014 work for other g++ versions. We're screwed if the abs(int) definition
15015 changed between bugfix releases of gcc.
15017 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
15019 * text.C: fix chapter label offset !
15021 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
15024 * text.C: fix hfill at end of line, clean up
15026 2001-12-04 Juergen Vigna <jug@sad.it>
15028 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
15029 that we force an update of the inset and it's owners if neccessary.
15031 2001-12-03 Juergen Vigna <jug@sad.it>
15033 * text.C (rowLast): simplified code
15035 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
15037 * lyxfunc.C: fix show options on timeout
15039 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15041 * screen.C (topCursorVisible): scroll half a page when the cursor
15042 reached top of bottom of screen
15044 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
15046 * minibuffer.C: deactivate on loss of focus
15048 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
15050 * vspace.[Ch] (operator!=): add operator.
15052 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
15054 * BufferView_pimpl.C: refuse to open an inset when
15055 there's a selection.
15057 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
15059 * BufferView_pimpl.C: allow to click on RHS of full row insets
15061 2001-11-30 Juergen Vigna <jug@sad.it>
15063 * tabular.C (LyXTabular): add a same_id to set the same id's in the
15064 insets for undo reasons.
15066 2001-11-28 André Pönitz <poenitz@gmx.net>
15068 * vspace.[Ch]: cosmetical changes
15070 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
15080 * kbsequence.C: part re-write of old kb code
15083 * WorkArea.C: remove Lgb_bug_find_hack
15085 2001-11-30 José Matos <jamatos@fep.up.pt>
15087 * buffer.C (makeDocBookFile): add a comment to point a hack.
15088 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
15089 Fixed a double write of labels.
15091 2001-11-29 Ben Stanley <bds02@uow.edu.au>
15094 * LaTeX.h Fixed bug in LaTeX class where it would not
15095 re-run latex if no depfiles were changed, but the .dvi was removed.
15097 2001-11-28 André Pönitz <poenitz@gmx.net>
15099 * all the files from the change on 2001/11/26:
15100 use lyx::layout_type instead of LyXTextClass::size_type
15101 use lyx::textclass_type instead of LyXTextClassList::size_type
15103 2001-11-29 Juergen Vigna <jug@sad.it>
15105 * text.C: added support for paragraph::isFreeSpacing()
15107 * buffer.C: same as above
15109 * paragraph.h: inserted isFreeSpacing() function to enable
15110 FreeSpacing inside InsetERT.
15112 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
15113 of the paragraph's in the cut/copy buffer to 0!
15115 * text2.C (removeRow): remove the assert as it can!
15117 * lyxtext.h: added helper function firstRow returning firstrow and
15118 made firstrow private again.
15120 * BufferView2.C (lockInset): don't relock if we're already locked!
15122 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
15123 the only paragraph.
15124 (removeRow): added Assert::(firstrow)
15126 * debug.C: forgot to add INSETTEXT here.
15128 2001-11-28 Juergen Vigna <jug@sad.it>
15130 * sp_spell.C (initialize): changed error text to more general
15131 spellchecker command use (not only ispell!)
15133 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
15135 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
15137 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
15139 * vspace.C: initialise lyxgluelength on failure
15141 2001-11-28 Allan Rae <rae@lyx.org>
15143 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
15144 declaration & definition that looks like a function declaration.
15146 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15148 * BufferView2.C (copy):
15149 (copyEnvironment): do not clear the selection when doing a copy.
15151 * text.C (paintFirstRow): compilation fix
15153 2001-11-27 Ben Stanley <bds02@uow.edu.au>
15155 * tabular.C (Latex): correct line count when writing latex.
15157 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
15159 * paragraph_pimpl.h:
15160 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
15163 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
15167 * LColor.C: change vfillline->added_space
15169 * text.C: add markers and text for added space
15171 * vspace.C: fix comment
15173 2001-11-28 André Pönitz <poenitz@gmx.net>
15175 * paragraph.C: whitespace changes
15176 * all the other files from the change on 2001/11/26:
15177 change *::pos_type into lyx::pos_type
15179 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
15181 * buffer.C (parseSingleLyXformat2Token): Set the language to the
15182 language of the document when inserting error insets.
15184 2001-11-26 André Pönitz <poenitz@gmx.net>
15186 * BufferView_pimpl.[Ch]:
15194 * paragraph_pimpl.[Ch]:
15197 * text2.C: reduce header dependencies, introduce type for positions
15199 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
15201 * <various>: change to use Alert.h
15203 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
15205 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
15206 when encountering an unknown token.
15207 (readLyXformat2): Show an error message if there were unknown tokens.
15209 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
15212 * BufferView_pimpl.C:
15216 * text2.C: use par->isInset()
15218 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
15220 * paragraph_pimpl.h:
15221 * paragraph_pimpl.C: cleanup
15223 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15225 * text2.C (removeRow):
15226 * text.C (setHeightOfRow): remove useless (and costly) call to
15229 2001-11-20 Allan Rae <rae@lyx.org>
15231 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
15232 Now need Inset*::checkInsertChar() to return true for appropriate
15233 cases so that the characters in the minibuffer will actually be
15236 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
15238 * text.C: change the order of the includes.
15239 (workWidth): initialize it at once.
15240 (workWidth): make maxw unsigned
15241 (setHeightOfRow): remove unused variable (inset)
15242 (selectSelectedWord): remove unused variable (inset)
15243 (paintRowText): fix drawing of hfill characters, and clean up a bit.
15245 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15247 * lyxserver.C (emergencyCleanup): do not try to close pipes if
15248 server is not running.
15250 (closeConnection): add debug info when server is disabled.
15252 * ColorHandler.C (getGCForeground): send debug message to GUI
15255 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
15257 * kbmap.C (bind): modify because return conventions of
15258 kb_sequence::parse have changed.
15260 * kbsequence.C (parse): only ignore spaces and not any stupid
15261 control character. This avoids tests like s[i] <= ' ', which are
15262 guaranteed to fail with 8bit characters and signed chars.
15263 Change return code to string::npos when there have been no error
15264 (0 was a bad idea when error is at first character)
15266 2001-11-14 José Matos <jamatos@fep.up.pt>
15269 * buffer.C (simpleDocBookOnePar): removed unused argument.
15271 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15273 * text.C (selectNextWordToSpellcheck): do not test explicitely for
15274 insets which are part of a word. Paragraph::isLetter takes care of
15275 that now. Use Paragraph::isInset to identify insets.
15276 (selectSelectedWord): do not test for hyphenation break.
15278 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
15279 that protected spaces are considered as spaces.
15281 * paragraph.C (isLetter): cleanup the code for ispell extras; use
15284 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
15287 * lyxserver.C: fix it. and small cleanup.
15289 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
15291 * BufferView_pimpl.C: use inline helpers
15294 * LaTeXFeatures.C: fix typos
15297 * Spacing.C: move spacing_string into class
15299 * ToolbarDefaults.C: move stuff into namespace anon
15301 * layout.h: update enum
15303 * lyxfunc.C: use better debug
15305 * minibuffer.h: fix typo
15309 * WorkArea.C: add and use Debug::WORKAREA
15313 * text2.C: code re-organisation, inline helpers
15315 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
15317 * Layout.C: replaced a few cases of std::vector.size() == 0 with
15318 std::vector.empty().
15320 2001-11-09 Allan Rae <rae@lyx.org>
15322 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
15323 '\n's after tables. Tabular and ERT inset work now makes this no
15326 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
15329 * minibuffer.C: fix crash, improve drop-down completion
15331 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
15334 * lyxserver.C: invalidate fd's when doing endPipe()
15336 2001-11-08 José Matos <jamatos@fep.up.pt>
15338 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
15339 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
15342 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
15344 2001-11-07 José Matos <jamatos@fep.up.pt>
15347 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
15350 * buffer.C (sgmlOpenTag):
15351 * buffer.C (sgmlCloseTag): removed debug info.
15353 * buffer.h (sgmlOpenTag):
15354 * buffer.h (sgmlCloseTag): made public.
15356 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15358 * buffer.C (saveParamsAsDefaults):
15359 * lyx_cb.C (MenuLayoutSave): remove
15361 * LyXAction.C (init):
15363 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
15365 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15367 * buffer.C (setPaperStuff): removed from here...
15369 * bufferparams.C (setPaperStuff): ... and moved there.
15371 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
15375 * XFormsView.C: add support for drop-down completion
15377 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
15379 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
15382 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15384 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
15387 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
15389 * lyx_main.C: change ref to known bugs
15391 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
15393 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
15394 to work around older babel problems.
15396 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
15398 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
15400 2001-10-24 Juergen Vigna <jug@sad.it>
15402 * tabular-old.C (ReadOld): below variable changes reflected.
15404 * tabular.[Ch]: added ltType struct for longtable header/footer
15405 defines and changed all instances where they are used. Added
15406 future support for double top/bottom rows.
15408 2001-10-24 José Matos <jamatos@fep.up.pt>
15410 * buffer.h (docbookHandleCaption):
15411 * buffer.C (docbookHandleCaption): removed unused function.
15412 (makeDocBookFile): moved docbook supported version to v4.1.
15414 2001-10-24 José Matos <jamatos@fep.up.pt>
15417 * tabular.C (docbookRow): new function to export docbook code of a row.
15418 (DocBook): now honors the longtable flags.
15420 2001-10-23 José Matos <jamatos@fep.up.pt>
15423 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
15424 of the lyx defined sgml entities used in a docbook/linuxdoc document.
15426 * buffer.C (makeLinuxDocFile):
15427 (makeDocBookFile): reworked the preamble, more clean, and with
15428 support for lyx defined entities. Changed the document declaration
15429 to be more XML friendly.
15431 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
15432 if we need to output XML that should be done with a filter.
15434 2001-10-22 Juergen Vigna <jug@sad.it>
15436 * sp_pspell.h (class PSpell): add alive function needed in the
15437 controller to see if the spellchecker could be started.
15439 2001-10-22 Juergen Vigna <jug@sad.it>
15441 * buffer.C (insertStringAsLines): modify the font for inserting
15442 chars in certain conditions by calling checkInsertChar(font).
15444 2001-10-19 Juergen Vigna <jug@sad.it>
15446 * text.C (workWidth): use getRow instead of wrong algorithm.
15447 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
15449 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
15454 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
15456 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15458 * text.C (workWidth): do not search for the exact row when
15459 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
15460 optimization for big documents.
15462 2001-10-18 Juergen Vigna <jug@sad.it>
15464 * text.C (workWidth): new function with added Inset * parameter.
15466 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15468 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
15470 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
15471 change return type of getColumnNearX.
15474 * text.C (changeRegionCase): use uppercase/lowercase instead of
15477 (rightMargin): simplify code by factoring out the uses of
15482 (appendParagraph): use Paragraph::size_type
15484 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15486 * vspace.C (asLatexString): add a missing break
15488 2001-10-15 Herbert Voss <voss@perce.de>
15490 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
15492 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15494 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
15497 2001-10-10 André Pönitz <poenitz@gmx.net>
15499 * lyxfunc.C: removed greek_kb_flag.
15501 2001-10-10 Herbert Voss <voss@perce.de>
15503 * lyx_main.C: delete global string help_lyxdir.
15505 2001-10-09 Herbert Voss <voss@perce.de>
15507 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
15509 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
15511 * lyx_main.C: added global string help_lyxdir.
15513 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
15515 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
15517 * lyxrc.C (set_font_norm_type): support iso8859-4
15519 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
15521 * LaTeX.C (deplog): add another regex for MikTeX
15523 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
15525 * lyxrc.C (set_font_norm_type): support iso8859-3
15527 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15529 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
15531 * LaTeXFeatures.C: remove special case of french and index
15533 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
15534 before \begin{document}). This solves several incompatibilities.
15536 2001-10-03 Garst Reese <reese@isn.net>
15538 * lyx_cb.C: change CheckTex error msg.
15540 2001-10-03 José Matos <jamatos@fep.up.pt>
15542 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
15544 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15546 * .cvsignore: update
15548 * lyx_main.C (commandLineVersionInfo): use new style version info.
15550 * buffer.C (writeFile):
15552 (makeLinuxDocFile):
15553 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
15555 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
15557 * version.h: update to use stuff in version.C
15559 * version.C.in: new file. Contains version information determined
15560 at compile time. This is a merging of version.h and
15563 2001-10-03 Juergen Vigna <jug@sad.it>
15565 * BufferView_pimpl.C (update): don't change "dirty" status in
15568 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
15570 * WorkArea.C (c-tor): re-position version string slightly.
15572 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
15574 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15575 revert to previous code.
15577 WorkArea.[Ch]: (show, destroySplash): methods removed.
15579 WorkArea.C: rework code so that it's an amalgam of the codes before and
15580 after the splash screen was moved to WorkArea.
15582 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15585 * vspace.C (inPixels):
15588 * buffer.C (insertStringAsLines):
15589 (asciiParagraph): fix types to be large enough
15591 * lyxlex_pimpl.h: change member status from short to int
15593 * layout.h: fix type of endlabeltype
15596 * kbsequence.C (parse): change return type to string::size_type
15598 * LaTeX.C (updateBibtexDependencies): comment out unneeded
15601 * Bullet.C (bulletSize):
15602 (bulletEntry): do not use short ints as parameters
15604 * BufferView2.C (insertLyXFile): change a char to an int.
15606 * WorkArea.C (WorkArea): remove unneeded floats in computation
15608 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
15610 * buffer.C (asciiParagraph): Treat '\\' as other chars.
15612 * paragraph.C (asString): Do not ignore newline/hfill chars when
15613 copying to the clipboard.
15615 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
15617 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15618 after a multi-line inset.
15620 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
15622 * paragraph.C (validate): Set NeedLyXFootnoteCode
15624 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
15626 * lyxfont.C (LyXSizeNames): changed increase-error to increase
15627 and decrease-error to decrease.
15629 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15631 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15632 it more readable (should be equivalent)
15634 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
15636 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15638 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15640 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15641 of a cursor (row, etc.) after a character has been deleted
15642 (deleteEmptyParagraphMechanism): call the method above on _all_
15643 cursors held by the LyXText when a double space has been
15646 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
15648 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15650 (resizeCurrentBuff): remove code to destroy the old splash dialog.
15652 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15653 background. Use greyOut() and the new show() methods to toggle between
15654 the foreground and background. Add code to remove the splash after
15655 its initial showing.
15657 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15658 (create_forms): no longer call Dialogs::showSplash.
15660 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15662 * .cvsignore: add version_info.h
15664 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15666 * version_info.h.in: new file
15668 * Makefile.am: add version_info.h.in
15670 * lyx_main.C (commandLineVersionInfo): use version_info defined in
15671 version_info.h instead of VERSION_INFO
15673 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
15675 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15676 The ERT inset now returns string().
15678 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
15680 * lyxtext.h, text.C (selectNextWord): renamed as
15681 selectNextWordToSpellcheck.
15683 * text.C (selectNextWordToSpellcheck): Modified to not select
15684 words inside an ERT inset.
15686 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15688 * lyx_cb.C (MenuLayoutSave): change a bit the question
15690 * sp_base.h: include <sys/types.h>
15692 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
15694 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15696 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
15698 * several files: fix typos in user-visible strings
15700 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15702 * text2.C (pasteSelection): do not set the selection, since it
15703 will be cleared later. Actually, the intent was to fix the way the
15704 selection was set, but I figured rmoving the code was just as good.
15706 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
15708 * FontLoader.C (available): Check if font is available without
15711 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
15713 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15715 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
15717 * lyxrc.[Ch]: added display_graphics variable and associated code.
15719 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15721 * bufferparams.C (hasClassDefaults): new method. Returns true if
15722 the buffer parameters correspond to known class defaults
15724 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
15726 * XFormsView.C (show): set minimum size to the main window.
15728 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15730 * text2.C (copySelection):
15732 * lyxfind.C (LyXReplace):
15733 * BufferView_pimpl.C (Dispatch): pass the correct flag to
15734 LyXText::selectionAsString.
15736 * paragraph.C (asString): add "label" argument to the second form
15738 * text2.C (selectionAsString): add "label" argument and pass it to
15739 Paragraph::asString.
15741 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15743 * lyx_main.C (commandLineHelp): remove version information
15745 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
15747 * lyx_main.C: add -version commandline option
15749 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15751 * paragraph.h: make the optional constructor arg required instead.
15752 some modifications to other files because of this.
15754 * minibuffer.C (C_MiniBuffer_peek_event): make it static
15756 * lyxserver.C (C_LyXComm_callback): make it static
15758 * lyx_main.C (error_handler): make it static
15760 * lyx_gui.C (LyX_XErrHandler): make it static
15762 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15764 * WorkArea.C: make the extern "C" methods static.
15766 * Makefile.am (lyx_LDADD): simplify
15768 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15770 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15771 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15773 * LyXAction.C (init):
15774 * lyxfunc.C (dispatch): associated code removal.
15776 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15778 * lyxfont.h (isSymbolFont): shut off warning
15780 * text.C (setHeightOfRow):
15781 (getVisibleRow): fix crash with empty paragraphs which have a
15784 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
15786 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15789 2001-09-04 José Matos <jamatos@fep.up.pt>
15792 * tabular.C (docbook): rename docBook method to docbook.
15794 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15796 * Makefile.am: add dependencies to main.o.
15798 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
15800 * FontLoader.C (available): Return false if !lyxrc.use_gui
15802 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
15804 * FontInfo.C (query):
15805 * converter.C (view):
15806 * importer.C (Import):
15807 * exporter.C (Export): Can not -> cannot.
15809 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
15811 * BufferView_pimpl.C: allow to create index inset even if
15814 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15816 * buffer.C (getLists): replace boost::tie code with an explicit pair
15817 as boost::tie can break some compilers.
15819 * iterators.h: Added a std:: declaration to the return type of
15822 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
15824 * lyxrc.C: add help for view_dvi_paper_option, default to safe
15827 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
15829 * iterators.[Ch]: New files. Provide paragraph iterators.
15831 * buffer.C (changeLanguage): Use paragraph iterators.
15832 (isMultiLingual): ditto
15834 * BufferView2.C (ChangeInsets): Use paragraph iterators.
15836 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
15838 * FontLoader.C: Support for cmr font.
15840 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
15842 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15843 (available): New method.
15845 * FontInfo.C (getFontname): Use scalable fonts even when
15846 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15849 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15851 * converter.C (Formats::view): reverted! Incorrect fix.
15853 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15855 * converter.C (Formats::view): only output the -paper option
15856 if the dvi viewer is xdvi, thereby fixing bug #233429.
15858 2001-08-23 Herbert Voss <voss@perce>
15860 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15862 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
15864 * Spacing.h (Spacing): Set space to Default on in the default
15867 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
15869 * vc-backend.h (RCS::versionString): add RCS to version
15870 (CVS::versionString): add CVS to version
15872 * vc-backend.C (scanMaster): do not add CVS to version.
15873 (scanMaster): do not add RCS to version
15875 * lyxvc.C (versionString): new method
15877 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15879 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15881 * Spacing.C (set): initialize fval
15883 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
15885 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15888 2001-08-16 Juergen Vigna <jug@sad.it>
15890 * lyxfunc.C (dispatch): implemented the new FINISHED states.
15892 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15894 * BufferView_pimpl.C:
15897 * text2.C: setParagraph takes linespacing now
15899 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
15901 * LyxAction.C: add internal LFUN_CITATION_INSERT
15903 * LyXView.C: actually apply fix
15905 * bufferlist.C: fix open non-existent file
15907 * lyxfind.C: fix indentation
15909 * lyxfunc.C: remove unneeded assert, fix typo
15911 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15913 * MenuBackend.C: use "Floatname List"
15915 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
15917 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15918 when converting LaTeX layout to insetERT.
15919 Generate a non-collapsed float when reading old float
15921 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15923 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15926 2001-08-13 Juergen Vigna <jug@sad.it>
15928 * text.C (fill): return 0 instead of 20 as this seems to be the more
15931 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15933 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15936 2001-08-13 Juergen Vigna <jug@sad.it>
15938 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15940 (SearchBackward): comment out the unlocking of the inset_owner this
15941 should not be needed!
15943 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
15945 * Many files: Remove inherit_language, and add latex_language
15947 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15948 collapsible insets.
15950 2001-08-10 Juergen Vigna <jug@sad.it>
15952 * text.C (prepareToPrint): fixed hfill-width in draw!
15954 * BufferView2.C (selectLastWord): save the selection cursor as this
15955 now is cleared in the function LyXText::clearSelection!
15957 2001-08-08 Juergen Vigna <jug@sad.it>
15959 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15960 BACKSPACE type functions.
15962 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15963 is only cutted from the document but not put in the cut-buffer, where
15964 still the old stuff should be.
15966 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15968 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15970 * tabular.C (SetWidthOfCell): fixed special case where the width
15972 (LeftLine): handle '|' in align_special.
15974 (LeftAlreadyDrawed): ditto
15975 (SetWidthOfCell): ditto
15977 2001-08-07 Juergen Vigna <jug@sad.it>
15979 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15981 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15983 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15984 * lyxlex.[hC]: ditto
15986 2001-08-06 Juergen Vigna <jug@sad.it>
15988 * text.C (getVisibleRow): fix up row clearing a bit.
15990 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15992 * minibuffer.C: make sure the X server sees the changes in the input.
15994 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15996 * paragraph.C (getFont): split into...
15997 (getLabelFont): this
15998 (getLayoutFont): and this
15999 * paragraph_pimpl.C (realizeFont): calling this
16001 * text2.C (getFont): split into...
16002 (getLayoutFont): this
16003 (getLabelFont): and this
16004 (realizeFont): all three calling this
16006 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
16009 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16011 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
16013 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
16015 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
16016 layouts from the Quote inset insertion.
16018 2001-08-03 Juergen Vigna <jug@sad.it>
16020 * BufferView_pimpl.C (update): do the fitCursor only at the end!
16022 * screen.C (drawFromTo): don't call fitcursor here and do the loop
16023 only if status not is already CHANGED_IN_DRAW (second level).
16025 * text.C (draw): don't set the need_break_row when inside an
16028 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
16030 * buffer.C (parseSingleLyXformat2Token): handle more latex
16033 * bufferview_funcs.[hC]: change function names to
16034 begin with small char, adjust other files.
16036 2001-08-02 André Pönitz <poenitz@gmx.net>
16039 BufferView_pimpl.C: remove broken special code for math-greek
16041 2001-08-02 Juergen Vigna <jug@sad.it>
16043 * BufferView_pimpl.C (update): redone this function so that we
16044 update the text again if there was a CHANGE_IN_DRAW.
16046 * screen.C (cursorToggle): removed LyXText parameter and recoded.
16047 (drawFromTo): added a new internal bool which is used by draw() and
16049 (general): some cursor drawing problems fixed.
16051 2001-08-01 Juergen Vigna <jug@sad.it>
16053 * lyxfind.C (LyXFind): fixed
16054 (SearchForward): ditto
16055 (SearchBackward): ditto
16057 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
16058 spurius drawing of the cursor in the main area.
16060 * text2.C (status): small fix which could lead to a segfault!
16061 (clearSelection): remove unneeded BufferView param.
16063 2001-08-01 André Pönitz <poenitz@gmx.net>
16065 * lyxfunc.C: small change due to changed mathed interface
16067 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16069 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
16071 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
16073 * lyxfunc.c: fail gracefully if file doesn't exist
16078 * BufferView_pimpl.C: IsDirWriteable() proto changed
16080 * LyXView.C: fix updateWindowTitle() to store the last title
16082 2001-07-31 Juergen Vigna <jug@sad.it>
16084 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
16085 the font (wrong since using of Paragraph::highestFontInRange).
16087 * paragraph.C (highestFontInRange): added a default_size parameter.
16089 * text.C (getVisibleRow): minor clear row changes (still not perfect).
16090 (setHeightOfRow): reformat
16092 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
16094 * converter.[hC] + affected files: move to (inital-char)lowercase
16097 * ParagraphParameters.C (ParagraphParameters): remove commented code
16099 * PainterBase.[Ch]: remove commented code
16101 * LaTeXFeatures.h: add "bool floats" for float.sty
16103 * LaTeXFeatures.C (LaTeXFeatures): init floats
16104 (require): handle float
16105 (getPackages): do it with floats
16107 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16109 * BufferView_pimpl.C (Dispatch): improve handling of
16110 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
16112 * commandtags.h: #include lyxfont.h here temporarily to avoid
16115 * bufferlist.h: include LString.h here.
16117 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16119 * text2.C (getStringToIndex): new method.
16121 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
16123 * *: Reduced header file dependencies all over.
16125 2001-07-30 Baruch Even <baruch@lyx.org>
16127 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
16129 2001-07-29 Baruch Even <baruch@lyx.org>
16131 * buffer.C (readInset): Changed GRAPHICS to Graphics.
16133 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16135 * ParameterStruct.h (endif): add a default constructor to make
16136 sure that all variables is initialized.
16138 * ParagraphParameters.C (ParagraphParameters): adjust
16140 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16142 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
16143 index; also, check that there is something to index, and that it
16144 does not span over several paragraphs.
16145 (doubleClick): use WHOLE_WORD_STRICT for double click.
16147 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
16149 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
16152 2001-07-26 Baruch Even <baruch@lyx.org>
16154 * buffer.C (readInset): Changed to call up InsetGraphics when reading
16155 an InsetFig figure, backwards compatible reading of old figure code.
16157 2001-07-27 Juergen Vigna <jug@sad.it>
16159 * text2.C: font.realize function adaption.
16161 * text.C (draw): add a warnings lyxerr text if needed.
16163 * layout.C: font.realize function adaption.
16165 * language.C: add inherit_language and implement it's handlings
16167 * bufferview_funcs.C (StyleReset): remove language parameter from
16168 font creation (should be language_inherit now).
16170 * bufferparams.C (writeFile): handle ignore_language.
16172 * paragraph.C (getFontSettings): the language has to be resolved
16173 otherwise we have problems in LyXFont!
16175 * lyxfont.C (lyxWriteChanges): added document_language parameter
16176 (update): removed unneeded language parameter
16178 * paragraph.C (validate): fixed wrong output of color-package when
16179 using interface colors for certain fonts in certain environments,
16180 which should not seen as that on the final output.
16182 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
16184 * BufferView_pimpl.C:
16189 * LyXAction.C: add thesaurus support
16192 * lyxfind.C: add "once" parameter, for thesaurus, to not
16193 move to the next match
16195 2001-07-26 Juergen Vigna <jug@sad.it>
16197 * lyxfont.C (realize): honor ignore_language too!
16200 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
16202 * text.C (draw): one place more for ignore_language to not draw
16205 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
16207 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
16209 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16211 * buffer.C (parseSingleLyXformat2Token): a more general fix for
16212 the minipage conversion problem.
16214 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16216 * buffer.C (parseSingleLyXformat2Token): check minipage if we
16219 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16221 * BufferView.h: don't forward declare WorkArea
16223 * BufferView.C: don't include WorkArea.h
16225 2001-07-25 André Pönitz <poenitz@gmx.net>
16229 * lyxfunc.C: new LFUN 'math-space'
16231 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
16233 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16235 * text2.C (toggleInset): call open/close
16237 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16239 * lyxfunc.C (dispatch): add debug for the disabled case
16241 * font.C (buttonText): make similar to rectText
16243 * buffer.C (readInset): comment out parsing of insetlist and
16246 * PainterBase.C (rectText): small correction
16248 * BufferView_pimpl.C: comment out insettheorem and insetlist
16249 * LyXAction.C: ditto
16250 * commandtags.h: ditto
16252 2001-07-24 Juergen Vigna <jug@sad.it>
16254 * text.C (draw): honor the ignore_language.
16256 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
16258 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16260 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
16263 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16265 * lyxtext.h: remove unused (and unimplemented) methods
16267 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16269 * text.C (getVisibleRow): honor background color
16272 * Painter.h: remove default color argument for fillRectangle
16274 * text.C (backgroundColor): new method
16276 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16278 * text.C (getVisibleRow): adjust
16280 * font.[Ch] (rectText): new method, metrics
16281 (buttonText): new method, metrics
16283 * PainterBase.[hC]: make rectText and buttonText always draw and take
16286 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16288 * ToolbarDefaults.C (read):
16289 * MenuBackend.C (read): allow escaping in all strings
16291 * BufferView_pimpl.C (insertAndEditInset): new method.
16292 (Dispatch): use insertAndEditInset whenever appropriate.
16294 * BufferView_pimpl.C (insertNote): removed
16296 * BufferView_pimpl.C (smartQuote): new method, moved from
16297 BufferView; if an insetquote cannot be inserted, insert a '"'
16300 * BufferView2.C: remove insertCorrectQuote();
16302 * lyxfunc.C (getStatus): Add support for all remaingin
16303 inset-insert lfuns.
16305 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
16307 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
16308 command (necessary to pass " as parameter of self-insert.
16310 * text.C (selectWordWhenUnderCursor):
16311 (selectWord): add word_location parameter
16312 (selectWordWhenUnderCursor): same + remove special code for word
16314 (selectNextWord): use kind() to guess type of insetspecialchar,
16317 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
16318 (insertErtContents): create ert insets as collapsed.
16319 (readInset): better compatibility code for Info inset.
16321 2001-07-20 Juergen Vigna <jug@sad.it>
16323 * lyxfunc.C (dispatch): use always LyXFind now!
16325 * text2.C (init): add a reinit flag so that the LyXText can be
16326 reinited instead of deleted and reallocated (used in InsetText).
16328 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
16334 2001-07-18 Juergen Vigna <jug@sad.it>
16336 * text.C (selectNextWord): handle insets inside inset by calling
16337 always the bv->text functions so that we can go up the_locking_inset!
16339 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
16340 in strange locations when inside an inset!
16342 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
16343 handling to include insets.
16345 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
16347 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16349 * LyXAction.C (init):
16351 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
16352 LIGATURE_BREAK, since the name is so stupid.
16354 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
16356 * buffer.C (readInset): enable reading of new InsetNotes as well as old
16359 * FontLoader.C: remove FORMS_H_LOCATION cruft.
16361 * sp_form.[Ch]: remove.
16363 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
16365 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
16368 * src/buffer.C (readInset): ditto.
16370 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16372 * BufferView_pimpl.C (specialChar): new method. Obsoletes
16373 menuSeparator(), endOfSentenceDot(), ldots() and
16374 hyphenationPoint(), which are therefore removed.
16375 (Dispatch): handle LFUN_HYPHENATION_BREAK.
16377 * LyXAction.C (init):
16378 * commandtags.h: add LFUN_HYPHENATION_BREAK.
16380 * paragraph.C (getWord): removed.
16382 * BufferView_pimpl.C (Dispatch): use last word or selection for
16383 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
16385 * lyx_main.C (queryUserLyXDir): do not ask before creating
16386 user_dir, except if it has been named explicitely.
16388 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
16390 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
16391 a document of zero size.
16393 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
16395 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
16396 approriately in the c-tor and in require().
16397 (getPackages): output the appropriate LaTeX for natbib support.
16399 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
16400 variables "use_natbib" and "use_numerical_citations" when reading the
16402 (readInset): read the various natbib cite commands.
16403 (validate): white-space change.
16405 * bufferparams.[Ch]: new variables "bool use_natbib" and
16406 "bool use_numerical_citations".
16407 (writeFile): output them in the LyX file.
16409 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16411 * lyxfunc.C (getStatus): add support for all the inset insertion
16414 * text2.C (insertInset):
16415 * paragraph.C (insetAllowed):
16416 * BufferView_pimpl.C (insertInset): update to take in account the
16417 renaming of insertInsetAllowed
16419 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
16421 * text2.C (getInset): new method. returns inset at cursor position.
16423 * BufferView_pimpl.C (Dispatch): changes because of this.
16425 * LyXAction.C (init): rename open-stuff to inset-toggle.
16427 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
16429 * text2.C (toggleInset): renamed from openStuff; use
16432 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
16434 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
16436 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
16438 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
16440 * buffer.C (readLyXformat2): Add filename to the error dialog
16442 2001-07-18 Juergen Vigna <jug@sad.it>
16444 * tabular.C (GetCellNumber): put an assert here instead of the check!
16446 2001-07-17 Juergen Vigna <jug@sad.it>
16448 * BufferView_pimpl.C (toggleSelection): adapted too.
16450 * text.C (selectNextWord): adapted for use with insets.
16451 (selectSelectedWord): ditto
16453 2001-07-17 Juergen Vigna <jug@sad.it>
16455 * sp_spell.C (PSpell): fix initialitation order.
16457 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16459 * paragraph.C: spacing
16461 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
16463 * sp_spell.C: repair language selection for pspell
16465 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
16467 * lyxfunc.h: change more methods to begin with lower char.
16469 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
16471 * buffer.C (parseSingleLyXformat2Token): Generate error insets
16472 for unknown layouts.
16474 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
16476 * buffer.C (readLyXformat2): Generate an error dialog if there are
16479 2001-07-16 Juergen Vigna <jug@sad.it>
16481 * sp_spell.C: always compile ISpell part.
16483 * lyxrc.C: added use_pspell entry and it's handling.
16485 2001-07-13 Juergen Vigna <jug@sad.it>
16487 * sp_spell.C: removed double includes.
16489 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
16491 Consistent use of Lsstream.h:
16492 * Lsstream.h: added using std::stringstream for consistencies sake.
16494 * buffer.C: removed using std::stringstream
16496 * lyxfont.C (stateText):
16497 * paragraph.C (asString):
16498 * text.C (selectNextWord, selectSelectedWord):
16499 * text2.C (setCounter):
16500 * vspace.C (asString, asLatexString):
16501 std::ostringstream -> ostringstream.
16503 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
16505 * LyXAction.C: add LFUN_HELP_ABOUTLYX
16506 * commandtags.h: add LFUN_HELP_ABOUTLYX
16507 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
16509 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
16511 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
16513 * lyx_gui_misc.C: remove spellchecker
16514 * lyxfunc.C: showSpellchecker
16516 * sp_ispell.h: added
16517 * sp_pspell.h: added
16518 * sp_spell.C: added
16519 * sp_form.[Ch]: removed
16520 * spellchecker.[Ch]: removed
16522 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
16524 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
16526 (simpleTeXSpecialChars): Simply print the input character without
16527 any special translation if pass_thru is set.
16529 * layout.h: Added bool pass_thru to layout class for being able to
16530 implement pass through of a paragraph for Literate Programming.
16532 * layout.C: add LT_PASS_THRU to LayoutTags enum.
16533 * layout.C (LyXLayout): set pass_thru to flase in constructor.
16534 * layout.C (Read): add "passthru" to list of layout tags and add
16535 code to set the pass_thru boolean when it is read.
16537 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
16539 * trans_decl.h: remove allowed from KmodInfo
16541 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
16542 remove allowed code
16545 * paragraph_pimpl.C (erase): use boost::prior
16547 * Painter.C (text): use data() instead of c_str() when length is
16549 * WorkArea.C (putClipboard): ditto
16550 * font.h (width): ditto
16552 * BufferView2.C: use it-> instead of (*it). for iterators
16554 * paragraph_pimpl.C: ditto
16555 * paragraph.C: ditto
16556 * minibuffer.C: ditto
16557 * language.C: ditto
16559 * encoding.C: ditto
16560 * counters.C: ditto
16561 * converter.C: ditto
16563 * Variables.C: ditto
16564 * TextCache.C: ditto
16565 * MenuBackend.C: ditto
16566 * LyXAction.C: ditto
16568 * FloatList.C: ditto
16569 * DepTable.C: ditto
16570 * ColorHandler.C (LyXColorHandler): ditto
16572 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16574 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16576 * text2.C (openStuff): reintroduce this method (which had been
16577 nuked in NEW_INSETS frenzy).
16579 * lyxfunc.C (Dispatch): when an action has not been handled, use
16580 its name in the error message, not its number.
16582 * paragraph.C (inInset): change method name to begin with lowercase.
16585 * text2.C: updates because of this.
16587 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16589 * ToolbarDefaults.C (add): add spaces in error message
16591 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
16593 * buffer.C (readLyXformat2): initialize the ert comp. variables.
16594 (readLyXformat2): rename return_par to first_par, use lyxlex's
16595 pushToken and remove the manual push handling.
16596 (parseSingleLyXformat2Token): add another ert comp. variable:
16597 in_tabular, rename return_par to first_par. handle newlines better
16599 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16601 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16603 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
16605 * text2.C (getParFromID): removed
16607 * buffer.C (getParFromID): new method moved form lyxtext.
16608 * BufferView2.C (insertErrors): adjust
16609 (setCursorFromRow): adjust
16610 * BufferView_pimpl.C (restorePosition): adjust
16611 * lyxfunc.C (Dispatch): adjust
16612 * undo_funcs.C (textUndo): adjust
16614 (textHandleUndo): adjust
16615 (textHandleUndo): adjust
16617 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
16619 * buffer.C: up' the LYX_FORMAT
16621 * lyxfont.h: turn NO_LATEX on as default
16623 * buffer.C (insertErtContents): new methods of tex style compability.
16624 (parseSingleLyXformat2Token): use it several places.
16625 * tabular.C (OldFormatRead): and here
16627 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
16629 * text2.C: remove some commented code.
16632 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16633 * trans.C: changes because of the above.
16635 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
16637 * text2.C (setCounter): Fix counters bug with bibliography layout.
16639 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16641 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16642 own member functions
16643 (simpleTeXSpecialChars): ditto
16645 2001-07-06 Juergen Vigna <jug@sad.it>
16647 * a lot of files: changed the access to LyXText::status and the
16648 call of undo-functions.
16650 * undo.[Ch]: added a inset_id to the undo informations.
16652 * undo_funcs.[Ch]: added and moved here all undo functions.
16654 * lyxtext.h: give the status enum a weight, made status_ a private
16655 variable and made accessor functions for it, removed the whole bunch
16656 of undo-functions as they are now in their own file, make some
16657 functions publically available. Added function ownerParagraph with
16660 * paragraph.[Ch]: added "bool same_ids" to the constructor,
16661 made InInset() a const function, added getParFromID() function.
16663 * buffer.[Ch]: added const version for inset_iterator functions,
16664 added getInsetFromID() function.
16666 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16667 changed undo functions for new version.
16669 2001-07-05 Juergen Vigna <jug@sad.it>
16671 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16672 unknow mechanism does not call the proper constructor but only this
16673 one also if I request the other!?
16675 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16677 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16679 * text2.C (LyXText): use initialization lists.
16681 * lyxtext.h (Selection): initialize set_ and mark_
16682 (init): remove method
16684 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
16686 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16688 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16690 * screen.[Ch]: change method names to begin with lowercase
16692 * BufferView_pimpl.C (updateScrollbar): simplify further and
16693 hopefully make it a bit faster.
16695 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16697 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16698 calling directly xforms functions.
16700 * Painter.C (Painter):
16701 * lyx_cb.C (MenuWrite):
16702 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16705 * lyx_gui.C: remove bogus guiruntime extern declaration.
16707 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16709 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16711 (redoDrawingOfParagraph): ditto
16712 (redoParagraphs): ditto
16713 (cutSelection): don't create a object for CutAndPaste use the
16714 static method directly
16715 (pasteSelection): ditto
16717 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16720 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16722 * modifications to some other files because of this.
16724 * Makefile.am (lyx_SOURCES): add XFormsView
16726 * XFormsView.[Ch]: new files
16728 * LyXView.[Ch]: make LyXView a base class for the gui handling for
16729 the main window. Move the gui dependent stuff to XFormsView
16731 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16733 * tabular.C (GetCellInset): update cur_cell also in the row/col
16734 version of this function.
16736 * lyxfunc.C: no need to include figure_form.h here.
16742 * lyxvc.C: no need to include forms.h here.
16744 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16746 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16748 * lyxfunc.C (Dispatch):
16750 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16751 constructor argument.
16753 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16755 * paragraph.C (Paragraph): dont't clear, and just set layout.
16756 (makeSameLayout): use params's copy contructor.
16758 * ParagraphParameters.[Ch] (makeSame): delete method
16760 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
16762 * Variables.[Ch]: fix indentation, rename set to isSet
16764 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16766 * lyxfunc.C (Dispatch): fix typo
16768 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16770 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16773 * bufferlist.C: include assert.h for emergencyWrite().
16775 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16777 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16778 give up at last (bug #425202) !
16780 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
16786 * spellchecker.C: strip spellchecker options and bring up
16787 preferences tab instead
16789 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16791 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16792 the istringstream constructor
16794 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16796 * paragraph.C (getLayout): fix return value
16798 * paragraph.h: do not declare getLayout as inline.
16800 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16802 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16804 * lyxcursor.h (operator<): new func
16805 (operator>): new func
16806 (operator>=): new func
16807 (operator<=): new func
16809 * text.C (changeCase): use selection.start and selection.end
16810 (changeRegionCase): require from to be <= to. Require par to be a
16813 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16815 2001-06-27 Juergen Vigna <jug@sad.it>
16817 * text.C (cursorLeftOneWord): changed to return the cursor and added
16818 overlay with BufferView * parameter which calls this one.
16820 (selectWord): use new getWord function.
16821 (changeCase): renamed from changeWordCase as and extended to work
16822 also on selections.
16824 * lyxtext.h: added enum word_location
16826 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16827 changeCase as this operates now also on selections.
16829 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
16831 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16833 * many files: send debug output to Debug::INFO instead of
16836 * converter.C (View):
16838 (Move): send debug output to Debug::FILES instead of console.
16840 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
16842 * lyxfunc.C (getStatus): use func_status
16844 * func_status.h: new header, describing the results of
16845 LyXFunc::getStatus;
16847 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16850 2001-06-25 The LyX Project <jug@sad.it>
16852 * buffer.C (sgmlOpenTag):
16854 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
16856 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16858 * text2.C: remove some dead code
16860 * tabular.C (GetCellInset): store the last cell checked (gotten)
16862 * tabular.h: add the helper for the speedup
16864 * lyxtext.h: remove some dead code
16866 2001-06-26 The LyX Project <Asger>
16868 * paragraph.C: Change export to LaTeX of alignment to
16869 \begin{center} and family for better roundtrip work with reLyX.
16871 * Tune the math drawing a bit.
16873 2001-06-25 The LyX Project <Asger>
16875 * LColor.C (LColor): New color for math background. New color
16878 2001-06-25 The LyX Project <jug@sad.it>
16880 * lyxfunc.C (MenuNew): remove extra check for .lyx file
16882 * lyxfunc.C (Open):
16883 * bufferlist.C (newFile): do not restrict to files ending with
16886 * BufferView_pimpl.C (MenuInsertLyXFile):
16888 2001-06-24 The LyX Project <jug@sad.it>
16890 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16893 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16895 * lyxtext.h: rename most methods to begin with a small char.
16896 Lots of changes because of this.
16898 * paragraph.C (Paragraph): do not call fitToSize
16899 (erase): call Pimpl::erase
16900 (insertChar): call Pimpl::insertChar
16901 (insertInset): call Pipl::insertInset
16902 (breakParagraph): do not call fitToSize
16903 (breakParagraphConservative): do not call fitToSize
16904 (fitToSize): remove method
16906 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16908 2001-06-24 The LyX Project <Asger>
16910 * Fix Qt compilation^2
16912 2001-06-24 The LyX Project <jug@sad.it>
16914 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16915 depthHook(getDepth()-1).
16918 * ParagraphParameters.h:
16919 * ParameterStruct.h: change type of depth to unsigned int ==
16920 depth_type. Many adaptations to other files before of that.
16922 2001-06-24 The LyX Project <Asger>
16924 * Fix Qt compilation.
16926 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16928 * paragraph.h: renamed several methods to begin with small letter.
16929 several changes to many parts of the code because of this.
16931 2001-06-23 The LyX Project <jug@sad.it>
16933 * text2.C (InsertStringAsLines): renamed from InsertStringA;
16934 rewritten to discard all double spaces when KeepEmpty is off
16935 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16936 to only handle newlines but not fiddle with spaces and friends.
16938 * lyxfunc.C (MenuNew): when doing 'new from template', use
16939 template_path as default directory
16941 2001-06-23 The LyX Project <Asger>
16943 * Clean-up of header file includes all over
16944 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16946 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16948 * paragraph.h: renamed from lyxparagraph.h
16950 2001-06-23 Asger <lyx@violet.home.sad.it>
16952 * Buffer.h: Removed Buffer::resize
16953 * BufferList.h: Removed BufferList::resize
16954 * LyXView.h: Added LyXView::resize. This way, we will only reflow
16955 the document lazily when we change the width, or the font settings.
16957 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16959 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16961 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16963 * buffer.h: remove out of date comment
16965 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16968 * screen.C: fix "theoretical" GC leak
16970 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16972 * LaTeX.C (scanAuxFile):
16973 (deplog): remove trailing \r when reading stream (useful under
16976 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
16978 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16979 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16980 and BufferView::theLockingInset(Inset*), so should use them and not
16981 access bv_->text->the_locking_inset directly.
16983 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16985 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16988 * tex-defs.h: remove old unused file
16990 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
16992 * BufferView_pimpl.C: fix typo, remove minibuffer message
16993 when buffer has loaded
16995 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
16997 * lyxfunc.C (Dispatch): use stringstream
16998 (MenuNew): use stringstream
16999 (Open): use stringstream
17001 * importer.C (Import): use stringstream
17003 * bufferview_funcs.C (CurrentState): use stringstream
17005 * LaTeX.C (run): use stringstream
17007 * BufferView_pimpl.C (savePosition): use stringstream
17008 (restorePosition): use stringstream
17009 (MenuInsertLyXFile): use stringstream
17011 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
17024 * vspace.C: removed // -*- C++ -*- as first line.
17027 * version.h: added // -*- C++ -*- as first line.
17029 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17031 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
17033 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
17036 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
17038 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
17041 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17043 * gettext.C: include LString.h even when --disable-nls is on.
17045 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
17047 * converter.h (Get): changed argument type from int to
17048 FormatList::size_type to avoid unnecessary conversion.
17050 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
17053 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17055 * gettext.h: include LString.h even when --disable-nls is on.
17057 2001-06-07 Juergen Vigna <jug@sad.it>
17059 * text.C (BreakAgain): subst spaces with tabs.
17061 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
17062 (resizeInsetsLyXText): set force on resizeLyXText.
17064 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17066 * gettext.h (gettext_init):
17067 (locale_init): use a real definition instead of a macro
17069 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
17071 * Bufferview_pimpl.C:
17073 * LColor.C: further lcolor tidies
17075 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
17077 * BufferView_pimpl.C (updateScrollbar): simplify.
17079 * BufferView2.C: don't include insets/insetinfo.h, change
17080 prototype for insertInset and call the Pimpl version. let
17081 updateInset call Pimpl version.
17083 * BufferView.h: move inset_slept to BufferView::Pimpl, move
17084 gotoInset to BufferView::Pimpl
17086 2001-06-01 Juergen Vigna <jug@sad.it>
17088 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
17089 inside a LockingInset (is the update needed at all?).
17091 2001-05-31 Juergen Vigna <jug@sad.it>
17093 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
17094 here not the old one otherwise how should we compare it afterwards
17097 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17102 * FontInfo.C: bring C functions into global namespace when
17105 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17107 * LString.h: make sure config.h has been loaded before LString.h.
17109 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
17110 (one for each char read by EatLine!).
17112 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
17115 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
17117 * paragraph.C (BreakParagraph): set the inset_owner in the new par
17118 to the same as the par we break from
17120 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
17122 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
17124 * MenuBackend.C (expand): also create menu entries for wide
17125 versions of the floats.
17127 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
17129 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
17131 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
17132 frontends/Makefile.am
17138 * tabular.C (getTokenValue): add std::
17140 * tabular-old.C (getTokenValue): add std::
17141 (getTokenValue): ditto
17142 (getTokenValue): ditto
17144 * screen.C (ToggleSelection): adjust
17146 * lyxtext.h: put selection cursors inside a Selection struct.
17148 * lyxfunc.C (moveCursorUpdate): adjust
17150 * lyxfont.C (latexWriteStartChanges): add std::
17152 * lyxfind.C: adjust
17154 * font.h: delete with(char const *, LyXFont const &)
17156 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
17158 * FontInfo.C (getFontname): add std::
17160 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
17161 (workAreaButtonPress): adjust
17162 (tripleClick): adjust
17164 (moveCursorUpdate): adjust
17167 * BufferView2.C (gotoInset): adjust
17169 2001-05-30 Juergen Vigna <jug@sad.it>
17171 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
17172 to check pspell I add this as default as I now have new pspell
17173 libraries and they seem to use this.
17175 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
17177 * text2.C (CutSelection): make the cursor valid before the call to
17180 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17182 * kbsequence.C (parse): de-uglify a bit the parsing code, which
17183 relied on 0 terminated strings and other horrors. Bug found due to
17184 the new assert in lyxstring!
17186 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
17189 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
17191 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
17194 * lyxfunc.C (processKeySym): change method of getting to the
17197 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
17198 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
17199 * BufferView_pimpl.[Ch]: here as private methods.
17201 2001-05-28 Juergen Vigna <jug@sad.it>
17203 * text.C (SetHeightOfRow): added the update() call again as it is
17204 needed to initialize inset dimensions!
17206 2001-05-16 Juergen Vigna <jug@sad.it>
17208 * text2.C (SetCharFont): Add new function with BufferView * and
17209 bool toggleall parameters for setting insets internal fonts.
17210 (SetFont): Freeze the undo as we may change fonts in Insets and
17211 all this change should be inside only one Undo!
17213 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
17214 setting font's in insets as for them we have the SetFont function!
17216 2001-05-15 Juergen Vigna <jug@sad.it>
17218 * text2.C (ClearSelection): to be sure we REALLY don't have any
17221 * tabular.C (TeXCellPreamble): fixed the left border problem for
17224 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
17226 * LaTeX.C (deplog): Make sure that the main .tex file is in the
17229 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
17231 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
17232 LFUN_BREAKPARAGRAPH.
17234 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
17235 help test to "internal only", similar for LFUN_INSERT_URL
17237 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
17238 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
17239 auto_region_delete and deadkeys.
17241 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
17244 * LColor.C: remove some dead entries, tidy a little
17246 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
17248 * lyxfunc.C (processKeySym): comment the Escape handling, remove
17250 (Dispatch): implement LFUN_ESCAPE
17252 * commandtags.h: add LFUN_ESCAPE
17254 * LyXAction.C (init): add entry for LFUN_ESCAPE
17256 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
17257 Remove commented code.
17258 (insertNote): moved here
17259 (open_new_inset): moved here
17261 * BufferView[2].[Ch]: move insertNote and open_new_inset to
17264 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17266 * kbmap.C (findbinding): clean it up and make it work correctly.
17268 * lyx_main.C (init): do not pass argc and argv as parameters
17270 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
17272 * buffer.C: fix path for OS/2 & Win32
17276 * lyx_main.C: Added os:: class.
17278 * os2_defines.h: update
17280 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
17282 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
17283 better by trying again with reduced state.
17285 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17287 * lyxrc.C (read): print error about invalid key sequence only when
17288 debugging (because not all latinX keysyms are known to some X
17291 * kbsequence.C (getiso): add a few std:: qualifiers
17292 (getiso): comment out extra return statement.
17294 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
17296 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
17298 (Dispatch): enhance the accent inset a bit. (not perfect)
17300 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
17302 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
17304 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17306 * bufferlist.C (emergencyWrite): fix assert() call
17308 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
17310 * text.C (InsertChar): Added trivial patch to only send the "you
17311 can not do multiple spaces this way" message once during a
17314 2001-05-08 Baruch Even <baruch@lyx.org>
17316 * Makefile.am: Changed order of libraries to get LyX to link properly
17317 with the gnome frontend.
17319 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17321 * LaTeXFeatures.h: add a std:: qualifier
17323 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
17325 * paragraph.C (String): use stringstream
17327 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
17329 * paragraph.C (writeFile): remove footflag arg
17331 * buffer.C (makeLaTeXFile): use stringstream
17332 (latexParagraphs): remove footnot gurba
17334 * LaTeXFeatures.C (getPackages): use stringstream
17335 (getMacros): likewise
17336 (getTClassPreamble): likewise
17337 (getFloatDefinitions): new method
17339 * paragraph.C (writeFile): reindent
17342 * WorkArea.h: revert the xpos + etc changes.
17344 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
17346 * lyxparagraph.[Ch]: add copy constructor, remove Clone
17348 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
17349 (pasteSelection): likewise
17350 * text2.C (CreateUndo): likewise
17352 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
17354 * minibuffer.C (peek_event): temporarily reduce the functionality
17355 of the minibuffer (to allow args on lfuns)
17357 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
17358 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
17360 * buffer.C (readInset): add compability reading of old float
17361 lists, add reading of new style float list.
17362 (readInset): avoid reevaluation of inscmd.getCmdName()
17363 (getLists): reindent
17365 * MenuBackend.C (MenuItem): implement parsing of
17366 md_floatlistinsert and md_floatinsert.
17367 (expand::LastFiles): move initalizaton of iterators out of loop,
17368 avoid reevaluation.
17369 (expand::Documents): introduce typdedef vector<string> Strings,
17371 (expand::ExportFormats): introduce typedef vector<Format const *>
17372 Formats, and use it.
17373 (expand): implement FloatListInsert and FloatInsert.
17375 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
17376 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
17377 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
17379 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
17381 (Dispatch::LFUN_FLOAT_LIST): implement
17383 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
17385 * LaTeX.C (run): Fix problem with --export code.
17387 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
17389 * BufferView.[Ch] (workarea): removed.
17390 (getClipboard) new method; wrapper for workarea()->getClipboard()
17392 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
17395 * WorkArea.h (width, height, xpos, ypos): These methods all
17396 returned the dimensions of the work_area sub-area of WorkArea,
17397 resulting in a position error if the WorkArea were resized. Now
17398 return the dimensions of the entire WorkArea.
17400 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
17402 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17404 * LaTeX.C (deplog): correct the syntax of regex reg1
17406 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
17408 * undo.C: remove !NEW_INSETS cruft
17410 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
17412 * text2.C: remove !NEW_INSETS cruft
17414 * text.C: remove !NEW_INSETS cruft
17416 * tabular.C: remove !NEW_INSETS cruft
17418 * spellchecker.C: remove !NEW_INSETS cruft
17420 * lyxtext.h: remove !NEW_INSETS cruft
17422 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
17424 * lyxfunc.C: remove !NEW_INSETS cruft
17426 * lyxfind.C: remove !NEW_INSETS cruft
17428 * lyx_cb.C: remove !NEW_INSETS cruft
17430 * figureForm.C: remove !NEW_INSETS cruft
17432 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
17434 * buffer.[Ch]: remove !NEW_INSETS cruft
17436 * ToolbarDefaults.C: remove !NEW_INSETS cruft
17438 * CutAndPaste.C: remove !NEW_INSETS cruft
17440 * BufferView_pimpl.C: remove !NEW_INSETS cruft
17442 * BufferView2.C: remove !NEW_INSETS cruft
17444 * BufferView.h: remove !NEW_INSETS cruft
17446 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17448 * Lsstream.h: include LString.h before the sstream headers to
17449 fix problem with gcc 2.95.3 and lyxstring
17451 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17453 * lyx_main.C: add using directives when needed for C functions
17454 declared in std:: namespace.
17456 2001-04-27 Juergen Vigna <jug@sad.it>
17458 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
17459 (SetHeightOfRow): comment out the update call should not be needed!
17461 2001-04-13 Juergen Vigna <jug@sad.it>
17463 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
17464 (LyXTabular): tried to minimize operator= operations (and realized
17465 hopfully Lars wish).
17467 2001-04-27 Juergen Vigna <jug@sad.it>
17469 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
17471 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
17473 * lyxfunc.C (Dispatch): hack to make listof algorithm work
17475 * buffer.C (readInset): hack to make listof algorithm work
17477 * BufferView_pimpl.C: hack to make listof algorithm work
17479 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
17481 * LyXAction.C: removed all !NEW_INSETS cruft
17482 (init): moved lfun_item in method
17484 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
17486 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
17488 * BufferView2.C (theLockingInset): white space.
17490 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
17492 * minibuffer.C: include <iostream>
17494 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
17496 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
17498 * commandtags.h: add LFUN_TRANSPOSE_CHARS
17500 * text.[Ch] (TransposeChars): new method
17502 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
17504 * call message directly through LyXView instead of through LyXFunc
17505 * BufferView2.C: adjust
17506 * BufferView_pimpl.C: adjust
17507 * FontLoader.C: adjust
17509 * bufferview_funcs.C: adjust
17510 * converter.C: adjust
17511 * figureForm.C: adjust
17512 * importer.C: adjust
17514 * lyx_gui_misc.C: adjust
17515 * lyxfunc.C: adjust
17518 + more files in subdirs
17520 * lyxparagraph.h (size): move up int file
17523 * adjust all uses of Assert to lyx::Assert.
17525 * BufferView2.C (ChangeCitationsIfUnique): adjust for
17526 lyxfunctional in namespace lyx
17527 * layout.C (hasLayout): ditto
17530 (delete_layout): ditto
17531 (NumberOfClass): ditto
17532 * converter.C (GetFormat): ditto
17537 * bufferlist.C (getFileNames): ditto
17538 (emergencyWriteAll): ditto
17541 * MenuBackend.C (hasSubmenu): ditto
17544 * BufferView_pimpl.C (getInsetByCode): ditto
17546 2001-04-18 Juergen Vigna <jug@sad.it>
17548 * vspace.C (asLatexString): fixed the 100% problem.
17550 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17552 * lyxfunc.C (Dispatch):
17554 * minibuffer.h: add a few std:: qualifiers
17556 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
17558 * minibuffer.[Ch]: reimplement so that commands is initiated and
17559 run from lyxfunc, simplified som handling, and made the completion
17560 and history code for complete. wip.
17562 * lyxfunc.C (processKeySym): call message
17563 (miniDispatch): new temporary method
17564 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
17565 (LFUN_MESSAGE): implement
17566 (LFUN_MESSAGE_PUSH): implement
17567 (LFUN_MESSAGE_POP): implement
17568 (initMiniBuffer): the initial/defualt minibuffer message.
17570 * lyxfont.[Ch]: inline some more getters
17572 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17574 * lyx_gui_misc.[Ch] (WriteStatus): remove method
17576 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17577 (AutoSave): use LFUN_MESSAGE
17578 (Reconfigure): ditto
17580 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17582 * figureForm.C: use LFUN_MESSAGE
17584 * converter.C (runLaTeX): use LFUN_MESSAGE
17586 * bufferview_funcs.C: use LFUN_MESSAGE
17588 (changeDepth): ditto
17590 * bufferparams.h: use boost::
17592 * bufferlist.h: inherit privately from noncopyable
17594 * bufferlist.C (loadLyXFile): remove some commented code.
17596 * buffer.C (runChktex): use LFUN_MESSAGE
17598 * ShareContainer.h: inherit privately from noncopyable
17600 * ParagraphParameters.[hC] (depth): inline it.
17602 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17604 (message): new method
17605 (messagePush): ditto
17606 (messagePop): ditto
17607 (show): init minibuffer
17608 (showState): direct call
17610 * LaTeX.[Ch]: inherit privately from noncopyable
17611 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17612 instead of WriteStatus.
17614 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17616 * BufferView_pimpl.C (buffer): don't init minibuffer
17617 (workAreaButtonPress): use LFUN_MESSAGE
17618 (workAreaButtonRelease): ditto
17619 (savePosition): ditto
17620 (restorePosition): ditto
17621 (MenuInsertLyXFile): ditto
17622 (workAreaExpose): don't init minibuffer
17623 (update): remove commented code, simplify
17625 * BufferView2.C (openStuff): use LFUN_MESSAGE
17626 (toggleFloat): ditto
17629 (copyEnvironment): ditto
17630 (pasteEnvironment): ditto
17635 (updateInset): remove some commented code
17637 * lastfiles.h: inherit privately from noncopyable
17640 * lyx_main.h: ditto
17642 * lyxlex_pimpl.h: ditto
17644 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17645 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17646 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17648 * LyXAction.h: inherit privately from noncopyable, add methods
17649 func_begin, func_end, returning iterators to the func map.
17651 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17652 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17653 (func_begin): new method
17654 (func_end): new method
17656 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17658 (copySelection): ditto
17659 (pasteSelection): ditto
17661 * BufferView.C: whitespace change
17662 * BufferView.h: inherit privately from noncopyable
17664 2001-04-16 Allan Rae <rae@lyx.org>
17666 * tabular-old.C (l_getline):
17667 * spellchecker.C (sc_check_word):
17668 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17669 an unrecognised preprocessor directive. So ensure they're wrapped.
17671 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
17673 * src/exporter.C (Export): Give an error message when path to file
17676 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
17678 * LaTeX.C (deplog): Always check that foundfile exists.
17680 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17683 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17685 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
17687 * tabular.[Ch] (getLabelList): implement new method
17689 * minibuffer.h: comment ouf setTiimer
17691 * minibuffer.C (ExecutingCB): constify res
17692 (peek_event): constify s
17693 (Set): constify ntext
17694 (Init): constify nicename
17696 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17698 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17699 (savePosition): use two params to Minibuffer::Set
17700 (restorePosition): ditto
17702 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17704 * lyx_main.C: include language.h
17706 * Makefile.am (lyx_main.o): add language.h
17708 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17714 * CutAndPaste.C: include gettext.h
17716 * lyxfont.h: remove old hack with ON and OFF.
17719 * lyxfont.h: do not include language.h...
17724 * bufferview_funcs.C:
17730 * paragraph.C: ... but do it here instead
17732 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
17734 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17736 * tabular.C: small reformat
17738 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17741 (BreakParagraph): ditto
17742 (SetOnlyLayout): ditto
17745 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17748 * lastfiles.C: removed most using decl, add std:: where needed
17750 * buffer.C: ws changes
17752 * MenuBackend.C (class compare_format): put into anon namespace
17753 (expand): constify label, names, action, action2
17756 * text.C (SingleWidth): constify font
17757 (IsBoundary): constify rtl2
17758 (GetVisibleRow): constify ww
17760 * LaTeX.C (deplog): constify logfile
17762 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17764 (workAreaExpose): constify widthChange, heightChange
17766 * lyxrow.C (par): moved
17769 * lyxrow.h: as inlines here
17771 * lyxfont.h (shape): moved from lyxfont.C
17772 (emph): moved from lyxfont.C
17774 * lyxfont.C (LyXFont): use initialization list for all
17776 (shape): move to lyxfont.h as inline
17777 (emph): move to lyxfont.h as inline
17780 2001-04-04 Juergen Vigna <jug@sad.it>
17782 * vspace.C: had to include stdio.h for use of sscanf
17784 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
17787 * BufferView_pimpl.h: remove xforms cruft. Both classes are
17788 independent of xforms.
17790 2001-04-02 Juergen Vigna <jug@sad.it>
17792 * spellchecker.C: fixed namespace placing!
17794 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
17796 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17797 the LyXParagraph * is 0.
17799 2001-03-29 Juergen Vigna <jug@sad.it>
17801 * vspace.C: added support for %, c%, p%, l%.
17802 (stringFromUnit): added helper function.
17803 (asLatexString): changed to give right results for the %-values.
17805 * buffer.C: convert the widthp in a width%.
17807 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
17809 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17812 * figureForm.[Ch]: stripped the FD_from_figure manipulation
17813 code out of lux_cb.[Ch], ready for its (imminent?) removal.
17815 * lyx_cb.[Ch]: see above.
17817 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17821 * lyx.[Ch]: replaced by figure_form.[Ch].
17825 * lyxfunc.C: changed headers associated with above changes.
17827 2001-03-27 Juergen Vigna <jug@sad.it>
17829 * BufferView_pimpl.C: set the temporary cursor right!
17831 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
17833 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17835 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
17837 * LString.h: removed "using std::getline"!
17839 * BufferView_pimpl.C (Dispatch): changes due to changes in
17840 InsetInclude::Params.
17842 * buffer.C (tag_name): removed redundant break statements as they were
17843 producing lots of warnings with my compiler.
17845 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17847 * LString.h: add "using std::getline" when using the real <string>.
17849 2001-03-23 Jos�Ab�io Matos <jamatos@fep.up.pt>
17851 * buffer.C: removed bitset usage.
17852 PAR_TAG moved to an anonymous name space.
17853 (tag_name): new funtion, also in the anonymous namespace.
17854 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17855 (makeDocBookFile): clean code. Completed transition from string arrays
17857 (SimpleDocBookOnePar): code clean.
17859 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17861 * tabular.C: add some comments.
17863 2001-03-22 Juergen Vigna <jug@sad.it>
17865 * buffer.C (parseSingleLyXformat2Token): redone the minipage
17866 compatibility read a bit and fixed bug with minipage in different
17869 2001-03-21 Jos�Ab�io Matos <jamatos@fep.up.pt>
17871 * buffer.C (pop_tag): removed.
17872 (push_tag): removed.
17873 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17874 array replaced with vector. Added support for CDATA sections.
17875 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17877 (makeDocBookFile): XML conformant declaration of CDATA section,
17878 fixed bug related to <emphasis> in the first paragraph char.
17879 (sgmlOpenTag): exclude empty tags.
17880 (sgmlCloseTag): ditto.
17882 * buffer.h (pop_tag): removed.
17883 (push_tag): removed.
17885 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
17887 * language.h (Languages): added size_type and size().
17889 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17891 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17892 response on compability reading of minipages. One probliem is that
17893 the old usage of minipages was flertydig
17895 * several files here and in subdirs: don't use static at file
17896 scope use anon namespaces instead.
17898 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
17900 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17901 LaTeX output. This is necessary for Literate document
17904 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17906 * buffer.C: insert hfill when needed.
17908 * tabular.C (l_getline): use string::erase, small whitespace change.
17910 * BufferView_pimpl.C: try the anon namespace.
17911 * WorkArea.C: ditto
17913 2001-03-16 Juergen Vigna <jug@sad.it>
17915 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17916 otherwise it won't open options-dialogs.
17918 * buffer.C: honor pextraWidth(p) on converting minipages.
17920 * tabular.C (l_getline): changed the functions to strip trailing \r.
17922 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
17924 * BufferView_pimpl.C:
17925 * minibuffer..C: added "using SigC::slot" declaration.
17927 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17929 * lyxlex_pimpl.h: noncopyable is in namespace boost.
17935 * paragraph.C: ditto
17937 * lyxtext.h: NO_PEXTRA
17939 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17941 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17942 * ParameterStruct.h: ditto
17943 * ParagraphParameters.h: ditto
17944 * lyxparagraph.h: ditto
17946 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17948 * buffer.C: add compability for minipage alignment.
17949 (latexParagraphs): remove unwanted pextra check.
17951 * several files: remove CXX_WORKING_NAMESPACES
17953 * buffer.C (pop_tag): tie is in namespace boost
17955 * BufferView.h: noncopyable is in namespace boost
17957 * lyx_main.h: ditto
17960 * lastfiles.h: ditto
17961 * bufferlist.h: ditto
17962 * ShareContainer.h: ditto
17964 * LyXAction.h: ditto
17967 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17969 * Merging changes from BRANCH_MVC back into HEAD.
17971 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17973 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
17975 * BufferView_pimpl.C: change from intl.C
17979 * Makefile.am: move combox.*
17985 * intl.C: remove dialog (covered by prefs)
17987 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17989 * lyxfunc.C (Dispatch): removed redundant break statement.
17991 2001-03-14 Juergen Vigna <jug@sad.it>
17993 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17995 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17997 * buffer.C: add hack to fix compability reading of minipages.
17999 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
18001 * buffer.C (getLists): Cleanup.
18003 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18005 * lyxfont.C (update): don't honor toggleall on font size.
18007 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
18011 * Makefile.am: moved to frontends/xforms/
18015 * BufferView_pimpl.C: changes for moved mathpanel
18017 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
18019 * gettext.h: fix gettext_init() in --disable-nls
18021 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18023 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
18025 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
18028 * lyx.h: strip external form
18030 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
18032 * BufferView_pimpl.C: add comment, destroySplash()
18034 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
18036 * BufferView_pimpl.C:
18040 * lyxfunc.C: use re-worked insetinclude
18042 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18044 * buffer.C: add using std::stringstream.
18046 * lyx_cb.C: readd using std::ios.
18048 * buffer.C: add using std::map.
18050 * BufferView_pimpl.C: add using std::vector.
18052 * ShareContainer.h: add std:: to swap.
18054 * buffer.h: add some typedefs
18055 * buffer.C (getLists): use them
18056 (getLists): renamed from getTocList.
18057 add a counter for the different float types and use it in the
18059 (getLists): use the same counter for the NEW_INSETS and the "non"
18062 * lyx_cb.h: remove unused items, includes, using etc.
18064 * ShareContainer.h: remove some commented code, add more comments
18065 and "documentation".
18067 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18069 * buffer.C (getTocList): make the list also when NEW_INSETS is
18072 * buffer.h: remove TocType
18074 * buffer.C (getTocList): change to return a map<string,
18075 vector<TocItem> >, implement for dynamic number of list.
18077 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
18078 * text2.C (PasteSelection): adjust
18079 * CutAndPaste.C (pasteSelection): adjust
18081 * FloatList.C (FloatList): update from the new_insets branch.
18082 * Floating.[Ch]: ditto
18083 * LaTeXFeatures.C: ditto
18085 * lyxlex_pimpl.C: ditto
18087 * paragraph.C (Last): remove when NEW_INSETS is defined.
18089 * other file: changes because of the above.
18091 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18093 * lyxparagraph.h: rename next to next_, previous to previous_,
18094 make them private for NEW_INSETS. Rename Next() to next(),
18095 Previous() to previous().
18097 * other files: changes because of the above.
18099 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
18102 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
18105 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18107 * main.C (main): pass lyx_localedir to gettext_init().
18109 * gettext.h: remove locale_init and gettext_init macros
18111 * gettext.C (locale_init): new function
18112 (gettext_init): new function
18114 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
18117 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
18119 * Moved credits to frontends:
18120 * credits.[Ch]: removed
18121 * credits_form.[Ch]: removed
18122 * lyx_gui_misc.C: remove credits stuff
18125 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18127 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
18129 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
18130 unneeded destructor.
18132 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
18133 a standalone pointer again.
18135 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
18137 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
18143 * ToolbarDefaults.C:
18152 * BufferView_pimpl.C: use new file dialog in GUII
18155 * lyx_cb.C: remove LayoutsCB to Toolbar
18157 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18159 * ShareContainer.h (get): add std:: qualifier
18161 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18163 * ShareContainer.h: define a proper ShareContainer::value_type
18164 type (and use typename to please compaq cxx)
18166 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18168 * lyxparagraph.h: move serveral local vars to
18169 ParameterStruct/ParagraphParameters., use ShareContainer in
18170 FontTable., make vars in FontTable private and add getter and
18173 * paragraph.C: changes because of the above.
18175 * lyxfont.h: remove copy constructor and copy assignment. (the
18176 default ones is ok), move number inside FontBits. move inlines to
18179 * lyxfont.C: add number to initializaton of statics, move several
18180 inlines here. constify several local vars. some whitespace
18181 cleanup. Dont hide outerscope variables.
18183 * Spacing.h: add two new constructors to match the set methods.
18185 * ShareContainer.h: new file, will perhaps be moved to support
18187 * ParameterStruct.h: new file
18189 * ParagraphParameters.h: new file
18191 * ParagraphParameters.C: new file
18193 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
18194 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
18196 * BufferView_pimpl.C: ParagraphParameter changes.
18197 * buffer.C: Likewise.
18198 * bufferview_funcs.C: Likewise.
18199 * text.C: Likewise.
18200 * text2.C: Likewise.
18202 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18204 * lyxfind.C (LyXReplace): do not redefine default argument in
18206 (IsStringInText): ditto
18207 (SearchForward): ditto
18208 (SearchBackward): ditto
18210 2001-03-06 Juergen Vigna <jug@sad.it>
18212 * lyxfind.C (IsStringInText): put parentes around expressions.
18214 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
18216 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
18218 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
18220 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
18222 * stl_string_fwd.h: add comment
18224 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
18227 * tabular.C: remove unused DocBook methods
18233 killed DO_USE_DEFAULT_LANGUAGE
18235 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18237 * lyx_gui.C: do not include language.h.
18239 * bufferview_funcs.C (ToggleAndShow): do not provide optional
18240 arguments in function implementation.
18242 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18244 * BufferView_pimpl.C: add <ctime>
18246 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18248 * BufferView_pimpl.C: add using std::find_if
18250 2001-02-27 José Matos <jamatos@fep.up.pt>
18252 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
18255 2001-02-11 José Matos <jamatos@fep.up.pt>
18257 * buffer.C (makeDocBookFile): command styles now have a parameter as
18258 "title" by default.
18260 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
18262 * layout_forms.[Ch]: removed
18263 * lyx_cb.[Ch]: out character
18264 * lyx_gui.C: out character
18265 * lyx_gui_misc.C: out character
18266 * bufferview_funcs.C: : out character,
18267 added toggleall as parameter in ToggleAndShow
18269 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
18271 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
18273 * text2.C (SetCurrentFont): Disable number property at boundary.
18275 2001-02-26 Juergen Vigna <jug@sad.it>
18277 * lyxfunc.C (getStatus): added a string argument override function so
18278 that this is correctly called from LyXFunc::Dispatch if it contains a
18279 do_not_use_argument which is used!
18280 (Dispatch): added check for "custom" export and call appropriate func.
18282 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
18284 * lyxrc.C: Add language_command_local, language_use_babel and
18285 language_global_options.
18287 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
18289 * buffer.C (makeLaTeXFile): Use language_use_babel and
18290 language_global_options.
18292 2001-02-23 Juergen Vigna <jug@sad.it>
18294 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
18295 which works with LyXText and putted it inside BufferView. Here now we
18296 only call for that part the BufferView::Dispatch() function.
18298 * BufferView.C (Dispatch): added.
18300 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
18301 functions which needs to use a LyXText over from LyXFunc.
18302 (MenuInsertLyXFile): added
18303 (getInsetByCode): added
18304 (moveCursorUpdate): added
18305 (static TEXT): added
18307 2001-02-22 Juergen Vigna <jug@sad.it>
18309 * BufferView_pimpl.C (update): call a status update to see if LyXText
18312 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18314 * vc-backend.C (revert): implement for CVS
18315 (getLog): implement for CVS
18317 2001-02-20 Juergen Vigna <jug@sad.it>
18319 * text2.C (ClearSelection): added BufferView param for inset_owner call
18321 * lyxfunc.C (TEXT): added this function and use it instead of
18322 directly owner->view()-text of getLyXText().
18324 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
18326 * src/layout_forms.C: out preamble
18327 * src/layout_forms.h: out preamble
18328 * src/lyx_cb.C: out preamble
18329 * src/lyx_cb.h: out preamble
18330 * src/lyx_gui.C: out preamble
18331 * src/lyx_gui_misc.C: out preamble
18332 * src/lyxfunc.C: connect with guii preamble
18334 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
18336 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
18338 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
18340 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
18341 whether to run bibtex.
18343 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
18345 * Makefile.am (lyx_SOURCES): Remove BackStack.h
18347 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
18349 * Makefile.am (lyx_SOURCES): removed bibforms.h
18351 * vspace.h: doxygen
18353 * text.C (GetVisibleRow): make several local vars const
18355 * tabular.C: small cleanup.
18357 * lyxserver.C (callback): use compare instead of strncmp
18359 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
18360 inlines to after class or to paragraph.C
18362 * lyxfont.h: remove friend operator!=
18364 * converter.h: move friend bool operator< to non friend and after
18367 * combox.h: small cleanup
18369 * buffer.h: doxygen, remove unused constructor, move inclas inlies
18370 to inlines after class def.
18372 * buffer.C (pop_tag): use string operations instead of strcmp
18374 * bmtable.c: doxygen, small cleanup
18376 * LaTeX.h: remove friend operator==
18378 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
18390 * BufferView_pimpl.C:
18391 * BufferView.[Ch]: remove cruft
18393 2001-02-14 Juergen Vigna <jug@sad.it>
18395 * lyxfunc.C: removed #if 0 unused code
18397 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
18399 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
18401 * text2.C (SetSelection): added a BufferView * parameter
18403 2001-02-13 Juergen Vigna <jug@sad.it>
18405 * lyxfunc.C (Dispatch): fixed protected blank problem.
18406 * BufferView2.C (protectedBlank): added LyxText * parameter.
18408 * tabular.C (AppendRow): forgot to set row_info of newly added row.
18409 (AppendColumn): same as above for column_info.
18411 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
18412 (moveCursorUpdate): use a LyXText param for support of InsetText.
18414 * BufferView_pimpl.C (doubleClick): added support for InsetText.
18415 (tripleClick): ditto
18417 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
18419 * BufferView_pimpl.C (update): added LyXText param to honor insets.
18421 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
18423 * text2.C (SetSelection): set correct update status if inset_owner
18424 (ToggleFree): ditto
18426 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
18428 * tabular.C: remove some commented code.
18430 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
18432 * BufferView_pimpl.C: call hideSplash()
18434 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
18437 * bibforms.h: remove
18440 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
18441 add LFUN_CHILD_CREATE
18443 * counters.h: fix tiny typo
18448 * lyx.C: move splash to frontends/xforms/
18450 * lyx_gui_misc.C: move Include and Bibform to frontends
18452 * lyxvc.h: clarify comment
18454 * vspace.C: tiny housekeeping
18456 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
18458 * text.C (PrepareToPrint): RTL Fix.
18460 * paragraph.C (GetUChar): New method.
18461 (String): Use GetUChar.
18463 * buffer.C (asciiParagraph): Use GetUChar.
18465 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
18467 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
18469 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
18472 * buffer.C: rename to getLogName(), handle
18473 build log / latex log nicely
18475 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18478 * MenuBackend.h: remove support for reference menuitem type.
18480 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
18482 * BufferView_pimpl.C: housekeeping
18483 * BufferView_pimpl.h:
18488 * minibuffer.h: move Timeout GUI-I
18490 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
18492 * lyxrc.C (read): Update converters data-structures.
18494 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
18496 * LaTeX.h (operator!=): add operator != for Aux_Info
18498 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
18500 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
18502 * LaTeXLog.C: deleted, useful code moved to Buffer
18505 * buffer.C: new function getLatexLogName()
18511 * lyxfunc.C: use frontends for LaTeX and VC logs
18513 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18515 * LaTeX.h: yet another std:: that Allan forgot.
18517 * Variables.C (set): renamed from isset(), because this clashes
18518 with some HP-UX macros (grr).
18520 2001-02-06 Allan Rae <rae@lyx.org>
18522 * LaTeX.h: Another bug fix. Missing std:: this time.
18524 2001-02-04 Allan Rae <rae@lyx.org>
18526 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
18527 floats problem. I've left it commented out because it's not quite
18528 correct. It should also test that the current object is a table or
18529 figure inset. But I haven't gotten around to figuring out how to do
18530 that. I *think* it'll be something like: "table" == inset.type()
18532 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
18535 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
18537 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
18538 all the citation/databases/styles in the auxilary file.
18539 (run): Rerun latex if there was a babel language error.
18541 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
18543 * text.C (Backspace): Preserve the font when changing newline char
18545 (BreakParagraph): If the cursor is before a space, delete the space.
18547 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
18549 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
18551 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
18552 new argument (code).
18553 (ChangeCitationsIfUnique): New method.
18555 * paragraph.C (GetPositionOfInset): Handle bibkey.
18557 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18559 * BufferView_pimpl.h: change type of Position::par_pos to
18560 LyXParagraph::size_type.
18562 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
18564 * BufferView_pimpl.C (savePosition, restorePosition): Write
18565 messages to minibuffer.
18567 2001-01-28 José Matos <jamatos@fep.up.pt>
18569 * buffer.C (makeDocBookFile): adds support for document language.
18570 A silly restriction on the name of LatexCommand types where removed.
18571 Added support for CDATA sections, allows to chars unescaped, used
18572 among others in code, to avoid escape < and >.
18574 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
18576 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18577 saved positions instrad of a stack. Furthermore, a position is
18578 stored using paragraph id/paragraph position.
18580 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18581 Remove LFUN_REF_BACK.
18583 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
18585 * converter.C (dvipdfm_options): New method.
18587 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
18589 * vspace.C (isValidLength): Fix for empty input string.
18591 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18593 * LyXAction.C (init): change description of LFUN_FIGURE to
18596 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18598 * LaTeX.C: add using directive
18600 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
18602 * MenuBackend.C (expand): Fix the sorting of the formats.
18604 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
18606 * lyx_main.C: tiny error message fix
18608 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18610 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18611 calling fl_initialize(). This fixes the problem with ',' as
18612 decimal separator in text files.
18614 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
18616 * trans.C (process): Fix the keymap bug.
18618 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
18620 * LaTeX.C (scanAuxFiles): New method. Provides support for
18621 multiple bibliographies (when using the bibtopic/bibunits pacakges).
18622 (scanLogFile) Scan for "run BibTeX" messages.
18624 * buffer.C (makeLaTeXFile): Do not load the ae package when using
18625 OT1 font encoding. Also, load the aecompl package if the ae
18628 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18630 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18632 * texrow.C (increasePos): turn two error messages into debug
18635 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
18637 * LaTeX.C (scanAux): Handle the \@input macro.
18638 (runBibTeX): Use scanAux().
18640 * language.C (latex_options_): New field.
18642 * LaTeXFeatures.C (getMacros): Add language macros.
18644 * buffer.C (makeLaTeXFile): Small fix.
18646 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18648 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18650 * text2.C: add a using directive.
18652 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
18657 * lyxfunc.C: kill LyXBell.
18659 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
18661 * text.C (IsBoundary): Remove the error message
18663 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18665 * lyxrc.C (setDefaults): Correct initialization value for
18668 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
18670 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18673 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18674 and GotoNextNote().
18676 * src/LyXAction.C: Added reference-next.
18678 * text.C (InsertChar): Use contains instead of strchr.
18680 * lyx_cb.C (MenuInsertLabel): Enable default value code.
18682 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
18684 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18685 alignment commands (when needed).
18687 * text.C (InsertChar): Add ':' to number separator chars.