1 2005-12-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3 * version.C.in: Use PACKAGE_VERSION instead of VERSION
5 2005-12-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
7 * tabular.C (toggleFixedWidth): Use default layout of text class
8 instead of hardcoded "Standard"
10 2005-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12 * lyxfunc.C (dispatch): do not call getStatus again to determine
13 whether a lfun is disabled (bug 2172).
15 2005-12-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
17 * cursor.C (macroModeClose): set the cursor inside the new math
18 atom if relevant (think \frac{}{}) (bug 2034)
20 2005-12-19 Martin Vermeer <martin.vermeer@hut.fi>
24 * text3.C (Delete, backspace): force update when merging paragraphs
26 2005-12-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
28 * BufferView.C (mouseSetCursor): clear the selection properly (bug
31 2005-12-08 Georg Baum <Georg.Baum@post.rwth-aachen.de>
33 * text.C (redoParagraph): honor inset->noFontChange()
34 * rowpainter.C (paintInset): ditto
36 2005-12-15 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
38 * lyx_main.C (priv_exec): don't initialize Math on startup
39 (initMath() has been moved to math_hullinset).
41 2005-12-12 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
43 * lyxrc.C: set default_papersize to PAPER_DEFAULT;
44 handle PAPER_DEFAULT in LyXRC::read and LyXRC::write (bug 2148).
45 * paper.h: dispose dead PAPER_PACKAGES enum.
47 2005-12-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
49 * Makefile.am (OTHERLIBS): add SOCKET_LIBS in case we compile
52 2005-12-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
54 * exporter.C (Export): Don't try to copy a file if it does not exist
57 2005-12-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
59 * text2.C (makeFontEntriesLayoutSpecific): remove.
62 * text.C (insertChar): remove bogus caching of fonts (did not do
65 * text2.C (LyXText): initialize current_font to ALL_INHERIT (was
68 2005-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
70 * rowpainter.C (paintFirst): fix centering of
71 LABEL_CENTERED_TOP_ENVIRONMENT.
73 2005-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
75 * BufferView.C (mouseSetCursor): new method. Calls
76 deleteEmptyParagraphMechanism if necessary.
78 * lyxtext.h: make deleteEmptyParagraphMechanism public.
80 * text3.C (dispatch/LFUN_MOUSE_PRESS): use
81 BufferView::mouseSetCursor (bug 2109).
82 (dispatch/LFUN_PASTE): remove #warning that is now irrelevant.
84 2005-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
86 * text3.C (dispatch/LFUN_INDEX_INSERT): when a selection is set,
87 do not remove it (this inset behaves differently from the others).
89 2005-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
93 * BufferView_pimpl.C (getStatus): it is only possible to insert a
96 * buffer.C (readDocument): remove pit argument and code releated
97 to it; set the inset owner correctly (unrelated, but useful).
98 (readFile): get rid of pit argument.
100 * CutAndPaste.C (pasteSelectionHelper): use a ParagraphList and a
101 textclass instead of a selection index.
102 (pasteParagraphList): new function.
103 (pasteSelection): make it a wrapper around pasteParagraphList.
105 * BufferView_pimpl.C (MenuInsertLyXFile): use
106 cap::pasteParagraphList to insert a file.
108 2005-11-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
110 * buffer_funcs.C (bufferErrors): prevent endless loop (bug 2121)
112 2005-11-17 Michael Gerz <michael.gerz@teststep.org>
114 * exporter.C: fix typo in text message
116 2005-11-28 Georg Baum <Georg.Baum@post.rwth-aachen.de>
118 * text2.C (setLayout): move recUndo call to other setLayout method
119 * tabular.C (toggleFixedWidth): new, handle cell width changes
120 * tabular.C (setColumnPWidth): move some code from insettabular.C here
121 and use toggleFixedWidth
122 * tabular.C (setMColumnPWidth): ditto
124 2005-11-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
126 * paragraph.C (asString): use new inset->textString method (fix
129 2005-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
131 * CutAndPaste.C (numberOfSelections): new helper function.
133 * lyxfunc.C (getStatus): remove support for LFUN_COPY and LFUN_CUT.
135 * text3.C (getStatus): move code for LFUN_CUT and LFUN_COPY from
136 LyXFunc::getStatus; implement LFUN_PASTE.
138 2005-11-17 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
140 * dociterator.[Ch]: new member realInset() that returns the cell
141 for tabulars and the inset for the rest (bug 1952).
142 * undo.C (textUndoOrRedo): use realInset when resetting insetOwner
145 2005-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
147 * text.C (leftMargin): honor the NextNoIndent tag in layouts.
149 2005-11-17 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
153 * text3.C: InsetBase::forceDefaultParagraphs now takes a cell as
156 2005-11-07 Martin Vermeer <martin.vermeer@hut.fi>
158 * text.C (redoParagraph): Fix bug 1966: cursor doesn't go to next
159 line after typing ctrl-enter
161 2005-11-10 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
163 * bufferview_funcs.C (coordOffset): fix the fix for bug 2094, as
164 math insets do not return a proper editable() state yet (bug 2124).
166 2005-11-07 Martin Vermeer <martin.vermeer@hut.fi>
168 * BufferView_pimpl.[Ch]: Fix bug 1814: better scroll behaviour for
169 docs containing very large paragraphs.
171 2005-11-07 Martin Vermeer <martin.vermeer@hut.fi>
173 * cursor.C (selectionBegin, selectionEnd):
174 * text.C (drawSelection): Fix bug 2115: assertion when anchor and
175 cursor at different depths.
177 2005-11-03 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
179 * bufferview_funcs.C (coordOffset): do not call cursorPos
180 for collapsed collapsables (fix bug 2094).
182 2005-11-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
184 * paragraph.C (fontSpan): make sure that the FontSpan does not
185 span across beginOfBody (bug 1947).
187 2005-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
189 * lyxlength.h: undefine macros that clash with solaris/x86 (bug 992)
191 2005-11-03 Michael Gerz <michael.gerz@teststep.org>
193 * messages.C: fix crash and localization on MinGW/Windows platform
195 2005-11-02 Angus Leeming <leeming@lyx.org>
198 * lyxtextclass.C: trivial fixes to some MSVS warnings.
200 2005-10-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
202 * text3.C (getStatus): re-enable disabled code. (bug 2081)
204 * BranchList.h (empty): constify.
206 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
208 * text3.C (getStatus):
209 * MenuBackend.C (expandBranches): take the branch list from the
210 master document (bug 2092).
212 * MenuBackend.C (expandBranches):
213 * bufferparams.C (writeFile): use BranchList type.
215 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
217 * text3.C (dispatch, getStatus):
218 * LyXAction.C (init):
219 * lfuns.h: get rid of LFUN_KEYMAP_TOGGLE
221 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
223 * toc.C (getTocList): skip paragraphs which toclevel is NOT_IN_TOC.
225 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
227 * text.C (insertChar): do not reset boundary (bug 2061)
229 2005-10-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
231 * dociterator.C (updateInsets): new method. Updates the inset_
232 cache of all the slices of the iterator.
234 * text2.C (deleteEmptyParagraphMechanism): compare also containing
235 insets when comparing pit/pos; pass the right cursor to
236 recordUndo; when a paragraph has been deleted, compare `old.top()' to
237 the right cursor slice of `cur'; use updateInsets on cur to make
238 sure that the inset caches are correct; general cleanup.
240 2005-10-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
242 * text3.C (dispatch): LFUN_NEXT_INSET_TOGGLE: first try to
243 dispatch LFUN_INSET_TOGGLE to inset at cursor, and then to
244 containg inset. If this does not work, the same command will be
245 sent to other insets down the queue by LCursor::dispatch. (bug 2066)
247 * lyxfunc.C (dispatch): make sure the cursor is correct when doing
250 2005-10-20 Georg Baum <Georg.Baum@post.rwth-aachen.de>
252 * lyxtextclass.C (Read): convert layout file if the format is wrong
253 * lyxtextclass.C (layout2layout): new, needed for the above
255 2005-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
257 * messages.C: do not forget to include <cerrno>.
259 2005-10-12 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
261 * dociterator.h (StableDocIterator): add access to pos().
262 * undo.C (samePar): new method to check if two
263 iterators are in the same paragraph
264 * undo.C (recordUndo): check for samePar instead of cell identity
265 (which includes pos() and is too strict) (fixes bug 2097)
267 2005-10-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
269 * text.C (setCursorFromCoordinates): return a bool telling whether
272 * text3.C (cursorPrevious): update if needed after
273 setCursorFromCoordinates (when dEPM triggered).
275 * text2.C (cursorDown, cursorUp): make sure to reset the anchor
276 (otherwise the anchor may be completely wrong and make dEPM assert).
278 2005-10-12 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
280 * buffer.C: version upgrade to 245.
281 * bufferparams.C: remove \quotes_times (bug 2090).
282 * text3.C (doDispatch): LFUN_QUOTE_INSERT has to output double
283 quotation marks as default.
285 2005-10-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
287 * CutAndPaste.C (nrOfParagraphs): remove (unused)
288 * CutAndPaste.C (cutSelection): Remove debug message
289 * CutAndPaste.C (cutSelection): Use the real cursor in mathed, record
290 undo information and only copy if this is a real cut
291 * CutAndPaste.C (pasteSelection): remove superflous cur.resetAnchor()
293 * CutAndPaste.C (pasteSelection): remove now superflous mathed warning
295 * CutAndPaste.C (eraseSelection): prevent cursor corruption
296 * CutAndPaste.C (grabAndEraseSelection, selDel): remove now
297 superflous cur.selection() setting
298 * CutAndPaste.[Ch] (grabSelection): take a const cursor
299 * cursor.C (selectionAsString): implement mathed case ((bug 2059)
301 2005-10-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
303 * text3.C (mathDispatch, dispatch): Dont' record undo steps that don't
306 2005-10-11 Martin Vermeer <martin.vermeer@hut.fi>
308 * BufferView_pimpl.C: comment layout change
310 2005-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
314 * lyxfunc.C: reimplement LFUN_INSERT_CITATION, which is needed
315 by bibliography managers (bug 2071).
317 2005-10-07 Martin Vermeer <martin.vermeer@hut.fi>
319 * BufferView_pimpl.C (update): choose arguments to update call so
320 that single-par update works most times
321 * text3.C (dispatch): carefully tune updating separately for
322 whole-screen and current-paragraph
323 * rowpainter.C (paintText): 1) replace painting by caching for
324 the two extra paragraphs, because we can;
325 2) suppress greying out of areas below/above drawn area in case of
327 * lyxfunc.C (dispatch): remove superfluous update
328 * LyXAction.[Ch]: introduce SingleParUpdate
330 2005-10-05 Angus Leeming <leeming@lyx.org>
332 * BufferView_pimpl.C (loadLyXFile): ensure that a pointer is
333 always initialised before use.
335 * text.C (setHeightOfRow): squash warning about comparison
336 of signed and unsigned types.
338 2005-10-03 Martin Vermeer <martin.vermeer@hut.fi>
340 * text.C (cursorX): two fixes involving RtL text drawing
342 2005-10-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
344 * cursor.C (erase): fix 'clever' UI hack. It was activated for all
345 items, not only large ones (part of bug 2057)
347 2005-10-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
349 * text3.C (dispatch): when invoking LFUN_MATH_MACRO with no type
350 argument, use "newcommand".
352 2005-09-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
354 * cursor.C (setSelection): do not open collapsable insets;
355 the insets do by themselves now (autoopen).
357 2005-09-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
359 * buffer.C: format is up to 244.
361 2005-09-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
363 * text.C (redoParagraph): fix calcultation of inset width wrt
364 leftMargin (bug 1957).
366 * text3.C (dispatch): leave inset to the right when hitting ESC
369 2005-09-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
374 * messages.C: include <boost/current_function.hpp>
376 2005-09-12 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
378 * lyxfunc.C (sendDispatchMessage): do not update menubar/toolbar
379 when command is internal. (bug 1941)
381 2005-09-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
383 * text2.C (cursorRight): do not honor boundary when at the end of
384 a paragraph. (bug 2010 again)
386 2005-09-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
388 * cursor.C (paste): do nothing if `data' is empty. (bug 2033)
390 2005-09-19 Martin Vermeer <martin.vermeer@hut.fi>
392 * rowpainter.C (paintText): fix RtL space width display bug (2029)
394 2005-09-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
396 * text2.C (setCursor): remove the unused 'boundary' parameter for
397 the CursorSlice version; adapt the LCursor version.
400 * paragraph_pimpl.C (markErased):
401 * cursor.C (bruteFind2, bruteFond3): fix warnings.
403 2005-09-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
405 * rowpainter.C (paintFirst): use a 'labeladdon' for TOP_* labels,
406 as is already done for "chapter".
408 2005-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
410 * lyxfunc.C (dispatch): LFUN_TEXTCLASS_APPLY: actually set the
411 textclass; do not record undo if nothing is changed.
413 2005-09-16 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
415 * text3.C (dispatch): recordUndo in LFUN_PASTESELECTION (#2011).
417 2005-09-14 Michael Gerz <michael.gerz@teststep.org>
419 * lyxfunc.C: update display after LFUN_ALL_INSETS_TOGGLE
421 2005-09-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
423 * BufferView_pimpl.C (setBuffer): when one wants to set the layout
424 combox, it is necessary to search for the topmost paragraph in the
425 cursor stack (bug 1926)
427 2005-09-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
429 * text2.C (cursorEnd, cursorRight): do not set boundary to true at
430 end of paragraph. (bug 2010)
432 2005-09-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
434 * text.C (leftMargin): check for inInset == 0
436 2005-09-10 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
438 * text.C (leftMargin): test for insetbase's new neverIndent()
439 bool instead of listing each and every inset that does not
440 wish par indendation.
442 2005-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
444 * buffer_funcs.C (setCounter): put the code to compute enum label
445 here (where it belongs).
447 * counters.C (enumLabel): move code to buffer_funcs.C.
449 2005-09-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
451 * outputparams.[Ch]: store local_font instead of local_language
452 * paragraph.C (simpleTeXOnePar): adapt to the change above
454 2005-09-08 Martin Vermeer <martin.vermeer@hut.fi>
457 * counters.[Ch]: clean up special code for Hebrew.
459 2005-09-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
461 * lyxfunc.C (lookupChange): fix code when cursor depth is greater
464 2005-09-08 Angus Leeming <leeming@lyx.org>
467 * lyxrc.C: correct grammar describing invocation of the
470 2005-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
472 * text.C (read): remove unused variable.
473 (readParToken): remove static Change variable (never good in
474 recursive settings...); add it as a parameter instead.
476 * paragraph_pimpl.C (acceptChange): make debug info conditional.
478 * metricsinfo.C (PainterInfo): add new member erased_.
480 * rowpainter.C (RowPainter): add erased_ member, initialized from
482 (paintInset): pass erased_ to Inset::draw.
484 * lyxfunc.C (lookupChange): new function. Tells whether change
485 tracking is disabled at a given postion.
486 (getStatus): disable some actions when in deleted text with change
489 2005-08-03 John Levon <levon@movementarian.org>
491 * tabular.C (appendColumn, setMultiColumn): adapt to change to
494 * paragraph_pimpl.C (markErased): add bool argument and handle it.
495 Also make sure to mark insets recursively.
496 (rejectChange, erase): be recursive
498 * paragraph.C (markErased): add bool argument.
499 2005-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
501 * lyxfind.C (findNextChange): tiny cleanup.
503 * BufferView_pimpl.C (trackChanges): avoid crash when stopping
504 change tracking with the cursor in an inset; make sure the first
505 change is not skipped.
507 2005-09-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
509 * CutAndPaste.[Ch]: new methods dirtyTabularStack and
510 tabularStackDirty to work around bug 1919 (tabular needs
511 to know whether its own cell paste buffer or the one of
513 * CutAndPaste.C: mark tabular_stack_ clean after copy.
515 2005-08-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
517 * text2.C (cursorEnd): check for empty text (fixes bug 1998)
519 2005-08-19 Lars Gullik Bjønnes <larsbj@gullik.net>
521 * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
522 use old deleteion algorithm when changetracking is on.
524 2005-08-18 Martin Vermeer <martin.vermeer@hut.fi>
526 * messages.C (get): add debug output.
528 2005-08-02 Martin Vermeer <martin.vermeer@hut.fi>
530 * text.C (cursorX): fix bug 1965: cursor movement at
531 line end broken in RtL.
532 (drawSelection): fix bug 1970: drawing of single-line
533 selection broken for RtL.
535 2005-07-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
539 * dociterator.h (clear, push_back, pop_back): change from
542 * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
543 and changed to just return the value of the item depth; take a
544 ParIterator as argument; take the itemdepth at outer nesting level
545 in account if necessary; cleanup and comment the code.
546 (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
547 and changed to just return true if reset is needed; take a
548 ParIterator as argument; cleanup and comment the code.
549 (setCounter): adapt to above changes.
551 2005-07-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
553 * text3.C (dispatch): make debug message optional
555 2005-08-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
557 * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
560 2005-08-02 Martin Vermeer <martin.vermeer@hut.fi>
562 * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
564 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
566 * text.C (insertChar):
567 * text2.C (deleteEmptyParagraphMechanism): take care whether
568 a blank has been deleted (in change tracking mode) (bug 1254).
570 2005-07-20 John Levon <levon@movementarian.org>
572 * text2.C (insertStringAsLines): remove old dubious code,
575 2005-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
577 * MenuBackend.C (expandToc): use Floating::listName() as title of
580 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
582 * toc.[Ch]: Do not use translatable strings (bug 1870).
584 2005-07-20 John Levon <levon@movementarian.org>
586 * tabular.C: fix 1748 - setting multicolumn adds
587 left line to the first cell
589 2005-07-19 Lars Gullik Bjønnes <larsbj@lyx.org>
592 * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
595 2005-07-18 Lars Gullik Bjønnes <larsbj@lyx.org>
597 * messages.C: supress some lyxerr messages
599 2005-07-18 Juergen Vigna <jug@lyx.org>
601 * text.C (drawSelection): honor boundary when asking for cursorX.
603 2005-07-17 José Matos <jamatos@fc.up.pt>
605 * tabular.C (recalculateMulticolumns): fix handling of one column
608 2005-07-17 Juergen Vigna <jug@lyx.org>
610 * text.C (Delete, backspace): fixed so that paragraph with the
611 same layout can be merged by Delete/Backspace.
613 2005-07-17 Michael Schmitt <michael.schmitt@teststep.org>
615 * text.C (readParToken): fix spelling.
617 2005-07-17 Martin Vermeer <martin.vermeer@hut.fi>
619 * text2.C: fix counter update for DEPM problem reported by
622 2005-07-17 Juergen Vigna <jug@lyx.org>
624 * BufferView_pimpl.C (setBuffer): save/restore the
625 cursor/selection when switching buffers
628 * buffer.C (saveCursor): add saveDocumentIterators to save the
629 cursor when switching buffer.
631 2005-07-17 Michael Schmitt <michqel.schmitt@teststep.org>
634 * buffer.C: clarify message
636 2005-07-17 Lars Gullik Bjønnes <larsbj@lyx.org>
638 * dociterator.C (DocIterator): fix initialization order
640 2005-07-17 Juergen Vigna <jug@lyx.org>
642 * text2.C (cursorHome):
643 * text.C (drawSelection, cursorX):
644 * dociterator.C (textRow): add boundary to getRow() call
646 * paragraph.C (getRow): implementation of below
648 * paragraph.h: add parameter boundary for getRow() function
650 2005-07-17 José Matos <jamatos@fc.up.pt>
654 * tex-strings.[Ch]: new file format, remove support for a4.sty,
655 a4wide.sty and a4widemargins.
657 2005-07-17 Juergen Vigna <jug@lyx.org>
659 * text2.C (cursorLeft): fix one of error
661 2005-07-17 Juergen Vigna <jug@lyx.org>
663 * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
665 more fixes for boundary handling
667 * text3.C (dispatch): don't reset cursor if boundary has changed
670 2005-07-16 Juergen Vigna <jug@lyx.org>
672 * text2.C (getColumnNearX): hopefully got it right now,
673 check if we are on column 0 for special case.
675 2005-07-16 Juergen Vigna <jug@lyx.org>
677 * text2.C (getColumnNearX): handle special case Newline Inset
679 * text.C (singleWidth): Just remove bogus check
681 2005-07-16 Michael Schmitt <michael.schmitt@teststep.org>
683 * funcrequest.C (split): avoid reading uninitialized char c
685 2005-07-16 José Matos <jamatos@fc.up.pt>
691 * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
692 single papersize variable.
694 2005-07-16 Juergen Vigna <jug@lyx.org>
696 * text3.C (dispatch): honor boundary when checking if a cursor
697 movement has been done
699 * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown)
700 (setCursor, setCursorIntern): fix cursor movement with boundary
702 2005-07-16 Juergen Vigna <jug@lyx.org>
704 * text.C (currentState): output the actual Boundary
706 2005-07-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
708 * factory.C (createInset): fix bad logic for tabular creation
710 2005-07-16 Lars Gullik Bjønnes <larsbj@lyx.org>
712 * lyx_main.C (init): change some reLyX reference to tex2lyx
714 2005-07-16 Juergen Vigna <jug@lyx.org>
716 * dociterator.C (DocIterator): initialize boundary
718 2005-07-16 Juergen Vigna <jug@lyx.org>
720 * text2.C (getColumnNearX): Consider rows without trailing blank.
722 2005-07-16 André Pönitz <poenitz@gmx.net>
724 * lyxfont.h: Change order of declarations to give the compiler
725 a better chance to inline things
727 * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
728 questions on unsaved docs for better scritability
730 2005-07-16 André Pönitz <poenitz@gmx.net>
732 * paragraph.h (getChar): remove asserts as the same kind of security
733 can be achieved by using a suitable standard library implementation
734 and the function was in the critical path (25.9% in profiler)
736 2005-07-16 Juergen Vigna <jug@lyx.org>
738 * cursor.C (bruteFind2):
739 * bufferview_funcs.C (coordOffset):
740 * text.C (cursorX,cursorY): Handle cursor position after last char
741 in row before a inset which uses a whole row.
743 2005-07-15 José Matos <jamatos@lyx.org>
745 * output_plaintext.[Ch] (writeFileAscii): control reference title
747 (asciiParagraph): noparbreak was already deal and was incorrectly
750 2005-07-15 Juergen Vigna <jug@lyx.org>
752 * lyxfunc.C (dispatch): save and restore the cursor after a
755 2005-07-15 Lars Gullik Bjønnes <lgb@tandberg.net>
757 * text.C (backspace): bug 806 for empty keepempty paragraphs we
758 change the layout to default before letting DEPM do its thing.
760 * paragraph_funcs.C (breakParagraph): dont reset the layout on
763 * text.C (setCursorFromCoordinates): add a debug statement
765 * text2.C (getColumnNearX): bug 1825 make sure that we don't
766 return a pos that is not on the row
768 * output_latex.C (TeXDeeper): get rid of potential dereferencing
769 of past the end iterator
771 2005-07-14 André Pönitz <poenitz@gmx.net>
773 * undo.C (recordUndoFullBuffer): implement undo for
776 2005-07-14 André Pönitz <poenitz@gmx.net>
778 * cursor.C (setSelection): open insets when selection is set there
779 to avoid crashs with cold coord cache
781 2005-07-14 André Pönitz <poenitz@gmx.net>
783 * trans_mgr.C (insert): move cursor to the right after inserting
786 2005-07-14 Lars Gullik Bjønnes <larsbj@lyx.org>
788 * BufferView_pimpl.C (update): dampen some of the debug blabbering
789 * factory.C (readInset): ditto
790 * text.C, text2.C: ditto
792 2005-06-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
794 * buffer.C: format incremented to 242. There is no file format per
795 se, but the "frenchb" language has been removed from lib/language
796 and has to be translated to "french" by lyx2lyx.
798 2005-07-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
800 * cursor_slice.h, dociterator.h: add some documentation
801 * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
803 2005-07-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
805 * text.C (leftMargin): do not add identation to display() style
806 insets, because they are always centered (bug 1293).
808 2005-07-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
810 * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
811 formatted_time methods in support/lyxtime.
813 2005-07-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
815 * toc.[Ch]: new method getGuiName, which is used by the frontends
816 to set the toc combo (fixes bug 1870). Make TOC string translatable.
818 2005-07-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
820 * dociterator.[Ch]: implement operator==(StableDocIterator const &,
821 StableDocIterator const &)
822 * undo.C (recordUndo): use the above instead of cell.size() comparison
823 (fixes bug 1808; instructed by Andr�.
825 2005-06-29 Martin Vermeer <martin.vermeer@hut.fi>
828 * dociterator.h: Fix the assert when copying rows/cols in math
830 2005-06-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
832 * BufferView_pimpl.C:
834 * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
836 * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
837 (findInset): new functions, refactored from goto Inset that return
838 the position of a certain inset without setting the buffer's cursor
840 (gotoInset): rewrite to call findInset and then set the cursor
843 2005-06-16 Angus Leeming <leeming@lyx.org>
845 * lyxrc.C (output, read): wrap all input and output of paths with
846 calls to os::internal_path and os::external_path, respectively.
847 (output): wrap bind_file inside quotes.
849 * format.C (view): enable the viewer to use the '$$s' placeholder.
851 2005-06-16 Georg Baum <Georg.Baum@post.rwth-aachen.de>
853 * LColor.[Ch] (getFromLaTeXName): new
855 2005-06-16 Martin Vermeer <martin.vermeer@hut.fi>
857 * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
859 2005-06-14 Angus Leeming <leeming@lyx.org>
861 * lyx_main.C (init): ensure that the LyX binary dir is the first
862 element in the PATH on non-POSIX builds.
864 2005-06-11 Georg Baum <Georg.Baum@post.rwth-aachen.de>
866 * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
868 2005-06-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
870 * rowpainter.C (paintInset, paintHebrewComposeChar)
871 (paintArabicComposeChar, paintChars): add a LyXFont argument.
872 (paintChars): use getFontSpan to reduce calls to getFont to a
873 minimum; use Paragraph::lookupChange instead of isXXXText.
874 (paintForeignMark): rename LyXFont argument.
875 (paintFromPos): pass a LyXFont object to the various paintXXX
878 * FontIterator.C (FontIterator, operator++): use
879 Paragraph::getFontSpan
881 * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
882 version that returns the font span as a pair.
884 2005-06-09 Angus Leeming <leeming@lyx.org>
886 * converter.C (convert): Don't forget "outfile = real_outfile" as
887 the final step in a conversion where the input and output file names
888 are the same. Otherwise, future conversion steps won't work...
890 2005-06-09 Angus Leeming <leeming@lyx.org>
892 * lyxsocket.C: remove stub code as it isn't needed by
893 MinGW/MinSYS anyway. Let's see if the MSVC people scream...
895 2005-06-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
897 * lyx_main.C (parse_execute): Fix last fix: is_gui = false
898 effectively disabled -x
900 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
902 * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
903 when it actually makes sense.
905 2005-06-06 Martin Vermeer <martin.vermeer@hut.fi>
907 * BufferView_pimpl.C: revert to showCursor in connection with
908 Lars's front-end stack
910 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
912 * text.C (redoParagraph): move cursor right after a bibitem
915 * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
917 2005-06-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
919 * buffer_funcs.C (bufferErrors): fix computation of the end of an
922 2005-05-31 Martin Vermeer <martin.vermeer@hut.fi>
924 * BufferView.[Ch] (update):
925 * BufferView_pimpl.[Ch] (update, metrics):
926 * dimension.h (operator==):
927 * lyxfunc.C (dispatch):
928 * metricsinfo.h (ViewMetricsInfo):
929 * rowpainter.C (paintText):
931 * text.C (redoParagraph):
932 * text3.C (dispatch): Make LyX only repaint current paragraph in
933 case of character insert --> speedup. Also fix cursor draw
936 2005-05-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
938 * bufferview_funcs.C (gotoInset): fix the wrap-around code to
939 avoid a crash (bug 1891)
941 2005-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
945 * text2.C (getStringToIndex): constify cur argument.
947 * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
948 argument has been given
949 (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
950 try to invoke LFUN_INSET_APPLY).
952 * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
953 if no inset was created by doInsertInset
954 (doInsertInset): return true if an inset has been inserted.
956 2005-05-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
958 * vspace.C (asGUIName): new method. A version of the space
959 suitable for showing on screen.
961 2005-05-20 Michael Schmitt <michael.schmitt@teststep.org>
964 * lyxrc.C: rename "ASCII" to "Plain Text"
966 2005-05-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
968 * buffer_funcs.C (expandLabel): take a Buffer as argument;
969 translate the labelstring.
970 (setCounter): translate labelstring as needed.
972 * output_docbook.C (makeCommand): fix expandLabel invokation
974 2005-05-14 Michael Schmitt <michael.schmitt@teststep.org>
976 * BufferView.C: fix dialog title
978 2005-05-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
980 * lyx_main.C (priv_exec): fix logic error with help from Angus
981 * lyx_main.C (parse_execute): set is_gui = false and remove now
982 obsolete comment about a segfault
984 2005-05-18 Angus Leeming <leeming@lyx.org>
986 * buffer.C (readFile): Quote all file names passed to lyx2lyx.
988 2005-05-12 Martin Vermeer <martin.vermeer@hut.fi>
990 * tabular.[hC]: added setCellInset to fix tabular paste.
992 2005-05-11 Lars Gullik Bjønnes <larsbj@gullik.net>
994 * buffer.C (save): check if destination is writable before trying
997 2005-05-11 Martin Vermeer <martin.vermeer@hut.fi>
999 * BufferView_pimpl.C (update): fix processEvents -caused update
1002 2005-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1004 * buffer_funcs.C (setCounter): fix test for numbering of
1007 * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
1008 depth correctly; use optional argument when it exists
1010 * lyxtextclass.C: remove unused MaxCounterTags enum
1011 (Read): compute min_toclevel_ and max_toclevel_ after reading class.
1012 (max_toclevel, min_toclevel): new methods.
1014 * MenuBackend.C (expandToc2): fix case where depth is smaller than
1015 the smallest depth in toc.
1017 * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
1018 layouts that should not appear in a table of contents.
1020 2005-05-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1022 * cursor.h (undispatched, noUpdate): add comments from Andr�
1023 2005-05-07 Michael Schmitt <michael.schmitt@teststep.org>
1027 * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
1029 2005-05-07 André Pönitz <poenitz@gmx.net>
1031 * cursor.[Ch] (leaveInset): new function
1033 2005-05-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1035 * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
1037 2005-05-04 Angus Leeming <leeming@lyx.org>
1039 * lyxfunc.C (getStatus): disable the spell checker dialog if
1040 none of USE_[AIP]SPELL are defined.
1042 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
1044 * tabular.C (setWidthOfCell): remove obsolete comment
1046 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
1048 * paragraph.C (bibitem):
1049 * buffer_funcs.C (setCounter):
1050 * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
1052 2005-05-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1054 * text3.C (getStatus): immediately return after setOnOff
1056 * rowpainter.C: fix drawing of appendix start
1058 2005-05-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1060 * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
1061 SwitchBetweenClasses and remove the unused return value.
1062 Handle character styles, too
1064 2005-05-03 Martin Vermeer <martin.vermeer@hut.fi>
1066 * factory.C (createInset): handle undefined character styles
1068 2005-05-02 Angus Leeming <leeming@lyx.org>
1070 * buffer.C: protect the #include of utime.h with a preprocessor
1073 2005-05-02 Angus Leeming <leeming@lyx.org>
1075 * lyx_cb.C: artificially define fork() on Windows as a no-op failing
1076 function so that auto-saving works, albeit in a blocking manner.
1078 * Makefile.am: make compilation of the client sub directory, of
1079 aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
1080 on conditionals set at configure time.
1082 * SpellBase.[Ch]: no longer an abstract base class. Instead,
1083 it can be compiled in its own right but has no-op functionality.
1085 * aspell.C, pspell.C: remove preprocessor guards. The files should
1086 be compiled only if the necessary functionality exists.
1088 * lyxserver.C, lyxsocket.C: disable on Windows.
1090 2005-05-01 Martin Vermeer <martin.vermeer@hut.fi>
1092 * text.C (leftMargin): Fix the parindent use bug (1764)
1095 2005-04-28 Michael Schmitt <michael.schmitt@teststep.org>
1097 * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
1100 2005-04-25 Angus Leeming <leeming@lyx.org>
1108 include <config.h> in .C files, not .h ones.
1110 protect headers inside preprocessor guards.
1112 2005-04-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1114 * FuncStatus.h (StatusCodes): document
1116 2005-04-21 André Pönitz <poenitz@gmx.net>
1118 * FuncStatus.h (enabled, onoff): document
1120 2005-04-19 Angus Leeming <leeming@lyx.org>
1122 * BufferView_pimpl.C (cursorToggle): no longer test whether
1123 any child processes have been reaped before calling
1124 handleCompletedProcesses().
1126 2005-04-19 Martin Vermeer <martin.vermeer@hut.fi>
1128 * text3.C (dispatch): fix, finally fix, the language problem in
1129 new lyxtexts, without disabling on-the-fly font changes (Helge's
1132 2005-04-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1134 * text3.C (dispatch): set cursor on double/triple click events
1137 2005-04-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1139 * lyxfunc.C (actOnUpdatedPrefs): avoid warning
1140 (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
1142 * rowpainter.C (paintFirst): simplify the code a little bit. In
1143 particular, remove the test for secnumdepth.
1144 * text.C (setHeightOfRow): only allocate space for chapter number
1145 when updateCounters provided an actual label, instead of looking
1146 at secnumdepth directly.
1148 * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
1150 * buffer_funcs.C (setCounter): only number LABEL_COUNTER
1151 paragraphs when secnumdepth is large enough or, for environments,
1152 when they are not the first in a sequence.
1154 2005-04-17 Angus Leeming <leeming@lyx.org>
1156 * buffer.C (makeLaTeXFile): replace code to manipulate a path
1157 containing space and '~' characters with a call to latex_path().
1159 2005-04-17 Angus Leeming <leeming@lyx.org>
1161 * converter.C (convert): protect all args of convertDefault.sh
1164 2005-04-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1166 * text3.C (dispatch): change the layout to "Caption" after inserting
1169 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
1171 * text3.C (dispatch): fix language problem in newly created
1172 textinsets (and main text) in non-english docs
1174 2005-04-13 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1176 * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
1177 * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
1178 * text3.C (getStatus): disable LFUN_INSET_MODIFY
1180 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
1184 * text2.C (getFont):
1185 * rowpainter.C (getFont): Fix metrics bug introduced by inset
1188 2005-04-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1190 * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
1191 output of \item arguments without trailing text.
1193 2005-04-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1195 * FontIterator.C (operator*): avoid a copy of the font.
1197 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
1199 * rowpainter.C (getFont): fix language bug from previous fix
1201 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
1203 * rowpainter.C (RowPainter, getFont): fix font inside inset
1206 2005-04-06 Martin Vermeer <martin.vermeer@hut.fi>
1208 * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
1209 preventing inserted font, deco, delim insets jumping to start of
1212 2005-03-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1214 * lyxfunc.C (dispatch): translate message before sending it to the
1217 2005-03-29 Angus Leeming <leeming@lyx.org>
1219 * lyx_main.C (priv_exec): call os::internal_path on each file passed
1220 to LyX on the command line.
1222 2005-03-25 Stephan Witt <stephan.witt@beusen.de>
1224 * vc-backend.C: use QuoteName to protect file names wherever
1227 2005-03-27 Martin Vermeer <martin.vermeer@hut.fi>
1230 * BranchList.h: fix bugs 1844,1845: document settings don't
1233 2005-03-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1235 * lyxrc.C (setDefaults, read, output, getDescription): add support
1236 for tex_allows_spaces.
1238 * exporter.C (Export): allows files in directory containing spaces
1239 if tex_allows_spaces is true.
1241 * buffer.C (makeLaTeXFile): if the document path contains spaces,
1242 output it in double quotes.
1244 2005-03-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1246 * rowpainter.C: use default text height for drawing change tracker
1249 2005-03-21 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1251 * lyx_main.C: fix binding of tabulator key (especially S-Tab).
1253 2005-03-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1255 * lyx_main.C (queryUserLyXDir): fix logic when LyX support
1256 directory is missing.
1258 2005-03-11 Martin Vermeer <martin.vermeer@hut.fi>
1260 * text2.C: fixed the fix, extended to other case.
1262 2005-03-08 Martin Vermeer <martin.vermeer@hut.fi>
1264 * text2.C: fix for cursor up/down stuck in math [bug 1792]
1266 2005-03-07 Alfredo Braunstein <abraunst@lyx.org>
1268 * text2.C (cursorUp): get rid of a crash
1269 * text.C (x2pos): add an assert
1271 2005-03-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1273 * lyxfunc.C (getStatus): fix warning when assertions are disabled
1277 * dociterator.C: include <boost/current_function.hpp>, which is
1278 needed when assertions are disabled.
1280 2005-03-05 Johnathan Burchill <jkerrb@users.sourceforge.net>
1282 * text2.C: fix for stuck cursor when traversing two
1283 consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
1285 2005-02-25 Andreas Vox <avox@arcor.de>
1287 * output_docbook.C (makeParagraph): suppress trailing newline
1288 after a run of paragraphs
1290 2005-02-28 Johnathan Burchill <jkerrb@users.sourceforge.net>
1292 * paragraph.C: fix for confused change tracker when pasting
1293 text that begins with a lineseparator. [bug 1827]
1294 (setChange(0, Change::INSERTED);)
1296 * paragraph_funcs.C: fix for lost changes on triple-paste
1297 in change tracking mode [bug 1827] (par.setChange()).
1299 2005-02-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1301 * text2.C (updateCounters, setCounter, expandLabel): move to
1304 * buffer_funcs.C (updateCounters): turn into a free standing
1305 function and add a buffer parameter. Remove dead code for tracking
1307 (setCounter): change into a free-standing function which gets a
1308 dociterator as argument. Use this iterator to fix captions in a
1309 simple way. When no float is found above the caption, use the
1310 labelstring of the caption layout as default.
1312 * text.C (breakParagraph, backspace):
1313 * text2.C (init, setLayout, changeDepth):
1314 * text3.C (dispatch):
1315 * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
1318 * dociterator.C (forwardPar): make it much faster by calling
1319 forwardPos() only when really necessary.
1321 * output_docbook.C (makeCommand): adapt to expandLabel move.
1323 * cursor.C: remove unused variable
1325 2005-02-24 Johnathan Burchill <jkerrb@users.sourceforge.net>
1327 * paragraph_funcs.C: fix crash when pasting insets in change
1328 tracking mode [bug 1277] (honour change type in moveItem).
1330 2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1332 * LaTeX.C (scanLogFile): recognize pdfTeX warnings
1334 2005-02-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1336 * BufferView.C (setCursor): change to use a DocIterator.
1337 (gotoLabel): use BufferView::setCursor (other part of bug 781).
1338 (putSelectionAt): adapt to BufferView::setCursor change.
1340 * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
1341 moved here from LyXText and rewritten to use proper cursor
1342 methods. Fixes bug 1787, 616 and 835.
1344 * BufferView_pimpl.C (restorePosition): set the cursor correctly
1345 when inside an inset (part of bug 781).
1346 (dispatch): adapt to change of BufferView::setCursor.
1347 (getStatus, dispatch): handle LFUN_GOTOERROR,
1348 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1350 * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
1351 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1352 * text3.C (gotoNextInset, gotoInset): removed.
1354 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1356 * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
1358 2005-02-15 Angus Leeming <leeming@lyx.org>
1360 * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
1361 can be used meaningfully in a comparison.
1363 2005-02-13 André Pönitz <poenitz@gmx.net>
1365 * bufferview_funcs.C (coordOffset): improve cursor drawing
1367 2005-02-13 André Pönitz <poenitz@gmx.net>
1369 * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
1370 * Cursor.C (dispatch): use fixIfBroken
1371 * lyxfunc.C (getStatus): use fixIfBroken
1373 2005-02-15 Angus Leeming <leeming@lyx.org>
1375 * lyx_main.C (error_handler):
1377 * lyxrc.C (setDefaults):
1379 #include "environment.h".
1381 * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
1383 2005-02-15 Angus Leeming <leeming@lyx.org>
1385 * lyxserver.C (startPipe): squash MSVC warning "local variable
1386 'fd' used without having been initialized".
1388 2005-02-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1390 * BufferView_pimpl.C: revert accidental commit.
1392 2005-02-14 André Pönitz <poenitz@gmx.net>
1394 * dociterator.[Ch]: new member forwardPosNoDescent(),
1395 which doesn't enter nested insets.
1396 * text2.C (setFont): use forwardPosNoDescent() instead
1397 of ForwardPos() (fixes crash on font change).
1399 2005-02-13 Angus Leeming <leeming@lyx.org>
1401 * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
1402 only if lyxrc.path_prefix is not empty.
1404 2005-02-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1406 * bufferparams.C (readGraphicsDriver): prevent crash
1408 2005-02-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1410 * text2.C (setCounter): check for inInset() == 0
1412 2005-02-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1414 * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
1415 but use update() to get correct screen display; use convert
1416 instead of istringstream.
1417 (getStatus): handle LFUN_GOTO_PARAGRAPH
1419 * lyxfunc.C (dispatch, getStatus): do not handle
1420 LFUN_GOTO_PARAGRAPH here.
1422 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1424 * text3.C (dispatch): size() -> depth()
1426 * text2.C: remove some debug output
1428 * paragraph.C: ws changes only
1430 * lyxfunc.C (getStatus): size() -> depth()
1432 * dociterator.h (clear, push_back, pop_back, internalData,
1433 operator[], resize, empty): new functions
1434 Make StableDocIterator and operator== be friends. Don't inherit
1435 from std::vector use a privat class variable slices_ instead.
1438 * dociterator.C: update because of not inheriting from std::vector
1439 anymore. Call explictly to slices_ instead. Use depth() instead of
1440 size() and top() instead of back()
1442 * cursor.C: chagne size() -> depth and back() -> top(). Also
1443 remove some direct operator[](i) calls in favour of foo[i]
1444 (getFont): remove some dead code
1446 * bufferview_funcs.C (coordOffset): size() -> depth()
1448 * buffer.C: ws changes only
1450 * CutAndPaste.C (eraseSelection): back() -> top()
1452 * BufferView_pimpl.C (selectionRequested): back() -> top()
1454 * BufferView.C (setCursor): size() -> depth()
1456 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1458 * text3.C (cursorPrevious): return true if depm changed something
1460 (dispatch): rename sl to oldTopSlice, remove moving use the new
1461 NoUpdate func attrib instead. Make sure that needsUpdate is set
1462 for function that have NoUpdate, but where depm might have changed
1465 * text2.C (cursorLeft): make us return true if depm changed
1467 (cursorRight): ditto
1468 (cursorUpParagraph): ditto
1469 (curosrDownParagraph): ditto
1470 (cursorUp, cursorDown): ditto, make sure to read comments in code
1471 (deleteEmptyParagraphMechanism): remove an assert, also return
1472 true if just a single char was deleted.
1474 * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
1475 cursor that we modify, to avoid modifying an active cursor before
1476 we call setCursor. This allows depm to run. Also return true if
1477 depm deleted something.
1479 * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
1480 cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
1481 cursorDownParagraph, cursorPrevious and cursorNext, return true if
1482 something was changed in the buffer because of them (ie. depm run)
1484 * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
1485 debug messages. Make update by default be false. Make sure that
1486 the result of update is retained throught several calls down to
1489 * LyXAction.h: add a new func_attrib: NoUpdate
1491 * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
1492 LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
1493 LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
1495 (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
1497 2005-02-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1499 * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
1500 bv_->owner(), bv_->buffer() by direct references to the private
1502 (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
1503 (getStatus): isSavedPosition() is in BufferView::Pimpl.
1504 (fitCursor): center() is in BufferView::Pimpl.
1505 (getStatus, trackChanges, dispatch): no need for a temporary buf
1507 (fitCursor, workAreaDispatch): use workarea().workheight()
1509 2005-02-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1511 * CutAndPaste.C (pasteSelectionHelper): fix a crash
1513 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1515 * buffer.C: format up to 241.
1516 * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
1517 break if pasting into ERT
1518 * lyxfunc.C (getStatus): suppress mathpanel and
1519 LFUN_DIALOG_SHOW_NEW_INSET in ERT
1521 2005-02-01 Angus Leeming <leeming@lyx.org>
1523 * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1525 2005-02-01 Angus Leeming <leeming@lyx.org>
1527 * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1528 calling fs::is_directory().
1530 2005-01-31 Angus Leeming <leeming@lyx.org>
1532 * lyx_main.C (priv_exec): specify explicitly the relative location
1533 of the top level build directory when run in-place.
1535 2005-01-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1537 * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1538 LyXText containing the cursor, not the top-level one.
1540 * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1542 (insertStringAsLines): rename par to pit; use temporary variable
1543 par to hold a Paragraph; do not store par.layout() in a variable,
1544 since the pointer may die when breaking paragraphs; pass pars to
1545 breakParagraph() instead of Buffer::paragraphs().
1547 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1549 * lyxlex_pimpl.h: #include <fstream>.
1551 * BufferView.[Ch] (getLyXText): add a const version.
1553 * BufferView_pimpl.C: add debug aids.
1558 * paragraph_funcs.h: add commentary explaining what the class does.
1561 * coordcache.[Ch]: add lots of commentary.
1562 (startUpdating, doneUpdating): debug aids.
1563 (arrays, insets, parPos, getParPos): accessors to private data.
1565 * cursor_slice.[Ch] (text): add a const version.
1566 * dociterator.[Ch] (text, innerText): add const versions.
1568 * lyxtext.h (breakParagraph): change the keep_layout arg to a
1571 * paragraph.C (getRow, pos2ros): add asserts.
1573 * paragraph.h: add commentary. Lots of.
1575 * paragraph.[Ch] (metrucs, draw): removed.
1578 * rowpainter.[Ch]: const-correct changes.
1580 * text.C: various obvious clean-ups. Removal of ancient cruft.
1583 2005-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
1585 * vc-backend.C (find_file): rewrite to use boost.filesystem
1588 * main.C (main): set default name check for boost.filesystem to
1591 * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1594 (actOnUpdatedPrefs): ditto
1596 * lyx_main.C (init): rewrite to use boost.filesystem
1597 (queryUserLyXDir): ditto
1599 * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1600 (getContentsOfAsciiFile): ditto
1602 * lastfiles.C (readFile): rewrite to use boost.filesystem
1604 * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1606 * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1607 (loadLyXFile): ditto
1609 * buffer.C (Buffer): adjust for destroydir
1610 (getLogName): rewrite to use boost.filesystem
1611 (setFileName): ditto
1612 (save): use fs::copy_file (from fs_extras)
1614 * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1616 * LaTeX.C (run): rewrite to use boost.filesystem
1617 (scanAuxFiles): ditto
1618 (handleFoundFile): ditto
1620 2005-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1622 * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1624 * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1626 2005-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1628 * lyxlayout.[Ch]: change some vars from float to double
1630 * buffer.C (readFile): make a local var const
1632 * Several files: use convert<> instead of atoi,strToXXX and friends
1634 2005-01-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1636 * LaTeXFeatures.[Ch]: Add a static list packages_ that
1637 holds the contents of packages.lst. New functions getAvailable
1638 and isAvailable to parse and check that list, resp.
1642 * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1644 * bufferparams.[Ch]: new param output_changes.
1646 * Buffer.C: increase file format to 240.
1647 Use output_changes and isVailable.
1651 * paragraph_pimpl.C: Use output_changes and isVailable.
1653 2005-01-23 Angus Leeming <leeming@lyx.org>
1655 * output_latex.C: #include "insetbibitem.h", rather than
1656 forward declare function bibitemWidest.
1658 2005-01-21 Andreas Vox <vox@isp.uni-luebeck.de>
1660 * lyx_main.C (init): make it compile on the Mac.
1662 2005-01-20 Angus Leeming <leeming@lyx.org>
1664 * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1665 (setLyXMisc): (char string literal) != (char string literal) is
1666 performing a comparison on the addresses. Convert one operand
1667 explicitly to string to guarantee expected behaviour.
1670 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1673 * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1675 * output_plaintext.C: remove unneeded #include gzstream.h.
1677 2005-01-20 Angus Leeming <leeming@lyx.org>
1679 * SpellBase.h: rename some of the elements of the Result enum.
1686 * pspell.C (check): ditto
1688 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1690 * buffer.C: add #include <fstream>.
1692 * lyx_main.C (init): Compile fix.
1694 * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1696 2005-01-20 Angus Leeming <leeming@lyx.org>
1698 * mover.h: change commentary to reflect the changed meaning of
1699 the $$s placeholder.
1701 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1703 * output_linuxdoc.C (linuxdocParagraphs): silence warning
1705 * lyxfind.C (MatchString::operator()): remove bogus semicolon
1707 2005-01-20 Angus Leeming <leeming@lyx.org>
1709 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1710 printing diagnostic data by not dereferecing an iterator past the
1713 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1715 * buffer.C (readHeader): use "&&" rather than "and".
1717 * lyxserver.h (inPipeName, outPipeName): make these const.
1719 2005-01-19 Angus Leeming <leeming@lyx.org>
1721 * lyx_main.C (error_handler, init): protect SIGHUP with
1722 #ifdef SIGHUP guards.
1724 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1726 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1728 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1730 * text.C (setHeightOfRow): add a margin at the top and bottom of
1731 the document (bug 1761)
1733 2005-01-17 Angus Leeming <leeming@lyx.org>
1735 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1736 with "python ". Workaround for a brain-dead Windows.
1738 2005-01-16 Angus Leeming <leeming@lyx.org>
1740 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1741 for MacOSX and Windows to use prependEnvPath.
1742 Strip out the hard-coded block to add elements to the PATH for
1743 MacOSX and replace it with a call to prependEnvPath using the
1744 contents of LyXRC::path_prefix.
1745 (queryUserLyXDir): strip out the code to run reconfigure, instead
1746 returning a boolean indicating the necessity to do so.
1747 (reconfigureUserLyXDir): contains the code to reconfigure the
1748 user support directory. Is now called after the various LyXRC data
1749 files have been read.
1751 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1753 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1755 * converter.[Ch] (convert): take a new parameter try_default. Use
1756 a default converter (imagemagick) if try_default is true.
1758 2005-01-13 Angus Leeming <leeming@lyx.org>
1760 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1761 os::cygwin_path_fix.
1762 (write): output LyXRC::cygwin_path_fix as necessary.
1764 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
1767 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1769 2005-01-12 Angus Leeming <leeming@lyx.org>
1771 * lyx_main.C (init): set the PATH variable to include the
1772 directory containing the LyX binary when running on Mac or Windows.
1774 2005-01-12 Angus Leeming <leeming@lyx.org>
1776 * lyx_main.C (init): remove cruft that purports to set the locale
1777 dir. It doesn't and is not needed anyway.
1779 2005-01-10 Angus Leeming <leeming@lyx.org>
1781 * Makefile.am: remove the lyx_main.C special casing.
1783 * BufferView_pimpl.C:
1789 * messages.C: use support/package.h to provide the paths to the
1790 various directories used by LyX.
1792 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1794 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1795 layout if pasting into an empty paragraph)
1797 2005-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
1799 * tex-accent.C: add <string>
1801 2005-01-06 José Matos <jamatos@lyx.org>
1803 * ParagraphParameters.C (write): put every parameter in its own line.
1804 * paragraph.C (write): reduce number of consecutive empty lines exported.
1805 * buffer.C (LYX_FORMAT): increase file format to 239.
1807 2005-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1809 * everywhere: change support/tostr.h -> support/convert.h
1811 * tabular.C: make all write_attributes templates, tostr -> convert
1813 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1814 (emptyTag): and -> &&, and fix type for ret from getChar
1815 (getFirstWord): fix type for ret from getChar
1816 (onlyText): and -> &&
1817 (simpleDocBookOnePar): and not -> && !, fix type for ret from
1820 * toc.C (goTo, action):
1821 * text3.C (dispatch):
1822 * text.C (currentState):
1823 * tex-accent.C (DoAccent):
1826 * lyxfunc.C (menuNew):
1827 * lyxfinc.C (replace):
1828 * counters.C (laberItem):
1829 * bufferview_funcs.C (font2string):
1830 * bufferparams.C (writeFile):
1831 * buffer.C (readFile):
1833 * MenuBackend.C: tostr -> convert
1835 * LaTeX.C (runMessage): fix format
1836 (scanAuxFiles): tostr -> convert
1838 * BufferView_pimpl.C (savePosition): fix format
1839 (restorePosition): ditto
1842 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1844 * Spacing.[Ch]: New method getValueAsString().
1848 * ParagraphParameters.C:
1851 * text3.C: store/read spacing value as string.
1853 * rowpainter.C: change float value (spacing_val) to double.
1855 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1856 broken custom document spacing).
1858 2005-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
1860 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1861 namespace, also more use of temp references and const
1863 * cursor.[Ch] (getStatus): move to lyxfunc.C
1865 * bufferparams.C: reformat slightly
1867 * bufferview_funcs.C (font2string): constify arg
1873 * buffer_funcs.C: (many funcs): constify arg on function
1874 definitions, also make more local vars const, also add ASSERTS on
1877 * buffer.C (LYX_FORMAT): put const in correct place
1878 (many funcs): constify arg on function definitions, also make
1879 more local vars const
1881 * aspell_local.h: remove "struct" from typdef setup
1883 * aspell.C (check): make word_ok const
1884 (nextMiss): simplify slightly
1887 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1889 * lyxrc.[Ch]: store all float values as strings.
1890 use int (not float) for lyxrc.dpi.
1892 2005-01-04 Angus Leeming <leeming@lyx.org>
1894 * lyx_cb.C (Reconfigure):
1895 * lyx_main.C (queryUserLyXDir):
1896 to run the <system_lyxdir>/configure correctly on Windows, prefix
1897 the path to the script with "sh " when generating the string that
1898 is passed to system().
1900 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1902 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1904 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1906 * lyxlength.C (asLatexString): get rid of setprecision
1908 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1910 * text2.C (setLayout): remove unused variable endpit.
1911 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1913 * paragraph.C (onlyText): remove unused variable style.
1915 * cursor.C (bruteFind): remove unused variables beg and end.
1917 * Makefile.am (dist_noinset_DATA): not needed anymore
1919 * cheaders/*: remove.
1921 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1923 * text3.C: fix LFUN_MATH_MODE.
1925 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1927 * buffer_funcs.C (countWords): new function. Counts words between
1930 * BufferView_pimpl.C (getStatus, dispatch): handle
1933 * LyXAction.C (init):
1934 * lfuns.h: add LFUN_WORDS_COUNT.
1936 2004-12-19 Angus Leeming <leeming@lyx.org>
1938 * buffer.C (save): s/slashify_path/internal_path/.
1940 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1942 * lyxfind.C (findChange): do not search for end of pars, because
1943 the change tracker cannot handle this (fixes bug 1719).
1945 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
1947 * paragraph.[Ch] (autoBreakRows): remove
1949 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1951 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1952 avoid using the paragraph one
1954 * text2.C (LyXText, insertStringAsLines): adjust
1956 2004-12-16 Angus Leeming <leeming@lyx.org>
1960 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1962 2004-12-14 Angus Leeming <leeming@lyx.org>
1964 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1966 * bufferlist.C (emergencyWrite):
1967 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1970 2004-12-14 Angus Leeming <leeming@lyx.org>
1972 * main.C: (main): no longer pass pointers to os::init.
1974 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1976 * undo.C (textUndoOrRedo): simplify logic, fix a crash
1977 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1979 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1982 * text3.C: remove selection_possible global flag
1984 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1986 * text2.C (getSelectionSpan): remove
1987 (changeDepth, changeDepthAllowed): adjust
1989 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
1991 * Makefile.am (BOOST_LIBS): use boost variables
1993 2004-12-03 José Matos <jamatos@lyx.org>
1995 * buffer.C: format up to 238.
1997 2004-12-03 José Matos <jamatos@lyx.org>
1999 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
2001 2004-12-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2003 * cursor.C (goUpDown): remove call to idxUpDown2
2005 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2007 * tabular.[Ch]: use size_t-like types for cell, row and column
2010 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2012 * lyxfunc.C (getStatus): do not lose previous information when
2013 calling BufferView::getStatus; do not set a default "Command
2014 disabled" message at the beginning, but just before returning.
2016 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2018 * cursor.h (getStatus): add better comment from src/cursor.C
2020 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2022 * text3.C (getStatus): return false when the lfun is not handled
2024 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2026 * broken_headers.h: remove
2028 * Makefile.am (lyx_SOURCES): remove broken_headers.h
2030 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
2032 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
2033 offset_ref accessors
2035 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
2036 top_y_, merge fitcursor with update
2037 (updateScrollbar, scrollDocView, fitCursor, center, update): new
2039 (metrics): introduce
2040 (workAreaDispatch): adapt to new coord scheme
2041 (redoCurrentBuffer): remove
2043 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
2045 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
2048 * coordcache.[Ch]: add paragraph cache and helpers
2050 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
2053 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
2054 (targetX, setTargetX): introduce
2056 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
2057 baseline -> ascent, as the rest of lyx
2059 * lyxtext.h: remove redoParagraphs, updateParPositions,
2060 fullRebreak, redoParagraphInternal. move dist to anon namespace in
2061 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
2062 have ascent/descent (ascent is ascent of first par)
2064 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
2067 * paragraph.[Ch]: unify dimension handling with the rest of lyx
2069 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
2071 * pariterator.C: fix infinite loop introduced in par->pit renaming
2073 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
2074 in insets and LyXText, draw two off-screen paragraphs using
2075 NullPainter, and adapt to new coord scheme
2079 * text3.C: adapt lfun handlers to the new coord scheme, which
2080 means: there's only guaranteed coord information for onscreen pars
2081 plus one above and one below. This implies that one can do search
2082 from y coordinates in the range [-1,workHeight]
2084 2004-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2086 * rename a lot of InsetOld to InsetBase
2088 2004-11-25 Angus Leeming <leeming@lyx.org>
2090 * BufferView_pimpl.C:
2092 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
2094 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2096 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
2097 call BufferView::getStatus if LCursor::getStatus did nothing
2098 (setStatusMessage, getStatusMessage): removed.
2100 * FuncStatus.C (message): new methods. Used to provide an error
2101 message indicating why a command is disabled.
2102 (clear, |=, FuncStatus): update for message.
2104 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2106 * lyxfunc.C (dispatch): always call sendDispatchMessage
2108 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
2111 * BufferView_pimpl.C:
2116 * cursor_slice.[Ch]:
2119 * paragraph_funcs.C:
2125 * undo.C: par->pit renaming
2127 2004-11-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2129 * tabular.C (cellstruct): use initialization, store a shared_ptr
2130 to insettext instead of the insettext directly, adjust to fit.
2131 (operator=): new function
2132 (swap): new function
2133 (rowstruct): use initialization
2134 (columnstruct): use initialization
2135 (ltType): use initialization
2138 * lyxlength.h (swap): new function
2140 * LColor.[Ch] (operator=): use the common semantics
2142 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2144 * lyxfind.C (findNextChange): update the bufferview after setting
2147 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2149 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
2150 number of InsetOptArgs has already been inserted.
2152 * output_latex.C (latexOptArgInsets): new method. This outputs all
2153 the optarg insets, up to the limit defined in the layout file.
2154 (optArgInset): removed
2155 (TeXOnePar): call latexOptArgInsets; correctly update texrow
2157 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2159 * paragraph.C (isLetter): remove special spellchecker-related
2160 code; return true also for digits
2161 (isWord, isKomma): remove
2163 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
2164 * lyxfind.C (MatchString()): use isLetter instead of isWord
2166 2004-11-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2168 * pariterator.h (operatir=): comment out un-implemented member
2171 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
2174 2004-11-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2176 * lyxfont.h: include LColor.h to satisfy concept checks.
2178 2004-11-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2180 * pariterator.h: add typdefs for value_type, difference_type,
2181 pointer and reference to satisfy concept checks. Also add default
2182 constructor for same reason.
2184 * pariterator.C (operator++): add post-increment operator to
2185 satisfy concept checks.
2187 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
2190 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
2192 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
2193 checks. Also rename base_type to BaseType to follow naming
2196 * FloatList.h: include Floating.h to satisfy concept checks.
2198 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2200 * lyxfunc.C (getStatus): when the origin of the request is menu or
2201 toolbar, and the LyXView does not have focus, do as if there was
2202 no buffer (bug 1720)
2204 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
2205 FuncRequest to individual entries of LFUN_SEQUENCE
2207 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2209 * output_latex.C (TeXOnePar): override runparams.moving_arg
2210 according to the needprotect value of the current paragraph (bug
2213 * paragraph.C (simpleTeXOnePar): no need to override
2214 runparams.moving_args here
2216 2004-11-14 John Spray <spray_john@users.sourceforge.net>
2218 * vspace.C: fix off-by-one-error, related to fix #1682
2220 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2222 * lengthcommon.C: a more general fix for bug 1682
2224 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
2226 * text.C (backspace): fix crash
2228 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2230 * format.[Ch] (getFormatFromFile): new method
2231 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
2233 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2235 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
2237 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2239 * lyxfunc.C (dispatch): remove the verbose argument
2240 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
2243 * kbmap.C (defkey): set the origin of func to KEYBOARD
2245 * MenuBackend.C (MenuItem):
2246 * ToolbarBackend.C (add): set the origin of func to UI
2248 * funcrequest.[Ch]: add origin member, which indicates which part
2249 of LyX requests an action
2251 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2253 * converter.C (move): don't lie in the error message
2254 * converter.h (isReachable, move): document
2256 2004-11-07 Lars Gullik Bjønnes <larsbj@gullik.net>
2258 * buffer.C: remove unused using lyx::support::atoi
2259 * paragraph_funcs.C: ditto
2261 2004-11-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2263 * bufferlist.C (exists): use bind and equal_to instead of
2266 * lyxtextclasslist.C (NumberOfClass): ditto
2268 * cursor.C (insert): use for_each instead of explicit for loop
2270 * bufferlist.C (getFileNames): use std::transform and
2271 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
2273 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
2276 * buffer.C (changeLanguage): use for_each instead of explicit for
2278 (hasParWithID): implement using getParFromID
2280 * LaTeXFeatures.C: ws change only
2282 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
2285 * BufferView_pimpl.C (trackChanges): use for_each instead of
2288 2004-11-04 André Pönitz <poenitz@gmx.net>
2291 * undo.C (textUndoOrRedo): fix crash when creating undo information.
2293 * dociterator.C (asDocIterator): use hard assert again.
2295 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2297 * lyxlength.C (asLatexString): rewrite so that it does not use
2300 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2302 * text3.C (specialChar, dispatch): make sure cursor moves to the
2303 right after inserting an inset
2305 2004-11-02 José Matos <jamatos@lyx.org>
2307 * output_docbook.C (docbook):
2308 * paragraph.C (getID):
2309 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
2310 garantee that the output is always legal.
2312 * tabular.C (docbook):
2313 * outputprams.[Ch]: remove mixed contents.
2315 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2317 * text2.C (setCounter): prevent endless loop
2319 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2321 * exporter.C (copyFile): use the mover instead of support::copy()
2322 * exporter.C (Export): pass format and latex name to copyFile()
2323 * exporter.h (addExternalFile): document
2324 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
2326 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2328 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
2330 2004-10-30 José Matos <jamatos@lyx.org>
2332 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
2333 text and no inset or font change. This allows to use CDATA
2334 sections just for the whole paragraph.
2336 2004-10-30 José Matos <jamatos@lyx.org>
2338 * paragraph.C (getFirstWord): remove unused variable.
2340 2004-10-30 José Matos <jamatos@lyx.org>
2342 * paragraph.C (getFirstWord): the content should always be escaped
2344 (simpleDocBookOnePar):
2345 * output_docbook.C (makeEnvironment): replace reference to CDATA
2348 2004-10-30 José Matos <jamatos@lyx.org>
2350 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
2352 2004-10-30 José Matos <jamatos@lyx.org>
2354 * output_docbook.C (makeParagraphs):
2355 * paragraph.[Ch] (emptyTag): for docbook and company, if the
2356 standard paragraph has only a given type of content drop the wrapper.
2358 2004-10-29 José Matos <jamatos@lyx.org>
2360 * output_docbook.C (makeEnvironment):
2362 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
2364 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
2366 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
2367 (cleanID): sanitize any id.
2369 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2371 * buffer.C, lyxlex_pimpl.C:
2372 * lyxlex_pimpl.C (setFile):
2373 s/getExtFromContents/getFormatFromContents/
2375 2004-10-28 José Matos <jamatos@lyx.org>
2377 * output_docbook.C (makeEnvironment): move id to broadest possible
2380 * sgml.C (openTag): apply substitution of <> for all attributes.
2382 2004-10-28 José Matos <jamatos@lyx.org>
2384 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2385 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2386 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
2388 * sgml.[Ch]: new version for open and closeTag for paragraph and
2389 for strings. Now they handle the ids of paragraphs.
2391 2004-10-26 Angus Leeming <leeming@lyx.org>
2393 * Makefile.am: add mover.[Ch].
2395 * converter.C (convert, move): use the new Movers to move external
2396 files to the temp directory.
2398 * lyx_main.C (init): ensure that the global system_movers data
2401 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
2404 * mover.[Ch]: new files, defining a Mover as a utility to move an
2405 external file between directories and, if necessary, manipulate this
2406 file using a helper script.
2408 2004-10-25 José Matos <jamatos@lyx.org>
2410 * output_docbook.C (makeCommand): merge two if's that tested the
2413 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2415 * sgml.C (escapeString): fix warning in a better way
2417 2004-10-25 José Matos <jamatos@lyx.org>
2419 * sgml.C (escapeString): import the require boosts header file for
2420 tie, and avoid a signed unsigned comparison.
2422 2004-10-25 José Matos <jamatos@lyx.org>
2424 * sgml.h: add #include <string>
2426 2004-10-25 José Matos <jamatos@lyx.org>
2428 * sgml.[Ch] (escapeString): new function to escape all the string.
2430 2004-10-24 José Matos <jamatos@lyx.org>
2432 * paragraph.[Ch] (getFirstWord): new function to get the first
2433 word. Useful for description.
2434 (simpleDocBookOnePar): remove depth argument, add another that
2435 says where to start the paragraph.
2437 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2438 use the new functions to fix cleanly the support for descriptions.
2440 2004-10-24 José Matos <jamatos@lyx.org>
2442 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2443 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2444 * output_linuxdoc.C (linuxdocParagraphs):
2445 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
2446 add buffer as argument.
2448 2004-10-24 José Matos <jamatos@lyx.org>
2450 * output_docbook.C (makeEnvironment, searchEnvironment): place
2451 CDATA inside paragraphs and fix scope for listitems.
2453 2004-10-24 José Matos <jamatos@lyx.org>
2455 * output_docbook.C: remove using statement for stack.
2457 2004-10-23 José Matos <jamatos@lyx.org>
2459 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
2460 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
2461 docbook. The new scheme is recursive and makes use of iterators, the
2462 same as latex export works.
2463 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
2464 directly with the paragraph contents. This code was moved up to
2465 output_docbook.C (docbookParagraphs).
2466 * sgml.C (openTag, closeTag): removed unneeded newlines.
2467 (closeEnvTags) removed.
2469 2004-10-23 André Pönitz <poenitz@gmx.net>
2471 * undo.C (textUndoOrRedo):
2472 * dociterator.C (asDocIterator): work around crash
2474 * cursor.C (getStatus): replace ASSERT by more verbose error message
2475 and manual correction of the problem. Should increase stability
2476 while providing more sensible information.
2478 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2480 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
2482 * bufferlist.C (previous, next): new methods
2485 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
2487 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
2489 * buffer.C (makeDocBookFile): add dsssl stylesheet control
2490 entities to preamble.
2492 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2494 * messages.C (Pimpl): strip off translation context information
2496 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2498 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
2499 the cursor is correct (bug 1694)
2501 2004-10-13 José Matos <jamatos@lyx.org>
2503 * output_docbook.C (docbookParagraphs): fix closing tags in the
2504 end of the document.
2506 2004-10-09 José Matos <jamatos@lyx.org>
2508 * buffer.C: format up to 237.
2509 * bufferparams.C (write): use tostr to convert booleans to strings.
2511 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
2513 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
2515 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2517 * LaTeX.C: implement use of babel language in xindy.
2519 2004-10-05 José Matos <jamatos@lyx.org>
2521 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2522 Add new translators to help reading and writing the lyx file.
2524 2004-10-05 José Matos <jamatos@lyx.org>
2526 * ParagraphParameters.C (read):
2527 * text.C (readParToken): replace nexToken by more appropriate lex
2530 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
2532 * LaTeX.C (runMakeIndex):
2533 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2534 (usually 'makeindex') configurable.
2536 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2537 with a variable rather than with a number.
2539 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2541 * output_latex.C (TeXOnePar): make sure font setting is the first
2542 thing that gets output (and the last at the end). Should fix bug
2545 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2547 * pch.h: use proper signal include
2549 * LaTeX.h: Use preferred calling of Boost.Signal
2552 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2554 * pch.h: dont include <boost/function/function0.hpp>
2556 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2558 * paragraph_pimpl.h: remove usage of ShareContainer
2560 * paragraph_pimpl.C: remove initialization of ShareContainer.
2562 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2566 * BufferView.C (putSelectionAt): change the semantics when
2567 backwards == true: now, this just swaps cursor and anchor wrt the
2570 * BufferView.h (putSelectionAt): add some documentation
2572 * lyxfind.C (findBackwards): rewrite using while(). In particular,
2573 make sure backwardChar is done at least once (to avoid getting
2575 (findNextChange): use putSelectionAt in the forward direction
2576 (operator()): use Paragraph::isWord
2578 2004-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2580 * Spacing.C (set): c_str fix
2582 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2584 * lyx_cb.C (Reconfigure): quote the name of configure script in
2585 case it contains spaces
2587 2004-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2591 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2592 (BOOST_LIBS): use top_buildir when looking for the file
2594 2004-08-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2596 * pch.h: do not use include boost/format.hpp, multiple symbols
2597 will result (gcc bug)
2600 2004-08-23 José Matos <jamatos@lyx.org>
2602 * bufferparams.C (readToken): fix reading of the author field.
2604 2004-08-20 José Matos <jamatos@lyx.org>
2606 * lyxrc.C: remove support/translator.h inclusion since it is not used.
2608 2004-08-20 José Matos <jamatos@lyx.org>
2610 * lyxlex.[Ch] (findToken): remove function.
2612 * ParagraphParameters.C (findToken):
2613 * bufferparams.C (findToken): replace call for previous function
2614 with local copy. This local function has one more argument, the
2615 read string argument.
2617 2004-08-16 José Matos <jamatos@lyx.org>
2619 * ParagraphParameters.C (write):
2620 * Spacing.C (writeFile):
2621 * bufferparams.C (writeLaTeX):
2622 * lyx_cb.C (Reconfigure):
2623 * paragraph.C (write):
2624 * tabular.C (write): remove unnecessary space at end of line.
2627 2004-08-16 José Matos <jamatos@lyx.org>
2629 * text.C (readParagraph): remove debug message.
2631 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2633 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2636 * output_plaintext.C (asciiParagraph): set depth correctly
2638 * outputparams.h: add member depth
2640 * paragraph_funcs.C (ownerPar): remove.
2642 * text2.C (setCounter): remove first_pit; comment out some
2643 non-working code that uses ownerPar
2645 * BufferView.C (getParentLanguage): remove. Not used anymore, and
2648 2004-08-16 José Matos <jamatos@lyx.org>
2650 * text.C (readParToken, readParagraph, read): report all unknown tokens.
2651 For the same level of importance use the same chanel to report problems.
2652 (read): add code to deal with \begin_body and \end_body.
2655 2004-08-15 José Matos <jamatos@lyx.org>
2657 * lyxlex.C (getString): fix comment, buffer::readBody is now
2658 buffer:readDocument.
2660 * tex-strings.C (string_papersize): Default -> default,
2661 Custom -> custom, for consistency with other options.
2663 2004-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2667 * Makefile.am: support pch
2669 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2671 * text.C (readParToken): remove the static LyXFont variable and
2672 pass it as a parameter instead. This fixes a nasty bug where an
2673 inset will be inserted with a bad font in some situations
2674 (readParagraph): adapt
2676 * text2.C (setCounter): reduce number of calls to pars_[pit]
2678 * text.C (singleWidth): add an assert, fix a test
2680 * rowpainter.C (paintText): reduce number of calls to singleWidth
2682 * paragraph.C (isHfill):
2683 (isNewline): ws only
2685 2004-08-14 André Pönitz <poenitz@gmx.net>
2690 * lyxtext.h (several functions): use a Paragraph & argument
2693 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2695 * metricsinfo.h: add a new field ltr_pos to PainterInfo
2697 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2699 * text.C (singleWidth): remove useless test
2701 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2703 * tabular.h: remove bogus comments
2705 * tabular.C (getDescentOfRow):
2706 (isPartOfMultiColumn): add assertions
2708 * lyxlength.C (inPixels): remove #warning
2710 2004-08-14 André Pönitz <poenitz@gmx.net>
2712 * paragraph.h: inline getChar()
2714 * BufferView.h: remove unused declarations
2716 2004-08-14 José Matos <jamatos@lyx.org>
2718 * Buffer.[Ch] (readDocument): new name for old readBody.
2719 * Buffer.C: new file format, new keywords: \begin_document,
2720 \begin_header, \begin_body, \end_body.
2722 * bufferparams.C (readToken): replace all calls to lex.nextToken
2723 by lex.next(). Do the same to eatLine except where really needed.
2725 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2726 line when writing to the lyx file.
2728 * output_plaintext.C (asciiParagraph): fix Bibliography style
2731 * text.C (read): fix end of file handling.
2733 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2735 * MenuBackend.C (Menu::operator[]): new method to access
2736 individual menu items
2737 (Menu::hasFunc): new method. search for an item that corresponds
2739 (MenuBackend::specialMenu): new method
2740 (MenuBackend::expand): if a special menu has been set, skip
2741 entries whose func() appears in this menu
2743 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2745 * text3.C: use Debug::DEBUG a bit more
2747 * text.C (leftMargin): try to simplify a tiny bit change var x to
2748 l_margin. Dont output the wide margins always.
2749 (rightMargin): no margin in inner texts
2751 * rowpainter.h (nestMargin): new func
2752 (changebarMargin): new func
2753 (rightMargin): new func
2755 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2759 * factory.C (createInset): modify setDrawFrame
2761 * cursor.C: use Debug::DEBUG a bit more
2763 2004-08-14 André Pönitz <poenitz@gmx.net>
2766 * Makefile.am: new files to accomodate an 'external' (x,y)-position
2767 cache for all insets in (at least partially) visible (top-level)
2770 * BufferView_pimpl.C: reset external coord cache before every update.
2771 This means the coord cache only contains valid entries.
2773 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2776 * BufferView_pimpl.C (getInsetByCode): move function out of class
2777 and change in to a template in anon namespace. Also fix to do what
2780 2004-08-13 Lars Gullik Bjønnes <larsbj@lyx.org>
2783 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2785 (breakParagraph): rename par to par_offset and use a local
2786 reference. Add code to keep the language over a rebreak.
2787 (breakParagraphConservative): rename par to par_offset, use a
2789 (mergeParagraph): ditto
2791 (isFirstInSequence): ditto
2792 (outerFont): rename pit to par_offset
2794 * paragraph.C: ws change
2795 * paragraph.h: ditto
2799 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2801 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2804 * paragraph.C (simpleTeXOnePar): when we have a \item with
2805 optional argument, enclose the argument with curly brackets (in
2806 case it contains a closing square bracket)
2810 * text3.C (checkInsetHit): constify
2812 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2814 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2815 documents (bug 1629)
2817 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2819 Fix toggling of collapsable insets with the mouse (bug 1558)
2821 * lyxfunc.C (dispatch): adapt to LCursor changes
2823 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2824 make sure that dispatch is not invoked twice
2826 * cursor.C (needsUpdate): new method
2827 (dispatch): return void
2828 (result): new method, to access the DispatchResult of the cursor.
2830 2004-08-13 José Matos <jamatos@lyx.org>
2832 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2834 2004-08-13 André Pönitz <poenitz@gmx.net>
2836 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2838 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2841 2004-08-12 André Pönitz <poenitz@gmx.net>
2843 * text3.C: take out the 'cursor right' form insertInset and only
2844 do it in those places when it is really needed. Fixes crash on
2847 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2849 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2851 * BufferView_pimpl.C (setBuffer): initialize the current font of
2852 the underlying LyXText
2854 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2856 * kbsequence.C (print): use UI native formatting for menu
2859 * text.C (insertChar): call Paragraph::insertChar with a font
2862 * paragraph.C (insertInset, insertChar): the version that takes a
2863 LyXFont argument is now a wrapper around the other one (the
2864 opposite used to be true).
2866 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2867 argument. Font setting is done in Paragraph now.
2869 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2871 * outputparams.h: add new members intitle and lang.
2873 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2874 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2876 2004-08-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2878 * text3.C (dispatch): remove special handling of button 4 and 5,
2879 it is now taken care of in the frontend code.
2881 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2883 * Spacing.h: add <string> (STLPort compile fix)
2885 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2887 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2889 2004-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2891 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2894 * converter.C (showMessage): inherit from unary_function, make
2897 * buffer.C (writeFile): initialize retval
2899 * InsetList.h: rename private variable list to list_
2900 * InsetList.[Ch]: adjust accordingly.
2902 2004-07-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2904 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2905 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2906 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2907 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2908 * ParagraphParameters.C, LaTeXFeatures.C: replace
2909 "support/std_sstream.h" with <sstream>
2911 2004-07-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2913 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2914 * lyxsocket.C (LyXServerSocket): ditto
2915 (serverCallback): ditto
2917 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2919 * LaTeXFeatures.C: check release date when loading jurabib.
2921 2004-07-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2923 * lyxserver.C (startPipe): call register_socket_callback
2924 (endPipe): call unregister_socket_callback
2926 2004-07-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2928 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2929 (LyXServerSocket): register the callback
2930 (LyXServerSocket): unregister the callback
2931 (fd): delete function
2932 (serverCallback): improve error checking and setup the callbacks.
2933 (dataCallback): change arg to fd.
2934 (writeln): new func (copied fro the client socket) used for server
2936 (LyXDataSocket): simplify
2937 (~LyXDataSocket): close ann unregiser callback
2938 (server): delete function
2939 (fd): delete function
2940 (readln): small changes, improve some std::string usage
2941 (writeln): constify a bit
2943 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2945 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2948 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2950 * BufferView_pimpl.C (setBuffer): set the layout combox value only
2951 after it has been populated
2953 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2955 * text2.C (insertInset): move cursor when inserting inset.
2957 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2959 * kbmap.C (findbindings): a couple of new methods. returns a
2960 container of kb_sequence objects. The real work is done by the
2961 private recursive version
2962 (printbindings): uses findbindings to print out a bracketed list
2963 of bindings (renamed from findbinding).
2965 * MenuBackend.C (binding): use kb_keymap::findbindings
2967 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2969 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2971 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2973 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2975 * paragraph.C (isWord): return true on insets that report
2978 * text.C (getWord): use Paragraph::isWord to decide what is in a
2979 word and what is not; fix bug 1609.
2981 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2983 * tex-strings.C: add "none" to string_paperpackages[], fixes
2984 off-by-one-error in the paperpackage selection.
2987 * tex-strings.[Ch]: char const * string[n]
2988 -> char const * const string[]
2990 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2992 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2993 command, return early.
2995 2004-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
2997 * debug.h: add DEBUG to enum and fix size of ANY.
2999 * debug.C: add support for Debug::DEBUG
3000 (showTags): cast errorTags.level to unsigned int
3002 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
3003 (redoCurrentBuffer): ditto
3004 (updateScrollbar): ditto
3005 * cursor.C (dispatch): ditto
3006 * text2.C (setLayout): ditto
3008 (updateCounters): ditto
3010 (deleteEmptyParagraphMechanism): ditto
3012 2004-06-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3014 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
3015 annotations to cleanup the Makefile slightly.
3017 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3019 * lyxrc.C: do not set user_email to a default value but use empty
3020 instead. The entry used to be translated, which does not work
3021 since at the point where lyxrc is constructed there is no
3022 translation service available
3024 * messages.C (getLocaleDir): remove and use directly
3025 lyx_localedir() instead
3027 2004-06-02 Angus Leeming <leeming@lyx.org>
3029 Fix crash caused by dereferencing null pointer 'exportdata' in
3030 OutputParams by creating a new ExportData variable on the heap,
3031 storing it in a boost::shared_ptr.
3032 The crash was triggered when generating an Instant Preview
3033 of an external inset.
3035 * Makefile.am: add outputparams.C
3037 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
3038 (c-tor): allocate memory to it.
3040 * exporter.C (c-tor): associated changes.
3042 2004-06-01 Angus Leeming <leeming@lyx.org>
3044 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
3045 contains data before calling isInset(0). (Bug 1513.)
3047 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3049 * exporter.C (checkOverwrite): new method
3050 * exporter.C (copyFile): new method
3051 * exporter.C (Export): copy referenced files to the document dir
3052 * exporter.[Ch]: new class ExportedFile
3053 * exporter.[Ch]: new class ExportData. Contains currently the
3054 names of referenced external files
3055 * outputparams.h: add exportdata member.
3057 2004-05-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3059 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
3062 2004-05-19 Angus Leeming <leeming@lyx.org>
3067 * lyxfunc.C: small changes due to the introduction of namespace
3068 lyx::frontend and the moving of namespace biblio to lyx::biblio.
3070 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
3072 * text3.C (dispatch): supress update when only moving the cursor
3073 * cursor.C (selHandle): remove commented code
3075 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3077 * paragraph.C (startTeXParParams): correct column count
3078 * CutAndPaste.C (pasteSelection): remove const_cast
3079 * output_docbook.C (docbookParagraphs): remove const_cast
3080 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
3081 const_cast and return ParagraphList::const_iterator
3082 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
3083 * output_plaintext.C (writeFileAscii): remove const_cast
3084 * paragraph.[Ch] (simpleTeXOnePar): make const
3085 * paragraph_funcs.C (outerPar): use const iterators
3086 * paragraph_pimpl.C (validate): use const iterators
3087 * text.C (setHeightOfRow): use const iterators
3089 2004-05-17 Angus Leeming <leeming@lyx.org>
3092 * LyXAction.C (init): new LFUN_INSET_REFRESH.
3094 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
3095 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
3096 if the citation engine has changed.
3098 2004-05-14 José Matos <jamatos@lyx.org>
3100 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
3101 if the textclass does not provide it. Have it different for sgml and
3103 support the language of document.
3104 * output_docbook.C (docbookParagraphs):
3105 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
3106 first anchor as the id of the paragraph, remove special case code.
3107 * sgml.C (escapeChar): escape only < & >.
3109 2004-05-14 Angus Leeming <leeming@lyx.org>
3111 * bufferparams.h: move biblio::CiteEngine enum here to minimize
3112 dependencies on src/frontends/controllers/biblio.h. Define a
3113 CiteEngine_enum wrapper class to enable the enum to be forward
3116 2004-05-12 Angus Leeming <leeming@lyx.org>
3118 * buffer.C: up LYX_FORMAT to 234.
3119 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
3120 use_numerical_citations with a single biblio::CiteEngine cite_engine
3122 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
3124 2004-05-13 José Matos <jamatos@lyx.org>
3127 * converter.C (Converter, readFlags): add xml member.
3128 * outputparams.h: add XML flavor.
3129 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
3131 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3133 * lyxfunc.C (dispatch):
3134 (getStatus): fix handling of LFUN_SEQUENCE
3136 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3138 * debug.C (showLevel): do not forget the end-of-line marker
3140 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3142 * kbmap.C (read): do not stop parsing a bind file when an error
3145 2004-04-29 Angus Leeming <leeming@lyx.org>
3150 * text2.C: wrap a bunch of #warning statements
3151 inside #ifdef WITH_WARNINGS blocks.
3153 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3155 * buffer.C: increment format to 233.
3157 2004-04-28 Angus Leeming <leeming@lyx.org>
3159 * BufferView_pimpl.C:
3162 s/updateToolbar()/updateToolbars()/
3163 s/Toolbar.h/Toolbars.h/
3165 2004-04-28 Angus Leeming <leeming@lyx.org>
3167 * BufferView.[Ch] (c-tor):
3168 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
3169 No longer passes these data to the WorkArea generator.
3171 2004-04-28 Angus Leeming <leeming@lyx.org>
3173 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
3175 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3177 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
3179 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3181 * output_latex.C (TeXEnvironment): make sure that there is a line
3182 break before \end{foo} for the last paragraph of a document
3183 (TeXOnePar): if the paragraph is at the end of the document (or
3184 inset) and the language has to be reset, then make sure that the
3185 line break is _before_ the language command, not after (fixes bug
3186 1225); also make sure that the language reset command is the first
3187 thing after the paragraph (to ensure proper nesting of
3188 environments and thus fix bug 1404)
3190 2004-04-21 John Levon <levon@movementarian.org>
3193 * ToolbarBackend.C: make "name" be a programmatic name
3194 and a gui_name field.
3196 * lyxfunc.C: display the minibuffer on M-x
3198 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3200 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
3203 2004-04-19 Angus Leeming <leeming@lyx.org>
3205 * BufferView_pimpl.C (setBuffer): changed preview interface.
3207 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
3210 2004-04-19 John Levon <levon@movementarian.org>
3212 * BufferView_pimpl.C:
3213 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
3215 2004-04-05 Angus Leeming <leeming@lyx.org>
3217 * text.C (redoParagraphs): add call to updateCounters(), thereby
3218 fixing the missing "Figure #:" label from the caption of a
3221 2004-04-13 Angus Leeming <leeming@lyx.org>
3223 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
3224 cursor is clicked out of an inset.
3226 2004-04-13 Angus Leeming <leeming@lyx.org>
3228 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
3229 than an InsetOld one.
3231 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3233 * format.[Ch]: add editor to Format
3234 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
3235 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
3237 2004-04-08 André Pönitz <poenitz@gmx.net>
3239 * metricsinfo.h: remove PainterInfo::width member
3241 2004-04-08 Angus Leeming <leeming@lyx.org>
3243 * lyx_sty.C (boldsymbol_def): modify so that it outputs
3244 "\providecommand" rather than "\newcommand", thereby preventing
3245 clashes with packages that define "\boldsymbol" themselves.
3248 2004-04-08 Angus Leeming <leeming@lyx.org>
3250 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
3251 thereby squashing an unnecessary warning.
3253 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3255 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
3258 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
3260 * BufferView.C (setCursor): call redoParagraph (some insets could
3262 (putSelectionAt): remove the 'double update' trick
3264 * BufferView_pimpl.C (fitCursor): call refreshPar
3265 (workAreaDispatch): remove an uneeded update call
3266 (dispatch): remove some manual update calls
3268 * cursor.[Ch]: remove cached_y_, updatePos
3269 (selHandle): set noUpdate when appropriate
3271 * lyxfunc.C (dispatch): track if we need an update
3273 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
3275 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
3276 (paintSelection): cheap optimization, do not call cursorX when not
3278 (paintPars): change signature
3281 (paintTextInset): adjust
3285 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3287 * lengthcommon.C: compilation fix: remove explicit array size from
3288 unit_name[] and friends
3290 2004-04-05 Angus Leeming <leeming@lyx.org>
3292 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
3294 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
3295 present only for the preferences dialog.
3296 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
3298 2004-04-05 Angus Leeming <leeming@lyx.org>
3300 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
3301 to enable the frontends to export changes to lyxrc correctly.
3303 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
3305 2004-04-07 André Pönitz <poenitz@gmx.net>
3307 * cursor.[Ch] (selClear, adjust): remove math
3309 * cursor_slice.C: more agressive assert
3312 * BufferView_pimpl.C: rework mouse event dispatch
3319 2004-04-05 André Pönitz <poenitz@gmx.net>
3321 * cursor.[Ch] (valign, halign...): remove unneeded functions
3323 2004-04-05 Angus Leeming <leeming@lyx.org>
3325 * lyxlength.[Ch] (unit_name et al.): const-correct.
3327 2004-04-05 Angus Leeming <leeming@lyx.org>
3329 * BufferView_pimpl.C:
3338 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
3340 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3342 * text3.C (getStatus): add LFUN_BEGINNINGBUF
3344 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3346 * lyxfind.C: add a couple of inTexted() tests + other small fixes
3347 * BufferView_pimpl.[Ch] (getStatus)
3348 * BufferView.[Ch] (getStatus): add
3349 * lyxfunc.C (getStatus): move lfuns handled in
3350 BufferView::dispatch to te function above
3351 * Cursor.C (setSelection): set selection() = true
3353 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3355 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
3357 2004-03-31 Angus Leeming <leeming@lyx.org>
3359 * lyxfunc.C (dispatch): Fall through to the generic
3360 Dialogs::show("preamble").
3362 2004-03-31 Angus Leeming <leeming@lyx.org>
3364 * lyxfunc.C (dispatch): Fall through to the generic
3365 Dialogs::show("spellchecker").
3367 2004-03-31 Angus Leeming <leeming@lyx.org>
3369 * lyxfunc.C (getStatus, dispatch): changed invocation of the
3372 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
3377 * insetiterator.[Ch]:
3382 * undo.[Ch]: s/DocumentIterator/DocIterator/g
3384 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
3386 * BufferView.C (setCursor, putSelectionAt): call edit to open the
3387 insets where we are putting the cursor.
3389 2004-03-31 Angus Leeming <leeming@lyx.org>
3392 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
3394 * lyxrc.[Ch] (read, write): overloaded member functions taking
3395 a std::[io]stream arguments.
3397 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
3399 2004-03-31 Angus Leeming <leeming@lyx.org>
3401 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
3402 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
3404 * lyxtextclass.C (load): if the text class couldn't be loaded, then
3405 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
3407 2004-03-31 Angus Leeming <leeming@lyx.org>
3409 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
3410 the LFUN_ALL_INSETS_TOGGLE code.
3412 2004-03-30 Angus Leeming <leeming@lyx.org>
3414 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
3415 has died. Fall through to the generic Dialogs::show("document").
3417 2004-03-30 Angus Leeming <leeming@lyx.org>
3420 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
3421 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
3423 * lyxfunc.C (getStatus, dispatch): define the actions for these
3424 lfuns. Little more than a cut and pste job from ControlDocument.C
3426 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
3428 2004-03-30 Angus Leeming <leeming@lyx.org>
3431 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
3432 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
3434 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
3435 open/closed state of ollapsable insets. Usage:
3437 all-inset-toggle <state> <name>, where
3438 <state> == "open" || "closed" || "toggle" and
3439 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
3441 * lyxtext.h, text2.C (toggleInset): removed.
3443 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
3444 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
3445 now passes LFUN_INSET_TOGGLE to the found inset.
3447 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
3448 is now invoked as "all-insets-toggle toggle branch".
3450 2004-03-30 Angus Leeming <leeming@lyx.org>
3454 * pariterator.[Ch]: added/corrected header blurb.
3456 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
3458 * dociterator.[Ch]: add an inset_ member
3459 (backwardPos): implemented
3460 (backwardPos, forwardPos): use inset_ when the stack is empty.
3461 (doc_iterator_begin, doc_iterator_end): implemented
3462 * pariterator.[Ch]: adjust, add begin, end
3463 * insetiterator.[Ch]: adjust, add begin, end
3467 * BufferView_pimpl.C:
3468 * CutAndPaste.C: adjust
3470 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3472 * buffer.C: increment file format to 232.
3473 * LaTeXFeatures.C: add bibtopic package.
3474 * bufferparams.[Ch]: param \use_bibtopic.
3476 * lyxrc.[Ch]: add lyxrc bibtex_command
3477 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
3479 * buffer.C: increment file format to 231.
3481 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
3483 * dociterator.C: implement forwardPar
3484 * iterators.[Ch]: remove, replaced by
3485 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
3487 * BufferView_pimpl.C:
3490 * bufferview_funcs.C:
3496 * Makefile.am: adjust
3498 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
3500 * CutAndPaste.C (pasteSelection): fix 2 crashes
3501 (eraseSelection): fix a crash
3502 * paragraph_funcs.C: remove a warning
3504 2004-03-28 Angus Leeming <leeming@lyx.org>
3507 * LyXAction.C (init): new LFUN_PRINT.
3509 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
3511 2004-03-27 Angus Leeming <leeming@lyx.org>
3514 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
3516 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
3518 2004-03-27 Angus Leeming <leeming@lyx.org>
3520 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
3521 insetlist always contains non-null pointers to insets.
3523 2004-03-26 Angus Leeming <leeming@lyx.org>
3525 * src/BufferView_pimpl.C:
3526 * src/CutAndPaste.C:
3529 * src/output_plaintext.C:
3530 * src/outputparams.h:
3531 * src/paragraph_funcs.C:
3535 * src/frontends/controllers/ControlErrorList.C:
3536 * src/frontends/gtk/FileDialogPrivate.C:
3537 * src/frontends/gtk/GPainter.C:
3538 * src/frontends/gtk/GToolbar.C:
3539 * src/frontends/qt2/QRef.C:
3540 * src/mathed/math_scriptinset.C: squash compiler warnings.
3542 2004-03-26 Angus Leeming <leeming@lyx.org>
3544 * ispell.C (LaunchIspell::start):
3545 * lyx_cb.C (AutoSaveBuffer::start):
3546 invoke run(DontWait) rather than runNonBlocking().
3548 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
3550 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3552 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3554 * kbsequence.C (print): adjust
3556 * kbmap.C (printKeySym): rename and change signature
3557 (printKey): use LyXKeySym::print()
3559 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
3561 * undo.C: add using std::advance to compile for stlport
3563 2004-03-24 Angus Leeming <leeming@lyx.org>
3565 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3566 it leads to a crash when no buffer is present.
3568 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3569 Martin Vermeer <martin.vermeer@hut.fi>
3571 * lyxfunc.C (dispatch):
3572 * bufferparams.C (readToken): use the new LColor::setColor
3574 * LColor.[Ch] (setColor): new version that takes two strings as
3575 argument and creates a new color entry if necessary
3577 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3579 * buffer.C (makeLaTeXFile): if the main latex file that is
3580 processed is usually a subdocument of some master, then pretend
3581 for a while that it is actually the master
3583 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3585 * buffer.C (getLabelList):
3586 (getBibkeyList): use getMasterBuffer()
3587 (getMasterBuffer): new method. Returns the main document in the
3588 case where one is using included documents.
3590 2004-03-25 André Pönitz <poenitz@gmx.net>
3594 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3596 * ParagraphList_fwd.h: change ParagraphList to a std::vector
3598 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3599 text*.C over here. Rename namespace CutAndPaste to lyx::cap
3601 * ParameterStruct.h: merge with ParagraphParameters
3603 * lyxtext.h: remove LyXText::parOffset() and getPar()
3605 * text3.C: Remove all 'manual' update calls. We do now one per user
3606 interaction which is completely sufficient.
3610 * BufferView_pimpl.C:
3611 * FontIterator.[Ch]:
3613 * ParagraphParameters.[Ch]:
3618 * cursor_slice.[Ch]:
3625 * output_docbook.[Ch]:
3626 * output_latex.[Ch]:
3627 * output_linuxdoc.[Ch]:
3628 * output_plaintext.[Ch]:
3630 * paragraph_funcs.[Ch]:
3631 * paragraph_pimpl.[Ch]:
3639 * frontends/controllers/ControlDocument.C:
3640 * frontends/controllers/ControlErrorList.C:
3641 * frontends/controllers/ControlSpellchecker.C:
3644 * insets/insetbase.h:
3645 * insets/insetbibitem.C:
3646 * insets/insetbox.C:
3647 * insets/insetbranch.C:
3648 * insets/insetcaption.C:
3649 * insets/insetcharstyle.C:
3650 * insets/insetcharstyle.h:
3651 * insets/insetcollapsable.C:
3652 * insets/insetcollapsable.h:
3653 * insets/insetert.C:
3654 * insets/insetfloat.C:
3655 * insets/insetfoot.C:
3656 * insets/insetmarginal.C:
3657 * insets/insetnote.C:
3658 * insets/insetoptarg.C:
3659 * insets/insettabular.C:
3660 * insets/insettext.C:
3661 * insets/insettext.h:
3662 * insets/insetwrap.C:
3663 * mathed/math_mboxinset.C:
3664 * mathed/math_nestinset.C:
3665 * mathed/math_scriptinset.C:
3666 * mathed/math_scriptinset.h:
3669 2004-03-24 Angus Leeming <leeming@lyx.org>
3671 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3672 deal with any child processes that have finished but are waiting to
3673 communicate this fact to the rest of LyX.
3675 2004-03-24 Angus Leeming <leeming@lyx.org>
3677 64-bit compile fixes.
3679 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3680 (c-tor): pass lyx::pos_types rather than ints.
3682 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3685 * text.C (Delete): compile fix.
3686 (getPar): ensure that function declaration is the same as that in
3689 2004-03-23 Angus Leeming <leeming@lyx.org>
3691 * ispell.C (LaunchIspell):
3692 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3693 a boost::shred_ptr rather than a std::auto_ptr.
3695 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3697 * lyxfunc.C (getStatus): handle read-only buffers correctly;
3698 handle LFUN_FILE_INSERT_*
3700 * lyxrc.C (setDefaults, getDescription, output, read):
3701 * lyxrc.h: remove ps_command
3703 2004-03-22 Angus Leeming <leeming@lyx.org>
3705 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3706 Ensure that error_handler is processed once only and that all data
3707 is saved before attempting to output any warning messages.
3709 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3711 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
3713 * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3715 2004-03-19 André Pönitz <poenitz@gmx.net>
3717 * cursor.[Ch] (reset): take main text inset as argument
3719 * BufferView: adjust
3720 * BufferView_pimpl.C: adjust
3722 * paragraph.[Ch]: fix completely broken operator=()
3724 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3726 * LColor.C (getFromLyXName): make sure that the color name is used
3729 2004-03-17 Angus Leeming <leeming@lyx.org>
3732 * LyXAction.C (init): remove LFUN_FORKS_KILL.
3734 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3735 dialog and to kill a forked process.
3737 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3739 * text2.C (setCursorFromCoordinates): fix font problem
3741 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3743 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3744 bogus "rebuild cursor" code
3746 2004-03-11 André Pönitz <poenitz@gmx.net>
3748 * buffer.[Ch]: use InsetText instead of LyXText as container for
3751 * dociterator.[Ch]: drop the BufferView * member which is not needed
3752 anymore after the change to buffer.C
3754 * paragraph_funcs.C:
3758 * BufferView_pimpl.[Ch]:
3760 * cursor_slice.[Ch]: adjust
3762 * text3.C: fix bug in mathDispatch
3764 2004-03-08 André Pönitz <poenitz@gmx.net>
3766 * undo.[Ch]: use 'StableDocumentIterator' as base for
3769 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3772 * bufferparams.[Ch]: add jurabib support and param.
3774 * LaTeX.C: add FIXME/comment.
3776 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3778 * buffer.C: increment file format to 230.
3780 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
3782 * cursor.C (dispatch): avoid infinite loops
3784 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3786 * rowpainter.C (paintSelection): fix x coordinates
3788 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3790 * text.C (rowBreakPoint): fix breaking before displayed insets
3792 2004-03-01 André Pönitz <poenitz@gmx.net>
3794 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3796 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3800 * BufferView_pimpl.C:
3808 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3814 * BufferView_pimpl.C: rename textwidth -> maxwidth,
3815 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3817 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3819 * Bidi.[Ch] (computeTables): const correctness
3820 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3821 fill_hfill, fill_label_hfill and x from Row
3822 * lyxtext.h: prepareToPrint returns a RowMetrics
3823 * rowPainter.C: adjust
3824 * text.C (prepareToPrint): use width, not textWidth. adjust
3825 (redoParagraphInternal, cursorX): adjust
3826 * text2.C (getColumnNearX): adjust
3827 (init): put a default value to the top LyXText::width
3829 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3831 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3833 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3835 * lyxtext.h: add FontIterator class
3837 * text.C (FontIterator, operator*, operator->, operator++): add
3838 (rowBreakPoint, setRowWidth): adjust (fixing a
3841 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3843 * BufferView_pimpl.C (workAreaDispatch): allow also
3844 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3846 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
3848 * text.C (rowBreakPoint): fix a bug showing with very large insets
3850 2004-02-25 André Pönitz <poenitz@gmx.net>
3853 * cursor.[Ch]: move some mathed specific code to mathed
3855 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3857 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3858 use_tempdir in preferences
3859 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3861 * lyx_main.C: ensure that tempdir is valid
3862 * lyxlex.h: correct typo
3863 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3864 * paragraph.[Ch] (isMultiLingual): make const
3865 * cursor.[Ch] (openable): make const
3867 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3869 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3871 2004-02-20 André Pönitz <poenitz@gmx.net>
3873 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3875 * cursor.[Ch]: prepare for localized getStatus()
3881 * text3.C: streamlines the LyXText cursor movement handlers a bit.
3883 2004-02-20 André Pönitz <poenitz@gmx.net>
3885 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3887 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3889 * text2.C (setCursorFromCoordinates): switch to absolute coords
3891 (cursorDown): adjust
3892 * text3.C (dispatch): adjust
3894 2004-02-16 André Pönitz <poenitz@gmx.net>
3896 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3899 * cursor_slice.[Ch]: remove unneeded acessor function
3901 * lyxtext.h: rename rtl() to isRTL()
3909 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3911 * rowpainter.C (paintSelection): coord fix
3913 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3915 * Spacing.C: compile fix
3917 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3919 * cursor.C (dispatch): restore current_ before returning
3921 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3923 * text2.C (cursorUp, cursorDown): fix coords
3926 2004-02-12 André Pönitz <poenitz@gmx.net>
3931 * text3.C: add LCursor & parameter to most cursor movement functions
3932 remove usage of LyXText::cursorRow() and cursorPar()
3934 * cursor.[Ch]: add textRow() needed members
3937 * BufferView_pimpl.C:
3940 * BufferView_pimpl.C: adjust
3942 2004-02-11 André Pönitz <poenitz@gmx.net>
3946 * BufferView_pimpl.C: shift undo/redo handling
3948 * cursor.[Ch]: fix mathed crash
3951 * lyxtext.h: move selectionAsText to LCursor
3959 * rowpainter.C: fix excessive drawing
3961 2004-02-06 André Pönitz <poenitz@gmx.net>
3964 * BufferView_pimpl.[Ch]:
3965 * text3.C: move some text specific LFUN handling
3967 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
3969 * text3.C (checkInsetHit): adjust coords
3970 * text2.C (getColumnNearX): adjust coords
3971 (edit): adjust coords
3972 * text.C (getRowNearY): add two asserts
3974 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
3977 * format.C: add using std::distance to compile on gcc 2.95/stlport
3979 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
3981 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3983 2004-02-04 André Pönitz <poenitz@gmx.net>
3985 * BufferView.[Ch] (insertInset):
3986 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3991 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3993 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3994 on the default clause of the switch
3995 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3996 wasn't catched by LCursor::dispatch
3998 2004-02-03 André Pönitz <poenitz@gmx.net>
4001 * cursor.[Ch]: some additional asserts
4003 * undo.[Ch]: remove LyXText dependency in interface
4007 * lyxtext.h (firstPar, lastPar): remove dead functions
4012 * paragraph.[Ch]: adjust
4014 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
4016 * lyxfind.C (find): fix argument order in call to ::find
4018 2004-02-02 André Pönitz <poenitz@gmx.net>
4020 * cursor.[Ch]: remove direct access to anchor
4022 * text.C: remove findText() hack
4024 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
4026 * iterators.[Ch] (lockPath): remove in favour of...
4027 * BufferView.[Ch] (setCursor): this addition
4028 * BufferView.C (putSelectionAt): adjust
4029 * undo.C (performUndoOrRedo): adjust
4030 * lyxfunc.C (dispatch): adjust
4032 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
4034 * iterators.C (lockPath): add a missing slice
4035 * undo.C (performUndoOrRedo): remove redundant positioning code
4037 2004-02-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4039 * vc-backend.C (scanMaster): ";" -> ';'
4041 2004-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
4043 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
4044 std::binary_function
4046 * lyxtextclass.C (compare_name): rename to...
4047 (LayoutNamesEqual): ...this
4049 * lyxlex_pimpl.C (compare_tags): inherit from
4050 std::binary_function, put back into anon namespace
4052 * lyxfind.C (MatchString): inherig from std::binary_function
4053 (findChange): use empty() istead of !size()
4055 * format.C (FormatNamesEqual): new functor
4062 * converter.C (compare_Converter): rename to...
4063 (ConverterEqual): ...this, and fixup a bit.
4064 (getConverter): use it, and make function const
4065 (getNumber): use it, and make function const
4069 * bufferlist.C: add using boost::bind
4071 * MenuBackend.C (MenuNamesEqual): new functor
4072 (hasMenu): use it, and make function const
4073 (hasSubmenu): use nested bind to get rid of compare_memfun.
4075 2004-01-30 André Pönitz <poenitz@gmx.net>
4077 * BufferView_pimpl.C:
4080 * cursor_slice.[Ch]:
4083 * paragraph_funcs.C:
4084 * paragraph_funcs.h:
4088 * text3.C: move some of the edit(x,y) handling to the insets
4089 some coordinate changes.
4091 2004-01-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4093 * text.C: add using statements for std::advance and std::distance
4095 * paragraph.C: add using statement for std::distance
4097 * lyxfind.C: add using statement for std::advance
4099 * cursor.C (region): remove std:: from swap
4100 (openable): use nucleus in stead of operator->
4102 * BufferView.C: add using statements for std::distance and std::swap
4104 2004-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4106 * iterators.C: Remove the pimple, move the needed structures to
4107 the header file. Create accessor for the positions stack.
4108 (asPosIterator): remove function
4110 * PosIterator.C (PosIterator): move constructors to top of file
4111 (PosIterator): reimplement the constructor taking a ParIterator in
4113 (setFrom): new function
4114 (operator!=): inline it
4116 2004-01-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4118 * lyxfind.C (replaceAll): use std::advance
4120 * iterators.h: inherit from std::iterator.
4122 * PosIterator.C (advance, distance): remove
4123 * PosIterator.h: interit from std::iterator.
4125 2004-01-26 André Pönitz <poenitz@gmx.net>
4128 * BufferView_pimpl.[Ch]:
4132 * bufferview_funcs.C:
4142 * output_linuxdoc.C:
4143 * output_plaintext.C:
4145 * paragraph_funcs.[Ch]:
4146 * paragraph_pimpl.[Ch]:
4152 * text3.C: more IU: dumps most of the rest of the mathcursor
4153 implementation into cursor.[Ch]; "globalize" a bit of it.
4155 2004-01-25 Angus Leeming <leeming@lyx.org>
4157 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
4159 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4161 * LaTeXFeatures.h: add nice_ and nice() const
4162 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
4164 2004-01-20 André Pönitz <poenitz@gmx.net>
4167 * BufferView_pimpl.C:
4169 * bufferview_funcs.C:
4171 * cursor_slice.[Ch]:
4182 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
4183 LCursor and mathcursor parts to LCursor and InsetBase.
4185 2004-01-15 André Pönitz <poenitz@gmx.net>
4187 * cursor_slice.[Ch]: add a few covienience functions
4189 * funcrequest.[Ch]: remove BufferView * member
4191 * BufferView_pimpl.C:
4198 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
4200 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
4202 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
4203 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
4205 2004-01-13 André Pönitz <poenitz@gmx.net>
4208 * lyxtext.h: hide cursor and selection anchor behind accessor function
4211 * BufferView_pimpl.[Ch]:
4213 * bufferview_funcs.C:
4223 * cursor_slice.[Ch]: some integer type changes for inset unification
4225 * lyxcursor.[hC]: remove, it's CursorSlice now.
4228 * BufferView_pimpl.[Ch]:
4229 * bufferview_funcs.C:
4235 * textcursor.[Ch]: adjust
4237 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
4239 * text2.C (undoSpan): add and use
4240 * text.C (breakParagraph): use undoSpan (fix bug 578)
4243 2004-01-08 Angus Leeming <leeming@lyx.org>
4245 * BufferView_pimpl.C (MenuInsertLyXFile):
4246 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4247 * lyxfunc.C (menuNew, open, doImport):
4248 FileFilterList change to the FileDialog open and save functions.
4250 2004-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
4252 * ShareContainer.h: make isEqual and isUnique adaptable
4254 * CutAndPaste.C: make resetOwnerAndChanges adaptable
4256 2004-01-07 Angus Leeming <leeming@lyx.org>
4259 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
4261 * BufferView_pimpl.C (dispatch): act on these LFUNs.
4263 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
4264 functions replacing find, replace and replaceAll.
4266 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
4267 LFUN_WORDFIND(FORWARD|BACKWARD).
4269 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
4271 * text.C (breakParagraph): remove an outdated #warning
4273 2004-01-07 André Pönitz <poenitz@gmx.net>
4275 * lyxfind.C: somewhat clearer logic
4277 * text.C: prevent crash in cursorX on unitialized row cache
4279 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
4281 * lyxcursor.[Ch] (operator>): add
4282 * textcursor.C (selStart, selEnd): use std::min and std::max
4284 2004-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4286 * Chktex.C: include boost/format.hpp
4288 2004-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
4290 * InsetList.C: replace functor MathcIt with adaptable functor
4292 (insetIterator): modify accordingly
4294 * BranchList.h: move the BranchNamesEqual functor here from...
4295 * BranchList.C: ... to here
4297 * BranchList.C: new BranchListEqual fuctor, use it. Remove
4299 (add): replace a finding loop with std::find_if.
4301 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
4303 * output_docbook.C: moving LatexParam functionality into
4306 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4308 * buffer.C: increment format to 229.
4310 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
4313 * lyx_sty.[Ch]: remove minipageindent_def
4319 * text3.C: remove LFUN_INSET_MINIPAGE
4321 2003-12-28 Angus Leeming <leeming@lyx.org>
4323 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
4325 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
4327 * text2.C (setParagraph): fix off-by-one crash
4329 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
4331 * output_docbook.C: header stuff for AGU
4333 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
4335 * text2.C (redoCursor): remove
4338 * BufferView_pimpl.C: remove calls to redoCursor and
4339 setCursor(cursor.par(), cursor.pos()) all around
4341 2003-12-15 Angus Leeming <leeming@lyx.org>
4343 * buffer.C: up the format to 228.
4345 2003-12-15 André Pönitz <poenitz@gmx.net>
4347 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
4352 * BufferView_pimpl.C:
4361 2003-12-15 Angus Leeming <leeming@lyx.org>
4363 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
4364 than getFromGUIName to manipulate the color.
4366 2003-12-14 Angus Leeming <leeming@lyx.org>
4368 * BranchList.[Ch]: minimize the API.
4369 (Branch::getBranch, getColor): now return a 'const &'.
4370 (Branch::setSelected) now returns a bool set to true if the
4371 selection status changes.
4372 (BranchList::clear, size, getColor, setColor, setSelected,
4373 allBranches, allSelected, separator): removed.
4374 (BranchList::find): new functions, returning the Branch with
4376 (BranchList::add, remove): return a bool indicating that
4377 the operation was successful.
4379 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
4380 new InsetBranch::isBranchSlected member function.
4382 * LColor.[Ch]: mimimize the API.
4383 (fill): renamed as addColor and made private.
4384 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
4385 versions of these functions taking a string arg have been removed.
4387 * bufferparams.C (readToken):
4388 * lyxfunc.C (dispatch):
4389 * lyxrc.C (read): changes due to the altered BranchList and
4392 * factory.C (createInset, readInset): changes due to altered
4395 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4398 * lyxfunc.C: remove insetminipage. "minipage-insert"
4399 now produces a frameless minipage box inset.
4401 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4403 * textcursor.[Ch] (selStart,selEnd): add new methods
4404 remove selection::start, end, use LyXCursor::operator<
4405 * lyxcursor.[Ch] (operator<): add
4406 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
4407 * BufferView.[Ch] (unsetXSel): add
4408 * text2.C (clearSelection): use unsetXSel,adjust
4411 * rowpainter.C: adjust
4412 * bufferview_funcs.C (put_selection_at): adjust
4414 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4416 * BufferView_pimpl.C: small coord. correction
4418 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4420 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
4421 dragging over the splash screen.
4423 2003-12-11 Angus Leeming <leeming@lyx.org>
4425 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
4426 as it is now handled in LyXText::dispatch.
4428 * text3.C (doInsertInset): remove a level of nesting.
4430 2003-12-11 Angus Leeming <leeming@lyx.org>
4432 * factory.C (createInset): changes due to the changed interface to
4433 InsetCommandMailer::string2params.
4435 2003-12-10 Angus Leeming <leeming@lyx.org>
4437 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
4438 'dialog-show-new-inset <inset name>'
4440 2003-12-10 Angus Leeming <leeming@lyx.org>
4442 * buffer.C: up the format to 227.
4444 * factory.C: the box inset is now identified simply by 'Box'.
4446 2003-12-10 Angus Leeming <leeming@lyx.org>
4448 * buffer.C: up the format to 226.
4450 * factory.C: the note inset is now identified simply by 'Note'.
4452 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
4454 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
4455 when a pit is enough. Standarize a couple of loops.
4457 2003-12-05 Angus Leeming <leeming@lyx.org>
4459 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
4460 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
4461 data to the re-worked "log" dialog.
4463 2003-12-03 André Pönitz <poenitz@gmx.net>
4469 * paragraph_funcs.C:
4471 * text2.C: use Inset::getText instead of Inset::getParagraph
4473 2003-12-03 André Pönitz <poenitz@gmx.net>
4477 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
4478 InsetText::read() as LyXText::read()
4480 2003-12-02 Angus Leeming <leeming@lyx.org>
4482 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
4483 type. Add a comment in the implementation that the function uses
4484 the stream's bad() function rather than fail() as the std::streams
4487 2003-12-02 André Pönitz <poenitz@gmx.net>
4489 * lyxlex.[Ch]: make interface more similar to std::stream
4491 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
4493 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
4495 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
4497 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
4499 * vspace.[Ch]: remove VSpace::NONE
4501 2003-12-01 André Pönitz <poenitz@gmx.net>
4504 * lyxtext.h: move ParagraphList member to LyXText
4505 rename LyXText::ownerParagraphs to LyXText::paragraph
4508 * bufferview_funcs.C:
4518 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
4520 * undo.C: fix cursor positioning
4522 2003-12-01 John Levon <levon@movementarian.org>
4524 * BufferView_pimpl.C: fix a crash on exit with
4527 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
4529 * BranchList.C: fix setSelected() method.
4531 2003-11-28 André Pönitz <poenitz@gmx.net>
4533 * ParagraphParameters.[Ch]:
4534 * ParameterStruct.h: remove space above/below from Paragraph to
4537 * BufferView_pimpl.C:
4543 * paragraph_funcs.C:
4549 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
4551 * factory.C: Syntax change for CharStyles
4553 2003-11-28 André Pönitz <poenitz@gmx.net>
4558 * buffer.[Ch]: move LyXText member
4560 2003-11-28 André Pönitz <poenitz@gmx.net>
4562 * BufferView.[Ch]: make LyXText * text a private member
4564 * BufferView_pimpl.C:
4575 * output_plaintext.C: cleanup
4577 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
4580 * lyxtextclass.[Ch]: parametrize SGML document header
4582 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
4585 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4588 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
4590 * text2.C (setFont): rework using PosIterator (no more recursive)
4591 (setCharFont): no more needed
4592 (setLayout): no more selection cursors fiddling (done by redoCursor)
4593 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4594 destroy remaining ones)
4596 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
4598 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4600 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4603 * text3.C: adjust + re-allow multi par depth changes
4604 * textcursor.C: simplify a bit
4606 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
4612 * src/output_docbook.C:
4613 * src/output_latex.C:
4618 * src/text2.C: Introducing a number of tags parametrizing various
4619 XML formats that we may want to support
4621 2003-11-25 André Pönitz <poenitz@gmx.net>
4623 * InsetList.[Ch] (begein, end): inline as suggested by profiler
4625 * lyxtext.h (leftMargin/rightMargin): simplify interface
4632 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4634 * lyxfunc.C (dispatch): propogate the bibtex databases from the
4635 master file to any child files. Fixes bug 546.
4637 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4639 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4641 2003-11-24 André Pönitz <poenitz@gmx.net>
4643 * rowpainter.C: simplification
4645 * text2.C (updateCounters): remove call to redoParagraph on
4646 changed labels as this is far too expensive.
4648 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4650 * converter.C (convert): fix a crash: this function gets
4651 called with buffer == 0 from importer code.
4653 2003-11-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4655 * text3.C (cursorPrevious): make sure that we do not compare
4656 iterators form different containers.
4659 * rowpainter.C (paintSelection): make sure that we do not compare
4660 iterators from different containers.
4662 * text3.C (dispatch): [PRIOR] make sure that we do not compare
4663 iterators from different ParagraphList containers.
4666 * text2.C (LyXText): change order of initialization slightly
4667 (operator=): new function. copy all variables except cache_par_
4668 (moveUp): make sure that we do not compare iterators from
4669 different ParagraphList constainers.
4672 * text.C (firstPar): new function
4673 (lastPar): new function
4674 (endPar): new function
4676 * lyxtext.h: move things around and group public functions, public
4677 variables, private functions, private variables
4679 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
4681 * factory.C: change call to InsetERT constructor to avoid
4682 additional invocation of method status
4683 * text2.C (toggleInset): remove redundant update() call
4684 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4685 instead of a Bufferview pointer
4687 2003-11-21 André Pönitz <poenitz@gmx.net>
4689 * rowpainter.C: simplification
4691 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4693 * text3.C (dispatch): make possible to extend a word/row selection
4696 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4698 * lyxtext.h: x0_,y0_ -> xo_,yo_
4699 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4700 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4701 * rowpainter.C (paintRows): paint full paragraphs
4703 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4705 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4708 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4710 * lyxtext.h: add x0_, y0_
4711 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4712 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4714 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
4716 * text2.C (setCursorIntern): move the x_target update here *
4717 * text3.C: change some bv() to true/false in calls to
4718 cursorUp/Down/Right/Left
4719 * cursor.C: use helper function.
4721 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4723 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4724 * paragraph_funcs.[Ch]: correct comment
4725 * rowpainter.C: do not paint selections away from bv->cursor()
4726 Fix a long standing selection painting bug.
4727 * text3.C: generalize mouse-selection code to LyXTexts other that
4729 * textcursor.C: do not use y coords if we can use par offsets
4731 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4733 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4734 cursor position after e.g. inset insert)
4736 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
4738 * lyxfind.C (replace): adjust to locking removal + some
4741 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
4743 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4746 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
4749 * output_docbook.C: XML sanitation: new layout
4750 parameters InnerTag and CommandDepth
4752 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
4754 * BufferView_pimpl.C:
4756 * text3.C: Fix the insertion and modification of button-style
4759 2003-11-13 André Pönitz <poenitz@gmx.net>
4761 * InsetList.[Ch]: remove deleteLyXText
4763 * paragraph.[Ch]: cache beginOfBody position
4768 * text3.C: remove superfluous update() calls
4772 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
4774 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4775 * BufferView.C (fitLockedInsetCursor): remove
4776 * cursor.[Ch] (getDim): add
4777 * text.C (getRowNearY): add faster version
4778 * text3.C: remove some update calls
4780 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
4792 * text3.C: The Character Style /XML short element patch.
4794 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
4797 * factory.C: Small step to solving 'unable to insert some insets'
4800 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
4802 * cursor.[Ch] (updatePos): new function for updating the y
4803 position of the tip inset
4804 * bufferview_funcs.C (put_selection_at):
4805 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4807 2003-11-11 André Pönitz <poenitz@gmx.net>
4809 * text.C: remove big comment on invalid Paragraph pointers as it is
4812 2003-11-11 André Pönitz <poenitz@gmx.net>
4814 * text_funcs.[Ch]: merge with ...
4822 * Makefile.am: remove text_funcs.[Ch]
4824 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
4826 * cursor.C (getPos): return absolute cached y coord
4828 * BufferView_pimpl.C (fitCursor): new simplistic code
4829 (workAreaDispatch): add a fitCursor call
4831 2003-11-10 André Pönitz <poenitz@gmx.net>
4834 * BufferView_pimpl.[Ch]: merge update() and updateInset()
4836 2003-11-10 André Pönitz <poenitz@gmx.net>
4838 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4839 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4840 indicate that the cursor needs to leave an inset
4842 * lyxtext.h: remove inset locking
4844 * cursor.[Ch]: re-implement functionality provided by inset locking
4847 * BufferView_pimpl.[Ch]:
4849 * bufferview_funcs.[Ch]:
4861 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
4863 * PosIterator.[Ch]: replace the stack with a vector, add inset
4865 * iterators.[C]: adjust
4867 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4869 * lyxfind.C (replaceAll): mark the buffer dirty if something was
4871 * paragraph_funcs.C (readParToken): put the correct id in the
4872 error item, not the id of the top paragraph
4874 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4876 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4877 * bufferview_funcs.C (put_selection_at): use the above
4879 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4881 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4883 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4885 * output_linuxdoc.h:
4886 * output_plaintext.h:
4888 * output_docbook.h: add #include statements
4890 2003-11-05 José Matos <jamatos@lyx.org>
4892 * output_docbook.[Ch]:
4893 * output_latex.[Ch]:
4894 * output_linuxdoc.[Ch]:
4895 * output_plaintext.[Ch]: New files for output formats.
4896 * output.[Ch]: New file for helper functions.
4899 * paragraph_funcs.[Ch]: output functions moved to new files.
4901 * outputparams.h: rename of latexrunparams.h
4909 * paragraph_funcs.[Ch]:
4910 * paragraph_pimpl.[Ch]:
4911 * tabular.[Ch]: rename ascii to plaintext
4912 and LatexRunParams to OutputParams.
4914 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4916 * iterators.[Ch] (text): require bv argument
4917 * undo.C (recordUndo):
4918 * lyxfunc.C (dispatch):
4919 * bufferview_funcs.C (put_selection_at): adjust
4921 2003-11-05 Jo� Luis M. Assirati <assirati@fma.if.usp.br>
4923 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4925 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4927 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4930 2003-11-04 André Pönitz <poenitz@gmx.net>
4932 * cursor.[Ch]: restructure
4935 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4937 * iterators.[Ch] (asCursor): remove
4939 * lfuns.h: remove LFUN_INSET_EDIT
4945 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4947 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4949 * lyxfind.[Ch]: complete overhaul
4950 * BufferView_pimpl.C:
4952 * paragraph.[Ch] (insert): add
4954 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4958 * text.C: remove dead spellcheck code
4960 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4962 * dispatchresult.h: add a val setter
4964 * cursor.C (dispatch): use a tempvar for data_[i]
4966 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4968 * PosIterator.[Ch]: compile fix
4970 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4972 * text.C (cursorPar): deactivate the cursor cache
4974 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4976 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4978 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4980 * text3.C (dispatch): adjust for new DisptchResult semantics.
4982 * lyxfunc.C (dispatch): handle update when return from
4983 Cursor::dispatch, adjust for new DispatchResult semantics.
4985 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4986 DispatchResult(true) mean to not update. Add class functions for
4987 setting dispatched and update, as well as reading.
4989 * cursor.C (dispatch): don't handle update here
4991 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4993 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4994 * trans_mgr.C: adjust
4996 * paragraph_funcs.C (readParToken): exception safety
4998 * lyxvc.h: store the vcs pointer in a scoped_ptr
5001 * lyxsocket.C (serverCallback): exception safety
5003 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
5005 * ispell.C (clone): make it return a auto_ptr
5007 * factory.C (createInset): exception safety
5008 (readInset): exception safety
5010 * bufferlist.C (newBuffer): exception safety
5012 * Thesaurus.C (Thesaurus): use initialization for aik_
5014 * MenuBackend.C (expandToc): exception safety.
5016 2003-11-03 André Pönitz <poenitz@gmx.net>
5020 * bufferview_funcs.C: remove getInsetFromId()
5023 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
5029 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
5031 * PosIterator.C (distance, advance): new
5032 * bufferview_funcs.[Ch] (put_selection_at): new
5033 * iterators.[Ch] (lockPath): new
5035 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
5037 * iterators.[Ch] (asPosIterator): added
5038 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
5039 * PosIterator.[Ch]: added
5041 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5045 * cursor.C (dispatch):
5046 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
5048 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
5049 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
5050 contructor, add a class function dispatched. Remove operator>=
5052 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5054 * debug.C: only use the default constructor for debugstream
5057 * main.C (main): include debug.h and setup the lyxerr streambuf
5060 2003-10-31 José Matos <jamatos@lyx.org>
5062 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
5064 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
5065 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
5066 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5067 * paragraph_pimpl.C (simpleTeXSpecialC):
5068 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
5069 add LatexRunParams argument.
5071 * exporter.C (Export): change call accordingly.
5073 * latexrunparams.h: add new member to take care of the other backends.
5074 2003-10-30 José Matos <jamatos@lyx.org>
5076 * buffer.C (makeLinuxDocFile, makeDocBookFile):
5077 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5078 factorise code for paragraph output.
5080 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
5083 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5085 * text3.C (dispatch):
5086 * lyxfunc.C (dispatch):
5087 * cursor.C (dispatch):
5088 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
5090 * dispatchresult.h: make the dispatch_result_t ctor explicit
5092 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
5095 * buffer.C: small refactoring of docbook stuff
5097 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5099 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
5102 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5104 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
5105 operator dispatch_result_t, and operators for == != and >=
5107 * cursor.C (dispatch): adjust for operator dispatch_result_t
5108 removal. comment out call to update
5110 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
5112 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5120 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
5123 * dispatchresult.h: new file, DispatchResult broken out of
5126 * Makefile.am (lyx_SOURCES): add dispatchresult.h
5128 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
5130 * text.C (rowBreakPoint): put a hack inside #if 0
5132 2003-10-28 André Pönitz <poenitz@gmx.net>
5136 * paragraph_funcs.C:
5139 * text2.C: general cleanup (lots of small stuff)
5141 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
5143 * text2.C (cursorEnd): simple fix to the "end key goes to one
5144 before the end on last row" bug
5146 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5148 * text.C (backspace): fix the "zombie characters"
5150 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5152 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
5154 2003-10-27 André Pönitz <poenitz@gmx.net>
5156 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
5158 * factory.C: handle new InsetPagebreak, InsetLine
5160 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
5161 and move handling into new InsetPagebreak, InsetLine
5163 * BufferView_pimpl.C:
5165 * ParagraphParameters.C:
5166 * ParameterStruct.h:
5171 * paragraph_funcs.C:
5172 * paragraph_pimpl.C:
5178 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5181 * lyxrow_funcs.[Ch]:
5187 * text3.C: remove lastPos uses in favour of Row::endpos
5189 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5191 * undo.C (performUndoOrRedo): fix two crashes by setting a
5192 cursor by hand and reordering some calls. Use bv->lockInset instead
5193 of inset->edit because the latter loses cursor information
5195 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
5197 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
5199 (rowBreakPoint): fix width. change point to point + 1.
5200 Add a missing check.
5202 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
5205 * lyxfunc.C: fix (at least partly) the problems
5206 with the Nav menu and headers inside branch insets
5209 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
5211 * paragraph.C (getChar): add strong asserts
5213 * lyxrow_funcs.C (lastPos): remove hideous hack
5215 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
5216 (fill): adjust to that (avoid an infinite loop)
5218 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
5220 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
5222 2003-10-23 André Pönitz <poenitz@gmx.net>
5224 * RowList_fwd.h: change list<> to vector<> to gain speed
5225 after suggestion from Alfredo
5227 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
5229 * lyxtext.h: move the bidi stuff from here...
5232 * Bidi.[Ch]: ... to here
5234 2003-10-23 André Pönitz <poenitz@gmx.net>
5237 * text.C (isLastRow, isFirstRow): new functions
5239 * paragraph.h: new width cache member
5241 * rowpainter.C: replace RowList::iterator with Row & where possible
5243 * lyxfunc.C: replace several view()->text with a single call
5245 * toc.C: fix 'unused' warning
5247 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5249 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
5250 when woring with stream::pos_type
5251 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
5253 2003-10-22 André Pönitz <poenitz@gmx.net>
5256 * text.C: use Row & instead of RowList::iterator
5258 * lyxrow.h: rename end() to endpos()
5264 2003-10-22 Angus Leeming <leeming@lyx.org>
5266 * buffer.[Ch] (fully_loaded): new member function, returning true
5267 only when the file has been loaded fully.
5268 Used to prevent the premature generation of previews and by the
5269 citation inset to prevent computation of the natbib-style label.
5271 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
5272 templates are all set up.
5274 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
5276 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
5278 * text.C: fixed an "oops" in the "is a bit silly"
5281 2003-10-21 André Pönitz <poenitz@gmx.net>
5283 * FuncStatus.[Ch]: small stuff, whitespace
5285 * lyxfont.[Ch]: operator<<() for debug reasons
5289 * lyxtext.h: whitespace, spelling
5291 * paragraph.C: naming of variables
5294 * text2.C: small stuff
5297 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
5299 * text.C: (1) finish off the inset display() work;
5300 (2) fix the "is a bit silly" bug (accessing char
5303 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
5305 * text.C: re-introduce display() for insets, fixing the
5306 various bugs (stretch of line above, math inset
5309 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5311 * text.C (rightMargin): remove spurious semicolon
5313 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
5316 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
5318 * text3.C: fix one crash due to wrong cursor def
5320 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5322 * vc-backend.C (scanMaster): make the regex static
5324 * LaTeX.C (scanAuxFile): make the regexs static
5326 * text3.C (doInsertInset, dispatch, dispatch):
5327 * text2.C (cursorUp, cursorDown):
5328 * text.C (selectNextWordToSpellcheck):
5329 * BufferView_pimpl.C (dispatch):
5330 * lyxfunc.C (dispatch): localDispatch -> dispatch
5332 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5334 * lyxsocket.C: include <cerrno>
5336 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5338 * lyxfunc.C (dispatch): remove textcache stuff
5340 * bufferlist.C (release): remove textcache stuff
5343 * TextCache.C: delete file
5344 * TextCache.h: delete file
5346 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
5348 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
5349 delete of the bv_->text.
5350 (resizeCurrentBuffer): remove texcache stuff
5351 (workAreaResize): ditto
5353 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5355 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
5358 2003-10-16 André Pönitz <poenitz@gmx.net>
5365 * text3.C: speed up by storing y positions per paragraph plus per-row
5366 offset instead of having a 'full' y position in the row.
5368 2003-10-15 André Pönitz <poenitz@gmx.net>
5372 * undo.[Ch]: make undo aware of inner insets
5374 2003-10-14 Angus Leeming <leeming@lyx.org>
5376 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
5377 static member functions LyX::ref() and LyX::cref.
5378 (lastfiles): new accessor functions for the new lastfiles_ member var.
5379 (addLyXView, views_): add a new LyXView to the list of views_.
5380 (updateInset): loop over all LyXViews to call their own updateInset
5381 member function, returning a pointer to the Buffer owning the inset.
5383 * BufferView_pimpl.C (loadLyXFile):
5384 * MenuBackend.C (expandLastfiles):
5385 * bufferlist.C (MenuWrite, QuitLyX):
5386 lastfiles is no longer a global variable.
5387 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
5389 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
5390 static function. Access through LyX::cref().emergencyCleanup().
5392 2003-10-14 André Pönitz <poenitz@gmx.net>
5394 * iterators.[Ch]: new direct access to innermost LyXText and Inset
5396 * undo.[Ch]: restoring part of 'undo in insets'
5399 * undo_funcs.[Ch]: merge with undo.[Ch]
5401 * tabular.C: small cleansing stuff
5403 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
5405 * paragraph_funcs.C (readParToken): report unknown insets as error
5406 boxes. Use the outer paragraph as location (also for unknown
5409 * factory.C (readInset): do not abort on reading an unknown inset.
5410 Eat it and return 0.
5412 2003-10-13 Angus Leeming <leeming@lyx.org>
5414 * lyx_main.C (LyX): remove call to setDisplayTranslator().
5416 * lyxrc.C: displayTranslator is now a function,
5417 declared in GraphicsTypes.h.
5419 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5421 * format.C: new placeholder $$a to pass the socket address.
5423 * bufferlist.[Ch]: new function getBufferFromTmp.
5425 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
5426 files in the temporary dir.
5428 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5430 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
5432 * Makefile.am: add lyxsocket.[Ch].
5434 * lyx_main.C (error_handler): handle SIGPIPE.
5436 2003-10-13 André Pönitz <poenitz@gmx.net>
5438 * BufferView_pimpl.C:
5443 * undo_funcs.[Ch]: use paroffset_type instead of
5444 ParagraphList::iterators to prevent multiple conversion
5445 (and get a more robust interface)
5447 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5449 * lyxfunc.C (dispatch): RESULT -> dispatch_result
5451 * text3.C (dispatch): ditto
5453 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5455 * LaTeX.C (handleFoundFile): move the static to smaller scope,
5456 move the onlyfile, use onlyfile instead of foundfile in a couple
5459 * DepTable.C (update): flush the error stream a bit more
5461 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5463 * lyxserver.C (callback): adjust
5465 * lyxfunc.C (getStatus): add a missing brace in commented code
5466 (ensureBufferClean): reindent
5467 (dispatch): delete version taking a string
5469 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5471 * LaTeX.C (deplog): move found file handlig from here...
5472 (handleFoundFile): .. to new function here.
5473 (deplog): make sure to discover several files mentioned on the
5476 2003-10-10 André Pönitz <poenitz@gmx.net>
5483 * text3.C: fix some of the tabular crashes
5485 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5487 * MenuBackend.C (binding): put debug message into Debug::KBMAP
5489 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
5491 2003-10-09 André Pönitz <poenitz@gmx.net>
5493 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
5496 * BufferView_pimpl.C:
5497 * bufferview_funcs.C:
5508 * undo_funcs.C: adjust
5510 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5512 * text2.C (incrementItemDepth): new function, use a backtracking
5513 algorithm to discover the correct item depth.
5514 (resetEnumCounterIfNeeded): new function, use a backtracking
5515 algorithm to discover if counter reset is needed.
5516 (setCounter): use them. Simplify a bit. Add different labels for
5517 different item depths for itemize.
5519 * paragraph.C (Paragraph): remove initialization of enumdepth
5522 * paragraph.h: get rid of enumdepth, and use itemdepth both for
5523 enumerate and itemize. Change the type of itemdepth to signed char.
5525 2003-10-08 André Pönitz <poenitz@gmx.net>
5527 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5532 * tabular.[Ch]: fix crash after 'row-insert'
5534 2003-10-08 Angus Leeming <leeming@lyx.org>
5536 Fix doxygen warnings.
5538 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5539 Remove CutAndPaste:: prefix from header file declaration.
5541 * LColor.h (fill): remove LColor:: prefix from declaration.
5543 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5544 use lyx::depth_type rather than Paragraph::depth_type so that
5545 header file and .C file match.
5547 * converter.h (intToFormat): remove Converters:: prefix from declaration.
5549 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5550 * aspell.C: \file aspell_local.C -> \file aspell.C
5551 * gettext.C: \file gettext.C -> \file src/gettext.C
5552 * gettext.h: \file gettext.h -> \file src/gettext.h
5553 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5554 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5555 * text.C: \file text.C -> \file src/text.C
5557 * toc.C: move comment so that doxygen is not confused.
5559 2003-10-07 Angus Leeming <leeming@lyx.org>
5561 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5563 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5566 * aspell_local.h: add forgotten std::string's.
5568 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
5575 * text3.C: The Box patch. Fancybox support, minipage, parbox
5577 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
5583 * ParagraphParameters.h:
5593 * lyxtextclasslist.h:
5596 * paragraph_pimpl.C:
5597 * textcursor.h: add <string> and other small fixes to make Lars'
5598 std::string patch compile with STLport.
5600 2003-10-06 Angus Leeming <leeming@lyx.org>
5602 * LColor.h: Add missing #include <string>.
5604 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5606 * All most all file in all subdirs: Make <string> be the prefered
5607 way of getting to std::string, add using declarations.
5609 2003-10-06 André Pönitz <poenitz@gmx.net>
5611 * metricsinfo.C: initialize LyXFont before changing attribute.
5612 (fixes the 'math in \emph is upright' bug)
5614 2003-10-06 André Pönitz <poenitz@gmx.net>
5616 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5618 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
5621 * paragraph_pimpl.C: Small fixes to build using STLport
5623 2003-10-02 André Pönitz <poenitz@gmx.net>
5626 * text3.C: move handling of LFUN_DEPTH *; fix #1360
5628 2003-10-01 André Pönitz <poenitz@gmx.net>
5630 * factory.C: assert early
5632 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5634 * lyx_main.C: remove the global debug object
5636 * debug.h: adjust for new debugstream
5638 * debug.C: adjust for new debugstream and keep the global debug
5641 2003-09-22 Angus Leeming <leeming@lyx.org>
5643 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5644 of g++ which otherwise complain that the scoped_ptr destructor can't delete
5645 an incomplete class LyXFont.
5647 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
5649 * factory.C: bug fix in branches
5651 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5653 * lyxfunc.C (processKeySym): adjust
5655 (dispatch): change arg name from ev to func, adjust
5656 (sendDispatchMessage): ditto
5658 * lyx_main.C (defaultKeyBindings): adjust keybindings
5659 (deadKeyBindings): ditto
5661 * kbsequence.C (addkey): return a FuncRequest
5663 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5665 * kbmap.C (bind): take a FuncRequest as arg, adjust
5668 (defkey): change to take a FuncRequest as arg, adjust
5669 (findbinding): take a FuncRequest as arg, adjust.
5671 * funcrequest.h (operator=): added
5673 * funcrequest.C (FuncRequest): default kb_action changed from
5674 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5676 * buffer.C (dispatch): simplify
5677 (dispatch): adjust to take a FuncRequest as arg, adjust
5679 * boost.C (assertion_failed): change assertion message slightly
5681 * ToolbarBackend.C (read): simplify
5683 * MenuBackend.C (binding): adjust call to findbinding, add a
5684 message if no binding is found.
5686 (expandToc): correct by adding a empty FuncRequest
5688 * LyXAction.C: include <boost/assert.hpp>
5689 (isPseudoAction): delete function
5690 (LookupFunc): change name to...
5691 (lookupFunc): this. change return type to FuncRequest.
5692 (getActionName): take kb_action as arg, simplify
5693 (funcHasFlag): add an assert, simplify.
5695 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5697 * toc.C (action): return a FuncRequest, simplify
5699 * lyxfunc.C (processKeySym): adjust
5700 (getStatus): delete version that takes an int.
5702 (dispatch): delete version that takes action as int
5704 (sendDispatchMessage): simplify and adjust
5706 * funcrequest.C (getArg): take unsigned int as arg
5708 * ToolbarBackend.C (read): adjust
5709 (add): delete version that takes func as a string.
5710 (getIton): take a FuncRequest as arg
5712 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5715 * MenuBackend.C (MenuItem): add a new construct that only takes a
5716 Kind, simplify the constructor use for submenus.
5718 (expandLastfiles): adjust
5719 (expandDocuments): adjust
5720 (expandFormats): adjust
5721 (expandFloatListInsert): adjust
5722 (expandFloatInsert): adjust
5723 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5725 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5726 Remove class variables lyx_pseudo_map and lyx_arg_map
5728 * LyXAction.C (searchActionArg): delete function
5729 (getPseudoAction): delete function
5730 (retrieveActionArg): delete function
5731 (LookupFunc): make it return kb_action, simplify.
5732 (getActionName): simplify
5734 * factory.C (createInset): fix new bug
5736 2003-09-19 Angus Leeming <leeming@lyx.org>
5738 * CutAndPaste.C (pasteSelection): remove fudge used to set the
5739 masterFilename_ parameter in the include inset.
5741 * factory.C (createInset): changes due to the changes to InsetInclude.
5743 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5745 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5747 2003-09-18 Angus Leeming <leeming@lyx.org>
5750 * BufferView.C: pass the buffer when calling Inset::getLabelList,
5751 Inset::fillWithBibKeys.
5752 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5754 2003-09-18 Angus Leeming <leeming@lyx.org>
5756 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5758 (ctor): pass and store a 'Buffer const &'
5759 (buffer): new member function.
5761 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5762 '*this' to the LaTeXFeatures ctor.
5764 2003-09-18 Angus Leeming <leeming@lyx.org>
5770 * text.C: rename EnumLColor as LColor_color.
5772 2003-09-18 Angus Leeming <leeming@lyx.org>
5774 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5775 remove #include "insets/insetbase.h" from cursor.h.
5777 2003-09-18 Angus Leeming <leeming@lyx.org>
5779 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5780 InsetOld_code to remove #include "inset.h".
5782 * iterators.C: add #include "insets/inset.h"
5784 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
5786 * BufferView.C: remove more locking stuff that apparently doesn't
5787 do anything sensible.
5789 2003-09-16 André Pönitz <poenitz@gmx.net>
5792 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5795 2003-09-16 Angus Leeming <leeming@lyx.org>
5797 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5799 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5802 * paragraph.h: remove #include "lyxfont.h". Forward declare
5805 2003-09-16 Angus Leeming <leeming@lyx.org>
5807 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5808 of support/textutils.h.
5809 (isWord): move the contents of support/textutils.h's IsWordChar here.
5815 * text2.C: add #include "paragraph.h".
5818 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5820 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5826 * LaTeX.C: use namespace alias for lyx::support::os
5828 2003-09-16 Angus Leeming <leeming@lyx.org>
5831 * bufferview_funcs.C:
5834 * paragraph_pimpl.C:
5836 * text.C: add #include "LColor.h".
5838 2003-09-16 Angus Leeming <leeming@lyx.org>
5840 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5841 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5843 Store the FontBits::color variable as an int rather than as an
5844 LColor::colorso that we can move LColor.h out of the lyxfont.h header
5847 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5848 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5849 string calls together.
5851 * lyxrc.C: add #include "LColor.h".
5853 2003-09-15 Angus Leeming <leeming@lyx.org>
5855 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5858 2003-09-15 Angus Leeming <leeming@lyx.org>
5860 * LColor.h: add an EnumLColor wrapper for LColor::color.
5862 * lyxfont.[Ch] (color, setColor, realColor):
5863 * lyxtext.h, text.C (backgroundColor):
5864 pass EnumLColor args to/from the functions, rather than LColor::color
5868 * lyxtext.h: forward declare EnumLColor.
5870 * lyx_main.C: add #include "LColor.h".
5872 2003-09-15 Angus Leeming <leeming@lyx.org>
5874 * .cvsignore: add lyx-gtk.
5876 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5881 * ParagraphParameters.C
5885 * bufferview_funcs.C
5895 * vc-backend.C: remove usage of STRCONV
5897 2003-09-15 Angus Leeming <leeming@lyx.org>
5899 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5900 explicitly define the color passed to the painter.
5902 2003-09-15 Angus Leeming <leeming@lyx.org>
5904 * bufferparams.C (BufferParams): reorder member initializers to avoid
5907 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
5909 * CutAndPaste.C (pasteSelection): remove an outdated #warning
5910 * text.C (updateRowPositions): remove an unusual nop
5912 2003-09-12 André Pönitz <poenitz@gmx.net>
5914 * BufferView_pimpl.C:
5923 * Counters.[Ch]: finish the 'automatic counters' job
5925 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5927 * aspell.C: include <boost/assert.cpp> (compile fix)
5929 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
5931 * boost.C (assertion_failed): use lyx::support::abort instead of
5934 2003-09-10 Angus Leeming <leeming@lyx.org>
5936 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5937 with their _fwd progeny.
5939 2003-09-09 Angus Leeming <leeming@lyx.org>
5941 134 files throughtout the source tree: replace 'using namespace abc;'
5942 directives with the appropriate 'using abc::xyz;' declarations.
5944 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5946 * boost.C (emergencyCleanup): moved here from LAssert.c
5947 (assertion_failed): new function, called by BOOST_ASSERT
5949 * several files: change Assert to BOOST_ASSERT
5951 2003-09-09 Angus Leeming <leeming@lyx.org>
5953 * buffer.[Ch]: Add an Impl class and move Buffer's member
5954 variables into it. As a result move several header files out of
5957 Add header files to lots of .C files all over the tree as a result.
5959 2003-09-09 Angus Leeming <leeming@lyx.org>
5961 * buffer.[Ch]: make Buffer's member variables private. Add
5964 Lots of changes all over the tree as a result.
5966 2003-09-08 Angus Leeming <leeming@lyx.org>
5968 * graph.C: #include <config.h>.
5970 2003-09-08 Angus Leeming <leeming@lyx.org>
5974 * BufferView_pimpl.C:
6003 * toc.C: remove redundant using directives.
6005 2003-09-07 Angus Leeming <leeming@lyx.org>
6007 * LaTeXFeatures.h: remove #include "support/types.h".
6008 * ToolbarBackend.h: remove #include <algorithm>.
6009 * changes.h: remove #include <ctime>.
6010 * debug.h: remove #include <iosfwd>.
6011 * graph.h: remove #include "support/std_string.h".
6012 * lyx_main.h: remove #include <csignal>.
6013 * lyxlex_pimpl.h: remove #include <fstream>.
6014 * sgml.h: remove #include <algorithm>, <utility>.
6015 * toc.h: remove #include "support/std_ostream.h".
6016 Add #include <iosfwd>.
6018 2003-09-07 Angus Leeming <leeming@lyx.org>
6020 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
6022 * converter.h: forward declare LatexRunParams.
6023 * encoding.h: remove #include "lyxrc.h".
6024 * lyxtext.h: remove #include "LColor.h".
6025 * lyxtextclass.h: remove #include "support/types.h".
6026 * trans.h: remove #include "tex-accent.h".
6027 * trans_mgr.h: remove #include "tex-accent.h".
6028 * insets/inset.h: remove #include "support/types.h", <vector>.
6029 * insets/insetcollapsable.h: remove #include "LColor.h".
6030 * insets/insetinclude.h: remove #include "dimension.h".
6031 * insets/insetlatexaccent.h: remove #include "dimension.h".
6032 * insets/insetoptarg.h:: remove #include "insettext.h".
6033 * insets/insettext.h: remove #include "dimension.h",
6034 <boost/shared_ptr.hpp>
6036 * insets/renderers.h: add #include "dimension.h".
6037 * insets/updatableinset.h: add #include "support/types.h".
6039 * many .C files: Associated changes.
6041 2003-09-06 Angus Leeming <leeming@lyx.org>
6043 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
6044 one, inside testInvariant.
6046 * PrinterParams.C: new file.
6047 * PrinterParams.[Ch]: move the function bodies out of line.
6049 2003-09-06 Angus Leeming <leeming@lyx.org>
6051 * ParagraphParameters.h: forward declare ParameterStruct rather than
6052 including its header file.
6053 (depth): moved out-of-line.
6055 2003-09-06 Angus Leeming <leeming@lyx.org>
6057 * BufferView_pimpl.h:
6060 * lyxfunc.h: forward declare LyXKeySym rather than
6061 #include "frontends/LyXKeySym.h".
6063 * BufferView_pimpl.C:
6066 * lyxfunc.C: associated changes.
6068 2003-09-06 Angus Leeming <leeming@lyx.org>
6070 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
6071 As a result, can remove the #include "insets/inset.h" from BufferView.h
6073 2003-09-06 Angus Leeming <leeming@lyx.org>
6075 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
6076 As a result, can remove the #include "insets/inset.h" from BufferView.h
6078 2003-09-06 Angus Leeming <leeming@lyx.org>
6084 * bufferview_funcs.C:
6085 * BufferView_pimpl.C:
6090 * ParagraphParameters.C:
6095 * frontends/controllers/ControlDocument.C:
6096 * insets/insetcaption.C: rearrange the #includes into some sort of
6099 * buffer.h: remove #includes ErrorList.h, undo.h
6101 2003-09-06 Angus Leeming <leeming@lyx.org>
6103 * support/types.h: add a 'depth_type' typedef, used to store the
6104 nesting depth of a paragraph.
6107 * ParameterStruct.h: use this lyx::depth_type typedef rather than
6108 defining explicitly.
6111 * paragraph_funcs.h:
6112 * ParagraphParameters.h:
6113 * sgml.h: use lyx::depth_type rather than Paragraph or
6114 ParameterStruct's depth_type.
6117 * paragraph_funcs.h: no need to #include paragraph.h anymore.
6120 * BufferView_pimpl.C:
6122 * ParagraphParameters.C:
6125 * bufferview_funcs.C:
6132 * frontends/LyXView.C:
6133 * frontends/controllers/ControlDocument.C:
6134 * frontends/controllers/ControlErrorList.C:
6135 * insets/insetbibitem.C:
6136 * insets/insetbranch.C:
6137 * insets/insetcaption.C:
6138 * insets/insetcollapsable.C:
6139 * insets/insetenv.C:
6140 * insets/insetert.C:
6141 * insets/insetfloat.C:
6142 * insets/insetfoot.C:
6143 * insets/insetfootlike.C:
6144 * insets/insetnewline.C:
6145 * insets/insetquotes.C:
6146 * insets/insettabular.C:
6147 * insets/insettext.C:
6148 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
6150 * frontends/controllers/ControlChanges.C: #include "changes.h".
6152 2003-09-06 Angus Leeming <leeming@lyx.org>
6154 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
6155 than #including paragraph.h.
6158 * RowList.h: deleted. Superfluous.
6168 * insets/insettext.h: use ParagraphList_fwd.h rather than
6171 * paragraph.h: don't forward declare ParagraphList.
6174 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
6175 rather than ParagraphList.h. paragraph.h is still needed for the
6176 Paragraph::depth_type parameters.
6178 * textcursor.h: enable it to compile stand-alone in light of the
6181 * bufferview_funcs.C:
6193 * frontends/controllers/ControlParagraph.C:
6194 * frontends/controllers/ControlTabular.C:
6195 * insets/insetmarginal.C:
6196 * insets/insetminipage.C:
6197 * insets/insetnote.C:
6198 * insets/insetoptarg.C: add header files needed to compile again.
6200 2003-09-06 Angus Leeming <leeming@lyx.org>
6202 * RowList_fwd.h: new file, forward-declaring Row rather than
6203 #including lyxrow.h.
6208 * insets/insettext.h: use it instead of RowList.h
6210 * bufferview_funcs.C:
6217 * text3.C: #include "RowList.h".
6219 2003-09-05 Angus Leeming <leeming@lyx.org>
6221 * factory.C (createInset):
6222 * vspace.C (c-tor): replace sscanf call with an istringstream.
6223 * ispell.C: re-add missing HP/UX headers.
6224 * lyxserver.C: re-add missing os2 headers.
6226 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
6235 * text3.C: re-add missing system headers, needed for 2.95.2.
6237 2003-09-05 Angus Leeming <leeming@lyx.org>
6239 Changes most place everywhere due to the removal of using directives
6240 from support/std_sstream.h.
6242 2003-09-05 Angus Leeming <leeming@lyx.org>
6244 Replace LString.h with support/std_string.h,
6245 Lsstream.h with support/std_sstream.h,
6246 support/LIstream.h with support/std_istream.h,
6247 support/LOstream.h with support/std_ostream.h.
6249 Changes resulting throughout the tree.
6251 2003-09-05 Angus Leeming <leeming@lyx.org>
6253 * sgml.h: ensure that the header file can be compiled stand-alone.
6254 * *.C: strip out redundant #includes. (320 in total.)
6256 2003-09-04 Angus Leeming <leeming@lyx.org>
6258 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
6259 here (from getPackages).
6261 * debug.[Ch]: add a new EXTERNAL tag.
6263 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6265 * text2.C (cursorEnd): simplify
6267 (getColumnNearX): adjust
6269 * text.C (computeBidiTables): adjust
6272 * rowpainter.C (paintChars): adjust
6273 (paintSelection): adjust
6274 (paintChangeBar): adjust
6277 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
6279 (numberOfSeparators): adjust
6281 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
6287 * text3.C: Restricts the mouse click functionality
6288 of insets like bibtex, include, toc and floatlist to the visible
6289 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
6290 up the dialogs. Cursor has to be in front of the inset (i.e.
6291 start of row) for this to function.
6293 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6295 * bufferview_funcs.C (currentState): output row information
6297 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6299 * bufferview_funcs.C (currentState): output paragraph position
6301 2003-09-04 Angus Leeming <leeming@lyx.org>
6303 * FloatList.h: move out #include "Floating.h".
6304 * LaTeX.h: move out #include "DepTable.h".
6305 * LyXAction.h: move out #include "funcrequest.h".
6306 * buffer.h: move out #include "author.h", "iterators.h".
6307 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
6308 * lyx_main.h: move out #include "errorlist.h".
6309 * lyxfunc.h: move out #include "FuncStatus.h".
6310 * lyxtext: move out #include "lyxcursor.h".
6311 * paragraph_pimpl.h: move out #include "counters.h".
6313 2003-09-03 Angus Leeming <leeming@lyx.org>
6315 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
6316 preamble_snippets list, enabling us to add snippets to the preamble
6317 only if the snippet was not there already.
6319 2003-09-04 Angus Leeming <leeming@lyx.org>
6321 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
6323 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6325 * lyxfunc.C (dispatch): if fitCursor did something be sure to
6328 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
6330 * BranchList.C: point fix, earlier forgotten
6332 2003-09-02 Angus Leeming <leeming@lyx.org>
6334 * box.C (contains): renamed from 'contained' after a fantastic
6337 2003-09-02 John Levon <levon@movementarian.org>
6343 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
6345 2003-09-02 John Levon <levon@movementarian.org>
6347 * text2.C: simplification of cursorEnd(), including partial
6350 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6352 * buffer.C (readFile): add a space
6354 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
6356 * BufferView_pimpl.C (update): remove bogus fitCursor() call
6358 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6360 * buffer.C (readFile): new function, take a filename and a
6361 ParagraphList::iterator
6363 (readFile): adjust, make it private. don't use setStream, make
6364 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
6365 always contain the filename.
6367 * BufferView.C (insertLyXFile): simplify and make it work for
6370 2003-08-30 John Levon <levon@movementarian.org>
6372 * Makefile.am: fix dist (from Kayvan)
6374 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6376 * most files: change to use const Buffer refs
6378 2003-08-27 André Pönitz <poenitz@gmx.net>
6380 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
6381 on top of ownerPar().
6383 2003-08-27 John Levon <levon@movementarian.org>
6385 * funcrequest.C: properly initialise POD members
6387 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
6389 * lyxtext.h (top_y): move top_y from here
6394 * BufferView_pimpl.[Ch]: to here
6395 * frontends/screen.C:
6396 * insets/insettabular.C:
6397 * insets/insettext.C: adjust
6398 * rowpainter.[Ch] (paintRows): remove LyXText & argument
6400 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
6403 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
6405 2003-08-26 André Pönitz <poenitz@gmx.net>
6407 * paragraph_func.[Ch] (outerPar): new function
6410 * paragraph_funcs.C:
6411 * paragraph_funcs.h:
6412 * paragraph_pimpl.C:
6413 * text2.C: remove Inset::par_owner
6415 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
6420 * text2.C: eliminates the needFullRow/display() stuff
6421 altogether, putting the logic in metrics/draw in the insets.
6423 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
6425 * text2.C (redoParagraphInternal, redoParagraphs):
6426 * text.C (redoParagraph): add a call to updateRowPositions at the
6427 end of each 'metrics-like' call. Remove all others.
6428 (getRow): remove the 'y-computing' version.
6429 (getRowNearY): do not compute nor return the real y. Solve the
6430 'y < 0' problem and simplify.
6432 2003-08-22 Angus Leeming <leeming@lyx.org>
6434 * *.[Ch]: clean-up of licence and author blurbs.
6435 Also move config.h out of a few .h files and into a few .C files.
6437 2003-08-22 André Pönitz <poenitz@gmx.net>
6439 * lyxrow.[Ch]: add x_ and *fill_ members
6444 * text2.C: adjust/remove prepareToPrint() calls
6446 2003-08-22 André Pönitz <poenitz@gmx.net>
6448 * lyxrow.[Ch]: add end_ member
6450 * lyxrow_funcs.C: use LyXRow::end_
6452 * lyxtext.h (singleWidth): add LyXFont parameter
6455 * text2.C: adjust LyXText::singleWidth() calls
6457 * text.C (redoParagraph): simplify row breaking logic
6460 2003-08-19 André Pönitz <poenitz@gmx.net>
6462 * funcrequest.C: initialize button_ member
6465 * rowpainter.[Ch]: interface consolidation
6467 2003-08-18 André Pönitz <poenitz@gmx.net>
6470 * BufferView_pimpl.C:
6472 * paragraph_funcs.C:
6474 * text3.C: remove LyXScreen::draw() and fitCursor calls
6476 * BranchList.h: remove spurious semicolons
6478 * MenuBackend.C: fix branchlist related crash
6480 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
6488 * bufferparams.[Ch]:
6492 * text3.C: implements the 'branch inset'
6493 idea. This allows the output of various versions of a document
6494 from a single source version, selectively outputing or suppressing
6495 output of parts of the text.
6496 This implementation contains a 'branch list editor' in a separate
6497 tab of the document settings dialog. Branches are user definable
6498 and have a "display colour" to distinguish them on-screen.
6500 ColorHandler was somewhat cleaned up.
6501 (1) make possible a dynamically growing LColor list by allowing
6502 the graphic context cache to grow along (vector);
6503 (2) eliminate an IMHO unnecessary step in colour allocation.
6505 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
6507 * BufferView_pimpl.C: compile fix
6509 2003-08-15 André Pönitz <poenitz@gmx.net>
6511 * rowpainter.C: remove extra metrics calls
6513 * lyxtext.h: merge the two constructors into a single one,
6514 pass reference to owner's par list
6516 * BufferView_pimpl.C:
6520 2003-08-15 André Pönitz <poenitz@gmx.net>
6522 * lyxrow_funcs.[Ch]:
6525 * paragraph_funcs.C:
6530 * text_funcs.C: split LyXText::rowlist_ into individual
6531 Paragraph::rows_ chunks
6534 * BufferView_pimpl.[Ch]:
6537 * text3.C: remove toggleSelection()
6539 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
6541 * bufferlist.C: beautify two alerts (shorter text of buttons)
6542 * buffer.C: Remove redundant ' ' from message
6544 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6545 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6546 rename VALIGN_CENTER to VALIGN_MIDDLE
6548 2003-08-11 André Pönitz <poenitz@gmx.net>
6550 * lyxtext.h (getPar):
6551 * text.C: new function
6553 2003-08-11 André Pönitz <poenitz@gmx.net>
6556 * tracer.[Ch]: remove unneeded files
6558 * InsetList.[Ch]: remove resizeInsetsLyXText()
6563 * text3.C: merge insertParagraphs() and appendParagraph()
6564 remove breakAgain(), update()
6566 * BufferView_pimpl.[Ch]:
6567 * bufferview_funcs.[Ch]:
6571 * tabular.C: adjust after text & InsetList changes.
6573 2003-08-08 André Pönitz <poenitz@gmx.net>
6575 * text.C (insertChar, backspace): replace rowlist fiddling
6576 with rebreak of full par
6579 * text.C (breakAgainOneRow, redoHeightOfParagraph,
6580 checkParagraph, updateInset): removed
6582 2003-08-07 André Pönitz <poenitz@gmx.net>
6585 * text3.C: merge some LFUN handlers, remove dead code
6587 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6589 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6591 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
6593 * text2.C (DEPM): fix part of bug 1255 and 1256
6595 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6597 * BufferView_pimpl.C (workAreaDispatch): change to use
6598 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6599 that are no mouse related.
6601 2003-08-05 André Pönitz <poenitz@gmx.net>
6604 * BufferView_pimpl.[Ch]:
6605 * bufferview_funcs.C:
6607 * text3.C: rip out "deep update"
6609 * textcursor.[Ch] (last_sel_cursor): remove unused member
6611 2003-08-04 André Pönitz <poenitz@gmx.net>
6614 * BufferView_pimpl.[Ch]:
6615 * ParagraphParameters.C:
6616 * bufferview_funcs.C:
6622 * text3.C: replace "complicated" BufferView::update(...) calls with
6625 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6627 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
6629 * Makefile.am (lyx_SOURCES): add paper.h
6631 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6633 * Makefile.am: move things around so that both lyx-qt and
6634 lyx-xforms can be built (according to --with-frontend). Then lyx
6635 is a symbolic link to lyx-[firstfrontend]
6637 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
6639 * Always use std::endl with lyxerr
6641 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
6643 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6645 2003-08-01 André Pönitz <poenitz@gmx.net>
6648 * BufferView_pimpl.[Ch]:
6650 * text3.C: merge BufferView::repaint() and BufferView::update()
6652 2003-08-01 José Matos <jamatos@lyx.org>
6654 * buffer.[Ch]: file_format is no longer a buffer data element.
6656 2003-08-01 André Pönitz <poenitz@gmx.net>
6661 * text2.C: make redoParagraph more independent of current cursor
6663 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6665 * text2.C: remove unneeded members
6667 2003-07-30 André Pönitz <poenitz@gmx.net>
6669 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6671 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6672 create a single function...
6674 * paragraph_funcs.C (moveItem): ... here.
6677 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6679 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6681 * LColor.[Ch]: Add comment and greyedout logical colors.
6683 2003-07-30 André Pönitz <poenitz@gmx.net>
6685 * tabular.C: don't use Assert too heavily. This crashes where it
6688 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
6690 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6691 is disabled (bug 1232)
6693 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6695 * factory.C: limited 'arg' scope
6697 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6699 * factory.C: fixed Note submenu issues
6701 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6703 * factory.C: submenu for Note/Comment/Greyedout
6705 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
6708 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6710 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
6713 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6714 greyedout. Patch provided by Jürgen Spitzmüller.
6716 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6718 * kbmap.C (read): fix error message when reading bind files
6720 2003-07-29 Angus Leeming <leeming@lyx.org>
6722 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6723 certainly does not do what it purports to do. I am doing it, and
6724 us, a favour by killing it.
6726 2003-07-28 José Matos <jamatos@lyx.org>
6728 * buffer.C (readBody, do_writeFile):
6729 * paragraph.C(readParagraph): \end_document replaces \the_end.
6731 2003-07-29 André Pönitz <poenitz@gmx.net>
6734 * BufferView_pimpl.[Ch]:
6738 * textcursor.[Ch]: remove toggleToggle & Co
6740 2003-07-28 José Matos <jamatos@fep.up.pt>
6742 * buffer.C (readParagraph):
6743 * params_func (readParToken, readParagraph):
6744 * paragraph.C (write): \layout -> \begin_layout.
6746 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6748 * lyxlex_pimpl.C (setFile): clean up slightly.
6750 * bufferparams.h: add compressed var
6752 * buffer_funcs.C (readFile): adjust for LyXLex change
6753 (newFile): ditto + simplify
6755 * buffer.C (writeFile): handle writing of compressed files
6757 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6758 Check if the file is compressed and set a bufferparm if so.
6760 * Makefile.am (lyx_LDADD): remove explicit -lz
6762 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6764 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6765 makeDocBookFile): put the real LyX version in the first line of
6769 * version.C.in: remove lyx_docversion
6771 * tabular.C (write_attribute): add a template-based version to
6772 write enums properly
6774 2003-07-28 André Pönitz <poenitz@gmx.net>
6779 * text3.C: use doubles again for x-coordinates. They are needed.
6781 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6783 * messages.C (getLocaleDir): use lyx_localedir()
6785 * lyxlex_pimpl.C (setFile): compress stuff
6787 * buffer.C (writeFile): add some compression stuff
6788 (do_writeFile): new func, dont call expliti close... will this
6791 * Makefile.am (lyx_LDADD): add -lz
6793 2003-07-28 José Matos <jamatos@fep.up.pt>
6795 * buffer.C: increment file format.
6796 * paragraph_funcs (readParagraph, readParToken):
6797 * paragraph.C (readParagraph): add \end_layout.
6799 2003-07-27 Angus Leeming <leeming@lyx.org>
6801 * Makefile.am: remove special casing for configure-time setting of
6802 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6804 * lyx_main.C (init): remove all Jean-Marc's magic setting of
6805 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6807 2003-07-26 André Pönitz <poenitz@gmx.net>
6809 * paragraph_func.[Ch]:
6810 * paragraph.C (realizeFont): inline it whereever it is used
6815 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6818 2003-07-26 André Pönitz <poenitz@gmx.net>
6822 * text2.C: get rid of LyXText::need_break_row
6824 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6826 * toc.[Ch]: put namespace toc inside namespace lyx
6828 * MenuBackend.C (expandToc2): adjust for lyx::toc
6831 * lyxfunc.C (dispatch): adjust for lyx::find
6833 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6834 lyx::find instead. Reorganize a bit.
6835 (LyXReplace): rename to replace
6836 (LyXFind): rename to find
6838 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6841 2003-07-26 André Pönitz <poenitz@gmx.net>
6843 * text.C (setHeightOfRow): restrict scope of temporary variable
6845 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
6846 code (never has been used?)
6848 2003-07-27 Asger Alstrup <alstrup@local>
6850 * text.C (fill): Optimise algorithm to exploit that we can reuse
6851 the LyXFont for many characters.
6852 (setHeightOfRow): Same thing.
6853 (rowBreakPoint): Same thing.
6855 2003-07-26 Asger Alstrup <alstrup@local>
6857 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6859 * text.C (singleWidth): Spurious font copying in hot-spot
6860 singleWidth avoided. Reorder tests for arabic for efficiency.
6862 * text.C (fill): handle empty paragraphs better.
6864 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6867 * encoding.h: add includes
6869 * lyxrc.C: remove reading of bind files
6871 * lyx_main.C (init): setup bindings and menus only if we have a
6874 * kbmap.C (read): new method. Do the actual reading of bind
6877 * converter.C (dvipdfm_options):
6880 (output): adapt PAPER_* enums.
6882 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6884 * bufferparams.h: remove paper-related enums from there
6886 * paper.h: New file. A trivial header file to hold paper-related
6887 enums. It should later expand to contain many paper-related
6890 * lyxrc.C: declare extern displayTranslator
6892 2003-07-27 José Matos <jamatos@fep.up.pt>
6894 * tabular.[Ch] (linuxdoc): add support for tables and figures
6897 2003-07-27 José Matos <jamatos@fep.up.pt>
6899 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6900 consistency in both functions.
6901 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6903 2003-07-26 Asger Alstrup <alstrup@local>
6905 * rowpainter.C (paintRows): Change algorithm to work directly on
6906 the insets rather than asking every character in the document
6907 whether its an inset.
6909 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
6911 * buffer.C (openFileWrite): factorize some code
6913 2003-07-26 Angus Leeming <leeming@lyx.org>
6916 * lyx_main.[Ch]: replace occurances of system_tempdir with
6919 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6921 * rename Inset to InsetOld
6923 2003-07-25 Asger Alstrup <alstrup@diku.dk>
6925 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6926 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6927 which I think is a bit clearer. EDIT is gone, since it was
6928 premature optimisation, and broken for mathed anyway.
6929 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6930 with cursor positioning in insets as well (math insets still do not
6931 work, but that's a different story anyway.) It mysteriously
6932 crashes sometimes with undo in the first paragraph, but I'm fairly
6933 confident that this is a compiler bug.
6935 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6937 * paragraph.C (Paragraph): adjust for new clone return type
6939 (copyIntoMinibuffer): ditto
6941 2003-07-25 Asger Alstrup <alstrup@lyx.org>
6943 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6944 by not having a special case, and always doing a full rebreak of
6945 the document after undo.
6947 2003-07-23 Angus Leeming <leeming@lyx.org>
6949 * factory.C (createInset): InsetExternal::setParams now takes a
6952 2003-07-23 Angus Leeming <leeming@lyx.org>
6954 * factory.C (createInset): changed interface to the external and
6955 graphics mailers' string2params functions.
6957 2003-07-23 Angus Leeming <leeming@lyx.org>
6959 * factory.C (createInset): pass a
6960 Buffer const * parameter to InsetExternalMailer's string2params.
6962 2003-07-22 John Levon <levon@movementarian.org>
6964 * Thesaurus.h: include the right aiksaurus header
6966 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6968 * MenuBackend.C (expand): check menu shortcuts unconditionally
6970 2003-07-21 Angus Leeming <leeming@lyx.org>
6972 * factory.C (createInset): pass a
6973 buffer_path parameter to InsetGraphicsMailer's string2params.
6975 2003-07-21 Angus Leeming <leeming@lyx.org>
6977 * BufferView_pimpl.C (buffer):
6980 * lyxfunc.C (dispatch):
6981 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6982 rather than the grfx shortcut.
6984 2003-07-21 André Pönitz <poenitz@gmx.net>
6986 * rowpainter.C: remove unused variables
6989 * tabular_funcs.h: move to tabular.C
6990 * Makefile.am: adjust
6992 * tabular.[Ch]: basic optical cleaning
6994 * author.h: pass references, not values
6996 2003-07-18 André Pönitz <poenitz@gmx.net>
7004 * text3.C: two-phase drawing for InsetText and InsetTabular
7005 some float -> int changes.
7007 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
7009 * lyx_main.C: fix the fix
7011 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
7013 * lyx_main.C: fix a crash in batch mode if no files specified
7016 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
7018 * format.[Ch] (papersize): moved to BufferParams
7019 * converter.[Ch] (dvips_options): moved to BufferParams
7020 (dvipdfm_options): moved to anon namespace
7021 * bufferparams.[Ch]: added above functions.
7023 2003-07-17 André Pönitz <poenitz@gmx.net>
7027 * text2.C: don't call inset->update() anymore
7029 * metricsinfo.[Ch]: add convenience constructor
7031 2003-07-16 André Pönitz <poenitz@gmx.net>
7036 * text2.C: replace the LyXCursor::irow_ member with
7037 on-demand computation of the value
7039 2003-07-16 John Levon <levon@movementarian.org>
7041 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
7043 2003-07-15 André Pönitz <poenitz@gmx.net>
7046 * text2.C: remove no more needed refresh_row
7048 2003-07-15 André Pönitz <poenitz@gmx.net>
7053 * text3.C: refresh_status tristate -> need_update bool
7055 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
7057 * lyxtext.h (init): remove reinit argument (act as if always true)
7058 * text2.C: adjust to that
7060 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
7062 * bufferview_funcs.[Ch]: introduce function replaceSelection()
7063 * text3.C: use it to delete selections in some cases
7064 (bugs 441, 673, 702, 954).
7066 2003-07-14 André Pönitz <poenitz@gmx.net>
7068 * rowpainter.[Ch]: reduce interface
7070 2003-07-14 André Pönitz <poenitz@gmx.net>
7072 * BufferView_pimpl.C:
7073 * text2.C: adjust after removing unused BufferView * argument
7075 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
7077 * text2.C (init): fix a crash fired on resize
7079 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
7081 * buffer.[Ch]: added new closing signal
7082 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
7083 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
7084 BufferView::Pimpl via the closing the signal
7086 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
7088 * buffer.[Ch]: take out all bv-related from buffer
7090 * BufferView_pimpl.[Ch]: connect to new signals
7091 * CutAndPaste.C: removed useless asserts
7092 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
7095 * lyxfunc.C: moved view-related funciontality from vc here
7096 * paragraph.C: removed outdated comments
7099 2003-07-10 André Pönitz <poenitz@gmx.net>
7101 * BufferView_pimpl.C:
7105 * text2.C: remove InsetText::InnerCache, clean up consequences
7107 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
7109 * ispell.C: fix two typos in error messages
7111 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
7113 * Extend Note inset to other forms of annotation like Comment
7114 and Greyedout. Right button click gives dialog.
7116 Files modified or added (+):
7120 * ControlNote.[Ch] +
7122 * Makefile.am in frontends/xforms, frontends/xforms/forms,
7123 frontends/controllers
7127 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
7129 * aspell.C: add missing namespace lyx::support
7131 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
7133 * BufferView.[Ch] (newFile): Add
7134 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
7135 * LaTeX.[Ch] (message): added this signal and use it
7136 * buffer.[Ch] (busy, message): added these signals and use them
7137 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
7141 * importer.C: use buffer signals instead of direct bv calling
7142 * lyx_cb.[Ch] (ShowMessage): removed
7145 * paragraph_funcs.C:
7146 * text2.C: use buffer signals
7148 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7150 * introduce namespace lyx::graphics
7152 2003-07-02 André Pönitz <poenitz@gmx.net>
7154 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
7156 2003-07-01 André Pönitz <poenitz@gmx.net>
7163 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
7164 text*.C to text_func.C
7166 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7168 * introduce namespace lyx::support
7170 2003-06-30 André Pönitz <poenitz@gmx.net>
7175 * text.C: re-enable --with-included-string
7177 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7179 * textcursor.C: add <config.h>
7181 * text.C (getWord): remove const from word_location arg
7183 * lyxvc.C (getLogFile): fix const type order
7185 * lyxtext.h: remove const from word_location arg, add arg name
7187 * lyxlayout.h: currect type on labeltype.
7189 * importer.C: correct \file
7191 * converter.C (intToFormat): use std:: on ret val, ws changes
7193 * bufferlist.h: correct \file
7195 * buffer.C (makeLinuxDocFile): fix const type order
7196 (makeDocBookFile): ditto
7197 (fillWithBibKeys): use std:: on stdlib args.
7199 * CutAndPaste.C: fix authors.
7200 (availableSelections): use std:: on return vector
7202 2003-06-27 André Pönitz <poenitz@gmx.net>
7204 * BufferView_pimpl.C:
7205 * bufferview_funcs.C:
7213 * text3.C: remove LyXCursor::row_ member
7216 * text.C: rename fullRebreak() to partialRebreak() and implement
7217 a fullRebreak() that really bereks fully
7219 * textcursor.h: new struct for cursor-related data
7221 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
7223 * lyx_main.C (LyX): get full path of document loaded on the
7226 2003-06-26 André Pönitz <poenitz@gmx.net>
7228 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
7229 remove unused/broken operator>,<,>=.
7231 * text.C: remove only use of broken operator<= in an Assert().
7233 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
7235 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
7236 moved errorlist_.clear to showErrorList
7238 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
7240 * converter.C (scanLog, runLaTeX):
7241 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
7242 move the bv->showErrorList call to the callers
7243 * lyxfunc.C: i.e. here...
7245 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
7246 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
7247 namespace, the second to...
7248 * buffer_funcs (BufferFormat, parseErrors): added
7249 * errorlist.C (ErrorList(TeXErrors const &)): removed
7251 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7253 * ToolbarBackend.C (getIcon): complain when icon cannot be found
7255 2003-06-24 "Garst R. Reese" <reese@isn.net>
7259 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7261 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
7263 * version.C.in: change docversion to 1.4
7265 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
7267 * buffer.C: fix a bug just introduced
7269 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
7271 * buffer.[Ch]: added the parseError signal and use it, removed
7273 * BufferView.[Ch] (addError): moved to ...
7274 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
7275 to the Buffer::parseError signal to catch (guess what) parse errors
7276 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
7278 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
7280 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
7281 ability to create a buffer and to return an existing one from
7282 the list. Moved these functions to...
7283 * buffer_funcs.[Ch]: added
7284 * BufferView.[Ch] (loadLyXFile): added
7285 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
7286 job removed from bufferlist::loadLyXFile.
7287 * buffer.C (setReadOnly): make it work without view
7288 (i.e added an if (users))
7290 2003-06-19 Angus Leeming <leeming@lyx.org>
7293 * LyXAction.C (init):
7294 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
7295 with LFUN_DIALOG_SHOW <name> <data>.
7297 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7299 * CutAndPaste.C (availableSelections): small compilation fix for
7300 ancient (gcc 2.9x) compilers
7302 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
7304 * text3.C (cursorNext): add tmp var
7306 * text2.C (updateCounters): for function calling out of for clause
7307 (replaceSelectionWithString): ditto
7308 (insertStringAsParagraphs): ditto
7309 (getColumnNearX): add tmp var
7310 (setCursorFromCoordinates): add tmp var
7311 (cursorDownParagraph): add tmp var
7312 (deleteEmptyParagraphMechanism): add tmp var
7314 * text.C (insertChar): add tmp var
7316 * rowpainter.C (paintDepthBar): add tmp var
7318 * CutAndPaste.C (availableSelections): potentially check all
7319 paragraphs in a cut to fill the shown strings.
7321 2003-06-18 André Pönitz <poenitz@gmx.net>
7323 * kbmap.[Ch]: use vector<> instead of list<>
7325 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
7327 * text3.C (dispatch): handle arg to LFUN_PASTE, call
7328 pasteSelection with index
7330 * text2.C (pasteSelection): modify, call pasteSelection with index
7332 * paragraph.C (asString): reimplement version with no interval to
7333 call the one with interval.
7335 * lyxtext.h: add index arg to pasteSelection
7337 * MenuBackend.C (MenuItem): handle PasteRecent
7338 (Menu::read::Menutags): add md_pasterecent
7340 (expandPasteRecent): new function
7343 * MenuBackend.h: add PasteRecent to MenuItem::Kind
7345 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
7347 (availableSelections): new function
7349 2003-06-17 Angus Leeming <leeming@lyx.org>
7351 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
7353 2003-06-17 Angus Leeming <leeming@lyx.org>
7356 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
7358 * lyxfunc.C (dispatch): invoke it.
7360 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7362 * iterators.C (operator++, ParPosition): reintroduce some
7363 const_cast for the benefit of older compilers.
7365 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7367 * text3.C (dispatch): do not modify clipboard when doing
7368 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
7369 LFUN_DELETE_SKIP on a selection selection
7371 2003-06-16 André Pönitz <poenitz@gmx.net>
7377 * tabular.[Ch]: IU of clone() and getLabelList();
7379 2003-06-13 André Pönitz <poenitz@gmx.net>
7381 * tabular.h: compactification
7383 2003-06-12 André Pönitz <poenitz@gmx.net>
7387 * tabular_funcs.h: some renaming plus whitespace
7389 2003-06-12 André Pönitz <poenitz@gmx.net>
7392 * BufferView_pimpl.C:
7398 * toc.C: Return a Paragraph & for ParIterator::operator*()
7400 2003-06-11 John Levon <levon@movementarian.org>
7404 * ToolbarBackend.C: add "Toolbars" section and
7407 2003-06-10 Angus Leeming <leeming@lyx.org>
7410 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
7412 * lyxfunc.C (dispatch): invoke it.
7414 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7416 * main.C: protect <ios> with HAVE_IOS
7417 (main): protect sync_with_stdio with HAVE_IOS
7419 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
7421 * text2.C (cutSelection): adjust
7422 (pasteSelection): adjust
7424 * messages.C: handle get of empty string
7426 * main.C (main): use sync_with_stdio(false)
7428 * lyxfunc.C (dispatch): adjust
7430 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
7431 (WriteAs): remove unneeded BufferView arg.
7433 * bufferparams.h: use correct types on papersize, papersize2 and
7436 * bufferparams.C (readToken): adjust for type
7437 (writeLaTeX): add missing cases to switch.
7439 * bufferlist.C (quitWriteBuffer): adjust
7442 * buffer.C (asciiParagraph): remove some commented code.
7444 * CutAndPaste.C: remove current_view extern variable.
7445 (cutSelection): add BufferParams arg.
7446 (eraseSelection): add BufferParams arg.
7447 (pasteSelection): add Buffer const & arg
7449 2003-06-07 John Levon <levon@movementarian.org>
7452 * paragraph_funcs.C:
7453 * paragraph_pimpl.C:
7457 * paragraph.C: allow InsetERT to freely space lines,
7458 and some consolidation of code
7460 2003-06-06 José Matos <jamatos@fep.up.pt>
7462 * buffer.C (makeDocBookFile): fix bug #821
7464 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
7466 * BufferView_pimpl.C (dispatch): use Dialogs::visible
7468 2003-06-04 Angus Leeming <leeming@lyx.org>
7470 * buffer.C: bump format to 224.
7472 2003-06-05 André Pönitz <poenitz@gmx.net>
7474 * text2.C (redoParagraphs): remove two const_cast<>
7476 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
7478 * ParagraphList.h: remove last remnants of NO_STD_LIST
7480 2003-06-03 Angus Leeming <leeming@lyx.org>
7482 * factory.C (createInset): small change to the way InsetExternal's params
7485 2003-06-04 André Pönitz <poenitz@gmx.net>
7487 * buffer.h: use Undo directly instead of shared_ptr<Undo>
7489 * paragraph_pimpl.h:
7490 * paragraph.[Ch]: some Inset -> UpdatableInset changes
7492 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
7494 * undo_funcs.C: make some simple cases of undo work again
7496 2003-06-03 John Levon <levon@movementarian.org>
7498 * ispell.C: HPUX doesn't have sys/select.h
7501 2003-06-03 John Levon <levon@movementarian.org>
7503 * CutAndPaste.C: update tabular and include inset
7508 * paragraph.C: remove owningBuffer(), don't pass Buffer
7511 * factory.C: insetGraphicsParams changed
7513 2003-06-02 John Levon <levon@movementarian.org>
7519 * text3.C: remove insetparent
7521 2003-06-02 John Levon <levon@movementarian.org>
7524 * buffer.C: fix inset_iterator.end(), move out of line
7527 2003-06-01 John Levon <levon@movementarian.org>
7529 * text3.C: use a proper cut/paste when doing inset
7530 insert (from Jürgen Spitzmüller)
7532 2003-06-01 John Levon <levon@movementarian.org>
7534 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7536 2003-05-30 André Pönitz <poenitz@gmx.net>
7538 * rowpainter.C: unify second drawing phase
7540 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7542 * trans_mgr.C: remove one case of current_view
7544 * text2.C (cursorBottom): delete NO_STD_LIST stuff
7546 * paragraph_funcs.h: remove paragraph.h include
7548 * paragraph.h: delete NO_STD_LIST stuff
7550 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7552 * buffer.h: remove paragraph.h include
7554 * ParagraphList.C: delete file
7556 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7558 * toc.C (getTocList): adjust
7560 * paragraph_pimpl.C (validate): adjust
7562 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7564 * paragraph.C (Paragraph): adjust
7565 (getPositionOfInset): use const_iterator, adjust
7566 (bibitem): use const_iterator, adjust
7567 (setInsetOwner): adjust
7569 * iterators.C (operator++): adjust
7571 * InsetList.[Ch]: Replace selfmade iterator with standard
7572 vector::iterator also introduce const_iterator. Remove getPos,
7573 getInset and setInset from InsetTable. Adjust accordingly.
7575 * BufferView.C (lockInset): adjust
7576 (ChangeInsets): adjust
7578 * tabular.[Ch]: delete commented same_id functions
7580 2003-05-28 John Levon <levon@movementarian.org>
7582 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7584 2003-05-28 André Pönitz <poenitz@gmx.net>
7586 * metricsinfo.[Ch]: remove 'fullredraw' member
7588 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
7590 * lyxtextclass.C (operator): remove caching.
7592 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7596 * text2.C (cursorBottom): adjust
7597 (setCounter): use ParagraphList::find, adjust
7599 * text.C (workWidth): use ParagraphList::find, adjust
7601 * lyxcursor.C (LyXCursor): adjust
7603 * buffer.C (inset_iterator): adjust
7605 * ParagraphList.h: make iterator(value_type) private, make
7606 ParagraphList a friend of iterator.
7608 * ParagraphList.C (find): new function
7610 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7612 2003-05-27 André Pönitz <poenitz@gmx.net>
7614 * dimension.[Ch]: a -> asc, d -> des, w -> wid
7616 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7618 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7620 2003-05-26 John Levon <levon@movementarian.org>
7622 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7624 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
7626 * remove same_id from function signatures, adjust.
7628 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7630 * undo_funcs.C (createUndo): use the id functions directly, adjust.
7632 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7634 * paragraph.C (Paragraph): get rid of same_ids parameter
7636 * ParagraphList.C (insert): adjust
7639 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7641 * paragraph_funcs.C (breakParagraph): adjust
7642 (breakParagraphConservative): adjust
7644 * buffer.C (readParagraph): adjust
7646 * ParagraphList.C (insert): take a reference instead of a pointer
7649 * paragraph.[Ch] (id): new function
7651 * bufferlist.C (newFile): adjust
7653 * ParagraphList.C (ParagraphList): adjust
7655 (push_back): take a reference instead of a pointer.
7657 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7659 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7662 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7663 set else use old code.
7665 * ParagraphList.C: remove all NO_NEXT code and only compile this
7666 code of NO_STD_LIST is set.
7668 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7670 * BufferView_pimpl.C:
7680 * graphics/GraphicsConverter.C:
7681 * graphics/PreviewLoader.C: header adjustment
7683 2003-05-23 Angus Leeming <leeming@lyx.org>
7685 * LaTeXFeatures.[Ch] (useBabel): new method.
7686 * bufferparams.C (writeLaTeX): use it.
7688 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7690 * ParagraphList.h (set): remove unused function.
7692 2003-05-23 André Pönitz <poenitz@gmx.net>
7695 * BufferView_pimpl.C:
7699 * undo_funcs.C: setUndo reworked
7701 * iterators.[Ch]: add access to topmost ParagraphList
7703 * lyxtext.[Ch] (workWidth): add a const
7705 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7707 * texrow.[Ch] (increasePos): remove function
7708 * exporter.C (export): removed unused var and outdated comment
7710 2003-05-23 Angus Leeming <leeming@lyx.org>
7712 * latexrunparams.h: rename fragile as moving_arg.
7713 * paragraph.C (simpleTeXOnePar): ditto.
7714 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7716 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7718 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7720 (textUndoOrRedo): comment out a currently unused var.
7722 * paragraph.h (NO_NEXT): enable NO_NEXT
7724 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7726 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7728 * exporter.C (Export): adjust for removeAutoInsets removal.
7730 * buffer.C (runChktex): adjust for removeAutoInsets removal.
7732 * LyXAction.C (init): remove LFUN_REMOVEERRORS
7734 * BufferView.[Ch] (removeAutoInsets): delete function
7736 2003-05-22 Angus Leeming <leeming@lyx.org>
7738 * latexrunparams.h: add a free_spacing variable.
7740 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7741 to pass moving_arg, as the data is stored in runparams.fragile.
7743 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7744 to Inset::latexOptional or to simpleTeXOnePar.
7746 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7747 free_spacing arg to Inset::latexOptional.
7749 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7752 2003-05-22 Angus Leeming <leeming@lyx.org>
7754 * latexrunparams.h: add fragile and use_babel variables.
7756 * bufferparams.[Ch] (writeLaTeX): return use_babel.
7757 * buffer.C (makeLaTeXFile): store this returned value in
7758 runparams.use_babel, thus passing it to the inset::latex methods.
7760 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7761 simpleTeXSpecialChars as it is now stored in runparams.fragile.
7763 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7764 longer has a fragile arg, as it is stored in runparams.fragile.
7766 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7767 moving_arg parameter as the data is stored in runparams.fragile.
7769 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7770 a fragile parameter as the data is stored in runparams.fragile.
7772 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7774 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7776 2003-05-22 Angus Leeming <leeming@lyx.org>
7778 * latexrunparams.h: add a 'bool nice' which defaults to false.
7780 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7781 now encapsulated within runparams.
7783 * bufferlist.C (updateIncludedTeXfiles):
7784 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7786 2003-05-22 Angus Leeming <leeming@lyx.org>
7788 * latexrunparams.h: new file containing struct LatexRunParams.
7789 * Makefile.am: add new file.
7791 * LaTeX.[Ch] (c-tor, run):
7792 * buffer.[Ch] (makeLaTeXFile):
7793 * bufferlist.[Ch] (updateIncludedTeXfiles):
7794 * converter.C (convert, scanLog):
7795 * converter.[Ch] (runLaTeX):
7796 * exporter.C (Export):
7797 * paragraph.[Ch] (simpleTeXOnePar):
7798 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7799 * paragraph_funcs.[Ch] (latexParagraphs):
7800 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7801 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7802 pass around a LatexRunParams parameter.
7804 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7806 * paragraph.[Ch]: remove unused constructor
7808 * ParagraphList.C (erase): new function, taking two iterators
7810 2003-05-22 André Pönitz <poenitz@gmx.net>
7812 * undo_funcs.C: remove duplicated code
7814 * iterator.[Ch]: operator=
7816 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7818 * tabular.C (SetMultiColumn): ws changes
7820 * rowpainter.C (paintFirst): get rid of a ->previous
7822 * lyx_cb.C (getPossibleLabel): parlist simplification
7824 * BufferView.C (ChangeInsets): simplify slightly.
7826 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
7828 * LyXAction.C: new lfun space-insert, kill protected-space-insert
7829 * lfuns.h: new LFUN_SPACE
7830 * lyxfunc.C: protected space has a new lfun
7831 * paragraph_funcs.C: read new space insets
7833 * factory.C: handle new space insets
7835 2003-05-22 André Pönitz <poenitz@gmx.net>
7838 * BufferView_pimpl.C:
7841 * undo_funcs.C: return a ParIterator from getParFromID.
7843 * iterators.[Ch]: add two const's
7845 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7847 * toc.C (getTocList): adjust
7849 * iterators.[Ch]: rework for parlist
7851 * buffer.C (par_iterator_begin): adjust
7852 (par_iterator_end): adjust
7854 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7856 * BufferView.C (removeAutoInsets): adjust
7857 (ChangeInsets): adjust
7859 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
7861 * text.C (top_y): fix bug 1110
7863 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
7865 * errorlist.[Ch]: added
7868 * BufferView_pimpl.C:
7869 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7872 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7874 * Makefile.am: ensure that lyx is relinked upon changes to the
7875 various "convenience" libs.
7877 2003-05-20 Angus Leeming <leeming@lyx.org>
7879 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7880 files are compiled in alphabetical order again.
7882 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7884 2003-05-19 Angus Leeming <leeming@lyx.org>
7886 * gettext.[Ch]: remove "char const * _(char const *)".
7888 2003-05-19 André Pönitz <poenitz@gmx.net>
7890 * dimension.[Ch]: promote from mathed/dimension.[Ch]
7899 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7901 2003-05-19 André Pönitz <poenitz@gmx.net>
7905 * lyxtextclass.[Ch]:
7907 * paragraph_funcs.[Ch]:
7909 * text3.C: more insetenv work
7911 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
7913 * ParagraphParameters.C (params2string): small bug fixed
7915 2003-05-16 André Pönitz <poenitz@gmx.net>
7918 * bufferview_funcs.C: patch from Kornel Benko to prevent
7919 crash when _(...) is called twice in a statement
7921 2003-05-16 André Pönitz <poenitz@gmx.net>
7928 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7930 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
7932 * lyx_main.C (init): remove spurious static_cast
7934 2003-05-14 André Pönitz <poenitz@gmx.net>
7936 * BufferView.C: fix format string
7938 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
7940 * BufferView.[Ch] (insertErrors): removed
7941 * BufferView.[Ch] (showErrorList): added
7942 * buffer.C (runChkTeX):
7943 * converter.C (scanLog): call showErrorList instead of inserterrors
7945 2003-05-13 André Pönitz <poenitz@gmx.net>
7947 * BufferView_pimpl.C:
7949 * bufferview_func.C:
7956 * tabular_funcs.h: tostr() from its own header
7958 * ParagraphParameters.C:
7963 * text3.C: STRCONV()
7965 2003-05-12 André Pönitz <poenitz@gmx.net>
7968 * BufferView_pimpl.C:
7972 * ParagraphParameters.C:
7976 * bufferview_funcs.C:
7989 * paragraph_funcs.C:
7993 * text3.C: boost::format -> bformat all over the place
7996 2003-05-09 André Pönitz <poenitz@gmx.net>
7998 * LColor.[Ch]: Pimpl the #include <map> away
8000 2003-05-09 John Levon <levon@movementarian.org>
8002 * bufferlist.C: never remove emergency saves
8004 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8006 * Makefile.am: better lib building
8008 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
8010 * texrow.[Ch]: remove dependency on Paragraph and just store a id
8012 * paragraph_pimpl.C (simpleTeXBlanks): adjust
8013 (simpleTeXSpecialChars): adjust
8014 (simpleTeXSpecialChars): adjust
8015 * paragraph.C (simpleTeXOnePar): adjust
8016 * buffer.C (makeLaTeXFile): adjust
8018 * Makefile.am (BOOST_LIBS): allow boost as system lib.
8020 * text2.C (changeDepth): parlist cleanup
8021 (getColumnNearX): ditto
8023 * rowpainter.C (getLabelFont): parlist cleanup
8025 * bufferlist.C (newFile): parlist cleanup
8027 * CutAndPaste.C (eraseSelection): parlist cleanup
8029 * BufferView_pimpl.C (trackChanges): parlist cleanup
8032 * BufferView.C (lockInset): parlist cleanup.
8033 (ChangeInsets): ditto
8035 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8037 * CutAndPaste.h: Update file header.
8039 * CutAndPaste.C: Update file header.
8040 Store the parts cut out of the Document in a limited_stack.
8041 (copySelection): adjust
8042 (pasteSelection): new function, takes the index in the limited stack.
8043 (nrOfParagraphs): adjust
8044 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
8045 simplify error inset insertion.
8046 (checkPastePossible): adjust
8048 2003-05-06 John Levon <levon@movementarian.org>
8050 * text2.C: don't cast wrap inset to float
8052 2003-05-05 André Pönitz <poenitz@gmx.net>
8055 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
8057 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
8058 few naked Paragraph *.
8060 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
8062 * bufferparams.C: Output warning if a document with missing
8063 TeX document class is loaded
8064 * exporter.C: Disable TeX exports if the document class is missing
8067 * lyxtextclasslist.C: Handle new textclass.lst format; new method
8068 isTeXClassAvailable()
8070 2003-05-03 John Levon <levon@movementarian.org>
8073 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
8074 explicit cursor show/hide
8076 * BufferView_pimpl.h:
8077 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
8078 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
8080 * lyxfunc.C: hide cursor before dispatching.
8085 * text3.C: remove explicit cursor hides
8087 2003-05-02 André Pönitz <poenitz@gmx.net>
8089 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
8092 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
8095 * text2.C: tiny whitespace
8097 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8099 * undo_funcs.C: almost only ws changes.
8101 * ParagraphList.C (splice): just return if pl is empty.
8103 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8105 * ParagraphList.C (splice): new function.
8107 * CutAndPaste.C (pasteSelection): use it
8109 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8111 * CutAndPaste.C (pasteSelection): remove the last next and
8112 previous from this file.
8114 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8116 * CutAndPaste.C (pasteSelection): more clean up, user proper
8117 ParagraphList functions for pasteing.
8119 * ParagraphList.C (insert): new function, three arg insert
8121 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8123 * ParagraphList.C (insert): new function, three arg insert
8125 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
8128 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8130 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
8132 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8134 * CutAndPaste.C (pasteSelection): remove some unneeded code.
8136 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8138 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
8139 (copySelection): clean up a bit.
8140 (pasteSelection): use make_pair
8142 * ParagraphList.C (ParagraphList): implement copy constructor
8143 (operator=): implement, base on copy constructor.
8146 * paragraph.C (erase): return a bool
8148 * paragraph_pimpl.C (erasePos): remove function, move contents...
8149 (erase): ... here. Return a bool.
8150 (erase): call erase instead of erasePos.
8152 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
8154 * ParagraphList.h: define PitPosPair
8155 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
8156 ParagraphList, fix a bug on pasting multiple pars
8157 * text2.C: change interface to C&P
8159 2003-04-30 André Pönitz <poenitz@gmx.net>
8161 * undo_func.C: revert part of yesterday's patch 2
8163 2003-04-30 John Levon <levon@movementarian.org>
8165 * LColor.C: s/tabular/table/
8167 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8169 * text3.C (dispatch): do not convert iterator -> pointer
8170 * undo_funcs.C (setCursorParUndo): ditto
8171 * text_funcs.C (transposeChars): ditto
8173 * text2.C (setLayout): ws changes only
8175 * text.C (breakParagraph): do not convert iterator -> pointer
8177 (acceptChange): ditto
8178 (rejectChange): ditto
8183 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
8186 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
8188 * text3.C (gotoInset): YABG (yet another bad getChar)
8190 2003-04-29 André Pönitz <poenitz@gmx.net>
8192 * paragraph.h: make operator= private unimplemented as long as
8195 * ParagraphList.C: whitespace
8198 * paragraph_pimpl.[Ch]:
8199 * paragraph_funcs.C:
8201 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
8204 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
8206 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
8208 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
8209 * paragraph.[Ch] (erase):
8210 * paragraph_pimpl.[Ch] (erase): change return type and value
8211 * text2.C (cutSelection): some rework
8213 2003-04-28 John Levon <levon@movementarian.org>
8215 * bufferlist.C: changes for unsaved changes dialog
8217 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8219 * bufferlist.C (newFile): set language (messages_) for new
8222 * buffer.C (readFile): ws changes only.
8224 2003-04-28 André Pönitz <poenitz@gmx.net>
8229 * BufferView_pimpl.C:
8230 * BufferView.C: getParFromID related ParagraphList::iterator changes
8232 2003-04-28 André Pönitz <poenitz@gmx.net>
8234 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
8237 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8239 * messages.C: remove one more localedir class variable.
8241 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8243 * messages.C (getLocaleDir): singleton generation function
8245 (Messages): add a default constructor.
8247 * main.C (main): do not setup localedir here, do not call
8250 * gettext.C (_): use it.
8251 (gettext_init): delete funciton
8253 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8255 * gettext.C (getLyXMessages): new singleton generating function.
8257 * buffer.C (updateDocLang): adjust
8259 * Makefile.am (messages.o): add target
8260 (main.o): remove target
8262 2003-04-27 John Levon <levon@movementarian.org>
8267 * lyxvc.C: specify cancel button in Alert::prompt
8269 2003-04-26 John Levon <levon@movementarian.org>
8274 * LyXAction.C: add LFUN_INSET_SETTINGS
8276 * lyxfunc.C: don't enable tabular-feature when there's
8277 just any locking inset
8279 2003-04-26 John Levon <levon@movementarian.org>
8281 * bufferlist.C: re-add Cancel to buffer close question
8283 * lyxfunc.C: fix import UI a bit
8285 2003-04-25 John Levon <levon@movementarian.org>
8287 * gettext.C: remove the broken asserts for now
8289 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
8291 * messages.C: make case where setlocale cannot comply work better.
8293 * buffer.C (updateDocLang): new function
8294 (changeLanguage): use it
8297 * text2.C (setCounter): use B_ a bit.
8299 * lyxlayout.C (Read): be sure to trim the label strings.
8301 * messages.C (Messages): fix typo in comment
8303 * buffer.C (readFile): set message_ after file is loaded.
8304 (makeDocBookFile): remove double return
8305 (changeLanguage): reset message_ upon language change.
8306 (B_): new func, use this to get translated buffer strings.
8308 * main.C: add myself and Jean Marc as authors.
8310 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
8312 * messages.[hC]: pimplify Messages, and three different pimpls to be
8313 used in different circumstances.
8315 * gettext.[Ch]: change for use with new message code.
8317 2003-04-24 André Pönitz <poenitz@gmx.net>
8319 * factory.C: support for eqref
8321 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
8323 * messages.[Ch]: add missing char
8325 * Makefile.am (lyx_SOURCES): add messages.[Ch]
8327 * messages.[Ch]: New files
8329 2003-04-18 John Levon <levon@movementarian.org>
8333 * BufferView_pimpl.C:
8337 * text2.C: remove layout-copy/paste (bug 778)
8339 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
8341 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
8343 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
8345 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
8346 if they succeed. Act accordingly.
8348 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8350 * text2.C (setCharFont): adjust
8351 (setCounter): adjust
8352 (insertStringAsLines): adjust
8354 * text.C (leftMargin): adjust
8355 (setHeightOfRow): adjust
8357 * rowpainter.C (paintFirst): adjust
8360 * paragraph_funcs.C (depthHook): ParagraphList::iterators
8362 (isFirstInSequence): ditto
8363 (getEndLabel): ditto
8366 * paragraph.C (getParLanguage): comment out some hard stuff.
8368 * buffer.C (insertStringAsLines): take a ParagraphList as arg
8370 (simpleDocBookOnePar): ditto
8371 (makeDocBookFile): use ParagraphList::iterator
8373 * CutAndPaste.C (pasteSelection): adjust
8375 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8377 * text2.C (getFont): adjust
8378 (getLayoutFont): adjust
8379 (getLabelFont): adjust
8381 * paragraph_funcs.C (TeXOnePar): adjust
8383 * buffer.C (simpleLinuxDocOnePar): adjust
8384 (simpleDocBookOnePar): adjust
8386 * CutAndPaste.C (pasteSelection): adjust
8388 * BufferView.C (getEncoding): adjust
8390 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
8392 2003-04-16 John Levon <levon@movementarian.org>
8394 * lyxfind.C: use parlist stuff for search/changes
8396 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8398 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
8400 * text2.C (deleteEmptyParagraphMechanism): adjust
8402 * text2.[Ch] (ownerParagraph): delete func (both of them
8404 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8406 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
8408 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8410 * ParagraphList.C: prepare for NO_NEXT
8412 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8414 * text2.C (getFont): adjust
8415 (getLayoutFont): adjust
8416 (getLabelFont): adjust
8418 * paragraph.C (getFont): adjust
8419 (getLabelFont): adjust
8420 (getLayoutFont): adjust
8422 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
8424 2003-04-15 John Levon <levon@movementarian.org>
8428 * lyx_main.C: handle Include in .ui files
8430 2003-04-15 John Levon <levon@movementarian.org>
8432 * MenuBackend.C: make the doc files length shorter
8435 * ToolbarBackend.C: handle toolbar placement flags,
8438 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8440 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
8443 * paragraph_funcs.C (TeXOnePar): adjust
8445 * paragraph.C (getLabelFont): add outerfont arg, adjust
8446 (getLayoutFont): ditto
8447 (simpleTeXOnePar): adjust
8449 * paragraph_pimpl.C (realizeFont): delete func
8451 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
8453 * text2.C (beforeFullRowInset): added a bad getchar check, removed
8454 row argument, constify cur argument.
8456 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8458 * text2.C (getFont): adjust
8459 (getLayoutFont): adjust
8460 (getLabelFont): adjust
8462 * paragraph_funcs.C (TeXOnePar): adjust
8463 (outerFont): new func...
8464 (realizeFont): ...moved out from here, changed this to facilitate
8467 * paragraph.C (getFont): take outerfont as arg, adjust
8468 (simpleTeXOnePar): add outerfont arg, adjust
8470 * buffer.C (simpleLinuxDocOnePar): adjust
8471 (simpleDocBookOnePar): adjust
8473 * CutAndPaste.C (pasteSelection): adjust
8475 * BufferView.C (getEncoding): adjust
8477 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8479 * text2.C (setCharFont): adjust
8480 (setCounter): adjust
8482 * text.C (leftMargin): adjust
8483 (setHeightOfRow): adjust
8485 * rowpainter.C (paintFirst): adjust
8488 * paragraph_pimpl.C (realizeFont): adjust
8490 * paragraph.C (isFirstInSequence): move from here...
8491 * paragraph_funcs.C (isFirstInSequence): ...to here
8493 * paragraph.C (outerHook): move from here...
8494 * paragraph_funcs.C (outerHook): ...to here
8496 * paragraph.C (depthHook): move from here...
8497 * paragraph_funcs.C (depthHook): ...to here
8499 * paragraph.C (getEndLabel): move from here...
8500 * paragraph_funcs.C (getEndLabel): ...to here
8502 * text2.C (realizeFont): move from here...
8503 * paragraph_funcs.C (realizeFont): ...to here
8505 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8507 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
8509 2003-04-14 Angus Leeming <leeming@lyx.org>
8511 * LColor.[Ch]: scrap LColor mathcursor.
8513 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8515 * lyxlex.[Ch] (text): delete function
8516 * trans.C (Load): adjust
8517 * paragraph_funcs.C (readParToken): adjust
8519 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8521 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8522 vector<char> instead of a char[].
8524 * lyxlex_pimpl.C (getString): adjust
8526 (lex): use getString
8530 * lyxlex.C (text): use pimpl_->getString()
8534 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8536 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8537 (makeFontEntriesLayoutSpecific): temp var for par.size()
8538 (setLayout): temp var for ownerParagraphs().end()
8539 (fullRebreak): temp var for rows().end()
8540 (selectionAsString): temp var for boost::next(startpit), realize
8541 that the while really is a regular for loop.
8542 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8543 setCursor in one place.
8544 (setParagraph): temp vr for ownerParagraphs().end()
8545 (updateCounters): make the while loop a for loop
8546 (cutSelection): temp var for ownerParagraphs().end()
8547 (updateInset): make the do {} while() a regular for loop
8548 (getCursorX): use temp vars
8549 (setCurrentFont): use temp vars
8550 (getColumnNearX): use temp vars
8552 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8554 * text.C (transformChar): use temp var for getChar
8555 (computeBidiTables): use temp var for row->par()
8556 (fill): move temp vars for row->par() and pit->layout() earlier in
8558 (labelFill): use temp var for row->par()
8559 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8560 asc and desc, realize that pit never changes and that firstpit is
8561 just a duplicate and not needed. Exchange rit->par() with pit in a
8563 (breakAgain): use a temp var for boost::next(rit)
8564 (breakAgainOneRow): ditto
8565 (breakParagraph): use a temp var for rows().begin()
8566 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8567 (cursorRightOneWord): use temp var for cursor.par() and
8568 cursor.pos(), remove usage of tmpcursor.
8569 (cursorLeftOneWord): use temp var for cursor.par() and
8570 cursor.pos() only set cur at end of function.
8572 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8574 * text.C, text2.C: exchange all usage of Paragraph::next with
8575 boost::next(ParagraphList::iterator)
8577 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8579 * text2.C (cursorTop): simplify implementation
8580 (cursorBottom): ditto
8581 (setParagraph): use ParagraphList::iterator
8582 (setCurrentFont): adjust
8583 (getColumnNearX): adjust
8584 (cursorRight): adjust
8585 (cursorLeft): remove usage of Paragraph::previous
8586 (cursorUpParagraph): ditto
8587 (deleteEmptyParagraphMechanism): slight cleanup
8589 * text.C (isBoundary): take a Paragraph const & instead of a
8591 (addressBreakPoint): ditto
8592 (leftMargin): remove usage of Paragraph::previous.
8593 (setHeightOfRow): ditto
8594 (cursorLeftOneWord): ditto
8595 (selectNextWordToSpellcheck): ditto
8598 (breakParagraph): remove one usage of Paragraph::next
8599 (redoParagraph): ditto
8600 (acceptChange): ditto
8601 (insertChar): adjust
8602 (rowBreakPoint): adjust
8604 * bufferview_funcs.C (toggleAndShow): adjust
8606 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
8608 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8609 methods to access it.
8611 * text.C: Added updateRowPositions to compute all row positions.
8612 Make top_y and getRowNearY() to use the cached y position
8614 2003-04-11 John Levon <levon@movementarian.org>
8616 * text.C (rowBreakPoint): reintroduce the labelEnd
8617 checks, code copied from the row fill stuff. Deep voodoo.
8619 * text.C (fill): add a comment and debugging for the
8622 2003-04-11 John Levon <levon@movementarian.org>
8624 * text.C: make sure fullrow insets get wrapped to the next line,
8625 even when they're in a manual label
8627 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
8629 * text2.C (insertParagraph): make it take ParagraphList::iterator
8631 (setLayout): make it return ParagraphList::iterator
8632 (redoParagraphs): ditto
8634 (checkParagraph): ditto
8636 * text.C (getRow): make getrow take ParagraphList::iterator as arg
8638 * text2.C: adjust several funcs.
8639 (realizeFont): take a ParagraphList::iterator as arg.
8640 (getLayoutFont): ditto
8641 (getLabelFont): ditto
8642 (setCharFont): ditto
8644 * text.C: adjust several funcs.
8646 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8648 * text.C (selectNextWordToSpellcheck): don't accidentally
8651 2003-04-10 John Levon <levon@movementarian.org>
8653 * ToolbarBackend.C (getIcon): special handling for
8656 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8658 * text2.C (cursorRight): a getChar assert fixed
8660 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8662 * text2.C (getFont): change to take a ParagraphList::iterator
8663 instead of Paragraph*
8664 Adjust several functions.
8666 * text.C (transformChar): change to take a ParagraphList::iterator
8667 instead of Paragraph*
8668 (singleWidth): ditto
8669 Adjust several functions.
8671 * rowpainter.C: adjust several functions
8672 * rowpainter.h:store a ParagraphList::iterator and not a
8676 2003-04-09 John Levon <levon@movementarian.org>
8681 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8682 and the "help" bits as well
8684 2003-04-09 John Levon <levon@movementarian.org>
8687 * ToolbarBackend.C: allow multiple toolbars
8689 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8691 * undo_funcs.C (setCursorParUndo): adjust
8693 * text_funcs.C (transposeChars): adjust
8695 * text3.C (gotoNextInset): adjust
8698 * text2.C (setLayout): adjust
8699 (changeDepth): adjust
8701 (redoParagraphs): adjust
8702 (selectionAsString): adjust
8703 (setParagraph): adjust
8704 (insertInset): adjust
8705 (cutSelection): adjust
8706 (copySelection): adjust
8707 (pasteSelection): adjust
8708 (insertStringAsLines): adjust
8709 (updateInset): adjust
8710 (setCursor): change to take a ParagraphList::iterator parameter
8711 (setCursorIntern): change to take a ParagraphList::iterator parameter
8712 (setCurrentFont): adjust
8713 (cursorLeft): adjust
8714 (cursorRight): adjust
8715 (deleteEmptyParagraphMechanism): adjust
8717 * text.C (breakParagraph): adjust
8718 (insertChar): adjust
8719 (acceptChange): adjust
8720 (rejectChange): adjust
8721 (selectNextWordToSpellcheck): adjust
8722 (changeCase): adjust
8726 * lyxfind.C (SearchForward): adjust
8727 (SearchBackward): adjust
8728 (nextChange): adjust
8730 * lyxcursor.C (par): adjust
8732 * lyxcursor.h: store a ParagraphList::iterator instead of a
8735 * lyx_cb.C (getPossibleLabel): adjust
8737 * bufferview_funcs.C (toggleAndShow): adjust
8739 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8742 * BufferView.C (removeAutoInsets): adjust
8743 (lockedInsetStoreUndo): adjust
8745 2003-04-09 John Levon <levon@movementarian.org>
8747 * ToolbarBackend.C: try icon without argument
8748 if with argument fails
8750 2003-04-08 John Levon <levon@movementarian.org>
8753 * ToolbarBackend.C: add getIcon(), handle tooltip,
8754 and change from "Icon" to "Item".
8756 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8758 * BufferView.C (lockInset): another bad getchar crunched
8760 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8762 * text2.C (changeDepth): do not setUndo on test_only (make undo work
8765 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
8767 * lyxfind.C (searchForward, searchBackwards): bug 782
8769 2003-04-07 John Levon <levon@movementarian.org>
8771 * paragraph.C: remove dead comment
8773 * text.C: remove troublesome depth-fiddling code
8774 in leftMargin() and rightMargin() (bug 1017)
8776 * text.C: fix breaking of rows in nested lists
8779 * text2.C (updateCounters): fix up depth values
8782 2003-04-07 John Levon <levon@movementarian.org>
8784 * BufferView_pimpl.C: clear message when doc finishes resizing,
8785 and after a mouse event
8787 * lyxfunc.C: clear message after exiting inset
8789 2003-04-07 John Levon <levon@movementarian.org>
8791 * bufferview_funcs.C: show math status not outside
8792 status in the statusbar
8794 2003-04-07 John Levon <levon@movementarian.org>
8796 * lyxfunc.C: note status changed after a depth change
8798 2003-04-04 Angus Leeming <leeming@lyx.org>
8800 * LaTeX.h: move AuxInfo operator==, != out of line.
8801 Remove LaTeX virtual destructor; nothing derives from it.
8802 Move operator()() out of public area and rename it startscript().
8803 Change protected for private.
8805 2003-04-04 Angus Leeming <leeming@lyx.org>
8808 * text2.C: remove unneeded #includes.
8810 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8812 * text2.C (dEPM): fix the heigth of the next row
8814 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8816 * text.C: squashed an invalid getChar requester + some ws changes
8818 2003-04-03 John Levon <levon@movementarian.org>
8820 * bufferview_funcs.h:
8821 * bufferview_funcs.C:
8824 * text2.C: make getStatus work for the env depth lfuns
8826 2003-04-03 John Levon <levon@movementarian.org>
8828 * bufferview_funcs.h:
8829 * bufferview_funcs.C:
8832 * text2.C: parlistize decDepth(), by merging it with incDepth()
8834 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8836 * lyxrow.h: store a ParagraphList::iterator instead of a
8837 Paragraph* and adjust other class functions to suit.
8839 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8842 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8844 * text2.C (setCursor): do not anchor to cursor row for the time being
8846 2003-04-02 John Levon <levon@movementarian.org>
8853 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8855 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8857 * paragraph.h: make ParagraphList and ParagraphList::iterator
8858 friends of Paragraph.
8860 * buffer.C (makeLinuxDocFile): move towards ParagraphList
8862 * ParagraphList.C: Use the private next_ and previous_ from
8865 2003-04-01 John Levon <levon@movementarian.org>
8869 * Makefile.am: rename, remove defaults gunk
8872 * MenuBackend.C: remove defaults gunk
8875 * Languages.C: remove defaults gunk
8878 * lyx_main.C: error out if files couldn't be found.
8880 2003-04-02 John Levon <levon@movementarian.org>
8882 * text2.C: make incDepth() use parlist
8884 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8886 * undo_funcs.C (firstUndoParagraph): adjust
8888 * text3.C (gotoInset): adjust
8889 (dispatch): adjust, and rewrite loop.
8891 * text2.C (init): adjust, and rewrite loop.
8892 (redoParagraphs): adjust
8893 (updateInset): adjust, and rewrite loop.
8894 (deleteEmptyParagraphMechanism): adjust
8896 * tabular.C (LyXTabular): adjust
8897 (SetMultiColumn): adjust
8900 * lyxtext.[Ch] (ownerParagraph): delete function
8901 (ownerParagraphs): new function returns a ParagraphList.
8903 * BufferView.C (removeAutoInsets): adjust
8904 (insertErrors): adjust
8905 (setCursorFromRow): adjust
8907 2003-04-01 Angus Leeming <leeming@lyx.org>
8909 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8912 2003-04-02 John Levon <levon@movementarian.org>
8918 * text_funcs.C: make transposeChars a free function
8920 * lyxrow_funcs.C: remove wrong comment
8922 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8925 * rowpainter.C: adjust
8930 * lyxrow_funcs. [Ch]: new files
8932 * lyxrow.[Ch]: remove next and previous pointers
8933 (next,previous): remove accessor functions
8934 (isParEnd): move to lyxrow_funcs
8935 (lastPos): move to lyxrow_funcs
8936 (nextRowIsAllInset): move to lyxrow_funcs
8937 (lastPrintablePos): move to lyxrow_funcs
8938 (numberOfSeparators): move to lyxrow_funcs
8939 (numberOfHfills): move to lyxrow_funcs
8940 (numberOfLabelHfills): move to lyxrow_funcs
8941 (hfillExpansion): move to lyxrow_funcs
8945 * bufferview_funcs.C (toggleAndShow): adjust
8947 * RowList.h: Remove class RowList from file leave just a
8950 * RowList.C: delete file
8952 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8955 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8957 * text3.C (cursorPrevious): adjust
8958 (cursorNext): adjust
8961 * text2.C (redoHeightOfParagraph): adjust
8962 (redoDrawingOfParagraph): adjust
8965 * text.C (breakParagraph): adjust
8966 (insertChar): adjust
8969 * rowpainter.C (RowPainter): adjust
8970 (leftMargin): simplify and adjust
8971 (most rowpainter functions): adjust.
8973 * rowpainter.h: store the row as RowList::iterator not as Row*
8975 * lyxcursor.C (row): taka RowList::iterator as arg
8978 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8981 2003-04-01 Angus Leeming <leeming@lyx.org>
8983 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8984 stuff like bool Bool.
8986 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8988 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8991 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8993 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8996 * lyxtext.h (rows): drop one version and leve a const variant that
8997 returns a RowList::iterator.
8999 2003-03-31 Angus Leeming <leeming@lyx.org>
9001 * text.C (fill): ensure that the signature is the same as that in the
9004 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
9006 * text2.C (redoParagraphs): adjust
9007 (updateCounters): adjust
9008 (checkParagraph): adjust
9009 (getColumnNearX): adjust and reformat a bit.
9011 * text.C (top_y): adjust
9013 (leftMargin): adjust
9014 (prepareToPrint): adjust
9016 (getRowNearY): adjust
9018 * lyxtext.h: make rowlist_ mutable.
9020 * RowList.h: add const_iterator
9021 * RowList.C: adjust for RowList::const_iterator.
9023 * text2.C (getCursorX): make it take a RowList::iterator as arg,
9026 2003-03-31 John Levon <levon@movementarian.org>
9029 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
9031 * lyx_main.C: set default fonts from using lyx_gui funcs
9033 * exporter.C: pdf_mode moved from lyxrc
9036 * lyxfunc.C: changes from above
9038 2003-03-31 John Levon <levon@movementarian.org>
9040 * lyx_main.C: fix to the last fix
9042 2003-03-31 John Levon <levon@movementarian.org>
9044 * bufferlist.C: "Load original" -> "Load Original"
9050 * format.C: more Alert cleanups
9052 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
9054 * text2.C (removeParagraph): make it take a RowList::iterator as
9056 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
9057 (postRowPaint): make it take a RowList::iterator as arg, adjust.
9059 * text.C (anchor_row): make it take a RowList::iterator as arg,
9061 (computeBidiTables): make it take a const reference to Row instead
9062 of Row pointer, adjust.
9063 (leftMargin): make it take a RowList::iterator as arg, adjust.
9064 (rowBreakPoint): adjust
9065 (breakAgainOneRow): make it take a RowList::iterator as arg,
9067 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
9069 * bufferview_funcs.C (toggleAndShow): adjust
9071 2003-03-30 John Levon <levon@movementarian.org>
9075 * boost-inst.C: moved to support
9077 * several files: changes as a result
9079 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
9081 * text2.C (LyXText): adjust.
9083 (removeRow): make it take a RowList::iterator as arg, adjust.
9084 (fullRebreak): adjust
9085 (deleteEmptyParagraphMechanism): adjust
9086 (clearPaint): adjust
9089 * text.C (top_y): adjust
9090 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
9091 (breakAgain): make it take a RowList::iterator as arg, adjust.
9092 (breakParagraph): adjust
9093 (insertChar): adjust
9096 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
9097 need_break_row, and refresh_row.
9099 * text3.C (dispatch): adjust
9101 * text2.C (checkParagraph): adjust
9103 (setCursorFromCoordinates): adjust
9105 * text.C (top_y): adjust
9107 (getRow): make it return a RowList::iterator, adjust
9108 (getRowNearY): make it return a RowList::iterator, adjust
9110 * text2.C (init): adjust
9111 (insertRow): remove function
9112 (insertParagraph): adjust
9113 (redoParagraphs): adjust
9114 (fullRebreak): adjust
9115 (updateCounters): adjust
9117 * text.C (top_y): rewrite to use RowList iterators.
9119 (setHeightOfRow): rewrite to sue RowList iterators.
9120 (appendParagraph): adjust
9121 (breakAgain): adjust
9122 (breakAgainOneRow): adjust
9123 (breakParagraph): adjust
9125 (getRowNearY): adjust, and remove commented code.
9127 * lyxtext.h (firstRow): delete function
9128 (lastRow): delete function
9129 (rows): new function (const and non-const versions.)
9130 (insertRow): delete function
9132 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
9134 2003-03-29 John Levon <levon@movementarian.org>
9136 * BufferView_pimpl.C: always update scrollbar top
9137 because pasting text when we're anchored could mean we
9138 miss an update altogether
9140 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
9142 * text2.C (init): use rowlist_.end() and not 0.
9143 (insertRow): change to take a RowList::iterator as arg, adjust
9145 (insertParagraph): change to take a RowList::iterator as arg,
9147 (redoParagraphs): remove some debug msgs.
9149 * text.C (appendParagraph): change to take a RowList::iterator
9150 arg, adjust for this.
9151 (breakAgain): add an assert
9152 (breakAgainOneRow): ditto
9154 2003-03-29 John Levon <levon@movementarian.org>
9156 * text2.C: do not clear selection after inc/decDepth
9159 2003-03-29 John Levon <levon@movementarian.org>
9162 * buffer.C: fix broken strerrors according to Lars
9164 2003-03-29 John Levon <levon@movementarian.org>
9166 * converters.C: more Alert cleanups
9168 2003-03-29 John Levon <levon@movementarian.org>
9170 * bufferview_funcs.C: remove pointless Alert
9172 * buffer.C: fix confusing error message when
9173 a template is chmoded 000
9175 2003-03-29 John Levon <levon@movementarian.org>
9179 * BufferView_pimpl.C: Alert fixes
9183 * tabular-old.C: remove unused table compat reading
9185 2003-03-29 John Levon <levon@movementarian.org>
9190 * lyx_cb.C: more Alert cleanups
9192 * lyxfunc.C: don't allow chktex if not latex document
9194 2003-03-29 John Levon <levon@movementarian.org>
9198 * buffer.C: warnings pushed down from support/,
9201 2003-03-29 John Levon <levon@movementarian.org>
9203 * lyxfunc.C: safety check for C-r (revert)
9205 2003-03-29 John Levon <levon@movementarian.org>
9208 * bufferlist.C: several UI fixes using Alert::prompt.
9209 Fix the pointless looping quit code. Fix stupid revert
9214 * lyx_cb.C: use Alert::prompt
9216 * lyx_main.C: remove a silly question
9218 * lyxfunc.C: remove a couple of silly questions,
9221 2003-03-28 John Levon <levon@movementarian.org>
9223 * text2.C: fix bug 974 (End on empty par)
9225 2003-03-28 John Levon <levon@movementarian.org>
9227 * BufferView_pimpl.C:
9229 * lfuns.h: remove do-nothing math greek lfuns
9231 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
9233 * lyxgluelength.h (isValidGlueLength): add default arg on
9234 parameter 2. Remove default arg from friend in class.
9236 * lyxlength.h (isValidLength): add default arg on parameter 2.
9237 Remove default arg from friend in class.
9239 * text2.C (LyXText): adjust, initialize refresh_row.
9243 (insertParagraph): adjst
9244 (redoParagraphs): adjust
9245 (fullRebreak): adjust
9246 (updateCounters): adjust
9247 (deleteEmptyParagraphMechanism): first attempt at fixing a
9250 * text.C (top_y): adjust
9251 (setHeightOfRow): adjust
9253 (getRowNearY): adjust
9255 * lyxtext.h: include RowList.h
9256 (~LyXText): not needed anymore, deleted.
9257 (firstRow): modify for RowList
9258 (lastRow): new function
9259 Delete firstrow and lastrow class variables, add a Rowlist
9260 rowlist_ class variable.
9262 * lyxrow.C (lastPos): use empty() and not !size() to check if a
9265 * RowList.C (insert): fix case where it == begin().
9267 2003-03-26 Angus Leeming <leeming@lyx.org>
9269 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
9270 the thesaurus dialog.
9272 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
9274 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
9276 * RowList.[Ch]: new files
9278 * ParagraphList.C (erase): handle the case where it == begin
9281 2003-03-25 John Levon <levon@movementarian.org>
9285 * aspell.C: add new aspell support
9288 * lyxrc.C: Make use_pspell be use_spell_lib. Always
9291 2003-03-25 Angus Leeming <leeming@lyx.org>
9294 * LyXAction.C (init): new LFUN_INSET_INSERT.
9296 * BufferView_pimpl.C (dispatch): split out part of the
9297 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
9299 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
9302 2003-03-25 Angus Leeming <leeming@lyx.org>
9304 * lyxfunc.C (dispatch): changes to the Dialogs interface.
9306 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
9309 * text3.C: remove useless row->height(0)
9311 2003-03-25 John Levon <levon@movementarian.org>
9315 * text3.C: rename the refreshing stuff to better names
9317 2003-03-24 John Levon <levon@movementarian.org>
9319 * BufferView_pimpl.h:
9320 * BufferView_pimpl.C: update layout choice on a mouse
9323 2003-03-23 John Levon <levon@movementarian.org>
9325 * Makefile.am: fix commandtags.h reference
9327 2003-03-22 John Levon <levon@movementarian.org>
9329 * BufferView_pimpl.C:
9334 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
9336 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
9339 * text.C: take the rtl methods out of line
9341 2003-03-21 André Pönitz <poenitz@gmx.net>
9343 * metricsinfo.[Ch]: new files containing structures to be passed around
9344 during the two-phase-drawing...
9346 2003-03-21 André Pönitz <poenitz@gmx.net>
9348 * lyxtextclass.C: read 'environment' tag.
9350 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
9352 * text2.C (removeRow): fix bug 964
9354 2003-03-20 John Levon <levon@movementarian.org>
9358 * text2.C: paint cleanups. Inset::update() dropped font
9361 2003-03-19 John Levon <levon@movementarian.org>
9363 * lyxfunc.C: only fitcursor/markDirty if available()
9365 2003-03-19 John Levon <levon@movementarian.org>
9367 * commandtags.h: rename to ...
9369 * lfuns.h: ... this, and renumber / cleanup
9371 2003-03-19 John Levon <levon@movementarian.org>
9373 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
9374 fit the cursor after an lfun
9378 * BufferView_pimpl.h:
9379 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
9381 * LyXAction.C: layout-character should have ReadOnly
9383 * ParagraphParameters.C:
9385 * bufferview_funcs.C:
9392 * undo_funcs.C: changes from above
9394 2003-03-18 John Levon <levon@movementarian.org>
9396 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
9397 remove it from update()
9399 * lyxfunc.C: update layout choice after an lfun
9401 * text3.C: remove extra updateLayoutChoice()s
9403 2003-03-18 John Levon <levon@movementarian.org>
9405 * text.C: top_y change means full repaint, fix
9406 a drawing bug with cursor movement
9408 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
9412 * text2.C: anchor row on setCursor
9414 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
9416 * lyxtext.h: remove almost all mutable keywords
9419 * text3.C: remove const keywords accordingly
9421 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
9423 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
9425 (TeXEnvironment): ditto
9428 2003-03-17 John Levon <levon@movementarian.org>
9430 * text.C (rowBreakPoint): remove attempt to fix displayed
9431 math insets inside a manual label
9433 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
9435 * lyxtext.h: remove BufferView* as first arg from almost all class
9437 * other files: adjust.
9439 2003-03-17 John Levon <levon@movementarian.org>
9443 * text2.C: more paint cleanups
9445 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
9448 * rowpainter.C: remove "smart" background painting code
9450 2003-03-16 John Levon <levon@movementarian.org>
9455 * text3.C: add helper functions for setting refresh_row/y
9457 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
9459 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
9460 newline inset which *can* get inserted in the pass_thru layouts.
9461 This is primarily for literate documents.
9463 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
9465 * buffer.C: increment LYX_FORMAT to 223
9467 2003-03-14 André Pönitz <poenitz@gmx.net>
9469 * textclass.h: prepare for environment handling, ws changes
9470 * lyxlayout.C: read latexheader and latexfooter tags
9472 2003-03-14 John Levon <levon@movementarian.org>
9474 * text2.C: rewrite ::status() a bit
9476 2003-03-13 John Levon <levon@movementarian.org>
9478 * lyxtext.h: add some docs
9480 2003-03-13 John Levon <levon@movementarian.org>
9485 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
9487 2003-03-13 John Levon <levon@movementarian.org>
9489 * text3.C: fix appendix redrawing
9491 2003-03-13 John Levon <levon@movementarian.org>
9493 * text.C (setHeightOfRow):
9495 * rowpainter.C: make appendix mark have the text
9496 "Appendix" so the user knows what it is
9499 * LColor.C: s/appendixline/appendix/ from above
9501 2003-03-13 John Levon <levon@movementarian.org>
9503 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
9505 * text.C: fix a getChar(pos) bug properly
9507 2003-03-13 Angus Leeming <leeming@lyx.org>
9510 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
9511 Probably only temporary. Let's see how things pan out.
9513 * BufferView.C (unlockInset):
9514 * BufferView_pimpl.C (fitCursor):
9515 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
9517 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
9518 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
9520 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
9521 new functions that convert ParagraphParameters to and from a string.
9523 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9524 BufferView::Pimpl's dispatch.
9525 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9527 2003-03-13 André Pönitz <poenitz@gmx.net>
9531 * factory.C: make it aware of InsetEnv
9533 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
9535 * text2.C (setCursor): never ask for one past last
9536 (setCursor): add some debugging messages.
9538 * text.C (singleWidth): never ask for one past last
9539 (singleWidth): ditto
9541 (rightMargin): ditto
9542 (rowBreakPoint): ditto
9543 (setHeightOfRow): ditto
9544 (prepareToPrint): ditto
9546 * rowpainter.C (paintBackground): never ask for one past last
9547 (paintText): never ask for one past last
9549 * paragraph_pimpl.C (getChar): make the assert stricter, never
9550 allow the one past last pos to be taken
9552 * paragraph.C (getChar): ws changes only
9554 * lyxrow.C (nextRowIsAllInset): never ask for one past last
9555 (numberOfSeparators): ditto
9556 (numberOfHfills): ditto
9558 2003-03-12 John Levon <levon@movementarian.org>
9564 * paragraph_funcs.C: fix per-buffer authorlists
9566 2003-03-12 John Levon <levon@movementarian.org>
9568 * text.C: fix newline in right address
9570 2003-03-12 Angus Leeming <leeming@lyx.org>
9572 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9573 duplicate those in LyXFunc::dispatch.
9577 * ToolbarDefaults.C:
9578 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9579 Add LFUN_FONTFREE_UPDATE.
9581 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9582 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9584 * bufferview_func.[Ch]: several new functions to facilliate
9585 transfer of data to and from the character dialog.
9587 2003-03-12 John Levon <levon@movementarian.org>
9592 * paragraph_funcs.C:
9593 * paragraph_pimpl.C:
9597 * text3.C: remove META_NEWLINE in favour of an inset
9600 * rowpainter.C: remove paintNewline (done by inset)
9602 2003-03-12 John Levon <levon@movementarian.org>
9604 * paragraph_pimpl.C: complain about bad getChar()s
9605 for a while at least
9607 2003-03-12 John Levon <levon@movementarian.org>
9610 * buffer.C: move paragraph read into a separate function,
9611 a little renaming to reflect that.
9614 * bufferparams.C: remove the author_ids map, not necessary now
9617 * factory.C: moved Buffer::readInset to here
9619 * paragraph_funcs.h:
9620 * paragraph_funcs.C: readParagraph free function moved from
9623 * tabular.C: name change
9625 2003-03-12 John Levon <levon@movementarian.org>
9628 * ParagraphParameters.C: move par params input to
9631 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9632 behave like a normal read from the stream wrt reading
9633 a line vs. a \\token
9635 2003-03-12 John Levon <levon@movementarian.org>
9638 * ParagraphParameters.h:
9639 * ParagraphParameters.C: move output code to a
9642 2003-03-12 John Levon <levon@movementarian.org>
9644 * BufferView.C (insertLyXFile):
9647 * tabular.C: use a parlist iterator for creating the
9650 2003-03-12 John Levon <levon@movementarian.org>
9652 * buffer.C: make current_change static local not
9655 2003-03-12 John Levon <levon@movementarian.org>
9657 * buffer.C: fix insertStringAsLines for change tracking
9659 2003-03-12 John Levon <levon@movementarian.org>
9666 * bufferparams.C: move author list into params. Rename some
9667 functions. Move the header reading into a separate token
9668 loop. Move the header token reading into BufferParams.
9670 2003-03-12 John Levon <levon@movementarian.org>
9672 * changes.C: put debug inside lyxerr.debugging() checks
9674 2003-03-11 André Pönitz <poenitz@gmx.net>
9676 * factory.C: make it aware of InsetHFill
9678 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9680 * buffer.C (latexParagraphs): move function from here...
9681 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9684 2003-03-10 Angus Leeming <leeming@lyx.org>
9686 * LyXAction.C (init): fix bug in poplating array with multiple entries
9687 with the same LFUN (spotted by JMarc).
9689 2003-03-10 John Levon <levon@movementarian.org>
9692 * text2.C: move getColumnNearX() near its
9695 2003-03-10 John Levon <levon@movementarian.org>
9697 * text.C: fix break before a minipage
9699 2003-03-10 John Levon <levon@movementarian.org>
9701 * text.C: fix the last commit
9703 2003-03-09 John Levon <levon@movementarian.org>
9707 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9708 bug 365 (don't break before insets unless needed). Don't
9709 return a value > last under any circumstances.
9711 2003-03-09 Angus Leeming <leeming@lyx.org>
9713 * BufferView_pimpl.C (trackChanges, dispatch): call
9714 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9716 2003-03-09 Angus Leeming <leeming@lyx.org>
9718 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9719 than Dialogs::showAboutlyx().
9721 2003-03-09 Angus Leeming <leeming@lyx.org>
9723 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9724 than Dialogs::showTabularCreate().
9726 2003-03-09 John Levon <levon@movementarian.org>
9730 * text2.C: 3rd arg to nextBreakPoint was always the same.
9733 2003-03-08 John Levon <levon@movementarian.org>
9740 * text2.C: Remove the "main" bit from the "main body"
9743 2003-03-08 John Levon <levon@movementarian.org>
9745 * text.C (leftMargin): The left margin of an empty
9746 manual label paragraph should not include the label width
9749 * text.C (prepareToPrint): don't attempt to measure hfills
9750 for empty manual label paragraphs - the answer should be 0
9752 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9754 * CutAndPaste.C: remove commented code and reindent.
9756 2003-03-08 John Levon <levon@movementarian.org>
9759 * lyxfunc.C: move reloadBuffer()
9762 * BufferView.C: to here
9764 * lyxvc.C: add comment
9767 * vc-backend.C: call bv->reload() to avoid
9768 getStatus() check on MENURELOAD
9770 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
9772 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9773 to an old format .dep file.
9775 2003-03-07 Angus Leeming <leeming@lyx.org>
9777 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9778 when the LFUN_MOUSE_RELEASE should have been handled by
9779 inset->localDispatch.
9781 2003-03-07 Angus Leeming <leeming@lyx.org>
9783 * BufferView_pimpl.C (dispatch):
9784 * LyXAction.C (init):
9785 * ToolbarDefaults.C (init):
9787 * lyxfunc.C (getStatus):
9788 remove LFUN_INSET_GRAPHICS.
9790 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9792 2003-03-07 Angus Leeming <leeming@lyx.org>
9795 * LyXAction.C (init):
9796 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9798 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9801 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9803 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9804 localDispatch method LFUN_INSET_DIALOG_UPDATE.
9806 2003-03-07 Angus Leeming <leeming@lyx.org>
9808 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9811 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9813 * ParagraphList.C (front): new function
9816 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
9818 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9819 and top_row_offset_. removed var first_y.
9821 * text2.C (LyXText, removeRow):
9823 * BufferView_pimpl.C:
9824 use these methods instead of using first_y
9826 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9828 * text2.C (pasteSelection): adjust for checkPastePossible
9830 * CutAndPaste.C: remove Paragraph * buf and replace with
9831 ParagraphList paragraphs.
9832 (DeleteBuffer): delete
9833 (cutSelection): change the tc type to textclass_type
9834 (copySelection): change the tc type to textclass_type
9835 (copySelection): adjust for ParagraphList
9836 (pasteSelection): change the tc type to textclass_type
9837 (pasteSelection): adjust for Paragraphlist
9838 (nrOfParagraphs): simplify for ParagraphList
9839 (checkPastePossible): simplify for ParagraphList
9840 (checkPastePossible): remove unused arg
9842 * ParagraphList.C (insert): handle the case where there are no
9845 * CutAndPaste.h: make CutAndPaste a namespace.
9847 * text3.C (dispatch): adjust
9849 * text.C (breakParagraph): add a ParagraphList as arg
9851 * paragraph_funcs.C (breakParagraph): change to take a
9852 BufferParams and a ParagraphList as args.
9853 (breakParagraphConservative): ditto
9854 (mergeParagraph): ditto
9855 (TeXDeeper): add a ParagraphList arg
9856 (TeXEnvironment): ditto
9859 * buffer.C (readLyXformat2): adjust
9860 (insertStringAsLines): adjust
9861 (latexParagraphs): adjust
9863 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9864 (cutSelection): adjust
9865 (pasteSelection): adjust
9867 * BufferView_pimpl.C (insertInset): adjust
9869 2003-03-05 Angus Leeming <leeming@lyx.org>
9872 * LyXAction.C (init):
9873 * BufferView_pimpl.C (dispatch):
9874 * lyxfunc.C (getStatus):
9875 remove LFUN_CHILD_INSERT.
9877 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9879 2003-03-05 Angus Leeming <leeming@lyx.org>
9882 * LyXAction.C (init):
9883 * src/factory.C (createInset):
9884 * lyxfunc.C (getStatus):
9885 * text3.C (dispatch):
9886 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9888 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9890 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9892 * ParagraphList.C (insert): handle insert right before end()
9893 (erase): fix cases where it can be first or last paragraph.
9895 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9897 * paragraph_funcs.C (TeXEnvironment): remove all usage of
9898 Paragraph::next and Paragraph::previous
9901 * text.C (breakParagraph): adjust
9903 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9904 BufferParams& as arg.
9905 (breakParagraph): use ParagraphList::insert
9906 (breakParagraphConservative): take a Buffer* instead of a
9907 BufferParams& as arg.
9908 (breakParagraphConservative): use ParagraphList::insert.
9910 * buffer.C (insertStringAsLines): un-const it
9911 (insertStringAsLines): adjust
9913 * ParagraphList.C (insert): new function
9915 * CutAndPaste.C (pasteSelection): adjust
9917 * text.C (backspace): adjust
9919 * tabular.C (SetMultiColumn): adjust
9921 * CutAndPaste.C (cutSelection): adjust
9922 (pasteSelection): adjust
9924 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9925 Buffer const * as arg
9927 * ParagraphList.C (erase): new function
9928 * paragraph_funcs.C (mergeParagraph): use it
9929 (mergeParagraph): make it take a Buffer* instead of a
9930 BufferParams* as arg
9932 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9934 (breakParagraphConservative): ditto
9936 * paragraph.h: remove the breakParagraph friend
9938 * paragraph.C (eraseIntern): new function
9939 (setChange): new function
9941 * paragraph_funcs.C (mergeParagraph): make it take a
9942 ParagraphList::iterator instead of a Paragraph *, adjust
9945 * paragraph.h: move an #endif so that the change tracking stuff
9946 also works in the NO_NEXT case.
9948 2003-03-04 Angus Leeming <leeming@lyx.org>
9951 * LyXAction.C: new LFUN_INSET_MODIFY.
9953 * BufferView_pimpl.C (dispatch): if an inset is found to be open
9954 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9956 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9958 * several files: ws changes only
9960 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9961 (TeXEnvironment): ditto
9964 * buffer.C (makeLaTeXFile): adjust
9965 (latexParagraphs): make it take ParagraphList::iterator as args
9967 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
9969 * buffer.C (latexParagraphs): adjust
9971 * paragraph.C (TeXOnePar): move function...
9972 (optArgInset): move function...
9973 (TeXEnvironment): move function...
9974 * paragraph_pimpl.C (TeXDeeper): move function...
9975 * paragraph_funcs.C: ...here
9977 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9979 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9981 * buffer.C (readInset): remove compability code for old Figure and
9984 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9986 * buffer.C: ws changes
9989 * BufferView_pimpl.C: ditto
9992 * bufferlist.h: ditto
9996 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
9998 * converter.[Ch]: split into itself +
10001 * Makefile.am: += graph.[Ch] + format.[Ch]
10008 * lyxrc.C: added #include "format.h"
10010 2003-02-27 Angus Leeming <leeming@lyx.org>
10012 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
10015 * factory.C (createInset): add "label" to the factory.
10017 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
10018 string and do no more.
10020 2003-02-27 Angus Leeming <leeming@lyx.org>
10023 * LyXAction.C (init):
10024 * factory.C (createInset):
10025 * BufferView_pimpl.C (dispatch):
10026 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
10028 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
10030 * lyxfunc.C (dispatch):
10031 * text3.C (dispatch): pass name to params2string.
10033 2003-02-26 Angus Leeming <leeming@lyx.org>
10035 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
10037 Rearrange the ~includes. Strip out the unnecessary ones.
10039 * factory.C (createInset): reformat.
10040 create new insets for the various LFUN_XYZ_APPLY lfuns.
10042 2003-02-26 John Levon <levon@movementarian.org>
10045 * lyxrow.C: add isParStart,isParEnd helpers
10047 * paragraph.h: make isInserted/DeletedText take refs
10049 * paragraph_funcs.h:
10050 * paragraph_funcs.C: remove #if 0'd code
10055 * text.C: use lyxrow helpers above.
10056 Move draw and paint routines to RowPainter.
10057 Make several methods use refs not pointers.
10058 Make backgroundColor() const.
10059 Add markChangeInDraw(), isInInset().
10060 Merge changeRegionCase into changeCase.
10061 Make workWidth() shouldn't-happen code into an Assert.
10064 * rowpainter.C: new class for painting a row.
10067 * vspace.C: make inPixels take a ref
10069 2003-02-26 Angus Leeming <leeming@lyx.org>
10071 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
10074 2003-02-25 John Levon <levon@movementarian.org>
10076 * ispell.C: give the forked command a more accurate name
10078 2003-02-22 John Levon <levon@movementarian.org>
10081 * toc.C: make TocItem store an id not a Paragraph *
10084 2003-02-21 Angus Leeming <leeming@lyx.org>
10086 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
10087 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
10088 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
10089 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
10090 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
10091 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
10093 * BufferView_pimpl.C (dispatch):
10094 * LyXAction.C (init):
10095 * factory.C (createInset):
10096 * lyxfunc.C (getStatus, dispatch):
10097 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
10099 2003-02-21 Angus Leeming <leeming@lyx.org>
10101 * BufferView_pimpl.C (MenuInsertLyXFile):
10102 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
10103 * lyxfunc.C (menuNew, open, doImport):
10104 no longer pass a LyXView & to fileDlg.
10106 2003-02-21 Angus Leeming <leeming@lyx.org>
10108 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
10109 * LyXAction.C: change, BIBKEY to BIBITEM.
10110 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
10111 Change InsetBibKey to InsetBibitem.
10112 Change BIBKEY_CODE to BIBITEM_CODE.
10113 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10114 * factory.C: replace insetbib.h with insetbibitem.h.
10115 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10116 * paragraph.C: replace insetbib.h with insetbibitem.h.
10117 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
10118 Change bibkey() to bibitem().
10119 * text.C: remove insetbib.h.
10120 * text2.C: replace insetbib.h with insetbibitem.h.
10121 change bibkey() to bibitem().
10122 * text3.C: remove insetbib.h.
10123 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10125 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10127 * lyxrc.C (output): enclose user email in quotes (in case there are
10130 2003-02-18 John Levon <levon@movementarian.org>
10132 * buffer.h: add std::
10134 2003-02-17 John Levon <levon@movementarian.org>
10140 * pspell.C: reworking. Especially in ispell, a large
10141 number of clean ups and bug fixes.
10143 * lyxfunc.C: fix revert to behave sensibly
10145 2003-02-17 André Pönitz <poenitz@gmx.net>
10148 * commandtags.h: new LFUN_INSERT_BIBKEY
10158 * paragraph_func.C: remove special bibkey handling
10160 2003-02-17 John Levon <levon@movementarian.org>
10162 * text.C (Delete): fix case where delete at the end of
10163 the very first paragraph would not merge the pars
10165 2003-02-17 John Levon <levon@movementarian.org>
10167 * lyxrow.C: fix lastPrintablePos()
10169 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10171 * bufferparams.C (writeLaTeX): add a std:here
10173 * buffer.C: and remove a using directive there
10175 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10177 * buffer.C (makeLaTeXFile): move the code that generates the
10180 * bufferparams.C (writeLaTeX): ... in this new method
10182 * LaTeXFeatures.C (getEncodingSet): make const
10183 (getLanguages): make const
10185 * MenuBackend.C (binding): returns the binding associated to this
10187 (add): sets the status of each item by calling getStatus. Adds
10189 (read): add support for OptSubMenu
10190 (expand): remove extra separator at the end of expanded menu
10192 2003-02-15 John Levon <levon@movementarian.org>
10195 * BufferView_pimpl.C:
10197 * bufferlist.C: remove pointless BufferStorage bloat. Remove
10198 inset code that had no actual effect. Remove unneeded status
10201 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10203 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
10206 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
10208 * text.C (drawLengthMarker): also draw an arrow marker for
10209 symbolic lengths (medskip...)
10211 2003-02-14 John Levon <levon@movementarian.org>
10214 * tabular.C: better method names
10216 2003-02-14 John Levon <levon@movementarian.org>
10218 * BufferView_pimpl.C:
10223 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
10224 it's a more accurate name. Remove some pointless uses.
10226 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10228 * text2.C (LyXText): change order of initilizers to shut off
10231 2003-02-14 John Levon <levon@movementarian.org>
10233 * buffer.C: use ParIterator for getParFromID()
10237 * paragraph_pimpl.h:
10238 * paragraph_pimpl.C: remove unused getParFromID()
10240 2003-02-14 John Levon <levon@movementarian.org>
10242 * buffer.C: remove some very old #if 0'd parse code
10244 2003-02-13 John Levon <levon@movementarian.org>
10248 * text2.C: move hfillExpansion(), numberOfSeparators(),
10249 rowLast(), rowLastPrintable(), numberofHfills(),
10250 numberOfLabelHfills() ...
10253 * lyxrow.C: ... to member functions here.
10258 * text.C: remove LyXText::beginningOfMainBody(), and call
10259 p->beginningOfMainBody() directly. Move the check for
10260 LABEL_MANUAL into the latter.
10267 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
10273 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
10274 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
10276 2003-02-13 John Levon <levon@movementarian.org>
10278 * CutAndPaste.C: remove debug
10280 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10282 * paragraph.C (asString): remove two unused variables
10284 * lyxtextclass.C (readTitleType):
10286 (LyXTextClass): handle new members titletype_ and titlename_
10288 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
10290 2003-02-09 John Levon <levon@movementarian.org>
10293 * buffer.C: replace hand-coded list with a map for the dep clean
10295 2003-02-08 John Levon <levon@movementarian.org>
10297 * LaTeX.C: consolidate code into showRunMessage() helper
10299 2003-02-08 John Levon <levon@movementarian.org>
10304 * BufferView.C: change setSelectionOverString() to setSelectionRange()
10305 and pass the size in explicitly
10307 * BufferView_pimpl.h:
10308 * BufferView_pimpl.C:
10310 * BufferView.C: add getCurrentChange()
10312 * BufferView_pimpl.h:
10313 * BufferView_pimpl.C: handle change lfuns
10315 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
10316 for changes. Mark pasted paragraphs as new.
10318 * support/lyxtime.h:
10319 * support/lyxtime.C:
10320 * DepTable.C: abstract time_t as lyx::time_type
10323 * LColor.C: add colours for new text, deleted text, changebars
10325 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
10326 package use "usenames" option.
10330 * LyXAction.C: add change lfuns
10334 * author.C: author handling
10337 * buffer.C: add a per-buffer author list, with first entry as
10338 current author. Handle new .lyx tokens for change tracking. Output
10339 author list to .lyx file. Output dvipost stuff to .tex preamble.
10340 Bump lyx format to 222.
10343 * bufferlist.C: add setCurrentAuthor() to reset current author details
10347 * bufferparams.C: add param for tracking
10349 * bufferview_funcs.C: output change info in minibuffer
10353 * changes.C: add change-tracking structure
10356 * debug.C: add CHANGES debug flag
10359 * lyxfind.C: add code for finding the next change piece
10362 * lyxrc.C: add user_name and user_email
10365 * lyxrow.C: add a metric for the top of the text line
10368 * text.C: implement accept/rejectChange()
10371 * text.C: paint changebars. Paint new/deleted text in the chosen
10372 colours. Strike through deleted text.
10376 * paragraph_pimpl.h:
10377 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
10378 in the current change to the insert functions. Rework erase to
10379 mark text as deleted, adding an eraseIntern() and a range-based
10380 erase(). Implement per-paragraph change lookup and
10383 * paragraph_funcs.C: Fixup paste for change tracking.
10385 * tabular.C: mark added row/columns as new.
10387 * text.C: fix rowLast() to never return -1. Don't allow
10388 spellchecking of deleted text. Track transpose changes. Don't
10389 allow paragraph break or merge where appropriate.
10391 * text2.C: leave cursor at end of selection after a cut.
10393 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10395 * text.C (getLengthMarkerHeight):
10396 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
10397 visible on screen too.
10399 2003-02-07 John Levon <levon@movementarian.org>
10401 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
10403 2003-02-05 Angus Leeming <leeming@lyx.org>
10405 * lyxserver.C (read_ready): revert my patch of 11 September last year
10406 as it sends PC cpu through the roof. Presumably this means that
10407 the lyxserver will no longer run on an Alpha...
10409 2003-01-30 Angus Leeming <leeming@lyx.org>
10411 * factory.C (createInset): create an InsetCommandParam of type "index"
10412 and use it to 'do the right thing'.
10414 * text2.C (getStringToIndex): ensure that cursor position is always
10415 reset to the reset_cursor position.
10417 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10419 * lyxfunc.C (getStatus): "buffer-export custom" should never be
10422 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
10426 * lyxfunc.C: Output messages with identical spelling, punctuation,
10429 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
10431 * MenuBackend.C (expandFormats): List only viewable export formats
10434 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
10437 * lyxfunc.C (getStatus): Make sure that formats other than
10438 "fax" can also be disabled
10440 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10442 * text3.C (dispatch): put the lfuns that insert insets in 3
10443 groups, and call doInsertInset with appropriate arguments.
10444 (doInsertInset): new function, that creates an inset and inserts
10445 it according to some boolean parameters.
10447 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
10449 * buffer.C (readFile): remember to pass on 'par' when calling
10450 readFile recursively.
10452 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10454 * MenuBackend.C (expandFormats): add "..." to import formats.
10456 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
10458 * paragraph.C (asString): Remove XForms RTL hacks.
10460 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
10461 * buffer.C: fix typo
10463 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
10465 * Makefile.am (LIBS): delete var
10466 (lyx_LDADD): add @LIBS@ here instead.
10468 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
10470 * Clarify the meaning of "wheel mouse jump"
10472 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10474 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
10477 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10479 * importer.C (Loaders): do not preallocate 3 elements in the
10480 vector, since one ends up with 6 elements otherwise
10482 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10484 * DepTable.C (write): write the file name as last element of the
10485 .dep file (because it may contain spaces)
10486 (read): read info in the right order
10488 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10490 * paragraph_pimpl.C (simpleTeXBlanks):
10491 (simpleTeXSpecialChars):
10492 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
10494 * tabular.C (latex): add some missing case statements. Reindent.
10496 * MenuBackend.C (expandToc): remove unused variable.
10498 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
10507 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
10510 2003-01-05 John Levon <levon@movementarian.org>
10513 * BufferView.C: add getEncoding()
10516 * kbsequence.C: do not store last keypress
10519 * lyxfunc.C: store last keypress here instead. Pass encoding
10522 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10524 * lyx_main.C (init): remove annoying error message when following
10525 symbolic links (bug #780)
10527 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10529 * text.C (insertChar):
10530 * lyxrc.C (getDescription): remove extra spaces
10532 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10534 * lyxrc.C (getDescription): remove extra spaces
10536 2002-12-20 John Levon <levon@movementarian.org>
10538 * text3.C: hack fix for page up/down across tall rows
10540 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10542 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10545 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10547 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10548 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10549 thesaurus is not compiled in
10551 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
10553 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
10555 2002-12-16 Angus Leeming <leeming@lyx.org>
10558 * lyx_main.C (init): remove override_x_deadkeys stuff.
10560 2002-12-12 John Levon <levon@movementarian.org>
10562 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10563 insert. Only remove shift modifier under strict
10566 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
10568 * MenuBackend.C (expandToc): fix crash.
10570 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
10572 * MenuBackend.C (expandToc): gettext on float names.
10574 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
10576 * lyxlength.[Ch]: set default unit to UNIT_NONE,
10577 implement bool empty() [bug 490]
10579 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
10581 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10583 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
10585 * several files: ws changes
10587 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
10589 * text2.C (setCounter): clean up a bit, use boost.format.
10590 (updateCounters): initialize par upon declaration.
10592 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10593 if the layout exists. We do not just store the layout any more.
10594 (SwitchLayoutsBetweenClasses): use boost.format
10596 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10598 * converter.C (convert): if from and to files are the same, use a
10599 temporary files as intermediary
10601 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10604 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10606 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
10608 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10610 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
10612 * tabular.C (asciiPrintCell): use string(size, char) instead of
10615 * sgml.C (openTag): fix order of arguments to string constructor
10618 * lyxfunc.C (dispatch): use boost.format
10620 * lots of files: change "c" -> 'c'
10622 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
10624 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10626 2002-11-25 Angus Leeming <leeming@lyx.org>
10628 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10630 * lyx_main.C (init): compile fix.
10632 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
10634 * lyx_cb.C (start): boost.formatify
10635 do not include <iostream>
10637 * lengthcommon.C: ws only
10639 * boost-inst.C,BoostFormat.h: add more explict instantations
10641 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
10643 * lots of files: handle USE_BOOST_FORMAT
10645 2002-11-21 John Levon <levon@movementarian.org>
10647 * pspell.C: fix compile
10649 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10651 * lyxfunc.C (dispatch): use boost::format
10655 * lyxfont.C (stateText): use boost::format
10657 * lyx_main.C (LyX): use boost::format
10659 (queryUserLyXDir): ditto
10660 (readRcFile): ditto
10662 (typedef boost::function): use the recommened syntax.
10664 * importer.C (Import): use boost::format
10666 * debug.C (showLevel): use boost::format
10668 * converter.C (view): use boost::format
10673 * bufferview_funcs.C (currentState): use boost::format
10675 * bufferlist.C (emergencyWrite): use boost::format
10677 * buffer.C (readLyXformat2): use boost::format
10678 (parseSingleLyXformat2Token): ditto
10680 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10682 * LaTeX.C (run): use boost::format
10684 * Chktex.C (scanLogFile): use boost::format
10686 * BufferView_pimpl.C (savePosition): use boost::format
10687 (restorePosition): ditto
10688 (MenuInsertLyXFile): ditto
10690 * BoostFormat.h: help file for explicit instation.
10692 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
10694 * tabular.C (latex): Support for block alignment in fixed width
10697 2002-11-17 John Levon <levon@movementarian.org>
10699 * BufferView_pimpl.C:
10701 * lyxfunc.C: split filedialog into open/save
10703 2002-11-08 Juergen Vigna <jug@sad.it>
10705 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10706 by my last patch (hopefully).
10708 2002-11-08 John Levon <levon@movementarian.org>
10717 * toc.C: ParConstIterator, and use it (from Lars)
10719 2002-11-07 Ben Stanley <bds02@uow.edu.au>
10721 * lyxtextclass.[Ch]: revise and add doxygen comments
10723 2002-11-07 John Levon <levon@movementarian.org>
10725 * text.C: fix progress value for spellchecker
10727 * toc.C: fix navigate menu for insetwrap inside minipage
10729 * paragraph_funcs.C: added FIXME for suspect code
10731 2002-11-07 John Levon <levon@movementarian.org>
10733 * BufferView_pimpl.C: fix redrawing of insets
10736 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10738 * text2.C (updateCounters): fix bug 668
10740 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
10742 * text3.C (dispatch): Do not make the buffer dirty when moving the
10745 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10747 * vc-backend.C: STRCONV
10748 (scanMaster): ditto
10750 * text2.C (setCounter): STRCONV
10752 * paragraph.C (asString): STRCONV
10754 * lyxlength.C (asString): STRCONV
10755 (asLatexString): ditto
10757 * lyxgluelength.C (asString): STRCONV
10758 (asLatexString): ditto
10760 * lyxfunc.C (dispatch): STRCONV
10763 * lyxfont.C (stateText): STRCONV
10765 * importer.C (Import): STRCONV
10767 * counters.C (labelItem): STRCONV
10768 (numberLabel): ditto
10769 (numberLabel): remove unused ostringstream o
10774 * bufferview_funcs.C (currentState): STRCONV
10776 * buffer.C (readFile): STRCONV
10777 (asciiParagraph): ditto
10778 (makeLaTeXFile): ditto
10780 * Spacing.C (writeEnvirBegin): STRCONV
10782 * LaTeXFeatures.C (getLanguages): STRCONV
10783 (getPackages): ditto
10785 (getBabelOptions): ditto
10786 (getTClassPreamble): ditto
10787 (getLyXSGMLEntities): ditto
10788 (getIncludedFiles): ditto
10792 (scanAuxFile): ditto
10795 * LString.h: add the STRCONV macros
10797 * BufferView_pimpl.C (savePosition): STRCONV
10798 (restorePosition): ditto
10799 (MenuInsertLyXFile): ditto
10801 * vc-backend.C (scanMaster): change from submatch[...] to
10804 * funcrequest.C: include config.h
10806 * factory.C: include config.h
10808 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10810 * box.C: include config.h
10812 * LaTeX.C (scanAuxFile): change from submatch[...] to
10816 2002-10-25 Angus Leeming <leeming@lyx.org>
10818 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10820 * ispell.[Ch] (setError): new method.
10821 * ispell.C (c-tor): move out child process into new class LaunchIspell.
10822 Use setError() insetead of goto END.
10824 * lyx_cb.C (AutoSave): move out child process into new class
10827 2002-10-30 John Levon <levon@movementarian.org>
10829 * text3.C: make start appendix undoable
10831 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
10833 * lyxlength.C (inPixels): Fix returned value.
10835 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10838 2002-10-24 Angus Leeming <leeming@lyx.org>
10840 * lyxgluelength.h: no need to forward declare BufferParams
10841 or BufferView, so don't.
10843 2002-10-21 John Levon <levon@movementarian.org>
10845 * BufferView.C: menuUndo ->undo, redo
10847 * BufferView.h: document, remove dead, make some methods private
10849 * paragraph_funcs.h:
10850 * paragraph_funcs.C:
10851 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10856 * sgml.C: move sgml open/close tag into sgml.C
10858 * bufferview_funcs.h: unused prototype
10861 * lyxfunc.C: remove unused
10864 * text.C: remove unused
10866 2002-10-21 John Levon <levon@movementarian.org>
10870 * BufferView_pimpl.h:
10871 * BufferView_pimpl.C: fix mouse wheel handling based on
10872 patch from Darren Freeman
10874 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
10876 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10878 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
10880 * lyxlength.C (inPixels): Fix hanfling of negative length.
10881 Fix LyXLength::MU case.
10883 2002-10-16 John Levon <levon@movementarian.org>
10885 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10887 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10889 * converter.C (view): add support for $$i (file name) and $$p
10890 (file path) for the viewer command. If $$i is not specified, then
10891 it is appended to the command (for compatibility with old syntax)
10893 2002-10-14 Juergen Vigna <jug@sad.it>
10895 * undo_funcs.C (textHandleUndo): alter the order in which the
10896 new undopar is added to the LyXText, as we have to set first
10897 the right prev/next and then add it as otherwise the rebuild of
10898 LyXText is not correct. Also reset the cursor to the right paragraph,
10899 with this IMO we could remove the hack in "redoParagraphs()".
10901 2002-10-09 Angus Leeming <leeming@lyx.org>
10903 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10904 to turn off an optimisation if a new inset is to be inserted.
10906 2002-10-11 André Pönitz <poenitz@gmx.net>
10908 * lyxtext.h: make some functions public to allow access
10909 from inset/lyxtext for handling LFUN_PRIOR/NEXT
10911 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10913 * text3.C (dispatch): when changing layout, avoid an infinite loop
10916 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10918 * lyxrc.C (read): treat a viewer or converter command of "none" as
10921 * MenuBackend.C (expandFormats): for an update, also allow the
10922 formats that are not viewable
10924 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10925 script if it is newer than the lyxrc.defaults in user directory
10927 2002-10-07 André Pönitz <poenitz@gmx.net>
10929 * text.C: Vitaly Lipatov's small i18n fix
10931 2002-09-25 Angus Leeming <leeming@lyx.org>
10933 * ispell.h: doxygen fix.
10935 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
10937 * buffer.h (readFile): Add a new argument to the method, to allow
10938 reading of old-format templates.
10940 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
10942 * toc.C (getTocList): Get TOC from InsetWrap.
10944 2002-09-16 John Levon <levon@movementarian.org>
10946 * lyxfunc.C: check tabular for cut/copy too
10948 2002-09-12 John Levon <levon@movementarian.org>
10950 * LyXAction.C: tidy
10953 * factory.C: add header
10955 * paragraph_funcs.h:
10956 * paragraph_funcs.C: cleanup
10958 2002-09-11 John Levon <levon@movementarian.org>
10960 * PrinterParams.h: odd/even default to true
10962 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
10964 * PrinterParams.h: update printer parameters for new xforms dialog
10966 2002-09-11 Angus Leeming <leeming@lyx.org>
10968 * lyxserver.C (read_ready): re-write to make it more transparent
10969 and to make it work in coherent fashion under Tru64 Unix.
10971 2002-09-11 André Pönitz <poenitz@gmx.net>
10975 * text3.C: implement LFUN_WORDSEL
10977 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10979 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10980 make floatlist_ a boost::shared_ptr<FloatList>
10982 * lyxtextclass.C: include FloatList.h
10983 (LyXTextClass): initialize floatlist_
10984 (TextClassTags): add TC_NOFLOAT
10985 (Read): match "nofloat" to TC_NOFLOAT and use it.
10986 (readFloat): modify call to floatlist_
10990 * FloatList.[Ch] (FloatList): remove commented out float
10992 (erase): new function
10994 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10996 * MenuBackend.C (expandToc): fix crash when there is no document
10999 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
11001 * many files: Add insetwrap.
11003 2002-09-09 John Levon <levon@movementarian.org>
11005 * text2.C: remove confusing and awkward depth wraparound
11007 2002-09-09 John Levon <levon@movementarian.org>
11009 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
11012 * buffer.C: remove getIncludeonlyList()
11015 * lyxfunc.C: remove headers
11017 2002-09-09 Juergen Vigna <jug@sad.it>
11019 * text.C (getColumnNearX): fix form Michael this is most
11020 probably a cut&paste bug.
11022 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
11024 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
11026 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
11027 references, ws changes.
11029 * text2.C (init): update counters after init
11030 (insertParagraph): no need to set counter on idividual paragraphs.
11031 (setCounter): access the counters object in the textclass object
11032 on in the buffer object.
11033 (updateCounters): ditto
11035 * lyxtextclass.C: include counters.h, add variable ctrs_ as
11036 shared_ptr<Counters> to avoid loading counters.h in all
11038 (LyXTextClass): initialize ctrs_
11039 (TextClassTags): add TC_COUNTER, and ...
11040 (Read): use it here.
11041 (CounterTags): new tags
11042 (readCounter): new function
11043 (counters): new funtion
11044 (defaultLayoutName): return a const reference
11046 * counters.C (Counters): remove contructor
11047 (newCounter): remove a couple of unneeded statements.
11048 (newCounter): simplify a bit.
11049 (numberLabel): some small formatting changes.
11051 * buffer.[Ch]: remove all traces of counters, move the Counters
11052 object to the LyXTextClass.
11054 2002-09-06 Alain Castera <castera@in2p3.fr>
11056 * tabular.C: uses \tabularnewline; uses >{...} construct from array
11057 package to set the horizontal alignment on fixed width columns.
11060 * lyx_sty.h: added tabularnewline macro def.
11062 * LaTeXFeatures.C: added NeedTabularnewline macro feature
11064 2002-09-06 John Levon <levon@movementarian.org>
11066 * LyXAction.C: tooltips for sub/superscript
11068 * MenuBackend.C: a bit more verbose
11070 * lyxfunc.C: tiny clean
11072 * undo_funcs.C: document undo_frozen
11074 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
11076 * counters.C (Counters): add missing algorithm counter.
11078 * text2.C (setCounter): lookup the counter with layouts latexname
11079 instead of by section number.
11080 (setCounter): use a hackish way to lookup the correct enum
11082 a float name->type change
11083 reset enum couners with counter name directly instead of depth value.
11085 * counters.C (Counters): remove the push_backs, change to use the
11086 float type not the float name.
11087 (labelItem): remove unused string, float name->type change
11089 * counters.h: don't include vector, loose the enums and sects vectors
11091 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
11093 * lyxtextclass.C (TextClassTags): add TC_FLOAT
11094 (Read): add float->TC_FLOAT to textclassTags
11095 (Read): and handle it in the switch
11096 (readFloat): new function
11098 * FloatList.C (FloatList): comment out the hardcoded float
11101 * lyxlayout.h: ws change.
11103 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
11105 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
11107 2002-09-03 Angus Leeming <leeming@lyx.org>
11109 * BufferView_pimpl.h: qualified name is not allowed in member
11110 declaration: WorkArea & Pimpl::workarea() const;
11112 * factory.C: added using std::endl directive.
11114 * text3.C: added using std::find and std::vector directives.
11116 2002-08-29 André Pönitz <poenitz@gmx.net>
11119 * text2.C: remove unused member number_of_rows
11122 * BufferView2.C: remove file, move contents to...
11123 * BufferView.C: ... here
11125 * BufferView_pimpl.C:
11126 * factory.C: move more inset creation to factory
11128 * vspace.C: avoid direct usage of LyXText, ws changes
11131 don't provide direct access to WorkArea, use two simple
11132 acessors haveSelction() and workHeight() instead
11135 2002-08-29 John Levon <levon@movementarian.org>
11137 * BufferView_pimpl.C (dispatch): do not continue when
11140 2002-08-28 André Pönitz <poenitz@gmx.net>
11142 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
11145 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
11147 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
11149 * buffer.C: increment LYX_FORMAT to 221
11151 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
11152 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
11154 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
11156 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
11158 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11160 * factory.C (createInset): use LyXTextClass::floats
11162 * MenuBackend.C (expandFloatListInsert):
11163 (expandFloatInsert):
11166 * text2.C (setCounter):
11168 * LaTeXFeatures.C (useFloat):
11169 (getFloatDefinitions):
11171 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
11173 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
11174 floatlist_, with accessor floats().
11176 * FloatList.h: remove global FloatList
11178 2002-08-26 André Pönitz <poenitz@gmx.net>
11180 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
11184 * BufferView_pimpl.C:
11185 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
11187 2002-08-25 John Levon <levon@movementarian.org>
11189 * LyXAction.C: fix margin note description
11191 2002-08-24 John Levon <levon@movementarian.org>
11195 * bufferview_funcs.C:
11197 * undo_funcs.C: cleanups
11199 * lyxfunc.C: disable CUT/COPY when no selection
11201 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
11203 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
11204 in "enum UNIT"; e.g. PTW for Percent of TextWidth
11206 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
11207 Add backward compatibility to "mono", "gray" and "no".
11209 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
11211 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
11212 (and file_format >= 200).
11214 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11216 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
11218 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11220 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
11222 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
11224 * BufferView_pimpl.C:
11231 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
11232 inset and code to make it work with the paragraph code. The inset
11233 can be anywhere in the paragraph, but will only do the expected
11234 thing in LaTeX if the layout file contains the parameter line
11236 (or more generally, a nonzero value) for that layout.
11238 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
11240 * paragraph.h: remove the declaration of undefined counters class
11243 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
11245 * text2.C (setCounter): fixed enumeration mis-count as reported by
11246 Dr. Richard Hawkins.
11248 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11250 * paragraph_funcs.h: remove some unneeded includes
11252 * text.C (backspace): pasteParagraph now in global scipe
11254 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
11255 (pasteSelection): ditto
11257 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
11258 * paragraph_funcs.C (pasteParagraph): ... here
11260 2002-08-20 André Pönitz <poenitz@gmx.net>
11262 * commandtags.h: new LFUNs for swapping/copying table row/colums
11265 * lyxfunc.C: support for new lfuns
11267 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
11270 * buffer.[Ch]: remove NO_COMPABILITY stuff
11272 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
11274 * boost.C (throw_exception): new file, with helper function for
11275 boost compiled without exceptions.
11280 * ParameterStruct.h:
11281 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
11283 * bufferlist.C (emergencyWriteAll): use boost bind
11285 * BufferView_pimpl.C (moveCursorUpdate): remove inline
11287 * text.C: include paragraph_funcs.h
11288 (breakParagraph): breakParagraph is now in global scope
11290 * paragraph_funcs.[Ch]: new files
11292 * paragraph.C (breakParagraph,breakParagraphConservative): move to
11295 * buffer.C: include paragraph_funcs.h
11296 (insertStringAsLines): breakParagraph is now in global scope
11298 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
11301 * CutAndPaste.C: include paragraph_funcs.h
11302 (cutSelection): breakParagraphConservative is now in global scope
11303 (pasteSelection): ditto
11305 * buffer.h: declare oprator== and operator!= for
11306 Buffer::inset_iterator
11308 * bufferlist.C (emergencyWrite): don't use fmt(...)
11310 * text3.C: add using std::endl
11312 * BufferView.C (moveCursorUpdate): remove default arg
11314 2002-08-20 André Pönitz <poenitz@gmx.net>
11316 * buffer.[Ch]: move inline functions to .C
11319 * BufferView_pimpl.C:
11321 * buffer.[Ch]: use improved inset_iterator
11324 * paragraph.[Ch]: write one paragraph at a time
11326 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
11328 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
11329 style if style is not specified.
11331 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11333 * text2.C (setCounter): when searching for right label for a
11334 caption, make sure to recurse to parent insets (so that a caption
11335 in a minipage in a figure float works) (bug #568)
11337 2002-08-20 André Pönitz <poenitz@gmx.net>
11339 * text3.C: new file for LyXText::dispatch() and helpers
11341 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
11343 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
11345 2002-08-19 André Pönitz <poenitz@gmx.net>
11348 * text.C: new LyXText::dispatch()
11350 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
11352 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
11354 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
11356 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
11359 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11361 * Makefile.am: use $(variables) instead of @substitutions@
11363 2002-08-15 André Pönitz <poenitz@gmx.net>
11366 * BufferView_pimpl.C: streamlining mathed <-> outer world
11370 * LyXAction.C: remove unused LFUN_MATH
11372 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
11374 * paragraph.[Ch]: add some NO_NEXT ifdefs.
11376 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
11378 * paragraph.C (Paragraph): reformat a bit
11379 (cutIntoMinibuffer): use builtin InsetList function instad of
11383 * buffer.C: include boost/bind.hpp, add using std::for_each
11384 (writeFileAscii): use ParagraphList iterators
11385 (validate): use for_each for validate traversal of paragraphs
11386 (getBibkeyList): use ParagraphList iterators
11387 (resizeInsets): use for_each to resizeInsetsLyXText for all
11389 (getParFromID): use ParagraphList iterators
11391 * BufferView2.C (lockInset): use paragraph list and iterators
11393 2002-08-14 John Levon <levon@movementarian.org>
11395 * lyxserver.C: remove spurious xforms include
11397 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11399 * lyxfunc.C (getStatus): disable math-extern outside of math mode
11401 2002-08-13 André Pönitz <poenitz@gmx.net>
11404 * lyxfunc.C: further cleaning
11406 2002-08-13 André Pönitz <poenitz@gmx.net>
11408 * funcrequest.h: new constructor
11410 * funcrequest.C: move stuff here from .h
11413 * BufferView_pimpl.C:
11416 * lyxfunc.C: subsequent changes
11418 * lyxfunc.h: new view() member function
11420 * lyxfunc.C: subsequent changes
11422 2002-08-13 Angus Leeming <leeming@lyx.org>
11425 * BufferView_pimpl.C:
11433 changes due to the changed LyXView interface that now returns references
11434 to member variables not pointers.
11436 2002-08-13 Angus Leeming <leeming@lyx.org>
11438 * WordLangTuple (word, lang_code): return references to strings,
11443 * lyxtext.h: forward-declare WordLangTuple.
11448 * text.C: #include "WordLangTuple.h".
11451 * text.C: (selectNextWordToSpellcheck): constify return type.
11453 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
11459 * paragraph_pimpl.h:
11462 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
11463 suggested by Angus.
11464 Made updateCounter always count from start of buffer, and removed
11465 second argument (par).
11466 Reverted floats number display to '#'. Perhaps I'll try again when the
11467 code base is sanitized a bit.
11469 2002-08-12 Angus Leeming <leeming@lyx.org>
11471 * buffer.[Ch] (getLabelList): constify.
11473 2002-08-07 André Pönitz <poenitz@gmx.net>
11475 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
11477 * funcrequest.h: extension to keep mouse (x,y) position
11479 2002-08-12 Juergen Vigna <jug@sad.it>
11481 * BufferView2.C (insertErrors): forbid undo when inserting error
11484 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
11486 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
11488 * ParagraphList.[Ch]: new files
11490 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
11492 * BufferView2.C (lockInset): ParagraphList changes
11495 * bufferlist.C: ditto
11499 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11501 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
11502 unused class variable counter_,
11504 * paragraph.[Ch] (getFirstCounter): delete unused function
11506 * counters.C: include LAssert.h
11507 (reset): add a new function with no arg, change other version to
11508 not have def. arg and to not allow empty arg.
11510 * text2.C (setCounter): remove empty arg from call to Counters::reset
11512 2002-08-11 John Levon <levon@movementarian.org>
11514 * Makefile.am: add WordLangTuple.h
11516 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11518 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
11519 lyxfunc.C lyxlex_pimpl.C: ws changes only.
11521 * insets/insettext.C: InsetList changes
11523 * graphics/GraphicsSupport.C (operator()): InsetList changes
11525 * toc.C (getTocList): InsetList changes
11527 * paragraph_pimpl.[Ch]: InsetList changes
11529 * paragraph.[Ch]: InsetList changes
11531 * buffer.C (inset_iterator): InsetList changes
11532 (setParagraph): ditto
11533 * buffer.h (inset_iterator): ditto
11534 * iterators.C (operator++): ditto
11535 * iterators.h: ditto
11537 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11539 * InsetList.[Ch]: new files, most InsetList handling moved out of
11542 * BufferView2.C (removeAutoInsets): InsetList changes
11544 (ChangeInsets): ditto
11546 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
11548 * paragraph_pimpl.h (empty): new function
11550 * paragraph.[Ch] (empty): new function
11552 * other files: use the new Paragraph::empty function
11554 2002-08-09 John Levon <levon@movementarian.org>
11556 * lyxtext.h: remove unused refresh_height
11558 2002-08-09 John Levon <levon@movementarian.org>
11565 * paragraph.C: move sgml char escaping out of paragraph
11568 * paragraph.C: remove id setter
11572 * paragraph_pimpl.C: remove dead tex_code_break_column
11574 * bufferview_funcs.C: small cleanup
11576 * lyxfunc.C: remove dead proto
11578 * lyxtext.h: make some stuff private. Remove some dead stuff.
11580 * lyxgluelength.C: make as[LyX]String() readable
11582 2002-08-08 John Levon <levon@movementarian.org>
11587 * ToolbarDefaults.C:
11590 * toc.C: lyxaction cleanup
11592 2002-08-08 John Levon <levon@movementarian.org>
11594 * BufferView2.C: small cleanup
11597 * lyxfind.C: move unnecessary header into the .C
11599 2002-08-08 John Levon <levon@movementarian.org>
11601 * funcrequest.h: just tedious nonsense
11604 * lyx_main.C: cleanups
11607 * vspace.C: remove dead header lyx_main.h
11609 2002-08-07 Angus Leeming <leeming@lyx.org>
11612 * paragraph_pimpl.h:
11613 Forward declare class Counters in paragraph.h by moving the ctrs member
11614 variable into Paragraph::Pimpl.
11615 (counters): new method, returning a reference to pimpl_->ctrs.
11617 * text2.C: ensuing changes.
11619 2002-08-07 John Levon <levon@movementarian.org>
11621 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11623 * BufferView_pimpl.C: announce X selection on double/triple
11626 * lyx_main.C: use correct bool in batch dispatch
11628 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11630 2002-08-07 André Pönitz <poenitz@gmx.net>
11632 * funcrequest.h: new class to wrap a kb_action and its argument
11635 * BufferView_pimpl[Ch]:
11639 * lyxrc.C: subsequent changes
11642 2002-08-07 John Levon <levon@movementarian.org>
11644 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11645 document options change.
11647 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11652 * makefile.am: move counters functionality over from
11653 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11655 2002-08-06 John Levon <levon@movementarian.org>
11657 * WordLangTuple.h: new file for word + language code tuple
11668 * BufferView2.C: use WordLangTuple
11671 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11673 2002-08-06 John Levon <levon@movementarian.org>
11675 * lyx_main.C: fix cmdline batch handling
11677 2002-08-06 André Pönitz <poenitz@gmx.net>
11679 * lyxrc.C: set default for show_banner to true
11681 2002-08-06 John Levon <levon@movementarian.org>
11683 * pspell.C: fix a crash, and allow new aspell to work
11685 2002-08-06 John Levon <levon@movementarian.org>
11688 * kbmap.C: small cleanup
11691 * vspace.C: add const
11693 2002-08-05 John Levon <levon@movementarian.org>
11695 * LyXAction.C: back to tabular-insert
11697 2002-08-04 John Levon <levon@movementarian.org>
11700 * BufferView.C: cosmetic change
11702 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11712 * BufferView2.C: purge all "Lyx" not "LyX" strings
11715 * lyxcursor.C: attempt to add some documentation
11720 * ToolbarDefaults.C:
11721 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11722 merge with LFUN_TABULAR_INSERT
11729 * pspell.C: split up i/pspell implementations into separate
11730 files, many cleanups
11732 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11734 * text2.C: some cleanup
11736 * lyxfunc.C: don't check for isp_command == "none" any more, it
11737 didn't make any sense
11739 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11744 * makefile.am: move counters functionality over
11745 from text2.C/paragraph.[Ch] to counters.[Ch], and
11747 2002-08-02 John Levon <levon@movementarian.org>
11749 * buffer.C: s/lyxconvert/lyx2lyx/
11751 2002-08-02 Angus Leeming <leeming@lyx.org>
11753 * lyxlex.C: revert John's change as it breaks reading of the user
11756 2002-08-02 Angus Leeming <leeming@lyx.org>
11758 * importer.C (Import):
11759 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11760 changes due to LyXView::view() now returning a boost::shared_ptr.
11762 2002-08-02 John Levon <levon@movementarian.org>
11764 * lyxlex.C: small cleanup
11766 2002-08-02 John Levon <levon@movementarian.org>
11768 * text2.C (status): small cleanup, no logic change
11770 2002-08-01 John Levon <levon@movementarian.org>
11773 * buffer.C (writeFile): don't output alerts, caller
11777 * lyx_cb.C: from above
11779 * lyxfunc.C: allow to open non-existent files
11781 2002-07-31 John Levon <levon@movementarian.org>
11783 * lyxserver.C: don't let incidental errors get
11786 2002-07-30 John Levon <levon@movementarian.org>
11788 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11790 2002-07-30 John Levon <levon@movementarian.org>
11793 * lyxserver.C: remove I/O callback too
11795 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11797 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11800 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
11802 * many files: strip,frontStrip -> trim,ltrim,rtrim
11804 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
11806 * PrinterParams.h: remove extern containsOnly, and include
11807 support/lstrings.h instead.
11809 * LaTeX.C (scanAuxFile): modify because of strip changes
11811 * buffer.C (makeLaTeXFile): ditto
11812 * bufferparams.C (writeFile): ditt
11813 * lyxfont.C (stateText): ditto
11814 * lyxserver.C (read_ready): ditto
11815 * vc-backend.C (scanMaster): ditto
11817 * BufferView_pimpl.h: ws changes
11819 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11821 2002-07-26 André Pönitz <poenitz@gmx.net>
11823 * kb_sequence.C: remove unnedred usings
11825 2002-07-26 Juergen Vigna <jug@sad.it>
11827 * lyxfind.C (LyXReplace): we have to check better if the returned
11828 text is not of theLockingInset()->getLockingInset().
11830 2002-07-25 Juergen Vigna <jug@sad.it>
11832 * lyxfind.C (LyXReplace): don't replace if we don't get the
11835 * undo_funcs.C (createUndo): remove debugging code.
11837 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
11839 * buffer.C (parseSingleLyXformat2Token): Use default placement
11840 when reading old floats.
11842 * FloatList.C (FloatList): Change the default placement of figure
11843 and tables to "tbp".
11845 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
11847 * MenuBackend.C: using std::max
11849 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11851 * MenuBackend.C (expandToc):
11852 (expandToc2): code moved from xforms menu frontend. It is now
11853 generic and TOCs are transparent to menu frontends.
11855 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11857 * toc.C (getTocList): protect against buf=0
11859 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11860 Menu as first parameter. Now, this calls itself recursively to
11861 expand a whole tree (this will be useful for TOC handling)
11862 (expandFloatInsert): remove 'wide' version of floats
11864 * MenuBackend.h (submenuname): returns the name of the submenu.
11865 (submenu): returns the submenu itself, provided it has been
11866 created by MenuBackend::expand
11868 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11870 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11871 insets which have noFontChange == true. (bug #172)
11873 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11875 * BufferView_pimpl.C: add connection objects and use them...
11878 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11880 * MenuBackend.C (expandLastfiles):
11883 (expandFloatListInsert):
11884 (expandFloatInsert):
11885 (expand): split expand in parts
11887 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11889 * lyx_gui.C: use lyx_gui::exit()
11891 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11893 * LyXAction.C: show the failing pseudo action
11895 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
11897 * buffer.C (readFile): Run the lyxconvert script in order to read
11900 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11904 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11906 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11910 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11912 2002-07-22 Herbert Voss <voss@lyx.org>
11915 * lyxlength.[Ch]: add support for the vertical lengths
11917 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
11919 * toc.[Ch]: std:: fixes
11921 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11923 * lyxrc.C: do not include lyx_main.h
11925 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11931 * BufferView2.C: include "lyxlex.h"
11934 * bufferparams.h: do not #include "lyxlex.h"
11936 * lyxtextclasslist.C (Add): remove method
11937 (classlist): renamed to classlist_
11939 * paragraph_pimpl.C:
11943 * bufferview_funcs.C:
11948 * toc.C (getTocList): use BufferParams::getLyXTextClass
11950 * toc.C (getTocList): use InsetFloat::addToToc
11952 * toc.[Ch]: new files, containing helper functions to handle table
11955 * lyxfunc.C (dispatch): no need to remove spaces around command
11957 (getStatus): handle LFUN_SEQUENCE by returning the status of the
11958 first command of the sequence; it is not very clever, but I do not
11959 have a better idea, actually
11961 * LyXAction.C (LookupFunc): make sure to remove space at the
11962 beginning and end of the command
11964 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11966 * MenuBackend.C (getMenubar): new method: return the menubar of
11968 (read): treat differently reading of menu and menubar (in
11969 particular, the menubar has no name now)
11970 (Menu::menubar): remove
11972 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11975 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11977 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11978 a bibitem inset in a RTL paragraph.
11980 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
11982 * paragraph_pimpl.C: constify
11984 * BufferView_pimpl.C:
11986 * lyxfunc.C: fix dispatch in a nicer way
11988 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11990 * lyxfunc.C (dispatch):
11991 * BufferView_pimpl.C:
11992 * BufferView_pimpl.h:
11994 * BufferView.h: rename Dispatch() to dispatch()
11996 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11998 * lyxlayout.C (Read): honor DependsOn tag
12000 * lyxlayout.[Ch] (depends_on): new method
12002 * version.C.in: update lyx_docversion
12004 * LaTeXFeatures.C (getMacros): only define \LyX when needed
12006 * paragraph.C (validate): remove from here...
12007 * paragraph_pimpl.C (validate): ... and move here
12008 (isTextAt): make it const
12010 * buffer.C (getLists): ws cleanup
12012 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
12014 * language.C (read): Use iso8859-1 encoding in latex_lang
12015 (this prevents LyX from crashing when using iso10646-1 encoding).
12017 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12019 * text2.C (toggleInset): if cursor is inside an inset, close the
12020 inset and leave cursor _after_ it
12022 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
12024 * lyxfunc.C: move minibuffer completion handling out of here
12026 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
12028 * BufferView_pimpl.C:
12029 * LaTeX.C: fix dispatch calls
12031 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
12033 * text.C (drawChars): Fix Arabic text rendering.
12035 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
12039 * lyxfunc.C: remove message-push/pop
12043 * lyxfunc.C: rationalise some code by removing verboseDispatch
12044 in favour of a bool argument to dispatch()
12046 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12048 * lyx_main.C (init): make sure to read symlinks as absolute paths
12050 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
12053 * lyxfunc.C: no need for commandshortcut to be a member
12055 2002-07-15 André Pönitz <poenitz@gmx.net>
12057 * converter.C: add support for $$s (scripts from lib/scripts dir)
12058 * lyx_main.C: white space
12060 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
12064 * lyxrc.C: remove second exit confirmation
12066 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
12071 * BufferView_pimpl.h:
12072 * BufferView_pimpl.C:
12073 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
12075 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12077 * MenuBackend.C (expand): add numeric shortcuts to document menu
12079 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
12081 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12083 * lyxfont.C (setLyXFamily):
12090 * buffer.C (asciiParagraph): use ascii_lowercase
12092 2002-07-15 Mike Fabian <mfabian@suse.de>
12094 * lyxlex_pimpl.C (search_kw):
12095 * lyxlex.C (getLongString):
12096 * converter.h (operator<):
12097 * converter.C (operator<):
12098 * buffer.C (parseSingleLyXformat2Token):
12100 * ToolbarDefaults.C (read):
12101 * MenuBackend.C (checkShortcuts):
12103 * LColor.C (getFromGUIName):
12104 (getFromLyXName): use the compare_ascii_no_case instead of
12105 compare_no_case, because in turkish, 'i' is not the lowercase
12106 version of 'I', and thus turkish locale breaks parsing of tags.
12108 2002-07-16 Angus Leeming <leeming@lyx.org>
12110 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
12111 now takes a Buffer const & argument.
12113 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
12115 * BufferView.C (resize): check there's a buffer to resize
12117 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
12119 * lyxfunc.C: remove dead code
12122 * lyxserver.C: use lyx_guii::set_read_callback
12124 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
12126 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
12127 an inset in a RTL paragraph.
12129 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
12131 * lyxfunc.C: repaint after a font size update
12133 2002-07-15 André Pönitz <poenitz@gmx.net>
12135 * lyxlength.C: inBP should be able to return negative values
12137 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
12139 * lyxfunc.C: use lyx_gui::update_fonts()
12141 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
12143 * lyxfunc.C: use lyx_gui::update_color()
12145 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
12151 * lyxrc.C: remove file->new asks for name option, and let
12152 buffer-new take an argument
12154 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
12156 * BufferView_pimpl.C: remove unneeded extra repaint()
12158 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
12160 * LyXAction.C: allow command-sequence with NoBuffer
12162 * lyxfunc.C: don't insist on trailing ';' for command-sequence
12164 2002-07-10 Angus Leeming <leeming@lyx.org>
12166 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
12168 2002-07-09 Angus Leeming <leeming@lyx.org>
12170 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
12172 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
12174 * lengthcommon.h: whitespace
12176 * lyxfunc.C: update scrollbar after goto paragraph
12178 * lyxtext.h: factor out page break drawing, and fix it so
12179 page break/added space paints as selected nicely
12181 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
12183 * BufferView_pimpl.C: add FIXMEs, clean up a little
12185 2002-07-09 André Pönitz <poenitz@gmx.net>
12187 * lyxfont.[Ch]: support for wasy symbols
12189 2002-07-08 André Pönitz <poenitz@gmx.net>
12191 * BufferView_pimpl.C: apply John's patch for #93.
12193 2002-07-05 Angus Leeming <leeming@lyx.org>
12195 * BufferView_pimpl.C (buffer): generate previews if desired.
12197 * LColor.h: add "preview" to the color enum.
12199 * LColor.C (LColor): add a corresponding entry to the items array.
12201 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
12204 2002-07-05 Angus Leeming <leeming@lyx.org>
12206 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
12207 The body of the code is now in the method that is passed an ostream &
12208 rather than a file name.
12209 Pass an additional only_preamble parameter, useful for the forthcoming
12212 2002-07-03 André Pönitz <poenitz@gmx.net>
12214 * lyxfunc.C: simplify getStatus() a bit for math stuff
12216 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12218 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
12220 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12222 * text.C (changeRegionCase): do not change case of all the
12223 document when region ends at paragraph end (bug #461)
12225 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12227 * paragraph.C (startTeXParParams):
12228 (endTeXParParams): add \protect when necessary
12230 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12232 * BufferView_pimpl.C (workAreaExpose): remove warning
12234 2002-06-27 Angus Leeming <leeming@lyx.org>
12236 * Makefile.am: add lyxlayout_ptr_fwd.h.
12238 2002-06-26 André Pönitz <poenitz@gmx.net>
12240 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
12242 2002-06-25 Angus Leeming <leeming@lyx.org>
12244 * lyxfunc.C (dispatch): Comment out the call to
12245 grfx::GCache::changeDisplay. The method no longer exists now that the
12246 pixmap generation part of the graphics loader has been moved into
12249 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12251 * text2.C: layout as layout
12253 * text.C: layout as layout
12255 * tabular.C (OldFormatRead): layout as layout
12257 * paragraph_pimpl.C (TeXDeeper): layout as layout
12258 (realizeFont): layout as layout
12260 * paragraph.C (writeFile): layout as layout
12261 (validate): layout as layout
12262 (getFont): layout as layout
12263 (getLabelFont): layout as layout
12264 (getLayoutFont): layout as layout
12265 (breakParagraph): layout as layout
12266 (stripLeadingSpaces): layout as layout
12267 (getEndLabel): layout as layout
12268 (getMaxDepthAfter): layout as layout
12269 (applyLayout): layout as layout
12270 (TeXOnePar): layout as layout
12271 (simpleTeXOnePar): layout as layout
12272 (TeXEnvironment): layout as layout
12273 (layout): layout as layout
12274 (layout): layout as layout
12276 * lyxtextclass.C (compare_name): new functor to work with
12277 shared_ptr, layout as layout
12278 (Read): layout as layout
12279 (hasLayout): layout as layout
12280 (operator): layout as layout
12281 (delete_layout): layout as layout
12282 (defaultLayout): layout as layout
12284 * lyxlayout_ptr_fwd.h: new file
12286 * lyxlayout.C (Read): layout as layout
12288 * lyx_cb.C (MenuInsertLabel): layout as layout
12290 * bufferlist.C (newFile): layout as layout
12292 * buffer.C (readLyXformat2): layout as layout
12293 (parseSingleLyXformat2Token): layout as layout
12294 (insertStringAsLines): layout as layout
12295 (asciiParagraph): layout as layout
12296 (latexParagraphs): layout as layout
12297 (makeLinuxDocFile): layout as layout
12298 (simpleLinuxDocOnePar): layout as layout
12299 (makeDocBookFile): layout as layout
12300 (simpleDocBookOnePar): layout as layout
12301 (getLists): layout as layout
12303 * LaTeXFeatures.C (getTClassPreamble): layout as layout
12305 * CutAndPaste.C (cutSelection): layout as layout
12306 (pasteSelection): layout as layout
12307 (SwitchLayoutsBetweenClasses): layout as layout
12309 * BufferView_pimpl.C (Dispatch): layout as layout
12310 (smartQuote): layout as layout
12312 * BufferView2.C (unlockInset): layout as layout
12314 2002-06-24 André Pönitz <poenitz@gmx.net>
12316 * lyxfunc.C: fix #487
12318 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12322 * lyxfunc.C: remove display_shortcuts, show_banner
12324 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12326 * Buffer_pimpl.C: oops, update on resize
12328 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12335 * BufferView.C: use repaint()
12337 * BufferView_pimpl.h:
12338 * BufferView_pimpl.C: s/updateScreen()/repaint()/
12339 as it's a clearer description. Remove superfluous
12342 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12344 * text.C: fix bug 488. Not ideal, but getting
12345 getWord() to work properly for the insets that
12346 matter is more difficult ...
12348 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12350 * BufferView_pimpl.C:
12353 * lyxfunc.C: remove the six million index lyxfuncs to just
12354 one, and DTRT (bug 458)
12356 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12360 * BufferView_pimpl.h:
12361 * BufferView_pimpl.C: clean up resize() stuff,
12362 and unnecessary updateScreen()s
12364 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12368 * BufferView_pimpl.h:
12369 * BufferView_pimpl.C:
12372 * minibuffer.C: remove focus management of workarea,
12373 not needed. Use screen's greyOut()
12375 2002-06-17 Herbert Voss <voss@lyx.org>
12377 * converter.C: (convert) do not post a message, when converting
12378 fails, let the calling function decide what to do in this case
12380 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
12382 * lyxfunc.C: tidy up a little
12384 2002-06-16 <alstrup@diku.dk>
12386 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
12387 Got rid of FORMS_H_LOCATION include. Now we are
12390 2002-06-15 LyX Development team <lyx@rilke>
12392 * buffer.[Ch] (sgmlOpenTag):
12393 (sgmlCloseTag): Added support for avoiding pernicious mixed
12394 content. Return number of lines written.
12396 (makeLinuxDocFile):
12397 (makeDocBookFile): Fixed calls to sgml*Tag.
12398 Simple white space clean.
12400 (simpleDocBookOnePar): Simple white space clean.
12402 * tabular.[Ch] (docBook): Renamed to docbook and got another
12403 argument to related with the pernicious mixed content.
12405 (docbookRow): Fixed calls for docbook inset method.
12407 2002-06-15 Lyx Development team <larsbj@birdstep.com>
12409 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
12410 so it's X11 independent.
12414 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
12416 2002-06-15 Lyx Development team <lyx@electronia>
12418 * intl.h: Renamed getTrans to getTransManager.
12420 2002-06-14 Angus Leeming <leeming@lyx.org>
12422 * Makefile.am: nuke forgotten stl_string_fwd.h.
12424 2002-06-12 Angus Leeming <leeming@lyx.org>
12426 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
12428 2002-06-13 Angus Leeming <leeming@lyx.org>
12431 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
12433 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
12435 * kbmap.C (getiso): add support for cyrillic and greek
12437 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12441 * BufferView_pimpl.h:
12442 * BufferView_pimpl.C: move bogus scrolling logic
12445 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12448 * BufferView_pimpl.C: view->resize() change
12450 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12452 * BufferView_pimpl.C: topCursorVisible
12455 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12459 * lyx_gui.C: move to frontends/
12463 * lyx_main.C: changes from above
12465 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12472 * lyx_main.C: minor tidy
12474 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12476 * BufferView_pimpl.h:
12477 * BufferView_pimpl.C:
12479 * BufferView.C: make painter() const,
12482 * BufferView2.C: use screen() accessor
12485 * lyx_main.C: some minor cleanup
12487 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12489 * BufferView_pimpl.h:
12490 * BufferView_pimpl.C: remove enter/leaveView,
12493 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12498 * BufferView_pimpl.h:
12499 * BufferView_pimpl.C: only construct screen once,
12502 * lyxrc.C: remove pointless comment
12504 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
12507 * BufferView.C: remove active() and belowMouse()
12509 * BufferView_pimpl.h:
12510 * BufferView_pimpl.C: use workarea() not workarea_,
12511 and make it use a scoped_ptr instead
12513 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
12515 * lyx_gui.C: add debug message on BadWindow
12517 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12519 * sp_spell.C: fdopen is not part of the C++ standard.
12521 * paragraph.C (InsetIterator): use >= instead of ==
12523 2002-06-07 Angus Leeming <leeming@lyx.org>
12525 Fixes needed to compile with Compaq cxx 6.5.
12526 * BufferView_pimpl.C:
12533 * lyxtextclasslist.C:
12538 all c-library variables have been moved into namespace std. Wrap
12539 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12544 Add a using std::abs declaration.
12546 * kbmap.h (modifier_pair):
12547 * paragraph.h (InsetTable, InsetList):
12548 * lyxfont.h (FontBits):
12549 type definition made public.
12551 * bufferlist.C (emergencyWriteAll): the compiler complains that
12552 there is more than one possible lyx::class_fun template to choose from.
12553 I re-named the void specialisation as lyx::void_class_fun.
12555 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12557 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12558 the compiler is is unable to find tostr in write_attribute.
12560 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12562 * buffer.C (sgmlError): hide #warning
12564 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12566 * xtl/*: get rid of xtl, which is not in use anyway
12568 * LyXAction.C (init):
12569 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12570 were unimplemented xtl experimentation
12572 2002-06-04 André Pönitz <poenitz@gmx.net>
12574 * lyxfunc.C: disable array operation on simple formulae
12576 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
12578 * converter.C: constify a bit
12580 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
12582 * lyx_gui.C: check xforms version correctly
12584 2002-04-30 Herbert Voss <voss@lyx.org>
12586 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12589 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
12591 * lyxvc.C: fix bug 416 (make sure buffer is saved before
12592 attempt to register it with a VCS)
12594 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12596 * lyx_main.C (init): honor variables LYX_DIR_13x and
12599 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12603 * lyx_main.C: fix a crash on bad command line,
12604 and give a useful exit status on error
12606 * lyxfunc.C (doImport): allow -i lyx to work
12608 2002-03-30 André Pönitz <poenitz@gmx.net>
12610 * lyxfunc.C: mathed font changes
12612 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12627 * trans_mgr.h: srcdocs, and some minor cleanups
12629 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12631 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12632 call getFont all the time)
12634 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12636 * switch from SigC signals to boost::signals
12638 2002-05-29 André Pönitz <poenitz@gmx.net>
12640 * paragraph_pimpl.C (getChar): don't call size() too often...
12642 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12644 * paragraph_pimpl.C (insertChar): do not try to update tables when
12645 appending (pos == size())
12647 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12648 in order to reduce drastically the number of comparisons needed to
12649 parse a large document
12651 2002-05-29 André Pönitz <poenitz@gmx.net>
12657 * textclasslist.[Ch]:
12658 * sp_ispell.h: whitespace change
12660 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12662 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12663 lyxaction directly now.
12665 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
12669 * lyxvc.C: remove unused headers
12671 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12678 * undo_funcs.C: some cleanups. Use shared_ptr
12679 and a template for the undo stacks.
12681 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12683 * BufferView_pimpl.h:
12684 * BufferView_pimpl.C:
12691 * text2.C: use key_state/mouse_state
12693 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12695 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12698 * chset.C: change include order
12699 (loadFile): use boost regex and get rid of LRegex and LSubstring
12701 * Makefile.am (BOOST_LIBS): new variable
12702 (lyx_LDADD): use it
12704 * LaTeX.C: change include order.
12705 (scanAuxFile): use boost regex and get rid of LRegex and
12709 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12714 * FontInfo.C: moved to frontends/xforms/
12717 * FontLoader.C: moved into frontends for GUIIzation
12722 * lyxfunc.C: changes from above
12724 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12726 * LColor.C: remove spurious X include
12728 * BufferView_pimpl.C:
12733 * text2.C: move font metrics to frontends/
12735 2002-05-24 Juergen Vigna <jug@sad.it>
12737 * undo_funcs.C (textHandleUndo): fix the cursor selection after
12738 setting the undo_cursor.
12740 * ParagraphParameters.h: include local includes first.
12742 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12744 * BufferView_pimpl.C:
12745 * BufferView_pimpl.h:
12749 * screen.C: move WorkArea into frontends/
12755 * BufferView2.C: move LyXScreen into frontends/
12759 * lyx_gui.C: move lyxlookup into frontends/xforms/
12761 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12764 * BufferView_pimpl.C:
12774 * bufferview_funcs.C:
12787 * vc-backend.C: move LyX/XFormsView into frontends/
12789 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12801 * text2.C: move Painter to frontends/
12803 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
12805 * buffer.C: comment out some some code that depend upon lyx_format
12808 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12809 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12811 * buffer.h (NO_COMPABILITY): turn off compability
12813 * ColorHandler.C: include scoped_array.hpp
12815 * font.C: Use more specific smart_ptr header.
12818 * ShareContainer.h: ditto
12819 * lyx_main.h: ditto
12821 * FontInfo.h: ditto
12822 * BufferView_pimpl.h: ditto
12823 * ColorHandler.h: ditto
12825 * kbmap.C (defkey): change call to shared_ptr::reset
12827 2002-05-21 Juergen Vigna <jug@sad.it>
12829 * buffer.C (insertErtContents): fix to insert ert asis if it is
12830 non empty. Skip it completely if it contains only whitespaces.
12832 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
12834 * BufferView_pimpl.C:
12835 * BufferView2.C: clear selection on paste (bug 393)
12837 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12839 * DepTable.C: include ctime
12841 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
12843 * buffer.C (latexParagraphs): Add new argument (moving_arg).
12845 2002-05-14 Juergen Vigna <jug@sad.it>
12847 * text.C (breakParagraph): fixed function to honor the keepempty
12848 layout in the right maner and also to permit the right breaking
12849 algorithm on empty or non empyt keepempty paragraphs.
12851 * paragraph.C (breakParagraph): we have to check also if the par
12852 is really empty (!size()) for isempty otherwise we do the wrong
12855 2002-05-10 Juergen Vigna <jug@sad.it>
12857 * buffer.[Ch] : The following are only changes to the ert
12858 compatibility read reading old LaTeX layout and font stuff and
12859 convert it to ERTInsets.
12861 * buffer.h: added isErtInset().
12863 * buffer.C (struct ErtComp): add a fromlayout bool to check
12864 if we're inside a LaTeX layout.
12865 (isErtInset): new helper function.
12866 (insertErtContents): look for other ert insets before this one
12867 and insert the contents there, so that we don't have subsequent
12868 ERT insets with nothing between them. This way we create only one
12869 inset with multiple paragraphs. Also check if we don't insert only
12870 spaces ' ' as they are ignored anyway afterwards in the .tex file
12871 so if we have only spaces we will ignore this latex part in the
12873 (parseSingleLyXformat2Token \\layout): better compatibility when
12874 reading layout-latex stuff.
12875 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12877 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12878 stuff after reading the inset only get the information back from
12881 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
12883 * buffer.C (makeLaTeXFile): Put language options after loading babel.
12885 * LaTeXFeatures.C (getBabelOptions): New method.
12887 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12889 * BufferView_pimpl.C (Dispatch): work around missing argument for
12892 2002-05-08 Juergen Vigna <jug@sad.it>
12894 * text.C (leftMargin): handle paragraph leftindent.
12896 * paragraph.C (writeFile): write the new \\leftindent tag.
12897 (validate): handle leftindent code.
12898 (TeXEnvironment): handle paragraphleftindent code again.
12900 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12902 * buffer.C (parseSingleLyXformat2Token): added compatibility code
12903 for paragrap_extra indent code and new token \\leftindent.
12904 (latexParagraphs): handle the leftindent as environment.
12906 * ParameterStruct.h: added leftindent support.
12908 * ParagraphParameters.C (leftIndent): added support functions for
12909 the paragraph left indent.
12911 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12914 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
12916 * paragraph.C (isRightToLeftPar): Return false for a paragraph
12919 * text.C (computeBidiTables): No bidi in insetERT.
12921 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12924 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12926 * version.C.in: pre 5
12928 2002-05-02 José Matos <jamatos@fep.up.pt>
12929 * buffer.C (makeDocBookFile): white space changes, add newline to
12931 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12933 * tabular.C (docBook): fix typo.
12935 2002-05-03 Juergen Vigna <jug@sad.it>
12937 * screen.C (drawFromTo): recalculate the rowpointer if we had a
12938 change in LyXText as we can not be sure it was not freed.
12939 (drawOneRow): remove unused code.
12941 * text.C (drawInset): redo the calculation of the need_break_row as
12942 it could have a row which was already freed.
12943 (draw): look at the return value of drawInset and return false if
12944 it also returned false.
12945 (paintRowText): look at the return value of draw and return false if
12946 it also returned false.
12948 * lyxtext.h: added bool return type to drawInset() and draw() so that
12949 if we have a change in the row so that the rowbreak has to be redone
12950 we abort drawing as it will be called again.
12952 2002-05-02 Juergen Vigna <jug@sad.it>
12954 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12955 a change in the maintext also if we're inside an inset.
12956 (Dispatch): set the cursor again after a break line and after the
12957 screen has been updated as it could be we're in a different row.
12959 * text2.C (fixCursorAfterDelete): check to make sure we don't request
12960 to set the cursor behind the pargraph with > size().
12961 (setCursor): check also for the same paragraph when checking where
12962 to put the cursor if we have a NFR inset.
12964 * buffer.C (parseSingleLyXformat2Token): move the compatibility
12965 parts of layout read further up as it still was in the wrong
12968 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12970 * screen.C (drawFromTo): change sine fullRebreak always return
12973 * buffer.C (parseSingleLyXformat2Token): reindent some
12975 * BufferView_pimpl.C (update): change since fullRebreak always
12977 (Dispatch): git rid of the last hardcoded "Standard"s.
12979 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
12981 * text2.[Ch] (fullRebreak): make it return void now that we always
12984 2002-04-30 Juergen Vigna <jug@sad.it>
12986 * buffer.C (parseSingleLyXformat2Token): reset the font before the
12987 ert compatibility check for "latex" layout.
12989 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
12991 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12992 minipages: use col% instead of p%, and also use the current font.
12993 (makeLaTeXFile): Fix use babel condition.
12994 (parseSingleLyXformat2Token): Correct font when reading old floats.
12996 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
12998 * BufferView_pimpl.C (Dispatch): Check that float type exists when
12999 inserting list of floats.
13001 2002-04-25 Herbert Voss <voss@lyx.org>
13003 * MenuBackend.C (expand): don't add the graphics extensions to the
13006 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13008 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
13009 non-existing layout, do not complain if it was the default layout
13010 of the original class (bug #342)
13012 2002-04-24 Juergen Vigna <jug@sad.it>
13014 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
13015 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
13017 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
13019 * buffer.C (getBibkeyList): If using \bibliography, return the
13020 option field with the reference itself. Enables us to provide natbib
13021 support when using \bibliography.
13023 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
13025 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
13027 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
13028 natbib is provided by the LaTeX class.
13030 2002-04-23 Juergen Vigna <jug@sad.it>
13032 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
13035 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
13037 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13039 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
13041 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
13042 ensuremath around textordmasculine, textordfeminine and
13045 2002-04-19 Juergen Vigna <jug@sad.it>
13047 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
13048 reinitializing the buffer otherwise row-dimensions may be wrong.
13049 (update): reset also the selection cursors if they do exits otherwise
13050 their x/y positions may be wrong.
13052 * text2.C (cursorDown): don't enter the inset if we came from a row
13053 above and are one row over the inset.
13055 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
13056 really leaving an inset.
13058 2002-04-18 Juergen Vigna <jug@sad.it>
13060 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
13061 of the selected paragraph does not have the selected layout also if
13064 * text2.C (setLayout): fixed bug which did not change last selected
13067 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
13068 changed the read and substituted \\end_float with \\end_inset!
13070 * BufferView_pimpl.C (cursorPrevious):
13071 (cursorNext): fixed to make it work with rows heigher than the work
13072 area without moving the cursor only the draw of the row.
13073 (workAreaMotionNotify): fix jumping over high rows.
13075 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13077 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
13080 2002-04-16 Juergen Vigna <jug@sad.it>
13082 * text2.C (setCursor): set also the irow().
13083 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
13085 (cursorDown): support for locking an inset if the x_fix value goes
13086 inside it. That way I can transverse insets too with cursor up/down.
13088 * lyxrow.h: added irow helper function same as other (i) functions.
13090 * BufferView_pimpl.C (cursorPrevious):
13091 (cursorNext): fixed for insets!
13093 2002-04-15 Juergen Vigna <jug@sad.it>
13095 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
13096 position otherwise it is wrong in some cases.
13098 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
13099 inside the inset before the call.
13101 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
13103 * buffer.[Ch] (getBibkeyList): make it const.
13105 2002-04-12 Juergen Vigna <jug@sad.it>
13107 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
13109 * text2.C (getCursorX): new helper function
13110 (setCursor): compute also ix_
13111 (setCursorFromCoordinates): set also ix.
13113 * lyxcursor.h: added ix_ and helper functions.
13115 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
13117 * buffer.C (insertStringAsLines): dont break paragraph if the this
13118 paragraph is inside an inset which does not permit it!
13120 * text.C (breakParagraph): honor keepempty flag and break the paragraph
13121 also with no chars on this paragraph.
13122 (paintRowText): only paint stuff if it's inside the workarea!
13124 * paragraph.C (breakParagraph): honor keepempty flag and break the
13125 paragraph always below not above.
13127 * BufferView2.C (unlockInset): update the paragraph layout on inset
13128 unlock as we changed paragraph in such a case.
13130 * lyxfind.C (LyXFind): clear the former selection if not found!
13132 * text2.C (insertInset): freeze Undo after setUndo so that it is not
13133 again called in insertChar().
13135 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
13136 an inset which uses the whole row!
13137 (rightMargin): ditto.
13138 (insertChar): force a rebreak if we inserted an inset!
13140 2002-03-28 Herbert Voss <voss@lyx.org>
13142 * lyxlength.[Ch]: add inBP() to get the right PS-point
13143 units (BigPoint). With inPixels we have rounding errors
13145 2002-04-11 Juergen Vigna <jug@sad.it>
13147 * text2.C (setCursorFromCoordinates): set iy to the right value.
13148 (setCursor): add check if row->previous exists!
13150 * buffer.C (parseSingleLyXformat2Token): reset font after read of
13151 an old float_type as this was the case in the old code!
13153 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
13155 * BufferView2.C (showLockedInsetCursor): use iy
13156 (fitLockedInsetCursor): ditto
13158 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
13159 locked insets as there we have the right value now.
13161 * lyxcursor.C: added iy_ variable and iy functions to set to the
13162 baseline of cursor-y of the locked inset.
13164 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
13165 (setCursor): fixed for insets which need a full row.
13167 * text.C (rowLastPrintable): don't ignore the last space when before
13168 an inset which needs a full row.
13169 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
13170 as last character of a row when before a inset which needs a full row.
13172 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13174 * version.C.in: update date
13176 * text2.C (fullRebreak): try to always return true and see what
13179 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13181 * MenuBackend.C (expand): use Floating::listName
13183 * FloatList.C (FloatList): add listName argument to the built-in
13186 * Floating.[Ch]: add listName member, which is the 'List of XXX'
13187 text associated with the float.
13189 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13191 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
13193 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13195 * ShareContainer.h: add a couple of missing typenames.
13197 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
13199 * lyxrc.C (getDescription): use _() correctly rather than N_().
13201 2002-03-28 Herbert Voss <voss@lyx.org>
13203 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
13204 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
13206 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13208 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
13209 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
13211 2002-03-29 Juergen Vigna <jug@sad.it>
13213 * lyxfunc.C (dispatch): add a missing fitCursor call.
13215 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
13216 it was scrolled by a cursor move, so return the bool status.
13218 * BufferView.C (fitCursor): return the bool flag also to the outside
13219 world as this is needed.
13221 * screen.C (toggleToggle): don't subtract the offset if it's positive.
13223 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
13224 call the edit() as it is not needed (and wrong) IMO.
13225 (workAreaButtonPress): set the screen_first variable before evt.
13226 unlock the inset as this may change screen_first and then we have
13227 a wrong y position for the click!
13229 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13231 * MenuBackend.C (expand): another translation that I missed
13233 2002-03-28 Juergen Vigna <jug@sad.it>
13235 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
13237 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
13239 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13241 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
13243 * MenuBackend.C (expand): fix export/view/update when there is no
13246 2002-03-27 Herbert Voss <voss@lyx.org>
13248 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
13251 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13253 * bufferview_funcs.C (currentState): only show paragraph number
13254 for is DEVEL_VERSION is set.
13256 * lyxfunc.C (dispatch): put warning in INFO channel
13258 * MenuBackend.C (expand): translate the name of floats
13260 * FloatList.C (FloatList): mark the float names for translation
13262 * converter.C (convert): use LibScriptSearch
13264 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13266 * MenuBackend.C (defaults): fix default menu (we might as well get
13269 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13271 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
13274 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13276 * lyxvc.C: reorder includes.
13278 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
13280 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
13283 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
13285 * CutAndPaste.C: change layouts earlier on paste
13286 to avoid crashing when calling getFont()
13288 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
13290 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
13293 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
13295 * WorkArea.C: remove 'Pending' debug message.
13297 * most files: ws cleanup
13299 * buffer.[Ch]: ws changes
13301 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
13303 2002-03-21 Juergen Vigna <jug@sad.it>
13305 * tabular.C (SetMultiColumn): collapse also the contents of the
13306 cells and set the last border right. Added a Buffer const * param.
13308 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
13310 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
13313 2002-03-19 Juergen Vigna <jug@sad.it>
13315 * text2.C (clearSelection): reset also xsel_cache.
13317 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
13318 where it needs to be called (John tells us to do so too :)
13319 (selectionLost): reset sel_cache.
13321 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
13323 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13325 * text2.C (setCursorIntern): put debuging code in INSETS channel
13327 2002-03-19 André Pönitz <poenitz@gmx.net>
13329 * lyxfunc.C: tiny whitespace change
13331 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13333 * ToolbarDefaults.C (init):
13334 * LyXAction.C (init):
13336 * BufferView_pimpl.C (Dispatch):
13337 * lyxfunc.C (dispatch): remove LFUN_DEPTH
13339 2002-03-19 Allan Rae <rae@lyx.org>
13341 * exporter.C (Export): removeAutoInsets before doing anything else.
13342 While I've just introduced a dependency on BufferView this really is
13343 the best place to clean the buffer otherwise you need to cleanup in
13344 a dozen places before calling export or cleanup in a dozen functions
13347 * converter.C (runLaTeX):
13348 (scanLog): Better handling of removeAutoInsets and screen updates.
13350 * lyxfunc.C (dispatch): small whitespace changes
13352 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13354 * WorkArea.C (C_WorkAreaEvent): return a value.
13355 (event_cb): return 1 if we handled the event, 0 otherwise.
13357 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
13359 2002-03-18 Juergen Vigna <jug@sad.it>
13361 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
13362 (GetAdditionalWidth): ditto.
13363 (RightLine): ditto.
13366 * BufferView2.C (copy): use getLyXText() so that we do it inside an
13367 inset if we're there actually (probably not used right now but this
13368 is the direction to go for unifying code).
13369 (paste): disable code to clear the selection.
13371 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
13372 inside an InsetText and move the check further up as it is in the
13375 * text2.C (pasteSelection): set a selection over the pasted text.
13377 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
13379 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
13380 and libgraphics to build on Cygwin.
13382 2002-03-15 Juergen Vigna <jug@sad.it>
13384 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
13385 inserting an Inset into the paragraph. I know this is not the best
13386 fix but we already use current_view in CutAndPaste so we will remove
13387 all of it's using at the same time.
13389 * buffer.C (sgmlError): deactivated function till it is rewritten in
13390 the right mode, now it can create problems.
13392 * paragraph.C (isLineSeparator): check if getInset returns != 0,
13393 before accessing it.
13395 2002-03-14 Juergen Vigna <jug@sad.it>
13397 * undo_funcs.C (textHandleUndo): do the right thing when updating
13398 the inset after the undo/redo.
13400 * text2.C (setCursor): just some testcode for #44 not ready yet.
13402 * undo_funcs.C (textHandleUndo): set the next() and previous()
13403 pointers of the paragraph to 0 before deleting otherwise we have
13404 problems with the Paragraph::[destructor].
13406 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
13407 on a paragraph insertion.
13409 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13411 * buffer.C (asciiParagraph): use += operator for char append to
13414 * paragraph.C (getFontSettings): compare >= not just >
13415 (highestFontInRange): ditto
13418 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13420 * paragraph.C: change several algorithm to be more appripriate for
13421 the problem domain. This is lookip in FontList and in the InsetList.
13423 2002-03-13 André Pönitz <poenitz@gmx.net>
13426 * LyXAction.C: remove unused LFUN_MATH_MACROARG
13428 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
13433 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
13435 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13437 * Painter.C (display): anon helper function, adjust code for this
13439 (pixmap): remove function.
13441 * Painter.h: remove private display variable.
13443 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
13445 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
13447 * WorkArea.[Ch]: remove figinset_canvas cruft.
13449 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13451 * lyxtextclass.C (operator): add one item cache optimization.
13453 * bufferlist.h: doxy changes
13455 * bufferlist.C: ws changes
13457 * DepTable.[Ch] (ext_exist): place const in the right spot.
13459 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
13461 (workAreaExpose): call resizeInsets when the with BufferView changes.
13462 (Dispatch): adjust for protectedBlank removal
13463 (specialChar): call updateInset if the insert went ok.
13465 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
13466 specialChar instead.
13468 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
13470 * BufferView.h: doxy change
13472 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
13474 * lyxtextclass.C (operator[]): remove non-const version
13475 (defaultLayout): remove non-const version
13477 2002-03-12 Juergen Vigna <jug@sad.it>
13479 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
13480 did resize the LyXText too.
13482 * buffer.C (readLyXformat2): set layout information on newly allocated
13485 * tabular.C (OldFormatRead): set layout information on the paragraph.
13487 2002-03-12 Jos�Ab�io Oliveira Matos <jamatos@novalis.fc.up.pt>
13489 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
13491 2002-03-11 Juergen Vigna <jug@sad.it>
13493 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
13495 (resizeCurrentBuffer): force also the insets to resize themselfes.
13496 (moveCursorUpdate): fixed up for InsetText.
13498 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
13501 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
13502 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
13503 value of Dialogs::tooltipsEnabled().
13504 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
13506 2002-03-08 Juergen Vigna <jug@sad.it>
13508 * BufferView_pimpl.C (updateInset): update inset inside inset also
13509 if it isn't inside theLockingInset().
13511 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13513 * buffer.C (asciiParagraph): redo some of the word and line length
13515 (getLists): look for Caption instead of caption.
13517 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13519 * buffer.C (Buffer): initialize niceFile to true
13521 (makeLinuxDocFile):
13522 (makeDocBookFile): make sure niceFile is true on exit
13524 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13526 * buffer.C (makeLaTeXFile): escape ~ in \input@path
13528 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
13530 * LyXSendto.C: remove.
13531 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13532 * lyx_gui.C: remove now-redundant comment.
13533 * ColorHandler.h: remove forward declaration of class WorkArea.
13534 * lyxfunc.C: remove #include "WorkArea.h".
13536 2002-03-07 Juergen Vigna <jug@sad.it>
13538 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13539 got moved away with the DEPM and also set the inset_owner always
13540 right which before could have been omitted.
13542 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13544 * buffer.C (parseSingleLyXformat2Token): use default layout is the
13545 wanted layout is not found.
13547 2002-03-07 Juergen Vigna <jug@sad.it>
13549 * CutAndPaste.C (cutSelection): another layout settings forgotten.
13551 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13553 * paragraph.C (breakParagraph): use default layout not layout of
13555 (Paragraph): clear ParagraphParameters.
13557 2002-03-06 Juergen Vigna <jug@sad.it>
13559 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13560 otherwise it would not be a valid lenght. Fixed a special case in
13561 the minipage compatibility read where we end the document with a
13564 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13565 was set as it could be 0 for InsetTexts first entry.
13567 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13569 * paragraph.C (writeFile): if layout is empty write out
13570 defaultLayoutName().
13572 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13573 file without named layout we set layout to defaultLayoutName().
13575 2002-03-06 Juergen Vigna <jug@sad.it>
13577 * CutAndPaste.C (copySelection): set layout for new paragraph.
13579 * text.C (prepareToPrint): leave ERT inset left aligned
13580 (leftMargin): don't indent paragraphs inside ERT insets
13582 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13584 * paragraph.C (breakParagraph): dont call clear do the work manually
13586 * paragraph.[Ch] (clear): remove function
13588 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13590 * paragraph.C (Paragraph): dont call clear, the work has already
13593 * lyxtextclass.C (operator): assert if n is empty
13595 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13596 work manually instead.
13598 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13600 * BufferView_pimpl.C: protect selectionLost against text == 0
13602 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13604 * text.C (breakParagraph): fix a setting layout to '0' problem.
13606 2002-03-05 Jos�Ab�io Oliveira Matos <jamatos@novalis.fc.up.pt>
13608 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13609 final location of file, for the included files, and graphics.
13611 2002-03-05 Juergen Vigna <jug@sad.it>
13613 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13615 2002-03-04 Juergen Vigna <jug@sad.it>
13617 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13619 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13620 last column of multicolumn cells.
13621 (SetWidthOfMulticolCell): recalculate NMC and real columns.
13623 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
13625 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13626 file if it doesn't go to a temporary file.
13628 * buffer.C (sgmlOpenTag):
13629 (sgmlCloseTag): remove extra newline insertion.
13631 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13633 * text.C (getRowNearY): comment out debug msg
13635 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13637 * text2.C: first -> first_y
13639 * text.C (getRowNearY): add some attemts at a possible
13640 optimization, not working.
13642 * tabular.[Ch]: add BufferParams to several function so that newly
13643 created paragraph can be initialized to he default layotu for the
13646 * tabular-old.C (ReadOld): add buf->params to call of Init
13648 * screen.C: rename text->first to text->first_y
13650 * paragraph.C (breakParagraph): always set layout in the broken
13653 * lyxtextclass.C (Read): remove lowercase
13656 (delete_layout): ditto
13658 * lyxtext.h: rename first -> first_y
13660 * lyxlayout.C (Read): remove lowercase
13663 (obsoleted_by): ditto
13665 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13667 * buffer.C (insertErtContents): add params are to InsetERT
13668 (parseSingleLyXformat2Token): add code to check if a paragraphs
13669 layout really exist.
13670 (parseSingleLyXformat2Token): add params to several inset
13672 (asciiParagraph): remove lowercase, do the layout comparisons with
13675 * BufferView_pimpl.C (cursorNext): first -> first_y
13676 (resizeCurrentBuffer): first -> first_y
13677 (updateScrollbar): first -> first_y
13678 (scrollCB): first -> first_y
13679 (workAreaMotionNotify): first -> first_y
13680 (workAreaButtonPress): first -> first_y
13681 (checkInsetHit): first -> first_y
13682 (cursorPrevious): first -> first_y
13683 (cursorNext): first -> first_y
13684 (Dispatch): add buffer_->params to severl inset contructors
13686 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13688 * lyxlayout.C (Read): remove some debug info that I forgot.
13690 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13691 clean up the code slightly.
13692 (makeLinuxDocFile): ditto
13693 (makeDocBookFile): ditto
13695 * text2.C: layout as string
13697 * text.C: layout as string
13699 * paragraph_pimpl.C: layout as string
13701 * paragraph.[Ch]: layout as string
13703 * lyxtextclasslist.[Ch]: layout as string
13705 * lyxtextclass.[Ch]: layout as string
13707 * lyxtext.h: layout as string
13709 * lyxlayout.[Ch]: layout as string
13711 * lyx_cb.C: layout as string
13713 * bufferview_funcs.C: layout as string
13715 * bufferparams.C: layout as string
13717 * buffer.C: layout as string
13719 * LyXView.[Ch]: layout as string
13721 * LaTeXFeatures.[Ch]: layout as string
13723 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13725 * BufferView_pimpl.C: change current_layout to string, remove
13730 (workAreaButtonRelease): layout as string
13732 * BufferView2.C (unlockInset): adjust
13734 * vspace.C (asLatexCommand): use an explict temp variable.
13736 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13738 * Makefile.am: use FRONTEND_*
13740 2002-03-01 Juergen Vigna <jug@sad.it>
13742 * tabular.C (SetWidthOfMulticolCell): changed to something better
13743 I hope but still work in progress.
13744 (recalculateMulticolumnsOfColumn): renamed function from
13745 recalculateMulticolCells as it is more appropriate now.
13746 (SetWidthOfCell): calculate multicols better.
13748 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13750 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13752 * lyxfunc.C (processKeySym): print sequence also if it is
13753 `deleted' (complete)
13755 * kbsequence.C (print): print sequence even if it is deleted
13756 (complete would be a better word, actually).
13758 * lyxfunc.C (dispatch): print complete options after a prefix key
13760 * vspace.C (asLatexCommand): rewrite in a slightly different form.
13762 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
13764 * text2.C (setCharFont): eliminate setCharFont code duplication.
13766 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13768 * BufferView_pimpl.C (Dispatch): remove bogus handling of
13769 LFUN_TABULAR_FEATURE (bug #177)
13771 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
13773 * Makefile.am: remove figure.h
13775 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
13777 * Bufferview_pimpl.C:
13789 * text2.C: remove #include "lyx_gui_misc.h".
13791 * LaTeX.C: added #include <cstdio>
13793 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13795 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13796 that the paragraph following this one can have.
13798 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13800 * vspace.C (asLatexCommand): fix bogus gcc warning
13802 * Makefile.am (lyx_SOURCES): remove vms_defines.h
13804 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
13806 * text2.C (setLayout): get rid of redundant code
13808 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
13810 * text2.C (incDepth): make sure depth cannot be increased beyond
13813 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
13815 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13816 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13818 * PainterBase.h (image):
13819 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13820 a LyXImage const *.
13822 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13826 * BufferView_pimpl.C:
13827 * BufferView_pimpl.h:
13847 * sp_spell.C: remove fig inset, and the crap house of
13848 cards that follows it
13850 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13855 * os2_errortable.h:
13856 * nt_defines.h: move .h into support/
13858 * vms_defines.h: remove
13860 * WorkArea.C: add space in debug output
13864 * buffer.C: add WITH_WARNINGS
13868 * bufferlist.C: s/retrive/retrieve/, add docs
13877 * chset.C: add docs
13879 * lyxgui.C: add ID to X error handler
13881 * lyxtestclass.c: fix typo
13883 2002-02-26 Juergen Vigna <jug@sad.it>
13885 * tabular_funcs.C (write_attribute): changed so that some default
13886 attributes are not written at all.
13887 (getTokenValue): set default values before trying to read the
13888 value so we have the return value always set as default if we don't
13889 find the token we search for.
13891 * tabular.C (Write): write bools as bools not as strings!
13893 2002-02-22 Juergen Vigna <jug@sad.it>
13895 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13896 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13898 * text.C (leftMargin): don't add an indent for paragraphs inside
13899 tabular cells (fix #208).
13901 2002-02-21 José Matos <jamatos@fep.up.pt>
13903 * tabular.C (docBook): fixed support for long tables.
13905 2002-02-20 Juergen Vigna <jug@sad.it>
13907 * text2.C (getFont): get the drawing font of the Inset if this
13908 paragraph is inside an inset (only important for InsetERT for now).
13910 * buffer.C (insertErtContents): use new lanugage params in ERT
13913 * CutAndPaste.C: commenting out seemingly uneeded code.
13915 2002-02-19 Allan Rae <rae@lyx.org>
13917 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13918 Iterators might be simple to use but they also get invalidated.
13919 (removeAutoInsets): renamed saved cursor tracking variables and added
13920 some comments to clarify what everything does.
13922 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
13929 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13930 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13933 * vc-backend.h: remove #include "support/syscall.h"
13937 * converter.C: rearrange #includes in Lars' approved fashion.
13939 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13940 forward declare class Timeout in the header file.
13942 * XFormsView.C: changes due to the above.
13944 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13945 similar to LyXView.
13947 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13948 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13950 2002-02-18 José Matos <jamatos@fep.up.pt>
13952 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13955 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
13957 * a lot of small ws changes
13958 * add a lot of using std::XXX
13959 * use std construcs some places where approp.
13960 * use some exisint stuff from lyxfunctional where approp.
13961 * Make file changes to use partial linking (lets test this now...)
13963 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13967 remove #include "support/syscontr.h" as it's redundant. Always has been.
13975 change Systemcalls::System to Systemcalls::Wait and
13976 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13977 No change of functionality, just reflects the stripped down Systemcalls
13980 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13982 * debug.[Ch]: add a GRAPHICS type to the enum.
13984 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13986 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13988 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13991 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13993 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13994 match the changes below.
13996 * text2.C (toggleInset): if there is not editable inset at cursor
13997 position, try to see if cursor is _inside_ a collapsable inset
14000 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14002 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
14003 document menu has a nice checkbox
14005 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14007 * lyxlength.C (asLatexString): change PW to output as percent of
14010 * lengthcommon.C: change '%' to 't%'
14012 * lyxfunc.C (dispatch): a few comments from Martin
14014 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
14018 * BufferView_pimpl.h:
14019 * BufferView_pimpl.C: clear our selection when X tells us we've lost
14022 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14024 * vspace.C (inPixels): fix compiler warning
14026 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14028 * lyxfunc.C (getStatus): fix status message for disabled commands.
14030 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
14032 * BufferView_pimpl.C: fix crash on close buffer
14033 during selection (#227)
14035 2002-01-27 Herbert Voss <voss@lyx.org>
14037 * buffer.C: link old Figure to new graphic inset
14039 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
14041 * FontLoader.C (getFontinfo): Change the latex font names in order
14042 to match the names of type1inst.
14044 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
14046 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
14048 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
14049 (extchanged): ditto
14051 (remove_files_with_extension): ditto
14052 (remove_file): ditto
14055 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
14056 document is smaller than the work area height. Do not initialize
14057 static variables to 0.
14059 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14061 * lyx_gui.C (init): give the toolbar tooltips a normal font.
14063 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
14064 LFUN_LAYOUT_PARAGRAPHS.
14066 * tabular.C (GetCellFromInset): new method. Finds an inset in a
14067 tabular. It is possible to provide a possible cell, which will
14068 typically be the actcell from the corresponding insettabular
14070 * lyxfunc.C (getStatus): small cleanup; disable
14071 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
14074 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14076 * tabular.C (Validate): remove broken optimization (fixes bug #201)
14078 * paragraph.C (startTeXParParams):
14079 (endTeXParParams): new methods. The LaTeX code to
14080 start/end paragraph formatting
14081 (simpleTeXOnePar): call startTeXParParams also when paragraph is
14082 empty (fixes bug #200)
14084 * vspace.C (inPixels): adapt to the change below
14085 (inPixels): [later] more cleanups (remove unused variables)
14087 * lyxlength.C (inPixels): change to use a width and a height as
14090 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14092 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
14093 Replaced with \paperwidth
14095 * DepTable.C (insert): add std:: qualifier
14097 2002-01-18 Allan Rae <rae@lyx.org>
14099 * text2.C (removeRow): add comment. Should other refresh_?? vars be
14102 * text.C (drawInset): Turned out I didn't know enough about how
14103 rebreaking worked. This fixes most of the redraw problems. I see
14104 an occasional cursor trail when a line is broken now and the cursor
14105 placement can seem out by a few pixels also after a rebreak.
14107 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14109 * buffer.C (parseSingleLyXformat2Token): update because minipage
14110 width is now a LyXLength
14112 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
14114 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
14117 2002-01-17 Juergen Vigna <jug@sad.it>
14119 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
14121 * BufferView2.C (lockInset): call edit() so that theLockingInset()
14122 is set correctly and the inset is updated correctly.
14124 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14126 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
14127 the beginning of the loop.
14129 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
14131 * lyxrc.C: improve help for use_scalable_fonts
14133 2002-01-17 Allan Rae <rae@lyx.org>
14135 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
14137 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14139 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
14140 make sure to set their inset_owner to the right value (bug #171)
14142 2001-12-12 Ben Stanley <bds02@uow.edu.au>
14145 * DepTable.C: Implement mtime checking to reduce time spent doing
14148 2002-01-16 Juergen Vigna <jug@sad.it>
14150 * tabular.C (GetAdditionalHeight): one of error fixed.
14152 * lyxrc.C (output): small fix in writing use_pspell.
14154 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
14156 * sp_base.h: #include LString.h
14158 2002-01-16 Allan Rae <rae@lyx.org>
14160 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
14161 Can someone check this please?
14163 * text.C (drawInset): It was possible that p.row would be removed by
14164 breakAgainOneRow upsetting a few other settings. There may be another
14165 small tweak possible by setting need_break_row = 0 when p.row has been
14166 removed but I don't know enough about the logic here.
14168 2002-01-15 Allan Rae <rae@lyx.org>
14170 * text.C (insertChar): removed conditional truism.
14172 * BufferView2.C (removeAutoInsets): More tweaks.
14173 cur_par_prev could be a stray pointer. Check for trailing empty line
14174 in case last line was cur_par and only had an error inset on it.
14176 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14178 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
14181 * vc-backend.C (most methods):
14182 * exporter.C (Export):
14183 * converter.C (convert):
14185 * LyXSendto.C (SendtoApplyCB):
14186 * lyxfunc.C (dispatch):
14190 * lyx_cb.C (AutoSave):
14192 * BufferView_pimpl.C (MenuInsertLyXFile):
14193 * buffer.C (runChktex): use Buffer::filePath().
14195 * buffer.h: rename filename to filename_; rename filepath to
14196 filepath_ and make it private
14197 (filePath): new method
14199 * buffer.C (writeFile): use fileName()
14202 * lyx_main.C (init): fix starting of LyX when the binary is a
14203 link from so,ewhere else.
14205 * minibuffer.C: include <cctype> for isprint
14207 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
14209 * buffer.C (parseSingleLyXformat2Token): changes associated with the
14210 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
14211 name clash with InsetCollapsable's width function.
14213 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14215 * lastfiles.C: include <iterator>
14217 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
14219 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
14222 * buffer.C (makeLaTeXFile): ditto.
14223 Also make loop operation more transparent.
14225 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
14227 * ToolbarDefaults.C: remove trailing comma closing namespace.
14229 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
14231 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
14234 * trans.C (Load): comment out unused variable, allowed.
14236 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
14238 * minibuffer.[Ch] (append_char): new method to recieve input from the
14239 drop-down completion browser. If a key was pressed, then recieve this
14240 char and append it to the existing string.
14241 (peek_event): modify the positioning data passed to the completion
14242 browser so that it can be placed above the minibuffer rather than below.
14243 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14245 * LyXAction.C (init): alloe error-next for readonly documents.
14247 * BufferView2.C (ChangeRefsIfUnique): use standard version of
14250 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14252 * bufferlist.C (readFile): create the buffer _after_ checking that
14255 * lyxfunc.C (verboseDispatch): fix handling of arguments
14257 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
14259 * lyxrc.C: use string::erase() instead of initializing to "".
14262 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14264 * BufferView_pimpl.h:
14265 * BufferView_pimpl.C:
14268 * text2.C: tell X when we have made a selection for copying
14270 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14272 * BufferView_pimpl.C (MenuInsertLyXFile):
14273 * lyxfunc.C (menuNew):
14275 (doImport): add shortcuts to directory buttons
14277 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
14280 * lyxfunc.C (setStatusMessage):
14281 (getStatusMessage): new methods
14282 (getStatus):use setStatusMessage instead of setErrorMessage
14283 (dispatch): when function is disabled, set error message here
14284 [instead of in getStatus previously]
14286 * BufferView_pimpl.C (workAreaButtonRelease): update
14287 toolbar/menubar here too.
14289 2002-01-13 Allan Rae <rae@lyx.org>
14291 * BufferView2.C (removeAutoInsets): finished off earlier fix.
14292 Now seems indestructible. Remaining task is to audit all other
14293 code affected by deleteEmptyParagraphMechanism. One small quirk
14294 left is that an empty document with an error in the preamble can
14295 be made to report an error but no error box appears. I don't know
14297 (removeAutoInsets): Improved comments.
14299 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
14302 * Thesaurus.C: update for Aiksaurus 0.14
14304 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
14306 * text2.C (firstParagraph): removed member function, all uses
14307 replaces with ownerParagraph
14308 (redoParagraphs): here
14309 (updateInset): here
14310 (toggleAppendix): here
14311 * BufferView2.C (insertErrors): here
14312 (setCursorFromRow): here
14314 2002-01-13 Allan Rae <rae@lyx.org>
14316 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
14317 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
14318 There is still a way to segfault this although you may have to do this
14319 multiple times: Have an InsetERT with an unknown command in it.
14320 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
14321 <down-arrow>, <Enter> again, View->DVI, BANG!
14323 * text2.C (setCursor):
14324 (deleteEmptyParagraphMechanism):
14325 * lyxtext.h (setCursor):
14326 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
14327 Making use of the return value may help fix other bugs.
14329 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14331 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
14333 * LyXView.C (updateMenubar): call MenuBar::update here
14334 (updateToolbar): but not here
14335 (showState): do not update toolbar/menubar
14337 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
14338 should need to care about that.
14340 * lyxfunc.C (verboseDispatch): simplify a bit
14341 (getStatus): have a version which takes a pseudoaction, and
14342 another which requires a (kb_action,string).
14344 * LyXAction.C (retrieveActionArg): make it work also when action
14345 is not a pseudo-action.
14346 (getActionName): simplify a bit
14349 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14351 * lyxfunc.C (verboseDispatch): new families of methods with
14352 several ways to specify a command and a bool to indicate whether
14353 the command name and shortcut should be displayed in minibuffer
14354 (eventually, we could extend that to a finer bitmask like
14355 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
14356 (dispatch): the pristine dispatch command which just, well,
14357 dispatchs! Note it still sets its result to minibuffer; I'm not
14360 * lyxfunc.h: remove setHintMessage
14362 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
14364 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14366 * BufferView_pimpl.C (specialChar): delete new inset if we have
14367 not been able to insert it.
14369 * kbmap.C: revert to using int instead of kb_action, since all we
14370 are dealing with is pseudo-actions.
14372 * LyXAction.C (searchActionArg): change to return int instead of
14373 kb_action, since the result is a pseudoaction.
14375 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
14377 * buffer.C (insertErtContents): Fix (partially) the font bug.
14379 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
14381 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
14382 as the other one is broken on my machine!
14384 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
14387 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
14389 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
14391 * lyxrc.[Ch]: change names and descriptions of popup font variables to
14392 reflect their actual use. Provide compatibility code for older lyxrc
14395 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
14397 change names of popup font variables in line with the changes to lyxrc.C
14399 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14401 * buffer.C (asciiParagraph): avoid outputing a word twice after
14404 * lyxrc.C (getDescription): document that document_path and
14405 template_path can be empty.
14407 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14409 * LaTeXFeatures.C (getMacros):
14410 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
14412 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
14414 * LaTeXFeatures.C (useFloat): require "float" here instead of in
14416 (getPackages): rename feature "floats" to "float". Use an array to
14417 iterate over 'simple' features (i.e. just a \usepackage). Add
14418 handling of "amsmath" (renamed from "amsstyle").
14420 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
14422 * LaTeXFeatures.C (require): Prevent duplicate entries in the
14425 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
14427 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
14428 FuncStaus::FuncStatus & FuncStaus::some_method().
14430 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
14432 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
14433 of the func_satus stuff. Edited and massaged in various ways by
14436 * lyxfunc.C (getStatus): use FuncStatus
14438 2002-01-08 Juergen Vigna <jug@sad.it>
14440 * text.C (nextBreakPoint): use function Inset::isChar().
14442 * paragraph.C (TeXOnePar): use function
14443 Inset::forceDefaultParagraphs.
14445 * buffer.C (latexParagraphs): use function
14446 Inset::forceDefaultParagraphs.
14448 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14450 * lyx_gui.C (init): set the style of the menu popups to
14451 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
14453 2002-01-07 Juergen Vigna <jug@sad.it>
14455 * text.C (setHeightOfRow): small fix
14456 (prepareToPrint): don't look at alignment if we don't have the place
14459 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14461 * box.C: New file. Move the Box methods and functions out of box.h,
14462 following Lars' suggestion.
14464 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14466 * box.h: #include "support/LOstream.h", needed for inlined function.
14469 * lyxtextclasslist.C: added some using std declarations.
14471 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
14473 * box.h: make signed dimensions to allow insets wider than
14474 the screen (bug #162)
14476 * BufferView_pimpl.C: add some insetHit debug
14478 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
14480 * vc-backend.C: add FIXME
14482 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14484 * lyxfunc.C (getStatus): enable code for showing math font status
14487 2002-01-07 Juergen Vigna <jug@sad.it>
14489 * text.C (nextBreakPoint): removed debug output not needed anymore.
14491 2002-01-06 Juergen Vigna <jug@sad.it>
14493 * text.C (nextBreakPoint): fixed up this function we had this bug
14494 since ever but now hopefully we break row better.
14495 (insertChar): we have to check if an inset is the next char as it
14496 could now happen that a large inset is causing a break.
14498 2002-01-05 Juergen Vigna <jug@sad.it>
14500 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
14501 if it doesn't like to be drawed.
14503 2002-01-04 Juergen Vigna <jug@sad.it>
14505 * BufferView2.C (lockInset): forgot to set a cursor.
14507 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
14509 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
14511 * FormMathsPanel.C:
14514 * form_maths_panel.C:
14515 * form_maths_panel.h:
14516 * form_maths_panel.fd: implemented sub- and super- buttons in math
14519 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
14520 (or ^ space) to be used as in TeX (req'd by Andr�.
14522 * lyxfunc.C: Allow ^ and _ again to be used both as
14523 super/subscript (mathed) and as themselves (in text).
14525 2002-01-03 Allan Rae <rae@lyx.org>
14527 * LyXView.C (updateWindowTitle): Setup a short icon title of either
14528 "LyX" or the filename of the current buffer if it has one. This is a
14529 modified form of John Levon's patch.
14531 * XFormsView.C (setWindowTitle): also set icon title.
14533 * LyXView.h (setWindowTitle): signature changed.
14534 * XFormsView.h (setWindowTitle): ditto.
14536 2002-01-02 Juergen Vigna <jug@sad.it>
14538 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14540 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
14542 * screen.C (topCursorVisible): introduce a temp var for
14543 text->cursor.row(), handle the case where this row is null. (kindo
14546 * text2.C (setCursor): add a couple of asserts.
14548 * paragraph.h (inset_iterator): add -> operator
14550 * paragraph.[Ch] (autoDeleteInsets): remove member function
14552 * BufferView2.C (removeAutoInsets): rewrite to handle the old
14553 cursor pos correctly and handle inset deletion by itself.
14554 (insertErrors): move iterator declaration out of for expression
14556 * lyxtextclass.C: add <algorithm>
14558 * Makefile.am: added the new files to sources, removed layout.C
14560 * layout.C: removed file
14562 * layout.h: remove LYX_DUMMY_LAYOUT
14564 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14568 * lyxtextclass.[Ch]:
14569 * lyxtextclasslist.[Ch]: new files
14571 * include order changes to a lot of files, also changes because of
14574 2001-12-27 Juergen Vigna <jug@sad.it>
14576 * buffer.C (asciiParagraph): more fixes.
14578 * tabular.C (ascii): make ascii export support export of only the
14579 data separated by a column-delimiter.
14580 (ascii): better support for ascii export.
14582 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14584 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14586 * tabular_funcs.C: use a "using std::getline" instead of the
14587 previous fix from Angus (necessary for cxx + lyxstring)
14589 2001-12-24 Juergen Vigna <jug@sad.it>
14591 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14593 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14594 problems. First check a minipage also if we have some ert-contents
14595 (not only on par->size(), second set the right depth of the paragraph
14596 on the relink to the root-paragraph-list!
14598 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14599 which then did not anymore update the main paragraphs on undo/redo!
14601 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14603 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14604 code. Support all font-changing funcs (even those which are not in
14605 menu currently). Support for reporting font settings in
14606 mathed (disabled until Andre provides a function on mathed's side).
14608 * func_status.h (toggle): small helper function to set toggle
14611 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
14613 * tabular_funcs.C: getline -> std::getline
14615 2001-12-21 Juergen Vigna <jug@sad.it>
14617 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14618 accessed and could be 0 (I couldn't generate this but it seems
14621 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
14623 * tabular_funcs.C: add LIstream.h, move write_attribute to..
14624 * tabular_funcs.h: here and include iosfwd
14626 2001-12-20 Juergen Vigna <jug@sad.it>
14628 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14629 inside inset but undo_par was.
14631 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14633 * Thesaurus.C: always include <config.h> in sources.
14637 * box.h: do not include <config.h> in header files
14639 * text.C (paintLastRow): remove unused variable
14641 * text.C (transformChar):
14643 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14645 * Painter.C (text):
14646 * font.C (width): rewrite to use uppercase() instead of
14649 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14651 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
14653 * lyxfind.C: clean up of find failure position change
14655 2001-12-20 Juergen Vigna <jug@sad.it>
14657 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14659 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14660 (TeXRow): added to LaTeX a single tabular row.
14661 (TeXLongtableHeaderFooter): added to output LT-h/f data.
14662 (Latex): simplified and finally good LT-h/f support.
14663 (various_functions): just small adaptions for LT-h/f support.
14665 * tabular_funcs.[hC]: added and moved here all not classfunctions
14668 2001-12-19 Juergen Vigna <jug@sad.it>
14670 * tabular.[Ch]: better support for longtabular options (not finished
14673 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14675 * text.C (paintLastRow): use the label font instead of the font of
14676 the last character to compute the size of *_BOX. This makes more
14677 sense and avoids a crash with empty paragraphs.
14678 Use Painter::rectangle to draw EMPTY_BOX.
14680 2001-12-19 Juergen Vigna <jug@sad.it>
14682 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14683 the paragraphs if the replaced paragraph is not the first one!
14684 Tried to delete not used paragraphs but does not work yet so for
14685 now it's inside #ifdef's and by default off!
14687 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14689 * MenuBackend.C: include "lyx_main.h" instead of declaring
14690 lastfiles (actually was declared as LastFiles* instead of a
14693 2001-12-17 Juergen Vigna <jug@sad.it>
14695 * tabular.C (AppendColumn): applied John's fix
14697 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
14701 * BufferView_pimpl.h:
14702 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14705 * box.h: new start of class for above
14707 * lyxfunc.C: ignore space-only minibuffer dispatches.
14708 Show the command name when it doesn't exist
14710 * minibuffer.C: don't add empty lines to the history
14712 * minibuffer.C: add a space on dropdown completion
14714 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
14716 * text.C: fix line above/below drawing in insets
14718 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14720 * lyxlength.C (LyXLength): Initialize private variables.
14722 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
14724 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14725 when inserting error insets.
14727 2001-12-13 Juergen Vigna <jug@sad.it>
14729 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14730 actually sometimes the before-paragraph.
14731 (setUndo): don't clear the redostack if we're not actually undoing!
14733 2001-12-06 Juergen Vigna <jug@sad.it>
14735 * undo_funcs.C (textHandleUndo): well after John's hint I got here
14736 and fixed redoing of main paragraph, so we can use it now ;)
14738 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14740 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14742 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14745 2001-12-13 André Pönitz <poenitz@gmx.net>
14748 * undo_func.C: minor cleanup
14750 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14752 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14753 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14754 font in urw-fonts package which is marked as -urw-fontspecific and
14755 does not work (incidentally, changing the encoding in the
14756 fonts.dir of this package to -adobe-fontspecific fixes the
14759 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14760 is a crash when undoing first paragraph (Juergen, please take a
14761 look). THis does not mean the undo fix is wrong, just that it
14764 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14765 the (Paragraph*) version when needed instead of duplicating the
14768 * text.C (workWidth): use Inset::parOwner to find out where the
14769 inset has been inserted. This is a huge performance gain for large
14770 documents with lots of insets. If Inset::parOwner is not set, fall
14771 back on the brute force method
14773 * paragraph_pimpl.C (insertInset):
14774 * paragraph.C (Paragraph):
14775 (cutIntoMinibuffer): set parOwner of insets when
14776 inserting/removing them
14778 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14780 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
14786 * mathed/formulabase.C:
14787 * mathed/math_cursor.[Ch]:
14788 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14791 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14793 * lyxlength.[Ch] (operator!=): new function
14795 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14797 * text.C (workWidth): use Inset::parOwner to find out where the
14798 inset has been inserted. This is a huge performance gain for large
14799 documents with lots of insets. If Inset::parOwner is not set, fall
14800 back on the brute force method
14802 * paragraph_pimpl.C (insertInset):
14803 * paragraph.C (Paragraph):
14804 (cutIntoMinibuffer): set parOwner of insets when
14805 inserting/removing them
14807 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14809 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14811 * tabular-old.C (getTokenValue):
14812 * tabular.C (getTokenValue):
14813 (write_attribute): new versions for LyXLength
14814 (everywhere): adjust the use of widths
14816 * tabular.h: change the type of widths from string to LyXLength
14818 2001-12-11 Ben Stanley <bds02@uow.edu.au>
14820 * paragraph.C: fixed missing line number count when exporting
14821 Environments to LaTeX file
14823 * buffer.C: added informational message for checking line numbers.
14825 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14827 * text2.C (deleteEmptyParagraphMechanism): if there is only one
14828 paragraph, do the 'double space' part, but not the 'empty
14831 * text.C (workWidth): small optimization
14832 (getLengthMarkerHeight): use minimal size for negative lengths.
14834 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
14836 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14838 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14840 2001-12-11 André Pönitz <poenitz@gmx.net>
14843 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14845 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14847 * text2.C: keep selection on a setFont()
14849 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14851 * lyx_cb.C: another bv->text misuse, from insert label
14853 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14856 * kbsequence.C: re-instate nmodifier mask
14858 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
14860 * lyx_main.h: make lyxGUI private.
14862 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14864 * lyxfind.C: place the cursor correctly on failed search
14866 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14868 * text.C (getLengthMarkerHeight): for small heights, the arrows
14869 are not always on top/bottom of the text
14870 (drawLengthMarker): smaller arrows; take the left margin in
14871 account; draw also vfills.
14873 (paintLastRow): remove special code for vfill and standard spaces,
14874 since everything is handled in drawLengthMarker now.
14876 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14878 * buffer.C (insertErtContents): try to handle font and language
14879 interaction a bit better.g
14881 * ColorHandler.C (updateColor): change the hash to cover the whole
14882 LColor enum, ws cleanup
14883 (getGCLinepars): ditto
14884 (getGCLinepars): only lookup in the linecache once.
14886 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
14888 * iterators.C (operator++): Make the iterator more robust
14890 * BufferView2.C (removeAutoInsets): Use paragraph iterators
14892 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14894 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14897 * text.C: better added space drawing
14899 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14902 * BufferView2.C: fix layout combo update on inset unlock
14904 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14906 * Makefile.am: don't compile unused files
14908 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14912 * LyXAction.C: remove old LFUN_LAYOUTNO
14914 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14916 * paragraph_pimpl.h:
14917 * paragraph_pimpl.C: isTextAt() doesn't need font param
14919 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14922 * lyxlex.C: little cleanup
14924 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14926 * BufferView_pimpl.C: fix insertAscii for insets
14928 2001-12-05 Juergen Vigna <jug@sad.it>
14930 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14931 set the right font on the "multi" paragraph paste!
14933 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14939 * lyxlength.C: remove out-commented code.
14941 * BufferView_pimpl:
14955 * vc-backend.C: change "while(" to "while ("
14957 * lyxlength.[Ch]: add zero function to check if length is zero or
14959 * lyxgluelength.C: use it
14961 2001-12-05 Allan Rae <rae@lyx.org>
14963 * lyxlength.C: Attempted a fix for the abs(int) header selection.
14964 Works for 2.95.3, from what I understand of Garst's reports this should
14965 work for other g++ versions. We're screwed if the abs(int) definition
14966 changed between bugfix releases of gcc.
14968 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14970 * text.C: fix chapter label offset !
14972 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14975 * text.C: fix hfill at end of line, clean up
14977 2001-12-04 Juergen Vigna <jug@sad.it>
14979 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14980 that we force an update of the inset and it's owners if neccessary.
14982 2001-12-03 Juergen Vigna <jug@sad.it>
14984 * text.C (rowLast): simplified code
14986 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14988 * lyxfunc.C: fix show options on timeout
14990 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14992 * screen.C (topCursorVisible): scroll half a page when the cursor
14993 reached top of bottom of screen
14995 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
14997 * minibuffer.C: deactivate on loss of focus
14999 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
15001 * vspace.[Ch] (operator!=): add operator.
15003 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
15005 * BufferView_pimpl.C: refuse to open an inset when
15006 there's a selection.
15008 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
15010 * BufferView_pimpl.C: allow to click on RHS of full row insets
15012 2001-11-30 Juergen Vigna <jug@sad.it>
15014 * tabular.C (LyXTabular): add a same_id to set the same id's in the
15015 insets for undo reasons.
15017 2001-11-28 André Pönitz <poenitz@gmx.net>
15019 * vspace.[Ch]: cosmetical changes
15021 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
15031 * kbsequence.C: part re-write of old kb code
15034 * WorkArea.C: remove Lgb_bug_find_hack
15036 2001-11-30 José Matos <jamatos@fep.up.pt>
15038 * buffer.C (makeDocBookFile): add a comment to point a hack.
15039 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
15040 Fixed a double write of labels.
15042 2001-11-29 Ben Stanley <bds02@uow.edu.au>
15045 * LaTeX.h Fixed bug in LaTeX class where it would not
15046 re-run latex if no depfiles were changed, but the .dvi was removed.
15048 2001-11-28 André Pönitz <poenitz@gmx.net>
15050 * all the files from the change on 2001/11/26:
15051 use lyx::layout_type instead of LyXTextClass::size_type
15052 use lyx::textclass_type instead of LyXTextClassList::size_type
15054 2001-11-29 Juergen Vigna <jug@sad.it>
15056 * text.C: added support for paragraph::isFreeSpacing()
15058 * buffer.C: same as above
15060 * paragraph.h: inserted isFreeSpacing() function to enable
15061 FreeSpacing inside InsetERT.
15063 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
15064 of the paragraph's in the cut/copy buffer to 0!
15066 * text2.C (removeRow): remove the assert as it can!
15068 * lyxtext.h: added helper function firstRow returning firstrow and
15069 made firstrow private again.
15071 * BufferView2.C (lockInset): don't relock if we're already locked!
15073 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
15074 the only paragraph.
15075 (removeRow): added Assert::(firstrow)
15077 * debug.C: forgot to add INSETTEXT here.
15079 2001-11-28 Juergen Vigna <jug@sad.it>
15081 * sp_spell.C (initialize): changed error text to more general
15082 spellchecker command use (not only ispell!)
15084 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
15086 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
15088 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
15090 * vspace.C: initialise lyxgluelength on failure
15092 2001-11-28 Allan Rae <rae@lyx.org>
15094 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
15095 declaration & definition that looks like a function declaration.
15097 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15099 * BufferView2.C (copy):
15100 (copyEnvironment): do not clear the selection when doing a copy.
15102 * text.C (paintFirstRow): compilation fix
15104 2001-11-27 Ben Stanley <bds02@uow.edu.au>
15106 * tabular.C (Latex): correct line count when writing latex.
15108 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
15110 * paragraph_pimpl.h:
15111 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
15114 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
15118 * LColor.C: change vfillline->added_space
15120 * text.C: add markers and text for added space
15122 * vspace.C: fix comment
15124 2001-11-28 André Pönitz <poenitz@gmx.net>
15126 * paragraph.C: whitespace changes
15127 * all the other files from the change on 2001/11/26:
15128 change *::pos_type into lyx::pos_type
15130 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
15132 * buffer.C (parseSingleLyXformat2Token): Set the language to the
15133 language of the document when inserting error insets.
15135 2001-11-26 André Pönitz <poenitz@gmx.net>
15137 * BufferView_pimpl.[Ch]:
15145 * paragraph_pimpl.[Ch]:
15148 * text2.C: reduce header dependencies, introduce type for positions
15150 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
15152 * <various>: change to use Alert.h
15154 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
15156 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
15157 when encountering an unknown token.
15158 (readLyXformat2): Show an error message if there were unknown tokens.
15160 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
15163 * BufferView_pimpl.C:
15167 * text2.C: use par->isInset()
15169 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
15171 * paragraph_pimpl.h:
15172 * paragraph_pimpl.C: cleanup
15174 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15176 * text2.C (removeRow):
15177 * text.C (setHeightOfRow): remove useless (and costly) call to
15180 2001-11-20 Allan Rae <rae@lyx.org>
15182 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
15183 Now need Inset*::checkInsertChar() to return true for appropriate
15184 cases so that the characters in the minibuffer will actually be
15187 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
15189 * text.C: change the order of the includes.
15190 (workWidth): initialize it at once.
15191 (workWidth): make maxw unsigned
15192 (setHeightOfRow): remove unused variable (inset)
15193 (selectSelectedWord): remove unused variable (inset)
15194 (paintRowText): fix drawing of hfill characters, and clean up a bit.
15196 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15198 * lyxserver.C (emergencyCleanup): do not try to close pipes if
15199 server is not running.
15201 (closeConnection): add debug info when server is disabled.
15203 * ColorHandler.C (getGCForeground): send debug message to GUI
15206 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
15208 * kbmap.C (bind): modify because return conventions of
15209 kb_sequence::parse have changed.
15211 * kbsequence.C (parse): only ignore spaces and not any stupid
15212 control character. This avoids tests like s[i] <= ' ', which are
15213 guaranteed to fail with 8bit characters and signed chars.
15214 Change return code to string::npos when there have been no error
15215 (0 was a bad idea when error is at first character)
15217 2001-11-14 José Matos <jamatos@fep.up.pt>
15220 * buffer.C (simpleDocBookOnePar): removed unused argument.
15222 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15224 * text.C (selectNextWordToSpellcheck): do not test explicitely for
15225 insets which are part of a word. Paragraph::isLetter takes care of
15226 that now. Use Paragraph::isInset to identify insets.
15227 (selectSelectedWord): do not test for hyphenation break.
15229 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
15230 that protected spaces are considered as spaces.
15232 * paragraph.C (isLetter): cleanup the code for ispell extras; use
15235 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
15238 * lyxserver.C: fix it. and small cleanup.
15240 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
15242 * BufferView_pimpl.C: use inline helpers
15245 * LaTeXFeatures.C: fix typos
15248 * Spacing.C: move spacing_string into class
15250 * ToolbarDefaults.C: move stuff into namespace anon
15252 * layout.h: update enum
15254 * lyxfunc.C: use better debug
15256 * minibuffer.h: fix typo
15260 * WorkArea.C: add and use Debug::WORKAREA
15264 * text2.C: code re-organisation, inline helpers
15266 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
15268 * Layout.C: replaced a few cases of std::vector.size() == 0 with
15269 std::vector.empty().
15271 2001-11-09 Allan Rae <rae@lyx.org>
15273 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
15274 '\n's after tables. Tabular and ERT inset work now makes this no
15277 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
15280 * minibuffer.C: fix crash, improve drop-down completion
15282 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
15285 * lyxserver.C: invalidate fd's when doing endPipe()
15287 2001-11-08 José Matos <jamatos@fep.up.pt>
15289 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
15290 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
15293 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
15295 2001-11-07 José Matos <jamatos@fep.up.pt>
15298 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
15301 * buffer.C (sgmlOpenTag):
15302 * buffer.C (sgmlCloseTag): removed debug info.
15304 * buffer.h (sgmlOpenTag):
15305 * buffer.h (sgmlCloseTag): made public.
15307 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15309 * buffer.C (saveParamsAsDefaults):
15310 * lyx_cb.C (MenuLayoutSave): remove
15312 * LyXAction.C (init):
15314 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
15316 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15318 * buffer.C (setPaperStuff): removed from here...
15320 * bufferparams.C (setPaperStuff): ... and moved there.
15322 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
15326 * XFormsView.C: add support for drop-down completion
15328 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
15330 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
15333 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15335 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
15338 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
15340 * lyx_main.C: change ref to known bugs
15342 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
15344 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
15345 to work around older babel problems.
15347 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
15349 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
15351 2001-10-24 Juergen Vigna <jug@sad.it>
15353 * tabular-old.C (ReadOld): below variable changes reflected.
15355 * tabular.[Ch]: added ltType struct for longtable header/footer
15356 defines and changed all instances where they are used. Added
15357 future support for double top/bottom rows.
15359 2001-10-24 José Matos <jamatos@fep.up.pt>
15361 * buffer.h (docbookHandleCaption):
15362 * buffer.C (docbookHandleCaption): removed unused function.
15363 (makeDocBookFile): moved docbook supported version to v4.1.
15365 2001-10-24 José Matos <jamatos@fep.up.pt>
15368 * tabular.C (docbookRow): new function to export docbook code of a row.
15369 (DocBook): now honors the longtable flags.
15371 2001-10-23 José Matos <jamatos@fep.up.pt>
15374 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
15375 of the lyx defined sgml entities used in a docbook/linuxdoc document.
15377 * buffer.C (makeLinuxDocFile):
15378 (makeDocBookFile): reworked the preamble, more clean, and with
15379 support for lyx defined entities. Changed the document declaration
15380 to be more XML friendly.
15382 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
15383 if we need to output XML that should be done with a filter.
15385 2001-10-22 Juergen Vigna <jug@sad.it>
15387 * sp_pspell.h (class PSpell): add alive function needed in the
15388 controller to see if the spellchecker could be started.
15390 2001-10-22 Juergen Vigna <jug@sad.it>
15392 * buffer.C (insertStringAsLines): modify the font for inserting
15393 chars in certain conditions by calling checkInsertChar(font).
15395 2001-10-19 Juergen Vigna <jug@sad.it>
15397 * text.C (workWidth): use getRow instead of wrong algorithm.
15398 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
15400 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
15405 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
15407 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15409 * text.C (workWidth): do not search for the exact row when
15410 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
15411 optimization for big documents.
15413 2001-10-18 Juergen Vigna <jug@sad.it>
15415 * text.C (workWidth): new function with added Inset * parameter.
15417 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15419 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
15421 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
15422 change return type of getColumnNearX.
15425 * text.C (changeRegionCase): use uppercase/lowercase instead of
15428 (rightMargin): simplify code by factoring out the uses of
15433 (appendParagraph): use Paragraph::size_type
15435 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15437 * vspace.C (asLatexString): add a missing break
15439 2001-10-15 Herbert Voss <voss@perce.de>
15441 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
15443 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15445 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
15448 2001-10-10 André Pönitz <poenitz@gmx.net>
15450 * lyxfunc.C: removed greek_kb_flag.
15452 2001-10-10 Herbert Voss <voss@perce.de>
15454 * lyx_main.C: delete global string help_lyxdir.
15456 2001-10-09 Herbert Voss <voss@perce.de>
15458 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
15460 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
15462 * lyx_main.C: added global string help_lyxdir.
15464 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
15466 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
15468 * lyxrc.C (set_font_norm_type): support iso8859-4
15470 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
15472 * LaTeX.C (deplog): add another regex for MikTeX
15474 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
15476 * lyxrc.C (set_font_norm_type): support iso8859-3
15478 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15480 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
15482 * LaTeXFeatures.C: remove special case of french and index
15484 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
15485 before \begin{document}). This solves several incompatibilities.
15487 2001-10-03 Garst Reese <reese@isn.net>
15489 * lyx_cb.C: change CheckTex error msg.
15491 2001-10-03 José Matos <jamatos@fep.up.pt>
15493 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
15495 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15497 * .cvsignore: update
15499 * lyx_main.C (commandLineVersionInfo): use new style version info.
15501 * buffer.C (writeFile):
15503 (makeLinuxDocFile):
15504 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
15506 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
15508 * version.h: update to use stuff in version.C
15510 * version.C.in: new file. Contains version information determined
15511 at compile time. This is a merging of version.h and
15514 2001-10-03 Juergen Vigna <jug@sad.it>
15516 * BufferView_pimpl.C (update): don't change "dirty" status in
15519 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
15521 * WorkArea.C (c-tor): re-position version string slightly.
15523 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
15525 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15526 revert to previous code.
15528 WorkArea.[Ch]: (show, destroySplash): methods removed.
15530 WorkArea.C: rework code so that it's an amalgam of the codes before and
15531 after the splash screen was moved to WorkArea.
15533 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15536 * vspace.C (inPixels):
15539 * buffer.C (insertStringAsLines):
15540 (asciiParagraph): fix types to be large enough
15542 * lyxlex_pimpl.h: change member status from short to int
15544 * layout.h: fix type of endlabeltype
15547 * kbsequence.C (parse): change return type to string::size_type
15549 * LaTeX.C (updateBibtexDependencies): comment out unneeded
15552 * Bullet.C (bulletSize):
15553 (bulletEntry): do not use short ints as parameters
15555 * BufferView2.C (insertLyXFile): change a char to an int.
15557 * WorkArea.C (WorkArea): remove unneeded floats in computation
15559 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
15561 * buffer.C (asciiParagraph): Treat '\\' as other chars.
15563 * paragraph.C (asString): Do not ignore newline/hfill chars when
15564 copying to the clipboard.
15566 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
15568 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15569 after a multi-line inset.
15571 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
15573 * paragraph.C (validate): Set NeedLyXFootnoteCode
15575 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
15577 * lyxfont.C (LyXSizeNames): changed increase-error to increase
15578 and decrease-error to decrease.
15580 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15582 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15583 it more readable (should be equivalent)
15585 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
15587 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15589 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15591 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15592 of a cursor (row, etc.) after a character has been deleted
15593 (deleteEmptyParagraphMechanism): call the method above on _all_
15594 cursors held by the LyXText when a double space has been
15597 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
15599 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15601 (resizeCurrentBuff): remove code to destroy the old splash dialog.
15603 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15604 background. Use greyOut() and the new show() methods to toggle between
15605 the foreground and background. Add code to remove the splash after
15606 its initial showing.
15608 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15609 (create_forms): no longer call Dialogs::showSplash.
15611 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15613 * .cvsignore: add version_info.h
15615 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15617 * version_info.h.in: new file
15619 * Makefile.am: add version_info.h.in
15621 * lyx_main.C (commandLineVersionInfo): use version_info defined in
15622 version_info.h instead of VERSION_INFO
15624 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
15626 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15627 The ERT inset now returns string().
15629 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
15631 * lyxtext.h, text.C (selectNextWord): renamed as
15632 selectNextWordToSpellcheck.
15634 * text.C (selectNextWordToSpellcheck): Modified to not select
15635 words inside an ERT inset.
15637 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15639 * lyx_cb.C (MenuLayoutSave): change a bit the question
15641 * sp_base.h: include <sys/types.h>
15643 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
15645 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15647 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
15649 * several files: fix typos in user-visible strings
15651 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15653 * text2.C (pasteSelection): do not set the selection, since it
15654 will be cleared later. Actually, the intent was to fix the way the
15655 selection was set, but I figured rmoving the code was just as good.
15657 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
15659 * FontLoader.C (available): Check if font is available without
15662 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
15664 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15666 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
15668 * lyxrc.[Ch]: added display_graphics variable and associated code.
15670 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15672 * bufferparams.C (hasClassDefaults): new method. Returns true if
15673 the buffer parameters correspond to known class defaults
15675 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
15677 * XFormsView.C (show): set minimum size to the main window.
15679 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15681 * text2.C (copySelection):
15683 * lyxfind.C (LyXReplace):
15684 * BufferView_pimpl.C (Dispatch): pass the correct flag to
15685 LyXText::selectionAsString.
15687 * paragraph.C (asString): add "label" argument to the second form
15689 * text2.C (selectionAsString): add "label" argument and pass it to
15690 Paragraph::asString.
15692 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15694 * lyx_main.C (commandLineHelp): remove version information
15696 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
15698 * lyx_main.C: add -version commandline option
15700 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15702 * paragraph.h: make the optional constructor arg required instead.
15703 some modifications to other files because of this.
15705 * minibuffer.C (C_MiniBuffer_peek_event): make it static
15707 * lyxserver.C (C_LyXComm_callback): make it static
15709 * lyx_main.C (error_handler): make it static
15711 * lyx_gui.C (LyX_XErrHandler): make it static
15713 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15715 * WorkArea.C: make the extern "C" methods static.
15717 * Makefile.am (lyx_LDADD): simplify
15719 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15721 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15722 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15724 * LyXAction.C (init):
15725 * lyxfunc.C (dispatch): associated code removal.
15727 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15729 * lyxfont.h (isSymbolFont): shut off warning
15731 * text.C (setHeightOfRow):
15732 (getVisibleRow): fix crash with empty paragraphs which have a
15735 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
15737 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15740 2001-09-04 José Matos <jamatos@fep.up.pt>
15743 * tabular.C (docbook): rename docBook method to docbook.
15745 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15747 * Makefile.am: add dependencies to main.o.
15749 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
15751 * FontLoader.C (available): Return false if !lyxrc.use_gui
15753 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
15755 * FontInfo.C (query):
15756 * converter.C (view):
15757 * importer.C (Import):
15758 * exporter.C (Export): Can not -> cannot.
15760 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
15762 * BufferView_pimpl.C: allow to create index inset even if
15765 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15767 * buffer.C (getLists): replace boost::tie code with an explicit pair
15768 as boost::tie can break some compilers.
15770 * iterators.h: Added a std:: declaration to the return type of
15773 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
15775 * lyxrc.C: add help for view_dvi_paper_option, default to safe
15778 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
15780 * iterators.[Ch]: New files. Provide paragraph iterators.
15782 * buffer.C (changeLanguage): Use paragraph iterators.
15783 (isMultiLingual): ditto
15785 * BufferView2.C (ChangeInsets): Use paragraph iterators.
15787 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
15789 * FontLoader.C: Support for cmr font.
15791 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
15793 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15794 (available): New method.
15796 * FontInfo.C (getFontname): Use scalable fonts even when
15797 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15800 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15802 * converter.C (Formats::view): reverted! Incorrect fix.
15804 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15806 * converter.C (Formats::view): only output the -paper option
15807 if the dvi viewer is xdvi, thereby fixing bug #233429.
15809 2001-08-23 Herbert Voss <voss@perce>
15811 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15813 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
15815 * Spacing.h (Spacing): Set space to Default on in the default
15818 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
15820 * vc-backend.h (RCS::versionString): add RCS to version
15821 (CVS::versionString): add CVS to version
15823 * vc-backend.C (scanMaster): do not add CVS to version.
15824 (scanMaster): do not add RCS to version
15826 * lyxvc.C (versionString): new method
15828 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15830 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15832 * Spacing.C (set): initialize fval
15834 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
15836 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15839 2001-08-16 Juergen Vigna <jug@sad.it>
15841 * lyxfunc.C (dispatch): implemented the new FINISHED states.
15843 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15845 * BufferView_pimpl.C:
15848 * text2.C: setParagraph takes linespacing now
15850 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
15852 * LyxAction.C: add internal LFUN_CITATION_INSERT
15854 * LyXView.C: actually apply fix
15856 * bufferlist.C: fix open non-existent file
15858 * lyxfind.C: fix indentation
15860 * lyxfunc.C: remove unneeded assert, fix typo
15862 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15864 * MenuBackend.C: use "Floatname List"
15866 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
15868 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15869 when converting LaTeX layout to insetERT.
15870 Generate a non-collapsed float when reading old float
15872 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15874 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15877 2001-08-13 Juergen Vigna <jug@sad.it>
15879 * text.C (fill): return 0 instead of 20 as this seems to be the more
15882 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15884 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15887 2001-08-13 Juergen Vigna <jug@sad.it>
15889 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15891 (SearchBackward): comment out the unlocking of the inset_owner this
15892 should not be needed!
15894 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
15896 * Many files: Remove inherit_language, and add latex_language
15898 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15899 collapsible insets.
15901 2001-08-10 Juergen Vigna <jug@sad.it>
15903 * text.C (prepareToPrint): fixed hfill-width in draw!
15905 * BufferView2.C (selectLastWord): save the selection cursor as this
15906 now is cleared in the function LyXText::clearSelection!
15908 2001-08-08 Juergen Vigna <jug@sad.it>
15910 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15911 BACKSPACE type functions.
15913 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15914 is only cutted from the document but not put in the cut-buffer, where
15915 still the old stuff should be.
15917 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15919 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15921 * tabular.C (SetWidthOfCell): fixed special case where the width
15923 (LeftLine): handle '|' in align_special.
15925 (LeftAlreadyDrawed): ditto
15926 (SetWidthOfCell): ditto
15928 2001-08-07 Juergen Vigna <jug@sad.it>
15930 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15932 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15934 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15935 * lyxlex.[hC]: ditto
15937 2001-08-06 Juergen Vigna <jug@sad.it>
15939 * text.C (getVisibleRow): fix up row clearing a bit.
15941 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15943 * minibuffer.C: make sure the X server sees the changes in the input.
15945 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15947 * paragraph.C (getFont): split into...
15948 (getLabelFont): this
15949 (getLayoutFont): and this
15950 * paragraph_pimpl.C (realizeFont): calling this
15952 * text2.C (getFont): split into...
15953 (getLayoutFont): this
15954 (getLabelFont): and this
15955 (realizeFont): all three calling this
15957 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15960 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15962 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15964 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
15966 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15967 layouts from the Quote inset insertion.
15969 2001-08-03 Juergen Vigna <jug@sad.it>
15971 * BufferView_pimpl.C (update): do the fitCursor only at the end!
15973 * screen.C (drawFromTo): don't call fitcursor here and do the loop
15974 only if status not is already CHANGED_IN_DRAW (second level).
15976 * text.C (draw): don't set the need_break_row when inside an
15979 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
15981 * buffer.C (parseSingleLyXformat2Token): handle more latex
15984 * bufferview_funcs.[hC]: change function names to
15985 begin with small char, adjust other files.
15987 2001-08-02 André Pönitz <poenitz@gmx.net>
15990 BufferView_pimpl.C: remove broken special code for math-greek
15992 2001-08-02 Juergen Vigna <jug@sad.it>
15994 * BufferView_pimpl.C (update): redone this function so that we
15995 update the text again if there was a CHANGE_IN_DRAW.
15997 * screen.C (cursorToggle): removed LyXText parameter and recoded.
15998 (drawFromTo): added a new internal bool which is used by draw() and
16000 (general): some cursor drawing problems fixed.
16002 2001-08-01 Juergen Vigna <jug@sad.it>
16004 * lyxfind.C (LyXFind): fixed
16005 (SearchForward): ditto
16006 (SearchBackward): ditto
16008 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
16009 spurius drawing of the cursor in the main area.
16011 * text2.C (status): small fix which could lead to a segfault!
16012 (clearSelection): remove unneeded BufferView param.
16014 2001-08-01 André Pönitz <poenitz@gmx.net>
16016 * lyxfunc.C: small change due to changed mathed interface
16018 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16020 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
16022 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
16024 * lyxfunc.c: fail gracefully if file doesn't exist
16029 * BufferView_pimpl.C: IsDirWriteable() proto changed
16031 * LyXView.C: fix updateWindowTitle() to store the last title
16033 2001-07-31 Juergen Vigna <jug@sad.it>
16035 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
16036 the font (wrong since using of Paragraph::highestFontInRange).
16038 * paragraph.C (highestFontInRange): added a default_size parameter.
16040 * text.C (getVisibleRow): minor clear row changes (still not perfect).
16041 (setHeightOfRow): reformat
16043 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
16045 * converter.[hC] + affected files: move to (inital-char)lowercase
16048 * ParagraphParameters.C (ParagraphParameters): remove commented code
16050 * PainterBase.[Ch]: remove commented code
16052 * LaTeXFeatures.h: add "bool floats" for float.sty
16054 * LaTeXFeatures.C (LaTeXFeatures): init floats
16055 (require): handle float
16056 (getPackages): do it with floats
16058 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16060 * BufferView_pimpl.C (Dispatch): improve handling of
16061 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
16063 * commandtags.h: #include lyxfont.h here temporarily to avoid
16066 * bufferlist.h: include LString.h here.
16068 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16070 * text2.C (getStringToIndex): new method.
16072 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
16074 * *: Reduced header file dependencies all over.
16076 2001-07-30 Baruch Even <baruch@lyx.org>
16078 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
16080 2001-07-29 Baruch Even <baruch@lyx.org>
16082 * buffer.C (readInset): Changed GRAPHICS to Graphics.
16084 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16086 * ParameterStruct.h (endif): add a default constructor to make
16087 sure that all variables is initialized.
16089 * ParagraphParameters.C (ParagraphParameters): adjust
16091 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16093 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
16094 index; also, check that there is something to index, and that it
16095 does not span over several paragraphs.
16096 (doubleClick): use WHOLE_WORD_STRICT for double click.
16098 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
16100 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
16103 2001-07-26 Baruch Even <baruch@lyx.org>
16105 * buffer.C (readInset): Changed to call up InsetGraphics when reading
16106 an InsetFig figure, backwards compatible reading of old figure code.
16108 2001-07-27 Juergen Vigna <jug@sad.it>
16110 * text2.C: font.realize function adaption.
16112 * text.C (draw): add a warnings lyxerr text if needed.
16114 * layout.C: font.realize function adaption.
16116 * language.C: add inherit_language and implement it's handlings
16118 * bufferview_funcs.C (StyleReset): remove language parameter from
16119 font creation (should be language_inherit now).
16121 * bufferparams.C (writeFile): handle ignore_language.
16123 * paragraph.C (getFontSettings): the language has to be resolved
16124 otherwise we have problems in LyXFont!
16126 * lyxfont.C (lyxWriteChanges): added document_language parameter
16127 (update): removed unneeded language parameter
16129 * paragraph.C (validate): fixed wrong output of color-package when
16130 using interface colors for certain fonts in certain environments,
16131 which should not seen as that on the final output.
16133 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
16135 * BufferView_pimpl.C:
16140 * LyXAction.C: add thesaurus support
16143 * lyxfind.C: add "once" parameter, for thesaurus, to not
16144 move to the next match
16146 2001-07-26 Juergen Vigna <jug@sad.it>
16148 * lyxfont.C (realize): honor ignore_language too!
16151 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
16153 * text.C (draw): one place more for ignore_language to not draw
16156 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
16158 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
16160 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16162 * buffer.C (parseSingleLyXformat2Token): a more general fix for
16163 the minipage conversion problem.
16165 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16167 * buffer.C (parseSingleLyXformat2Token): check minipage if we
16170 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16172 * BufferView.h: don't forward declare WorkArea
16174 * BufferView.C: don't include WorkArea.h
16176 2001-07-25 André Pönitz <poenitz@gmx.net>
16180 * lyxfunc.C: new LFUN 'math-space'
16182 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
16184 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16186 * text2.C (toggleInset): call open/close
16188 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16190 * lyxfunc.C (dispatch): add debug for the disabled case
16192 * font.C (buttonText): make similar to rectText
16194 * buffer.C (readInset): comment out parsing of insetlist and
16197 * PainterBase.C (rectText): small correction
16199 * BufferView_pimpl.C: comment out insettheorem and insetlist
16200 * LyXAction.C: ditto
16201 * commandtags.h: ditto
16203 2001-07-24 Juergen Vigna <jug@sad.it>
16205 * text.C (draw): honor the ignore_language.
16207 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
16209 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16211 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
16214 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16216 * lyxtext.h: remove unused (and unimplemented) methods
16218 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16220 * text.C (getVisibleRow): honor background color
16223 * Painter.h: remove default color argument for fillRectangle
16225 * text.C (backgroundColor): new method
16227 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16229 * text.C (getVisibleRow): adjust
16231 * font.[Ch] (rectText): new method, metrics
16232 (buttonText): new method, metrics
16234 * PainterBase.[hC]: make rectText and buttonText always draw and take
16237 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16239 * ToolbarDefaults.C (read):
16240 * MenuBackend.C (read): allow escaping in all strings
16242 * BufferView_pimpl.C (insertAndEditInset): new method.
16243 (Dispatch): use insertAndEditInset whenever appropriate.
16245 * BufferView_pimpl.C (insertNote): removed
16247 * BufferView_pimpl.C (smartQuote): new method, moved from
16248 BufferView; if an insetquote cannot be inserted, insert a '"'
16251 * BufferView2.C: remove insertCorrectQuote();
16253 * lyxfunc.C (getStatus): Add support for all remaingin
16254 inset-insert lfuns.
16256 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
16258 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
16259 command (necessary to pass " as parameter of self-insert.
16261 * text.C (selectWordWhenUnderCursor):
16262 (selectWord): add word_location parameter
16263 (selectWordWhenUnderCursor): same + remove special code for word
16265 (selectNextWord): use kind() to guess type of insetspecialchar,
16268 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
16269 (insertErtContents): create ert insets as collapsed.
16270 (readInset): better compatibility code for Info inset.
16272 2001-07-20 Juergen Vigna <jug@sad.it>
16274 * lyxfunc.C (dispatch): use always LyXFind now!
16276 * text2.C (init): add a reinit flag so that the LyXText can be
16277 reinited instead of deleted and reallocated (used in InsetText).
16279 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
16285 2001-07-18 Juergen Vigna <jug@sad.it>
16287 * text.C (selectNextWord): handle insets inside inset by calling
16288 always the bv->text functions so that we can go up the_locking_inset!
16290 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
16291 in strange locations when inside an inset!
16293 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
16294 handling to include insets.
16296 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
16298 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16300 * LyXAction.C (init):
16302 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
16303 LIGATURE_BREAK, since the name is so stupid.
16305 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
16307 * buffer.C (readInset): enable reading of new InsetNotes as well as old
16310 * FontLoader.C: remove FORMS_H_LOCATION cruft.
16312 * sp_form.[Ch]: remove.
16314 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
16316 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
16319 * src/buffer.C (readInset): ditto.
16321 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16323 * BufferView_pimpl.C (specialChar): new method. Obsoletes
16324 menuSeparator(), endOfSentenceDot(), ldots() and
16325 hyphenationPoint(), which are therefore removed.
16326 (Dispatch): handle LFUN_HYPHENATION_BREAK.
16328 * LyXAction.C (init):
16329 * commandtags.h: add LFUN_HYPHENATION_BREAK.
16331 * paragraph.C (getWord): removed.
16333 * BufferView_pimpl.C (Dispatch): use last word or selection for
16334 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
16336 * lyx_main.C (queryUserLyXDir): do not ask before creating
16337 user_dir, except if it has been named explicitely.
16339 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
16341 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
16342 a document of zero size.
16344 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
16346 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
16347 approriately in the c-tor and in require().
16348 (getPackages): output the appropriate LaTeX for natbib support.
16350 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
16351 variables "use_natbib" and "use_numerical_citations" when reading the
16353 (readInset): read the various natbib cite commands.
16354 (validate): white-space change.
16356 * bufferparams.[Ch]: new variables "bool use_natbib" and
16357 "bool use_numerical_citations".
16358 (writeFile): output them in the LyX file.
16360 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16362 * lyxfunc.C (getStatus): add support for all the inset insertion
16365 * text2.C (insertInset):
16366 * paragraph.C (insetAllowed):
16367 * BufferView_pimpl.C (insertInset): update to take in account the
16368 renaming of insertInsetAllowed
16370 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
16372 * text2.C (getInset): new method. returns inset at cursor position.
16374 * BufferView_pimpl.C (Dispatch): changes because of this.
16376 * LyXAction.C (init): rename open-stuff to inset-toggle.
16378 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
16380 * text2.C (toggleInset): renamed from openStuff; use
16383 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
16385 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
16387 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
16389 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
16391 * buffer.C (readLyXformat2): Add filename to the error dialog
16393 2001-07-18 Juergen Vigna <jug@sad.it>
16395 * tabular.C (GetCellNumber): put an assert here instead of the check!
16397 2001-07-17 Juergen Vigna <jug@sad.it>
16399 * BufferView_pimpl.C (toggleSelection): adapted too.
16401 * text.C (selectNextWord): adapted for use with insets.
16402 (selectSelectedWord): ditto
16404 2001-07-17 Juergen Vigna <jug@sad.it>
16406 * sp_spell.C (PSpell): fix initialitation order.
16408 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16410 * paragraph.C: spacing
16412 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
16414 * sp_spell.C: repair language selection for pspell
16416 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
16418 * lyxfunc.h: change more methods to begin with lower char.
16420 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
16422 * buffer.C (parseSingleLyXformat2Token): Generate error insets
16423 for unknown layouts.
16425 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
16427 * buffer.C (readLyXformat2): Generate an error dialog if there are
16430 2001-07-16 Juergen Vigna <jug@sad.it>
16432 * sp_spell.C: always compile ISpell part.
16434 * lyxrc.C: added use_pspell entry and it's handling.
16436 2001-07-13 Juergen Vigna <jug@sad.it>
16438 * sp_spell.C: removed double includes.
16440 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
16442 Consistent use of Lsstream.h:
16443 * Lsstream.h: added using std::stringstream for consistencies sake.
16445 * buffer.C: removed using std::stringstream
16447 * lyxfont.C (stateText):
16448 * paragraph.C (asString):
16449 * text.C (selectNextWord, selectSelectedWord):
16450 * text2.C (setCounter):
16451 * vspace.C (asString, asLatexString):
16452 std::ostringstream -> ostringstream.
16454 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
16456 * LyXAction.C: add LFUN_HELP_ABOUTLYX
16457 * commandtags.h: add LFUN_HELP_ABOUTLYX
16458 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
16460 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
16462 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
16464 * lyx_gui_misc.C: remove spellchecker
16465 * lyxfunc.C: showSpellchecker
16467 * sp_ispell.h: added
16468 * sp_pspell.h: added
16469 * sp_spell.C: added
16470 * sp_form.[Ch]: removed
16471 * spellchecker.[Ch]: removed
16473 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
16475 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
16477 (simpleTeXSpecialChars): Simply print the input character without
16478 any special translation if pass_thru is set.
16480 * layout.h: Added bool pass_thru to layout class for being able to
16481 implement pass through of a paragraph for Literate Programming.
16483 * layout.C: add LT_PASS_THRU to LayoutTags enum.
16484 * layout.C (LyXLayout): set pass_thru to flase in constructor.
16485 * layout.C (Read): add "passthru" to list of layout tags and add
16486 code to set the pass_thru boolean when it is read.
16488 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
16490 * trans_decl.h: remove allowed from KmodInfo
16492 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
16493 remove allowed code
16496 * paragraph_pimpl.C (erase): use boost::prior
16498 * Painter.C (text): use data() instead of c_str() when length is
16500 * WorkArea.C (putClipboard): ditto
16501 * font.h (width): ditto
16503 * BufferView2.C: use it-> instead of (*it). for iterators
16505 * paragraph_pimpl.C: ditto
16506 * paragraph.C: ditto
16507 * minibuffer.C: ditto
16508 * language.C: ditto
16510 * encoding.C: ditto
16511 * counters.C: ditto
16512 * converter.C: ditto
16514 * Variables.C: ditto
16515 * TextCache.C: ditto
16516 * MenuBackend.C: ditto
16517 * LyXAction.C: ditto
16519 * FloatList.C: ditto
16520 * DepTable.C: ditto
16521 * ColorHandler.C (LyXColorHandler): ditto
16523 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16525 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16527 * text2.C (openStuff): reintroduce this method (which had been
16528 nuked in NEW_INSETS frenzy).
16530 * lyxfunc.C (Dispatch): when an action has not been handled, use
16531 its name in the error message, not its number.
16533 * paragraph.C (inInset): change method name to begin with lowercase.
16536 * text2.C: updates because of this.
16538 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16540 * ToolbarDefaults.C (add): add spaces in error message
16542 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
16544 * buffer.C (readLyXformat2): initialize the ert comp. variables.
16545 (readLyXformat2): rename return_par to first_par, use lyxlex's
16546 pushToken and remove the manual push handling.
16547 (parseSingleLyXformat2Token): add another ert comp. variable:
16548 in_tabular, rename return_par to first_par. handle newlines better
16550 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16552 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16554 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
16556 * text2.C (getParFromID): removed
16558 * buffer.C (getParFromID): new method moved form lyxtext.
16559 * BufferView2.C (insertErrors): adjust
16560 (setCursorFromRow): adjust
16561 * BufferView_pimpl.C (restorePosition): adjust
16562 * lyxfunc.C (Dispatch): adjust
16563 * undo_funcs.C (textUndo): adjust
16565 (textHandleUndo): adjust
16566 (textHandleUndo): adjust
16568 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
16570 * buffer.C: up' the LYX_FORMAT
16572 * lyxfont.h: turn NO_LATEX on as default
16574 * buffer.C (insertErtContents): new methods of tex style compability.
16575 (parseSingleLyXformat2Token): use it several places.
16576 * tabular.C (OldFormatRead): and here
16578 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
16580 * text2.C: remove some commented code.
16583 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16584 * trans.C: changes because of the above.
16586 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
16588 * text2.C (setCounter): Fix counters bug with bibliography layout.
16590 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16592 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16593 own member functions
16594 (simpleTeXSpecialChars): ditto
16596 2001-07-06 Juergen Vigna <jug@sad.it>
16598 * a lot of files: changed the access to LyXText::status and the
16599 call of undo-functions.
16601 * undo.[Ch]: added a inset_id to the undo informations.
16603 * undo_funcs.[Ch]: added and moved here all undo functions.
16605 * lyxtext.h: give the status enum a weight, made status_ a private
16606 variable and made accessor functions for it, removed the whole bunch
16607 of undo-functions as they are now in their own file, make some
16608 functions publically available. Added function ownerParagraph with
16611 * paragraph.[Ch]: added "bool same_ids" to the constructor,
16612 made InInset() a const function, added getParFromID() function.
16614 * buffer.[Ch]: added const version for inset_iterator functions,
16615 added getInsetFromID() function.
16617 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16618 changed undo functions for new version.
16620 2001-07-05 Juergen Vigna <jug@sad.it>
16622 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16623 unknow mechanism does not call the proper constructor but only this
16624 one also if I request the other!?
16626 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16628 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16630 * text2.C (LyXText): use initialization lists.
16632 * lyxtext.h (Selection): initialize set_ and mark_
16633 (init): remove method
16635 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
16637 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16639 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16641 * screen.[Ch]: change method names to begin with lowercase
16643 * BufferView_pimpl.C (updateScrollbar): simplify further and
16644 hopefully make it a bit faster.
16646 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16648 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16649 calling directly xforms functions.
16651 * Painter.C (Painter):
16652 * lyx_cb.C (MenuWrite):
16653 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16656 * lyx_gui.C: remove bogus guiruntime extern declaration.
16658 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16660 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16662 (redoDrawingOfParagraph): ditto
16663 (redoParagraphs): ditto
16664 (cutSelection): don't create a object for CutAndPaste use the
16665 static method directly
16666 (pasteSelection): ditto
16668 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16671 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16673 * modifications to some other files because of this.
16675 * Makefile.am (lyx_SOURCES): add XFormsView
16677 * XFormsView.[Ch]: new files
16679 * LyXView.[Ch]: make LyXView a base class for the gui handling for
16680 the main window. Move the gui dependent stuff to XFormsView
16682 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16684 * tabular.C (GetCellInset): update cur_cell also in the row/col
16685 version of this function.
16687 * lyxfunc.C: no need to include figure_form.h here.
16693 * lyxvc.C: no need to include forms.h here.
16695 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16697 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16699 * lyxfunc.C (Dispatch):
16701 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16702 constructor argument.
16704 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16706 * paragraph.C (Paragraph): dont't clear, and just set layout.
16707 (makeSameLayout): use params's copy contructor.
16709 * ParagraphParameters.[Ch] (makeSame): delete method
16711 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
16713 * Variables.[Ch]: fix indentation, rename set to isSet
16715 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16717 * lyxfunc.C (Dispatch): fix typo
16719 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16721 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16724 * bufferlist.C: include assert.h for emergencyWrite().
16726 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16728 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16729 give up at last (bug #425202) !
16731 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
16737 * spellchecker.C: strip spellchecker options and bring up
16738 preferences tab instead
16740 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16742 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16743 the istringstream constructor
16745 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16747 * paragraph.C (getLayout): fix return value
16749 * paragraph.h: do not declare getLayout as inline.
16751 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16753 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16755 * lyxcursor.h (operator<): new func
16756 (operator>): new func
16757 (operator>=): new func
16758 (operator<=): new func
16760 * text.C (changeCase): use selection.start and selection.end
16761 (changeRegionCase): require from to be <= to. Require par to be a
16764 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16766 2001-06-27 Juergen Vigna <jug@sad.it>
16768 * text.C (cursorLeftOneWord): changed to return the cursor and added
16769 overlay with BufferView * parameter which calls this one.
16771 (selectWord): use new getWord function.
16772 (changeCase): renamed from changeWordCase as and extended to work
16773 also on selections.
16775 * lyxtext.h: added enum word_location
16777 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16778 changeCase as this operates now also on selections.
16780 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
16782 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16784 * many files: send debug output to Debug::INFO instead of
16787 * converter.C (View):
16789 (Move): send debug output to Debug::FILES instead of console.
16791 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
16793 * lyxfunc.C (getStatus): use func_status
16795 * func_status.h: new header, describing the results of
16796 LyXFunc::getStatus;
16798 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16801 2001-06-25 The LyX Project <jug@sad.it>
16803 * buffer.C (sgmlOpenTag):
16805 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
16807 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16809 * text2.C: remove some dead code
16811 * tabular.C (GetCellInset): store the last cell checked (gotten)
16813 * tabular.h: add the helper for the speedup
16815 * lyxtext.h: remove some dead code
16817 2001-06-26 The LyX Project <Asger>
16819 * paragraph.C: Change export to LaTeX of alignment to
16820 \begin{center} and family for better roundtrip work with reLyX.
16822 * Tune the math drawing a bit.
16824 2001-06-25 The LyX Project <Asger>
16826 * LColor.C (LColor): New color for math background. New color
16829 2001-06-25 The LyX Project <jug@sad.it>
16831 * lyxfunc.C (MenuNew): remove extra check for .lyx file
16833 * lyxfunc.C (Open):
16834 * bufferlist.C (newFile): do not restrict to files ending with
16837 * BufferView_pimpl.C (MenuInsertLyXFile):
16839 2001-06-24 The LyX Project <jug@sad.it>
16841 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16844 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16846 * lyxtext.h: rename most methods to begin with a small char.
16847 Lots of changes because of this.
16849 * paragraph.C (Paragraph): do not call fitToSize
16850 (erase): call Pimpl::erase
16851 (insertChar): call Pimpl::insertChar
16852 (insertInset): call Pipl::insertInset
16853 (breakParagraph): do not call fitToSize
16854 (breakParagraphConservative): do not call fitToSize
16855 (fitToSize): remove method
16857 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16859 2001-06-24 The LyX Project <Asger>
16861 * Fix Qt compilation^2
16863 2001-06-24 The LyX Project <jug@sad.it>
16865 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16866 depthHook(getDepth()-1).
16869 * ParagraphParameters.h:
16870 * ParameterStruct.h: change type of depth to unsigned int ==
16871 depth_type. Many adaptations to other files before of that.
16873 2001-06-24 The LyX Project <Asger>
16875 * Fix Qt compilation.
16877 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16879 * paragraph.h: renamed several methods to begin with small letter.
16880 several changes to many parts of the code because of this.
16882 2001-06-23 The LyX Project <jug@sad.it>
16884 * text2.C (InsertStringAsLines): renamed from InsertStringA;
16885 rewritten to discard all double spaces when KeepEmpty is off
16886 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16887 to only handle newlines but not fiddle with spaces and friends.
16889 * lyxfunc.C (MenuNew): when doing 'new from template', use
16890 template_path as default directory
16892 2001-06-23 The LyX Project <Asger>
16894 * Clean-up of header file includes all over
16895 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16897 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16899 * paragraph.h: renamed from lyxparagraph.h
16901 2001-06-23 Asger <lyx@violet.home.sad.it>
16903 * Buffer.h: Removed Buffer::resize
16904 * BufferList.h: Removed BufferList::resize
16905 * LyXView.h: Added LyXView::resize. This way, we will only reflow
16906 the document lazily when we change the width, or the font settings.
16908 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16910 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16912 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16914 * buffer.h: remove out of date comment
16916 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16919 * screen.C: fix "theoretical" GC leak
16921 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16923 * LaTeX.C (scanAuxFile):
16924 (deplog): remove trailing \r when reading stream (useful under
16927 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
16929 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16930 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16931 and BufferView::theLockingInset(Inset*), so should use them and not
16932 access bv_->text->the_locking_inset directly.
16934 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16936 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16939 * tex-defs.h: remove old unused file
16941 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
16943 * BufferView_pimpl.C: fix typo, remove minibuffer message
16944 when buffer has loaded
16946 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
16948 * lyxfunc.C (Dispatch): use stringstream
16949 (MenuNew): use stringstream
16950 (Open): use stringstream
16952 * importer.C (Import): use stringstream
16954 * bufferview_funcs.C (CurrentState): use stringstream
16956 * LaTeX.C (run): use stringstream
16958 * BufferView_pimpl.C (savePosition): use stringstream
16959 (restorePosition): use stringstream
16960 (MenuInsertLyXFile): use stringstream
16962 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
16975 * vspace.C: removed // -*- C++ -*- as first line.
16978 * version.h: added // -*- C++ -*- as first line.
16980 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16982 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16984 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16987 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
16989 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16992 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16994 * gettext.C: include LString.h even when --disable-nls is on.
16996 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
16998 * converter.h (Get): changed argument type from int to
16999 FormatList::size_type to avoid unnecessary conversion.
17001 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
17004 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17006 * gettext.h: include LString.h even when --disable-nls is on.
17008 2001-06-07 Juergen Vigna <jug@sad.it>
17010 * text.C (BreakAgain): subst spaces with tabs.
17012 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
17013 (resizeInsetsLyXText): set force on resizeLyXText.
17015 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17017 * gettext.h (gettext_init):
17018 (locale_init): use a real definition instead of a macro
17020 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
17022 * Bufferview_pimpl.C:
17024 * LColor.C: further lcolor tidies
17026 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
17028 * BufferView_pimpl.C (updateScrollbar): simplify.
17030 * BufferView2.C: don't include insets/insetinfo.h, change
17031 prototype for insertInset and call the Pimpl version. let
17032 updateInset call Pimpl version.
17034 * BufferView.h: move inset_slept to BufferView::Pimpl, move
17035 gotoInset to BufferView::Pimpl
17037 2001-06-01 Juergen Vigna <jug@sad.it>
17039 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
17040 inside a LockingInset (is the update needed at all?).
17042 2001-05-31 Juergen Vigna <jug@sad.it>
17044 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
17045 here not the old one otherwise how should we compare it afterwards
17048 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17053 * FontInfo.C: bring C functions into global namespace when
17056 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17058 * LString.h: make sure config.h has been loaded before LString.h.
17060 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
17061 (one for each char read by EatLine!).
17063 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
17066 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
17068 * paragraph.C (BreakParagraph): set the inset_owner in the new par
17069 to the same as the par we break from
17071 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
17073 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
17075 * MenuBackend.C (expand): also create menu entries for wide
17076 versions of the floats.
17078 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
17080 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
17082 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
17083 frontends/Makefile.am
17089 * tabular.C (getTokenValue): add std::
17091 * tabular-old.C (getTokenValue): add std::
17092 (getTokenValue): ditto
17093 (getTokenValue): ditto
17095 * screen.C (ToggleSelection): adjust
17097 * lyxtext.h: put selection cursors inside a Selection struct.
17099 * lyxfunc.C (moveCursorUpdate): adjust
17101 * lyxfont.C (latexWriteStartChanges): add std::
17103 * lyxfind.C: adjust
17105 * font.h: delete with(char const *, LyXFont const &)
17107 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
17109 * FontInfo.C (getFontname): add std::
17111 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
17112 (workAreaButtonPress): adjust
17113 (tripleClick): adjust
17115 (moveCursorUpdate): adjust
17118 * BufferView2.C (gotoInset): adjust
17120 2001-05-30 Juergen Vigna <jug@sad.it>
17122 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
17123 to check pspell I add this as default as I now have new pspell
17124 libraries and they seem to use this.
17126 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
17128 * text2.C (CutSelection): make the cursor valid before the call to
17131 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17133 * kbsequence.C (parse): de-uglify a bit the parsing code, which
17134 relied on 0 terminated strings and other horrors. Bug found due to
17135 the new assert in lyxstring!
17137 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
17140 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
17142 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
17145 * lyxfunc.C (processKeySym): change method of getting to the
17148 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
17149 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
17150 * BufferView_pimpl.[Ch]: here as private methods.
17152 2001-05-28 Juergen Vigna <jug@sad.it>
17154 * text.C (SetHeightOfRow): added the update() call again as it is
17155 needed to initialize inset dimensions!
17157 2001-05-16 Juergen Vigna <jug@sad.it>
17159 * text2.C (SetCharFont): Add new function with BufferView * and
17160 bool toggleall parameters for setting insets internal fonts.
17161 (SetFont): Freeze the undo as we may change fonts in Insets and
17162 all this change should be inside only one Undo!
17164 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
17165 setting font's in insets as for them we have the SetFont function!
17167 2001-05-15 Juergen Vigna <jug@sad.it>
17169 * text2.C (ClearSelection): to be sure we REALLY don't have any
17172 * tabular.C (TeXCellPreamble): fixed the left border problem for
17175 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
17177 * LaTeX.C (deplog): Make sure that the main .tex file is in the
17180 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
17182 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
17183 LFUN_BREAKPARAGRAPH.
17185 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
17186 help test to "internal only", similar for LFUN_INSERT_URL
17188 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
17189 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
17190 auto_region_delete and deadkeys.
17192 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
17195 * LColor.C: remove some dead entries, tidy a little
17197 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
17199 * lyxfunc.C (processKeySym): comment the Escape handling, remove
17201 (Dispatch): implement LFUN_ESCAPE
17203 * commandtags.h: add LFUN_ESCAPE
17205 * LyXAction.C (init): add entry for LFUN_ESCAPE
17207 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
17208 Remove commented code.
17209 (insertNote): moved here
17210 (open_new_inset): moved here
17212 * BufferView[2].[Ch]: move insertNote and open_new_inset to
17215 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17217 * kbmap.C (findbinding): clean it up and make it work correctly.
17219 * lyx_main.C (init): do not pass argc and argv as parameters
17221 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
17223 * buffer.C: fix path for OS/2 & Win32
17227 * lyx_main.C: Added os:: class.
17229 * os2_defines.h: update
17231 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
17233 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
17234 better by trying again with reduced state.
17236 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17238 * lyxrc.C (read): print error about invalid key sequence only when
17239 debugging (because not all latinX keysyms are known to some X
17242 * kbsequence.C (getiso): add a few std:: qualifiers
17243 (getiso): comment out extra return statement.
17245 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
17247 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
17249 (Dispatch): enhance the accent inset a bit. (not perfect)
17251 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
17253 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
17255 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17257 * bufferlist.C (emergencyWrite): fix assert() call
17259 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
17261 * text.C (InsertChar): Added trivial patch to only send the "you
17262 can not do multiple spaces this way" message once during a
17265 2001-05-08 Baruch Even <baruch@lyx.org>
17267 * Makefile.am: Changed order of libraries to get LyX to link properly
17268 with the gnome frontend.
17270 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17272 * LaTeXFeatures.h: add a std:: qualifier
17274 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
17276 * paragraph.C (String): use stringstream
17278 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
17280 * paragraph.C (writeFile): remove footflag arg
17282 * buffer.C (makeLaTeXFile): use stringstream
17283 (latexParagraphs): remove footnot gurba
17285 * LaTeXFeatures.C (getPackages): use stringstream
17286 (getMacros): likewise
17287 (getTClassPreamble): likewise
17288 (getFloatDefinitions): new method
17290 * paragraph.C (writeFile): reindent
17293 * WorkArea.h: revert the xpos + etc changes.
17295 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
17297 * lyxparagraph.[Ch]: add copy constructor, remove Clone
17299 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
17300 (pasteSelection): likewise
17301 * text2.C (CreateUndo): likewise
17303 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
17305 * minibuffer.C (peek_event): temporarily reduce the functionality
17306 of the minibuffer (to allow args on lfuns)
17308 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
17309 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
17311 * buffer.C (readInset): add compability reading of old float
17312 lists, add reading of new style float list.
17313 (readInset): avoid reevaluation of inscmd.getCmdName()
17314 (getLists): reindent
17316 * MenuBackend.C (MenuItem): implement parsing of
17317 md_floatlistinsert and md_floatinsert.
17318 (expand::LastFiles): move initalizaton of iterators out of loop,
17319 avoid reevaluation.
17320 (expand::Documents): introduce typdedef vector<string> Strings,
17322 (expand::ExportFormats): introduce typedef vector<Format const *>
17323 Formats, and use it.
17324 (expand): implement FloatListInsert and FloatInsert.
17326 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
17327 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
17328 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
17330 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
17332 (Dispatch::LFUN_FLOAT_LIST): implement
17334 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
17336 * LaTeX.C (run): Fix problem with --export code.
17338 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
17340 * BufferView.[Ch] (workarea): removed.
17341 (getClipboard) new method; wrapper for workarea()->getClipboard()
17343 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
17346 * WorkArea.h (width, height, xpos, ypos): These methods all
17347 returned the dimensions of the work_area sub-area of WorkArea,
17348 resulting in a position error if the WorkArea were resized. Now
17349 return the dimensions of the entire WorkArea.
17351 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
17353 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17355 * LaTeX.C (deplog): correct the syntax of regex reg1
17357 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
17359 * undo.C: remove !NEW_INSETS cruft
17361 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
17363 * text2.C: remove !NEW_INSETS cruft
17365 * text.C: remove !NEW_INSETS cruft
17367 * tabular.C: remove !NEW_INSETS cruft
17369 * spellchecker.C: remove !NEW_INSETS cruft
17371 * lyxtext.h: remove !NEW_INSETS cruft
17373 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
17375 * lyxfunc.C: remove !NEW_INSETS cruft
17377 * lyxfind.C: remove !NEW_INSETS cruft
17379 * lyx_cb.C: remove !NEW_INSETS cruft
17381 * figureForm.C: remove !NEW_INSETS cruft
17383 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
17385 * buffer.[Ch]: remove !NEW_INSETS cruft
17387 * ToolbarDefaults.C: remove !NEW_INSETS cruft
17389 * CutAndPaste.C: remove !NEW_INSETS cruft
17391 * BufferView_pimpl.C: remove !NEW_INSETS cruft
17393 * BufferView2.C: remove !NEW_INSETS cruft
17395 * BufferView.h: remove !NEW_INSETS cruft
17397 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17399 * Lsstream.h: include LString.h before the sstream headers to
17400 fix problem with gcc 2.95.3 and lyxstring
17402 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17404 * lyx_main.C: add using directives when needed for C functions
17405 declared in std:: namespace.
17407 2001-04-27 Juergen Vigna <jug@sad.it>
17409 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
17410 (SetHeightOfRow): comment out the update call should not be needed!
17412 2001-04-13 Juergen Vigna <jug@sad.it>
17414 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
17415 (LyXTabular): tried to minimize operator= operations (and realized
17416 hopfully Lars wish).
17418 2001-04-27 Juergen Vigna <jug@sad.it>
17420 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
17422 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
17424 * lyxfunc.C (Dispatch): hack to make listof algorithm work
17426 * buffer.C (readInset): hack to make listof algorithm work
17428 * BufferView_pimpl.C: hack to make listof algorithm work
17430 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
17432 * LyXAction.C: removed all !NEW_INSETS cruft
17433 (init): moved lfun_item in method
17435 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
17437 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
17439 * BufferView2.C (theLockingInset): white space.
17441 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
17443 * minibuffer.C: include <iostream>
17445 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
17447 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
17449 * commandtags.h: add LFUN_TRANSPOSE_CHARS
17451 * text.[Ch] (TransposeChars): new method
17453 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
17455 * call message directly through LyXView instead of through LyXFunc
17456 * BufferView2.C: adjust
17457 * BufferView_pimpl.C: adjust
17458 * FontLoader.C: adjust
17460 * bufferview_funcs.C: adjust
17461 * converter.C: adjust
17462 * figureForm.C: adjust
17463 * importer.C: adjust
17465 * lyx_gui_misc.C: adjust
17466 * lyxfunc.C: adjust
17469 + more files in subdirs
17471 * lyxparagraph.h (size): move up int file
17474 * adjust all uses of Assert to lyx::Assert.
17476 * BufferView2.C (ChangeCitationsIfUnique): adjust for
17477 lyxfunctional in namespace lyx
17478 * layout.C (hasLayout): ditto
17481 (delete_layout): ditto
17482 (NumberOfClass): ditto
17483 * converter.C (GetFormat): ditto
17488 * bufferlist.C (getFileNames): ditto
17489 (emergencyWriteAll): ditto
17492 * MenuBackend.C (hasSubmenu): ditto
17495 * BufferView_pimpl.C (getInsetByCode): ditto
17497 2001-04-18 Juergen Vigna <jug@sad.it>
17499 * vspace.C (asLatexString): fixed the 100% problem.
17501 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17503 * lyxfunc.C (Dispatch):
17505 * minibuffer.h: add a few std:: qualifiers
17507 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
17509 * minibuffer.[Ch]: reimplement so that commands is initiated and
17510 run from lyxfunc, simplified som handling, and made the completion
17511 and history code for complete. wip.
17513 * lyxfunc.C (processKeySym): call message
17514 (miniDispatch): new temporary method
17515 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
17516 (LFUN_MESSAGE): implement
17517 (LFUN_MESSAGE_PUSH): implement
17518 (LFUN_MESSAGE_POP): implement
17519 (initMiniBuffer): the initial/defualt minibuffer message.
17521 * lyxfont.[Ch]: inline some more getters
17523 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17525 * lyx_gui_misc.[Ch] (WriteStatus): remove method
17527 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17528 (AutoSave): use LFUN_MESSAGE
17529 (Reconfigure): ditto
17531 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17533 * figureForm.C: use LFUN_MESSAGE
17535 * converter.C (runLaTeX): use LFUN_MESSAGE
17537 * bufferview_funcs.C: use LFUN_MESSAGE
17539 (changeDepth): ditto
17541 * bufferparams.h: use boost::
17543 * bufferlist.h: inherit privately from noncopyable
17545 * bufferlist.C (loadLyXFile): remove some commented code.
17547 * buffer.C (runChktex): use LFUN_MESSAGE
17549 * ShareContainer.h: inherit privately from noncopyable
17551 * ParagraphParameters.[hC] (depth): inline it.
17553 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17555 (message): new method
17556 (messagePush): ditto
17557 (messagePop): ditto
17558 (show): init minibuffer
17559 (showState): direct call
17561 * LaTeX.[Ch]: inherit privately from noncopyable
17562 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17563 instead of WriteStatus.
17565 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17567 * BufferView_pimpl.C (buffer): don't init minibuffer
17568 (workAreaButtonPress): use LFUN_MESSAGE
17569 (workAreaButtonRelease): ditto
17570 (savePosition): ditto
17571 (restorePosition): ditto
17572 (MenuInsertLyXFile): ditto
17573 (workAreaExpose): don't init minibuffer
17574 (update): remove commented code, simplify
17576 * BufferView2.C (openStuff): use LFUN_MESSAGE
17577 (toggleFloat): ditto
17580 (copyEnvironment): ditto
17581 (pasteEnvironment): ditto
17586 (updateInset): remove some commented code
17588 * lastfiles.h: inherit privately from noncopyable
17591 * lyx_main.h: ditto
17593 * lyxlex_pimpl.h: ditto
17595 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17596 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17597 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17599 * LyXAction.h: inherit privately from noncopyable, add methods
17600 func_begin, func_end, returning iterators to the func map.
17602 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17603 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17604 (func_begin): new method
17605 (func_end): new method
17607 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17609 (copySelection): ditto
17610 (pasteSelection): ditto
17612 * BufferView.C: whitespace change
17613 * BufferView.h: inherit privately from noncopyable
17615 2001-04-16 Allan Rae <rae@lyx.org>
17617 * tabular-old.C (l_getline):
17618 * spellchecker.C (sc_check_word):
17619 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17620 an unrecognised preprocessor directive. So ensure they're wrapped.
17622 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
17624 * src/exporter.C (Export): Give an error message when path to file
17627 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
17629 * LaTeX.C (deplog): Always check that foundfile exists.
17631 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17634 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17636 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
17638 * tabular.[Ch] (getLabelList): implement new method
17640 * minibuffer.h: comment ouf setTiimer
17642 * minibuffer.C (ExecutingCB): constify res
17643 (peek_event): constify s
17644 (Set): constify ntext
17645 (Init): constify nicename
17647 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17649 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17650 (savePosition): use two params to Minibuffer::Set
17651 (restorePosition): ditto
17653 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17655 * lyx_main.C: include language.h
17657 * Makefile.am (lyx_main.o): add language.h
17659 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17665 * CutAndPaste.C: include gettext.h
17667 * lyxfont.h: remove old hack with ON and OFF.
17670 * lyxfont.h: do not include language.h...
17675 * bufferview_funcs.C:
17681 * paragraph.C: ... but do it here instead
17683 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
17685 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17687 * tabular.C: small reformat
17689 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17692 (BreakParagraph): ditto
17693 (SetOnlyLayout): ditto
17696 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17699 * lastfiles.C: removed most using decl, add std:: where needed
17701 * buffer.C: ws changes
17703 * MenuBackend.C (class compare_format): put into anon namespace
17704 (expand): constify label, names, action, action2
17707 * text.C (SingleWidth): constify font
17708 (IsBoundary): constify rtl2
17709 (GetVisibleRow): constify ww
17711 * LaTeX.C (deplog): constify logfile
17713 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17715 (workAreaExpose): constify widthChange, heightChange
17717 * lyxrow.C (par): moved
17720 * lyxrow.h: as inlines here
17722 * lyxfont.h (shape): moved from lyxfont.C
17723 (emph): moved from lyxfont.C
17725 * lyxfont.C (LyXFont): use initialization list for all
17727 (shape): move to lyxfont.h as inline
17728 (emph): move to lyxfont.h as inline
17731 2001-04-04 Juergen Vigna <jug@sad.it>
17733 * vspace.C: had to include stdio.h for use of sscanf
17735 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
17738 * BufferView_pimpl.h: remove xforms cruft. Both classes are
17739 independent of xforms.
17741 2001-04-02 Juergen Vigna <jug@sad.it>
17743 * spellchecker.C: fixed namespace placing!
17745 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
17747 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17748 the LyXParagraph * is 0.
17750 2001-03-29 Juergen Vigna <jug@sad.it>
17752 * vspace.C: added support for %, c%, p%, l%.
17753 (stringFromUnit): added helper function.
17754 (asLatexString): changed to give right results for the %-values.
17756 * buffer.C: convert the widthp in a width%.
17758 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
17760 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17763 * figureForm.[Ch]: stripped the FD_from_figure manipulation
17764 code out of lux_cb.[Ch], ready for its (imminent?) removal.
17766 * lyx_cb.[Ch]: see above.
17768 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17772 * lyx.[Ch]: replaced by figure_form.[Ch].
17776 * lyxfunc.C: changed headers associated with above changes.
17778 2001-03-27 Juergen Vigna <jug@sad.it>
17780 * BufferView_pimpl.C: set the temporary cursor right!
17782 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
17784 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17786 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
17788 * LString.h: removed "using std::getline"!
17790 * BufferView_pimpl.C (Dispatch): changes due to changes in
17791 InsetInclude::Params.
17793 * buffer.C (tag_name): removed redundant break statements as they were
17794 producing lots of warnings with my compiler.
17796 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17798 * LString.h: add "using std::getline" when using the real <string>.
17800 2001-03-23 Jos�Ab�io Matos <jamatos@fep.up.pt>
17802 * buffer.C: removed bitset usage.
17803 PAR_TAG moved to an anonymous name space.
17804 (tag_name): new funtion, also in the anonymous namespace.
17805 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17806 (makeDocBookFile): clean code. Completed transition from string arrays
17808 (SimpleDocBookOnePar): code clean.
17810 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17812 * tabular.C: add some comments.
17814 2001-03-22 Juergen Vigna <jug@sad.it>
17816 * buffer.C (parseSingleLyXformat2Token): redone the minipage
17817 compatibility read a bit and fixed bug with minipage in different
17820 2001-03-21 Jos�Ab�io Matos <jamatos@fep.up.pt>
17822 * buffer.C (pop_tag): removed.
17823 (push_tag): removed.
17824 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17825 array replaced with vector. Added support for CDATA sections.
17826 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17828 (makeDocBookFile): XML conformant declaration of CDATA section,
17829 fixed bug related to <emphasis> in the first paragraph char.
17830 (sgmlOpenTag): exclude empty tags.
17831 (sgmlCloseTag): ditto.
17833 * buffer.h (pop_tag): removed.
17834 (push_tag): removed.
17836 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
17838 * language.h (Languages): added size_type and size().
17840 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17842 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17843 response on compability reading of minipages. One probliem is that
17844 the old usage of minipages was flertydig
17846 * several files here and in subdirs: don't use static at file
17847 scope use anon namespaces instead.
17849 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
17851 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17852 LaTeX output. This is necessary for Literate document
17855 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17857 * buffer.C: insert hfill when needed.
17859 * tabular.C (l_getline): use string::erase, small whitespace change.
17861 * BufferView_pimpl.C: try the anon namespace.
17862 * WorkArea.C: ditto
17864 2001-03-16 Juergen Vigna <jug@sad.it>
17866 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17867 otherwise it won't open options-dialogs.
17869 * buffer.C: honor pextraWidth(p) on converting minipages.
17871 * tabular.C (l_getline): changed the functions to strip trailing \r.
17873 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
17875 * BufferView_pimpl.C:
17876 * minibuffer..C: added "using SigC::slot" declaration.
17878 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17880 * lyxlex_pimpl.h: noncopyable is in namespace boost.
17886 * paragraph.C: ditto
17888 * lyxtext.h: NO_PEXTRA
17890 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17892 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17893 * ParameterStruct.h: ditto
17894 * ParagraphParameters.h: ditto
17895 * lyxparagraph.h: ditto
17897 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17899 * buffer.C: add compability for minipage alignment.
17900 (latexParagraphs): remove unwanted pextra check.
17902 * several files: remove CXX_WORKING_NAMESPACES
17904 * buffer.C (pop_tag): tie is in namespace boost
17906 * BufferView.h: noncopyable is in namespace boost
17908 * lyx_main.h: ditto
17911 * lastfiles.h: ditto
17912 * bufferlist.h: ditto
17913 * ShareContainer.h: ditto
17915 * LyXAction.h: ditto
17918 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17920 * Merging changes from BRANCH_MVC back into HEAD.
17922 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17924 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
17926 * BufferView_pimpl.C: change from intl.C
17930 * Makefile.am: move combox.*
17936 * intl.C: remove dialog (covered by prefs)
17938 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17940 * lyxfunc.C (Dispatch): removed redundant break statement.
17942 2001-03-14 Juergen Vigna <jug@sad.it>
17944 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17946 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17948 * buffer.C: add hack to fix compability reading of minipages.
17950 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
17952 * buffer.C (getLists): Cleanup.
17954 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17956 * lyxfont.C (update): don't honor toggleall on font size.
17958 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
17962 * Makefile.am: moved to frontends/xforms/
17966 * BufferView_pimpl.C: changes for moved mathpanel
17968 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17970 * gettext.h: fix gettext_init() in --disable-nls
17972 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17974 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17976 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
17979 * lyx.h: strip external form
17981 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17983 * BufferView_pimpl.C: add comment, destroySplash()
17985 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17987 * BufferView_pimpl.C:
17991 * lyxfunc.C: use re-worked insetinclude
17993 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17995 * buffer.C: add using std::stringstream.
17997 * lyx_cb.C: readd using std::ios.
17999 * buffer.C: add using std::map.
18001 * BufferView_pimpl.C: add using std::vector.
18003 * ShareContainer.h: add std:: to swap.
18005 * buffer.h: add some typedefs
18006 * buffer.C (getLists): use them
18007 (getLists): renamed from getTocList.
18008 add a counter for the different float types and use it in the
18010 (getLists): use the same counter for the NEW_INSETS and the "non"
18013 * lyx_cb.h: remove unused items, includes, using etc.
18015 * ShareContainer.h: remove some commented code, add more comments
18016 and "documentation".
18018 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18020 * buffer.C (getTocList): make the list also when NEW_INSETS is
18023 * buffer.h: remove TocType
18025 * buffer.C (getTocList): change to return a map<string,
18026 vector<TocItem> >, implement for dynamic number of list.
18028 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
18029 * text2.C (PasteSelection): adjust
18030 * CutAndPaste.C (pasteSelection): adjust
18032 * FloatList.C (FloatList): update from the new_insets branch.
18033 * Floating.[Ch]: ditto
18034 * LaTeXFeatures.C: ditto
18036 * lyxlex_pimpl.C: ditto
18038 * paragraph.C (Last): remove when NEW_INSETS is defined.
18040 * other file: changes because of the above.
18042 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18044 * lyxparagraph.h: rename next to next_, previous to previous_,
18045 make them private for NEW_INSETS. Rename Next() to next(),
18046 Previous() to previous().
18048 * other files: changes because of the above.
18050 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
18053 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
18056 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18058 * main.C (main): pass lyx_localedir to gettext_init().
18060 * gettext.h: remove locale_init and gettext_init macros
18062 * gettext.C (locale_init): new function
18063 (gettext_init): new function
18065 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
18068 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
18070 * Moved credits to frontends:
18071 * credits.[Ch]: removed
18072 * credits_form.[Ch]: removed
18073 * lyx_gui_misc.C: remove credits stuff
18076 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18078 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
18080 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
18081 unneeded destructor.
18083 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
18084 a standalone pointer again.
18086 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
18088 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
18094 * ToolbarDefaults.C:
18103 * BufferView_pimpl.C: use new file dialog in GUII
18106 * lyx_cb.C: remove LayoutsCB to Toolbar
18108 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18110 * ShareContainer.h (get): add std:: qualifier
18112 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18114 * ShareContainer.h: define a proper ShareContainer::value_type
18115 type (and use typename to please compaq cxx)
18117 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18119 * lyxparagraph.h: move serveral local vars to
18120 ParameterStruct/ParagraphParameters., use ShareContainer in
18121 FontTable., make vars in FontTable private and add getter and
18124 * paragraph.C: changes because of the above.
18126 * lyxfont.h: remove copy constructor and copy assignment. (the
18127 default ones is ok), move number inside FontBits. move inlines to
18130 * lyxfont.C: add number to initializaton of statics, move several
18131 inlines here. constify several local vars. some whitespace
18132 cleanup. Dont hide outerscope variables.
18134 * Spacing.h: add two new constructors to match the set methods.
18136 * ShareContainer.h: new file, will perhaps be moved to support
18138 * ParameterStruct.h: new file
18140 * ParagraphParameters.h: new file
18142 * ParagraphParameters.C: new file
18144 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
18145 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
18147 * BufferView_pimpl.C: ParagraphParameter changes.
18148 * buffer.C: Likewise.
18149 * bufferview_funcs.C: Likewise.
18150 * text.C: Likewise.
18151 * text2.C: Likewise.
18153 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18155 * lyxfind.C (LyXReplace): do not redefine default argument in
18157 (IsStringInText): ditto
18158 (SearchForward): ditto
18159 (SearchBackward): ditto
18161 2001-03-06 Juergen Vigna <jug@sad.it>
18163 * lyxfind.C (IsStringInText): put parentes around expressions.
18165 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
18167 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
18169 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
18171 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
18173 * stl_string_fwd.h: add comment
18175 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
18178 * tabular.C: remove unused DocBook methods
18184 killed DO_USE_DEFAULT_LANGUAGE
18186 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18188 * lyx_gui.C: do not include language.h.
18190 * bufferview_funcs.C (ToggleAndShow): do not provide optional
18191 arguments in function implementation.
18193 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18195 * BufferView_pimpl.C: add <ctime>
18197 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18199 * BufferView_pimpl.C: add using std::find_if
18201 2001-02-27 José Matos <jamatos@fep.up.pt>
18203 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
18206 2001-02-11 José Matos <jamatos@fep.up.pt>
18208 * buffer.C (makeDocBookFile): command styles now have a parameter as
18209 "title" by default.
18211 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
18213 * layout_forms.[Ch]: removed
18214 * lyx_cb.[Ch]: out character
18215 * lyx_gui.C: out character
18216 * lyx_gui_misc.C: out character
18217 * bufferview_funcs.C: : out character,
18218 added toggleall as parameter in ToggleAndShow
18220 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
18222 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
18224 * text2.C (SetCurrentFont): Disable number property at boundary.
18226 2001-02-26 Juergen Vigna <jug@sad.it>
18228 * lyxfunc.C (getStatus): added a string argument override function so
18229 that this is correctly called from LyXFunc::Dispatch if it contains a
18230 do_not_use_argument which is used!
18231 (Dispatch): added check for "custom" export and call appropriate func.
18233 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
18235 * lyxrc.C: Add language_command_local, language_use_babel and
18236 language_global_options.
18238 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
18240 * buffer.C (makeLaTeXFile): Use language_use_babel and
18241 language_global_options.
18243 2001-02-23 Juergen Vigna <jug@sad.it>
18245 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
18246 which works with LyXText and putted it inside BufferView. Here now we
18247 only call for that part the BufferView::Dispatch() function.
18249 * BufferView.C (Dispatch): added.
18251 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
18252 functions which needs to use a LyXText over from LyXFunc.
18253 (MenuInsertLyXFile): added
18254 (getInsetByCode): added
18255 (moveCursorUpdate): added
18256 (static TEXT): added
18258 2001-02-22 Juergen Vigna <jug@sad.it>
18260 * BufferView_pimpl.C (update): call a status update to see if LyXText
18263 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18265 * vc-backend.C (revert): implement for CVS
18266 (getLog): implement for CVS
18268 2001-02-20 Juergen Vigna <jug@sad.it>
18270 * text2.C (ClearSelection): added BufferView param for inset_owner call
18272 * lyxfunc.C (TEXT): added this function and use it instead of
18273 directly owner->view()-text of getLyXText().
18275 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
18277 * src/layout_forms.C: out preamble
18278 * src/layout_forms.h: out preamble
18279 * src/lyx_cb.C: out preamble
18280 * src/lyx_cb.h: out preamble
18281 * src/lyx_gui.C: out preamble
18282 * src/lyx_gui_misc.C: out preamble
18283 * src/lyxfunc.C: connect with guii preamble
18285 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
18287 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
18289 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
18291 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
18292 whether to run bibtex.
18294 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
18296 * Makefile.am (lyx_SOURCES): Remove BackStack.h
18298 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
18300 * Makefile.am (lyx_SOURCES): removed bibforms.h
18302 * vspace.h: doxygen
18304 * text.C (GetVisibleRow): make several local vars const
18306 * tabular.C: small cleanup.
18308 * lyxserver.C (callback): use compare instead of strncmp
18310 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
18311 inlines to after class or to paragraph.C
18313 * lyxfont.h: remove friend operator!=
18315 * converter.h: move friend bool operator< to non friend and after
18318 * combox.h: small cleanup
18320 * buffer.h: doxygen, remove unused constructor, move inclas inlies
18321 to inlines after class def.
18323 * buffer.C (pop_tag): use string operations instead of strcmp
18325 * bmtable.c: doxygen, small cleanup
18327 * LaTeX.h: remove friend operator==
18329 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
18341 * BufferView_pimpl.C:
18342 * BufferView.[Ch]: remove cruft
18344 2001-02-14 Juergen Vigna <jug@sad.it>
18346 * lyxfunc.C: removed #if 0 unused code
18348 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
18350 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
18352 * text2.C (SetSelection): added a BufferView * parameter
18354 2001-02-13 Juergen Vigna <jug@sad.it>
18356 * lyxfunc.C (Dispatch): fixed protected blank problem.
18357 * BufferView2.C (protectedBlank): added LyxText * parameter.
18359 * tabular.C (AppendRow): forgot to set row_info of newly added row.
18360 (AppendColumn): same as above for column_info.
18362 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
18363 (moveCursorUpdate): use a LyXText param for support of InsetText.
18365 * BufferView_pimpl.C (doubleClick): added support for InsetText.
18366 (tripleClick): ditto
18368 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
18370 * BufferView_pimpl.C (update): added LyXText param to honor insets.
18372 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
18374 * text2.C (SetSelection): set correct update status if inset_owner
18375 (ToggleFree): ditto
18377 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
18379 * tabular.C: remove some commented code.
18381 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
18383 * BufferView_pimpl.C: call hideSplash()
18385 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
18388 * bibforms.h: remove
18391 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
18392 add LFUN_CHILD_CREATE
18394 * counters.h: fix tiny typo
18399 * lyx.C: move splash to frontends/xforms/
18401 * lyx_gui_misc.C: move Include and Bibform to frontends
18403 * lyxvc.h: clarify comment
18405 * vspace.C: tiny housekeeping
18407 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
18409 * text.C (PrepareToPrint): RTL Fix.
18411 * paragraph.C (GetUChar): New method.
18412 (String): Use GetUChar.
18414 * buffer.C (asciiParagraph): Use GetUChar.
18416 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
18418 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
18420 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
18423 * buffer.C: rename to getLogName(), handle
18424 build log / latex log nicely
18426 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18429 * MenuBackend.h: remove support for reference menuitem type.
18431 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
18433 * BufferView_pimpl.C: housekeeping
18434 * BufferView_pimpl.h:
18439 * minibuffer.h: move Timeout GUI-I
18441 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
18443 * lyxrc.C (read): Update converters data-structures.
18445 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
18447 * LaTeX.h (operator!=): add operator != for Aux_Info
18449 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
18451 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
18453 * LaTeXLog.C: deleted, useful code moved to Buffer
18456 * buffer.C: new function getLatexLogName()
18462 * lyxfunc.C: use frontends for LaTeX and VC logs
18464 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18466 * LaTeX.h: yet another std:: that Allan forgot.
18468 * Variables.C (set): renamed from isset(), because this clashes
18469 with some HP-UX macros (grr).
18471 2001-02-06 Allan Rae <rae@lyx.org>
18473 * LaTeX.h: Another bug fix. Missing std:: this time.
18475 2001-02-04 Allan Rae <rae@lyx.org>
18477 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
18478 floats problem. I've left it commented out because it's not quite
18479 correct. It should also test that the current object is a table or
18480 figure inset. But I haven't gotten around to figuring out how to do
18481 that. I *think* it'll be something like: "table" == inset.type()
18483 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
18486 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
18488 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
18489 all the citation/databases/styles in the auxilary file.
18490 (run): Rerun latex if there was a babel language error.
18492 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
18494 * text.C (Backspace): Preserve the font when changing newline char
18496 (BreakParagraph): If the cursor is before a space, delete the space.
18498 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
18500 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
18502 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
18503 new argument (code).
18504 (ChangeCitationsIfUnique): New method.
18506 * paragraph.C (GetPositionOfInset): Handle bibkey.
18508 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18510 * BufferView_pimpl.h: change type of Position::par_pos to
18511 LyXParagraph::size_type.
18513 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
18515 * BufferView_pimpl.C (savePosition, restorePosition): Write
18516 messages to minibuffer.
18518 2001-01-28 José Matos <jamatos@fep.up.pt>
18520 * buffer.C (makeDocBookFile): adds support for document language.
18521 A silly restriction on the name of LatexCommand types where removed.
18522 Added support for CDATA sections, allows to chars unescaped, used
18523 among others in code, to avoid escape < and >.
18525 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
18527 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18528 saved positions instrad of a stack. Furthermore, a position is
18529 stored using paragraph id/paragraph position.
18531 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18532 Remove LFUN_REF_BACK.
18534 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
18536 * converter.C (dvipdfm_options): New method.
18538 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
18540 * vspace.C (isValidLength): Fix for empty input string.
18542 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18544 * LyXAction.C (init): change description of LFUN_FIGURE to
18547 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18549 * LaTeX.C: add using directive
18551 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
18553 * MenuBackend.C (expand): Fix the sorting of the formats.
18555 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
18557 * lyx_main.C: tiny error message fix
18559 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18561 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18562 calling fl_initialize(). This fixes the problem with ',' as
18563 decimal separator in text files.
18565 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
18567 * trans.C (process): Fix the keymap bug.
18569 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
18571 * LaTeX.C (scanAuxFiles): New method. Provides support for
18572 multiple bibliographies (when using the bibtopic/bibunits pacakges).
18573 (scanLogFile) Scan for "run BibTeX" messages.
18575 * buffer.C (makeLaTeXFile): Do not load the ae package when using
18576 OT1 font encoding. Also, load the aecompl package if the ae
18579 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18581 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18583 * texrow.C (increasePos): turn two error messages into debug
18586 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
18588 * LaTeX.C (scanAux): Handle the \@input macro.
18589 (runBibTeX): Use scanAux().
18591 * language.C (latex_options_): New field.
18593 * LaTeXFeatures.C (getMacros): Add language macros.
18595 * buffer.C (makeLaTeXFile): Small fix.
18597 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18599 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18601 * text2.C: add a using directive.
18603 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
18608 * lyxfunc.C: kill LyXBell.
18610 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
18612 * text.C (IsBoundary): Remove the error message
18614 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18616 * lyxrc.C (setDefaults): Correct initialization value for
18619 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
18621 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18624 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18625 and GotoNextNote().
18627 * src/LyXAction.C: Added reference-next.
18629 * text.C (InsertChar): Use contains instead of strchr.
18631 * lyx_cb.C (MenuInsertLabel): Enable default value code.
18633 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
18635 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18636 alignment commands (when needed).
18638 * text.C (InsertChar): Add ':' to number separator chars.