1 2005-12-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3 * tabular.C (toggleFixedWidth): Use default layout of text class
4 instead of hardcoded "Standard"
6 2005-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8 * lyxfunc.C (dispatch): do not call getStatus again to determine
9 whether a lfun is disabled (bug 2172).
11 2005-12-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13 * cursor.C (macroModeClose): set the cursor inside the new math
14 atom if relevant (think \frac{}{}) (bug 2034)
16 2005-12-19 Martin Vermeer <martin.vermeer@hut.fi>
20 * text3.C (Delete, backspace): force update when merging paragraphs
22 2005-12-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
24 * BufferView.C (mouseSetCursor): clear the selection properly (bug
27 2005-12-08 Georg Baum <Georg.Baum@post.rwth-aachen.de>
29 * text.C (redoParagraph): honor inset->noFontChange()
30 * rowpainter.C (paintInset): ditto
32 2005-12-15 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
34 * lyx_main.C (priv_exec): don't initialize Math on startup
35 (initMath() has been moved to math_hullinset).
37 2005-12-12 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
39 * lyxrc.C: set default_papersize to PAPER_DEFAULT;
40 handle PAPER_DEFAULT in LyXRC::read and LyXRC::write (bug 2148).
41 * paper.h: dispose dead PAPER_PACKAGES enum.
43 2005-12-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
45 * Makefile.am (OTHERLIBS): add SOCKET_LIBS in case we compile
48 2005-12-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
50 * exporter.C (Export): Don't try to copy a file if it does not exist
53 2005-12-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
55 * text2.C (makeFontEntriesLayoutSpecific): remove.
58 * text.C (insertChar): remove bogus caching of fonts (did not do
61 * text2.C (LyXText): initialize current_font to ALL_INHERIT (was
64 2005-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
66 * rowpainter.C (paintFirst): fix centering of
67 LABEL_CENTERED_TOP_ENVIRONMENT.
69 2005-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
71 * BufferView.C (mouseSetCursor): new method. Calls
72 deleteEmptyParagraphMechanism if necessary.
74 * lyxtext.h: make deleteEmptyParagraphMechanism public.
76 * text3.C (dispatch/LFUN_MOUSE_PRESS): use
77 BufferView::mouseSetCursor (bug 2109).
78 (dispatch/LFUN_PASTE): remove #warning that is now irrelevant.
80 2005-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
82 * text3.C (dispatch/LFUN_INDEX_INSERT): when a selection is set,
83 do not remove it (this inset behaves differently from the others).
85 2005-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
89 * BufferView_pimpl.C (getStatus): it is only possible to insert a
92 * buffer.C (readDocument): remove pit argument and code releated
93 to it; set the inset owner correctly (unrelated, but useful).
94 (readFile): get rid of pit argument.
96 * CutAndPaste.C (pasteSelectionHelper): use a ParagraphList and a
97 textclass instead of a selection index.
98 (pasteParagraphList): new function.
99 (pasteSelection): make it a wrapper around pasteParagraphList.
101 * BufferView_pimpl.C (MenuInsertLyXFile): use
102 cap::pasteParagraphList to insert a file.
104 2005-11-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
106 * buffer_funcs.C (bufferErrors): prevent endless loop (bug 2121)
108 2005-11-17 Michael Gerz <michael.gerz@teststep.org>
110 * exporter.C: fix typo in text message
112 2005-11-28 Georg Baum <Georg.Baum@post.rwth-aachen.de>
114 * text2.C (setLayout): move recUndo call to other setLayout method
115 * tabular.C (toggleFixedWidth): new, handle cell width changes
116 * tabular.C (setColumnPWidth): move some code from insettabular.C here
117 and use toggleFixedWidth
118 * tabular.C (setMColumnPWidth): ditto
120 2005-11-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
122 * paragraph.C (asString): use new inset->textString method (fix
125 2005-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
127 * CutAndPaste.C (numberOfSelections): new helper function.
129 * lyxfunc.C (getStatus): remove support for LFUN_COPY and LFUN_CUT.
131 * text3.C (getStatus): move code for LFUN_CUT and LFUN_COPY from
132 LyXFunc::getStatus; implement LFUN_PASTE.
134 2005-11-17 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
136 * dociterator.[Ch]: new member realInset() that returns the cell
137 for tabulars and the inset for the rest (bug 1952).
138 * undo.C (textUndoOrRedo): use realInset when resetting insetOwner
141 2005-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
143 * text.C (leftMargin): honor the NextNoIndent tag in layouts.
145 2005-11-17 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
149 * text3.C: InsetBase::forceDefaultParagraphs now takes a cell as
152 2005-11-07 Martin Vermeer <martin.vermeer@hut.fi>
154 * text.C (redoParagraph): Fix bug 1966: cursor doesn't go to next
155 line after typing ctrl-enter
157 2005-11-10 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
159 * bufferview_funcs.C (coordOffset): fix the fix for bug 2094, as
160 math insets do not return a proper editable() state yet (bug 2124).
162 2005-11-07 Martin Vermeer <martin.vermeer@hut.fi>
164 * BufferView_pimpl.[Ch]: Fix bug 1814: better scroll behaviour for
165 docs containing very large paragraphs.
167 2005-11-07 Martin Vermeer <martin.vermeer@hut.fi>
169 * cursor.C (selectionBegin, selectionEnd):
170 * text.C (drawSelection): Fix bug 2115: assertion when anchor and
171 cursor at different depths.
173 2005-11-03 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
175 * bufferview_funcs.C (coordOffset): do not call cursorPos
176 for collapsed collapsables (fix bug 2094).
178 2005-11-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
180 * paragraph.C (fontSpan): make sure that the FontSpan does not
181 span across beginOfBody (bug 1947).
183 2005-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
185 * lyxlength.h: undefine macros that clash with solaris/x86 (bug 992)
187 2005-11-03 Michael Gerz <michael.gerz@teststep.org>
189 * messages.C: fix crash and localization on MinGW/Windows platform
191 2005-11-02 Angus Leeming <leeming@lyx.org>
194 * lyxtextclass.C: trivial fixes to some MSVS warnings.
196 2005-10-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
198 * text3.C (getStatus): re-enable disabled code. (bug 2081)
200 * BranchList.h (empty): constify.
202 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
204 * text3.C (getStatus):
205 * MenuBackend.C (expandBranches): take the branch list from the
206 master document (bug 2092).
208 * MenuBackend.C (expandBranches):
209 * bufferparams.C (writeFile): use BranchList type.
211 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
213 * text3.C (dispatch, getStatus):
214 * LyXAction.C (init):
215 * lfuns.h: get rid of LFUN_KEYMAP_TOGGLE
217 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
219 * toc.C (getTocList): skip paragraphs which toclevel is NOT_IN_TOC.
221 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
223 * text.C (insertChar): do not reset boundary (bug 2061)
225 2005-10-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
227 * dociterator.C (updateInsets): new method. Updates the inset_
228 cache of all the slices of the iterator.
230 * text2.C (deleteEmptyParagraphMechanism): compare also containing
231 insets when comparing pit/pos; pass the right cursor to
232 recordUndo; when a paragraph has been deleted, compare `old.top()' to
233 the right cursor slice of `cur'; use updateInsets on cur to make
234 sure that the inset caches are correct; general cleanup.
236 2005-10-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
238 * text3.C (dispatch): LFUN_NEXT_INSET_TOGGLE: first try to
239 dispatch LFUN_INSET_TOGGLE to inset at cursor, and then to
240 containg inset. If this does not work, the same command will be
241 sent to other insets down the queue by LCursor::dispatch. (bug 2066)
243 * lyxfunc.C (dispatch): make sure the cursor is correct when doing
246 2005-10-20 Georg Baum <Georg.Baum@post.rwth-aachen.de>
248 * lyxtextclass.C (Read): convert layout file if the format is wrong
249 * lyxtextclass.C (layout2layout): new, needed for the above
251 2005-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
253 * messages.C: do not forget to include <cerrno>.
255 2005-10-12 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
257 * dociterator.h (StableDocIterator): add access to pos().
258 * undo.C (samePar): new method to check if two
259 iterators are in the same paragraph
260 * undo.C (recordUndo): check for samePar instead of cell identity
261 (which includes pos() and is too strict) (fixes bug 2097)
263 2005-10-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
265 * text.C (setCursorFromCoordinates): return a bool telling whether
268 * text3.C (cursorPrevious): update if needed after
269 setCursorFromCoordinates (when dEPM triggered).
271 * text2.C (cursorDown, cursorUp): make sure to reset the anchor
272 (otherwise the anchor may be completely wrong and make dEPM assert).
274 2005-10-12 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
276 * buffer.C: version upgrade to 245.
277 * bufferparams.C: remove \quotes_times (bug 2090).
278 * text3.C (doDispatch): LFUN_QUOTE_INSERT has to output double
279 quotation marks as default.
281 2005-10-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
283 * CutAndPaste.C (nrOfParagraphs): remove (unused)
284 * CutAndPaste.C (cutSelection): Remove debug message
285 * CutAndPaste.C (cutSelection): Use the real cursor in mathed, record
286 undo information and only copy if this is a real cut
287 * CutAndPaste.C (pasteSelection): remove superflous cur.resetAnchor()
289 * CutAndPaste.C (pasteSelection): remove now superflous mathed warning
291 * CutAndPaste.C (eraseSelection): prevent cursor corruption
292 * CutAndPaste.C (grabAndEraseSelection, selDel): remove now
293 superflous cur.selection() setting
294 * CutAndPaste.[Ch] (grabSelection): take a const cursor
295 * cursor.C (selectionAsString): implement mathed case ((bug 2059)
297 2005-10-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
299 * text3.C (mathDispatch, dispatch): Dont' record undo steps that don't
302 2005-10-11 Martin Vermeer <martin.vermeer@hut.fi>
304 * BufferView_pimpl.C: comment layout change
306 2005-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
310 * lyxfunc.C: reimplement LFUN_INSERT_CITATION, which is needed
311 by bibliography managers (bug 2071).
313 2005-10-07 Martin Vermeer <martin.vermeer@hut.fi>
315 * BufferView_pimpl.C (update): choose arguments to update call so
316 that single-par update works most times
317 * text3.C (dispatch): carefully tune updating separately for
318 whole-screen and current-paragraph
319 * rowpainter.C (paintText): 1) replace painting by caching for
320 the two extra paragraphs, because we can;
321 2) suppress greying out of areas below/above drawn area in case of
323 * lyxfunc.C (dispatch): remove superfluous update
324 * LyXAction.[Ch]: introduce SingleParUpdate
326 2005-10-05 Angus Leeming <leeming@lyx.org>
328 * BufferView_pimpl.C (loadLyXFile): ensure that a pointer is
329 always initialised before use.
331 * text.C (setHeightOfRow): squash warning about comparison
332 of signed and unsigned types.
334 2005-10-03 Martin Vermeer <martin.vermeer@hut.fi>
336 * text.C (cursorX): two fixes involving RtL text drawing
338 2005-10-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
340 * cursor.C (erase): fix 'clever' UI hack. It was activated for all
341 items, not only large ones (part of bug 2057)
343 2005-10-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
345 * text3.C (dispatch): when invoking LFUN_MATH_MACRO with no type
346 argument, use "newcommand".
348 2005-09-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
350 * cursor.C (setSelection): do not open collapsable insets;
351 the insets do by themselves now (autoopen).
353 2005-09-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
355 * buffer.C: format is up to 244.
357 2005-09-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
359 * text.C (redoParagraph): fix calcultation of inset width wrt
360 leftMargin (bug 1957).
362 * text3.C (dispatch): leave inset to the right when hitting ESC
365 2005-09-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
370 * messages.C: include <boost/current_function.hpp>
372 2005-09-12 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
374 * lyxfunc.C (sendDispatchMessage): do not update menubar/toolbar
375 when command is internal. (bug 1941)
377 2005-09-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
379 * text2.C (cursorRight): do not honor boundary when at the end of
380 a paragraph. (bug 2010 again)
382 2005-09-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
384 * cursor.C (paste): do nothing if `data' is empty. (bug 2033)
386 2005-09-19 Martin Vermeer <martin.vermeer@hut.fi>
388 * rowpainter.C (paintText): fix RtL space width display bug (2029)
390 2005-09-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
392 * text2.C (setCursor): remove the unused 'boundary' parameter for
393 the CursorSlice version; adapt the LCursor version.
396 * paragraph_pimpl.C (markErased):
397 * cursor.C (bruteFind2, bruteFond3): fix warnings.
399 2005-09-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
401 * rowpainter.C (paintFirst): use a 'labeladdon' for TOP_* labels,
402 as is already done for "chapter".
404 2005-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
406 * lyxfunc.C (dispatch): LFUN_TEXTCLASS_APPLY: actually set the
407 textclass; do not record undo if nothing is changed.
409 2005-09-16 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
411 * text3.C (dispatch): recordUndo in LFUN_PASTESELECTION (#2011).
413 2005-09-14 Michael Gerz <michael.gerz@teststep.org>
415 * lyxfunc.C: update display after LFUN_ALL_INSETS_TOGGLE
417 2005-09-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
419 * BufferView_pimpl.C (setBuffer): when one wants to set the layout
420 combox, it is necessary to search for the topmost paragraph in the
421 cursor stack (bug 1926)
423 2005-09-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
425 * text2.C (cursorEnd, cursorRight): do not set boundary to true at
426 end of paragraph. (bug 2010)
428 2005-09-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
430 * text.C (leftMargin): check for inInset == 0
432 2005-09-10 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
434 * text.C (leftMargin): test for insetbase's new neverIndent()
435 bool instead of listing each and every inset that does not
436 wish par indendation.
438 2005-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
440 * buffer_funcs.C (setCounter): put the code to compute enum label
441 here (where it belongs).
443 * counters.C (enumLabel): move code to buffer_funcs.C.
445 2005-09-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
447 * outputparams.[Ch]: store local_font instead of local_language
448 * paragraph.C (simpleTeXOnePar): adapt to the change above
450 2005-09-08 Martin Vermeer <martin.vermeer@hut.fi>
453 * counters.[Ch]: clean up special code for Hebrew.
455 2005-09-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
457 * lyxfunc.C (lookupChange): fix code when cursor depth is greater
460 2005-09-08 Angus Leeming <leeming@lyx.org>
463 * lyxrc.C: correct grammar describing invocation of the
466 2005-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
468 * text.C (read): remove unused variable.
469 (readParToken): remove static Change variable (never good in
470 recursive settings...); add it as a parameter instead.
472 * paragraph_pimpl.C (acceptChange): make debug info conditional.
474 * metricsinfo.C (PainterInfo): add new member erased_.
476 * rowpainter.C (RowPainter): add erased_ member, initialized from
478 (paintInset): pass erased_ to Inset::draw.
480 * lyxfunc.C (lookupChange): new function. Tells whether change
481 tracking is disabled at a given postion.
482 (getStatus): disable some actions when in deleted text with change
485 2005-08-03 John Levon <levon@movementarian.org>
487 * tabular.C (appendColumn, setMultiColumn): adapt to change to
490 * paragraph_pimpl.C (markErased): add bool argument and handle it.
491 Also make sure to mark insets recursively.
492 (rejectChange, erase): be recursive
494 * paragraph.C (markErased): add bool argument.
495 2005-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
497 * lyxfind.C (findNextChange): tiny cleanup.
499 * BufferView_pimpl.C (trackChanges): avoid crash when stopping
500 change tracking with the cursor in an inset; make sure the first
501 change is not skipped.
503 2005-09-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
505 * CutAndPaste.[Ch]: new methods dirtyTabularStack and
506 tabularStackDirty to work around bug 1919 (tabular needs
507 to know whether its own cell paste buffer or the one of
509 * CutAndPaste.C: mark tabular_stack_ clean after copy.
511 2005-08-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
513 * text2.C (cursorEnd): check for empty text (fixes bug 1998)
515 2005-08-19 Lars Gullik Bjønnes <larsbj@gullik.net>
517 * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
518 use old deleteion algorithm when changetracking is on.
520 2005-08-18 Martin Vermeer <martin.vermeer@hut.fi>
522 * messages.C (get): add debug output.
524 2005-08-02 Martin Vermeer <martin.vermeer@hut.fi>
526 * text.C (cursorX): fix bug 1965: cursor movement at
527 line end broken in RtL.
528 (drawSelection): fix bug 1970: drawing of single-line
529 selection broken for RtL.
531 2005-07-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
535 * dociterator.h (clear, push_back, pop_back): change from
538 * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
539 and changed to just return the value of the item depth; take a
540 ParIterator as argument; take the itemdepth at outer nesting level
541 in account if necessary; cleanup and comment the code.
542 (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
543 and changed to just return true if reset is needed; take a
544 ParIterator as argument; cleanup and comment the code.
545 (setCounter): adapt to above changes.
547 2005-07-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
549 * text3.C (dispatch): make debug message optional
551 2005-08-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
553 * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
556 2005-08-02 Martin Vermeer <martin.vermeer@hut.fi>
558 * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
560 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
562 * text.C (insertChar):
563 * text2.C (deleteEmptyParagraphMechanism): take care whether
564 a blank has been deleted (in change tracking mode) (bug 1254).
566 2005-07-20 John Levon <levon@movementarian.org>
568 * text2.C (insertStringAsLines): remove old dubious code,
571 2005-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
573 * MenuBackend.C (expandToc): use Floating::listName() as title of
576 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
578 * toc.[Ch]: Do not use translatable strings (bug 1870).
580 2005-07-20 John Levon <levon@movementarian.org>
582 * tabular.C: fix 1748 - setting multicolumn adds
583 left line to the first cell
585 2005-07-19 Lars Gullik Bjønnes <larsbj@lyx.org>
588 * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
591 2005-07-18 Lars Gullik Bjønnes <larsbj@lyx.org>
593 * messages.C: supress some lyxerr messages
595 2005-07-18 Juergen Vigna <jug@lyx.org>
597 * text.C (drawSelection): honor boundary when asking for cursorX.
599 2005-07-17 José Matos <jamatos@fc.up.pt>
601 * tabular.C (recalculateMulticolumns): fix handling of one column
604 2005-07-17 Juergen Vigna <jug@lyx.org>
606 * text.C (Delete, backspace): fixed so that paragraph with the
607 same layout can be merged by Delete/Backspace.
609 2005-07-17 Michael Schmitt <michael.schmitt@teststep.org>
611 * text.C (readParToken): fix spelling.
613 2005-07-17 Martin Vermeer <martin.vermeer@hut.fi>
615 * text2.C: fix counter update for DEPM problem reported by
618 2005-07-17 Juergen Vigna <jug@lyx.org>
620 * BufferView_pimpl.C (setBuffer): save/restore the
621 cursor/selection when switching buffers
624 * buffer.C (saveCursor): add saveDocumentIterators to save the
625 cursor when switching buffer.
627 2005-07-17 Michael Schmitt <michqel.schmitt@teststep.org>
630 * buffer.C: clarify message
632 2005-07-17 Lars Gullik Bjønnes <larsbj@lyx.org>
634 * dociterator.C (DocIterator): fix initialization order
636 2005-07-17 Juergen Vigna <jug@lyx.org>
638 * text2.C (cursorHome):
639 * text.C (drawSelection, cursorX):
640 * dociterator.C (textRow): add boundary to getRow() call
642 * paragraph.C (getRow): implementation of below
644 * paragraph.h: add parameter boundary for getRow() function
646 2005-07-17 José Matos <jamatos@fc.up.pt>
650 * tex-strings.[Ch]: new file format, remove support for a4.sty,
651 a4wide.sty and a4widemargins.
653 2005-07-17 Juergen Vigna <jug@lyx.org>
655 * text2.C (cursorLeft): fix one of error
657 2005-07-17 Juergen Vigna <jug@lyx.org>
659 * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
661 more fixes for boundary handling
663 * text3.C (dispatch): don't reset cursor if boundary has changed
666 2005-07-16 Juergen Vigna <jug@lyx.org>
668 * text2.C (getColumnNearX): hopefully got it right now,
669 check if we are on column 0 for special case.
671 2005-07-16 Juergen Vigna <jug@lyx.org>
673 * text2.C (getColumnNearX): handle special case Newline Inset
675 * text.C (singleWidth): Just remove bogus check
677 2005-07-16 Michael Schmitt <michael.schmitt@teststep.org>
679 * funcrequest.C (split): avoid reading uninitialized char c
681 2005-07-16 José Matos <jamatos@fc.up.pt>
687 * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
688 single papersize variable.
690 2005-07-16 Juergen Vigna <jug@lyx.org>
692 * text3.C (dispatch): honor boundary when checking if a cursor
693 movement has been done
695 * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown)
696 (setCursor, setCursorIntern): fix cursor movement with boundary
698 2005-07-16 Juergen Vigna <jug@lyx.org>
700 * text.C (currentState): output the actual Boundary
702 2005-07-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
704 * factory.C (createInset): fix bad logic for tabular creation
706 2005-07-16 Lars Gullik Bjønnes <larsbj@lyx.org>
708 * lyx_main.C (init): change some reLyX reference to tex2lyx
710 2005-07-16 Juergen Vigna <jug@lyx.org>
712 * dociterator.C (DocIterator): initialize boundary
714 2005-07-16 Juergen Vigna <jug@lyx.org>
716 * text2.C (getColumnNearX): Consider rows without trailing blank.
718 2005-07-16 André Pönitz <poenitz@gmx.net>
720 * lyxfont.h: Change order of declarations to give the compiler
721 a better chance to inline things
723 * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
724 questions on unsaved docs for better scritability
726 2005-07-16 André Pönitz <poenitz@gmx.net>
728 * paragraph.h (getChar): remove asserts as the same kind of security
729 can be achieved by using a suitable standard library implementation
730 and the function was in the critical path (25.9% in profiler)
732 2005-07-16 Juergen Vigna <jug@lyx.org>
734 * cursor.C (bruteFind2):
735 * bufferview_funcs.C (coordOffset):
736 * text.C (cursorX,cursorY): Handle cursor position after last char
737 in row before a inset which uses a whole row.
739 2005-07-15 José Matos <jamatos@lyx.org>
741 * output_plaintext.[Ch] (writeFileAscii): control reference title
743 (asciiParagraph): noparbreak was already deal and was incorrectly
746 2005-07-15 Juergen Vigna <jug@lyx.org>
748 * lyxfunc.C (dispatch): save and restore the cursor after a
751 2005-07-15 Lars Gullik Bjønnes <lgb@tandberg.net>
753 * text.C (backspace): bug 806 for empty keepempty paragraphs we
754 change the layout to default before letting DEPM do its thing.
756 * paragraph_funcs.C (breakParagraph): dont reset the layout on
759 * text.C (setCursorFromCoordinates): add a debug statement
761 * text2.C (getColumnNearX): bug 1825 make sure that we don't
762 return a pos that is not on the row
764 * output_latex.C (TeXDeeper): get rid of potential dereferencing
765 of past the end iterator
767 2005-07-14 André Pönitz <poenitz@gmx.net>
769 * undo.C (recordUndoFullBuffer): implement undo for
772 2005-07-14 André Pönitz <poenitz@gmx.net>
774 * cursor.C (setSelection): open insets when selection is set there
775 to avoid crashs with cold coord cache
777 2005-07-14 André Pönitz <poenitz@gmx.net>
779 * trans_mgr.C (insert): move cursor to the right after inserting
782 2005-07-14 Lars Gullik Bjønnes <larsbj@lyx.org>
784 * BufferView_pimpl.C (update): dampen some of the debug blabbering
785 * factory.C (readInset): ditto
786 * text.C, text2.C: ditto
788 2005-06-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
790 * buffer.C: format incremented to 242. There is no file format per
791 se, but the "frenchb" language has been removed from lib/language
792 and has to be translated to "french" by lyx2lyx.
794 2005-07-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
796 * cursor_slice.h, dociterator.h: add some documentation
797 * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
799 2005-07-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
801 * text.C (leftMargin): do not add identation to display() style
802 insets, because they are always centered (bug 1293).
804 2005-07-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
806 * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
807 formatted_time methods in support/lyxtime.
809 2005-07-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
811 * toc.[Ch]: new method getGuiName, which is used by the frontends
812 to set the toc combo (fixes bug 1870). Make TOC string translatable.
814 2005-07-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
816 * dociterator.[Ch]: implement operator==(StableDocIterator const &,
817 StableDocIterator const &)
818 * undo.C (recordUndo): use the above instead of cell.size() comparison
819 (fixes bug 1808; instructed by Andr�.
821 2005-06-29 Martin Vermeer <martin.vermeer@hut.fi>
824 * dociterator.h: Fix the assert when copying rows/cols in math
826 2005-06-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
828 * BufferView_pimpl.C:
830 * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
832 * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
833 (findInset): new functions, refactored from goto Inset that return
834 the position of a certain inset without setting the buffer's cursor
836 (gotoInset): rewrite to call findInset and then set the cursor
839 2005-06-16 Angus Leeming <leeming@lyx.org>
841 * lyxrc.C (output, read): wrap all input and output of paths with
842 calls to os::internal_path and os::external_path, respectively.
843 (output): wrap bind_file inside quotes.
845 * format.C (view): enable the viewer to use the '$$s' placeholder.
847 2005-06-16 Georg Baum <Georg.Baum@post.rwth-aachen.de>
849 * LColor.[Ch] (getFromLaTeXName): new
851 2005-06-16 Martin Vermeer <martin.vermeer@hut.fi>
853 * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
855 2005-06-14 Angus Leeming <leeming@lyx.org>
857 * lyx_main.C (init): ensure that the LyX binary dir is the first
858 element in the PATH on non-POSIX builds.
860 2005-06-11 Georg Baum <Georg.Baum@post.rwth-aachen.de>
862 * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
864 2005-06-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
866 * rowpainter.C (paintInset, paintHebrewComposeChar)
867 (paintArabicComposeChar, paintChars): add a LyXFont argument.
868 (paintChars): use getFontSpan to reduce calls to getFont to a
869 minimum; use Paragraph::lookupChange instead of isXXXText.
870 (paintForeignMark): rename LyXFont argument.
871 (paintFromPos): pass a LyXFont object to the various paintXXX
874 * FontIterator.C (FontIterator, operator++): use
875 Paragraph::getFontSpan
877 * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
878 version that returns the font span as a pair.
880 2005-06-09 Angus Leeming <leeming@lyx.org>
882 * converter.C (convert): Don't forget "outfile = real_outfile" as
883 the final step in a conversion where the input and output file names
884 are the same. Otherwise, future conversion steps won't work...
886 2005-06-09 Angus Leeming <leeming@lyx.org>
888 * lyxsocket.C: remove stub code as it isn't needed by
889 MinGW/MinSYS anyway. Let's see if the MSVC people scream...
891 2005-06-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
893 * lyx_main.C (parse_execute): Fix last fix: is_gui = false
894 effectively disabled -x
896 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
898 * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
899 when it actually makes sense.
901 2005-06-06 Martin Vermeer <martin.vermeer@hut.fi>
903 * BufferView_pimpl.C: revert to showCursor in connection with
904 Lars's front-end stack
906 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
908 * text.C (redoParagraph): move cursor right after a bibitem
911 * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
913 2005-06-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
915 * buffer_funcs.C (bufferErrors): fix computation of the end of an
918 2005-05-31 Martin Vermeer <martin.vermeer@hut.fi>
920 * BufferView.[Ch] (update):
921 * BufferView_pimpl.[Ch] (update, metrics):
922 * dimension.h (operator==):
923 * lyxfunc.C (dispatch):
924 * metricsinfo.h (ViewMetricsInfo):
925 * rowpainter.C (paintText):
927 * text.C (redoParagraph):
928 * text3.C (dispatch): Make LyX only repaint current paragraph in
929 case of character insert --> speedup. Also fix cursor draw
932 2005-05-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
934 * bufferview_funcs.C (gotoInset): fix the wrap-around code to
935 avoid a crash (bug 1891)
937 2005-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
941 * text2.C (getStringToIndex): constify cur argument.
943 * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
944 argument has been given
945 (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
946 try to invoke LFUN_INSET_APPLY).
948 * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
949 if no inset was created by doInsertInset
950 (doInsertInset): return true if an inset has been inserted.
952 2005-05-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
954 * vspace.C (asGUIName): new method. A version of the space
955 suitable for showing on screen.
957 2005-05-20 Michael Schmitt <michael.schmitt@teststep.org>
960 * lyxrc.C: rename "ASCII" to "Plain Text"
962 2005-05-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
964 * buffer_funcs.C (expandLabel): take a Buffer as argument;
965 translate the labelstring.
966 (setCounter): translate labelstring as needed.
968 * output_docbook.C (makeCommand): fix expandLabel invokation
970 2005-05-14 Michael Schmitt <michael.schmitt@teststep.org>
972 * BufferView.C: fix dialog title
974 2005-05-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
976 * lyx_main.C (priv_exec): fix logic error with help from Angus
977 * lyx_main.C (parse_execute): set is_gui = false and remove now
978 obsolete comment about a segfault
980 2005-05-18 Angus Leeming <leeming@lyx.org>
982 * buffer.C (readFile): Quote all file names passed to lyx2lyx.
984 2005-05-12 Martin Vermeer <martin.vermeer@hut.fi>
986 * tabular.[hC]: added setCellInset to fix tabular paste.
988 2005-05-11 Lars Gullik Bjønnes <larsbj@gullik.net>
990 * buffer.C (save): check if destination is writable before trying
993 2005-05-11 Martin Vermeer <martin.vermeer@hut.fi>
995 * BufferView_pimpl.C (update): fix processEvents -caused update
998 2005-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1000 * buffer_funcs.C (setCounter): fix test for numbering of
1003 * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
1004 depth correctly; use optional argument when it exists
1006 * lyxtextclass.C: remove unused MaxCounterTags enum
1007 (Read): compute min_toclevel_ and max_toclevel_ after reading class.
1008 (max_toclevel, min_toclevel): new methods.
1010 * MenuBackend.C (expandToc2): fix case where depth is smaller than
1011 the smallest depth in toc.
1013 * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
1014 layouts that should not appear in a table of contents.
1016 2005-05-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1018 * cursor.h (undispatched, noUpdate): add comments from Andr�
1019 2005-05-07 Michael Schmitt <michael.schmitt@teststep.org>
1023 * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
1025 2005-05-07 André Pönitz <poenitz@gmx.net>
1027 * cursor.[Ch] (leaveInset): new function
1029 2005-05-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1031 * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
1033 2005-05-04 Angus Leeming <leeming@lyx.org>
1035 * lyxfunc.C (getStatus): disable the spell checker dialog if
1036 none of USE_[AIP]SPELL are defined.
1038 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
1040 * tabular.C (setWidthOfCell): remove obsolete comment
1042 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
1044 * paragraph.C (bibitem):
1045 * buffer_funcs.C (setCounter):
1046 * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
1048 2005-05-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1050 * text3.C (getStatus): immediately return after setOnOff
1052 * rowpainter.C: fix drawing of appendix start
1054 2005-05-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1056 * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
1057 SwitchBetweenClasses and remove the unused return value.
1058 Handle character styles, too
1060 2005-05-03 Martin Vermeer <martin.vermeer@hut.fi>
1062 * factory.C (createInset): handle undefined character styles
1064 2005-05-02 Angus Leeming <leeming@lyx.org>
1066 * buffer.C: protect the #include of utime.h with a preprocessor
1069 2005-05-02 Angus Leeming <leeming@lyx.org>
1071 * lyx_cb.C: artificially define fork() on Windows as a no-op failing
1072 function so that auto-saving works, albeit in a blocking manner.
1074 * Makefile.am: make compilation of the client sub directory, of
1075 aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
1076 on conditionals set at configure time.
1078 * SpellBase.[Ch]: no longer an abstract base class. Instead,
1079 it can be compiled in its own right but has no-op functionality.
1081 * aspell.C, pspell.C: remove preprocessor guards. The files should
1082 be compiled only if the necessary functionality exists.
1084 * lyxserver.C, lyxsocket.C: disable on Windows.
1086 2005-05-01 Martin Vermeer <martin.vermeer@hut.fi>
1088 * text.C (leftMargin): Fix the parindent use bug (1764)
1091 2005-04-28 Michael Schmitt <michael.schmitt@teststep.org>
1093 * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
1096 2005-04-25 Angus Leeming <leeming@lyx.org>
1104 include <config.h> in .C files, not .h ones.
1106 protect headers inside preprocessor guards.
1108 2005-04-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1110 * FuncStatus.h (StatusCodes): document
1112 2005-04-21 André Pönitz <poenitz@gmx.net>
1114 * FuncStatus.h (enabled, onoff): document
1116 2005-04-19 Angus Leeming <leeming@lyx.org>
1118 * BufferView_pimpl.C (cursorToggle): no longer test whether
1119 any child processes have been reaped before calling
1120 handleCompletedProcesses().
1122 2005-04-19 Martin Vermeer <martin.vermeer@hut.fi>
1124 * text3.C (dispatch): fix, finally fix, the language problem in
1125 new lyxtexts, without disabling on-the-fly font changes (Helge's
1128 2005-04-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1130 * text3.C (dispatch): set cursor on double/triple click events
1133 2005-04-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1135 * lyxfunc.C (actOnUpdatedPrefs): avoid warning
1136 (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
1138 * rowpainter.C (paintFirst): simplify the code a little bit. In
1139 particular, remove the test for secnumdepth.
1140 * text.C (setHeightOfRow): only allocate space for chapter number
1141 when updateCounters provided an actual label, instead of looking
1142 at secnumdepth directly.
1144 * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
1146 * buffer_funcs.C (setCounter): only number LABEL_COUNTER
1147 paragraphs when secnumdepth is large enough or, for environments,
1148 when they are not the first in a sequence.
1150 2005-04-17 Angus Leeming <leeming@lyx.org>
1152 * buffer.C (makeLaTeXFile): replace code to manipulate a path
1153 containing space and '~' characters with a call to latex_path().
1155 2005-04-17 Angus Leeming <leeming@lyx.org>
1157 * converter.C (convert): protect all args of convertDefault.sh
1160 2005-04-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1162 * text3.C (dispatch): change the layout to "Caption" after inserting
1165 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
1167 * text3.C (dispatch): fix language problem in newly created
1168 textinsets (and main text) in non-english docs
1170 2005-04-13 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1172 * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
1173 * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
1174 * text3.C (getStatus): disable LFUN_INSET_MODIFY
1176 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
1180 * text2.C (getFont):
1181 * rowpainter.C (getFont): Fix metrics bug introduced by inset
1184 2005-04-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1186 * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
1187 output of \item arguments without trailing text.
1189 2005-04-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1191 * FontIterator.C (operator*): avoid a copy of the font.
1193 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
1195 * rowpainter.C (getFont): fix language bug from previous fix
1197 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
1199 * rowpainter.C (RowPainter, getFont): fix font inside inset
1202 2005-04-06 Martin Vermeer <martin.vermeer@hut.fi>
1204 * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
1205 preventing inserted font, deco, delim insets jumping to start of
1208 2005-03-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1210 * lyxfunc.C (dispatch): translate message before sending it to the
1213 2005-03-29 Angus Leeming <leeming@lyx.org>
1215 * lyx_main.C (priv_exec): call os::internal_path on each file passed
1216 to LyX on the command line.
1218 2005-03-25 Stephan Witt <stephan.witt@beusen.de>
1220 * vc-backend.C: use QuoteName to protect file names wherever
1223 2005-03-27 Martin Vermeer <martin.vermeer@hut.fi>
1226 * BranchList.h: fix bugs 1844,1845: document settings don't
1229 2005-03-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1231 * lyxrc.C (setDefaults, read, output, getDescription): add support
1232 for tex_allows_spaces.
1234 * exporter.C (Export): allows files in directory containing spaces
1235 if tex_allows_spaces is true.
1237 * buffer.C (makeLaTeXFile): if the document path contains spaces,
1238 output it in double quotes.
1240 2005-03-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1242 * rowpainter.C: use default text height for drawing change tracker
1245 2005-03-21 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1247 * lyx_main.C: fix binding of tabulator key (especially S-Tab).
1249 2005-03-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1251 * lyx_main.C (queryUserLyXDir): fix logic when LyX support
1252 directory is missing.
1254 2005-03-11 Martin Vermeer <martin.vermeer@hut.fi>
1256 * text2.C: fixed the fix, extended to other case.
1258 2005-03-08 Martin Vermeer <martin.vermeer@hut.fi>
1260 * text2.C: fix for cursor up/down stuck in math [bug 1792]
1262 2005-03-07 Alfredo Braunstein <abraunst@lyx.org>
1264 * text2.C (cursorUp): get rid of a crash
1265 * text.C (x2pos): add an assert
1267 2005-03-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1269 * lyxfunc.C (getStatus): fix warning when assertions are disabled
1273 * dociterator.C: include <boost/current_function.hpp>, which is
1274 needed when assertions are disabled.
1276 2005-03-05 Johnathan Burchill <jkerrb@users.sourceforge.net>
1278 * text2.C: fix for stuck cursor when traversing two
1279 consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
1281 2005-02-25 Andreas Vox <avox@arcor.de>
1283 * output_docbook.C (makeParagraph): suppress trailing newline
1284 after a run of paragraphs
1286 2005-02-28 Johnathan Burchill <jkerrb@users.sourceforge.net>
1288 * paragraph.C: fix for confused change tracker when pasting
1289 text that begins with a lineseparator. [bug 1827]
1290 (setChange(0, Change::INSERTED);)
1292 * paragraph_funcs.C: fix for lost changes on triple-paste
1293 in change tracking mode [bug 1827] (par.setChange()).
1295 2005-02-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1297 * text2.C (updateCounters, setCounter, expandLabel): move to
1300 * buffer_funcs.C (updateCounters): turn into a free standing
1301 function and add a buffer parameter. Remove dead code for tracking
1303 (setCounter): change into a free-standing function which gets a
1304 dociterator as argument. Use this iterator to fix captions in a
1305 simple way. When no float is found above the caption, use the
1306 labelstring of the caption layout as default.
1308 * text.C (breakParagraph, backspace):
1309 * text2.C (init, setLayout, changeDepth):
1310 * text3.C (dispatch):
1311 * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
1314 * dociterator.C (forwardPar): make it much faster by calling
1315 forwardPos() only when really necessary.
1317 * output_docbook.C (makeCommand): adapt to expandLabel move.
1319 * cursor.C: remove unused variable
1321 2005-02-24 Johnathan Burchill <jkerrb@users.sourceforge.net>
1323 * paragraph_funcs.C: fix crash when pasting insets in change
1324 tracking mode [bug 1277] (honour change type in moveItem).
1326 2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1328 * LaTeX.C (scanLogFile): recognize pdfTeX warnings
1330 2005-02-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1332 * BufferView.C (setCursor): change to use a DocIterator.
1333 (gotoLabel): use BufferView::setCursor (other part of bug 781).
1334 (putSelectionAt): adapt to BufferView::setCursor change.
1336 * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
1337 moved here from LyXText and rewritten to use proper cursor
1338 methods. Fixes bug 1787, 616 and 835.
1340 * BufferView_pimpl.C (restorePosition): set the cursor correctly
1341 when inside an inset (part of bug 781).
1342 (dispatch): adapt to change of BufferView::setCursor.
1343 (getStatus, dispatch): handle LFUN_GOTOERROR,
1344 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1346 * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
1347 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1348 * text3.C (gotoNextInset, gotoInset): removed.
1350 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1352 * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
1354 2005-02-15 Angus Leeming <leeming@lyx.org>
1356 * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
1357 can be used meaningfully in a comparison.
1359 2005-02-13 André Pönitz <poenitz@gmx.net>
1361 * bufferview_funcs.C (coordOffset): improve cursor drawing
1363 2005-02-13 André Pönitz <poenitz@gmx.net>
1365 * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
1366 * Cursor.C (dispatch): use fixIfBroken
1367 * lyxfunc.C (getStatus): use fixIfBroken
1369 2005-02-15 Angus Leeming <leeming@lyx.org>
1371 * lyx_main.C (error_handler):
1373 * lyxrc.C (setDefaults):
1375 #include "environment.h".
1377 * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
1379 2005-02-15 Angus Leeming <leeming@lyx.org>
1381 * lyxserver.C (startPipe): squash MSVC warning "local variable
1382 'fd' used without having been initialized".
1384 2005-02-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1386 * BufferView_pimpl.C: revert accidental commit.
1388 2005-02-14 André Pönitz <poenitz@gmx.net>
1390 * dociterator.[Ch]: new member forwardPosNoDescent(),
1391 which doesn't enter nested insets.
1392 * text2.C (setFont): use forwardPosNoDescent() instead
1393 of ForwardPos() (fixes crash on font change).
1395 2005-02-13 Angus Leeming <leeming@lyx.org>
1397 * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
1398 only if lyxrc.path_prefix is not empty.
1400 2005-02-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1402 * bufferparams.C (readGraphicsDriver): prevent crash
1404 2005-02-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1406 * text2.C (setCounter): check for inInset() == 0
1408 2005-02-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1410 * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
1411 but use update() to get correct screen display; use convert
1412 instead of istringstream.
1413 (getStatus): handle LFUN_GOTO_PARAGRAPH
1415 * lyxfunc.C (dispatch, getStatus): do not handle
1416 LFUN_GOTO_PARAGRAPH here.
1418 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1420 * text3.C (dispatch): size() -> depth()
1422 * text2.C: remove some debug output
1424 * paragraph.C: ws changes only
1426 * lyxfunc.C (getStatus): size() -> depth()
1428 * dociterator.h (clear, push_back, pop_back, internalData,
1429 operator[], resize, empty): new functions
1430 Make StableDocIterator and operator== be friends. Don't inherit
1431 from std::vector use a privat class variable slices_ instead.
1434 * dociterator.C: update because of not inheriting from std::vector
1435 anymore. Call explictly to slices_ instead. Use depth() instead of
1436 size() and top() instead of back()
1438 * cursor.C: chagne size() -> depth and back() -> top(). Also
1439 remove some direct operator[](i) calls in favour of foo[i]
1440 (getFont): remove some dead code
1442 * bufferview_funcs.C (coordOffset): size() -> depth()
1444 * buffer.C: ws changes only
1446 * CutAndPaste.C (eraseSelection): back() -> top()
1448 * BufferView_pimpl.C (selectionRequested): back() -> top()
1450 * BufferView.C (setCursor): size() -> depth()
1452 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1454 * text3.C (cursorPrevious): return true if depm changed something
1456 (dispatch): rename sl to oldTopSlice, remove moving use the new
1457 NoUpdate func attrib instead. Make sure that needsUpdate is set
1458 for function that have NoUpdate, but where depm might have changed
1461 * text2.C (cursorLeft): make us return true if depm changed
1463 (cursorRight): ditto
1464 (cursorUpParagraph): ditto
1465 (curosrDownParagraph): ditto
1466 (cursorUp, cursorDown): ditto, make sure to read comments in code
1467 (deleteEmptyParagraphMechanism): remove an assert, also return
1468 true if just a single char was deleted.
1470 * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
1471 cursor that we modify, to avoid modifying an active cursor before
1472 we call setCursor. This allows depm to run. Also return true if
1473 depm deleted something.
1475 * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
1476 cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
1477 cursorDownParagraph, cursorPrevious and cursorNext, return true if
1478 something was changed in the buffer because of them (ie. depm run)
1480 * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
1481 debug messages. Make update by default be false. Make sure that
1482 the result of update is retained throught several calls down to
1485 * LyXAction.h: add a new func_attrib: NoUpdate
1487 * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
1488 LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
1489 LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
1491 (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
1493 2005-02-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1495 * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
1496 bv_->owner(), bv_->buffer() by direct references to the private
1498 (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
1499 (getStatus): isSavedPosition() is in BufferView::Pimpl.
1500 (fitCursor): center() is in BufferView::Pimpl.
1501 (getStatus, trackChanges, dispatch): no need for a temporary buf
1503 (fitCursor, workAreaDispatch): use workarea().workheight()
1505 2005-02-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1507 * CutAndPaste.C (pasteSelectionHelper): fix a crash
1509 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1511 * buffer.C: format up to 241.
1512 * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
1513 break if pasting into ERT
1514 * lyxfunc.C (getStatus): suppress mathpanel and
1515 LFUN_DIALOG_SHOW_NEW_INSET in ERT
1517 2005-02-01 Angus Leeming <leeming@lyx.org>
1519 * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1521 2005-02-01 Angus Leeming <leeming@lyx.org>
1523 * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1524 calling fs::is_directory().
1526 2005-01-31 Angus Leeming <leeming@lyx.org>
1528 * lyx_main.C (priv_exec): specify explicitly the relative location
1529 of the top level build directory when run in-place.
1531 2005-01-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1533 * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1534 LyXText containing the cursor, not the top-level one.
1536 * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1538 (insertStringAsLines): rename par to pit; use temporary variable
1539 par to hold a Paragraph; do not store par.layout() in a variable,
1540 since the pointer may die when breaking paragraphs; pass pars to
1541 breakParagraph() instead of Buffer::paragraphs().
1543 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1545 * lyxlex_pimpl.h: #include <fstream>.
1547 * BufferView.[Ch] (getLyXText): add a const version.
1549 * BufferView_pimpl.C: add debug aids.
1554 * paragraph_funcs.h: add commentary explaining what the class does.
1557 * coordcache.[Ch]: add lots of commentary.
1558 (startUpdating, doneUpdating): debug aids.
1559 (arrays, insets, parPos, getParPos): accessors to private data.
1561 * cursor_slice.[Ch] (text): add a const version.
1562 * dociterator.[Ch] (text, innerText): add const versions.
1564 * lyxtext.h (breakParagraph): change the keep_layout arg to a
1567 * paragraph.C (getRow, pos2ros): add asserts.
1569 * paragraph.h: add commentary. Lots of.
1571 * paragraph.[Ch] (metrucs, draw): removed.
1574 * rowpainter.[Ch]: const-correct changes.
1576 * text.C: various obvious clean-ups. Removal of ancient cruft.
1579 2005-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
1581 * vc-backend.C (find_file): rewrite to use boost.filesystem
1584 * main.C (main): set default name check for boost.filesystem to
1587 * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1590 (actOnUpdatedPrefs): ditto
1592 * lyx_main.C (init): rewrite to use boost.filesystem
1593 (queryUserLyXDir): ditto
1595 * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1596 (getContentsOfAsciiFile): ditto
1598 * lastfiles.C (readFile): rewrite to use boost.filesystem
1600 * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1602 * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1603 (loadLyXFile): ditto
1605 * buffer.C (Buffer): adjust for destroydir
1606 (getLogName): rewrite to use boost.filesystem
1607 (setFileName): ditto
1608 (save): use fs::copy_file (from fs_extras)
1610 * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1612 * LaTeX.C (run): rewrite to use boost.filesystem
1613 (scanAuxFiles): ditto
1614 (handleFoundFile): ditto
1616 2005-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1618 * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1620 * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1622 2005-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1624 * lyxlayout.[Ch]: change some vars from float to double
1626 * buffer.C (readFile): make a local var const
1628 * Several files: use convert<> instead of atoi,strToXXX and friends
1630 2005-01-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1632 * LaTeXFeatures.[Ch]: Add a static list packages_ that
1633 holds the contents of packages.lst. New functions getAvailable
1634 and isAvailable to parse and check that list, resp.
1638 * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1640 * bufferparams.[Ch]: new param output_changes.
1642 * Buffer.C: increase file format to 240.
1643 Use output_changes and isVailable.
1647 * paragraph_pimpl.C: Use output_changes and isVailable.
1649 2005-01-23 Angus Leeming <leeming@lyx.org>
1651 * output_latex.C: #include "insetbibitem.h", rather than
1652 forward declare function bibitemWidest.
1654 2005-01-21 Andreas Vox <vox@isp.uni-luebeck.de>
1656 * lyx_main.C (init): make it compile on the Mac.
1658 2005-01-20 Angus Leeming <leeming@lyx.org>
1660 * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1661 (setLyXMisc): (char string literal) != (char string literal) is
1662 performing a comparison on the addresses. Convert one operand
1663 explicitly to string to guarantee expected behaviour.
1666 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1669 * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1671 * output_plaintext.C: remove unneeded #include gzstream.h.
1673 2005-01-20 Angus Leeming <leeming@lyx.org>
1675 * SpellBase.h: rename some of the elements of the Result enum.
1682 * pspell.C (check): ditto
1684 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1686 * buffer.C: add #include <fstream>.
1688 * lyx_main.C (init): Compile fix.
1690 * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1692 2005-01-20 Angus Leeming <leeming@lyx.org>
1694 * mover.h: change commentary to reflect the changed meaning of
1695 the $$s placeholder.
1697 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1699 * output_linuxdoc.C (linuxdocParagraphs): silence warning
1701 * lyxfind.C (MatchString::operator()): remove bogus semicolon
1703 2005-01-20 Angus Leeming <leeming@lyx.org>
1705 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1706 printing diagnostic data by not dereferecing an iterator past the
1709 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1711 * buffer.C (readHeader): use "&&" rather than "and".
1713 * lyxserver.h (inPipeName, outPipeName): make these const.
1715 2005-01-19 Angus Leeming <leeming@lyx.org>
1717 * lyx_main.C (error_handler, init): protect SIGHUP with
1718 #ifdef SIGHUP guards.
1720 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1722 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1724 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1726 * text.C (setHeightOfRow): add a margin at the top and bottom of
1727 the document (bug 1761)
1729 2005-01-17 Angus Leeming <leeming@lyx.org>
1731 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1732 with "python ". Workaround for a brain-dead Windows.
1734 2005-01-16 Angus Leeming <leeming@lyx.org>
1736 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1737 for MacOSX and Windows to use prependEnvPath.
1738 Strip out the hard-coded block to add elements to the PATH for
1739 MacOSX and replace it with a call to prependEnvPath using the
1740 contents of LyXRC::path_prefix.
1741 (queryUserLyXDir): strip out the code to run reconfigure, instead
1742 returning a boolean indicating the necessity to do so.
1743 (reconfigureUserLyXDir): contains the code to reconfigure the
1744 user support directory. Is now called after the various LyXRC data
1745 files have been read.
1747 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1749 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1751 * converter.[Ch] (convert): take a new parameter try_default. Use
1752 a default converter (imagemagick) if try_default is true.
1754 2005-01-13 Angus Leeming <leeming@lyx.org>
1756 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1757 os::cygwin_path_fix.
1758 (write): output LyXRC::cygwin_path_fix as necessary.
1760 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
1763 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1765 2005-01-12 Angus Leeming <leeming@lyx.org>
1767 * lyx_main.C (init): set the PATH variable to include the
1768 directory containing the LyX binary when running on Mac or Windows.
1770 2005-01-12 Angus Leeming <leeming@lyx.org>
1772 * lyx_main.C (init): remove cruft that purports to set the locale
1773 dir. It doesn't and is not needed anyway.
1775 2005-01-10 Angus Leeming <leeming@lyx.org>
1777 * Makefile.am: remove the lyx_main.C special casing.
1779 * BufferView_pimpl.C:
1785 * messages.C: use support/package.h to provide the paths to the
1786 various directories used by LyX.
1788 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1790 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1791 layout if pasting into an empty paragraph)
1793 2005-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
1795 * tex-accent.C: add <string>
1797 2005-01-06 José Matos <jamatos@lyx.org>
1799 * ParagraphParameters.C (write): put every parameter in its own line.
1800 * paragraph.C (write): reduce number of consecutive empty lines exported.
1801 * buffer.C (LYX_FORMAT): increase file format to 239.
1803 2005-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1805 * everywhere: change support/tostr.h -> support/convert.h
1807 * tabular.C: make all write_attributes templates, tostr -> convert
1809 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1810 (emptyTag): and -> &&, and fix type for ret from getChar
1811 (getFirstWord): fix type for ret from getChar
1812 (onlyText): and -> &&
1813 (simpleDocBookOnePar): and not -> && !, fix type for ret from
1816 * toc.C (goTo, action):
1817 * text3.C (dispatch):
1818 * text.C (currentState):
1819 * tex-accent.C (DoAccent):
1822 * lyxfunc.C (menuNew):
1823 * lyxfinc.C (replace):
1824 * counters.C (laberItem):
1825 * bufferview_funcs.C (font2string):
1826 * bufferparams.C (writeFile):
1827 * buffer.C (readFile):
1829 * MenuBackend.C: tostr -> convert
1831 * LaTeX.C (runMessage): fix format
1832 (scanAuxFiles): tostr -> convert
1834 * BufferView_pimpl.C (savePosition): fix format
1835 (restorePosition): ditto
1838 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1840 * Spacing.[Ch]: New method getValueAsString().
1844 * ParagraphParameters.C:
1847 * text3.C: store/read spacing value as string.
1849 * rowpainter.C: change float value (spacing_val) to double.
1851 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1852 broken custom document spacing).
1854 2005-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
1856 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1857 namespace, also more use of temp references and const
1859 * cursor.[Ch] (getStatus): move to lyxfunc.C
1861 * bufferparams.C: reformat slightly
1863 * bufferview_funcs.C (font2string): constify arg
1869 * buffer_funcs.C: (many funcs): constify arg on function
1870 definitions, also make more local vars const, also add ASSERTS on
1873 * buffer.C (LYX_FORMAT): put const in correct place
1874 (many funcs): constify arg on function definitions, also make
1875 more local vars const
1877 * aspell_local.h: remove "struct" from typdef setup
1879 * aspell.C (check): make word_ok const
1880 (nextMiss): simplify slightly
1883 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1885 * lyxrc.[Ch]: store all float values as strings.
1886 use int (not float) for lyxrc.dpi.
1888 2005-01-04 Angus Leeming <leeming@lyx.org>
1890 * lyx_cb.C (Reconfigure):
1891 * lyx_main.C (queryUserLyXDir):
1892 to run the <system_lyxdir>/configure correctly on Windows, prefix
1893 the path to the script with "sh " when generating the string that
1894 is passed to system().
1896 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1898 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1900 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1902 * lyxlength.C (asLatexString): get rid of setprecision
1904 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1906 * text2.C (setLayout): remove unused variable endpit.
1907 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1909 * paragraph.C (onlyText): remove unused variable style.
1911 * cursor.C (bruteFind): remove unused variables beg and end.
1913 * Makefile.am (dist_noinset_DATA): not needed anymore
1915 * cheaders/*: remove.
1917 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1919 * text3.C: fix LFUN_MATH_MODE.
1921 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1923 * buffer_funcs.C (countWords): new function. Counts words between
1926 * BufferView_pimpl.C (getStatus, dispatch): handle
1929 * LyXAction.C (init):
1930 * lfuns.h: add LFUN_WORDS_COUNT.
1932 2004-12-19 Angus Leeming <leeming@lyx.org>
1934 * buffer.C (save): s/slashify_path/internal_path/.
1936 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1938 * lyxfind.C (findChange): do not search for end of pars, because
1939 the change tracker cannot handle this (fixes bug 1719).
1941 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
1943 * paragraph.[Ch] (autoBreakRows): remove
1945 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1947 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1948 avoid using the paragraph one
1950 * text2.C (LyXText, insertStringAsLines): adjust
1952 2004-12-16 Angus Leeming <leeming@lyx.org>
1956 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1958 2004-12-14 Angus Leeming <leeming@lyx.org>
1960 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1962 * bufferlist.C (emergencyWrite):
1963 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1966 2004-12-14 Angus Leeming <leeming@lyx.org>
1968 * main.C: (main): no longer pass pointers to os::init.
1970 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1972 * undo.C (textUndoOrRedo): simplify logic, fix a crash
1973 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1975 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1978 * text3.C: remove selection_possible global flag
1980 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1982 * text2.C (getSelectionSpan): remove
1983 (changeDepth, changeDepthAllowed): adjust
1985 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
1987 * Makefile.am (BOOST_LIBS): use boost variables
1989 2004-12-03 José Matos <jamatos@lyx.org>
1991 * buffer.C: format up to 238.
1993 2004-12-03 José Matos <jamatos@lyx.org>
1995 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1997 2004-12-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1999 * cursor.C (goUpDown): remove call to idxUpDown2
2001 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2003 * tabular.[Ch]: use size_t-like types for cell, row and column
2006 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2008 * lyxfunc.C (getStatus): do not lose previous information when
2009 calling BufferView::getStatus; do not set a default "Command
2010 disabled" message at the beginning, but just before returning.
2012 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2014 * cursor.h (getStatus): add better comment from src/cursor.C
2016 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2018 * text3.C (getStatus): return false when the lfun is not handled
2020 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2022 * broken_headers.h: remove
2024 * Makefile.am (lyx_SOURCES): remove broken_headers.h
2026 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
2028 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
2029 offset_ref accessors
2031 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
2032 top_y_, merge fitcursor with update
2033 (updateScrollbar, scrollDocView, fitCursor, center, update): new
2035 (metrics): introduce
2036 (workAreaDispatch): adapt to new coord scheme
2037 (redoCurrentBuffer): remove
2039 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
2041 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
2044 * coordcache.[Ch]: add paragraph cache and helpers
2046 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
2049 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
2050 (targetX, setTargetX): introduce
2052 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
2053 baseline -> ascent, as the rest of lyx
2055 * lyxtext.h: remove redoParagraphs, updateParPositions,
2056 fullRebreak, redoParagraphInternal. move dist to anon namespace in
2057 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
2058 have ascent/descent (ascent is ascent of first par)
2060 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
2063 * paragraph.[Ch]: unify dimension handling with the rest of lyx
2065 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
2067 * pariterator.C: fix infinite loop introduced in par->pit renaming
2069 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
2070 in insets and LyXText, draw two off-screen paragraphs using
2071 NullPainter, and adapt to new coord scheme
2075 * text3.C: adapt lfun handlers to the new coord scheme, which
2076 means: there's only guaranteed coord information for onscreen pars
2077 plus one above and one below. This implies that one can do search
2078 from y coordinates in the range [-1,workHeight]
2080 2004-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2082 * rename a lot of InsetOld to InsetBase
2084 2004-11-25 Angus Leeming <leeming@lyx.org>
2086 * BufferView_pimpl.C:
2088 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
2090 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2092 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
2093 call BufferView::getStatus if LCursor::getStatus did nothing
2094 (setStatusMessage, getStatusMessage): removed.
2096 * FuncStatus.C (message): new methods. Used to provide an error
2097 message indicating why a command is disabled.
2098 (clear, |=, FuncStatus): update for message.
2100 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2102 * lyxfunc.C (dispatch): always call sendDispatchMessage
2104 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
2107 * BufferView_pimpl.C:
2112 * cursor_slice.[Ch]:
2115 * paragraph_funcs.C:
2121 * undo.C: par->pit renaming
2123 2004-11-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2125 * tabular.C (cellstruct): use initialization, store a shared_ptr
2126 to insettext instead of the insettext directly, adjust to fit.
2127 (operator=): new function
2128 (swap): new function
2129 (rowstruct): use initialization
2130 (columnstruct): use initialization
2131 (ltType): use initialization
2134 * lyxlength.h (swap): new function
2136 * LColor.[Ch] (operator=): use the common semantics
2138 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2140 * lyxfind.C (findNextChange): update the bufferview after setting
2143 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2145 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
2146 number of InsetOptArgs has already been inserted.
2148 * output_latex.C (latexOptArgInsets): new method. This outputs all
2149 the optarg insets, up to the limit defined in the layout file.
2150 (optArgInset): removed
2151 (TeXOnePar): call latexOptArgInsets; correctly update texrow
2153 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2155 * paragraph.C (isLetter): remove special spellchecker-related
2156 code; return true also for digits
2157 (isWord, isKomma): remove
2159 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
2160 * lyxfind.C (MatchString()): use isLetter instead of isWord
2162 2004-11-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2164 * pariterator.h (operatir=): comment out un-implemented member
2167 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
2170 2004-11-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2172 * lyxfont.h: include LColor.h to satisfy concept checks.
2174 2004-11-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2176 * pariterator.h: add typdefs for value_type, difference_type,
2177 pointer and reference to satisfy concept checks. Also add default
2178 constructor for same reason.
2180 * pariterator.C (operator++): add post-increment operator to
2181 satisfy concept checks.
2183 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
2186 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
2188 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
2189 checks. Also rename base_type to BaseType to follow naming
2192 * FloatList.h: include Floating.h to satisfy concept checks.
2194 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2196 * lyxfunc.C (getStatus): when the origin of the request is menu or
2197 toolbar, and the LyXView does not have focus, do as if there was
2198 no buffer (bug 1720)
2200 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
2201 FuncRequest to individual entries of LFUN_SEQUENCE
2203 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2205 * output_latex.C (TeXOnePar): override runparams.moving_arg
2206 according to the needprotect value of the current paragraph (bug
2209 * paragraph.C (simpleTeXOnePar): no need to override
2210 runparams.moving_args here
2212 2004-11-14 John Spray <spray_john@users.sourceforge.net>
2214 * vspace.C: fix off-by-one-error, related to fix #1682
2216 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2218 * lengthcommon.C: a more general fix for bug 1682
2220 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
2222 * text.C (backspace): fix crash
2224 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2226 * format.[Ch] (getFormatFromFile): new method
2227 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
2229 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2231 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
2233 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2235 * lyxfunc.C (dispatch): remove the verbose argument
2236 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
2239 * kbmap.C (defkey): set the origin of func to KEYBOARD
2241 * MenuBackend.C (MenuItem):
2242 * ToolbarBackend.C (add): set the origin of func to UI
2244 * funcrequest.[Ch]: add origin member, which indicates which part
2245 of LyX requests an action
2247 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2249 * converter.C (move): don't lie in the error message
2250 * converter.h (isReachable, move): document
2252 2004-11-07 Lars Gullik Bjønnes <larsbj@gullik.net>
2254 * buffer.C: remove unused using lyx::support::atoi
2255 * paragraph_funcs.C: ditto
2257 2004-11-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2259 * bufferlist.C (exists): use bind and equal_to instead of
2262 * lyxtextclasslist.C (NumberOfClass): ditto
2264 * cursor.C (insert): use for_each instead of explicit for loop
2266 * bufferlist.C (getFileNames): use std::transform and
2267 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
2269 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
2272 * buffer.C (changeLanguage): use for_each instead of explicit for
2274 (hasParWithID): implement using getParFromID
2276 * LaTeXFeatures.C: ws change only
2278 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
2281 * BufferView_pimpl.C (trackChanges): use for_each instead of
2284 2004-11-04 André Pönitz <poenitz@gmx.net>
2287 * undo.C (textUndoOrRedo): fix crash when creating undo information.
2289 * dociterator.C (asDocIterator): use hard assert again.
2291 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2293 * lyxlength.C (asLatexString): rewrite so that it does not use
2296 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2298 * text3.C (specialChar, dispatch): make sure cursor moves to the
2299 right after inserting an inset
2301 2004-11-02 José Matos <jamatos@lyx.org>
2303 * output_docbook.C (docbook):
2304 * paragraph.C (getID):
2305 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
2306 garantee that the output is always legal.
2308 * tabular.C (docbook):
2309 * outputprams.[Ch]: remove mixed contents.
2311 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2313 * text2.C (setCounter): prevent endless loop
2315 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2317 * exporter.C (copyFile): use the mover instead of support::copy()
2318 * exporter.C (Export): pass format and latex name to copyFile()
2319 * exporter.h (addExternalFile): document
2320 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
2322 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2324 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
2326 2004-10-30 José Matos <jamatos@lyx.org>
2328 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
2329 text and no inset or font change. This allows to use CDATA
2330 sections just for the whole paragraph.
2332 2004-10-30 José Matos <jamatos@lyx.org>
2334 * paragraph.C (getFirstWord): remove unused variable.
2336 2004-10-30 José Matos <jamatos@lyx.org>
2338 * paragraph.C (getFirstWord): the content should always be escaped
2340 (simpleDocBookOnePar):
2341 * output_docbook.C (makeEnvironment): replace reference to CDATA
2344 2004-10-30 José Matos <jamatos@lyx.org>
2346 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
2348 2004-10-30 José Matos <jamatos@lyx.org>
2350 * output_docbook.C (makeParagraphs):
2351 * paragraph.[Ch] (emptyTag): for docbook and company, if the
2352 standard paragraph has only a given type of content drop the wrapper.
2354 2004-10-29 José Matos <jamatos@lyx.org>
2356 * output_docbook.C (makeEnvironment):
2358 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
2360 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
2362 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
2363 (cleanID): sanitize any id.
2365 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2367 * buffer.C, lyxlex_pimpl.C:
2368 * lyxlex_pimpl.C (setFile):
2369 s/getExtFromContents/getFormatFromContents/
2371 2004-10-28 José Matos <jamatos@lyx.org>
2373 * output_docbook.C (makeEnvironment): move id to broadest possible
2376 * sgml.C (openTag): apply substitution of <> for all attributes.
2378 2004-10-28 José Matos <jamatos@lyx.org>
2380 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2381 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2382 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
2384 * sgml.[Ch]: new version for open and closeTag for paragraph and
2385 for strings. Now they handle the ids of paragraphs.
2387 2004-10-26 Angus Leeming <leeming@lyx.org>
2389 * Makefile.am: add mover.[Ch].
2391 * converter.C (convert, move): use the new Movers to move external
2392 files to the temp directory.
2394 * lyx_main.C (init): ensure that the global system_movers data
2397 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
2400 * mover.[Ch]: new files, defining a Mover as a utility to move an
2401 external file between directories and, if necessary, manipulate this
2402 file using a helper script.
2404 2004-10-25 José Matos <jamatos@lyx.org>
2406 * output_docbook.C (makeCommand): merge two if's that tested the
2409 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2411 * sgml.C (escapeString): fix warning in a better way
2413 2004-10-25 José Matos <jamatos@lyx.org>
2415 * sgml.C (escapeString): import the require boosts header file for
2416 tie, and avoid a signed unsigned comparison.
2418 2004-10-25 José Matos <jamatos@lyx.org>
2420 * sgml.h: add #include <string>
2422 2004-10-25 José Matos <jamatos@lyx.org>
2424 * sgml.[Ch] (escapeString): new function to escape all the string.
2426 2004-10-24 José Matos <jamatos@lyx.org>
2428 * paragraph.[Ch] (getFirstWord): new function to get the first
2429 word. Useful for description.
2430 (simpleDocBookOnePar): remove depth argument, add another that
2431 says where to start the paragraph.
2433 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2434 use the new functions to fix cleanly the support for descriptions.
2436 2004-10-24 José Matos <jamatos@lyx.org>
2438 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2439 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2440 * output_linuxdoc.C (linuxdocParagraphs):
2441 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
2442 add buffer as argument.
2444 2004-10-24 José Matos <jamatos@lyx.org>
2446 * output_docbook.C (makeEnvironment, searchEnvironment): place
2447 CDATA inside paragraphs and fix scope for listitems.
2449 2004-10-24 José Matos <jamatos@lyx.org>
2451 * output_docbook.C: remove using statement for stack.
2453 2004-10-23 José Matos <jamatos@lyx.org>
2455 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
2456 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
2457 docbook. The new scheme is recursive and makes use of iterators, the
2458 same as latex export works.
2459 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
2460 directly with the paragraph contents. This code was moved up to
2461 output_docbook.C (docbookParagraphs).
2462 * sgml.C (openTag, closeTag): removed unneeded newlines.
2463 (closeEnvTags) removed.
2465 2004-10-23 André Pönitz <poenitz@gmx.net>
2467 * undo.C (textUndoOrRedo):
2468 * dociterator.C (asDocIterator): work around crash
2470 * cursor.C (getStatus): replace ASSERT by more verbose error message
2471 and manual correction of the problem. Should increase stability
2472 while providing more sensible information.
2474 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2476 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
2478 * bufferlist.C (previous, next): new methods
2481 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
2483 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
2485 * buffer.C (makeDocBookFile): add dsssl stylesheet control
2486 entities to preamble.
2488 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2490 * messages.C (Pimpl): strip off translation context information
2492 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2494 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
2495 the cursor is correct (bug 1694)
2497 2004-10-13 José Matos <jamatos@lyx.org>
2499 * output_docbook.C (docbookParagraphs): fix closing tags in the
2500 end of the document.
2502 2004-10-09 José Matos <jamatos@lyx.org>
2504 * buffer.C: format up to 237.
2505 * bufferparams.C (write): use tostr to convert booleans to strings.
2507 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
2509 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
2511 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2513 * LaTeX.C: implement use of babel language in xindy.
2515 2004-10-05 José Matos <jamatos@lyx.org>
2517 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2518 Add new translators to help reading and writing the lyx file.
2520 2004-10-05 José Matos <jamatos@lyx.org>
2522 * ParagraphParameters.C (read):
2523 * text.C (readParToken): replace nexToken by more appropriate lex
2526 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
2528 * LaTeX.C (runMakeIndex):
2529 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2530 (usually 'makeindex') configurable.
2532 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2533 with a variable rather than with a number.
2535 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2537 * output_latex.C (TeXOnePar): make sure font setting is the first
2538 thing that gets output (and the last at the end). Should fix bug
2541 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2543 * pch.h: use proper signal include
2545 * LaTeX.h: Use preferred calling of Boost.Signal
2548 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2550 * pch.h: dont include <boost/function/function0.hpp>
2552 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2554 * paragraph_pimpl.h: remove usage of ShareContainer
2556 * paragraph_pimpl.C: remove initialization of ShareContainer.
2558 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2562 * BufferView.C (putSelectionAt): change the semantics when
2563 backwards == true: now, this just swaps cursor and anchor wrt the
2566 * BufferView.h (putSelectionAt): add some documentation
2568 * lyxfind.C (findBackwards): rewrite using while(). In particular,
2569 make sure backwardChar is done at least once (to avoid getting
2571 (findNextChange): use putSelectionAt in the forward direction
2572 (operator()): use Paragraph::isWord
2574 2004-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2576 * Spacing.C (set): c_str fix
2578 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2580 * lyx_cb.C (Reconfigure): quote the name of configure script in
2581 case it contains spaces
2583 2004-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2587 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2588 (BOOST_LIBS): use top_buildir when looking for the file
2590 2004-08-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2592 * pch.h: do not use include boost/format.hpp, multiple symbols
2593 will result (gcc bug)
2596 2004-08-23 José Matos <jamatos@lyx.org>
2598 * bufferparams.C (readToken): fix reading of the author field.
2600 2004-08-20 José Matos <jamatos@lyx.org>
2602 * lyxrc.C: remove support/translator.h inclusion since it is not used.
2604 2004-08-20 José Matos <jamatos@lyx.org>
2606 * lyxlex.[Ch] (findToken): remove function.
2608 * ParagraphParameters.C (findToken):
2609 * bufferparams.C (findToken): replace call for previous function
2610 with local copy. This local function has one more argument, the
2611 read string argument.
2613 2004-08-16 José Matos <jamatos@lyx.org>
2615 * ParagraphParameters.C (write):
2616 * Spacing.C (writeFile):
2617 * bufferparams.C (writeLaTeX):
2618 * lyx_cb.C (Reconfigure):
2619 * paragraph.C (write):
2620 * tabular.C (write): remove unnecessary space at end of line.
2623 2004-08-16 José Matos <jamatos@lyx.org>
2625 * text.C (readParagraph): remove debug message.
2627 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2629 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2632 * output_plaintext.C (asciiParagraph): set depth correctly
2634 * outputparams.h: add member depth
2636 * paragraph_funcs.C (ownerPar): remove.
2638 * text2.C (setCounter): remove first_pit; comment out some
2639 non-working code that uses ownerPar
2641 * BufferView.C (getParentLanguage): remove. Not used anymore, and
2644 2004-08-16 José Matos <jamatos@lyx.org>
2646 * text.C (readParToken, readParagraph, read): report all unknown tokens.
2647 For the same level of importance use the same chanel to report problems.
2648 (read): add code to deal with \begin_body and \end_body.
2651 2004-08-15 José Matos <jamatos@lyx.org>
2653 * lyxlex.C (getString): fix comment, buffer::readBody is now
2654 buffer:readDocument.
2656 * tex-strings.C (string_papersize): Default -> default,
2657 Custom -> custom, for consistency with other options.
2659 2004-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2663 * Makefile.am: support pch
2665 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2667 * text.C (readParToken): remove the static LyXFont variable and
2668 pass it as a parameter instead. This fixes a nasty bug where an
2669 inset will be inserted with a bad font in some situations
2670 (readParagraph): adapt
2672 * text2.C (setCounter): reduce number of calls to pars_[pit]
2674 * text.C (singleWidth): add an assert, fix a test
2676 * rowpainter.C (paintText): reduce number of calls to singleWidth
2678 * paragraph.C (isHfill):
2679 (isNewline): ws only
2681 2004-08-14 André Pönitz <poenitz@gmx.net>
2686 * lyxtext.h (several functions): use a Paragraph & argument
2689 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2691 * metricsinfo.h: add a new field ltr_pos to PainterInfo
2693 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2695 * text.C (singleWidth): remove useless test
2697 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2699 * tabular.h: remove bogus comments
2701 * tabular.C (getDescentOfRow):
2702 (isPartOfMultiColumn): add assertions
2704 * lyxlength.C (inPixels): remove #warning
2706 2004-08-14 André Pönitz <poenitz@gmx.net>
2708 * paragraph.h: inline getChar()
2710 * BufferView.h: remove unused declarations
2712 2004-08-14 José Matos <jamatos@lyx.org>
2714 * Buffer.[Ch] (readDocument): new name for old readBody.
2715 * Buffer.C: new file format, new keywords: \begin_document,
2716 \begin_header, \begin_body, \end_body.
2718 * bufferparams.C (readToken): replace all calls to lex.nextToken
2719 by lex.next(). Do the same to eatLine except where really needed.
2721 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2722 line when writing to the lyx file.
2724 * output_plaintext.C (asciiParagraph): fix Bibliography style
2727 * text.C (read): fix end of file handling.
2729 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2731 * MenuBackend.C (Menu::operator[]): new method to access
2732 individual menu items
2733 (Menu::hasFunc): new method. search for an item that corresponds
2735 (MenuBackend::specialMenu): new method
2736 (MenuBackend::expand): if a special menu has been set, skip
2737 entries whose func() appears in this menu
2739 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2741 * text3.C: use Debug::DEBUG a bit more
2743 * text.C (leftMargin): try to simplify a tiny bit change var x to
2744 l_margin. Dont output the wide margins always.
2745 (rightMargin): no margin in inner texts
2747 * rowpainter.h (nestMargin): new func
2748 (changebarMargin): new func
2749 (rightMargin): new func
2751 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2755 * factory.C (createInset): modify setDrawFrame
2757 * cursor.C: use Debug::DEBUG a bit more
2759 2004-08-14 André Pönitz <poenitz@gmx.net>
2762 * Makefile.am: new files to accomodate an 'external' (x,y)-position
2763 cache for all insets in (at least partially) visible (top-level)
2766 * BufferView_pimpl.C: reset external coord cache before every update.
2767 This means the coord cache only contains valid entries.
2769 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2772 * BufferView_pimpl.C (getInsetByCode): move function out of class
2773 and change in to a template in anon namespace. Also fix to do what
2776 2004-08-13 Lars Gullik Bjønnes <larsbj@lyx.org>
2779 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2781 (breakParagraph): rename par to par_offset and use a local
2782 reference. Add code to keep the language over a rebreak.
2783 (breakParagraphConservative): rename par to par_offset, use a
2785 (mergeParagraph): ditto
2787 (isFirstInSequence): ditto
2788 (outerFont): rename pit to par_offset
2790 * paragraph.C: ws change
2791 * paragraph.h: ditto
2795 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2797 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2800 * paragraph.C (simpleTeXOnePar): when we have a \item with
2801 optional argument, enclose the argument with curly brackets (in
2802 case it contains a closing square bracket)
2806 * text3.C (checkInsetHit): constify
2808 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2810 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2811 documents (bug 1629)
2813 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2815 Fix toggling of collapsable insets with the mouse (bug 1558)
2817 * lyxfunc.C (dispatch): adapt to LCursor changes
2819 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2820 make sure that dispatch is not invoked twice
2822 * cursor.C (needsUpdate): new method
2823 (dispatch): return void
2824 (result): new method, to access the DispatchResult of the cursor.
2826 2004-08-13 José Matos <jamatos@lyx.org>
2828 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2830 2004-08-13 André Pönitz <poenitz@gmx.net>
2832 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2834 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2837 2004-08-12 André Pönitz <poenitz@gmx.net>
2839 * text3.C: take out the 'cursor right' form insertInset and only
2840 do it in those places when it is really needed. Fixes crash on
2843 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2845 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2847 * BufferView_pimpl.C (setBuffer): initialize the current font of
2848 the underlying LyXText
2850 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2852 * kbsequence.C (print): use UI native formatting for menu
2855 * text.C (insertChar): call Paragraph::insertChar with a font
2858 * paragraph.C (insertInset, insertChar): the version that takes a
2859 LyXFont argument is now a wrapper around the other one (the
2860 opposite used to be true).
2862 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2863 argument. Font setting is done in Paragraph now.
2865 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2867 * outputparams.h: add new members intitle and lang.
2869 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2870 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2872 2004-08-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2874 * text3.C (dispatch): remove special handling of button 4 and 5,
2875 it is now taken care of in the frontend code.
2877 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2879 * Spacing.h: add <string> (STLPort compile fix)
2881 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2883 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2885 2004-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2887 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2890 * converter.C (showMessage): inherit from unary_function, make
2893 * buffer.C (writeFile): initialize retval
2895 * InsetList.h: rename private variable list to list_
2896 * InsetList.[Ch]: adjust accordingly.
2898 2004-07-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2900 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2901 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2902 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2903 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2904 * ParagraphParameters.C, LaTeXFeatures.C: replace
2905 "support/std_sstream.h" with <sstream>
2907 2004-07-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2909 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2910 * lyxsocket.C (LyXServerSocket): ditto
2911 (serverCallback): ditto
2913 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2915 * LaTeXFeatures.C: check release date when loading jurabib.
2917 2004-07-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2919 * lyxserver.C (startPipe): call register_socket_callback
2920 (endPipe): call unregister_socket_callback
2922 2004-07-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2924 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2925 (LyXServerSocket): register the callback
2926 (LyXServerSocket): unregister the callback
2927 (fd): delete function
2928 (serverCallback): improve error checking and setup the callbacks.
2929 (dataCallback): change arg to fd.
2930 (writeln): new func (copied fro the client socket) used for server
2932 (LyXDataSocket): simplify
2933 (~LyXDataSocket): close ann unregiser callback
2934 (server): delete function
2935 (fd): delete function
2936 (readln): small changes, improve some std::string usage
2937 (writeln): constify a bit
2939 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2941 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2944 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2946 * BufferView_pimpl.C (setBuffer): set the layout combox value only
2947 after it has been populated
2949 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2951 * text2.C (insertInset): move cursor when inserting inset.
2953 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2955 * kbmap.C (findbindings): a couple of new methods. returns a
2956 container of kb_sequence objects. The real work is done by the
2957 private recursive version
2958 (printbindings): uses findbindings to print out a bracketed list
2959 of bindings (renamed from findbinding).
2961 * MenuBackend.C (binding): use kb_keymap::findbindings
2963 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2965 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2967 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2969 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2971 * paragraph.C (isWord): return true on insets that report
2974 * text.C (getWord): use Paragraph::isWord to decide what is in a
2975 word and what is not; fix bug 1609.
2977 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2979 * tex-strings.C: add "none" to string_paperpackages[], fixes
2980 off-by-one-error in the paperpackage selection.
2983 * tex-strings.[Ch]: char const * string[n]
2984 -> char const * const string[]
2986 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2988 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2989 command, return early.
2991 2004-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
2993 * debug.h: add DEBUG to enum and fix size of ANY.
2995 * debug.C: add support for Debug::DEBUG
2996 (showTags): cast errorTags.level to unsigned int
2998 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2999 (redoCurrentBuffer): ditto
3000 (updateScrollbar): ditto
3001 * cursor.C (dispatch): ditto
3002 * text2.C (setLayout): ditto
3004 (updateCounters): ditto
3006 (deleteEmptyParagraphMechanism): ditto
3008 2004-06-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3010 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
3011 annotations to cleanup the Makefile slightly.
3013 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3015 * lyxrc.C: do not set user_email to a default value but use empty
3016 instead. The entry used to be translated, which does not work
3017 since at the point where lyxrc is constructed there is no
3018 translation service available
3020 * messages.C (getLocaleDir): remove and use directly
3021 lyx_localedir() instead
3023 2004-06-02 Angus Leeming <leeming@lyx.org>
3025 Fix crash caused by dereferencing null pointer 'exportdata' in
3026 OutputParams by creating a new ExportData variable on the heap,
3027 storing it in a boost::shared_ptr.
3028 The crash was triggered when generating an Instant Preview
3029 of an external inset.
3031 * Makefile.am: add outputparams.C
3033 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
3034 (c-tor): allocate memory to it.
3036 * exporter.C (c-tor): associated changes.
3038 2004-06-01 Angus Leeming <leeming@lyx.org>
3040 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
3041 contains data before calling isInset(0). (Bug 1513.)
3043 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3045 * exporter.C (checkOverwrite): new method
3046 * exporter.C (copyFile): new method
3047 * exporter.C (Export): copy referenced files to the document dir
3048 * exporter.[Ch]: new class ExportedFile
3049 * exporter.[Ch]: new class ExportData. Contains currently the
3050 names of referenced external files
3051 * outputparams.h: add exportdata member.
3053 2004-05-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3055 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
3058 2004-05-19 Angus Leeming <leeming@lyx.org>
3063 * lyxfunc.C: small changes due to the introduction of namespace
3064 lyx::frontend and the moving of namespace biblio to lyx::biblio.
3066 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
3068 * text3.C (dispatch): supress update when only moving the cursor
3069 * cursor.C (selHandle): remove commented code
3071 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3073 * paragraph.C (startTeXParParams): correct column count
3074 * CutAndPaste.C (pasteSelection): remove const_cast
3075 * output_docbook.C (docbookParagraphs): remove const_cast
3076 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
3077 const_cast and return ParagraphList::const_iterator
3078 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
3079 * output_plaintext.C (writeFileAscii): remove const_cast
3080 * paragraph.[Ch] (simpleTeXOnePar): make const
3081 * paragraph_funcs.C (outerPar): use const iterators
3082 * paragraph_pimpl.C (validate): use const iterators
3083 * text.C (setHeightOfRow): use const iterators
3085 2004-05-17 Angus Leeming <leeming@lyx.org>
3088 * LyXAction.C (init): new LFUN_INSET_REFRESH.
3090 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
3091 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
3092 if the citation engine has changed.
3094 2004-05-14 José Matos <jamatos@lyx.org>
3096 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
3097 if the textclass does not provide it. Have it different for sgml and
3099 support the language of document.
3100 * output_docbook.C (docbookParagraphs):
3101 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
3102 first anchor as the id of the paragraph, remove special case code.
3103 * sgml.C (escapeChar): escape only < & >.
3105 2004-05-14 Angus Leeming <leeming@lyx.org>
3107 * bufferparams.h: move biblio::CiteEngine enum here to minimize
3108 dependencies on src/frontends/controllers/biblio.h. Define a
3109 CiteEngine_enum wrapper class to enable the enum to be forward
3112 2004-05-12 Angus Leeming <leeming@lyx.org>
3114 * buffer.C: up LYX_FORMAT to 234.
3115 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
3116 use_numerical_citations with a single biblio::CiteEngine cite_engine
3118 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
3120 2004-05-13 José Matos <jamatos@lyx.org>
3123 * converter.C (Converter, readFlags): add xml member.
3124 * outputparams.h: add XML flavor.
3125 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
3127 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3129 * lyxfunc.C (dispatch):
3130 (getStatus): fix handling of LFUN_SEQUENCE
3132 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3134 * debug.C (showLevel): do not forget the end-of-line marker
3136 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3138 * kbmap.C (read): do not stop parsing a bind file when an error
3141 2004-04-29 Angus Leeming <leeming@lyx.org>
3146 * text2.C: wrap a bunch of #warning statements
3147 inside #ifdef WITH_WARNINGS blocks.
3149 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3151 * buffer.C: increment format to 233.
3153 2004-04-28 Angus Leeming <leeming@lyx.org>
3155 * BufferView_pimpl.C:
3158 s/updateToolbar()/updateToolbars()/
3159 s/Toolbar.h/Toolbars.h/
3161 2004-04-28 Angus Leeming <leeming@lyx.org>
3163 * BufferView.[Ch] (c-tor):
3164 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
3165 No longer passes these data to the WorkArea generator.
3167 2004-04-28 Angus Leeming <leeming@lyx.org>
3169 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
3171 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3173 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
3175 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3177 * output_latex.C (TeXEnvironment): make sure that there is a line
3178 break before \end{foo} for the last paragraph of a document
3179 (TeXOnePar): if the paragraph is at the end of the document (or
3180 inset) and the language has to be reset, then make sure that the
3181 line break is _before_ the language command, not after (fixes bug
3182 1225); also make sure that the language reset command is the first
3183 thing after the paragraph (to ensure proper nesting of
3184 environments and thus fix bug 1404)
3186 2004-04-21 John Levon <levon@movementarian.org>
3189 * ToolbarBackend.C: make "name" be a programmatic name
3190 and a gui_name field.
3192 * lyxfunc.C: display the minibuffer on M-x
3194 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3196 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
3199 2004-04-19 Angus Leeming <leeming@lyx.org>
3201 * BufferView_pimpl.C (setBuffer): changed preview interface.
3203 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
3206 2004-04-19 John Levon <levon@movementarian.org>
3208 * BufferView_pimpl.C:
3209 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
3211 2004-04-05 Angus Leeming <leeming@lyx.org>
3213 * text.C (redoParagraphs): add call to updateCounters(), thereby
3214 fixing the missing "Figure #:" label from the caption of a
3217 2004-04-13 Angus Leeming <leeming@lyx.org>
3219 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
3220 cursor is clicked out of an inset.
3222 2004-04-13 Angus Leeming <leeming@lyx.org>
3224 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
3225 than an InsetOld one.
3227 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3229 * format.[Ch]: add editor to Format
3230 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
3231 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
3233 2004-04-08 André Pönitz <poenitz@gmx.net>
3235 * metricsinfo.h: remove PainterInfo::width member
3237 2004-04-08 Angus Leeming <leeming@lyx.org>
3239 * lyx_sty.C (boldsymbol_def): modify so that it outputs
3240 "\providecommand" rather than "\newcommand", thereby preventing
3241 clashes with packages that define "\boldsymbol" themselves.
3244 2004-04-08 Angus Leeming <leeming@lyx.org>
3246 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
3247 thereby squashing an unnecessary warning.
3249 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3251 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
3254 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
3256 * BufferView.C (setCursor): call redoParagraph (some insets could
3258 (putSelectionAt): remove the 'double update' trick
3260 * BufferView_pimpl.C (fitCursor): call refreshPar
3261 (workAreaDispatch): remove an uneeded update call
3262 (dispatch): remove some manual update calls
3264 * cursor.[Ch]: remove cached_y_, updatePos
3265 (selHandle): set noUpdate when appropriate
3267 * lyxfunc.C (dispatch): track if we need an update
3269 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
3271 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
3272 (paintSelection): cheap optimization, do not call cursorX when not
3274 (paintPars): change signature
3277 (paintTextInset): adjust
3281 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3283 * lengthcommon.C: compilation fix: remove explicit array size from
3284 unit_name[] and friends
3286 2004-04-05 Angus Leeming <leeming@lyx.org>
3288 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
3290 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
3291 present only for the preferences dialog.
3292 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
3294 2004-04-05 Angus Leeming <leeming@lyx.org>
3296 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
3297 to enable the frontends to export changes to lyxrc correctly.
3299 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
3301 2004-04-07 André Pönitz <poenitz@gmx.net>
3303 * cursor.[Ch] (selClear, adjust): remove math
3305 * cursor_slice.C: more agressive assert
3308 * BufferView_pimpl.C: rework mouse event dispatch
3315 2004-04-05 André Pönitz <poenitz@gmx.net>
3317 * cursor.[Ch] (valign, halign...): remove unneeded functions
3319 2004-04-05 Angus Leeming <leeming@lyx.org>
3321 * lyxlength.[Ch] (unit_name et al.): const-correct.
3323 2004-04-05 Angus Leeming <leeming@lyx.org>
3325 * BufferView_pimpl.C:
3334 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
3336 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3338 * text3.C (getStatus): add LFUN_BEGINNINGBUF
3340 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3342 * lyxfind.C: add a couple of inTexted() tests + other small fixes
3343 * BufferView_pimpl.[Ch] (getStatus)
3344 * BufferView.[Ch] (getStatus): add
3345 * lyxfunc.C (getStatus): move lfuns handled in
3346 BufferView::dispatch to te function above
3347 * Cursor.C (setSelection): set selection() = true
3349 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3351 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
3353 2004-03-31 Angus Leeming <leeming@lyx.org>
3355 * lyxfunc.C (dispatch): Fall through to the generic
3356 Dialogs::show("preamble").
3358 2004-03-31 Angus Leeming <leeming@lyx.org>
3360 * lyxfunc.C (dispatch): Fall through to the generic
3361 Dialogs::show("spellchecker").
3363 2004-03-31 Angus Leeming <leeming@lyx.org>
3365 * lyxfunc.C (getStatus, dispatch): changed invocation of the
3368 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
3373 * insetiterator.[Ch]:
3378 * undo.[Ch]: s/DocumentIterator/DocIterator/g
3380 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
3382 * BufferView.C (setCursor, putSelectionAt): call edit to open the
3383 insets where we are putting the cursor.
3385 2004-03-31 Angus Leeming <leeming@lyx.org>
3388 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
3390 * lyxrc.[Ch] (read, write): overloaded member functions taking
3391 a std::[io]stream arguments.
3393 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
3395 2004-03-31 Angus Leeming <leeming@lyx.org>
3397 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
3398 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
3400 * lyxtextclass.C (load): if the text class couldn't be loaded, then
3401 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
3403 2004-03-31 Angus Leeming <leeming@lyx.org>
3405 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
3406 the LFUN_ALL_INSETS_TOGGLE code.
3408 2004-03-30 Angus Leeming <leeming@lyx.org>
3410 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
3411 has died. Fall through to the generic Dialogs::show("document").
3413 2004-03-30 Angus Leeming <leeming@lyx.org>
3416 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
3417 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
3419 * lyxfunc.C (getStatus, dispatch): define the actions for these
3420 lfuns. Little more than a cut and pste job from ControlDocument.C
3422 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
3424 2004-03-30 Angus Leeming <leeming@lyx.org>
3427 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
3428 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
3430 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
3431 open/closed state of ollapsable insets. Usage:
3433 all-inset-toggle <state> <name>, where
3434 <state> == "open" || "closed" || "toggle" and
3435 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
3437 * lyxtext.h, text2.C (toggleInset): removed.
3439 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
3440 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
3441 now passes LFUN_INSET_TOGGLE to the found inset.
3443 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
3444 is now invoked as "all-insets-toggle toggle branch".
3446 2004-03-30 Angus Leeming <leeming@lyx.org>
3450 * pariterator.[Ch]: added/corrected header blurb.
3452 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
3454 * dociterator.[Ch]: add an inset_ member
3455 (backwardPos): implemented
3456 (backwardPos, forwardPos): use inset_ when the stack is empty.
3457 (doc_iterator_begin, doc_iterator_end): implemented
3458 * pariterator.[Ch]: adjust, add begin, end
3459 * insetiterator.[Ch]: adjust, add begin, end
3463 * BufferView_pimpl.C:
3464 * CutAndPaste.C: adjust
3466 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3468 * buffer.C: increment file format to 232.
3469 * LaTeXFeatures.C: add bibtopic package.
3470 * bufferparams.[Ch]: param \use_bibtopic.
3472 * lyxrc.[Ch]: add lyxrc bibtex_command
3473 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
3475 * buffer.C: increment file format to 231.
3477 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
3479 * dociterator.C: implement forwardPar
3480 * iterators.[Ch]: remove, replaced by
3481 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
3483 * BufferView_pimpl.C:
3486 * bufferview_funcs.C:
3492 * Makefile.am: adjust
3494 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
3496 * CutAndPaste.C (pasteSelection): fix 2 crashes
3497 (eraseSelection): fix a crash
3498 * paragraph_funcs.C: remove a warning
3500 2004-03-28 Angus Leeming <leeming@lyx.org>
3503 * LyXAction.C (init): new LFUN_PRINT.
3505 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
3507 2004-03-27 Angus Leeming <leeming@lyx.org>
3510 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
3512 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
3514 2004-03-27 Angus Leeming <leeming@lyx.org>
3516 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
3517 insetlist always contains non-null pointers to insets.
3519 2004-03-26 Angus Leeming <leeming@lyx.org>
3521 * src/BufferView_pimpl.C:
3522 * src/CutAndPaste.C:
3525 * src/output_plaintext.C:
3526 * src/outputparams.h:
3527 * src/paragraph_funcs.C:
3531 * src/frontends/controllers/ControlErrorList.C:
3532 * src/frontends/gtk/FileDialogPrivate.C:
3533 * src/frontends/gtk/GPainter.C:
3534 * src/frontends/gtk/GToolbar.C:
3535 * src/frontends/qt2/QRef.C:
3536 * src/mathed/math_scriptinset.C: squash compiler warnings.
3538 2004-03-26 Angus Leeming <leeming@lyx.org>
3540 * ispell.C (LaunchIspell::start):
3541 * lyx_cb.C (AutoSaveBuffer::start):
3542 invoke run(DontWait) rather than runNonBlocking().
3544 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
3546 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3548 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3550 * kbsequence.C (print): adjust
3552 * kbmap.C (printKeySym): rename and change signature
3553 (printKey): use LyXKeySym::print()
3555 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
3557 * undo.C: add using std::advance to compile for stlport
3559 2004-03-24 Angus Leeming <leeming@lyx.org>
3561 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3562 it leads to a crash when no buffer is present.
3564 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3565 Martin Vermeer <martin.vermeer@hut.fi>
3567 * lyxfunc.C (dispatch):
3568 * bufferparams.C (readToken): use the new LColor::setColor
3570 * LColor.[Ch] (setColor): new version that takes two strings as
3571 argument and creates a new color entry if necessary
3573 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3575 * buffer.C (makeLaTeXFile): if the main latex file that is
3576 processed is usually a subdocument of some master, then pretend
3577 for a while that it is actually the master
3579 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3581 * buffer.C (getLabelList):
3582 (getBibkeyList): use getMasterBuffer()
3583 (getMasterBuffer): new method. Returns the main document in the
3584 case where one is using included documents.
3586 2004-03-25 André Pönitz <poenitz@gmx.net>
3590 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3592 * ParagraphList_fwd.h: change ParagraphList to a std::vector
3594 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3595 text*.C over here. Rename namespace CutAndPaste to lyx::cap
3597 * ParameterStruct.h: merge with ParagraphParameters
3599 * lyxtext.h: remove LyXText::parOffset() and getPar()
3601 * text3.C: Remove all 'manual' update calls. We do now one per user
3602 interaction which is completely sufficient.
3606 * BufferView_pimpl.C:
3607 * FontIterator.[Ch]:
3609 * ParagraphParameters.[Ch]:
3614 * cursor_slice.[Ch]:
3621 * output_docbook.[Ch]:
3622 * output_latex.[Ch]:
3623 * output_linuxdoc.[Ch]:
3624 * output_plaintext.[Ch]:
3626 * paragraph_funcs.[Ch]:
3627 * paragraph_pimpl.[Ch]:
3635 * frontends/controllers/ControlDocument.C:
3636 * frontends/controllers/ControlErrorList.C:
3637 * frontends/controllers/ControlSpellchecker.C:
3640 * insets/insetbase.h:
3641 * insets/insetbibitem.C:
3642 * insets/insetbox.C:
3643 * insets/insetbranch.C:
3644 * insets/insetcaption.C:
3645 * insets/insetcharstyle.C:
3646 * insets/insetcharstyle.h:
3647 * insets/insetcollapsable.C:
3648 * insets/insetcollapsable.h:
3649 * insets/insetert.C:
3650 * insets/insetfloat.C:
3651 * insets/insetfoot.C:
3652 * insets/insetmarginal.C:
3653 * insets/insetnote.C:
3654 * insets/insetoptarg.C:
3655 * insets/insettabular.C:
3656 * insets/insettext.C:
3657 * insets/insettext.h:
3658 * insets/insetwrap.C:
3659 * mathed/math_mboxinset.C:
3660 * mathed/math_nestinset.C:
3661 * mathed/math_scriptinset.C:
3662 * mathed/math_scriptinset.h:
3665 2004-03-24 Angus Leeming <leeming@lyx.org>
3667 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3668 deal with any child processes that have finished but are waiting to
3669 communicate this fact to the rest of LyX.
3671 2004-03-24 Angus Leeming <leeming@lyx.org>
3673 64-bit compile fixes.
3675 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3676 (c-tor): pass lyx::pos_types rather than ints.
3678 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3681 * text.C (Delete): compile fix.
3682 (getPar): ensure that function declaration is the same as that in
3685 2004-03-23 Angus Leeming <leeming@lyx.org>
3687 * ispell.C (LaunchIspell):
3688 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3689 a boost::shred_ptr rather than a std::auto_ptr.
3691 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3693 * lyxfunc.C (getStatus): handle read-only buffers correctly;
3694 handle LFUN_FILE_INSERT_*
3696 * lyxrc.C (setDefaults, getDescription, output, read):
3697 * lyxrc.h: remove ps_command
3699 2004-03-22 Angus Leeming <leeming@lyx.org>
3701 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3702 Ensure that error_handler is processed once only and that all data
3703 is saved before attempting to output any warning messages.
3705 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3707 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
3709 * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3711 2004-03-19 André Pönitz <poenitz@gmx.net>
3713 * cursor.[Ch] (reset): take main text inset as argument
3715 * BufferView: adjust
3716 * BufferView_pimpl.C: adjust
3718 * paragraph.[Ch]: fix completely broken operator=()
3720 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3722 * LColor.C (getFromLyXName): make sure that the color name is used
3725 2004-03-17 Angus Leeming <leeming@lyx.org>
3728 * LyXAction.C (init): remove LFUN_FORKS_KILL.
3730 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3731 dialog and to kill a forked process.
3733 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3735 * text2.C (setCursorFromCoordinates): fix font problem
3737 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3739 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3740 bogus "rebuild cursor" code
3742 2004-03-11 André Pönitz <poenitz@gmx.net>
3744 * buffer.[Ch]: use InsetText instead of LyXText as container for
3747 * dociterator.[Ch]: drop the BufferView * member which is not needed
3748 anymore after the change to buffer.C
3750 * paragraph_funcs.C:
3754 * BufferView_pimpl.[Ch]:
3756 * cursor_slice.[Ch]: adjust
3758 * text3.C: fix bug in mathDispatch
3760 2004-03-08 André Pönitz <poenitz@gmx.net>
3762 * undo.[Ch]: use 'StableDocumentIterator' as base for
3765 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3768 * bufferparams.[Ch]: add jurabib support and param.
3770 * LaTeX.C: add FIXME/comment.
3772 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3774 * buffer.C: increment file format to 230.
3776 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
3778 * cursor.C (dispatch): avoid infinite loops
3780 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3782 * rowpainter.C (paintSelection): fix x coordinates
3784 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3786 * text.C (rowBreakPoint): fix breaking before displayed insets
3788 2004-03-01 André Pönitz <poenitz@gmx.net>
3790 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3792 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3796 * BufferView_pimpl.C:
3804 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3810 * BufferView_pimpl.C: rename textwidth -> maxwidth,
3811 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3813 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3815 * Bidi.[Ch] (computeTables): const correctness
3816 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3817 fill_hfill, fill_label_hfill and x from Row
3818 * lyxtext.h: prepareToPrint returns a RowMetrics
3819 * rowPainter.C: adjust
3820 * text.C (prepareToPrint): use width, not textWidth. adjust
3821 (redoParagraphInternal, cursorX): adjust
3822 * text2.C (getColumnNearX): adjust
3823 (init): put a default value to the top LyXText::width
3825 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3827 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3829 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3831 * lyxtext.h: add FontIterator class
3833 * text.C (FontIterator, operator*, operator->, operator++): add
3834 (rowBreakPoint, setRowWidth): adjust (fixing a
3837 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3839 * BufferView_pimpl.C (workAreaDispatch): allow also
3840 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3842 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
3844 * text.C (rowBreakPoint): fix a bug showing with very large insets
3846 2004-02-25 André Pönitz <poenitz@gmx.net>
3849 * cursor.[Ch]: move some mathed specific code to mathed
3851 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3853 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3854 use_tempdir in preferences
3855 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3857 * lyx_main.C: ensure that tempdir is valid
3858 * lyxlex.h: correct typo
3859 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3860 * paragraph.[Ch] (isMultiLingual): make const
3861 * cursor.[Ch] (openable): make const
3863 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3865 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3867 2004-02-20 André Pönitz <poenitz@gmx.net>
3869 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3871 * cursor.[Ch]: prepare for localized getStatus()
3877 * text3.C: streamlines the LyXText cursor movement handlers a bit.
3879 2004-02-20 André Pönitz <poenitz@gmx.net>
3881 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3883 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3885 * text2.C (setCursorFromCoordinates): switch to absolute coords
3887 (cursorDown): adjust
3888 * text3.C (dispatch): adjust
3890 2004-02-16 André Pönitz <poenitz@gmx.net>
3892 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3895 * cursor_slice.[Ch]: remove unneeded acessor function
3897 * lyxtext.h: rename rtl() to isRTL()
3905 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3907 * rowpainter.C (paintSelection): coord fix
3909 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3911 * Spacing.C: compile fix
3913 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3915 * cursor.C (dispatch): restore current_ before returning
3917 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3919 * text2.C (cursorUp, cursorDown): fix coords
3922 2004-02-12 André Pönitz <poenitz@gmx.net>
3927 * text3.C: add LCursor & parameter to most cursor movement functions
3928 remove usage of LyXText::cursorRow() and cursorPar()
3930 * cursor.[Ch]: add textRow() needed members
3933 * BufferView_pimpl.C:
3936 * BufferView_pimpl.C: adjust
3938 2004-02-11 André Pönitz <poenitz@gmx.net>
3942 * BufferView_pimpl.C: shift undo/redo handling
3944 * cursor.[Ch]: fix mathed crash
3947 * lyxtext.h: move selectionAsText to LCursor
3955 * rowpainter.C: fix excessive drawing
3957 2004-02-06 André Pönitz <poenitz@gmx.net>
3960 * BufferView_pimpl.[Ch]:
3961 * text3.C: move some text specific LFUN handling
3963 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
3965 * text3.C (checkInsetHit): adjust coords
3966 * text2.C (getColumnNearX): adjust coords
3967 (edit): adjust coords
3968 * text.C (getRowNearY): add two asserts
3970 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
3973 * format.C: add using std::distance to compile on gcc 2.95/stlport
3975 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
3977 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3979 2004-02-04 André Pönitz <poenitz@gmx.net>
3981 * BufferView.[Ch] (insertInset):
3982 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3987 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3989 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3990 on the default clause of the switch
3991 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3992 wasn't catched by LCursor::dispatch
3994 2004-02-03 André Pönitz <poenitz@gmx.net>
3997 * cursor.[Ch]: some additional asserts
3999 * undo.[Ch]: remove LyXText dependency in interface
4003 * lyxtext.h (firstPar, lastPar): remove dead functions
4008 * paragraph.[Ch]: adjust
4010 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
4012 * lyxfind.C (find): fix argument order in call to ::find
4014 2004-02-02 André Pönitz <poenitz@gmx.net>
4016 * cursor.[Ch]: remove direct access to anchor
4018 * text.C: remove findText() hack
4020 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
4022 * iterators.[Ch] (lockPath): remove in favour of...
4023 * BufferView.[Ch] (setCursor): this addition
4024 * BufferView.C (putSelectionAt): adjust
4025 * undo.C (performUndoOrRedo): adjust
4026 * lyxfunc.C (dispatch): adjust
4028 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
4030 * iterators.C (lockPath): add a missing slice
4031 * undo.C (performUndoOrRedo): remove redundant positioning code
4033 2004-02-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4035 * vc-backend.C (scanMaster): ";" -> ';'
4037 2004-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
4039 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
4040 std::binary_function
4042 * lyxtextclass.C (compare_name): rename to...
4043 (LayoutNamesEqual): ...this
4045 * lyxlex_pimpl.C (compare_tags): inherit from
4046 std::binary_function, put back into anon namespace
4048 * lyxfind.C (MatchString): inherig from std::binary_function
4049 (findChange): use empty() istead of !size()
4051 * format.C (FormatNamesEqual): new functor
4058 * converter.C (compare_Converter): rename to...
4059 (ConverterEqual): ...this, and fixup a bit.
4060 (getConverter): use it, and make function const
4061 (getNumber): use it, and make function const
4065 * bufferlist.C: add using boost::bind
4067 * MenuBackend.C (MenuNamesEqual): new functor
4068 (hasMenu): use it, and make function const
4069 (hasSubmenu): use nested bind to get rid of compare_memfun.
4071 2004-01-30 André Pönitz <poenitz@gmx.net>
4073 * BufferView_pimpl.C:
4076 * cursor_slice.[Ch]:
4079 * paragraph_funcs.C:
4080 * paragraph_funcs.h:
4084 * text3.C: move some of the edit(x,y) handling to the insets
4085 some coordinate changes.
4087 2004-01-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4089 * text.C: add using statements for std::advance and std::distance
4091 * paragraph.C: add using statement for std::distance
4093 * lyxfind.C: add using statement for std::advance
4095 * cursor.C (region): remove std:: from swap
4096 (openable): use nucleus in stead of operator->
4098 * BufferView.C: add using statements for std::distance and std::swap
4100 2004-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4102 * iterators.C: Remove the pimple, move the needed structures to
4103 the header file. Create accessor for the positions stack.
4104 (asPosIterator): remove function
4106 * PosIterator.C (PosIterator): move constructors to top of file
4107 (PosIterator): reimplement the constructor taking a ParIterator in
4109 (setFrom): new function
4110 (operator!=): inline it
4112 2004-01-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4114 * lyxfind.C (replaceAll): use std::advance
4116 * iterators.h: inherit from std::iterator.
4118 * PosIterator.C (advance, distance): remove
4119 * PosIterator.h: interit from std::iterator.
4121 2004-01-26 André Pönitz <poenitz@gmx.net>
4124 * BufferView_pimpl.[Ch]:
4128 * bufferview_funcs.C:
4138 * output_linuxdoc.C:
4139 * output_plaintext.C:
4141 * paragraph_funcs.[Ch]:
4142 * paragraph_pimpl.[Ch]:
4148 * text3.C: more IU: dumps most of the rest of the mathcursor
4149 implementation into cursor.[Ch]; "globalize" a bit of it.
4151 2004-01-25 Angus Leeming <leeming@lyx.org>
4153 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
4155 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4157 * LaTeXFeatures.h: add nice_ and nice() const
4158 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
4160 2004-01-20 André Pönitz <poenitz@gmx.net>
4163 * BufferView_pimpl.C:
4165 * bufferview_funcs.C:
4167 * cursor_slice.[Ch]:
4178 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
4179 LCursor and mathcursor parts to LCursor and InsetBase.
4181 2004-01-15 André Pönitz <poenitz@gmx.net>
4183 * cursor_slice.[Ch]: add a few covienience functions
4185 * funcrequest.[Ch]: remove BufferView * member
4187 * BufferView_pimpl.C:
4194 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
4196 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
4198 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
4199 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
4201 2004-01-13 André Pönitz <poenitz@gmx.net>
4204 * lyxtext.h: hide cursor and selection anchor behind accessor function
4207 * BufferView_pimpl.[Ch]:
4209 * bufferview_funcs.C:
4219 * cursor_slice.[Ch]: some integer type changes for inset unification
4221 * lyxcursor.[hC]: remove, it's CursorSlice now.
4224 * BufferView_pimpl.[Ch]:
4225 * bufferview_funcs.C:
4231 * textcursor.[Ch]: adjust
4233 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
4235 * text2.C (undoSpan): add and use
4236 * text.C (breakParagraph): use undoSpan (fix bug 578)
4239 2004-01-08 Angus Leeming <leeming@lyx.org>
4241 * BufferView_pimpl.C (MenuInsertLyXFile):
4242 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4243 * lyxfunc.C (menuNew, open, doImport):
4244 FileFilterList change to the FileDialog open and save functions.
4246 2004-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
4248 * ShareContainer.h: make isEqual and isUnique adaptable
4250 * CutAndPaste.C: make resetOwnerAndChanges adaptable
4252 2004-01-07 Angus Leeming <leeming@lyx.org>
4255 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
4257 * BufferView_pimpl.C (dispatch): act on these LFUNs.
4259 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
4260 functions replacing find, replace and replaceAll.
4262 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
4263 LFUN_WORDFIND(FORWARD|BACKWARD).
4265 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
4267 * text.C (breakParagraph): remove an outdated #warning
4269 2004-01-07 André Pönitz <poenitz@gmx.net>
4271 * lyxfind.C: somewhat clearer logic
4273 * text.C: prevent crash in cursorX on unitialized row cache
4275 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
4277 * lyxcursor.[Ch] (operator>): add
4278 * textcursor.C (selStart, selEnd): use std::min and std::max
4280 2004-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4282 * Chktex.C: include boost/format.hpp
4284 2004-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
4286 * InsetList.C: replace functor MathcIt with adaptable functor
4288 (insetIterator): modify accordingly
4290 * BranchList.h: move the BranchNamesEqual functor here from...
4291 * BranchList.C: ... to here
4293 * BranchList.C: new BranchListEqual fuctor, use it. Remove
4295 (add): replace a finding loop with std::find_if.
4297 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
4299 * output_docbook.C: moving LatexParam functionality into
4302 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4304 * buffer.C: increment format to 229.
4306 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
4309 * lyx_sty.[Ch]: remove minipageindent_def
4315 * text3.C: remove LFUN_INSET_MINIPAGE
4317 2003-12-28 Angus Leeming <leeming@lyx.org>
4319 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
4321 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
4323 * text2.C (setParagraph): fix off-by-one crash
4325 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
4327 * output_docbook.C: header stuff for AGU
4329 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
4331 * text2.C (redoCursor): remove
4334 * BufferView_pimpl.C: remove calls to redoCursor and
4335 setCursor(cursor.par(), cursor.pos()) all around
4337 2003-12-15 Angus Leeming <leeming@lyx.org>
4339 * buffer.C: up the format to 228.
4341 2003-12-15 André Pönitz <poenitz@gmx.net>
4343 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
4348 * BufferView_pimpl.C:
4357 2003-12-15 Angus Leeming <leeming@lyx.org>
4359 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
4360 than getFromGUIName to manipulate the color.
4362 2003-12-14 Angus Leeming <leeming@lyx.org>
4364 * BranchList.[Ch]: minimize the API.
4365 (Branch::getBranch, getColor): now return a 'const &'.
4366 (Branch::setSelected) now returns a bool set to true if the
4367 selection status changes.
4368 (BranchList::clear, size, getColor, setColor, setSelected,
4369 allBranches, allSelected, separator): removed.
4370 (BranchList::find): new functions, returning the Branch with
4372 (BranchList::add, remove): return a bool indicating that
4373 the operation was successful.
4375 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
4376 new InsetBranch::isBranchSlected member function.
4378 * LColor.[Ch]: mimimize the API.
4379 (fill): renamed as addColor and made private.
4380 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
4381 versions of these functions taking a string arg have been removed.
4383 * bufferparams.C (readToken):
4384 * lyxfunc.C (dispatch):
4385 * lyxrc.C (read): changes due to the altered BranchList and
4388 * factory.C (createInset, readInset): changes due to altered
4391 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4394 * lyxfunc.C: remove insetminipage. "minipage-insert"
4395 now produces a frameless minipage box inset.
4397 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4399 * textcursor.[Ch] (selStart,selEnd): add new methods
4400 remove selection::start, end, use LyXCursor::operator<
4401 * lyxcursor.[Ch] (operator<): add
4402 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
4403 * BufferView.[Ch] (unsetXSel): add
4404 * text2.C (clearSelection): use unsetXSel,adjust
4407 * rowpainter.C: adjust
4408 * bufferview_funcs.C (put_selection_at): adjust
4410 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4412 * BufferView_pimpl.C: small coord. correction
4414 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4416 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
4417 dragging over the splash screen.
4419 2003-12-11 Angus Leeming <leeming@lyx.org>
4421 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
4422 as it is now handled in LyXText::dispatch.
4424 * text3.C (doInsertInset): remove a level of nesting.
4426 2003-12-11 Angus Leeming <leeming@lyx.org>
4428 * factory.C (createInset): changes due to the changed interface to
4429 InsetCommandMailer::string2params.
4431 2003-12-10 Angus Leeming <leeming@lyx.org>
4433 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
4434 'dialog-show-new-inset <inset name>'
4436 2003-12-10 Angus Leeming <leeming@lyx.org>
4438 * buffer.C: up the format to 227.
4440 * factory.C: the box inset is now identified simply by 'Box'.
4442 2003-12-10 Angus Leeming <leeming@lyx.org>
4444 * buffer.C: up the format to 226.
4446 * factory.C: the note inset is now identified simply by 'Note'.
4448 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
4450 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
4451 when a pit is enough. Standarize a couple of loops.
4453 2003-12-05 Angus Leeming <leeming@lyx.org>
4455 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
4456 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
4457 data to the re-worked "log" dialog.
4459 2003-12-03 André Pönitz <poenitz@gmx.net>
4465 * paragraph_funcs.C:
4467 * text2.C: use Inset::getText instead of Inset::getParagraph
4469 2003-12-03 André Pönitz <poenitz@gmx.net>
4473 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
4474 InsetText::read() as LyXText::read()
4476 2003-12-02 Angus Leeming <leeming@lyx.org>
4478 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
4479 type. Add a comment in the implementation that the function uses
4480 the stream's bad() function rather than fail() as the std::streams
4483 2003-12-02 André Pönitz <poenitz@gmx.net>
4485 * lyxlex.[Ch]: make interface more similar to std::stream
4487 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
4489 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
4491 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
4493 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
4495 * vspace.[Ch]: remove VSpace::NONE
4497 2003-12-01 André Pönitz <poenitz@gmx.net>
4500 * lyxtext.h: move ParagraphList member to LyXText
4501 rename LyXText::ownerParagraphs to LyXText::paragraph
4504 * bufferview_funcs.C:
4514 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
4516 * undo.C: fix cursor positioning
4518 2003-12-01 John Levon <levon@movementarian.org>
4520 * BufferView_pimpl.C: fix a crash on exit with
4523 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
4525 * BranchList.C: fix setSelected() method.
4527 2003-11-28 André Pönitz <poenitz@gmx.net>
4529 * ParagraphParameters.[Ch]:
4530 * ParameterStruct.h: remove space above/below from Paragraph to
4533 * BufferView_pimpl.C:
4539 * paragraph_funcs.C:
4545 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
4547 * factory.C: Syntax change for CharStyles
4549 2003-11-28 André Pönitz <poenitz@gmx.net>
4554 * buffer.[Ch]: move LyXText member
4556 2003-11-28 André Pönitz <poenitz@gmx.net>
4558 * BufferView.[Ch]: make LyXText * text a private member
4560 * BufferView_pimpl.C:
4571 * output_plaintext.C: cleanup
4573 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
4576 * lyxtextclass.[Ch]: parametrize SGML document header
4578 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
4581 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4584 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
4586 * text2.C (setFont): rework using PosIterator (no more recursive)
4587 (setCharFont): no more needed
4588 (setLayout): no more selection cursors fiddling (done by redoCursor)
4589 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4590 destroy remaining ones)
4592 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
4594 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4596 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4599 * text3.C: adjust + re-allow multi par depth changes
4600 * textcursor.C: simplify a bit
4602 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
4608 * src/output_docbook.C:
4609 * src/output_latex.C:
4614 * src/text2.C: Introducing a number of tags parametrizing various
4615 XML formats that we may want to support
4617 2003-11-25 André Pönitz <poenitz@gmx.net>
4619 * InsetList.[Ch] (begein, end): inline as suggested by profiler
4621 * lyxtext.h (leftMargin/rightMargin): simplify interface
4628 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4630 * lyxfunc.C (dispatch): propogate the bibtex databases from the
4631 master file to any child files. Fixes bug 546.
4633 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4635 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4637 2003-11-24 André Pönitz <poenitz@gmx.net>
4639 * rowpainter.C: simplification
4641 * text2.C (updateCounters): remove call to redoParagraph on
4642 changed labels as this is far too expensive.
4644 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4646 * converter.C (convert): fix a crash: this function gets
4647 called with buffer == 0 from importer code.
4649 2003-11-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4651 * text3.C (cursorPrevious): make sure that we do not compare
4652 iterators form different containers.
4655 * rowpainter.C (paintSelection): make sure that we do not compare
4656 iterators from different containers.
4658 * text3.C (dispatch): [PRIOR] make sure that we do not compare
4659 iterators from different ParagraphList containers.
4662 * text2.C (LyXText): change order of initialization slightly
4663 (operator=): new function. copy all variables except cache_par_
4664 (moveUp): make sure that we do not compare iterators from
4665 different ParagraphList constainers.
4668 * text.C (firstPar): new function
4669 (lastPar): new function
4670 (endPar): new function
4672 * lyxtext.h: move things around and group public functions, public
4673 variables, private functions, private variables
4675 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
4677 * factory.C: change call to InsetERT constructor to avoid
4678 additional invocation of method status
4679 * text2.C (toggleInset): remove redundant update() call
4680 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4681 instead of a Bufferview pointer
4683 2003-11-21 André Pönitz <poenitz@gmx.net>
4685 * rowpainter.C: simplification
4687 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4689 * text3.C (dispatch): make possible to extend a word/row selection
4692 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4694 * lyxtext.h: x0_,y0_ -> xo_,yo_
4695 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4696 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4697 * rowpainter.C (paintRows): paint full paragraphs
4699 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4701 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4704 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4706 * lyxtext.h: add x0_, y0_
4707 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4708 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4710 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
4712 * text2.C (setCursorIntern): move the x_target update here *
4713 * text3.C: change some bv() to true/false in calls to
4714 cursorUp/Down/Right/Left
4715 * cursor.C: use helper function.
4717 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4719 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4720 * paragraph_funcs.[Ch]: correct comment
4721 * rowpainter.C: do not paint selections away from bv->cursor()
4722 Fix a long standing selection painting bug.
4723 * text3.C: generalize mouse-selection code to LyXTexts other that
4725 * textcursor.C: do not use y coords if we can use par offsets
4727 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4729 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4730 cursor position after e.g. inset insert)
4732 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
4734 * lyxfind.C (replace): adjust to locking removal + some
4737 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
4739 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4742 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
4745 * output_docbook.C: XML sanitation: new layout
4746 parameters InnerTag and CommandDepth
4748 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
4750 * BufferView_pimpl.C:
4752 * text3.C: Fix the insertion and modification of button-style
4755 2003-11-13 André Pönitz <poenitz@gmx.net>
4757 * InsetList.[Ch]: remove deleteLyXText
4759 * paragraph.[Ch]: cache beginOfBody position
4764 * text3.C: remove superfluous update() calls
4768 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
4770 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4771 * BufferView.C (fitLockedInsetCursor): remove
4772 * cursor.[Ch] (getDim): add
4773 * text.C (getRowNearY): add faster version
4774 * text3.C: remove some update calls
4776 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
4788 * text3.C: The Character Style /XML short element patch.
4790 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
4793 * factory.C: Small step to solving 'unable to insert some insets'
4796 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
4798 * cursor.[Ch] (updatePos): new function for updating the y
4799 position of the tip inset
4800 * bufferview_funcs.C (put_selection_at):
4801 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4803 2003-11-11 André Pönitz <poenitz@gmx.net>
4805 * text.C: remove big comment on invalid Paragraph pointers as it is
4808 2003-11-11 André Pönitz <poenitz@gmx.net>
4810 * text_funcs.[Ch]: merge with ...
4818 * Makefile.am: remove text_funcs.[Ch]
4820 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
4822 * cursor.C (getPos): return absolute cached y coord
4824 * BufferView_pimpl.C (fitCursor): new simplistic code
4825 (workAreaDispatch): add a fitCursor call
4827 2003-11-10 André Pönitz <poenitz@gmx.net>
4830 * BufferView_pimpl.[Ch]: merge update() and updateInset()
4832 2003-11-10 André Pönitz <poenitz@gmx.net>
4834 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4835 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4836 indicate that the cursor needs to leave an inset
4838 * lyxtext.h: remove inset locking
4840 * cursor.[Ch]: re-implement functionality provided by inset locking
4843 * BufferView_pimpl.[Ch]:
4845 * bufferview_funcs.[Ch]:
4857 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
4859 * PosIterator.[Ch]: replace the stack with a vector, add inset
4861 * iterators.[C]: adjust
4863 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4865 * lyxfind.C (replaceAll): mark the buffer dirty if something was
4867 * paragraph_funcs.C (readParToken): put the correct id in the
4868 error item, not the id of the top paragraph
4870 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4872 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4873 * bufferview_funcs.C (put_selection_at): use the above
4875 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4877 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4879 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4881 * output_linuxdoc.h:
4882 * output_plaintext.h:
4884 * output_docbook.h: add #include statements
4886 2003-11-05 José Matos <jamatos@lyx.org>
4888 * output_docbook.[Ch]:
4889 * output_latex.[Ch]:
4890 * output_linuxdoc.[Ch]:
4891 * output_plaintext.[Ch]: New files for output formats.
4892 * output.[Ch]: New file for helper functions.
4895 * paragraph_funcs.[Ch]: output functions moved to new files.
4897 * outputparams.h: rename of latexrunparams.h
4905 * paragraph_funcs.[Ch]:
4906 * paragraph_pimpl.[Ch]:
4907 * tabular.[Ch]: rename ascii to plaintext
4908 and LatexRunParams to OutputParams.
4910 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4912 * iterators.[Ch] (text): require bv argument
4913 * undo.C (recordUndo):
4914 * lyxfunc.C (dispatch):
4915 * bufferview_funcs.C (put_selection_at): adjust
4917 2003-11-05 Jo� Luis M. Assirati <assirati@fma.if.usp.br>
4919 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4921 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4923 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4926 2003-11-04 André Pönitz <poenitz@gmx.net>
4928 * cursor.[Ch]: restructure
4931 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4933 * iterators.[Ch] (asCursor): remove
4935 * lfuns.h: remove LFUN_INSET_EDIT
4941 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4943 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4945 * lyxfind.[Ch]: complete overhaul
4946 * BufferView_pimpl.C:
4948 * paragraph.[Ch] (insert): add
4950 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4954 * text.C: remove dead spellcheck code
4956 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4958 * dispatchresult.h: add a val setter
4960 * cursor.C (dispatch): use a tempvar for data_[i]
4962 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4964 * PosIterator.[Ch]: compile fix
4966 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4968 * text.C (cursorPar): deactivate the cursor cache
4970 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4972 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4974 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4976 * text3.C (dispatch): adjust for new DisptchResult semantics.
4978 * lyxfunc.C (dispatch): handle update when return from
4979 Cursor::dispatch, adjust for new DispatchResult semantics.
4981 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4982 DispatchResult(true) mean to not update. Add class functions for
4983 setting dispatched and update, as well as reading.
4985 * cursor.C (dispatch): don't handle update here
4987 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4989 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4990 * trans_mgr.C: adjust
4992 * paragraph_funcs.C (readParToken): exception safety
4994 * lyxvc.h: store the vcs pointer in a scoped_ptr
4997 * lyxsocket.C (serverCallback): exception safety
4999 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
5001 * ispell.C (clone): make it return a auto_ptr
5003 * factory.C (createInset): exception safety
5004 (readInset): exception safety
5006 * bufferlist.C (newBuffer): exception safety
5008 * Thesaurus.C (Thesaurus): use initialization for aik_
5010 * MenuBackend.C (expandToc): exception safety.
5012 2003-11-03 André Pönitz <poenitz@gmx.net>
5016 * bufferview_funcs.C: remove getInsetFromId()
5019 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
5025 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
5027 * PosIterator.C (distance, advance): new
5028 * bufferview_funcs.[Ch] (put_selection_at): new
5029 * iterators.[Ch] (lockPath): new
5031 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
5033 * iterators.[Ch] (asPosIterator): added
5034 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
5035 * PosIterator.[Ch]: added
5037 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5041 * cursor.C (dispatch):
5042 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
5044 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
5045 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
5046 contructor, add a class function dispatched. Remove operator>=
5048 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5050 * debug.C: only use the default constructor for debugstream
5053 * main.C (main): include debug.h and setup the lyxerr streambuf
5056 2003-10-31 José Matos <jamatos@lyx.org>
5058 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
5060 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
5061 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
5062 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5063 * paragraph_pimpl.C (simpleTeXSpecialC):
5064 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
5065 add LatexRunParams argument.
5067 * exporter.C (Export): change call accordingly.
5069 * latexrunparams.h: add new member to take care of the other backends.
5070 2003-10-30 José Matos <jamatos@lyx.org>
5072 * buffer.C (makeLinuxDocFile, makeDocBookFile):
5073 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5074 factorise code for paragraph output.
5076 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
5079 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5081 * text3.C (dispatch):
5082 * lyxfunc.C (dispatch):
5083 * cursor.C (dispatch):
5084 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
5086 * dispatchresult.h: make the dispatch_result_t ctor explicit
5088 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
5091 * buffer.C: small refactoring of docbook stuff
5093 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5095 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
5098 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5100 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
5101 operator dispatch_result_t, and operators for == != and >=
5103 * cursor.C (dispatch): adjust for operator dispatch_result_t
5104 removal. comment out call to update
5106 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
5108 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5116 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
5119 * dispatchresult.h: new file, DispatchResult broken out of
5122 * Makefile.am (lyx_SOURCES): add dispatchresult.h
5124 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
5126 * text.C (rowBreakPoint): put a hack inside #if 0
5128 2003-10-28 André Pönitz <poenitz@gmx.net>
5132 * paragraph_funcs.C:
5135 * text2.C: general cleanup (lots of small stuff)
5137 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
5139 * text2.C (cursorEnd): simple fix to the "end key goes to one
5140 before the end on last row" bug
5142 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5144 * text.C (backspace): fix the "zombie characters"
5146 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5148 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
5150 2003-10-27 André Pönitz <poenitz@gmx.net>
5152 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
5154 * factory.C: handle new InsetPagebreak, InsetLine
5156 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
5157 and move handling into new InsetPagebreak, InsetLine
5159 * BufferView_pimpl.C:
5161 * ParagraphParameters.C:
5162 * ParameterStruct.h:
5167 * paragraph_funcs.C:
5168 * paragraph_pimpl.C:
5174 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5177 * lyxrow_funcs.[Ch]:
5183 * text3.C: remove lastPos uses in favour of Row::endpos
5185 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5187 * undo.C (performUndoOrRedo): fix two crashes by setting a
5188 cursor by hand and reordering some calls. Use bv->lockInset instead
5189 of inset->edit because the latter loses cursor information
5191 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
5193 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
5195 (rowBreakPoint): fix width. change point to point + 1.
5196 Add a missing check.
5198 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
5201 * lyxfunc.C: fix (at least partly) the problems
5202 with the Nav menu and headers inside branch insets
5205 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
5207 * paragraph.C (getChar): add strong asserts
5209 * lyxrow_funcs.C (lastPos): remove hideous hack
5211 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
5212 (fill): adjust to that (avoid an infinite loop)
5214 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
5216 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
5218 2003-10-23 André Pönitz <poenitz@gmx.net>
5220 * RowList_fwd.h: change list<> to vector<> to gain speed
5221 after suggestion from Alfredo
5223 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
5225 * lyxtext.h: move the bidi stuff from here...
5228 * Bidi.[Ch]: ... to here
5230 2003-10-23 André Pönitz <poenitz@gmx.net>
5233 * text.C (isLastRow, isFirstRow): new functions
5235 * paragraph.h: new width cache member
5237 * rowpainter.C: replace RowList::iterator with Row & where possible
5239 * lyxfunc.C: replace several view()->text with a single call
5241 * toc.C: fix 'unused' warning
5243 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5245 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
5246 when woring with stream::pos_type
5247 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
5249 2003-10-22 André Pönitz <poenitz@gmx.net>
5252 * text.C: use Row & instead of RowList::iterator
5254 * lyxrow.h: rename end() to endpos()
5260 2003-10-22 Angus Leeming <leeming@lyx.org>
5262 * buffer.[Ch] (fully_loaded): new member function, returning true
5263 only when the file has been loaded fully.
5264 Used to prevent the premature generation of previews and by the
5265 citation inset to prevent computation of the natbib-style label.
5267 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
5268 templates are all set up.
5270 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
5272 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
5274 * text.C: fixed an "oops" in the "is a bit silly"
5277 2003-10-21 André Pönitz <poenitz@gmx.net>
5279 * FuncStatus.[Ch]: small stuff, whitespace
5281 * lyxfont.[Ch]: operator<<() for debug reasons
5285 * lyxtext.h: whitespace, spelling
5287 * paragraph.C: naming of variables
5290 * text2.C: small stuff
5293 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
5295 * text.C: (1) finish off the inset display() work;
5296 (2) fix the "is a bit silly" bug (accessing char
5299 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
5301 * text.C: re-introduce display() for insets, fixing the
5302 various bugs (stretch of line above, math inset
5305 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5307 * text.C (rightMargin): remove spurious semicolon
5309 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
5312 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
5314 * text3.C: fix one crash due to wrong cursor def
5316 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5318 * vc-backend.C (scanMaster): make the regex static
5320 * LaTeX.C (scanAuxFile): make the regexs static
5322 * text3.C (doInsertInset, dispatch, dispatch):
5323 * text2.C (cursorUp, cursorDown):
5324 * text.C (selectNextWordToSpellcheck):
5325 * BufferView_pimpl.C (dispatch):
5326 * lyxfunc.C (dispatch): localDispatch -> dispatch
5328 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5330 * lyxsocket.C: include <cerrno>
5332 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5334 * lyxfunc.C (dispatch): remove textcache stuff
5336 * bufferlist.C (release): remove textcache stuff
5339 * TextCache.C: delete file
5340 * TextCache.h: delete file
5342 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
5344 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
5345 delete of the bv_->text.
5346 (resizeCurrentBuffer): remove texcache stuff
5347 (workAreaResize): ditto
5349 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5351 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
5354 2003-10-16 André Pönitz <poenitz@gmx.net>
5361 * text3.C: speed up by storing y positions per paragraph plus per-row
5362 offset instead of having a 'full' y position in the row.
5364 2003-10-15 André Pönitz <poenitz@gmx.net>
5368 * undo.[Ch]: make undo aware of inner insets
5370 2003-10-14 Angus Leeming <leeming@lyx.org>
5372 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
5373 static member functions LyX::ref() and LyX::cref.
5374 (lastfiles): new accessor functions for the new lastfiles_ member var.
5375 (addLyXView, views_): add a new LyXView to the list of views_.
5376 (updateInset): loop over all LyXViews to call their own updateInset
5377 member function, returning a pointer to the Buffer owning the inset.
5379 * BufferView_pimpl.C (loadLyXFile):
5380 * MenuBackend.C (expandLastfiles):
5381 * bufferlist.C (MenuWrite, QuitLyX):
5382 lastfiles is no longer a global variable.
5383 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
5385 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
5386 static function. Access through LyX::cref().emergencyCleanup().
5388 2003-10-14 André Pönitz <poenitz@gmx.net>
5390 * iterators.[Ch]: new direct access to innermost LyXText and Inset
5392 * undo.[Ch]: restoring part of 'undo in insets'
5395 * undo_funcs.[Ch]: merge with undo.[Ch]
5397 * tabular.C: small cleansing stuff
5399 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
5401 * paragraph_funcs.C (readParToken): report unknown insets as error
5402 boxes. Use the outer paragraph as location (also for unknown
5405 * factory.C (readInset): do not abort on reading an unknown inset.
5406 Eat it and return 0.
5408 2003-10-13 Angus Leeming <leeming@lyx.org>
5410 * lyx_main.C (LyX): remove call to setDisplayTranslator().
5412 * lyxrc.C: displayTranslator is now a function,
5413 declared in GraphicsTypes.h.
5415 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5417 * format.C: new placeholder $$a to pass the socket address.
5419 * bufferlist.[Ch]: new function getBufferFromTmp.
5421 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
5422 files in the temporary dir.
5424 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5426 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
5428 * Makefile.am: add lyxsocket.[Ch].
5430 * lyx_main.C (error_handler): handle SIGPIPE.
5432 2003-10-13 André Pönitz <poenitz@gmx.net>
5434 * BufferView_pimpl.C:
5439 * undo_funcs.[Ch]: use paroffset_type instead of
5440 ParagraphList::iterators to prevent multiple conversion
5441 (and get a more robust interface)
5443 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5445 * lyxfunc.C (dispatch): RESULT -> dispatch_result
5447 * text3.C (dispatch): ditto
5449 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5451 * LaTeX.C (handleFoundFile): move the static to smaller scope,
5452 move the onlyfile, use onlyfile instead of foundfile in a couple
5455 * DepTable.C (update): flush the error stream a bit more
5457 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5459 * lyxserver.C (callback): adjust
5461 * lyxfunc.C (getStatus): add a missing brace in commented code
5462 (ensureBufferClean): reindent
5463 (dispatch): delete version taking a string
5465 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5467 * LaTeX.C (deplog): move found file handlig from here...
5468 (handleFoundFile): .. to new function here.
5469 (deplog): make sure to discover several files mentioned on the
5472 2003-10-10 André Pönitz <poenitz@gmx.net>
5479 * text3.C: fix some of the tabular crashes
5481 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5483 * MenuBackend.C (binding): put debug message into Debug::KBMAP
5485 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
5487 2003-10-09 André Pönitz <poenitz@gmx.net>
5489 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
5492 * BufferView_pimpl.C:
5493 * bufferview_funcs.C:
5504 * undo_funcs.C: adjust
5506 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5508 * text2.C (incrementItemDepth): new function, use a backtracking
5509 algorithm to discover the correct item depth.
5510 (resetEnumCounterIfNeeded): new function, use a backtracking
5511 algorithm to discover if counter reset is needed.
5512 (setCounter): use them. Simplify a bit. Add different labels for
5513 different item depths for itemize.
5515 * paragraph.C (Paragraph): remove initialization of enumdepth
5518 * paragraph.h: get rid of enumdepth, and use itemdepth both for
5519 enumerate and itemize. Change the type of itemdepth to signed char.
5521 2003-10-08 André Pönitz <poenitz@gmx.net>
5523 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5528 * tabular.[Ch]: fix crash after 'row-insert'
5530 2003-10-08 Angus Leeming <leeming@lyx.org>
5532 Fix doxygen warnings.
5534 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5535 Remove CutAndPaste:: prefix from header file declaration.
5537 * LColor.h (fill): remove LColor:: prefix from declaration.
5539 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5540 use lyx::depth_type rather than Paragraph::depth_type so that
5541 header file and .C file match.
5543 * converter.h (intToFormat): remove Converters:: prefix from declaration.
5545 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5546 * aspell.C: \file aspell_local.C -> \file aspell.C
5547 * gettext.C: \file gettext.C -> \file src/gettext.C
5548 * gettext.h: \file gettext.h -> \file src/gettext.h
5549 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5550 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5551 * text.C: \file text.C -> \file src/text.C
5553 * toc.C: move comment so that doxygen is not confused.
5555 2003-10-07 Angus Leeming <leeming@lyx.org>
5557 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5559 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5562 * aspell_local.h: add forgotten std::string's.
5564 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
5571 * text3.C: The Box patch. Fancybox support, minipage, parbox
5573 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
5579 * ParagraphParameters.h:
5589 * lyxtextclasslist.h:
5592 * paragraph_pimpl.C:
5593 * textcursor.h: add <string> and other small fixes to make Lars'
5594 std::string patch compile with STLport.
5596 2003-10-06 Angus Leeming <leeming@lyx.org>
5598 * LColor.h: Add missing #include <string>.
5600 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5602 * All most all file in all subdirs: Make <string> be the prefered
5603 way of getting to std::string, add using declarations.
5605 2003-10-06 André Pönitz <poenitz@gmx.net>
5607 * metricsinfo.C: initialize LyXFont before changing attribute.
5608 (fixes the 'math in \emph is upright' bug)
5610 2003-10-06 André Pönitz <poenitz@gmx.net>
5612 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5614 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
5617 * paragraph_pimpl.C: Small fixes to build using STLport
5619 2003-10-02 André Pönitz <poenitz@gmx.net>
5622 * text3.C: move handling of LFUN_DEPTH *; fix #1360
5624 2003-10-01 André Pönitz <poenitz@gmx.net>
5626 * factory.C: assert early
5628 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5630 * lyx_main.C: remove the global debug object
5632 * debug.h: adjust for new debugstream
5634 * debug.C: adjust for new debugstream and keep the global debug
5637 2003-09-22 Angus Leeming <leeming@lyx.org>
5639 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5640 of g++ which otherwise complain that the scoped_ptr destructor can't delete
5641 an incomplete class LyXFont.
5643 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
5645 * factory.C: bug fix in branches
5647 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5649 * lyxfunc.C (processKeySym): adjust
5651 (dispatch): change arg name from ev to func, adjust
5652 (sendDispatchMessage): ditto
5654 * lyx_main.C (defaultKeyBindings): adjust keybindings
5655 (deadKeyBindings): ditto
5657 * kbsequence.C (addkey): return a FuncRequest
5659 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5661 * kbmap.C (bind): take a FuncRequest as arg, adjust
5664 (defkey): change to take a FuncRequest as arg, adjust
5665 (findbinding): take a FuncRequest as arg, adjust.
5667 * funcrequest.h (operator=): added
5669 * funcrequest.C (FuncRequest): default kb_action changed from
5670 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5672 * buffer.C (dispatch): simplify
5673 (dispatch): adjust to take a FuncRequest as arg, adjust
5675 * boost.C (assertion_failed): change assertion message slightly
5677 * ToolbarBackend.C (read): simplify
5679 * MenuBackend.C (binding): adjust call to findbinding, add a
5680 message if no binding is found.
5682 (expandToc): correct by adding a empty FuncRequest
5684 * LyXAction.C: include <boost/assert.hpp>
5685 (isPseudoAction): delete function
5686 (LookupFunc): change name to...
5687 (lookupFunc): this. change return type to FuncRequest.
5688 (getActionName): take kb_action as arg, simplify
5689 (funcHasFlag): add an assert, simplify.
5691 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5693 * toc.C (action): return a FuncRequest, simplify
5695 * lyxfunc.C (processKeySym): adjust
5696 (getStatus): delete version that takes an int.
5698 (dispatch): delete version that takes action as int
5700 (sendDispatchMessage): simplify and adjust
5702 * funcrequest.C (getArg): take unsigned int as arg
5704 * ToolbarBackend.C (read): adjust
5705 (add): delete version that takes func as a string.
5706 (getIton): take a FuncRequest as arg
5708 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5711 * MenuBackend.C (MenuItem): add a new construct that only takes a
5712 Kind, simplify the constructor use for submenus.
5714 (expandLastfiles): adjust
5715 (expandDocuments): adjust
5716 (expandFormats): adjust
5717 (expandFloatListInsert): adjust
5718 (expandFloatInsert): adjust
5719 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5721 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5722 Remove class variables lyx_pseudo_map and lyx_arg_map
5724 * LyXAction.C (searchActionArg): delete function
5725 (getPseudoAction): delete function
5726 (retrieveActionArg): delete function
5727 (LookupFunc): make it return kb_action, simplify.
5728 (getActionName): simplify
5730 * factory.C (createInset): fix new bug
5732 2003-09-19 Angus Leeming <leeming@lyx.org>
5734 * CutAndPaste.C (pasteSelection): remove fudge used to set the
5735 masterFilename_ parameter in the include inset.
5737 * factory.C (createInset): changes due to the changes to InsetInclude.
5739 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5741 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5743 2003-09-18 Angus Leeming <leeming@lyx.org>
5746 * BufferView.C: pass the buffer when calling Inset::getLabelList,
5747 Inset::fillWithBibKeys.
5748 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5750 2003-09-18 Angus Leeming <leeming@lyx.org>
5752 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5754 (ctor): pass and store a 'Buffer const &'
5755 (buffer): new member function.
5757 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5758 '*this' to the LaTeXFeatures ctor.
5760 2003-09-18 Angus Leeming <leeming@lyx.org>
5766 * text.C: rename EnumLColor as LColor_color.
5768 2003-09-18 Angus Leeming <leeming@lyx.org>
5770 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5771 remove #include "insets/insetbase.h" from cursor.h.
5773 2003-09-18 Angus Leeming <leeming@lyx.org>
5775 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5776 InsetOld_code to remove #include "inset.h".
5778 * iterators.C: add #include "insets/inset.h"
5780 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
5782 * BufferView.C: remove more locking stuff that apparently doesn't
5783 do anything sensible.
5785 2003-09-16 André Pönitz <poenitz@gmx.net>
5788 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5791 2003-09-16 Angus Leeming <leeming@lyx.org>
5793 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5795 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5798 * paragraph.h: remove #include "lyxfont.h". Forward declare
5801 2003-09-16 Angus Leeming <leeming@lyx.org>
5803 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5804 of support/textutils.h.
5805 (isWord): move the contents of support/textutils.h's IsWordChar here.
5811 * text2.C: add #include "paragraph.h".
5814 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5816 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5822 * LaTeX.C: use namespace alias for lyx::support::os
5824 2003-09-16 Angus Leeming <leeming@lyx.org>
5827 * bufferview_funcs.C:
5830 * paragraph_pimpl.C:
5832 * text.C: add #include "LColor.h".
5834 2003-09-16 Angus Leeming <leeming@lyx.org>
5836 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5837 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5839 Store the FontBits::color variable as an int rather than as an
5840 LColor::colorso that we can move LColor.h out of the lyxfont.h header
5843 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5844 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5845 string calls together.
5847 * lyxrc.C: add #include "LColor.h".
5849 2003-09-15 Angus Leeming <leeming@lyx.org>
5851 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5854 2003-09-15 Angus Leeming <leeming@lyx.org>
5856 * LColor.h: add an EnumLColor wrapper for LColor::color.
5858 * lyxfont.[Ch] (color, setColor, realColor):
5859 * lyxtext.h, text.C (backgroundColor):
5860 pass EnumLColor args to/from the functions, rather than LColor::color
5864 * lyxtext.h: forward declare EnumLColor.
5866 * lyx_main.C: add #include "LColor.h".
5868 2003-09-15 Angus Leeming <leeming@lyx.org>
5870 * .cvsignore: add lyx-gtk.
5872 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5877 * ParagraphParameters.C
5881 * bufferview_funcs.C
5891 * vc-backend.C: remove usage of STRCONV
5893 2003-09-15 Angus Leeming <leeming@lyx.org>
5895 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5896 explicitly define the color passed to the painter.
5898 2003-09-15 Angus Leeming <leeming@lyx.org>
5900 * bufferparams.C (BufferParams): reorder member initializers to avoid
5903 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
5905 * CutAndPaste.C (pasteSelection): remove an outdated #warning
5906 * text.C (updateRowPositions): remove an unusual nop
5908 2003-09-12 André Pönitz <poenitz@gmx.net>
5910 * BufferView_pimpl.C:
5919 * Counters.[Ch]: finish the 'automatic counters' job
5921 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5923 * aspell.C: include <boost/assert.cpp> (compile fix)
5925 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
5927 * boost.C (assertion_failed): use lyx::support::abort instead of
5930 2003-09-10 Angus Leeming <leeming@lyx.org>
5932 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5933 with their _fwd progeny.
5935 2003-09-09 Angus Leeming <leeming@lyx.org>
5937 134 files throughtout the source tree: replace 'using namespace abc;'
5938 directives with the appropriate 'using abc::xyz;' declarations.
5940 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5942 * boost.C (emergencyCleanup): moved here from LAssert.c
5943 (assertion_failed): new function, called by BOOST_ASSERT
5945 * several files: change Assert to BOOST_ASSERT
5947 2003-09-09 Angus Leeming <leeming@lyx.org>
5949 * buffer.[Ch]: Add an Impl class and move Buffer's member
5950 variables into it. As a result move several header files out of
5953 Add header files to lots of .C files all over the tree as a result.
5955 2003-09-09 Angus Leeming <leeming@lyx.org>
5957 * buffer.[Ch]: make Buffer's member variables private. Add
5960 Lots of changes all over the tree as a result.
5962 2003-09-08 Angus Leeming <leeming@lyx.org>
5964 * graph.C: #include <config.h>.
5966 2003-09-08 Angus Leeming <leeming@lyx.org>
5970 * BufferView_pimpl.C:
5999 * toc.C: remove redundant using directives.
6001 2003-09-07 Angus Leeming <leeming@lyx.org>
6003 * LaTeXFeatures.h: remove #include "support/types.h".
6004 * ToolbarBackend.h: remove #include <algorithm>.
6005 * changes.h: remove #include <ctime>.
6006 * debug.h: remove #include <iosfwd>.
6007 * graph.h: remove #include "support/std_string.h".
6008 * lyx_main.h: remove #include <csignal>.
6009 * lyxlex_pimpl.h: remove #include <fstream>.
6010 * sgml.h: remove #include <algorithm>, <utility>.
6011 * toc.h: remove #include "support/std_ostream.h".
6012 Add #include <iosfwd>.
6014 2003-09-07 Angus Leeming <leeming@lyx.org>
6016 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
6018 * converter.h: forward declare LatexRunParams.
6019 * encoding.h: remove #include "lyxrc.h".
6020 * lyxtext.h: remove #include "LColor.h".
6021 * lyxtextclass.h: remove #include "support/types.h".
6022 * trans.h: remove #include "tex-accent.h".
6023 * trans_mgr.h: remove #include "tex-accent.h".
6024 * insets/inset.h: remove #include "support/types.h", <vector>.
6025 * insets/insetcollapsable.h: remove #include "LColor.h".
6026 * insets/insetinclude.h: remove #include "dimension.h".
6027 * insets/insetlatexaccent.h: remove #include "dimension.h".
6028 * insets/insetoptarg.h:: remove #include "insettext.h".
6029 * insets/insettext.h: remove #include "dimension.h",
6030 <boost/shared_ptr.hpp>
6032 * insets/renderers.h: add #include "dimension.h".
6033 * insets/updatableinset.h: add #include "support/types.h".
6035 * many .C files: Associated changes.
6037 2003-09-06 Angus Leeming <leeming@lyx.org>
6039 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
6040 one, inside testInvariant.
6042 * PrinterParams.C: new file.
6043 * PrinterParams.[Ch]: move the function bodies out of line.
6045 2003-09-06 Angus Leeming <leeming@lyx.org>
6047 * ParagraphParameters.h: forward declare ParameterStruct rather than
6048 including its header file.
6049 (depth): moved out-of-line.
6051 2003-09-06 Angus Leeming <leeming@lyx.org>
6053 * BufferView_pimpl.h:
6056 * lyxfunc.h: forward declare LyXKeySym rather than
6057 #include "frontends/LyXKeySym.h".
6059 * BufferView_pimpl.C:
6062 * lyxfunc.C: associated changes.
6064 2003-09-06 Angus Leeming <leeming@lyx.org>
6066 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
6067 As a result, can remove the #include "insets/inset.h" from BufferView.h
6069 2003-09-06 Angus Leeming <leeming@lyx.org>
6071 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
6072 As a result, can remove the #include "insets/inset.h" from BufferView.h
6074 2003-09-06 Angus Leeming <leeming@lyx.org>
6080 * bufferview_funcs.C:
6081 * BufferView_pimpl.C:
6086 * ParagraphParameters.C:
6091 * frontends/controllers/ControlDocument.C:
6092 * insets/insetcaption.C: rearrange the #includes into some sort of
6095 * buffer.h: remove #includes ErrorList.h, undo.h
6097 2003-09-06 Angus Leeming <leeming@lyx.org>
6099 * support/types.h: add a 'depth_type' typedef, used to store the
6100 nesting depth of a paragraph.
6103 * ParameterStruct.h: use this lyx::depth_type typedef rather than
6104 defining explicitly.
6107 * paragraph_funcs.h:
6108 * ParagraphParameters.h:
6109 * sgml.h: use lyx::depth_type rather than Paragraph or
6110 ParameterStruct's depth_type.
6113 * paragraph_funcs.h: no need to #include paragraph.h anymore.
6116 * BufferView_pimpl.C:
6118 * ParagraphParameters.C:
6121 * bufferview_funcs.C:
6128 * frontends/LyXView.C:
6129 * frontends/controllers/ControlDocument.C:
6130 * frontends/controllers/ControlErrorList.C:
6131 * insets/insetbibitem.C:
6132 * insets/insetbranch.C:
6133 * insets/insetcaption.C:
6134 * insets/insetcollapsable.C:
6135 * insets/insetenv.C:
6136 * insets/insetert.C:
6137 * insets/insetfloat.C:
6138 * insets/insetfoot.C:
6139 * insets/insetfootlike.C:
6140 * insets/insetnewline.C:
6141 * insets/insetquotes.C:
6142 * insets/insettabular.C:
6143 * insets/insettext.C:
6144 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
6146 * frontends/controllers/ControlChanges.C: #include "changes.h".
6148 2003-09-06 Angus Leeming <leeming@lyx.org>
6150 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
6151 than #including paragraph.h.
6154 * RowList.h: deleted. Superfluous.
6164 * insets/insettext.h: use ParagraphList_fwd.h rather than
6167 * paragraph.h: don't forward declare ParagraphList.
6170 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
6171 rather than ParagraphList.h. paragraph.h is still needed for the
6172 Paragraph::depth_type parameters.
6174 * textcursor.h: enable it to compile stand-alone in light of the
6177 * bufferview_funcs.C:
6189 * frontends/controllers/ControlParagraph.C:
6190 * frontends/controllers/ControlTabular.C:
6191 * insets/insetmarginal.C:
6192 * insets/insetminipage.C:
6193 * insets/insetnote.C:
6194 * insets/insetoptarg.C: add header files needed to compile again.
6196 2003-09-06 Angus Leeming <leeming@lyx.org>
6198 * RowList_fwd.h: new file, forward-declaring Row rather than
6199 #including lyxrow.h.
6204 * insets/insettext.h: use it instead of RowList.h
6206 * bufferview_funcs.C:
6213 * text3.C: #include "RowList.h".
6215 2003-09-05 Angus Leeming <leeming@lyx.org>
6217 * factory.C (createInset):
6218 * vspace.C (c-tor): replace sscanf call with an istringstream.
6219 * ispell.C: re-add missing HP/UX headers.
6220 * lyxserver.C: re-add missing os2 headers.
6222 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
6231 * text3.C: re-add missing system headers, needed for 2.95.2.
6233 2003-09-05 Angus Leeming <leeming@lyx.org>
6235 Changes most place everywhere due to the removal of using directives
6236 from support/std_sstream.h.
6238 2003-09-05 Angus Leeming <leeming@lyx.org>
6240 Replace LString.h with support/std_string.h,
6241 Lsstream.h with support/std_sstream.h,
6242 support/LIstream.h with support/std_istream.h,
6243 support/LOstream.h with support/std_ostream.h.
6245 Changes resulting throughout the tree.
6247 2003-09-05 Angus Leeming <leeming@lyx.org>
6249 * sgml.h: ensure that the header file can be compiled stand-alone.
6250 * *.C: strip out redundant #includes. (320 in total.)
6252 2003-09-04 Angus Leeming <leeming@lyx.org>
6254 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
6255 here (from getPackages).
6257 * debug.[Ch]: add a new EXTERNAL tag.
6259 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6261 * text2.C (cursorEnd): simplify
6263 (getColumnNearX): adjust
6265 * text.C (computeBidiTables): adjust
6268 * rowpainter.C (paintChars): adjust
6269 (paintSelection): adjust
6270 (paintChangeBar): adjust
6273 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
6275 (numberOfSeparators): adjust
6277 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
6283 * text3.C: Restricts the mouse click functionality
6284 of insets like bibtex, include, toc and floatlist to the visible
6285 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
6286 up the dialogs. Cursor has to be in front of the inset (i.e.
6287 start of row) for this to function.
6289 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6291 * bufferview_funcs.C (currentState): output row information
6293 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6295 * bufferview_funcs.C (currentState): output paragraph position
6297 2003-09-04 Angus Leeming <leeming@lyx.org>
6299 * FloatList.h: move out #include "Floating.h".
6300 * LaTeX.h: move out #include "DepTable.h".
6301 * LyXAction.h: move out #include "funcrequest.h".
6302 * buffer.h: move out #include "author.h", "iterators.h".
6303 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
6304 * lyx_main.h: move out #include "errorlist.h".
6305 * lyxfunc.h: move out #include "FuncStatus.h".
6306 * lyxtext: move out #include "lyxcursor.h".
6307 * paragraph_pimpl.h: move out #include "counters.h".
6309 2003-09-03 Angus Leeming <leeming@lyx.org>
6311 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
6312 preamble_snippets list, enabling us to add snippets to the preamble
6313 only if the snippet was not there already.
6315 2003-09-04 Angus Leeming <leeming@lyx.org>
6317 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
6319 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6321 * lyxfunc.C (dispatch): if fitCursor did something be sure to
6324 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
6326 * BranchList.C: point fix, earlier forgotten
6328 2003-09-02 Angus Leeming <leeming@lyx.org>
6330 * box.C (contains): renamed from 'contained' after a fantastic
6333 2003-09-02 John Levon <levon@movementarian.org>
6339 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
6341 2003-09-02 John Levon <levon@movementarian.org>
6343 * text2.C: simplification of cursorEnd(), including partial
6346 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6348 * buffer.C (readFile): add a space
6350 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
6352 * BufferView_pimpl.C (update): remove bogus fitCursor() call
6354 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6356 * buffer.C (readFile): new function, take a filename and a
6357 ParagraphList::iterator
6359 (readFile): adjust, make it private. don't use setStream, make
6360 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
6361 always contain the filename.
6363 * BufferView.C (insertLyXFile): simplify and make it work for
6366 2003-08-30 John Levon <levon@movementarian.org>
6368 * Makefile.am: fix dist (from Kayvan)
6370 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6372 * most files: change to use const Buffer refs
6374 2003-08-27 André Pönitz <poenitz@gmx.net>
6376 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
6377 on top of ownerPar().
6379 2003-08-27 John Levon <levon@movementarian.org>
6381 * funcrequest.C: properly initialise POD members
6383 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
6385 * lyxtext.h (top_y): move top_y from here
6390 * BufferView_pimpl.[Ch]: to here
6391 * frontends/screen.C:
6392 * insets/insettabular.C:
6393 * insets/insettext.C: adjust
6394 * rowpainter.[Ch] (paintRows): remove LyXText & argument
6396 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
6399 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
6401 2003-08-26 André Pönitz <poenitz@gmx.net>
6403 * paragraph_func.[Ch] (outerPar): new function
6406 * paragraph_funcs.C:
6407 * paragraph_funcs.h:
6408 * paragraph_pimpl.C:
6409 * text2.C: remove Inset::par_owner
6411 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
6416 * text2.C: eliminates the needFullRow/display() stuff
6417 altogether, putting the logic in metrics/draw in the insets.
6419 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
6421 * text2.C (redoParagraphInternal, redoParagraphs):
6422 * text.C (redoParagraph): add a call to updateRowPositions at the
6423 end of each 'metrics-like' call. Remove all others.
6424 (getRow): remove the 'y-computing' version.
6425 (getRowNearY): do not compute nor return the real y. Solve the
6426 'y < 0' problem and simplify.
6428 2003-08-22 Angus Leeming <leeming@lyx.org>
6430 * *.[Ch]: clean-up of licence and author blurbs.
6431 Also move config.h out of a few .h files and into a few .C files.
6433 2003-08-22 André Pönitz <poenitz@gmx.net>
6435 * lyxrow.[Ch]: add x_ and *fill_ members
6440 * text2.C: adjust/remove prepareToPrint() calls
6442 2003-08-22 André Pönitz <poenitz@gmx.net>
6444 * lyxrow.[Ch]: add end_ member
6446 * lyxrow_funcs.C: use LyXRow::end_
6448 * lyxtext.h (singleWidth): add LyXFont parameter
6451 * text2.C: adjust LyXText::singleWidth() calls
6453 * text.C (redoParagraph): simplify row breaking logic
6456 2003-08-19 André Pönitz <poenitz@gmx.net>
6458 * funcrequest.C: initialize button_ member
6461 * rowpainter.[Ch]: interface consolidation
6463 2003-08-18 André Pönitz <poenitz@gmx.net>
6466 * BufferView_pimpl.C:
6468 * paragraph_funcs.C:
6470 * text3.C: remove LyXScreen::draw() and fitCursor calls
6472 * BranchList.h: remove spurious semicolons
6474 * MenuBackend.C: fix branchlist related crash
6476 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
6484 * bufferparams.[Ch]:
6488 * text3.C: implements the 'branch inset'
6489 idea. This allows the output of various versions of a document
6490 from a single source version, selectively outputing or suppressing
6491 output of parts of the text.
6492 This implementation contains a 'branch list editor' in a separate
6493 tab of the document settings dialog. Branches are user definable
6494 and have a "display colour" to distinguish them on-screen.
6496 ColorHandler was somewhat cleaned up.
6497 (1) make possible a dynamically growing LColor list by allowing
6498 the graphic context cache to grow along (vector);
6499 (2) eliminate an IMHO unnecessary step in colour allocation.
6501 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
6503 * BufferView_pimpl.C: compile fix
6505 2003-08-15 André Pönitz <poenitz@gmx.net>
6507 * rowpainter.C: remove extra metrics calls
6509 * lyxtext.h: merge the two constructors into a single one,
6510 pass reference to owner's par list
6512 * BufferView_pimpl.C:
6516 2003-08-15 André Pönitz <poenitz@gmx.net>
6518 * lyxrow_funcs.[Ch]:
6521 * paragraph_funcs.C:
6526 * text_funcs.C: split LyXText::rowlist_ into individual
6527 Paragraph::rows_ chunks
6530 * BufferView_pimpl.[Ch]:
6533 * text3.C: remove toggleSelection()
6535 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
6537 * bufferlist.C: beautify two alerts (shorter text of buttons)
6538 * buffer.C: Remove redundant ' ' from message
6540 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6541 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6542 rename VALIGN_CENTER to VALIGN_MIDDLE
6544 2003-08-11 André Pönitz <poenitz@gmx.net>
6546 * lyxtext.h (getPar):
6547 * text.C: new function
6549 2003-08-11 André Pönitz <poenitz@gmx.net>
6552 * tracer.[Ch]: remove unneeded files
6554 * InsetList.[Ch]: remove resizeInsetsLyXText()
6559 * text3.C: merge insertParagraphs() and appendParagraph()
6560 remove breakAgain(), update()
6562 * BufferView_pimpl.[Ch]:
6563 * bufferview_funcs.[Ch]:
6567 * tabular.C: adjust after text & InsetList changes.
6569 2003-08-08 André Pönitz <poenitz@gmx.net>
6571 * text.C (insertChar, backspace): replace rowlist fiddling
6572 with rebreak of full par
6575 * text.C (breakAgainOneRow, redoHeightOfParagraph,
6576 checkParagraph, updateInset): removed
6578 2003-08-07 André Pönitz <poenitz@gmx.net>
6581 * text3.C: merge some LFUN handlers, remove dead code
6583 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6585 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6587 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
6589 * text2.C (DEPM): fix part of bug 1255 and 1256
6591 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6593 * BufferView_pimpl.C (workAreaDispatch): change to use
6594 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6595 that are no mouse related.
6597 2003-08-05 André Pönitz <poenitz@gmx.net>
6600 * BufferView_pimpl.[Ch]:
6601 * bufferview_funcs.C:
6603 * text3.C: rip out "deep update"
6605 * textcursor.[Ch] (last_sel_cursor): remove unused member
6607 2003-08-04 André Pönitz <poenitz@gmx.net>
6610 * BufferView_pimpl.[Ch]:
6611 * ParagraphParameters.C:
6612 * bufferview_funcs.C:
6618 * text3.C: replace "complicated" BufferView::update(...) calls with
6621 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6623 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
6625 * Makefile.am (lyx_SOURCES): add paper.h
6627 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6629 * Makefile.am: move things around so that both lyx-qt and
6630 lyx-xforms can be built (according to --with-frontend). Then lyx
6631 is a symbolic link to lyx-[firstfrontend]
6633 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
6635 * Always use std::endl with lyxerr
6637 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
6639 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6641 2003-08-01 André Pönitz <poenitz@gmx.net>
6644 * BufferView_pimpl.[Ch]:
6646 * text3.C: merge BufferView::repaint() and BufferView::update()
6648 2003-08-01 José Matos <jamatos@lyx.org>
6650 * buffer.[Ch]: file_format is no longer a buffer data element.
6652 2003-08-01 André Pönitz <poenitz@gmx.net>
6657 * text2.C: make redoParagraph more independent of current cursor
6659 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6661 * text2.C: remove unneeded members
6663 2003-07-30 André Pönitz <poenitz@gmx.net>
6665 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6667 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6668 create a single function...
6670 * paragraph_funcs.C (moveItem): ... here.
6673 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6675 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6677 * LColor.[Ch]: Add comment and greyedout logical colors.
6679 2003-07-30 André Pönitz <poenitz@gmx.net>
6681 * tabular.C: don't use Assert too heavily. This crashes where it
6684 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
6686 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6687 is disabled (bug 1232)
6689 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6691 * factory.C: limited 'arg' scope
6693 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6695 * factory.C: fixed Note submenu issues
6697 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6699 * factory.C: submenu for Note/Comment/Greyedout
6701 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
6704 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6706 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
6709 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6710 greyedout. Patch provided by Jürgen Spitzmüller.
6712 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6714 * kbmap.C (read): fix error message when reading bind files
6716 2003-07-29 Angus Leeming <leeming@lyx.org>
6718 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6719 certainly does not do what it purports to do. I am doing it, and
6720 us, a favour by killing it.
6722 2003-07-28 José Matos <jamatos@lyx.org>
6724 * buffer.C (readBody, do_writeFile):
6725 * paragraph.C(readParagraph): \end_document replaces \the_end.
6727 2003-07-29 André Pönitz <poenitz@gmx.net>
6730 * BufferView_pimpl.[Ch]:
6734 * textcursor.[Ch]: remove toggleToggle & Co
6736 2003-07-28 José Matos <jamatos@fep.up.pt>
6738 * buffer.C (readParagraph):
6739 * params_func (readParToken, readParagraph):
6740 * paragraph.C (write): \layout -> \begin_layout.
6742 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6744 * lyxlex_pimpl.C (setFile): clean up slightly.
6746 * bufferparams.h: add compressed var
6748 * buffer_funcs.C (readFile): adjust for LyXLex change
6749 (newFile): ditto + simplify
6751 * buffer.C (writeFile): handle writing of compressed files
6753 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6754 Check if the file is compressed and set a bufferparm if so.
6756 * Makefile.am (lyx_LDADD): remove explicit -lz
6758 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6760 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6761 makeDocBookFile): put the real LyX version in the first line of
6765 * version.C.in: remove lyx_docversion
6767 * tabular.C (write_attribute): add a template-based version to
6768 write enums properly
6770 2003-07-28 André Pönitz <poenitz@gmx.net>
6775 * text3.C: use doubles again for x-coordinates. They are needed.
6777 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6779 * messages.C (getLocaleDir): use lyx_localedir()
6781 * lyxlex_pimpl.C (setFile): compress stuff
6783 * buffer.C (writeFile): add some compression stuff
6784 (do_writeFile): new func, dont call expliti close... will this
6787 * Makefile.am (lyx_LDADD): add -lz
6789 2003-07-28 José Matos <jamatos@fep.up.pt>
6791 * buffer.C: increment file format.
6792 * paragraph_funcs (readParagraph, readParToken):
6793 * paragraph.C (readParagraph): add \end_layout.
6795 2003-07-27 Angus Leeming <leeming@lyx.org>
6797 * Makefile.am: remove special casing for configure-time setting of
6798 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6800 * lyx_main.C (init): remove all Jean-Marc's magic setting of
6801 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6803 2003-07-26 André Pönitz <poenitz@gmx.net>
6805 * paragraph_func.[Ch]:
6806 * paragraph.C (realizeFont): inline it whereever it is used
6811 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6814 2003-07-26 André Pönitz <poenitz@gmx.net>
6818 * text2.C: get rid of LyXText::need_break_row
6820 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6822 * toc.[Ch]: put namespace toc inside namespace lyx
6824 * MenuBackend.C (expandToc2): adjust for lyx::toc
6827 * lyxfunc.C (dispatch): adjust for lyx::find
6829 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6830 lyx::find instead. Reorganize a bit.
6831 (LyXReplace): rename to replace
6832 (LyXFind): rename to find
6834 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6837 2003-07-26 André Pönitz <poenitz@gmx.net>
6839 * text.C (setHeightOfRow): restrict scope of temporary variable
6841 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
6842 code (never has been used?)
6844 2003-07-27 Asger Alstrup <alstrup@local>
6846 * text.C (fill): Optimise algorithm to exploit that we can reuse
6847 the LyXFont for many characters.
6848 (setHeightOfRow): Same thing.
6849 (rowBreakPoint): Same thing.
6851 2003-07-26 Asger Alstrup <alstrup@local>
6853 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6855 * text.C (singleWidth): Spurious font copying in hot-spot
6856 singleWidth avoided. Reorder tests for arabic for efficiency.
6858 * text.C (fill): handle empty paragraphs better.
6860 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6863 * encoding.h: add includes
6865 * lyxrc.C: remove reading of bind files
6867 * lyx_main.C (init): setup bindings and menus only if we have a
6870 * kbmap.C (read): new method. Do the actual reading of bind
6873 * converter.C (dvipdfm_options):
6876 (output): adapt PAPER_* enums.
6878 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6880 * bufferparams.h: remove paper-related enums from there
6882 * paper.h: New file. A trivial header file to hold paper-related
6883 enums. It should later expand to contain many paper-related
6886 * lyxrc.C: declare extern displayTranslator
6888 2003-07-27 José Matos <jamatos@fep.up.pt>
6890 * tabular.[Ch] (linuxdoc): add support for tables and figures
6893 2003-07-27 José Matos <jamatos@fep.up.pt>
6895 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6896 consistency in both functions.
6897 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6899 2003-07-26 Asger Alstrup <alstrup@local>
6901 * rowpainter.C (paintRows): Change algorithm to work directly on
6902 the insets rather than asking every character in the document
6903 whether its an inset.
6905 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
6907 * buffer.C (openFileWrite): factorize some code
6909 2003-07-26 Angus Leeming <leeming@lyx.org>
6912 * lyx_main.[Ch]: replace occurances of system_tempdir with
6915 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6917 * rename Inset to InsetOld
6919 2003-07-25 Asger Alstrup <alstrup@diku.dk>
6921 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6922 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6923 which I think is a bit clearer. EDIT is gone, since it was
6924 premature optimisation, and broken for mathed anyway.
6925 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6926 with cursor positioning in insets as well (math insets still do not
6927 work, but that's a different story anyway.) It mysteriously
6928 crashes sometimes with undo in the first paragraph, but I'm fairly
6929 confident that this is a compiler bug.
6931 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6933 * paragraph.C (Paragraph): adjust for new clone return type
6935 (copyIntoMinibuffer): ditto
6937 2003-07-25 Asger Alstrup <alstrup@lyx.org>
6939 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6940 by not having a special case, and always doing a full rebreak of
6941 the document after undo.
6943 2003-07-23 Angus Leeming <leeming@lyx.org>
6945 * factory.C (createInset): InsetExternal::setParams now takes a
6948 2003-07-23 Angus Leeming <leeming@lyx.org>
6950 * factory.C (createInset): changed interface to the external and
6951 graphics mailers' string2params functions.
6953 2003-07-23 Angus Leeming <leeming@lyx.org>
6955 * factory.C (createInset): pass a
6956 Buffer const * parameter to InsetExternalMailer's string2params.
6958 2003-07-22 John Levon <levon@movementarian.org>
6960 * Thesaurus.h: include the right aiksaurus header
6962 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6964 * MenuBackend.C (expand): check menu shortcuts unconditionally
6966 2003-07-21 Angus Leeming <leeming@lyx.org>
6968 * factory.C (createInset): pass a
6969 buffer_path parameter to InsetGraphicsMailer's string2params.
6971 2003-07-21 Angus Leeming <leeming@lyx.org>
6973 * BufferView_pimpl.C (buffer):
6976 * lyxfunc.C (dispatch):
6977 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6978 rather than the grfx shortcut.
6980 2003-07-21 André Pönitz <poenitz@gmx.net>
6982 * rowpainter.C: remove unused variables
6985 * tabular_funcs.h: move to tabular.C
6986 * Makefile.am: adjust
6988 * tabular.[Ch]: basic optical cleaning
6990 * author.h: pass references, not values
6992 2003-07-18 André Pönitz <poenitz@gmx.net>
7000 * text3.C: two-phase drawing for InsetText and InsetTabular
7001 some float -> int changes.
7003 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
7005 * lyx_main.C: fix the fix
7007 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
7009 * lyx_main.C: fix a crash in batch mode if no files specified
7012 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
7014 * format.[Ch] (papersize): moved to BufferParams
7015 * converter.[Ch] (dvips_options): moved to BufferParams
7016 (dvipdfm_options): moved to anon namespace
7017 * bufferparams.[Ch]: added above functions.
7019 2003-07-17 André Pönitz <poenitz@gmx.net>
7023 * text2.C: don't call inset->update() anymore
7025 * metricsinfo.[Ch]: add convenience constructor
7027 2003-07-16 André Pönitz <poenitz@gmx.net>
7032 * text2.C: replace the LyXCursor::irow_ member with
7033 on-demand computation of the value
7035 2003-07-16 John Levon <levon@movementarian.org>
7037 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
7039 2003-07-15 André Pönitz <poenitz@gmx.net>
7042 * text2.C: remove no more needed refresh_row
7044 2003-07-15 André Pönitz <poenitz@gmx.net>
7049 * text3.C: refresh_status tristate -> need_update bool
7051 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
7053 * lyxtext.h (init): remove reinit argument (act as if always true)
7054 * text2.C: adjust to that
7056 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
7058 * bufferview_funcs.[Ch]: introduce function replaceSelection()
7059 * text3.C: use it to delete selections in some cases
7060 (bugs 441, 673, 702, 954).
7062 2003-07-14 André Pönitz <poenitz@gmx.net>
7064 * rowpainter.[Ch]: reduce interface
7066 2003-07-14 André Pönitz <poenitz@gmx.net>
7068 * BufferView_pimpl.C:
7069 * text2.C: adjust after removing unused BufferView * argument
7071 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
7073 * text2.C (init): fix a crash fired on resize
7075 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
7077 * buffer.[Ch]: added new closing signal
7078 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
7079 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
7080 BufferView::Pimpl via the closing the signal
7082 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
7084 * buffer.[Ch]: take out all bv-related from buffer
7086 * BufferView_pimpl.[Ch]: connect to new signals
7087 * CutAndPaste.C: removed useless asserts
7088 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
7091 * lyxfunc.C: moved view-related funciontality from vc here
7092 * paragraph.C: removed outdated comments
7095 2003-07-10 André Pönitz <poenitz@gmx.net>
7097 * BufferView_pimpl.C:
7101 * text2.C: remove InsetText::InnerCache, clean up consequences
7103 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
7105 * ispell.C: fix two typos in error messages
7107 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
7109 * Extend Note inset to other forms of annotation like Comment
7110 and Greyedout. Right button click gives dialog.
7112 Files modified or added (+):
7116 * ControlNote.[Ch] +
7118 * Makefile.am in frontends/xforms, frontends/xforms/forms,
7119 frontends/controllers
7123 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
7125 * aspell.C: add missing namespace lyx::support
7127 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
7129 * BufferView.[Ch] (newFile): Add
7130 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
7131 * LaTeX.[Ch] (message): added this signal and use it
7132 * buffer.[Ch] (busy, message): added these signals and use them
7133 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
7137 * importer.C: use buffer signals instead of direct bv calling
7138 * lyx_cb.[Ch] (ShowMessage): removed
7141 * paragraph_funcs.C:
7142 * text2.C: use buffer signals
7144 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7146 * introduce namespace lyx::graphics
7148 2003-07-02 André Pönitz <poenitz@gmx.net>
7150 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
7152 2003-07-01 André Pönitz <poenitz@gmx.net>
7159 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
7160 text*.C to text_func.C
7162 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7164 * introduce namespace lyx::support
7166 2003-06-30 André Pönitz <poenitz@gmx.net>
7171 * text.C: re-enable --with-included-string
7173 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7175 * textcursor.C: add <config.h>
7177 * text.C (getWord): remove const from word_location arg
7179 * lyxvc.C (getLogFile): fix const type order
7181 * lyxtext.h: remove const from word_location arg, add arg name
7183 * lyxlayout.h: currect type on labeltype.
7185 * importer.C: correct \file
7187 * converter.C (intToFormat): use std:: on ret val, ws changes
7189 * bufferlist.h: correct \file
7191 * buffer.C (makeLinuxDocFile): fix const type order
7192 (makeDocBookFile): ditto
7193 (fillWithBibKeys): use std:: on stdlib args.
7195 * CutAndPaste.C: fix authors.
7196 (availableSelections): use std:: on return vector
7198 2003-06-27 André Pönitz <poenitz@gmx.net>
7200 * BufferView_pimpl.C:
7201 * bufferview_funcs.C:
7209 * text3.C: remove LyXCursor::row_ member
7212 * text.C: rename fullRebreak() to partialRebreak() and implement
7213 a fullRebreak() that really bereks fully
7215 * textcursor.h: new struct for cursor-related data
7217 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
7219 * lyx_main.C (LyX): get full path of document loaded on the
7222 2003-06-26 André Pönitz <poenitz@gmx.net>
7224 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
7225 remove unused/broken operator>,<,>=.
7227 * text.C: remove only use of broken operator<= in an Assert().
7229 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
7231 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
7232 moved errorlist_.clear to showErrorList
7234 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
7236 * converter.C (scanLog, runLaTeX):
7237 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
7238 move the bv->showErrorList call to the callers
7239 * lyxfunc.C: i.e. here...
7241 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
7242 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
7243 namespace, the second to...
7244 * buffer_funcs (BufferFormat, parseErrors): added
7245 * errorlist.C (ErrorList(TeXErrors const &)): removed
7247 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7249 * ToolbarBackend.C (getIcon): complain when icon cannot be found
7251 2003-06-24 "Garst R. Reese" <reese@isn.net>
7255 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7257 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
7259 * version.C.in: change docversion to 1.4
7261 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
7263 * buffer.C: fix a bug just introduced
7265 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
7267 * buffer.[Ch]: added the parseError signal and use it, removed
7269 * BufferView.[Ch] (addError): moved to ...
7270 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
7271 to the Buffer::parseError signal to catch (guess what) parse errors
7272 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
7274 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
7276 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
7277 ability to create a buffer and to return an existing one from
7278 the list. Moved these functions to...
7279 * buffer_funcs.[Ch]: added
7280 * BufferView.[Ch] (loadLyXFile): added
7281 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
7282 job removed from bufferlist::loadLyXFile.
7283 * buffer.C (setReadOnly): make it work without view
7284 (i.e added an if (users))
7286 2003-06-19 Angus Leeming <leeming@lyx.org>
7289 * LyXAction.C (init):
7290 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
7291 with LFUN_DIALOG_SHOW <name> <data>.
7293 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7295 * CutAndPaste.C (availableSelections): small compilation fix for
7296 ancient (gcc 2.9x) compilers
7298 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
7300 * text3.C (cursorNext): add tmp var
7302 * text2.C (updateCounters): for function calling out of for clause
7303 (replaceSelectionWithString): ditto
7304 (insertStringAsParagraphs): ditto
7305 (getColumnNearX): add tmp var
7306 (setCursorFromCoordinates): add tmp var
7307 (cursorDownParagraph): add tmp var
7308 (deleteEmptyParagraphMechanism): add tmp var
7310 * text.C (insertChar): add tmp var
7312 * rowpainter.C (paintDepthBar): add tmp var
7314 * CutAndPaste.C (availableSelections): potentially check all
7315 paragraphs in a cut to fill the shown strings.
7317 2003-06-18 André Pönitz <poenitz@gmx.net>
7319 * kbmap.[Ch]: use vector<> instead of list<>
7321 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
7323 * text3.C (dispatch): handle arg to LFUN_PASTE, call
7324 pasteSelection with index
7326 * text2.C (pasteSelection): modify, call pasteSelection with index
7328 * paragraph.C (asString): reimplement version with no interval to
7329 call the one with interval.
7331 * lyxtext.h: add index arg to pasteSelection
7333 * MenuBackend.C (MenuItem): handle PasteRecent
7334 (Menu::read::Menutags): add md_pasterecent
7336 (expandPasteRecent): new function
7339 * MenuBackend.h: add PasteRecent to MenuItem::Kind
7341 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
7343 (availableSelections): new function
7345 2003-06-17 Angus Leeming <leeming@lyx.org>
7347 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
7349 2003-06-17 Angus Leeming <leeming@lyx.org>
7352 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
7354 * lyxfunc.C (dispatch): invoke it.
7356 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7358 * iterators.C (operator++, ParPosition): reintroduce some
7359 const_cast for the benefit of older compilers.
7361 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7363 * text3.C (dispatch): do not modify clipboard when doing
7364 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
7365 LFUN_DELETE_SKIP on a selection selection
7367 2003-06-16 André Pönitz <poenitz@gmx.net>
7373 * tabular.[Ch]: IU of clone() and getLabelList();
7375 2003-06-13 André Pönitz <poenitz@gmx.net>
7377 * tabular.h: compactification
7379 2003-06-12 André Pönitz <poenitz@gmx.net>
7383 * tabular_funcs.h: some renaming plus whitespace
7385 2003-06-12 André Pönitz <poenitz@gmx.net>
7388 * BufferView_pimpl.C:
7394 * toc.C: Return a Paragraph & for ParIterator::operator*()
7396 2003-06-11 John Levon <levon@movementarian.org>
7400 * ToolbarBackend.C: add "Toolbars" section and
7403 2003-06-10 Angus Leeming <leeming@lyx.org>
7406 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
7408 * lyxfunc.C (dispatch): invoke it.
7410 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7412 * main.C: protect <ios> with HAVE_IOS
7413 (main): protect sync_with_stdio with HAVE_IOS
7415 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
7417 * text2.C (cutSelection): adjust
7418 (pasteSelection): adjust
7420 * messages.C: handle get of empty string
7422 * main.C (main): use sync_with_stdio(false)
7424 * lyxfunc.C (dispatch): adjust
7426 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
7427 (WriteAs): remove unneeded BufferView arg.
7429 * bufferparams.h: use correct types on papersize, papersize2 and
7432 * bufferparams.C (readToken): adjust for type
7433 (writeLaTeX): add missing cases to switch.
7435 * bufferlist.C (quitWriteBuffer): adjust
7438 * buffer.C (asciiParagraph): remove some commented code.
7440 * CutAndPaste.C: remove current_view extern variable.
7441 (cutSelection): add BufferParams arg.
7442 (eraseSelection): add BufferParams arg.
7443 (pasteSelection): add Buffer const & arg
7445 2003-06-07 John Levon <levon@movementarian.org>
7448 * paragraph_funcs.C:
7449 * paragraph_pimpl.C:
7453 * paragraph.C: allow InsetERT to freely space lines,
7454 and some consolidation of code
7456 2003-06-06 José Matos <jamatos@fep.up.pt>
7458 * buffer.C (makeDocBookFile): fix bug #821
7460 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
7462 * BufferView_pimpl.C (dispatch): use Dialogs::visible
7464 2003-06-04 Angus Leeming <leeming@lyx.org>
7466 * buffer.C: bump format to 224.
7468 2003-06-05 André Pönitz <poenitz@gmx.net>
7470 * text2.C (redoParagraphs): remove two const_cast<>
7472 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
7474 * ParagraphList.h: remove last remnants of NO_STD_LIST
7476 2003-06-03 Angus Leeming <leeming@lyx.org>
7478 * factory.C (createInset): small change to the way InsetExternal's params
7481 2003-06-04 André Pönitz <poenitz@gmx.net>
7483 * buffer.h: use Undo directly instead of shared_ptr<Undo>
7485 * paragraph_pimpl.h:
7486 * paragraph.[Ch]: some Inset -> UpdatableInset changes
7488 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
7490 * undo_funcs.C: make some simple cases of undo work again
7492 2003-06-03 John Levon <levon@movementarian.org>
7494 * ispell.C: HPUX doesn't have sys/select.h
7497 2003-06-03 John Levon <levon@movementarian.org>
7499 * CutAndPaste.C: update tabular and include inset
7504 * paragraph.C: remove owningBuffer(), don't pass Buffer
7507 * factory.C: insetGraphicsParams changed
7509 2003-06-02 John Levon <levon@movementarian.org>
7515 * text3.C: remove insetparent
7517 2003-06-02 John Levon <levon@movementarian.org>
7520 * buffer.C: fix inset_iterator.end(), move out of line
7523 2003-06-01 John Levon <levon@movementarian.org>
7525 * text3.C: use a proper cut/paste when doing inset
7526 insert (from Jürgen Spitzmüller)
7528 2003-06-01 John Levon <levon@movementarian.org>
7530 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7532 2003-05-30 André Pönitz <poenitz@gmx.net>
7534 * rowpainter.C: unify second drawing phase
7536 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7538 * trans_mgr.C: remove one case of current_view
7540 * text2.C (cursorBottom): delete NO_STD_LIST stuff
7542 * paragraph_funcs.h: remove paragraph.h include
7544 * paragraph.h: delete NO_STD_LIST stuff
7546 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7548 * buffer.h: remove paragraph.h include
7550 * ParagraphList.C: delete file
7552 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7554 * toc.C (getTocList): adjust
7556 * paragraph_pimpl.C (validate): adjust
7558 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7560 * paragraph.C (Paragraph): adjust
7561 (getPositionOfInset): use const_iterator, adjust
7562 (bibitem): use const_iterator, adjust
7563 (setInsetOwner): adjust
7565 * iterators.C (operator++): adjust
7567 * InsetList.[Ch]: Replace selfmade iterator with standard
7568 vector::iterator also introduce const_iterator. Remove getPos,
7569 getInset and setInset from InsetTable. Adjust accordingly.
7571 * BufferView.C (lockInset): adjust
7572 (ChangeInsets): adjust
7574 * tabular.[Ch]: delete commented same_id functions
7576 2003-05-28 John Levon <levon@movementarian.org>
7578 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7580 2003-05-28 André Pönitz <poenitz@gmx.net>
7582 * metricsinfo.[Ch]: remove 'fullredraw' member
7584 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
7586 * lyxtextclass.C (operator): remove caching.
7588 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7592 * text2.C (cursorBottom): adjust
7593 (setCounter): use ParagraphList::find, adjust
7595 * text.C (workWidth): use ParagraphList::find, adjust
7597 * lyxcursor.C (LyXCursor): adjust
7599 * buffer.C (inset_iterator): adjust
7601 * ParagraphList.h: make iterator(value_type) private, make
7602 ParagraphList a friend of iterator.
7604 * ParagraphList.C (find): new function
7606 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7608 2003-05-27 André Pönitz <poenitz@gmx.net>
7610 * dimension.[Ch]: a -> asc, d -> des, w -> wid
7612 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7614 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7616 2003-05-26 John Levon <levon@movementarian.org>
7618 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7620 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
7622 * remove same_id from function signatures, adjust.
7624 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7626 * undo_funcs.C (createUndo): use the id functions directly, adjust.
7628 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7630 * paragraph.C (Paragraph): get rid of same_ids parameter
7632 * ParagraphList.C (insert): adjust
7635 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7637 * paragraph_funcs.C (breakParagraph): adjust
7638 (breakParagraphConservative): adjust
7640 * buffer.C (readParagraph): adjust
7642 * ParagraphList.C (insert): take a reference instead of a pointer
7645 * paragraph.[Ch] (id): new function
7647 * bufferlist.C (newFile): adjust
7649 * ParagraphList.C (ParagraphList): adjust
7651 (push_back): take a reference instead of a pointer.
7653 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7655 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7658 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7659 set else use old code.
7661 * ParagraphList.C: remove all NO_NEXT code and only compile this
7662 code of NO_STD_LIST is set.
7664 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7666 * BufferView_pimpl.C:
7676 * graphics/GraphicsConverter.C:
7677 * graphics/PreviewLoader.C: header adjustment
7679 2003-05-23 Angus Leeming <leeming@lyx.org>
7681 * LaTeXFeatures.[Ch] (useBabel): new method.
7682 * bufferparams.C (writeLaTeX): use it.
7684 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7686 * ParagraphList.h (set): remove unused function.
7688 2003-05-23 André Pönitz <poenitz@gmx.net>
7691 * BufferView_pimpl.C:
7695 * undo_funcs.C: setUndo reworked
7697 * iterators.[Ch]: add access to topmost ParagraphList
7699 * lyxtext.[Ch] (workWidth): add a const
7701 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7703 * texrow.[Ch] (increasePos): remove function
7704 * exporter.C (export): removed unused var and outdated comment
7706 2003-05-23 Angus Leeming <leeming@lyx.org>
7708 * latexrunparams.h: rename fragile as moving_arg.
7709 * paragraph.C (simpleTeXOnePar): ditto.
7710 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7712 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7714 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7716 (textUndoOrRedo): comment out a currently unused var.
7718 * paragraph.h (NO_NEXT): enable NO_NEXT
7720 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7722 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7724 * exporter.C (Export): adjust for removeAutoInsets removal.
7726 * buffer.C (runChktex): adjust for removeAutoInsets removal.
7728 * LyXAction.C (init): remove LFUN_REMOVEERRORS
7730 * BufferView.[Ch] (removeAutoInsets): delete function
7732 2003-05-22 Angus Leeming <leeming@lyx.org>
7734 * latexrunparams.h: add a free_spacing variable.
7736 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7737 to pass moving_arg, as the data is stored in runparams.fragile.
7739 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7740 to Inset::latexOptional or to simpleTeXOnePar.
7742 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7743 free_spacing arg to Inset::latexOptional.
7745 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7748 2003-05-22 Angus Leeming <leeming@lyx.org>
7750 * latexrunparams.h: add fragile and use_babel variables.
7752 * bufferparams.[Ch] (writeLaTeX): return use_babel.
7753 * buffer.C (makeLaTeXFile): store this returned value in
7754 runparams.use_babel, thus passing it to the inset::latex methods.
7756 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7757 simpleTeXSpecialChars as it is now stored in runparams.fragile.
7759 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7760 longer has a fragile arg, as it is stored in runparams.fragile.
7762 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7763 moving_arg parameter as the data is stored in runparams.fragile.
7765 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7766 a fragile parameter as the data is stored in runparams.fragile.
7768 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7770 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7772 2003-05-22 Angus Leeming <leeming@lyx.org>
7774 * latexrunparams.h: add a 'bool nice' which defaults to false.
7776 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7777 now encapsulated within runparams.
7779 * bufferlist.C (updateIncludedTeXfiles):
7780 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7782 2003-05-22 Angus Leeming <leeming@lyx.org>
7784 * latexrunparams.h: new file containing struct LatexRunParams.
7785 * Makefile.am: add new file.
7787 * LaTeX.[Ch] (c-tor, run):
7788 * buffer.[Ch] (makeLaTeXFile):
7789 * bufferlist.[Ch] (updateIncludedTeXfiles):
7790 * converter.C (convert, scanLog):
7791 * converter.[Ch] (runLaTeX):
7792 * exporter.C (Export):
7793 * paragraph.[Ch] (simpleTeXOnePar):
7794 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7795 * paragraph_funcs.[Ch] (latexParagraphs):
7796 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7797 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7798 pass around a LatexRunParams parameter.
7800 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7802 * paragraph.[Ch]: remove unused constructor
7804 * ParagraphList.C (erase): new function, taking two iterators
7806 2003-05-22 André Pönitz <poenitz@gmx.net>
7808 * undo_funcs.C: remove duplicated code
7810 * iterator.[Ch]: operator=
7812 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7814 * tabular.C (SetMultiColumn): ws changes
7816 * rowpainter.C (paintFirst): get rid of a ->previous
7818 * lyx_cb.C (getPossibleLabel): parlist simplification
7820 * BufferView.C (ChangeInsets): simplify slightly.
7822 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
7824 * LyXAction.C: new lfun space-insert, kill protected-space-insert
7825 * lfuns.h: new LFUN_SPACE
7826 * lyxfunc.C: protected space has a new lfun
7827 * paragraph_funcs.C: read new space insets
7829 * factory.C: handle new space insets
7831 2003-05-22 André Pönitz <poenitz@gmx.net>
7834 * BufferView_pimpl.C:
7837 * undo_funcs.C: return a ParIterator from getParFromID.
7839 * iterators.[Ch]: add two const's
7841 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7843 * toc.C (getTocList): adjust
7845 * iterators.[Ch]: rework for parlist
7847 * buffer.C (par_iterator_begin): adjust
7848 (par_iterator_end): adjust
7850 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7852 * BufferView.C (removeAutoInsets): adjust
7853 (ChangeInsets): adjust
7855 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
7857 * text.C (top_y): fix bug 1110
7859 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
7861 * errorlist.[Ch]: added
7864 * BufferView_pimpl.C:
7865 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7868 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7870 * Makefile.am: ensure that lyx is relinked upon changes to the
7871 various "convenience" libs.
7873 2003-05-20 Angus Leeming <leeming@lyx.org>
7875 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7876 files are compiled in alphabetical order again.
7878 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7880 2003-05-19 Angus Leeming <leeming@lyx.org>
7882 * gettext.[Ch]: remove "char const * _(char const *)".
7884 2003-05-19 André Pönitz <poenitz@gmx.net>
7886 * dimension.[Ch]: promote from mathed/dimension.[Ch]
7895 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7897 2003-05-19 André Pönitz <poenitz@gmx.net>
7901 * lyxtextclass.[Ch]:
7903 * paragraph_funcs.[Ch]:
7905 * text3.C: more insetenv work
7907 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
7909 * ParagraphParameters.C (params2string): small bug fixed
7911 2003-05-16 André Pönitz <poenitz@gmx.net>
7914 * bufferview_funcs.C: patch from Kornel Benko to prevent
7915 crash when _(...) is called twice in a statement
7917 2003-05-16 André Pönitz <poenitz@gmx.net>
7924 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7926 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
7928 * lyx_main.C (init): remove spurious static_cast
7930 2003-05-14 André Pönitz <poenitz@gmx.net>
7932 * BufferView.C: fix format string
7934 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
7936 * BufferView.[Ch] (insertErrors): removed
7937 * BufferView.[Ch] (showErrorList): added
7938 * buffer.C (runChkTeX):
7939 * converter.C (scanLog): call showErrorList instead of inserterrors
7941 2003-05-13 André Pönitz <poenitz@gmx.net>
7943 * BufferView_pimpl.C:
7945 * bufferview_func.C:
7952 * tabular_funcs.h: tostr() from its own header
7954 * ParagraphParameters.C:
7959 * text3.C: STRCONV()
7961 2003-05-12 André Pönitz <poenitz@gmx.net>
7964 * BufferView_pimpl.C:
7968 * ParagraphParameters.C:
7972 * bufferview_funcs.C:
7985 * paragraph_funcs.C:
7989 * text3.C: boost::format -> bformat all over the place
7992 2003-05-09 André Pönitz <poenitz@gmx.net>
7994 * LColor.[Ch]: Pimpl the #include <map> away
7996 2003-05-09 John Levon <levon@movementarian.org>
7998 * bufferlist.C: never remove emergency saves
8000 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8002 * Makefile.am: better lib building
8004 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
8006 * texrow.[Ch]: remove dependency on Paragraph and just store a id
8008 * paragraph_pimpl.C (simpleTeXBlanks): adjust
8009 (simpleTeXSpecialChars): adjust
8010 (simpleTeXSpecialChars): adjust
8011 * paragraph.C (simpleTeXOnePar): adjust
8012 * buffer.C (makeLaTeXFile): adjust
8014 * Makefile.am (BOOST_LIBS): allow boost as system lib.
8016 * text2.C (changeDepth): parlist cleanup
8017 (getColumnNearX): ditto
8019 * rowpainter.C (getLabelFont): parlist cleanup
8021 * bufferlist.C (newFile): parlist cleanup
8023 * CutAndPaste.C (eraseSelection): parlist cleanup
8025 * BufferView_pimpl.C (trackChanges): parlist cleanup
8028 * BufferView.C (lockInset): parlist cleanup.
8029 (ChangeInsets): ditto
8031 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8033 * CutAndPaste.h: Update file header.
8035 * CutAndPaste.C: Update file header.
8036 Store the parts cut out of the Document in a limited_stack.
8037 (copySelection): adjust
8038 (pasteSelection): new function, takes the index in the limited stack.
8039 (nrOfParagraphs): adjust
8040 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
8041 simplify error inset insertion.
8042 (checkPastePossible): adjust
8044 2003-05-06 John Levon <levon@movementarian.org>
8046 * text2.C: don't cast wrap inset to float
8048 2003-05-05 André Pönitz <poenitz@gmx.net>
8051 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
8053 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
8054 few naked Paragraph *.
8056 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
8058 * bufferparams.C: Output warning if a document with missing
8059 TeX document class is loaded
8060 * exporter.C: Disable TeX exports if the document class is missing
8063 * lyxtextclasslist.C: Handle new textclass.lst format; new method
8064 isTeXClassAvailable()
8066 2003-05-03 John Levon <levon@movementarian.org>
8069 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
8070 explicit cursor show/hide
8072 * BufferView_pimpl.h:
8073 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
8074 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
8076 * lyxfunc.C: hide cursor before dispatching.
8081 * text3.C: remove explicit cursor hides
8083 2003-05-02 André Pönitz <poenitz@gmx.net>
8085 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
8088 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
8091 * text2.C: tiny whitespace
8093 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8095 * undo_funcs.C: almost only ws changes.
8097 * ParagraphList.C (splice): just return if pl is empty.
8099 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8101 * ParagraphList.C (splice): new function.
8103 * CutAndPaste.C (pasteSelection): use it
8105 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8107 * CutAndPaste.C (pasteSelection): remove the last next and
8108 previous from this file.
8110 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8112 * CutAndPaste.C (pasteSelection): more clean up, user proper
8113 ParagraphList functions for pasteing.
8115 * ParagraphList.C (insert): new function, three arg insert
8117 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8119 * ParagraphList.C (insert): new function, three arg insert
8121 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
8124 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8126 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
8128 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8130 * CutAndPaste.C (pasteSelection): remove some unneeded code.
8132 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8134 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
8135 (copySelection): clean up a bit.
8136 (pasteSelection): use make_pair
8138 * ParagraphList.C (ParagraphList): implement copy constructor
8139 (operator=): implement, base on copy constructor.
8142 * paragraph.C (erase): return a bool
8144 * paragraph_pimpl.C (erasePos): remove function, move contents...
8145 (erase): ... here. Return a bool.
8146 (erase): call erase instead of erasePos.
8148 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
8150 * ParagraphList.h: define PitPosPair
8151 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
8152 ParagraphList, fix a bug on pasting multiple pars
8153 * text2.C: change interface to C&P
8155 2003-04-30 André Pönitz <poenitz@gmx.net>
8157 * undo_func.C: revert part of yesterday's patch 2
8159 2003-04-30 John Levon <levon@movementarian.org>
8161 * LColor.C: s/tabular/table/
8163 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8165 * text3.C (dispatch): do not convert iterator -> pointer
8166 * undo_funcs.C (setCursorParUndo): ditto
8167 * text_funcs.C (transposeChars): ditto
8169 * text2.C (setLayout): ws changes only
8171 * text.C (breakParagraph): do not convert iterator -> pointer
8173 (acceptChange): ditto
8174 (rejectChange): ditto
8179 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
8182 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
8184 * text3.C (gotoInset): YABG (yet another bad getChar)
8186 2003-04-29 André Pönitz <poenitz@gmx.net>
8188 * paragraph.h: make operator= private unimplemented as long as
8191 * ParagraphList.C: whitespace
8194 * paragraph_pimpl.[Ch]:
8195 * paragraph_funcs.C:
8197 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
8200 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
8202 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
8204 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
8205 * paragraph.[Ch] (erase):
8206 * paragraph_pimpl.[Ch] (erase): change return type and value
8207 * text2.C (cutSelection): some rework
8209 2003-04-28 John Levon <levon@movementarian.org>
8211 * bufferlist.C: changes for unsaved changes dialog
8213 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8215 * bufferlist.C (newFile): set language (messages_) for new
8218 * buffer.C (readFile): ws changes only.
8220 2003-04-28 André Pönitz <poenitz@gmx.net>
8225 * BufferView_pimpl.C:
8226 * BufferView.C: getParFromID related ParagraphList::iterator changes
8228 2003-04-28 André Pönitz <poenitz@gmx.net>
8230 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
8233 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8235 * messages.C: remove one more localedir class variable.
8237 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8239 * messages.C (getLocaleDir): singleton generation function
8241 (Messages): add a default constructor.
8243 * main.C (main): do not setup localedir here, do not call
8246 * gettext.C (_): use it.
8247 (gettext_init): delete funciton
8249 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8251 * gettext.C (getLyXMessages): new singleton generating function.
8253 * buffer.C (updateDocLang): adjust
8255 * Makefile.am (messages.o): add target
8256 (main.o): remove target
8258 2003-04-27 John Levon <levon@movementarian.org>
8263 * lyxvc.C: specify cancel button in Alert::prompt
8265 2003-04-26 John Levon <levon@movementarian.org>
8270 * LyXAction.C: add LFUN_INSET_SETTINGS
8272 * lyxfunc.C: don't enable tabular-feature when there's
8273 just any locking inset
8275 2003-04-26 John Levon <levon@movementarian.org>
8277 * bufferlist.C: re-add Cancel to buffer close question
8279 * lyxfunc.C: fix import UI a bit
8281 2003-04-25 John Levon <levon@movementarian.org>
8283 * gettext.C: remove the broken asserts for now
8285 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
8287 * messages.C: make case where setlocale cannot comply work better.
8289 * buffer.C (updateDocLang): new function
8290 (changeLanguage): use it
8293 * text2.C (setCounter): use B_ a bit.
8295 * lyxlayout.C (Read): be sure to trim the label strings.
8297 * messages.C (Messages): fix typo in comment
8299 * buffer.C (readFile): set message_ after file is loaded.
8300 (makeDocBookFile): remove double return
8301 (changeLanguage): reset message_ upon language change.
8302 (B_): new func, use this to get translated buffer strings.
8304 * main.C: add myself and Jean Marc as authors.
8306 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
8308 * messages.[hC]: pimplify Messages, and three different pimpls to be
8309 used in different circumstances.
8311 * gettext.[Ch]: change for use with new message code.
8313 2003-04-24 André Pönitz <poenitz@gmx.net>
8315 * factory.C: support for eqref
8317 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
8319 * messages.[Ch]: add missing char
8321 * Makefile.am (lyx_SOURCES): add messages.[Ch]
8323 * messages.[Ch]: New files
8325 2003-04-18 John Levon <levon@movementarian.org>
8329 * BufferView_pimpl.C:
8333 * text2.C: remove layout-copy/paste (bug 778)
8335 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
8337 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
8339 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
8341 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
8342 if they succeed. Act accordingly.
8344 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8346 * text2.C (setCharFont): adjust
8347 (setCounter): adjust
8348 (insertStringAsLines): adjust
8350 * text.C (leftMargin): adjust
8351 (setHeightOfRow): adjust
8353 * rowpainter.C (paintFirst): adjust
8356 * paragraph_funcs.C (depthHook): ParagraphList::iterators
8358 (isFirstInSequence): ditto
8359 (getEndLabel): ditto
8362 * paragraph.C (getParLanguage): comment out some hard stuff.
8364 * buffer.C (insertStringAsLines): take a ParagraphList as arg
8366 (simpleDocBookOnePar): ditto
8367 (makeDocBookFile): use ParagraphList::iterator
8369 * CutAndPaste.C (pasteSelection): adjust
8371 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8373 * text2.C (getFont): adjust
8374 (getLayoutFont): adjust
8375 (getLabelFont): adjust
8377 * paragraph_funcs.C (TeXOnePar): adjust
8379 * buffer.C (simpleLinuxDocOnePar): adjust
8380 (simpleDocBookOnePar): adjust
8382 * CutAndPaste.C (pasteSelection): adjust
8384 * BufferView.C (getEncoding): adjust
8386 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
8388 2003-04-16 John Levon <levon@movementarian.org>
8390 * lyxfind.C: use parlist stuff for search/changes
8392 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8394 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
8396 * text2.C (deleteEmptyParagraphMechanism): adjust
8398 * text2.[Ch] (ownerParagraph): delete func (both of them
8400 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8402 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
8404 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8406 * ParagraphList.C: prepare for NO_NEXT
8408 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8410 * text2.C (getFont): adjust
8411 (getLayoutFont): adjust
8412 (getLabelFont): adjust
8414 * paragraph.C (getFont): adjust
8415 (getLabelFont): adjust
8416 (getLayoutFont): adjust
8418 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
8420 2003-04-15 John Levon <levon@movementarian.org>
8424 * lyx_main.C: handle Include in .ui files
8426 2003-04-15 John Levon <levon@movementarian.org>
8428 * MenuBackend.C: make the doc files length shorter
8431 * ToolbarBackend.C: handle toolbar placement flags,
8434 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8436 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
8439 * paragraph_funcs.C (TeXOnePar): adjust
8441 * paragraph.C (getLabelFont): add outerfont arg, adjust
8442 (getLayoutFont): ditto
8443 (simpleTeXOnePar): adjust
8445 * paragraph_pimpl.C (realizeFont): delete func
8447 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
8449 * text2.C (beforeFullRowInset): added a bad getchar check, removed
8450 row argument, constify cur argument.
8452 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8454 * text2.C (getFont): adjust
8455 (getLayoutFont): adjust
8456 (getLabelFont): adjust
8458 * paragraph_funcs.C (TeXOnePar): adjust
8459 (outerFont): new func...
8460 (realizeFont): ...moved out from here, changed this to facilitate
8463 * paragraph.C (getFont): take outerfont as arg, adjust
8464 (simpleTeXOnePar): add outerfont arg, adjust
8466 * buffer.C (simpleLinuxDocOnePar): adjust
8467 (simpleDocBookOnePar): adjust
8469 * CutAndPaste.C (pasteSelection): adjust
8471 * BufferView.C (getEncoding): adjust
8473 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8475 * text2.C (setCharFont): adjust
8476 (setCounter): adjust
8478 * text.C (leftMargin): adjust
8479 (setHeightOfRow): adjust
8481 * rowpainter.C (paintFirst): adjust
8484 * paragraph_pimpl.C (realizeFont): adjust
8486 * paragraph.C (isFirstInSequence): move from here...
8487 * paragraph_funcs.C (isFirstInSequence): ...to here
8489 * paragraph.C (outerHook): move from here...
8490 * paragraph_funcs.C (outerHook): ...to here
8492 * paragraph.C (depthHook): move from here...
8493 * paragraph_funcs.C (depthHook): ...to here
8495 * paragraph.C (getEndLabel): move from here...
8496 * paragraph_funcs.C (getEndLabel): ...to here
8498 * text2.C (realizeFont): move from here...
8499 * paragraph_funcs.C (realizeFont): ...to here
8501 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8503 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
8505 2003-04-14 Angus Leeming <leeming@lyx.org>
8507 * LColor.[Ch]: scrap LColor mathcursor.
8509 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8511 * lyxlex.[Ch] (text): delete function
8512 * trans.C (Load): adjust
8513 * paragraph_funcs.C (readParToken): adjust
8515 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8517 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8518 vector<char> instead of a char[].
8520 * lyxlex_pimpl.C (getString): adjust
8522 (lex): use getString
8526 * lyxlex.C (text): use pimpl_->getString()
8530 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8532 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8533 (makeFontEntriesLayoutSpecific): temp var for par.size()
8534 (setLayout): temp var for ownerParagraphs().end()
8535 (fullRebreak): temp var for rows().end()
8536 (selectionAsString): temp var for boost::next(startpit), realize
8537 that the while really is a regular for loop.
8538 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8539 setCursor in one place.
8540 (setParagraph): temp vr for ownerParagraphs().end()
8541 (updateCounters): make the while loop a for loop
8542 (cutSelection): temp var for ownerParagraphs().end()
8543 (updateInset): make the do {} while() a regular for loop
8544 (getCursorX): use temp vars
8545 (setCurrentFont): use temp vars
8546 (getColumnNearX): use temp vars
8548 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8550 * text.C (transformChar): use temp var for getChar
8551 (computeBidiTables): use temp var for row->par()
8552 (fill): move temp vars for row->par() and pit->layout() earlier in
8554 (labelFill): use temp var for row->par()
8555 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8556 asc and desc, realize that pit never changes and that firstpit is
8557 just a duplicate and not needed. Exchange rit->par() with pit in a
8559 (breakAgain): use a temp var for boost::next(rit)
8560 (breakAgainOneRow): ditto
8561 (breakParagraph): use a temp var for rows().begin()
8562 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8563 (cursorRightOneWord): use temp var for cursor.par() and
8564 cursor.pos(), remove usage of tmpcursor.
8565 (cursorLeftOneWord): use temp var for cursor.par() and
8566 cursor.pos() only set cur at end of function.
8568 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8570 * text.C, text2.C: exchange all usage of Paragraph::next with
8571 boost::next(ParagraphList::iterator)
8573 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8575 * text2.C (cursorTop): simplify implementation
8576 (cursorBottom): ditto
8577 (setParagraph): use ParagraphList::iterator
8578 (setCurrentFont): adjust
8579 (getColumnNearX): adjust
8580 (cursorRight): adjust
8581 (cursorLeft): remove usage of Paragraph::previous
8582 (cursorUpParagraph): ditto
8583 (deleteEmptyParagraphMechanism): slight cleanup
8585 * text.C (isBoundary): take a Paragraph const & instead of a
8587 (addressBreakPoint): ditto
8588 (leftMargin): remove usage of Paragraph::previous.
8589 (setHeightOfRow): ditto
8590 (cursorLeftOneWord): ditto
8591 (selectNextWordToSpellcheck): ditto
8594 (breakParagraph): remove one usage of Paragraph::next
8595 (redoParagraph): ditto
8596 (acceptChange): ditto
8597 (insertChar): adjust
8598 (rowBreakPoint): adjust
8600 * bufferview_funcs.C (toggleAndShow): adjust
8602 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
8604 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8605 methods to access it.
8607 * text.C: Added updateRowPositions to compute all row positions.
8608 Make top_y and getRowNearY() to use the cached y position
8610 2003-04-11 John Levon <levon@movementarian.org>
8612 * text.C (rowBreakPoint): reintroduce the labelEnd
8613 checks, code copied from the row fill stuff. Deep voodoo.
8615 * text.C (fill): add a comment and debugging for the
8618 2003-04-11 John Levon <levon@movementarian.org>
8620 * text.C: make sure fullrow insets get wrapped to the next line,
8621 even when they're in a manual label
8623 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
8625 * text2.C (insertParagraph): make it take ParagraphList::iterator
8627 (setLayout): make it return ParagraphList::iterator
8628 (redoParagraphs): ditto
8630 (checkParagraph): ditto
8632 * text.C (getRow): make getrow take ParagraphList::iterator as arg
8634 * text2.C: adjust several funcs.
8635 (realizeFont): take a ParagraphList::iterator as arg.
8636 (getLayoutFont): ditto
8637 (getLabelFont): ditto
8638 (setCharFont): ditto
8640 * text.C: adjust several funcs.
8642 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8644 * text.C (selectNextWordToSpellcheck): don't accidentally
8647 2003-04-10 John Levon <levon@movementarian.org>
8649 * ToolbarBackend.C (getIcon): special handling for
8652 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8654 * text2.C (cursorRight): a getChar assert fixed
8656 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8658 * text2.C (getFont): change to take a ParagraphList::iterator
8659 instead of Paragraph*
8660 Adjust several functions.
8662 * text.C (transformChar): change to take a ParagraphList::iterator
8663 instead of Paragraph*
8664 (singleWidth): ditto
8665 Adjust several functions.
8667 * rowpainter.C: adjust several functions
8668 * rowpainter.h:store a ParagraphList::iterator and not a
8672 2003-04-09 John Levon <levon@movementarian.org>
8677 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8678 and the "help" bits as well
8680 2003-04-09 John Levon <levon@movementarian.org>
8683 * ToolbarBackend.C: allow multiple toolbars
8685 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8687 * undo_funcs.C (setCursorParUndo): adjust
8689 * text_funcs.C (transposeChars): adjust
8691 * text3.C (gotoNextInset): adjust
8694 * text2.C (setLayout): adjust
8695 (changeDepth): adjust
8697 (redoParagraphs): adjust
8698 (selectionAsString): adjust
8699 (setParagraph): adjust
8700 (insertInset): adjust
8701 (cutSelection): adjust
8702 (copySelection): adjust
8703 (pasteSelection): adjust
8704 (insertStringAsLines): adjust
8705 (updateInset): adjust
8706 (setCursor): change to take a ParagraphList::iterator parameter
8707 (setCursorIntern): change to take a ParagraphList::iterator parameter
8708 (setCurrentFont): adjust
8709 (cursorLeft): adjust
8710 (cursorRight): adjust
8711 (deleteEmptyParagraphMechanism): adjust
8713 * text.C (breakParagraph): adjust
8714 (insertChar): adjust
8715 (acceptChange): adjust
8716 (rejectChange): adjust
8717 (selectNextWordToSpellcheck): adjust
8718 (changeCase): adjust
8722 * lyxfind.C (SearchForward): adjust
8723 (SearchBackward): adjust
8724 (nextChange): adjust
8726 * lyxcursor.C (par): adjust
8728 * lyxcursor.h: store a ParagraphList::iterator instead of a
8731 * lyx_cb.C (getPossibleLabel): adjust
8733 * bufferview_funcs.C (toggleAndShow): adjust
8735 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8738 * BufferView.C (removeAutoInsets): adjust
8739 (lockedInsetStoreUndo): adjust
8741 2003-04-09 John Levon <levon@movementarian.org>
8743 * ToolbarBackend.C: try icon without argument
8744 if with argument fails
8746 2003-04-08 John Levon <levon@movementarian.org>
8749 * ToolbarBackend.C: add getIcon(), handle tooltip,
8750 and change from "Icon" to "Item".
8752 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8754 * BufferView.C (lockInset): another bad getchar crunched
8756 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8758 * text2.C (changeDepth): do not setUndo on test_only (make undo work
8761 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
8763 * lyxfind.C (searchForward, searchBackwards): bug 782
8765 2003-04-07 John Levon <levon@movementarian.org>
8767 * paragraph.C: remove dead comment
8769 * text.C: remove troublesome depth-fiddling code
8770 in leftMargin() and rightMargin() (bug 1017)
8772 * text.C: fix breaking of rows in nested lists
8775 * text2.C (updateCounters): fix up depth values
8778 2003-04-07 John Levon <levon@movementarian.org>
8780 * BufferView_pimpl.C: clear message when doc finishes resizing,
8781 and after a mouse event
8783 * lyxfunc.C: clear message after exiting inset
8785 2003-04-07 John Levon <levon@movementarian.org>
8787 * bufferview_funcs.C: show math status not outside
8788 status in the statusbar
8790 2003-04-07 John Levon <levon@movementarian.org>
8792 * lyxfunc.C: note status changed after a depth change
8794 2003-04-04 Angus Leeming <leeming@lyx.org>
8796 * LaTeX.h: move AuxInfo operator==, != out of line.
8797 Remove LaTeX virtual destructor; nothing derives from it.
8798 Move operator()() out of public area and rename it startscript().
8799 Change protected for private.
8801 2003-04-04 Angus Leeming <leeming@lyx.org>
8804 * text2.C: remove unneeded #includes.
8806 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8808 * text2.C (dEPM): fix the heigth of the next row
8810 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8812 * text.C: squashed an invalid getChar requester + some ws changes
8814 2003-04-03 John Levon <levon@movementarian.org>
8816 * bufferview_funcs.h:
8817 * bufferview_funcs.C:
8820 * text2.C: make getStatus work for the env depth lfuns
8822 2003-04-03 John Levon <levon@movementarian.org>
8824 * bufferview_funcs.h:
8825 * bufferview_funcs.C:
8828 * text2.C: parlistize decDepth(), by merging it with incDepth()
8830 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8832 * lyxrow.h: store a ParagraphList::iterator instead of a
8833 Paragraph* and adjust other class functions to suit.
8835 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8838 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8840 * text2.C (setCursor): do not anchor to cursor row for the time being
8842 2003-04-02 John Levon <levon@movementarian.org>
8849 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8851 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8853 * paragraph.h: make ParagraphList and ParagraphList::iterator
8854 friends of Paragraph.
8856 * buffer.C (makeLinuxDocFile): move towards ParagraphList
8858 * ParagraphList.C: Use the private next_ and previous_ from
8861 2003-04-01 John Levon <levon@movementarian.org>
8865 * Makefile.am: rename, remove defaults gunk
8868 * MenuBackend.C: remove defaults gunk
8871 * Languages.C: remove defaults gunk
8874 * lyx_main.C: error out if files couldn't be found.
8876 2003-04-02 John Levon <levon@movementarian.org>
8878 * text2.C: make incDepth() use parlist
8880 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8882 * undo_funcs.C (firstUndoParagraph): adjust
8884 * text3.C (gotoInset): adjust
8885 (dispatch): adjust, and rewrite loop.
8887 * text2.C (init): adjust, and rewrite loop.
8888 (redoParagraphs): adjust
8889 (updateInset): adjust, and rewrite loop.
8890 (deleteEmptyParagraphMechanism): adjust
8892 * tabular.C (LyXTabular): adjust
8893 (SetMultiColumn): adjust
8896 * lyxtext.[Ch] (ownerParagraph): delete function
8897 (ownerParagraphs): new function returns a ParagraphList.
8899 * BufferView.C (removeAutoInsets): adjust
8900 (insertErrors): adjust
8901 (setCursorFromRow): adjust
8903 2003-04-01 Angus Leeming <leeming@lyx.org>
8905 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8908 2003-04-02 John Levon <levon@movementarian.org>
8914 * text_funcs.C: make transposeChars a free function
8916 * lyxrow_funcs.C: remove wrong comment
8918 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8921 * rowpainter.C: adjust
8926 * lyxrow_funcs. [Ch]: new files
8928 * lyxrow.[Ch]: remove next and previous pointers
8929 (next,previous): remove accessor functions
8930 (isParEnd): move to lyxrow_funcs
8931 (lastPos): move to lyxrow_funcs
8932 (nextRowIsAllInset): move to lyxrow_funcs
8933 (lastPrintablePos): move to lyxrow_funcs
8934 (numberOfSeparators): move to lyxrow_funcs
8935 (numberOfHfills): move to lyxrow_funcs
8936 (numberOfLabelHfills): move to lyxrow_funcs
8937 (hfillExpansion): move to lyxrow_funcs
8941 * bufferview_funcs.C (toggleAndShow): adjust
8943 * RowList.h: Remove class RowList from file leave just a
8946 * RowList.C: delete file
8948 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8951 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8953 * text3.C (cursorPrevious): adjust
8954 (cursorNext): adjust
8957 * text2.C (redoHeightOfParagraph): adjust
8958 (redoDrawingOfParagraph): adjust
8961 * text.C (breakParagraph): adjust
8962 (insertChar): adjust
8965 * rowpainter.C (RowPainter): adjust
8966 (leftMargin): simplify and adjust
8967 (most rowpainter functions): adjust.
8969 * rowpainter.h: store the row as RowList::iterator not as Row*
8971 * lyxcursor.C (row): taka RowList::iterator as arg
8974 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8977 2003-04-01 Angus Leeming <leeming@lyx.org>
8979 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8980 stuff like bool Bool.
8982 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8984 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8987 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8989 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8992 * lyxtext.h (rows): drop one version and leve a const variant that
8993 returns a RowList::iterator.
8995 2003-03-31 Angus Leeming <leeming@lyx.org>
8997 * text.C (fill): ensure that the signature is the same as that in the
9000 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
9002 * text2.C (redoParagraphs): adjust
9003 (updateCounters): adjust
9004 (checkParagraph): adjust
9005 (getColumnNearX): adjust and reformat a bit.
9007 * text.C (top_y): adjust
9009 (leftMargin): adjust
9010 (prepareToPrint): adjust
9012 (getRowNearY): adjust
9014 * lyxtext.h: make rowlist_ mutable.
9016 * RowList.h: add const_iterator
9017 * RowList.C: adjust for RowList::const_iterator.
9019 * text2.C (getCursorX): make it take a RowList::iterator as arg,
9022 2003-03-31 John Levon <levon@movementarian.org>
9025 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
9027 * lyx_main.C: set default fonts from using lyx_gui funcs
9029 * exporter.C: pdf_mode moved from lyxrc
9032 * lyxfunc.C: changes from above
9034 2003-03-31 John Levon <levon@movementarian.org>
9036 * lyx_main.C: fix to the last fix
9038 2003-03-31 John Levon <levon@movementarian.org>
9040 * bufferlist.C: "Load original" -> "Load Original"
9046 * format.C: more Alert cleanups
9048 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
9050 * text2.C (removeParagraph): make it take a RowList::iterator as
9052 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
9053 (postRowPaint): make it take a RowList::iterator as arg, adjust.
9055 * text.C (anchor_row): make it take a RowList::iterator as arg,
9057 (computeBidiTables): make it take a const reference to Row instead
9058 of Row pointer, adjust.
9059 (leftMargin): make it take a RowList::iterator as arg, adjust.
9060 (rowBreakPoint): adjust
9061 (breakAgainOneRow): make it take a RowList::iterator as arg,
9063 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
9065 * bufferview_funcs.C (toggleAndShow): adjust
9067 2003-03-30 John Levon <levon@movementarian.org>
9071 * boost-inst.C: moved to support
9073 * several files: changes as a result
9075 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
9077 * text2.C (LyXText): adjust.
9079 (removeRow): make it take a RowList::iterator as arg, adjust.
9080 (fullRebreak): adjust
9081 (deleteEmptyParagraphMechanism): adjust
9082 (clearPaint): adjust
9085 * text.C (top_y): adjust
9086 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
9087 (breakAgain): make it take a RowList::iterator as arg, adjust.
9088 (breakParagraph): adjust
9089 (insertChar): adjust
9092 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
9093 need_break_row, and refresh_row.
9095 * text3.C (dispatch): adjust
9097 * text2.C (checkParagraph): adjust
9099 (setCursorFromCoordinates): adjust
9101 * text.C (top_y): adjust
9103 (getRow): make it return a RowList::iterator, adjust
9104 (getRowNearY): make it return a RowList::iterator, adjust
9106 * text2.C (init): adjust
9107 (insertRow): remove function
9108 (insertParagraph): adjust
9109 (redoParagraphs): adjust
9110 (fullRebreak): adjust
9111 (updateCounters): adjust
9113 * text.C (top_y): rewrite to use RowList iterators.
9115 (setHeightOfRow): rewrite to sue RowList iterators.
9116 (appendParagraph): adjust
9117 (breakAgain): adjust
9118 (breakAgainOneRow): adjust
9119 (breakParagraph): adjust
9121 (getRowNearY): adjust, and remove commented code.
9123 * lyxtext.h (firstRow): delete function
9124 (lastRow): delete function
9125 (rows): new function (const and non-const versions.)
9126 (insertRow): delete function
9128 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
9130 2003-03-29 John Levon <levon@movementarian.org>
9132 * BufferView_pimpl.C: always update scrollbar top
9133 because pasting text when we're anchored could mean we
9134 miss an update altogether
9136 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
9138 * text2.C (init): use rowlist_.end() and not 0.
9139 (insertRow): change to take a RowList::iterator as arg, adjust
9141 (insertParagraph): change to take a RowList::iterator as arg,
9143 (redoParagraphs): remove some debug msgs.
9145 * text.C (appendParagraph): change to take a RowList::iterator
9146 arg, adjust for this.
9147 (breakAgain): add an assert
9148 (breakAgainOneRow): ditto
9150 2003-03-29 John Levon <levon@movementarian.org>
9152 * text2.C: do not clear selection after inc/decDepth
9155 2003-03-29 John Levon <levon@movementarian.org>
9158 * buffer.C: fix broken strerrors according to Lars
9160 2003-03-29 John Levon <levon@movementarian.org>
9162 * converters.C: more Alert cleanups
9164 2003-03-29 John Levon <levon@movementarian.org>
9166 * bufferview_funcs.C: remove pointless Alert
9168 * buffer.C: fix confusing error message when
9169 a template is chmoded 000
9171 2003-03-29 John Levon <levon@movementarian.org>
9175 * BufferView_pimpl.C: Alert fixes
9179 * tabular-old.C: remove unused table compat reading
9181 2003-03-29 John Levon <levon@movementarian.org>
9186 * lyx_cb.C: more Alert cleanups
9188 * lyxfunc.C: don't allow chktex if not latex document
9190 2003-03-29 John Levon <levon@movementarian.org>
9194 * buffer.C: warnings pushed down from support/,
9197 2003-03-29 John Levon <levon@movementarian.org>
9199 * lyxfunc.C: safety check for C-r (revert)
9201 2003-03-29 John Levon <levon@movementarian.org>
9204 * bufferlist.C: several UI fixes using Alert::prompt.
9205 Fix the pointless looping quit code. Fix stupid revert
9210 * lyx_cb.C: use Alert::prompt
9212 * lyx_main.C: remove a silly question
9214 * lyxfunc.C: remove a couple of silly questions,
9217 2003-03-28 John Levon <levon@movementarian.org>
9219 * text2.C: fix bug 974 (End on empty par)
9221 2003-03-28 John Levon <levon@movementarian.org>
9223 * BufferView_pimpl.C:
9225 * lfuns.h: remove do-nothing math greek lfuns
9227 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
9229 * lyxgluelength.h (isValidGlueLength): add default arg on
9230 parameter 2. Remove default arg from friend in class.
9232 * lyxlength.h (isValidLength): add default arg on parameter 2.
9233 Remove default arg from friend in class.
9235 * text2.C (LyXText): adjust, initialize refresh_row.
9239 (insertParagraph): adjst
9240 (redoParagraphs): adjust
9241 (fullRebreak): adjust
9242 (updateCounters): adjust
9243 (deleteEmptyParagraphMechanism): first attempt at fixing a
9246 * text.C (top_y): adjust
9247 (setHeightOfRow): adjust
9249 (getRowNearY): adjust
9251 * lyxtext.h: include RowList.h
9252 (~LyXText): not needed anymore, deleted.
9253 (firstRow): modify for RowList
9254 (lastRow): new function
9255 Delete firstrow and lastrow class variables, add a Rowlist
9256 rowlist_ class variable.
9258 * lyxrow.C (lastPos): use empty() and not !size() to check if a
9261 * RowList.C (insert): fix case where it == begin().
9263 2003-03-26 Angus Leeming <leeming@lyx.org>
9265 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
9266 the thesaurus dialog.
9268 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
9270 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
9272 * RowList.[Ch]: new files
9274 * ParagraphList.C (erase): handle the case where it == begin
9277 2003-03-25 John Levon <levon@movementarian.org>
9281 * aspell.C: add new aspell support
9284 * lyxrc.C: Make use_pspell be use_spell_lib. Always
9287 2003-03-25 Angus Leeming <leeming@lyx.org>
9290 * LyXAction.C (init): new LFUN_INSET_INSERT.
9292 * BufferView_pimpl.C (dispatch): split out part of the
9293 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
9295 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
9298 2003-03-25 Angus Leeming <leeming@lyx.org>
9300 * lyxfunc.C (dispatch): changes to the Dialogs interface.
9302 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
9305 * text3.C: remove useless row->height(0)
9307 2003-03-25 John Levon <levon@movementarian.org>
9311 * text3.C: rename the refreshing stuff to better names
9313 2003-03-24 John Levon <levon@movementarian.org>
9315 * BufferView_pimpl.h:
9316 * BufferView_pimpl.C: update layout choice on a mouse
9319 2003-03-23 John Levon <levon@movementarian.org>
9321 * Makefile.am: fix commandtags.h reference
9323 2003-03-22 John Levon <levon@movementarian.org>
9325 * BufferView_pimpl.C:
9330 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
9332 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
9335 * text.C: take the rtl methods out of line
9337 2003-03-21 André Pönitz <poenitz@gmx.net>
9339 * metricsinfo.[Ch]: new files containing structures to be passed around
9340 during the two-phase-drawing...
9342 2003-03-21 André Pönitz <poenitz@gmx.net>
9344 * lyxtextclass.C: read 'environment' tag.
9346 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
9348 * text2.C (removeRow): fix bug 964
9350 2003-03-20 John Levon <levon@movementarian.org>
9354 * text2.C: paint cleanups. Inset::update() dropped font
9357 2003-03-19 John Levon <levon@movementarian.org>
9359 * lyxfunc.C: only fitcursor/markDirty if available()
9361 2003-03-19 John Levon <levon@movementarian.org>
9363 * commandtags.h: rename to ...
9365 * lfuns.h: ... this, and renumber / cleanup
9367 2003-03-19 John Levon <levon@movementarian.org>
9369 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
9370 fit the cursor after an lfun
9374 * BufferView_pimpl.h:
9375 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
9377 * LyXAction.C: layout-character should have ReadOnly
9379 * ParagraphParameters.C:
9381 * bufferview_funcs.C:
9388 * undo_funcs.C: changes from above
9390 2003-03-18 John Levon <levon@movementarian.org>
9392 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
9393 remove it from update()
9395 * lyxfunc.C: update layout choice after an lfun
9397 * text3.C: remove extra updateLayoutChoice()s
9399 2003-03-18 John Levon <levon@movementarian.org>
9401 * text.C: top_y change means full repaint, fix
9402 a drawing bug with cursor movement
9404 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
9408 * text2.C: anchor row on setCursor
9410 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
9412 * lyxtext.h: remove almost all mutable keywords
9415 * text3.C: remove const keywords accordingly
9417 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
9419 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
9421 (TeXEnvironment): ditto
9424 2003-03-17 John Levon <levon@movementarian.org>
9426 * text.C (rowBreakPoint): remove attempt to fix displayed
9427 math insets inside a manual label
9429 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
9431 * lyxtext.h: remove BufferView* as first arg from almost all class
9433 * other files: adjust.
9435 2003-03-17 John Levon <levon@movementarian.org>
9439 * text2.C: more paint cleanups
9441 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
9444 * rowpainter.C: remove "smart" background painting code
9446 2003-03-16 John Levon <levon@movementarian.org>
9451 * text3.C: add helper functions for setting refresh_row/y
9453 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
9455 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
9456 newline inset which *can* get inserted in the pass_thru layouts.
9457 This is primarily for literate documents.
9459 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
9461 * buffer.C: increment LYX_FORMAT to 223
9463 2003-03-14 André Pönitz <poenitz@gmx.net>
9465 * textclass.h: prepare for environment handling, ws changes
9466 * lyxlayout.C: read latexheader and latexfooter tags
9468 2003-03-14 John Levon <levon@movementarian.org>
9470 * text2.C: rewrite ::status() a bit
9472 2003-03-13 John Levon <levon@movementarian.org>
9474 * lyxtext.h: add some docs
9476 2003-03-13 John Levon <levon@movementarian.org>
9481 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
9483 2003-03-13 John Levon <levon@movementarian.org>
9485 * text3.C: fix appendix redrawing
9487 2003-03-13 John Levon <levon@movementarian.org>
9489 * text.C (setHeightOfRow):
9491 * rowpainter.C: make appendix mark have the text
9492 "Appendix" so the user knows what it is
9495 * LColor.C: s/appendixline/appendix/ from above
9497 2003-03-13 John Levon <levon@movementarian.org>
9499 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
9501 * text.C: fix a getChar(pos) bug properly
9503 2003-03-13 Angus Leeming <leeming@lyx.org>
9506 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
9507 Probably only temporary. Let's see how things pan out.
9509 * BufferView.C (unlockInset):
9510 * BufferView_pimpl.C (fitCursor):
9511 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
9513 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
9514 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
9516 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
9517 new functions that convert ParagraphParameters to and from a string.
9519 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9520 BufferView::Pimpl's dispatch.
9521 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9523 2003-03-13 André Pönitz <poenitz@gmx.net>
9527 * factory.C: make it aware of InsetEnv
9529 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
9531 * text2.C (setCursor): never ask for one past last
9532 (setCursor): add some debugging messages.
9534 * text.C (singleWidth): never ask for one past last
9535 (singleWidth): ditto
9537 (rightMargin): ditto
9538 (rowBreakPoint): ditto
9539 (setHeightOfRow): ditto
9540 (prepareToPrint): ditto
9542 * rowpainter.C (paintBackground): never ask for one past last
9543 (paintText): never ask for one past last
9545 * paragraph_pimpl.C (getChar): make the assert stricter, never
9546 allow the one past last pos to be taken
9548 * paragraph.C (getChar): ws changes only
9550 * lyxrow.C (nextRowIsAllInset): never ask for one past last
9551 (numberOfSeparators): ditto
9552 (numberOfHfills): ditto
9554 2003-03-12 John Levon <levon@movementarian.org>
9560 * paragraph_funcs.C: fix per-buffer authorlists
9562 2003-03-12 John Levon <levon@movementarian.org>
9564 * text.C: fix newline in right address
9566 2003-03-12 Angus Leeming <leeming@lyx.org>
9568 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9569 duplicate those in LyXFunc::dispatch.
9573 * ToolbarDefaults.C:
9574 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9575 Add LFUN_FONTFREE_UPDATE.
9577 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9578 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9580 * bufferview_func.[Ch]: several new functions to facilliate
9581 transfer of data to and from the character dialog.
9583 2003-03-12 John Levon <levon@movementarian.org>
9588 * paragraph_funcs.C:
9589 * paragraph_pimpl.C:
9593 * text3.C: remove META_NEWLINE in favour of an inset
9596 * rowpainter.C: remove paintNewline (done by inset)
9598 2003-03-12 John Levon <levon@movementarian.org>
9600 * paragraph_pimpl.C: complain about bad getChar()s
9601 for a while at least
9603 2003-03-12 John Levon <levon@movementarian.org>
9606 * buffer.C: move paragraph read into a separate function,
9607 a little renaming to reflect that.
9610 * bufferparams.C: remove the author_ids map, not necessary now
9613 * factory.C: moved Buffer::readInset to here
9615 * paragraph_funcs.h:
9616 * paragraph_funcs.C: readParagraph free function moved from
9619 * tabular.C: name change
9621 2003-03-12 John Levon <levon@movementarian.org>
9624 * ParagraphParameters.C: move par params input to
9627 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9628 behave like a normal read from the stream wrt reading
9629 a line vs. a \\token
9631 2003-03-12 John Levon <levon@movementarian.org>
9634 * ParagraphParameters.h:
9635 * ParagraphParameters.C: move output code to a
9638 2003-03-12 John Levon <levon@movementarian.org>
9640 * BufferView.C (insertLyXFile):
9643 * tabular.C: use a parlist iterator for creating the
9646 2003-03-12 John Levon <levon@movementarian.org>
9648 * buffer.C: make current_change static local not
9651 2003-03-12 John Levon <levon@movementarian.org>
9653 * buffer.C: fix insertStringAsLines for change tracking
9655 2003-03-12 John Levon <levon@movementarian.org>
9662 * bufferparams.C: move author list into params. Rename some
9663 functions. Move the header reading into a separate token
9664 loop. Move the header token reading into BufferParams.
9666 2003-03-12 John Levon <levon@movementarian.org>
9668 * changes.C: put debug inside lyxerr.debugging() checks
9670 2003-03-11 André Pönitz <poenitz@gmx.net>
9672 * factory.C: make it aware of InsetHFill
9674 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9676 * buffer.C (latexParagraphs): move function from here...
9677 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9680 2003-03-10 Angus Leeming <leeming@lyx.org>
9682 * LyXAction.C (init): fix bug in poplating array with multiple entries
9683 with the same LFUN (spotted by JMarc).
9685 2003-03-10 John Levon <levon@movementarian.org>
9688 * text2.C: move getColumnNearX() near its
9691 2003-03-10 John Levon <levon@movementarian.org>
9693 * text.C: fix break before a minipage
9695 2003-03-10 John Levon <levon@movementarian.org>
9697 * text.C: fix the last commit
9699 2003-03-09 John Levon <levon@movementarian.org>
9703 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9704 bug 365 (don't break before insets unless needed). Don't
9705 return a value > last under any circumstances.
9707 2003-03-09 Angus Leeming <leeming@lyx.org>
9709 * BufferView_pimpl.C (trackChanges, dispatch): call
9710 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9712 2003-03-09 Angus Leeming <leeming@lyx.org>
9714 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9715 than Dialogs::showAboutlyx().
9717 2003-03-09 Angus Leeming <leeming@lyx.org>
9719 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9720 than Dialogs::showTabularCreate().
9722 2003-03-09 John Levon <levon@movementarian.org>
9726 * text2.C: 3rd arg to nextBreakPoint was always the same.
9729 2003-03-08 John Levon <levon@movementarian.org>
9736 * text2.C: Remove the "main" bit from the "main body"
9739 2003-03-08 John Levon <levon@movementarian.org>
9741 * text.C (leftMargin): The left margin of an empty
9742 manual label paragraph should not include the label width
9745 * text.C (prepareToPrint): don't attempt to measure hfills
9746 for empty manual label paragraphs - the answer should be 0
9748 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9750 * CutAndPaste.C: remove commented code and reindent.
9752 2003-03-08 John Levon <levon@movementarian.org>
9755 * lyxfunc.C: move reloadBuffer()
9758 * BufferView.C: to here
9760 * lyxvc.C: add comment
9763 * vc-backend.C: call bv->reload() to avoid
9764 getStatus() check on MENURELOAD
9766 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
9768 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9769 to an old format .dep file.
9771 2003-03-07 Angus Leeming <leeming@lyx.org>
9773 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9774 when the LFUN_MOUSE_RELEASE should have been handled by
9775 inset->localDispatch.
9777 2003-03-07 Angus Leeming <leeming@lyx.org>
9779 * BufferView_pimpl.C (dispatch):
9780 * LyXAction.C (init):
9781 * ToolbarDefaults.C (init):
9783 * lyxfunc.C (getStatus):
9784 remove LFUN_INSET_GRAPHICS.
9786 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9788 2003-03-07 Angus Leeming <leeming@lyx.org>
9791 * LyXAction.C (init):
9792 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9794 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9797 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9799 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9800 localDispatch method LFUN_INSET_DIALOG_UPDATE.
9802 2003-03-07 Angus Leeming <leeming@lyx.org>
9804 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9807 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9809 * ParagraphList.C (front): new function
9812 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
9814 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9815 and top_row_offset_. removed var first_y.
9817 * text2.C (LyXText, removeRow):
9819 * BufferView_pimpl.C:
9820 use these methods instead of using first_y
9822 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9824 * text2.C (pasteSelection): adjust for checkPastePossible
9826 * CutAndPaste.C: remove Paragraph * buf and replace with
9827 ParagraphList paragraphs.
9828 (DeleteBuffer): delete
9829 (cutSelection): change the tc type to textclass_type
9830 (copySelection): change the tc type to textclass_type
9831 (copySelection): adjust for ParagraphList
9832 (pasteSelection): change the tc type to textclass_type
9833 (pasteSelection): adjust for Paragraphlist
9834 (nrOfParagraphs): simplify for ParagraphList
9835 (checkPastePossible): simplify for ParagraphList
9836 (checkPastePossible): remove unused arg
9838 * ParagraphList.C (insert): handle the case where there are no
9841 * CutAndPaste.h: make CutAndPaste a namespace.
9843 * text3.C (dispatch): adjust
9845 * text.C (breakParagraph): add a ParagraphList as arg
9847 * paragraph_funcs.C (breakParagraph): change to take a
9848 BufferParams and a ParagraphList as args.
9849 (breakParagraphConservative): ditto
9850 (mergeParagraph): ditto
9851 (TeXDeeper): add a ParagraphList arg
9852 (TeXEnvironment): ditto
9855 * buffer.C (readLyXformat2): adjust
9856 (insertStringAsLines): adjust
9857 (latexParagraphs): adjust
9859 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9860 (cutSelection): adjust
9861 (pasteSelection): adjust
9863 * BufferView_pimpl.C (insertInset): adjust
9865 2003-03-05 Angus Leeming <leeming@lyx.org>
9868 * LyXAction.C (init):
9869 * BufferView_pimpl.C (dispatch):
9870 * lyxfunc.C (getStatus):
9871 remove LFUN_CHILD_INSERT.
9873 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9875 2003-03-05 Angus Leeming <leeming@lyx.org>
9878 * LyXAction.C (init):
9879 * src/factory.C (createInset):
9880 * lyxfunc.C (getStatus):
9881 * text3.C (dispatch):
9882 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9884 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9886 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9888 * ParagraphList.C (insert): handle insert right before end()
9889 (erase): fix cases where it can be first or last paragraph.
9891 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9893 * paragraph_funcs.C (TeXEnvironment): remove all usage of
9894 Paragraph::next and Paragraph::previous
9897 * text.C (breakParagraph): adjust
9899 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9900 BufferParams& as arg.
9901 (breakParagraph): use ParagraphList::insert
9902 (breakParagraphConservative): take a Buffer* instead of a
9903 BufferParams& as arg.
9904 (breakParagraphConservative): use ParagraphList::insert.
9906 * buffer.C (insertStringAsLines): un-const it
9907 (insertStringAsLines): adjust
9909 * ParagraphList.C (insert): new function
9911 * CutAndPaste.C (pasteSelection): adjust
9913 * text.C (backspace): adjust
9915 * tabular.C (SetMultiColumn): adjust
9917 * CutAndPaste.C (cutSelection): adjust
9918 (pasteSelection): adjust
9920 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9921 Buffer const * as arg
9923 * ParagraphList.C (erase): new function
9924 * paragraph_funcs.C (mergeParagraph): use it
9925 (mergeParagraph): make it take a Buffer* instead of a
9926 BufferParams* as arg
9928 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9930 (breakParagraphConservative): ditto
9932 * paragraph.h: remove the breakParagraph friend
9934 * paragraph.C (eraseIntern): new function
9935 (setChange): new function
9937 * paragraph_funcs.C (mergeParagraph): make it take a
9938 ParagraphList::iterator instead of a Paragraph *, adjust
9941 * paragraph.h: move an #endif so that the change tracking stuff
9942 also works in the NO_NEXT case.
9944 2003-03-04 Angus Leeming <leeming@lyx.org>
9947 * LyXAction.C: new LFUN_INSET_MODIFY.
9949 * BufferView_pimpl.C (dispatch): if an inset is found to be open
9950 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9952 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9954 * several files: ws changes only
9956 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9957 (TeXEnvironment): ditto
9960 * buffer.C (makeLaTeXFile): adjust
9961 (latexParagraphs): make it take ParagraphList::iterator as args
9963 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
9965 * buffer.C (latexParagraphs): adjust
9967 * paragraph.C (TeXOnePar): move function...
9968 (optArgInset): move function...
9969 (TeXEnvironment): move function...
9970 * paragraph_pimpl.C (TeXDeeper): move function...
9971 * paragraph_funcs.C: ...here
9973 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9975 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9977 * buffer.C (readInset): remove compability code for old Figure and
9980 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9982 * buffer.C: ws changes
9985 * BufferView_pimpl.C: ditto
9988 * bufferlist.h: ditto
9992 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
9994 * converter.[Ch]: split into itself +
9997 * Makefile.am: += graph.[Ch] + format.[Ch]
10004 * lyxrc.C: added #include "format.h"
10006 2003-02-27 Angus Leeming <leeming@lyx.org>
10008 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
10011 * factory.C (createInset): add "label" to the factory.
10013 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
10014 string and do no more.
10016 2003-02-27 Angus Leeming <leeming@lyx.org>
10019 * LyXAction.C (init):
10020 * factory.C (createInset):
10021 * BufferView_pimpl.C (dispatch):
10022 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
10024 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
10026 * lyxfunc.C (dispatch):
10027 * text3.C (dispatch): pass name to params2string.
10029 2003-02-26 Angus Leeming <leeming@lyx.org>
10031 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
10033 Rearrange the ~includes. Strip out the unnecessary ones.
10035 * factory.C (createInset): reformat.
10036 create new insets for the various LFUN_XYZ_APPLY lfuns.
10038 2003-02-26 John Levon <levon@movementarian.org>
10041 * lyxrow.C: add isParStart,isParEnd helpers
10043 * paragraph.h: make isInserted/DeletedText take refs
10045 * paragraph_funcs.h:
10046 * paragraph_funcs.C: remove #if 0'd code
10051 * text.C: use lyxrow helpers above.
10052 Move draw and paint routines to RowPainter.
10053 Make several methods use refs not pointers.
10054 Make backgroundColor() const.
10055 Add markChangeInDraw(), isInInset().
10056 Merge changeRegionCase into changeCase.
10057 Make workWidth() shouldn't-happen code into an Assert.
10060 * rowpainter.C: new class for painting a row.
10063 * vspace.C: make inPixels take a ref
10065 2003-02-26 Angus Leeming <leeming@lyx.org>
10067 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
10070 2003-02-25 John Levon <levon@movementarian.org>
10072 * ispell.C: give the forked command a more accurate name
10074 2003-02-22 John Levon <levon@movementarian.org>
10077 * toc.C: make TocItem store an id not a Paragraph *
10080 2003-02-21 Angus Leeming <leeming@lyx.org>
10082 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
10083 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
10084 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
10085 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
10086 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
10087 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
10089 * BufferView_pimpl.C (dispatch):
10090 * LyXAction.C (init):
10091 * factory.C (createInset):
10092 * lyxfunc.C (getStatus, dispatch):
10093 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
10095 2003-02-21 Angus Leeming <leeming@lyx.org>
10097 * BufferView_pimpl.C (MenuInsertLyXFile):
10098 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
10099 * lyxfunc.C (menuNew, open, doImport):
10100 no longer pass a LyXView & to fileDlg.
10102 2003-02-21 Angus Leeming <leeming@lyx.org>
10104 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
10105 * LyXAction.C: change, BIBKEY to BIBITEM.
10106 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
10107 Change InsetBibKey to InsetBibitem.
10108 Change BIBKEY_CODE to BIBITEM_CODE.
10109 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10110 * factory.C: replace insetbib.h with insetbibitem.h.
10111 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10112 * paragraph.C: replace insetbib.h with insetbibitem.h.
10113 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
10114 Change bibkey() to bibitem().
10115 * text.C: remove insetbib.h.
10116 * text2.C: replace insetbib.h with insetbibitem.h.
10117 change bibkey() to bibitem().
10118 * text3.C: remove insetbib.h.
10119 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10121 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10123 * lyxrc.C (output): enclose user email in quotes (in case there are
10126 2003-02-18 John Levon <levon@movementarian.org>
10128 * buffer.h: add std::
10130 2003-02-17 John Levon <levon@movementarian.org>
10136 * pspell.C: reworking. Especially in ispell, a large
10137 number of clean ups and bug fixes.
10139 * lyxfunc.C: fix revert to behave sensibly
10141 2003-02-17 André Pönitz <poenitz@gmx.net>
10144 * commandtags.h: new LFUN_INSERT_BIBKEY
10154 * paragraph_func.C: remove special bibkey handling
10156 2003-02-17 John Levon <levon@movementarian.org>
10158 * text.C (Delete): fix case where delete at the end of
10159 the very first paragraph would not merge the pars
10161 2003-02-17 John Levon <levon@movementarian.org>
10163 * lyxrow.C: fix lastPrintablePos()
10165 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10167 * bufferparams.C (writeLaTeX): add a std:here
10169 * buffer.C: and remove a using directive there
10171 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10173 * buffer.C (makeLaTeXFile): move the code that generates the
10176 * bufferparams.C (writeLaTeX): ... in this new method
10178 * LaTeXFeatures.C (getEncodingSet): make const
10179 (getLanguages): make const
10181 * MenuBackend.C (binding): returns the binding associated to this
10183 (add): sets the status of each item by calling getStatus. Adds
10185 (read): add support for OptSubMenu
10186 (expand): remove extra separator at the end of expanded menu
10188 2003-02-15 John Levon <levon@movementarian.org>
10191 * BufferView_pimpl.C:
10193 * bufferlist.C: remove pointless BufferStorage bloat. Remove
10194 inset code that had no actual effect. Remove unneeded status
10197 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10199 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
10202 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
10204 * text.C (drawLengthMarker): also draw an arrow marker for
10205 symbolic lengths (medskip...)
10207 2003-02-14 John Levon <levon@movementarian.org>
10210 * tabular.C: better method names
10212 2003-02-14 John Levon <levon@movementarian.org>
10214 * BufferView_pimpl.C:
10219 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
10220 it's a more accurate name. Remove some pointless uses.
10222 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10224 * text2.C (LyXText): change order of initilizers to shut off
10227 2003-02-14 John Levon <levon@movementarian.org>
10229 * buffer.C: use ParIterator for getParFromID()
10233 * paragraph_pimpl.h:
10234 * paragraph_pimpl.C: remove unused getParFromID()
10236 2003-02-14 John Levon <levon@movementarian.org>
10238 * buffer.C: remove some very old #if 0'd parse code
10240 2003-02-13 John Levon <levon@movementarian.org>
10244 * text2.C: move hfillExpansion(), numberOfSeparators(),
10245 rowLast(), rowLastPrintable(), numberofHfills(),
10246 numberOfLabelHfills() ...
10249 * lyxrow.C: ... to member functions here.
10254 * text.C: remove LyXText::beginningOfMainBody(), and call
10255 p->beginningOfMainBody() directly. Move the check for
10256 LABEL_MANUAL into the latter.
10263 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
10269 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
10270 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
10272 2003-02-13 John Levon <levon@movementarian.org>
10274 * CutAndPaste.C: remove debug
10276 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10278 * paragraph.C (asString): remove two unused variables
10280 * lyxtextclass.C (readTitleType):
10282 (LyXTextClass): handle new members titletype_ and titlename_
10284 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
10286 2003-02-09 John Levon <levon@movementarian.org>
10289 * buffer.C: replace hand-coded list with a map for the dep clean
10291 2003-02-08 John Levon <levon@movementarian.org>
10293 * LaTeX.C: consolidate code into showRunMessage() helper
10295 2003-02-08 John Levon <levon@movementarian.org>
10300 * BufferView.C: change setSelectionOverString() to setSelectionRange()
10301 and pass the size in explicitly
10303 * BufferView_pimpl.h:
10304 * BufferView_pimpl.C:
10306 * BufferView.C: add getCurrentChange()
10308 * BufferView_pimpl.h:
10309 * BufferView_pimpl.C: handle change lfuns
10311 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
10312 for changes. Mark pasted paragraphs as new.
10314 * support/lyxtime.h:
10315 * support/lyxtime.C:
10316 * DepTable.C: abstract time_t as lyx::time_type
10319 * LColor.C: add colours for new text, deleted text, changebars
10321 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
10322 package use "usenames" option.
10326 * LyXAction.C: add change lfuns
10330 * author.C: author handling
10333 * buffer.C: add a per-buffer author list, with first entry as
10334 current author. Handle new .lyx tokens for change tracking. Output
10335 author list to .lyx file. Output dvipost stuff to .tex preamble.
10336 Bump lyx format to 222.
10339 * bufferlist.C: add setCurrentAuthor() to reset current author details
10343 * bufferparams.C: add param for tracking
10345 * bufferview_funcs.C: output change info in minibuffer
10349 * changes.C: add change-tracking structure
10352 * debug.C: add CHANGES debug flag
10355 * lyxfind.C: add code for finding the next change piece
10358 * lyxrc.C: add user_name and user_email
10361 * lyxrow.C: add a metric for the top of the text line
10364 * text.C: implement accept/rejectChange()
10367 * text.C: paint changebars. Paint new/deleted text in the chosen
10368 colours. Strike through deleted text.
10372 * paragraph_pimpl.h:
10373 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
10374 in the current change to the insert functions. Rework erase to
10375 mark text as deleted, adding an eraseIntern() and a range-based
10376 erase(). Implement per-paragraph change lookup and
10379 * paragraph_funcs.C: Fixup paste for change tracking.
10381 * tabular.C: mark added row/columns as new.
10383 * text.C: fix rowLast() to never return -1. Don't allow
10384 spellchecking of deleted text. Track transpose changes. Don't
10385 allow paragraph break or merge where appropriate.
10387 * text2.C: leave cursor at end of selection after a cut.
10389 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10391 * text.C (getLengthMarkerHeight):
10392 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
10393 visible on screen too.
10395 2003-02-07 John Levon <levon@movementarian.org>
10397 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
10399 2003-02-05 Angus Leeming <leeming@lyx.org>
10401 * lyxserver.C (read_ready): revert my patch of 11 September last year
10402 as it sends PC cpu through the roof. Presumably this means that
10403 the lyxserver will no longer run on an Alpha...
10405 2003-01-30 Angus Leeming <leeming@lyx.org>
10407 * factory.C (createInset): create an InsetCommandParam of type "index"
10408 and use it to 'do the right thing'.
10410 * text2.C (getStringToIndex): ensure that cursor position is always
10411 reset to the reset_cursor position.
10413 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10415 * lyxfunc.C (getStatus): "buffer-export custom" should never be
10418 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
10422 * lyxfunc.C: Output messages with identical spelling, punctuation,
10425 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
10427 * MenuBackend.C (expandFormats): List only viewable export formats
10430 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
10433 * lyxfunc.C (getStatus): Make sure that formats other than
10434 "fax" can also be disabled
10436 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10438 * text3.C (dispatch): put the lfuns that insert insets in 3
10439 groups, and call doInsertInset with appropriate arguments.
10440 (doInsertInset): new function, that creates an inset and inserts
10441 it according to some boolean parameters.
10443 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
10445 * buffer.C (readFile): remember to pass on 'par' when calling
10446 readFile recursively.
10448 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10450 * MenuBackend.C (expandFormats): add "..." to import formats.
10452 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
10454 * paragraph.C (asString): Remove XForms RTL hacks.
10456 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
10457 * buffer.C: fix typo
10459 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
10461 * Makefile.am (LIBS): delete var
10462 (lyx_LDADD): add @LIBS@ here instead.
10464 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
10466 * Clarify the meaning of "wheel mouse jump"
10468 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10470 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
10473 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10475 * importer.C (Loaders): do not preallocate 3 elements in the
10476 vector, since one ends up with 6 elements otherwise
10478 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10480 * DepTable.C (write): write the file name as last element of the
10481 .dep file (because it may contain spaces)
10482 (read): read info in the right order
10484 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10486 * paragraph_pimpl.C (simpleTeXBlanks):
10487 (simpleTeXSpecialChars):
10488 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
10490 * tabular.C (latex): add some missing case statements. Reindent.
10492 * MenuBackend.C (expandToc): remove unused variable.
10494 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
10503 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
10506 2003-01-05 John Levon <levon@movementarian.org>
10509 * BufferView.C: add getEncoding()
10512 * kbsequence.C: do not store last keypress
10515 * lyxfunc.C: store last keypress here instead. Pass encoding
10518 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10520 * lyx_main.C (init): remove annoying error message when following
10521 symbolic links (bug #780)
10523 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10525 * text.C (insertChar):
10526 * lyxrc.C (getDescription): remove extra spaces
10528 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10530 * lyxrc.C (getDescription): remove extra spaces
10532 2002-12-20 John Levon <levon@movementarian.org>
10534 * text3.C: hack fix for page up/down across tall rows
10536 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10538 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10541 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10543 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10544 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10545 thesaurus is not compiled in
10547 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
10549 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
10551 2002-12-16 Angus Leeming <leeming@lyx.org>
10554 * lyx_main.C (init): remove override_x_deadkeys stuff.
10556 2002-12-12 John Levon <levon@movementarian.org>
10558 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10559 insert. Only remove shift modifier under strict
10562 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
10564 * MenuBackend.C (expandToc): fix crash.
10566 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
10568 * MenuBackend.C (expandToc): gettext on float names.
10570 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
10572 * lyxlength.[Ch]: set default unit to UNIT_NONE,
10573 implement bool empty() [bug 490]
10575 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
10577 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10579 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
10581 * several files: ws changes
10583 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
10585 * text2.C (setCounter): clean up a bit, use boost.format.
10586 (updateCounters): initialize par upon declaration.
10588 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10589 if the layout exists. We do not just store the layout any more.
10590 (SwitchLayoutsBetweenClasses): use boost.format
10592 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10594 * converter.C (convert): if from and to files are the same, use a
10595 temporary files as intermediary
10597 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10600 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10602 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
10604 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10606 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
10608 * tabular.C (asciiPrintCell): use string(size, char) instead of
10611 * sgml.C (openTag): fix order of arguments to string constructor
10614 * lyxfunc.C (dispatch): use boost.format
10616 * lots of files: change "c" -> 'c'
10618 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
10620 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10622 2002-11-25 Angus Leeming <leeming@lyx.org>
10624 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10626 * lyx_main.C (init): compile fix.
10628 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
10630 * lyx_cb.C (start): boost.formatify
10631 do not include <iostream>
10633 * lengthcommon.C: ws only
10635 * boost-inst.C,BoostFormat.h: add more explict instantations
10637 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
10639 * lots of files: handle USE_BOOST_FORMAT
10641 2002-11-21 John Levon <levon@movementarian.org>
10643 * pspell.C: fix compile
10645 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10647 * lyxfunc.C (dispatch): use boost::format
10651 * lyxfont.C (stateText): use boost::format
10653 * lyx_main.C (LyX): use boost::format
10655 (queryUserLyXDir): ditto
10656 (readRcFile): ditto
10658 (typedef boost::function): use the recommened syntax.
10660 * importer.C (Import): use boost::format
10662 * debug.C (showLevel): use boost::format
10664 * converter.C (view): use boost::format
10669 * bufferview_funcs.C (currentState): use boost::format
10671 * bufferlist.C (emergencyWrite): use boost::format
10673 * buffer.C (readLyXformat2): use boost::format
10674 (parseSingleLyXformat2Token): ditto
10676 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10678 * LaTeX.C (run): use boost::format
10680 * Chktex.C (scanLogFile): use boost::format
10682 * BufferView_pimpl.C (savePosition): use boost::format
10683 (restorePosition): ditto
10684 (MenuInsertLyXFile): ditto
10686 * BoostFormat.h: help file for explicit instation.
10688 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
10690 * tabular.C (latex): Support for block alignment in fixed width
10693 2002-11-17 John Levon <levon@movementarian.org>
10695 * BufferView_pimpl.C:
10697 * lyxfunc.C: split filedialog into open/save
10699 2002-11-08 Juergen Vigna <jug@sad.it>
10701 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10702 by my last patch (hopefully).
10704 2002-11-08 John Levon <levon@movementarian.org>
10713 * toc.C: ParConstIterator, and use it (from Lars)
10715 2002-11-07 Ben Stanley <bds02@uow.edu.au>
10717 * lyxtextclass.[Ch]: revise and add doxygen comments
10719 2002-11-07 John Levon <levon@movementarian.org>
10721 * text.C: fix progress value for spellchecker
10723 * toc.C: fix navigate menu for insetwrap inside minipage
10725 * paragraph_funcs.C: added FIXME for suspect code
10727 2002-11-07 John Levon <levon@movementarian.org>
10729 * BufferView_pimpl.C: fix redrawing of insets
10732 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10734 * text2.C (updateCounters): fix bug 668
10736 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
10738 * text3.C (dispatch): Do not make the buffer dirty when moving the
10741 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10743 * vc-backend.C: STRCONV
10744 (scanMaster): ditto
10746 * text2.C (setCounter): STRCONV
10748 * paragraph.C (asString): STRCONV
10750 * lyxlength.C (asString): STRCONV
10751 (asLatexString): ditto
10753 * lyxgluelength.C (asString): STRCONV
10754 (asLatexString): ditto
10756 * lyxfunc.C (dispatch): STRCONV
10759 * lyxfont.C (stateText): STRCONV
10761 * importer.C (Import): STRCONV
10763 * counters.C (labelItem): STRCONV
10764 (numberLabel): ditto
10765 (numberLabel): remove unused ostringstream o
10770 * bufferview_funcs.C (currentState): STRCONV
10772 * buffer.C (readFile): STRCONV
10773 (asciiParagraph): ditto
10774 (makeLaTeXFile): ditto
10776 * Spacing.C (writeEnvirBegin): STRCONV
10778 * LaTeXFeatures.C (getLanguages): STRCONV
10779 (getPackages): ditto
10781 (getBabelOptions): ditto
10782 (getTClassPreamble): ditto
10783 (getLyXSGMLEntities): ditto
10784 (getIncludedFiles): ditto
10788 (scanAuxFile): ditto
10791 * LString.h: add the STRCONV macros
10793 * BufferView_pimpl.C (savePosition): STRCONV
10794 (restorePosition): ditto
10795 (MenuInsertLyXFile): ditto
10797 * vc-backend.C (scanMaster): change from submatch[...] to
10800 * funcrequest.C: include config.h
10802 * factory.C: include config.h
10804 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10806 * box.C: include config.h
10808 * LaTeX.C (scanAuxFile): change from submatch[...] to
10812 2002-10-25 Angus Leeming <leeming@lyx.org>
10814 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10816 * ispell.[Ch] (setError): new method.
10817 * ispell.C (c-tor): move out child process into new class LaunchIspell.
10818 Use setError() insetead of goto END.
10820 * lyx_cb.C (AutoSave): move out child process into new class
10823 2002-10-30 John Levon <levon@movementarian.org>
10825 * text3.C: make start appendix undoable
10827 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
10829 * lyxlength.C (inPixels): Fix returned value.
10831 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10834 2002-10-24 Angus Leeming <leeming@lyx.org>
10836 * lyxgluelength.h: no need to forward declare BufferParams
10837 or BufferView, so don't.
10839 2002-10-21 John Levon <levon@movementarian.org>
10841 * BufferView.C: menuUndo ->undo, redo
10843 * BufferView.h: document, remove dead, make some methods private
10845 * paragraph_funcs.h:
10846 * paragraph_funcs.C:
10847 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10852 * sgml.C: move sgml open/close tag into sgml.C
10854 * bufferview_funcs.h: unused prototype
10857 * lyxfunc.C: remove unused
10860 * text.C: remove unused
10862 2002-10-21 John Levon <levon@movementarian.org>
10866 * BufferView_pimpl.h:
10867 * BufferView_pimpl.C: fix mouse wheel handling based on
10868 patch from Darren Freeman
10870 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
10872 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10874 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
10876 * lyxlength.C (inPixels): Fix hanfling of negative length.
10877 Fix LyXLength::MU case.
10879 2002-10-16 John Levon <levon@movementarian.org>
10881 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10883 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10885 * converter.C (view): add support for $$i (file name) and $$p
10886 (file path) for the viewer command. If $$i is not specified, then
10887 it is appended to the command (for compatibility with old syntax)
10889 2002-10-14 Juergen Vigna <jug@sad.it>
10891 * undo_funcs.C (textHandleUndo): alter the order in which the
10892 new undopar is added to the LyXText, as we have to set first
10893 the right prev/next and then add it as otherwise the rebuild of
10894 LyXText is not correct. Also reset the cursor to the right paragraph,
10895 with this IMO we could remove the hack in "redoParagraphs()".
10897 2002-10-09 Angus Leeming <leeming@lyx.org>
10899 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10900 to turn off an optimisation if a new inset is to be inserted.
10902 2002-10-11 André Pönitz <poenitz@gmx.net>
10904 * lyxtext.h: make some functions public to allow access
10905 from inset/lyxtext for handling LFUN_PRIOR/NEXT
10907 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10909 * text3.C (dispatch): when changing layout, avoid an infinite loop
10912 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10914 * lyxrc.C (read): treat a viewer or converter command of "none" as
10917 * MenuBackend.C (expandFormats): for an update, also allow the
10918 formats that are not viewable
10920 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10921 script if it is newer than the lyxrc.defaults in user directory
10923 2002-10-07 André Pönitz <poenitz@gmx.net>
10925 * text.C: Vitaly Lipatov's small i18n fix
10927 2002-09-25 Angus Leeming <leeming@lyx.org>
10929 * ispell.h: doxygen fix.
10931 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
10933 * buffer.h (readFile): Add a new argument to the method, to allow
10934 reading of old-format templates.
10936 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
10938 * toc.C (getTocList): Get TOC from InsetWrap.
10940 2002-09-16 John Levon <levon@movementarian.org>
10942 * lyxfunc.C: check tabular for cut/copy too
10944 2002-09-12 John Levon <levon@movementarian.org>
10946 * LyXAction.C: tidy
10949 * factory.C: add header
10951 * paragraph_funcs.h:
10952 * paragraph_funcs.C: cleanup
10954 2002-09-11 John Levon <levon@movementarian.org>
10956 * PrinterParams.h: odd/even default to true
10958 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
10960 * PrinterParams.h: update printer parameters for new xforms dialog
10962 2002-09-11 Angus Leeming <leeming@lyx.org>
10964 * lyxserver.C (read_ready): re-write to make it more transparent
10965 and to make it work in coherent fashion under Tru64 Unix.
10967 2002-09-11 André Pönitz <poenitz@gmx.net>
10971 * text3.C: implement LFUN_WORDSEL
10973 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10975 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10976 make floatlist_ a boost::shared_ptr<FloatList>
10978 * lyxtextclass.C: include FloatList.h
10979 (LyXTextClass): initialize floatlist_
10980 (TextClassTags): add TC_NOFLOAT
10981 (Read): match "nofloat" to TC_NOFLOAT and use it.
10982 (readFloat): modify call to floatlist_
10986 * FloatList.[Ch] (FloatList): remove commented out float
10988 (erase): new function
10990 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10992 * MenuBackend.C (expandToc): fix crash when there is no document
10995 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
10997 * many files: Add insetwrap.
10999 2002-09-09 John Levon <levon@movementarian.org>
11001 * text2.C: remove confusing and awkward depth wraparound
11003 2002-09-09 John Levon <levon@movementarian.org>
11005 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
11008 * buffer.C: remove getIncludeonlyList()
11011 * lyxfunc.C: remove headers
11013 2002-09-09 Juergen Vigna <jug@sad.it>
11015 * text.C (getColumnNearX): fix form Michael this is most
11016 probably a cut&paste bug.
11018 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
11020 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
11022 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
11023 references, ws changes.
11025 * text2.C (init): update counters after init
11026 (insertParagraph): no need to set counter on idividual paragraphs.
11027 (setCounter): access the counters object in the textclass object
11028 on in the buffer object.
11029 (updateCounters): ditto
11031 * lyxtextclass.C: include counters.h, add variable ctrs_ as
11032 shared_ptr<Counters> to avoid loading counters.h in all
11034 (LyXTextClass): initialize ctrs_
11035 (TextClassTags): add TC_COUNTER, and ...
11036 (Read): use it here.
11037 (CounterTags): new tags
11038 (readCounter): new function
11039 (counters): new funtion
11040 (defaultLayoutName): return a const reference
11042 * counters.C (Counters): remove contructor
11043 (newCounter): remove a couple of unneeded statements.
11044 (newCounter): simplify a bit.
11045 (numberLabel): some small formatting changes.
11047 * buffer.[Ch]: remove all traces of counters, move the Counters
11048 object to the LyXTextClass.
11050 2002-09-06 Alain Castera <castera@in2p3.fr>
11052 * tabular.C: uses \tabularnewline; uses >{...} construct from array
11053 package to set the horizontal alignment on fixed width columns.
11056 * lyx_sty.h: added tabularnewline macro def.
11058 * LaTeXFeatures.C: added NeedTabularnewline macro feature
11060 2002-09-06 John Levon <levon@movementarian.org>
11062 * LyXAction.C: tooltips for sub/superscript
11064 * MenuBackend.C: a bit more verbose
11066 * lyxfunc.C: tiny clean
11068 * undo_funcs.C: document undo_frozen
11070 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
11072 * counters.C (Counters): add missing algorithm counter.
11074 * text2.C (setCounter): lookup the counter with layouts latexname
11075 instead of by section number.
11076 (setCounter): use a hackish way to lookup the correct enum
11078 a float name->type change
11079 reset enum couners with counter name directly instead of depth value.
11081 * counters.C (Counters): remove the push_backs, change to use the
11082 float type not the float name.
11083 (labelItem): remove unused string, float name->type change
11085 * counters.h: don't include vector, loose the enums and sects vectors
11087 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
11089 * lyxtextclass.C (TextClassTags): add TC_FLOAT
11090 (Read): add float->TC_FLOAT to textclassTags
11091 (Read): and handle it in the switch
11092 (readFloat): new function
11094 * FloatList.C (FloatList): comment out the hardcoded float
11097 * lyxlayout.h: ws change.
11099 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
11101 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
11103 2002-09-03 Angus Leeming <leeming@lyx.org>
11105 * BufferView_pimpl.h: qualified name is not allowed in member
11106 declaration: WorkArea & Pimpl::workarea() const;
11108 * factory.C: added using std::endl directive.
11110 * text3.C: added using std::find and std::vector directives.
11112 2002-08-29 André Pönitz <poenitz@gmx.net>
11115 * text2.C: remove unused member number_of_rows
11118 * BufferView2.C: remove file, move contents to...
11119 * BufferView.C: ... here
11121 * BufferView_pimpl.C:
11122 * factory.C: move more inset creation to factory
11124 * vspace.C: avoid direct usage of LyXText, ws changes
11127 don't provide direct access to WorkArea, use two simple
11128 acessors haveSelction() and workHeight() instead
11131 2002-08-29 John Levon <levon@movementarian.org>
11133 * BufferView_pimpl.C (dispatch): do not continue when
11136 2002-08-28 André Pönitz <poenitz@gmx.net>
11138 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
11141 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
11143 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
11145 * buffer.C: increment LYX_FORMAT to 221
11147 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
11148 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
11150 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
11152 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
11154 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11156 * factory.C (createInset): use LyXTextClass::floats
11158 * MenuBackend.C (expandFloatListInsert):
11159 (expandFloatInsert):
11162 * text2.C (setCounter):
11164 * LaTeXFeatures.C (useFloat):
11165 (getFloatDefinitions):
11167 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
11169 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
11170 floatlist_, with accessor floats().
11172 * FloatList.h: remove global FloatList
11174 2002-08-26 André Pönitz <poenitz@gmx.net>
11176 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
11180 * BufferView_pimpl.C:
11181 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
11183 2002-08-25 John Levon <levon@movementarian.org>
11185 * LyXAction.C: fix margin note description
11187 2002-08-24 John Levon <levon@movementarian.org>
11191 * bufferview_funcs.C:
11193 * undo_funcs.C: cleanups
11195 * lyxfunc.C: disable CUT/COPY when no selection
11197 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
11199 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
11200 in "enum UNIT"; e.g. PTW for Percent of TextWidth
11202 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
11203 Add backward compatibility to "mono", "gray" and "no".
11205 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
11207 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
11208 (and file_format >= 200).
11210 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11212 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
11214 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11216 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
11218 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
11220 * BufferView_pimpl.C:
11227 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
11228 inset and code to make it work with the paragraph code. The inset
11229 can be anywhere in the paragraph, but will only do the expected
11230 thing in LaTeX if the layout file contains the parameter line
11232 (or more generally, a nonzero value) for that layout.
11234 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
11236 * paragraph.h: remove the declaration of undefined counters class
11239 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
11241 * text2.C (setCounter): fixed enumeration mis-count as reported by
11242 Dr. Richard Hawkins.
11244 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11246 * paragraph_funcs.h: remove some unneeded includes
11248 * text.C (backspace): pasteParagraph now in global scipe
11250 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
11251 (pasteSelection): ditto
11253 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
11254 * paragraph_funcs.C (pasteParagraph): ... here
11256 2002-08-20 André Pönitz <poenitz@gmx.net>
11258 * commandtags.h: new LFUNs for swapping/copying table row/colums
11261 * lyxfunc.C: support for new lfuns
11263 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
11266 * buffer.[Ch]: remove NO_COMPABILITY stuff
11268 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
11270 * boost.C (throw_exception): new file, with helper function for
11271 boost compiled without exceptions.
11276 * ParameterStruct.h:
11277 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
11279 * bufferlist.C (emergencyWriteAll): use boost bind
11281 * BufferView_pimpl.C (moveCursorUpdate): remove inline
11283 * text.C: include paragraph_funcs.h
11284 (breakParagraph): breakParagraph is now in global scope
11286 * paragraph_funcs.[Ch]: new files
11288 * paragraph.C (breakParagraph,breakParagraphConservative): move to
11291 * buffer.C: include paragraph_funcs.h
11292 (insertStringAsLines): breakParagraph is now in global scope
11294 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
11297 * CutAndPaste.C: include paragraph_funcs.h
11298 (cutSelection): breakParagraphConservative is now in global scope
11299 (pasteSelection): ditto
11301 * buffer.h: declare oprator== and operator!= for
11302 Buffer::inset_iterator
11304 * bufferlist.C (emergencyWrite): don't use fmt(...)
11306 * text3.C: add using std::endl
11308 * BufferView.C (moveCursorUpdate): remove default arg
11310 2002-08-20 André Pönitz <poenitz@gmx.net>
11312 * buffer.[Ch]: move inline functions to .C
11315 * BufferView_pimpl.C:
11317 * buffer.[Ch]: use improved inset_iterator
11320 * paragraph.[Ch]: write one paragraph at a time
11322 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
11324 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
11325 style if style is not specified.
11327 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11329 * text2.C (setCounter): when searching for right label for a
11330 caption, make sure to recurse to parent insets (so that a caption
11331 in a minipage in a figure float works) (bug #568)
11333 2002-08-20 André Pönitz <poenitz@gmx.net>
11335 * text3.C: new file for LyXText::dispatch() and helpers
11337 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
11339 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
11341 2002-08-19 André Pönitz <poenitz@gmx.net>
11344 * text.C: new LyXText::dispatch()
11346 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
11348 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
11350 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
11352 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
11355 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11357 * Makefile.am: use $(variables) instead of @substitutions@
11359 2002-08-15 André Pönitz <poenitz@gmx.net>
11362 * BufferView_pimpl.C: streamlining mathed <-> outer world
11366 * LyXAction.C: remove unused LFUN_MATH
11368 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
11370 * paragraph.[Ch]: add some NO_NEXT ifdefs.
11372 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
11374 * paragraph.C (Paragraph): reformat a bit
11375 (cutIntoMinibuffer): use builtin InsetList function instad of
11379 * buffer.C: include boost/bind.hpp, add using std::for_each
11380 (writeFileAscii): use ParagraphList iterators
11381 (validate): use for_each for validate traversal of paragraphs
11382 (getBibkeyList): use ParagraphList iterators
11383 (resizeInsets): use for_each to resizeInsetsLyXText for all
11385 (getParFromID): use ParagraphList iterators
11387 * BufferView2.C (lockInset): use paragraph list and iterators
11389 2002-08-14 John Levon <levon@movementarian.org>
11391 * lyxserver.C: remove spurious xforms include
11393 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11395 * lyxfunc.C (getStatus): disable math-extern outside of math mode
11397 2002-08-13 André Pönitz <poenitz@gmx.net>
11400 * lyxfunc.C: further cleaning
11402 2002-08-13 André Pönitz <poenitz@gmx.net>
11404 * funcrequest.h: new constructor
11406 * funcrequest.C: move stuff here from .h
11409 * BufferView_pimpl.C:
11412 * lyxfunc.C: subsequent changes
11414 * lyxfunc.h: new view() member function
11416 * lyxfunc.C: subsequent changes
11418 2002-08-13 Angus Leeming <leeming@lyx.org>
11421 * BufferView_pimpl.C:
11429 changes due to the changed LyXView interface that now returns references
11430 to member variables not pointers.
11432 2002-08-13 Angus Leeming <leeming@lyx.org>
11434 * WordLangTuple (word, lang_code): return references to strings,
11439 * lyxtext.h: forward-declare WordLangTuple.
11444 * text.C: #include "WordLangTuple.h".
11447 * text.C: (selectNextWordToSpellcheck): constify return type.
11449 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
11455 * paragraph_pimpl.h:
11458 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
11459 suggested by Angus.
11460 Made updateCounter always count from start of buffer, and removed
11461 second argument (par).
11462 Reverted floats number display to '#'. Perhaps I'll try again when the
11463 code base is sanitized a bit.
11465 2002-08-12 Angus Leeming <leeming@lyx.org>
11467 * buffer.[Ch] (getLabelList): constify.
11469 2002-08-07 André Pönitz <poenitz@gmx.net>
11471 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
11473 * funcrequest.h: extension to keep mouse (x,y) position
11475 2002-08-12 Juergen Vigna <jug@sad.it>
11477 * BufferView2.C (insertErrors): forbid undo when inserting error
11480 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
11482 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
11484 * ParagraphList.[Ch]: new files
11486 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
11488 * BufferView2.C (lockInset): ParagraphList changes
11491 * bufferlist.C: ditto
11495 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11497 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
11498 unused class variable counter_,
11500 * paragraph.[Ch] (getFirstCounter): delete unused function
11502 * counters.C: include LAssert.h
11503 (reset): add a new function with no arg, change other version to
11504 not have def. arg and to not allow empty arg.
11506 * text2.C (setCounter): remove empty arg from call to Counters::reset
11508 2002-08-11 John Levon <levon@movementarian.org>
11510 * Makefile.am: add WordLangTuple.h
11512 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11514 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
11515 lyxfunc.C lyxlex_pimpl.C: ws changes only.
11517 * insets/insettext.C: InsetList changes
11519 * graphics/GraphicsSupport.C (operator()): InsetList changes
11521 * toc.C (getTocList): InsetList changes
11523 * paragraph_pimpl.[Ch]: InsetList changes
11525 * paragraph.[Ch]: InsetList changes
11527 * buffer.C (inset_iterator): InsetList changes
11528 (setParagraph): ditto
11529 * buffer.h (inset_iterator): ditto
11530 * iterators.C (operator++): ditto
11531 * iterators.h: ditto
11533 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11535 * InsetList.[Ch]: new files, most InsetList handling moved out of
11538 * BufferView2.C (removeAutoInsets): InsetList changes
11540 (ChangeInsets): ditto
11542 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
11544 * paragraph_pimpl.h (empty): new function
11546 * paragraph.[Ch] (empty): new function
11548 * other files: use the new Paragraph::empty function
11550 2002-08-09 John Levon <levon@movementarian.org>
11552 * lyxtext.h: remove unused refresh_height
11554 2002-08-09 John Levon <levon@movementarian.org>
11561 * paragraph.C: move sgml char escaping out of paragraph
11564 * paragraph.C: remove id setter
11568 * paragraph_pimpl.C: remove dead tex_code_break_column
11570 * bufferview_funcs.C: small cleanup
11572 * lyxfunc.C: remove dead proto
11574 * lyxtext.h: make some stuff private. Remove some dead stuff.
11576 * lyxgluelength.C: make as[LyX]String() readable
11578 2002-08-08 John Levon <levon@movementarian.org>
11583 * ToolbarDefaults.C:
11586 * toc.C: lyxaction cleanup
11588 2002-08-08 John Levon <levon@movementarian.org>
11590 * BufferView2.C: small cleanup
11593 * lyxfind.C: move unnecessary header into the .C
11595 2002-08-08 John Levon <levon@movementarian.org>
11597 * funcrequest.h: just tedious nonsense
11600 * lyx_main.C: cleanups
11603 * vspace.C: remove dead header lyx_main.h
11605 2002-08-07 Angus Leeming <leeming@lyx.org>
11608 * paragraph_pimpl.h:
11609 Forward declare class Counters in paragraph.h by moving the ctrs member
11610 variable into Paragraph::Pimpl.
11611 (counters): new method, returning a reference to pimpl_->ctrs.
11613 * text2.C: ensuing changes.
11615 2002-08-07 John Levon <levon@movementarian.org>
11617 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11619 * BufferView_pimpl.C: announce X selection on double/triple
11622 * lyx_main.C: use correct bool in batch dispatch
11624 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11626 2002-08-07 André Pönitz <poenitz@gmx.net>
11628 * funcrequest.h: new class to wrap a kb_action and its argument
11631 * BufferView_pimpl[Ch]:
11635 * lyxrc.C: subsequent changes
11638 2002-08-07 John Levon <levon@movementarian.org>
11640 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11641 document options change.
11643 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11648 * makefile.am: move counters functionality over from
11649 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11651 2002-08-06 John Levon <levon@movementarian.org>
11653 * WordLangTuple.h: new file for word + language code tuple
11664 * BufferView2.C: use WordLangTuple
11667 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11669 2002-08-06 John Levon <levon@movementarian.org>
11671 * lyx_main.C: fix cmdline batch handling
11673 2002-08-06 André Pönitz <poenitz@gmx.net>
11675 * lyxrc.C: set default for show_banner to true
11677 2002-08-06 John Levon <levon@movementarian.org>
11679 * pspell.C: fix a crash, and allow new aspell to work
11681 2002-08-06 John Levon <levon@movementarian.org>
11684 * kbmap.C: small cleanup
11687 * vspace.C: add const
11689 2002-08-05 John Levon <levon@movementarian.org>
11691 * LyXAction.C: back to tabular-insert
11693 2002-08-04 John Levon <levon@movementarian.org>
11696 * BufferView.C: cosmetic change
11698 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11708 * BufferView2.C: purge all "Lyx" not "LyX" strings
11711 * lyxcursor.C: attempt to add some documentation
11716 * ToolbarDefaults.C:
11717 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11718 merge with LFUN_TABULAR_INSERT
11725 * pspell.C: split up i/pspell implementations into separate
11726 files, many cleanups
11728 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11730 * text2.C: some cleanup
11732 * lyxfunc.C: don't check for isp_command == "none" any more, it
11733 didn't make any sense
11735 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11740 * makefile.am: move counters functionality over
11741 from text2.C/paragraph.[Ch] to counters.[Ch], and
11743 2002-08-02 John Levon <levon@movementarian.org>
11745 * buffer.C: s/lyxconvert/lyx2lyx/
11747 2002-08-02 Angus Leeming <leeming@lyx.org>
11749 * lyxlex.C: revert John's change as it breaks reading of the user
11752 2002-08-02 Angus Leeming <leeming@lyx.org>
11754 * importer.C (Import):
11755 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11756 changes due to LyXView::view() now returning a boost::shared_ptr.
11758 2002-08-02 John Levon <levon@movementarian.org>
11760 * lyxlex.C: small cleanup
11762 2002-08-02 John Levon <levon@movementarian.org>
11764 * text2.C (status): small cleanup, no logic change
11766 2002-08-01 John Levon <levon@movementarian.org>
11769 * buffer.C (writeFile): don't output alerts, caller
11773 * lyx_cb.C: from above
11775 * lyxfunc.C: allow to open non-existent files
11777 2002-07-31 John Levon <levon@movementarian.org>
11779 * lyxserver.C: don't let incidental errors get
11782 2002-07-30 John Levon <levon@movementarian.org>
11784 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11786 2002-07-30 John Levon <levon@movementarian.org>
11789 * lyxserver.C: remove I/O callback too
11791 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11793 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11796 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
11798 * many files: strip,frontStrip -> trim,ltrim,rtrim
11800 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
11802 * PrinterParams.h: remove extern containsOnly, and include
11803 support/lstrings.h instead.
11805 * LaTeX.C (scanAuxFile): modify because of strip changes
11807 * buffer.C (makeLaTeXFile): ditto
11808 * bufferparams.C (writeFile): ditt
11809 * lyxfont.C (stateText): ditto
11810 * lyxserver.C (read_ready): ditto
11811 * vc-backend.C (scanMaster): ditto
11813 * BufferView_pimpl.h: ws changes
11815 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11817 2002-07-26 André Pönitz <poenitz@gmx.net>
11819 * kb_sequence.C: remove unnedred usings
11821 2002-07-26 Juergen Vigna <jug@sad.it>
11823 * lyxfind.C (LyXReplace): we have to check better if the returned
11824 text is not of theLockingInset()->getLockingInset().
11826 2002-07-25 Juergen Vigna <jug@sad.it>
11828 * lyxfind.C (LyXReplace): don't replace if we don't get the
11831 * undo_funcs.C (createUndo): remove debugging code.
11833 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
11835 * buffer.C (parseSingleLyXformat2Token): Use default placement
11836 when reading old floats.
11838 * FloatList.C (FloatList): Change the default placement of figure
11839 and tables to "tbp".
11841 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
11843 * MenuBackend.C: using std::max
11845 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11847 * MenuBackend.C (expandToc):
11848 (expandToc2): code moved from xforms menu frontend. It is now
11849 generic and TOCs are transparent to menu frontends.
11851 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11853 * toc.C (getTocList): protect against buf=0
11855 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11856 Menu as first parameter. Now, this calls itself recursively to
11857 expand a whole tree (this will be useful for TOC handling)
11858 (expandFloatInsert): remove 'wide' version of floats
11860 * MenuBackend.h (submenuname): returns the name of the submenu.
11861 (submenu): returns the submenu itself, provided it has been
11862 created by MenuBackend::expand
11864 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11866 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11867 insets which have noFontChange == true. (bug #172)
11869 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11871 * BufferView_pimpl.C: add connection objects and use them...
11874 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11876 * MenuBackend.C (expandLastfiles):
11879 (expandFloatListInsert):
11880 (expandFloatInsert):
11881 (expand): split expand in parts
11883 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11885 * lyx_gui.C: use lyx_gui::exit()
11887 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11889 * LyXAction.C: show the failing pseudo action
11891 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
11893 * buffer.C (readFile): Run the lyxconvert script in order to read
11896 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11900 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11902 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11906 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11908 2002-07-22 Herbert Voss <voss@lyx.org>
11911 * lyxlength.[Ch]: add support for the vertical lengths
11913 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
11915 * toc.[Ch]: std:: fixes
11917 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11919 * lyxrc.C: do not include lyx_main.h
11921 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11927 * BufferView2.C: include "lyxlex.h"
11930 * bufferparams.h: do not #include "lyxlex.h"
11932 * lyxtextclasslist.C (Add): remove method
11933 (classlist): renamed to classlist_
11935 * paragraph_pimpl.C:
11939 * bufferview_funcs.C:
11944 * toc.C (getTocList): use BufferParams::getLyXTextClass
11946 * toc.C (getTocList): use InsetFloat::addToToc
11948 * toc.[Ch]: new files, containing helper functions to handle table
11951 * lyxfunc.C (dispatch): no need to remove spaces around command
11953 (getStatus): handle LFUN_SEQUENCE by returning the status of the
11954 first command of the sequence; it is not very clever, but I do not
11955 have a better idea, actually
11957 * LyXAction.C (LookupFunc): make sure to remove space at the
11958 beginning and end of the command
11960 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11962 * MenuBackend.C (getMenubar): new method: return the menubar of
11964 (read): treat differently reading of menu and menubar (in
11965 particular, the menubar has no name now)
11966 (Menu::menubar): remove
11968 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11971 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11973 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11974 a bibitem inset in a RTL paragraph.
11976 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
11978 * paragraph_pimpl.C: constify
11980 * BufferView_pimpl.C:
11982 * lyxfunc.C: fix dispatch in a nicer way
11984 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11986 * lyxfunc.C (dispatch):
11987 * BufferView_pimpl.C:
11988 * BufferView_pimpl.h:
11990 * BufferView.h: rename Dispatch() to dispatch()
11992 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11994 * lyxlayout.C (Read): honor DependsOn tag
11996 * lyxlayout.[Ch] (depends_on): new method
11998 * version.C.in: update lyx_docversion
12000 * LaTeXFeatures.C (getMacros): only define \LyX when needed
12002 * paragraph.C (validate): remove from here...
12003 * paragraph_pimpl.C (validate): ... and move here
12004 (isTextAt): make it const
12006 * buffer.C (getLists): ws cleanup
12008 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
12010 * language.C (read): Use iso8859-1 encoding in latex_lang
12011 (this prevents LyX from crashing when using iso10646-1 encoding).
12013 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12015 * text2.C (toggleInset): if cursor is inside an inset, close the
12016 inset and leave cursor _after_ it
12018 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
12020 * lyxfunc.C: move minibuffer completion handling out of here
12022 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
12024 * BufferView_pimpl.C:
12025 * LaTeX.C: fix dispatch calls
12027 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
12029 * text.C (drawChars): Fix Arabic text rendering.
12031 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
12035 * lyxfunc.C: remove message-push/pop
12039 * lyxfunc.C: rationalise some code by removing verboseDispatch
12040 in favour of a bool argument to dispatch()
12042 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12044 * lyx_main.C (init): make sure to read symlinks as absolute paths
12046 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
12049 * lyxfunc.C: no need for commandshortcut to be a member
12051 2002-07-15 André Pönitz <poenitz@gmx.net>
12053 * converter.C: add support for $$s (scripts from lib/scripts dir)
12054 * lyx_main.C: white space
12056 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
12060 * lyxrc.C: remove second exit confirmation
12062 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
12067 * BufferView_pimpl.h:
12068 * BufferView_pimpl.C:
12069 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
12071 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12073 * MenuBackend.C (expand): add numeric shortcuts to document menu
12075 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
12077 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12079 * lyxfont.C (setLyXFamily):
12086 * buffer.C (asciiParagraph): use ascii_lowercase
12088 2002-07-15 Mike Fabian <mfabian@suse.de>
12090 * lyxlex_pimpl.C (search_kw):
12091 * lyxlex.C (getLongString):
12092 * converter.h (operator<):
12093 * converter.C (operator<):
12094 * buffer.C (parseSingleLyXformat2Token):
12096 * ToolbarDefaults.C (read):
12097 * MenuBackend.C (checkShortcuts):
12099 * LColor.C (getFromGUIName):
12100 (getFromLyXName): use the compare_ascii_no_case instead of
12101 compare_no_case, because in turkish, 'i' is not the lowercase
12102 version of 'I', and thus turkish locale breaks parsing of tags.
12104 2002-07-16 Angus Leeming <leeming@lyx.org>
12106 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
12107 now takes a Buffer const & argument.
12109 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
12111 * BufferView.C (resize): check there's a buffer to resize
12113 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
12115 * lyxfunc.C: remove dead code
12118 * lyxserver.C: use lyx_guii::set_read_callback
12120 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
12122 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
12123 an inset in a RTL paragraph.
12125 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
12127 * lyxfunc.C: repaint after a font size update
12129 2002-07-15 André Pönitz <poenitz@gmx.net>
12131 * lyxlength.C: inBP should be able to return negative values
12133 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
12135 * lyxfunc.C: use lyx_gui::update_fonts()
12137 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
12139 * lyxfunc.C: use lyx_gui::update_color()
12141 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
12147 * lyxrc.C: remove file->new asks for name option, and let
12148 buffer-new take an argument
12150 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
12152 * BufferView_pimpl.C: remove unneeded extra repaint()
12154 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
12156 * LyXAction.C: allow command-sequence with NoBuffer
12158 * lyxfunc.C: don't insist on trailing ';' for command-sequence
12160 2002-07-10 Angus Leeming <leeming@lyx.org>
12162 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
12164 2002-07-09 Angus Leeming <leeming@lyx.org>
12166 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
12168 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
12170 * lengthcommon.h: whitespace
12172 * lyxfunc.C: update scrollbar after goto paragraph
12174 * lyxtext.h: factor out page break drawing, and fix it so
12175 page break/added space paints as selected nicely
12177 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
12179 * BufferView_pimpl.C: add FIXMEs, clean up a little
12181 2002-07-09 André Pönitz <poenitz@gmx.net>
12183 * lyxfont.[Ch]: support for wasy symbols
12185 2002-07-08 André Pönitz <poenitz@gmx.net>
12187 * BufferView_pimpl.C: apply John's patch for #93.
12189 2002-07-05 Angus Leeming <leeming@lyx.org>
12191 * BufferView_pimpl.C (buffer): generate previews if desired.
12193 * LColor.h: add "preview" to the color enum.
12195 * LColor.C (LColor): add a corresponding entry to the items array.
12197 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
12200 2002-07-05 Angus Leeming <leeming@lyx.org>
12202 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
12203 The body of the code is now in the method that is passed an ostream &
12204 rather than a file name.
12205 Pass an additional only_preamble parameter, useful for the forthcoming
12208 2002-07-03 André Pönitz <poenitz@gmx.net>
12210 * lyxfunc.C: simplify getStatus() a bit for math stuff
12212 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12214 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
12216 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12218 * text.C (changeRegionCase): do not change case of all the
12219 document when region ends at paragraph end (bug #461)
12221 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12223 * paragraph.C (startTeXParParams):
12224 (endTeXParParams): add \protect when necessary
12226 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12228 * BufferView_pimpl.C (workAreaExpose): remove warning
12230 2002-06-27 Angus Leeming <leeming@lyx.org>
12232 * Makefile.am: add lyxlayout_ptr_fwd.h.
12234 2002-06-26 André Pönitz <poenitz@gmx.net>
12236 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
12238 2002-06-25 Angus Leeming <leeming@lyx.org>
12240 * lyxfunc.C (dispatch): Comment out the call to
12241 grfx::GCache::changeDisplay. The method no longer exists now that the
12242 pixmap generation part of the graphics loader has been moved into
12245 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12247 * text2.C: layout as layout
12249 * text.C: layout as layout
12251 * tabular.C (OldFormatRead): layout as layout
12253 * paragraph_pimpl.C (TeXDeeper): layout as layout
12254 (realizeFont): layout as layout
12256 * paragraph.C (writeFile): layout as layout
12257 (validate): layout as layout
12258 (getFont): layout as layout
12259 (getLabelFont): layout as layout
12260 (getLayoutFont): layout as layout
12261 (breakParagraph): layout as layout
12262 (stripLeadingSpaces): layout as layout
12263 (getEndLabel): layout as layout
12264 (getMaxDepthAfter): layout as layout
12265 (applyLayout): layout as layout
12266 (TeXOnePar): layout as layout
12267 (simpleTeXOnePar): layout as layout
12268 (TeXEnvironment): layout as layout
12269 (layout): layout as layout
12270 (layout): layout as layout
12272 * lyxtextclass.C (compare_name): new functor to work with
12273 shared_ptr, layout as layout
12274 (Read): layout as layout
12275 (hasLayout): layout as layout
12276 (operator): layout as layout
12277 (delete_layout): layout as layout
12278 (defaultLayout): layout as layout
12280 * lyxlayout_ptr_fwd.h: new file
12282 * lyxlayout.C (Read): layout as layout
12284 * lyx_cb.C (MenuInsertLabel): layout as layout
12286 * bufferlist.C (newFile): layout as layout
12288 * buffer.C (readLyXformat2): layout as layout
12289 (parseSingleLyXformat2Token): layout as layout
12290 (insertStringAsLines): layout as layout
12291 (asciiParagraph): layout as layout
12292 (latexParagraphs): layout as layout
12293 (makeLinuxDocFile): layout as layout
12294 (simpleLinuxDocOnePar): layout as layout
12295 (makeDocBookFile): layout as layout
12296 (simpleDocBookOnePar): layout as layout
12297 (getLists): layout as layout
12299 * LaTeXFeatures.C (getTClassPreamble): layout as layout
12301 * CutAndPaste.C (cutSelection): layout as layout
12302 (pasteSelection): layout as layout
12303 (SwitchLayoutsBetweenClasses): layout as layout
12305 * BufferView_pimpl.C (Dispatch): layout as layout
12306 (smartQuote): layout as layout
12308 * BufferView2.C (unlockInset): layout as layout
12310 2002-06-24 André Pönitz <poenitz@gmx.net>
12312 * lyxfunc.C: fix #487
12314 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12318 * lyxfunc.C: remove display_shortcuts, show_banner
12320 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12322 * Buffer_pimpl.C: oops, update on resize
12324 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12331 * BufferView.C: use repaint()
12333 * BufferView_pimpl.h:
12334 * BufferView_pimpl.C: s/updateScreen()/repaint()/
12335 as it's a clearer description. Remove superfluous
12338 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12340 * text.C: fix bug 488. Not ideal, but getting
12341 getWord() to work properly for the insets that
12342 matter is more difficult ...
12344 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12346 * BufferView_pimpl.C:
12349 * lyxfunc.C: remove the six million index lyxfuncs to just
12350 one, and DTRT (bug 458)
12352 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12356 * BufferView_pimpl.h:
12357 * BufferView_pimpl.C: clean up resize() stuff,
12358 and unnecessary updateScreen()s
12360 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12364 * BufferView_pimpl.h:
12365 * BufferView_pimpl.C:
12368 * minibuffer.C: remove focus management of workarea,
12369 not needed. Use screen's greyOut()
12371 2002-06-17 Herbert Voss <voss@lyx.org>
12373 * converter.C: (convert) do not post a message, when converting
12374 fails, let the calling function decide what to do in this case
12376 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
12378 * lyxfunc.C: tidy up a little
12380 2002-06-16 <alstrup@diku.dk>
12382 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
12383 Got rid of FORMS_H_LOCATION include. Now we are
12386 2002-06-15 LyX Development team <lyx@rilke>
12388 * buffer.[Ch] (sgmlOpenTag):
12389 (sgmlCloseTag): Added support for avoiding pernicious mixed
12390 content. Return number of lines written.
12392 (makeLinuxDocFile):
12393 (makeDocBookFile): Fixed calls to sgml*Tag.
12394 Simple white space clean.
12396 (simpleDocBookOnePar): Simple white space clean.
12398 * tabular.[Ch] (docBook): Renamed to docbook and got another
12399 argument to related with the pernicious mixed content.
12401 (docbookRow): Fixed calls for docbook inset method.
12403 2002-06-15 Lyx Development team <larsbj@birdstep.com>
12405 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
12406 so it's X11 independent.
12410 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
12412 2002-06-15 Lyx Development team <lyx@electronia>
12414 * intl.h: Renamed getTrans to getTransManager.
12416 2002-06-14 Angus Leeming <leeming@lyx.org>
12418 * Makefile.am: nuke forgotten stl_string_fwd.h.
12420 2002-06-12 Angus Leeming <leeming@lyx.org>
12422 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
12424 2002-06-13 Angus Leeming <leeming@lyx.org>
12427 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
12429 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
12431 * kbmap.C (getiso): add support for cyrillic and greek
12433 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12437 * BufferView_pimpl.h:
12438 * BufferView_pimpl.C: move bogus scrolling logic
12441 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12444 * BufferView_pimpl.C: view->resize() change
12446 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12448 * BufferView_pimpl.C: topCursorVisible
12451 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12455 * lyx_gui.C: move to frontends/
12459 * lyx_main.C: changes from above
12461 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12468 * lyx_main.C: minor tidy
12470 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12472 * BufferView_pimpl.h:
12473 * BufferView_pimpl.C:
12475 * BufferView.C: make painter() const,
12478 * BufferView2.C: use screen() accessor
12481 * lyx_main.C: some minor cleanup
12483 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12485 * BufferView_pimpl.h:
12486 * BufferView_pimpl.C: remove enter/leaveView,
12489 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12494 * BufferView_pimpl.h:
12495 * BufferView_pimpl.C: only construct screen once,
12498 * lyxrc.C: remove pointless comment
12500 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
12503 * BufferView.C: remove active() and belowMouse()
12505 * BufferView_pimpl.h:
12506 * BufferView_pimpl.C: use workarea() not workarea_,
12507 and make it use a scoped_ptr instead
12509 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
12511 * lyx_gui.C: add debug message on BadWindow
12513 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12515 * sp_spell.C: fdopen is not part of the C++ standard.
12517 * paragraph.C (InsetIterator): use >= instead of ==
12519 2002-06-07 Angus Leeming <leeming@lyx.org>
12521 Fixes needed to compile with Compaq cxx 6.5.
12522 * BufferView_pimpl.C:
12529 * lyxtextclasslist.C:
12534 all c-library variables have been moved into namespace std. Wrap
12535 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12540 Add a using std::abs declaration.
12542 * kbmap.h (modifier_pair):
12543 * paragraph.h (InsetTable, InsetList):
12544 * lyxfont.h (FontBits):
12545 type definition made public.
12547 * bufferlist.C (emergencyWriteAll): the compiler complains that
12548 there is more than one possible lyx::class_fun template to choose from.
12549 I re-named the void specialisation as lyx::void_class_fun.
12551 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12553 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12554 the compiler is is unable to find tostr in write_attribute.
12556 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12558 * buffer.C (sgmlError): hide #warning
12560 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12562 * xtl/*: get rid of xtl, which is not in use anyway
12564 * LyXAction.C (init):
12565 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12566 were unimplemented xtl experimentation
12568 2002-06-04 André Pönitz <poenitz@gmx.net>
12570 * lyxfunc.C: disable array operation on simple formulae
12572 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
12574 * converter.C: constify a bit
12576 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
12578 * lyx_gui.C: check xforms version correctly
12580 2002-04-30 Herbert Voss <voss@lyx.org>
12582 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12585 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
12587 * lyxvc.C: fix bug 416 (make sure buffer is saved before
12588 attempt to register it with a VCS)
12590 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12592 * lyx_main.C (init): honor variables LYX_DIR_13x and
12595 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12599 * lyx_main.C: fix a crash on bad command line,
12600 and give a useful exit status on error
12602 * lyxfunc.C (doImport): allow -i lyx to work
12604 2002-03-30 André Pönitz <poenitz@gmx.net>
12606 * lyxfunc.C: mathed font changes
12608 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12623 * trans_mgr.h: srcdocs, and some minor cleanups
12625 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12627 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12628 call getFont all the time)
12630 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12632 * switch from SigC signals to boost::signals
12634 2002-05-29 André Pönitz <poenitz@gmx.net>
12636 * paragraph_pimpl.C (getChar): don't call size() too often...
12638 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12640 * paragraph_pimpl.C (insertChar): do not try to update tables when
12641 appending (pos == size())
12643 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12644 in order to reduce drastically the number of comparisons needed to
12645 parse a large document
12647 2002-05-29 André Pönitz <poenitz@gmx.net>
12653 * textclasslist.[Ch]:
12654 * sp_ispell.h: whitespace change
12656 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12658 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12659 lyxaction directly now.
12661 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
12665 * lyxvc.C: remove unused headers
12667 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12674 * undo_funcs.C: some cleanups. Use shared_ptr
12675 and a template for the undo stacks.
12677 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12679 * BufferView_pimpl.h:
12680 * BufferView_pimpl.C:
12687 * text2.C: use key_state/mouse_state
12689 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12691 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12694 * chset.C: change include order
12695 (loadFile): use boost regex and get rid of LRegex and LSubstring
12697 * Makefile.am (BOOST_LIBS): new variable
12698 (lyx_LDADD): use it
12700 * LaTeX.C: change include order.
12701 (scanAuxFile): use boost regex and get rid of LRegex and
12705 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12710 * FontInfo.C: moved to frontends/xforms/
12713 * FontLoader.C: moved into frontends for GUIIzation
12718 * lyxfunc.C: changes from above
12720 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12722 * LColor.C: remove spurious X include
12724 * BufferView_pimpl.C:
12729 * text2.C: move font metrics to frontends/
12731 2002-05-24 Juergen Vigna <jug@sad.it>
12733 * undo_funcs.C (textHandleUndo): fix the cursor selection after
12734 setting the undo_cursor.
12736 * ParagraphParameters.h: include local includes first.
12738 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12740 * BufferView_pimpl.C:
12741 * BufferView_pimpl.h:
12745 * screen.C: move WorkArea into frontends/
12751 * BufferView2.C: move LyXScreen into frontends/
12755 * lyx_gui.C: move lyxlookup into frontends/xforms/
12757 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12760 * BufferView_pimpl.C:
12770 * bufferview_funcs.C:
12783 * vc-backend.C: move LyX/XFormsView into frontends/
12785 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12797 * text2.C: move Painter to frontends/
12799 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
12801 * buffer.C: comment out some some code that depend upon lyx_format
12804 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12805 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12807 * buffer.h (NO_COMPABILITY): turn off compability
12809 * ColorHandler.C: include scoped_array.hpp
12811 * font.C: Use more specific smart_ptr header.
12814 * ShareContainer.h: ditto
12815 * lyx_main.h: ditto
12817 * FontInfo.h: ditto
12818 * BufferView_pimpl.h: ditto
12819 * ColorHandler.h: ditto
12821 * kbmap.C (defkey): change call to shared_ptr::reset
12823 2002-05-21 Juergen Vigna <jug@sad.it>
12825 * buffer.C (insertErtContents): fix to insert ert asis if it is
12826 non empty. Skip it completely if it contains only whitespaces.
12828 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
12830 * BufferView_pimpl.C:
12831 * BufferView2.C: clear selection on paste (bug 393)
12833 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12835 * DepTable.C: include ctime
12837 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
12839 * buffer.C (latexParagraphs): Add new argument (moving_arg).
12841 2002-05-14 Juergen Vigna <jug@sad.it>
12843 * text.C (breakParagraph): fixed function to honor the keepempty
12844 layout in the right maner and also to permit the right breaking
12845 algorithm on empty or non empyt keepempty paragraphs.
12847 * paragraph.C (breakParagraph): we have to check also if the par
12848 is really empty (!size()) for isempty otherwise we do the wrong
12851 2002-05-10 Juergen Vigna <jug@sad.it>
12853 * buffer.[Ch] : The following are only changes to the ert
12854 compatibility read reading old LaTeX layout and font stuff and
12855 convert it to ERTInsets.
12857 * buffer.h: added isErtInset().
12859 * buffer.C (struct ErtComp): add a fromlayout bool to check
12860 if we're inside a LaTeX layout.
12861 (isErtInset): new helper function.
12862 (insertErtContents): look for other ert insets before this one
12863 and insert the contents there, so that we don't have subsequent
12864 ERT insets with nothing between them. This way we create only one
12865 inset with multiple paragraphs. Also check if we don't insert only
12866 spaces ' ' as they are ignored anyway afterwards in the .tex file
12867 so if we have only spaces we will ignore this latex part in the
12869 (parseSingleLyXformat2Token \\layout): better compatibility when
12870 reading layout-latex stuff.
12871 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12873 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12874 stuff after reading the inset only get the information back from
12877 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
12879 * buffer.C (makeLaTeXFile): Put language options after loading babel.
12881 * LaTeXFeatures.C (getBabelOptions): New method.
12883 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12885 * BufferView_pimpl.C (Dispatch): work around missing argument for
12888 2002-05-08 Juergen Vigna <jug@sad.it>
12890 * text.C (leftMargin): handle paragraph leftindent.
12892 * paragraph.C (writeFile): write the new \\leftindent tag.
12893 (validate): handle leftindent code.
12894 (TeXEnvironment): handle paragraphleftindent code again.
12896 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12898 * buffer.C (parseSingleLyXformat2Token): added compatibility code
12899 for paragrap_extra indent code and new token \\leftindent.
12900 (latexParagraphs): handle the leftindent as environment.
12902 * ParameterStruct.h: added leftindent support.
12904 * ParagraphParameters.C (leftIndent): added support functions for
12905 the paragraph left indent.
12907 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12910 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
12912 * paragraph.C (isRightToLeftPar): Return false for a paragraph
12915 * text.C (computeBidiTables): No bidi in insetERT.
12917 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12920 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12922 * version.C.in: pre 5
12924 2002-05-02 José Matos <jamatos@fep.up.pt>
12925 * buffer.C (makeDocBookFile): white space changes, add newline to
12927 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12929 * tabular.C (docBook): fix typo.
12931 2002-05-03 Juergen Vigna <jug@sad.it>
12933 * screen.C (drawFromTo): recalculate the rowpointer if we had a
12934 change in LyXText as we can not be sure it was not freed.
12935 (drawOneRow): remove unused code.
12937 * text.C (drawInset): redo the calculation of the need_break_row as
12938 it could have a row which was already freed.
12939 (draw): look at the return value of drawInset and return false if
12940 it also returned false.
12941 (paintRowText): look at the return value of draw and return false if
12942 it also returned false.
12944 * lyxtext.h: added bool return type to drawInset() and draw() so that
12945 if we have a change in the row so that the rowbreak has to be redone
12946 we abort drawing as it will be called again.
12948 2002-05-02 Juergen Vigna <jug@sad.it>
12950 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12951 a change in the maintext also if we're inside an inset.
12952 (Dispatch): set the cursor again after a break line and after the
12953 screen has been updated as it could be we're in a different row.
12955 * text2.C (fixCursorAfterDelete): check to make sure we don't request
12956 to set the cursor behind the pargraph with > size().
12957 (setCursor): check also for the same paragraph when checking where
12958 to put the cursor if we have a NFR inset.
12960 * buffer.C (parseSingleLyXformat2Token): move the compatibility
12961 parts of layout read further up as it still was in the wrong
12964 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12966 * screen.C (drawFromTo): change sine fullRebreak always return
12969 * buffer.C (parseSingleLyXformat2Token): reindent some
12971 * BufferView_pimpl.C (update): change since fullRebreak always
12973 (Dispatch): git rid of the last hardcoded "Standard"s.
12975 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
12977 * text2.[Ch] (fullRebreak): make it return void now that we always
12980 2002-04-30 Juergen Vigna <jug@sad.it>
12982 * buffer.C (parseSingleLyXformat2Token): reset the font before the
12983 ert compatibility check for "latex" layout.
12985 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
12987 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12988 minipages: use col% instead of p%, and also use the current font.
12989 (makeLaTeXFile): Fix use babel condition.
12990 (parseSingleLyXformat2Token): Correct font when reading old floats.
12992 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
12994 * BufferView_pimpl.C (Dispatch): Check that float type exists when
12995 inserting list of floats.
12997 2002-04-25 Herbert Voss <voss@lyx.org>
12999 * MenuBackend.C (expand): don't add the graphics extensions to the
13002 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13004 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
13005 non-existing layout, do not complain if it was the default layout
13006 of the original class (bug #342)
13008 2002-04-24 Juergen Vigna <jug@sad.it>
13010 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
13011 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
13013 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
13015 * buffer.C (getBibkeyList): If using \bibliography, return the
13016 option field with the reference itself. Enables us to provide natbib
13017 support when using \bibliography.
13019 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
13021 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
13023 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
13024 natbib is provided by the LaTeX class.
13026 2002-04-23 Juergen Vigna <jug@sad.it>
13028 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
13031 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
13033 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13035 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
13037 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
13038 ensuremath around textordmasculine, textordfeminine and
13041 2002-04-19 Juergen Vigna <jug@sad.it>
13043 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
13044 reinitializing the buffer otherwise row-dimensions may be wrong.
13045 (update): reset also the selection cursors if they do exits otherwise
13046 their x/y positions may be wrong.
13048 * text2.C (cursorDown): don't enter the inset if we came from a row
13049 above and are one row over the inset.
13051 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
13052 really leaving an inset.
13054 2002-04-18 Juergen Vigna <jug@sad.it>
13056 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
13057 of the selected paragraph does not have the selected layout also if
13060 * text2.C (setLayout): fixed bug which did not change last selected
13063 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
13064 changed the read and substituted \\end_float with \\end_inset!
13066 * BufferView_pimpl.C (cursorPrevious):
13067 (cursorNext): fixed to make it work with rows heigher than the work
13068 area without moving the cursor only the draw of the row.
13069 (workAreaMotionNotify): fix jumping over high rows.
13071 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13073 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
13076 2002-04-16 Juergen Vigna <jug@sad.it>
13078 * text2.C (setCursor): set also the irow().
13079 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
13081 (cursorDown): support for locking an inset if the x_fix value goes
13082 inside it. That way I can transverse insets too with cursor up/down.
13084 * lyxrow.h: added irow helper function same as other (i) functions.
13086 * BufferView_pimpl.C (cursorPrevious):
13087 (cursorNext): fixed for insets!
13089 2002-04-15 Juergen Vigna <jug@sad.it>
13091 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
13092 position otherwise it is wrong in some cases.
13094 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
13095 inside the inset before the call.
13097 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
13099 * buffer.[Ch] (getBibkeyList): make it const.
13101 2002-04-12 Juergen Vigna <jug@sad.it>
13103 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
13105 * text2.C (getCursorX): new helper function
13106 (setCursor): compute also ix_
13107 (setCursorFromCoordinates): set also ix.
13109 * lyxcursor.h: added ix_ and helper functions.
13111 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
13113 * buffer.C (insertStringAsLines): dont break paragraph if the this
13114 paragraph is inside an inset which does not permit it!
13116 * text.C (breakParagraph): honor keepempty flag and break the paragraph
13117 also with no chars on this paragraph.
13118 (paintRowText): only paint stuff if it's inside the workarea!
13120 * paragraph.C (breakParagraph): honor keepempty flag and break the
13121 paragraph always below not above.
13123 * BufferView2.C (unlockInset): update the paragraph layout on inset
13124 unlock as we changed paragraph in such a case.
13126 * lyxfind.C (LyXFind): clear the former selection if not found!
13128 * text2.C (insertInset): freeze Undo after setUndo so that it is not
13129 again called in insertChar().
13131 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
13132 an inset which uses the whole row!
13133 (rightMargin): ditto.
13134 (insertChar): force a rebreak if we inserted an inset!
13136 2002-03-28 Herbert Voss <voss@lyx.org>
13138 * lyxlength.[Ch]: add inBP() to get the right PS-point
13139 units (BigPoint). With inPixels we have rounding errors
13141 2002-04-11 Juergen Vigna <jug@sad.it>
13143 * text2.C (setCursorFromCoordinates): set iy to the right value.
13144 (setCursor): add check if row->previous exists!
13146 * buffer.C (parseSingleLyXformat2Token): reset font after read of
13147 an old float_type as this was the case in the old code!
13149 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
13151 * BufferView2.C (showLockedInsetCursor): use iy
13152 (fitLockedInsetCursor): ditto
13154 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
13155 locked insets as there we have the right value now.
13157 * lyxcursor.C: added iy_ variable and iy functions to set to the
13158 baseline of cursor-y of the locked inset.
13160 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
13161 (setCursor): fixed for insets which need a full row.
13163 * text.C (rowLastPrintable): don't ignore the last space when before
13164 an inset which needs a full row.
13165 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
13166 as last character of a row when before a inset which needs a full row.
13168 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13170 * version.C.in: update date
13172 * text2.C (fullRebreak): try to always return true and see what
13175 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13177 * MenuBackend.C (expand): use Floating::listName
13179 * FloatList.C (FloatList): add listName argument to the built-in
13182 * Floating.[Ch]: add listName member, which is the 'List of XXX'
13183 text associated with the float.
13185 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13187 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
13189 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13191 * ShareContainer.h: add a couple of missing typenames.
13193 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
13195 * lyxrc.C (getDescription): use _() correctly rather than N_().
13197 2002-03-28 Herbert Voss <voss@lyx.org>
13199 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
13200 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
13202 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13204 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
13205 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
13207 2002-03-29 Juergen Vigna <jug@sad.it>
13209 * lyxfunc.C (dispatch): add a missing fitCursor call.
13211 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
13212 it was scrolled by a cursor move, so return the bool status.
13214 * BufferView.C (fitCursor): return the bool flag also to the outside
13215 world as this is needed.
13217 * screen.C (toggleToggle): don't subtract the offset if it's positive.
13219 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
13220 call the edit() as it is not needed (and wrong) IMO.
13221 (workAreaButtonPress): set the screen_first variable before evt.
13222 unlock the inset as this may change screen_first and then we have
13223 a wrong y position for the click!
13225 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13227 * MenuBackend.C (expand): another translation that I missed
13229 2002-03-28 Juergen Vigna <jug@sad.it>
13231 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
13233 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
13235 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13237 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
13239 * MenuBackend.C (expand): fix export/view/update when there is no
13242 2002-03-27 Herbert Voss <voss@lyx.org>
13244 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
13247 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13249 * bufferview_funcs.C (currentState): only show paragraph number
13250 for is DEVEL_VERSION is set.
13252 * lyxfunc.C (dispatch): put warning in INFO channel
13254 * MenuBackend.C (expand): translate the name of floats
13256 * FloatList.C (FloatList): mark the float names for translation
13258 * converter.C (convert): use LibScriptSearch
13260 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13262 * MenuBackend.C (defaults): fix default menu (we might as well get
13265 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13267 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
13270 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13272 * lyxvc.C: reorder includes.
13274 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
13276 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
13279 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
13281 * CutAndPaste.C: change layouts earlier on paste
13282 to avoid crashing when calling getFont()
13284 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
13286 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
13289 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
13291 * WorkArea.C: remove 'Pending' debug message.
13293 * most files: ws cleanup
13295 * buffer.[Ch]: ws changes
13297 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
13299 2002-03-21 Juergen Vigna <jug@sad.it>
13301 * tabular.C (SetMultiColumn): collapse also the contents of the
13302 cells and set the last border right. Added a Buffer const * param.
13304 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
13306 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
13309 2002-03-19 Juergen Vigna <jug@sad.it>
13311 * text2.C (clearSelection): reset also xsel_cache.
13313 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
13314 where it needs to be called (John tells us to do so too :)
13315 (selectionLost): reset sel_cache.
13317 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
13319 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13321 * text2.C (setCursorIntern): put debuging code in INSETS channel
13323 2002-03-19 André Pönitz <poenitz@gmx.net>
13325 * lyxfunc.C: tiny whitespace change
13327 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13329 * ToolbarDefaults.C (init):
13330 * LyXAction.C (init):
13332 * BufferView_pimpl.C (Dispatch):
13333 * lyxfunc.C (dispatch): remove LFUN_DEPTH
13335 2002-03-19 Allan Rae <rae@lyx.org>
13337 * exporter.C (Export): removeAutoInsets before doing anything else.
13338 While I've just introduced a dependency on BufferView this really is
13339 the best place to clean the buffer otherwise you need to cleanup in
13340 a dozen places before calling export or cleanup in a dozen functions
13343 * converter.C (runLaTeX):
13344 (scanLog): Better handling of removeAutoInsets and screen updates.
13346 * lyxfunc.C (dispatch): small whitespace changes
13348 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13350 * WorkArea.C (C_WorkAreaEvent): return a value.
13351 (event_cb): return 1 if we handled the event, 0 otherwise.
13353 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
13355 2002-03-18 Juergen Vigna <jug@sad.it>
13357 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
13358 (GetAdditionalWidth): ditto.
13359 (RightLine): ditto.
13362 * BufferView2.C (copy): use getLyXText() so that we do it inside an
13363 inset if we're there actually (probably not used right now but this
13364 is the direction to go for unifying code).
13365 (paste): disable code to clear the selection.
13367 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
13368 inside an InsetText and move the check further up as it is in the
13371 * text2.C (pasteSelection): set a selection over the pasted text.
13373 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
13375 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
13376 and libgraphics to build on Cygwin.
13378 2002-03-15 Juergen Vigna <jug@sad.it>
13380 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
13381 inserting an Inset into the paragraph. I know this is not the best
13382 fix but we already use current_view in CutAndPaste so we will remove
13383 all of it's using at the same time.
13385 * buffer.C (sgmlError): deactivated function till it is rewritten in
13386 the right mode, now it can create problems.
13388 * paragraph.C (isLineSeparator): check if getInset returns != 0,
13389 before accessing it.
13391 2002-03-14 Juergen Vigna <jug@sad.it>
13393 * undo_funcs.C (textHandleUndo): do the right thing when updating
13394 the inset after the undo/redo.
13396 * text2.C (setCursor): just some testcode for #44 not ready yet.
13398 * undo_funcs.C (textHandleUndo): set the next() and previous()
13399 pointers of the paragraph to 0 before deleting otherwise we have
13400 problems with the Paragraph::[destructor].
13402 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
13403 on a paragraph insertion.
13405 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13407 * buffer.C (asciiParagraph): use += operator for char append to
13410 * paragraph.C (getFontSettings): compare >= not just >
13411 (highestFontInRange): ditto
13414 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13416 * paragraph.C: change several algorithm to be more appripriate for
13417 the problem domain. This is lookip in FontList and in the InsetList.
13419 2002-03-13 André Pönitz <poenitz@gmx.net>
13422 * LyXAction.C: remove unused LFUN_MATH_MACROARG
13424 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
13429 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
13431 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13433 * Painter.C (display): anon helper function, adjust code for this
13435 (pixmap): remove function.
13437 * Painter.h: remove private display variable.
13439 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
13441 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
13443 * WorkArea.[Ch]: remove figinset_canvas cruft.
13445 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13447 * lyxtextclass.C (operator): add one item cache optimization.
13449 * bufferlist.h: doxy changes
13451 * bufferlist.C: ws changes
13453 * DepTable.[Ch] (ext_exist): place const in the right spot.
13455 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
13457 (workAreaExpose): call resizeInsets when the with BufferView changes.
13458 (Dispatch): adjust for protectedBlank removal
13459 (specialChar): call updateInset if the insert went ok.
13461 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
13462 specialChar instead.
13464 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
13466 * BufferView.h: doxy change
13468 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
13470 * lyxtextclass.C (operator[]): remove non-const version
13471 (defaultLayout): remove non-const version
13473 2002-03-12 Juergen Vigna <jug@sad.it>
13475 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
13476 did resize the LyXText too.
13478 * buffer.C (readLyXformat2): set layout information on newly allocated
13481 * tabular.C (OldFormatRead): set layout information on the paragraph.
13483 2002-03-12 Jos�Ab�io Oliveira Matos <jamatos@novalis.fc.up.pt>
13485 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
13487 2002-03-11 Juergen Vigna <jug@sad.it>
13489 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
13491 (resizeCurrentBuffer): force also the insets to resize themselfes.
13492 (moveCursorUpdate): fixed up for InsetText.
13494 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
13497 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
13498 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
13499 value of Dialogs::tooltipsEnabled().
13500 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
13502 2002-03-08 Juergen Vigna <jug@sad.it>
13504 * BufferView_pimpl.C (updateInset): update inset inside inset also
13505 if it isn't inside theLockingInset().
13507 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13509 * buffer.C (asciiParagraph): redo some of the word and line length
13511 (getLists): look for Caption instead of caption.
13513 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13515 * buffer.C (Buffer): initialize niceFile to true
13517 (makeLinuxDocFile):
13518 (makeDocBookFile): make sure niceFile is true on exit
13520 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13522 * buffer.C (makeLaTeXFile): escape ~ in \input@path
13524 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
13526 * LyXSendto.C: remove.
13527 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13528 * lyx_gui.C: remove now-redundant comment.
13529 * ColorHandler.h: remove forward declaration of class WorkArea.
13530 * lyxfunc.C: remove #include "WorkArea.h".
13532 2002-03-07 Juergen Vigna <jug@sad.it>
13534 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13535 got moved away with the DEPM and also set the inset_owner always
13536 right which before could have been omitted.
13538 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13540 * buffer.C (parseSingleLyXformat2Token): use default layout is the
13541 wanted layout is not found.
13543 2002-03-07 Juergen Vigna <jug@sad.it>
13545 * CutAndPaste.C (cutSelection): another layout settings forgotten.
13547 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13549 * paragraph.C (breakParagraph): use default layout not layout of
13551 (Paragraph): clear ParagraphParameters.
13553 2002-03-06 Juergen Vigna <jug@sad.it>
13555 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13556 otherwise it would not be a valid lenght. Fixed a special case in
13557 the minipage compatibility read where we end the document with a
13560 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13561 was set as it could be 0 for InsetTexts first entry.
13563 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13565 * paragraph.C (writeFile): if layout is empty write out
13566 defaultLayoutName().
13568 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13569 file without named layout we set layout to defaultLayoutName().
13571 2002-03-06 Juergen Vigna <jug@sad.it>
13573 * CutAndPaste.C (copySelection): set layout for new paragraph.
13575 * text.C (prepareToPrint): leave ERT inset left aligned
13576 (leftMargin): don't indent paragraphs inside ERT insets
13578 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13580 * paragraph.C (breakParagraph): dont call clear do the work manually
13582 * paragraph.[Ch] (clear): remove function
13584 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13586 * paragraph.C (Paragraph): dont call clear, the work has already
13589 * lyxtextclass.C (operator): assert if n is empty
13591 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13592 work manually instead.
13594 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13596 * BufferView_pimpl.C: protect selectionLost against text == 0
13598 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13600 * text.C (breakParagraph): fix a setting layout to '0' problem.
13602 2002-03-05 Jos�Ab�io Oliveira Matos <jamatos@novalis.fc.up.pt>
13604 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13605 final location of file, for the included files, and graphics.
13607 2002-03-05 Juergen Vigna <jug@sad.it>
13609 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13611 2002-03-04 Juergen Vigna <jug@sad.it>
13613 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13615 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13616 last column of multicolumn cells.
13617 (SetWidthOfMulticolCell): recalculate NMC and real columns.
13619 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
13621 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13622 file if it doesn't go to a temporary file.
13624 * buffer.C (sgmlOpenTag):
13625 (sgmlCloseTag): remove extra newline insertion.
13627 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13629 * text.C (getRowNearY): comment out debug msg
13631 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13633 * text2.C: first -> first_y
13635 * text.C (getRowNearY): add some attemts at a possible
13636 optimization, not working.
13638 * tabular.[Ch]: add BufferParams to several function so that newly
13639 created paragraph can be initialized to he default layotu for the
13642 * tabular-old.C (ReadOld): add buf->params to call of Init
13644 * screen.C: rename text->first to text->first_y
13646 * paragraph.C (breakParagraph): always set layout in the broken
13649 * lyxtextclass.C (Read): remove lowercase
13652 (delete_layout): ditto
13654 * lyxtext.h: rename first -> first_y
13656 * lyxlayout.C (Read): remove lowercase
13659 (obsoleted_by): ditto
13661 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13663 * buffer.C (insertErtContents): add params are to InsetERT
13664 (parseSingleLyXformat2Token): add code to check if a paragraphs
13665 layout really exist.
13666 (parseSingleLyXformat2Token): add params to several inset
13668 (asciiParagraph): remove lowercase, do the layout comparisons with
13671 * BufferView_pimpl.C (cursorNext): first -> first_y
13672 (resizeCurrentBuffer): first -> first_y
13673 (updateScrollbar): first -> first_y
13674 (scrollCB): first -> first_y
13675 (workAreaMotionNotify): first -> first_y
13676 (workAreaButtonPress): first -> first_y
13677 (checkInsetHit): first -> first_y
13678 (cursorPrevious): first -> first_y
13679 (cursorNext): first -> first_y
13680 (Dispatch): add buffer_->params to severl inset contructors
13682 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13684 * lyxlayout.C (Read): remove some debug info that I forgot.
13686 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13687 clean up the code slightly.
13688 (makeLinuxDocFile): ditto
13689 (makeDocBookFile): ditto
13691 * text2.C: layout as string
13693 * text.C: layout as string
13695 * paragraph_pimpl.C: layout as string
13697 * paragraph.[Ch]: layout as string
13699 * lyxtextclasslist.[Ch]: layout as string
13701 * lyxtextclass.[Ch]: layout as string
13703 * lyxtext.h: layout as string
13705 * lyxlayout.[Ch]: layout as string
13707 * lyx_cb.C: layout as string
13709 * bufferview_funcs.C: layout as string
13711 * bufferparams.C: layout as string
13713 * buffer.C: layout as string
13715 * LyXView.[Ch]: layout as string
13717 * LaTeXFeatures.[Ch]: layout as string
13719 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13721 * BufferView_pimpl.C: change current_layout to string, remove
13726 (workAreaButtonRelease): layout as string
13728 * BufferView2.C (unlockInset): adjust
13730 * vspace.C (asLatexCommand): use an explict temp variable.
13732 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13734 * Makefile.am: use FRONTEND_*
13736 2002-03-01 Juergen Vigna <jug@sad.it>
13738 * tabular.C (SetWidthOfMulticolCell): changed to something better
13739 I hope but still work in progress.
13740 (recalculateMulticolumnsOfColumn): renamed function from
13741 recalculateMulticolCells as it is more appropriate now.
13742 (SetWidthOfCell): calculate multicols better.
13744 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13746 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13748 * lyxfunc.C (processKeySym): print sequence also if it is
13749 `deleted' (complete)
13751 * kbsequence.C (print): print sequence even if it is deleted
13752 (complete would be a better word, actually).
13754 * lyxfunc.C (dispatch): print complete options after a prefix key
13756 * vspace.C (asLatexCommand): rewrite in a slightly different form.
13758 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
13760 * text2.C (setCharFont): eliminate setCharFont code duplication.
13762 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13764 * BufferView_pimpl.C (Dispatch): remove bogus handling of
13765 LFUN_TABULAR_FEATURE (bug #177)
13767 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
13769 * Makefile.am: remove figure.h
13771 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
13773 * Bufferview_pimpl.C:
13785 * text2.C: remove #include "lyx_gui_misc.h".
13787 * LaTeX.C: added #include <cstdio>
13789 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13791 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13792 that the paragraph following this one can have.
13794 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13796 * vspace.C (asLatexCommand): fix bogus gcc warning
13798 * Makefile.am (lyx_SOURCES): remove vms_defines.h
13800 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
13802 * text2.C (setLayout): get rid of redundant code
13804 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
13806 * text2.C (incDepth): make sure depth cannot be increased beyond
13809 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
13811 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13812 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13814 * PainterBase.h (image):
13815 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13816 a LyXImage const *.
13818 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13822 * BufferView_pimpl.C:
13823 * BufferView_pimpl.h:
13843 * sp_spell.C: remove fig inset, and the crap house of
13844 cards that follows it
13846 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13851 * os2_errortable.h:
13852 * nt_defines.h: move .h into support/
13854 * vms_defines.h: remove
13856 * WorkArea.C: add space in debug output
13860 * buffer.C: add WITH_WARNINGS
13864 * bufferlist.C: s/retrive/retrieve/, add docs
13873 * chset.C: add docs
13875 * lyxgui.C: add ID to X error handler
13877 * lyxtestclass.c: fix typo
13879 2002-02-26 Juergen Vigna <jug@sad.it>
13881 * tabular_funcs.C (write_attribute): changed so that some default
13882 attributes are not written at all.
13883 (getTokenValue): set default values before trying to read the
13884 value so we have the return value always set as default if we don't
13885 find the token we search for.
13887 * tabular.C (Write): write bools as bools not as strings!
13889 2002-02-22 Juergen Vigna <jug@sad.it>
13891 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13892 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13894 * text.C (leftMargin): don't add an indent for paragraphs inside
13895 tabular cells (fix #208).
13897 2002-02-21 José Matos <jamatos@fep.up.pt>
13899 * tabular.C (docBook): fixed support for long tables.
13901 2002-02-20 Juergen Vigna <jug@sad.it>
13903 * text2.C (getFont): get the drawing font of the Inset if this
13904 paragraph is inside an inset (only important for InsetERT for now).
13906 * buffer.C (insertErtContents): use new lanugage params in ERT
13909 * CutAndPaste.C: commenting out seemingly uneeded code.
13911 2002-02-19 Allan Rae <rae@lyx.org>
13913 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13914 Iterators might be simple to use but they also get invalidated.
13915 (removeAutoInsets): renamed saved cursor tracking variables and added
13916 some comments to clarify what everything does.
13918 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
13925 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13926 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13929 * vc-backend.h: remove #include "support/syscall.h"
13933 * converter.C: rearrange #includes in Lars' approved fashion.
13935 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13936 forward declare class Timeout in the header file.
13938 * XFormsView.C: changes due to the above.
13940 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13941 similar to LyXView.
13943 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13944 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13946 2002-02-18 José Matos <jamatos@fep.up.pt>
13948 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13951 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
13953 * a lot of small ws changes
13954 * add a lot of using std::XXX
13955 * use std construcs some places where approp.
13956 * use some exisint stuff from lyxfunctional where approp.
13957 * Make file changes to use partial linking (lets test this now...)
13959 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13963 remove #include "support/syscontr.h" as it's redundant. Always has been.
13971 change Systemcalls::System to Systemcalls::Wait and
13972 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13973 No change of functionality, just reflects the stripped down Systemcalls
13976 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13978 * debug.[Ch]: add a GRAPHICS type to the enum.
13980 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13982 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13984 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13987 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13989 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13990 match the changes below.
13992 * text2.C (toggleInset): if there is not editable inset at cursor
13993 position, try to see if cursor is _inside_ a collapsable inset
13996 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13998 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13999 document menu has a nice checkbox
14001 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14003 * lyxlength.C (asLatexString): change PW to output as percent of
14006 * lengthcommon.C: change '%' to 't%'
14008 * lyxfunc.C (dispatch): a few comments from Martin
14010 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
14014 * BufferView_pimpl.h:
14015 * BufferView_pimpl.C: clear our selection when X tells us we've lost
14018 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14020 * vspace.C (inPixels): fix compiler warning
14022 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14024 * lyxfunc.C (getStatus): fix status message for disabled commands.
14026 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
14028 * BufferView_pimpl.C: fix crash on close buffer
14029 during selection (#227)
14031 2002-01-27 Herbert Voss <voss@lyx.org>
14033 * buffer.C: link old Figure to new graphic inset
14035 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
14037 * FontLoader.C (getFontinfo): Change the latex font names in order
14038 to match the names of type1inst.
14040 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
14042 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
14044 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
14045 (extchanged): ditto
14047 (remove_files_with_extension): ditto
14048 (remove_file): ditto
14051 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
14052 document is smaller than the work area height. Do not initialize
14053 static variables to 0.
14055 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14057 * lyx_gui.C (init): give the toolbar tooltips a normal font.
14059 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
14060 LFUN_LAYOUT_PARAGRAPHS.
14062 * tabular.C (GetCellFromInset): new method. Finds an inset in a
14063 tabular. It is possible to provide a possible cell, which will
14064 typically be the actcell from the corresponding insettabular
14066 * lyxfunc.C (getStatus): small cleanup; disable
14067 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
14070 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14072 * tabular.C (Validate): remove broken optimization (fixes bug #201)
14074 * paragraph.C (startTeXParParams):
14075 (endTeXParParams): new methods. The LaTeX code to
14076 start/end paragraph formatting
14077 (simpleTeXOnePar): call startTeXParParams also when paragraph is
14078 empty (fixes bug #200)
14080 * vspace.C (inPixels): adapt to the change below
14081 (inPixels): [later] more cleanups (remove unused variables)
14083 * lyxlength.C (inPixels): change to use a width and a height as
14086 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14088 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
14089 Replaced with \paperwidth
14091 * DepTable.C (insert): add std:: qualifier
14093 2002-01-18 Allan Rae <rae@lyx.org>
14095 * text2.C (removeRow): add comment. Should other refresh_?? vars be
14098 * text.C (drawInset): Turned out I didn't know enough about how
14099 rebreaking worked. This fixes most of the redraw problems. I see
14100 an occasional cursor trail when a line is broken now and the cursor
14101 placement can seem out by a few pixels also after a rebreak.
14103 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14105 * buffer.C (parseSingleLyXformat2Token): update because minipage
14106 width is now a LyXLength
14108 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
14110 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
14113 2002-01-17 Juergen Vigna <jug@sad.it>
14115 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
14117 * BufferView2.C (lockInset): call edit() so that theLockingInset()
14118 is set correctly and the inset is updated correctly.
14120 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14122 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
14123 the beginning of the loop.
14125 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
14127 * lyxrc.C: improve help for use_scalable_fonts
14129 2002-01-17 Allan Rae <rae@lyx.org>
14131 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
14133 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14135 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
14136 make sure to set their inset_owner to the right value (bug #171)
14138 2001-12-12 Ben Stanley <bds02@uow.edu.au>
14141 * DepTable.C: Implement mtime checking to reduce time spent doing
14144 2002-01-16 Juergen Vigna <jug@sad.it>
14146 * tabular.C (GetAdditionalHeight): one of error fixed.
14148 * lyxrc.C (output): small fix in writing use_pspell.
14150 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
14152 * sp_base.h: #include LString.h
14154 2002-01-16 Allan Rae <rae@lyx.org>
14156 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
14157 Can someone check this please?
14159 * text.C (drawInset): It was possible that p.row would be removed by
14160 breakAgainOneRow upsetting a few other settings. There may be another
14161 small tweak possible by setting need_break_row = 0 when p.row has been
14162 removed but I don't know enough about the logic here.
14164 2002-01-15 Allan Rae <rae@lyx.org>
14166 * text.C (insertChar): removed conditional truism.
14168 * BufferView2.C (removeAutoInsets): More tweaks.
14169 cur_par_prev could be a stray pointer. Check for trailing empty line
14170 in case last line was cur_par and only had an error inset on it.
14172 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14174 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
14177 * vc-backend.C (most methods):
14178 * exporter.C (Export):
14179 * converter.C (convert):
14181 * LyXSendto.C (SendtoApplyCB):
14182 * lyxfunc.C (dispatch):
14186 * lyx_cb.C (AutoSave):
14188 * BufferView_pimpl.C (MenuInsertLyXFile):
14189 * buffer.C (runChktex): use Buffer::filePath().
14191 * buffer.h: rename filename to filename_; rename filepath to
14192 filepath_ and make it private
14193 (filePath): new method
14195 * buffer.C (writeFile): use fileName()
14198 * lyx_main.C (init): fix starting of LyX when the binary is a
14199 link from so,ewhere else.
14201 * minibuffer.C: include <cctype> for isprint
14203 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
14205 * buffer.C (parseSingleLyXformat2Token): changes associated with the
14206 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
14207 name clash with InsetCollapsable's width function.
14209 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14211 * lastfiles.C: include <iterator>
14213 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
14215 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
14218 * buffer.C (makeLaTeXFile): ditto.
14219 Also make loop operation more transparent.
14221 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
14223 * ToolbarDefaults.C: remove trailing comma closing namespace.
14225 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
14227 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
14230 * trans.C (Load): comment out unused variable, allowed.
14232 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
14234 * minibuffer.[Ch] (append_char): new method to recieve input from the
14235 drop-down completion browser. If a key was pressed, then recieve this
14236 char and append it to the existing string.
14237 (peek_event): modify the positioning data passed to the completion
14238 browser so that it can be placed above the minibuffer rather than below.
14239 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14241 * LyXAction.C (init): alloe error-next for readonly documents.
14243 * BufferView2.C (ChangeRefsIfUnique): use standard version of
14246 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14248 * bufferlist.C (readFile): create the buffer _after_ checking that
14251 * lyxfunc.C (verboseDispatch): fix handling of arguments
14253 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
14255 * lyxrc.C: use string::erase() instead of initializing to "".
14258 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14260 * BufferView_pimpl.h:
14261 * BufferView_pimpl.C:
14264 * text2.C: tell X when we have made a selection for copying
14266 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14268 * BufferView_pimpl.C (MenuInsertLyXFile):
14269 * lyxfunc.C (menuNew):
14271 (doImport): add shortcuts to directory buttons
14273 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
14276 * lyxfunc.C (setStatusMessage):
14277 (getStatusMessage): new methods
14278 (getStatus):use setStatusMessage instead of setErrorMessage
14279 (dispatch): when function is disabled, set error message here
14280 [instead of in getStatus previously]
14282 * BufferView_pimpl.C (workAreaButtonRelease): update
14283 toolbar/menubar here too.
14285 2002-01-13 Allan Rae <rae@lyx.org>
14287 * BufferView2.C (removeAutoInsets): finished off earlier fix.
14288 Now seems indestructible. Remaining task is to audit all other
14289 code affected by deleteEmptyParagraphMechanism. One small quirk
14290 left is that an empty document with an error in the preamble can
14291 be made to report an error but no error box appears. I don't know
14293 (removeAutoInsets): Improved comments.
14295 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
14298 * Thesaurus.C: update for Aiksaurus 0.14
14300 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
14302 * text2.C (firstParagraph): removed member function, all uses
14303 replaces with ownerParagraph
14304 (redoParagraphs): here
14305 (updateInset): here
14306 (toggleAppendix): here
14307 * BufferView2.C (insertErrors): here
14308 (setCursorFromRow): here
14310 2002-01-13 Allan Rae <rae@lyx.org>
14312 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
14313 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
14314 There is still a way to segfault this although you may have to do this
14315 multiple times: Have an InsetERT with an unknown command in it.
14316 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
14317 <down-arrow>, <Enter> again, View->DVI, BANG!
14319 * text2.C (setCursor):
14320 (deleteEmptyParagraphMechanism):
14321 * lyxtext.h (setCursor):
14322 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
14323 Making use of the return value may help fix other bugs.
14325 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14327 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
14329 * LyXView.C (updateMenubar): call MenuBar::update here
14330 (updateToolbar): but not here
14331 (showState): do not update toolbar/menubar
14333 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
14334 should need to care about that.
14336 * lyxfunc.C (verboseDispatch): simplify a bit
14337 (getStatus): have a version which takes a pseudoaction, and
14338 another which requires a (kb_action,string).
14340 * LyXAction.C (retrieveActionArg): make it work also when action
14341 is not a pseudo-action.
14342 (getActionName): simplify a bit
14345 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14347 * lyxfunc.C (verboseDispatch): new families of methods with
14348 several ways to specify a command and a bool to indicate whether
14349 the command name and shortcut should be displayed in minibuffer
14350 (eventually, we could extend that to a finer bitmask like
14351 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
14352 (dispatch): the pristine dispatch command which just, well,
14353 dispatchs! Note it still sets its result to minibuffer; I'm not
14356 * lyxfunc.h: remove setHintMessage
14358 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
14360 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14362 * BufferView_pimpl.C (specialChar): delete new inset if we have
14363 not been able to insert it.
14365 * kbmap.C: revert to using int instead of kb_action, since all we
14366 are dealing with is pseudo-actions.
14368 * LyXAction.C (searchActionArg): change to return int instead of
14369 kb_action, since the result is a pseudoaction.
14371 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
14373 * buffer.C (insertErtContents): Fix (partially) the font bug.
14375 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
14377 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
14378 as the other one is broken on my machine!
14380 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
14383 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
14385 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
14387 * lyxrc.[Ch]: change names and descriptions of popup font variables to
14388 reflect their actual use. Provide compatibility code for older lyxrc
14391 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
14393 change names of popup font variables in line with the changes to lyxrc.C
14395 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14397 * buffer.C (asciiParagraph): avoid outputing a word twice after
14400 * lyxrc.C (getDescription): document that document_path and
14401 template_path can be empty.
14403 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14405 * LaTeXFeatures.C (getMacros):
14406 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
14408 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
14410 * LaTeXFeatures.C (useFloat): require "float" here instead of in
14412 (getPackages): rename feature "floats" to "float". Use an array to
14413 iterate over 'simple' features (i.e. just a \usepackage). Add
14414 handling of "amsmath" (renamed from "amsstyle").
14416 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
14418 * LaTeXFeatures.C (require): Prevent duplicate entries in the
14421 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
14423 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
14424 FuncStaus::FuncStatus & FuncStaus::some_method().
14426 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
14428 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
14429 of the func_satus stuff. Edited and massaged in various ways by
14432 * lyxfunc.C (getStatus): use FuncStatus
14434 2002-01-08 Juergen Vigna <jug@sad.it>
14436 * text.C (nextBreakPoint): use function Inset::isChar().
14438 * paragraph.C (TeXOnePar): use function
14439 Inset::forceDefaultParagraphs.
14441 * buffer.C (latexParagraphs): use function
14442 Inset::forceDefaultParagraphs.
14444 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14446 * lyx_gui.C (init): set the style of the menu popups to
14447 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
14449 2002-01-07 Juergen Vigna <jug@sad.it>
14451 * text.C (setHeightOfRow): small fix
14452 (prepareToPrint): don't look at alignment if we don't have the place
14455 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14457 * box.C: New file. Move the Box methods and functions out of box.h,
14458 following Lars' suggestion.
14460 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14462 * box.h: #include "support/LOstream.h", needed for inlined function.
14465 * lyxtextclasslist.C: added some using std declarations.
14467 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
14469 * box.h: make signed dimensions to allow insets wider than
14470 the screen (bug #162)
14472 * BufferView_pimpl.C: add some insetHit debug
14474 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
14476 * vc-backend.C: add FIXME
14478 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14480 * lyxfunc.C (getStatus): enable code for showing math font status
14483 2002-01-07 Juergen Vigna <jug@sad.it>
14485 * text.C (nextBreakPoint): removed debug output not needed anymore.
14487 2002-01-06 Juergen Vigna <jug@sad.it>
14489 * text.C (nextBreakPoint): fixed up this function we had this bug
14490 since ever but now hopefully we break row better.
14491 (insertChar): we have to check if an inset is the next char as it
14492 could now happen that a large inset is causing a break.
14494 2002-01-05 Juergen Vigna <jug@sad.it>
14496 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
14497 if it doesn't like to be drawed.
14499 2002-01-04 Juergen Vigna <jug@sad.it>
14501 * BufferView2.C (lockInset): forgot to set a cursor.
14503 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
14505 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
14507 * FormMathsPanel.C:
14510 * form_maths_panel.C:
14511 * form_maths_panel.h:
14512 * form_maths_panel.fd: implemented sub- and super- buttons in math
14515 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
14516 (or ^ space) to be used as in TeX (req'd by Andr�.
14518 * lyxfunc.C: Allow ^ and _ again to be used both as
14519 super/subscript (mathed) and as themselves (in text).
14521 2002-01-03 Allan Rae <rae@lyx.org>
14523 * LyXView.C (updateWindowTitle): Setup a short icon title of either
14524 "LyX" or the filename of the current buffer if it has one. This is a
14525 modified form of John Levon's patch.
14527 * XFormsView.C (setWindowTitle): also set icon title.
14529 * LyXView.h (setWindowTitle): signature changed.
14530 * XFormsView.h (setWindowTitle): ditto.
14532 2002-01-02 Juergen Vigna <jug@sad.it>
14534 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14536 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
14538 * screen.C (topCursorVisible): introduce a temp var for
14539 text->cursor.row(), handle the case where this row is null. (kindo
14542 * text2.C (setCursor): add a couple of asserts.
14544 * paragraph.h (inset_iterator): add -> operator
14546 * paragraph.[Ch] (autoDeleteInsets): remove member function
14548 * BufferView2.C (removeAutoInsets): rewrite to handle the old
14549 cursor pos correctly and handle inset deletion by itself.
14550 (insertErrors): move iterator declaration out of for expression
14552 * lyxtextclass.C: add <algorithm>
14554 * Makefile.am: added the new files to sources, removed layout.C
14556 * layout.C: removed file
14558 * layout.h: remove LYX_DUMMY_LAYOUT
14560 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14564 * lyxtextclass.[Ch]:
14565 * lyxtextclasslist.[Ch]: new files
14567 * include order changes to a lot of files, also changes because of
14570 2001-12-27 Juergen Vigna <jug@sad.it>
14572 * buffer.C (asciiParagraph): more fixes.
14574 * tabular.C (ascii): make ascii export support export of only the
14575 data separated by a column-delimiter.
14576 (ascii): better support for ascii export.
14578 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14580 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14582 * tabular_funcs.C: use a "using std::getline" instead of the
14583 previous fix from Angus (necessary for cxx + lyxstring)
14585 2001-12-24 Juergen Vigna <jug@sad.it>
14587 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14589 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14590 problems. First check a minipage also if we have some ert-contents
14591 (not only on par->size(), second set the right depth of the paragraph
14592 on the relink to the root-paragraph-list!
14594 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14595 which then did not anymore update the main paragraphs on undo/redo!
14597 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14599 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14600 code. Support all font-changing funcs (even those which are not in
14601 menu currently). Support for reporting font settings in
14602 mathed (disabled until Andre provides a function on mathed's side).
14604 * func_status.h (toggle): small helper function to set toggle
14607 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
14609 * tabular_funcs.C: getline -> std::getline
14611 2001-12-21 Juergen Vigna <jug@sad.it>
14613 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14614 accessed and could be 0 (I couldn't generate this but it seems
14617 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
14619 * tabular_funcs.C: add LIstream.h, move write_attribute to..
14620 * tabular_funcs.h: here and include iosfwd
14622 2001-12-20 Juergen Vigna <jug@sad.it>
14624 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14625 inside inset but undo_par was.
14627 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14629 * Thesaurus.C: always include <config.h> in sources.
14633 * box.h: do not include <config.h> in header files
14635 * text.C (paintLastRow): remove unused variable
14637 * text.C (transformChar):
14639 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14641 * Painter.C (text):
14642 * font.C (width): rewrite to use uppercase() instead of
14645 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14647 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
14649 * lyxfind.C: clean up of find failure position change
14651 2001-12-20 Juergen Vigna <jug@sad.it>
14653 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14655 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14656 (TeXRow): added to LaTeX a single tabular row.
14657 (TeXLongtableHeaderFooter): added to output LT-h/f data.
14658 (Latex): simplified and finally good LT-h/f support.
14659 (various_functions): just small adaptions for LT-h/f support.
14661 * tabular_funcs.[hC]: added and moved here all not classfunctions
14664 2001-12-19 Juergen Vigna <jug@sad.it>
14666 * tabular.[Ch]: better support for longtabular options (not finished
14669 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14671 * text.C (paintLastRow): use the label font instead of the font of
14672 the last character to compute the size of *_BOX. This makes more
14673 sense and avoids a crash with empty paragraphs.
14674 Use Painter::rectangle to draw EMPTY_BOX.
14676 2001-12-19 Juergen Vigna <jug@sad.it>
14678 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14679 the paragraphs if the replaced paragraph is not the first one!
14680 Tried to delete not used paragraphs but does not work yet so for
14681 now it's inside #ifdef's and by default off!
14683 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14685 * MenuBackend.C: include "lyx_main.h" instead of declaring
14686 lastfiles (actually was declared as LastFiles* instead of a
14689 2001-12-17 Juergen Vigna <jug@sad.it>
14691 * tabular.C (AppendColumn): applied John's fix
14693 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
14697 * BufferView_pimpl.h:
14698 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14701 * box.h: new start of class for above
14703 * lyxfunc.C: ignore space-only minibuffer dispatches.
14704 Show the command name when it doesn't exist
14706 * minibuffer.C: don't add empty lines to the history
14708 * minibuffer.C: add a space on dropdown completion
14710 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
14712 * text.C: fix line above/below drawing in insets
14714 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14716 * lyxlength.C (LyXLength): Initialize private variables.
14718 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
14720 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14721 when inserting error insets.
14723 2001-12-13 Juergen Vigna <jug@sad.it>
14725 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14726 actually sometimes the before-paragraph.
14727 (setUndo): don't clear the redostack if we're not actually undoing!
14729 2001-12-06 Juergen Vigna <jug@sad.it>
14731 * undo_funcs.C (textHandleUndo): well after John's hint I got here
14732 and fixed redoing of main paragraph, so we can use it now ;)
14734 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14736 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14738 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14741 2001-12-13 André Pönitz <poenitz@gmx.net>
14744 * undo_func.C: minor cleanup
14746 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14748 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14749 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14750 font in urw-fonts package which is marked as -urw-fontspecific and
14751 does not work (incidentally, changing the encoding in the
14752 fonts.dir of this package to -adobe-fontspecific fixes the
14755 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14756 is a crash when undoing first paragraph (Juergen, please take a
14757 look). THis does not mean the undo fix is wrong, just that it
14760 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14761 the (Paragraph*) version when needed instead of duplicating the
14764 * text.C (workWidth): use Inset::parOwner to find out where the
14765 inset has been inserted. This is a huge performance gain for large
14766 documents with lots of insets. If Inset::parOwner is not set, fall
14767 back on the brute force method
14769 * paragraph_pimpl.C (insertInset):
14770 * paragraph.C (Paragraph):
14771 (cutIntoMinibuffer): set parOwner of insets when
14772 inserting/removing them
14774 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14776 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
14782 * mathed/formulabase.C:
14783 * mathed/math_cursor.[Ch]:
14784 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14787 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14789 * lyxlength.[Ch] (operator!=): new function
14791 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14793 * text.C (workWidth): use Inset::parOwner to find out where the
14794 inset has been inserted. This is a huge performance gain for large
14795 documents with lots of insets. If Inset::parOwner is not set, fall
14796 back on the brute force method
14798 * paragraph_pimpl.C (insertInset):
14799 * paragraph.C (Paragraph):
14800 (cutIntoMinibuffer): set parOwner of insets when
14801 inserting/removing them
14803 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14805 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14807 * tabular-old.C (getTokenValue):
14808 * tabular.C (getTokenValue):
14809 (write_attribute): new versions for LyXLength
14810 (everywhere): adjust the use of widths
14812 * tabular.h: change the type of widths from string to LyXLength
14814 2001-12-11 Ben Stanley <bds02@uow.edu.au>
14816 * paragraph.C: fixed missing line number count when exporting
14817 Environments to LaTeX file
14819 * buffer.C: added informational message for checking line numbers.
14821 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14823 * text2.C (deleteEmptyParagraphMechanism): if there is only one
14824 paragraph, do the 'double space' part, but not the 'empty
14827 * text.C (workWidth): small optimization
14828 (getLengthMarkerHeight): use minimal size for negative lengths.
14830 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
14832 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14834 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14836 2001-12-11 André Pönitz <poenitz@gmx.net>
14839 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14841 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14843 * text2.C: keep selection on a setFont()
14845 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14847 * lyx_cb.C: another bv->text misuse, from insert label
14849 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14852 * kbsequence.C: re-instate nmodifier mask
14854 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
14856 * lyx_main.h: make lyxGUI private.
14858 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14860 * lyxfind.C: place the cursor correctly on failed search
14862 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14864 * text.C (getLengthMarkerHeight): for small heights, the arrows
14865 are not always on top/bottom of the text
14866 (drawLengthMarker): smaller arrows; take the left margin in
14867 account; draw also vfills.
14869 (paintLastRow): remove special code for vfill and standard spaces,
14870 since everything is handled in drawLengthMarker now.
14872 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14874 * buffer.C (insertErtContents): try to handle font and language
14875 interaction a bit better.g
14877 * ColorHandler.C (updateColor): change the hash to cover the whole
14878 LColor enum, ws cleanup
14879 (getGCLinepars): ditto
14880 (getGCLinepars): only lookup in the linecache once.
14882 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
14884 * iterators.C (operator++): Make the iterator more robust
14886 * BufferView2.C (removeAutoInsets): Use paragraph iterators
14888 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14890 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14893 * text.C: better added space drawing
14895 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14898 * BufferView2.C: fix layout combo update on inset unlock
14900 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14902 * Makefile.am: don't compile unused files
14904 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14908 * LyXAction.C: remove old LFUN_LAYOUTNO
14910 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14912 * paragraph_pimpl.h:
14913 * paragraph_pimpl.C: isTextAt() doesn't need font param
14915 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14918 * lyxlex.C: little cleanup
14920 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14922 * BufferView_pimpl.C: fix insertAscii for insets
14924 2001-12-05 Juergen Vigna <jug@sad.it>
14926 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14927 set the right font on the "multi" paragraph paste!
14929 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14935 * lyxlength.C: remove out-commented code.
14937 * BufferView_pimpl:
14951 * vc-backend.C: change "while(" to "while ("
14953 * lyxlength.[Ch]: add zero function to check if length is zero or
14955 * lyxgluelength.C: use it
14957 2001-12-05 Allan Rae <rae@lyx.org>
14959 * lyxlength.C: Attempted a fix for the abs(int) header selection.
14960 Works for 2.95.3, from what I understand of Garst's reports this should
14961 work for other g++ versions. We're screwed if the abs(int) definition
14962 changed between bugfix releases of gcc.
14964 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14966 * text.C: fix chapter label offset !
14968 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14971 * text.C: fix hfill at end of line, clean up
14973 2001-12-04 Juergen Vigna <jug@sad.it>
14975 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14976 that we force an update of the inset and it's owners if neccessary.
14978 2001-12-03 Juergen Vigna <jug@sad.it>
14980 * text.C (rowLast): simplified code
14982 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14984 * lyxfunc.C: fix show options on timeout
14986 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14988 * screen.C (topCursorVisible): scroll half a page when the cursor
14989 reached top of bottom of screen
14991 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
14993 * minibuffer.C: deactivate on loss of focus
14995 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14997 * vspace.[Ch] (operator!=): add operator.
14999 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
15001 * BufferView_pimpl.C: refuse to open an inset when
15002 there's a selection.
15004 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
15006 * BufferView_pimpl.C: allow to click on RHS of full row insets
15008 2001-11-30 Juergen Vigna <jug@sad.it>
15010 * tabular.C (LyXTabular): add a same_id to set the same id's in the
15011 insets for undo reasons.
15013 2001-11-28 André Pönitz <poenitz@gmx.net>
15015 * vspace.[Ch]: cosmetical changes
15017 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
15027 * kbsequence.C: part re-write of old kb code
15030 * WorkArea.C: remove Lgb_bug_find_hack
15032 2001-11-30 José Matos <jamatos@fep.up.pt>
15034 * buffer.C (makeDocBookFile): add a comment to point a hack.
15035 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
15036 Fixed a double write of labels.
15038 2001-11-29 Ben Stanley <bds02@uow.edu.au>
15041 * LaTeX.h Fixed bug in LaTeX class where it would not
15042 re-run latex if no depfiles were changed, but the .dvi was removed.
15044 2001-11-28 André Pönitz <poenitz@gmx.net>
15046 * all the files from the change on 2001/11/26:
15047 use lyx::layout_type instead of LyXTextClass::size_type
15048 use lyx::textclass_type instead of LyXTextClassList::size_type
15050 2001-11-29 Juergen Vigna <jug@sad.it>
15052 * text.C: added support for paragraph::isFreeSpacing()
15054 * buffer.C: same as above
15056 * paragraph.h: inserted isFreeSpacing() function to enable
15057 FreeSpacing inside InsetERT.
15059 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
15060 of the paragraph's in the cut/copy buffer to 0!
15062 * text2.C (removeRow): remove the assert as it can!
15064 * lyxtext.h: added helper function firstRow returning firstrow and
15065 made firstrow private again.
15067 * BufferView2.C (lockInset): don't relock if we're already locked!
15069 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
15070 the only paragraph.
15071 (removeRow): added Assert::(firstrow)
15073 * debug.C: forgot to add INSETTEXT here.
15075 2001-11-28 Juergen Vigna <jug@sad.it>
15077 * sp_spell.C (initialize): changed error text to more general
15078 spellchecker command use (not only ispell!)
15080 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
15082 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
15084 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
15086 * vspace.C: initialise lyxgluelength on failure
15088 2001-11-28 Allan Rae <rae@lyx.org>
15090 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
15091 declaration & definition that looks like a function declaration.
15093 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15095 * BufferView2.C (copy):
15096 (copyEnvironment): do not clear the selection when doing a copy.
15098 * text.C (paintFirstRow): compilation fix
15100 2001-11-27 Ben Stanley <bds02@uow.edu.au>
15102 * tabular.C (Latex): correct line count when writing latex.
15104 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
15106 * paragraph_pimpl.h:
15107 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
15110 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
15114 * LColor.C: change vfillline->added_space
15116 * text.C: add markers and text for added space
15118 * vspace.C: fix comment
15120 2001-11-28 André Pönitz <poenitz@gmx.net>
15122 * paragraph.C: whitespace changes
15123 * all the other files from the change on 2001/11/26:
15124 change *::pos_type into lyx::pos_type
15126 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
15128 * buffer.C (parseSingleLyXformat2Token): Set the language to the
15129 language of the document when inserting error insets.
15131 2001-11-26 André Pönitz <poenitz@gmx.net>
15133 * BufferView_pimpl.[Ch]:
15141 * paragraph_pimpl.[Ch]:
15144 * text2.C: reduce header dependencies, introduce type for positions
15146 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
15148 * <various>: change to use Alert.h
15150 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
15152 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
15153 when encountering an unknown token.
15154 (readLyXformat2): Show an error message if there were unknown tokens.
15156 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
15159 * BufferView_pimpl.C:
15163 * text2.C: use par->isInset()
15165 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
15167 * paragraph_pimpl.h:
15168 * paragraph_pimpl.C: cleanup
15170 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15172 * text2.C (removeRow):
15173 * text.C (setHeightOfRow): remove useless (and costly) call to
15176 2001-11-20 Allan Rae <rae@lyx.org>
15178 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
15179 Now need Inset*::checkInsertChar() to return true for appropriate
15180 cases so that the characters in the minibuffer will actually be
15183 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
15185 * text.C: change the order of the includes.
15186 (workWidth): initialize it at once.
15187 (workWidth): make maxw unsigned
15188 (setHeightOfRow): remove unused variable (inset)
15189 (selectSelectedWord): remove unused variable (inset)
15190 (paintRowText): fix drawing of hfill characters, and clean up a bit.
15192 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15194 * lyxserver.C (emergencyCleanup): do not try to close pipes if
15195 server is not running.
15197 (closeConnection): add debug info when server is disabled.
15199 * ColorHandler.C (getGCForeground): send debug message to GUI
15202 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
15204 * kbmap.C (bind): modify because return conventions of
15205 kb_sequence::parse have changed.
15207 * kbsequence.C (parse): only ignore spaces and not any stupid
15208 control character. This avoids tests like s[i] <= ' ', which are
15209 guaranteed to fail with 8bit characters and signed chars.
15210 Change return code to string::npos when there have been no error
15211 (0 was a bad idea when error is at first character)
15213 2001-11-14 José Matos <jamatos@fep.up.pt>
15216 * buffer.C (simpleDocBookOnePar): removed unused argument.
15218 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15220 * text.C (selectNextWordToSpellcheck): do not test explicitely for
15221 insets which are part of a word. Paragraph::isLetter takes care of
15222 that now. Use Paragraph::isInset to identify insets.
15223 (selectSelectedWord): do not test for hyphenation break.
15225 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
15226 that protected spaces are considered as spaces.
15228 * paragraph.C (isLetter): cleanup the code for ispell extras; use
15231 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
15234 * lyxserver.C: fix it. and small cleanup.
15236 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
15238 * BufferView_pimpl.C: use inline helpers
15241 * LaTeXFeatures.C: fix typos
15244 * Spacing.C: move spacing_string into class
15246 * ToolbarDefaults.C: move stuff into namespace anon
15248 * layout.h: update enum
15250 * lyxfunc.C: use better debug
15252 * minibuffer.h: fix typo
15256 * WorkArea.C: add and use Debug::WORKAREA
15260 * text2.C: code re-organisation, inline helpers
15262 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
15264 * Layout.C: replaced a few cases of std::vector.size() == 0 with
15265 std::vector.empty().
15267 2001-11-09 Allan Rae <rae@lyx.org>
15269 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
15270 '\n's after tables. Tabular and ERT inset work now makes this no
15273 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
15276 * minibuffer.C: fix crash, improve drop-down completion
15278 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
15281 * lyxserver.C: invalidate fd's when doing endPipe()
15283 2001-11-08 José Matos <jamatos@fep.up.pt>
15285 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
15286 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
15289 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
15291 2001-11-07 José Matos <jamatos@fep.up.pt>
15294 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
15297 * buffer.C (sgmlOpenTag):
15298 * buffer.C (sgmlCloseTag): removed debug info.
15300 * buffer.h (sgmlOpenTag):
15301 * buffer.h (sgmlCloseTag): made public.
15303 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15305 * buffer.C (saveParamsAsDefaults):
15306 * lyx_cb.C (MenuLayoutSave): remove
15308 * LyXAction.C (init):
15310 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
15312 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15314 * buffer.C (setPaperStuff): removed from here...
15316 * bufferparams.C (setPaperStuff): ... and moved there.
15318 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
15322 * XFormsView.C: add support for drop-down completion
15324 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
15326 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
15329 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15331 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
15334 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
15336 * lyx_main.C: change ref to known bugs
15338 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
15340 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
15341 to work around older babel problems.
15343 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
15345 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
15347 2001-10-24 Juergen Vigna <jug@sad.it>
15349 * tabular-old.C (ReadOld): below variable changes reflected.
15351 * tabular.[Ch]: added ltType struct for longtable header/footer
15352 defines and changed all instances where they are used. Added
15353 future support for double top/bottom rows.
15355 2001-10-24 José Matos <jamatos@fep.up.pt>
15357 * buffer.h (docbookHandleCaption):
15358 * buffer.C (docbookHandleCaption): removed unused function.
15359 (makeDocBookFile): moved docbook supported version to v4.1.
15361 2001-10-24 José Matos <jamatos@fep.up.pt>
15364 * tabular.C (docbookRow): new function to export docbook code of a row.
15365 (DocBook): now honors the longtable flags.
15367 2001-10-23 José Matos <jamatos@fep.up.pt>
15370 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
15371 of the lyx defined sgml entities used in a docbook/linuxdoc document.
15373 * buffer.C (makeLinuxDocFile):
15374 (makeDocBookFile): reworked the preamble, more clean, and with
15375 support for lyx defined entities. Changed the document declaration
15376 to be more XML friendly.
15378 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
15379 if we need to output XML that should be done with a filter.
15381 2001-10-22 Juergen Vigna <jug@sad.it>
15383 * sp_pspell.h (class PSpell): add alive function needed in the
15384 controller to see if the spellchecker could be started.
15386 2001-10-22 Juergen Vigna <jug@sad.it>
15388 * buffer.C (insertStringAsLines): modify the font for inserting
15389 chars in certain conditions by calling checkInsertChar(font).
15391 2001-10-19 Juergen Vigna <jug@sad.it>
15393 * text.C (workWidth): use getRow instead of wrong algorithm.
15394 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
15396 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
15401 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
15403 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15405 * text.C (workWidth): do not search for the exact row when
15406 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
15407 optimization for big documents.
15409 2001-10-18 Juergen Vigna <jug@sad.it>
15411 * text.C (workWidth): new function with added Inset * parameter.
15413 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15415 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
15417 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
15418 change return type of getColumnNearX.
15421 * text.C (changeRegionCase): use uppercase/lowercase instead of
15424 (rightMargin): simplify code by factoring out the uses of
15429 (appendParagraph): use Paragraph::size_type
15431 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15433 * vspace.C (asLatexString): add a missing break
15435 2001-10-15 Herbert Voss <voss@perce.de>
15437 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
15439 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15441 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
15444 2001-10-10 André Pönitz <poenitz@gmx.net>
15446 * lyxfunc.C: removed greek_kb_flag.
15448 2001-10-10 Herbert Voss <voss@perce.de>
15450 * lyx_main.C: delete global string help_lyxdir.
15452 2001-10-09 Herbert Voss <voss@perce.de>
15454 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
15456 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
15458 * lyx_main.C: added global string help_lyxdir.
15460 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
15462 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
15464 * lyxrc.C (set_font_norm_type): support iso8859-4
15466 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
15468 * LaTeX.C (deplog): add another regex for MikTeX
15470 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
15472 * lyxrc.C (set_font_norm_type): support iso8859-3
15474 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15476 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
15478 * LaTeXFeatures.C: remove special case of french and index
15480 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
15481 before \begin{document}). This solves several incompatibilities.
15483 2001-10-03 Garst Reese <reese@isn.net>
15485 * lyx_cb.C: change CheckTex error msg.
15487 2001-10-03 José Matos <jamatos@fep.up.pt>
15489 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
15491 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15493 * .cvsignore: update
15495 * lyx_main.C (commandLineVersionInfo): use new style version info.
15497 * buffer.C (writeFile):
15499 (makeLinuxDocFile):
15500 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
15502 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
15504 * version.h: update to use stuff in version.C
15506 * version.C.in: new file. Contains version information determined
15507 at compile time. This is a merging of version.h and
15510 2001-10-03 Juergen Vigna <jug@sad.it>
15512 * BufferView_pimpl.C (update): don't change "dirty" status in
15515 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
15517 * WorkArea.C (c-tor): re-position version string slightly.
15519 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
15521 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15522 revert to previous code.
15524 WorkArea.[Ch]: (show, destroySplash): methods removed.
15526 WorkArea.C: rework code so that it's an amalgam of the codes before and
15527 after the splash screen was moved to WorkArea.
15529 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15532 * vspace.C (inPixels):
15535 * buffer.C (insertStringAsLines):
15536 (asciiParagraph): fix types to be large enough
15538 * lyxlex_pimpl.h: change member status from short to int
15540 * layout.h: fix type of endlabeltype
15543 * kbsequence.C (parse): change return type to string::size_type
15545 * LaTeX.C (updateBibtexDependencies): comment out unneeded
15548 * Bullet.C (bulletSize):
15549 (bulletEntry): do not use short ints as parameters
15551 * BufferView2.C (insertLyXFile): change a char to an int.
15553 * WorkArea.C (WorkArea): remove unneeded floats in computation
15555 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
15557 * buffer.C (asciiParagraph): Treat '\\' as other chars.
15559 * paragraph.C (asString): Do not ignore newline/hfill chars when
15560 copying to the clipboard.
15562 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
15564 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15565 after a multi-line inset.
15567 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
15569 * paragraph.C (validate): Set NeedLyXFootnoteCode
15571 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
15573 * lyxfont.C (LyXSizeNames): changed increase-error to increase
15574 and decrease-error to decrease.
15576 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15578 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15579 it more readable (should be equivalent)
15581 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
15583 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15585 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15587 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15588 of a cursor (row, etc.) after a character has been deleted
15589 (deleteEmptyParagraphMechanism): call the method above on _all_
15590 cursors held by the LyXText when a double space has been
15593 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
15595 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15597 (resizeCurrentBuff): remove code to destroy the old splash dialog.
15599 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15600 background. Use greyOut() and the new show() methods to toggle between
15601 the foreground and background. Add code to remove the splash after
15602 its initial showing.
15604 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15605 (create_forms): no longer call Dialogs::showSplash.
15607 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15609 * .cvsignore: add version_info.h
15611 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15613 * version_info.h.in: new file
15615 * Makefile.am: add version_info.h.in
15617 * lyx_main.C (commandLineVersionInfo): use version_info defined in
15618 version_info.h instead of VERSION_INFO
15620 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
15622 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15623 The ERT inset now returns string().
15625 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
15627 * lyxtext.h, text.C (selectNextWord): renamed as
15628 selectNextWordToSpellcheck.
15630 * text.C (selectNextWordToSpellcheck): Modified to not select
15631 words inside an ERT inset.
15633 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15635 * lyx_cb.C (MenuLayoutSave): change a bit the question
15637 * sp_base.h: include <sys/types.h>
15639 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
15641 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15643 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
15645 * several files: fix typos in user-visible strings
15647 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15649 * text2.C (pasteSelection): do not set the selection, since it
15650 will be cleared later. Actually, the intent was to fix the way the
15651 selection was set, but I figured rmoving the code was just as good.
15653 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
15655 * FontLoader.C (available): Check if font is available without
15658 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
15660 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15662 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
15664 * lyxrc.[Ch]: added display_graphics variable and associated code.
15666 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15668 * bufferparams.C (hasClassDefaults): new method. Returns true if
15669 the buffer parameters correspond to known class defaults
15671 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
15673 * XFormsView.C (show): set minimum size to the main window.
15675 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15677 * text2.C (copySelection):
15679 * lyxfind.C (LyXReplace):
15680 * BufferView_pimpl.C (Dispatch): pass the correct flag to
15681 LyXText::selectionAsString.
15683 * paragraph.C (asString): add "label" argument to the second form
15685 * text2.C (selectionAsString): add "label" argument and pass it to
15686 Paragraph::asString.
15688 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15690 * lyx_main.C (commandLineHelp): remove version information
15692 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
15694 * lyx_main.C: add -version commandline option
15696 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15698 * paragraph.h: make the optional constructor arg required instead.
15699 some modifications to other files because of this.
15701 * minibuffer.C (C_MiniBuffer_peek_event): make it static
15703 * lyxserver.C (C_LyXComm_callback): make it static
15705 * lyx_main.C (error_handler): make it static
15707 * lyx_gui.C (LyX_XErrHandler): make it static
15709 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15711 * WorkArea.C: make the extern "C" methods static.
15713 * Makefile.am (lyx_LDADD): simplify
15715 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15717 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15718 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15720 * LyXAction.C (init):
15721 * lyxfunc.C (dispatch): associated code removal.
15723 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15725 * lyxfont.h (isSymbolFont): shut off warning
15727 * text.C (setHeightOfRow):
15728 (getVisibleRow): fix crash with empty paragraphs which have a
15731 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
15733 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15736 2001-09-04 José Matos <jamatos@fep.up.pt>
15739 * tabular.C (docbook): rename docBook method to docbook.
15741 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15743 * Makefile.am: add dependencies to main.o.
15745 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
15747 * FontLoader.C (available): Return false if !lyxrc.use_gui
15749 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
15751 * FontInfo.C (query):
15752 * converter.C (view):
15753 * importer.C (Import):
15754 * exporter.C (Export): Can not -> cannot.
15756 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
15758 * BufferView_pimpl.C: allow to create index inset even if
15761 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15763 * buffer.C (getLists): replace boost::tie code with an explicit pair
15764 as boost::tie can break some compilers.
15766 * iterators.h: Added a std:: declaration to the return type of
15769 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
15771 * lyxrc.C: add help for view_dvi_paper_option, default to safe
15774 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
15776 * iterators.[Ch]: New files. Provide paragraph iterators.
15778 * buffer.C (changeLanguage): Use paragraph iterators.
15779 (isMultiLingual): ditto
15781 * BufferView2.C (ChangeInsets): Use paragraph iterators.
15783 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
15785 * FontLoader.C: Support for cmr font.
15787 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
15789 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15790 (available): New method.
15792 * FontInfo.C (getFontname): Use scalable fonts even when
15793 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15796 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15798 * converter.C (Formats::view): reverted! Incorrect fix.
15800 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15802 * converter.C (Formats::view): only output the -paper option
15803 if the dvi viewer is xdvi, thereby fixing bug #233429.
15805 2001-08-23 Herbert Voss <voss@perce>
15807 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15809 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
15811 * Spacing.h (Spacing): Set space to Default on in the default
15814 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
15816 * vc-backend.h (RCS::versionString): add RCS to version
15817 (CVS::versionString): add CVS to version
15819 * vc-backend.C (scanMaster): do not add CVS to version.
15820 (scanMaster): do not add RCS to version
15822 * lyxvc.C (versionString): new method
15824 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15826 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15828 * Spacing.C (set): initialize fval
15830 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
15832 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15835 2001-08-16 Juergen Vigna <jug@sad.it>
15837 * lyxfunc.C (dispatch): implemented the new FINISHED states.
15839 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15841 * BufferView_pimpl.C:
15844 * text2.C: setParagraph takes linespacing now
15846 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
15848 * LyxAction.C: add internal LFUN_CITATION_INSERT
15850 * LyXView.C: actually apply fix
15852 * bufferlist.C: fix open non-existent file
15854 * lyxfind.C: fix indentation
15856 * lyxfunc.C: remove unneeded assert, fix typo
15858 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15860 * MenuBackend.C: use "Floatname List"
15862 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
15864 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15865 when converting LaTeX layout to insetERT.
15866 Generate a non-collapsed float when reading old float
15868 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15870 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15873 2001-08-13 Juergen Vigna <jug@sad.it>
15875 * text.C (fill): return 0 instead of 20 as this seems to be the more
15878 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15880 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15883 2001-08-13 Juergen Vigna <jug@sad.it>
15885 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15887 (SearchBackward): comment out the unlocking of the inset_owner this
15888 should not be needed!
15890 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
15892 * Many files: Remove inherit_language, and add latex_language
15894 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15895 collapsible insets.
15897 2001-08-10 Juergen Vigna <jug@sad.it>
15899 * text.C (prepareToPrint): fixed hfill-width in draw!
15901 * BufferView2.C (selectLastWord): save the selection cursor as this
15902 now is cleared in the function LyXText::clearSelection!
15904 2001-08-08 Juergen Vigna <jug@sad.it>
15906 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15907 BACKSPACE type functions.
15909 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15910 is only cutted from the document but not put in the cut-buffer, where
15911 still the old stuff should be.
15913 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15915 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15917 * tabular.C (SetWidthOfCell): fixed special case where the width
15919 (LeftLine): handle '|' in align_special.
15921 (LeftAlreadyDrawed): ditto
15922 (SetWidthOfCell): ditto
15924 2001-08-07 Juergen Vigna <jug@sad.it>
15926 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15928 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15930 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15931 * lyxlex.[hC]: ditto
15933 2001-08-06 Juergen Vigna <jug@sad.it>
15935 * text.C (getVisibleRow): fix up row clearing a bit.
15937 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15939 * minibuffer.C: make sure the X server sees the changes in the input.
15941 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15943 * paragraph.C (getFont): split into...
15944 (getLabelFont): this
15945 (getLayoutFont): and this
15946 * paragraph_pimpl.C (realizeFont): calling this
15948 * text2.C (getFont): split into...
15949 (getLayoutFont): this
15950 (getLabelFont): and this
15951 (realizeFont): all three calling this
15953 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15956 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15958 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15960 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
15962 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15963 layouts from the Quote inset insertion.
15965 2001-08-03 Juergen Vigna <jug@sad.it>
15967 * BufferView_pimpl.C (update): do the fitCursor only at the end!
15969 * screen.C (drawFromTo): don't call fitcursor here and do the loop
15970 only if status not is already CHANGED_IN_DRAW (second level).
15972 * text.C (draw): don't set the need_break_row when inside an
15975 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
15977 * buffer.C (parseSingleLyXformat2Token): handle more latex
15980 * bufferview_funcs.[hC]: change function names to
15981 begin with small char, adjust other files.
15983 2001-08-02 André Pönitz <poenitz@gmx.net>
15986 BufferView_pimpl.C: remove broken special code for math-greek
15988 2001-08-02 Juergen Vigna <jug@sad.it>
15990 * BufferView_pimpl.C (update): redone this function so that we
15991 update the text again if there was a CHANGE_IN_DRAW.
15993 * screen.C (cursorToggle): removed LyXText parameter and recoded.
15994 (drawFromTo): added a new internal bool which is used by draw() and
15996 (general): some cursor drawing problems fixed.
15998 2001-08-01 Juergen Vigna <jug@sad.it>
16000 * lyxfind.C (LyXFind): fixed
16001 (SearchForward): ditto
16002 (SearchBackward): ditto
16004 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
16005 spurius drawing of the cursor in the main area.
16007 * text2.C (status): small fix which could lead to a segfault!
16008 (clearSelection): remove unneeded BufferView param.
16010 2001-08-01 André Pönitz <poenitz@gmx.net>
16012 * lyxfunc.C: small change due to changed mathed interface
16014 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16016 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
16018 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
16020 * lyxfunc.c: fail gracefully if file doesn't exist
16025 * BufferView_pimpl.C: IsDirWriteable() proto changed
16027 * LyXView.C: fix updateWindowTitle() to store the last title
16029 2001-07-31 Juergen Vigna <jug@sad.it>
16031 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
16032 the font (wrong since using of Paragraph::highestFontInRange).
16034 * paragraph.C (highestFontInRange): added a default_size parameter.
16036 * text.C (getVisibleRow): minor clear row changes (still not perfect).
16037 (setHeightOfRow): reformat
16039 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
16041 * converter.[hC] + affected files: move to (inital-char)lowercase
16044 * ParagraphParameters.C (ParagraphParameters): remove commented code
16046 * PainterBase.[Ch]: remove commented code
16048 * LaTeXFeatures.h: add "bool floats" for float.sty
16050 * LaTeXFeatures.C (LaTeXFeatures): init floats
16051 (require): handle float
16052 (getPackages): do it with floats
16054 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16056 * BufferView_pimpl.C (Dispatch): improve handling of
16057 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
16059 * commandtags.h: #include lyxfont.h here temporarily to avoid
16062 * bufferlist.h: include LString.h here.
16064 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16066 * text2.C (getStringToIndex): new method.
16068 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
16070 * *: Reduced header file dependencies all over.
16072 2001-07-30 Baruch Even <baruch@lyx.org>
16074 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
16076 2001-07-29 Baruch Even <baruch@lyx.org>
16078 * buffer.C (readInset): Changed GRAPHICS to Graphics.
16080 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16082 * ParameterStruct.h (endif): add a default constructor to make
16083 sure that all variables is initialized.
16085 * ParagraphParameters.C (ParagraphParameters): adjust
16087 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16089 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
16090 index; also, check that there is something to index, and that it
16091 does not span over several paragraphs.
16092 (doubleClick): use WHOLE_WORD_STRICT for double click.
16094 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
16096 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
16099 2001-07-26 Baruch Even <baruch@lyx.org>
16101 * buffer.C (readInset): Changed to call up InsetGraphics when reading
16102 an InsetFig figure, backwards compatible reading of old figure code.
16104 2001-07-27 Juergen Vigna <jug@sad.it>
16106 * text2.C: font.realize function adaption.
16108 * text.C (draw): add a warnings lyxerr text if needed.
16110 * layout.C: font.realize function adaption.
16112 * language.C: add inherit_language and implement it's handlings
16114 * bufferview_funcs.C (StyleReset): remove language parameter from
16115 font creation (should be language_inherit now).
16117 * bufferparams.C (writeFile): handle ignore_language.
16119 * paragraph.C (getFontSettings): the language has to be resolved
16120 otherwise we have problems in LyXFont!
16122 * lyxfont.C (lyxWriteChanges): added document_language parameter
16123 (update): removed unneeded language parameter
16125 * paragraph.C (validate): fixed wrong output of color-package when
16126 using interface colors for certain fonts in certain environments,
16127 which should not seen as that on the final output.
16129 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
16131 * BufferView_pimpl.C:
16136 * LyXAction.C: add thesaurus support
16139 * lyxfind.C: add "once" parameter, for thesaurus, to not
16140 move to the next match
16142 2001-07-26 Juergen Vigna <jug@sad.it>
16144 * lyxfont.C (realize): honor ignore_language too!
16147 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
16149 * text.C (draw): one place more for ignore_language to not draw
16152 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
16154 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
16156 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16158 * buffer.C (parseSingleLyXformat2Token): a more general fix for
16159 the minipage conversion problem.
16161 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16163 * buffer.C (parseSingleLyXformat2Token): check minipage if we
16166 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16168 * BufferView.h: don't forward declare WorkArea
16170 * BufferView.C: don't include WorkArea.h
16172 2001-07-25 André Pönitz <poenitz@gmx.net>
16176 * lyxfunc.C: new LFUN 'math-space'
16178 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
16180 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16182 * text2.C (toggleInset): call open/close
16184 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16186 * lyxfunc.C (dispatch): add debug for the disabled case
16188 * font.C (buttonText): make similar to rectText
16190 * buffer.C (readInset): comment out parsing of insetlist and
16193 * PainterBase.C (rectText): small correction
16195 * BufferView_pimpl.C: comment out insettheorem and insetlist
16196 * LyXAction.C: ditto
16197 * commandtags.h: ditto
16199 2001-07-24 Juergen Vigna <jug@sad.it>
16201 * text.C (draw): honor the ignore_language.
16203 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
16205 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16207 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
16210 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16212 * lyxtext.h: remove unused (and unimplemented) methods
16214 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16216 * text.C (getVisibleRow): honor background color
16219 * Painter.h: remove default color argument for fillRectangle
16221 * text.C (backgroundColor): new method
16223 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16225 * text.C (getVisibleRow): adjust
16227 * font.[Ch] (rectText): new method, metrics
16228 (buttonText): new method, metrics
16230 * PainterBase.[hC]: make rectText and buttonText always draw and take
16233 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16235 * ToolbarDefaults.C (read):
16236 * MenuBackend.C (read): allow escaping in all strings
16238 * BufferView_pimpl.C (insertAndEditInset): new method.
16239 (Dispatch): use insertAndEditInset whenever appropriate.
16241 * BufferView_pimpl.C (insertNote): removed
16243 * BufferView_pimpl.C (smartQuote): new method, moved from
16244 BufferView; if an insetquote cannot be inserted, insert a '"'
16247 * BufferView2.C: remove insertCorrectQuote();
16249 * lyxfunc.C (getStatus): Add support for all remaingin
16250 inset-insert lfuns.
16252 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
16254 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
16255 command (necessary to pass " as parameter of self-insert.
16257 * text.C (selectWordWhenUnderCursor):
16258 (selectWord): add word_location parameter
16259 (selectWordWhenUnderCursor): same + remove special code for word
16261 (selectNextWord): use kind() to guess type of insetspecialchar,
16264 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
16265 (insertErtContents): create ert insets as collapsed.
16266 (readInset): better compatibility code for Info inset.
16268 2001-07-20 Juergen Vigna <jug@sad.it>
16270 * lyxfunc.C (dispatch): use always LyXFind now!
16272 * text2.C (init): add a reinit flag so that the LyXText can be
16273 reinited instead of deleted and reallocated (used in InsetText).
16275 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
16281 2001-07-18 Juergen Vigna <jug@sad.it>
16283 * text.C (selectNextWord): handle insets inside inset by calling
16284 always the bv->text functions so that we can go up the_locking_inset!
16286 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
16287 in strange locations when inside an inset!
16289 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
16290 handling to include insets.
16292 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
16294 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16296 * LyXAction.C (init):
16298 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
16299 LIGATURE_BREAK, since the name is so stupid.
16301 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
16303 * buffer.C (readInset): enable reading of new InsetNotes as well as old
16306 * FontLoader.C: remove FORMS_H_LOCATION cruft.
16308 * sp_form.[Ch]: remove.
16310 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
16312 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
16315 * src/buffer.C (readInset): ditto.
16317 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16319 * BufferView_pimpl.C (specialChar): new method. Obsoletes
16320 menuSeparator(), endOfSentenceDot(), ldots() and
16321 hyphenationPoint(), which are therefore removed.
16322 (Dispatch): handle LFUN_HYPHENATION_BREAK.
16324 * LyXAction.C (init):
16325 * commandtags.h: add LFUN_HYPHENATION_BREAK.
16327 * paragraph.C (getWord): removed.
16329 * BufferView_pimpl.C (Dispatch): use last word or selection for
16330 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
16332 * lyx_main.C (queryUserLyXDir): do not ask before creating
16333 user_dir, except if it has been named explicitely.
16335 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
16337 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
16338 a document of zero size.
16340 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
16342 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
16343 approriately in the c-tor and in require().
16344 (getPackages): output the appropriate LaTeX for natbib support.
16346 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
16347 variables "use_natbib" and "use_numerical_citations" when reading the
16349 (readInset): read the various natbib cite commands.
16350 (validate): white-space change.
16352 * bufferparams.[Ch]: new variables "bool use_natbib" and
16353 "bool use_numerical_citations".
16354 (writeFile): output them in the LyX file.
16356 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16358 * lyxfunc.C (getStatus): add support for all the inset insertion
16361 * text2.C (insertInset):
16362 * paragraph.C (insetAllowed):
16363 * BufferView_pimpl.C (insertInset): update to take in account the
16364 renaming of insertInsetAllowed
16366 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
16368 * text2.C (getInset): new method. returns inset at cursor position.
16370 * BufferView_pimpl.C (Dispatch): changes because of this.
16372 * LyXAction.C (init): rename open-stuff to inset-toggle.
16374 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
16376 * text2.C (toggleInset): renamed from openStuff; use
16379 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
16381 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
16383 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
16385 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
16387 * buffer.C (readLyXformat2): Add filename to the error dialog
16389 2001-07-18 Juergen Vigna <jug@sad.it>
16391 * tabular.C (GetCellNumber): put an assert here instead of the check!
16393 2001-07-17 Juergen Vigna <jug@sad.it>
16395 * BufferView_pimpl.C (toggleSelection): adapted too.
16397 * text.C (selectNextWord): adapted for use with insets.
16398 (selectSelectedWord): ditto
16400 2001-07-17 Juergen Vigna <jug@sad.it>
16402 * sp_spell.C (PSpell): fix initialitation order.
16404 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16406 * paragraph.C: spacing
16408 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
16410 * sp_spell.C: repair language selection for pspell
16412 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
16414 * lyxfunc.h: change more methods to begin with lower char.
16416 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
16418 * buffer.C (parseSingleLyXformat2Token): Generate error insets
16419 for unknown layouts.
16421 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
16423 * buffer.C (readLyXformat2): Generate an error dialog if there are
16426 2001-07-16 Juergen Vigna <jug@sad.it>
16428 * sp_spell.C: always compile ISpell part.
16430 * lyxrc.C: added use_pspell entry and it's handling.
16432 2001-07-13 Juergen Vigna <jug@sad.it>
16434 * sp_spell.C: removed double includes.
16436 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
16438 Consistent use of Lsstream.h:
16439 * Lsstream.h: added using std::stringstream for consistencies sake.
16441 * buffer.C: removed using std::stringstream
16443 * lyxfont.C (stateText):
16444 * paragraph.C (asString):
16445 * text.C (selectNextWord, selectSelectedWord):
16446 * text2.C (setCounter):
16447 * vspace.C (asString, asLatexString):
16448 std::ostringstream -> ostringstream.
16450 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
16452 * LyXAction.C: add LFUN_HELP_ABOUTLYX
16453 * commandtags.h: add LFUN_HELP_ABOUTLYX
16454 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
16456 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
16458 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
16460 * lyx_gui_misc.C: remove spellchecker
16461 * lyxfunc.C: showSpellchecker
16463 * sp_ispell.h: added
16464 * sp_pspell.h: added
16465 * sp_spell.C: added
16466 * sp_form.[Ch]: removed
16467 * spellchecker.[Ch]: removed
16469 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
16471 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
16473 (simpleTeXSpecialChars): Simply print the input character without
16474 any special translation if pass_thru is set.
16476 * layout.h: Added bool pass_thru to layout class for being able to
16477 implement pass through of a paragraph for Literate Programming.
16479 * layout.C: add LT_PASS_THRU to LayoutTags enum.
16480 * layout.C (LyXLayout): set pass_thru to flase in constructor.
16481 * layout.C (Read): add "passthru" to list of layout tags and add
16482 code to set the pass_thru boolean when it is read.
16484 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
16486 * trans_decl.h: remove allowed from KmodInfo
16488 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
16489 remove allowed code
16492 * paragraph_pimpl.C (erase): use boost::prior
16494 * Painter.C (text): use data() instead of c_str() when length is
16496 * WorkArea.C (putClipboard): ditto
16497 * font.h (width): ditto
16499 * BufferView2.C: use it-> instead of (*it). for iterators
16501 * paragraph_pimpl.C: ditto
16502 * paragraph.C: ditto
16503 * minibuffer.C: ditto
16504 * language.C: ditto
16506 * encoding.C: ditto
16507 * counters.C: ditto
16508 * converter.C: ditto
16510 * Variables.C: ditto
16511 * TextCache.C: ditto
16512 * MenuBackend.C: ditto
16513 * LyXAction.C: ditto
16515 * FloatList.C: ditto
16516 * DepTable.C: ditto
16517 * ColorHandler.C (LyXColorHandler): ditto
16519 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16521 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16523 * text2.C (openStuff): reintroduce this method (which had been
16524 nuked in NEW_INSETS frenzy).
16526 * lyxfunc.C (Dispatch): when an action has not been handled, use
16527 its name in the error message, not its number.
16529 * paragraph.C (inInset): change method name to begin with lowercase.
16532 * text2.C: updates because of this.
16534 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16536 * ToolbarDefaults.C (add): add spaces in error message
16538 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
16540 * buffer.C (readLyXformat2): initialize the ert comp. variables.
16541 (readLyXformat2): rename return_par to first_par, use lyxlex's
16542 pushToken and remove the manual push handling.
16543 (parseSingleLyXformat2Token): add another ert comp. variable:
16544 in_tabular, rename return_par to first_par. handle newlines better
16546 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16548 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16550 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
16552 * text2.C (getParFromID): removed
16554 * buffer.C (getParFromID): new method moved form lyxtext.
16555 * BufferView2.C (insertErrors): adjust
16556 (setCursorFromRow): adjust
16557 * BufferView_pimpl.C (restorePosition): adjust
16558 * lyxfunc.C (Dispatch): adjust
16559 * undo_funcs.C (textUndo): adjust
16561 (textHandleUndo): adjust
16562 (textHandleUndo): adjust
16564 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
16566 * buffer.C: up' the LYX_FORMAT
16568 * lyxfont.h: turn NO_LATEX on as default
16570 * buffer.C (insertErtContents): new methods of tex style compability.
16571 (parseSingleLyXformat2Token): use it several places.
16572 * tabular.C (OldFormatRead): and here
16574 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
16576 * text2.C: remove some commented code.
16579 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16580 * trans.C: changes because of the above.
16582 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
16584 * text2.C (setCounter): Fix counters bug with bibliography layout.
16586 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16588 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16589 own member functions
16590 (simpleTeXSpecialChars): ditto
16592 2001-07-06 Juergen Vigna <jug@sad.it>
16594 * a lot of files: changed the access to LyXText::status and the
16595 call of undo-functions.
16597 * undo.[Ch]: added a inset_id to the undo informations.
16599 * undo_funcs.[Ch]: added and moved here all undo functions.
16601 * lyxtext.h: give the status enum a weight, made status_ a private
16602 variable and made accessor functions for it, removed the whole bunch
16603 of undo-functions as they are now in their own file, make some
16604 functions publically available. Added function ownerParagraph with
16607 * paragraph.[Ch]: added "bool same_ids" to the constructor,
16608 made InInset() a const function, added getParFromID() function.
16610 * buffer.[Ch]: added const version for inset_iterator functions,
16611 added getInsetFromID() function.
16613 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16614 changed undo functions for new version.
16616 2001-07-05 Juergen Vigna <jug@sad.it>
16618 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16619 unknow mechanism does not call the proper constructor but only this
16620 one also if I request the other!?
16622 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16624 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16626 * text2.C (LyXText): use initialization lists.
16628 * lyxtext.h (Selection): initialize set_ and mark_
16629 (init): remove method
16631 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
16633 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16635 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16637 * screen.[Ch]: change method names to begin with lowercase
16639 * BufferView_pimpl.C (updateScrollbar): simplify further and
16640 hopefully make it a bit faster.
16642 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16644 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16645 calling directly xforms functions.
16647 * Painter.C (Painter):
16648 * lyx_cb.C (MenuWrite):
16649 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16652 * lyx_gui.C: remove bogus guiruntime extern declaration.
16654 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16656 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16658 (redoDrawingOfParagraph): ditto
16659 (redoParagraphs): ditto
16660 (cutSelection): don't create a object for CutAndPaste use the
16661 static method directly
16662 (pasteSelection): ditto
16664 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16667 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16669 * modifications to some other files because of this.
16671 * Makefile.am (lyx_SOURCES): add XFormsView
16673 * XFormsView.[Ch]: new files
16675 * LyXView.[Ch]: make LyXView a base class for the gui handling for
16676 the main window. Move the gui dependent stuff to XFormsView
16678 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16680 * tabular.C (GetCellInset): update cur_cell also in the row/col
16681 version of this function.
16683 * lyxfunc.C: no need to include figure_form.h here.
16689 * lyxvc.C: no need to include forms.h here.
16691 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16693 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16695 * lyxfunc.C (Dispatch):
16697 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16698 constructor argument.
16700 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16702 * paragraph.C (Paragraph): dont't clear, and just set layout.
16703 (makeSameLayout): use params's copy contructor.
16705 * ParagraphParameters.[Ch] (makeSame): delete method
16707 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
16709 * Variables.[Ch]: fix indentation, rename set to isSet
16711 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16713 * lyxfunc.C (Dispatch): fix typo
16715 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16717 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16720 * bufferlist.C: include assert.h for emergencyWrite().
16722 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16724 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16725 give up at last (bug #425202) !
16727 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
16733 * spellchecker.C: strip spellchecker options and bring up
16734 preferences tab instead
16736 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16738 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16739 the istringstream constructor
16741 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16743 * paragraph.C (getLayout): fix return value
16745 * paragraph.h: do not declare getLayout as inline.
16747 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16749 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16751 * lyxcursor.h (operator<): new func
16752 (operator>): new func
16753 (operator>=): new func
16754 (operator<=): new func
16756 * text.C (changeCase): use selection.start and selection.end
16757 (changeRegionCase): require from to be <= to. Require par to be a
16760 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16762 2001-06-27 Juergen Vigna <jug@sad.it>
16764 * text.C (cursorLeftOneWord): changed to return the cursor and added
16765 overlay with BufferView * parameter which calls this one.
16767 (selectWord): use new getWord function.
16768 (changeCase): renamed from changeWordCase as and extended to work
16769 also on selections.
16771 * lyxtext.h: added enum word_location
16773 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16774 changeCase as this operates now also on selections.
16776 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
16778 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16780 * many files: send debug output to Debug::INFO instead of
16783 * converter.C (View):
16785 (Move): send debug output to Debug::FILES instead of console.
16787 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
16789 * lyxfunc.C (getStatus): use func_status
16791 * func_status.h: new header, describing the results of
16792 LyXFunc::getStatus;
16794 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16797 2001-06-25 The LyX Project <jug@sad.it>
16799 * buffer.C (sgmlOpenTag):
16801 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
16803 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16805 * text2.C: remove some dead code
16807 * tabular.C (GetCellInset): store the last cell checked (gotten)
16809 * tabular.h: add the helper for the speedup
16811 * lyxtext.h: remove some dead code
16813 2001-06-26 The LyX Project <Asger>
16815 * paragraph.C: Change export to LaTeX of alignment to
16816 \begin{center} and family for better roundtrip work with reLyX.
16818 * Tune the math drawing a bit.
16820 2001-06-25 The LyX Project <Asger>
16822 * LColor.C (LColor): New color for math background. New color
16825 2001-06-25 The LyX Project <jug@sad.it>
16827 * lyxfunc.C (MenuNew): remove extra check for .lyx file
16829 * lyxfunc.C (Open):
16830 * bufferlist.C (newFile): do not restrict to files ending with
16833 * BufferView_pimpl.C (MenuInsertLyXFile):
16835 2001-06-24 The LyX Project <jug@sad.it>
16837 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16840 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16842 * lyxtext.h: rename most methods to begin with a small char.
16843 Lots of changes because of this.
16845 * paragraph.C (Paragraph): do not call fitToSize
16846 (erase): call Pimpl::erase
16847 (insertChar): call Pimpl::insertChar
16848 (insertInset): call Pipl::insertInset
16849 (breakParagraph): do not call fitToSize
16850 (breakParagraphConservative): do not call fitToSize
16851 (fitToSize): remove method
16853 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16855 2001-06-24 The LyX Project <Asger>
16857 * Fix Qt compilation^2
16859 2001-06-24 The LyX Project <jug@sad.it>
16861 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16862 depthHook(getDepth()-1).
16865 * ParagraphParameters.h:
16866 * ParameterStruct.h: change type of depth to unsigned int ==
16867 depth_type. Many adaptations to other files before of that.
16869 2001-06-24 The LyX Project <Asger>
16871 * Fix Qt compilation.
16873 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16875 * paragraph.h: renamed several methods to begin with small letter.
16876 several changes to many parts of the code because of this.
16878 2001-06-23 The LyX Project <jug@sad.it>
16880 * text2.C (InsertStringAsLines): renamed from InsertStringA;
16881 rewritten to discard all double spaces when KeepEmpty is off
16882 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16883 to only handle newlines but not fiddle with spaces and friends.
16885 * lyxfunc.C (MenuNew): when doing 'new from template', use
16886 template_path as default directory
16888 2001-06-23 The LyX Project <Asger>
16890 * Clean-up of header file includes all over
16891 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16893 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16895 * paragraph.h: renamed from lyxparagraph.h
16897 2001-06-23 Asger <lyx@violet.home.sad.it>
16899 * Buffer.h: Removed Buffer::resize
16900 * BufferList.h: Removed BufferList::resize
16901 * LyXView.h: Added LyXView::resize. This way, we will only reflow
16902 the document lazily when we change the width, or the font settings.
16904 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16906 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16908 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16910 * buffer.h: remove out of date comment
16912 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16915 * screen.C: fix "theoretical" GC leak
16917 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16919 * LaTeX.C (scanAuxFile):
16920 (deplog): remove trailing \r when reading stream (useful under
16923 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
16925 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16926 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16927 and BufferView::theLockingInset(Inset*), so should use them and not
16928 access bv_->text->the_locking_inset directly.
16930 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16932 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16935 * tex-defs.h: remove old unused file
16937 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
16939 * BufferView_pimpl.C: fix typo, remove minibuffer message
16940 when buffer has loaded
16942 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
16944 * lyxfunc.C (Dispatch): use stringstream
16945 (MenuNew): use stringstream
16946 (Open): use stringstream
16948 * importer.C (Import): use stringstream
16950 * bufferview_funcs.C (CurrentState): use stringstream
16952 * LaTeX.C (run): use stringstream
16954 * BufferView_pimpl.C (savePosition): use stringstream
16955 (restorePosition): use stringstream
16956 (MenuInsertLyXFile): use stringstream
16958 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
16971 * vspace.C: removed // -*- C++ -*- as first line.
16974 * version.h: added // -*- C++ -*- as first line.
16976 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16978 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16980 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16983 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
16985 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16988 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16990 * gettext.C: include LString.h even when --disable-nls is on.
16992 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
16994 * converter.h (Get): changed argument type from int to
16995 FormatList::size_type to avoid unnecessary conversion.
16997 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
17000 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17002 * gettext.h: include LString.h even when --disable-nls is on.
17004 2001-06-07 Juergen Vigna <jug@sad.it>
17006 * text.C (BreakAgain): subst spaces with tabs.
17008 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
17009 (resizeInsetsLyXText): set force on resizeLyXText.
17011 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17013 * gettext.h (gettext_init):
17014 (locale_init): use a real definition instead of a macro
17016 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
17018 * Bufferview_pimpl.C:
17020 * LColor.C: further lcolor tidies
17022 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
17024 * BufferView_pimpl.C (updateScrollbar): simplify.
17026 * BufferView2.C: don't include insets/insetinfo.h, change
17027 prototype for insertInset and call the Pimpl version. let
17028 updateInset call Pimpl version.
17030 * BufferView.h: move inset_slept to BufferView::Pimpl, move
17031 gotoInset to BufferView::Pimpl
17033 2001-06-01 Juergen Vigna <jug@sad.it>
17035 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
17036 inside a LockingInset (is the update needed at all?).
17038 2001-05-31 Juergen Vigna <jug@sad.it>
17040 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
17041 here not the old one otherwise how should we compare it afterwards
17044 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17049 * FontInfo.C: bring C functions into global namespace when
17052 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17054 * LString.h: make sure config.h has been loaded before LString.h.
17056 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
17057 (one for each char read by EatLine!).
17059 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
17062 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
17064 * paragraph.C (BreakParagraph): set the inset_owner in the new par
17065 to the same as the par we break from
17067 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
17069 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
17071 * MenuBackend.C (expand): also create menu entries for wide
17072 versions of the floats.
17074 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
17076 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
17078 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
17079 frontends/Makefile.am
17085 * tabular.C (getTokenValue): add std::
17087 * tabular-old.C (getTokenValue): add std::
17088 (getTokenValue): ditto
17089 (getTokenValue): ditto
17091 * screen.C (ToggleSelection): adjust
17093 * lyxtext.h: put selection cursors inside a Selection struct.
17095 * lyxfunc.C (moveCursorUpdate): adjust
17097 * lyxfont.C (latexWriteStartChanges): add std::
17099 * lyxfind.C: adjust
17101 * font.h: delete with(char const *, LyXFont const &)
17103 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
17105 * FontInfo.C (getFontname): add std::
17107 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
17108 (workAreaButtonPress): adjust
17109 (tripleClick): adjust
17111 (moveCursorUpdate): adjust
17114 * BufferView2.C (gotoInset): adjust
17116 2001-05-30 Juergen Vigna <jug@sad.it>
17118 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
17119 to check pspell I add this as default as I now have new pspell
17120 libraries and they seem to use this.
17122 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
17124 * text2.C (CutSelection): make the cursor valid before the call to
17127 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17129 * kbsequence.C (parse): de-uglify a bit the parsing code, which
17130 relied on 0 terminated strings and other horrors. Bug found due to
17131 the new assert in lyxstring!
17133 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
17136 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
17138 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
17141 * lyxfunc.C (processKeySym): change method of getting to the
17144 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
17145 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
17146 * BufferView_pimpl.[Ch]: here as private methods.
17148 2001-05-28 Juergen Vigna <jug@sad.it>
17150 * text.C (SetHeightOfRow): added the update() call again as it is
17151 needed to initialize inset dimensions!
17153 2001-05-16 Juergen Vigna <jug@sad.it>
17155 * text2.C (SetCharFont): Add new function with BufferView * and
17156 bool toggleall parameters for setting insets internal fonts.
17157 (SetFont): Freeze the undo as we may change fonts in Insets and
17158 all this change should be inside only one Undo!
17160 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
17161 setting font's in insets as for them we have the SetFont function!
17163 2001-05-15 Juergen Vigna <jug@sad.it>
17165 * text2.C (ClearSelection): to be sure we REALLY don't have any
17168 * tabular.C (TeXCellPreamble): fixed the left border problem for
17171 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
17173 * LaTeX.C (deplog): Make sure that the main .tex file is in the
17176 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
17178 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
17179 LFUN_BREAKPARAGRAPH.
17181 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
17182 help test to "internal only", similar for LFUN_INSERT_URL
17184 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
17185 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
17186 auto_region_delete and deadkeys.
17188 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
17191 * LColor.C: remove some dead entries, tidy a little
17193 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
17195 * lyxfunc.C (processKeySym): comment the Escape handling, remove
17197 (Dispatch): implement LFUN_ESCAPE
17199 * commandtags.h: add LFUN_ESCAPE
17201 * LyXAction.C (init): add entry for LFUN_ESCAPE
17203 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
17204 Remove commented code.
17205 (insertNote): moved here
17206 (open_new_inset): moved here
17208 * BufferView[2].[Ch]: move insertNote and open_new_inset to
17211 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17213 * kbmap.C (findbinding): clean it up and make it work correctly.
17215 * lyx_main.C (init): do not pass argc and argv as parameters
17217 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
17219 * buffer.C: fix path for OS/2 & Win32
17223 * lyx_main.C: Added os:: class.
17225 * os2_defines.h: update
17227 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
17229 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
17230 better by trying again with reduced state.
17232 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17234 * lyxrc.C (read): print error about invalid key sequence only when
17235 debugging (because not all latinX keysyms are known to some X
17238 * kbsequence.C (getiso): add a few std:: qualifiers
17239 (getiso): comment out extra return statement.
17241 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
17243 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
17245 (Dispatch): enhance the accent inset a bit. (not perfect)
17247 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
17249 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
17251 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17253 * bufferlist.C (emergencyWrite): fix assert() call
17255 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
17257 * text.C (InsertChar): Added trivial patch to only send the "you
17258 can not do multiple spaces this way" message once during a
17261 2001-05-08 Baruch Even <baruch@lyx.org>
17263 * Makefile.am: Changed order of libraries to get LyX to link properly
17264 with the gnome frontend.
17266 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17268 * LaTeXFeatures.h: add a std:: qualifier
17270 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
17272 * paragraph.C (String): use stringstream
17274 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
17276 * paragraph.C (writeFile): remove footflag arg
17278 * buffer.C (makeLaTeXFile): use stringstream
17279 (latexParagraphs): remove footnot gurba
17281 * LaTeXFeatures.C (getPackages): use stringstream
17282 (getMacros): likewise
17283 (getTClassPreamble): likewise
17284 (getFloatDefinitions): new method
17286 * paragraph.C (writeFile): reindent
17289 * WorkArea.h: revert the xpos + etc changes.
17291 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
17293 * lyxparagraph.[Ch]: add copy constructor, remove Clone
17295 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
17296 (pasteSelection): likewise
17297 * text2.C (CreateUndo): likewise
17299 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
17301 * minibuffer.C (peek_event): temporarily reduce the functionality
17302 of the minibuffer (to allow args on lfuns)
17304 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
17305 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
17307 * buffer.C (readInset): add compability reading of old float
17308 lists, add reading of new style float list.
17309 (readInset): avoid reevaluation of inscmd.getCmdName()
17310 (getLists): reindent
17312 * MenuBackend.C (MenuItem): implement parsing of
17313 md_floatlistinsert and md_floatinsert.
17314 (expand::LastFiles): move initalizaton of iterators out of loop,
17315 avoid reevaluation.
17316 (expand::Documents): introduce typdedef vector<string> Strings,
17318 (expand::ExportFormats): introduce typedef vector<Format const *>
17319 Formats, and use it.
17320 (expand): implement FloatListInsert and FloatInsert.
17322 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
17323 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
17324 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
17326 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
17328 (Dispatch::LFUN_FLOAT_LIST): implement
17330 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
17332 * LaTeX.C (run): Fix problem with --export code.
17334 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
17336 * BufferView.[Ch] (workarea): removed.
17337 (getClipboard) new method; wrapper for workarea()->getClipboard()
17339 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
17342 * WorkArea.h (width, height, xpos, ypos): These methods all
17343 returned the dimensions of the work_area sub-area of WorkArea,
17344 resulting in a position error if the WorkArea were resized. Now
17345 return the dimensions of the entire WorkArea.
17347 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
17349 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17351 * LaTeX.C (deplog): correct the syntax of regex reg1
17353 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
17355 * undo.C: remove !NEW_INSETS cruft
17357 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
17359 * text2.C: remove !NEW_INSETS cruft
17361 * text.C: remove !NEW_INSETS cruft
17363 * tabular.C: remove !NEW_INSETS cruft
17365 * spellchecker.C: remove !NEW_INSETS cruft
17367 * lyxtext.h: remove !NEW_INSETS cruft
17369 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
17371 * lyxfunc.C: remove !NEW_INSETS cruft
17373 * lyxfind.C: remove !NEW_INSETS cruft
17375 * lyx_cb.C: remove !NEW_INSETS cruft
17377 * figureForm.C: remove !NEW_INSETS cruft
17379 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
17381 * buffer.[Ch]: remove !NEW_INSETS cruft
17383 * ToolbarDefaults.C: remove !NEW_INSETS cruft
17385 * CutAndPaste.C: remove !NEW_INSETS cruft
17387 * BufferView_pimpl.C: remove !NEW_INSETS cruft
17389 * BufferView2.C: remove !NEW_INSETS cruft
17391 * BufferView.h: remove !NEW_INSETS cruft
17393 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17395 * Lsstream.h: include LString.h before the sstream headers to
17396 fix problem with gcc 2.95.3 and lyxstring
17398 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17400 * lyx_main.C: add using directives when needed for C functions
17401 declared in std:: namespace.
17403 2001-04-27 Juergen Vigna <jug@sad.it>
17405 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
17406 (SetHeightOfRow): comment out the update call should not be needed!
17408 2001-04-13 Juergen Vigna <jug@sad.it>
17410 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
17411 (LyXTabular): tried to minimize operator= operations (and realized
17412 hopfully Lars wish).
17414 2001-04-27 Juergen Vigna <jug@sad.it>
17416 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
17418 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
17420 * lyxfunc.C (Dispatch): hack to make listof algorithm work
17422 * buffer.C (readInset): hack to make listof algorithm work
17424 * BufferView_pimpl.C: hack to make listof algorithm work
17426 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
17428 * LyXAction.C: removed all !NEW_INSETS cruft
17429 (init): moved lfun_item in method
17431 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
17433 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
17435 * BufferView2.C (theLockingInset): white space.
17437 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
17439 * minibuffer.C: include <iostream>
17441 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
17443 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
17445 * commandtags.h: add LFUN_TRANSPOSE_CHARS
17447 * text.[Ch] (TransposeChars): new method
17449 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
17451 * call message directly through LyXView instead of through LyXFunc
17452 * BufferView2.C: adjust
17453 * BufferView_pimpl.C: adjust
17454 * FontLoader.C: adjust
17456 * bufferview_funcs.C: adjust
17457 * converter.C: adjust
17458 * figureForm.C: adjust
17459 * importer.C: adjust
17461 * lyx_gui_misc.C: adjust
17462 * lyxfunc.C: adjust
17465 + more files in subdirs
17467 * lyxparagraph.h (size): move up int file
17470 * adjust all uses of Assert to lyx::Assert.
17472 * BufferView2.C (ChangeCitationsIfUnique): adjust for
17473 lyxfunctional in namespace lyx
17474 * layout.C (hasLayout): ditto
17477 (delete_layout): ditto
17478 (NumberOfClass): ditto
17479 * converter.C (GetFormat): ditto
17484 * bufferlist.C (getFileNames): ditto
17485 (emergencyWriteAll): ditto
17488 * MenuBackend.C (hasSubmenu): ditto
17491 * BufferView_pimpl.C (getInsetByCode): ditto
17493 2001-04-18 Juergen Vigna <jug@sad.it>
17495 * vspace.C (asLatexString): fixed the 100% problem.
17497 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17499 * lyxfunc.C (Dispatch):
17501 * minibuffer.h: add a few std:: qualifiers
17503 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
17505 * minibuffer.[Ch]: reimplement so that commands is initiated and
17506 run from lyxfunc, simplified som handling, and made the completion
17507 and history code for complete. wip.
17509 * lyxfunc.C (processKeySym): call message
17510 (miniDispatch): new temporary method
17511 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
17512 (LFUN_MESSAGE): implement
17513 (LFUN_MESSAGE_PUSH): implement
17514 (LFUN_MESSAGE_POP): implement
17515 (initMiniBuffer): the initial/defualt minibuffer message.
17517 * lyxfont.[Ch]: inline some more getters
17519 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17521 * lyx_gui_misc.[Ch] (WriteStatus): remove method
17523 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17524 (AutoSave): use LFUN_MESSAGE
17525 (Reconfigure): ditto
17527 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17529 * figureForm.C: use LFUN_MESSAGE
17531 * converter.C (runLaTeX): use LFUN_MESSAGE
17533 * bufferview_funcs.C: use LFUN_MESSAGE
17535 (changeDepth): ditto
17537 * bufferparams.h: use boost::
17539 * bufferlist.h: inherit privately from noncopyable
17541 * bufferlist.C (loadLyXFile): remove some commented code.
17543 * buffer.C (runChktex): use LFUN_MESSAGE
17545 * ShareContainer.h: inherit privately from noncopyable
17547 * ParagraphParameters.[hC] (depth): inline it.
17549 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17551 (message): new method
17552 (messagePush): ditto
17553 (messagePop): ditto
17554 (show): init minibuffer
17555 (showState): direct call
17557 * LaTeX.[Ch]: inherit privately from noncopyable
17558 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17559 instead of WriteStatus.
17561 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17563 * BufferView_pimpl.C (buffer): don't init minibuffer
17564 (workAreaButtonPress): use LFUN_MESSAGE
17565 (workAreaButtonRelease): ditto
17566 (savePosition): ditto
17567 (restorePosition): ditto
17568 (MenuInsertLyXFile): ditto
17569 (workAreaExpose): don't init minibuffer
17570 (update): remove commented code, simplify
17572 * BufferView2.C (openStuff): use LFUN_MESSAGE
17573 (toggleFloat): ditto
17576 (copyEnvironment): ditto
17577 (pasteEnvironment): ditto
17582 (updateInset): remove some commented code
17584 * lastfiles.h: inherit privately from noncopyable
17587 * lyx_main.h: ditto
17589 * lyxlex_pimpl.h: ditto
17591 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17592 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17593 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17595 * LyXAction.h: inherit privately from noncopyable, add methods
17596 func_begin, func_end, returning iterators to the func map.
17598 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17599 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17600 (func_begin): new method
17601 (func_end): new method
17603 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17605 (copySelection): ditto
17606 (pasteSelection): ditto
17608 * BufferView.C: whitespace change
17609 * BufferView.h: inherit privately from noncopyable
17611 2001-04-16 Allan Rae <rae@lyx.org>
17613 * tabular-old.C (l_getline):
17614 * spellchecker.C (sc_check_word):
17615 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17616 an unrecognised preprocessor directive. So ensure they're wrapped.
17618 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
17620 * src/exporter.C (Export): Give an error message when path to file
17623 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
17625 * LaTeX.C (deplog): Always check that foundfile exists.
17627 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17630 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17632 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
17634 * tabular.[Ch] (getLabelList): implement new method
17636 * minibuffer.h: comment ouf setTiimer
17638 * minibuffer.C (ExecutingCB): constify res
17639 (peek_event): constify s
17640 (Set): constify ntext
17641 (Init): constify nicename
17643 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17645 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17646 (savePosition): use two params to Minibuffer::Set
17647 (restorePosition): ditto
17649 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17651 * lyx_main.C: include language.h
17653 * Makefile.am (lyx_main.o): add language.h
17655 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17661 * CutAndPaste.C: include gettext.h
17663 * lyxfont.h: remove old hack with ON and OFF.
17666 * lyxfont.h: do not include language.h...
17671 * bufferview_funcs.C:
17677 * paragraph.C: ... but do it here instead
17679 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
17681 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17683 * tabular.C: small reformat
17685 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17688 (BreakParagraph): ditto
17689 (SetOnlyLayout): ditto
17692 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17695 * lastfiles.C: removed most using decl, add std:: where needed
17697 * buffer.C: ws changes
17699 * MenuBackend.C (class compare_format): put into anon namespace
17700 (expand): constify label, names, action, action2
17703 * text.C (SingleWidth): constify font
17704 (IsBoundary): constify rtl2
17705 (GetVisibleRow): constify ww
17707 * LaTeX.C (deplog): constify logfile
17709 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17711 (workAreaExpose): constify widthChange, heightChange
17713 * lyxrow.C (par): moved
17716 * lyxrow.h: as inlines here
17718 * lyxfont.h (shape): moved from lyxfont.C
17719 (emph): moved from lyxfont.C
17721 * lyxfont.C (LyXFont): use initialization list for all
17723 (shape): move to lyxfont.h as inline
17724 (emph): move to lyxfont.h as inline
17727 2001-04-04 Juergen Vigna <jug@sad.it>
17729 * vspace.C: had to include stdio.h for use of sscanf
17731 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
17734 * BufferView_pimpl.h: remove xforms cruft. Both classes are
17735 independent of xforms.
17737 2001-04-02 Juergen Vigna <jug@sad.it>
17739 * spellchecker.C: fixed namespace placing!
17741 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
17743 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17744 the LyXParagraph * is 0.
17746 2001-03-29 Juergen Vigna <jug@sad.it>
17748 * vspace.C: added support for %, c%, p%, l%.
17749 (stringFromUnit): added helper function.
17750 (asLatexString): changed to give right results for the %-values.
17752 * buffer.C: convert the widthp in a width%.
17754 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
17756 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17759 * figureForm.[Ch]: stripped the FD_from_figure manipulation
17760 code out of lux_cb.[Ch], ready for its (imminent?) removal.
17762 * lyx_cb.[Ch]: see above.
17764 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17768 * lyx.[Ch]: replaced by figure_form.[Ch].
17772 * lyxfunc.C: changed headers associated with above changes.
17774 2001-03-27 Juergen Vigna <jug@sad.it>
17776 * BufferView_pimpl.C: set the temporary cursor right!
17778 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
17780 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17782 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
17784 * LString.h: removed "using std::getline"!
17786 * BufferView_pimpl.C (Dispatch): changes due to changes in
17787 InsetInclude::Params.
17789 * buffer.C (tag_name): removed redundant break statements as they were
17790 producing lots of warnings with my compiler.
17792 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17794 * LString.h: add "using std::getline" when using the real <string>.
17796 2001-03-23 Jos�Ab�io Matos <jamatos@fep.up.pt>
17798 * buffer.C: removed bitset usage.
17799 PAR_TAG moved to an anonymous name space.
17800 (tag_name): new funtion, also in the anonymous namespace.
17801 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17802 (makeDocBookFile): clean code. Completed transition from string arrays
17804 (SimpleDocBookOnePar): code clean.
17806 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17808 * tabular.C: add some comments.
17810 2001-03-22 Juergen Vigna <jug@sad.it>
17812 * buffer.C (parseSingleLyXformat2Token): redone the minipage
17813 compatibility read a bit and fixed bug with minipage in different
17816 2001-03-21 Jos�Ab�io Matos <jamatos@fep.up.pt>
17818 * buffer.C (pop_tag): removed.
17819 (push_tag): removed.
17820 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17821 array replaced with vector. Added support for CDATA sections.
17822 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17824 (makeDocBookFile): XML conformant declaration of CDATA section,
17825 fixed bug related to <emphasis> in the first paragraph char.
17826 (sgmlOpenTag): exclude empty tags.
17827 (sgmlCloseTag): ditto.
17829 * buffer.h (pop_tag): removed.
17830 (push_tag): removed.
17832 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
17834 * language.h (Languages): added size_type and size().
17836 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17838 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17839 response on compability reading of minipages. One probliem is that
17840 the old usage of minipages was flertydig
17842 * several files here and in subdirs: don't use static at file
17843 scope use anon namespaces instead.
17845 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
17847 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17848 LaTeX output. This is necessary for Literate document
17851 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17853 * buffer.C: insert hfill when needed.
17855 * tabular.C (l_getline): use string::erase, small whitespace change.
17857 * BufferView_pimpl.C: try the anon namespace.
17858 * WorkArea.C: ditto
17860 2001-03-16 Juergen Vigna <jug@sad.it>
17862 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17863 otherwise it won't open options-dialogs.
17865 * buffer.C: honor pextraWidth(p) on converting minipages.
17867 * tabular.C (l_getline): changed the functions to strip trailing \r.
17869 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
17871 * BufferView_pimpl.C:
17872 * minibuffer..C: added "using SigC::slot" declaration.
17874 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17876 * lyxlex_pimpl.h: noncopyable is in namespace boost.
17882 * paragraph.C: ditto
17884 * lyxtext.h: NO_PEXTRA
17886 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17888 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17889 * ParameterStruct.h: ditto
17890 * ParagraphParameters.h: ditto
17891 * lyxparagraph.h: ditto
17893 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17895 * buffer.C: add compability for minipage alignment.
17896 (latexParagraphs): remove unwanted pextra check.
17898 * several files: remove CXX_WORKING_NAMESPACES
17900 * buffer.C (pop_tag): tie is in namespace boost
17902 * BufferView.h: noncopyable is in namespace boost
17904 * lyx_main.h: ditto
17907 * lastfiles.h: ditto
17908 * bufferlist.h: ditto
17909 * ShareContainer.h: ditto
17911 * LyXAction.h: ditto
17914 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17916 * Merging changes from BRANCH_MVC back into HEAD.
17918 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17920 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
17922 * BufferView_pimpl.C: change from intl.C
17926 * Makefile.am: move combox.*
17932 * intl.C: remove dialog (covered by prefs)
17934 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17936 * lyxfunc.C (Dispatch): removed redundant break statement.
17938 2001-03-14 Juergen Vigna <jug@sad.it>
17940 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17942 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17944 * buffer.C: add hack to fix compability reading of minipages.
17946 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
17948 * buffer.C (getLists): Cleanup.
17950 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17952 * lyxfont.C (update): don't honor toggleall on font size.
17954 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
17958 * Makefile.am: moved to frontends/xforms/
17962 * BufferView_pimpl.C: changes for moved mathpanel
17964 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17966 * gettext.h: fix gettext_init() in --disable-nls
17968 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17970 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17972 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
17975 * lyx.h: strip external form
17977 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17979 * BufferView_pimpl.C: add comment, destroySplash()
17981 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17983 * BufferView_pimpl.C:
17987 * lyxfunc.C: use re-worked insetinclude
17989 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17991 * buffer.C: add using std::stringstream.
17993 * lyx_cb.C: readd using std::ios.
17995 * buffer.C: add using std::map.
17997 * BufferView_pimpl.C: add using std::vector.
17999 * ShareContainer.h: add std:: to swap.
18001 * buffer.h: add some typedefs
18002 * buffer.C (getLists): use them
18003 (getLists): renamed from getTocList.
18004 add a counter for the different float types and use it in the
18006 (getLists): use the same counter for the NEW_INSETS and the "non"
18009 * lyx_cb.h: remove unused items, includes, using etc.
18011 * ShareContainer.h: remove some commented code, add more comments
18012 and "documentation".
18014 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18016 * buffer.C (getTocList): make the list also when NEW_INSETS is
18019 * buffer.h: remove TocType
18021 * buffer.C (getTocList): change to return a map<string,
18022 vector<TocItem> >, implement for dynamic number of list.
18024 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
18025 * text2.C (PasteSelection): adjust
18026 * CutAndPaste.C (pasteSelection): adjust
18028 * FloatList.C (FloatList): update from the new_insets branch.
18029 * Floating.[Ch]: ditto
18030 * LaTeXFeatures.C: ditto
18032 * lyxlex_pimpl.C: ditto
18034 * paragraph.C (Last): remove when NEW_INSETS is defined.
18036 * other file: changes because of the above.
18038 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18040 * lyxparagraph.h: rename next to next_, previous to previous_,
18041 make them private for NEW_INSETS. Rename Next() to next(),
18042 Previous() to previous().
18044 * other files: changes because of the above.
18046 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
18049 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
18052 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18054 * main.C (main): pass lyx_localedir to gettext_init().
18056 * gettext.h: remove locale_init and gettext_init macros
18058 * gettext.C (locale_init): new function
18059 (gettext_init): new function
18061 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
18064 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
18066 * Moved credits to frontends:
18067 * credits.[Ch]: removed
18068 * credits_form.[Ch]: removed
18069 * lyx_gui_misc.C: remove credits stuff
18072 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18074 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
18076 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
18077 unneeded destructor.
18079 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
18080 a standalone pointer again.
18082 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
18084 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
18090 * ToolbarDefaults.C:
18099 * BufferView_pimpl.C: use new file dialog in GUII
18102 * lyx_cb.C: remove LayoutsCB to Toolbar
18104 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18106 * ShareContainer.h (get): add std:: qualifier
18108 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18110 * ShareContainer.h: define a proper ShareContainer::value_type
18111 type (and use typename to please compaq cxx)
18113 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18115 * lyxparagraph.h: move serveral local vars to
18116 ParameterStruct/ParagraphParameters., use ShareContainer in
18117 FontTable., make vars in FontTable private and add getter and
18120 * paragraph.C: changes because of the above.
18122 * lyxfont.h: remove copy constructor and copy assignment. (the
18123 default ones is ok), move number inside FontBits. move inlines to
18126 * lyxfont.C: add number to initializaton of statics, move several
18127 inlines here. constify several local vars. some whitespace
18128 cleanup. Dont hide outerscope variables.
18130 * Spacing.h: add two new constructors to match the set methods.
18132 * ShareContainer.h: new file, will perhaps be moved to support
18134 * ParameterStruct.h: new file
18136 * ParagraphParameters.h: new file
18138 * ParagraphParameters.C: new file
18140 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
18141 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
18143 * BufferView_pimpl.C: ParagraphParameter changes.
18144 * buffer.C: Likewise.
18145 * bufferview_funcs.C: Likewise.
18146 * text.C: Likewise.
18147 * text2.C: Likewise.
18149 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18151 * lyxfind.C (LyXReplace): do not redefine default argument in
18153 (IsStringInText): ditto
18154 (SearchForward): ditto
18155 (SearchBackward): ditto
18157 2001-03-06 Juergen Vigna <jug@sad.it>
18159 * lyxfind.C (IsStringInText): put parentes around expressions.
18161 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
18163 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
18165 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
18167 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
18169 * stl_string_fwd.h: add comment
18171 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
18174 * tabular.C: remove unused DocBook methods
18180 killed DO_USE_DEFAULT_LANGUAGE
18182 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18184 * lyx_gui.C: do not include language.h.
18186 * bufferview_funcs.C (ToggleAndShow): do not provide optional
18187 arguments in function implementation.
18189 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18191 * BufferView_pimpl.C: add <ctime>
18193 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18195 * BufferView_pimpl.C: add using std::find_if
18197 2001-02-27 José Matos <jamatos@fep.up.pt>
18199 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
18202 2001-02-11 José Matos <jamatos@fep.up.pt>
18204 * buffer.C (makeDocBookFile): command styles now have a parameter as
18205 "title" by default.
18207 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
18209 * layout_forms.[Ch]: removed
18210 * lyx_cb.[Ch]: out character
18211 * lyx_gui.C: out character
18212 * lyx_gui_misc.C: out character
18213 * bufferview_funcs.C: : out character,
18214 added toggleall as parameter in ToggleAndShow
18216 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
18218 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
18220 * text2.C (SetCurrentFont): Disable number property at boundary.
18222 2001-02-26 Juergen Vigna <jug@sad.it>
18224 * lyxfunc.C (getStatus): added a string argument override function so
18225 that this is correctly called from LyXFunc::Dispatch if it contains a
18226 do_not_use_argument which is used!
18227 (Dispatch): added check for "custom" export and call appropriate func.
18229 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
18231 * lyxrc.C: Add language_command_local, language_use_babel and
18232 language_global_options.
18234 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
18236 * buffer.C (makeLaTeXFile): Use language_use_babel and
18237 language_global_options.
18239 2001-02-23 Juergen Vigna <jug@sad.it>
18241 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
18242 which works with LyXText and putted it inside BufferView. Here now we
18243 only call for that part the BufferView::Dispatch() function.
18245 * BufferView.C (Dispatch): added.
18247 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
18248 functions which needs to use a LyXText over from LyXFunc.
18249 (MenuInsertLyXFile): added
18250 (getInsetByCode): added
18251 (moveCursorUpdate): added
18252 (static TEXT): added
18254 2001-02-22 Juergen Vigna <jug@sad.it>
18256 * BufferView_pimpl.C (update): call a status update to see if LyXText
18259 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18261 * vc-backend.C (revert): implement for CVS
18262 (getLog): implement for CVS
18264 2001-02-20 Juergen Vigna <jug@sad.it>
18266 * text2.C (ClearSelection): added BufferView param for inset_owner call
18268 * lyxfunc.C (TEXT): added this function and use it instead of
18269 directly owner->view()-text of getLyXText().
18271 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
18273 * src/layout_forms.C: out preamble
18274 * src/layout_forms.h: out preamble
18275 * src/lyx_cb.C: out preamble
18276 * src/lyx_cb.h: out preamble
18277 * src/lyx_gui.C: out preamble
18278 * src/lyx_gui_misc.C: out preamble
18279 * src/lyxfunc.C: connect with guii preamble
18281 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
18283 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
18285 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
18287 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
18288 whether to run bibtex.
18290 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
18292 * Makefile.am (lyx_SOURCES): Remove BackStack.h
18294 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
18296 * Makefile.am (lyx_SOURCES): removed bibforms.h
18298 * vspace.h: doxygen
18300 * text.C (GetVisibleRow): make several local vars const
18302 * tabular.C: small cleanup.
18304 * lyxserver.C (callback): use compare instead of strncmp
18306 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
18307 inlines to after class or to paragraph.C
18309 * lyxfont.h: remove friend operator!=
18311 * converter.h: move friend bool operator< to non friend and after
18314 * combox.h: small cleanup
18316 * buffer.h: doxygen, remove unused constructor, move inclas inlies
18317 to inlines after class def.
18319 * buffer.C (pop_tag): use string operations instead of strcmp
18321 * bmtable.c: doxygen, small cleanup
18323 * LaTeX.h: remove friend operator==
18325 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
18337 * BufferView_pimpl.C:
18338 * BufferView.[Ch]: remove cruft
18340 2001-02-14 Juergen Vigna <jug@sad.it>
18342 * lyxfunc.C: removed #if 0 unused code
18344 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
18346 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
18348 * text2.C (SetSelection): added a BufferView * parameter
18350 2001-02-13 Juergen Vigna <jug@sad.it>
18352 * lyxfunc.C (Dispatch): fixed protected blank problem.
18353 * BufferView2.C (protectedBlank): added LyxText * parameter.
18355 * tabular.C (AppendRow): forgot to set row_info of newly added row.
18356 (AppendColumn): same as above for column_info.
18358 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
18359 (moveCursorUpdate): use a LyXText param for support of InsetText.
18361 * BufferView_pimpl.C (doubleClick): added support for InsetText.
18362 (tripleClick): ditto
18364 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
18366 * BufferView_pimpl.C (update): added LyXText param to honor insets.
18368 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
18370 * text2.C (SetSelection): set correct update status if inset_owner
18371 (ToggleFree): ditto
18373 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
18375 * tabular.C: remove some commented code.
18377 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
18379 * BufferView_pimpl.C: call hideSplash()
18381 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
18384 * bibforms.h: remove
18387 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
18388 add LFUN_CHILD_CREATE
18390 * counters.h: fix tiny typo
18395 * lyx.C: move splash to frontends/xforms/
18397 * lyx_gui_misc.C: move Include and Bibform to frontends
18399 * lyxvc.h: clarify comment
18401 * vspace.C: tiny housekeeping
18403 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
18405 * text.C (PrepareToPrint): RTL Fix.
18407 * paragraph.C (GetUChar): New method.
18408 (String): Use GetUChar.
18410 * buffer.C (asciiParagraph): Use GetUChar.
18412 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
18414 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
18416 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
18419 * buffer.C: rename to getLogName(), handle
18420 build log / latex log nicely
18422 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18425 * MenuBackend.h: remove support for reference menuitem type.
18427 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
18429 * BufferView_pimpl.C: housekeeping
18430 * BufferView_pimpl.h:
18435 * minibuffer.h: move Timeout GUI-I
18437 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
18439 * lyxrc.C (read): Update converters data-structures.
18441 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
18443 * LaTeX.h (operator!=): add operator != for Aux_Info
18445 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
18447 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
18449 * LaTeXLog.C: deleted, useful code moved to Buffer
18452 * buffer.C: new function getLatexLogName()
18458 * lyxfunc.C: use frontends for LaTeX and VC logs
18460 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18462 * LaTeX.h: yet another std:: that Allan forgot.
18464 * Variables.C (set): renamed from isset(), because this clashes
18465 with some HP-UX macros (grr).
18467 2001-02-06 Allan Rae <rae@lyx.org>
18469 * LaTeX.h: Another bug fix. Missing std:: this time.
18471 2001-02-04 Allan Rae <rae@lyx.org>
18473 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
18474 floats problem. I've left it commented out because it's not quite
18475 correct. It should also test that the current object is a table or
18476 figure inset. But I haven't gotten around to figuring out how to do
18477 that. I *think* it'll be something like: "table" == inset.type()
18479 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
18482 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
18484 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
18485 all the citation/databases/styles in the auxilary file.
18486 (run): Rerun latex if there was a babel language error.
18488 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
18490 * text.C (Backspace): Preserve the font when changing newline char
18492 (BreakParagraph): If the cursor is before a space, delete the space.
18494 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
18496 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
18498 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
18499 new argument (code).
18500 (ChangeCitationsIfUnique): New method.
18502 * paragraph.C (GetPositionOfInset): Handle bibkey.
18504 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18506 * BufferView_pimpl.h: change type of Position::par_pos to
18507 LyXParagraph::size_type.
18509 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
18511 * BufferView_pimpl.C (savePosition, restorePosition): Write
18512 messages to minibuffer.
18514 2001-01-28 José Matos <jamatos@fep.up.pt>
18516 * buffer.C (makeDocBookFile): adds support for document language.
18517 A silly restriction on the name of LatexCommand types where removed.
18518 Added support for CDATA sections, allows to chars unescaped, used
18519 among others in code, to avoid escape < and >.
18521 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
18523 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18524 saved positions instrad of a stack. Furthermore, a position is
18525 stored using paragraph id/paragraph position.
18527 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18528 Remove LFUN_REF_BACK.
18530 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
18532 * converter.C (dvipdfm_options): New method.
18534 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
18536 * vspace.C (isValidLength): Fix for empty input string.
18538 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18540 * LyXAction.C (init): change description of LFUN_FIGURE to
18543 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18545 * LaTeX.C: add using directive
18547 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
18549 * MenuBackend.C (expand): Fix the sorting of the formats.
18551 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
18553 * lyx_main.C: tiny error message fix
18555 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18557 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18558 calling fl_initialize(). This fixes the problem with ',' as
18559 decimal separator in text files.
18561 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
18563 * trans.C (process): Fix the keymap bug.
18565 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
18567 * LaTeX.C (scanAuxFiles): New method. Provides support for
18568 multiple bibliographies (when using the bibtopic/bibunits pacakges).
18569 (scanLogFile) Scan for "run BibTeX" messages.
18571 * buffer.C (makeLaTeXFile): Do not load the ae package when using
18572 OT1 font encoding. Also, load the aecompl package if the ae
18575 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18577 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18579 * texrow.C (increasePos): turn two error messages into debug
18582 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
18584 * LaTeX.C (scanAux): Handle the \@input macro.
18585 (runBibTeX): Use scanAux().
18587 * language.C (latex_options_): New field.
18589 * LaTeXFeatures.C (getMacros): Add language macros.
18591 * buffer.C (makeLaTeXFile): Small fix.
18593 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18595 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18597 * text2.C: add a using directive.
18599 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
18604 * lyxfunc.C: kill LyXBell.
18606 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
18608 * text.C (IsBoundary): Remove the error message
18610 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18612 * lyxrc.C (setDefaults): Correct initialization value for
18615 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
18617 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18620 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18621 and GotoNextNote().
18623 * src/LyXAction.C: Added reference-next.
18625 * text.C (InsertChar): Use contains instead of strchr.
18627 * lyx_cb.C (MenuInsertLabel): Enable default value code.
18629 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
18631 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18632 alignment commands (when needed).
18634 * text.C (InsertChar): Add ':' to number separator chars.